openvidu-browser and openvidu-node-client docs simplified

This commit is contained in:
pabloFuente 2019-04-23 12:52:37 +02:00
parent 76b5a8996f
commit 89db47dd37
166 changed files with 49 additions and 27132 deletions

View File

@ -7,6 +7,10 @@
],
"ban-types": {
"options": [
[
"Object",
"Avoid using the `Object` type. Did you mean `object`?"
],
[
"Function",
"Avoid using the `Function` type. Prefer a specific function type, like `() => void`, or use `ts.AnyFunction`."
@ -37,7 +41,7 @@
"indent": [
true,
"spaces",
4
2
],
"interface-name": [
true,

View File

@ -17,6 +17,6 @@ module.exports = {
],
excludeExternals: true,
excludePrivate: true,
theme: "./config/typedoc/custom-theme/bin",
theme: "default",
readme: "none"
}

View File

@ -1,39 +0,0 @@
// Fonts
//
$FONT_FAMILY: 'Segoe UI', sans-serif
$FONT_FAMILY_MONO: Menlo, Monaco, Consolas, 'Courier New', monospace
$FONT_SIZE: 16px
$FONT_SIZE_MONO: 14px
$LINE_HEIGHT: 1.333em
// Colors
//
$COLOR_BACKGROUND: #fdfdfd
$COLOR_TEXT: #222
$COLOR_TEXT_ASIDE: #808080
$COLOR_LINK: #4da6ff
$COLOR_MENU_DIVIDER: #eee
$COLOR_MENU_DIVIDER_FOCUS: #000
$COLOR_MENU_LABEL: #808080
$COLOR_PANEL: #fff
$COLOR_PANEL_DIVIDER: #eee
$COLOR_COMMENT_TAG: #808080
$COLOR_COMMENT_TAG_TEXT: #fff
$COLOR_CODE_BACKGROUND: rgba(#000, 0.04)
$COLOR_TS: #9600ff
$COLOR_TS_INTERFACE: #7da01f
$COLOR_TS_ENUM: #cc9900
$COLOR_TS_CLASS: #4da6ff
$COLOR_TS_PRIVATE: #808080
$TOOLBAR_COLOR: #fff
$TOOLBAR_TEXT_COLOR: #333
$TOOLBAR_HEIGHT: 40px

View File

@ -1,53 +0,0 @@
// Displays all regular comment tags
//
// <dl class="tsd-comment-tags">
// <dt>see</dt>
// <dd><p><a href="#">Dispatcher.EVENT_BEGIN</a></p></dd>
// <dt>see</dt>
// <dd><p><a href="#">Dispatcher.EVENT_BEGIN_RESOLVE</a></p></dd>
// <dt>see</dt>
// <dd><p><a href="#">Dispatcher.EVENT_END_RESOLVE</a></p></dd>
// </dl>
//
dl.tsd-comment-tags
overflow: hidden
dt
float: left
padding: 1px 5px
margin: 0 10px 0 0
border-radius: 4px
border: 1px solid $COLOR_COMMENT_TAG
color: $COLOR_COMMENT_TAG
font-size: 0.8em
font-weight: normal
dd
margin: 0 0 10px 0
&:before, &:after
display: table
content: " "
pre, &:after
clear: both
p
margin: 0
// Special formatting for the main reflection on each page.
//
// <section class="tsd-panel tsd-comment">
// <div class="tsd-comment tsd-typography">
// <div class="lead"><p>The default TypeDoc main application class.</p></div>
// <p>This class holds the two main components of TypeDoc, the Dispatcher and the Renderer.</p>
// </div>
// </section>
//
.tsd-panel.tsd-comment .lead
font-size: 1.1em
line-height: $LINE_HEIGHT
margin-bottom: 2em
&:last-child
margin-bottom: 0

View File

@ -1,65 +0,0 @@
// Classes set on the body to control the visible state of the filtered elements
//
.toggle-protected .tsd-is-private
display: none
.toggle-public .tsd-is-private,
.toggle-public .tsd-is-protected,
.toggle-public .tsd-is-private-protected
display: none
.toggle-inherited .tsd-is-inherited
display: none
.toggle-only-exported .tsd-is-not-exported
display: none
.toggle-externals .tsd-is-external
display: none
// Filter Buttons in the toolbar
//
#tsd-filter
position: relative
display: inline-block
height: $TOOLBAR_HEIGHT
vertical-align: bottom
.no-filter &
display: none
.tsd-filter-group
display: inline-block
height: $TOOLBAR_HEIGHT
vertical-align: bottom
white-space: nowrap
input
display: none
+size-xs-sm
.tsd-filter-group
display: block
position: absolute
top: $TOOLBAR_HEIGHT
right: 20px
height: auto
background-color: $COLOR_PANEL
visibility: hidden
transform: translate(50%,0)
box-shadow: 0 0 4px rgba(#000, 0.25)
.has-options &
visibility: visible
.to-has-options &
animation: fade-in 0.2s
.from-has-options &
animation: fade-out 0.2s
label,
.tsd-select
display: block
padding-right: 20px

View File

@ -1,21 +0,0 @@
footer
border-top: 1px solid $COLOR_PANEL_DIVIDER
background-color: $COLOR_PANEL
&.with-border-bottom
border-bottom: 1px solid $COLOR_PANEL_DIVIDER
.tsd-legend-group
font-size: 0
.tsd-legend
display: inline-block
width: 25%
padding: 0
font-size: $FONT_SIZE
list-style: none
line-height: $LINE_HEIGHT
vertical-align: top
+size-xs-sm
width: 50%

View File

@ -1,24 +0,0 @@
// Displays the type hierarchy
//
// <ul class="tsd-hierarchy">
// <li>
// <a href="#" class="tsd-signature-type">Event</a>
// <ul class="tsd-hierarchy">
// <li>
// <span class="target">DispatcherEvent</span>
// <ul class="tsd-hierarchy">
// <li><a href="#" class="tsd-signature-type">BaseState</a></li>
// <li><a href="#" class="tsd-signature-type">ReflectionEvent</a></li>
// </ul>
// </li>
// </ul>
// </li>
// </ul>
//
.tsd-hierarchy
list-style: square
padding: 0 0 0 20px
margin: 0
.target
font-weight: bold

View File

@ -1,3 +0,0 @@
// fixes issue with images in readme
img
max-width: 100%

View File

@ -1,80 +0,0 @@
// Displays an index of grouped links.
//
// <section class="tsd-panel tsd-index-panel">
// <div class="tsd-index-content">
// <div class="tsd-index-section">
// <h3>Constructor methods</h3>
// <ul class="tsd-member-index">
// <li class="tsd-kind-constructor-method tsd-parent-kind-class"><a href="#" class="tsd-kind-icon">constructor</a></li>
// </ul>
// </div>
// <div class="tsd-index-section">
// <h3>Properties</h3>
// <ul class="tsd-member-index">
// <li class="tsd-kind-property tsd-parent-kind-class"><a href="#" class="tsd-kind-icon">EVENT_<wbr>BEGIN</a></li>
// <li class="tsd-kind-property tsd-parent-kind-class"><a href="#" class="tsd-kind-icon">EVENT_<wbr>BEGIN_<wbr>DECLARATION</a></li>
// <li class="tsd-kind-property tsd-parent-kind-class"><a href="#" class="tsd-kind-icon">EVENT_<wbr>BEGIN_<wbr>DOCUMENT</a></li>
// <li class="tsd-kind-property tsd-parent-kind-class"><a href="#" class="tsd-kind-icon">EVENT_<wbr>BEGIN_<wbr>RESOLVE</a></li>
// </ul>
// </div>
// </div>
// </section>
//
.tsd-index-panel
.tsd-index-content
margin-bottom: -30px !important
.tsd-index-section
margin-bottom: 30px !important
h3
@extend h4
margin: 0 -20px 10px -20px
padding: 0 20px 10px 20px
border-bottom: 1px solid $COLOR_PANEL_DIVIDER
ul.tsd-index-list
+vendors(column-count, 3)
+vendors(column-gap, 20px)
padding: 0
list-style: none
line-height: $LINE_HEIGHT
+size-xs-sm
+vendors(column-count, 1)
+size-md
+vendors(column-count, 2)
li
+vendors(column-break-inside, avoid)
+vendors(page-break-inside, avoid)
a,
.tsd-parent-kind-module a
color: $COLOR_TS
.tsd-parent-kind-interface a
color: $COLOR_TS_INTERFACE
.tsd-parent-kind-enum a
color: $COLOR_TS_ENUM
.tsd-parent-kind-class a
color: $COLOR_TS_CLASS
.tsd-kind-module a
color: $COLOR_TS
.tsd-kind-interface a
color: $COLOR_TS_INTERFACE
.tsd-kind-enum a
color: $COLOR_TS_ENUM
.tsd-kind-class a
color: $COLOR_TS_CLASS
.tsd-is-private a
color: $COLOR_TS_PRIVATE

View File

@ -1,21 +0,0 @@
.tsd-flag
display: inline-block
padding: 1px 5px
border-radius: 4px
color: $COLOR_COMMENT_TAG_TEXT
background-color: $COLOR_COMMENT_TAG
text-indent: 0
font-size: $FONT_SIZE_MONO
font-weight: normal
.tsd-anchor
position: absolute
top: -100px
.tsd-member
position: relative
.tsd-anchor + h3
margin-top: 0
margin-bottom: 0
border-bottom: none

View File

@ -1,162 +0,0 @@
// Base format for the navigation parts.
//
=INDENT($DEPTH, $BASE, $STEP, $PROGRESS:$DEPTH)
@if $PROGRESS > 0
& li
+INDENT($DEPTH, $BASE, $STEP, $PROGRESS - 1)
@else
& a
padding-left: #{($BASE + $STEP * ($DEPTH - 1))}px
=INDENTS($COUNT, $BASE, $STEP)
@for $DEPTH from 1 through $COUNT
+INDENT($DEPTH, $BASE, $STEP)
.tsd-navigation
padding: 0 0 0 40px
a
display: block
padding-top: 2px
padding-bottom: 2px
border-left: 2px solid transparent
color: $COLOR_TEXT
text-decoration: none
transition: border-left-color 0.1s
&:hover
text-decoration: underline
ul
margin: 0
padding: 0
list-style: none
li
padding: 0
// Primary part of the navigation containing the available modules.
//
// <nav class="tsd-navigation primary">
// <ul>
// <li class="globals"><a href="#"><em>Globals</em></a></li>
// <li class="current tsd-kind-container">
// <a href="#">TypeDoc</a>
// <ul>
// <li class="tsd-kind-container tsd-parent-kind-container"><a href="#">Factories</a></li>
// <li class="tsd-kind-container tsd-parent-kind-container"><a href="#">Models</a></li>
// <li class="current tsd-kind-container tsd-parent-kind-container"><a href="#">Output</a></li>
// </ul>
// </li>
// </ul>
// </nav>
//
.tsd-navigation.primary
padding-bottom: 40px
a
display: block
padding-top: 6px
padding-bottom: 6px
ul
+INDENTS(6, 5, 20)
> ul
border-bottom: 1px solid $COLOR_PANEL_DIVIDER
li
border-top: 1px solid $COLOR_PANEL_DIVIDER
&.current > a
font-weight: bold
&.label span
display: block
padding: 20px 0 6px 5px
color: $COLOR_MENU_LABEL
&.globals + li > span,
&.globals + li > a
padding-top: 20px
// Secondary part of the navigation containing the table of contents
// of the current module.
// Can be made sticky by `typedoc.MenuSticky` and will highlight current sticky with `typedoc.MenuHighlight`.
//
// <nav class="tsd-navigation secondary">
// <ul class="before-current">
// <li class="tsd-kind-class tsd-parent-kind-container"><a href="#" class="tsd-kind-icon">AssetsPlugin</a></li>
// <li class="tsd-kind-class tsd-parent-kind-container"><a href="#" class="tsd-kind-icon">BasePlugin</a></li>
// <li class="tsd-kind-class tsd-parent-kind-container"><a href="#" class="tsd-kind-icon">BaseTheme</a></li>
// </ul>
// <ul class="current">
// <li class="current tsd-kind-class tsd-parent-kind-container">
// <a href="#" class="tsd-kind-icon">OutputEvent</a>
// <ul>
// <li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="#" class="tsd-kind-icon">isDefaultPrevented</a></li>
// <li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="#" class="tsd-kind-icon">isPropagationStopped</a></li>
// <li class="tsd-kind-property tsd-parent-kind-class"><a href="#" class="tsd-kind-icon">outputDirectory</a></li>
// <li class="tsd-kind-property tsd-parent-kind-class"><a href="#" class="tsd-kind-icon">project</a></li>
// </ul>
// </li>
// </ul>
// <ul class="after-current">
// <li class="tsd-kind-class tsd-parent-kind-container"><a href="#" class="tsd-kind-icon">OutputPageEvent</a></li>
// <li class="tsd-kind-class tsd-parent-kind-container"><a href="#" class="tsd-kind-icon">PartialsPlugin</a></li>
// </ul>
// </nav>
//
.tsd-navigation.secondary
ul
+INDENTS(6, 25, 20)
transition: opacity 0.2s
&.current a
border-left-color: $COLOR_PANEL_DIVIDER
li.focus > a,
ul.current li.focus > a
border-left-color: $COLOR_MENU_DIVIDER_FOCUS
li.current
margin-top: 20px
margin-bottom: 20px
border-left-color: $COLOR_PANEL_DIVIDER
> a
font-weight: bold
// Sticky menu setup
//
.menu-sticky-wrap
+size-md-lg
position: static
.no-csspositionsticky &
&.sticky
position: fixed
&.sticky-current
position: fixed
ul.before-current,
ul.after-current
opacity: 0
&.sticky-bottom
position: absolute
top: auto !important
left: auto !important
bottom: 0
right: 0
.csspositionsticky &
&.sticky
position: sticky
&.sticky-current
position: sticky

View File

@ -1,70 +0,0 @@
// Displays a panel, an organisation unit in TypeDoc used to group single entities
// like a method or a variable.
//
// <div class="tsd-panel">
// <h3>Eirmod tempor invidunt</h3>
// <p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat.</p>
// </div>
//
.tsd-panel
@extend %prevent-children-margin
margin: 20px 0
padding: 20px
background-color: $COLOR_PANEL
box-shadow: 0 0 4px rgba(#000, 0.25)
&:empty
display: none
> h1, > h2, > h3
margin: 1.5em -20px 10px -20px
padding: 0 20px 10px 20px
border-bottom: 1px solid $COLOR_PANEL_DIVIDER
&.tsd-before-signature
margin-bottom: 0
border-bottom: 0
table
display: block
width: 100%
overflow: auto
margin-top: 10px
word-break: normal
word-break: keep-all
th
font-weight: bold
th, td
padding: 6px 13px
border: 1px solid #ddd
tr
background-color: #fff
border-top: 1px solid #ccc
&:nth-child(2n)
background-color: #f8f8f8
// Holds a series of panels with an optional heading.
//
// <div class="tsd-panel-group">
// <h2>Consetetur sadipscing elitr</h2>
// <div class="tsd-panel">
// <h3>Eirmod tempor invidunt</h3>
// <p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat.</p>
// </div>
// <div class="tsd-panel">
// <h3>Eirmod tempor invidunt</h3>
// <p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat.</p>
// </div>
// </div>
//
.tsd-panel-group
margin: 60px 0
> h1, > h2, > h3
padding-left: 20px
padding-right: 20px

View File

@ -1,89 +0,0 @@
#tsd-search
transition: background-color 0.2s
.title
position: relative
z-index: 2
.field
position: absolute
left: 0
top: 0
right: 40px
height: 40px
input
box-sizing: border-box
position: relative
top: -50px
z-index: 1
width: 100%
padding: 0 10px
opacity: 0
outline: 0
border: 0
background: transparent
color: $COLOR_TEXT
label
position: absolute
overflow: hidden
right: -40px
.field input,
.title
transition: opacity 0.2s
.results
position: absolute
visibility: hidden
top: 40px
width: 100%
margin: 0
padding: 0
list-style: none
box-shadow: 0 0 4px rgba(#000, 0.25)
li
padding: 0 10px
background-color: $COLOR_BACKGROUND
li:nth-child(even)
background-color: $COLOR_PANEL
li.state
display: none
li.current,
li:hover
background-color: $COLOR_PANEL_DIVIDER
a
display: block
&:before
top: 10px
span.parent
color: $COLOR_TEXT_ASIDE
font-weight: normal
&.has-focus
background-color: $COLOR_PANEL_DIVIDER
.field input
top: 0
opacity: 1
.title
z-index: 0
opacity: 0
.results
visibility: visible
&.loading .results li.state.loading
display: block
&.failure .results li.state.failure
display: block

View File

@ -1,152 +0,0 @@
// Wraps a function signature.
// Changes its appearance when directly placed inside a `tsd-panel`.
// Can be combined with class `tsd-kind-icon` to display an icon in front of the signature.
//
// <div class="tsd-kind-method">
// <div class="tsd-signature tsd-kind-icon">
// get<wbr>Child<wbr>ByName<span class="tsd-signature-symbol">(</span>
// name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>
// <span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span>
// <a href="# class="tsd-signature-type">DeclarationReflection</a>
// </div>
// </div>
//
.tsd-signature
margin: 0 0 1em 0
padding: 10px
border: 1px solid $COLOR_PANEL_DIVIDER
font-family: $FONT_FAMILY_MONO
font-size: $FONT_SIZE_MONO
&.tsd-kind-icon
padding-left: 30px
&:before
top: 10px
left: 10px
.tsd-panel > &
margin-left: -20px
margin-right: -20px
border-width: 1px 0
&.tsd-kind-icon
padding-left: 40px
&:before
left: 20px
.tsd-signature-symbol
color: $COLOR_TEXT_ASIDE
font-weight: normal
.tsd-signature-type
font-style: italic
font-weight: normal
// Displays a list of signatures.
// Changes its appearance when directly placed inside a `tsd-panel`.
// Made interactive by JavaScript at `typedoc.Signature`.
//
// <ul class="tsd-signatures tsd-kind-method">
// <li class="tsd-signature tsd-kind-icon current">getChildByName(name: string): DeclarationReflection</li>
// <li class="tsd-signature tsd-kind-icon">getChildByName(names: Array&lt;string&gt;): DeclarationReflection</li>
// </ul>
//
.tsd-signatures
padding: 0
margin: 0 0 1em 0
border: 1px solid $COLOR_PANEL_DIVIDER
.tsd-signature
margin: 0
border-width: 1px 0 0 0
transition: background-color 0.1s
&:first-child
border-top-width: 0
&.current
background-color: $COLOR_PANEL_DIVIDER
&.active > .tsd-signature
cursor: pointer
.tsd-panel > &
margin-left: -20px
margin-right: -20px
border-width: 1px 0
.tsd-signature.tsd-kind-icon
padding-left: 40px
&:before
left: 20px
.tsd-panel > a.anchor + &
border-top-width: 0
margin-top: -20px
// Holds the descriptions related to a list of signatures.
// Made interactive by JavaScript at `typedoc.Signature`.
//
// <ul class="tsd-descriptions active">
// <li class="tsd-description current">
// <p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat.</p>
// </li>
// <li class="tsd-description">
// <p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat.</p>
// </li>
// </ul>
//
ul.tsd-descriptions
position: relative
overflow: hidden
transition: height 0.3s
padding: 0
list-style: none
> li
@extend %prevent-children-margin
&.active > .tsd-description
display: none
&.current
display: block
&.fade-in
animation: fade-in-delayed 0.3s
&.fade-out
animation: fade-out-delayed 0.3s
position: absolute
display: block
top: 0
left: 0
right: 0
opacity: 0
visibility: hidden
h4
font-size: $FONT_SIZE
margin: 1em 0 0.5em 0
ul.tsd-parameters,
ul.tsd-type-parameters
list-style: square
margin: 0
padding-left: 20px
> li.tsd-parameter-siganture
list-style: none
margin-left: -20px
h5
font-size: $FONT_SIZE
margin: 1em 0 0.5em 0
.tsd-comment
margin-top: -0.5em

View File

@ -1,24 +0,0 @@
// Displays the source and inheritance information
//
// <aside class="tsd-sources">
// <p>Overrides <a href="#">BaseHandler</a>.<a href="#">constructor</a></p>
// <ul>
// <li>Defined in src/typedoc/factories/handlers/DynamicModuleHandler.ts:37</li>
// </ul>
// </aside>
//
.tsd-sources
font-size: $FONT_SIZE_MONO
color: $COLOR_TEXT_ASIDE
margin: 0 0 1em 0
a
color: $COLOR_TEXT_ASIDE
text-decoration: underline
ul, p
margin: 0 !important
ul
list-style: none
padding: 0

View File

@ -1,171 +0,0 @@
// Displays the toolbar at the top of the page.
//
// <div class="tsd-page-toolbar">
// <div class="container">
// <div class="table-wrap">
// <div class="table-cell">
// <a href="../index.html" class="title">TypeDoc Documentation</a>
// </div>
// </div>
// </div>
// </div>
//
.tsd-page-toolbar
position: absolute
z-index: 1
top: 0
left: 0
width: 100%
height: $TOOLBAR_HEIGHT
color: $TOOLBAR_TEXT_COLOR
background: $TOOLBAR_COLOR
border-bottom: 1px solid $COLOR_PANEL_DIVIDER
a
color: $TOOLBAR_TEXT_COLOR
text-decoration: none
&.title
font-weight: bold
&.title:hover
text-decoration: underline
.table-wrap
display: table
width: 100%
height: $TOOLBAR_HEIGHT
.table-cell
display: table-cell
position: relative
white-space: nowrap
line-height: $TOOLBAR_HEIGHT
&:first-child
width: 100%
%TSD_WIDGET_ICON
&:before
content: ''
display: inline-block
width: 40px
height: 40px
margin: 0 -8px 0 0
background-image: url(../images/widgets.png)
background-repeat: no-repeat
text-indent: -1024px
vertical-align: bottom
+retina
background-image: url(../images/widgets@2x.png)
background-size: 320px 40px
.tsd-widget
@extend %TSD_WIDGET_ICON
display: inline-block
overflow: hidden
opacity: 0.6
height: $TOOLBAR_HEIGHT
transition: opacity 0.1s, background-color 0.2s
vertical-align: bottom
cursor: pointer
&:hover
opacity: 0.8
&.active
opacity: 1
background-color: $COLOR_PANEL_DIVIDER
&.no-caption
width: 40px
&:before
margin: 0
&.search:before
background-position: 0 0
&.menu:before
background-position: -40px 0
&.options:before
background-position: -80px 0
&.options,
&.menu
display: none
+size-xs-sm
display: inline-block
input[type=checkbox] + &:before
background-position: -120px 0
input[type=checkbox]:checked + &:before
background-position: -160px 0
.tsd-select
position: relative
display: inline-block
height: $TOOLBAR_HEIGHT
transition: opacity 0.1s, background-color 0.2s
vertical-align: bottom
cursor: pointer
.tsd-select-label
@extend %TSD_WIDGET_ICON
opacity: 0.6
transition: opacity 0.2s
&:before
background-position: -240px 0
&.active
.tsd-select-label
opacity: 0.8
.tsd-select-list
visibility: visible
opacity: 1
transition-delay: 0s
.tsd-select-list
position: absolute
visibility: hidden
top: $TOOLBAR_HEIGHT
left: 0
margin: 0
padding: 0
opacity: 0
list-style: none
box-shadow: 0 0 4px rgba(#000, 0.25)
transition: visibility 0s 0.2s, opacity 0.2s
li
@extend %TSD_WIDGET_ICON
padding: 0 20px 0 0
background-color: $COLOR_BACKGROUND
&:before
background-position: 40px 0
&:nth-child(even)
background-color: $COLOR_PANEL
&:hover
background-color: $COLOR_PANEL_DIVIDER
&.selected:before
background-position: -200px 0
+size-xs-sm
.tsd-select-list
top: 0
left: auto
right: 100%
margin-right: -5px
.tsd-select-label:before
background-position: -280px 0

View File

@ -1,114 +0,0 @@
html.default
+size-md
.col-content
width: 72%
.col-menu
width: 28%
.tsd-navigation
padding-left: 10px
+size-xs-sm
.col-content
float: none
width: 100%
.col-menu
position: fixed !important
overflow: auto
-webkit-overflow-scrolling: touch
overflow-scrolling: touch
z-index: 1024
top: 0 !important
bottom: 0 !important
left: auto !important
right: 0 !important
width: 100%
padding: 20px 20px 0 0
max-width: 450px
visibility: hidden
background-color: $COLOR_PANEL
transform: translate(100%,0)
> *:last-child
padding-bottom: 20px
.overlay
content: ''
display: block
position: fixed
z-index: 1023
top: 0
left: 0
right: 0
bottom: 0
background-color: rgba(#000, 0.75)
visibility: hidden
&.to-has-menu
.overlay
animation: fade-in 0.4s
header,
footer,
.col-content
animation: shift-to-left 0.4s
.col-menu
animation: pop-in-from-right 0.4s
&.from-has-menu
.overlay
animation: fade-out 0.4s
header,
footer,
.col-content
animation: unshift-to-left 0.4s
.col-menu
animation: pop-out-to-right 0.4s
&.has-menu
body
overflow: hidden
.overlay
visibility: visible
header,
footer,
.col-content
transform: translate(-25%, 0)
.col-menu
visibility: visible
transform: translate(0,0)
.tsd-page-title
padding: 70px 0 20px 0
margin: 0 0 40px 0
background: $COLOR_PANEL
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15)
h1
margin: 0
.tsd-breadcrumb
margin: 0
padding: 0
color: $COLOR_TEXT_ASIDE
a
color: $COLOR_TEXT_ASIDE
text-decoration: none
&:hover
text-decoration: underline
li
display: inline
&:after
content: ' / '

View File

@ -1,50 +0,0 @@
html.minimal
.container
margin: 0
.container-main
padding-top: 50px
padding-bottom: 0
.content-wrap
padding-left: 300px
.tsd-navigation
position: fixed !important
overflow: auto
-webkit-overflow-scrolling: touch
overflow-scrolling: touch
box-sizing: border-box
z-index: 1
left: 0
top: 40px
bottom: 0
width: 300px
padding: 20px
margin: 0
.tsd-member .tsd-member
margin-left: 0
.tsd-page-toolbar
position: fixed
z-index: 2
#tsd-filter .tsd-filter-group
right: 0
transform: none
footer
background-color: transparent
.container
padding: 0
.tsd-generator
padding: 0
+size-xs-sm
.tsd-navigation
display: none
.content-wrap
padding-left: 0

View File

@ -1,27 +0,0 @@
@import constants
@import vendors/normalize
@import vendors/highlight.js
@import setup/mixins
@import setup/grid
@import setup/icons
@import setup/animations
@import setup/typography
@import layouts/default
@import layouts/minimal
@import elements/comment
@import elements/filter
@import elements/footer
@import elements/hierarchy
@import elements/index
@import elements/member
@import elements/navigation
@import elements/panel
@import elements/search
@import elements/signatures
@import elements/sources
@import elements/toolbar
@import elements/images

View File

@ -1,57 +0,0 @@
.no-transition
transition: none !important
@keyframes fade-in
from
opacity: 0
to
opacity: 1
@keyframes fade-out
from
opacity: 1
visibility: visible
to
opacity: 0
@keyframes fade-in-delayed
0%
opacity: 0
33%
opacity: 0
100%
opacity: 1
@keyframes fade-out-delayed
0%
opacity: 1
visibility: visible
66%
opacity: 0
100%
opacity: 0
@keyframes shift-to-left
from
transform: translate(0,0)
to
transform: translate(-25%,0)
@keyframes unshift-to-left
from
transform: translate(-25%,0)
to
transform: translate(0,0)
@keyframes pop-in-from-right
from
transform: translate(100%,0)
to
transform: translate(0,0)
@keyframes pop-out-to-right
from
transform: translate(0,0)
visibility: visible
to
transform: translate(100%,0)

View File

@ -1,59 +0,0 @@
=size-xs
@media (max-width: 640px)
&
@content
=size-sm
@media (min-width: 641px) and (max-width: 900px)
&
@content
=size-md
@media (min-width: 901px) and (max-width: 1024px)
&
@content
=size-lg
@media (min-width: 1025px)
&
@content
=size-xs-sm
@media (max-width: 900px)
&
@content
=size-md-lg
@media (min-width: 901px)
&
@content
.container
max-width: 1200px
margin: 0 auto
padding: 0 40px
+size-xs
padding: 0 20px
.container-main
padding-bottom: 200px
.row
+clearfix
position: relative
margin: 0 -10px
.col
@extend %prevent-children-margin
box-sizing: border-box
float: left
padding: 0 10px
@for $width from 1 to 12
.col-#{$width}
@extend .col
width: $width / 12 * 100%
.offset-#{$width}
margin-left: $width / 12 * 100%

View File

@ -1,166 +0,0 @@
$type-icons:
(object-literal),
(class),
('class.tsd-has-type-parameter'),
(interface),
('interface.tsd-has-type-parameter'),
(module, external-module),
(enum),
(enum-member),
(signature),
(type-alias),
('type-alias.tsd-has-type-parameter');
$member-icons:
(variable, property),
(get-signature),
(set-signature),
(accessor),
(function, method, call-signature),
('function.tsd-has-type-parameter', 'method.tsd-has-type-parameter'),
(constructor, constructor-signature),
(index-signature),
(event),
(property),
(function, method, call-signature),
(event);
// parameter
// type-literal
// type-parameter
.tsd-kind-icon {
display: block;
position: relative;
padding-left: 20px;
text-indent: -20px;
&:before {
content: '';
display: inline-block;
vertical-align: middle;
width: 17px;
height: 17px;
margin: 0 3px 2px 0;
background-image: url(../images/icons.png);
@include retina {
background-image: url(../images/icons@2x.png);
background-size: 238px 204px;
}
}
}
.tsd-signature.tsd-kind-icon:before {
background-position: 0 -153px;
}
$icon-size: 17px;
$type: -0 * $icon-size;
$type-protected: -1 * $icon-size;
$type-private: -2 * $icon-size;
$member-class-public: -3 * $icon-size;
$member-class-public-inherited: -4 * $icon-size;
$member-class-protected: -5 * $icon-size;
$member-class-protected-inherited: -6 * $icon-size;
$member-private: -7 * $icon-size;
$member: -8 * $icon-size;
$member-protected: -9 * $icon-size;
$member-enum: -10 * $icon-size;
$member-enum-protected: -11 * $icon-size;
$member-interface: -12 * $icon-size;
$member-interface-inherited: -13 * $icon-size;
@for $index from 1 through length($type-icons) {
@each $kind in nth($type-icons, $index) {
$selector: '.tsd-kind-' + $kind;
$offset: -#{17 * ($index)}px;
#{$selector} {
> .tsd-kind-icon:before {
background-position: $type $offset;
}
&.tsd-is-protected > .tsd-kind-icon:before {
background-position: $type-protected $offset;
}
&.tsd-is-private > .tsd-kind-icon:before {
background-position: $type-private $offset;
}
}
}
}
@for $index from 1 through length($member-icons) {
@each $kind in nth($member-icons, $index) {
$offset: -#{17 * ($index - 1)}px;
$selector: '.tsd-kind-' + $kind;
@if $index == 10 {
$selector: '.tsd-is-static';
} @else if $index > 10 {
$selector: '.tsd-is-static.tsd-kind-' + $kind;
}
#{$selector} {
> .tsd-kind-icon:before {
background-position: $member $offset;
}
&.tsd-is-protected > .tsd-kind-icon:before {
background-position: $member-protected $offset;
}
&.tsd-is-private > .tsd-kind-icon:before {
background-position: $member-private $offset;
}
&.tsd-parent-kind-class {
> .tsd-kind-icon:before {
background-position: $member-class-public $offset;
}
&.tsd-is-inherited > .tsd-kind-icon:before {
background-position: $member-class-public-inherited $offset;
}
&.tsd-is-protected > .tsd-kind-icon:before {
background-position: $member-class-protected $offset;
}
&.tsd-is-protected.tsd-is-inherited > .tsd-kind-icon:before {
background-position: $member-class-protected-inherited $offset;
}
&.tsd-is-private > .tsd-kind-icon:before {
background-position: $member-private $offset;
}
}
&.tsd-parent-kind-enum {
> .tsd-kind-icon:before {
background-position: $member-enum $offset;
}
&.tsd-is-protected > .tsd-kind-icon:before {
background-position: $member-enum-protected $offset;
}
&.tsd-is-private > .tsd-kind-icon:before {
background-position: $member-private $offset;
}
}
&.tsd-parent-kind-interface {
> .tsd-kind-icon:before {
background-position: $member-interface $offset;
}
&.tsd-is-inherited > .tsd-kind-icon:before {
background-position: $member-interface-inherited $offset;
}
}
}
}
}

View File

@ -1,30 +0,0 @@
@mixin vendors($property, $value...)
-webkit-#{$property}: $value
-moz-#{$property}: $value
-ms-#{$property}: $value
-o-#{$property}: $value
#{$property}: $value
@mixin clearfix
&:after
visibility: hidden
display: block
content: ""
clear: both
height: 0
@mixin retina
@media (-webkit-min-device-pixel-ratio: 1.5), (min-device-pixel-ratio: 1.5), (min-resolution: 144dpi)
&
@content
%prevent-children-margin
> :first-child,
> :first-child > :first-child,
> :first-child > :first-child > :first-child
margin-top: 0
> :last-child,
> :last-child > :last-child,
> :last-child > :last-child > :last-child
margin-bottom: 0

View File

@ -1,45 +0,0 @@
body
background: $COLOR_BACKGROUND
font-family: $FONT_FAMILY
font-size: $FONT_SIZE
color: $COLOR_TEXT
a
color: $COLOR_LINK
text-decoration: none
&:hover
text-decoration: underline
code, pre
font-family: $FONT_FAMILY_MONO
padding: 0.2em
margin: 0
font-size: $FONT_SIZE_MONO
background-color: $COLOR_CODE_BACKGROUND
pre
padding: 10px
code
padding: 0
font-size: 100%
background-color: transparent
.tsd-typography
line-height: $LINE_HEIGHT
ul
list-style: square
padding: 0 0 0 20px
margin: 0
h4, h5, h6
font-size: 1em
margin: 0
h5, h6
font-weight: normal
p, ul, ol
margin: 1em 0

View File

@ -1,50 +0,0 @@
/*
*
*Visual Studio-like style based on original C# coloring by Jason Diamond <jason@diamond.name>
.hljs
display: inline-block
padding: 0.5em
background: white
color: black
.hljs-comment, .hljs-annotation, .hljs-template_comment, .diff .hljs-header, .hljs-chunk, .apache .hljs-cbracket
color: #008000
.hljs-keyword, .hljs-id, .hljs-built_in, .css .smalltalk .hljs-class, .hljs-winutils, .bash .hljs-variable, .tex .hljs-command, .hljs-request, .hljs-status, .nginx .hljs-title
color: #00f
.xml .hljs-tag
color: #00f
.hljs-value
color: #00f
.hljs-string, .hljs-title, .hljs-parent, .hljs-tag .hljs-value, .hljs-rules .hljs-value
color: #a31515
.ruby .hljs-symbol
color: #a31515
.hljs-string
color: #a31515
.hljs-template_tag, .django .hljs-variable, .hljs-addition, .hljs-flow, .hljs-stream, .apache .hljs-tag, .hljs-date, .tex .hljs-formula, .coffeescript .hljs-attribute
color: #a31515
.ruby .hljs-string, .hljs-decorator, .hljs-filter .hljs-argument, .hljs-localvars, .hljs-array, .hljs-attr_selector, .hljs-pseudo, .hljs-pi, .hljs-doctype, .hljs-deletion, .hljs-envvar, .hljs-shebang, .hljs-preprocessor, .hljs-pragma, .userType, .apache .hljs-sqbracket, .nginx .hljs-built_in, .tex .hljs-special, .hljs-prompt
color: #2b91af
.hljs-phpdoc, .hljs-javadoc, .hljs-xmlDocTag
color: #808080
.vhdl
.hljs-typename
font-weight: bold
.hljs-string
color: #666666
.hljs-literal
color: #a31515
.hljs-attribute
color: #00b0e8
.xml .hljs-attribute
color: #f00

View File

@ -1,424 +0,0 @@
/*! normalize.css v1.1.3 | MIT License | git.io/normalize
/* ==========================================================================
* HTML5 display definitions
* ==========================================================================
/**
* Correct `block` display not defined in IE 6/7/8/9 and Firefox 3.
article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary
display: block
/**
* Correct `inline-block` display not defined in IE 6/7/8/9 and Firefox 3.
audio, canvas, video
display: inline-block
*display: inline
*zoom: 1
/**
* Prevent modern browsers from displaying `audio` without controls.
* Remove excess height in iOS 5 devices.
audio:not([controls])
display: none
height: 0
/**
* Address styling not present in IE 7/8/9, Firefox 3, and Safari 4.
* Known issue: no IE 6 support.
[hidden]
display: none
/* ==========================================================================
* Base
* ==========================================================================
/**
* 1. Correct text resizing oddly in IE 6/7 when body `font-size` is set using
* `em` units.
* 2. Prevent iOS text size adjust after orientation change, without disabling
* user zoom.
html
font-size: 100%
/* 1
-ms-text-size-adjust: 100%
/* 2
-webkit-text-size-adjust: 100%
/* 2
font-family: sans-serif
/**
* Address `font-family` inconsistency between `textarea` and other form
* elements.
button, input, select, textarea
font-family: sans-serif
/**
* Address margins handled incorrectly in IE 6/7.
body
margin: 0
/* ==========================================================================
* Links
* ==========================================================================
/**
* Address `outline` inconsistency between Chrome and other browsers.
a
&:focus
outline: thin dotted
&:active, &:hover
outline: 0
/**
* Improve readability when focused and also mouse hovered in all browsers.
/* ==========================================================================
* Typography
* ==========================================================================
/**
* Address font sizes and margins set differently in IE 6/7.
* Address font sizes within `section` and `article` in Firefox 4+, Safari 5,
* and Chrome.
h1
font-size: 2em
margin: 0.67em 0
h2
font-size: 1.5em
margin: 0.83em 0
h3
font-size: 1.17em
margin: 1em 0
h4
font-size: 1em
margin: 1.33em 0
h5
font-size: 0.83em
margin: 1.67em 0
h6
font-size: 0.67em
margin: 2.33em 0
/**
* Address styling not present in IE 7/8/9, Safari 5, and Chrome.
abbr[title]
border-bottom: 1px dotted
/**
* Address style set to `bolder` in Firefox 3+, Safari 4/5, and Chrome.
b, strong
font-weight: bold
blockquote
margin: 1em 40px
/**
* Address styling not present in Safari 5 and Chrome.
dfn
font-style: italic
/**
* Address differences between Firefox and other browsers.
* Known issue: no IE 6/7 normalization.
hr
-moz-box-sizing: content-box
box-sizing: content-box
height: 0
/**
* Address styling not present in IE 6/7/8/9.
mark
background: #ff0
color: #000
/**
* Address margins set differently in IE 6/7.
p, pre
margin: 1em 0
/**
* Correct font family set oddly in IE 6, Safari 4/5, and Chrome.
code, kbd, pre, samp
font-family: monospace, serif
_font-family: 'courier new', monospace
font-size: 1em
/**
* Improve readability of pre-formatted text in all browsers.
pre
white-space: pre
white-space: pre-wrap
word-wrap: break-word
/**
* Address CSS quotes not supported in IE 6/7.
q
quotes: none
&:before, &:after
content: ''
content: none
/**
* Address `quotes` property not supported in Safari 4.
/**
* Address inconsistent and variable font size in all browsers.
small
font-size: 80%
/**
* Prevent `sub` and `sup` affecting `line-height` in all browsers.
sub
font-size: 75%
line-height: 0
position: relative
vertical-align: baseline
sup
font-size: 75%
line-height: 0
position: relative
vertical-align: baseline
top: -0.5em
sub
bottom: -0.25em
/* ==========================================================================
* Lists
* ==========================================================================
/**
* Address margins set differently in IE 6/7.
dl, menu, ol, ul
margin: 1em 0
dd
margin: 0 0 0 40px
/**
* Address paddings set differently in IE 6/7.
menu, ol, ul
padding: 0 0 0 40px
/**
* Correct list images handled incorrectly in IE 7.
nav
ul, ol
list-style: none
list-style-image: none
/* ==========================================================================
* Embedded content
* ==========================================================================
/**
* 1. Remove border when inside `a` element in IE 6/7/8/9 and Firefox 3.
* 2. Improve image quality when scaled in IE 7.
img
border: 0
/* 1
-ms-interpolation-mode: bicubic
/* 2
/**
* Correct overflow displayed oddly in IE 9.
svg:not(:root)
overflow: hidden
/* ==========================================================================
* Figures
* ==========================================================================
/**
* Address margin not present in IE 6/7/8/9, Safari 5, and Opera 11.
figure, form
margin: 0
/* ==========================================================================
* Forms
* ==========================================================================
/**
* Correct margin displayed oddly in IE 6/7.
/**
* Define consistent border, margin, and padding.
fieldset
border: 1px solid #c0c0c0
margin: 0 2px
padding: 0.35em 0.625em 0.75em
/**
* 1. Correct color not being inherited in IE 6/7/8/9.
* 2. Correct text not wrapping in Firefox 3.
* 3. Correct alignment displayed oddly in IE 6/7.
legend
border: 0
/* 1
padding: 0
white-space: normal
/* 2
*margin-left: -7px
/* 3
/**
* 1. Correct font size not being inherited in all browsers.
* 2. Address margins set differently in IE 6/7, Firefox 3+, Safari 5,
* and Chrome.
* 3. Improve appearance and consistency in all browsers.
button, input, select, textarea
font-size: 100%
/* 1
margin: 0
/* 2
vertical-align: baseline
/* 3
*vertical-align: middle
/* 3
/**
* Address Firefox 3+ setting `line-height` on `input` using `!important` in
* the UA stylesheet.
button, input
line-height: normal
/**
* Address inconsistent `text-transform` inheritance for `button` and `select`.
* All other form control elements do not inherit `text-transform` values.
* Correct `button` style inheritance in Chrome, Safari 5+, and IE 6+.
* Correct `select` style inheritance in Firefox 4+ and Opera.
button, select
text-transform: none
/**
* 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
* and `video` controls.
* 2. Correct inability to style clickable `input` types in iOS.
* 3. Improve usability and consistency of cursor style between image-type
* `input` and others.
* 4. Remove inner spacing in IE 7 without affecting normal text inputs.
* Known issue: inner spacing remains in IE 6.
button, html input[type="button"]
-webkit-appearance: button
/* 2
cursor: pointer
/* 3
*overflow: visible
/* 4
input
&[type="reset"], &[type="submit"]
-webkit-appearance: button
/* 2
cursor: pointer
/* 3
*overflow: visible
/* 4
/**
* Re-set default cursor for disabled elements.
button[disabled], html input[disabled]
cursor: default
/**
* 1. Address box sizing set to content-box in IE 8/9.
* 2. Remove excess padding in IE 8/9.
* 3. Remove excess padding in IE 7.
* Known issue: excess padding remains in IE 6.
input
&[type="checkbox"], &[type="radio"]
box-sizing: border-box
/* 1
padding: 0
/* 2
*height: 13px
/* 3
*width: 13px
/* 3
&[type="search"]
-webkit-appearance: textfield
/* 1
-moz-box-sizing: content-box
-webkit-box-sizing: content-box
/* 2
box-sizing: content-box
&::-webkit-search-cancel-button, &::-webkit-search-decoration
-webkit-appearance: none
/**
* 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome.
* 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome
* (include `-moz` to future-proof).
/**
* Remove inner padding and search cancel button in Safari 5 and Chrome
* on OS X.
/**
* Remove inner padding and border in Firefox 3+.
button::-moz-focus-inner, input::-moz-focus-inner
border: 0
padding: 0
/**
* 1. Remove default vertical scrollbar in IE 6/7/8/9.
* 2. Improve readability and alignment in all browsers.
textarea
overflow: auto
/* 1
vertical-align: top
/* 2
/* ==========================================================================
* Tables
* ==========================================================================
/**
* Remove most spacing between table cells.
table
border-collapse: collapse
border-spacing: 0

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 480 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 855 B

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,387 +0,0 @@
// Type definitions for Backbone 1.0.0
// Project: http://backbonejs.org/
// Definitions by: Boris Yankov <https://github.com/borisyankov/>, Natan Vivo <https://github.com/nvivo/>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
/// <reference path="../jquery/jquery.d.ts" />
/// <reference path="../underscore/underscore.d.ts" />
declare module Backbone {
interface AddOptions extends Silenceable {
at?: number;
}
interface HistoryOptions extends Silenceable {
pushState?: boolean;
root?: string;
}
interface NavigateOptions {
trigger?: boolean;
}
interface RouterOptions {
routes: any;
}
interface Silenceable {
silent?: boolean;
}
interface Validable {
validate?: boolean;
}
interface Waitable {
wait?: boolean;
}
interface Parseable {
parse?: any;
}
interface PersistenceOptions {
url?: string;
beforeSend?: (jqxhr: JQueryXHR) => void;
success?: (modelOrCollection?: any, response?: any, options?: any) => void;
error?: (modelOrCollection?: any, jqxhr?: JQueryXHR, options?: any) => void;
}
interface ModelSetOptions extends Silenceable, Validable {
}
interface ModelFetchOptions extends PersistenceOptions, ModelSetOptions, Parseable {
}
interface ModelSaveOptions extends Silenceable, Waitable, Validable, Parseable, PersistenceOptions {
patch?: boolean;
}
interface ModelDestroyOptions extends Waitable, PersistenceOptions {
}
interface CollectionFetchOptions extends PersistenceOptions, Parseable {
reset?: boolean;
}
class Events {
on(eventName: string, callback?: Function, context?: any): any;
off(eventName?: string, callback?: Function, context?: any): any;
trigger(eventName: string, ...args: any[]): any;
bind(eventName: string, callback: Function, context?: any): any;
unbind(eventName?: string, callback?: Function, context?: any): any;
once(events: string, callback: Function, context?: any): any;
listenTo(object: any, events: string, callback: Function): any;
listenToOnce(object: any, events: string, callback: Function): any;
stopListening(object?: any, events?: string, callback?: Function): any;
}
class ModelBase extends Events {
url: any;
parse(response: any, options?: any): any;
toJSON(options?: any): any;
sync(...arg: any[]): JQueryXHR;
}
class Model extends ModelBase {
/**
* Do not use, prefer TypeScript's extend functionality.
**/
private static extend(properties: any, classProperties?: any): any;
attributes: any;
changed: any[];
cid: string;
collection: Collection<any>;
/**
* Default attributes for the model. It can be an object hash or a method returning an object hash.
* For assigning an object hash, do it like this: this.defaults = <any>{ attribute: value, ... };
* That works only if you set it in the constructor or the initialize method.
**/
defaults(): any;
id: any;
idAttribute: string;
validationError: any;
urlRoot: any;
constructor(attributes?: any, options?: any);
initialize(attributes?: any): void;
fetch(options?: ModelFetchOptions): JQueryXHR;
/**
* For strongly-typed access to attributes, use the `get` method only privately in public getter properties.
* @example
* get name(): string {
* return super.get("name");
* }
**/
/*private*/ get(attributeName: string): any;
/**
* For strongly-typed assignment of attributes, use the `set` method only privately in public setter properties.
* @example
* set name(value: string) {
* super.set("name", value);
* }
**/
/*private*/ set(attributeName: string, value: any, options?: ModelSetOptions): Model;
set(obj: any, options?: ModelSetOptions): Model;
change(): any;
changedAttributes(attributes?: any): any[];
clear(options?: Silenceable): any;
clone(): Model;
destroy(options?: ModelDestroyOptions): any;
escape(attribute: string): string;
has(attribute: string): boolean;
hasChanged(attribute?: string): boolean;
isNew(): boolean;
isValid(options?:any): boolean;
previous(attribute: string): any;
previousAttributes(): any[];
save(attributes?: any, options?: ModelSaveOptions): any;
unset(attribute: string, options?: Silenceable): Model;
validate(attributes: any, options?: any): any;
private _validate(attrs: any, options: any): boolean;
// mixins from underscore
keys(): string[];
values(): any[];
pairs(): any[];
invert(): any;
pick(keys: string[]): any;
pick(...keys: string[]): any;
omit(keys: string[]): any;
omit(...keys: string[]): any;
}
class Collection<TModel extends Model> extends ModelBase {
/**
* Do not use, prefer TypeScript's extend functionality.
**/
private static extend(properties: any, classProperties?: any): any;
// TODO: this really has to be typeof TModel
//model: typeof TModel;
model: { new(): TModel; }; // workaround
models: TModel[];
length: number;
constructor(models?: TModel[], options?: any);
fetch(options?: CollectionFetchOptions): JQueryXHR;
comparator(element: TModel): number;
comparator(compare: TModel, to?: TModel): number;
add(model: TModel, options?: AddOptions): Collection<TModel>;
add(models: TModel[], options?: AddOptions): Collection<TModel>;
at(index: number): TModel;
/**
* Get a model from a collection, specified by an id, a cid, or by passing in a model.
**/
get(id: number): TModel;
get(id: string): TModel;
get(id: Model): TModel;
create(attributes: any, options?: ModelSaveOptions): TModel;
pluck(attribute: string): any[];
push(model: TModel, options?: AddOptions): TModel;
pop(options?: Silenceable): TModel;
remove(model: TModel, options?: Silenceable): TModel;
remove(models: TModel[], options?: Silenceable): TModel[];
reset(models?: TModel[], options?: Silenceable): TModel[];
set(models?: TModel[], options?: Silenceable): TModel[];
shift(options?: Silenceable): TModel;
sort(options?: Silenceable): Collection<TModel>;
unshift(model: TModel, options?: AddOptions): TModel;
where(properies: any): TModel[];
findWhere(properties: any): TModel;
private _prepareModel(attrs?: any, options?: any): any;
private _removeReference(model: TModel): void;
private _onModelEvent(event: string, model: TModel, collection: Collection<TModel>, options: any): void;
// mixins from underscore
all(iterator: (element: TModel, index: number) => boolean, context?: any): boolean;
any(iterator: (element: TModel, index: number) => boolean, context?: any): boolean;
collect(iterator: (element: TModel, index: number, context?: any) => any[], context?: any): any[];
chain(): any;
compact(): TModel[];
contains(value: any): boolean;
countBy(iterator: (element: TModel, index: number) => any): _.Dictionary<number>;
countBy(attribute: string): _.Dictionary<number>;
detect(iterator: (item: any) => boolean, context?: any): any; // ???
difference(...model: TModel[]): TModel[];
drop(): TModel;
drop(n: number): TModel[];
each(iterator: (element: TModel, index: number, list?: any) => void, context?: any): any;
every(iterator: (element: TModel, index: number) => boolean, context?: any): boolean;
filter(iterator: (element: TModel, index: number) => boolean, context?: any): TModel[];
find(iterator: (element: TModel, index: number) => boolean, context?: any): TModel;
first(): TModel;
first(n: number): TModel[];
flatten(shallow?: boolean): TModel[];
foldl(iterator: (memo: any, element: TModel, index: number) => any, initialMemo: any, context?: any): any;
forEach(iterator: (element: TModel, index: number, list?: any) => void, context?: any): any;
groupBy(iterator: (element: TModel, index: number) => string, context?: any): _.Dictionary<TModel[]>;
groupBy(attribute: string, context?: any): _.Dictionary<TModel[]>;
include(value: any): boolean;
indexOf(element: TModel, isSorted?: boolean): number;
initial(): TModel;
initial(n: number): TModel[];
inject(iterator: (memo: any, element: TModel, index: number) => any, initialMemo: any, context?: any): any;
intersection(...model: TModel[]): TModel[];
isEmpty(object: any): boolean;
invoke(methodName: string, args?: any[]): any;
last(): TModel;
last(n: number): TModel[];
lastIndexOf(element: TModel, fromIndex?: number): number;
map(iterator: (element: TModel, index: number, context?: any) => any[], context?: any): any[];
max(iterator?: (element: TModel, index: number) => any, context?: any): TModel;
min(iterator?: (element: TModel, index: number) => any, context?: any): TModel;
object(...values: any[]): any[];
reduce(iterator: (memo: any, element: TModel, index: number) => any, initialMemo: any, context?: any): any;
select(iterator: any, context?: any): any[];
size(): number;
shuffle(): any[];
some(iterator: (element: TModel, index: number) => boolean, context?: any): boolean;
sortBy(iterator: (element: TModel, index: number) => number, context?: any): TModel[];
sortBy(attribute: string, context?: any): TModel[];
sortedIndex(element: TModel, iterator?: (element: TModel, index: number) => number): number;
range(stop: number, step?: number): any;
range(start: number, stop: number, step?: number): any;
reduceRight(iterator: (memo: any, element: TModel, index: number) => any, initialMemo: any, context?: any): any[];
reject(iterator: (element: TModel, index: number) => boolean, context?: any): TModel[];
rest(): TModel;
rest(n: number): TModel[];
tail(): TModel;
tail(n: number): TModel[];
toArray(): any[];
union(...model: TModel[]): TModel[];
uniq(isSorted?: boolean, iterator?: (element: TModel, index: number) => boolean): TModel[];
without(...values: any[]): TModel[];
zip(...model: TModel[]): TModel[];
}
class Router extends Events {
/**
* Do not use, prefer TypeScript's extend functionality.
**/
private static extend(properties: any, classProperties?: any): any;
/**
* Routes hash or a method returning the routes hash that maps URLs with parameters to methods on your Router.
* For assigning routes as object hash, do it like this: this.routes = <any>{ "route": callback, ... };
* That works only if you set it in the constructor or the initialize method.
**/
routes(): any;
constructor(options?: RouterOptions);
initialize(options?: RouterOptions): void;
route(route: string, name: string, callback?: Function): Router;
navigate(fragment: string, options?: NavigateOptions): Router;
navigate(fragment: string, trigger?: boolean): Router;
private _bindRoutes(): void;
private _routeToRegExp(route: string): RegExp;
private _extractParameters(route: RegExp, fragment: string): string[];
}
var history: History;
class History extends Events {
handlers: any[];
interval: number;
start(options?: HistoryOptions): boolean;
getHash(window?: Window): string;
getFragment(fragment?: string, forcePushState?: boolean): string;
stop(): void;
route(route: string, callback: Function): number;
checkUrl(e?: any): void;
loadUrl(fragmentOverride: string): boolean;
navigate(fragment: string, options?: any): boolean;
started: boolean;
options: any;
private _updateHash(location: Location, fragment: string, replace: boolean): void;
}
interface ViewOptions<TModel extends Model> {
model?: TModel;
collection?: Backbone.Collection<TModel>;
el?: any;
id?: string;
className?: string;
tagName?: string;
attributes?: any[];
}
class View<TModel extends Model> extends Events {
/**
* Do not use, prefer TypeScript's extend functionality.
**/
private static extend(properties: any, classProperties?: any): any;
constructor(options?: ViewOptions<TModel>);
/**
* Events hash or a method returning the events hash that maps events/selectors to methods on your View.
* For assigning events as object hash, do it like this: this.events = <any>{ "event:selector": callback, ... };
* That works only if you set it in the constructor or the initialize method.
**/
events(): any;
$(selector: string): JQuery;
model: TModel;
collection: Collection<TModel>;
//template: (json, options?) => string;
make(tagName: string, attrs?: any, opts?: any): View<TModel>;
setElement(element: HTMLElement, delegate?: boolean): View<TModel>;
setElement(element: JQuery, delegate?: boolean): View<TModel>;
id: string;
cid: string;
className: string;
tagName: string;
el: any;
$el: JQuery;
setElement(element: any): View<TModel>;
attributes: any;
$(selector: any): JQuery;
render(): View<TModel>;
remove(): View<TModel>;
make(tagName: any, attributes?: any, content?: any): any;
delegateEvents(events?: any): any;
undelegateEvents(): any;
_ensureElement(): void;
}
// SYNC
function sync(method: string, model: Model, options?: JQueryAjaxSettings): any;
function ajax(options?: JQueryAjaxSettings): JQueryXHR;
var emulateHTTP: boolean;
var emulateJSON: boolean;
// Utility
function noConflict(): typeof Backbone;
var $: JQueryStatic;
}
declare module "backbone" {
export = Backbone;
}

View File

@ -1,4 +0,0 @@
/// <reference path="jquery/jquery.d.ts" />
/// <reference path="underscore/underscore.d.ts" />
/// <reference path="backbone/backbone.d.ts" />
/// <reference path="lunr/lunr.d.ts" />

View File

@ -1,21 +0,0 @@
{
"version": "v4",
"repo": "borisyankov/DefinitelyTyped",
"ref": "master",
"path": "./",
"bundle": "./tsd.d.ts",
"installed": {
"jquery/jquery.d.ts": {
"commit": "d4b55bafc0c9c4a2338cb427a4eeaf6023f12a24"
},
"lunr/lunr.d.ts": {
"commit": "f64ae50d573dae7500236a3deaee402f3376a871"
},
"backbone/backbone.d.ts": {
"commit": "d4b55bafc0c9c4a2338cb427a4eeaf6023f12a24"
},
"underscore/underscore.d.ts": {
"commit": "d4b55bafc0c9c4a2338cb427a4eeaf6023f12a24"
}
}
}

View File

@ -1,158 +0,0 @@
declare module typedoc
{
class Events extends Backbone.Events { }
}
module typedoc
{
export var $html = $('html');
/**
* Service definition.
*/
export interface IService
{
constructor:any;
name:string;
instance:any;
priority:number;
}
/**
* Component definition.
*/
export interface IComponent
{
constructor:any;
selector:string;
priority:number;
namespace:string;
}
/**
* List of all known services.
*/
var services:IService[] = [];
/**
* List of all known components.
*/
var components:IComponent[] = [];
/**
* jQuery instance of the document.
*/
export var $document = $(document);
/**
* jQuery instance of the window.
*/
export var $window = $(window);
/**
* jQuery instance of the window.
*/
export var $body = $('body');
/**
* Register a new component.
*/
export function registerService(constructor:any, name:string, priority:number = 0) {
services.push({
constructor: constructor,
name: name,
priority: priority,
instance: null
});
services.sort((a:IService, b:IService) => a.priority - b.priority);
}
/**
* Register a new component.
*/
export function registerComponent(constructor:any, selector:string, priority:number = 0, namespace:string = '*')
{
components.push({
selector: selector,
constructor: constructor,
priority: priority,
namespace: namespace
});
components.sort((a:IComponent, b:IComponent) => a.priority - b.priority);
}
/**
* Copy Backbone.Events to TypeScript class.
*/
if (typeof Backbone != 'undefined') {
typedoc['Events'] = <any>(function() {
var res = function() {};
_.extend(res.prototype, Backbone.Events);
return res;
})();
}
/**
* TypeDoc application class.
*/
export class Application extends Events
{
/**
* Create a new Application instance.
*/
constructor() {
super();
this.createServices();
this.createComponents($body);
}
/**
* Create all services.
*/
private createServices() {
_(services).forEach((c) => {
c.instance = new c.constructor();
typedoc[c.name] = c.instance;
});
}
/**
* Create all components beneath the given jQuery element.
*/
public createComponents($context:JQuery, namespace:string = 'default'):Backbone.View<any>[] {
var result = [];
_(components).forEach((c) => {
if (c.namespace != namespace && c.namespace != '*') {
return;
}
$context.find(c.selector).each((m:number, el:HTMLElement) => {
var $el = $(el), instance;
if (instance = $el.data('component')) {
if (_(result).indexOf(instance) == -1) {
result.push(instance);
}
} else {
instance = new c.constructor({el:el});
$el.data('component', instance);
result.push(instance);
}
});
});
return result;
}
}
}

View File

@ -1,157 +0,0 @@
module typedoc
{
class FilterItem<T>
{
protected key:string;
protected value:T;
protected defaultValue:T;
constructor(key:string, value:T) {
this.key = key;
this.value = value;
this.defaultValue = value;
this.initialize();
if (window.localStorage[this.key]) {
this.setValue(this.fromLocalStorage(window.localStorage[this.key]));
}
}
protected initialize() {}
protected handleValueChange(oldValue:T, newValue:T) {}
protected fromLocalStorage(value:string):T {
return <any>value;
}
protected toLocalStorage(value:T):string {
return <any>value;
}
protected setValue(value:T) {
if (this.value == value) return;
var oldValue = this.value;
this.value = value;
window.localStorage[this.key] = this.toLocalStorage(value);
this.handleValueChange(oldValue, value);
}
}
class FilterItemCheckbox extends FilterItem<boolean>
{
private $checkbox:JQuery;
protected initialize() {
this.$checkbox = $('#tsd-filter-' + this.key);
this.$checkbox.on('change', () => {
this.setValue(this.$checkbox.prop('checked'));
});
}
protected handleValueChange(oldValue:boolean, newValue:boolean) {
this.$checkbox.prop('checked', this.value);
$html.toggleClass('toggle-' + this.key, this.value != this.defaultValue);
}
protected fromLocalStorage(value:string):boolean {
return value == 'true';
}
protected toLocalStorage(value:boolean):string {
return value ? 'true' : 'false';
}
}
class FilterItemSelect extends FilterItem<string>
{
private $select:JQuery;
protected initialize() {
$html.addClass('toggle-' + this.key + this.value);
this.$select = $('#tsd-filter-' + this.key);
this.$select.on(pointerDown + ' mouseover', () => {
this.$select.addClass('active');
}).on('mouseleave', () => {
this.$select.removeClass('active');
}).on(pointerUp, 'li', (e:JQueryMouseEventObject) => {
this.$select.removeClass('active');
this.setValue($(e.target).attr('data-value'));
});
$document.on(pointerDown, (e:JQueryMouseEventObject) => {
var $path = $(e.target).parents().addBack();
if ($path.is(this.$select)) return;
this.$select.removeClass('active');
});
}
protected handleValueChange(oldValue:string, newValue:string) {
this.$select.find('li.selected').removeClass('selected');
this.$select.find('.tsd-select-label').text(
this.$select.find('li[data-value="' + newValue + '"]').addClass('selected').text());
$html.removeClass('toggle-' + oldValue);
$html.addClass('toggle-' + newValue);
}
}
class Filter extends Backbone.View<any>
{
private optionVisibility:FilterItemSelect;
private optionInherited:FilterItemCheckbox;
private optionOnlyExported:FilterItemCheckbox;
private optionExternals:FilterItemCheckbox;
constructor(options?:Backbone.ViewOptions<any>) {
super(options);
this.optionVisibility = new FilterItemSelect('visibility', 'private');
this.optionInherited = new FilterItemCheckbox('inherited', true);
this.optionExternals = new FilterItemCheckbox('externals', true);
this.optionOnlyExported = new FilterItemCheckbox('only-exported', false);
}
static isSupported():boolean {
try {
return typeof window.localStorage != 'undefined';
} catch (e) {
return false;
}
}
}
if (Filter.isSupported()) {
registerComponent(Filter, '#tsd-filter');
} else {
$html.addClass('no-filter');
}
}

View File

@ -1,141 +0,0 @@
module typedoc
{
/**
* Stored element and position data of a single anchor.
*/
interface IAnchorInfo
{
/**
* jQuery instance of the anchor tag.
*/
$anchor?:JQuery;
/**
* jQuery instance of the link in the navigation representing this anchor.
*/
$link?:JQuery;
/**
* The vertical offset of the anchor on the page.
*/
position:number;
}
/**
* Manages the sticky state of the navigation and moves the highlight
* to the current navigation item.
*/
export class MenuHighlight extends Backbone.View<any>
{
/**
* List of all discovered anchors.
*/
private anchors:IAnchorInfo[];
/**
* Index of the currently highlighted anchor.
*/
private index:number = 0;
/**
* Create a new MenuHighlight instance.
*
* @param options Backbone view constructor options.
*/
constructor(options:Backbone.ViewOptions<any>) {
super(options);
this.listenTo(viewport, 'resize', this.onResize);
this.listenTo(viewport, 'scroll', this.onScroll);
this.createAnchors();
}
/**
* Find all anchors on the current page.
*/
private createAnchors() {
this.index = 0;
this.anchors = [{
position: 0
}];
var base = window.location.href;
if (base.indexOf('#') != -1) {
base = base.substr(0, base.indexOf('#'));
}
this.$el.find('a').each((index, el:HTMLAnchorElement) => {
var href = el.href;
if (href.indexOf('#') == -1) return;
if (href.substr(0, base.length) != base) return;
var hash = href.substr(href.indexOf('#') + 1);
var $anchor = $('a.tsd-anchor[name=' + hash + ']');
if ($anchor.length == 0) return;
this.anchors.push({
$link: $(el.parentNode),
$anchor: $anchor,
position: 0
});
});
this.onResize();
}
/**
* Triggered after the viewport was resized.
*/
private onResize() {
var anchor;
for (var index = 1, count = this.anchors.length; index < count; index++) {
anchor = this.anchors[index];
anchor.position = anchor.$anchor.offset().top;
}
this.anchors.sort((a, b) => {
return a.position - b.position;
});
this.onScroll(viewport.scrollTop);
}
/**
* Triggered after the viewport was scrolled.
*
* @param scrollTop The current vertical scroll position.
*/
private onScroll(scrollTop:number) {
var anchors = this.anchors;
var index = this.index;
var count = anchors.length - 1;
scrollTop += 5;
while (index > 0 && anchors[index].position > scrollTop) {
index -= 1;
}
while (index < count && anchors[index + 1].position < scrollTop) {
index += 1;
}
if (this.index != index) {
if (this.index > 0) this.anchors[this.index].$link.removeClass('focus');
this.index = index;
if (this.index > 0) this.anchors[this.index].$link.addClass('focus');
}
}
}
/**
* Register this component.
*/
registerComponent(MenuHighlight, '.menu-highlight');
}

View File

@ -1,182 +0,0 @@
module typedoc
{
var hasPositionSticky = $html.hasClass('csspositionsticky');
/**
* Defines the known ways to make the navigation sticky.
*/
enum StickyMode
{
/**
* The navigation is not sticky at all.
*/
None,
/**
* The entire secondary navigation will stick to the top.
*/
Secondary,
/**
* Only the current root navigation item will stick to the top.
*/
Current
}
/**
* Controls the sticky behaviour of the secondary menu.
*/
export class MenuSticky extends Backbone.View<any>
{
/**
* jQuery instance of the current navigation item.
*/
private $current:JQuery;
/**
* jQuery instance of the parent representing the entire navigation.
*/
private $navigation:JQuery;
/**
* jQuery instance of the parent representing entire sticky container.
*/
private $container:JQuery;
/**
* The current state of the menu.
*/
private state:string = '';
/**
* The current mode for determining the sticky position.
*/
private stickyMode:StickyMode = StickyMode.None;
/**
* The threshold at which the menu is attached to the top.
*/
private stickyTop:number;
/**
* The threshold at which the menu is attached to the bottom.
*/
private stickyBottom:number;
/**
* Create a new MenuSticky instance.
*
* @param options Backbone view constructor options.
*/
constructor(options:Backbone.ViewOptions<any>) {
super(options);
this.$current = this.$el.find('> ul.current');
this.$navigation = this.$el.parents('.menu-sticky-wrap');
this.$container = this.$el.parents('.row');
this.listenTo(viewport, 'resize', this.onResize);
if (!hasPositionSticky) {
this.listenTo(viewport, 'scroll', this.onScroll);
}
this.onResize(viewport.width, viewport.height);
}
/**
* Set the current sticky state.
*
* @param state The new sticky state.
*/
private setState(state:string) {
if (this.state == state) return;
if (this.state != '') this.$navigation.removeClass(this.state);
this.state = state;
if (this.state != '') this.$navigation.addClass(this.state);
}
/**
* Triggered after the viewport was resized.
*
* @param width The width of the viewport.
* @param height The height of the viewport.
*/
private onResize(width:number, height:number) {
this.stickyMode = StickyMode.None;
this.setState('');
var containerTop = this.$container.offset().top;
var containerHeight = this.$container.height();
var bottom = containerTop + containerHeight;
if (this.$navigation.height() < containerHeight) {
var elHeight = this.$el.height();
var elTop = this.$el.offset().top;
if (this.$current.length) {
var currentHeight = this.$current.height();
var currentTop = this.$current.offset().top;
this.$navigation.css('top', containerTop - currentTop + 20);
if (currentHeight < height) {
this.stickyMode = StickyMode.Current;
this.stickyTop = currentTop;
this.stickyBottom = bottom - elHeight + (currentTop - elTop) - 20;
}
}
if (elHeight < height) {
this.$navigation.css('top', containerTop - elTop + 20);
this.stickyMode = StickyMode.Secondary;
this.stickyTop = elTop;
this.stickyBottom = bottom - elHeight - 20;
}
}
if (!hasPositionSticky) {
this.$navigation.css('left', this.$navigation.offset().left);
this.onScroll(viewport.scrollTop);
} else {
if (this.stickyMode == StickyMode.Current) {
this.setState('sticky-current');
} else if (this.stickyMode == StickyMode.Secondary) {
this.setState('sticky');
} else {
this.setState('');
}
}
}
/**
* Triggered after the viewport was scrolled.
*
* @param scrollTop The current vertical scroll position.
*/
private onScroll(scrollTop:number) {
if (this.stickyMode == StickyMode.Current) {
if (scrollTop > this.stickyBottom) {
this.setState('sticky-bottom');
} else {
this.setState(scrollTop + 20 > this.stickyTop ? 'sticky-current' : '');
}
} else if (this.stickyMode == StickyMode.Secondary) {
if (scrollTop > this.stickyBottom) {
this.setState('sticky-bottom');
} else {
this.setState(scrollTop + 20 > this.stickyTop ? 'sticky' : '');
}
}
}
}
/**
* Register this component.
*/
registerComponent(MenuSticky, '.menu-sticky');
}

View File

@ -1,268 +0,0 @@
declare module typedoc.search
{
interface IDocument {
id:number;
kind:number;
name:string;
url:string;
classes:string;
parent?:string;
}
interface IData {
kinds:{[kind:number]:string};
rows:IDocument[];
}
var data:IData;
}
module typedoc.search
{
/**
* Loading state definitions.
*/
enum SearchLoadingState
{
Idle, Loading, Ready, Failure
}
/**
* The element holding the search widget and results.
*/
var $el:JQuery = $('#tsd-search');
/**
* The input field of the search widget.
*/
var $field:JQuery = $('#tsd-search-field');
/**
* The result list wrapper.
*/
var $results:JQuery = $('.results');
/**
* The base url that must be prepended to the indexed urls.
*/
var base:string = $el.attr('data-base') + '/';
/**
* The current query string.
*/
var query:string = '';
/**
* The state the search is currently in.
*/
var loadingState:SearchLoadingState = SearchLoadingState.Idle;
/**
* Is the input field focused?
*/
var hasFocus:boolean = false;
/**
* Should the next key press be prevents?
*/
var preventPress:boolean = false;
/**
* The lunr index used to search the documentation.
*/
var index:lunr.Index;
/**
* Instantiate the lunr index.
*/
function createIndex() {
index = new lunr.Index();
index.pipeline.add(
lunr.trimmer
);
index.field('name', {boost:10});
index.field('parent');
index.ref('id');
var rows = data.rows;
var pos = 0;
var length = rows.length;
function batch() {
var cycles = 0;
while (cycles++ < 100) {
index.add(rows[pos]);
if (++pos == length) {
return setLoadingState(SearchLoadingState.Ready);
}
}
setTimeout(batch, 10);
}
batch();
}
/**
* Lazy load the search index and parse it.
*/
function loadIndex() {
if (loadingState != SearchLoadingState.Idle) return;
setTimeout(() => {
if (loadingState == SearchLoadingState.Idle) {
setLoadingState(SearchLoadingState.Loading);
}
}, 500);
if (typeof data != 'undefined') {
createIndex();
} else {
$.get($el.attr('data-index'))
.done((source:string) => {
eval(source);
createIndex();
}).fail(() => {
setLoadingState(SearchLoadingState.Failure);
});
}
}
/**
* Update the visible state of the search control.
*/
function updateResults() {
if (loadingState != SearchLoadingState.Ready) return;
$results.empty();
var res = index.search(query);
for (var i = 0, c = Math.min(10, res.length); i < c; i++) {
var row = data.rows[res[i].ref];
var name = row.name;
if (row.parent) name = '<span class="parent">' + row.parent + '.</span>' + name;
$results.append('<li class="' + row.classes + '"><a href="' + base + row.url + '" class="tsd-kind-icon">' + name + '</li>');
}
}
/**
* Set the loading state and update the visual state accordingly.
*/
function setLoadingState(value:SearchLoadingState) {
if (loadingState == value) return;
$el.removeClass(SearchLoadingState[loadingState].toLowerCase());
loadingState = value;
$el.addClass(SearchLoadingState[loadingState].toLowerCase());
if (value == SearchLoadingState.Ready) {
updateResults();
}
}
/**
* Set the focus state and update the visual state accordingly.
*/
function setHasFocus(value:boolean) {
if (hasFocus == value) return;
hasFocus = value;
$el.toggleClass('has-focus');
if (!value) {
$field.val(query);
} else {
setQuery('');
$field.val('');
}
}
/**
* Set the query string and update the results.
*/
function setQuery(value:string) {
query = $.trim(value);
updateResults();
}
/**
* Move the highlight within the result set.
*/
function setCurrentResult(dir:number) {
var $current = $results.find('.current');
if ($current.length == 0) {
$results.find(dir == 1 ? 'li:first-child' : 'li:last-child').addClass('current');
} else {
var $rel = dir == 1 ? $current.next('li') : $current.prev('li');
if ($rel.length > 0) {
$current.removeClass('current');
$rel.addClass('current');
}
}
}
/**
* Navigate to the highlighted result.
*/
function gotoCurrentResult() {
var $current = $results.find('.current');
if ($current.length == 0) {
$current = $results.find('li:first-child');
}
if ($current.length > 0) {
window.location.href = $current.find('a').prop('href');
$field.blur();
}
}
/**
* Bind all required events on the input field.
*/
$field.on('focusin', () => {
setHasFocus(true);
loadIndex();
}).on('focusout', () => {
setTimeout(() => setHasFocus(false), 100);
}).on('input', () => {
setQuery($.trim($field.val()));
}).on('keydown', (e:JQueryKeyEventObject) => {
if (e.keyCode == 13 || e.keyCode == 27 || e.keyCode == 38 || e.keyCode == 40) {
preventPress = true;
e.preventDefault();
if (e.keyCode == 13) {
gotoCurrentResult();
} else if (e.keyCode == 27) {
$field.blur();
} else if (e.keyCode == 38) {
setCurrentResult(-1);
} else if (e.keyCode == 40) {
setCurrentResult(1);
}
} else {
preventPress = false;
}
}).on('keypress', (e) => {
if (preventPress) e.preventDefault();
});
/**
* Start searching by pressing a key on the body.
*/
$('body').on('keydown', (e:JQueryKeyEventObject) => {
if (e.altKey || e.ctrlKey || e.metaKey) return;
if (!hasFocus && e.keyCode > 47 && e.keyCode < 112) {
$field.focus();
}
});
}

View File

@ -1,167 +0,0 @@
module typedoc
{
/**
* Holds a signature and its description.
*/
class SignatureGroup
{
/**
* The target signature.
*/
$signature:JQuery;
/**
* The description for the signature.
*/
$description:JQuery;
/**
* Create a new SignatureGroup instance.
*
* @param $signature The target signature.
* @param $description The description for the signature.
*/
constructor($signature, $description) {
this.$signature = $signature;
this.$description = $description;
}
/**
* Add the given class to all elements of the group.
*
* @param className The class name to add.
*/
addClass(className:string):SignatureGroup {
this.$signature.addClass(className);
this.$description.addClass(className);
return this;
}
/**
* Remove the given class from all elements of the group.
*
* @param className The class name to remove.
*/
removeClass(className:string):SignatureGroup {
this.$signature.removeClass(className);
this.$description.removeClass(className);
return this;
}
}
/**
* Controls the tab like behaviour of methods and functions with multiple signatures.
*/
class Signature extends Backbone.View<any>
{
/**
* List of found signature groups.
*/
private groups:SignatureGroup[];
/**
* The container holding all the descriptions.
*/
private $container:JQuery;
/**
* The index of the currently displayed signature.
*/
private index:number = -1;
/**
* Create a new Signature instance.
*
* @param options Backbone view constructor options.
*/
constructor(options:Backbone.ViewOptions<any>) {
super(options);
this.createGroups();
if (this.groups) {
this.$el.addClass('active')
.on('touchstart', '.tsd-signature', (event) => this.onClick(event))
.on('click', '.tsd-signature', (event) => this.onClick(event));
this.$container.addClass('active');
this.setIndex(0);
}
}
/**
* Set the index of the active signature.
*
* @param index The index of the signature to activate.
*/
private setIndex(index:number) {
if (index < 0) index = 0;
if (index > this.groups.length - 1) index = this.groups.length - 1;
if (this.index == index) return;
var to = this.groups[index];
if (this.index > -1) {
var from = this.groups[this.index];
animateHeight(this.$container, () => {
from.removeClass('current').addClass('fade-out');
to.addClass('current fade-in');
viewport.triggerResize();
});
setTimeout(() => {
from.removeClass('fade-out');
to.removeClass('fade-in');
}, 300);
} else {
to.addClass('current');
viewport.triggerResize();
}
this.index = index;
}
/**
* Find all signature/description groups.
*/
private createGroups() {
var $signatures = this.$el.find('> .tsd-signature');
if ($signatures.length < 2) return;
this.$container = this.$el.siblings('.tsd-descriptions');
var $descriptions = this.$container.find('> .tsd-description');
this.groups = [];
$signatures.each((index, el) => {
this.groups.push(new SignatureGroup($(el), $descriptions.eq(index)));
});
}
/**
* Triggered when the user clicks onto a signature header.
*
* @param e The related jQuery event object.
*/
private onClick(e:JQueryMouseEventObject) {
e.preventDefault();
_(this.groups).forEach((group, index) => {
if (group.$signature.is(e.currentTarget)) {
this.setIndex(index);
}
});
}
}
/**
* Register this component.
*/
registerComponent(Signature, '.tsd-signatures');
}

View File

@ -1,84 +0,0 @@
module typedoc
{
/**
* Enabled simple toggle buttons.
*/
class Toggle extends Backbone.View<any>
{
active:boolean;
className:string;
constructor(options:Backbone.ViewOptions<any>) {
super(options);
this.className = this.$el.attr('data-toggle');
this.$el.on(pointerUp, (e) => this.onPointerUp(e));
this.$el.on('click', (e) => e.preventDefault());
$document.on(pointerDown, (e) => this.onDocumentPointerDown(e));
$document.on(pointerUp, (e) => this.onDocumentPointerUp(e));
}
setActive(value:boolean) {
if (this.active == value) return;
this.active = value;
$html.toggleClass('has-' + this.className, value);
this.$el.toggleClass('active', value);
var transition = (this.active ? 'to-has-' : 'from-has-') + this.className;
$html.addClass(transition);
setTimeout(() => $html.removeClass(transition), 500);
}
onPointerUp(event:JQueryMouseEventObject) {
if (hasPointerMoved) return;
this.setActive(true);
event.preventDefault();
}
onDocumentPointerDown(e:JQueryMouseEventObject) {
if (this.active) {
var $path = $(e.target).parents().addBack();
if ($path.hasClass('col-menu')) {
return;
}
if ($path.hasClass('tsd-filter-group')) {
return;
}
this.setActive(false);
}
}
onDocumentPointerUp(e:JQueryMouseEventObject) {
if (hasPointerMoved) return;
if (this.active) {
var $path = $(e.target).parents().addBack();
if ($path.hasClass('col-menu')) {
var $link = $path.filter('a');
if ($link.length) {
var href = window.location.href;
if (href.indexOf('#') != -1) {
href = href.substr(0, href.indexOf('#'));
}
if ($link.prop('href').substr(0, href.length) == href) {
setTimeout(() => this.setActive(false), 250);
}
}
}
}
}
}
/**
* Register this component.
*/
registerComponent(Toggle, 'a[data-toggle]');
}

View File

@ -1,70 +0,0 @@
module typedoc
{
/**
* A global service that monitors the window size and scroll position.
*/
export class Viewport extends Events
{
/**
* The current scroll position.
*/
scrollTop:number = 0;
/**
* The width of the window.
*/
width:number = 0;
/**
* The height of the window.
*/
height:number = 0;
/**
* Create new Viewport instance.
*/
constructor() {
super();
$window.on('scroll', <any>_(() => this.onScroll()).throttle(10));
$window.on('resize', <any>_(() => this.onResize()).throttle(10));
this.onResize();
this.onScroll();
}
/**
* Trigger a resize event.
*/
triggerResize() {
this.trigger('resize', this.width, this.height);
}
/**
* Triggered when the size of the window has changed.
*/
onResize() {
this.width = $window.width();
this.height = $window.height();
this.trigger('resize', this.width, this.height);
}
/**
* Triggered when the user scrolled the viewport.
*/
onScroll() {
this.scrollTop = $window.scrollTop();
this.trigger('scroll', this.scrollTop);
}
}
/**
* Register service.
*/
export var viewport:Viewport;
registerService(Viewport, 'viewport');
}

View File

@ -1,88 +0,0 @@
module typedoc
{
/**
* Simple point interface.
*/
export interface Point {
x:number;
y:number;
}
/**
* Event name of the pointer down event.
*/
export var pointerDown:string = 'mousedown';
/**
* Event name of the pointer move event.
*/
export var pointerMove:string = 'mousemove';
/**
* Event name of the pointer up event.
*/
export var pointerUp:string = 'mouseup';
/**
* Position the pointer was pressed at.
*/
export var pointerDownPosition:Point = {x:0, y:0};
/**
* Should the next click on the document be supressed?
*/
export var preventNextClick:boolean = false;
/**
* Is the pointer down?
*/
export var isPointerDown:boolean = false;
/**
* Is the pointer a touch point?
*/
export var isPointerTouch:boolean = false;
/**
* Did the pointer move since the last down event?
*/
export var hasPointerMoved:boolean = false;
/**
* Is the user agent a mobile agent?
*/
export var isMobile:boolean = /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);
$html.addClass(isMobile ? 'is-mobile' : 'not-mobile');
if (isMobile && 'ontouchstart' in document.documentElement) {
isPointerTouch = true;
pointerDown = 'touchstart';
pointerMove = 'touchmove';
pointerUp = 'touchend';
}
$document.on(pointerDown, (e:JQueryMouseEventObject) => {
isPointerDown = true;
hasPointerMoved = false;
var t = (pointerDown == 'touchstart' ? e.originalEvent['targetTouches'][0] : e);
pointerDownPosition.x = t.pageX;
pointerDownPosition.y = t.pageY;
}).on(pointerMove, (e:JQueryMouseEventObject) => {
if (!isPointerDown) return;
if (!hasPointerMoved) {
var t = (pointerDown == 'touchstart' ? e.originalEvent['targetTouches'][0] : e);
var x = pointerDownPosition.x - t.pageX;
var y = pointerDownPosition.y - t.pageY;
hasPointerMoved = (Math.sqrt(x*x + y*y) > 10);
}
}).on(pointerUp, (e:JQueryMouseEventObject) => {
isPointerDown = false;
}).on('click', (e:JQueryMouseEventObject) => {
if (preventNextClick) {
e.preventDefault();
e.stopImmediatePropagation();
preventNextClick = false;
}
});
}

View File

@ -1,53 +0,0 @@
module typedoc {
function getVendorInfo(tuples) {
for (var name in tuples) {
if (!tuples.hasOwnProperty(name))
continue;
if (typeof (document.body.style[name]) !== 'undefined') {
return { name: name, endEvent: tuples[name] };
}
}
return null;
}
export var transition = getVendorInfo({
'transition': 'transitionend',
'OTransition': 'oTransitionEnd',
'msTransition': 'msTransitionEnd',
'MozTransition': 'transitionend',
'WebkitTransition': 'webkitTransitionEnd'
});
export function noTransition($el, callback) {
$el.addClass('no-transition');
callback();
$el.offset();
$el.removeClass('no-transition');
}
export function animateHeight($el:JQuery, callback:Function, success?:Function) {
var from = $el.height(), to;
noTransition($el, function () {
callback();
$el.css('height', '');
to = $el.height();
if (from != to && transition) $el.css('height', from);
});
if (from != to && transition) {
$el.css('height', to);
$el.on(transition.endEvent, function () {
noTransition($el, function () {
$el.off(transition.endEvent).css('height', '');
if (success) success();
});
});
} else {
if (success) success();
}
}
}

View File

@ -1,6 +0,0 @@
/// <reference path="./typedoc/Application.ts" />
module typedoc
{
export var app:Application = new Application();
}

View File

@ -1,139 +0,0 @@
module.exports = function(grunt)
{
grunt.file.setBase('../../../');
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
ts: {
themeCustom: {
options: {
sourceMap: false,
module: 'amd',
basePath: 'themes',
declaration: false
},
src: [
'config/typedoc/custom-theme/assets/js/src/lib/**/*.ts',
'config/typedoc/custom-theme/assets/js/src/typedoc/Application.ts',
'config/typedoc/custom-theme/assets/js/src/typedoc/components/**/*.ts',
'config/typedoc/custom-theme/assets/js/src/typedoc/services/**/*.ts',
'config/typedoc/custom-theme/assets/js/src/typedoc/utils/**/*.ts',
'config/typedoc/custom-theme/assets/js/src/~bootstrap.ts'
],
out: 'config/typedoc/custom-theme/assets/js/main.js'
}
},
uglify: {
themeCustom: {
options: {
mangle: false
},
files: {
'config/typedoc/custom-theme/bin/default/assets/js/main.js': [
'config/typedoc/custom-theme/assets/js/lib/jquery-2.1.1.min.js',
'config/typedoc/custom-theme/assets/js/lib/underscore-1.6.0.min.js',
'config/typedoc/custom-theme/assets/js/lib/backbone-1.1.2.min.js',
'config/typedoc/custom-theme/assets/js/lib/lunr.min.js',
'config/typedoc/custom-theme/assets/js/main.js'
]
}
}
},
'string-replace': {
themeMinimal: {
files: {
'config/typedoc/custom-theme/bin/minimal/layouts/default.hbs': ['src/minimal/layouts/default.hbs']
},
options: {
replacements: [{
pattern: /{{ CSS }}/g,
replacement: function() {
var css = grunt.file.read('bin/default/assets/css/main.css');
return css.replace(/url\(([^\)]*)\)/g, function(match, file) {
if (match.indexOf(':') != -1) return match;
var path = require('path'), fs = require('fs');
var file = path.resolve('bin/default/assets/css', file);
var data = fs.readFileSync(file, 'base64');
return 'url(data:image/png;base64,' + data + ')';
});
}
}, {
pattern: /{{ JS }}/g,
replacement: function() {
return grunt.file.read('bin/default/assets/js/main.js').replace('{{', '{/**/{');
}
}]
}
}
},
sass: {
options: {
style: 'compact',
unixNewlines: true
},
themeCustom: {
files: [{
expand: true,
cwd: 'config/typedoc/custom-theme/assets/css',
src: 'config/typedoc/custom-theme/**/*.sass',
dest: 'config/typedoc/custom-theme/bin/assets/css',
ext: '.css'
}]
}
},
autoprefixer: {
options: {
cascade: false
},
themeCustom: {
expand: true,
src: 'config/typedoc/custom-theme/bin/**/*.css',
dest: './'
}
},
copy: {
plugin: {
files: [{
expand: true,
cwd: 'src',
src: ['*.js'],
dest: 'config/typedoc/custom-theme/bin'
}]
},
themeCustom: {
files: [{
expand: true,
cwd: 'config/typedoc/custom-theme',
src: ['**/*.hbs', '**/*.png'],
dest: 'config/typedoc/custom-theme/bin'
}]
}
},
watch: {
js: {
files: ['config/typedoc/custom-theme/assets/js/src/**/*.ts'],
tasks: ['js']
},
css: {
files: ['config/typedoc/custom-theme/assets/css/**/*'],
tasks: ['css']
},
custom: {
files: ['config/typedoc/custom-theme/**/*.hbs'],
tasks: ['copy', 'string-replace']
}
}
});
grunt.loadNpmTasks('grunt-contrib-watch');
grunt.loadNpmTasks('grunt-contrib-sass');
grunt.loadNpmTasks('grunt-contrib-uglify');
grunt.loadNpmTasks('grunt-contrib-copy');
grunt.loadNpmTasks('grunt-string-replace');
grunt.loadNpmTasks('grunt-autoprefixer');
grunt.loadNpmTasks('grunt-ts');
grunt.registerTask('css', ['sass', 'autoprefixer']);
grunt.registerTask('js', ['ts:themeCustom', 'uglify']);
grunt.registerTask('default', ['copy', 'css', 'js', 'string-replace']);
};

View File

@ -1,51 +0,0 @@
<!doctype html>
<html class="default no-js">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>{{#ifCond model.name '==' project.name}}{{project.name}}{{else}}{{model.name}} | {{project.name}}{{/ifCond}}</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="{{relativeURL "assets/css/main.css"}}">
<link rel="shortcut icon" href="/img/favicon.ico" type="image/x-icon">
</head>
<body>
{{> header}}
<div class="container container-main">
<div class="row">
<div class="col-8 col-content">
{{{contents}}}
</div>
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
<nav class="tsd-navigation primary">
<ul>
{{#each navigation.children}}
{{> navigation}}
{{/each}}
</ul>
</nav>
<nav class="tsd-navigation secondary menu-sticky">
<ul class="before-current">
{{#each toc.children}}
{{> toc.root}}
{{/each}}
</ul>
</nav>
</div>
</div>
</div>
{{> footer}}
<div class="overlay"></div>
<script src="{{relativeURL "assets/js/main.js"}}"></script>
<script>if (location.protocol == 'file:') document.write('<script src="{{relativeURL "assets/js/search.js"}}"><' + '/script>');</script>
{{> analytics}}
</body>
</html>

View File

@ -1,11 +0,0 @@
{{#if settings.gaID}}
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', '{{settings.gaID}}', '{{settings.gaSite}}');
ga('send', 'pageview');
</script>
{{/if}}

View File

@ -1,16 +0,0 @@
{{#if parent}}
{{#with parent}}{{> breadcrumb}}{{/with}}
<li>
{{#if url}}
<a href="{{relativeURL url}}">{{name}}</a>
{{else}}
<span>{{name}}</span>
{{/if}}
</li>
{{else}}
{{#if url}}
<li>
<a href="{{relativeURL url}}">Globals</a>
</li>
{{/if}}
{{/if}}

View File

@ -1,22 +0,0 @@
{{#with comment}}
{{#if hasVisibleComponent}}
<div class="tsd-comment tsd-typography">
{{#if shortText}}
<div class="lead">
{{#markdown}}{{{shortText}}}{{/markdown}}
</div>
{{/if}}
{{#if text}}
{{#markdown}}{{{text}}}{{/markdown}}
{{/if}}
{{#if tags}}
<dl class="tsd-comment-tags">
{{#each tags}}
<dt>{{tagName}}</dt>
<dd>{{#markdown}}{{{text}}}{{/markdown}}</dd>
{{/each}}
</dl>
{{/if}}
</div>
{{/if}}
{{/with}}

View File

@ -1,68 +0,0 @@
<footer{{#unless settings.hideGenerator}} class="with-border-bottom"{{/unless}}>
<div class="container">
<h2>Legend</h2>
<div class="tsd-legend-group">
<ul class="tsd-legend">
<li class="tsd-kind-module"><span class="tsd-kind-icon">Module</span></li>
<li class="tsd-kind-object-literal"><span class="tsd-kind-icon">Object literal</span></li>
<li class="tsd-kind-variable"><span class="tsd-kind-icon">Variable</span></li>
<li class="tsd-kind-function"><span class="tsd-kind-icon">Function</span></li>
<li class="tsd-kind-function tsd-has-type-parameter"><span class="tsd-kind-icon">Function with type parameter</span></li>
<li class="tsd-kind-index-signature"><span class="tsd-kind-icon">Index signature</span></li>
<li class="tsd-kind-type-alias"><span class="tsd-kind-icon">Type alias</span></li>
<li class="tsd-kind-type-alias tsd-has-type-parameter"><span class="tsd-kind-icon">Type alias with type parameter</span></li>
</ul>
<ul class="tsd-legend">
<li class="tsd-kind-enum"><span class="tsd-kind-icon">Enumeration</span></li>
<li class="tsd-kind-enum-member"><span class="tsd-kind-icon">Enumeration member</span></li>
<li class="tsd-kind-property tsd-parent-kind-enum"><span class="tsd-kind-icon">Property</span></li>
<li class="tsd-kind-method tsd-parent-kind-enum"><span class="tsd-kind-icon">Method</span></li>
</ul>
<ul class="tsd-legend">
<li class="tsd-kind-interface"><span class="tsd-kind-icon">Interface</span></li>
<li class="tsd-kind-interface tsd-has-type-parameter"><span class="tsd-kind-icon">Interface with type parameter</span></li>
<li class="tsd-kind-constructor tsd-parent-kind-interface"><span class="tsd-kind-icon">Constructor</span></li>
<li class="tsd-kind-property tsd-parent-kind-interface"><span class="tsd-kind-icon">Property</span></li>
<li class="tsd-kind-method tsd-parent-kind-interface"><span class="tsd-kind-icon">Method</span></li>
<li class="tsd-kind-index-signature tsd-parent-kind-interface"><span class="tsd-kind-icon">Index signature</span></li>
</ul>
<ul class="tsd-legend">
<li class="tsd-kind-class"><span class="tsd-kind-icon">Class</span></li>
<li class="tsd-kind-class tsd-has-type-parameter"><span class="tsd-kind-icon">Class with type parameter</span></li>
<li class="tsd-kind-constructor tsd-parent-kind-class"><span class="tsd-kind-icon">Constructor</span></li>
<li class="tsd-kind-property tsd-parent-kind-class"><span class="tsd-kind-icon">Property</span></li>
<li class="tsd-kind-method tsd-parent-kind-class"><span class="tsd-kind-icon">Method</span></li>
<li class="tsd-kind-accessor tsd-parent-kind-class"><span class="tsd-kind-icon">Accessor</span></li>
<li class="tsd-kind-index-signature tsd-parent-kind-class"><span class="tsd-kind-icon">Index signature</span></li>
</ul>
<ul class="tsd-legend">
<li class="tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited constructor</span></li>
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited property</span></li>
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited method</span></li>
<li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited accessor</span></li>
</ul>
<ul class="tsd-legend">
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-protected"><span class="tsd-kind-icon">Protected property</span></li>
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-protected"><span class="tsd-kind-icon">Protected method</span></li>
<li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-protected"><span class="tsd-kind-icon">Protected accessor</span></li>
</ul>
<ul class="tsd-legend">
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private property</span></li>
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private method</span></li>
<li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private accessor</span></li>
</ul>
<ul class="tsd-legend">
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static property</span></li>
<li class="tsd-kind-call-signature tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static method</span></li>
</ul>
</div>
</div>
</footer>
{{#unless settings.hideGenerator}}
<div class="container tsd-generator">
<p>Generated using <a href="http://typedoc.org/" target="_blank">TypeDoc</a></p>
</div>
{{/unless}}

View File

@ -1,73 +0,0 @@
<header>
<div class="tsd-page-toolbar">
<div class="container">
<div class="table-wrap">
<div class="table-cell" id="tsd-search" data-index="{{relativeURL "assets/js/search.js"}}" data-base="{{relativeURL "./"}}">
<div class="field">
<label for="tsd-search-field" class="tsd-widget search no-caption">Search</label>
<input id="tsd-search-field" type="text" />
</div>
<ul class="results">
<li class="state loading">Preparing search index...</li>
<li class="state failure">The search index is not available</li>
</ul>
<a style="position: absolute" href="/docs/reference-docs/openvidu-browser/" class="title">
<img class="logo-small" style="height: 26px; margin-top: 7px" src="/img/logos/openvidu_vert_grey_bg_transp_cropped.png">
</a>
</div>
<div class="table-cell" id="tsd-widgets">
<div id="tsd-filter">
<a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a>
<div class="tsd-filter-group">
<div class="tsd-select" id="tsd-filter-visibility">
<span class="tsd-select-label">All</span>
<ul class="tsd-select-list">
<li data-value="public">Public</li>
<li data-value="protected">Public/Protected</li>
<li data-value="private" class="selected">All</li>
</ul>
</div>
<input type="checkbox" id="tsd-filter-inherited" checked />
<label class="tsd-widget" for="tsd-filter-inherited">Inherited</label>
{{#unless settings.excludeExternals}}
<input type="checkbox" id="tsd-filter-externals" checked />
<label class="tsd-widget" for="tsd-filter-externals">Externals</label>
{{/unless}}
{{#unless settings.excludeNotExported}}
<input type="checkbox" id="tsd-filter-only-exported" />
<label class="tsd-widget" for="tsd-filter-only-exported">Only exported</label>
{{/unless}}
</div>
</div>
<a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a>
</div>
</div>
</div>
</div>
<div class="tsd-page-title">
<div class="container">
<ul class="tsd-breadcrumb">
{{#with model}}{{> breadcrumb}}{{/with}}
</ul>
<h1>{{#compact}}
{{model.kindString}}&nbsp;
{{model.name}}
{{#if model.typeParameters}}
&lt;
{{#each model.typeParameters}}
{{#if @index}},&nbsp;{{/if}}
{{name}}
{{/each}}
&gt;
{{/if}}
{{/compact}}</h1>
</div>
</div>
</header>

View File

@ -1,17 +0,0 @@
<ul class="tsd-hierarchy">
{{#each types}}
<li>
{{#if ../isTarget}}
<span class="target">{{this}}</span>
{{else}}
{{> type}}
{{/if}}
{{#if @last}}
{{#with ../next}}
{{> hierarchy}}
{{/with}}
{{/if}}
</li>
{{/each}}
</ul>

View File

@ -1,19 +0,0 @@
{{#if groups}}
<section class="tsd-panel-group tsd-index-group">
<h2>Index</h2>
<section class="tsd-panel tsd-index-panel">
<div class="tsd-index-content">
{{#each groups}}
<section class="tsd-index-section {{cssClasses}}">
<h3>{{title}}</h3>
<ul class="tsd-index-list">
{{#each children}}
<li class="{{cssClasses}}"><a href="{{relativeURL url}}" class="tsd-kind-icon">{{#if name}}{{{wbr name}}}{{else}}<em>{{{wbr kindString}}}</em>{{/if}}</a></li>
{{/each}}
</ul>
</section>
{{/each}}
</div>
</section>
</section>
{{/if}}

View File

@ -1,36 +0,0 @@
<div class="tsd-signature tsd-kind-icon">{{#compact}}
{{{wbr name}}}
{{#if typeParameters}}
&lt;
{{#each typeParameters}}
{{#if @index}},&nbsp;{{/if}}
{{name}}
{{/each}}
&gt;
{{/if}}
<span class="tsd-signature-symbol">{{#if isOptional}}?{{/if}}:</span>&nbsp;{{#with type}}{{>type}}{{/with}}
{{#if defaultValue}}
<span class="tsd-signature-symbol">
&nbsp;=&nbsp;
{{defaultValue}}
</span>
{{/if}}
{{/compact}}</div>
{{> member.sources}}
{{> comment}}
{{#if typeParameters}}
<h4 class="tsd-type-parameters-title">Type parameters</h4>
{{> typeParameters}}
{{/if}}
{{#if type.declaration}}
<div class="tsd-type-declaration">
<h4>Type declaration</h4>
{{#with type.declaration}}
{{> parameter}}
{{/with}}
</div>
{{/if}}

View File

@ -1,37 +0,0 @@
<ul class="tsd-signatures {{cssClasses}}">
{{#if getSignature}}
{{#with getSignature}}
<li class="tsd-signature tsd-kind-icon">{{#compact}}
<span class="tsd-signature-symbol">get</span>&nbsp;
{{../name}}
{{> member.signature.title hideName=true }}
{{/compact}}</li>
{{/with}}
{{/if}}
{{#if setSignature}}
{{#with setSignature}}
<li class="tsd-signature tsd-kind-icon">{{#compact}}
<span class="tsd-signature-symbol">set</span>&nbsp;
{{../name}}
{{> member.signature.title hideName=true }}
{{/compact}}</li>
{{/with}}
{{/if}}
</ul>
<ul class="tsd-descriptions">
{{#if getSignature}}
{{#with getSignature}}
<li class="tsd-description">
{{> member.signature.body }}
</li>
{{/with}}
{{/if}}
{{#if setSignature}}
{{#with setSignature}}
<li class="tsd-description">
{{> member.signature.body }}
</li>
{{/with}}
{{/if}}
</ul>

View File

@ -1,22 +0,0 @@
<section class="tsd-panel tsd-member {{cssClasses}}">
<a name="{{anchor}}" class="tsd-anchor"></a>
{{#if name}}
<h3>{{#each flags}}<span class="tsd-flag ts-flag{{this}}">{{this}}</span> {{/each}}{{{wbr name}}}</h3>
{{/if}}
{{#if signatures}}
{{> member.signatures}}
{{else}}{{#if hasGetterOrSetter}}
{{> member.getterSetter}}
{{else}}
{{> member.declaration}}
{{/if}}{{/if}}
{{#each groups}}
{{#each children}}
{{#unless hasOwnDocument}}
{{> member}}
{{/unless}}
{{/each}}
{{/each}}
</section>

View File

@ -1,56 +0,0 @@
{{#unless hideSources}}
{{> member.sources}}
{{/unless}}
{{> comment}}
{{#if typeParameters}}
<h4 class="tsd-type-parameters-title">Type parameters</h4>
{{> typeParameters}}
{{/if}}
{{#if parameters}}
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameters">
{{#each parameters}}
<li>
<h5>{{#compact}}
{{#each flags}}
<span class="tsd-flag ts-flag{{this}}">{{this}}</span>&nbsp;
{{/each}}
{{#if flags.isRest}}<span class="tsd-signature-symbol">...</span>{{/if}}
{{name}}:&nbsp;
{{#with type}}{{>type}}{{/with}}
{{#if defaultValue}}
<span class="tsd-signature-symbol">
&nbsp;=&nbsp;
{{defaultValue}}
</span>
{{/if}}
{{/compact}}</h5>
{{> comment}}
{{#if type.declaration}}
{{#with type.declaration}}
{{> parameter}}
{{/with}}
{{/if}}
</li>
{{/each}}
</ul>
{{/if}}
{{#if type}}
<h4 class="tsd-returns-title">Returns {{#with type}}{{>type}}{{/with}}</h4>
{{#if comment.returns}}
{{#markdown}}{{{comment.returns}}}{{/markdown}}
{{/if}}
{{#if type.declaration}}
{{#with type.declaration}}
{{> parameter}}
{{/with}}
{{/if}}
{{/if}}

View File

@ -1,28 +0,0 @@
{{#compact}}
{{#unless hideName}}{{{wbr name}}}{{/unless}}
{{#if typeParameters}}
&lt;
{{#each typeParameters}}
{{#if @index}},&nbsp;{{/if}}
{{name}}
{{/each}}
&gt;
{{/if}}
<span class="tsd-signature-symbol">(</span>
{{#each parameters}}
{{#if @index}},&nbsp;{{/if}}
{{#if flags.isRest}}<span class="tsd-signature-symbol">...</span>{{/if}}
{{name}}
<span class="tsd-signature-symbol">
{{#if flags.isOptional}}?{{/if}}
{{#if defaultValue}}?{{/if}}
:&nbsp;
</span>
{{#with type}}{{>type}}{{/with}}
{{/each}}
<span class="tsd-signature-symbol">)</span>
{{#if type}}
<span class="tsd-signature-symbol">:&nbsp;</span>
{{#with type}}{{>type}}{{/with}}
{{/if}}
{{/compact}}

View File

@ -1,13 +0,0 @@
<ul class="tsd-signatures {{cssClasses}}">
{{#each signatures}}
<li class="tsd-signature tsd-kind-icon">{{> member.signature.title }}</li>
{{/each}}
</ul>
<ul class="tsd-descriptions">
{{#each signatures}}
<li class="tsd-description">
{{> member.signature.body }}
</li>
{{/each}}
</ul>

View File

@ -1,22 +0,0 @@
<aside class="tsd-sources">
{{#if implementationOf}}
<p>Implementation of {{#with implementationOf}}{{> typeAndParent}}{{/with}}</p>
{{/if}}
{{#if inheritedFrom}}
<p>Inherited from {{#with inheritedFrom}}{{> typeAndParent}}{{/with}}</p>
{{/if}}
{{#if overwrites}}
<p>Overrides {{#with overwrites}}{{> typeAndParent}}{{/with}}</p>
{{/if}}
{{#if sources}}
<ul>
{{#each sources}}
{{#if url}}
<li>Defined in <a href="{{url}}">{{fileName}}:{{line}}</a></li>
{{else}}
<li>Defined in {{fileName}}:{{line}}</li>
{{/if}}
{{/each}}
</ul>
{{/if}}
</aside>

View File

@ -1,8 +0,0 @@
<section class="tsd-panel-group tsd-member-group {{cssClasses}}">
<h2>{{title}}</h2>
{{#each children}}
{{#unless hasOwnDocument}}
{{> member}}
{{/unless}}
{{/each}}
</section>

View File

@ -1,5 +0,0 @@
{{#each groups}}
{{#unless allChildrenHaveOwnDocument}}
{{> members.group}}
{{/unless}}
{{/each}}

View File

@ -1,26 +0,0 @@
{{#if isVisible}}
{{#if isLabel}}
<li class="label {{cssClasses}}">
<span>{{{wbr title}}}</span>
</li>
{{else}}
{{#if isGlobals}}
<li class="globals {{#if isInPath}}current{{/if}} {{cssClasses}}">
<a href="{{relativeURL url}}"><em>{{{wbr title}}}</em></a>
</li>
{{else}}
<li class="{{#if isInPath}}current{{/if}} {{cssClasses}}">
<a href="{{relativeURL url}}">{{{wbr title}}}</a>
{{#if isInPath}}
{{#if children}}
<ul>
{{#each children}}
{{> navigation}}
{{/each}}
</ul>
{{/if}}
{{/if}}
</li>
{{/if}}
{{/if}}
{{/if}}

View File

@ -1,81 +0,0 @@
<ul class="tsd-parameters">
{{#if signatures}}
<li class="tsd-parameter-siganture">
<ul class="tsd-signatures {{cssClasses}}">
{{#each signatures}}
<li class="tsd-signature tsd-kind-icon">{{> member.signature.title hideName=true }}</li>
{{/each}}
</ul>
<ul class="tsd-descriptions">
{{#each signatures}}
<li class="tsd-description">{{> member.signature.body hideSources=true }}</li>
{{/each}}
</ul>
</li>
{{/if}}
{{#if indexSignature}}
<li class="tsd-parameter-index-signature">
<h5>{{#compact}}
<span class="tsd-signature-symbol">[</span>
{{#each indexSignature.parameters}}
{{#if flags.isRest}}<span class="tsd-signature-symbol">...</span>{{/if}}{{name}}:&nbsp;{{#with type}}{{>type}}{{/with}}
{{/each}}
<span class="tsd-signature-symbol">]:&nbsp;</span>
{{#with indexSignature.type}}{{>type}}{{/with}}
{{/compact}}</h5>
{{#with indexSignature}}
{{> comment}}
{{/with}}
{{#if indexSignature.type.declaration}}
{{#with indexSignature.type.declaration}}
{{> parameter}}
{{/with}}
{{/if}}
</li>
{{/if}}
{{#each children}}
<li class="tsd-parameter">
{{#if signatures}}
<h5>{{#compact}}
{{#if flags.isRest}}<span class="tsd-signature-symbol">...</span>{{/if}}
{{{wbr name}}}
<span class="tsd-signature-symbol">
{{#if isOptional}}?{{/if}}
:&nbsp;
</span>
function
{{/compact}}</h5>
{{> member.signatures}}
{{else}}
<h5>{{#compact}}
{{#each flags}}
<span class="tsd-flag ts-flag{{this}}">{{this}}</span>&nbsp;
{{/each}}
{{#if flags.isRest}}<span class="tsd-signature-symbol">...</span>{{/if}}
{{{wbr name}}}
<span class="tsd-signature-symbol">
{{#if flags.isOptional}}?{{/if}}
:&nbsp;
</span>
{{#with type}}{{>type}}{{/with}}
{{/compact}}</h5>
{{> comment}}
{{#if children}}
{{> parameter}}
{{/if}}
{{#if type.declaration}}
{{#with type.declaration}}
{{> parameter}}
{{/with}}
{{/if}}
{{/if}}
</li>
{{/each}}
</ul>

View File

@ -1,10 +0,0 @@
<li class="{{#if isInPath}}current{{/if}} {{cssClasses}}">
<a href="{{relativeURL url}}" class="tsd-kind-icon">{{{wbr title}}}</a>
{{#if children}}
<ul>
{{#each children}}
{{> toc}}
{{/each}}
</ul>
{{/if}}
</li>

View File

@ -1,18 +0,0 @@
{{#if isInPath}}
</ul>
<ul class="current">
{{/if}}
<li class="{{#if isInPath}}current{{/if}} {{cssClasses}}">
<a href="{{relativeURL url}}" class="tsd-kind-icon">{{{wbr title}}}</a>
{{#if children}}
<ul>
{{#each children}}
{{> toc}}
{{/each}}
</ul>
{{/if}}
</li>
{{#if isInPath}}
</ul>
<ul class="after-current">
{{/if}}

View File

@ -1,83 +0,0 @@
{{#if this}}
{{#if reflection}}
{{#compact}}
<a href="{{relativeURL reflection.url}}" class="tsd-signature-type">
{{reflection.name}}
</a>
{{#if typeArguments}}
<span class="tsd-signature-symbol">&lt;</span>
{{#each typeArguments}}
{{#if @index}}
<span class="tsd-signature-symbol">, </span>
{{/if}}{{> type}}
{{/each}}
<span class="tsd-signature-symbol">&gt;</span>
{{/if}}
{{/compact}}
{{else}}
{{#if elementType}}
{{#with elementType}}
{{#compact}}
{{#if types}}
<span class="tsd-signature-symbol">(</span>
{{/if}}
{{> type}}
{{#if types}}
<span class="tsd-signature-symbol">)</span>
{{/if}}<span class="tsd-signature-symbol">[]</span>
{{/compact}}
{{/with}}
{{else}}
{{#if types}}
{{#each types}}
{{#if @index}}
<span class="tsd-signature-symbol"> {{#ifCond ../type '==' 'intersection'}}&amp;{{else}}|{{/ifCond}} </span>
{{/if}}{{> type}}
{{/each}}
{{else}}
{{#if elements}}
{{#compact}}
<span class="tsd-signature-symbol">[</span>
{{#each elements}}
{{#if @index}}
<span class="tsd-signature-symbol">, </span>
{{/if}}{{> type}}
{{/each}}
<span class="tsd-signature-symbol">]</span>
{{/compact}}
{{else}}
{{#compact}}
<span class="tsd-signature-type">
{{#if name}}
{{name}}
{{else}}
{{#if value}}
"{{value}}"
{{else}}
{{this}}
{{/if}}
{{/if}}
</span>
{{#if typeArguments}}
<span class="tsd-signature-symbol">&lt;</span>
{{#each typeArguments}}
{{#if @index}}
<span class="tsd-signature-symbol">, </span>
{{/if}}{{> type}}
{{/each}}
<span class="tsd-signature-symbol">&gt;</span>
{{/if}}
{{/compact}}
{{/if}}
{{/if}}
{{/if}}
{{/if}}
{{else}}
<span class="tsd-signature-type">void</span>
{{/if}}

View File

@ -1,42 +0,0 @@
{{#compact}}
{{#if this}}
{{#if elementType}}
{{#with elementType}}
{{> typeAndParent}}
{{/with}}
[]
{{else}}
{{#if reflection}}
{{#ifSignature reflection}}
{{#if reflection.parent.parent.url}}
<a href="{{relativeURL reflection.parent.parent.url}}">{{reflection.parent.parent.name}}</a>
{{else}}
{{reflection.parent.parent.name}}
{{/if}}
.
{{#if reflection.parent.url}}
<a href="{{relativeURL reflection.parent.url}}">{{reflection.parent.name}}</a>
{{else}}
{{reflection.parent.name}}
{{/if}}
{{else}}
{{#if reflection.parent.url}}
<a href="{{relativeURL reflection.parent.url}}">{{reflection.parent.name}}</a>
{{else}}
{{reflection.parent.name}}
{{/if}}
.
{{#if reflection.url}}
<a href="{{relativeURL reflection.url}}">{{reflection.name}}</a>
{{else}}
{{reflection.name}}
{{/if}}
{{/ifSignature}}
{{else}}
{{this}}
{{/if}}
{{/if}}
{{else}}
void
{{/if}}
{{/compact}}

View File

@ -1,14 +0,0 @@
<ul class="tsd-type-parameters">
{{#each typeParameters}}
<li>
<h4>{{#compact}}
{{name}}
{{#if type}}
<span class="tsd-signature-symbol">:&nbsp;</span>
{{#with type}}{{> type}}{{/with}}
{{/if}}
{{/compact}}</h4>
{{> comment}}
</li>
{{/each}}
</ul>

View File

@ -1,3 +0,0 @@
<div class="tsd-panel tsd-typography">
{{#markdown}}{{{model.readme}}}{{/markdown}}
</div>

View File

@ -1,79 +0,0 @@
{{#with model}}
{{#if hasComment}}
<section class="tsd-panel tsd-comment">
{{> comment}}
</section>
{{/if}}
{{/with}}
{{#if model.typeParameters}}
<section class="tsd-panel tsd-type-parameters">
<h3>Type parameters</h3>
{{#with model}}{{> typeParameters}}{{/with}}
</section>
{{/if}}
{{#if model.typeHierarchy}}
<section class="tsd-panel tsd-hierarchy">
<h3>Hierarchy</h3>
{{#with model.typeHierarchy}}{{> hierarchy}}{{/with}}
</section>
{{/if}}
{{#if model.implementedTypes}}
<section class="tsd-panel">
<h3>Implements</h3>
<ul class="tsd-hierarchy">
{{#each model.implementedTypes}}
<li>{{> type}}</li>
{{/each}}
</ul>
</section>
{{/if}}
{{#if model.implementedBy}}
<section class="tsd-panel">
<h3>Implemented by</h3>
<ul class="tsd-hierarchy">
{{#each model.implementedBy}}
<li>{{> type}}</li>
{{/each}}
</ul>
</section>
{{/if}}
{{#if model.signatures}}
<section class="tsd-panel">
<h3 class="tsd-before-signature">Callable</h3>
{{#with model}}{{> member.signatures}}{{/with}}
</section>
{{/if}}
{{#if model.indexSignature}}
<section class="tsd-panel {{model.cssClasses}}">
<h3 class="tsd-before-signature">Indexable</h3>
<div class="tsd-signature tsd-kind-icon">{{#compact}}
<span class="tsd-signature-symbol">[</span>
{{#each model.indexSignature.parameters}}
{{name}}:&nbsp;{{#with type}}{{>type}}{{/with}}
{{/each}}
<span class="tsd-signature-symbol">]:&nbsp;</span>
{{#with model.indexSignature.type}}{{>type}}{{/with}}
{{/compact}}</div>
{{#with model.indexSignature}}
{{> comment}}
{{/with}}
{{#if model.indexSignature.type.declaration}}
{{#with model.indexSignature.type.declaration}}
{{> parameter}}
{{/with}}
{{/if}}
</section>
{{/if}}
{{#with model}}
{{> index}}
{{> members}}
{{/with}}

View File

@ -347,6 +347,14 @@
"postcss": "~4.1.12"
}
},
"backbone": {
"version": "1.4.0",
"resolved": "https://registry.npmjs.org/backbone/-/backbone-1.4.0.tgz",
"integrity": "sha512-RLmDrRXkVdouTg38jcgHhyQ/2zjg7a8E6sz2zxfz21Hh17xDJYUHBZimVIt5fUyS8vbfpeSmTL3gUjTEvUV3qQ==",
"requires": {
"underscore": ">=1.8.3"
}
},
"balanced-match": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz",
@ -3118,6 +3126,11 @@
"integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=",
"dev": true
},
"jquery": {
"version": "3.4.0",
"resolved": "https://registry.npmjs.org/jquery/-/jquery-3.4.0.tgz",
"integrity": "sha512-ggRCXln9zEqv6OqAGXFEcshF5dSBvCkzj6Gm2gzuR5fWawaX8t7cxKVkkygKODrDAzKdoYw3l/e3pm3vlT4IbQ=="
},
"js-base64": {
"version": "2.1.9",
"resolved": "https://registry.npmjs.org/js-base64/-/js-base64-2.1.9.tgz",
@ -3278,6 +3291,11 @@
"integrity": "sha1-bUUk6LlV+V1PW1iFHOId1y+06VI=",
"dev": true
},
"lunr": {
"version": "2.3.6",
"resolved": "https://registry.npmjs.org/lunr/-/lunr-2.3.6.tgz",
"integrity": "sha512-swStvEyDqQ85MGpABCMBclZcLI/pBIlu8FFDtmX197+oEgKloJ67QnB+Tidh0340HmLMs39c4GrkPY3cmkXp6Q=="
},
"make-iterator": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/make-iterator/-/make-iterator-1.0.1.tgz",
@ -4865,6 +4883,12 @@
"typescript": "3.2.x"
},
"dependencies": {
"typedoc-default-themes": {
"version": "0.5.0",
"resolved": "https://registry.npmjs.org/typedoc-default-themes/-/typedoc-default-themes-0.5.0.tgz",
"integrity": "sha1-bcJDPnjti+qOiHo6zeLzF4W9Yic=",
"dev": true
},
"typescript": {
"version": "3.2.4",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-3.2.4.tgz",
@ -4874,10 +4898,14 @@
}
},
"typedoc-default-themes": {
"version": "0.5.0",
"resolved": "https://registry.npmjs.org/typedoc-default-themes/-/typedoc-default-themes-0.5.0.tgz",
"integrity": "sha1-bcJDPnjti+qOiHo6zeLzF4W9Yic=",
"dev": true
"version": "file:../../../../Desktop/typedoc-default-themes/typedoc-default-themes-0.6.0-0.tgz",
"integrity": "sha512-VLvgZLRBt5d4GmM2oi02E/7cYOEBjzixCMw4nCmf8Cu16z8lGI0VWNE1YCetgZQwESXn9UQUEu60Kp14OzdDWw==",
"requires": {
"backbone": "^1.1.2",
"jquery": "^3.3.1",
"lunr": "^2.3.6",
"underscore": "^1.9.1"
}
},
"typescript": {
"version": "3.4.4",
@ -4928,6 +4956,11 @@
"xtend": "^4.0.1"
}
},
"underscore": {
"version": "1.9.1",
"resolved": "https://registry.npmjs.org/underscore/-/underscore-1.9.1.tgz",
"integrity": "sha512-5/4etnCkd9c8gwgowi5/om/mYO5ajCaOgdzj/oW+0eQV9WxKBDZw5+ycmKmeaTXjInS/W0BzpGLo2xR2aBwZdg=="
},
"underscore.string": {
"version": "3.3.5",
"resolved": "https://registry.npmjs.org/underscore.string/-/underscore.string-3.3.5.tgz",

View File

@ -38,7 +38,7 @@
"browserify": "VERSION=${VERSION:-}; cd src && ../node_modules/browserify/bin/cmd.js Main.ts -p [ tsify ] --exclude kurento-browser-extensions --debug -o ../static/js/openvidu-browser-$VERSION.js -v",
"browserify-prod": "VERSION=${VERSION:-}; cd src && ../node_modules/browserify/bin/cmd.js --debug Main.ts -p [ tsify ] --exclude kurento-browser-extensions | ../node_modules/uglify-js/bin/uglifyjs --source-map content=inline --output ../static/js/openvidu-browser-$VERSION.min.js",
"build": "cd src/OpenVidu && ./../../node_modules/typescript/bin/tsc && cd ../.. && ./node_modules/typescript/bin/tsc --declaration src/index.ts --outDir ./lib --sourceMap --lib dom,es5,es2015.promise,scripthost",
"docs": "./node_modules/grunt/bin/grunt --gruntfile config/typedoc/custom-theme/gruntfile.js && ./node_modules/typedoc/bin/typedoc --options ./config/typedoc/typedoc.js --out ./docs ./src && rm -rf ../../openvidu.io/api/openvidu-browser/* && cp -R ./docs/. ../../openvidu.io/api/openvidu-browser",
"docs": "./node_modules/typedoc/bin/typedoc --options ./config/typedoc.js --out ./docs ./src && rm -rf ../../openvidu.io/api/openvidu-browser/* && cp -R ./docs/. ../../openvidu.io/api/openvidu-browser",
"test": "echo \"Error: no test specified\" && exit 1"
},
"types": "lib/index.d.ts",

View File

@ -1,6 +1,5 @@
import { OpenVidu } from './OpenVidu/OpenVidu';
if (window) {
// tslint:disable-next-line:no-string-literal
window['OpenVidu'] = OpenVidu;
}

View File

@ -33,6 +33,9 @@ import RpcBuilder = require('../OpenViduInternal/KurentoUtils/kurento-jsonrpc');
import platform = require('platform');
platform['isIonicIos'] = (platform.product === 'iPhone' || platform.product === 'iPad') && platform.ua!!.indexOf('Safari') === -1;
/**
* @hidden
*/
const packageJson = require('../../package.json');
/**

View File

@ -12,6 +12,6 @@ module.exports = {
externalPattern: "node_modules",
excludeExternals: true,
excludePrivate: true,
theme: "./config/typedoc/custom-theme/bin",
theme: "default",
readme: "none"
}

View File

@ -1,39 +0,0 @@
// Fonts
//
$FONT_FAMILY: 'Segoe UI', sans-serif
$FONT_FAMILY_MONO: Menlo, Monaco, Consolas, 'Courier New', monospace
$FONT_SIZE: 16px
$FONT_SIZE_MONO: 14px
$LINE_HEIGHT: 1.333em
// Colors
//
$COLOR_BACKGROUND: #fdfdfd
$COLOR_TEXT: #222
$COLOR_TEXT_ASIDE: #808080
$COLOR_LINK: #4da6ff
$COLOR_MENU_DIVIDER: #eee
$COLOR_MENU_DIVIDER_FOCUS: #000
$COLOR_MENU_LABEL: #808080
$COLOR_PANEL: #fff
$COLOR_PANEL_DIVIDER: #eee
$COLOR_COMMENT_TAG: #808080
$COLOR_COMMENT_TAG_TEXT: #fff
$COLOR_CODE_BACKGROUND: rgba(#000, 0.04)
$COLOR_TS: #9600ff
$COLOR_TS_INTERFACE: #7da01f
$COLOR_TS_ENUM: #cc9900
$COLOR_TS_CLASS: #4da6ff
$COLOR_TS_PRIVATE: #808080
$TOOLBAR_COLOR: #fff
$TOOLBAR_TEXT_COLOR: #333
$TOOLBAR_HEIGHT: 40px

View File

@ -1,53 +0,0 @@
// Displays all regular comment tags
//
// <dl class="tsd-comment-tags">
// <dt>see</dt>
// <dd><p><a href="#">Dispatcher.EVENT_BEGIN</a></p></dd>
// <dt>see</dt>
// <dd><p><a href="#">Dispatcher.EVENT_BEGIN_RESOLVE</a></p></dd>
// <dt>see</dt>
// <dd><p><a href="#">Dispatcher.EVENT_END_RESOLVE</a></p></dd>
// </dl>
//
dl.tsd-comment-tags
overflow: hidden
dt
float: left
padding: 1px 5px
margin: 0 10px 0 0
border-radius: 4px
border: 1px solid $COLOR_COMMENT_TAG
color: $COLOR_COMMENT_TAG
font-size: 0.8em
font-weight: normal
dd
margin: 0 0 10px 0
&:before, &:after
display: table
content: " "
pre, &:after
clear: both
p
margin: 0
// Special formatting for the main reflection on each page.
//
// <section class="tsd-panel tsd-comment">
// <div class="tsd-comment tsd-typography">
// <div class="lead"><p>The default TypeDoc main application class.</p></div>
// <p>This class holds the two main components of TypeDoc, the Dispatcher and the Renderer.</p>
// </div>
// </section>
//
.tsd-panel.tsd-comment .lead
font-size: 1.1em
line-height: $LINE_HEIGHT
margin-bottom: 2em
&:last-child
margin-bottom: 0

View File

@ -1,65 +0,0 @@
// Classes set on the body to control the visible state of the filtered elements
//
.toggle-protected .tsd-is-private
display: none
.toggle-public .tsd-is-private,
.toggle-public .tsd-is-protected,
.toggle-public .tsd-is-private-protected
display: none
.toggle-inherited .tsd-is-inherited
display: none
.toggle-only-exported .tsd-is-not-exported
display: none
.toggle-externals .tsd-is-external
display: none
// Filter Buttons in the toolbar
//
#tsd-filter
position: relative
display: inline-block
height: $TOOLBAR_HEIGHT
vertical-align: bottom
.no-filter &
display: none
.tsd-filter-group
display: inline-block
height: $TOOLBAR_HEIGHT
vertical-align: bottom
white-space: nowrap
input
display: none
+size-xs-sm
.tsd-filter-group
display: block
position: absolute
top: $TOOLBAR_HEIGHT
right: 20px
height: auto
background-color: $COLOR_PANEL
visibility: hidden
transform: translate(50%,0)
box-shadow: 0 0 4px rgba(#000, 0.25)
.has-options &
visibility: visible
.to-has-options &
animation: fade-in 0.2s
.from-has-options &
animation: fade-out 0.2s
label,
.tsd-select
display: block
padding-right: 20px

View File

@ -1,21 +0,0 @@
footer
border-top: 1px solid $COLOR_PANEL_DIVIDER
background-color: $COLOR_PANEL
&.with-border-bottom
border-bottom: 1px solid $COLOR_PANEL_DIVIDER
.tsd-legend-group
font-size: 0
.tsd-legend
display: inline-block
width: 25%
padding: 0
font-size: $FONT_SIZE
list-style: none
line-height: $LINE_HEIGHT
vertical-align: top
+size-xs-sm
width: 50%

View File

@ -1,24 +0,0 @@
// Displays the type hierarchy
//
// <ul class="tsd-hierarchy">
// <li>
// <a href="#" class="tsd-signature-type">Event</a>
// <ul class="tsd-hierarchy">
// <li>
// <span class="target">DispatcherEvent</span>
// <ul class="tsd-hierarchy">
// <li><a href="#" class="tsd-signature-type">BaseState</a></li>
// <li><a href="#" class="tsd-signature-type">ReflectionEvent</a></li>
// </ul>
// </li>
// </ul>
// </li>
// </ul>
//
.tsd-hierarchy
list-style: square
padding: 0 0 0 20px
margin: 0
.target
font-weight: bold

View File

@ -1,3 +0,0 @@
// fixes issue with images in readme
img
max-width: 100%

View File

@ -1,80 +0,0 @@
// Displays an index of grouped links.
//
// <section class="tsd-panel tsd-index-panel">
// <div class="tsd-index-content">
// <div class="tsd-index-section">
// <h3>Constructor methods</h3>
// <ul class="tsd-member-index">
// <li class="tsd-kind-constructor-method tsd-parent-kind-class"><a href="#" class="tsd-kind-icon">constructor</a></li>
// </ul>
// </div>
// <div class="tsd-index-section">
// <h3>Properties</h3>
// <ul class="tsd-member-index">
// <li class="tsd-kind-property tsd-parent-kind-class"><a href="#" class="tsd-kind-icon">EVENT_<wbr>BEGIN</a></li>
// <li class="tsd-kind-property tsd-parent-kind-class"><a href="#" class="tsd-kind-icon">EVENT_<wbr>BEGIN_<wbr>DECLARATION</a></li>
// <li class="tsd-kind-property tsd-parent-kind-class"><a href="#" class="tsd-kind-icon">EVENT_<wbr>BEGIN_<wbr>DOCUMENT</a></li>
// <li class="tsd-kind-property tsd-parent-kind-class"><a href="#" class="tsd-kind-icon">EVENT_<wbr>BEGIN_<wbr>RESOLVE</a></li>
// </ul>
// </div>
// </div>
// </section>
//
.tsd-index-panel
.tsd-index-content
margin-bottom: -30px !important
.tsd-index-section
margin-bottom: 30px !important
h3
@extend h4
margin: 0 -20px 10px -20px
padding: 0 20px 10px 20px
border-bottom: 1px solid $COLOR_PANEL_DIVIDER
ul.tsd-index-list
+vendors(column-count, 3)
+vendors(column-gap, 20px)
padding: 0
list-style: none
line-height: $LINE_HEIGHT
+size-xs-sm
+vendors(column-count, 1)
+size-md
+vendors(column-count, 2)
li
+vendors(column-break-inside, avoid)
+vendors(page-break-inside, avoid)
a,
.tsd-parent-kind-module a
color: $COLOR_TS
.tsd-parent-kind-interface a
color: $COLOR_TS_INTERFACE
.tsd-parent-kind-enum a
color: $COLOR_TS_ENUM
.tsd-parent-kind-class a
color: $COLOR_TS_CLASS
.tsd-kind-module a
color: $COLOR_TS
.tsd-kind-interface a
color: $COLOR_TS_INTERFACE
.tsd-kind-enum a
color: $COLOR_TS_ENUM
.tsd-kind-class a
color: $COLOR_TS_CLASS
.tsd-is-private a
color: $COLOR_TS_PRIVATE

View File

@ -1,21 +0,0 @@
.tsd-flag
display: inline-block
padding: 1px 5px
border-radius: 4px
color: $COLOR_COMMENT_TAG_TEXT
background-color: $COLOR_COMMENT_TAG
text-indent: 0
font-size: $FONT_SIZE_MONO
font-weight: normal
.tsd-anchor
position: absolute
top: -100px
.tsd-member
position: relative
.tsd-anchor + h3
margin-top: 0
margin-bottom: 0
border-bottom: none

View File

@ -1,162 +0,0 @@
// Base format for the navigation parts.
//
=INDENT($DEPTH, $BASE, $STEP, $PROGRESS:$DEPTH)
@if $PROGRESS > 0
& li
+INDENT($DEPTH, $BASE, $STEP, $PROGRESS - 1)
@else
& a
padding-left: #{($BASE + $STEP * ($DEPTH - 1))}px
=INDENTS($COUNT, $BASE, $STEP)
@for $DEPTH from 1 through $COUNT
+INDENT($DEPTH, $BASE, $STEP)
.tsd-navigation
padding: 0 0 0 40px
a
display: block
padding-top: 2px
padding-bottom: 2px
border-left: 2px solid transparent
color: $COLOR_TEXT
text-decoration: none
transition: border-left-color 0.1s
&:hover
text-decoration: underline
ul
margin: 0
padding: 0
list-style: none
li
padding: 0
// Primary part of the navigation containing the available modules.
//
// <nav class="tsd-navigation primary">
// <ul>
// <li class="globals"><a href="#"><em>Globals</em></a></li>
// <li class="current tsd-kind-container">
// <a href="#">TypeDoc</a>
// <ul>
// <li class="tsd-kind-container tsd-parent-kind-container"><a href="#">Factories</a></li>
// <li class="tsd-kind-container tsd-parent-kind-container"><a href="#">Models</a></li>
// <li class="current tsd-kind-container tsd-parent-kind-container"><a href="#">Output</a></li>
// </ul>
// </li>
// </ul>
// </nav>
//
.tsd-navigation.primary
padding-bottom: 40px
a
display: block
padding-top: 6px
padding-bottom: 6px
ul
+INDENTS(6, 5, 20)
> ul
border-bottom: 1px solid $COLOR_PANEL_DIVIDER
li
border-top: 1px solid $COLOR_PANEL_DIVIDER
&.current > a
font-weight: bold
&.label span
display: block
padding: 20px 0 6px 5px
color: $COLOR_MENU_LABEL
&.globals + li > span,
&.globals + li > a
padding-top: 20px
// Secondary part of the navigation containing the table of contents
// of the current module.
// Can be made sticky by `typedoc.MenuSticky` and will highlight current sticky with `typedoc.MenuHighlight`.
//
// <nav class="tsd-navigation secondary">
// <ul class="before-current">
// <li class="tsd-kind-class tsd-parent-kind-container"><a href="#" class="tsd-kind-icon">AssetsPlugin</a></li>
// <li class="tsd-kind-class tsd-parent-kind-container"><a href="#" class="tsd-kind-icon">BasePlugin</a></li>
// <li class="tsd-kind-class tsd-parent-kind-container"><a href="#" class="tsd-kind-icon">BaseTheme</a></li>
// </ul>
// <ul class="current">
// <li class="current tsd-kind-class tsd-parent-kind-container">
// <a href="#" class="tsd-kind-icon">OutputEvent</a>
// <ul>
// <li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="#" class="tsd-kind-icon">isDefaultPrevented</a></li>
// <li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="#" class="tsd-kind-icon">isPropagationStopped</a></li>
// <li class="tsd-kind-property tsd-parent-kind-class"><a href="#" class="tsd-kind-icon">outputDirectory</a></li>
// <li class="tsd-kind-property tsd-parent-kind-class"><a href="#" class="tsd-kind-icon">project</a></li>
// </ul>
// </li>
// </ul>
// <ul class="after-current">
// <li class="tsd-kind-class tsd-parent-kind-container"><a href="#" class="tsd-kind-icon">OutputPageEvent</a></li>
// <li class="tsd-kind-class tsd-parent-kind-container"><a href="#" class="tsd-kind-icon">PartialsPlugin</a></li>
// </ul>
// </nav>
//
.tsd-navigation.secondary
ul
+INDENTS(6, 25, 20)
transition: opacity 0.2s
&.current a
border-left-color: $COLOR_PANEL_DIVIDER
li.focus > a,
ul.current li.focus > a
border-left-color: $COLOR_MENU_DIVIDER_FOCUS
li.current
margin-top: 20px
margin-bottom: 20px
border-left-color: $COLOR_PANEL_DIVIDER
> a
font-weight: bold
// Sticky menu setup
//
.menu-sticky-wrap
+size-md-lg
position: static
.no-csspositionsticky &
&.sticky
position: fixed
&.sticky-current
position: fixed
ul.before-current,
ul.after-current
opacity: 0
&.sticky-bottom
position: absolute
top: auto !important
left: auto !important
bottom: 0
right: 0
.csspositionsticky &
&.sticky
position: sticky
&.sticky-current
position: sticky

View File

@ -1,70 +0,0 @@
// Displays a panel, an organisation unit in TypeDoc used to group single entities
// like a method or a variable.
//
// <div class="tsd-panel">
// <h3>Eirmod tempor invidunt</h3>
// <p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat.</p>
// </div>
//
.tsd-panel
@extend %prevent-children-margin
margin: 20px 0
padding: 20px
background-color: $COLOR_PANEL
box-shadow: 0 0 4px rgba(#000, 0.25)
&:empty
display: none
> h1, > h2, > h3
margin: 1.5em -20px 10px -20px
padding: 0 20px 10px 20px
border-bottom: 1px solid $COLOR_PANEL_DIVIDER
&.tsd-before-signature
margin-bottom: 0
border-bottom: 0
table
display: block
width: 100%
overflow: auto
margin-top: 10px
word-break: normal
word-break: keep-all
th
font-weight: bold
th, td
padding: 6px 13px
border: 1px solid #ddd
tr
background-color: #fff
border-top: 1px solid #ccc
&:nth-child(2n)
background-color: #f8f8f8
// Holds a series of panels with an optional heading.
//
// <div class="tsd-panel-group">
// <h2>Consetetur sadipscing elitr</h2>
// <div class="tsd-panel">
// <h3>Eirmod tempor invidunt</h3>
// <p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat.</p>
// </div>
// <div class="tsd-panel">
// <h3>Eirmod tempor invidunt</h3>
// <p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat.</p>
// </div>
// </div>
//
.tsd-panel-group
margin: 60px 0
> h1, > h2, > h3
padding-left: 20px
padding-right: 20px

View File

@ -1,89 +0,0 @@
#tsd-search
transition: background-color 0.2s
.title
position: relative
z-index: 2
.field
position: absolute
left: 0
top: 0
right: 40px
height: 40px
input
box-sizing: border-box
position: relative
top: -50px
z-index: 1
width: 100%
padding: 0 10px
opacity: 0
outline: 0
border: 0
background: transparent
color: $COLOR_TEXT
label
position: absolute
overflow: hidden
right: -40px
.field input,
.title
transition: opacity 0.2s
.results
position: absolute
visibility: hidden
top: 40px
width: 100%
margin: 0
padding: 0
list-style: none
box-shadow: 0 0 4px rgba(#000, 0.25)
li
padding: 0 10px
background-color: $COLOR_BACKGROUND
li:nth-child(even)
background-color: $COLOR_PANEL
li.state
display: none
li.current,
li:hover
background-color: $COLOR_PANEL_DIVIDER
a
display: block
&:before
top: 10px
span.parent
color: $COLOR_TEXT_ASIDE
font-weight: normal
&.has-focus
background-color: $COLOR_PANEL_DIVIDER
.field input
top: 0
opacity: 1
.title
z-index: 0
opacity: 0
.results
visibility: visible
&.loading .results li.state.loading
display: block
&.failure .results li.state.failure
display: block

View File

@ -1,152 +0,0 @@
// Wraps a function signature.
// Changes its appearance when directly placed inside a `tsd-panel`.
// Can be combined with class `tsd-kind-icon` to display an icon in front of the signature.
//
// <div class="tsd-kind-method">
// <div class="tsd-signature tsd-kind-icon">
// get<wbr>Child<wbr>ByName<span class="tsd-signature-symbol">(</span>
// name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>
// <span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span>
// <a href="# class="tsd-signature-type">DeclarationReflection</a>
// </div>
// </div>
//
.tsd-signature
margin: 0 0 1em 0
padding: 10px
border: 1px solid $COLOR_PANEL_DIVIDER
font-family: $FONT_FAMILY_MONO
font-size: $FONT_SIZE_MONO
&.tsd-kind-icon
padding-left: 30px
&:before
top: 10px
left: 10px
.tsd-panel > &
margin-left: -20px
margin-right: -20px
border-width: 1px 0
&.tsd-kind-icon
padding-left: 40px
&:before
left: 20px
.tsd-signature-symbol
color: $COLOR_TEXT_ASIDE
font-weight: normal
.tsd-signature-type
font-style: italic
font-weight: normal
// Displays a list of signatures.
// Changes its appearance when directly placed inside a `tsd-panel`.
// Made interactive by JavaScript at `typedoc.Signature`.
//
// <ul class="tsd-signatures tsd-kind-method">
// <li class="tsd-signature tsd-kind-icon current">getChildByName(name: string): DeclarationReflection</li>
// <li class="tsd-signature tsd-kind-icon">getChildByName(names: Array&lt;string&gt;): DeclarationReflection</li>
// </ul>
//
.tsd-signatures
padding: 0
margin: 0 0 1em 0
border: 1px solid $COLOR_PANEL_DIVIDER
.tsd-signature
margin: 0
border-width: 1px 0 0 0
transition: background-color 0.1s
&:first-child
border-top-width: 0
&.current
background-color: $COLOR_PANEL_DIVIDER
&.active > .tsd-signature
cursor: pointer
.tsd-panel > &
margin-left: -20px
margin-right: -20px
border-width: 1px 0
.tsd-signature.tsd-kind-icon
padding-left: 40px
&:before
left: 20px
.tsd-panel > a.anchor + &
border-top-width: 0
margin-top: -20px
// Holds the descriptions related to a list of signatures.
// Made interactive by JavaScript at `typedoc.Signature`.
//
// <ul class="tsd-descriptions active">
// <li class="tsd-description current">
// <p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat.</p>
// </li>
// <li class="tsd-description">
// <p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat.</p>
// </li>
// </ul>
//
ul.tsd-descriptions
position: relative
overflow: hidden
transition: height 0.3s
padding: 0
list-style: none
> li
@extend %prevent-children-margin
&.active > .tsd-description
display: none
&.current
display: block
&.fade-in
animation: fade-in-delayed 0.3s
&.fade-out
animation: fade-out-delayed 0.3s
position: absolute
display: block
top: 0
left: 0
right: 0
opacity: 0
visibility: hidden
h4
font-size: $FONT_SIZE
margin: 1em 0 0.5em 0
ul.tsd-parameters,
ul.tsd-type-parameters
list-style: square
margin: 0
padding-left: 20px
> li.tsd-parameter-siganture
list-style: none
margin-left: -20px
h5
font-size: $FONT_SIZE
margin: 1em 0 0.5em 0
.tsd-comment
margin-top: -0.5em

View File

@ -1,24 +0,0 @@
// Displays the source and inheritance information
//
// <aside class="tsd-sources">
// <p>Overrides <a href="#">BaseHandler</a>.<a href="#">constructor</a></p>
// <ul>
// <li>Defined in src/typedoc/factories/handlers/DynamicModuleHandler.ts:37</li>
// </ul>
// </aside>
//
.tsd-sources
font-size: $FONT_SIZE_MONO
color: $COLOR_TEXT_ASIDE
margin: 0 0 1em 0
a
color: $COLOR_TEXT_ASIDE
text-decoration: underline
ul, p
margin: 0 !important
ul
list-style: none
padding: 0

View File

@ -1,171 +0,0 @@
// Displays the toolbar at the top of the page.
//
// <div class="tsd-page-toolbar">
// <div class="container">
// <div class="table-wrap">
// <div class="table-cell">
// <a href="../index.html" class="title">TypeDoc Documentation</a>
// </div>
// </div>
// </div>
// </div>
//
.tsd-page-toolbar
position: absolute
z-index: 1
top: 0
left: 0
width: 100%
height: $TOOLBAR_HEIGHT
color: $TOOLBAR_TEXT_COLOR
background: $TOOLBAR_COLOR
border-bottom: 1px solid $COLOR_PANEL_DIVIDER
a
color: $TOOLBAR_TEXT_COLOR
text-decoration: none
&.title
font-weight: bold
&.title:hover
text-decoration: underline
.table-wrap
display: table
width: 100%
height: $TOOLBAR_HEIGHT
.table-cell
display: table-cell
position: relative
white-space: nowrap
line-height: $TOOLBAR_HEIGHT
&:first-child
width: 100%
%TSD_WIDGET_ICON
&:before
content: ''
display: inline-block
width: 40px
height: 40px
margin: 0 -8px 0 0
background-image: url(../images/widgets.png)
background-repeat: no-repeat
text-indent: -1024px
vertical-align: bottom
+retina
background-image: url(../images/widgets@2x.png)
background-size: 320px 40px
.tsd-widget
@extend %TSD_WIDGET_ICON
display: inline-block
overflow: hidden
opacity: 0.6
height: $TOOLBAR_HEIGHT
transition: opacity 0.1s, background-color 0.2s
vertical-align: bottom
cursor: pointer
&:hover
opacity: 0.8
&.active
opacity: 1
background-color: $COLOR_PANEL_DIVIDER
&.no-caption
width: 40px
&:before
margin: 0
&.search:before
background-position: 0 0
&.menu:before
background-position: -40px 0
&.options:before
background-position: -80px 0
&.options,
&.menu
display: none
+size-xs-sm
display: inline-block
input[type=checkbox] + &:before
background-position: -120px 0
input[type=checkbox]:checked + &:before
background-position: -160px 0
.tsd-select
position: relative
display: inline-block
height: $TOOLBAR_HEIGHT
transition: opacity 0.1s, background-color 0.2s
vertical-align: bottom
cursor: pointer
.tsd-select-label
@extend %TSD_WIDGET_ICON
opacity: 0.6
transition: opacity 0.2s
&:before
background-position: -240px 0
&.active
.tsd-select-label
opacity: 0.8
.tsd-select-list
visibility: visible
opacity: 1
transition-delay: 0s
.tsd-select-list
position: absolute
visibility: hidden
top: $TOOLBAR_HEIGHT
left: 0
margin: 0
padding: 0
opacity: 0
list-style: none
box-shadow: 0 0 4px rgba(#000, 0.25)
transition: visibility 0s 0.2s, opacity 0.2s
li
@extend %TSD_WIDGET_ICON
padding: 0 20px 0 0
background-color: $COLOR_BACKGROUND
&:before
background-position: 40px 0
&:nth-child(even)
background-color: $COLOR_PANEL
&:hover
background-color: $COLOR_PANEL_DIVIDER
&.selected:before
background-position: -200px 0
+size-xs-sm
.tsd-select-list
top: 0
left: auto
right: 100%
margin-right: -5px
.tsd-select-label:before
background-position: -280px 0

Some files were not shown because too many files have changed in this diff Show More