@ng-doc/app 15.13.0 → 16.0.0-beta.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/README.md +7 -7
- package/components/code/code.component.d.ts +1 -1
- package/components/demo/demo.component.d.ts +1 -1
- package/components/demo-displayer/demo-displayer.component.d.ts +1 -1
- package/components/demo-pane/demo-pane.component.d.ts +1 -1
- package/components/kind-icon/kind-icon.component.d.ts +1 -1
- package/components/link/link.component.d.ts +1 -1
- package/components/navbar/navbar.component.d.ts +1 -1
- package/components/page-link/page-link.component.d.ts +1 -1
- package/components/playground/playground-demo/playground-demo.component.d.ts +1 -1
- package/components/playground/playground-properties/playground-properties.component.d.ts +1 -1
- package/components/playground/playground-property/playground-property.component.d.ts +1 -1
- package/components/root/root.component.d.ts +1 -1
- package/components/search/search.component.d.ts +1 -1
- package/components/search-result/search-result.component.d.ts +1 -1
- package/components/sidebar/sidebar-category/sidebar-category.component.d.ts +1 -1
- package/components/sidebar/sidebar-item/sidebar-item.component.d.ts +1 -1
- package/components/toc/toc-element/toc-element.component.d.ts +1 -1
- package/components/toc/toc.component.d.ts +1 -1
- package/directives/code-highlighter/code-highlighter.directive.d.ts +1 -1
- package/directives/route-active/route-active.directive.d.ts +1 -1
- package/{esm2020 → esm2022}/components/api-list/api-list.component.mjs +4 -4
- package/esm2022/components/api-list/api-list.module.mjs +70 -0
- package/esm2022/components/breadcrumb/breadcrumb.component.mjs +29 -0
- package/esm2022/components/breadcrumb/breadcrumb.module.mjs +21 -0
- package/esm2022/components/code/code.component.mjs +45 -0
- package/esm2022/components/code/code.module.mjs +41 -0
- package/esm2022/components/demo/demo.component.mjs +53 -0
- package/esm2022/components/demo/demo.module.mjs +43 -0
- package/esm2022/components/demo-displayer/demo-displayer.component.mjs +49 -0
- package/esm2022/components/demo-displayer/demo-displayer.module.mjs +49 -0
- package/esm2022/components/demo-pane/demo-pane.component.mjs +52 -0
- package/esm2022/components/demo-pane/demo-pane.module.mjs +22 -0
- package/esm2022/components/kind-icon/kind-icon.component.mjs +26 -0
- package/esm2022/components/kind-icon/kind-icon.module.mjs +19 -0
- package/esm2022/components/link/link.component.mjs +18 -0
- package/esm2022/components/link/link.module.mjs +20 -0
- package/{esm2020 → esm2022}/components/navbar/navbar.component.mjs +4 -4
- package/esm2022/components/navbar/navbar.module.mjs +41 -0
- package/esm2022/components/page/page.component.mjs +45 -0
- package/esm2022/components/page/page.module.mjs +98 -0
- package/esm2022/components/page-link/page-link.component.mjs +31 -0
- package/esm2022/components/page-link/page-link.module.mjs +20 -0
- package/esm2022/components/playground/base-playground.mjs +19 -0
- package/{esm2020 → esm2022}/components/playground/playground-demo/playground-demo.component.mjs +4 -4
- package/esm2022/components/playground/playground-properties/playground-properties.component.mjs +112 -0
- package/esm2022/components/playground/playground-property/playground-property.component.mjs +63 -0
- package/esm2022/components/playground/playground.component.mjs +63 -0
- package/esm2022/components/playground/playground.module.mjs +86 -0
- package/esm2022/components/root/root.component.mjs +116 -0
- package/esm2022/components/root/root.module.mjs +21 -0
- package/esm2022/components/search/search.component.mjs +72 -0
- package/esm2022/components/search/search.module.mjs +85 -0
- package/esm2022/components/search-result/search-result.component.mjs +43 -0
- package/esm2022/components/search-result/search-result.module.mjs +22 -0
- package/{esm2020 → esm2022}/components/sidebar/sidebar-category/sidebar-category.component.mjs +4 -4
- package/esm2022/components/sidebar/sidebar-item/sidebar-item.component.mjs +17 -0
- package/esm2022/components/sidebar/sidebar.component.mjs +25 -0
- package/esm2022/components/sidebar/sidebar.module.mjs +59 -0
- package/esm2022/components/theme-toggle/theme-toggle.component.mjs +54 -0
- package/esm2022/components/theme-toggle/theme-toggle.module.mjs +20 -0
- package/esm2022/components/toc/toc-element/toc-element.component.mjs +30 -0
- package/{esm2020 → esm2022}/components/toc/toc.component.mjs +4 -4
- package/esm2022/components/toc/toc.module.mjs +22 -0
- package/esm2022/directives/code-highlighter/code-highlighter.directive.mjs +44 -0
- package/esm2022/directives/code-highlighter/code-highlighter.module.mjs +17 -0
- package/{esm2020 → esm2022}/directives/route-active/route-active.directive.mjs +4 -4
- package/esm2022/directives/route-active/route-active.module.mjs +19 -0
- package/esm2022/modules/root/ng-doc.module.mjs +59 -0
- package/esm2022/pipes/extract-value/extract-value.module.mjs +17 -0
- package/esm2022/pipes/extract-value/extract-value.pipe.mjs +18 -0
- package/esm2022/pipes/filter-by-text/filter-by-text.module.mjs +17 -0
- package/esm2022/pipes/filter-by-text/filter-by-text.pipe.mjs +17 -0
- package/esm2022/pipes/sanitize-html/sanitize-html.module.mjs +17 -0
- package/esm2022/pipes/sanitize-html/sanitize-html.pipe.mjs +22 -0
- package/esm2022/processors/blockquote-processor/blockquote-processor.directive.mjs +29 -0
- package/esm2022/processors/blockquote-processor/blockquote-processor.module.mjs +19 -0
- package/esm2022/processors/code-processor/code-processor.directive.mjs +34 -0
- package/esm2022/processors/code-processor/code-processor.module.mjs +19 -0
- package/{esm2020 → esm2022}/processors/demo-pane-processor/demo-pane-processor.directive.mjs +4 -4
- package/esm2022/processors/demo-pane-processor/demo-pane-processor.module.mjs +19 -0
- package/{esm2020 → esm2022}/processors/demo-processor/demo-processor.directive.mjs +4 -4
- package/esm2022/processors/demo-processor/demo-processor.module.mjs +19 -0
- package/esm2022/processors/html-processor/html-processor.directive.mjs +39 -0
- package/esm2022/processors/icon-processor/icon-processor.directive.mjs +29 -0
- package/esm2022/processors/icon-processor/icon-processor.module.mjs +17 -0
- package/esm2022/processors/link-processor/link-processor.directive.mjs +30 -0
- package/esm2022/processors/link-processor/link-processor.module.mjs +17 -0
- package/esm2022/processors/playground-processor/playground-processor.directive.mjs +32 -0
- package/esm2022/processors/playground-processor/playground-processor.module.mjs +19 -0
- package/esm2022/processors/tooltip-processor/tooltip-processor.directive.mjs +29 -0
- package/esm2022/processors/tooltip-processor/tooltip-processor.module.mjs +20 -0
- package/esm2022/processors/tooltip-processor/tooltip-wrapper.component.mjs +49 -0
- package/{esm2020 → esm2022}/services/sidebar/sidebar.service.mjs +4 -4
- package/esm2022/services/store/store.service.mjs +21 -0
- package/{esm2020 → esm2022}/services/theme/theme.service.mjs +4 -4
- package/esm2022/type-controls/boolean-control/boolean-control.component.mjs +20 -0
- package/esm2022/type-controls/boolean-control/boolean-control.module.mjs +23 -0
- package/esm2022/type-controls/number-control/number-control.component.mjs +27 -0
- package/esm2022/type-controls/number-control/number-control.module.mjs +51 -0
- package/esm2022/type-controls/string-control/string-control.component.mjs +27 -0
- package/esm2022/type-controls/string-control/string-control.module.mjs +55 -0
- package/esm2022/type-controls/type-alias-control/type-alias-control.component.mjs +31 -0
- package/esm2022/type-controls/type-alias-control/type-alias-control.module.mjs +64 -0
- package/fesm2022/ng-doc-app-components-api-list.mjs +153 -0
- package/{fesm2020 → fesm2022}/ng-doc-app-components-api-list.mjs.map +1 -1
- package/fesm2022/ng-doc-app-components-breadcrumb.mjs +50 -0
- package/fesm2022/ng-doc-app-components-breadcrumb.mjs.map +1 -0
- package/fesm2022/ng-doc-app-components-code.mjs +87 -0
- package/fesm2022/ng-doc-app-components-code.mjs.map +1 -0
- package/fesm2022/ng-doc-app-components-demo-displayer.mjs +99 -0
- package/{fesm2015 → fesm2022}/ng-doc-app-components-demo-displayer.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/ng-doc-app-components-demo-pane.mjs +7 -7
- package/{fesm2015 → fesm2022}/ng-doc-app-components-demo-pane.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/ng-doc-app-components-demo.mjs +19 -19
- package/{fesm2015 → fesm2022}/ng-doc-app-components-demo.mjs.map +1 -1
- package/{fesm2015 → fesm2022}/ng-doc-app-components-kind-icon.mjs +7 -7
- package/fesm2022/ng-doc-app-components-kind-icon.mjs.map +1 -0
- package/fesm2022/ng-doc-app-components-link.mjs +40 -0
- package/fesm2022/ng-doc-app-components-link.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/ng-doc-app-components-navbar.mjs +17 -17
- package/{fesm2020 → fesm2022}/ng-doc-app-components-navbar.mjs.map +1 -1
- package/fesm2022/ng-doc-app-components-page-link.mjs +53 -0
- package/{fesm2015 → fesm2022}/ng-doc-app-components-page-link.mjs.map +1 -1
- package/fesm2022/ng-doc-app-components-page.mjs +143 -0
- package/{fesm2020 → fesm2022}/ng-doc-app-components-page.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/ng-doc-app-components-playground.mjs +57 -57
- package/fesm2022/ng-doc-app-components-playground.mjs.map +1 -0
- package/{fesm2015 → fesm2022}/ng-doc-app-components-root.mjs +13 -13
- package/{fesm2015 → fesm2022}/ng-doc-app-components-root.mjs.map +1 -1
- package/fesm2022/ng-doc-app-components-search-result.mjs +67 -0
- package/{fesm2015 → fesm2022}/ng-doc-app-components-search-result.mjs.map +1 -1
- package/fesm2022/ng-doc-app-components-search.mjs +158 -0
- package/{fesm2020 → fesm2022}/ng-doc-app-components-search.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/ng-doc-app-components-sidebar.mjs +31 -31
- package/{fesm2020 → fesm2022}/ng-doc-app-components-sidebar.mjs.map +1 -1
- package/fesm2022/ng-doc-app-components-theme-toggle.mjs +75 -0
- package/fesm2022/ng-doc-app-components-theme-toggle.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/ng-doc-app-components-toc.mjs +10 -10
- package/{fesm2020 → fesm2022}/ng-doc-app-components-toc.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/ng-doc-app-directives-code-highlighter.mjs +7 -7
- package/{fesm2020 → fesm2022}/ng-doc-app-directives-code-highlighter.mjs.map +1 -1
- package/{fesm2015 → fesm2022}/ng-doc-app-directives-route-active.mjs +7 -7
- package/{fesm2020 → fesm2022}/ng-doc-app-directives-route-active.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/ng-doc-app-modules-root.mjs +4 -4
- package/{fesm2020 → fesm2022}/ng-doc-app-modules-root.mjs.map +1 -1
- package/fesm2022/ng-doc-app-pipes-extract-value.mjs +37 -0
- package/{fesm2015 → fesm2022}/ng-doc-app-pipes-extract-value.mjs.map +1 -1
- package/fesm2022/ng-doc-app-pipes-filter-by-text.mjs +36 -0
- package/{fesm2020 → fesm2022}/ng-doc-app-pipes-filter-by-text.mjs.map +1 -1
- package/fesm2022/ng-doc-app-pipes-sanitize-html.mjs +40 -0
- package/{fesm2015 → fesm2022}/ng-doc-app-pipes-sanitize-html.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/ng-doc-app-processors-blockquote-processor.mjs +7 -7
- package/{fesm2020 → fesm2022}/ng-doc-app-processors-blockquote-processor.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/ng-doc-app-processors-code-processor.mjs +7 -7
- package/{fesm2020 → fesm2022}/ng-doc-app-processors-code-processor.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/ng-doc-app-processors-demo-pane-processor.mjs +7 -7
- package/{fesm2020 → fesm2022}/ng-doc-app-processors-demo-pane-processor.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/ng-doc-app-processors-demo-processor.mjs +7 -7
- package/{fesm2020 → fesm2022}/ng-doc-app-processors-demo-processor.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/ng-doc-app-processors-html-processor.mjs +3 -3
- package/{fesm2020 → fesm2022}/ng-doc-app-processors-html-processor.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/ng-doc-app-processors-icon-processor.mjs +7 -7
- package/{fesm2020 → fesm2022}/ng-doc-app-processors-icon-processor.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/ng-doc-app-processors-link-processor.mjs +7 -7
- package/{fesm2020 → fesm2022}/ng-doc-app-processors-link-processor.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/ng-doc-app-processors-playground-processor.mjs +7 -7
- package/{fesm2020 → fesm2022}/ng-doc-app-processors-playground-processor.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/ng-doc-app-processors-tooltip-processor.mjs +12 -12
- package/{fesm2015 → fesm2022}/ng-doc-app-processors-tooltip-processor.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/ng-doc-app-services-sidebar.mjs +3 -3
- package/{fesm2020 → fesm2022}/ng-doc-app-services-sidebar.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/ng-doc-app-services-store.mjs +3 -3
- package/{fesm2015 → fesm2022}/ng-doc-app-services-store.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/ng-doc-app-services-theme.mjs +3 -3
- package/{fesm2020 → fesm2022}/ng-doc-app-services-theme.mjs.map +1 -1
- package/fesm2022/ng-doc-app-type-controls-boolean-control.mjs +45 -0
- package/{fesm2015 → fesm2022}/ng-doc-app-type-controls-boolean-control.mjs.map +1 -1
- package/fesm2022/ng-doc-app-type-controls-number-control.mjs +79 -0
- package/{fesm2020 → fesm2022}/ng-doc-app-type-controls-number-control.mjs.map +1 -1
- package/fesm2022/ng-doc-app-type-controls-string-control.mjs +83 -0
- package/{fesm2015 → fesm2022}/ng-doc-app-type-controls-string-control.mjs.map +1 -1
- package/fesm2022/ng-doc-app-type-controls-type-alias-control.mjs +97 -0
- package/{fesm2020 → fesm2022}/ng-doc-app-type-controls-type-alias-control.mjs.map +1 -1
- package/package.json +228 -346
- package/processors/tooltip-processor/tooltip-wrapper.component.d.ts +1 -1
- package/esm2020/components/api-list/api-list.module.mjs +0 -69
- package/esm2020/components/breadcrumb/breadcrumb.component.mjs +0 -28
- package/esm2020/components/breadcrumb/breadcrumb.module.mjs +0 -20
- package/esm2020/components/code/code.component.mjs +0 -44
- package/esm2020/components/code/code.module.mjs +0 -40
- package/esm2020/components/demo/demo.component.mjs +0 -52
- package/esm2020/components/demo/demo.module.mjs +0 -42
- package/esm2020/components/demo-displayer/demo-displayer.component.mjs +0 -48
- package/esm2020/components/demo-displayer/demo-displayer.module.mjs +0 -48
- package/esm2020/components/demo-pane/demo-pane.component.mjs +0 -51
- package/esm2020/components/demo-pane/demo-pane.module.mjs +0 -21
- package/esm2020/components/kind-icon/kind-icon.component.mjs +0 -25
- package/esm2020/components/kind-icon/kind-icon.module.mjs +0 -18
- package/esm2020/components/link/link.component.mjs +0 -17
- package/esm2020/components/link/link.module.mjs +0 -19
- package/esm2020/components/navbar/navbar.module.mjs +0 -40
- package/esm2020/components/page/page.component.mjs +0 -44
- package/esm2020/components/page/page.module.mjs +0 -97
- package/esm2020/components/page-link/page-link.component.mjs +0 -30
- package/esm2020/components/page-link/page-link.module.mjs +0 -19
- package/esm2020/components/playground/base-playground.mjs +0 -18
- package/esm2020/components/playground/playground-properties/playground-properties.component.mjs +0 -111
- package/esm2020/components/playground/playground-property/playground-property.component.mjs +0 -62
- package/esm2020/components/playground/playground.component.mjs +0 -62
- package/esm2020/components/playground/playground.module.mjs +0 -85
- package/esm2020/components/root/root.component.mjs +0 -114
- package/esm2020/components/root/root.module.mjs +0 -20
- package/esm2020/components/search/search.component.mjs +0 -72
- package/esm2020/components/search/search.module.mjs +0 -84
- package/esm2020/components/search-result/search-result.component.mjs +0 -42
- package/esm2020/components/search-result/search-result.module.mjs +0 -21
- package/esm2020/components/sidebar/sidebar-item/sidebar-item.component.mjs +0 -16
- package/esm2020/components/sidebar/sidebar.component.mjs +0 -24
- package/esm2020/components/sidebar/sidebar.module.mjs +0 -58
- package/esm2020/components/theme-toggle/theme-toggle.component.mjs +0 -53
- package/esm2020/components/theme-toggle/theme-toggle.module.mjs +0 -19
- package/esm2020/components/toc/toc-element/toc-element.component.mjs +0 -29
- package/esm2020/components/toc/toc.module.mjs +0 -21
- package/esm2020/directives/code-highlighter/code-highlighter.directive.mjs +0 -43
- package/esm2020/directives/code-highlighter/code-highlighter.module.mjs +0 -16
- package/esm2020/directives/route-active/route-active.module.mjs +0 -18
- package/esm2020/modules/root/ng-doc.module.mjs +0 -58
- package/esm2020/pipes/extract-value/extract-value.module.mjs +0 -16
- package/esm2020/pipes/extract-value/extract-value.pipe.mjs +0 -17
- package/esm2020/pipes/filter-by-text/filter-by-text.module.mjs +0 -16
- package/esm2020/pipes/filter-by-text/filter-by-text.pipe.mjs +0 -16
- package/esm2020/pipes/sanitize-html/sanitize-html.module.mjs +0 -16
- package/esm2020/pipes/sanitize-html/sanitize-html.pipe.mjs +0 -21
- package/esm2020/processors/blockquote-processor/blockquote-processor.directive.mjs +0 -28
- package/esm2020/processors/blockquote-processor/blockquote-processor.module.mjs +0 -18
- package/esm2020/processors/code-processor/code-processor.directive.mjs +0 -33
- package/esm2020/processors/code-processor/code-processor.module.mjs +0 -18
- package/esm2020/processors/demo-pane-processor/demo-pane-processor.module.mjs +0 -18
- package/esm2020/processors/demo-processor/demo-processor.module.mjs +0 -18
- package/esm2020/processors/html-processor/html-processor.directive.mjs +0 -38
- package/esm2020/processors/icon-processor/icon-processor.directive.mjs +0 -28
- package/esm2020/processors/icon-processor/icon-processor.module.mjs +0 -16
- package/esm2020/processors/link-processor/link-processor.directive.mjs +0 -29
- package/esm2020/processors/link-processor/link-processor.module.mjs +0 -16
- package/esm2020/processors/playground-processor/playground-processor.directive.mjs +0 -31
- package/esm2020/processors/playground-processor/playground-processor.module.mjs +0 -18
- package/esm2020/processors/tooltip-processor/tooltip-processor.directive.mjs +0 -28
- package/esm2020/processors/tooltip-processor/tooltip-processor.module.mjs +0 -19
- package/esm2020/processors/tooltip-processor/tooltip-wrapper.component.mjs +0 -48
- package/esm2020/services/store/store.service.mjs +0 -20
- package/esm2020/type-controls/boolean-control/boolean-control.component.mjs +0 -19
- package/esm2020/type-controls/boolean-control/boolean-control.module.mjs +0 -22
- package/esm2020/type-controls/number-control/number-control.component.mjs +0 -26
- package/esm2020/type-controls/number-control/number-control.module.mjs +0 -50
- package/esm2020/type-controls/string-control/string-control.component.mjs +0 -26
- package/esm2020/type-controls/string-control/string-control.module.mjs +0 -54
- package/esm2020/type-controls/type-alias-control/type-alias-control.component.mjs +0 -30
- package/esm2020/type-controls/type-alias-control/type-alias-control.module.mjs +0 -63
- package/fesm2015/ng-doc-app-classes-default-search-engine.mjs +0 -70
- package/fesm2015/ng-doc-app-classes-default-search-engine.mjs.map +0 -1
- package/fesm2015/ng-doc-app-components-api-list.mjs +0 -155
- package/fesm2015/ng-doc-app-components-api-list.mjs.map +0 -1
- package/fesm2015/ng-doc-app-components-breadcrumb.mjs +0 -50
- package/fesm2015/ng-doc-app-components-breadcrumb.mjs.map +0 -1
- package/fesm2015/ng-doc-app-components-code.mjs +0 -89
- package/fesm2015/ng-doc-app-components-code.mjs.map +0 -1
- package/fesm2015/ng-doc-app-components-demo-displayer.mjs +0 -99
- package/fesm2015/ng-doc-app-components-demo-pane.mjs +0 -77
- package/fesm2015/ng-doc-app-components-demo.mjs +0 -99
- package/fesm2015/ng-doc-app-components-kind-icon.mjs.map +0 -1
- package/fesm2015/ng-doc-app-components-link.mjs +0 -40
- package/fesm2015/ng-doc-app-components-link.mjs.map +0 -1
- package/fesm2015/ng-doc-app-components-navbar.mjs +0 -146
- package/fesm2015/ng-doc-app-components-navbar.mjs.map +0 -1
- package/fesm2015/ng-doc-app-components-page-link.mjs +0 -53
- package/fesm2015/ng-doc-app-components-page.mjs +0 -147
- package/fesm2015/ng-doc-app-components-page.mjs.map +0 -1
- package/fesm2015/ng-doc-app-components-playground.mjs +0 -445
- package/fesm2015/ng-doc-app-components-playground.mjs.map +0 -1
- package/fesm2015/ng-doc-app-components-search-result.mjs +0 -67
- package/fesm2015/ng-doc-app-components-search.mjs +0 -162
- package/fesm2015/ng-doc-app-components-search.mjs.map +0 -1
- package/fesm2015/ng-doc-app-components-sidebar.mjs +0 -169
- package/fesm2015/ng-doc-app-components-sidebar.mjs.map +0 -1
- package/fesm2015/ng-doc-app-components-theme-toggle.mjs +0 -76
- package/fesm2015/ng-doc-app-components-theme-toggle.mjs.map +0 -1
- package/fesm2015/ng-doc-app-components-toc.mjs +0 -151
- package/fesm2015/ng-doc-app-components-toc.mjs.map +0 -1
- package/fesm2015/ng-doc-app-directives-code-highlighter.mjs +0 -64
- package/fesm2015/ng-doc-app-directives-code-highlighter.mjs.map +0 -1
- package/fesm2015/ng-doc-app-directives-route-active.mjs.map +0 -1
- package/fesm2015/ng-doc-app-helpers.mjs +0 -152
- package/fesm2015/ng-doc-app-helpers.mjs.map +0 -1
- package/fesm2015/ng-doc-app-modules-root.mjs +0 -65
- package/fesm2015/ng-doc-app-modules-root.mjs.map +0 -1
- package/fesm2015/ng-doc-app-pipes-extract-value.mjs +0 -37
- package/fesm2015/ng-doc-app-pipes-filter-by-text.mjs +0 -37
- package/fesm2015/ng-doc-app-pipes-filter-by-text.mjs.map +0 -1
- package/fesm2015/ng-doc-app-pipes-sanitize-html.mjs +0 -40
- package/fesm2015/ng-doc-app-processors-blockquote-processor.mjs +0 -49
- package/fesm2015/ng-doc-app-processors-blockquote-processor.mjs.map +0 -1
- package/fesm2015/ng-doc-app-processors-code-processor.mjs +0 -56
- package/fesm2015/ng-doc-app-processors-code-processor.mjs.map +0 -1
- package/fesm2015/ng-doc-app-processors-demo-pane-processor.mjs +0 -58
- package/fesm2015/ng-doc-app-processors-demo-pane-processor.mjs.map +0 -1
- package/fesm2015/ng-doc-app-processors-demo-processor.mjs +0 -58
- package/fesm2015/ng-doc-app-processors-demo-processor.mjs.map +0 -1
- package/fesm2015/ng-doc-app-processors-html-processor.mjs +0 -46
- package/fesm2015/ng-doc-app-processors-html-processor.mjs.map +0 -1
- package/fesm2015/ng-doc-app-processors-icon-processor.mjs +0 -49
- package/fesm2015/ng-doc-app-processors-icon-processor.mjs.map +0 -1
- package/fesm2015/ng-doc-app-processors-link-processor.mjs +0 -50
- package/fesm2015/ng-doc-app-processors-link-processor.mjs.map +0 -1
- package/fesm2015/ng-doc-app-processors-playground-processor.mjs +0 -53
- package/fesm2015/ng-doc-app-processors-playground-processor.mjs.map +0 -1
- package/fesm2015/ng-doc-app-processors-tooltip-processor.mjs +0 -96
- package/fesm2015/ng-doc-app-services-sidebar.mjs +0 -107
- package/fesm2015/ng-doc-app-services-sidebar.mjs.map +0 -1
- package/fesm2015/ng-doc-app-services-store.mjs +0 -27
- package/fesm2015/ng-doc-app-services-theme.mjs +0 -127
- package/fesm2015/ng-doc-app-services-theme.mjs.map +0 -1
- package/fesm2015/ng-doc-app-type-controls-boolean-control.mjs +0 -45
- package/fesm2015/ng-doc-app-type-controls-number-control.mjs +0 -79
- package/fesm2015/ng-doc-app-type-controls-number-control.mjs.map +0 -1
- package/fesm2015/ng-doc-app-type-controls-string-control.mjs +0 -83
- package/fesm2015/ng-doc-app-type-controls-type-alias-control.mjs +0 -97
- package/fesm2015/ng-doc-app-type-controls-type-alias-control.mjs.map +0 -1
- package/fesm2020/ng-doc-app-classes-root-page.mjs +0 -12
- package/fesm2020/ng-doc-app-classes-root-page.mjs.map +0 -1
- package/fesm2020/ng-doc-app-classes-search-engine.mjs +0 -12
- package/fesm2020/ng-doc-app-classes-search-engine.mjs.map +0 -1
- package/fesm2020/ng-doc-app-classes.mjs +0 -8
- package/fesm2020/ng-doc-app-classes.mjs.map +0 -1
- package/fesm2020/ng-doc-app-components-api-list.mjs +0 -153
- package/fesm2020/ng-doc-app-components-breadcrumb.mjs +0 -50
- package/fesm2020/ng-doc-app-components-breadcrumb.mjs.map +0 -1
- package/fesm2020/ng-doc-app-components-code.mjs +0 -87
- package/fesm2020/ng-doc-app-components-code.mjs.map +0 -1
- package/fesm2020/ng-doc-app-components-demo-displayer.mjs +0 -99
- package/fesm2020/ng-doc-app-components-demo-displayer.mjs.map +0 -1
- package/fesm2020/ng-doc-app-components-demo-pane.mjs.map +0 -1
- package/fesm2020/ng-doc-app-components-demo.mjs.map +0 -1
- package/fesm2020/ng-doc-app-components-kind-icon.mjs +0 -47
- package/fesm2020/ng-doc-app-components-kind-icon.mjs.map +0 -1
- package/fesm2020/ng-doc-app-components-link.mjs +0 -40
- package/fesm2020/ng-doc-app-components-link.mjs.map +0 -1
- package/fesm2020/ng-doc-app-components-page-link.mjs +0 -53
- package/fesm2020/ng-doc-app-components-page-link.mjs.map +0 -1
- package/fesm2020/ng-doc-app-components-page.mjs +0 -143
- package/fesm2020/ng-doc-app-components-playground.mjs.map +0 -1
- package/fesm2020/ng-doc-app-components-root.mjs +0 -136
- package/fesm2020/ng-doc-app-components-root.mjs.map +0 -1
- package/fesm2020/ng-doc-app-components-search-result.mjs +0 -67
- package/fesm2020/ng-doc-app-components-search-result.mjs.map +0 -1
- package/fesm2020/ng-doc-app-components-search.mjs +0 -158
- package/fesm2020/ng-doc-app-components-theme-toggle.mjs +0 -75
- package/fesm2020/ng-doc-app-components-theme-toggle.mjs.map +0 -1
- package/fesm2020/ng-doc-app-components.mjs +0 -23
- package/fesm2020/ng-doc-app-components.mjs.map +0 -1
- package/fesm2020/ng-doc-app-constants.mjs +0 -76
- package/fesm2020/ng-doc-app-constants.mjs.map +0 -1
- package/fesm2020/ng-doc-app-directives-route-active.mjs +0 -76
- package/fesm2020/ng-doc-app-directives.mjs +0 -7
- package/fesm2020/ng-doc-app-directives.mjs.map +0 -1
- package/fesm2020/ng-doc-app-interfaces.mjs +0 -4
- package/fesm2020/ng-doc-app-interfaces.mjs.map +0 -1
- package/fesm2020/ng-doc-app-modules.mjs +0 -6
- package/fesm2020/ng-doc-app-modules.mjs.map +0 -1
- package/fesm2020/ng-doc-app-pipes-extract-value.mjs +0 -37
- package/fesm2020/ng-doc-app-pipes-extract-value.mjs.map +0 -1
- package/fesm2020/ng-doc-app-pipes-filter-by-text.mjs +0 -36
- package/fesm2020/ng-doc-app-pipes-sanitize-html.mjs +0 -40
- package/fesm2020/ng-doc-app-pipes-sanitize-html.mjs.map +0 -1
- package/fesm2020/ng-doc-app-pipes.mjs +0 -8
- package/fesm2020/ng-doc-app-pipes.mjs.map +0 -1
- package/fesm2020/ng-doc-app-processors-tooltip-processor.mjs.map +0 -1
- package/fesm2020/ng-doc-app-processors.mjs +0 -14
- package/fesm2020/ng-doc-app-processors.mjs.map +0 -1
- package/fesm2020/ng-doc-app-services-store.mjs.map +0 -1
- package/fesm2020/ng-doc-app-services.mjs +0 -8
- package/fesm2020/ng-doc-app-services.mjs.map +0 -1
- package/fesm2020/ng-doc-app-tokens.mjs +0 -41
- package/fesm2020/ng-doc-app-tokens.mjs.map +0 -1
- package/fesm2020/ng-doc-app-type-controls-boolean-control.mjs +0 -45
- package/fesm2020/ng-doc-app-type-controls-boolean-control.mjs.map +0 -1
- package/fesm2020/ng-doc-app-type-controls-number-control.mjs +0 -79
- package/fesm2020/ng-doc-app-type-controls-string-control.mjs +0 -83
- package/fesm2020/ng-doc-app-type-controls-string-control.mjs.map +0 -1
- package/fesm2020/ng-doc-app-type-controls-type-alias-control.mjs +0 -97
- package/fesm2020/ng-doc-app-type-controls.mjs +0 -9
- package/fesm2020/ng-doc-app-type-controls.mjs.map +0 -1
- package/fesm2020/ng-doc-app-types.mjs +0 -4
- package/fesm2020/ng-doc-app-types.mjs.map +0 -1
- package/fesm2020/ng-doc-app.mjs +0 -18
- package/fesm2020/ng-doc-app.mjs.map +0 -1
- /package/{esm2020 → esm2022}/classes/default-search-engine/default-search-engine.mjs +0 -0
- /package/{esm2020 → esm2022}/classes/default-search-engine/index.mjs +0 -0
- /package/{esm2020 → esm2022}/classes/default-search-engine/ng-doc-app-classes-default-search-engine.mjs +0 -0
- /package/{esm2020 → esm2022}/classes/index.mjs +0 -0
- /package/{esm2020 → esm2022}/classes/ng-doc-app-classes.mjs +0 -0
- /package/{esm2020 → esm2022}/classes/root-page/index.mjs +0 -0
- /package/{esm2020 → esm2022}/classes/root-page/ng-doc-app-classes-root-page.mjs +0 -0
- /package/{esm2020 → esm2022}/classes/root-page/root-page.mjs +0 -0
- /package/{esm2020 → esm2022}/classes/search-engine/index.mjs +0 -0
- /package/{esm2020 → esm2022}/classes/search-engine/ng-doc-app-classes-search-engine.mjs +0 -0
- /package/{esm2020 → esm2022}/classes/search-engine/search-engine.mjs +0 -0
- /package/{esm2020 → esm2022}/components/api-list/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/api-list/ng-doc-app-components-api-list.mjs +0 -0
- /package/{esm2020 → esm2022}/components/breadcrumb/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/breadcrumb/ng-doc-app-components-breadcrumb.mjs +0 -0
- /package/{esm2020 → esm2022}/components/code/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/code/ng-doc-app-components-code.mjs +0 -0
- /package/{esm2020 → esm2022}/components/demo/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/demo/ng-doc-app-components-demo.mjs +0 -0
- /package/{esm2020 → esm2022}/components/demo-displayer/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/demo-displayer/ng-doc-app-components-demo-displayer.mjs +0 -0
- /package/{esm2020 → esm2022}/components/demo-pane/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/demo-pane/ng-doc-app-components-demo-pane.mjs +0 -0
- /package/{esm2020 → esm2022}/components/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/kind-icon/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/kind-icon/ng-doc-app-components-kind-icon.mjs +0 -0
- /package/{esm2020 → esm2022}/components/link/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/link/ng-doc-app-components-link.mjs +0 -0
- /package/{esm2020 → esm2022}/components/navbar/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/navbar/ng-doc-app-components-navbar.mjs +0 -0
- /package/{esm2020 → esm2022}/components/ng-doc-app-components.mjs +0 -0
- /package/{esm2020 → esm2022}/components/page/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/page/ng-doc-app-components-page.mjs +0 -0
- /package/{esm2020 → esm2022}/components/page-link/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/page-link/ng-doc-app-components-page-link.mjs +0 -0
- /package/{esm2020 → esm2022}/components/playground/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/playground/ng-doc-app-components-playground.mjs +0 -0
- /package/{esm2020 → esm2022}/components/playground/playground-form.mjs +0 -0
- /package/{esm2020 → esm2022}/components/playground/playground-property-control.mjs +0 -0
- /package/{esm2020 → esm2022}/components/root/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/root/ng-doc-app-components-root.mjs +0 -0
- /package/{esm2020 → esm2022}/components/search/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/search/ng-doc-app-components-search.mjs +0 -0
- /package/{esm2020 → esm2022}/components/search-result/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/search-result/ng-doc-app-components-search-result.mjs +0 -0
- /package/{esm2020 → esm2022}/components/sidebar/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/sidebar/ng-doc-app-components-sidebar.mjs +0 -0
- /package/{esm2020 → esm2022}/components/theme-toggle/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/theme-toggle/ng-doc-app-components-theme-toggle.mjs +0 -0
- /package/{esm2020 → esm2022}/components/toc/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/toc/ng-doc-app-components-toc.mjs +0 -0
- /package/{esm2020 → esm2022}/constants/index.mjs +0 -0
- /package/{esm2020 → esm2022}/constants/ng-doc-app-constants.mjs +0 -0
- /package/{esm2020 → esm2022}/constants/store-keys.mjs +0 -0
- /package/{esm2020 → esm2022}/constants/themes.mjs +0 -0
- /package/{esm2020 → esm2022}/directives/code-highlighter/index.mjs +0 -0
- /package/{esm2020 → esm2022}/directives/code-highlighter/ng-doc-app-directives-code-highlighter.mjs +0 -0
- /package/{esm2020 → esm2022}/directives/index.mjs +0 -0
- /package/{esm2020 → esm2022}/directives/ng-doc-app-directives.mjs +0 -0
- /package/{esm2020 → esm2022}/directives/route-active/index.mjs +0 -0
- /package/{esm2020 → esm2022}/directives/route-active/ng-doc-app-directives-route-active.mjs +0 -0
- /package/{esm2020 → esm2022}/helpers/as-boolean.mjs +0 -0
- /package/{esm2020 → esm2022}/helpers/generate-toc.mjs +0 -0
- /package/{esm2020 → esm2022}/helpers/index.mjs +0 -0
- /package/{esm2020 → esm2022}/helpers/is-dark-os-theme.mjs +0 -0
- /package/{esm2020 → esm2022}/helpers/is-external-link.mjs +0 -0
- /package/{esm2020 → esm2022}/helpers/is-playground-property.mjs +0 -0
- /package/{esm2020 → esm2022}/helpers/ng-doc-app-helpers.mjs +0 -0
- /package/{esm2020 → esm2022}/helpers/provide-playground-demo.mjs +0 -0
- /package/{esm2020 → esm2022}/helpers/provide-search-engine.mjs +0 -0
- /package/{esm2020 → esm2022}/helpers/provide-type-control.mjs +0 -0
- /package/{esm2020 → esm2022}/index.mjs +0 -0
- /package/{esm2020 → esm2022}/interfaces/application-config.mjs +0 -0
- /package/{esm2020 → esm2022}/interfaces/context.mjs +0 -0
- /package/{esm2020 → esm2022}/interfaces/demo-assets.mjs +0 -0
- /package/{esm2020 → esm2022}/interfaces/index.mjs +0 -0
- /package/{esm2020 → esm2022}/interfaces/navigation.mjs +0 -0
- /package/{esm2020 → esm2022}/interfaces/ng-doc-app-interfaces.mjs +0 -0
- /package/{esm2020 → esm2022}/interfaces/processor-options.mjs +0 -0
- /package/{esm2020 → esm2022}/interfaces/provided-type-control.mjs +0 -0
- /package/{esm2020 → esm2022}/interfaces/search-result.mjs +0 -0
- /package/{esm2020 → esm2022}/interfaces/theme.mjs +0 -0
- /package/{esm2020 → esm2022}/interfaces/toc-item.mjs +0 -0
- /package/{esm2020 → esm2022}/interfaces/type-control-provider-options.mjs +0 -0
- /package/{esm2020 → esm2022}/interfaces/type-control.mjs +0 -0
- /package/{esm2020 → esm2022}/modules/index.mjs +0 -0
- /package/{esm2020 → esm2022}/modules/ng-doc-app-modules.mjs +0 -0
- /package/{esm2020 → esm2022}/modules/root/index.mjs +0 -0
- /package/{esm2020 → esm2022}/modules/root/ng-doc-app-modules-root.mjs +0 -0
- /package/{esm2020 → esm2022}/ng-doc-app.mjs +0 -0
- /package/{esm2020 → esm2022}/pipes/extract-value/index.mjs +0 -0
- /package/{esm2020 → esm2022}/pipes/extract-value/ng-doc-app-pipes-extract-value.mjs +0 -0
- /package/{esm2020 → esm2022}/pipes/filter-by-text/index.mjs +0 -0
- /package/{esm2020 → esm2022}/pipes/filter-by-text/ng-doc-app-pipes-filter-by-text.mjs +0 -0
- /package/{esm2020 → esm2022}/pipes/index.mjs +0 -0
- /package/{esm2020 → esm2022}/pipes/ng-doc-app-pipes.mjs +0 -0
- /package/{esm2020 → esm2022}/pipes/sanitize-html/index.mjs +0 -0
- /package/{esm2020 → esm2022}/pipes/sanitize-html/ng-doc-app-pipes-sanitize-html.mjs +0 -0
- /package/{esm2020 → esm2022}/processors/blockquote-processor/index.mjs +0 -0
- /package/{esm2020 → esm2022}/processors/blockquote-processor/ng-doc-app-processors-blockquote-processor.mjs +0 -0
- /package/{esm2020 → esm2022}/processors/code-processor/index.mjs +0 -0
- /package/{esm2020 → esm2022}/processors/code-processor/ng-doc-app-processors-code-processor.mjs +0 -0
- /package/{esm2020 → esm2022}/processors/demo-pane-processor/index.mjs +0 -0
- /package/{esm2020 → esm2022}/processors/demo-pane-processor/ng-doc-app-processors-demo-pane-processor.mjs +0 -0
- /package/{esm2020 → esm2022}/processors/demo-processor/index.mjs +0 -0
- /package/{esm2020 → esm2022}/processors/demo-processor/ng-doc-app-processors-demo-processor.mjs +0 -0
- /package/{esm2020 → esm2022}/processors/html-processor/index.mjs +0 -0
- /package/{esm2020 → esm2022}/processors/html-processor/ng-doc-app-processors-html-processor.mjs +0 -0
- /package/{esm2020 → esm2022}/processors/icon-processor/index.mjs +0 -0
- /package/{esm2020 → esm2022}/processors/icon-processor/ng-doc-app-processors-icon-processor.mjs +0 -0
- /package/{esm2020 → esm2022}/processors/index.mjs +0 -0
- /package/{esm2020 → esm2022}/processors/link-processor/index.mjs +0 -0
- /package/{esm2020 → esm2022}/processors/link-processor/ng-doc-app-processors-link-processor.mjs +0 -0
- /package/{esm2020 → esm2022}/processors/ng-doc-app-processors.mjs +0 -0
- /package/{esm2020 → esm2022}/processors/playground-processor/index.mjs +0 -0
- /package/{esm2020 → esm2022}/processors/playground-processor/ng-doc-app-processors-playground-processor.mjs +0 -0
- /package/{esm2020 → esm2022}/processors/tooltip-processor/index.mjs +0 -0
- /package/{esm2020 → esm2022}/processors/tooltip-processor/ng-doc-app-processors-tooltip-processor.mjs +0 -0
- /package/{esm2020 → esm2022}/services/index.mjs +0 -0
- /package/{esm2020 → esm2022}/services/ng-doc-app-services.mjs +0 -0
- /package/{esm2020 → esm2022}/services/sidebar/index.mjs +0 -0
- /package/{esm2020 → esm2022}/services/sidebar/ng-doc-app-services-sidebar.mjs +0 -0
- /package/{esm2020 → esm2022}/services/store/index.mjs +0 -0
- /package/{esm2020 → esm2022}/services/store/ng-doc-app-services-store.mjs +0 -0
- /package/{esm2020 → esm2022}/services/theme/index.mjs +0 -0
- /package/{esm2020 → esm2022}/services/theme/ng-doc-app-services-theme.mjs +0 -0
- /package/{esm2020 → esm2022}/tokens/api-list.mjs +0 -0
- /package/{esm2020 → esm2022}/tokens/context.mjs +0 -0
- /package/{esm2020 → esm2022}/tokens/index.mjs +0 -0
- /package/{esm2020 → esm2022}/tokens/ng-doc-app-tokens.mjs +0 -0
- /package/{esm2020 → esm2022}/tokens/theme.mjs +0 -0
- /package/{esm2020 → esm2022}/tokens/type-control.mjs +0 -0
- /package/{esm2020 → esm2022}/type-controls/boolean-control/index.mjs +0 -0
- /package/{esm2020 → esm2022}/type-controls/boolean-control/ng-doc-app-type-controls-boolean-control.mjs +0 -0
- /package/{esm2020 → esm2022}/type-controls/index.mjs +0 -0
- /package/{esm2020 → esm2022}/type-controls/ng-doc-app-type-controls.mjs +0 -0
- /package/{esm2020 → esm2022}/type-controls/number-control/index.mjs +0 -0
- /package/{esm2020 → esm2022}/type-controls/number-control/ng-doc-app-type-controls-number-control.mjs +0 -0
- /package/{esm2020 → esm2022}/type-controls/string-control/index.mjs +0 -0
- /package/{esm2020 → esm2022}/type-controls/string-control/ng-doc-app-type-controls-string-control.mjs +0 -0
- /package/{esm2020 → esm2022}/type-controls/type-alias-control/index.mjs +0 -0
- /package/{esm2020 → esm2022}/type-controls/type-alias-control/ng-doc-app-type-controls-type-alias-control.mjs +0 -0
- /package/{esm2020 → esm2022}/types/index.mjs +0 -0
- /package/{esm2020 → esm2022}/types/ng-doc-app-types.mjs +0 -0
- /package/{esm2020 → esm2022}/types/typed-form.mjs +0 -0
- /package/{fesm2020 → fesm2022}/ng-doc-app-classes-default-search-engine.mjs +0 -0
- /package/{fesm2020 → fesm2022}/ng-doc-app-classes-default-search-engine.mjs.map +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-app-classes-root-page.mjs +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-app-classes-root-page.mjs.map +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-app-classes-search-engine.mjs +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-app-classes-search-engine.mjs.map +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-app-classes.mjs +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-app-classes.mjs.map +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-app-components.mjs +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-app-components.mjs.map +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-app-constants.mjs +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-app-constants.mjs.map +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-app-directives.mjs +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-app-directives.mjs.map +0 -0
- /package/{fesm2020 → fesm2022}/ng-doc-app-helpers.mjs +0 -0
- /package/{fesm2020 → fesm2022}/ng-doc-app-helpers.mjs.map +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-app-interfaces.mjs +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-app-interfaces.mjs.map +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-app-modules.mjs +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-app-modules.mjs.map +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-app-pipes.mjs +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-app-pipes.mjs.map +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-app-processors.mjs +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-app-processors.mjs.map +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-app-services.mjs +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-app-services.mjs.map +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-app-tokens.mjs +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-app-tokens.mjs.map +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-app-type-controls.mjs +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-app-type-controls.mjs.map +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-app-types.mjs +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-app-types.mjs.map +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-app.mjs +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-app.mjs.map +0 -0
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { Directive, NgModule } from '@angular/core';
|
|
3
|
-
import { NgDocPlaygroundComponent, NgDocPlaygroundModule } from '@ng-doc/app/components/playground';
|
|
4
|
-
import { NgDocHtmlProcessor } from '@ng-doc/app/processors/html-processor';
|
|
5
|
-
|
|
6
|
-
class NgDocPlaygroundProcessorDirective extends NgDocHtmlProcessor {
|
|
7
|
-
constructor(elementRef, viewContainerRef) {
|
|
8
|
-
super(elementRef, viewContainerRef, `ng-doc-playground`, NgDocPlaygroundComponent);
|
|
9
|
-
this.elementRef = elementRef;
|
|
10
|
-
this.viewContainerRef = viewContainerRef;
|
|
11
|
-
}
|
|
12
|
-
extractComponentOptions(element) {
|
|
13
|
-
var _a, _b, _c;
|
|
14
|
-
return {
|
|
15
|
-
inputs: {
|
|
16
|
-
id: element.getAttribute('id') || undefined,
|
|
17
|
-
properties: JSON.parse((_b = (_a = element.querySelector('#data')) === null || _a === void 0 ? void 0 : _a.textContent) !== null && _b !== void 0 ? _b : '') || undefined,
|
|
18
|
-
selectors: (((_c = element.querySelector('#selectors')) === null || _c === void 0 ? void 0 : _c.textContent) || '')
|
|
19
|
-
.split(',')
|
|
20
|
-
.map((selector) => selector.trim()),
|
|
21
|
-
},
|
|
22
|
-
};
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
NgDocPlaygroundProcessorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: NgDocPlaygroundProcessorDirective, deps: [{ token: i0.ElementRef }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
26
|
-
NgDocPlaygroundProcessorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.4", type: NgDocPlaygroundProcessorDirective, selector: "[ngDocPlaygroundProcessor]", usesInheritance: true, ngImport: i0 });
|
|
27
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: NgDocPlaygroundProcessorDirective, decorators: [{
|
|
28
|
-
type: Directive,
|
|
29
|
-
args: [{
|
|
30
|
-
selector: '[ngDocPlaygroundProcessor]',
|
|
31
|
-
}]
|
|
32
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ViewContainerRef }]; } });
|
|
33
|
-
|
|
34
|
-
class NgDocPlaygroundProcessorModule {
|
|
35
|
-
}
|
|
36
|
-
NgDocPlaygroundProcessorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: NgDocPlaygroundProcessorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
37
|
-
NgDocPlaygroundProcessorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.4", ngImport: i0, type: NgDocPlaygroundProcessorModule, declarations: [NgDocPlaygroundProcessorDirective], imports: [NgDocPlaygroundModule], exports: [NgDocPlaygroundProcessorDirective] });
|
|
38
|
-
NgDocPlaygroundProcessorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: NgDocPlaygroundProcessorModule, imports: [NgDocPlaygroundModule] });
|
|
39
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: NgDocPlaygroundProcessorModule, decorators: [{
|
|
40
|
-
type: NgModule,
|
|
41
|
-
args: [{
|
|
42
|
-
declarations: [NgDocPlaygroundProcessorDirective],
|
|
43
|
-
imports: [NgDocPlaygroundModule],
|
|
44
|
-
exports: [NgDocPlaygroundProcessorDirective],
|
|
45
|
-
}]
|
|
46
|
-
}] });
|
|
47
|
-
|
|
48
|
-
/**
|
|
49
|
-
* Generated bundle index. Do not edit.
|
|
50
|
-
*/
|
|
51
|
-
|
|
52
|
-
export { NgDocPlaygroundProcessorDirective, NgDocPlaygroundProcessorModule };
|
|
53
|
-
//# sourceMappingURL=ng-doc-app-processors-playground-processor.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ng-doc-app-processors-playground-processor.mjs","sources":["../../../../libs/app/processors/playground-processor/playground-processor.directive.ts","../../../../libs/app/processors/playground-processor/playground-processor.module.ts","../../../../libs/app/processors/playground-processor/ng-doc-app-processors-playground-processor.ts"],"sourcesContent":["import {Directive, ElementRef, ViewContainerRef} from '@angular/core';\nimport {NgDocPlaygroundComponent} from '@ng-doc/app/components/playground';\nimport {NgDocProcessorOptions} from '@ng-doc/app/interfaces';\nimport {NgDocHtmlProcessor} from '@ng-doc/app/processors/html-processor';\n\n@Directive({\n\tselector: '[ngDocPlaygroundProcessor]',\n})\nexport class NgDocPlaygroundProcessorDirective extends NgDocHtmlProcessor<NgDocPlaygroundComponent> {\n\tconstructor(\n\t\tprotected override readonly elementRef: ElementRef<HTMLElement>,\n\t\tprotected override readonly viewContainerRef: ViewContainerRef,\n\t) {\n\t\tsuper(elementRef, viewContainerRef, `ng-doc-playground`, NgDocPlaygroundComponent);\n\t}\n\n\tprotected override extractComponentOptions(element: Element): NgDocProcessorOptions<NgDocPlaygroundComponent> {\n\t\treturn {\n\t\t\tinputs: {\n\t\t\t\tid: element.getAttribute('id') || undefined,\n\t\t\t\tproperties: JSON.parse(element.querySelector('#data')?.textContent ?? '') || undefined,\n\t\t\t\tselectors: (element.querySelector('#selectors')?.textContent || '')\n\t\t\t\t\t.split(',')\n\t\t\t\t\t.map((selector: string) => selector.trim()),\n\t\t\t},\n\t\t};\n\t}\n}\n","import {NgModule} from '@angular/core';\nimport {NgDocPlaygroundModule} from '@ng-doc/app/components/playground';\n\nimport {NgDocPlaygroundProcessorDirective} from './playground-processor.directive';\n\n@NgModule({\n\tdeclarations: [NgDocPlaygroundProcessorDirective],\n\timports: [NgDocPlaygroundModule],\n\texports: [NgDocPlaygroundProcessorDirective],\n})\nexport class NgDocPlaygroundProcessorModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;AAQM,MAAO,iCAAkC,SAAQ,kBAA4C,CAAA;IAClG,WAC6B,CAAA,UAAmC,EACnC,gBAAkC,EAAA;QAE9D,KAAK,CAAC,UAAU,EAAE,gBAAgB,EAAE,CAAmB,iBAAA,CAAA,EAAE,wBAAwB,CAAC,CAAC;AAHvD,QAAA,IAAU,CAAA,UAAA,GAAV,UAAU,CAAyB;AACnC,QAAA,IAAgB,CAAA,gBAAA,GAAhB,gBAAgB,CAAkB;KAG9D;AAEkB,IAAA,uBAAuB,CAAC,OAAgB,EAAA;;QAC1D,OAAO;AACN,YAAA,MAAM,EAAE;gBACP,EAAE,EAAE,OAAO,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,SAAS;AAC3C,gBAAA,UAAU,EAAE,IAAI,CAAC,KAAK,CAAC,CAAA,EAAA,GAAA,MAAA,OAAO,CAAC,aAAa,CAAC,OAAO,CAAC,MAAE,IAAA,IAAA,EAAA,KAAA,KAAA,CAAA,GAAA,KAAA,CAAA,GAAA,EAAA,CAAA,WAAW,mCAAI,EAAE,CAAC,IAAI,SAAS;AACtF,gBAAA,SAAS,EAAE,CAAC,CAAA,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AAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,8BAA8B,YAHhC,qBAAqB,CAAA,EAAA,CAAA,CAAA;2FAGnB,8BAA8B,EAAA,UAAA,EAAA,CAAA;kBAL1C,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACT,YAAY,EAAE,CAAC,iCAAiC,CAAC;oBACjD,OAAO,EAAE,CAAC,qBAAqB,CAAC;oBAChC,OAAO,EAAE,CAAC,iCAAiC,CAAC;iBAC5C,CAAA;;;ACTD;;AAEG;;;;"}
|
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { ElementRef, Component, ChangeDetectionStrategy, Input, ViewChild, Directive, NgModule } from '@angular/core';
|
|
3
|
-
import { NgDocHtmlProcessor } from '@ng-doc/app/processors/html-processor';
|
|
4
|
-
import * as i1 from '@ng-doc/ui-kit';
|
|
5
|
-
import { NgDocTooltipModule } from '@ng-doc/ui-kit';
|
|
6
|
-
|
|
7
|
-
class NgDocTooltipWrapperComponent {
|
|
8
|
-
constructor(changeDetectorRef) {
|
|
9
|
-
this.changeDetectorRef = changeDetectorRef;
|
|
10
|
-
this.tooltipElement = null;
|
|
11
|
-
}
|
|
12
|
-
ngAfterViewInit() {
|
|
13
|
-
if (this.contentProjection) {
|
|
14
|
-
const element = this.contentProjection.nativeElement.querySelector('[ngDocTooltip]');
|
|
15
|
-
this.tooltipElement = element instanceof HTMLElement ? element : null;
|
|
16
|
-
this.changeDetectorRef.detectChanges();
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
NgDocTooltipWrapperComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: NgDocTooltipWrapperComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
21
|
-
NgDocTooltipWrapperComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.4", type: NgDocTooltipWrapperComponent, selector: "ng-doc-tooltip-wrapper", inputs: { content: "content" }, viewQueries: [{ propertyName: "contentProjection", first: true, predicate: ["contentProjection"], descendants: true, read: ElementRef, static: true }], ngImport: i0, template: `
|
|
22
|
-
<div
|
|
23
|
-
class="content-projection"
|
|
24
|
-
[ngDocTooltip]="content ?? ''"
|
|
25
|
-
[displayOrigin]="tooltipElement ?? contentProjection"
|
|
26
|
-
[pointerOrigin]="tooltipElement ?? contentProjection"
|
|
27
|
-
#contentProjection
|
|
28
|
-
>
|
|
29
|
-
<ng-content></ng-content>
|
|
30
|
-
</div>
|
|
31
|
-
`, isInline: true, styles: [".content-projection{display:unset}\n"], dependencies: [{ kind: "directive", type: i1.NgDocTooltipDirective, selector: "[ngDocTooltip]", inputs: ["ngDocTooltip", "delay", "displayOrigin", "pointerOrigin", "positions", "canOpen", "panelClass", "minHeight", "maxHeight", "height", "minWidth", "maxWidth", "width"], outputs: ["beforeOpen", "afterOpen", "beforeClose", "afterClose"], exportAs: ["ngDocTooltip"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
32
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: NgDocTooltipWrapperComponent, decorators: [{
|
|
33
|
-
type: Component,
|
|
34
|
-
args: [{ selector: 'ng-doc-tooltip-wrapper', template: `
|
|
35
|
-
<div
|
|
36
|
-
class="content-projection"
|
|
37
|
-
[ngDocTooltip]="content ?? ''"
|
|
38
|
-
[displayOrigin]="tooltipElement ?? contentProjection"
|
|
39
|
-
[pointerOrigin]="tooltipElement ?? contentProjection"
|
|
40
|
-
#contentProjection
|
|
41
|
-
>
|
|
42
|
-
<ng-content></ng-content>
|
|
43
|
-
</div>
|
|
44
|
-
`, changeDetection: ChangeDetectionStrategy.OnPush, styles: [".content-projection{display:unset}\n"] }]
|
|
45
|
-
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { content: [{
|
|
46
|
-
type: Input
|
|
47
|
-
}], contentProjection: [{
|
|
48
|
-
type: ViewChild,
|
|
49
|
-
args: ['contentProjection', { read: ElementRef, static: true }]
|
|
50
|
-
}] } });
|
|
51
|
-
|
|
52
|
-
class NgDocTooltipProcessorDirective extends NgDocHtmlProcessor {
|
|
53
|
-
constructor(elementRef, viewContainerRef) {
|
|
54
|
-
super(elementRef, viewContainerRef, `[ngDocTooltip]`, NgDocTooltipWrapperComponent);
|
|
55
|
-
this.elementRef = elementRef;
|
|
56
|
-
this.viewContainerRef = viewContainerRef;
|
|
57
|
-
}
|
|
58
|
-
extractComponentOptions(element) {
|
|
59
|
-
var _a;
|
|
60
|
-
return {
|
|
61
|
-
inputs: {
|
|
62
|
-
content: (_a = element.getAttribute('ngDocTooltip')) !== null && _a !== void 0 ? _a : '',
|
|
63
|
-
},
|
|
64
|
-
content: [[element.cloneNode(true)]],
|
|
65
|
-
};
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
NgDocTooltipProcessorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: NgDocTooltipProcessorDirective, deps: [{ token: i0.ElementRef }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
69
|
-
NgDocTooltipProcessorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.4", type: NgDocTooltipProcessorDirective, selector: "[ngDocTooltipProcessor]", usesInheritance: true, ngImport: i0 });
|
|
70
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: NgDocTooltipProcessorDirective, decorators: [{
|
|
71
|
-
type: Directive,
|
|
72
|
-
args: [{
|
|
73
|
-
selector: '[ngDocTooltipProcessor]',
|
|
74
|
-
}]
|
|
75
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ViewContainerRef }]; } });
|
|
76
|
-
|
|
77
|
-
class NgDocTooltipProcessorModule {
|
|
78
|
-
}
|
|
79
|
-
NgDocTooltipProcessorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: NgDocTooltipProcessorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
80
|
-
NgDocTooltipProcessorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.4", ngImport: i0, type: NgDocTooltipProcessorModule, declarations: [NgDocTooltipProcessorDirective, NgDocTooltipWrapperComponent], imports: [NgDocTooltipModule], exports: [NgDocTooltipProcessorDirective] });
|
|
81
|
-
NgDocTooltipProcessorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: NgDocTooltipProcessorModule, imports: [NgDocTooltipModule] });
|
|
82
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: NgDocTooltipProcessorModule, decorators: [{
|
|
83
|
-
type: NgModule,
|
|
84
|
-
args: [{
|
|
85
|
-
declarations: [NgDocTooltipProcessorDirective, NgDocTooltipWrapperComponent],
|
|
86
|
-
exports: [NgDocTooltipProcessorDirective],
|
|
87
|
-
imports: [NgDocTooltipModule],
|
|
88
|
-
}]
|
|
89
|
-
}] });
|
|
90
|
-
|
|
91
|
-
/**
|
|
92
|
-
* Generated bundle index. Do not edit.
|
|
93
|
-
*/
|
|
94
|
-
|
|
95
|
-
export { NgDocTooltipProcessorDirective, NgDocTooltipProcessorModule, NgDocTooltipWrapperComponent };
|
|
96
|
-
//# sourceMappingURL=ng-doc-app-processors-tooltip-processor.mjs.map
|
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
import { __decorate, __metadata } from 'tslib';
|
|
2
|
-
import * as i1 from '@angular/cdk/layout';
|
|
3
|
-
import { Breakpoints, BreakpointObserver } from '@angular/cdk/layout';
|
|
4
|
-
import { DOCUMENT } from '@angular/common';
|
|
5
|
-
import * as i0 from '@angular/core';
|
|
6
|
-
import { Injectable, Inject } from '@angular/core';
|
|
7
|
-
import * as i2 from '@angular/router';
|
|
8
|
-
import { NavigationEnd, Router } from '@angular/router';
|
|
9
|
-
import * as i3 from '@ng-doc/ui-kit/services/scroll';
|
|
10
|
-
import { NgDocScrollService } from '@ng-doc/ui-kit/services/scroll';
|
|
11
|
-
import { untilDestroyed, UntilDestroy } from '@ngneat/until-destroy';
|
|
12
|
-
import { BehaviorSubject, combineLatest } from 'rxjs';
|
|
13
|
-
import { pluck, distinctUntilChanged, filter, debounceTime } from 'rxjs/operators';
|
|
14
|
-
|
|
15
|
-
/**
|
|
16
|
-
* Service for sidebar, it can be used to hide/show sidebar or to check if sidebar is collapsable.
|
|
17
|
-
*/
|
|
18
|
-
let NgDocSidebarService = class NgDocSidebarService {
|
|
19
|
-
constructor(document, breakpointObserver, router, scroll) {
|
|
20
|
-
this.document = document;
|
|
21
|
-
this.breakpointObserver = breakpointObserver;
|
|
22
|
-
this.router = router;
|
|
23
|
-
this.scroll = scroll;
|
|
24
|
-
this.breakpoints = [Breakpoints.XSmall, Breakpoints.Small];
|
|
25
|
-
this.expanded = new BehaviorSubject(true);
|
|
26
|
-
this.observer = this.breakpointObserver
|
|
27
|
-
.observe(this.breakpoints)
|
|
28
|
-
.pipe(pluck('matches'), distinctUntilChanged(), untilDestroyed(this));
|
|
29
|
-
combineLatest([this.router.events, this.isMobileMode()])
|
|
30
|
-
.pipe(filter(([event, isMobileMode]) => event instanceof NavigationEnd && this.expanded.value && isMobileMode), debounceTime(10))
|
|
31
|
-
.subscribe(() => this.hide());
|
|
32
|
-
this.isMobileMode()
|
|
33
|
-
.pipe(untilDestroyed(this))
|
|
34
|
-
.subscribe((isMobileMode) => {
|
|
35
|
-
if (isMobileMode) {
|
|
36
|
-
this.hide();
|
|
37
|
-
}
|
|
38
|
-
else {
|
|
39
|
-
this.show();
|
|
40
|
-
this.scroll.unblock();
|
|
41
|
-
}
|
|
42
|
-
});
|
|
43
|
-
}
|
|
44
|
-
/**
|
|
45
|
-
* Indicates if sidebar is collapsable, based on the screen size.
|
|
46
|
-
*/
|
|
47
|
-
isMobileMode() {
|
|
48
|
-
return this.observer;
|
|
49
|
-
}
|
|
50
|
-
/**
|
|
51
|
-
* Indicates if sidebar is visible, based on the show/hide methods.
|
|
52
|
-
*/
|
|
53
|
-
isExpanded() {
|
|
54
|
-
return this.expanded.asObservable();
|
|
55
|
-
}
|
|
56
|
-
/**
|
|
57
|
-
* Show sidebar, and block scrolling.
|
|
58
|
-
*/
|
|
59
|
-
show() {
|
|
60
|
-
if (!this.expanded.value) {
|
|
61
|
-
this.expanded.next(true);
|
|
62
|
-
this.scroll.block();
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
/**
|
|
66
|
-
* Hide sidebar, and unblock scrolling.
|
|
67
|
-
*/
|
|
68
|
-
hide() {
|
|
69
|
-
if (this.expanded.value) {
|
|
70
|
-
this.expanded.next(false);
|
|
71
|
-
this.scroll.unblock();
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
/**
|
|
75
|
-
* Toggle sidebar visibility.
|
|
76
|
-
*/
|
|
77
|
-
toggle() {
|
|
78
|
-
this.expanded.value ? this.hide() : this.show();
|
|
79
|
-
}
|
|
80
|
-
};
|
|
81
|
-
NgDocSidebarService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: NgDocSidebarService, deps: [{ token: DOCUMENT }, { token: i1.BreakpointObserver }, { token: i2.Router }, { token: i3.NgDocScrollService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
82
|
-
NgDocSidebarService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: NgDocSidebarService, providedIn: 'root' });
|
|
83
|
-
NgDocSidebarService = __decorate([
|
|
84
|
-
UntilDestroy(),
|
|
85
|
-
__metadata("design:paramtypes", [Document,
|
|
86
|
-
BreakpointObserver,
|
|
87
|
-
Router,
|
|
88
|
-
NgDocScrollService])
|
|
89
|
-
], NgDocSidebarService);
|
|
90
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: NgDocSidebarService, decorators: [{
|
|
91
|
-
type: Injectable,
|
|
92
|
-
args: [{
|
|
93
|
-
providedIn: 'root',
|
|
94
|
-
}]
|
|
95
|
-
}], ctorParameters: function () {
|
|
96
|
-
return [{ type: Document, decorators: [{
|
|
97
|
-
type: Inject,
|
|
98
|
-
args: [DOCUMENT]
|
|
99
|
-
}] }, { type: i1.BreakpointObserver }, { type: i2.Router }, { type: i3.NgDocScrollService }];
|
|
100
|
-
} });
|
|
101
|
-
|
|
102
|
-
/**
|
|
103
|
-
* Generated bundle index. Do not edit.
|
|
104
|
-
*/
|
|
105
|
-
|
|
106
|
-
export { NgDocSidebarService };
|
|
107
|
-
//# sourceMappingURL=ng-doc-app-services-sidebar.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ng-doc-app-services-sidebar.mjs","sources":["../../../../libs/app/services/sidebar/sidebar.service.ts","../../../../libs/app/services/sidebar/ng-doc-app-services-sidebar.ts"],"sourcesContent":["import {BreakpointObserver, Breakpoints} from '@angular/cdk/layout';\nimport {DOCUMENT} from '@angular/common';\nimport {Inject, Injectable} from '@angular/core';\nimport {Event, NavigationEnd, Router} from '@angular/router';\nimport {NgDocScrollService} from '@ng-doc/ui-kit/services/scroll';\nimport {UntilDestroy, untilDestroyed} from '@ngneat/until-destroy';\nimport {BehaviorSubject, combineLatest, Observable, of} from 'rxjs';\nimport {debounceTime, distinctUntilChanged, filter, pluck, share, startWith, switchMap, tap} from 'rxjs/operators';\n\n/**\n * Service for sidebar, it can be used to hide/show sidebar or to check if sidebar is collapsable.\n */\n@Injectable({\n\tprovidedIn: 'root',\n})\n@UntilDestroy()\nexport class NgDocSidebarService {\n\treadonly breakpoints: string[] = [Breakpoints.XSmall, Breakpoints.Small];\n\tprotected readonly observer: Observable<boolean>;\n\tprotected readonly expanded: BehaviorSubject<boolean> = new BehaviorSubject<boolean>(true);\n\n\tconstructor(\n\t\t@Inject(DOCUMENT)\n\t\tprotected readonly document: Document,\n\t\tprotected readonly breakpointObserver: BreakpointObserver,\n\t\tprotected readonly router: Router,\n\t\tprotected readonly scroll: NgDocScrollService,\n\t) {\n\t\tthis.observer = this.breakpointObserver\n\t\t\t.observe(this.breakpoints)\n\t\t\t.pipe(pluck('matches'), distinctUntilChanged(), untilDestroyed(this));\n\n\t\tcombineLatest([this.router.events, this.isMobileMode()])\n\t\t\t.pipe(\n\t\t\t\tfilter(\n\t\t\t\t\t([event, isMobileMode]: [Event, boolean]) =>\n\t\t\t\t\t\tevent instanceof NavigationEnd && this.expanded.value && isMobileMode,\n\t\t\t\t),\n\t\t\t\tdebounceTime(10),\n\t\t\t)\n\t\t\t.subscribe(() => this.hide());\n\n\t\tthis.isMobileMode()\n\t\t\t.pipe(untilDestroyed(this))\n\t\t\t.subscribe((isMobileMode: boolean) => {\n\t\t\t\tif (isMobileMode) {\n\t\t\t\t\tthis.hide();\n\t\t\t\t} else {\n\t\t\t\t\tthis.show();\n\t\t\t\t\tthis.scroll.unblock();\n\t\t\t\t}\n\t\t\t});\n\t}\n\n\t/**\n\t * Indicates if sidebar is collapsable, based on the screen size.\n\t */\n\tisMobileMode(): Observable<boolean> {\n\t\treturn this.observer;\n\t}\n\n\t/**\n\t * Indicates if sidebar is visible, based on the show/hide methods.\n\t */\n\tisExpanded(): Observable<boolean> {\n\t\treturn this.expanded.asObservable();\n\t}\n\n\t/**\n\t * Show sidebar, and block scrolling.\n\t */\n\tshow(): void {\n\t\tif (!this.expanded.value) {\n\t\t\tthis.expanded.next(true);\n\t\t\tthis.scroll.block();\n\t\t}\n\t}\n\n\t/**\n\t * Hide sidebar, and unblock scrolling.\n\t */\n\thide(): void {\n\t\tif (this.expanded.value) {\n\t\t\tthis.expanded.next(false);\n\t\t\tthis.scroll.unblock();\n\t\t}\n\t}\n\n\t/**\n\t * Toggle sidebar visibility.\n\t */\n\ttoggle(): void {\n\t\tthis.expanded.value ? this.hide() : this.show();\n\t}\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;AASA;;AAEG;AAKU,IAAA,mBAAmB,GAAzB,MAAM,mBAAmB,CAAA;AAK/B,IAAA,WAAA,CAEoB,QAAkB,EAClB,kBAAsC,EACtC,MAAc,EACd,MAA0B,EAAA;AAH1B,QAAA,IAAQ,CAAA,QAAA,GAAR,QAAQ,CAAU;AAClB,QAAA,IAAkB,CAAA,kBAAA,GAAlB,kBAAkB,CAAoB;AACtC,QAAA,IAAM,CAAA,MAAA,GAAN,MAAM,CAAQ;AACd,QAAA,IAAM,CAAA,MAAA,GAAN,MAAM,CAAoB;AATrC,QAAA,IAAW,CAAA,WAAA,GAAa,CAAC,WAAW,CAAC,MAAM,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;QAEtD,IAAA,CAAA,QAAQ,GAA6B,IAAI,eAAe,CAAU,IAAI,CAAC,CAAC;AAS1F,QAAA,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,kBAAkB;AACrC,aAAA,OAAO,CAAC,IAAI,CAAC,WAAW,CAAC;AACzB,aAAA,IAAI,CAAC,KAAK,CAAC,SAAS,CAAC,EAAE,oBAAoB,EAAE,EAAE,cAAc,CAAC,IAAI,CAAC,CAAC,CAAC;AAEvE,QAAA,aAAa,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,YAAY,EAAE,CAAC,CAAC;AACtD,aAAA,IAAI,CACJ,MAAM,CACL,CAAC,CAAC,KAAK,EAAE,YAAY,CAAmB,KACvC,KAAK,YAAY,aAAa,IAAI,IAAI,CAAC,QAAQ,CAAC,KAAK,IAAI,YAAY,CACtE,EACD,YAAY,CAAC,EAAE,CAAC,CAChB;aACA,SAAS,CAAC,MAAM,IAAI,CAAC,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,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,mBAAmB,kBAMtB,QAAQ,EAAA,EAAA,EAAA,KAAA,EAAA,EAAA,CAAA,kBAAA,EAAA,EAAA,EAAA,KAAA,EAAA,EAAA,CAAA,MAAA,EAAA,EAAA,EAAA,KAAA,EAAA,EAAA,CAAA,kBAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;AANL,mBAAA,CAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,mBAAmB,cAHnB,MAAM,EAAA,CAAA,CAAA;AAGN,mBAAmB,GAAA,UAAA,CAAA;AAD/B,IAAA,YAAY,EAAE;qCAQgB,QAAQ;QACE,kBAAkB;QAC9B,MAAM;AACN,QAAA,kBAAkB,CAAA,CAAA;CAVlC,EAAA,mBAAmB,CA8E/B,CAAA;2FA9EY,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAJ/B,UAAU;AAAC,YAAA,IAAA,EAAA,CAAA;AACX,oBAAA,UAAU,EAAE,MAAM;iBAClB,CAAA;;;8BAQE,MAAM;+BAAC,QAAQ,CAAA;;;;ACtBlB;;AAEG;;;;"}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { Injectable } from '@angular/core';
|
|
3
|
-
|
|
4
|
-
const DEFAULT_SERIALIZE = (v) => String(v);
|
|
5
|
-
class NgDocStoreService {
|
|
6
|
-
set(key, data, serialize = DEFAULT_SERIALIZE) {
|
|
7
|
-
return localStorage.setItem(key, serialize(data));
|
|
8
|
-
}
|
|
9
|
-
get(key, deserialize) {
|
|
10
|
-
return deserialize ? deserialize(localStorage.getItem(key)) : localStorage.getItem(key);
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
NgDocStoreService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: NgDocStoreService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
14
|
-
NgDocStoreService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: NgDocStoreService, providedIn: 'root' });
|
|
15
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: NgDocStoreService, decorators: [{
|
|
16
|
-
type: Injectable,
|
|
17
|
-
args: [{
|
|
18
|
-
providedIn: 'root',
|
|
19
|
-
}]
|
|
20
|
-
}] });
|
|
21
|
-
|
|
22
|
-
/**
|
|
23
|
-
* Generated bundle index. Do not edit.
|
|
24
|
-
*/
|
|
25
|
-
|
|
26
|
-
export { NgDocStoreService };
|
|
27
|
-
//# sourceMappingURL=ng-doc-app-services-store.mjs.map
|
|
@@ -1,127 +0,0 @@
|
|
|
1
|
-
import { __decorate, __metadata } from 'tslib';
|
|
2
|
-
import { DOCUMENT } from '@angular/common';
|
|
3
|
-
import * as i0 from '@angular/core';
|
|
4
|
-
import { Injectable, Inject, Optional } from '@angular/core';
|
|
5
|
-
import { NG_DOC_NIGHT_THEME, NG_DOC_STORE_THEME_KEY } from '@ng-doc/app/constants';
|
|
6
|
-
import * as i1 from '@ng-doc/app/services/store';
|
|
7
|
-
import { NgDocStoreService } from '@ng-doc/app/services/store';
|
|
8
|
-
import { NG_DOC_THEME, NG_DOC_DEFAULT_THEME_ID } from '@ng-doc/app/tokens';
|
|
9
|
-
import { untilDestroyed, UntilDestroy } from '@ngneat/until-destroy';
|
|
10
|
-
import { Subject, fromEvent } from 'rxjs';
|
|
11
|
-
import { takeUntil } from 'rxjs/operators';
|
|
12
|
-
|
|
13
|
-
/**
|
|
14
|
-
* Service for managing themes.
|
|
15
|
-
*/
|
|
16
|
-
let NgDocThemeService = class NgDocThemeService {
|
|
17
|
-
constructor(document, themes, store, defaultThemeId) {
|
|
18
|
-
this.document = document;
|
|
19
|
-
this.themes = themes;
|
|
20
|
-
this.store = store;
|
|
21
|
-
this.defaultThemeId = defaultThemeId;
|
|
22
|
-
this.theme = undefined;
|
|
23
|
-
this.theme$ = new Subject();
|
|
24
|
-
this.disableAutoTheme$ = new Subject();
|
|
25
|
-
if (defaultThemeId === 'auto') {
|
|
26
|
-
fromEvent(window.matchMedia('(prefers-color-scheme: dark)'), 'change')
|
|
27
|
-
.pipe(takeUntil(this.disableAutoTheme$), untilDestroyed(this))
|
|
28
|
-
.subscribe((event) => this.set(event.matches ? NG_DOC_NIGHT_THEME.id : undefined, false));
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* Returns the current theme.
|
|
33
|
-
*/
|
|
34
|
-
get currentTheme() {
|
|
35
|
-
return this.theme;
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* Sets the theme by id.
|
|
39
|
-
*
|
|
40
|
-
* @param id Theme id.
|
|
41
|
-
* @param save Whether to save the theme in the store to restore it when the page is reloaded. (`true` by default)
|
|
42
|
-
*/
|
|
43
|
-
set(id, save = true) {
|
|
44
|
-
this.removeLink();
|
|
45
|
-
if (id === 'auto') {
|
|
46
|
-
return Promise.resolve();
|
|
47
|
-
}
|
|
48
|
-
save && this.disableAutoTheme$.next();
|
|
49
|
-
if (id !== 'day' && id) {
|
|
50
|
-
const theme = this.themes.find((theme) => theme.id === id);
|
|
51
|
-
if (!theme) {
|
|
52
|
-
console.warn(`Theme with id "${id}" is not registered. Make sure that you registered it in the root of your application.`);
|
|
53
|
-
return Promise.resolve();
|
|
54
|
-
}
|
|
55
|
-
this.createLinkIfNoExists();
|
|
56
|
-
if (this.linkElement) {
|
|
57
|
-
this.linkElement.href = theme.path;
|
|
58
|
-
save && this.store.set(NG_DOC_STORE_THEME_KEY, theme.id);
|
|
59
|
-
this.theme = theme;
|
|
60
|
-
return new Promise((resolve, reject) => {
|
|
61
|
-
if (this.linkElement) {
|
|
62
|
-
this.linkElement.onload = () => {
|
|
63
|
-
this.theme$.next(theme);
|
|
64
|
-
resolve();
|
|
65
|
-
};
|
|
66
|
-
this.linkElement.onerror = reject;
|
|
67
|
-
}
|
|
68
|
-
});
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
save && this.store.set(NG_DOC_STORE_THEME_KEY, 'day');
|
|
72
|
-
this.theme$.next(undefined);
|
|
73
|
-
return Promise.resolve();
|
|
74
|
-
}
|
|
75
|
-
/**
|
|
76
|
-
* Returns an observable that emits when the theme changes.
|
|
77
|
-
*/
|
|
78
|
-
themeChanges() {
|
|
79
|
-
return this.theme$.asObservable();
|
|
80
|
-
}
|
|
81
|
-
removeLink() {
|
|
82
|
-
var _a;
|
|
83
|
-
this.theme = undefined;
|
|
84
|
-
(_a = this.linkElement) === null || _a === void 0 ? void 0 : _a.remove();
|
|
85
|
-
this.linkElement = undefined;
|
|
86
|
-
}
|
|
87
|
-
createLinkIfNoExists() {
|
|
88
|
-
if (!this.linkElement) {
|
|
89
|
-
this.linkElement = this.document.createElement('link');
|
|
90
|
-
this.linkElement.setAttribute('rel', 'stylesheet');
|
|
91
|
-
this.linkElement.setAttribute('type', 'text/css');
|
|
92
|
-
this.document.getElementsByTagName('head')[0].appendChild(this.linkElement);
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
};
|
|
96
|
-
NgDocThemeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: NgDocThemeService, deps: [{ token: DOCUMENT }, { token: NG_DOC_THEME }, { token: i1.NgDocStoreService }, { token: NG_DOC_DEFAULT_THEME_ID, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
97
|
-
NgDocThemeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: NgDocThemeService, providedIn: 'root' });
|
|
98
|
-
NgDocThemeService = __decorate([
|
|
99
|
-
UntilDestroy(),
|
|
100
|
-
__metadata("design:paramtypes", [Document, Array, NgDocStoreService, String])
|
|
101
|
-
], NgDocThemeService);
|
|
102
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: NgDocThemeService, decorators: [{
|
|
103
|
-
type: Injectable,
|
|
104
|
-
args: [{
|
|
105
|
-
providedIn: 'root',
|
|
106
|
-
}]
|
|
107
|
-
}], ctorParameters: function () {
|
|
108
|
-
return [{ type: Document, decorators: [{
|
|
109
|
-
type: Inject,
|
|
110
|
-
args: [DOCUMENT]
|
|
111
|
-
}] }, { type: undefined, decorators: [{
|
|
112
|
-
type: Inject,
|
|
113
|
-
args: [NG_DOC_THEME]
|
|
114
|
-
}] }, { type: i1.NgDocStoreService }, { type: undefined, decorators: [{
|
|
115
|
-
type: Inject,
|
|
116
|
-
args: [NG_DOC_DEFAULT_THEME_ID]
|
|
117
|
-
}, {
|
|
118
|
-
type: Optional
|
|
119
|
-
}] }];
|
|
120
|
-
} });
|
|
121
|
-
|
|
122
|
-
/**
|
|
123
|
-
* Generated bundle index. Do not edit.
|
|
124
|
-
*/
|
|
125
|
-
|
|
126
|
-
export { NgDocThemeService };
|
|
127
|
-
//# sourceMappingURL=ng-doc-app-services-theme.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ng-doc-app-services-theme.mjs","sources":["../../../../libs/app/services/theme/theme.service.ts","../../../../libs/app/services/theme/ng-doc-app-services-theme.ts"],"sourcesContent":["import {DOCUMENT} from '@angular/common';\nimport {Inject, Injectable, Optional} from '@angular/core';\nimport {NG_DOC_NIGHT_THEME, NG_DOC_STORE_THEME_KEY} from '@ng-doc/app/constants';\nimport {NgDocTheme} from '@ng-doc/app/interfaces';\nimport {NgDocStoreService} from '@ng-doc/app/services/store';\nimport {NG_DOC_DEFAULT_THEME_ID, NG_DOC_THEME} from '@ng-doc/app/tokens';\nimport {UntilDestroy, untilDestroyed} from '@ngneat/until-destroy';\nimport {from, fromEvent, Observable, Subject} from 'rxjs';\nimport {takeUntil} from 'rxjs/operators';\n\n/**\n * Service for managing themes.\n */\n@Injectable({\n\tprovidedIn: 'root',\n})\n@UntilDestroy()\nexport class NgDocThemeService {\n\tprivate linkElement?: HTMLLinkElement;\n\tprivate theme: NgDocTheme | undefined = undefined;\n\tprivate readonly theme$: Subject<NgDocTheme | undefined> = new Subject<NgDocTheme | undefined>();\n\tprivate readonly disableAutoTheme$: Subject<void> = new Subject<void>();\n\n\tconstructor(\n\t\t@Inject(DOCUMENT)\n\t\tprivate readonly document: Document,\n\t\t@Inject(NG_DOC_THEME)\n\t\tprivate readonly themes: NgDocTheme[],\n\t\tprivate readonly store: NgDocStoreService,\n\t\t@Inject(NG_DOC_DEFAULT_THEME_ID)\n\t\t@Optional()\n\t\tprivate readonly defaultThemeId?: string | 'auto',\n\t) {\n\t\tif (defaultThemeId === 'auto') {\n\t\t\tfromEvent<MediaQueryList>(window.matchMedia('(prefers-color-scheme: dark)'), 'change')\n\t\t\t\t.pipe(takeUntil(this.disableAutoTheme$), untilDestroyed(this))\n\t\t\t\t.subscribe((event: MediaQueryList) => this.set(event.matches ? NG_DOC_NIGHT_THEME.id : undefined, false))\n\t\t}\n\t}\n\n\t/**\n\t * Returns the current theme.\n\t */\n\tget currentTheme(): NgDocTheme | undefined {\n\t\treturn this.theme;\n\t}\n\n\t/**\n\t * Sets the theme by id.\n\t *\n\t * @param id Theme id.\n\t * @param save Whether to save the theme in the store to restore it when the page is reloaded. (`true` by default)\n\t */\n\tset(id?: string | 'auto', save: boolean = true): Promise<void> {\n\t\tthis.removeLink();\n\n\t\tif (id === 'auto') {\n\t\t\treturn Promise.resolve();\n\t\t}\n\n\t\tsave && this.disableAutoTheme$.next();\n\n\t\tif (id !== 'day' && id) {\n\t\t\tconst theme: NgDocTheme | undefined = this.themes.find((theme: NgDocTheme) => theme.id === id);\n\n\t\t\tif (!theme) {\n\t\t\t\tconsole.warn(\n\t\t\t\t\t`Theme with id \"${id}\" is not registered. Make sure that you registered it in the root of your application.`,\n\t\t\t\t);\n\n\t\t\t\treturn Promise.resolve();\n\t\t\t}\n\n\t\t\tthis.createLinkIfNoExists();\n\n\t\t\tif (this.linkElement) {\n\t\t\t\tthis.linkElement.href = theme.path;\n\t\t\t\tsave && this.store.set(NG_DOC_STORE_THEME_KEY, theme.id);\n\t\t\t\tthis.theme = theme;\n\n\t\t\t\treturn new Promise<void>((resolve: () => void, reject: (err: Event | string) => void) => {\n\t\t\t\t\tif (this.linkElement) {\n\t\t\t\t\t\tthis.linkElement.onload = () => {\n\t\t\t\t\t\t\tthis.theme$.next(theme);\n\t\t\t\t\t\t\tresolve();\n\t\t\t\t\t\t};\n\t\t\t\t\t\tthis.linkElement.onerror = reject;\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t}\n\t\t}\n\n\t\tsave && this.store.set(NG_DOC_STORE_THEME_KEY, 'day');\n\n\t\tthis.theme$.next(undefined);\n\n\t\treturn Promise.resolve();\n\t}\n\n\t/**\n\t * Returns an observable that emits when the theme changes.\n\t */\n\tthemeChanges(): Observable<NgDocTheme | undefined> {\n\t\treturn this.theme$.asObservable();\n\t}\n\n\tprivate removeLink(): void {\n\t\tthis.theme = undefined;\n\t\tthis.linkElement?.remove();\n\t\tthis.linkElement = undefined;\n\t}\n\tprivate createLinkIfNoExists(): void {\n\t\tif (!this.linkElement) {\n\t\t\tthis.linkElement = this.document.createElement('link');\n\t\t\tthis.linkElement.setAttribute('rel', 'stylesheet');\n\t\t\tthis.linkElement.setAttribute('type', 'text/css');\n\t\t\tthis.document.getElementsByTagName('head')[0].appendChild(this.linkElement);\n\t\t}\n\t}\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;AAUA;;AAEG;AAKU,IAAA,iBAAiB,GAAvB,MAAM,iBAAiB,CAAA;AAM7B,IAAA,WAAA,CAEkB,QAAkB,EAElB,MAAoB,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QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,iBAAiB,cAHjB,MAAM,EAAA,CAAA,CAAA;AAGN,iBAAiB,GAAA,UAAA,CAAA;AAD7B,IAAA,YAAY,EAAE;AASc,IAAA,UAAA,CAAA,mBAAA,EAAA,CAAA,QAAQ,SAGX,iBAAiB,EAAA,MAAA,CAAA,CAAA;CAX9B,EAAA,iBAAiB,CAsG7B,CAAA;2FAtGY,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAJ7B,UAAU;AAAC,YAAA,IAAA,EAAA,CAAA;AACX,oBAAA,UAAU,EAAE,MAAM;iBAClB,CAAA;;;8BASE,MAAM;+BAAC,QAAQ,CAAA;;8BAEf,MAAM;+BAAC,YAAY,CAAA;;8BAGnB,MAAM;+BAAC,uBAAuB,CAAA;;8BAC9B,QAAQ;;;;AC9BX;;AAEG;;;;"}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { Component, ChangeDetectionStrategy, NgModule } from '@angular/core';
|
|
3
|
-
import { FlControlHost, provideControlHost } from 'flex-controls';
|
|
4
|
-
import * as i1 from '@ng-doc/ui-kit';
|
|
5
|
-
import { NgDocCheckboxModule, NgDocTooltipModule } from '@ng-doc/ui-kit';
|
|
6
|
-
import { CommonModule } from '@angular/common';
|
|
7
|
-
import { provideTypeControl } from '@ng-doc/app/helpers';
|
|
8
|
-
|
|
9
|
-
class NgDocBooleanControlComponent extends FlControlHost {
|
|
10
|
-
constructor() {
|
|
11
|
-
super();
|
|
12
|
-
this.name = '';
|
|
13
|
-
this.description = '';
|
|
14
|
-
this.controlChange.subscribe(() => this.onTouched());
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
NgDocBooleanControlComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: NgDocBooleanControlComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
18
|
-
NgDocBooleanControlComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.4", type: NgDocBooleanControlComponent, selector: "ng-doc-boolean-control", providers: [provideControlHost(NgDocBooleanControlComponent)], usesInheritance: true, ngImport: i0, template: "<ng-doc-checkbox [ngDocTooltip]=\"description\" [canOpen]=\"!!description\">{{ name }}</ng-doc-checkbox>\n", styles: [":host{display:inline-flex;width:100%}\n"], dependencies: [{ kind: "component", type: i1.NgDocCheckboxComponent, selector: "ng-doc-checkbox", inputs: ["color"] }, { kind: "directive", type: i1.NgDocTooltipDirective, selector: "[ngDocTooltip]", inputs: ["ngDocTooltip", "delay", "displayOrigin", "pointerOrigin", "positions", "canOpen", "panelClass", "minHeight", "maxHeight", "height", "minWidth", "maxWidth", "width"], outputs: ["beforeOpen", "afterOpen", "beforeClose", "afterClose"], exportAs: ["ngDocTooltip"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
19
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: NgDocBooleanControlComponent, decorators: [{
|
|
20
|
-
type: Component,
|
|
21
|
-
args: [{ selector: 'ng-doc-boolean-control', providers: [provideControlHost(NgDocBooleanControlComponent)], changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-doc-checkbox [ngDocTooltip]=\"description\" [canOpen]=\"!!description\">{{ name }}</ng-doc-checkbox>\n", styles: [":host{display:inline-flex;width:100%}\n"] }]
|
|
22
|
-
}], ctorParameters: function () { return []; } });
|
|
23
|
-
|
|
24
|
-
const provider = provideTypeControl('boolean', NgDocBooleanControlComponent, { hideLabel: true, order: 40 });
|
|
25
|
-
class NgDocBooleanControlModule {
|
|
26
|
-
}
|
|
27
|
-
NgDocBooleanControlModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: NgDocBooleanControlModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
28
|
-
NgDocBooleanControlModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.4", ngImport: i0, type: NgDocBooleanControlModule, declarations: [NgDocBooleanControlComponent], imports: [CommonModule, NgDocCheckboxModule, NgDocTooltipModule], exports: [NgDocBooleanControlComponent] });
|
|
29
|
-
NgDocBooleanControlModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: NgDocBooleanControlModule, providers: [provider], imports: [CommonModule, NgDocCheckboxModule, NgDocTooltipModule] });
|
|
30
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: NgDocBooleanControlModule, decorators: [{
|
|
31
|
-
type: NgModule,
|
|
32
|
-
args: [{
|
|
33
|
-
declarations: [NgDocBooleanControlComponent],
|
|
34
|
-
imports: [CommonModule, NgDocCheckboxModule, NgDocTooltipModule],
|
|
35
|
-
providers: [provider],
|
|
36
|
-
exports: [NgDocBooleanControlComponent],
|
|
37
|
-
}]
|
|
38
|
-
}] });
|
|
39
|
-
|
|
40
|
-
/**
|
|
41
|
-
* Generated bundle index. Do not edit.
|
|
42
|
-
*/
|
|
43
|
-
|
|
44
|
-
export { NgDocBooleanControlComponent, NgDocBooleanControlModule };
|
|
45
|
-
//# sourceMappingURL=ng-doc-app-type-controls-boolean-control.mjs.map
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { Component, ChangeDetectionStrategy, NgModule } from '@angular/core';
|
|
3
|
-
import { extractValue } from '@ng-doc/core/helpers/extract-value';
|
|
4
|
-
import * as i4 from 'flex-controls';
|
|
5
|
-
import { FlControl, FlControlSilencerModule } from 'flex-controls';
|
|
6
|
-
import * as i1 from '@angular/common';
|
|
7
|
-
import { CommonModule } from '@angular/common';
|
|
8
|
-
import * as i2 from '@ng-doc/ui-kit';
|
|
9
|
-
import { NgDocInputWrapperModule, NgDocInputNumberModule, NgDocClearControlModule, NgDocButtonIconModule, NgDocFocusableModule, NgDocIconModule } from '@ng-doc/ui-kit';
|
|
10
|
-
import * as i3 from '@angular/forms';
|
|
11
|
-
import { FormsModule } from '@angular/forms';
|
|
12
|
-
import { provideTypeControl } from '@ng-doc/app/helpers';
|
|
13
|
-
|
|
14
|
-
class NgDocNumberControlComponent extends FlControl {
|
|
15
|
-
constructor() {
|
|
16
|
-
super();
|
|
17
|
-
}
|
|
18
|
-
get defaultValue() {
|
|
19
|
-
return this.default ? extractValue(this.default) : null;
|
|
20
|
-
}
|
|
21
|
-
changeModel(value) {
|
|
22
|
-
this.updateModel(value === null && this.default ? this.defaultValue : value);
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
NgDocNumberControlComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: NgDocNumberControlComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
26
|
-
NgDocNumberControlComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.4", type: NgDocNumberControlComponent, selector: "ng-doc-number-control", usesInheritance: true, ngImport: i0, template: "<ng-doc-input-wrapper flControlSilencer [rightContent]=\"rightContent\">\n\t<input ngDocInputNumber type=\"number\" [ngModel]=\"model\" (ngModelChange)=\"changeModel($event)\">\n\t<ng-template #rightContent>\n\t\t<button\n\t\t\tng-doc-button-icon\n\t\t\tsize=\"large\"\n\t\t\t[ngDocFocusable]=\"false\"\n\t\t\t[disabled]=\"disabled\"\n\t\t\t[rounded]=\"false\"\n\t\t\t(click)=\"updateModel(defaultValue)\"\n\t\t\t(focusout)=\"onTouched()\"\n\t\t\t*ngIf=\"model && model !== defaultValue\"\n\t\t>\n\t\t\t<ng-doc-icon icon=\"x\"></ng-doc-icon>\n\t\t</button>\n\t</ng-template>\n</ng-doc-input-wrapper>\n", styles: [":host{display:block;width:100%}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.NgDocInputWrapperComponent, selector: "ng-doc-input-wrapper", inputs: ["blurContent", "blurContext", "leftContent", "rightContent", "align"] }, { kind: "directive", type: i2.NgDocInputNumberDirective, selector: "input[ngDocInputNumber]" }, { kind: "directive", type: i3.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i3.NumberValueAccessor, selector: "input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]" }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i4.FlControlSilencerDirective, selector: "[flControlSilencer]" }, { kind: "component", type: i2.NgDocButtonIconComponent, selector: "button[ng-doc-button-icon], a[ng-doc-button-icon]", inputs: ["size", "rounded"] }, { kind: "directive", type: i2.NgDocFocusableDirective, selector: "[ngDocFocusable]", inputs: ["ngDocFocusable"], exportAs: ["ngDocFocusable"] }, { kind: "component", type: i2.NgDocIconComponent, selector: "ng-doc-icon", inputs: ["icon", "size"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
27
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: NgDocNumberControlComponent, decorators: [{
|
|
28
|
-
type: Component,
|
|
29
|
-
args: [{ selector: 'ng-doc-number-control', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-doc-input-wrapper flControlSilencer [rightContent]=\"rightContent\">\n\t<input ngDocInputNumber type=\"number\" [ngModel]=\"model\" (ngModelChange)=\"changeModel($event)\">\n\t<ng-template #rightContent>\n\t\t<button\n\t\t\tng-doc-button-icon\n\t\t\tsize=\"large\"\n\t\t\t[ngDocFocusable]=\"false\"\n\t\t\t[disabled]=\"disabled\"\n\t\t\t[rounded]=\"false\"\n\t\t\t(click)=\"updateModel(defaultValue)\"\n\t\t\t(focusout)=\"onTouched()\"\n\t\t\t*ngIf=\"model && model !== defaultValue\"\n\t\t>\n\t\t\t<ng-doc-icon icon=\"x\"></ng-doc-icon>\n\t\t</button>\n\t</ng-template>\n</ng-doc-input-wrapper>\n", styles: [":host{display:block;width:100%}\n"] }]
|
|
30
|
-
}], ctorParameters: function () { return []; } });
|
|
31
|
-
|
|
32
|
-
const provider = provideTypeControl('number', NgDocNumberControlComponent, { order: 30 });
|
|
33
|
-
class NgDocNumberControlModule {
|
|
34
|
-
}
|
|
35
|
-
NgDocNumberControlModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: NgDocNumberControlModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
36
|
-
NgDocNumberControlModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.4", ngImport: i0, type: NgDocNumberControlModule, declarations: [NgDocNumberControlComponent], imports: [CommonModule,
|
|
37
|
-
NgDocInputWrapperModule,
|
|
38
|
-
NgDocInputNumberModule,
|
|
39
|
-
NgDocClearControlModule,
|
|
40
|
-
FormsModule,
|
|
41
|
-
FlControlSilencerModule,
|
|
42
|
-
NgDocButtonIconModule,
|
|
43
|
-
NgDocFocusableModule,
|
|
44
|
-
NgDocIconModule], exports: [NgDocNumberControlComponent] });
|
|
45
|
-
NgDocNumberControlModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: NgDocNumberControlModule, providers: [provider], imports: [CommonModule,
|
|
46
|
-
NgDocInputWrapperModule,
|
|
47
|
-
NgDocInputNumberModule,
|
|
48
|
-
NgDocClearControlModule,
|
|
49
|
-
FormsModule,
|
|
50
|
-
FlControlSilencerModule,
|
|
51
|
-
NgDocButtonIconModule,
|
|
52
|
-
NgDocFocusableModule,
|
|
53
|
-
NgDocIconModule] });
|
|
54
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: NgDocNumberControlModule, decorators: [{
|
|
55
|
-
type: NgModule,
|
|
56
|
-
args: [{
|
|
57
|
-
declarations: [NgDocNumberControlComponent],
|
|
58
|
-
imports: [
|
|
59
|
-
CommonModule,
|
|
60
|
-
NgDocInputWrapperModule,
|
|
61
|
-
NgDocInputNumberModule,
|
|
62
|
-
NgDocClearControlModule,
|
|
63
|
-
FormsModule,
|
|
64
|
-
FlControlSilencerModule,
|
|
65
|
-
NgDocButtonIconModule,
|
|
66
|
-
NgDocFocusableModule,
|
|
67
|
-
NgDocIconModule,
|
|
68
|
-
],
|
|
69
|
-
providers: [provider],
|
|
70
|
-
exports: [NgDocNumberControlComponent],
|
|
71
|
-
}]
|
|
72
|
-
}] });
|
|
73
|
-
|
|
74
|
-
/**
|
|
75
|
-
* Generated bundle index. Do not edit.
|
|
76
|
-
*/
|
|
77
|
-
|
|
78
|
-
export { NgDocNumberControlComponent, NgDocNumberControlModule };
|
|
79
|
-
//# sourceMappingURL=ng-doc-app-type-controls-number-control.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ng-doc-app-type-controls-number-control.mjs","sources":["../../../../libs/app/type-controls/number-control/number-control.component.ts","../../../../libs/app/type-controls/number-control/number-control.component.html","../../../../libs/app/type-controls/number-control/number-control.module.ts","../../../../libs/app/type-controls/number-control/ng-doc-app-type-controls-number-control.ts"],"sourcesContent":["import {ChangeDetectionStrategy, Component} from '@angular/core';\nimport {NgDocTypeControl} from '@ng-doc/app/interfaces';\nimport {extractValue} from '@ng-doc/core/helpers/extract-value';\nimport {FlControl} from 'flex-controls';\n\n@Component({\n\tselector: 'ng-doc-number-control',\n\ttemplateUrl: './number-control.component.html',\n\tstyleUrls: ['./number-control.component.scss'],\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class NgDocNumberControlComponent extends FlControl<number> implements NgDocTypeControl {\n\tdefault: string | undefined;\n\n\tconstructor() {\n\t\tsuper();\n\t}\n\n\tget defaultValue(): number | null {\n\t\treturn this.default ? (extractValue(this.default) as number) : null;\n\t}\n\n\tchangeModel(value: number | null): void {\n\t\tthis.updateModel(value === null && this.default ? this.defaultValue : value);\n\t}\n}\n","<ng-doc-input-wrapper flControlSilencer [rightContent]=\"rightContent\">\n\t<input ngDocInputNumber type=\"number\" [ngModel]=\"model\" (ngModelChange)=\"changeModel($event)\">\n\t<ng-template #rightContent>\n\t\t<button\n\t\t\tng-doc-button-icon\n\t\t\tsize=\"large\"\n\t\t\t[ngDocFocusable]=\"false\"\n\t\t\t[disabled]=\"disabled\"\n\t\t\t[rounded]=\"false\"\n\t\t\t(click)=\"updateModel(defaultValue)\"\n\t\t\t(focusout)=\"onTouched()\"\n\t\t\t*ngIf=\"model && model !== defaultValue\"\n\t\t>\n\t\t\t<ng-doc-icon icon=\"x\"></ng-doc-icon>\n\t\t</button>\n\t</ng-template>\n</ng-doc-input-wrapper>\n","import {CommonModule} from '@angular/common';\nimport {NgModule, Provider} from '@angular/core';\nimport {FormsModule} from '@angular/forms';\nimport {provideTypeControl} from '@ng-doc/app/helpers';\nimport {\n\tNgDocButtonIconModule,\n\tNgDocClearControlModule,\n\tNgDocFocusableModule,\n\tNgDocIconModule,\n\tNgDocInputNumberModule,\n\tNgDocInputWrapperModule,\n} from '@ng-doc/ui-kit';\nimport {FlControlSilencerModule} from 'flex-controls';\n\nimport {NgDocNumberControlComponent} from './number-control.component';\n\nconst provider: Provider = provideTypeControl('number', NgDocNumberControlComponent, {order: 30});\n\n@NgModule({\n\tdeclarations: [NgDocNumberControlComponent],\n\timports: [\n\t\tCommonModule,\n\t\tNgDocInputWrapperModule,\n\t\tNgDocInputNumberModule,\n\t\tNgDocClearControlModule,\n\t\tFormsModule,\n\t\tFlControlSilencerModule,\n\t\tNgDocButtonIconModule,\n\t\tNgDocFocusableModule,\n\t\tNgDocIconModule,\n\t],\n\tproviders: [provider],\n\texports: [NgDocNumberControlComponent],\n})\nexport class NgDocNumberControlModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;AAWM,MAAO,2BAA4B,SAAQ,SAAiB,CAAA;AAGjE,IAAA,WAAA,GAAA;AACC,QAAA,KAAK,EAAE,CAAC;KACR;AAED,IAAA,IAAI,YAAY,GAAA;AACf,QAAA,OAAO,IAAI,CAAC,OAAO,GAAI,YAAY,CAAC,IAAI,CAAC,OAAO,CAAY,GAAG,IAAI,CAAC;KACpE;AAED,IAAA,WAAW,CAAC,KAAoB,EAAA;QAC/B,IAAI,CAAC,WAAW,CAAC,KAAK,KAAK,IAAI,IAAI,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,YAAY,GAAG,KAAK,CAAC,CAAC;KAC7E;;wHAbW,2BAA2B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAA3B,2BAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,2BAA2B,oFCXxC,2lBAiBA,EAAA,MAAA,EAAA,CAAA,mCAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,IAAA,EAAA,QAAA,EAAA,QAAA,EAAA,MAAA,EAAA,CAAA,MAAA,EAAA,UAAA,EAAA,UAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,0BAAA,EAAA,QAAA,EAAA,sBAAA,EAAA,MAAA,EAAA,CAAA,aAAA,EAAA,aAAA,EAAA,aAAA,EAAA,cAAA,EAAA,OAAA,CA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