@ng-doc/app 15.12.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 +8 -8
- 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 +9 -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 +26 -2
- package/components/root/root.module.d.ts +3 -2
- 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/esm2022/components/navbar/navbar.component.mjs +101 -0
- 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/{esm2020 → esm2022}/constants/store-keys.mjs +2 -2
- 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/helpers/index.mjs +9 -0
- package/esm2022/helpers/is-dark-os-theme.mjs +7 -0
- package/esm2022/interfaces/application-config.mjs +2 -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/esm2022/services/sidebar/sidebar.service.mjs +99 -0
- package/esm2022/services/store/store.service.mjs +21 -0
- package/esm2022/services/theme/theme.service.mjs +118 -0
- 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/fesm2022/ng-doc-app-components-navbar.mjs +144 -0
- package/fesm2022/ng-doc-app-components-navbar.mjs.map +1 -0
- 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/fesm2022/ng-doc-app-components-root.mjs +136 -0
- package/fesm2022/ng-doc-app-components-root.mjs.map +1 -0
- 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/fesm2022/ng-doc-app-components-search.mjs.map +1 -0
- 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-constants.mjs +1 -1
- package/fesm2022/ng-doc-app-constants.mjs.map +1 -0
- 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-helpers.mjs +8 -1
- package/fesm2022/ng-doc-app-helpers.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/ng-doc-app-modules-root.mjs +9 -5
- package/fesm2022/ng-doc-app-modules-root.mjs.map +1 -0
- 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 +30 -26
- package/fesm2022/ng-doc-app-services-sidebar.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/ng-doc-app-services-store.mjs +3 -3
- package/{fesm2015 → fesm2022}/ng-doc-app-services-store.mjs.map +1 -1
- package/fesm2022/ng-doc-app-services-theme.mjs +124 -0
- package/fesm2022/ng-doc-app-services-theme.mjs.map +1 -0
- 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/{fesm2015 → 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/helpers/index.d.ts +1 -0
- package/helpers/is-dark-os-theme.d.ts +4 -0
- package/interfaces/application-config.d.ts +11 -1
- package/package.json +228 -346
- package/processors/tooltip-processor/tooltip-wrapper.component.d.ts +1 -1
- package/services/sidebar/sidebar.service.d.ts +3 -10
- package/services/theme/theme.service.d.ts +23 -3
- package/styles/global.css +11 -2
- package/styles/main.css +6 -2
- 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.component.mjs +0 -85
- 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 -71
- package/esm2020/components/root/root.module.mjs +0 -19
- 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/helpers/index.mjs +0 -8
- package/esm2020/interfaces/application-config.mjs +0 -2
- package/esm2020/modules/root/ng-doc.module.mjs +0 -54
- 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/sidebar/sidebar.service.mjs +0 -95
- package/esm2020/services/store/store.service.mjs +0 -20
- package/esm2020/services/theme/theme.service.mjs +0 -70
- 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 -130
- 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-root.mjs +0 -93
- package/fesm2015/ng-doc-app-components-root.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-constants.mjs +0 -76
- package/fesm2015/ng-doc-app-constants.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 -145
- package/fesm2015/ng-doc-app-helpers.mjs.map +0 -1
- package/fesm2015/ng-doc-app-modules-root.mjs +0 -61
- 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 -103
- 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 -79
- 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-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-navbar.mjs +0 -128
- package/fesm2020/ng-doc-app-components-navbar.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 -93
- 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-search.mjs.map +0 -1
- 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.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-helpers.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-root.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-sidebar.mjs.map +0 -1
- package/fesm2020/ng-doc-app-services-store.mjs.map +0 -1
- package/fesm2020/ng-doc-app-services-theme.mjs +0 -76
- package/fesm2020/ng-doc-app-services-theme.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-number-control.mjs.map +0 -1
- 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/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/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/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-directives.mjs +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-app-directives.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
|
@@ -32,11 +32,11 @@ class NgDocBasePlayground {
|
|
|
32
32
|
this.data = {};
|
|
33
33
|
this.content = {};
|
|
34
34
|
}
|
|
35
|
+
static { this.selector = 'unknown'; }
|
|
36
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocBasePlayground, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
37
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0", type: NgDocBasePlayground, ngImport: i0 }); }
|
|
35
38
|
}
|
|
36
|
-
|
|
37
|
-
NgDocBasePlayground.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: NgDocBasePlayground, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
38
|
-
NgDocBasePlayground.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.4", type: NgDocBasePlayground, ngImport: i0 });
|
|
39
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: NgDocBasePlayground, decorators: [{
|
|
39
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocBasePlayground, decorators: [{
|
|
40
40
|
type: Directive
|
|
41
41
|
}] });
|
|
42
42
|
|
|
@@ -75,12 +75,12 @@ class NgDocPlaygroundPropertyComponent {
|
|
|
75
75
|
get tooltipContent() {
|
|
76
76
|
return this.property && isPlaygroundProperty(this.property) ? this.property.description ?? '' : '';
|
|
77
77
|
}
|
|
78
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocPlaygroundPropertyComponent, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
79
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.0", type: NgDocPlaygroundPropertyComponent, selector: "ng-doc-playground-property", inputs: { name: "name", property: "property", typeControl: "typeControl", control: "control" }, host: { properties: { "attr.data-has-property-control": "this.hasPropertyControl" } }, viewQueries: [{ propertyName: "propertyOutlet", first: true, predicate: ["propertyOutlet"], descendants: true, read: ViewContainerRef, static: true }], usesOnChanges: true, ngImport: i0, template: "<label [ng-doc-label]=\"option?.hideLabel ? '' : labelContent\">\n\t<ng-template #labelContent>\n\t\t<span\n\t\t\t[ngDocTooltip]=\"tooltipContent\"\n\t\t\t[canOpen]=\"!!tooltipContent\"\n\t\t\t[positions]=\"['left-center', 'top-right', 'bottom-right']\"\n\t\t\t>{{ name }}</span\n\t\t>\n\t</ng-template>\n\t<ng-container #propertyOutlet></ng-container>\n</label>\n", styles: [":host{display:block}:host[data-has-property-control=false]{display:none}\n"], dependencies: [{ kind: "component", type: i4.NgDocLabelComponent, selector: "label[ng-doc-label]", inputs: ["ng-doc-label", "align"] }, { kind: "directive", type: i4.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 }); }
|
|
78
80
|
}
|
|
79
|
-
|
|
80
|
-
NgDocPlaygroundPropertyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.4", type: NgDocPlaygroundPropertyComponent, selector: "ng-doc-playground-property", inputs: { name: "name", property: "property", typeControl: "typeControl", control: "control" }, host: { properties: { "attr.data-has-property-control": "this.hasPropertyControl" } }, viewQueries: [{ propertyName: "propertyOutlet", first: true, predicate: ["propertyOutlet"], descendants: true, read: ViewContainerRef, static: true }], usesOnChanges: true, ngImport: i0, template: "<label [ng-doc-label]=\"option?.hideLabel ? '' : labelContent\">\n\t<ng-template #labelContent>\n\t\t<span [ngDocTooltip]=\"tooltipContent\" [canOpen]=\"!!tooltipContent\"\n\t\t\t [positions]=\"['left-center', 'top-right', 'bottom-right']\">{{name}}</span>\n\t</ng-template>\n\t<ng-container #propertyOutlet></ng-container>\n</label>\n", styles: [":host{display:block}:host[data-has-property-control=false]{display:none}\n"], dependencies: [{ kind: "component", type: i4.NgDocLabelComponent, selector: "label[ng-doc-label]", inputs: ["ng-doc-label", "align"] }, { kind: "directive", type: i4.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 });
|
|
81
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: NgDocPlaygroundPropertyComponent, decorators: [{
|
|
81
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocPlaygroundPropertyComponent, decorators: [{
|
|
82
82
|
type: Component,
|
|
83
|
-
args: [{ selector: 'ng-doc-playground-property', changeDetection: ChangeDetectionStrategy.OnPush, template: "<label [ng-doc-label]=\"option?.hideLabel ? '' : labelContent\">\n\t<ng-template #labelContent>\n\t\t<span
|
|
83
|
+
args: [{ selector: 'ng-doc-playground-property', changeDetection: ChangeDetectionStrategy.OnPush, template: "<label [ng-doc-label]=\"option?.hideLabel ? '' : labelContent\">\n\t<ng-template #labelContent>\n\t\t<span\n\t\t\t[ngDocTooltip]=\"tooltipContent\"\n\t\t\t[canOpen]=\"!!tooltipContent\"\n\t\t\t[positions]=\"['left-center', 'top-right', 'bottom-right']\"\n\t\t\t>{{ name }}</span\n\t\t>\n\t</ng-template>\n\t<ng-container #propertyOutlet></ng-container>\n</label>\n", styles: [":host{display:block}:host[data-has-property-control=false]{display:none}\n"] }]
|
|
84
84
|
}], ctorParameters: function () { return [{ type: i0.Injector }]; }, propDecorators: { name: [{
|
|
85
85
|
type: Input
|
|
86
86
|
}], property: [{
|
|
@@ -148,8 +148,8 @@ class NgDocPlaygroundPropertiesComponent {
|
|
|
148
148
|
}
|
|
149
149
|
getTypeControl(property) {
|
|
150
150
|
const type = property.type;
|
|
151
|
-
const typeControl = this.getControlForType(type)
|
|
152
|
-
|
|
151
|
+
const typeControl = this.getControlForType(type) ??
|
|
152
|
+
this.getControlForTypeAlias(isPlaygroundProperty(property) ? property.options : undefined);
|
|
153
153
|
if (!typeControl && isDevMode()) {
|
|
154
154
|
console.warn(`NgDocPlayground didn't find the control for the @Input "${property.name}", the type "${type}" was not recognized'`);
|
|
155
155
|
}
|
|
@@ -176,10 +176,10 @@ class NgDocPlaygroundPropertiesComponent {
|
|
|
176
176
|
}
|
|
177
177
|
return undefined;
|
|
178
178
|
}
|
|
179
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocPlaygroundPropertiesComponent, deps: [{ token: i1.BreakpointObserver }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
180
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.0", type: NgDocPlaygroundPropertiesComponent, selector: "ng-doc-playground-properties", inputs: { form: "form", properties: "properties", dynamicContent: "dynamicContent", recreateDemo: "recreateDemo" }, outputs: { recreateDemoChange: "recreateDemoChange", resetForm: "resetForm" }, usesOnChanges: true, ngImport: i0, template: "<div class=\"ng-doc-playground-properties-wrapper\" [class.vertical]=\"observer | async\">\n\t<div class=\"ng-doc-playground-demos\">\n\t\t<ng-content></ng-content>\n\t</div>\n\t<div class=\"ng-doc-playground-properties\">\n\t\t<div class=\"ng-doc-playground-header\">\n\t\t\t<h4 ng-doc-text>Playground</h4>\n\t\t\t<button ng-doc-button color=\"red\" (click)=\"resetForm.emit()\">Reset</button>\n\t\t</div>\n\t\t<div class=\"ng-doc-playground-setting\">\n\t\t\t<ng-doc-checkbox [(ngModel)]=\"recreateDemo\" (ngModelChange)=\"recreateDemoChange.emit($event)\">\n\t\t\t\t<span\n\t\t\t\t\tng-doc-text\n\t\t\t\t\t[ngDocTooltip]=\"'Recreates demo everytime\\none of the input has changed'\"\n\t\t\t\t\t[positions]=\"['bottom-right', 'left-center']\"\n\t\t\t\t>\n\t\t\t\t\tRecreate\n\t\t\t\t\t<ng-doc-icon icon=\"info\" ngDocTextRight></ng-doc-icon>\n\t\t\t\t</span>\n\t\t\t</ng-doc-checkbox>\n\t\t</div>\n\t\t<div class=\"ng-doc-playground-divider\"></div>\n\t\t<ng-container *ngIf=\"propertyControls.length\">\n\t\t\t<h5 class=\"ng-doc-title\" ng-doc-text>Settings</h5>\n\t\t\t<ng-doc-playground-property\n\t\t\t\t*ngFor=\"let propertyControl of propertyControls\"\n\t\t\t\t[name]=\"propertyControl.property.name\"\n\t\t\t\t[property]=\"propertyControl.property\"\n\t\t\t\t[typeControl]=\"propertyControl.typeControl\"\n\t\t\t\t[control]=\"getFormControl | ngDocBind: this | ngDocRun: 'properties': propertyControl.propertyName\"\n\t\t\t>\n\t\t\t</ng-doc-playground-property>\n\t\t</ng-container>\n\n\t\t<ng-container *ngIf=\"(dynamicContent | keyvalue)?.length\">\n\t\t\t<h5 class=\"ng-doc-title\" ng-doc-text>Content</h5>\n\t\t\t<ng-doc-playground-property\n\t\t\t\t*ngFor=\"let content of dynamicContent | keyvalue\"\n\t\t\t\t[name]=\"content.value.label\"\n\t\t\t\t[property]=\"content.value\"\n\t\t\t\t[typeControl]=\"contentTypeControl\"\n\t\t\t\t[control]=\"getFormControl | ngDocBind: this | ngDocRun: 'content': content.key\"\n\t\t\t>\n\t\t\t</ng-doc-playground-property>\n\t\t</ng-container>\n\t</div>\n</div>\n", styles: [":host .ng-doc-playground-properties-wrapper{position:relative;display:flex}:host .ng-doc-playground-properties-wrapper.vertical{flex-direction:column}:host .ng-doc-playground-properties-wrapper.vertical .ng-doc-playground-demos{margin-right:0;margin-bottom:calc(var(--ng-doc-base-gutter) * 2)}:host .ng-doc-playground-properties-wrapper.vertical .ng-doc-playground-properties{width:100%}:host .ng-doc-playground-properties-wrapper .ng-doc-playground-demos{display:flex;flex-direction:column;width:100%;overflow:hidden;margin-right:calc(var(--ng-doc-base-gutter) * 2)}:host .ng-doc-playground-properties-wrapper .ng-doc-playground-properties{flex-shrink:0;width:300px;padding:calc(var(--ng-doc-base-gutter) * 2) calc(var(--ng-doc-base-gutter) * 3);background-color:var(--ng-doc-base-1);border-radius:var(--ng-doc-base-gutter)}:host .ng-doc-playground-properties-wrapper .ng-doc-playground-properties ng-doc-playground-property:not(:last-child){margin-bottom:calc(var(--ng-doc-base-gutter) * 2)}:host .ng-doc-playground-properties-wrapper .ng-doc-playground-properties .ng-doc-playground-controls{display:flex;justify-content:flex-end}:host .ng-doc-playground-properties-wrapper .ng-doc-playground-properties .ng-doc-playground-header{display:flex;align-items:center;justify-content:space-between;height:40px;margin-bottom:calc(var(--ng-doc-base-gutter) * 2)}:host .ng-doc-playground-properties-wrapper .ng-doc-playground-properties .ng-doc-playground-header h4{margin:0}:host .ng-doc-playground-properties-wrapper .ng-doc-playground-properties .ng-doc-playground-setting{display:flex;flex-direction:column}:host .ng-doc-playground-properties-wrapper .ng-doc-title{margin-top:0;margin-bottom:calc(var(--ng-doc-base-gutter) + var(--ng-doc-base-gutter) / 2)}:host .ng-doc-playground-divider{margin:calc(var(--ng-doc-base-gutter) * 2) 0;height:1px;background-color:var(--ng-doc-base-2)}\n"], dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i4.NgDocTooltipDirective, selector: "[ngDocTooltip]", inputs: ["ngDocTooltip", "delay", "displayOrigin", "pointerOrigin", "positions", "canOpen", "panelClass", "minHeight", "maxHeight", "height", "minWidth", "maxWidth", "width"], outputs: ["beforeOpen", "afterOpen", "beforeClose", "afterClose"], exportAs: ["ngDocTooltip"] }, { kind: "component", type: i4.NgDocIconComponent, selector: "ng-doc-icon", inputs: ["icon", "size"] }, { kind: "component", type: i4.NgDocTextComponent, selector: "[ng-doc-text]", inputs: ["size", "color", "align", "absoluteContent"] }, { kind: "directive", type: i4.NgDocTextRightDirective, selector: "[ngDocTextRight]" }, { kind: "component", type: i4.NgDocCheckboxComponent, selector: "ng-doc-checkbox", inputs: ["color"] }, { kind: "directive", type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i4.NgDocButtonComponent, selector: "button[ng-doc-button], a[ng-doc-button], button[ng-doc-button-flat], a[ng-doc-button-flat], button[ng-doc-button-text], a[ng-doc-button-text]", inputs: ["size", "color", "rounded"] }, { kind: "component", type: NgDocPlaygroundPropertyComponent, selector: "ng-doc-playground-property", inputs: ["name", "property", "typeControl", "control"] }, { kind: "pipe", type: i2.AsyncPipe, name: "async" }, { kind: "pipe", type: i2.KeyValuePipe, name: "keyvalue" }, { kind: "pipe", type: i4.NgDocBindPipe, name: "ngDocBind" }, { kind: "pipe", type: i4.NgDocRunPipe, name: "ngDocRun" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
179
181
|
}
|
|
180
|
-
|
|
181
|
-
NgDocPlaygroundPropertiesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.4", type: NgDocPlaygroundPropertiesComponent, selector: "ng-doc-playground-properties", inputs: { form: "form", properties: "properties", dynamicContent: "dynamicContent", recreateDemo: "recreateDemo" }, outputs: { recreateDemoChange: "recreateDemoChange", resetForm: "resetForm" }, usesOnChanges: true, ngImport: i0, template: "<div class=\"ng-doc-playground-properties-wrapper\" [class.vertical]=\"observer | async\">\n\t<div class=\"ng-doc-playground-demos\">\n\t\t<ng-content></ng-content>\n\t</div>\n\t<div class=\"ng-doc-playground-properties\">\n\t\t<div class=\"ng-doc-playground-header\">\n\t\t\t<h4 ng-doc-text>Playground</h4>\n\t\t\t<button ng-doc-button color=\"red\" (click)=\"resetForm.emit()\">Reset</button>\n\t\t</div>\n\t\t<div class=\"ng-doc-playground-setting\">\n\t\t\t<ng-doc-checkbox [(ngModel)]=\"recreateDemo\" (ngModelChange)=\"recreateDemoChange.emit($event)\">\n\t\t\t\t<span\n\t\t\t\t\tng-doc-text\n\t\t\t\t\t[ngDocTooltip]=\"'Recreates demo everytime\\none of the input has changed'\"\n\t\t\t\t\t[positions]=\"['bottom-right', 'left-center']\"\n\t\t\t\t>\n\t\t\t\t\tRecreate\n\t\t\t\t\t<ng-doc-icon icon=\"info\" ngDocTextRight></ng-doc-icon>\n\t\t\t\t</span>\n\t\t\t</ng-doc-checkbox>\n\t\t</div>\n\t\t<div class=\"ng-doc-playground-divider\"></div>\n\t\t<ng-container *ngIf=\"propertyControls.length\">\n\t\t\t<h5 class=\"ng-doc-title\" ng-doc-text>Settings</h5>\n\t\t\t<ng-doc-playground-property\n\t\t\t\t*ngFor=\"let propertyControl of propertyControls\"\n\t\t\t\t[name]=\"propertyControl.property.name\"\n\t\t\t\t[property]=\"propertyControl.property\"\n\t\t\t\t[typeControl]=\"propertyControl.typeControl\"\n\t\t\t\t[control]=\"getFormControl | ngDocBind: this | ngDocRun: 'properties': propertyControl.propertyName\"\n\t\t\t>\n\t\t\t</ng-doc-playground-property>\n\t\t</ng-container>\n\n\t\t<ng-container *ngIf=\"(dynamicContent | keyvalue)?.length\">\n\t\t\t<h5 class=\"ng-doc-title\" ng-doc-text>Content</h5>\n\t\t\t<ng-doc-playground-property\n\t\t\t\t*ngFor=\"let content of dynamicContent | keyvalue\"\n\t\t\t\t[name]=\"content.value.label\"\n\t\t\t\t[property]=\"content.value\"\n\t\t\t\t[typeControl]=\"contentTypeControl\"\n\t\t\t\t[control]=\"getFormControl | ngDocBind: this | ngDocRun: 'content': content.key\"\n\t\t\t>\n\t\t\t</ng-doc-playground-property>\n\t\t</ng-container>\n\t</div>\n</div>\n", styles: [":host .ng-doc-playground-properties-wrapper{position:relative;display:flex}:host .ng-doc-playground-properties-wrapper.vertical{flex-direction:column}:host .ng-doc-playground-properties-wrapper.vertical .ng-doc-playground-demos{margin-right:0;margin-bottom:calc(var(--ng-doc-base-gutter) * 2)}:host .ng-doc-playground-properties-wrapper.vertical .ng-doc-playground-properties{width:100%}:host .ng-doc-playground-properties-wrapper .ng-doc-playground-demos{display:flex;flex-direction:column;width:100%;overflow:hidden;margin-right:calc(var(--ng-doc-base-gutter) * 2)}:host .ng-doc-playground-properties-wrapper .ng-doc-playground-properties{flex-shrink:0;width:300px;padding:calc(var(--ng-doc-base-gutter) * 2) calc(var(--ng-doc-base-gutter) * 3);background-color:var(--ng-doc-base-1);border-radius:var(--ng-doc-base-gutter)}:host .ng-doc-playground-properties-wrapper .ng-doc-playground-properties ng-doc-playground-property:not(:last-child){margin-bottom:calc(var(--ng-doc-base-gutter) * 2)}:host .ng-doc-playground-properties-wrapper .ng-doc-playground-properties .ng-doc-playground-controls{display:flex;justify-content:flex-end}:host .ng-doc-playground-properties-wrapper .ng-doc-playground-properties .ng-doc-playground-header{display:flex;align-items:center;justify-content:space-between;height:40px;margin-bottom:calc(var(--ng-doc-base-gutter) * 2)}:host .ng-doc-playground-properties-wrapper .ng-doc-playground-properties .ng-doc-playground-header h4{margin:0}:host .ng-doc-playground-properties-wrapper .ng-doc-playground-properties .ng-doc-playground-setting{display:flex;flex-direction:column}:host .ng-doc-playground-properties-wrapper .ng-doc-title{margin-top:0;margin-bottom:calc(var(--ng-doc-base-gutter) + var(--ng-doc-base-gutter) / 2)}:host .ng-doc-playground-divider{margin:calc(var(--ng-doc-base-gutter) * 2) 0;height:1px;background-color:var(--ng-doc-base-2)}\n"], dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i4.NgDocTooltipDirective, selector: "[ngDocTooltip]", inputs: ["ngDocTooltip", "delay", "displayOrigin", "pointerOrigin", "positions", "canOpen", "panelClass", "minHeight", "maxHeight", "height", "minWidth", "maxWidth", "width"], outputs: ["beforeOpen", "afterOpen", "beforeClose", "afterClose"], exportAs: ["ngDocTooltip"] }, { kind: "component", type: i4.NgDocIconComponent, selector: "ng-doc-icon", inputs: ["icon", "size"] }, { kind: "component", type: i4.NgDocTextComponent, selector: "[ng-doc-text]", inputs: ["size", "color", "align", "absoluteContent"] }, { kind: "directive", type: i4.NgDocTextRightDirective, selector: "[ngDocTextRight]" }, { kind: "component", type: i4.NgDocCheckboxComponent, selector: "ng-doc-checkbox", inputs: ["color"] }, { kind: "directive", type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i4.NgDocButtonComponent, selector: "button[ng-doc-button], a[ng-doc-button], button[ng-doc-button-flat], a[ng-doc-button-flat], button[ng-doc-button-text], a[ng-doc-button-text]", inputs: ["size", "color", "rounded"] }, { kind: "component", type: NgDocPlaygroundPropertyComponent, selector: "ng-doc-playground-property", inputs: ["name", "property", "typeControl", "control"] }, { kind: "pipe", type: i2.AsyncPipe, name: "async" }, { kind: "pipe", type: i2.KeyValuePipe, name: "keyvalue" }, { kind: "pipe", type: i4.NgDocBindPipe, name: "ngDocBind" }, { kind: "pipe", type: i4.NgDocRunPipe, name: "ngDocRun" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
182
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: NgDocPlaygroundPropertiesComponent, decorators: [{
|
|
182
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocPlaygroundPropertiesComponent, decorators: [{
|
|
183
183
|
type: Component,
|
|
184
184
|
args: [{ selector: 'ng-doc-playground-properties', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"ng-doc-playground-properties-wrapper\" [class.vertical]=\"observer | async\">\n\t<div class=\"ng-doc-playground-demos\">\n\t\t<ng-content></ng-content>\n\t</div>\n\t<div class=\"ng-doc-playground-properties\">\n\t\t<div class=\"ng-doc-playground-header\">\n\t\t\t<h4 ng-doc-text>Playground</h4>\n\t\t\t<button ng-doc-button color=\"red\" (click)=\"resetForm.emit()\">Reset</button>\n\t\t</div>\n\t\t<div class=\"ng-doc-playground-setting\">\n\t\t\t<ng-doc-checkbox [(ngModel)]=\"recreateDemo\" (ngModelChange)=\"recreateDemoChange.emit($event)\">\n\t\t\t\t<span\n\t\t\t\t\tng-doc-text\n\t\t\t\t\t[ngDocTooltip]=\"'Recreates demo everytime\\none of the input has changed'\"\n\t\t\t\t\t[positions]=\"['bottom-right', 'left-center']\"\n\t\t\t\t>\n\t\t\t\t\tRecreate\n\t\t\t\t\t<ng-doc-icon icon=\"info\" ngDocTextRight></ng-doc-icon>\n\t\t\t\t</span>\n\t\t\t</ng-doc-checkbox>\n\t\t</div>\n\t\t<div class=\"ng-doc-playground-divider\"></div>\n\t\t<ng-container *ngIf=\"propertyControls.length\">\n\t\t\t<h5 class=\"ng-doc-title\" ng-doc-text>Settings</h5>\n\t\t\t<ng-doc-playground-property\n\t\t\t\t*ngFor=\"let propertyControl of propertyControls\"\n\t\t\t\t[name]=\"propertyControl.property.name\"\n\t\t\t\t[property]=\"propertyControl.property\"\n\t\t\t\t[typeControl]=\"propertyControl.typeControl\"\n\t\t\t\t[control]=\"getFormControl | ngDocBind: this | ngDocRun: 'properties': propertyControl.propertyName\"\n\t\t\t>\n\t\t\t</ng-doc-playground-property>\n\t\t</ng-container>\n\n\t\t<ng-container *ngIf=\"(dynamicContent | keyvalue)?.length\">\n\t\t\t<h5 class=\"ng-doc-title\" ng-doc-text>Content</h5>\n\t\t\t<ng-doc-playground-property\n\t\t\t\t*ngFor=\"let content of dynamicContent | keyvalue\"\n\t\t\t\t[name]=\"content.value.label\"\n\t\t\t\t[property]=\"content.value\"\n\t\t\t\t[typeControl]=\"contentTypeControl\"\n\t\t\t\t[control]=\"getFormControl | ngDocBind: this | ngDocRun: 'content': content.key\"\n\t\t\t>\n\t\t\t</ng-doc-playground-property>\n\t\t</ng-container>\n\t</div>\n</div>\n", styles: [":host .ng-doc-playground-properties-wrapper{position:relative;display:flex}:host .ng-doc-playground-properties-wrapper.vertical{flex-direction:column}:host .ng-doc-playground-properties-wrapper.vertical .ng-doc-playground-demos{margin-right:0;margin-bottom:calc(var(--ng-doc-base-gutter) * 2)}:host .ng-doc-playground-properties-wrapper.vertical .ng-doc-playground-properties{width:100%}:host .ng-doc-playground-properties-wrapper .ng-doc-playground-demos{display:flex;flex-direction:column;width:100%;overflow:hidden;margin-right:calc(var(--ng-doc-base-gutter) * 2)}:host .ng-doc-playground-properties-wrapper .ng-doc-playground-properties{flex-shrink:0;width:300px;padding:calc(var(--ng-doc-base-gutter) * 2) calc(var(--ng-doc-base-gutter) * 3);background-color:var(--ng-doc-base-1);border-radius:var(--ng-doc-base-gutter)}:host .ng-doc-playground-properties-wrapper .ng-doc-playground-properties ng-doc-playground-property:not(:last-child){margin-bottom:calc(var(--ng-doc-base-gutter) * 2)}:host .ng-doc-playground-properties-wrapper .ng-doc-playground-properties .ng-doc-playground-controls{display:flex;justify-content:flex-end}:host .ng-doc-playground-properties-wrapper .ng-doc-playground-properties .ng-doc-playground-header{display:flex;align-items:center;justify-content:space-between;height:40px;margin-bottom:calc(var(--ng-doc-base-gutter) * 2)}:host .ng-doc-playground-properties-wrapper .ng-doc-playground-properties .ng-doc-playground-header h4{margin:0}:host .ng-doc-playground-properties-wrapper .ng-doc-playground-properties .ng-doc-playground-setting{display:flex;flex-direction:column}:host .ng-doc-playground-properties-wrapper .ng-doc-title{margin-top:0;margin-bottom:calc(var(--ng-doc-base-gutter) + var(--ng-doc-base-gutter) / 2)}:host .ng-doc-playground-divider{margin:calc(var(--ng-doc-base-gutter) * 2) 0;height:1px;background-color:var(--ng-doc-base-2)}\n"] }]
|
|
185
185
|
}], ctorParameters: function () { return [{ type: i1.BreakpointObserver }, { type: i0.Injector }]; }, propDecorators: { form: [{
|
|
@@ -270,14 +270,14 @@ let NgDocPlaygroundDemoComponent = class NgDocPlaygroundDemoComponent {
|
|
|
270
270
|
this.unsubscribe$.next();
|
|
271
271
|
this.unsubscribe$.complete();
|
|
272
272
|
}
|
|
273
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocPlaygroundDemoComponent, deps: [{ token: i1$1.NgDocRootPage }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
274
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.0", type: NgDocPlaygroundDemoComponent, selector: "ng-doc-playground-demo", inputs: { id: "id", selector: "selector", configuration: "configuration", properties: "properties", recreateDemo: "recreateDemo", form: "form" }, viewQueries: [{ propertyName: "demoOutlet", first: true, predicate: ["demoOutlet"], descendants: true, read: ViewContainerRef, static: true }], usesOnChanges: true, ngImport: i0, template: "<ng-doc-demo-displayer [code]=\"(code | async) ?? ''\" [border]=\"false\" language=\"html\">\n\t<ng-container #demoOutlet></ng-container>\n</ng-doc-demo-displayer>\n", styles: [":host{display:block;border:var(--ng-doc-demo-displayer-border);border-radius:var(--ng-doc-demo-displayer-border-radius);overflow:hidden}:host:not(:last-child){border-bottom:0;border-bottom-left-radius:0;border-bottom-right-radius:0}:host:not(:first-child){border-top-left-radius:0;border-top-right-radius:0}\n"], dependencies: [{ kind: "component", type: i2$1.NgDocDemoDisplayerComponent, selector: "ng-doc-demo-displayer", inputs: ["codeContent", "code", "language", "container", "border", "expanded"] }, { kind: "pipe", type: i2.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
273
275
|
};
|
|
274
|
-
NgDocPlaygroundDemoComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: NgDocPlaygroundDemoComponent, deps: [{ token: i1$1.NgDocRootPage }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
|
275
|
-
NgDocPlaygroundDemoComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.4", type: NgDocPlaygroundDemoComponent, selector: "ng-doc-playground-demo", inputs: { id: "id", selector: "selector", configuration: "configuration", properties: "properties", recreateDemo: "recreateDemo", form: "form" }, viewQueries: [{ propertyName: "demoOutlet", first: true, predicate: ["demoOutlet"], descendants: true, read: ViewContainerRef, static: true }], usesOnChanges: true, ngImport: i0, template: "<ng-doc-demo-displayer [code]=\"(code | async) ?? ''\" [border]=\"false\" language=\"html\">\n\t<ng-container #demoOutlet></ng-container>\n</ng-doc-demo-displayer>\n", styles: [":host{display:block;border:var(--ng-doc-demo-displayer-border);border-radius:var(--ng-doc-demo-displayer-border-radius);overflow:hidden}:host:not(:last-child){border-bottom:0;border-bottom-left-radius:0;border-bottom-right-radius:0}:host:not(:first-child){border-top-left-radius:0;border-top-right-radius:0}\n"], dependencies: [{ kind: "component", type: i2$1.NgDocDemoDisplayerComponent, selector: "ng-doc-demo-displayer", inputs: ["codeContent", "code", "language", "container", "border", "expanded"] }, { kind: "pipe", type: i2.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
276
276
|
NgDocPlaygroundDemoComponent = __decorate([
|
|
277
277
|
UntilDestroy(),
|
|
278
278
|
__metadata("design:paramtypes", [NgDocRootPage, Injector])
|
|
279
279
|
], NgDocPlaygroundDemoComponent);
|
|
280
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
280
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocPlaygroundDemoComponent, decorators: [{
|
|
281
281
|
type: Component,
|
|
282
282
|
args: [{ selector: 'ng-doc-playground-demo', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-doc-demo-displayer [code]=\"(code | async) ?? ''\" [border]=\"false\" language=\"html\">\n\t<ng-container #demoOutlet></ng-container>\n</ng-doc-demo-displayer>\n", styles: [":host{display:block;border:var(--ng-doc-demo-displayer-border);border-radius:var(--ng-doc-demo-displayer-border-radius);overflow:hidden}:host:not(:last-child){border-bottom:0;border-bottom-left-radius:0;border-bottom-right-radius:0}:host:not(:first-child){border-top-left-radius:0;border-top-right-radius:0}\n"] }]
|
|
283
283
|
}], ctorParameters: function () { return [{ type: i1$1.NgDocRootPage }, { type: i0.Injector }]; }, propDecorators: { id: [{
|
|
@@ -339,54 +339,54 @@ class NgDocPlaygroundComponent {
|
|
|
339
339
|
content: this.getContentFormValues(),
|
|
340
340
|
});
|
|
341
341
|
}
|
|
342
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocPlaygroundComponent, deps: [{ token: i1$1.NgDocRootPage }, { token: i3.FormBuilder }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
343
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.0", type: NgDocPlaygroundComponent, selector: "ng-doc-playground", ngImport: i0, template: "<ng-container *ngIf=\"configuration\">\n\t<ng-doc-playground-properties\n\t\t[form]=\"formGroup\"\n\t\t[properties]=\"properties\"\n\t\t[dynamicContent]=\"configuration.content\"\n\t\t[(recreateDemo)]=\"recreateDemo\"\n\t\t(resetForm)=\"resetForm()\"\n\t>\n\t\t<ng-doc-playground-demo\n\t\t\t*ngFor=\"let selector of configuration.selectors ?? selectors | asArray\"\n\t\t\t[id]=\"id\"\n\t\t\t[selector]=\"selector\"\n\t\t\t[properties]=\"properties\"\n\t\t\t[configuration]=\"configuration\"\n\t\t\t[recreateDemo]=\"recreateDemo\"\n\t\t\t[form]=\"formGroup\"\n\t\t>\n\t\t</ng-doc-playground-demo>\n\t</ng-doc-playground-properties>\n</ng-container>\n", styles: [":host{display:block}\n"], dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: NgDocPlaygroundPropertiesComponent, selector: "ng-doc-playground-properties", inputs: ["form", "properties", "dynamicContent", "recreateDemo"], outputs: ["recreateDemoChange", "resetForm"] }, { kind: "component", type: NgDocPlaygroundDemoComponent, selector: "ng-doc-playground-demo", inputs: ["id", "selector", "configuration", "properties", "recreateDemo", "form"] }, { kind: "pipe", type: i4.NgDocAsArrayPipe, name: "asArray" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
342
344
|
}
|
|
343
|
-
|
|
344
|
-
NgDocPlaygroundComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.4", type: NgDocPlaygroundComponent, selector: "ng-doc-playground", ngImport: i0, template: "<ng-container *ngIf=\"configuration\">\n\t<ng-doc-playground-properties\n\t\t[form]=\"formGroup\"\n\t\t[properties]=\"properties\"\n\t\t[dynamicContent]=\"configuration.content\"\n\t\t[(recreateDemo)]=\"recreateDemo\"\n\t\t(resetForm)=\"resetForm()\"\n\t>\n\t\t<ng-doc-playground-demo\n\t\t\t*ngFor=\"let selector of configuration.selectors ?? selectors | asArray\"\n\t\t\t[id]=\"id\"\n\t\t\t[selector]=\"selector\"\n\t\t\t[properties]=\"properties\"\n\t\t\t[configuration]=\"configuration\"\n\t\t\t[recreateDemo]=\"recreateDemo\"\n\t\t\t[form]=\"formGroup\"\n\t\t>\n\t\t</ng-doc-playground-demo>\n\t</ng-doc-playground-properties>\n</ng-container>\n", styles: [":host{display:block}\n"], dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: NgDocPlaygroundPropertiesComponent, selector: "ng-doc-playground-properties", inputs: ["form", "properties", "dynamicContent", "recreateDemo"], outputs: ["recreateDemoChange", "resetForm"] }, { kind: "component", type: NgDocPlaygroundDemoComponent, selector: "ng-doc-playground-demo", inputs: ["id", "selector", "configuration", "properties", "recreateDemo", "form"] }, { kind: "pipe", type: i4.NgDocAsArrayPipe, name: "asArray" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
345
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: NgDocPlaygroundComponent, decorators: [{
|
|
345
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocPlaygroundComponent, decorators: [{
|
|
346
346
|
type: Component,
|
|
347
347
|
args: [{ selector: 'ng-doc-playground', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-container *ngIf=\"configuration\">\n\t<ng-doc-playground-properties\n\t\t[form]=\"formGroup\"\n\t\t[properties]=\"properties\"\n\t\t[dynamicContent]=\"configuration.content\"\n\t\t[(recreateDemo)]=\"recreateDemo\"\n\t\t(resetForm)=\"resetForm()\"\n\t>\n\t\t<ng-doc-playground-demo\n\t\t\t*ngFor=\"let selector of configuration.selectors ?? selectors | asArray\"\n\t\t\t[id]=\"id\"\n\t\t\t[selector]=\"selector\"\n\t\t\t[properties]=\"properties\"\n\t\t\t[configuration]=\"configuration\"\n\t\t\t[recreateDemo]=\"recreateDemo\"\n\t\t\t[form]=\"formGroup\"\n\t\t>\n\t\t</ng-doc-playground-demo>\n\t</ng-doc-playground-properties>\n</ng-container>\n", styles: [":host{display:block}\n"] }]
|
|
348
348
|
}], ctorParameters: function () { return [{ type: i1$1.NgDocRootPage }, { type: i3.FormBuilder }]; } });
|
|
349
349
|
|
|
350
350
|
class NgDocPlaygroundModule {
|
|
351
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocPlaygroundModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
352
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0", ngImport: i0, type: NgDocPlaygroundModule, declarations: [NgDocPlaygroundComponent,
|
|
353
|
+
NgDocPlaygroundPropertyComponent,
|
|
354
|
+
NgDocPlaygroundPropertiesComponent,
|
|
355
|
+
NgDocPlaygroundDemoComponent], imports: [CommonModule,
|
|
356
|
+
ReactiveFormsModule,
|
|
357
|
+
NgDocLabelModule,
|
|
358
|
+
NgDocTooltipModule,
|
|
359
|
+
PolymorpheusModule,
|
|
360
|
+
NgDocAsArrayModule,
|
|
361
|
+
NgDocButtonIconModule,
|
|
362
|
+
NgDocIconModule,
|
|
363
|
+
NgDocTextModule,
|
|
364
|
+
NgDocCheckboxModule,
|
|
365
|
+
FormsModule,
|
|
366
|
+
NgDocButtonModule,
|
|
367
|
+
NgDocDemoDisplayerModule,
|
|
368
|
+
NgDocBindModule,
|
|
369
|
+
NgDocRunModule], exports: [NgDocPlaygroundComponent,
|
|
370
|
+
NgDocPlaygroundPropertyComponent,
|
|
371
|
+
NgDocPlaygroundPropertiesComponent,
|
|
372
|
+
NgDocPlaygroundDemoComponent] }); }
|
|
373
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocPlaygroundModule, imports: [CommonModule,
|
|
374
|
+
ReactiveFormsModule,
|
|
375
|
+
NgDocLabelModule,
|
|
376
|
+
NgDocTooltipModule,
|
|
377
|
+
PolymorpheusModule,
|
|
378
|
+
NgDocAsArrayModule,
|
|
379
|
+
NgDocButtonIconModule,
|
|
380
|
+
NgDocIconModule,
|
|
381
|
+
NgDocTextModule,
|
|
382
|
+
NgDocCheckboxModule,
|
|
383
|
+
FormsModule,
|
|
384
|
+
NgDocButtonModule,
|
|
385
|
+
NgDocDemoDisplayerModule,
|
|
386
|
+
NgDocBindModule,
|
|
387
|
+
NgDocRunModule] }); }
|
|
351
388
|
}
|
|
352
|
-
|
|
353
|
-
NgDocPlaygroundModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.4", ngImport: i0, type: NgDocPlaygroundModule, declarations: [NgDocPlaygroundComponent,
|
|
354
|
-
NgDocPlaygroundPropertyComponent,
|
|
355
|
-
NgDocPlaygroundPropertiesComponent,
|
|
356
|
-
NgDocPlaygroundDemoComponent], imports: [CommonModule,
|
|
357
|
-
ReactiveFormsModule,
|
|
358
|
-
NgDocLabelModule,
|
|
359
|
-
NgDocTooltipModule,
|
|
360
|
-
PolymorpheusModule,
|
|
361
|
-
NgDocAsArrayModule,
|
|
362
|
-
NgDocButtonIconModule,
|
|
363
|
-
NgDocIconModule,
|
|
364
|
-
NgDocTextModule,
|
|
365
|
-
NgDocCheckboxModule,
|
|
366
|
-
FormsModule,
|
|
367
|
-
NgDocButtonModule,
|
|
368
|
-
NgDocDemoDisplayerModule,
|
|
369
|
-
NgDocBindModule,
|
|
370
|
-
NgDocRunModule], exports: [NgDocPlaygroundComponent,
|
|
371
|
-
NgDocPlaygroundPropertyComponent,
|
|
372
|
-
NgDocPlaygroundPropertiesComponent,
|
|
373
|
-
NgDocPlaygroundDemoComponent] });
|
|
374
|
-
NgDocPlaygroundModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: NgDocPlaygroundModule, imports: [CommonModule,
|
|
375
|
-
ReactiveFormsModule,
|
|
376
|
-
NgDocLabelModule,
|
|
377
|
-
NgDocTooltipModule,
|
|
378
|
-
PolymorpheusModule,
|
|
379
|
-
NgDocAsArrayModule,
|
|
380
|
-
NgDocButtonIconModule,
|
|
381
|
-
NgDocIconModule,
|
|
382
|
-
NgDocTextModule,
|
|
383
|
-
NgDocCheckboxModule,
|
|
384
|
-
FormsModule,
|
|
385
|
-
NgDocButtonModule,
|
|
386
|
-
NgDocDemoDisplayerModule,
|
|
387
|
-
NgDocBindModule,
|
|
388
|
-
NgDocRunModule] });
|
|
389
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: NgDocPlaygroundModule, decorators: [{
|
|
389
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocPlaygroundModule, decorators: [{
|
|
390
390
|
type: NgModule,
|
|
391
391
|
args: [{
|
|
392
392
|
declarations: [
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ng-doc-app-components-playground.mjs","sources":["../../../../libs/app/components/playground/base-playground.ts","../../../../libs/app/components/playground/playground-property/playground-property.component.ts","../../../../libs/app/components/playground/playground-property/playground-property.component.html","../../../../libs/app/components/playground/playground-properties/playground-properties.component.ts","../../../../libs/app/components/playground/playground-properties/playground-properties.component.html","../../../../libs/app/components/playground/playground-demo/playground-demo.component.ts","../../../../libs/app/components/playground/playground-demo/playground-demo.component.html","../../../../libs/app/components/playground/playground.component.ts","../../../../libs/app/components/playground/playground.component.html","../../../../libs/app/components/playground/playground.module.ts","../../../../libs/app/components/playground/ng-doc-app-components-playground.ts"],"sourcesContent":["import {Directive, Type, ViewContainerRef} from '@angular/core';\nimport {NgDocPlaygroundConfig} from '@ng-doc/core/interfaces';\n\n/**\n * Base class for playgrounds components.\n */\n@Directive()\nexport abstract class NgDocBasePlayground implements Pick<NgDocPlaygroundConfig, 'data'> {\n\tstatic readonly selector: string = 'unknown';\n\tabstract readonly playground?: Type<unknown>;\n\tabstract readonly viewContainerRef?: ViewContainerRef;\n\n\tdata: Record<string, unknown> = {};\n\tcontent: any = {};\n}\n","import {\n\tChangeDetectionStrategy,\n\tComponent,\n\tComponentRef,\n\tHostBinding,\n\tInjector,\n\tInput,\n\tOnChanges,\n\tSimpleChanges,\n\tViewChild,\n\tViewContainerRef,\n} from '@angular/core';\nimport {FormControl} from '@angular/forms';\nimport {isPlaygroundProperty} from '@ng-doc/app/helpers';\nimport {NgDocProvidedTypeControl, NgDocTypeControl, NgDocTypeControlProviderOptions} from '@ng-doc/app/interfaces';\nimport {NgDocPlaygroundContent, NgDocPlaygroundProperty} from '@ng-doc/core/interfaces';\n\n@Component({\n\tselector: 'ng-doc-playground-property',\n\ttemplateUrl: './playground-property.component.html',\n\tstyleUrls: ['./playground-property.component.scss'],\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class NgDocPlaygroundPropertyComponent implements OnChanges {\n\t@Input()\n\tname: string = '';\n\n\t@Input()\n\tproperty?: NgDocPlaygroundProperty | NgDocPlaygroundContent;\n\n\t@Input()\n\ttypeControl?: NgDocProvidedTypeControl;\n\n\t@Input()\n\tcontrol?: FormControl;\n\n\t@ViewChild('propertyOutlet', {read: ViewContainerRef, static: true})\n\tpropertyOutlet?: ViewContainerRef;\n\n\tprotected option?: NgDocTypeControlProviderOptions;\n\tprivate propertyTypeControl?: ComponentRef<NgDocTypeControl>;\n\n\tconstructor(private readonly injector: Injector) {}\n\n\tngOnChanges({property, control, typeControl}: SimpleChanges): void {\n\t\tif ((property || control || typeControl) && this.property && this.typeControl) {\n\t\t\tthis.propertyTypeControl?.destroy();\n\t\t\tthis.propertyTypeControl = undefined;\n\n\t\t\tif (this.typeControl && this.propertyOutlet) {\n\t\t\t\tthis.propertyTypeControl = this.propertyOutlet.createComponent(this.typeControl.control);\n\t\t\t\tthis.propertyTypeControl.instance.name = this.name;\n\t\t\t\tthis.propertyTypeControl.instance.description = this.tooltipContent;\n\t\t\t\tthis.propertyTypeControl.instance.options = isPlaygroundProperty(this.property)\n\t\t\t\t\t? this.property.options\n\t\t\t\t\t: undefined;\n\t\t\t\tthis.propertyTypeControl.instance.default = isPlaygroundProperty(this.property)\n\t\t\t\t\t? this.property.default\n\t\t\t\t\t: undefined;\n\t\t\t\tthis.propertyTypeControl.instance.writeValue(this.control?.value);\n\n\t\t\t\tthis.option = this.typeControl.options;\n\t\t\t}\n\t\t}\n\n\t\tif (control) {\n\t\t\tthis.control?.registerOnChange((value: string) => this.propertyTypeControl?.instance?.writeValue(value));\n\t\t\tthis.propertyTypeControl?.instance.registerOnChange((value: unknown) => this.control?.setValue(value));\n\t\t\tthis.propertyTypeControl?.instance.registerOnTouched(() => this.control?.markAsTouched());\n\t\t}\n\t}\n\n\t@HostBinding('attr.data-has-property-control')\n\tget hasPropertyControl(): boolean {\n\t\treturn !!this.propertyTypeControl;\n\t}\n\n\tget tooltipContent(): string {\n\t\treturn this.property && isPlaygroundProperty(this.property) ? this.property.description ?? '' : '';\n\t}\n}\n","<label [ng-doc-label]=\"option?.hideLabel ? '' : labelContent\">\n\t<ng-template #labelContent>\n\t\t<span\n\t\t\t[ngDocTooltip]=\"tooltipContent\"\n\t\t\t[canOpen]=\"!!tooltipContent\"\n\t\t\t[positions]=\"['left-center', 'top-right', 'bottom-right']\"\n\t\t\t>{{ name }}</span\n\t\t>\n\t</ng-template>\n\t<ng-container #propertyOutlet></ng-container>\n</label>\n","import {BreakpointObserver, Breakpoints} from '@angular/cdk/layout';\nimport {\n\tChangeDetectionStrategy,\n\tComponent,\n\tEventEmitter,\n\tInjectionToken,\n\tInjector,\n\tInput,\n\tisDevMode,\n\tOnChanges,\n\tOutput,\n\tSimpleChanges,\n} from '@angular/core';\nimport {FormControl, FormGroup} from '@angular/forms';\nimport {getTokenForType, isPlaygroundProperty} from '@ng-doc/app/helpers';\nimport {NgDocProvidedTypeControl} from '@ng-doc/app/interfaces';\nimport {extractValueOrThrow, isPresent, objectKeys} from '@ng-doc/core';\nimport {NgDocPlaygroundContent, NgDocPlaygroundProperties, NgDocPlaygroundProperty} from '@ng-doc/core/interfaces';\nimport {Observable} from 'rxjs';\nimport {pluck} from 'rxjs/operators';\n\nimport {NgDocPlaygroundForm} from '../playground-form';\nimport {NgDocPlaygroundPropertyControl} from '../playground-property-control';\n\n@Component({\n\tselector: 'ng-doc-playground-properties',\n\ttemplateUrl: './playground-properties.component.html',\n\tstyleUrls: ['./playground-properties.component.scss'],\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class NgDocPlaygroundPropertiesComponent<\n\tP extends NgDocPlaygroundProperties,\n\tC extends Record<string, NgDocPlaygroundContent>,\n> implements OnChanges\n{\n\t@Input()\n\tform!: FormGroup<NgDocPlaygroundForm>;\n\n\t@Input()\n\tproperties?: P;\n\n\t@Input()\n\tdynamicContent?: C;\n\n\t@Input()\n\trecreateDemo: boolean = false;\n\n\t@Output()\n\trecreateDemoChange: EventEmitter<boolean> = new EventEmitter<boolean>();\n\n\t@Output()\n\tresetForm: EventEmitter<void> = new EventEmitter<void>();\n\n\treadonly breakpoints: string[] = [Breakpoints.XSmall];\n\treadonly observer: Observable<boolean>;\n\n\tprotected propertyControls: NgDocPlaygroundPropertyControl[] = [];\n\tprotected contentTypeControl?: NgDocProvidedTypeControl = this.getControlForType('boolean');\n\n\tconstructor(protected readonly breakpointObserver: BreakpointObserver, private injector: Injector) {\n\t\tthis.observer = this.breakpointObserver.observe(this.breakpoints).pipe(pluck('matches'));\n\t}\n\n\tngOnChanges({properties}: SimpleChanges): void {\n\t\tif (properties && this.properties) {\n\t\t\tthis.propertyControls = objectKeys(this.properties)\n\t\t\t\t.map((key: keyof P) => {\n\t\t\t\t\tif (this.properties) {\n\t\t\t\t\t\tconst property: NgDocPlaygroundProperty = this.properties[key];\n\t\t\t\t\t\tconst typeControl: NgDocProvidedTypeControl | undefined = this.getTypeControl(property);\n\n\t\t\t\t\t\tif (typeControl) {\n\t\t\t\t\t\t\treturn {\n\t\t\t\t\t\t\t\tpropertyName: String(key),\n\t\t\t\t\t\t\t\tproperty,\n\t\t\t\t\t\t\t\ttypeControl,\n\t\t\t\t\t\t\t};\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\treturn null;\n\t\t\t\t})\n\t\t\t\t.filter(isPresent)\n\t\t\t\t.sort((a: NgDocPlaygroundPropertyControl, b: NgDocPlaygroundPropertyControl) => {\n\t\t\t\t\tconst aOrder: number | undefined = a.typeControl.options?.order;\n\t\t\t\t\tconst bOrder: number | undefined = b.typeControl.options?.order;\n\n\t\t\t\t\tif (isPresent(aOrder) && isPresent(bOrder)) {\n\t\t\t\t\t\treturn aOrder - bOrder;\n\t\t\t\t\t}\n\t\t\t\t\tif (isPresent(aOrder)) {\n\t\t\t\t\t\treturn -1;\n\t\t\t\t\t}\n\t\t\t\t\tif (isPresent(bOrder)) {\n\t\t\t\t\t\treturn 1;\n\t\t\t\t\t}\n\t\t\t\t\treturn a.property.name.localeCompare(b.property.name);\n\t\t\t\t});\n\t\t}\n\t}\n\n\tgetFormControl(controlType: keyof typeof this.form.controls, key: string): FormControl {\n\t\treturn this.form.get(controlType)?.get(key) as FormControl;\n\t}\n\n\tprivate getTypeControl(property: NgDocPlaygroundProperty): NgDocProvidedTypeControl | undefined {\n\t\tconst type: string = property.type;\n\t\tconst typeControl: NgDocProvidedTypeControl | undefined =\n\t\t\tthis.getControlForType(type) ??\n\t\t\tthis.getControlForTypeAlias(isPlaygroundProperty(property) ? property.options : undefined);\n\n\t\tif (!typeControl && isDevMode()) {\n\t\t\tconsole.warn(\n\t\t\t\t`NgDocPlayground didn't find the control for the @Input \"${property.name}\", the type \"${type}\" was not recognized'`,\n\t\t\t);\n\t\t}\n\n\t\treturn typeControl;\n\t}\n\n\tprivate getControlForType(type: string): NgDocProvidedTypeControl | undefined {\n\t\tconst token: InjectionToken<NgDocProvidedTypeControl> | undefined = getTokenForType(type);\n\n\t\treturn token ? this.injector.get(token) : undefined;\n\t}\n\n\tprivate getControlForTypeAlias(options?: string[]): NgDocProvidedTypeControl | undefined {\n\t\tif (options && options.length) {\n\t\t\tlet optionsIsValid: boolean = true;\n\n\t\t\ttry {\n\t\t\t\t// checking that all values are extractable\n\t\t\t\toptions.forEach((item: string) => extractValueOrThrow(item));\n\t\t\t} catch {\n\t\t\t\toptionsIsValid = false;\n\t\t\t}\n\n\t\t\tif (optionsIsValid) {\n\t\t\t\tconst token: InjectionToken<NgDocProvidedTypeControl> | undefined = getTokenForType('NgDocTypeAlias');\n\n\t\t\t\treturn token ? this.injector.get(token) : undefined;\n\t\t\t}\n\t\t}\n\n\t\treturn undefined;\n\t}\n}\n","<div class=\"ng-doc-playground-properties-wrapper\" [class.vertical]=\"observer | async\">\n\t<div class=\"ng-doc-playground-demos\">\n\t\t<ng-content></ng-content>\n\t</div>\n\t<div class=\"ng-doc-playground-properties\">\n\t\t<div class=\"ng-doc-playground-header\">\n\t\t\t<h4 ng-doc-text>Playground</h4>\n\t\t\t<button ng-doc-button color=\"red\" (click)=\"resetForm.emit()\">Reset</button>\n\t\t</div>\n\t\t<div class=\"ng-doc-playground-setting\">\n\t\t\t<ng-doc-checkbox [(ngModel)]=\"recreateDemo\" (ngModelChange)=\"recreateDemoChange.emit($event)\">\n\t\t\t\t<span\n\t\t\t\t\tng-doc-text\n\t\t\t\t\t[ngDocTooltip]=\"'Recreates demo everytime\\none of the input has changed'\"\n\t\t\t\t\t[positions]=\"['bottom-right', 'left-center']\"\n\t\t\t\t>\n\t\t\t\t\tRecreate\n\t\t\t\t\t<ng-doc-icon icon=\"info\" ngDocTextRight></ng-doc-icon>\n\t\t\t\t</span>\n\t\t\t</ng-doc-checkbox>\n\t\t</div>\n\t\t<div class=\"ng-doc-playground-divider\"></div>\n\t\t<ng-container *ngIf=\"propertyControls.length\">\n\t\t\t<h5 class=\"ng-doc-title\" ng-doc-text>Settings</h5>\n\t\t\t<ng-doc-playground-property\n\t\t\t\t*ngFor=\"let propertyControl of propertyControls\"\n\t\t\t\t[name]=\"propertyControl.property.name\"\n\t\t\t\t[property]=\"propertyControl.property\"\n\t\t\t\t[typeControl]=\"propertyControl.typeControl\"\n\t\t\t\t[control]=\"getFormControl | ngDocBind: this | ngDocRun: 'properties': propertyControl.propertyName\"\n\t\t\t>\n\t\t\t</ng-doc-playground-property>\n\t\t</ng-container>\n\n\t\t<ng-container *ngIf=\"(dynamicContent | keyvalue)?.length\">\n\t\t\t<h5 class=\"ng-doc-title\" ng-doc-text>Content</h5>\n\t\t\t<ng-doc-playground-property\n\t\t\t\t*ngFor=\"let content of dynamicContent | keyvalue\"\n\t\t\t\t[name]=\"content.value.label\"\n\t\t\t\t[property]=\"content.value\"\n\t\t\t\t[typeControl]=\"contentTypeControl\"\n\t\t\t\t[control]=\"getFormControl | ngDocBind: this | ngDocRun: 'content': content.key\"\n\t\t\t>\n\t\t\t</ng-doc-playground-property>\n\t\t</ng-container>\n\t</div>\n</div>\n","import {\n\tChangeDetectionStrategy,\n\tChangeDetectorRef,\n\tComponent,\n\tComponentRef,\n\tInjectionToken,\n\tInjector,\n\tInput,\n\tOnChanges,\n\tOnDestroy,\n\tSimpleChanges,\n\tType,\n\tViewChild,\n\tViewContainerRef,\n} from '@angular/core';\nimport {FormGroup} from '@angular/forms';\nimport {NgDocRootPage} from '@ng-doc/app/classes/root-page';\nimport {getPlaygroundDemoToken} from '@ng-doc/app/helpers';\nimport {NgDocFormPartialValue} from '@ng-doc/app/types';\nimport {buildPlaygroundDemoTemplate} from '@ng-doc/core/helpers/build-playground-demo-template';\nimport {formatHtml} from '@ng-doc/core/helpers/format-html';\nimport {objectKeys} from '@ng-doc/core/helpers/object-keys';\nimport {NgDocPlaygroundConfig, NgDocPlaygroundProperties, NgDocPlaygroundProperty} from '@ng-doc/core/interfaces';\nimport {NgDocExtractedValue} from '@ng-doc/core/types';\nimport {UntilDestroy, untilDestroyed} from '@ngneat/until-destroy';\nimport {Observable, of, Subject} from 'rxjs';\nimport {takeUntil} from 'rxjs/operators';\n\nimport {NgDocBasePlayground} from '../base-playground';\nimport {NgDocPlaygroundForm} from '../playground-form';\n\n@Component({\n\tselector: 'ng-doc-playground-demo',\n\ttemplateUrl: './playground-demo.component.html',\n\tstyleUrls: ['./playground-demo.component.scss'],\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\n@UntilDestroy()\nexport class NgDocPlaygroundDemoComponent<T extends NgDocPlaygroundProperties = NgDocPlaygroundProperties>\n\timplements OnChanges, OnDestroy\n{\n\t@Input()\n\tid: string = '';\n\n\t@Input()\n\tselector: string = '';\n\n\t@Input()\n\tconfiguration?: NgDocPlaygroundConfig;\n\n\t@Input()\n\tproperties?: T;\n\n\t@Input()\n\trecreateDemo: boolean = false;\n\n\t@Input()\n\tform!: FormGroup<NgDocPlaygroundForm>;\n\n\t@ViewChild('demoOutlet', {static: true, read: ViewContainerRef})\n\tdemoOutlet?: ViewContainerRef;\n\n\tplaygroundDemo?: typeof NgDocBasePlayground;\n\n\tcode: Observable<string> = of('');\n\n\tprivate demoRef?: ComponentRef<NgDocBasePlayground>;\n\tprivate readonly unsubscribe$: Subject<void> = new Subject<void>();\n\n\tconstructor(private readonly rootPage: NgDocRootPage, private readonly injector: Injector) {}\n\n\tngOnChanges({form, id}: SimpleChanges): void {\n\t\tif (form && id) {\n\t\t\tthis.unsubscribe$.next();\n\n\t\t\tconst demoInjector: InjectionToken<Array<typeof NgDocBasePlayground>> | undefined = getPlaygroundDemoToken(\n\t\t\t\tthis.id,\n\t\t\t);\n\n\t\t\tif (demoInjector) {\n\t\t\t\tconst demos: Array<typeof NgDocBasePlayground> = this.injector.get(demoInjector, []);\n\t\t\t\tthis.playgroundDemo = demos.find((demo: typeof NgDocBasePlayground) => demo.selector === this.selector);\n\t\t\t}\n\n\t\t\tthis.updateDemo();\n\n\t\t\tthis.form?.valueChanges\n\t\t\t\t.pipe(takeUntil(this.unsubscribe$), untilDestroyed(this))\n\t\t\t\t.subscribe((data: NgDocFormPartialValue<typeof this.form>) => this.updateDemo(data));\n\t\t}\n\t}\n\n\tprivate updateDemo(data?: NgDocFormPartialValue<typeof this.form>): void {\n\t\tif (this.recreateDemo || !this.demoRef) {\n\t\t\tthis.renderDemo();\n\t\t}\n\n\t\tif (data) {\n\t\t\tObject.assign(this.demoRef?.instance.playground ?? {}, data.properties);\n\t\t\tObject.assign(this.demoRef?.instance.content ?? {}, data.content);\n\t\t\tthis.demoRef?.instance?.viewContainerRef?.injector.get(ChangeDetectorRef)?.markForCheck();\n\t\t}\n\n\t\tthis.updateCodeView();\n\t}\n\n\tprivate renderDemo(): void {\n\t\tif (this.playgroundDemo) {\n\t\t\tthis.demoRef?.destroy();\n\n\t\t\tif (this.playgroundDemo) {\n\t\t\t\tthis.demoRef = this.demoOutlet?.createComponent(\n\t\t\t\t\tthis.playgroundDemo as unknown as Type<NgDocBasePlayground>,\n\t\t\t\t);\n\t\t\t}\n\n\t\t\tthis.demoRef?.changeDetectorRef.markForCheck();\n\t\t}\n\t}\n\n\tprivate updateCodeView(): void {\n\t\tconst template: string = buildPlaygroundDemoTemplate(\n\t\t\tthis.configuration?.template ?? '',\n\t\t\tthis.selector,\n\t\t\tthis.getActiveContent(),\n\t\t\tthis.getActiveInputs(),\n\t\t);\n\n\t\tthis.code = formatHtml(template);\n\t}\n\n\tprivate getActiveContent(): Record<string, string> {\n\t\tconst formData: Record<string, boolean> = (this.form?.controls.content.value as Record<string, boolean>) ?? {};\n\n\t\treturn objectKeys(formData).reduce((result: Record<string, string>, key: string) => {\n\t\t\tresult[key] = formData[key] ? this.configuration?.content?.[key].template ?? '' : '';\n\n\t\t\treturn result;\n\t\t}, {});\n\t}\n\n\tprivate getActiveInputs(): Record<string, string> {\n\t\tconst formData: Record<string, NgDocExtractedValue> =\n\t\t\t(this.form?.controls.properties.value as Record<string, NgDocExtractedValue>) ?? {};\n\n\t\treturn objectKeys(formData).reduce((result: Record<string, string>, key: string) => {\n\t\t\tconst property: NgDocPlaygroundProperty | undefined = this.properties?.[key];\n\n\t\t\tif (property) {\n\t\t\t\tconst value: NgDocExtractedValue = formData[key];\n\t\t\t\tconst isString: boolean = typeof value === 'string';\n\t\t\t\tconst inputValue: string = isString ? `'${value}'` : `${JSON.stringify(value)}`;\n\n\t\t\t\tif ((property.default ?? '') !== inputValue) {\n\t\t\t\t\tresult[property.name] = inputValue;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn result;\n\t\t}, {});\n\t}\n\n\tngOnDestroy(): void {\n\t\tthis.unsubscribe$.next();\n\t\tthis.unsubscribe$.complete();\n\t}\n}\n","<ng-doc-demo-displayer [code]=\"(code | async) ?? ''\" [border]=\"false\" language=\"html\">\n\t<ng-container #demoOutlet></ng-container>\n</ng-doc-demo-displayer>\n","import {ChangeDetectionStrategy, Component, OnInit} from '@angular/core';\nimport {FormBuilder, FormGroup} from '@angular/forms';\nimport {NgDocRootPage} from '@ng-doc/app/classes/root-page';\nimport {extractValue} from '@ng-doc/core/helpers/extract-value';\nimport {objectKeys} from '@ng-doc/core/helpers/object-keys';\nimport {NgDocPlaygroundConfig, NgDocPlaygroundProperties} from '@ng-doc/core/interfaces';\nimport {NgDocExtractedValue} from '@ng-doc/core/types';\n\nimport {NgDocPlaygroundForm} from './playground-form';\n\n@Component({\n\tselector: 'ng-doc-playground',\n\ttemplateUrl: './playground.component.html',\n\tstyleUrls: ['./playground.component.scss'],\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class NgDocPlaygroundComponent<T extends NgDocPlaygroundProperties = NgDocPlaygroundProperties>\n\timplements OnInit\n{\n\tid: string = '';\n\tselectors: string[] = [];\n\tproperties?: T;\n\tformGroup!: FormGroup<NgDocPlaygroundForm>;\n\trecreateDemo: boolean = false;\n\n\tconstructor(private readonly rootPage: NgDocRootPage, private readonly formBuilder: FormBuilder) {}\n\n\tngOnInit(): void {\n\t\tconst propertiesForm: FormGroup = this.formBuilder.group(this.getPropertiesFormValues());\n\t\tconst contentForm: FormGroup = this.formBuilder.group(this.getContentFormValues());\n\n\t\tthis.formGroup = this.formBuilder.group({\n\t\t\tproperties: propertiesForm,\n\t\t\tcontent: contentForm,\n\t\t});\n\t}\n\n\tget configuration(): NgDocPlaygroundConfig | undefined {\n\t\treturn this.rootPage.dependencies?.playgrounds?.[this.id];\n\t}\n\n\tprivate getPropertiesFormValues<K extends keyof T>(): Record<K, NgDocExtractedValue> {\n\t\treturn objectKeys(this.properties ?? {}).reduce((controls: Record<K, NgDocExtractedValue>, key: K) => {\n\t\t\tif (this.properties) {\n\t\t\t\tcontrols[key] = extractValue(this.properties[key]?.default ?? 'undefined');\n\t\t\t}\n\n\t\t\treturn controls;\n\t\t}, {} as Record<K, NgDocExtractedValue>);\n\t}\n\n\tprivate getContentFormValues(): Record<string, boolean> {\n\t\treturn objectKeys(this.configuration?.content ?? {}).reduce(\n\t\t\t(controls: Record<string, boolean>, key: string) => {\n\t\t\t\tif (this.configuration?.content) {\n\t\t\t\t\tcontrols[key] = false;\n\t\t\t\t}\n\n\t\t\t\treturn controls;\n\t\t\t},\n\t\t\t{} as Record<keyof T, boolean>,\n\t\t);\n\t\treturn {};\n\t}\n\n\tresetForm(): void {\n\t\tthis.formGroup?.reset({\n\t\t\tproperties: this.getPropertiesFormValues(),\n\t\t\tcontent: this.getContentFormValues(),\n\t\t});\n\t}\n}\n","<ng-container *ngIf=\"configuration\">\n\t<ng-doc-playground-properties\n\t\t[form]=\"formGroup\"\n\t\t[properties]=\"properties\"\n\t\t[dynamicContent]=\"configuration.content\"\n\t\t[(recreateDemo)]=\"recreateDemo\"\n\t\t(resetForm)=\"resetForm()\"\n\t>\n\t\t<ng-doc-playground-demo\n\t\t\t*ngFor=\"let selector of configuration.selectors ?? selectors | asArray\"\n\t\t\t[id]=\"id\"\n\t\t\t[selector]=\"selector\"\n\t\t\t[properties]=\"properties\"\n\t\t\t[configuration]=\"configuration\"\n\t\t\t[recreateDemo]=\"recreateDemo\"\n\t\t\t[form]=\"formGroup\"\n\t\t>\n\t\t</ng-doc-playground-demo>\n\t</ng-doc-playground-properties>\n</ng-container>\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {FormsModule, ReactiveFormsModule} from '@angular/forms';\nimport {NgDocDemoDisplayerModule} from '@ng-doc/app/components/demo-displayer';\nimport {\n\tNgDocAsArrayModule, NgDocBindModule,\n\tNgDocButtonIconModule,\n\tNgDocButtonModule,\n\tNgDocCheckboxModule,\n\tNgDocIconModule,\n\tNgDocLabelModule, NgDocRunModule,\n\tNgDocTextModule,\n\tNgDocTooltipModule,\n} from '@ng-doc/ui-kit';\nimport {PolymorpheusModule} from '@tinkoff/ng-polymorpheus';\n\nimport {NgDocPlaygroundComponent} from './playground.component';\nimport {NgDocPlaygroundDemoComponent} from './playground-demo/playground-demo.component';\nimport {NgDocPlaygroundPropertiesComponent} from './playground-properties/playground-properties.component';\nimport {NgDocPlaygroundPropertyComponent} from './playground-property/playground-property.component';\n\n@NgModule({\n\tdeclarations: [\n\t\tNgDocPlaygroundComponent,\n\t\tNgDocPlaygroundPropertyComponent,\n\t\tNgDocPlaygroundPropertiesComponent,\n\t\tNgDocPlaygroundDemoComponent,\n\t],\n\timports: [\n\t\tCommonModule,\n\t\tReactiveFormsModule,\n\t\tNgDocLabelModule,\n\t\tNgDocTooltipModule,\n\t\tPolymorpheusModule,\n\t\tNgDocAsArrayModule,\n\t\tNgDocButtonIconModule,\n\t\tNgDocIconModule,\n\t\tNgDocTextModule,\n\t\tNgDocCheckboxModule,\n\t\tFormsModule,\n\t\tNgDocButtonModule,\n\t\tNgDocDemoDisplayerModule,\n\t\tNgDocBindModule,\n\t\tNgDocRunModule,\n\t],\n\texports: [\n\t\tNgDocPlaygroundComponent,\n\t\tNgDocPlaygroundPropertyComponent,\n\t\tNgDocPlaygroundPropertiesComponent,\n\t\tNgDocPlaygroundDemoComponent,\n\t],\n})\nexport class NgDocPlaygroundModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":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AAA,EAAA,qBAAqB,YAvBhC,YAAY;YACZ,mBAAmB;YACnB,gBAAgB;YAChB,kBAAkB;YAClB,kBAAkB;YAClB,kBAAkB;YAClB,qBAAqB;YACrB,eAAe;YACf,eAAe;YACf,mBAAmB;YACnB,WAAW;YACX,iBAAiB;YACjB,wBAAwB;YACxB,eAAe;YACf,cAAc,CAAA,EAAA,CAAA,CAAA,EAAA;;2FASH,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBA/BjC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,YAAY,EAAE;wBACb,wBAAwB;wBACxB,gCAAgC;wBAChC,kCAAkC;wBAClC,4BAA4B;AAC5B,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACR,YAAY;wBACZ,mBAAmB;wBACnB,gBAAgB;wBAChB,kBAAkB;wBAClB,kBAAkB;wBAClB,kBAAkB;wBAClB,qBAAqB;wBACrB,eAAe;wBACf,eAAe;wBACf,mBAAmB;wBACnB,WAAW;wBACX,iBAAiB;wBACjB,wBAAwB;wBACxB,eAAe;wBACf,cAAc;AACd,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACR,wBAAwB;wBACxB,gCAAgC;wBAChC,kCAAkC;wBAClC,4BAA4B;AAC5B,qBAAA;AACD,iBAAA,CAAA;;;ACnDD;;AAEG;;;;"}
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
import { __decorate, __metadata } from 'tslib';
|
|
2
|
+
import * as i0 from '@angular/core';
|
|
3
|
+
import { Directive, Component, ChangeDetectionStrategy, Input, HostBinding, ViewChild, NgModule } from '@angular/core';
|
|
4
|
+
import * as i1 from '@ng-doc/app/services/sidebar';
|
|
5
|
+
import { NgDocSidebarService } from '@ng-doc/app/services/sidebar';
|
|
6
|
+
import * as i3 from '@ng-doc/ui-kit';
|
|
7
|
+
import { NgDocSidenavComponent, NgDocMediaQueryModule, NgDocSidenavModule, NgDocLetModule } from '@ng-doc/ui-kit';
|
|
8
|
+
import { UntilDestroy } from '@ngneat/until-destroy';
|
|
9
|
+
import { NEVER, combineLatest, merge, of } from 'rxjs';
|
|
10
|
+
import { mapTo, startWith, filter, map, delay } from 'rxjs/operators';
|
|
11
|
+
import * as i2 from '@angular/common';
|
|
12
|
+
import { CommonModule } from '@angular/common';
|
|
13
|
+
import * as i4 from '@tinkoff/ng-polymorpheus';
|
|
14
|
+
import { PolymorpheusModule } from '@tinkoff/ng-polymorpheus';
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Directive uses for providing custom navbar, you should mark element with this directive
|
|
18
|
+
* and the `NgDocRootComponent` will use it as a navbar
|
|
19
|
+
*
|
|
20
|
+
* ```html
|
|
21
|
+
* <ng-doc-root>
|
|
22
|
+
* <my-custom-navbar ngDocCustomNavbar></my-custom-navbar>
|
|
23
|
+
*
|
|
24
|
+
* <ng-doc-sidebar></ng-doc-sidebar>
|
|
25
|
+
* <router-outlet></router-outlet>
|
|
26
|
+
* </ng-doc-root>
|
|
27
|
+
* ```
|
|
28
|
+
*/
|
|
29
|
+
class NgDocCustomNavbarDirective {
|
|
30
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocCustomNavbarDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
31
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0", type: NgDocCustomNavbarDirective, selector: "[ngDocCustomNavbar]", ngImport: i0 }); }
|
|
32
|
+
}
|
|
33
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocCustomNavbarDirective, decorators: [{
|
|
34
|
+
type: Directive,
|
|
35
|
+
args: [{
|
|
36
|
+
selector: '[ngDocCustomNavbar]',
|
|
37
|
+
}]
|
|
38
|
+
}] });
|
|
39
|
+
/**
|
|
40
|
+
* Directive uses for providing custom sidebar, you should mark element with this directive
|
|
41
|
+
* and the `NgDocRootComponent` will use it as a sidebar
|
|
42
|
+
*
|
|
43
|
+
* ```html
|
|
44
|
+
* <ng-doc-root>
|
|
45
|
+
* <ng-doc-navbar></ng-doc-sidebar>
|
|
46
|
+
*
|
|
47
|
+
* <my-custom-sidebar ngDocCustomSidebar></my-custom-sidebar>
|
|
48
|
+
* <router-outlet></router-outlet>
|
|
49
|
+
* </ng-doc-root>
|
|
50
|
+
* ```
|
|
51
|
+
*/
|
|
52
|
+
class NgDocCustomSidebarDirective {
|
|
53
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocCustomSidebarDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
54
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0", type: NgDocCustomSidebarDirective, selector: "[ngDocCustomSidebar]", ngImport: i0 }); }
|
|
55
|
+
}
|
|
56
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocCustomSidebarDirective, decorators: [{
|
|
57
|
+
type: Directive,
|
|
58
|
+
args: [{
|
|
59
|
+
selector: '[ngDocCustomSidebar]',
|
|
60
|
+
}]
|
|
61
|
+
}] });
|
|
62
|
+
let NgDocRootComponent = class NgDocRootComponent {
|
|
63
|
+
constructor(sidebarService) {
|
|
64
|
+
this.sidebarService = sidebarService;
|
|
65
|
+
/**
|
|
66
|
+
* If `true` then the sidebar will be shown
|
|
67
|
+
* You can use it for example for landing page to hide sidebar
|
|
68
|
+
*/
|
|
69
|
+
this.sidebar = true;
|
|
70
|
+
/**
|
|
71
|
+
* Content for footer
|
|
72
|
+
*/
|
|
73
|
+
this.footerContent = '';
|
|
74
|
+
/**
|
|
75
|
+
* If `true` then page will be shown without width limit.
|
|
76
|
+
* You can use it for example for landing page
|
|
77
|
+
*/
|
|
78
|
+
this.noWidthLimit = false;
|
|
79
|
+
this.sidenavState$ = NEVER;
|
|
80
|
+
}
|
|
81
|
+
ngAfterViewInit() {
|
|
82
|
+
this.sidenavState$ = combineLatest([
|
|
83
|
+
this.sidebarService.isMobileMode(),
|
|
84
|
+
this.sidenav
|
|
85
|
+
? merge(this.sidenav.beforeOpen.pipe(mapTo(true)), this.sidenav.afterClose.pipe(mapTo(false))).pipe(startWith(false))
|
|
86
|
+
: of(true),
|
|
87
|
+
]).pipe(filter(([isMobile, opened]) => !opened || (opened && !isMobile)), map(([isMobile]) => ({
|
|
88
|
+
over: isMobile,
|
|
89
|
+
align: (isMobile ? 'right' : 'left'),
|
|
90
|
+
hasBackdrop: isMobile,
|
|
91
|
+
})), delay(0));
|
|
92
|
+
}
|
|
93
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocRootComponent, deps: [{ token: i1.NgDocSidebarService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
94
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.0", type: NgDocRootComponent, selector: "ng-doc-root", inputs: { sidebar: "sidebar", footerContent: "footerContent", noWidthLimit: "noWidthLimit" }, host: { properties: { "attr.data-ng-doc-no-width-limit": "this.noWidthLimit" } }, providers: [], viewQueries: [{ propertyName: "sidenav", first: true, predicate: NgDocSidenavComponent, descendants: true }], ngImport: i0, template: "<ng-container *ngDocLet=\"!!(sidebarService.isMobileMode() | async) as isMobileMode\">\n\t<div class=\"ng-doc-root-wrapper\" [class.collapsable]=\"isMobileMode\">\n\t\t<div class=\"ng-doc-header\">\n\t\t\t<ng-content select=\"ng-doc-navbar\"></ng-content>\n\t\t\t<ng-content select=\"[ngDocCustomNavbar]\"></ng-content>\n\t\t</div>\n\t\t<main *ngDocLet=\"sidebar && !!(sidebarService.isExpanded() | async) as opened\">\n\t\t\t<ng-doc-sidenav\n\t\t\t\t*ngDocLet=\"sidenavState$ | async as sidenavState\"\n\t\t\t\t[sidebar]=\"sidebarContent\"\n\t\t\t\t[opened]=\"opened\"\n\t\t\t\t[over]=\"sidenavState?.over ?? false\"\n\t\t\t\t[align]=\"sidenavState?.align ?? 'left'\"\n\t\t\t\t[hasBackdrop]=\"sidenavState?.hasBackdrop ?? false\"\n\t\t\t\t(closeEvent)=\"sidebarService.hide()\"\n\t\t\t>\n\t\t\t\t<ng-template #sidebarContent>\n\t\t\t\t\t<ng-content select=\"ng-doc-sidebar\"></ng-content>\n\t\t\t\t\t<ng-content select=\"[ngDocCustomSidebar]\"></ng-content>\n\t\t\t\t</ng-template>\n\n\t\t\t\t<ng-content></ng-content>\n\t\t\t</ng-doc-sidenav>\n\t\t</main>\n\t\t<footer *ngIf=\"footerContent\">\n\t\t\t<ng-container *polymorpheusOutlet=\"footerContent as text\"> {{ text }} </ng-container>\n\t\t</footer>\n\t</div>\n</ng-container>\n", styles: [":host[data-ng-doc-no-width-limit=true] .ng-doc-root-wrapper main{max-width:none}:host .ng-doc-root-wrapper main{display:flex;width:100%;margin-left:auto;margin-right:auto;max-width:var(--ng-doc-app-max-width);padding:var(--ng-doc-main-padding);--ng-doc-sidenav-top: var(--ng-doc-navbar-height);--ng-doc-sidenav-width: var(--ng-doc-sidebar-width);--ng-doc-sidenav-content-padding: var(--ng-doc-page-padding)}:host .ng-doc-root-wrapper .ng-doc-header{position:fixed;top:0;height:var(--ng-doc-navbar-height);width:100%;z-index:10}\n"], dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i3.NgDocSidenavComponent, selector: "ng-doc-sidenav", inputs: ["sidebar", "align", "over", "opened", "hasBackdrop"], outputs: ["openedChange", "closeEvent", "beforeOpen", "beforeClose", "afterOpen", "afterClose"] }, { kind: "directive", type: i3.NgDocLetDirective, selector: "[ngDocLet]", inputs: ["ngDocLet"] }, { kind: "directive", type: i4.PolymorpheusOutletDirective, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }, { kind: "pipe", type: i2.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
95
|
+
};
|
|
96
|
+
NgDocRootComponent = __decorate([
|
|
97
|
+
UntilDestroy(),
|
|
98
|
+
__metadata("design:paramtypes", [NgDocSidebarService])
|
|
99
|
+
], NgDocRootComponent);
|
|
100
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocRootComponent, decorators: [{
|
|
101
|
+
type: Component,
|
|
102
|
+
args: [{ selector: 'ng-doc-root', providers: [], changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-container *ngDocLet=\"!!(sidebarService.isMobileMode() | async) as isMobileMode\">\n\t<div class=\"ng-doc-root-wrapper\" [class.collapsable]=\"isMobileMode\">\n\t\t<div class=\"ng-doc-header\">\n\t\t\t<ng-content select=\"ng-doc-navbar\"></ng-content>\n\t\t\t<ng-content select=\"[ngDocCustomNavbar]\"></ng-content>\n\t\t</div>\n\t\t<main *ngDocLet=\"sidebar && !!(sidebarService.isExpanded() | async) as opened\">\n\t\t\t<ng-doc-sidenav\n\t\t\t\t*ngDocLet=\"sidenavState$ | async as sidenavState\"\n\t\t\t\t[sidebar]=\"sidebarContent\"\n\t\t\t\t[opened]=\"opened\"\n\t\t\t\t[over]=\"sidenavState?.over ?? false\"\n\t\t\t\t[align]=\"sidenavState?.align ?? 'left'\"\n\t\t\t\t[hasBackdrop]=\"sidenavState?.hasBackdrop ?? false\"\n\t\t\t\t(closeEvent)=\"sidebarService.hide()\"\n\t\t\t>\n\t\t\t\t<ng-template #sidebarContent>\n\t\t\t\t\t<ng-content select=\"ng-doc-sidebar\"></ng-content>\n\t\t\t\t\t<ng-content select=\"[ngDocCustomSidebar]\"></ng-content>\n\t\t\t\t</ng-template>\n\n\t\t\t\t<ng-content></ng-content>\n\t\t\t</ng-doc-sidenav>\n\t\t</main>\n\t\t<footer *ngIf=\"footerContent\">\n\t\t\t<ng-container *polymorpheusOutlet=\"footerContent as text\"> {{ text }} </ng-container>\n\t\t</footer>\n\t</div>\n</ng-container>\n", styles: [":host[data-ng-doc-no-width-limit=true] .ng-doc-root-wrapper main{max-width:none}:host .ng-doc-root-wrapper main{display:flex;width:100%;margin-left:auto;margin-right:auto;max-width:var(--ng-doc-app-max-width);padding:var(--ng-doc-main-padding);--ng-doc-sidenav-top: var(--ng-doc-navbar-height);--ng-doc-sidenav-width: var(--ng-doc-sidebar-width);--ng-doc-sidenav-content-padding: var(--ng-doc-page-padding)}:host .ng-doc-root-wrapper .ng-doc-header{position:fixed;top:0;height:var(--ng-doc-navbar-height);width:100%;z-index:10}\n"] }]
|
|
103
|
+
}], ctorParameters: function () { return [{ type: i1.NgDocSidebarService }]; }, propDecorators: { sidebar: [{
|
|
104
|
+
type: Input
|
|
105
|
+
}], footerContent: [{
|
|
106
|
+
type: Input
|
|
107
|
+
}], noWidthLimit: [{
|
|
108
|
+
type: Input
|
|
109
|
+
}, {
|
|
110
|
+
type: HostBinding,
|
|
111
|
+
args: ['attr.data-ng-doc-no-width-limit']
|
|
112
|
+
}], sidenav: [{
|
|
113
|
+
type: ViewChild,
|
|
114
|
+
args: [NgDocSidenavComponent]
|
|
115
|
+
}] } });
|
|
116
|
+
|
|
117
|
+
class NgDocRootModule {
|
|
118
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocRootModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
119
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0", ngImport: i0, type: NgDocRootModule, declarations: [NgDocRootComponent, NgDocCustomNavbarDirective, NgDocCustomSidebarDirective], imports: [CommonModule, NgDocMediaQueryModule, NgDocSidenavModule, NgDocLetModule, PolymorpheusModule], exports: [NgDocRootComponent, NgDocCustomNavbarDirective, NgDocCustomSidebarDirective] }); }
|
|
120
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocRootModule, imports: [CommonModule, NgDocMediaQueryModule, NgDocSidenavModule, NgDocLetModule, PolymorpheusModule] }); }
|
|
121
|
+
}
|
|
122
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocRootModule, decorators: [{
|
|
123
|
+
type: NgModule,
|
|
124
|
+
args: [{
|
|
125
|
+
declarations: [NgDocRootComponent, NgDocCustomNavbarDirective, NgDocCustomSidebarDirective],
|
|
126
|
+
imports: [CommonModule, NgDocMediaQueryModule, NgDocSidenavModule, NgDocLetModule, PolymorpheusModule],
|
|
127
|
+
exports: [NgDocRootComponent, NgDocCustomNavbarDirective, NgDocCustomSidebarDirective],
|
|
128
|
+
}]
|
|
129
|
+
}] });
|
|
130
|
+
|
|
131
|
+
/**
|
|
132
|
+
* Generated bundle index. Do not edit.
|
|
133
|
+
*/
|
|
134
|
+
|
|
135
|
+
export { NgDocCustomNavbarDirective, NgDocCustomSidebarDirective, NgDocRootComponent, NgDocRootModule };
|
|
136
|
+
//# sourceMappingURL=ng-doc-app-components-root.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ng-doc-app-components-root.mjs","sources":["../../../../libs/app/components/root/root.component.ts","../../../../libs/app/components/root/root.component.html","../../../../libs/app/components/root/root.module.ts","../../../../libs/app/components/root/ng-doc-app-components-root.ts"],"sourcesContent":["import {\n\tAfterViewInit,\n\tChangeDetectionStrategy,\n\tComponent,\n\tDirective,\n\tHostBinding,\n\tInput,\n\tViewChild,\n} from '@angular/core';\nimport {NgDocSidebarService} from '@ng-doc/app/services/sidebar';\nimport {NgDocContent, NgDocHorizontalAlign, NgDocSidenavComponent} from '@ng-doc/ui-kit';\nimport {UntilDestroy} from '@ngneat/until-destroy';\nimport {combineLatest, merge, NEVER, Observable, of} from 'rxjs';\nimport {delay, filter, map, mapTo, startWith, tap} from 'rxjs/operators';\n\n/**\n * Directive uses for providing custom navbar, you should mark element with this directive\n * and the `NgDocRootComponent` will use it as a navbar\n *\n * ```html\n * <ng-doc-root>\n * <my-custom-navbar ngDocCustomNavbar></my-custom-navbar>\n *\n * <ng-doc-sidebar></ng-doc-sidebar>\n * <router-outlet></router-outlet>\n * </ng-doc-root>\n * ```\n */\n@Directive({\n\tselector: '[ngDocCustomNavbar]',\n})\nexport class NgDocCustomNavbarDirective {}\n\n/**\n * Directive uses for providing custom sidebar, you should mark element with this directive\n * and the `NgDocRootComponent` will use it as a sidebar\n *\n * ```html\n * <ng-doc-root>\n * <ng-doc-navbar></ng-doc-sidebar>\n *\n * <my-custom-sidebar ngDocCustomSidebar></my-custom-sidebar>\n * <router-outlet></router-outlet>\n * </ng-doc-root>\n * ```\n */\n@Directive({\n\tselector: '[ngDocCustomSidebar]',\n})\nexport class NgDocCustomSidebarDirective {}\n\n@Component({\n\tselector: 'ng-doc-root',\n\ttemplateUrl: './root.component.html',\n\tstyleUrls: ['./root.component.scss'],\n\tproviders: [],\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\n@UntilDestroy()\nexport class NgDocRootComponent implements AfterViewInit {\n\t/**\n\t * If `true` then the sidebar will be shown\n\t * You can use it for example for landing page to hide sidebar\n\t */\n\t@Input()\n\tsidebar: boolean = true;\n\n\t/**\n\t * Content for footer\n\t */\n\t@Input()\n\tfooterContent: NgDocContent = '';\n\n\t/**\n\t * If `true` then page will be shown without width limit.\n\t * You can use it for example for landing page\n\t */\n\t@Input()\n\t@HostBinding('attr.data-ng-doc-no-width-limit')\n\tnoWidthLimit: boolean = false;\n\n\t@ViewChild(NgDocSidenavComponent)\n\tsidenav?: NgDocSidenavComponent;\n\n\tprotected sidenavState$: Observable<{\n\t\tover: boolean;\n\t\talign: NgDocHorizontalAlign;\n\t\thasBackdrop: boolean;\n\t}> = NEVER;\n\n\tconstructor(protected readonly sidebarService: NgDocSidebarService) {}\n\n\tngAfterViewInit(): void {\n\t\tthis.sidenavState$ = combineLatest([\n\t\t\tthis.sidebarService.isMobileMode(),\n\t\t\tthis.sidenav\n\t\t\t\t? merge(this.sidenav.beforeOpen.pipe(mapTo(true)), this.sidenav.afterClose.pipe(mapTo(false))).pipe(\n\t\t\t\t\t\tstartWith(false),\n\t\t\t\t )\n\t\t\t\t: of(true),\n\t\t]).pipe(\n\t\t\tfilter(([isMobile, opened]: [boolean, boolean]) => !opened || (opened && !isMobile)),\n\t\t\tmap(([isMobile]: [boolean, boolean]) => ({\n\t\t\t\tover: isMobile,\n\t\t\t\talign: (isMobile ? 'right' : 'left') as NgDocHorizontalAlign,\n\t\t\t\thasBackdrop: isMobile,\n\t\t\t})),\n\t\t\tdelay(0),\n\t\t);\n\t}\n}\n","<ng-container *ngDocLet=\"!!(sidebarService.isMobileMode() | async) as isMobileMode\">\n\t<div class=\"ng-doc-root-wrapper\" [class.collapsable]=\"isMobileMode\">\n\t\t<div class=\"ng-doc-header\">\n\t\t\t<ng-content select=\"ng-doc-navbar\"></ng-content>\n\t\t\t<ng-content select=\"[ngDocCustomNavbar]\"></ng-content>\n\t\t</div>\n\t\t<main *ngDocLet=\"sidebar && !!(sidebarService.isExpanded() | async) as opened\">\n\t\t\t<ng-doc-sidenav\n\t\t\t\t*ngDocLet=\"sidenavState$ | async as sidenavState\"\n\t\t\t\t[sidebar]=\"sidebarContent\"\n\t\t\t\t[opened]=\"opened\"\n\t\t\t\t[over]=\"sidenavState?.over ?? false\"\n\t\t\t\t[align]=\"sidenavState?.align ?? 'left'\"\n\t\t\t\t[hasBackdrop]=\"sidenavState?.hasBackdrop ?? false\"\n\t\t\t\t(closeEvent)=\"sidebarService.hide()\"\n\t\t\t>\n\t\t\t\t<ng-template #sidebarContent>\n\t\t\t\t\t<ng-content select=\"ng-doc-sidebar\"></ng-content>\n\t\t\t\t\t<ng-content select=\"[ngDocCustomSidebar]\"></ng-content>\n\t\t\t\t</ng-template>\n\n\t\t\t\t<ng-content></ng-content>\n\t\t\t</ng-doc-sidenav>\n\t\t</main>\n\t\t<footer *ngIf=\"footerContent\">\n\t\t\t<ng-container *polymorpheusOutlet=\"footerContent as text\"> {{ text }} </ng-container>\n\t\t</footer>\n\t</div>\n</ng-container>\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {NgDocLetModule, NgDocMediaQueryModule, NgDocSidenavModule} from '@ng-doc/ui-kit';\nimport {PolymorpheusModule} from '@tinkoff/ng-polymorpheus';\n\nimport {NgDocCustomNavbarDirective, NgDocCustomSidebarDirective, NgDocRootComponent} from './root.component';\n\n@NgModule({\n\tdeclarations: [NgDocRootComponent, NgDocCustomNavbarDirective, NgDocCustomSidebarDirective],\n\timports: [CommonModule, NgDocMediaQueryModule, NgDocSidenavModule, NgDocLetModule, PolymorpheusModule],\n\texports: [NgDocRootComponent, NgDocCustomNavbarDirective, NgDocCustomSidebarDirective],\n})\nexport class NgDocRootModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;AAeA;;;;;;;;;;;;AAYG;AACH,MAGa,0BAA0B,CAAA;8GAA1B,0BAA0B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;kGAA1B,0BAA0B,EAAA,QAAA,EAAA,qBAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA,EAAA;;2FAA1B,0BAA0B,EAAA,UAAA,EAAA,CAAA;kBAHtC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,QAAQ,EAAE,qBAAqB;AAC/B,iBAAA,CAAA;;AAGD;;;;;;;;;;;;AAYG;AACH,MAGa,2BAA2B,CAAA;8GAA3B,2BAA2B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;k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CAAA,CAAA,EAAA;+GAAf,eAAe,EAAA,YAAA,EAAA,CAJZ,kBAAkB,EAAE,0BAA0B,EAAE,2BAA2B,CAAA,EAAA,OAAA,EAAA,CAChF,YAAY,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,cAAc,EAAE,kBAAkB,aAC3F,kBAAkB,EAAE,0BAA0B,EAAE,2BAA2B,CAAA,EAAA,CAAA,CAAA,EAAA;+GAEzE,eAAe,EAAA,OAAA,EAAA,CAHjB,YAAY,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,cAAc,EAAE,kBAAkB,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAGzF,eAAe,EAAA,UAAA,EAAA,CAAA;kBAL3B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,YAAY,EAAE,CAAC,kBAAkB,EAAE,0BAA0B,EAAE,2BAA2B,CAAC;oBAC3F,OAAO,EAAE,CAAC,YAAY,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,cAAc,EAAE,kBAAkB,CAAC;AACtG,oBAAA,OAAO,EAAE,CAAC,kBAAkB,EAAE,0BAA0B,EAAE,2BAA2B,CAAC;AACtF,iBAAA,CAAA;;;ACXD;;AAEG;;;;"}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Component, ChangeDetectionStrategy, Input, NgModule } from '@angular/core';
|
|
3
|
+
import * as i1 from '@angular/common';
|
|
4
|
+
import { CommonModule } from '@angular/common';
|
|
5
|
+
import * as i2 from '@ng-doc/ui-kit';
|
|
6
|
+
import { NgDocTextModule, NgDocTooltipModule } from '@ng-doc/ui-kit';
|
|
7
|
+
import * as i3 from '@angular/router';
|
|
8
|
+
import { RouterModule } from '@angular/router';
|
|
9
|
+
import * as i4 from '@ng-doc/app/components/kind-icon';
|
|
10
|
+
import { NgDocKindIconModule } from '@ng-doc/app/components/kind-icon';
|
|
11
|
+
|
|
12
|
+
class NgDocSearchResultComponent {
|
|
13
|
+
constructor() {
|
|
14
|
+
this.result = [];
|
|
15
|
+
this.groupedResult = {};
|
|
16
|
+
}
|
|
17
|
+
ngOnChanges({ result }) {
|
|
18
|
+
if (result && this.result) {
|
|
19
|
+
this.groupedResult = this.result.reduce((grouped, item) => {
|
|
20
|
+
if (!grouped[item.type]) {
|
|
21
|
+
grouped[item.type] = [];
|
|
22
|
+
}
|
|
23
|
+
grouped[item.type].push(item);
|
|
24
|
+
return grouped;
|
|
25
|
+
}, {});
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
typeToLabel(type) {
|
|
29
|
+
switch (type) {
|
|
30
|
+
case 'api':
|
|
31
|
+
return 'API';
|
|
32
|
+
case 'guide':
|
|
33
|
+
return 'Guides';
|
|
34
|
+
default:
|
|
35
|
+
return 'Unknown';
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocSearchResultComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
39
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.0", type: NgDocSearchResultComponent, selector: "ng-doc-search-result", inputs: { result: "result" }, usesOnChanges: true, ngImport: i0, template: "<div class=\"ng-doc-search-result-wrapper\" *ngIf=\"groupedResult | keyvalue as results\">\n\t<ng-container *ngIf=\"results.length; else emptyTemplate\">\n\t\t<div class=\"ng-doc-search-result-category\" *ngFor=\"let item of results\">\n\t\t\t<h4 class=\"ng-doc-search-result-title\" ng-doc-text>{{typeToLabel(item.key)}}</h4>\n\t\t\t<ul class=\"ng-doc-search-result-pages\">\n\t\t\t\t<li class=\"ng-doc-search-result-page\" *ngFor=\"let page of item.value\">\n\t\t\t\t\t<a class=\"ng-doc-search-result-page-link\" [routerLink]=\"[page.route]\">\n\t\t\t\t\t\t<ng-doc-kind-icon *ngIf=\"page.kind\" [kind]=\"page.kind\"\n\t\t\t\t\t\t\t\t\t\t [ngDocTooltip]=\"page.kind\"></ng-doc-kind-icon>\n\t\t\t\t\t\t{{page.title}}\n\t\t\t\t\t</a>\n\t\t\t\t</li>\n\t\t\t</ul>\n\t\t</div>\n\t</ng-container>\n\t<ng-template #emptyTemplate>\n\t\t<div ng-doc-text color=\"muted\">Nothing was found...</div>\n\t</ng-template>\n</div>\n", styles: [":host{display:block}:host .ng-doc-search-result-wrapper{display:flex;flex-direction:row}:host .ng-doc-search-result-wrapper .ng-doc-search-result-category:not(:last-child){margin-right:calc(var(--ng-doc-base-gutter) * 2)}:host .ng-doc-search-result-wrapper .ng-doc-search-result-category .ng-doc-search-result-title{margin:0 0 calc(var(--ng-doc-base-gutter) * 2)}:host .ng-doc-search-result-wrapper .ng-doc-search-result-category .ng-doc-search-result-pages{list-style:none;padding:0;margin:0}:host .ng-doc-search-result-wrapper .ng-doc-search-result-category .ng-doc-search-result-pages .ng-doc-search-result-page{margin-bottom:var(--ng-doc-base-gutter)}:host .ng-doc-search-result-wrapper .ng-doc-search-result-category .ng-doc-search-result-pages .ng-doc-search-result-page .ng-doc-search-result-page-link{display:flex;align-items:center;text-decoration:none;color:var(--ng-doc-text)}:host .ng-doc-search-result-wrapper .ng-doc-search-result-category .ng-doc-search-result-pages .ng-doc-search-result-page .ng-doc-search-result-page-link ng-doc-kind-icon{margin-right:var(--ng-doc-base-gutter)}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.NgDocTextComponent, selector: "[ng-doc-text]", inputs: ["size", "color", "align", "absoluteContent"] }, { kind: "directive", type: i3.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "component", type: i4.NgDocKindIconComponent, selector: "ng-doc-kind-icon", inputs: ["kind", "type"] }, { kind: "directive", type: i2.NgDocTooltipDirective, selector: "[ngDocTooltip]", inputs: ["ngDocTooltip", "delay", "displayOrigin", "pointerOrigin", "positions", "canOpen", "panelClass", "minHeight", "maxHeight", "height", "minWidth", "maxWidth", "width"], outputs: ["beforeOpen", "afterOpen", "beforeClose", "afterClose"], exportAs: ["ngDocTooltip"] }, { kind: "pipe", type: i1.KeyValuePipe, name: "keyvalue" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
40
|
+
}
|
|
41
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocSearchResultComponent, decorators: [{
|
|
42
|
+
type: Component,
|
|
43
|
+
args: [{ selector: 'ng-doc-search-result', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"ng-doc-search-result-wrapper\" *ngIf=\"groupedResult | keyvalue as results\">\n\t<ng-container *ngIf=\"results.length; else emptyTemplate\">\n\t\t<div class=\"ng-doc-search-result-category\" *ngFor=\"let item of results\">\n\t\t\t<h4 class=\"ng-doc-search-result-title\" ng-doc-text>{{typeToLabel(item.key)}}</h4>\n\t\t\t<ul class=\"ng-doc-search-result-pages\">\n\t\t\t\t<li class=\"ng-doc-search-result-page\" *ngFor=\"let page of item.value\">\n\t\t\t\t\t<a class=\"ng-doc-search-result-page-link\" [routerLink]=\"[page.route]\">\n\t\t\t\t\t\t<ng-doc-kind-icon *ngIf=\"page.kind\" [kind]=\"page.kind\"\n\t\t\t\t\t\t\t\t\t\t [ngDocTooltip]=\"page.kind\"></ng-doc-kind-icon>\n\t\t\t\t\t\t{{page.title}}\n\t\t\t\t\t</a>\n\t\t\t\t</li>\n\t\t\t</ul>\n\t\t</div>\n\t</ng-container>\n\t<ng-template #emptyTemplate>\n\t\t<div ng-doc-text color=\"muted\">Nothing was found...</div>\n\t</ng-template>\n</div>\n", styles: [":host{display:block}:host .ng-doc-search-result-wrapper{display:flex;flex-direction:row}:host .ng-doc-search-result-wrapper .ng-doc-search-result-category:not(:last-child){margin-right:calc(var(--ng-doc-base-gutter) * 2)}:host .ng-doc-search-result-wrapper .ng-doc-search-result-category .ng-doc-search-result-title{margin:0 0 calc(var(--ng-doc-base-gutter) * 2)}:host .ng-doc-search-result-wrapper .ng-doc-search-result-category .ng-doc-search-result-pages{list-style:none;padding:0;margin:0}:host .ng-doc-search-result-wrapper .ng-doc-search-result-category .ng-doc-search-result-pages .ng-doc-search-result-page{margin-bottom:var(--ng-doc-base-gutter)}:host .ng-doc-search-result-wrapper .ng-doc-search-result-category .ng-doc-search-result-pages .ng-doc-search-result-page .ng-doc-search-result-page-link{display:flex;align-items:center;text-decoration:none;color:var(--ng-doc-text)}:host .ng-doc-search-result-wrapper .ng-doc-search-result-category .ng-doc-search-result-pages .ng-doc-search-result-page .ng-doc-search-result-page-link ng-doc-kind-icon{margin-right:var(--ng-doc-base-gutter)}\n"] }]
|
|
44
|
+
}], propDecorators: { result: [{
|
|
45
|
+
type: Input
|
|
46
|
+
}] } });
|
|
47
|
+
|
|
48
|
+
class NgDocSearchResultModule {
|
|
49
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocSearchResultModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
50
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0", ngImport: i0, type: NgDocSearchResultModule, declarations: [NgDocSearchResultComponent], imports: [CommonModule, NgDocTextModule, RouterModule, NgDocKindIconModule, NgDocTooltipModule], exports: [NgDocSearchResultComponent] }); }
|
|
51
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocSearchResultModule, imports: [CommonModule, NgDocTextModule, RouterModule, NgDocKindIconModule, NgDocTooltipModule] }); }
|
|
52
|
+
}
|
|
53
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocSearchResultModule, decorators: [{
|
|
54
|
+
type: NgModule,
|
|
55
|
+
args: [{
|
|
56
|
+
declarations: [NgDocSearchResultComponent],
|
|
57
|
+
imports: [CommonModule, NgDocTextModule, RouterModule, NgDocKindIconModule, NgDocTooltipModule],
|
|
58
|
+
exports: [NgDocSearchResultComponent],
|
|
59
|
+
}]
|
|
60
|
+
}] });
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* Generated bundle index. Do not edit.
|
|
64
|
+
*/
|
|
65
|
+
|
|
66
|
+
export { NgDocSearchResultComponent, NgDocSearchResultModule };
|
|
67
|
+
//# sourceMappingURL=ng-doc-app-components-search-result.mjs.map
|