framadate-responsive/documentation/js/menu-wc.js

340 lines
25 KiB
JavaScript
Raw Normal View History

2020-02-19 17:12:54 +01:00
'use strict';
customElements.define('compodoc-menu', class extends HTMLElement {
constructor() {
super();
this.isNormalMode = this.getAttribute('mode') === 'normal';
}
connectedCallback() {
this.render(this.isNormalMode);
}
render(isNormalMode) {
let tp = lithtml.html(`
<nav>
<ul class="list">
<li class="title">
<a href="index.html" data-type="index-link">framadate-funky-frontend documentation</a>
</li>
<li class="divider"></li>
${ isNormalMode ? `<div id="book-search-input" role="search"><input type="text" placeholder="Type to search"></div>` : '' }
<li class="chapter">
<a data-type="chapter-link" href="index.html"><span class="icon ion-ios-home"></span>Getting started</a>
<ul class="links">
<li class="link">
<a href="overview.html" data-type="chapter-link">
<span class="icon ion-ios-keypad"></span>Overview
</a>
</li>
<li class="link">
<a href="index.html" data-type="chapter-link">
<span class="icon ion-ios-paper"></span>README
</a>
</li>
<li class="link">
<a href="dependencies.html" data-type="chapter-link">
<span class="icon ion-ios-list"></span>Dependencies
</a>
</li>
</ul>
</li>
<li class="chapter modules">
<a data-type="chapter-link" href="modules.html">
<div class="menu-toggler linked" data-toggle="collapse" ${ isNormalMode ?
'data-target="#modules-links"' : 'data-target="#xs-modules-links"' }>
<span class="icon ion-ios-archive"></span>
<span class="link-name">Modules</span>
<span class="icon ion-ios-arrow-down"></span>
</div>
</a>
<ul class="links collapse " ${ isNormalMode ? 'id="modules-links"' : 'id="xs-modules-links"' }>
<li class="link">
<a href="modules/AppModule.html" data-type="entity-link">AppModule</a>
<li class="chapter inner">
<div class="simple menu-toggler" data-toggle="collapse" ${ isNormalMode ?
'data-target="#components-links-module-AppModule-ba14a529438d7d13185a776555fadfbc"' : 'data-target="#xs-components-links-module-AppModule-ba14a529438d7d13185a776555fadfbc"' }>
<span class="icon ion-md-cog"></span>
<span>Components</span>
<span class="icon ion-ios-arrow-down"></span>
</div>
<ul class="links collapse" ${ isNormalMode ? 'id="components-links-module-AppModule-ba14a529438d7d13185a776555fadfbc"' :
'id="xs-components-links-module-AppModule-ba14a529438d7d13185a776555fadfbc"' }>
<li class="link">
<a href="components/AdminComponent.html"
data-type="entity-link" data-context="sub-entity" data-context-id="modules">AdminComponent</a>
</li>
<li class="link">
<a href="components/AnswersComponent.html"
data-type="entity-link" data-context="sub-entity" data-context-id="modules">AnswersComponent</a>
</li>
<li class="link">
<a href="components/AppComponent.html"
data-type="entity-link" data-context="sub-entity" data-context-id="modules">AppComponent</a>
</li>
<li class="link">
<a href="components/BaseComponent.html"
data-type="entity-link" data-context="sub-entity" data-context-id="modules">BaseComponent</a>
</li>
<li class="link">
<a href="components/ChoicesListComponent.html"
data-type="entity-link" data-context="sub-entity" data-context-id="modules">ChoicesListComponent</a>
</li>
<li class="link">
<a href="components/CommentsListComponent.html"
data-type="entity-link" data-context="sub-entity" data-context-id="modules">CommentsListComponent</a>
</li>
<li class="link">
<a href="components/CopyTextComponent.html"
data-type="entity-link" data-context="sub-entity" data-context-id="modules">CopyTextComponent</a>
</li>
<li class="link">
<a href="components/CreateOrRetrieveComponent.html"
data-type="entity-link" data-context="sub-entity" data-context-id="modules">CreateOrRetrieveComponent</a>
</li>
<li class="link">
<a href="components/DatesComponent.html"
data-type="entity-link" data-context="sub-entity" data-context-id="modules">DatesComponent</a>
</li>
<li class="link">
<a href="components/DebuggerComponent.html"
data-type="entity-link" data-context="sub-entity" data-context-id="modules">DebuggerComponent</a>
</li>
<li class="link">
<a href="components/EndConfirmationComponent.html"
data-type="entity-link" data-context="sub-entity" data-context-id="modules">EndConfirmationComponent</a>
</li>
<li class="link">
<a href="components/ErasableInputComponent.html"
data-type="entity-link" data-context="sub-entity" data-context-id="modules">ErasableInputComponent</a>
</li>
<li class="link">
<a href="components/HeaderComponent.html"
data-type="entity-link" data-context="sub-entity" data-context-id="modules">HeaderComponent</a>
</li>
<li class="link">
<a href="components/HomeComponent.html"
data-type="entity-link" data-context="sub-entity" data-context-id="modules">HomeComponent</a>
</li>
<li class="link">
<a href="components/KindComponent.html"
data-type="entity-link" data-context="sub-entity" data-context-id="modules">KindComponent</a>
</li>
<li class="link">
<a href="components/NavigationComponent.html"
data-type="entity-link" data-context="sub-entity" data-context-id="modules">NavigationComponent</a>
</li>
<li class="link">
<a href="components/PasswordComponent.html"
data-type="entity-link" data-context="sub-entity" data-context-id="modules">PasswordComponent</a>
</li>
<li class="link">
<a href="components/PicturesComponent.html"
data-type="entity-link" data-context="sub-entity" data-context-id="modules">PicturesComponent</a>
</li>
<li class="link">
<a href="components/PollDisplayComponent.html"
data-type="entity-link" data-context="sub-entity" data-context-id="modules">PollDisplayComponent</a>
</li>
<li class="link">
<a href="components/PollGraphicComponent.html"
data-type="entity-link" data-context="sub-entity" data-context-id="modules">PollGraphicComponent</a>
</li>
<li class="link">
<a href="components/ResumeComponent.html"
data-type="entity-link" data-context="sub-entity" data-context-id="modules">ResumeComponent</a>
</li>
<li class="link">
<a href="components/SelectorComponent.html"
data-type="entity-link" data-context="sub-entity" data-context-id="modules">SelectorComponent</a>
</li>
<li class="link">
<a href="components/VisibilityComponent.html"
data-type="entity-link" data-context="sub-entity" data-context-id="modules">VisibilityComponent</a>
</li>
<li class="link">
<a href="components/VotingChoiceComponent.html"
data-type="entity-link" data-context="sub-entity" data-context-id="modules">VotingChoiceComponent</a>
</li>
<li class="link">
<a href="components/VotingCommentComponent.html"
data-type="entity-link" data-context="sub-entity" data-context-id="modules">VotingCommentComponent</a>
</li>
<li class="link">
<a href="components/VotingComponent.html"
data-type="entity-link" data-context="sub-entity" data-context-id="modules">VotingComponent</a>
</li>
<li class="link">
<a href="components/VotingGraphComponent.html"
data-type="entity-link" data-context="sub-entity" data-context-id="modules">VotingGraphComponent</a>
</li>
<li class="link">
<a href="components/VotingNavigationComponent.html"
data-type="entity-link" data-context="sub-entity" data-context-id="modules">VotingNavigationComponent</a>
</li>
<li class="link">
<a href="components/VotingSummaryComponent.html"
data-type="entity-link" data-context="sub-entity" data-context-id="modules">VotingSummaryComponent</a>
</li>
</ul>
</li>
<li class="chapter inner">
<div class="simple menu-toggler" data-toggle="collapse" ${ isNormalMode ?
'data-target="#directives-links-module-AppModule-ba14a529438d7d13185a776555fadfbc"' : 'data-target="#xs-directives-links-module-AppModule-ba14a529438d7d13185a776555fadfbc"' }>
<span class="icon ion-md-code-working"></span>
<span>Directives</span>
<span class="icon ion-ios-arrow-down"></span>
</div>
<ul class="links collapse" ${ isNormalMode ? 'id="directives-links-module-AppModule-ba14a529438d7d13185a776555fadfbc"' :
'id="xs-directives-links-module-AppModule-ba14a529438d7d13185a776555fadfbc"' }>
<li class="link">
<a href="directives/ResettableInputDirective.html"
data-type="entity-link" data-context="sub-entity" data-context-id="modules">ResettableInputDirective</a>
</li>
</ul>
</li>
<li class="chapter inner">
<div class="simple menu-toggler" data-toggle="collapse" ${ isNormalMode ?
'data-target="#injectables-links-module-AppModule-ba14a529438d7d13185a776555fadfbc"' : 'data-target="#xs-injectables-links-module-AppModule-ba14a529438d7d13185a776555fadfbc"' }>
<span class="icon ion-md-arrow-round-down"></span>
<span>Injectables</span>
<span class="icon ion-ios-arrow-down"></span>
</div>
<ul class="links collapse" ${ isNormalMode ? 'id="injectables-links-module-AppModule-ba14a529438d7d13185a776555fadfbc"' :
'id="xs-injectables-links-module-AppModule-ba14a529438d7d13185a776555fadfbc"' }>
<li class="link">
<a href="injectables/ConfigService.html"
data-type="entity-link" data-context="sub-entity" data-context-id="modules" }>ConfigService</a>
</li>
<li class="link">
<a href="injectables/PollService.html"
data-type="entity-link" data-context="sub-entity" data-context-id="modules" }>PollService</a>
</li>
</ul>
</li>
</li>
<li class="link">
<a href="modules/AppRoutingModule.html" data-type="entity-link">AppRoutingModule</a>
</li>
<li class="link">
<a href="modules/DateValueAccessorModule.html" data-type="entity-link">DateValueAccessorModule</a>
<li class="chapter inner">
<div class="simple menu-toggler" data-toggle="collapse" ${ isNormalMode ?
'data-target="#directives-links-module-DateValueAccessorModule-bdb00cb75e4ce8ff18c89117a102622f"' : 'data-target="#xs-directives-links-module-DateValueAccessorModule-bdb00cb75e4ce8ff18c89117a102622f"' }>
<span class="icon ion-md-code-working"></span>
<span>Directives</span>
<span class="icon ion-ios-arrow-down"></span>
</div>
<ul class="links collapse" ${ isNormalMode ? 'id="directives-links-module-DateValueAccessorModule-bdb00cb75e4ce8ff18c89117a102622f"' :
'id="xs-directives-links-module-DateValueAccessorModule-bdb00cb75e4ce8ff18c89117a102622f"' }>
<li class="link">
<a href="directives/DateValueAccessor.html"
data-type="entity-link" data-context="sub-entity" data-context-id="modules">DateValueAccessor</a>
</li>
</ul>
</li>
</li>
</ul>
</li>
<li class="chapter">
<div class="simple menu-toggler" data-toggle="collapse" ${ isNormalMode ? 'data-target="#classes-links"' :
'data-target="#xs-classes-links"' }>
<span class="icon ion-ios-paper"></span>
<span>Classes</span>
<span class="icon ion-ios-arrow-down"></span>
</div>
<ul class="links collapse " ${ isNormalMode ? 'id="classes-links"' : 'id="xs-classes-links"' }>
<li class="link">
<a href="classes/AppPage.html" data-type="entity-link">AppPage</a>
</li>
<li class="link">
<a href="classes/MyMissingTranslationHandler.html" data-type="entity-link">MyMissingTranslationHandler</a>
</li>
<li class="link">
<a href="classes/PollConfig.html" data-type="entity-link">PollConfig</a>
</li>
</ul>
</li>
<li class="chapter">
<div class="simple menu-toggler" data-toggle="collapse" ${ isNormalMode ? 'data-target="#injectables-links"' :
'data-target="#xs-injectables-links"' }>
<span class="icon ion-md-arrow-round-down"></span>
<span>Injectables</span>
<span class="icon ion-ios-arrow-down"></span>
</div>
<ul class="links collapse " ${ isNormalMode ? 'id="injectables-links"' : 'id="xs-injectables-links"' }>
<li class="link">
<a href="injectables/DateUtilities.html" data-type="entity-link">DateUtilities</a>
</li>
<li class="link">
<a href="injectables/PollUtilities.html" data-type="entity-link">PollUtilities</a>
</li>
</ul>
</li>
<li class="chapter">
<div class="simple menu-toggler" data-toggle="collapse" ${ isNormalMode ? 'data-target="#interfaces-links"' :
'data-target="#xs-interfaces-links"' }>
<span class="icon ion-md-information-circle-outline"></span>
<span>Interfaces</span>
<span class="icon ion-ios-arrow-down"></span>
</div>
<ul class="links collapse " ${ isNormalMode ? ' id="interfaces-links"' : 'id="xs-interfaces-links"' }>
<li class="link">
<a href="interfaces/DateChoice.html" data-type="entity-link">DateChoice</a>
</li>
<li class="link">
<a href="interfaces/DateOption.html" data-type="entity-link">DateOption</a>
</li>
<li class="link">
<a href="interfaces/Item.html" data-type="entity-link">Item</a>
</li>
<li class="link">
<a href="interfaces/PollAnswer.html" data-type="entity-link">PollAnswer</a>
</li>
<li class="link">
<a href="interfaces/SelectorConfig.html" data-type="entity-link">SelectorConfig</a>
</li>
<li class="link">
<a href="interfaces/TimeSlices.html" data-type="entity-link">TimeSlices</a>
</li>
<li class="link">
<a href="interfaces/VoteChoice.html" data-type="entity-link">VoteChoice</a>
</li>
</ul>
</li>
<li class="chapter">
<div class="simple menu-toggler" data-toggle="collapse" ${ isNormalMode ? 'data-target="#miscellaneous-links"'
: 'data-target="#xs-miscellaneous-links"' }>
<span class="icon ion-ios-cube"></span>
<span>Miscellaneous</span>
<span class="icon ion-ios-arrow-down"></span>
</div>
<ul class="links collapse " ${ isNormalMode ? 'id="miscellaneous-links"' : 'id="xs-miscellaneous-links"' }>
<li class="link">
<a href="miscellaneous/functions.html" data-type="entity-link">Functions</a>
</li>
<li class="link">
<a href="miscellaneous/variables.html" data-type="entity-link">Variables</a>
</li>
</ul>
</li>
<li class="chapter">
<a data-type="chapter-link" href="routes.html"><span class="icon ion-ios-git-branch"></span>Routes</a>
</li>
<li class="chapter">
<a data-type="chapter-link" href="coverage.html"><span class="icon ion-ios-stats"></span>Documentation coverage</a>
</li>
<li class="divider"></li>
<li class="copyright">
Documentation generated using <a href="https://compodoc.app/" target="_blank">
<img data-src="images/compodoc-vectorise.png" class="img-responsive" data-type="compodoc-logo">
</a>
</li>
</ul>
</nav>
`);
this.innerHTML = tp.strings;
}
});