Remove unused typedoc theme

This commit is contained in:
Alex Dima 2021-11-16 22:33:13 +01:00
parent d9013a86c4
commit 33ea399f99
No known key found for this signature in database
GPG key ID: 39563C1504FDD0C9
69 changed files with 0 additions and 4321 deletions

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: #707070
$COLOR_LINK: #4da6ff
$COLOR_MENU_DIVIDER: #eee
$COLOR_MENU_DIVIDER_FOCUS: #000
$COLOR_MENU_LABEL: #707070
$COLOR_PANEL: #fff
$COLOR_PANEL_DIVIDER: #eee
$COLOR_COMMENT_TAG: #707070
$COLOR_COMMENT_TAG_TEXT: #fff
$COLOR_CODE_BACKGROUND: rgba(#000, 0.04)
$COLOR_TS: #9600ff
$COLOR_TS_INTERFACE: #647F1B
$COLOR_TS_ENUM: #937210
$COLOR_TS_CLASS: #0672DE
$COLOR_TS_PRIVATE: #707070
$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,62 +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-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,79 +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(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,36 +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
a[data-tsd-kind]
color: $COLOR_TS
a[data-tsd-kind="Interface"]
color: $COLOR_TS_INTERFACE
a[data-tsd-kind="Enum"]
color: $COLOR_TS_ENUM
a[data-tsd-kind="Class"]
color: $COLOR_TS_CLASS
a[data-tsd-kind="Private"]
color: $COLOR_TS_PRIVATE

View file

@ -1,148 +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
margin: 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
max-height: calc(100vh - 1rem - #{$TOOLBAR_HEIGHT})
overflow: auto
position: -webkit-sticky
position: sticky
top: calc(.5rem + #{$TOOLBAR_HEIGHT})
transition: .3s
&.tsd-navigation--toolbar-hide
max-height: calc(100vh - 1rem)
top: .5rem
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

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
overflow-x: auto
&.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
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-signature
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,175 +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: fixed
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
transition: transform .3s linear
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-page-toolbar--hide
transform: translateY(-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,113 +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
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 0 5px rgba(#000, 0.35)
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,49 +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
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,26 +0,0 @@
@import constants
@import vendors/normalize
@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,54 +0,0 @@
@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,60 +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
display: flex
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,150 +0,0 @@
$type-icons: (object-literal), (class), ("class.tsd-has-type-parameter"),
(interface), ("interface.tsd-has-type-parameter"), (namespace, 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-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,50 +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
blockquote
margin: 1em 0
padding-left: 1em
border-left: 4px solid gray
.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,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

View file

@ -1,24 +0,0 @@
import { Application, registerComponent } from "./typedoc/Application";
import { MenuHighlight } from "./typedoc/components/MenuHighlight";
import { initSearch } from "./typedoc/components/Search";
import { Signature } from "./typedoc/components/Signature";
import { Toggle } from "./typedoc/components/Toggle";
import { Filter } from "./typedoc/components/Filter";
import "../../css/main.sass";
initSearch();
registerComponent(MenuHighlight, ".menu-highlight");
registerComponent(Signature, ".tsd-signatures");
registerComponent(Toggle, "a[data-toggle]");
if (Filter.isSupported()) {
registerComponent(Filter, "#tsd-filter");
} else {
document.documentElement.classList.add("no-filter");
}
const app: Application = new Application();
Object.defineProperty(window, "app", { value: app });

View file

@ -1,53 +0,0 @@
import { IComponentOptions } from "./Component";
/**
* Component definition.
*/
export interface IComponent {
constructor: new (options: IComponentOptions) => unknown;
selector: string;
}
/**
* List of all known components.
*/
const components: IComponent[] = [];
/**
* Register a new component.
*/
export function registerComponent(
constructor: IComponent["constructor"],
selector: string
) {
components.push({
selector: selector,
constructor: constructor,
});
}
/**
* TypeDoc application class.
*/
export class Application {
/**
* Create a new Application instance.
*/
constructor() {
this.createComponents(document.body);
}
/**
* Create all components beneath the given jQuery element.
*/
public createComponents(context: HTMLElement) {
components.forEach((c) => {
context.querySelectorAll<HTMLElement>(c.selector).forEach((el) => {
if (!el.dataset.hasInstance) {
new c.constructor({ el: el });
el.dataset.hasInstance = String(true);
}
});
});
}
}

View file

@ -1,14 +0,0 @@
export interface IComponentOptions {
el: HTMLElement;
}
/**
* TypeDoc component class.
*/
export class Component {
protected el: HTMLElement;
constructor(options: IComponentOptions) {
this.el = options.el;
}
}

View file

@ -1,42 +0,0 @@
export interface IEventListener<T> {
(evt: CustomEvent<T>): void;
}
/**
* TypeDoc event target class.
*/
export class EventTarget {
private listeners: Record<string, IEventListener<any>[]> = {};
public addEventListener<T>(type: string, callback: IEventListener<T>) {
if (!(type in this.listeners)) {
this.listeners[type] = [];
}
this.listeners[type].push(callback);
}
public removeEventListener<T>(type: string, callback: IEventListener<T>) {
if (!(type in this.listeners)) {
return;
}
const stack = this.listeners[type];
for (let i = 0, l = stack.length; i < l; i++) {
if (stack[i] === callback) {
stack.splice(i, 1);
return;
}
}
}
public dispatchEvent<T>(event: CustomEvent<T>) {
if (!(event.type in this.listeners)) {
return true;
}
const stack = this.listeners[event.type].slice();
for (let i = 0, l = stack.length; i < l; i++) {
stack[i].call(this, event);
}
return !event.defaultPrevented;
}
}

View file

@ -1,166 +0,0 @@
import { Component, IComponentOptions } from "../Component";
import { pointerDown, pointerUp } from "../utils/pointer";
abstract 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 abstract handleValueChange(oldValue: T, newValue: T): void;
protected abstract fromLocalStorage(value: string): T;
protected abstract toLocalStorage(value: T): string;
protected setValue(value: T) {
if (this.value == value) return;
const oldValue = this.value;
this.value = value;
window.localStorage[this.key] = this.toLocalStorage(value);
this.handleValueChange(oldValue, value);
}
}
class FilterItemCheckbox extends FilterItem<boolean> {
private checkbox!: HTMLInputElement;
protected initialize() {
const checkbox = document.querySelector<HTMLInputElement>(
"#tsd-filter-" + this.key
);
if (!checkbox) return;
this.checkbox = checkbox;
this.checkbox.addEventListener("change", () => {
this.setValue(this.checkbox.checked);
});
}
protected handleValueChange(oldValue: boolean, newValue: boolean) {
if (!this.checkbox) return;
this.checkbox.checked = this.value;
document.documentElement.classList.toggle(
"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!: HTMLElement;
protected initialize() {
document.documentElement.classList.add(
"toggle-" + this.key + this.value
);
const select = document.querySelector<HTMLElement>(
"#tsd-filter-" + this.key
);
if (!select) return;
this.select = select;
const onActivate = () => {
this.select.classList.add("active");
};
const onDeactivate = () => {
this.select.classList.remove("active");
};
this.select.addEventListener(pointerDown, onActivate);
this.select.addEventListener("mouseover", onActivate);
this.select.addEventListener("mouseleave", onDeactivate);
this.select.querySelectorAll("li").forEach((el) => {
el.addEventListener(pointerUp, (e) => {
select.classList.remove("active");
this.setValue((e.target as HTMLElement).dataset.value || "");
});
});
document.addEventListener(pointerDown, (e) => {
if (this.select.contains(e.target as HTMLElement)) return;
this.select.classList.remove("active");
});
}
protected handleValueChange(oldValue: string, newValue: string) {
this.select.querySelectorAll("li.selected").forEach((el) => {
el.classList.remove("selected");
});
const selected = this.select.querySelector<HTMLElement>(
'li[data-value="' + newValue + '"]'
);
const label = this.select.querySelector<HTMLElement>(
".tsd-select-label"
);
if (selected && label) {
selected.classList.add("selected");
label.textContent = selected.textContent;
}
document.documentElement.classList.remove("toggle-" + oldValue);
document.documentElement.classList.add("toggle-" + newValue);
}
protected fromLocalStorage(value: string): string {
return value;
}
protected toLocalStorage(value: string): string {
return value;
}
}
export class Filter extends Component {
private optionVisibility: FilterItemSelect;
private optionInherited: FilterItemCheckbox;
private optionExternals: FilterItemCheckbox;
constructor(options: IComponentOptions) {
super(options);
this.optionVisibility = new FilterItemSelect("visibility", "private");
this.optionInherited = new FilterItemCheckbox("inherited", true);
this.optionExternals = new FilterItemCheckbox("externals", true);
}
static isSupported(): boolean {
try {
return typeof window.localStorage != "undefined";
} catch (e) {
return false;
}
}
}

View file

@ -1,141 +0,0 @@
import { Component, IComponentOptions } from "../Component";
import { Viewport } from "../services/Viewport";
/**
* Stored element and position data of a single anchor.
*/
interface IAnchorInfo {
/**
* The anchor element.
*/
anchor: HTMLElement;
/**
* The link element in the navigation representing this anchor.
*/
link: HTMLElement;
/**
* 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 Component {
/**
* List of all discovered anchors.
*/
private anchors: IAnchorInfo[] = [];
/**
* Index of the currently highlighted anchor.
*/
private index: number = -1;
/**
* Create a new MenuHighlight instance.
*
* @param options Backbone view constructor options.
*/
constructor(options: IComponentOptions) {
super(options);
Viewport.instance.addEventListener("resize", () => this.onResize());
Viewport.instance.addEventListener<{ scrollTop: number }>(
"scroll",
(e) => this.onScroll(e)
);
this.createAnchors();
}
/**
* Find all anchors on the current page.
*/
private createAnchors() {
let base = window.location.href;
if (base.indexOf("#") != -1) {
base = base.substr(0, base.indexOf("#"));
}
this.el.querySelectorAll("a").forEach((el) => {
const href = el.href;
if (href.indexOf("#") == -1) return;
if (href.substr(0, base.length) != base) return;
const hash = href.substr(href.indexOf("#") + 1);
const anchor = document.querySelector<HTMLElement>(
"a.tsd-anchor[name=" + hash + "]"
);
const link = el.parentNode;
if (!anchor || !link) return;
this.anchors.push({
link: link as HTMLElement,
anchor: anchor,
position: 0,
});
});
this.onResize();
}
/**
* Triggered after the viewport was resized.
*/
private onResize() {
let anchor: IAnchorInfo;
for (
let index = 0, count = this.anchors.length;
index < count;
index++
) {
anchor = this.anchors[index];
const rect = anchor.anchor.getBoundingClientRect();
anchor.position = rect.top + document.body.scrollTop;
}
this.anchors.sort((a, b) => {
return a.position - b.position;
});
const event = new CustomEvent("scroll", {
detail: {
scrollTop: Viewport.instance.scrollTop,
},
});
this.onScroll(event);
}
/**
* Triggered after the viewport was scrolled.
*
* @param event The custom event with the current vertical scroll position.
*/
private onScroll(event: CustomEvent<{ scrollTop: number }>) {
const scrollTop = event.detail.scrollTop + 5;
const anchors = this.anchors;
const count = anchors.length - 1;
let index = this.index;
while (index > -1 && anchors[index].position > scrollTop) {
index -= 1;
}
while (index < count && anchors[index + 1].position < scrollTop) {
index += 1;
}
if (this.index != index) {
if (this.index > -1)
this.anchors[this.index].link.classList.remove("focus");
this.index = index;
if (this.index > -1)
this.anchors[this.index].link.classList.add("focus");
}
}
}

View file

@ -1,266 +0,0 @@
import { debounce } from "../utils/debounce";
import { Index } from "lunr";
interface IDocument {
id: number;
kind: number;
name: string;
url: string;
classes: string;
parent?: string;
}
interface IData {
kinds: { [kind: number]: string };
rows: IDocument[];
index: object;
}
declare global {
interface Window {
searchData?: IData;
}
}
interface SearchState {
base: string;
data?: IData;
index?: Index;
}
export function initSearch() {
const searchEl = document.getElementById("tsd-search");
if (!searchEl) return;
const searchScript = document.getElementById(
"search-script"
) as HTMLScriptElement | null;
searchEl.classList.add("loading");
if (searchScript) {
searchScript.addEventListener("error", () => {
searchEl.classList.remove("loading");
searchEl.classList.add("failure");
});
searchScript.addEventListener("load", () => {
searchEl.classList.remove("loading");
searchEl.classList.add("ready");
});
if (window.searchData) {
searchEl.classList.remove("loading");
}
}
const field = document.querySelector<HTMLInputElement>("#tsd-search-field");
const results = document.querySelector<HTMLElement>(".results");
if (!field || !results) {
throw new Error(
"The input field or the result list wrapper was not found"
);
}
let resultClicked = false;
results.addEventListener("mousedown", () => (resultClicked = true));
results.addEventListener("mouseup", () => {
resultClicked = false;
searchEl.classList.remove("has-focus");
});
field.addEventListener("focus", () => searchEl.classList.add("has-focus"));
field.addEventListener("blur", () => {
if (!resultClicked) {
resultClicked = false;
searchEl.classList.remove("has-focus");
}
});
const state: SearchState = {
base: searchEl.dataset.base + "/",
};
bindEvents(searchEl, results, field, state);
}
function bindEvents(
searchEl: HTMLElement,
results: HTMLElement,
field: HTMLInputElement,
state: SearchState
) {
field.addEventListener(
"input",
debounce(() => {
updateResults(searchEl, results, field, state);
}, 200)
);
let preventPress = false;
field.addEventListener("keydown", (e) => {
preventPress = true;
if (e.key == "Enter") {
gotoCurrentResult(results, field);
} else if (e.key == "Escape") {
field.blur();
} else if (e.key == "ArrowUp") {
setCurrentResult(results, -1);
} else if (e.key === "ArrowDown") {
setCurrentResult(results, 1);
} else {
preventPress = false;
}
});
field.addEventListener("keypress", (e) => {
if (preventPress) e.preventDefault();
});
/**
* Start searching by pressing slash.
*/
document.body.addEventListener("keydown", (e) => {
if (e.altKey || e.ctrlKey || e.metaKey) return;
if (!field.matches(":focus") && e.key === "/") {
field.focus();
e.preventDefault();
}
});
}
function checkIndex(state: SearchState, searchEl: HTMLElement) {
if (state.index) return;
if (window.searchData) {
searchEl.classList.remove("loading");
searchEl.classList.add("ready");
state.data = window.searchData;
state.index = Index.load(window.searchData.index);
}
}
function updateResults(
searchEl: HTMLElement,
results: HTMLElement,
query: HTMLInputElement,
state: SearchState
) {
checkIndex(state, searchEl);
// Don't clear results if loading state is not ready,
// because loading or error message can be removed.
if (!state.index || !state.data) return;
results.textContent = "";
const searchText = query.value.trim();
// Perform a wildcard search
let res = state.index.search(`*${searchText}*`);
for (let i = 0, c = Math.min(10, res.length); i < c; i++) {
const row = state.data.rows[Number(res[i].ref)];
// Bold the matched part of the query in the search results
let name = boldMatches(row.name, searchText);
if (row.parent) {
name = `<span class="parent">${boldMatches(
row.parent,
searchText
)}.</span>${name}`;
}
const item = document.createElement("li");
item.classList.value = row.classes;
const anchor = document.createElement("a");
anchor.href = state.base + row.url;
anchor.classList.add("tsd-kind-icon");
anchor.innerHTML = name;
item.append(anchor);
results.appendChild(item);
}
}
/**
* Move the highlight within the result set.
*/
function setCurrentResult(results: HTMLElement, dir: number) {
let current = results.querySelector(".current");
if (!current) {
current = results.querySelector(
dir == 1 ? "li:first-child" : "li:last-child"
);
if (current) {
current.classList.add("current");
}
} else {
const rel =
dir == 1
? current.nextElementSibling
: current.previousElementSibling;
if (rel) {
current.classList.remove("current");
rel.classList.add("current");
}
}
}
/**
* Navigate to the highlighted result.
*/
function gotoCurrentResult(results: HTMLElement, field: HTMLInputElement) {
let current = results.querySelector(".current");
if (!current) {
current = results.querySelector("li:first-child");
}
if (current) {
const link = current.querySelector("a");
if (link) {
window.location.href = link.href;
}
field.blur();
}
}
function boldMatches(text: string, search: string) {
if (search === "") {
return text;
}
const lowerText = text.toLocaleLowerCase();
const lowerSearch = search.toLocaleLowerCase();
const parts = [];
let lastIndex = 0;
let index = lowerText.indexOf(lowerSearch);
while (index != -1) {
parts.push(
escapeHtml(text.substring(lastIndex, index)),
`<b>${escapeHtml(
text.substring(index, index + lowerSearch.length)
)}</b>`
);
lastIndex = index + lowerSearch.length;
index = lowerText.indexOf(lowerSearch, lastIndex);
}
parts.push(escapeHtml(text.substring(lastIndex)));
return parts.join("");
}
const SPECIAL_HTML = {
"&": "&amp;",
"<": "&lt;",
">": "&gt;",
"'": "&#039;",
'"': "&quot;",
} as const;
function escapeHtml(text: string) {
return text.replace(
/[&<>"'"]/g,
(match) => SPECIAL_HTML[match as keyof typeof SPECIAL_HTML]
);
}

View file

@ -1,157 +0,0 @@
import { Component, IComponentOptions } from "../Component";
import { Viewport } from "../services/Viewport";
/**
* Holds a signature and its description.
*/
class SignatureGroup {
/**
* The target signature.
*/
signature: Element;
/**
* The description for the signature.
*/
description: Element;
/**
* Create a new SignatureGroup instance.
*
* @param signature The target signature.
* @param description The description for the signature.
*/
constructor(signature: Element, description: Element) {
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.classList.add(className);
this.description.classList.add(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.classList.remove(className);
this.description.classList.remove(className);
return this;
}
}
/**
* Controls the tab like behaviour of methods and functions with multiple signatures.
*/
export class Signature extends Component {
/**
* List of found signature groups.
*/
private groups: SignatureGroup[] = [];
/**
* The container holding all the descriptions.
*/
private container?: HTMLElement;
/**
* The index of the currently displayed signature.
*/
private index: number = -1;
/**
* Create a new Signature instance.
*
* @param options Backbone view constructor options.
*/
constructor(options: IComponentOptions) {
super(options);
this.createGroups();
if (this.container) {
this.el.classList.add("active");
Array.from(this.el.children).forEach((signature) => {
signature.addEventListener("touchstart", (event) =>
this.onClick(event)
);
signature.addEventListener("click", (event) =>
this.onClick(event)
);
});
this.container.classList.add("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;
const to = this.groups[index];
if (this.index > -1) {
const from = this.groups[this.index];
from.removeClass("current").addClass("fade-out");
to.addClass("current");
to.addClass("fade-in");
Viewport.instance.triggerResize();
setTimeout(() => {
from.removeClass("fade-out");
to.removeClass("fade-in");
}, 300);
} else {
to.addClass("current");
Viewport.instance.triggerResize();
}
this.index = index;
}
/**
* Find all signature/description groups.
*/
private createGroups() {
const signatures = this.el.children;
if (signatures.length < 2) return;
this.container = this.el.nextElementSibling as HTMLElement;
const descriptions = this.container.children;
this.groups = [];
for (let index = 0; index < signatures.length; index++) {
this.groups.push(
new SignatureGroup(signatures[index], descriptions[index])
);
}
}
/**
* Triggered when the user clicks onto a signature header.
*
* @param e The related event object.
*/
private onClick(e: Event) {
this.groups.forEach((group, index) => {
if (group.signature === e.currentTarget) {
this.setIndex(index);
}
});
}
}

View file

@ -1,79 +0,0 @@
import { Component, IComponentOptions } from "../Component";
import { hasPointerMoved, pointerDown, pointerUp } from "../utils/pointer";
export class Toggle extends Component {
active?: boolean;
className: string;
constructor(options: IComponentOptions) {
super(options);
this.className = this.el.dataset.toggle || "";
this.el.addEventListener(pointerUp, (e) => this.onPointerUp(e));
this.el.addEventListener("click", (e) => e.preventDefault());
document.addEventListener(pointerDown, (e) =>
this.onDocumentPointerDown(e)
);
document.addEventListener(pointerUp, (e) =>
this.onDocumentPointerUp(e)
);
}
setActive(value: boolean) {
if (this.active == value) return;
this.active = value;
document.documentElement.classList.toggle(
"has-" + this.className,
value
);
this.el.classList.toggle("active", value);
const transition =
(this.active ? "to-has-" : "from-has-") + this.className;
document.documentElement.classList.add(transition);
setTimeout(
() => document.documentElement.classList.remove(transition),
500
);
}
onPointerUp(event: Event) {
if (hasPointerMoved) return;
this.setActive(true);
event.preventDefault();
}
onDocumentPointerDown(e: Event) {
if (this.active) {
if (
(e.target as HTMLElement).closest(
".col-menu, .tsd-filter-group"
)
) {
return;
}
this.setActive(false);
}
}
onDocumentPointerUp(e: Event) {
if (hasPointerMoved) return;
if (this.active) {
if ((e.target as HTMLElement).closest(".col-menu")) {
const link = (e.target as HTMLElement).closest("a");
if (link) {
let href = window.location.href;
if (href.indexOf("#") != -1) {
href = href.substr(0, href.indexOf("#"));
}
if (link.href.substr(0, href.length) == href) {
setTimeout(() => this.setActive(false), 250);
}
}
}
}
}
}

View file

@ -1,130 +0,0 @@
import { EventTarget } from "../EventTarget";
import { throttle } from "../utils/trottle";
/**
* A global service that monitors the window size and scroll position.
*/
export class Viewport extends EventTarget {
public static readonly instance = new Viewport();
/**
* The current scroll position.
*/
scrollTop: number = 0;
/**
* The previous scrollTop.
*/
lastY: number = 0;
/**
* The width of the window.
*/
width: number = 0;
/**
* The height of the window.
*/
height: number = 0;
/**
* The toolbar (contains the search input).
*/
toolbar: HTMLDivElement;
/**
* Boolean indicating whether the toolbar is shown.
*/
showToolbar: boolean = true;
/**
* The sticky side nav that contains members of the current page.
*/
secondaryNav: HTMLElement;
/**
* Create new Viewport instance.
*/
constructor() {
super();
this.toolbar = <HTMLDivElement>(
document.querySelector(".tsd-page-toolbar")
);
this.secondaryNav = <HTMLElement>(
document.querySelector(".tsd-navigation.secondary")
);
window.addEventListener(
"scroll",
throttle(() => this.onScroll(), 10)
);
window.addEventListener(
"resize",
throttle(() => this.onResize(), 10)
);
this.onResize();
this.onScroll();
}
/**
* Trigger a resize event.
*/
triggerResize() {
const event = new CustomEvent("resize", {
detail: {
width: this.width,
height: this.height,
},
});
this.dispatchEvent(event);
}
/**
* Triggered when the size of the window has changed.
*/
onResize() {
this.width = window.innerWidth || 0;
this.height = window.innerHeight || 0;
const event = new CustomEvent("resize", {
detail: {
width: this.width,
height: this.height,
},
});
this.dispatchEvent(event);
}
/**
* Triggered when the user scrolled the viewport.
*/
onScroll() {
this.scrollTop = window.scrollY || 0;
const event = new CustomEvent("scroll", {
detail: {
scrollTop: this.scrollTop,
},
});
this.dispatchEvent(event);
this.hideShowToolbar();
}
/**
* Handle hiding/showing of the toolbar.
*/
hideShowToolbar() {
const isShown = this.showToolbar;
this.showToolbar = this.lastY >= this.scrollTop || this.scrollTop === 0;
if (isShown !== this.showToolbar) {
this.toolbar.classList.toggle("tsd-page-toolbar--hide");
this.secondaryNav.classList.toggle("tsd-navigation--toolbar-hide");
}
this.lastY = this.scrollTop;
}
}

View file

@ -1,7 +0,0 @@
export const debounce = (fn: Function, wait: number = 100) => {
let timeout: ReturnType<typeof setTimeout>;
return (...args: any[]) => {
clearTimeout(timeout)
timeout = setTimeout(() => fn(args), wait)
}
}

View file

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

View file

@ -1,12 +0,0 @@
export const throttle = <A extends any[]>(
fn: (...args: A) => void,
wait = 100
) => {
let time = Date.now();
return (...args: A) => {
if (time + wait - Date.now() < 0) {
fn(...args);
time = Date.now();
}
};
};

View file

@ -1,50 +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="Documentation for {{project.name}}">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="{{relativeURL "assets/css/main.css"}}">
<script async src="{{relativeURL "assets/js/search.js"}}" id="search-script"></script>
</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>
{{> 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}}">{{ name }}</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,21 +0,0 @@
<footer{{#unless settings.hideGenerator}} class="with-border-bottom"{{/unless}}>
<div class="container">
<h2>Legend</h2>
<div class="tsd-legend-group">
{{#each legend}}
<ul class="tsd-legend">
{{#each .}}
<li class="{{#compact}}{{#each classes}} {{.}}{{/each}}{{/compact}}"><span class="tsd-kind-icon">{{name}}</span></li>
{{/each}}
</ul>
{{/each}}
</div>
</div>
</footer>
{{#unless settings.hideGenerator}}
<div class="container tsd-generator">
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p>
</div>
{{/unless}}

View file

@ -1,77 +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.json"}}" 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>
{{!--MONACO_CHANGE
<a href="{{relativeURL "index.html"}}" class="title">{{project.name}}</a>
MONACO_CHANGE--}}
<a href="https://microsoft.github.io/monaco-editor/" class="title">{{project.name}}</a>
</div>
{{!--MONACO_CHANGE
<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}}
</div>
</div>
<a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a>
</div>
MONACO_CHANGE--}}
</div>
</div>
</div>
<div class="tsd-page-title">
<div class="container">
{{#if model.parent}} {{! Don't show breadcrumbs on main project page, it is the root page. !}}
<ul class="tsd-breadcrumb">
{{#with model}}{{> breadcrumb}}{{/with}}
</ul>
{{/if}}
{{!--MONACO_CHANGE
<h1>{{#compact}}
{{#ifCond model.kindString "!==" "Project" }}
{{model.kindString}}&nbsp;
{{/ifCond}}
{{model.name}}
{{#if model.typeParameters}}
&lt;
{{#each model.typeParameters}}
{{#if @index}},&nbsp;{{/if}}
{{name}}
{{/each}}
&gt;
{{/if}}
{{/compact}}</h1>
MONACO_CHANGE--}}
</div>
</div>
</header>

View file

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

View file

@ -1,50 +0,0 @@
{{#if categories}}
<section class="tsd-panel-group tsd-index-group">
<h2>Index</h2>
<section class="tsd-panel tsd-index-panel">
<div class="tsd-index-content">
{{#each categories}}
<section class="tsd-index-section">
<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>
{{else}}
{{#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}}">
{{#if categories}}
{{#each categories}}
<h3>{{#if title}}{{title}} {{/if}}{{../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>
{{/each}}
{{else}}
<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>
{{/if}}
</section>
{{/each}}
</div>
</section>
</section>
{{/if}}
{{/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,24 +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}}{{#if isReference}}
{{> member.reference}}
{{else}}
{{> member.declaration}}
{{/if}}{{/if}}{{/if}}
{{#each groups}}
{{#each children}}
{{#unless hasOwnDocument}}
{{> member}}
{{/unless}}
{{/each}}
{{/each}}
</section>

View file

@ -1,11 +0,0 @@
{{#with tryGetTargetReflectionDeep}}
{{#ifCond ../name '===' name}}
Re-exports <a href="{{relativeURL url}}">{{name}}</a>
{{else if flags.isExported}}
Renames and re-exports <a href="{{relativeURL url}}">{{name}}</a>
{{else}}
Renames and exports <a href="{{relativeURL url}}">{{name}}</a>
{{/ifCond}}
{{else}}
Re-exports {{name}}
{{/with}}

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 {{#compact}}{{#with type}}{{>type}}{{/with}}{{/compact}}</h4>
{{#if comment.returns}}
{{#markdown}}{{{comment.returns}}}{{/markdown}}
{{/if}}
{{#if type.declaration}}
{{#with type.declaration}}
{{> parameter}}
{{/with}}
{{/if}}
{{/if}}

View file

@ -1,32 +0,0 @@
{{#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}}
{{#if arrowStyle}}
<span class="tsd-signature-symbol"> =&gt; </span>
{{else}}
<span class="tsd-signature-symbol">: </span>
{{/if}}
{{#with type}}
{{>type}}
{{/with}}
{{/if}}

View file

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

View file

@ -1,25 +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}}
{{!--MONACO_CHANGE
<li>Defined in {{fileName}}:{{line}}</li>
MONACO_CHANGE--}}
<li>Defined in <a href="https://github.com/Microsoft/monaco-editor/blob/main/typedoc/monaco.d.ts#L{{line}}">{{fileName}}:{{line}}</a></li>
{{/if}}
{{/each}}
</ul>
{{/if}}
</aside>

View file

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

View file

@ -1,20 +0,0 @@
{{#if categories}}
{{#each categories}}
{{#unless allChildrenHaveOwnDocument}}
<section class="tsd-panel-group tsd-member-group {{cssClasses}}">
<h2>{{title}}</h2>
{{#each children}}
{{#unless hasOwnDocument}}
{{> member}}
{{/unless}}
{{/each}}
</section>
{{/unless}}
{{/each}}
{{else}}
{{#each groups}}
{{#unless allChildrenHaveOwnDocument}}
{{> members.group}}
{{/unless}}
{{/each}}
{{/if}}

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,132 +0,0 @@
<ul class="tsd-parameters">
{{#if signatures}}
<li class="tsd-parameter-signature">
<ul class="tsd-signatures {{cssClasses}}">
{{#each signatures}}
<li class="tsd-signature tsd-kind-icon">{{#compact}}
{{> member.signature.title hideName=true }}
{{/compact}}</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}}
{{#if signatures}}
<li class="tsd-parameter">
<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}}
</li>
{{else}}{{#if type}} {{! standard type }}
<li class="tsd-parameter">
<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}}
{{#with type}}
{{{wbr ../name}}}
<span class="tsd-signature-symbol">
{{#if ../flags.isOptional}}?{{/if}}
:&nbsp;
</span>
{{>type}}
{{/with}}
{{/compact}}</h5>
{{> comment}}
{{#if children}}
{{> parameter}}
{{/if}}
{{#if type.declaration}}
{{#with type.declaration}}
{{> parameter}}
{{/with}}
{{/if}}
</li>
{{else}} {{! getter/setter }}
{{#with getSignature}} {{! getter }}
<li class="tsd-parameter">
<h5>{{#compact}}
{{#each flags}}
<span class="tsd-flag ts-flag{{this}}">{{this}}</span>&nbsp;
{{/each}}
<span class="tsd-signature-symbol">get&nbsp;</span>
{{{wbr ../name}}}
<span class="tsd-signature-symbol">():&nbsp;</span>
{{#with type}}
{{> type}}
{{/with}}
{{/compact}}</h5>
{{> comment }}
</li>
{{/with}}
{{#with setSignature}} {{! setter }}
<li class="tsd-parameter">
<h5>{{#compact}}
{{#each flags}}
<span class="tsd-flag ts-flag{{this}}">{{this}}</span>&nbsp;
{{/each}}
<span class="tsd-signature-symbol">set&nbsp;</span>
{{{wbr ../name}}}
<span class="tsd-signature-symbol">(</span>
{{#each parameters}}
{{name}}
<span class="tsd-signature-symbol">: </span>
{{#with type}}
{{> type}}
{{else}}
<span class="tsd-signature-type">any</span>
{{/with}}
{{/each}}
<span class="tsd-signature-symbol">):&nbsp;</span>
{{#with type}}
{{> type}}
{{/with}}
{{/compact}}</h5>
{{> comment }}
</li>
{{/with}}
{{/if}}{{/if}}
{{/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,335 +0,0 @@
{{! Each type gets its own inline helper to determine how it is rendered. }}
{{! The name of the helper is the value of the 'type' property on the type.}}
{{!
The type helper accepts an optional needsParens parameter that is checked
if an inner type may result in invalid output without them. For example:
1 | 2[] !== (1 | 2)[]
() => 1 | 2 !== (() => 1) | 2
}}
{{#*inline 'array'}}
{{#with elementType}}
{{> type needsParens=true}}
<span class="tsd-signature-symbol">[]</span>
{{/with}}
{{/inline}}
{{#*inline 'conditional'}}
{{#if needsParens}}
<span class="tsd-signature-symbol">(</span>
{{/if}}
{{#with checkType}}
{{> type needsParens=true}}
{{/with}}
<span class="tsd-signature-symbol"> extends </span>
{{#with extendsType}}
{{> type}}
{{/with}}
<span class="tsd-signature-symbol"> ? </span>
{{#with trueType}}
{{> type}}
{{/with}}
<span class="tsd-signature-symbol"> : </span>
{{#with falseType}}
{{> type}}
{{/with}}
{{#if needsParens}}
<span class="tsd-signature-symbol">)</span>
{{/if}}
{{/inline}}
{{#*inline 'indexedAccess'}}
{{#with objectType}}
{{> type}}
{{/with}}
<span class="tsd-signature-symbol">[</span>
{{#with indexType}}
{{> type}}
{{/with}}
<span class="tsd-signature-symbol">]</span>
{{/inline}}
{{#*inline 'inferred'}}
<span class="tsd-signature-symbol">infer </span> {{name}}
{{/inline}}
{{#*inline 'intersection'}}
{{#if needsParens}}
<span class="tsd-signature-symbol">(</span>
{{/if}}
{{#each types}}
{{#unless @first}}
<span class="tsd-signature-symbol"> &amp; </span>
{{/unless}}
{{> type}}
{{/each}}
{{#if needsParens}}
<span class="tsd-signature-symbol">)</span>
{{/if}}
{{/inline}}
{{#*inline 'intrinsic'}}
<span class="tsd-signature-type">{{name}}</span>
{{/inline}}
{{#*inline 'literal'}}
<span class="tsd-signature-type">{{stringify value}}</span>
{{/inline}}
{{#*inline 'mapped'}}
<span class="tsd-signature-symbol">{</span>
{{#ifCond readonlyModifier '===' '+'}}
<span class="tsd-signature-symbol">readonly </span>
{{else}}
{{#ifCond readonlyModifier '===' '-'}}
<span class="tsd-signature-symbol">-readonly </span>
{{/ifCond}}
{{/ifCond}}
<span class="tsd-signature-symbol">[ </span>
<span class="tsd-signature-type">{{parameter}}</span>
<span class="tsd-signature-symbol"> in </span>
{{#with parameterType}}
{{>type}}
{{/with}}
{{#with nameType}}
<span class="tsd-signature-symbol"> as </span>
{{>type}}
{{/with}}
<span class="tsd-signature-symbol">]</span>
{{#ifCond readonlyModifier '===' '+'}}
<span class="tsd-signature-symbol">?: </span>
{{else}}
{{#ifCond readonlyModifier '===' '-'}}
<span class="tsd-signature-symbol">-?: </span>
{{else}}
<span class="tsd-signature-symbol">: </span>
{{/ifCond}}
{{/ifCond}}
{{#with templateType}}
{{>type}}
{{/with}}
<span class="tsd-signature-symbol"> }</span>
{{/inline}}
{{#*inline 'optional'}}
{{#with elementType}}
{{> type}}
{{/with}}
<span class="tsd-signature-symbol">?</span>
{{/inline}}
{{#*inline 'predicate'}}
{{#if asserts}}
<span class="tsd-signature-symbol">asserts </span>
{{/if}}
<span class="tsd-signature-type">{{name}}</span>
{{#if targetType}}
<span class="tsd-signature-symbol"> is </span>
{{#with targetType}}
{{>type}}
{{/with}}
{{/if}}
{{/inline}}
{{#*inline 'query'}}
<span class="tsd-signature-symbol">typeof </span>
{{#with queryType}}
{{> type}}
{{/with}}
{{/inline}}
{{#*inline 'reference'}}
{{#with getReflection }}
<a href="{{relativeURL url}}" class="tsd-signature-type" data-tsd-kind="{{kindString}}">
{{name}}
</a>
{{else}}
<span class="tsd-signature-type">{{name}}</span>
{{/with}}
{{#if typeArguments}}
<span class="tsd-signature-symbol">&lt;</span>
{{#each typeArguments}}
{{#unless @first}}
<span class="tsd-signature-symbol">, </span>
{{/unless}}
{{> type}}
{{/each}}
<span class="tsd-signature-symbol">&gt;</span>
{{/if}}
{{/inline}}
{{#*inline 'reflection'}}
{{#if declaration.children}} {{! object literal }}
<span class="tsd-signature-symbol">{ </span>
{{#each declaration.children}}
{{#unless @first}}
<span class="tsd-signature-symbol">; </span>
{{/unless}}
{{#if getSignature}}
{{#if setSignature}}
{{name}}
<span class="tsd-signature-symbol">: </span>
{{#with getSignature.type}}
{{> type}}
{{else}}
<span class="tsd-signature-type">any</span>
{{/with}}
{{else}}
<span class="tsd-signature-symbol">get </span>
{{name}}
<span class="tsd-signature-symbol">(): </span>
{{#with getSignature.type}}
{{> type}}
{{else}}
<span class="tsd-signature-type">any</span>
{{/with}}
{{/if}}
{{else}}
{{#if setSignature}}
<span class="tsd-signature-symbol">set </span>
{{name}}
<span class="tsd-signature-symbol">(</span>
{{! Rather hacky to use each here... but we know there is exactly one. }}
{{#each setSignature.parameters}}
{{name}}
<span class="tsd-signature-symbol">: </span>
{{#with type}}
{{> type}}
{{else}}
<span class="tsd-signature-type">any</span>
{{/with}}
{{/each}}
<span class="tsd-signature-symbol">)</span>
{{else}}
{{name}}
{{#if flags.isOptional }}
<span class="tsd-signature-symbol">?: </span>
{{else}}
<span class="tsd-signature-symbol">: </span>
{{/if}}
{{#with type}}
{{> type}}
{{else}}
<span class="tsd-signature-type">any</span>
{{/with}}
{{/if}}
{{/if}}
{{/each}}
<span class="tsd-signature-symbol"> }</span>
{{else if declaration.signatures}}
{{#if (lookup declaration.signatures 1) }} {{! more than one signature}}
<span class="tsd-signature-symbol">{ </span>
{{#each declaration.signatures}}
{{> member.signature.title hideName=true}}
{{#unless @last}}
<span class="tsd-signature-symbol">; </span>
{{/unless}}
{{/each}}
<span class="tsd-signature-symbol"> }</span>
{{else}}
{{#if needsParens}}
<span class="tsd-signature-symbol">(</span>
{{/if}}
{{#with (lookup declaration.signatures '0') }}
{{> member.signature.title hideName=true arrowStyle=true}}
{{/with}}
{{#if needsParens}}
<span class="tsd-signature-symbol">)</span>
{{/if}}
{{/if}}
{{else}}
<span class="tsd-signature-symbol">{}</span>
{{/if}}
{{/inline}}
{{#*inline 'rest'}}
<span class="tsd-signature-symbol">...</span>
{{#with elementType}}
{{> type}}
{{/with}}
{{/inline}}
{{#*inline 'tuple'}}
<span class="tsd-signature-symbol">[</span>
{{#each elements}}
{{#unless @first}}
<span class="tsd-signature-symbol">, </span>
{{/unless}}
{{> type}}
{{/each}}
<span class="tsd-signature-symbol">]</span>
{{/inline}}
{{#*inline 'template-literal'}}
<span class="tsd-signature-symbol">`</span>
{{#if head}}
<span class="tsd-signature-type">{{head}}</span>
{{/if}}
{{#each tail}}
<span class="tsd-signature-symbol">${</span>
{{#with this.[0]}}
{{>type}}
{{/with}}
<span class="tsd-signature-symbol">}</span>
{{#if this.[1]}}
<span class="tsd-signature-type">{{this.[1]}}</span>
{{/if}}
{{/each}}
<span class="tsd-signature-symbol">`</span>
{{/inline}}
{{#*inline 'typeOperator'}}
<span class="tsd-signature-symbol">{{operator}} </span>
{{#with target}}
{{> type}}
{{/with}}
{{/inline}}
{{#*inline 'typeParameter'}}
<span class="tsd-signature-type">{{name}}</span>
{{/inline}}
{{#*inline 'union'}}
{{#if needsParens}}
<span class="tsd-signature-symbol">(</span>
{{/if}}
{{#each types}}
{{#unless @first}}
<span class="tsd-signature-symbol"> | </span>
{{/unless}}
{{> type needsParens=true}}
{{/each}}
{{#if needsParens}}
<span class="tsd-signature-symbol">)</span>
{{/if}}
{{/inline}}
{{#*inline 'unknown'}}
<span class="tsd-signature-type">{{name}}</span>
{{/inline}}
{{#*inline 'named-tuple-member'}}
{{name}}
{{#if isOptional}}
<span class="tsd-signature-symbol">?: </span>
{{else}}
<span class="tsd-signature-symbol">: </span>
{{/if}}
{{#with element}}
{{> type}}
{{/with}}
{{/inline}}
{{#if this}}
{{> (lookup . 'type') }}
{{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,17 +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}}
{{#if default}}
&nbsp;=&nbsp;{{#with default}}{{> 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>{{#compact}}{{> type}}{{/compact}}</li>
{{/each}}
</ul>
</section>
{{/if}}
{{#if model.implementedBy}}
<section class="tsd-panel">
<h3>Implemented by</h3>
<ul class="tsd-hierarchy">
{{#each model.implementedBy}}
<li>{{#compact}}{{> type}}{{/compact}}</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}}