@rxap/components 21.0.1-dev.0 → 21.0.1-dev.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +21 -0
- package/compodoc/changelog.html +20 -0
- package/compodoc/components/ConfirmComponent.html +106 -20
- package/compodoc/components/JsonViewerComponent.html +105 -188
- package/compodoc/dependencies.html +2 -2
- package/compodoc/directives/ConfirmDirective.html +271 -309
- package/compodoc/graph/dependencies.svg +4 -58
- package/compodoc/interfaces/Segment.html +40 -46
- package/compodoc/js/menu-wc.js +0 -43
- package/compodoc/js/menu-wc_es5.js +1 -1
- package/compodoc/js/search/search_index.js +2 -2
- package/compodoc/modules.html +0 -17
- package/compodoc/overview.html +1 -101
- package/compodoc/properties.html +1 -1
- package/docs/documentation.json +642 -963
- package/docs/html/assets/navigation.js +1 -1
- package/docs/html/assets/search.js +1 -1
- package/docs/html/classes/ConfirmComponent.html +2 -2
- package/docs/html/classes/ConfirmDirective.html +7 -5
- package/docs/html/classes/CopyToClipboardButtonComponent.html +2 -2
- package/docs/html/classes/CopyToClipboardComponent.html +2 -2
- package/docs/html/classes/EmptyRouterOutletComponent.html +2 -2
- package/docs/html/classes/JsonViewerComponent.html +3 -16
- package/docs/html/classes/NavigateBackButtonComponent.html +2 -2
- package/docs/html/index.html +2 -2
- package/docs/html/interfaces/Segment.html +2 -2
- package/docs/html/modules.html +1 -1
- package/docs/html/variables/JSON_VIEW_IGNORED_PROPERTIES.html +1 -1
- package/docs/html/variables/JSON_VIEW_IGNORED_TYPES.html +1 -1
- package/docs/markdown/README.md +1 -1
- package/docs/markdown/classes/ConfirmComponent.md +6 -6
- package/docs/markdown/classes/ConfirmDirective.md +41 -43
- package/docs/markdown/classes/CopyToClipboardButtonComponent.md +4 -4
- package/docs/markdown/classes/CopyToClipboardComponent.md +9 -9
- package/docs/markdown/classes/EmptyRouterOutletComponent.md +2 -2
- package/docs/markdown/classes/JsonViewerComponent.md +20 -96
- package/docs/markdown/classes/NavigateBackButtonComponent.md +3 -3
- package/docs/markdown/globals.md +2 -3
- package/docs/markdown/interfaces/Segment.md +7 -7
- package/docs/markdown/variables/JSON_VIEW_IGNORED_PROPERTIES.md +2 -2
- package/docs/markdown/variables/JSON_VIEW_IGNORED_TYPES.md +2 -2
- package/docs/wiki/Class.ConfirmComponent.md +5 -5
- package/docs/wiki/Class.ConfirmDirective.md +40 -42
- package/docs/wiki/Class.CopyToClipboardButtonComponent.md +3 -3
- package/docs/wiki/Class.CopyToClipboardComponent.md +8 -8
- package/docs/wiki/Class.EmptyRouterOutletComponent.md +1 -1
- package/docs/wiki/Class.JsonViewerComponent.md +19 -95
- package/docs/wiki/Class.NavigateBackButtonComponent.md +2 -2
- package/docs/wiki/Interface.Segment.md +6 -6
- package/docs/wiki/Variable.JSON_VIEW_IGNORED_PROPERTIES.md +1 -1
- package/docs/wiki/Variable.JSON_VIEW_IGNORED_TYPES.md +1 -1
- package/docs/wiki/_Sidebar.md +0 -1
- package/docs/wiki/globals.md +1 -2
- package/fesm2022/rxap-components.mjs +72 -118
- package/fesm2022/rxap-components.mjs.map +1 -1
- package/package.json +5 -5
- package/types/rxap-components.d.ts +41 -48
- package/docs/html/classes/ConfirmModule.html +0 -2
- package/docs/markdown/classes/ConfirmModule.md +0 -19
- package/docs/wiki/Class.ConfirmModule.md +0 -15
|
@@ -4,11 +4,11 @@
|
|
|
4
4
|
<!-- Generated by graphviz version 2.47.0 (20210316.0004)
|
|
5
5
|
-->
|
|
6
6
|
<!-- Title: dependencies Pages: 1 -->
|
|
7
|
-
<svg width="504pt" height="
|
|
8
|
-
viewBox="0.00 0.00 504.00
|
|
9
|
-
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4
|
|
7
|
+
<svg width="504pt" height="70pt"
|
|
8
|
+
viewBox="0.00 0.00 504.00 70.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
9
|
+
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 66)">
|
|
10
10
|
<title>dependencies</title>
|
|
11
|
-
<polygon fill="white" stroke="transparent" points="-4,4 -4,-
|
|
11
|
+
<polygon fill="white" stroke="transparent" points="-4,4 -4,-66 500,-66 500,4 -4,4"/>
|
|
12
12
|
<text text-anchor="start" x="227.01" y="-42.4" font-family="Times-12" font-weight="bold" font-size="14.00">Legend</text>
|
|
13
13
|
<polygon fill="#ffffb3" stroke="transparent" points="14,-10 14,-30 34,-30 34,-10 14,-10"/>
|
|
14
14
|
<text text-anchor="start" x="37.63" y="-15.4" font-family="Times-12" font-size="14.00">  Declarations</text>
|
|
@@ -20,59 +20,5 @@
|
|
|
20
20
|
<text text-anchor="start" x="333.67" y="-15.4" font-family="Times-12" font-size="14.00">  Providers</text>
|
|
21
21
|
<polygon fill="#fb8072" stroke="transparent" points="406,-10 406,-30 426,-30 426,-10 406,-10"/>
|
|
22
22
|
<text text-anchor="start" x="429.73" y="-15.4" font-family="Times-12" font-size="14.00">  Exports</text>
|
|
23
|
-
<g id="clust1" class="cluster">
|
|
24
|
-
<title>cluster_ConfirmModule</title>
|
|
25
|
-
<polygon fill="none" stroke="black" stroke-dasharray="1,5" points="101,-70 101,-268 395,-268 395,-70 101,-70"/>
|
|
26
|
-
</g>
|
|
27
|
-
<g id="clust3" class="cluster">
|
|
28
|
-
<title>cluster_ConfirmModule_imports</title>
|
|
29
|
-
<polygon fill="none" stroke="black" points="109,-78 109,-130 387,-130 387,-78 109,-78"/>
|
|
30
|
-
</g>
|
|
31
|
-
<g id="clust4" class="cluster">
|
|
32
|
-
<title>cluster_ConfirmModule_exports</title>
|
|
33
|
-
<polygon fill="none" stroke="black" points="178,-208 178,-260 314,-260 314,-208 178,-208"/>
|
|
34
|
-
</g>
|
|
35
|
-
<!-- ConfirmComponent -->
|
|
36
|
-
<g id="node1" class="node">
|
|
37
|
-
<title>ConfirmComponent</title>
|
|
38
|
-
<polygon fill="#8dd3c7" stroke="black" points="379.27,-122 376.27,-126 355.27,-126 352.27,-122 250.73,-122 250.73,-86 379.27,-86 379.27,-122"/>
|
|
39
|
-
<text text-anchor="middle" x="315" y="-99.8" font-family="Times,serif" font-size="14.00">ConfirmComponent</text>
|
|
40
|
-
</g>
|
|
41
|
-
<!-- ConfirmModule -->
|
|
42
|
-
<g id="node3" class="node">
|
|
43
|
-
<title>ConfirmModule</title>
|
|
44
|
-
<polygon fill="#8dd3c7" stroke="black" points="299.49,-187 296.49,-191 275.49,-191 272.49,-187 192.51,-187 192.51,-151 299.49,-151 299.49,-187"/>
|
|
45
|
-
<text text-anchor="middle" x="246" y="-164.8" font-family="Times,serif" font-size="14.00">ConfirmModule</text>
|
|
46
|
-
</g>
|
|
47
|
-
<!-- ConfirmComponent->ConfirmModule -->
|
|
48
|
-
<g id="edge1" class="edge">
|
|
49
|
-
<title>ConfirmComponent->ConfirmModule</title>
|
|
50
|
-
<path fill="none" stroke="black" d="M275.05,-122.11C275.05,-122.11 275.05,-140.99 275.05,-140.99"/>
|
|
51
|
-
<polygon fill="black" stroke="black" points="271.55,-140.99 275.05,-150.99 278.55,-140.99 271.55,-140.99"/>
|
|
52
|
-
</g>
|
|
53
|
-
<!-- ConfirmDirective -->
|
|
54
|
-
<g id="node2" class="node">
|
|
55
|
-
<title>ConfirmDirective</title>
|
|
56
|
-
<polygon fill="#8dd3c7" stroke="black" points="232.52,-122 229.52,-126 208.52,-126 205.52,-122 117.48,-122 117.48,-86 232.52,-86 232.52,-122"/>
|
|
57
|
-
<text text-anchor="middle" x="175" y="-99.8" font-family="Times,serif" font-size="14.00">ConfirmDirective</text>
|
|
58
|
-
</g>
|
|
59
|
-
<!-- ConfirmDirective->ConfirmModule -->
|
|
60
|
-
<g id="edge2" class="edge">
|
|
61
|
-
<title>ConfirmDirective->ConfirmModule</title>
|
|
62
|
-
<path fill="none" stroke="black" d="M212.63,-122.11C212.63,-122.11 212.63,-140.99 212.63,-140.99"/>
|
|
63
|
-
<polygon fill="black" stroke="black" points="209.13,-140.99 212.63,-150.99 216.13,-140.99 209.13,-140.99"/>
|
|
64
|
-
</g>
|
|
65
|
-
<!-- ConfirmDirective -->
|
|
66
|
-
<g id="node4" class="node">
|
|
67
|
-
<title>ConfirmDirective </title>
|
|
68
|
-
<polygon fill="#fb8072" stroke="black" points="305.52,-252 186.48,-252 186.48,-216 305.52,-216 305.52,-252"/>
|
|
69
|
-
<text text-anchor="middle" x="246" y="-229.8" font-family="Times,serif" font-size="14.00">ConfirmDirective </text>
|
|
70
|
-
</g>
|
|
71
|
-
<!-- ConfirmModule->ConfirmDirective -->
|
|
72
|
-
<g id="edge3" class="edge">
|
|
73
|
-
<title>ConfirmModule->ConfirmDirective </title>
|
|
74
|
-
<path fill="none" stroke="black" stroke-dasharray="5,2" d="M246,-187.11C246,-187.11 246,-205.99 246,-205.99"/>
|
|
75
|
-
<polygon fill="black" stroke="black" points="242.5,-205.99 246,-215.99 249.5,-205.99 242.5,-205.99"/>
|
|
76
|
-
</g>
|
|
77
23
|
</g>
|
|
78
24
|
</svg>
|
|
@@ -352,18 +352,7 @@
|
|
|
352
352
|
|
|
353
353
|
<div class="tab-pane fade tab-source-code" id="source">
|
|
354
354
|
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import { NgClass } from '@angular/common';
|
|
355
|
-
import {
|
|
356
|
-
ChangeDetectionStrategy,
|
|
357
|
-
ChangeDetectorRef,
|
|
358
|
-
Component,
|
|
359
|
-
forwardRef,
|
|
360
|
-
Inject,
|
|
361
|
-
Input,
|
|
362
|
-
isDevMode,
|
|
363
|
-
OnChanges,
|
|
364
|
-
OnInit,
|
|
365
|
-
SimpleChanges,
|
|
366
|
-
} from '@angular/core';
|
|
355
|
+
import { ChangeDetectionStrategy, Component, effect, forwardRef, isDevMode, signal, untracked, input, inject } from '@angular/core';
|
|
367
356
|
import { isTeardownLogic } from '@rxap/rxjs';
|
|
368
357
|
import {
|
|
369
358
|
clone,
|
|
@@ -374,6 +363,7 @@ import {
|
|
|
374
363
|
JSON_VIEW_IGNORED_PROPERTIES,
|
|
375
364
|
JSON_VIEW_IGNORED_TYPES,
|
|
376
365
|
} from './json-viewer.tokens';
|
|
366
|
+
import { Showcase } from '@ng-prism/core';
|
|
377
367
|
|
|
378
368
|
export interface Segment {
|
|
379
369
|
key: string;
|
|
@@ -383,6 +373,16 @@ export interface Segment {
|
|
|
383
373
|
expanded: boolean;
|
|
384
374
|
}
|
|
385
375
|
|
|
376
|
+
@Showcase<JsonViewerComponent>({
|
|
377
|
+
title: 'JSON Viewer',
|
|
378
|
+
category: 'Components',
|
|
379
|
+
description: 'Renders an object as an expandable tree of key value pairs.',
|
|
380
|
+
status: 'stable',
|
|
381
|
+
variants: [
|
|
382
|
+
{ name: 'Collapsed', inputs: { json: { name: 'rxap', version: '22.0.0', tags: [ 'angular', 'nest' ], author: { name: 'RxAP' } } } },
|
|
383
|
+
{ name: 'Expanded', inputs: { expanded: true, json: { name: 'rxap', version: '22.0.0', tags: [ 'angular', 'nest' ], author: { name: 'RxAP' } } } },
|
|
384
|
+
],
|
|
385
|
+
})
|
|
386
386
|
@Component({
|
|
387
387
|
selector: 'rxap-json-viewer',
|
|
388
388
|
templateUrl: './json-viewer.component.html',
|
|
@@ -391,26 +391,24 @@ export interface Segment {
|
|
|
391
391
|
host: { class: 'rxap-json-viewer' },
|
|
392
392
|
imports: [NgClass, forwardRef(() => JsonViewerComponent)]
|
|
393
393
|
})
|
|
394
|
-
export class JsonViewerComponent
|
|
394
|
+
export class JsonViewerComponent {
|
|
395
395
|
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
@Input() public expanded = false;
|
|
396
|
+
public readonly json = input<object | Record<string | number | symbol, unknown>>({});
|
|
397
|
+
public readonly expanded = input(false);
|
|
399
398
|
|
|
400
|
-
public inspectValue
|
|
399
|
+
public readonly inspectValue = signal<any>(undefined);
|
|
401
400
|
|
|
402
401
|
public ignoredProperties: Array<string | RegExp> = [];
|
|
403
402
|
public ignoredTypes: any[] = [];
|
|
404
403
|
|
|
405
404
|
public subscriptions = new Subscription();
|
|
406
405
|
|
|
407
|
-
public segments
|
|
406
|
+
public readonly segments = signal<Segment[]>([]);
|
|
407
|
+
|
|
408
|
+
constructor() {
|
|
409
|
+
const ignoredProperties = inject<Array<string | RegExp | Array<string | RegExp>>>(JSON_VIEW_IGNORED_PROPERTIES);
|
|
410
|
+
const ignoredTypes = inject<Array<any | any[]>>(JSON_VIEW_IGNORED_TYPES);
|
|
408
411
|
|
|
409
|
-
constructor(
|
|
410
|
-
@Inject(JSON_VIEW_IGNORED_PROPERTIES) ignoredProperties: Array<string | RegExp | Array<string | RegExp>>,
|
|
411
|
-
@Inject(JSON_VIEW_IGNORED_TYPES) ignoredTypes: Array<any | any[]>,
|
|
412
|
-
@Inject(ChangeDetectorRef) public cdr: ChangeDetectorRef,
|
|
413
|
-
) {
|
|
414
412
|
function flat(acc: any[], cur: any | any[]): any[] {
|
|
415
413
|
if (Array.isArray(cur)) {
|
|
416
414
|
acc.push(...cur.reduce(flat, []));
|
|
@@ -423,24 +421,23 @@ export class JsonViewerComponent implements OnInit, OnChanges {
|
|
|
423
421
|
|
|
424
422
|
this.ignoredProperties = ignoredProperties.reduce(flat, []);
|
|
425
423
|
this.ignoredTypes = ignoredTypes.reduce(flat, []);
|
|
426
|
-
}
|
|
427
424
|
|
|
428
|
-
|
|
429
|
-
|
|
425
|
+
effect(() => {
|
|
426
|
+
const json = this.json();
|
|
427
|
+
untracked(() => {
|
|
428
|
+
if (isDevMode() && this.initialized) {
|
|
429
|
+
console.debug('json change');
|
|
430
|
+
}
|
|
431
|
+
this.initialized = true;
|
|
432
|
+
this.setInspectValue(json);
|
|
433
|
+
});
|
|
434
|
+
});
|
|
430
435
|
}
|
|
431
436
|
|
|
432
|
-
|
|
433
|
-
const jsonChange = changes['json'];
|
|
434
|
-
if (jsonChange) {
|
|
435
|
-
if (isDevMode()) {
|
|
436
|
-
console.debug('json change');
|
|
437
|
-
}
|
|
438
|
-
this.setInspectValue(jsonChange.currentValue);
|
|
439
|
-
}
|
|
440
|
-
}
|
|
437
|
+
private initialized = false;
|
|
441
438
|
|
|
442
439
|
public cleanObject(obj: any, stack: any[] = []): any {
|
|
443
|
-
if (typeof obj
|
|
440
|
+
if (typeof obj !== 'object' || obj === null) {
|
|
444
441
|
return obj;
|
|
445
442
|
}
|
|
446
443
|
if (stack.some(item => item === obj)) {
|
|
@@ -481,21 +478,17 @@ export class JsonViewerComponent implements OnInit, OnChanges {
|
|
|
481
478
|
if (typeof json['toJSON'] === 'function') {
|
|
482
479
|
json = json.toJSON();
|
|
483
480
|
}
|
|
484
|
-
|
|
485
|
-
this.
|
|
486
|
-
this.
|
|
481
|
+
const inspectValue = this.cleanObject(clone(json));
|
|
482
|
+
this.inspectValue.set(inspectValue);
|
|
483
|
+
this.buildSegments(inspectValue);
|
|
487
484
|
}
|
|
488
485
|
}
|
|
489
486
|
|
|
490
487
|
public buildSegments(inspectValue: any) {
|
|
491
|
-
this.segments = [];
|
|
492
|
-
|
|
493
488
|
if (typeof inspectValue === 'object') {
|
|
494
|
-
Object.keys(inspectValue).
|
|
495
|
-
this.segments.push(this.parseKeyValue(key, inspectValue[key]));
|
|
496
|
-
});
|
|
489
|
+
this.segments.set(Object.keys(inspectValue).map(key => this.parseKeyValue(key, inspectValue[key])));
|
|
497
490
|
} else {
|
|
498
|
-
this.segments.
|
|
491
|
+
this.segments.set([ this.parseKeyValue(`(${ typeof inspectValue })`, inspectValue) ]);
|
|
499
492
|
}
|
|
500
493
|
}
|
|
501
494
|
|
|
@@ -506,6 +499,7 @@ export class JsonViewerComponent implements OnInit, OnChanges {
|
|
|
506
499
|
public toggle(segment: Segment) {
|
|
507
500
|
if (this.isExpandable(segment)) {
|
|
508
501
|
segment.expanded = !segment.expanded;
|
|
502
|
+
this.segments.update(segments => [ ...segments ]);
|
|
509
503
|
}
|
|
510
504
|
}
|
|
511
505
|
|
|
@@ -515,7 +509,7 @@ export class JsonViewerComponent implements OnInit, OnChanges {
|
|
|
515
509
|
value: value,
|
|
516
510
|
type: undefined,
|
|
517
511
|
description: '' + value,
|
|
518
|
-
expanded: this.expanded,
|
|
512
|
+
expanded: this.expanded(),
|
|
519
513
|
};
|
|
520
514
|
|
|
521
515
|
switch (typeof segment.value) {
|
package/compodoc/js/menu-wc.js
CHANGED
|
@@ -54,49 +54,6 @@ customElements.define('compodoc-menu', class extends HTMLElement {
|
|
|
54
54
|
</a>
|
|
55
55
|
</li>
|
|
56
56
|
</ul>
|
|
57
|
-
</li>
|
|
58
|
-
<li class="chapter modules">
|
|
59
|
-
<a data-type="chapter-link" href="modules.html">
|
|
60
|
-
<div class="menu-toggler linked" data-bs-toggle="collapse" ${ isNormalMode ?
|
|
61
|
-
'data-bs-target="#modules-links"' : 'data-bs-target="#xs-modules-links"' }>
|
|
62
|
-
<span class="icon ion-ios-archive"></span>
|
|
63
|
-
<span class="link-name">Modules</span>
|
|
64
|
-
<span class="icon ion-ios-arrow-down"></span>
|
|
65
|
-
</div>
|
|
66
|
-
</a>
|
|
67
|
-
<ul class="links collapse " ${ isNormalMode ? 'id="modules-links"' : 'id="xs-modules-links"' }>
|
|
68
|
-
<li class="link">
|
|
69
|
-
<a href="modules/ConfirmModule.html" data-type="entity-link" >ConfirmModule</a>
|
|
70
|
-
<li class="chapter inner">
|
|
71
|
-
<div class="simple menu-toggler" data-bs-toggle="collapse" ${ isNormalMode ?
|
|
72
|
-
'data-bs-target="#components-links-module-ConfirmModule-9cbd0b73eb85e87d14ee589fd8b3e7ab6ff895307f28a9eaa1c4c4869f0fa63efd99cb1c15b786b0421d1e1df7b34d9406ca7ae11727247dbc59b82722cb5fe1"' : 'data-bs-target="#xs-components-links-module-ConfirmModule-9cbd0b73eb85e87d14ee589fd8b3e7ab6ff895307f28a9eaa1c4c4869f0fa63efd99cb1c15b786b0421d1e1df7b34d9406ca7ae11727247dbc59b82722cb5fe1"' }>
|
|
73
|
-
<span class="icon ion-md-cog"></span>
|
|
74
|
-
<span>Components</span>
|
|
75
|
-
<span class="icon ion-ios-arrow-down"></span>
|
|
76
|
-
</div>
|
|
77
|
-
<ul class="links collapse" ${ isNormalMode ? 'id="components-links-module-ConfirmModule-9cbd0b73eb85e87d14ee589fd8b3e7ab6ff895307f28a9eaa1c4c4869f0fa63efd99cb1c15b786b0421d1e1df7b34d9406ca7ae11727247dbc59b82722cb5fe1"' :
|
|
78
|
-
'id="xs-components-links-module-ConfirmModule-9cbd0b73eb85e87d14ee589fd8b3e7ab6ff895307f28a9eaa1c4c4869f0fa63efd99cb1c15b786b0421d1e1df7b34d9406ca7ae11727247dbc59b82722cb5fe1"' }>
|
|
79
|
-
<li class="link">
|
|
80
|
-
<a href="components/ConfirmComponent.html" data-type="entity-link" data-context="sub-entity" data-context-id="modules" >ConfirmComponent</a>
|
|
81
|
-
</li>
|
|
82
|
-
</ul>
|
|
83
|
-
</li>
|
|
84
|
-
<li class="chapter inner">
|
|
85
|
-
<div class="simple menu-toggler" data-bs-toggle="collapse" ${ isNormalMode ?
|
|
86
|
-
'data-bs-target="#directives-links-module-ConfirmModule-9cbd0b73eb85e87d14ee589fd8b3e7ab6ff895307f28a9eaa1c4c4869f0fa63efd99cb1c15b786b0421d1e1df7b34d9406ca7ae11727247dbc59b82722cb5fe1"' : 'data-bs-target="#xs-directives-links-module-ConfirmModule-9cbd0b73eb85e87d14ee589fd8b3e7ab6ff895307f28a9eaa1c4c4869f0fa63efd99cb1c15b786b0421d1e1df7b34d9406ca7ae11727247dbc59b82722cb5fe1"' }>
|
|
87
|
-
<span class="icon ion-md-code-working"></span>
|
|
88
|
-
<span>Directives</span>
|
|
89
|
-
<span class="icon ion-ios-arrow-down"></span>
|
|
90
|
-
</div>
|
|
91
|
-
<ul class="links collapse" ${ isNormalMode ? 'id="directives-links-module-ConfirmModule-9cbd0b73eb85e87d14ee589fd8b3e7ab6ff895307f28a9eaa1c4c4869f0fa63efd99cb1c15b786b0421d1e1df7b34d9406ca7ae11727247dbc59b82722cb5fe1"' :
|
|
92
|
-
'id="xs-directives-links-module-ConfirmModule-9cbd0b73eb85e87d14ee589fd8b3e7ab6ff895307f28a9eaa1c4c4869f0fa63efd99cb1c15b786b0421d1e1df7b34d9406ca7ae11727247dbc59b82722cb5fe1"' }>
|
|
93
|
-
<li class="link">
|
|
94
|
-
<a href="directives/ConfirmDirective.html" data-type="entity-link" data-context="sub-entity" data-context-id="modules" >ConfirmDirective</a>
|
|
95
|
-
</li>
|
|
96
|
-
</ul>
|
|
97
|
-
</li>
|
|
98
|
-
</li>
|
|
99
|
-
</ul>
|
|
100
57
|
</li>
|
|
101
58
|
<li class="chapter">
|
|
102
59
|
<div class="simple menu-toggler" data-bs-toggle="collapse" ${ isNormalMode ? 'data-bs-target="#components-links"' :
|
|
@@ -33,7 +33,7 @@ customElements.define('compodoc-menu', /*#__PURE__*/function (_HTMLElement) {
|
|
|
33
33
|
}, {
|
|
34
34
|
key: "render",
|
|
35
35
|
value: function render(isNormalMode) {
|
|
36
|
-
var tp = lithtml.html("\n <nav>\n <ul class=\"list\">\n <li class=\"title\">\n <a href=\"index.html\" data-type=\"index-link\">angular-components</a>\n </li>\n\n <li class=\"divider\"></li>\n ".concat(isNormalMode ? "<div id=\"book-search-input\" role=\"search\"><input type=\"text\" placeholder=\"Type to search\"></div>" : '', "\n <li class=\"chapter\">\n <a data-type=\"chapter-link\" href=\"index.html\"><span class=\"icon ion-ios-home\"></span>Getting started</a>\n <ul class=\"links\">\n <li class=\"link\">\n <a href=\"overview.html\" data-type=\"chapter-link\">\n <span class=\"icon ion-ios-keypad\"></span>Overview\n </a>\n </li>\n <li class=\"link\">\n <a href=\"index.html\" data-type=\"chapter-link\">\n <span class=\"icon ion-ios-paper\"></span>README\n </a>\n </li>\n <li class=\"link\">\n <a href=\"changelog.html\" data-type=\"chapter-link\">\n <span class=\"icon ion-ios-paper\"></span>CHANGELOG\n </a>\n </li>\n <li class=\"link\">\n <a href=\"license.html\" data-type=\"chapter-link\">\n <span class=\"icon ion-ios-paper\"></span>LICENSE\n </a>\n </li>\n <li class=\"link\">\n <a href=\"dependencies.html\" data-type=\"chapter-link\">\n <span class=\"icon ion-ios-list\"></span>Dependencies\n </a>\n </li>\n <li class=\"link\">\n <a href=\"properties.html\" data-type=\"chapter-link\">\n <span class=\"icon ion-ios-apps\"></span>Properties\n </a>\n </li>\n </ul>\n </li>\n <li class=\"chapter modules\">\n <a data-type=\"chapter-link\" href=\"modules.html\">\n <div class=\"menu-toggler linked\" data-bs-toggle=\"collapse\" ").concat(isNormalMode ? 'data-bs-target="#modules-links"' : 'data-bs-target="#xs-modules-links"', ">\n <span class=\"icon ion-ios-archive\"></span>\n <span class=\"link-name\">Modules</span>\n <span class=\"icon ion-ios-arrow-down\"></span>\n </div>\n </a>\n <ul class=\"links collapse \" ").concat(isNormalMode ? 'id="modules-links"' : 'id="xs-modules-links"', ">\n <li class=\"link\">\n <a href=\"modules/ConfirmModule.html\" data-type=\"entity-link\" >ConfirmModule</a>\n <li class=\"chapter inner\">\n <div class=\"simple menu-toggler\" data-bs-toggle=\"collapse\" ").concat(isNormalMode ? 'data-bs-target="#components-links-module-ConfirmModule-9cbd0b73eb85e87d14ee589fd8b3e7ab6ff895307f28a9eaa1c4c4869f0fa63efd99cb1c15b786b0421d1e1df7b34d9406ca7ae11727247dbc59b82722cb5fe1"' : 'data-bs-target="#xs-components-links-module-ConfirmModule-9cbd0b73eb85e87d14ee589fd8b3e7ab6ff895307f28a9eaa1c4c4869f0fa63efd99cb1c15b786b0421d1e1df7b34d9406ca7ae11727247dbc59b82722cb5fe1"', ">\n <span class=\"icon ion-md-cog\"></span>\n <span>Components</span>\n <span class=\"icon ion-ios-arrow-down\"></span>\n </div>\n <ul class=\"links collapse\" ").concat(isNormalMode ? 'id="components-links-module-ConfirmModule-9cbd0b73eb85e87d14ee589fd8b3e7ab6ff895307f28a9eaa1c4c4869f0fa63efd99cb1c15b786b0421d1e1df7b34d9406ca7ae11727247dbc59b82722cb5fe1"' : 'id="xs-components-links-module-ConfirmModule-9cbd0b73eb85e87d14ee589fd8b3e7ab6ff895307f28a9eaa1c4c4869f0fa63efd99cb1c15b786b0421d1e1df7b34d9406ca7ae11727247dbc59b82722cb5fe1"', ">\n <li class=\"link\">\n <a href=\"components/ConfirmComponent.html\" data-type=\"entity-link\" data-context=\"sub-entity\" data-context-id=\"modules\" >ConfirmComponent</a>\n </li>\n </ul>\n </li>\n <li class=\"chapter inner\">\n <div class=\"simple menu-toggler\" data-bs-toggle=\"collapse\" ").concat(isNormalMode ? 'data-bs-target="#directives-links-module-ConfirmModule-9cbd0b73eb85e87d14ee589fd8b3e7ab6ff895307f28a9eaa1c4c4869f0fa63efd99cb1c15b786b0421d1e1df7b34d9406ca7ae11727247dbc59b82722cb5fe1"' : 'data-bs-target="#xs-directives-links-module-ConfirmModule-9cbd0b73eb85e87d14ee589fd8b3e7ab6ff895307f28a9eaa1c4c4869f0fa63efd99cb1c15b786b0421d1e1df7b34d9406ca7ae11727247dbc59b82722cb5fe1"', ">\n <span class=\"icon ion-md-code-working\"></span>\n <span>Directives</span>\n <span class=\"icon ion-ios-arrow-down\"></span>\n </div>\n <ul class=\"links collapse\" ").concat(isNormalMode ? 'id="directives-links-module-ConfirmModule-9cbd0b73eb85e87d14ee589fd8b3e7ab6ff895307f28a9eaa1c4c4869f0fa63efd99cb1c15b786b0421d1e1df7b34d9406ca7ae11727247dbc59b82722cb5fe1"' : 'id="xs-directives-links-module-ConfirmModule-9cbd0b73eb85e87d14ee589fd8b3e7ab6ff895307f28a9eaa1c4c4869f0fa63efd99cb1c15b786b0421d1e1df7b34d9406ca7ae11727247dbc59b82722cb5fe1"', ">\n <li class=\"link\">\n <a href=\"directives/ConfirmDirective.html\" data-type=\"entity-link\" data-context=\"sub-entity\" data-context-id=\"modules\" >ConfirmDirective</a>\n </li>\n </ul>\n </li>\n </li>\n </ul>\n </li>\n <li class=\"chapter\">\n <div class=\"simple menu-toggler\" data-bs-toggle=\"collapse\" ").concat(isNormalMode ? 'data-bs-target="#components-links"' : 'data-bs-target="#xs-components-links"', ">\n <span class=\"icon ion-md-cog\"></span>\n <span>Components</span>\n <span class=\"icon ion-ios-arrow-down\"></span>\n </div>\n <ul class=\"links collapse \" ").concat(isNormalMode ? 'id="components-links"' : 'id="xs-components-links"', ">\n <li class=\"link\">\n <a href=\"components/ConfirmComponent.html\" data-type=\"entity-link\" >ConfirmComponent</a>\n </li>\n <li class=\"link\">\n <a href=\"components/CopyToClipboardButtonComponent.html\" data-type=\"entity-link\" >CopyToClipboardButtonComponent</a>\n </li>\n <li class=\"link\">\n <a href=\"components/CopyToClipboardComponent.html\" data-type=\"entity-link\" >CopyToClipboardComponent</a>\n </li>\n <li class=\"link\">\n <a href=\"components/EmptyRouterOutletComponent.html\" data-type=\"entity-link\" >EmptyRouterOutletComponent</a>\n </li>\n <li class=\"link\">\n <a href=\"components/JsonViewerComponent.html\" data-type=\"entity-link\" >JsonViewerComponent</a>\n </li>\n <li class=\"link\">\n <a href=\"components/NavigateBackButtonComponent.html\" data-type=\"entity-link\" >NavigateBackButtonComponent</a>\n </li>\n </ul>\n </li>\n <li class=\"chapter\">\n <div class=\"simple menu-toggler\" data-bs-toggle=\"collapse\" ").concat(isNormalMode ? 'data-bs-target="#directives-links"' : 'data-bs-target="#xs-directives-links"', ">\n <span class=\"icon ion-md-code-working\"></span>\n <span>Directives</span>\n <span class=\"icon ion-ios-arrow-down\"></span>\n </div>\n <ul class=\"links collapse \" ").concat(isNormalMode ? 'id="directives-links"' : 'id="xs-directives-links"', ">\n <li class=\"link\">\n <a href=\"directives/ConfirmDirective.html\" data-type=\"entity-link\" >ConfirmDirective</a>\n </li>\n </ul>\n </li>\n <li class=\"chapter\">\n <div class=\"simple menu-toggler\" data-bs-toggle=\"collapse\" ").concat(isNormalMode ? 'data-bs-target="#interfaces-links"' : 'data-bs-target="#xs-interfaces-links"', ">\n <span class=\"icon ion-md-information-circle-outline\"></span>\n <span>Interfaces</span>\n <span class=\"icon ion-ios-arrow-down\"></span>\n </div>\n <ul class=\"links collapse \" ").concat(isNormalMode ? ' id="interfaces-links"' : 'id="xs-interfaces-links"', ">\n <li class=\"link\">\n <a href=\"interfaces/Segment.html\" data-type=\"entity-link\" >Segment</a>\n </li>\n </ul>\n </li>\n <li class=\"chapter\">\n <div class=\"simple menu-toggler\" data-bs-toggle=\"collapse\" ").concat(isNormalMode ? 'data-bs-target="#miscellaneous-links"' : 'data-bs-target="#xs-miscellaneous-links"', ">\n <span class=\"icon ion-ios-cube\"></span>\n <span>Miscellaneous</span>\n <span class=\"icon ion-ios-arrow-down\"></span>\n </div>\n <ul class=\"links collapse \" ").concat(isNormalMode ? 'id="miscellaneous-links"' : 'id="xs-miscellaneous-links"', ">\n <li class=\"link\">\n <a href=\"miscellaneous/functions.html\" data-type=\"entity-link\">Functions</a>\n </li>\n <li class=\"link\">\n <a href=\"miscellaneous/variables.html\" data-type=\"entity-link\">Variables</a>\n </li>\n </ul>\n </li>\n <li class=\"divider\"></li>\n <li class=\"copyright\">\n Documentation generated using <a href=\"https://compodoc.app/\" target=\"_blank\" rel=\"noopener noreferrer\">\n <img data-src=\"images/compodoc-vectorise.png\" class=\"img-responsive\" data-type=\"compodoc-logo\">\n </a>\n </li>\n </ul>\n </nav>\n "));
|
|
36
|
+
var tp = lithtml.html("\n <nav>\n <ul class=\"list\">\n <li class=\"title\">\n <a href=\"index.html\" data-type=\"index-link\">angular-components</a>\n </li>\n\n <li class=\"divider\"></li>\n ".concat(isNormalMode ? "<div id=\"book-search-input\" role=\"search\"><input type=\"text\" placeholder=\"Type to search\"></div>" : '', "\n <li class=\"chapter\">\n <a data-type=\"chapter-link\" href=\"index.html\"><span class=\"icon ion-ios-home\"></span>Getting started</a>\n <ul class=\"links\">\n <li class=\"link\">\n <a href=\"overview.html\" data-type=\"chapter-link\">\n <span class=\"icon ion-ios-keypad\"></span>Overview\n </a>\n </li>\n <li class=\"link\">\n <a href=\"index.html\" data-type=\"chapter-link\">\n <span class=\"icon ion-ios-paper\"></span>README\n </a>\n </li>\n <li class=\"link\">\n <a href=\"changelog.html\" data-type=\"chapter-link\">\n <span class=\"icon ion-ios-paper\"></span>CHANGELOG\n </a>\n </li>\n <li class=\"link\">\n <a href=\"license.html\" data-type=\"chapter-link\">\n <span class=\"icon ion-ios-paper\"></span>LICENSE\n </a>\n </li>\n <li class=\"link\">\n <a href=\"dependencies.html\" data-type=\"chapter-link\">\n <span class=\"icon ion-ios-list\"></span>Dependencies\n </a>\n </li>\n <li class=\"link\">\n <a href=\"properties.html\" data-type=\"chapter-link\">\n <span class=\"icon ion-ios-apps\"></span>Properties\n </a>\n </li>\n </ul>\n </li>\n <li class=\"chapter\">\n <div class=\"simple menu-toggler\" data-bs-toggle=\"collapse\" ").concat(isNormalMode ? 'data-bs-target="#components-links"' : 'data-bs-target="#xs-components-links"', ">\n <span class=\"icon ion-md-cog\"></span>\n <span>Components</span>\n <span class=\"icon ion-ios-arrow-down\"></span>\n </div>\n <ul class=\"links collapse \" ").concat(isNormalMode ? 'id="components-links"' : 'id="xs-components-links"', ">\n <li class=\"link\">\n <a href=\"components/ConfirmComponent.html\" data-type=\"entity-link\" >ConfirmComponent</a>\n </li>\n <li class=\"link\">\n <a href=\"components/CopyToClipboardButtonComponent.html\" data-type=\"entity-link\" >CopyToClipboardButtonComponent</a>\n </li>\n <li class=\"link\">\n <a href=\"components/CopyToClipboardComponent.html\" data-type=\"entity-link\" >CopyToClipboardComponent</a>\n </li>\n <li class=\"link\">\n <a href=\"components/EmptyRouterOutletComponent.html\" data-type=\"entity-link\" >EmptyRouterOutletComponent</a>\n </li>\n <li class=\"link\">\n <a href=\"components/JsonViewerComponent.html\" data-type=\"entity-link\" >JsonViewerComponent</a>\n </li>\n <li class=\"link\">\n <a href=\"components/NavigateBackButtonComponent.html\" data-type=\"entity-link\" >NavigateBackButtonComponent</a>\n </li>\n </ul>\n </li>\n <li class=\"chapter\">\n <div class=\"simple menu-toggler\" data-bs-toggle=\"collapse\" ").concat(isNormalMode ? 'data-bs-target="#directives-links"' : 'data-bs-target="#xs-directives-links"', ">\n <span class=\"icon ion-md-code-working\"></span>\n <span>Directives</span>\n <span class=\"icon ion-ios-arrow-down\"></span>\n </div>\n <ul class=\"links collapse \" ").concat(isNormalMode ? 'id="directives-links"' : 'id="xs-directives-links"', ">\n <li class=\"link\">\n <a href=\"directives/ConfirmDirective.html\" data-type=\"entity-link\" >ConfirmDirective</a>\n </li>\n </ul>\n </li>\n <li class=\"chapter\">\n <div class=\"simple menu-toggler\" data-bs-toggle=\"collapse\" ").concat(isNormalMode ? 'data-bs-target="#interfaces-links"' : 'data-bs-target="#xs-interfaces-links"', ">\n <span class=\"icon ion-md-information-circle-outline\"></span>\n <span>Interfaces</span>\n <span class=\"icon ion-ios-arrow-down\"></span>\n </div>\n <ul class=\"links collapse \" ").concat(isNormalMode ? ' id="interfaces-links"' : 'id="xs-interfaces-links"', ">\n <li class=\"link\">\n <a href=\"interfaces/Segment.html\" data-type=\"entity-link\" >Segment</a>\n </li>\n </ul>\n </li>\n <li class=\"chapter\">\n <div class=\"simple menu-toggler\" data-bs-toggle=\"collapse\" ").concat(isNormalMode ? 'data-bs-target="#miscellaneous-links"' : 'data-bs-target="#xs-miscellaneous-links"', ">\n <span class=\"icon ion-ios-cube\"></span>\n <span>Miscellaneous</span>\n <span class=\"icon ion-ios-arrow-down\"></span>\n </div>\n <ul class=\"links collapse \" ").concat(isNormalMode ? 'id="miscellaneous-links"' : 'id="xs-miscellaneous-links"', ">\n <li class=\"link\">\n <a href=\"miscellaneous/functions.html\" data-type=\"entity-link\">Functions</a>\n </li>\n <li class=\"link\">\n <a href=\"miscellaneous/variables.html\" data-type=\"entity-link\">Variables</a>\n </li>\n </ul>\n </li>\n <li class=\"divider\"></li>\n <li class=\"copyright\">\n Documentation generated using <a href=\"https://compodoc.app/\" target=\"_blank\" rel=\"noopener noreferrer\">\n <img data-src=\"images/compodoc-vectorise.png\" class=\"img-responsive\" data-type=\"compodoc-logo\">\n </a>\n </li>\n </ul>\n </nav>\n "));
|
|
37
37
|
this.innerHTML = tp.strings;
|
|
38
38
|
}
|
|
39
39
|
}]);
|