@ng-doc/app 22.0.0-beta.1 → 22.0.0
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/README.md +20 -29
- package/fesm2022/ng-doc-app-classes-content-anchor-controller.mjs +363 -0
- package/fesm2022/ng-doc-app-classes-content-anchor-controller.mjs.map +1 -0
- package/fesm2022/ng-doc-app-classes-content-controller.mjs +299 -0
- package/fesm2022/ng-doc-app-classes-content-controller.mjs.map +1 -0
- package/fesm2022/ng-doc-app-classes-default-search-engine.mjs +51 -35
- package/fesm2022/ng-doc-app-classes-default-search-engine.mjs.map +1 -1
- package/fesm2022/ng-doc-app-classes-root-page.mjs.map +1 -1
- package/fesm2022/ng-doc-app-classes-search-engine.mjs.map +1 -1
- package/fesm2022/ng-doc-app-classes.mjs +2 -0
- package/fesm2022/ng-doc-app-classes.mjs.map +1 -1
- package/fesm2022/ng-doc-app-components-api-list.mjs +178 -68
- package/fesm2022/ng-doc-app-components-api-list.mjs.map +1 -1
- package/fesm2022/ng-doc-app-components-breadcrumb.mjs +13 -10
- package/fesm2022/ng-doc-app-components-breadcrumb.mjs.map +1 -1
- package/fesm2022/ng-doc-app-components-code.mjs +152 -25
- package/fesm2022/ng-doc-app-components-code.mjs.map +1 -1
- package/fesm2022/ng-doc-app-components-command-palette.mjs +498 -0
- package/fesm2022/ng-doc-app-components-command-palette.mjs.map +1 -0
- package/fesm2022/ng-doc-app-components-copy-button.mjs +38 -21
- package/fesm2022/ng-doc-app-components-copy-button.mjs.map +1 -1
- package/fesm2022/ng-doc-app-components-demo-displayer.mjs +36 -29
- package/fesm2022/ng-doc-app-components-demo-displayer.mjs.map +1 -1
- package/fesm2022/ng-doc-app-components-demo-pane.mjs +39 -36
- package/fesm2022/ng-doc-app-components-demo-pane.mjs.map +1 -1
- package/fesm2022/ng-doc-app-components-demo.mjs +129 -44
- package/fesm2022/ng-doc-app-components-demo.mjs.map +1 -1
- package/fesm2022/ng-doc-app-components-fullscreen-button.mjs +12 -9
- package/fesm2022/ng-doc-app-components-fullscreen-button.mjs.map +1 -1
- package/fesm2022/ng-doc-app-components-fullscreen-toggle.mjs +79 -0
- package/fesm2022/ng-doc-app-components-fullscreen-toggle.mjs.map +1 -0
- package/fesm2022/ng-doc-app-components-heading-anchor.mjs +54 -21
- package/fesm2022/ng-doc-app-components-heading-anchor.mjs.map +1 -1
- package/fesm2022/ng-doc-app-components-image-viewer.mjs +187 -91
- package/fesm2022/ng-doc-app-components-image-viewer.mjs.map +1 -1
- package/fesm2022/ng-doc-app-components-kind-icon.mjs +42 -25
- package/fesm2022/ng-doc-app-components-kind-icon.mjs.map +1 -1
- package/fesm2022/ng-doc-app-components-link.mjs +12 -9
- package/fesm2022/ng-doc-app-components-link.mjs.map +1 -1
- package/fesm2022/ng-doc-app-components-members.mjs +30 -0
- package/fesm2022/ng-doc-app-components-members.mjs.map +1 -0
- package/fesm2022/ng-doc-app-components-mermaid-viewer.mjs +69 -24
- package/fesm2022/ng-doc-app-components-mermaid-viewer.mjs.map +1 -1
- package/fesm2022/ng-doc-app-components-navbar.mjs +39 -49
- package/fesm2022/ng-doc-app-components-navbar.mjs.map +1 -1
- package/fesm2022/ng-doc-app-components-page-header.mjs +73 -10
- package/fesm2022/ng-doc-app-components-page-header.mjs.map +1 -1
- package/fesm2022/ng-doc-app-components-page-link.mjs +123 -31
- package/fesm2022/ng-doc-app-components-page-link.mjs.map +1 -1
- package/fesm2022/ng-doc-app-components-page-navigation.mjs +17 -19
- package/fesm2022/ng-doc-app-components-page-navigation.mjs.map +1 -1
- package/fesm2022/ng-doc-app-components-page-wrapper.mjs +56 -35
- package/fesm2022/ng-doc-app-components-page-wrapper.mjs.map +1 -1
- package/fesm2022/ng-doc-app-components-page.mjs +168 -24
- package/fesm2022/ng-doc-app-components-page.mjs.map +1 -1
- package/fesm2022/ng-doc-app-components-playground.mjs +392 -263
- package/fesm2022/ng-doc-app-components-playground.mjs.map +1 -1
- package/fesm2022/ng-doc-app-components-root.mjs +48 -31
- package/fesm2022/ng-doc-app-components-root.mjs.map +1 -1
- package/fesm2022/ng-doc-app-components-search-result.mjs +22 -21
- package/fesm2022/ng-doc-app-components-search-result.mjs.map +1 -1
- package/fesm2022/ng-doc-app-components-search.mjs +64 -33
- package/fesm2022/ng-doc-app-components-search.mjs.map +1 -1
- package/fesm2022/ng-doc-app-components-sidebar.mjs +90 -63
- package/fesm2022/ng-doc-app-components-sidebar.mjs.map +1 -1
- package/fesm2022/ng-doc-app-components-tabs.mjs +18 -12
- package/fesm2022/ng-doc-app-components-tabs.mjs.map +1 -1
- package/fesm2022/ng-doc-app-components-theme-toggle.mjs +33 -21
- package/fesm2022/ng-doc-app-components-theme-toggle.mjs.map +1 -1
- package/fesm2022/ng-doc-app-components-toc.mjs +268 -90
- package/fesm2022/ng-doc-app-components-toc.mjs.map +1 -1
- package/fesm2022/ng-doc-app-components.mjs +3 -1
- package/fesm2022/ng-doc-app-components.mjs.map +1 -1
- package/fesm2022/ng-doc-app-defaults-default-processors.mjs +2 -1
- package/fesm2022/ng-doc-app-defaults-default-processors.mjs.map +1 -1
- package/fesm2022/ng-doc-app-directives-code-highlighter.mjs +14 -7
- package/fesm2022/ng-doc-app-directives-code-highlighter.mjs.map +1 -1
- package/fesm2022/ng-doc-app-directives-members-filter.mjs +276 -0
- package/fesm2022/ng-doc-app-directives-members-filter.mjs.map +1 -0
- package/fesm2022/ng-doc-app-directives-route-active.mjs +34 -30
- package/fesm2022/ng-doc-app-directives-route-active.mjs.map +1 -1
- package/fesm2022/ng-doc-app-directives.mjs +1 -0
- package/fesm2022/ng-doc-app-directives.mjs.map +1 -1
- package/fesm2022/ng-doc-app-helpers.mjs +285 -1
- package/fesm2022/ng-doc-app-helpers.mjs.map +1 -1
- package/fesm2022/ng-doc-app-pipes-decode-uri-component.mjs +6 -4
- package/fesm2022/ng-doc-app-pipes-decode-uri-component.mjs.map +1 -1
- package/fesm2022/ng-doc-app-pipes-extract-value.mjs +6 -4
- package/fesm2022/ng-doc-app-pipes-extract-value.mjs.map +1 -1
- package/fesm2022/ng-doc-app-pipes-filter-by-text.mjs +7 -4
- package/fesm2022/ng-doc-app-pipes-filter-by-text.mjs.map +1 -1
- package/fesm2022/ng-doc-app-pipes-sanitize-html.mjs +8 -5
- package/fesm2022/ng-doc-app-pipes-sanitize-html.mjs.map +1 -1
- package/fesm2022/ng-doc-app-processors-page-processor.mjs +86 -23
- package/fesm2022/ng-doc-app-processors-page-processor.mjs.map +1 -1
- package/fesm2022/ng-doc-app-processors-processors-tooltip.mjs +26 -25
- package/fesm2022/ng-doc-app-processors-processors-tooltip.mjs.map +1 -1
- package/fesm2022/ng-doc-app-processors-processors.mjs +12 -1
- package/fesm2022/ng-doc-app-processors-processors.mjs.map +1 -1
- package/fesm2022/ng-doc-app-providers-ng-doc-app.mjs +31 -2
- package/fesm2022/ng-doc-app-providers-ng-doc-app.mjs.map +1 -1
- package/fesm2022/ng-doc-app-services-content-scroll-intent.mjs +122 -0
- package/fesm2022/ng-doc-app-services-content-scroll-intent.mjs.map +1 -0
- package/fesm2022/ng-doc-app-services-content-state.mjs +57 -0
- package/fesm2022/ng-doc-app-services-content-state.mjs.map +1 -0
- package/fesm2022/ng-doc-app-services-fullscreen-route.mjs +74 -0
- package/fesm2022/ng-doc-app-services-fullscreen-route.mjs.map +1 -0
- package/fesm2022/ng-doc-app-services-highlighter.mjs +83 -14
- package/fesm2022/ng-doc-app-services-highlighter.mjs.map +1 -1
- package/fesm2022/ng-doc-app-services-route-preloader.mjs +360 -0
- package/fesm2022/ng-doc-app-services-route-preloader.mjs.map +1 -0
- package/fesm2022/ng-doc-app-services-shortcuts.mjs +214 -0
- package/fesm2022/ng-doc-app-services-shortcuts.mjs.map +1 -0
- package/fesm2022/ng-doc-app-services-sidebar.mjs +59 -25
- package/fesm2022/ng-doc-app-services-sidebar.mjs.map +1 -1
- package/fesm2022/ng-doc-app-services-store.mjs +8 -8
- package/fesm2022/ng-doc-app-services-store.mjs.map +1 -1
- package/fesm2022/ng-doc-app-services-theme.mjs +32 -12
- package/fesm2022/ng-doc-app-services-theme.mjs.map +1 -1
- package/fesm2022/ng-doc-app-services.mjs +143 -0
- package/fesm2022/ng-doc-app-services.mjs.map +1 -1
- package/fesm2022/ng-doc-app-tokens.mjs +7 -28
- package/fesm2022/ng-doc-app-tokens.mjs.map +1 -1
- package/fesm2022/ng-doc-app-type-controls-boolean-control.mjs +18 -9
- package/fesm2022/ng-doc-app-type-controls-boolean-control.mjs.map +1 -1
- package/fesm2022/ng-doc-app-type-controls-number-control.mjs +12 -9
- package/fesm2022/ng-doc-app-type-controls-number-control.mjs.map +1 -1
- package/fesm2022/ng-doc-app-type-controls-string-control.mjs +12 -9
- package/fesm2022/ng-doc-app-type-controls-string-control.mjs.map +1 -1
- package/fesm2022/ng-doc-app-type-controls-type-alias-control.mjs +22 -16
- package/fesm2022/ng-doc-app-type-controls-type-alias-control.mjs.map +1 -1
- package/package.json +74 -32
- package/styles/global.css +1129 -205
- package/styles/main.css +1129 -205
- package/styles/themes/dark.css +78 -56
- package/types/ng-doc-app-classes-content-anchor-controller.d.ts +54 -0
- package/types/ng-doc-app-classes-content-controller.d.ts +94 -0
- package/types/ng-doc-app-classes-default-search-engine.d.ts +9 -1
- package/types/ng-doc-app-classes-root-page.d.ts +6 -1
- package/types/ng-doc-app-classes-search-engine.d.ts +5 -0
- package/types/ng-doc-app-classes.d.ts +2 -0
- package/types/ng-doc-app-components-api-list.d.ts +69 -20
- package/types/ng-doc-app-components-breadcrumb.d.ts +8 -3
- package/types/ng-doc-app-components-code.d.ts +46 -12
- package/types/ng-doc-app-components-command-palette.d.ts +147 -0
- package/types/ng-doc-app-components-copy-button.d.ts +18 -6
- package/types/ng-doc-app-components-demo-displayer.d.ts +23 -10
- package/types/ng-doc-app-components-demo-pane.d.ts +19 -15
- package/types/ng-doc-app-components-demo.d.ts +62 -15
- package/types/ng-doc-app-components-fullscreen-button.d.ts +4 -2
- package/types/ng-doc-app-components-fullscreen-toggle.d.ts +24 -0
- package/types/ng-doc-app-components-heading-anchor.d.ts +26 -7
- package/types/ng-doc-app-components-image-viewer.d.ts +71 -7
- package/types/ng-doc-app-components-kind-icon.d.ts +28 -7
- package/types/ng-doc-app-components-link.d.ts +6 -2
- package/types/ng-doc-app-components-members.d.ts +13 -0
- package/types/ng-doc-app-components-mermaid-viewer.d.ts +21 -6
- package/types/ng-doc-app-components-navbar.d.ts +25 -15
- package/types/ng-doc-app-components-page-header.d.ts +28 -4
- package/types/ng-doc-app-components-page-link.d.ts +34 -15
- package/types/ng-doc-app-components-page-navigation.d.ts +10 -5
- package/types/ng-doc-app-components-page-wrapper.d.ts +35 -11
- package/types/ng-doc-app-components-page.d.ts +57 -6
- package/types/ng-doc-app-components-playground.d.ts +146 -78
- package/types/ng-doc-app-components-root.d.ts +28 -7
- package/types/ng-doc-app-components-search-result.d.ts +14 -6
- package/types/ng-doc-app-components-search.d.ts +19 -7
- package/types/ng-doc-app-components-tabs.d.ts +13 -4
- package/types/ng-doc-app-components-theme-toggle.d.ts +18 -5
- package/types/ng-doc-app-components-toc.d.ts +76 -29
- package/types/ng-doc-app-components.d.ts +3 -1
- package/types/ng-doc-app-directives-code-highlighter.d.ts +8 -4
- package/types/ng-doc-app-directives-members-filter.d.ts +61 -0
- package/types/ng-doc-app-directives-route-active.d.ts +21 -7
- package/types/ng-doc-app-directives.d.ts +1 -0
- package/types/ng-doc-app-helpers.d.ts +124 -3
- package/types/ng-doc-app-interfaces.d.ts +48 -28
- package/types/ng-doc-app-pipes-decode-uri-component.d.ts +3 -0
- package/types/ng-doc-app-pipes-extract-value.d.ts +3 -0
- package/types/ng-doc-app-pipes-filter-by-text.d.ts +4 -0
- package/types/ng-doc-app-pipes-sanitize-html.d.ts +4 -2
- package/types/ng-doc-app-processors-page-processor.d.ts +39 -10
- package/types/ng-doc-app-processors-processors-tooltip.d.ts +11 -10
- package/types/ng-doc-app-processors-processors.d.ts +5 -1
- package/types/ng-doc-app-providers-ng-doc-app.d.ts +17 -0
- package/types/ng-doc-app-providers-playground-demo.d.ts +1 -1
- package/types/ng-doc-app-providers-type-control.d.ts +2 -2
- package/types/ng-doc-app-services-content-scroll-intent.d.ts +52 -0
- package/types/ng-doc-app-services-content-state.d.ts +40 -0
- package/types/ng-doc-app-services-fullscreen-route.d.ts +35 -0
- package/types/ng-doc-app-services-highlighter.d.ts +40 -5
- package/types/ng-doc-app-services-route-preloader.d.ts +109 -0
- package/types/ng-doc-app-services-shortcuts.d.ts +96 -0
- package/types/ng-doc-app-services-sidebar.d.ts +24 -4
- package/types/ng-doc-app-services-store.d.ts +24 -1
- package/types/ng-doc-app-services-theme.d.ts +19 -3
- package/types/ng-doc-app-services.d.ts +77 -0
- package/types/ng-doc-app-tokens.d.ts +10 -30
- package/types/ng-doc-app-type-controls-boolean-control.d.ts +11 -6
- package/types/ng-doc-app-type-controls-number-control.d.ts +5 -3
- package/types/ng-doc-app-type-controls-string-control.d.ts +5 -3
- package/types/ng-doc-app-type-controls-type-alias-control.d.ts +13 -6
- package/fesm2022/ng-doc-app-components-search-dialog.mjs +0 -78
- package/fesm2022/ng-doc-app-components-search-dialog.mjs.map +0 -1
- package/types/ng-doc-app-components-search-dialog.d.ts +0 -28
package/styles/themes/dark.css
CHANGED
|
@@ -1,33 +1,44 @@
|
|
|
1
1
|
@media (prefers-color-scheme: dark) {
|
|
2
2
|
:root[data-theme=auto] {
|
|
3
|
-
--ng-doc-base-rgb:
|
|
4
|
-
--ng-doc-base-0:
|
|
5
|
-
--ng-doc-base-1:
|
|
6
|
-
--ng-doc-base-2:
|
|
7
|
-
--ng-doc-base-3:
|
|
8
|
-
--ng-doc-base-4:
|
|
9
|
-
--ng-doc-base-5:
|
|
10
|
-
--ng-doc-base-6:
|
|
11
|
-
--ng-doc-base-7:
|
|
12
|
-
--ng-doc-base-8:
|
|
13
|
-
--ng-doc-base-9:
|
|
14
|
-
--ng-doc-base-10:
|
|
15
|
-
--ng-doc-heading-color:
|
|
16
|
-
--ng-doc-text:
|
|
17
|
-
--ng-doc-text-muted: var(--ng-doc-base-
|
|
18
|
-
--ng-doc-text-selection:
|
|
19
|
-
--ng-doc-shadow-color:
|
|
20
|
-
--ng-doc-
|
|
21
|
-
--ng-doc-
|
|
22
|
-
--ng-doc-primary:
|
|
23
|
-
--ng-doc-
|
|
24
|
-
--ng-doc-
|
|
25
|
-
--ng-doc-
|
|
26
|
-
--ng-doc-
|
|
27
|
-
--ng-doc-
|
|
28
|
-
--ng-doc-
|
|
29
|
-
--ng-doc-
|
|
30
|
-
--ng-doc-
|
|
3
|
+
--ng-doc-base-rgb: 24 25 29;
|
|
4
|
+
--ng-doc-base-0: var(--ng-doc-palette-neutral-950);
|
|
5
|
+
--ng-doc-base-1: var(--ng-doc-palette-neutral-900);
|
|
6
|
+
--ng-doc-base-2: var(--ng-doc-palette-neutral-875);
|
|
7
|
+
--ng-doc-base-3: var(--ng-doc-palette-neutral-850);
|
|
8
|
+
--ng-doc-base-4: var(--ng-doc-palette-neutral-800);
|
|
9
|
+
--ng-doc-base-5: var(--ng-doc-palette-neutral-750);
|
|
10
|
+
--ng-doc-base-6: var(--ng-doc-palette-neutral-700);
|
|
11
|
+
--ng-doc-base-7: var(--ng-doc-palette-neutral-600);
|
|
12
|
+
--ng-doc-base-8: var(--ng-doc-palette-neutral-500);
|
|
13
|
+
--ng-doc-base-9: var(--ng-doc-palette-neutral-450);
|
|
14
|
+
--ng-doc-base-10: var(--ng-doc-palette-neutral-400);
|
|
15
|
+
--ng-doc-heading-color: var(--ng-doc-palette-neutral-50);
|
|
16
|
+
--ng-doc-text: var(--ng-doc-palette-neutral-300);
|
|
17
|
+
--ng-doc-text-muted: var(--ng-doc-base-9);
|
|
18
|
+
--ng-doc-text-selection: color-mix(in srgb, var(--ng-doc-primary) 30%, transparent);
|
|
19
|
+
--ng-doc-shadow-color: rgb(0 0 0 / 0.45);
|
|
20
|
+
--ng-doc-inline-code-background: var(--ng-doc-base-10);
|
|
21
|
+
--ng-doc-primary: var(--ng-doc-palette-brand-400);
|
|
22
|
+
--ng-doc-primary-text: var(--ng-doc-palette-neutral-1000);
|
|
23
|
+
--ng-doc-link-color: var(--ng-doc-primary);
|
|
24
|
+
--ng-doc-info: var(--ng-doc-palette-brand-400);
|
|
25
|
+
--ng-doc-info-text: var(--ng-doc-palette-neutral-1000);
|
|
26
|
+
--ng-doc-success: var(--ng-doc-palette-green-400);
|
|
27
|
+
--ng-doc-success-text: var(--ng-doc-palette-neutral-1000);
|
|
28
|
+
--ng-doc-warning: var(--ng-doc-palette-amber-400);
|
|
29
|
+
--ng-doc-warning-text: var(--ng-doc-palette-neutral-1000);
|
|
30
|
+
--ng-doc-alert: var(--ng-doc-palette-red-400);
|
|
31
|
+
--ng-doc-alert-text: var(--ng-doc-palette-neutral-1000);
|
|
32
|
+
--ng-doc-mark-background: color-mix(in srgb, #f5c542 28%, transparent);
|
|
33
|
+
--ng-doc-search-result-color: var(--ng-doc-text);
|
|
34
|
+
--ng-doc-navbar-border: 1px solid var(--ng-doc-border-color);
|
|
35
|
+
--ng-doc-hue-violet: var(--ng-doc-palette-violet-400);
|
|
36
|
+
--ng-doc-on-hue: var(--ng-doc-palette-neutral-1000);
|
|
37
|
+
--ng-doc-mix-soft: 12%;
|
|
38
|
+
--ng-doc-mix-chip: 16%;
|
|
39
|
+
--ng-doc-mix-border: 30%;
|
|
40
|
+
--ng-doc-focus-ring-color: var(--ng-doc-palette-brand-400);
|
|
41
|
+
--ng-doc-playground-input-border: var(--ng-doc-border-size) solid var(--ng-doc-base-8);
|
|
31
42
|
}
|
|
32
43
|
:root[data-theme=auto] .shiki,
|
|
33
44
|
:root[data-theme=auto] .shiki span {
|
|
@@ -36,34 +47,45 @@
|
|
|
36
47
|
}
|
|
37
48
|
|
|
38
49
|
:root[data-theme=dark] {
|
|
39
|
-
--ng-doc-base-rgb:
|
|
40
|
-
--ng-doc-base-0:
|
|
41
|
-
--ng-doc-base-1:
|
|
42
|
-
--ng-doc-base-2:
|
|
43
|
-
--ng-doc-base-3:
|
|
44
|
-
--ng-doc-base-4:
|
|
45
|
-
--ng-doc-base-5:
|
|
46
|
-
--ng-doc-base-6:
|
|
47
|
-
--ng-doc-base-7:
|
|
48
|
-
--ng-doc-base-8:
|
|
49
|
-
--ng-doc-base-9:
|
|
50
|
-
--ng-doc-base-10:
|
|
51
|
-
--ng-doc-heading-color:
|
|
52
|
-
--ng-doc-text:
|
|
53
|
-
--ng-doc-text-muted: var(--ng-doc-base-
|
|
54
|
-
--ng-doc-text-selection:
|
|
55
|
-
--ng-doc-shadow-color:
|
|
56
|
-
--ng-doc-
|
|
57
|
-
--ng-doc-
|
|
58
|
-
--ng-doc-primary:
|
|
59
|
-
--ng-doc-
|
|
60
|
-
--ng-doc-
|
|
61
|
-
--ng-doc-
|
|
62
|
-
--ng-doc-
|
|
63
|
-
--ng-doc-
|
|
64
|
-
--ng-doc-
|
|
65
|
-
--ng-doc-
|
|
66
|
-
--ng-doc-
|
|
50
|
+
--ng-doc-base-rgb: 24 25 29;
|
|
51
|
+
--ng-doc-base-0: var(--ng-doc-palette-neutral-950);
|
|
52
|
+
--ng-doc-base-1: var(--ng-doc-palette-neutral-900);
|
|
53
|
+
--ng-doc-base-2: var(--ng-doc-palette-neutral-875);
|
|
54
|
+
--ng-doc-base-3: var(--ng-doc-palette-neutral-850);
|
|
55
|
+
--ng-doc-base-4: var(--ng-doc-palette-neutral-800);
|
|
56
|
+
--ng-doc-base-5: var(--ng-doc-palette-neutral-750);
|
|
57
|
+
--ng-doc-base-6: var(--ng-doc-palette-neutral-700);
|
|
58
|
+
--ng-doc-base-7: var(--ng-doc-palette-neutral-600);
|
|
59
|
+
--ng-doc-base-8: var(--ng-doc-palette-neutral-500);
|
|
60
|
+
--ng-doc-base-9: var(--ng-doc-palette-neutral-450);
|
|
61
|
+
--ng-doc-base-10: var(--ng-doc-palette-neutral-400);
|
|
62
|
+
--ng-doc-heading-color: var(--ng-doc-palette-neutral-50);
|
|
63
|
+
--ng-doc-text: var(--ng-doc-palette-neutral-300);
|
|
64
|
+
--ng-doc-text-muted: var(--ng-doc-base-9);
|
|
65
|
+
--ng-doc-text-selection: color-mix(in srgb, var(--ng-doc-primary) 30%, transparent);
|
|
66
|
+
--ng-doc-shadow-color: rgb(0 0 0 / 0.45);
|
|
67
|
+
--ng-doc-inline-code-background: var(--ng-doc-base-10);
|
|
68
|
+
--ng-doc-primary: var(--ng-doc-palette-brand-400);
|
|
69
|
+
--ng-doc-primary-text: var(--ng-doc-palette-neutral-1000);
|
|
70
|
+
--ng-doc-link-color: var(--ng-doc-primary);
|
|
71
|
+
--ng-doc-info: var(--ng-doc-palette-brand-400);
|
|
72
|
+
--ng-doc-info-text: var(--ng-doc-palette-neutral-1000);
|
|
73
|
+
--ng-doc-success: var(--ng-doc-palette-green-400);
|
|
74
|
+
--ng-doc-success-text: var(--ng-doc-palette-neutral-1000);
|
|
75
|
+
--ng-doc-warning: var(--ng-doc-palette-amber-400);
|
|
76
|
+
--ng-doc-warning-text: var(--ng-doc-palette-neutral-1000);
|
|
77
|
+
--ng-doc-alert: var(--ng-doc-palette-red-400);
|
|
78
|
+
--ng-doc-alert-text: var(--ng-doc-palette-neutral-1000);
|
|
79
|
+
--ng-doc-mark-background: color-mix(in srgb, #f5c542 28%, transparent);
|
|
80
|
+
--ng-doc-search-result-color: var(--ng-doc-text);
|
|
81
|
+
--ng-doc-navbar-border: 1px solid var(--ng-doc-border-color);
|
|
82
|
+
--ng-doc-hue-violet: var(--ng-doc-palette-violet-400);
|
|
83
|
+
--ng-doc-on-hue: var(--ng-doc-palette-neutral-1000);
|
|
84
|
+
--ng-doc-mix-soft: 12%;
|
|
85
|
+
--ng-doc-mix-chip: 16%;
|
|
86
|
+
--ng-doc-mix-border: 30%;
|
|
87
|
+
--ng-doc-focus-ring-color: var(--ng-doc-palette-brand-400);
|
|
88
|
+
--ng-doc-playground-input-border: var(--ng-doc-border-size) solid var(--ng-doc-base-8);
|
|
67
89
|
}
|
|
68
90
|
:root[data-theme=dark] .shiki,
|
|
69
91
|
:root[data-theme=dark] .shiki span {
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
|
|
3
|
+
/** Coordinates one missed router anchor with the accepted asynchronous content pass. */
|
|
4
|
+
declare class NgDocContentAnchorController {
|
|
5
|
+
private readonly applicationRef;
|
|
6
|
+
private readonly document;
|
|
7
|
+
private readonly contentState;
|
|
8
|
+
private readonly initialScrollIntent;
|
|
9
|
+
private readonly anchorScrolling;
|
|
10
|
+
private readonly positionRestoration;
|
|
11
|
+
private readonly host;
|
|
12
|
+
private readonly zone;
|
|
13
|
+
private readonly router;
|
|
14
|
+
private readonly viewport;
|
|
15
|
+
private readonly browser;
|
|
16
|
+
private active;
|
|
17
|
+
private bodyProcessed;
|
|
18
|
+
private destroyed;
|
|
19
|
+
private latestNavigationId;
|
|
20
|
+
private pending?;
|
|
21
|
+
private sequence;
|
|
22
|
+
private readonly subscription;
|
|
23
|
+
private viewportListening;
|
|
24
|
+
private frameWait?;
|
|
25
|
+
private overflowAnchorLease?;
|
|
26
|
+
private suppressedNavigationId?;
|
|
27
|
+
private unsubscribeIntent?;
|
|
28
|
+
private readonly userInput;
|
|
29
|
+
private readonly keyInput;
|
|
30
|
+
private readonly viewportScroll;
|
|
31
|
+
constructor();
|
|
32
|
+
/** Limits delayed replay to pages backed by an asynchronous content source. */
|
|
33
|
+
activate(): void;
|
|
34
|
+
/** Marks the current asynchronous body and its processors as accepted. */
|
|
35
|
+
contentProcessed(): void;
|
|
36
|
+
/** Cancels a missed anchor when the current body fails. */
|
|
37
|
+
contentFailed(): void;
|
|
38
|
+
private observeScroll;
|
|
39
|
+
private replayAfterStable;
|
|
40
|
+
private observeInitialIntent;
|
|
41
|
+
private afterScrollOpportunity;
|
|
42
|
+
private eventUrl;
|
|
43
|
+
private target;
|
|
44
|
+
private clear;
|
|
45
|
+
private acquireOverflowAnchor;
|
|
46
|
+
private releaseOverflowAnchor;
|
|
47
|
+
private pageWrapper;
|
|
48
|
+
private cancelFrameWait;
|
|
49
|
+
private destroy;
|
|
50
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgDocContentAnchorController, never>;
|
|
51
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
export { NgDocContentAnchorController };
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { WritableSignal } from '@angular/core';
|
|
3
|
+
import { NgDocContentSource, NgDocContentModule } from '@ng-doc/core/interfaces';
|
|
4
|
+
|
|
5
|
+
/** A failed processing pass of one content version. */
|
|
6
|
+
interface NgDocContentRenderFailure {
|
|
7
|
+
/** The content version the pass rendered. */
|
|
8
|
+
readonly version: number;
|
|
9
|
+
/** The error the pass failed with. */
|
|
10
|
+
readonly error: unknown;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Owns one body or header content source for one component instance. Provide it in the
|
|
14
|
+
* component's `providers`; it holds a pending task from each load until the processors accept
|
|
15
|
+
* the loaded HTML.
|
|
16
|
+
*/
|
|
17
|
+
declare class NgDocContentController {
|
|
18
|
+
/** The loaded HTML. */
|
|
19
|
+
readonly html: WritableSignal<string>;
|
|
20
|
+
/** Increments whenever the HTML must be processed again. */
|
|
21
|
+
readonly version: WritableSignal<number>;
|
|
22
|
+
/** The load or processing error of the current source. */
|
|
23
|
+
readonly error: WritableSignal<Error | undefined>;
|
|
24
|
+
/**
|
|
25
|
+
* Whether the latest load of the current source has been rendered: its version was processed,
|
|
26
|
+
* or the load or its processing failed. False while a load or its processing is pending.
|
|
27
|
+
*/
|
|
28
|
+
readonly settled: WritableSignal<boolean>;
|
|
29
|
+
/**
|
|
30
|
+
* The version of the latest loaded content of the current source, or undefined before the
|
|
31
|
+
* first load. A processing pass of this version renders loaded content.
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
readonly loadedVersion: WritableSignal<number | undefined>;
|
|
35
|
+
private readonly pendingTasks;
|
|
36
|
+
private readonly contentState;
|
|
37
|
+
private readonly owner;
|
|
38
|
+
private source?;
|
|
39
|
+
private unsubscribe?;
|
|
40
|
+
private abort?;
|
|
41
|
+
private pending?;
|
|
42
|
+
private request;
|
|
43
|
+
private sourceEpoch;
|
|
44
|
+
private renderState;
|
|
45
|
+
private destroyed;
|
|
46
|
+
constructor();
|
|
47
|
+
/**
|
|
48
|
+
* Loads the source and reloads it whenever the source reports a change. Connecting the
|
|
49
|
+
* connected source again does nothing.
|
|
50
|
+
* @param source - The content source.
|
|
51
|
+
*/
|
|
52
|
+
connect(source: NgDocContentSource): void;
|
|
53
|
+
/** Drops the current source and clears the HTML. */
|
|
54
|
+
disconnect(): void;
|
|
55
|
+
/**
|
|
56
|
+
* Accepts a processing pass. Only the pass of the current version counts.
|
|
57
|
+
* @param version - The content version the pass rendered.
|
|
58
|
+
*/
|
|
59
|
+
processed(version: number): void;
|
|
60
|
+
/**
|
|
61
|
+
* Reports a failed processing pass. Only a failure of the current version counts.
|
|
62
|
+
* @param failure - The version and the error.
|
|
63
|
+
*/
|
|
64
|
+
processingFailed(failure: NgDocContentRenderFailure): void;
|
|
65
|
+
/** Cancels the current load and releases its pending task. Called on destroy. */
|
|
66
|
+
destroy(): void;
|
|
67
|
+
/**
|
|
68
|
+
* Loads the current source.
|
|
69
|
+
* @param preloaded - Whether a payload that was preloaded for the source (by the route resolver
|
|
70
|
+
* or by link preloading) may be used. It is applied at once, so the first render of the
|
|
71
|
+
* component already shows the content instead of an empty page.
|
|
72
|
+
*/
|
|
73
|
+
private reload;
|
|
74
|
+
private load;
|
|
75
|
+
private apply;
|
|
76
|
+
private isCurrent;
|
|
77
|
+
private fail;
|
|
78
|
+
private settle;
|
|
79
|
+
private cancelCurrent;
|
|
80
|
+
private finishPending;
|
|
81
|
+
private unsubscribeCurrent;
|
|
82
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgDocContentController, never>;
|
|
83
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* Checks that a loaded content module has the expected shape and id.
|
|
87
|
+
* @param payload - The loaded value.
|
|
88
|
+
* @param expectedId - The id of the source that loaded it.
|
|
89
|
+
* @returns The payload, typed.
|
|
90
|
+
*/
|
|
91
|
+
declare function validatePayload(payload: unknown, expectedId: string): NgDocContentModule;
|
|
92
|
+
|
|
93
|
+
export { NgDocContentController, validatePayload };
|
|
94
|
+
export type { NgDocContentRenderFailure };
|
|
@@ -21,12 +21,18 @@ interface NgDocDefaultSearchEngineOptions {
|
|
|
21
21
|
*/
|
|
22
22
|
exact?: boolean;
|
|
23
23
|
/**
|
|
24
|
-
* Number of results to return (default: 10).
|
|
24
|
+
* Number of results to return (default: 10). Guides get up to half of them, and more when
|
|
25
|
+
* fewer API references match; API references fill the rest.
|
|
25
26
|
*/
|
|
26
27
|
limit?: number;
|
|
27
28
|
}
|
|
28
29
|
/**
|
|
29
30
|
* Search engine for the documentation, it loads the index and provides a search method.
|
|
31
|
+
*
|
|
32
|
+
* Guides rank above API references: the results list the matching guides first, then the
|
|
33
|
+
* matching API references, each in order of relevance. Guides take up to half of the `limit`
|
|
34
|
+
* (rounded up), or more when fewer API references match; API references fill the rest, and take
|
|
35
|
+
* more than half when fewer guides match.
|
|
30
36
|
*/
|
|
31
37
|
declare class NgDocDefaultSearchEngine extends NgDocSearchEngine {
|
|
32
38
|
private options?;
|
|
@@ -37,7 +43,9 @@ declare class NgDocDefaultSearchEngine extends NgDocSearchEngine {
|
|
|
37
43
|
* @param query The query to search for.
|
|
38
44
|
*/
|
|
39
45
|
search(query: string): Observable<NgDocSearchResult[]>;
|
|
46
|
+
private searchPages;
|
|
40
47
|
private request;
|
|
48
|
+
private createDatabase;
|
|
41
49
|
}
|
|
42
50
|
|
|
43
51
|
export { NgDocDefaultSearchEngine };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { NgDocDemoAssets } from '@ng-doc/app/interfaces';
|
|
2
|
-
import { NgDocPage } from '@ng-doc/core/interfaces';
|
|
2
|
+
import { NgDocContentSource, NgDocPage } from '@ng-doc/core/interfaces';
|
|
3
3
|
import { NgDocPageType } from '@ng-doc/core/types';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -14,6 +14,11 @@ declare abstract class NgDocRootPage {
|
|
|
14
14
|
* Html content of the page
|
|
15
15
|
*/
|
|
16
16
|
abstract readonly pageContent: string;
|
|
17
|
+
/**
|
|
18
|
+
* Deferred content for generated pages. Legacy pages can continue to provide
|
|
19
|
+
* {@link pageContent} only.
|
|
20
|
+
*/
|
|
21
|
+
readonly pageContentSource?: NgDocContentSource;
|
|
17
22
|
/**
|
|
18
23
|
* Edit URL that can be used to edit the page source file in the repository
|
|
19
24
|
*/
|
|
@@ -5,6 +5,11 @@ import { Observable } from 'rxjs';
|
|
|
5
5
|
* Abstract search engine class, that can be used to implement a custom search engine.
|
|
6
6
|
*/
|
|
7
7
|
declare abstract class NgDocSearchEngine {
|
|
8
|
+
/**
|
|
9
|
+
* Searches the documentation.
|
|
10
|
+
* @param query - The text the user typed.
|
|
11
|
+
* @returns The results for the query.
|
|
12
|
+
*/
|
|
8
13
|
abstract search(query: string): Observable<NgDocSearchResult[]>;
|
|
9
14
|
}
|
|
10
15
|
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
export * from '@ng-doc/app/classes/content-anchor-controller';
|
|
2
|
+
export * from '@ng-doc/app/classes/content-controller';
|
|
1
3
|
export * from '@ng-doc/app/classes/default-search-engine';
|
|
2
4
|
export * from '@ng-doc/app/classes/root-page';
|
|
3
5
|
export * from '@ng-doc/app/classes/search-engine';
|
|
@@ -1,29 +1,78 @@
|
|
|
1
|
+
import * as _angular_forms_signals from '@angular/forms/signals';
|
|
1
2
|
import * as _angular_core from '@angular/core';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { Signal } from '@angular/core';
|
|
4
|
+
import { NgDocShortcutsService } from '@ng-doc/app/services/shortcuts';
|
|
5
|
+
import { NgDocApiListItem } from '@ng-doc/core/interfaces';
|
|
5
6
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
/** How the API index groups declarations. */
|
|
8
|
+
type GroupBy = 'kind' | 'scope';
|
|
9
|
+
/**
|
|
10
|
+
* A declaration of the API list. The generated list may carry a one-line description; the index
|
|
11
|
+
* filters by it and shows it when it is present.
|
|
12
|
+
*/
|
|
13
|
+
interface Declaration extends NgDocApiListItem {
|
|
14
|
+
description?: string;
|
|
15
|
+
scope: string;
|
|
10
16
|
}
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
17
|
+
interface Group {
|
|
18
|
+
id: string;
|
|
19
|
+
kind?: string;
|
|
20
|
+
label: string;
|
|
21
|
+
items: Declaration[];
|
|
22
|
+
}
|
|
23
|
+
interface KindFilter {
|
|
24
|
+
kind: string;
|
|
25
|
+
label: string;
|
|
26
|
+
count: number;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* The index of API declarations: a filter that matches names and descriptions, grouping by kind
|
|
30
|
+
* or by scope, and a kind filter with counts. The filter, kind, scope and grouping are kept in
|
|
31
|
+
* the query parameters (filter, type, scope and group), so a filtered index can be linked.
|
|
32
|
+
*/
|
|
33
|
+
declare class NgDocApiListComponent {
|
|
34
|
+
/** The title of the page. */
|
|
35
|
+
readonly title: _angular_core.InputSignal<string>;
|
|
36
|
+
/** The segment of the API list data, when the site has more than one API list. */
|
|
37
|
+
readonly segment: _angular_core.InputSignal<string | undefined>;
|
|
38
|
+
protected readonly shortcuts: NgDocShortcutsService;
|
|
39
|
+
protected readonly model: _angular_core.WritableSignal<{
|
|
40
|
+
filter: string;
|
|
41
|
+
}>;
|
|
42
|
+
protected readonly filterForm: _angular_forms_signals.FieldTree<{
|
|
43
|
+
filter: string;
|
|
44
|
+
}, string | number, "writable">;
|
|
45
|
+
protected readonly kind: _angular_core.WritableSignal<string>;
|
|
46
|
+
protected readonly scope: _angular_core.WritableSignal<string>;
|
|
47
|
+
protected readonly groupBy: _angular_core.WritableSignal<GroupBy>;
|
|
22
48
|
private readonly route;
|
|
23
49
|
private readonly router;
|
|
24
|
-
private readonly
|
|
50
|
+
private readonly basePath;
|
|
51
|
+
private readonly filterInput;
|
|
52
|
+
private readonly apiList;
|
|
53
|
+
protected readonly declarations: Signal<Declaration[]>;
|
|
54
|
+
protected readonly scopes: Signal<string[]>;
|
|
55
|
+
protected readonly hasDescriptions: Signal<boolean>;
|
|
56
|
+
/** Declarations in the selected scope, before the text and kind filters. */
|
|
57
|
+
protected readonly inScope: Signal<Declaration[]>;
|
|
58
|
+
protected readonly kinds: Signal<KindFilter[]>;
|
|
59
|
+
protected readonly visible: Signal<Declaration[]>;
|
|
60
|
+
protected readonly groups: Signal<Group[]>;
|
|
61
|
+
protected readonly loaded: Signal<boolean>;
|
|
62
|
+
protected readonly failed: Signal<boolean>;
|
|
25
63
|
constructor();
|
|
26
|
-
|
|
64
|
+
/**
|
|
65
|
+
* Shows only the declarations of a kind, or of every kind.
|
|
66
|
+
* @param kind - The kind, or an empty string for every kind.
|
|
67
|
+
*/
|
|
68
|
+
protected selectKind(kind: string): void;
|
|
69
|
+
/**
|
|
70
|
+
* Groups the declarations by kind or by scope.
|
|
71
|
+
* @param groupBy - The grouping.
|
|
72
|
+
*/
|
|
73
|
+
protected selectGroupBy(groupBy: GroupBy): void;
|
|
74
|
+
/** Shows the declarations of every scope. */
|
|
75
|
+
protected clearScope(): void;
|
|
27
76
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgDocApiListComponent, never>;
|
|
28
77
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgDocApiListComponent, "ng-doc-api-list", never, { "title": { "alias": "title"; "required": false; "isSignal": true; }; "segment": { "alias": "segment"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
29
78
|
}
|
|
@@ -1,10 +1,15 @@
|
|
|
1
|
-
import { NgDocPageBreadcrumbs } from '@ng-doc/app/interfaces';
|
|
2
1
|
import * as i0 from '@angular/core';
|
|
2
|
+
import { NgDocPageBreadcrumbs } from '@ng-doc/app/interfaces';
|
|
3
3
|
|
|
4
|
+
/**
|
|
5
|
+
* The breadcrumbs of a page: a navigation landmark that lists the categories above the page and
|
|
6
|
+
* marks the page itself as the current one.
|
|
7
|
+
*/
|
|
4
8
|
declare class NgDocBreadcrumbComponent implements NgDocPageBreadcrumbs {
|
|
5
|
-
|
|
9
|
+
/** Titles from the top category down to the page. */
|
|
10
|
+
readonly breadcrumbs: i0.InputSignal<string[]>;
|
|
6
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<NgDocBreadcrumbComponent, never>;
|
|
7
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NgDocBreadcrumbComponent, "ng-doc-breadcrumb", never, { "breadcrumbs": { "alias": "breadcrumbs"; "required": false; }; }, {}, never, never, true, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NgDocBreadcrumbComponent, "ng-doc-breadcrumb", never, { "breadcrumbs": { "alias": "breadcrumbs"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
8
13
|
}
|
|
9
14
|
|
|
10
15
|
export { NgDocBreadcrumbComponent };
|
|
@@ -1,16 +1,50 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { AfterViewInit, Signal } from '@angular/core';
|
|
2
3
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
4
|
+
/**
|
|
5
|
+
* Renders a code block: a header with the file name, the language and the highlighted lines
|
|
6
|
+
* (shown when the block has a name or an icon), line numbers and a copy button.
|
|
7
|
+
*
|
|
8
|
+
* Line numbers are CSS counters, so they are neither copied nor announced. Setting the
|
|
9
|
+
* `code-line-numbers` theme variable to `none` hides them.
|
|
10
|
+
*/
|
|
11
|
+
declare class NgDocCodeComponent implements AfterViewInit {
|
|
12
|
+
private readonly elementRef;
|
|
13
|
+
/** Highlighted HTML of the code. When empty, the projected content is shown instead. */
|
|
14
|
+
readonly html: _angular_core.InputSignal<string>;
|
|
15
|
+
/** Whether the copy button is shown. */
|
|
16
|
+
readonly copyButton: _angular_core.InputSignal<boolean>;
|
|
17
|
+
/** File name shown in the header. */
|
|
18
|
+
readonly name: _angular_core.InputSignal<string | undefined>;
|
|
19
|
+
/** Name of a custom icon shown before the file name. */
|
|
20
|
+
readonly icon: _angular_core.InputSignal<string | undefined>;
|
|
21
|
+
/** Whether the header bar is shown: a block with a file name or an icon has one. */
|
|
22
|
+
readonly hasHeader: Signal<boolean>;
|
|
23
|
+
/** Language and highlighted lines of projected code, read from the DOM. */
|
|
24
|
+
private readonly projected;
|
|
25
|
+
/**
|
|
26
|
+
* Language and highlighted lines of the code. Highlighted HTML is parsed as a string, so the
|
|
27
|
+
* header is complete in server-rendered and prerendered pages; projected code is read from its
|
|
28
|
+
* DOM, which the server renderer provides too.
|
|
29
|
+
*/
|
|
30
|
+
private readonly rendered;
|
|
31
|
+
/** Display name of the language; empty for plain text. */
|
|
32
|
+
protected readonly language: Signal<string>;
|
|
33
|
+
/** The highlighted lines as text, for example "Lines 6–7" or "Lines 2, 5–6". */
|
|
34
|
+
protected readonly range: Signal<string>;
|
|
35
|
+
/** Reads the text of the rendered code when the copy button is pressed. */
|
|
36
|
+
protected readonly text: () => string;
|
|
37
|
+
/**
|
|
38
|
+
* Reads projected code once the view has rendered it. The page's code is projected inside a
|
|
39
|
+
* control-flow block, so it is in place only after the first render; this hook also runs on the
|
|
40
|
+
* server, so prerendered pages get the language and the highlighted lines. The page processor
|
|
41
|
+
* relies on that late projection: it replaces the page's `pre` with this component after
|
|
42
|
+
* creating it.
|
|
43
|
+
*/
|
|
44
|
+
ngAfterViewInit(): void;
|
|
45
|
+
private codeElement;
|
|
46
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgDocCodeComponent, never>;
|
|
47
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgDocCodeComponent, "ng-doc-code", never, { "html": { "alias": "html"; "required": false; "isSignal": true; }; "copyButton": { "alias": "copyButton"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
14
48
|
}
|
|
15
49
|
|
|
16
50
|
export { NgDocCodeComponent };
|