@rxap/components 19.2.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 +40 -0
- package/compodoc/changelog.html +38 -0
- package/compodoc/components/ConfirmComponent.html +106 -20
- package/compodoc/components/CopyToClipboardComponent.html +11 -14
- package/compodoc/components/JsonViewerComponent.html +126 -208
- package/compodoc/dependencies.html +9 -9
- package/compodoc/directives/ConfirmDirective.html +271 -309
- package/compodoc/graph/dependencies.svg +4 -58
- package/compodoc/interfaces/Segment.html +42 -52
- 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 -903
- 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 -98
- 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 -97
- 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 +100 -146
- package/fesm2022/rxap-components.mjs.map +1 -1
- package/package.json +23 -22
- package/types/rxap-components.d.ts +99 -0
- package/docs/html/classes/ConfirmModule.html +0 -2
- package/docs/markdown/classes/ConfirmModule.md +0 -19
- package/docs/wiki/Class.ConfirmModule.md +0 -15
- package/index.d.ts +0 -9
- package/lib/confirm/confirm.component.d.ts +0 -8
- package/lib/confirm/confirm.directive.d.ts +0 -23
- package/lib/confirm/confirm.module.d.ts +0 -8
- package/lib/copy-to-clipboard/copy-to-clipboard.component.d.ts +0 -12
- package/lib/copy-to-clipboard-button/copy-to-clipboard-button.component.d.ts +0 -8
- package/lib/empty-router-outlet/empty-router-outlet.component.d.ts +0 -5
- package/lib/json-viewer/json-viewer.component.d.ts +0 -31
- package/lib/json-viewer/json-viewer.tokens.d.ts +0 -6
- package/lib/navigate-back-button/navigate-back-button.component.d.ts +0 -6
|
@@ -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>
|
|
@@ -351,23 +351,8 @@
|
|
|
351
351
|
|
|
352
352
|
|
|
353
353
|
<div class="tab-pane fade tab-source-code" id="source">
|
|
354
|
-
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import {
|
|
355
|
-
|
|
356
|
-
NgFor,
|
|
357
|
-
NgIf,
|
|
358
|
-
} from '@angular/common';
|
|
359
|
-
import {
|
|
360
|
-
ChangeDetectionStrategy,
|
|
361
|
-
ChangeDetectorRef,
|
|
362
|
-
Component,
|
|
363
|
-
forwardRef,
|
|
364
|
-
Inject,
|
|
365
|
-
Input,
|
|
366
|
-
isDevMode,
|
|
367
|
-
OnChanges,
|
|
368
|
-
OnInit,
|
|
369
|
-
SimpleChanges,
|
|
370
|
-
} from '@angular/core';
|
|
354
|
+
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import { NgClass } from '@angular/common';
|
|
355
|
+
import { ChangeDetectionStrategy, Component, effect, forwardRef, isDevMode, signal, untracked, input, inject } from '@angular/core';
|
|
371
356
|
import { isTeardownLogic } from '@rxap/rxjs';
|
|
372
357
|
import {
|
|
373
358
|
clone,
|
|
@@ -378,6 +363,7 @@ import {
|
|
|
378
363
|
JSON_VIEW_IGNORED_PROPERTIES,
|
|
379
364
|
JSON_VIEW_IGNORED_TYPES,
|
|
380
365
|
} from './json-viewer.tokens';
|
|
366
|
+
import { Showcase } from '@ng-prism/core';
|
|
381
367
|
|
|
382
368
|
export interface Segment {
|
|
383
369
|
key: string;
|
|
@@ -387,34 +373,42 @@ export interface Segment {
|
|
|
387
373
|
expanded: boolean;
|
|
388
374
|
}
|
|
389
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
|
+
})
|
|
390
386
|
@Component({
|
|
391
387
|
selector: 'rxap-json-viewer',
|
|
392
388
|
templateUrl: './json-viewer.component.html',
|
|
393
389
|
styleUrls: ['./json-viewer.component.scss'],
|
|
394
390
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
395
391
|
host: { class: 'rxap-json-viewer' },
|
|
396
|
-
imports: [
|
|
392
|
+
imports: [NgClass, forwardRef(() => JsonViewerComponent)]
|
|
397
393
|
})
|
|
398
|
-
export class JsonViewerComponent
|
|
394
|
+
export class JsonViewerComponent {
|
|
399
395
|
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
@Input() public expanded = false;
|
|
396
|
+
public readonly json = input<object | Record<string | number | symbol, unknown>>({});
|
|
397
|
+
public readonly expanded = input(false);
|
|
403
398
|
|
|
404
|
-
public inspectValue
|
|
399
|
+
public readonly inspectValue = signal<any>(undefined);
|
|
405
400
|
|
|
406
401
|
public ignoredProperties: Array<string | RegExp> = [];
|
|
407
402
|
public ignoredTypes: any[] = [];
|
|
408
403
|
|
|
409
404
|
public subscriptions = new Subscription();
|
|
410
405
|
|
|
411
|
-
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);
|
|
412
411
|
|
|
413
|
-
constructor(
|
|
414
|
-
@Inject(JSON_VIEW_IGNORED_PROPERTIES) ignoredProperties: Array<string | RegExp | Array<string | RegExp>>,
|
|
415
|
-
@Inject(JSON_VIEW_IGNORED_TYPES) ignoredTypes: Array<any | any[]>,
|
|
416
|
-
@Inject(ChangeDetectorRef) public cdr: ChangeDetectorRef,
|
|
417
|
-
) {
|
|
418
412
|
function flat(acc: any[], cur: any | any[]): any[] {
|
|
419
413
|
if (Array.isArray(cur)) {
|
|
420
414
|
acc.push(...cur.reduce(flat, []));
|
|
@@ -427,24 +421,23 @@ export class JsonViewerComponent implements OnInit, OnChanges {
|
|
|
427
421
|
|
|
428
422
|
this.ignoredProperties = ignoredProperties.reduce(flat, []);
|
|
429
423
|
this.ignoredTypes = ignoredTypes.reduce(flat, []);
|
|
430
|
-
}
|
|
431
424
|
|
|
432
|
-
|
|
433
|
-
|
|
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
|
+
});
|
|
434
435
|
}
|
|
435
436
|
|
|
436
|
-
|
|
437
|
-
const jsonChange = changes['json'];
|
|
438
|
-
if (jsonChange) {
|
|
439
|
-
if (isDevMode()) {
|
|
440
|
-
console.debug('json change');
|
|
441
|
-
}
|
|
442
|
-
this.setInspectValue(jsonChange.currentValue);
|
|
443
|
-
}
|
|
444
|
-
}
|
|
437
|
+
private initialized = false;
|
|
445
438
|
|
|
446
439
|
public cleanObject(obj: any, stack: any[] = []): any {
|
|
447
|
-
if (typeof obj
|
|
440
|
+
if (typeof obj !== 'object' || obj === null) {
|
|
448
441
|
return obj;
|
|
449
442
|
}
|
|
450
443
|
if (stack.some(item => item === obj)) {
|
|
@@ -485,21 +478,17 @@ export class JsonViewerComponent implements OnInit, OnChanges {
|
|
|
485
478
|
if (typeof json['toJSON'] === 'function') {
|
|
486
479
|
json = json.toJSON();
|
|
487
480
|
}
|
|
488
|
-
|
|
489
|
-
this.
|
|
490
|
-
this.
|
|
481
|
+
const inspectValue = this.cleanObject(clone(json));
|
|
482
|
+
this.inspectValue.set(inspectValue);
|
|
483
|
+
this.buildSegments(inspectValue);
|
|
491
484
|
}
|
|
492
485
|
}
|
|
493
486
|
|
|
494
487
|
public buildSegments(inspectValue: any) {
|
|
495
|
-
this.segments = [];
|
|
496
|
-
|
|
497
488
|
if (typeof inspectValue === 'object') {
|
|
498
|
-
Object.keys(inspectValue).
|
|
499
|
-
this.segments.push(this.parseKeyValue(key, inspectValue[key]));
|
|
500
|
-
});
|
|
489
|
+
this.segments.set(Object.keys(inspectValue).map(key => this.parseKeyValue(key, inspectValue[key])));
|
|
501
490
|
} else {
|
|
502
|
-
this.segments.
|
|
491
|
+
this.segments.set([ this.parseKeyValue(`(${ typeof inspectValue })`, inspectValue) ]);
|
|
503
492
|
}
|
|
504
493
|
}
|
|
505
494
|
|
|
@@ -510,6 +499,7 @@ export class JsonViewerComponent implements OnInit, OnChanges {
|
|
|
510
499
|
public toggle(segment: Segment) {
|
|
511
500
|
if (this.isExpandable(segment)) {
|
|
512
501
|
segment.expanded = !segment.expanded;
|
|
502
|
+
this.segments.update(segments => [ ...segments ]);
|
|
513
503
|
}
|
|
514
504
|
}
|
|
515
505
|
|
|
@@ -519,7 +509,7 @@ export class JsonViewerComponent implements OnInit, OnChanges {
|
|
|
519
509
|
value: value,
|
|
520
510
|
type: undefined,
|
|
521
511
|
description: '' + value,
|
|
522
|
-
expanded: this.expanded,
|
|
512
|
+
expanded: this.expanded(),
|
|
523
513
|
};
|
|
524
514
|
|
|
525
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
|
}]);
|