@ng-doc/app 15.13.0 → 16.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -7
- package/components/code/code.component.d.ts +1 -1
- package/components/demo/demo.component.d.ts +1 -1
- package/components/demo-displayer/demo-displayer.component.d.ts +1 -1
- package/components/demo-pane/demo-pane.component.d.ts +1 -1
- package/components/kind-icon/kind-icon.component.d.ts +1 -1
- package/components/link/link.component.d.ts +1 -1
- package/components/navbar/navbar.component.d.ts +1 -1
- package/components/page-link/page-link.component.d.ts +1 -1
- package/components/playground/playground-demo/playground-demo.component.d.ts +1 -1
- package/components/playground/playground-properties/playground-properties.component.d.ts +1 -1
- package/components/playground/playground-property/playground-property.component.d.ts +1 -1
- package/components/root/root.component.d.ts +1 -1
- package/components/search/search.component.d.ts +1 -1
- package/components/search-result/search-result.component.d.ts +1 -1
- package/components/sidebar/sidebar-category/sidebar-category.component.d.ts +1 -1
- package/components/sidebar/sidebar-item/sidebar-item.component.d.ts +1 -1
- package/components/toc/toc-element/toc-element.component.d.ts +1 -1
- package/components/toc/toc.component.d.ts +1 -1
- package/directives/code-highlighter/code-highlighter.directive.d.ts +1 -1
- package/directives/route-active/route-active.directive.d.ts +1 -1
- package/{esm2020 → esm2022}/components/api-list/api-list.component.mjs +4 -4
- package/esm2022/components/api-list/api-list.module.mjs +70 -0
- package/esm2022/components/breadcrumb/breadcrumb.component.mjs +29 -0
- package/esm2022/components/breadcrumb/breadcrumb.module.mjs +21 -0
- package/esm2022/components/code/code.component.mjs +45 -0
- package/esm2022/components/code/code.module.mjs +41 -0
- package/esm2022/components/demo/demo.component.mjs +53 -0
- package/esm2022/components/demo/demo.module.mjs +43 -0
- package/esm2022/components/demo-displayer/demo-displayer.component.mjs +49 -0
- package/esm2022/components/demo-displayer/demo-displayer.module.mjs +49 -0
- package/esm2022/components/demo-pane/demo-pane.component.mjs +52 -0
- package/esm2022/components/demo-pane/demo-pane.module.mjs +22 -0
- package/esm2022/components/kind-icon/kind-icon.component.mjs +26 -0
- package/esm2022/components/kind-icon/kind-icon.module.mjs +19 -0
- package/esm2022/components/link/link.component.mjs +18 -0
- package/esm2022/components/link/link.module.mjs +20 -0
- package/{esm2020 → esm2022}/components/navbar/navbar.component.mjs +4 -4
- package/esm2022/components/navbar/navbar.module.mjs +41 -0
- package/esm2022/components/page/page.component.mjs +45 -0
- package/esm2022/components/page/page.module.mjs +98 -0
- package/esm2022/components/page-link/page-link.component.mjs +31 -0
- package/esm2022/components/page-link/page-link.module.mjs +20 -0
- package/esm2022/components/playground/base-playground.mjs +19 -0
- package/{esm2020 → esm2022}/components/playground/playground-demo/playground-demo.component.mjs +4 -4
- package/esm2022/components/playground/playground-properties/playground-properties.component.mjs +112 -0
- package/esm2022/components/playground/playground-property/playground-property.component.mjs +63 -0
- package/esm2022/components/playground/playground.component.mjs +63 -0
- package/esm2022/components/playground/playground.module.mjs +86 -0
- package/esm2022/components/root/root.component.mjs +116 -0
- package/esm2022/components/root/root.module.mjs +21 -0
- package/esm2022/components/search/search.component.mjs +72 -0
- package/esm2022/components/search/search.module.mjs +85 -0
- package/esm2022/components/search-result/search-result.component.mjs +43 -0
- package/esm2022/components/search-result/search-result.module.mjs +22 -0
- package/{esm2020 → esm2022}/components/sidebar/sidebar-category/sidebar-category.component.mjs +4 -4
- package/esm2022/components/sidebar/sidebar-item/sidebar-item.component.mjs +17 -0
- package/esm2022/components/sidebar/sidebar.component.mjs +25 -0
- package/esm2022/components/sidebar/sidebar.module.mjs +59 -0
- package/esm2022/components/theme-toggle/theme-toggle.component.mjs +54 -0
- package/esm2022/components/theme-toggle/theme-toggle.module.mjs +20 -0
- package/esm2022/components/toc/toc-element/toc-element.component.mjs +30 -0
- package/{esm2020 → esm2022}/components/toc/toc.component.mjs +4 -4
- package/esm2022/components/toc/toc.module.mjs +22 -0
- package/esm2022/directives/code-highlighter/code-highlighter.directive.mjs +44 -0
- package/esm2022/directives/code-highlighter/code-highlighter.module.mjs +17 -0
- package/{esm2020 → esm2022}/directives/route-active/route-active.directive.mjs +4 -4
- package/esm2022/directives/route-active/route-active.module.mjs +19 -0
- package/esm2022/modules/root/ng-doc.module.mjs +59 -0
- package/esm2022/pipes/extract-value/extract-value.module.mjs +17 -0
- package/esm2022/pipes/extract-value/extract-value.pipe.mjs +18 -0
- package/esm2022/pipes/filter-by-text/filter-by-text.module.mjs +17 -0
- package/esm2022/pipes/filter-by-text/filter-by-text.pipe.mjs +17 -0
- package/esm2022/pipes/sanitize-html/sanitize-html.module.mjs +17 -0
- package/esm2022/pipes/sanitize-html/sanitize-html.pipe.mjs +22 -0
- package/esm2022/processors/blockquote-processor/blockquote-processor.directive.mjs +29 -0
- package/esm2022/processors/blockquote-processor/blockquote-processor.module.mjs +19 -0
- package/esm2022/processors/code-processor/code-processor.directive.mjs +34 -0
- package/esm2022/processors/code-processor/code-processor.module.mjs +19 -0
- package/{esm2020 → esm2022}/processors/demo-pane-processor/demo-pane-processor.directive.mjs +4 -4
- package/esm2022/processors/demo-pane-processor/demo-pane-processor.module.mjs +19 -0
- package/{esm2020 → esm2022}/processors/demo-processor/demo-processor.directive.mjs +4 -4
- package/esm2022/processors/demo-processor/demo-processor.module.mjs +19 -0
- package/esm2022/processors/html-processor/html-processor.directive.mjs +39 -0
- package/esm2022/processors/icon-processor/icon-processor.directive.mjs +29 -0
- package/esm2022/processors/icon-processor/icon-processor.module.mjs +17 -0
- package/esm2022/processors/link-processor/link-processor.directive.mjs +30 -0
- package/esm2022/processors/link-processor/link-processor.module.mjs +17 -0
- package/esm2022/processors/playground-processor/playground-processor.directive.mjs +32 -0
- package/esm2022/processors/playground-processor/playground-processor.module.mjs +19 -0
- package/esm2022/processors/tooltip-processor/tooltip-processor.directive.mjs +29 -0
- package/esm2022/processors/tooltip-processor/tooltip-processor.module.mjs +20 -0
- package/esm2022/processors/tooltip-processor/tooltip-wrapper.component.mjs +49 -0
- package/{esm2020 → esm2022}/services/sidebar/sidebar.service.mjs +4 -4
- package/esm2022/services/store/store.service.mjs +21 -0
- package/{esm2020 → esm2022}/services/theme/theme.service.mjs +4 -4
- package/esm2022/type-controls/boolean-control/boolean-control.component.mjs +20 -0
- package/esm2022/type-controls/boolean-control/boolean-control.module.mjs +23 -0
- package/esm2022/type-controls/number-control/number-control.component.mjs +27 -0
- package/esm2022/type-controls/number-control/number-control.module.mjs +51 -0
- package/esm2022/type-controls/string-control/string-control.component.mjs +27 -0
- package/esm2022/type-controls/string-control/string-control.module.mjs +55 -0
- package/esm2022/type-controls/type-alias-control/type-alias-control.component.mjs +31 -0
- package/esm2022/type-controls/type-alias-control/type-alias-control.module.mjs +64 -0
- package/fesm2022/ng-doc-app-components-api-list.mjs +153 -0
- package/{fesm2020 → fesm2022}/ng-doc-app-components-api-list.mjs.map +1 -1
- package/fesm2022/ng-doc-app-components-breadcrumb.mjs +50 -0
- package/fesm2022/ng-doc-app-components-breadcrumb.mjs.map +1 -0
- package/fesm2022/ng-doc-app-components-code.mjs +87 -0
- package/fesm2022/ng-doc-app-components-code.mjs.map +1 -0
- package/fesm2022/ng-doc-app-components-demo-displayer.mjs +99 -0
- package/{fesm2015 → fesm2022}/ng-doc-app-components-demo-displayer.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/ng-doc-app-components-demo-pane.mjs +7 -7
- package/{fesm2015 → fesm2022}/ng-doc-app-components-demo-pane.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/ng-doc-app-components-demo.mjs +19 -19
- package/{fesm2015 → fesm2022}/ng-doc-app-components-demo.mjs.map +1 -1
- package/{fesm2015 → fesm2022}/ng-doc-app-components-kind-icon.mjs +7 -7
- package/fesm2022/ng-doc-app-components-kind-icon.mjs.map +1 -0
- package/fesm2022/ng-doc-app-components-link.mjs +40 -0
- package/fesm2022/ng-doc-app-components-link.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/ng-doc-app-components-navbar.mjs +17 -17
- package/{fesm2020 → fesm2022}/ng-doc-app-components-navbar.mjs.map +1 -1
- package/fesm2022/ng-doc-app-components-page-link.mjs +53 -0
- package/{fesm2015 → fesm2022}/ng-doc-app-components-page-link.mjs.map +1 -1
- package/fesm2022/ng-doc-app-components-page.mjs +143 -0
- package/{fesm2020 → fesm2022}/ng-doc-app-components-page.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/ng-doc-app-components-playground.mjs +57 -57
- package/fesm2022/ng-doc-app-components-playground.mjs.map +1 -0
- package/{fesm2015 → fesm2022}/ng-doc-app-components-root.mjs +13 -13
- package/{fesm2015 → fesm2022}/ng-doc-app-components-root.mjs.map +1 -1
- package/fesm2022/ng-doc-app-components-search-result.mjs +67 -0
- package/{fesm2015 → fesm2022}/ng-doc-app-components-search-result.mjs.map +1 -1
- package/fesm2022/ng-doc-app-components-search.mjs +158 -0
- package/{fesm2020 → fesm2022}/ng-doc-app-components-search.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/ng-doc-app-components-sidebar.mjs +31 -31
- package/{fesm2020 → fesm2022}/ng-doc-app-components-sidebar.mjs.map +1 -1
- package/fesm2022/ng-doc-app-components-theme-toggle.mjs +75 -0
- package/fesm2022/ng-doc-app-components-theme-toggle.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/ng-doc-app-components-toc.mjs +10 -10
- package/{fesm2020 → fesm2022}/ng-doc-app-components-toc.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/ng-doc-app-directives-code-highlighter.mjs +7 -7
- package/{fesm2020 → fesm2022}/ng-doc-app-directives-code-highlighter.mjs.map +1 -1
- package/{fesm2015 → fesm2022}/ng-doc-app-directives-route-active.mjs +7 -7
- package/{fesm2020 → fesm2022}/ng-doc-app-directives-route-active.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/ng-doc-app-modules-root.mjs +4 -4
- package/{fesm2020 → fesm2022}/ng-doc-app-modules-root.mjs.map +1 -1
- package/fesm2022/ng-doc-app-pipes-extract-value.mjs +37 -0
- package/{fesm2015 → fesm2022}/ng-doc-app-pipes-extract-value.mjs.map +1 -1
- package/fesm2022/ng-doc-app-pipes-filter-by-text.mjs +36 -0
- package/{fesm2020 → fesm2022}/ng-doc-app-pipes-filter-by-text.mjs.map +1 -1
- package/fesm2022/ng-doc-app-pipes-sanitize-html.mjs +40 -0
- package/{fesm2015 → fesm2022}/ng-doc-app-pipes-sanitize-html.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/ng-doc-app-processors-blockquote-processor.mjs +7 -7
- package/{fesm2020 → fesm2022}/ng-doc-app-processors-blockquote-processor.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/ng-doc-app-processors-code-processor.mjs +7 -7
- package/{fesm2020 → fesm2022}/ng-doc-app-processors-code-processor.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/ng-doc-app-processors-demo-pane-processor.mjs +7 -7
- package/{fesm2020 → fesm2022}/ng-doc-app-processors-demo-pane-processor.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/ng-doc-app-processors-demo-processor.mjs +7 -7
- package/{fesm2020 → fesm2022}/ng-doc-app-processors-demo-processor.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/ng-doc-app-processors-html-processor.mjs +3 -3
- package/{fesm2020 → fesm2022}/ng-doc-app-processors-html-processor.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/ng-doc-app-processors-icon-processor.mjs +7 -7
- package/{fesm2020 → fesm2022}/ng-doc-app-processors-icon-processor.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/ng-doc-app-processors-link-processor.mjs +7 -7
- package/{fesm2020 → fesm2022}/ng-doc-app-processors-link-processor.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/ng-doc-app-processors-playground-processor.mjs +7 -7
- package/{fesm2020 → fesm2022}/ng-doc-app-processors-playground-processor.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/ng-doc-app-processors-tooltip-processor.mjs +12 -12
- package/{fesm2015 → fesm2022}/ng-doc-app-processors-tooltip-processor.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/ng-doc-app-services-sidebar.mjs +3 -3
- package/{fesm2020 → fesm2022}/ng-doc-app-services-sidebar.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/ng-doc-app-services-store.mjs +3 -3
- package/{fesm2015 → fesm2022}/ng-doc-app-services-store.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/ng-doc-app-services-theme.mjs +3 -3
- package/{fesm2020 → fesm2022}/ng-doc-app-services-theme.mjs.map +1 -1
- package/fesm2022/ng-doc-app-type-controls-boolean-control.mjs +45 -0
- package/{fesm2015 → fesm2022}/ng-doc-app-type-controls-boolean-control.mjs.map +1 -1
- package/fesm2022/ng-doc-app-type-controls-number-control.mjs +79 -0
- package/{fesm2020 → fesm2022}/ng-doc-app-type-controls-number-control.mjs.map +1 -1
- package/fesm2022/ng-doc-app-type-controls-string-control.mjs +83 -0
- package/{fesm2015 → fesm2022}/ng-doc-app-type-controls-string-control.mjs.map +1 -1
- package/fesm2022/ng-doc-app-type-controls-type-alias-control.mjs +97 -0
- package/{fesm2020 → fesm2022}/ng-doc-app-type-controls-type-alias-control.mjs.map +1 -1
- package/package.json +228 -346
- package/processors/tooltip-processor/tooltip-wrapper.component.d.ts +1 -1
- package/esm2020/components/api-list/api-list.module.mjs +0 -69
- package/esm2020/components/breadcrumb/breadcrumb.component.mjs +0 -28
- package/esm2020/components/breadcrumb/breadcrumb.module.mjs +0 -20
- package/esm2020/components/code/code.component.mjs +0 -44
- package/esm2020/components/code/code.module.mjs +0 -40
- package/esm2020/components/demo/demo.component.mjs +0 -52
- package/esm2020/components/demo/demo.module.mjs +0 -42
- package/esm2020/components/demo-displayer/demo-displayer.component.mjs +0 -48
- package/esm2020/components/demo-displayer/demo-displayer.module.mjs +0 -48
- package/esm2020/components/demo-pane/demo-pane.component.mjs +0 -51
- package/esm2020/components/demo-pane/demo-pane.module.mjs +0 -21
- package/esm2020/components/kind-icon/kind-icon.component.mjs +0 -25
- package/esm2020/components/kind-icon/kind-icon.module.mjs +0 -18
- package/esm2020/components/link/link.component.mjs +0 -17
- package/esm2020/components/link/link.module.mjs +0 -19
- package/esm2020/components/navbar/navbar.module.mjs +0 -40
- package/esm2020/components/page/page.component.mjs +0 -44
- package/esm2020/components/page/page.module.mjs +0 -97
- package/esm2020/components/page-link/page-link.component.mjs +0 -30
- package/esm2020/components/page-link/page-link.module.mjs +0 -19
- package/esm2020/components/playground/base-playground.mjs +0 -18
- package/esm2020/components/playground/playground-properties/playground-properties.component.mjs +0 -111
- package/esm2020/components/playground/playground-property/playground-property.component.mjs +0 -62
- package/esm2020/components/playground/playground.component.mjs +0 -62
- package/esm2020/components/playground/playground.module.mjs +0 -85
- package/esm2020/components/root/root.component.mjs +0 -114
- package/esm2020/components/root/root.module.mjs +0 -20
- package/esm2020/components/search/search.component.mjs +0 -72
- package/esm2020/components/search/search.module.mjs +0 -84
- package/esm2020/components/search-result/search-result.component.mjs +0 -42
- package/esm2020/components/search-result/search-result.module.mjs +0 -21
- package/esm2020/components/sidebar/sidebar-item/sidebar-item.component.mjs +0 -16
- package/esm2020/components/sidebar/sidebar.component.mjs +0 -24
- package/esm2020/components/sidebar/sidebar.module.mjs +0 -58
- package/esm2020/components/theme-toggle/theme-toggle.component.mjs +0 -53
- package/esm2020/components/theme-toggle/theme-toggle.module.mjs +0 -19
- package/esm2020/components/toc/toc-element/toc-element.component.mjs +0 -29
- package/esm2020/components/toc/toc.module.mjs +0 -21
- package/esm2020/directives/code-highlighter/code-highlighter.directive.mjs +0 -43
- package/esm2020/directives/code-highlighter/code-highlighter.module.mjs +0 -16
- package/esm2020/directives/route-active/route-active.module.mjs +0 -18
- package/esm2020/modules/root/ng-doc.module.mjs +0 -58
- package/esm2020/pipes/extract-value/extract-value.module.mjs +0 -16
- package/esm2020/pipes/extract-value/extract-value.pipe.mjs +0 -17
- package/esm2020/pipes/filter-by-text/filter-by-text.module.mjs +0 -16
- package/esm2020/pipes/filter-by-text/filter-by-text.pipe.mjs +0 -16
- package/esm2020/pipes/sanitize-html/sanitize-html.module.mjs +0 -16
- package/esm2020/pipes/sanitize-html/sanitize-html.pipe.mjs +0 -21
- package/esm2020/processors/blockquote-processor/blockquote-processor.directive.mjs +0 -28
- package/esm2020/processors/blockquote-processor/blockquote-processor.module.mjs +0 -18
- package/esm2020/processors/code-processor/code-processor.directive.mjs +0 -33
- package/esm2020/processors/code-processor/code-processor.module.mjs +0 -18
- package/esm2020/processors/demo-pane-processor/demo-pane-processor.module.mjs +0 -18
- package/esm2020/processors/demo-processor/demo-processor.module.mjs +0 -18
- package/esm2020/processors/html-processor/html-processor.directive.mjs +0 -38
- package/esm2020/processors/icon-processor/icon-processor.directive.mjs +0 -28
- package/esm2020/processors/icon-processor/icon-processor.module.mjs +0 -16
- package/esm2020/processors/link-processor/link-processor.directive.mjs +0 -29
- package/esm2020/processors/link-processor/link-processor.module.mjs +0 -16
- package/esm2020/processors/playground-processor/playground-processor.directive.mjs +0 -31
- package/esm2020/processors/playground-processor/playground-processor.module.mjs +0 -18
- package/esm2020/processors/tooltip-processor/tooltip-processor.directive.mjs +0 -28
- package/esm2020/processors/tooltip-processor/tooltip-processor.module.mjs +0 -19
- package/esm2020/processors/tooltip-processor/tooltip-wrapper.component.mjs +0 -48
- package/esm2020/services/store/store.service.mjs +0 -20
- package/esm2020/type-controls/boolean-control/boolean-control.component.mjs +0 -19
- package/esm2020/type-controls/boolean-control/boolean-control.module.mjs +0 -22
- package/esm2020/type-controls/number-control/number-control.component.mjs +0 -26
- package/esm2020/type-controls/number-control/number-control.module.mjs +0 -50
- package/esm2020/type-controls/string-control/string-control.component.mjs +0 -26
- package/esm2020/type-controls/string-control/string-control.module.mjs +0 -54
- package/esm2020/type-controls/type-alias-control/type-alias-control.component.mjs +0 -30
- package/esm2020/type-controls/type-alias-control/type-alias-control.module.mjs +0 -63
- package/fesm2015/ng-doc-app-classes-default-search-engine.mjs +0 -70
- package/fesm2015/ng-doc-app-classes-default-search-engine.mjs.map +0 -1
- package/fesm2015/ng-doc-app-components-api-list.mjs +0 -155
- package/fesm2015/ng-doc-app-components-api-list.mjs.map +0 -1
- package/fesm2015/ng-doc-app-components-breadcrumb.mjs +0 -50
- package/fesm2015/ng-doc-app-components-breadcrumb.mjs.map +0 -1
- package/fesm2015/ng-doc-app-components-code.mjs +0 -89
- package/fesm2015/ng-doc-app-components-code.mjs.map +0 -1
- package/fesm2015/ng-doc-app-components-demo-displayer.mjs +0 -99
- package/fesm2015/ng-doc-app-components-demo-pane.mjs +0 -77
- package/fesm2015/ng-doc-app-components-demo.mjs +0 -99
- package/fesm2015/ng-doc-app-components-kind-icon.mjs.map +0 -1
- package/fesm2015/ng-doc-app-components-link.mjs +0 -40
- package/fesm2015/ng-doc-app-components-link.mjs.map +0 -1
- package/fesm2015/ng-doc-app-components-navbar.mjs +0 -146
- package/fesm2015/ng-doc-app-components-navbar.mjs.map +0 -1
- package/fesm2015/ng-doc-app-components-page-link.mjs +0 -53
- package/fesm2015/ng-doc-app-components-page.mjs +0 -147
- package/fesm2015/ng-doc-app-components-page.mjs.map +0 -1
- package/fesm2015/ng-doc-app-components-playground.mjs +0 -445
- package/fesm2015/ng-doc-app-components-playground.mjs.map +0 -1
- package/fesm2015/ng-doc-app-components-search-result.mjs +0 -67
- package/fesm2015/ng-doc-app-components-search.mjs +0 -162
- package/fesm2015/ng-doc-app-components-search.mjs.map +0 -1
- package/fesm2015/ng-doc-app-components-sidebar.mjs +0 -169
- package/fesm2015/ng-doc-app-components-sidebar.mjs.map +0 -1
- package/fesm2015/ng-doc-app-components-theme-toggle.mjs +0 -76
- package/fesm2015/ng-doc-app-components-theme-toggle.mjs.map +0 -1
- package/fesm2015/ng-doc-app-components-toc.mjs +0 -151
- package/fesm2015/ng-doc-app-components-toc.mjs.map +0 -1
- package/fesm2015/ng-doc-app-directives-code-highlighter.mjs +0 -64
- package/fesm2015/ng-doc-app-directives-code-highlighter.mjs.map +0 -1
- package/fesm2015/ng-doc-app-directives-route-active.mjs.map +0 -1
- package/fesm2015/ng-doc-app-helpers.mjs +0 -152
- package/fesm2015/ng-doc-app-helpers.mjs.map +0 -1
- package/fesm2015/ng-doc-app-modules-root.mjs +0 -65
- package/fesm2015/ng-doc-app-modules-root.mjs.map +0 -1
- package/fesm2015/ng-doc-app-pipes-extract-value.mjs +0 -37
- package/fesm2015/ng-doc-app-pipes-filter-by-text.mjs +0 -37
- package/fesm2015/ng-doc-app-pipes-filter-by-text.mjs.map +0 -1
- package/fesm2015/ng-doc-app-pipes-sanitize-html.mjs +0 -40
- package/fesm2015/ng-doc-app-processors-blockquote-processor.mjs +0 -49
- package/fesm2015/ng-doc-app-processors-blockquote-processor.mjs.map +0 -1
- package/fesm2015/ng-doc-app-processors-code-processor.mjs +0 -56
- package/fesm2015/ng-doc-app-processors-code-processor.mjs.map +0 -1
- package/fesm2015/ng-doc-app-processors-demo-pane-processor.mjs +0 -58
- package/fesm2015/ng-doc-app-processors-demo-pane-processor.mjs.map +0 -1
- package/fesm2015/ng-doc-app-processors-demo-processor.mjs +0 -58
- package/fesm2015/ng-doc-app-processors-demo-processor.mjs.map +0 -1
- package/fesm2015/ng-doc-app-processors-html-processor.mjs +0 -46
- package/fesm2015/ng-doc-app-processors-html-processor.mjs.map +0 -1
- package/fesm2015/ng-doc-app-processors-icon-processor.mjs +0 -49
- package/fesm2015/ng-doc-app-processors-icon-processor.mjs.map +0 -1
- package/fesm2015/ng-doc-app-processors-link-processor.mjs +0 -50
- package/fesm2015/ng-doc-app-processors-link-processor.mjs.map +0 -1
- package/fesm2015/ng-doc-app-processors-playground-processor.mjs +0 -53
- package/fesm2015/ng-doc-app-processors-playground-processor.mjs.map +0 -1
- package/fesm2015/ng-doc-app-processors-tooltip-processor.mjs +0 -96
- package/fesm2015/ng-doc-app-services-sidebar.mjs +0 -107
- package/fesm2015/ng-doc-app-services-sidebar.mjs.map +0 -1
- package/fesm2015/ng-doc-app-services-store.mjs +0 -27
- package/fesm2015/ng-doc-app-services-theme.mjs +0 -127
- package/fesm2015/ng-doc-app-services-theme.mjs.map +0 -1
- package/fesm2015/ng-doc-app-type-controls-boolean-control.mjs +0 -45
- package/fesm2015/ng-doc-app-type-controls-number-control.mjs +0 -79
- package/fesm2015/ng-doc-app-type-controls-number-control.mjs.map +0 -1
- package/fesm2015/ng-doc-app-type-controls-string-control.mjs +0 -83
- package/fesm2015/ng-doc-app-type-controls-type-alias-control.mjs +0 -97
- package/fesm2015/ng-doc-app-type-controls-type-alias-control.mjs.map +0 -1
- package/fesm2020/ng-doc-app-classes-root-page.mjs +0 -12
- package/fesm2020/ng-doc-app-classes-root-page.mjs.map +0 -1
- package/fesm2020/ng-doc-app-classes-search-engine.mjs +0 -12
- package/fesm2020/ng-doc-app-classes-search-engine.mjs.map +0 -1
- package/fesm2020/ng-doc-app-classes.mjs +0 -8
- package/fesm2020/ng-doc-app-classes.mjs.map +0 -1
- package/fesm2020/ng-doc-app-components-api-list.mjs +0 -153
- package/fesm2020/ng-doc-app-components-breadcrumb.mjs +0 -50
- package/fesm2020/ng-doc-app-components-breadcrumb.mjs.map +0 -1
- package/fesm2020/ng-doc-app-components-code.mjs +0 -87
- package/fesm2020/ng-doc-app-components-code.mjs.map +0 -1
- package/fesm2020/ng-doc-app-components-demo-displayer.mjs +0 -99
- package/fesm2020/ng-doc-app-components-demo-displayer.mjs.map +0 -1
- package/fesm2020/ng-doc-app-components-demo-pane.mjs.map +0 -1
- package/fesm2020/ng-doc-app-components-demo.mjs.map +0 -1
- package/fesm2020/ng-doc-app-components-kind-icon.mjs +0 -47
- package/fesm2020/ng-doc-app-components-kind-icon.mjs.map +0 -1
- package/fesm2020/ng-doc-app-components-link.mjs +0 -40
- package/fesm2020/ng-doc-app-components-link.mjs.map +0 -1
- package/fesm2020/ng-doc-app-components-page-link.mjs +0 -53
- package/fesm2020/ng-doc-app-components-page-link.mjs.map +0 -1
- package/fesm2020/ng-doc-app-components-page.mjs +0 -143
- package/fesm2020/ng-doc-app-components-playground.mjs.map +0 -1
- package/fesm2020/ng-doc-app-components-root.mjs +0 -136
- package/fesm2020/ng-doc-app-components-root.mjs.map +0 -1
- package/fesm2020/ng-doc-app-components-search-result.mjs +0 -67
- package/fesm2020/ng-doc-app-components-search-result.mjs.map +0 -1
- package/fesm2020/ng-doc-app-components-search.mjs +0 -158
- package/fesm2020/ng-doc-app-components-theme-toggle.mjs +0 -75
- package/fesm2020/ng-doc-app-components-theme-toggle.mjs.map +0 -1
- package/fesm2020/ng-doc-app-components.mjs +0 -23
- package/fesm2020/ng-doc-app-components.mjs.map +0 -1
- package/fesm2020/ng-doc-app-constants.mjs +0 -76
- package/fesm2020/ng-doc-app-constants.mjs.map +0 -1
- package/fesm2020/ng-doc-app-directives-route-active.mjs +0 -76
- package/fesm2020/ng-doc-app-directives.mjs +0 -7
- package/fesm2020/ng-doc-app-directives.mjs.map +0 -1
- package/fesm2020/ng-doc-app-interfaces.mjs +0 -4
- package/fesm2020/ng-doc-app-interfaces.mjs.map +0 -1
- package/fesm2020/ng-doc-app-modules.mjs +0 -6
- package/fesm2020/ng-doc-app-modules.mjs.map +0 -1
- package/fesm2020/ng-doc-app-pipes-extract-value.mjs +0 -37
- package/fesm2020/ng-doc-app-pipes-extract-value.mjs.map +0 -1
- package/fesm2020/ng-doc-app-pipes-filter-by-text.mjs +0 -36
- package/fesm2020/ng-doc-app-pipes-sanitize-html.mjs +0 -40
- package/fesm2020/ng-doc-app-pipes-sanitize-html.mjs.map +0 -1
- package/fesm2020/ng-doc-app-pipes.mjs +0 -8
- package/fesm2020/ng-doc-app-pipes.mjs.map +0 -1
- package/fesm2020/ng-doc-app-processors-tooltip-processor.mjs.map +0 -1
- package/fesm2020/ng-doc-app-processors.mjs +0 -14
- package/fesm2020/ng-doc-app-processors.mjs.map +0 -1
- package/fesm2020/ng-doc-app-services-store.mjs.map +0 -1
- package/fesm2020/ng-doc-app-services.mjs +0 -8
- package/fesm2020/ng-doc-app-services.mjs.map +0 -1
- package/fesm2020/ng-doc-app-tokens.mjs +0 -41
- package/fesm2020/ng-doc-app-tokens.mjs.map +0 -1
- package/fesm2020/ng-doc-app-type-controls-boolean-control.mjs +0 -45
- package/fesm2020/ng-doc-app-type-controls-boolean-control.mjs.map +0 -1
- package/fesm2020/ng-doc-app-type-controls-number-control.mjs +0 -79
- package/fesm2020/ng-doc-app-type-controls-string-control.mjs +0 -83
- package/fesm2020/ng-doc-app-type-controls-string-control.mjs.map +0 -1
- package/fesm2020/ng-doc-app-type-controls-type-alias-control.mjs +0 -97
- package/fesm2020/ng-doc-app-type-controls.mjs +0 -9
- package/fesm2020/ng-doc-app-type-controls.mjs.map +0 -1
- package/fesm2020/ng-doc-app-types.mjs +0 -4
- package/fesm2020/ng-doc-app-types.mjs.map +0 -1
- package/fesm2020/ng-doc-app.mjs +0 -18
- package/fesm2020/ng-doc-app.mjs.map +0 -1
- /package/{esm2020 → esm2022}/classes/default-search-engine/default-search-engine.mjs +0 -0
- /package/{esm2020 → esm2022}/classes/default-search-engine/index.mjs +0 -0
- /package/{esm2020 → esm2022}/classes/default-search-engine/ng-doc-app-classes-default-search-engine.mjs +0 -0
- /package/{esm2020 → esm2022}/classes/index.mjs +0 -0
- /package/{esm2020 → esm2022}/classes/ng-doc-app-classes.mjs +0 -0
- /package/{esm2020 → esm2022}/classes/root-page/index.mjs +0 -0
- /package/{esm2020 → esm2022}/classes/root-page/ng-doc-app-classes-root-page.mjs +0 -0
- /package/{esm2020 → esm2022}/classes/root-page/root-page.mjs +0 -0
- /package/{esm2020 → esm2022}/classes/search-engine/index.mjs +0 -0
- /package/{esm2020 → esm2022}/classes/search-engine/ng-doc-app-classes-search-engine.mjs +0 -0
- /package/{esm2020 → esm2022}/classes/search-engine/search-engine.mjs +0 -0
- /package/{esm2020 → esm2022}/components/api-list/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/api-list/ng-doc-app-components-api-list.mjs +0 -0
- /package/{esm2020 → esm2022}/components/breadcrumb/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/breadcrumb/ng-doc-app-components-breadcrumb.mjs +0 -0
- /package/{esm2020 → esm2022}/components/code/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/code/ng-doc-app-components-code.mjs +0 -0
- /package/{esm2020 → esm2022}/components/demo/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/demo/ng-doc-app-components-demo.mjs +0 -0
- /package/{esm2020 → esm2022}/components/demo-displayer/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/demo-displayer/ng-doc-app-components-demo-displayer.mjs +0 -0
- /package/{esm2020 → esm2022}/components/demo-pane/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/demo-pane/ng-doc-app-components-demo-pane.mjs +0 -0
- /package/{esm2020 → esm2022}/components/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/kind-icon/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/kind-icon/ng-doc-app-components-kind-icon.mjs +0 -0
- /package/{esm2020 → esm2022}/components/link/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/link/ng-doc-app-components-link.mjs +0 -0
- /package/{esm2020 → esm2022}/components/navbar/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/navbar/ng-doc-app-components-navbar.mjs +0 -0
- /package/{esm2020 → esm2022}/components/ng-doc-app-components.mjs +0 -0
- /package/{esm2020 → esm2022}/components/page/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/page/ng-doc-app-components-page.mjs +0 -0
- /package/{esm2020 → esm2022}/components/page-link/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/page-link/ng-doc-app-components-page-link.mjs +0 -0
- /package/{esm2020 → esm2022}/components/playground/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/playground/ng-doc-app-components-playground.mjs +0 -0
- /package/{esm2020 → esm2022}/components/playground/playground-form.mjs +0 -0
- /package/{esm2020 → esm2022}/components/playground/playground-property-control.mjs +0 -0
- /package/{esm2020 → esm2022}/components/root/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/root/ng-doc-app-components-root.mjs +0 -0
- /package/{esm2020 → esm2022}/components/search/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/search/ng-doc-app-components-search.mjs +0 -0
- /package/{esm2020 → esm2022}/components/search-result/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/search-result/ng-doc-app-components-search-result.mjs +0 -0
- /package/{esm2020 → esm2022}/components/sidebar/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/sidebar/ng-doc-app-components-sidebar.mjs +0 -0
- /package/{esm2020 → esm2022}/components/theme-toggle/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/theme-toggle/ng-doc-app-components-theme-toggle.mjs +0 -0
- /package/{esm2020 → esm2022}/components/toc/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/toc/ng-doc-app-components-toc.mjs +0 -0
- /package/{esm2020 → esm2022}/constants/index.mjs +0 -0
- /package/{esm2020 → esm2022}/constants/ng-doc-app-constants.mjs +0 -0
- /package/{esm2020 → esm2022}/constants/store-keys.mjs +0 -0
- /package/{esm2020 → esm2022}/constants/themes.mjs +0 -0
- /package/{esm2020 → esm2022}/directives/code-highlighter/index.mjs +0 -0
- /package/{esm2020 → esm2022}/directives/code-highlighter/ng-doc-app-directives-code-highlighter.mjs +0 -0
- /package/{esm2020 → esm2022}/directives/index.mjs +0 -0
- /package/{esm2020 → esm2022}/directives/ng-doc-app-directives.mjs +0 -0
- /package/{esm2020 → esm2022}/directives/route-active/index.mjs +0 -0
- /package/{esm2020 → esm2022}/directives/route-active/ng-doc-app-directives-route-active.mjs +0 -0
- /package/{esm2020 → esm2022}/helpers/as-boolean.mjs +0 -0
- /package/{esm2020 → esm2022}/helpers/generate-toc.mjs +0 -0
- /package/{esm2020 → esm2022}/helpers/index.mjs +0 -0
- /package/{esm2020 → esm2022}/helpers/is-dark-os-theme.mjs +0 -0
- /package/{esm2020 → esm2022}/helpers/is-external-link.mjs +0 -0
- /package/{esm2020 → esm2022}/helpers/is-playground-property.mjs +0 -0
- /package/{esm2020 → esm2022}/helpers/ng-doc-app-helpers.mjs +0 -0
- /package/{esm2020 → esm2022}/helpers/provide-playground-demo.mjs +0 -0
- /package/{esm2020 → esm2022}/helpers/provide-search-engine.mjs +0 -0
- /package/{esm2020 → esm2022}/helpers/provide-type-control.mjs +0 -0
- /package/{esm2020 → esm2022}/index.mjs +0 -0
- /package/{esm2020 → esm2022}/interfaces/application-config.mjs +0 -0
- /package/{esm2020 → esm2022}/interfaces/context.mjs +0 -0
- /package/{esm2020 → esm2022}/interfaces/demo-assets.mjs +0 -0
- /package/{esm2020 → esm2022}/interfaces/index.mjs +0 -0
- /package/{esm2020 → esm2022}/interfaces/navigation.mjs +0 -0
- /package/{esm2020 → esm2022}/interfaces/ng-doc-app-interfaces.mjs +0 -0
- /package/{esm2020 → esm2022}/interfaces/processor-options.mjs +0 -0
- /package/{esm2020 → esm2022}/interfaces/provided-type-control.mjs +0 -0
- /package/{esm2020 → esm2022}/interfaces/search-result.mjs +0 -0
- /package/{esm2020 → esm2022}/interfaces/theme.mjs +0 -0
- /package/{esm2020 → esm2022}/interfaces/toc-item.mjs +0 -0
- /package/{esm2020 → esm2022}/interfaces/type-control-provider-options.mjs +0 -0
- /package/{esm2020 → esm2022}/interfaces/type-control.mjs +0 -0
- /package/{esm2020 → esm2022}/modules/index.mjs +0 -0
- /package/{esm2020 → esm2022}/modules/ng-doc-app-modules.mjs +0 -0
- /package/{esm2020 → esm2022}/modules/root/index.mjs +0 -0
- /package/{esm2020 → esm2022}/modules/root/ng-doc-app-modules-root.mjs +0 -0
- /package/{esm2020 → esm2022}/ng-doc-app.mjs +0 -0
- /package/{esm2020 → esm2022}/pipes/extract-value/index.mjs +0 -0
- /package/{esm2020 → esm2022}/pipes/extract-value/ng-doc-app-pipes-extract-value.mjs +0 -0
- /package/{esm2020 → esm2022}/pipes/filter-by-text/index.mjs +0 -0
- /package/{esm2020 → esm2022}/pipes/filter-by-text/ng-doc-app-pipes-filter-by-text.mjs +0 -0
- /package/{esm2020 → esm2022}/pipes/index.mjs +0 -0
- /package/{esm2020 → esm2022}/pipes/ng-doc-app-pipes.mjs +0 -0
- /package/{esm2020 → esm2022}/pipes/sanitize-html/index.mjs +0 -0
- /package/{esm2020 → esm2022}/pipes/sanitize-html/ng-doc-app-pipes-sanitize-html.mjs +0 -0
- /package/{esm2020 → esm2022}/processors/blockquote-processor/index.mjs +0 -0
- /package/{esm2020 → esm2022}/processors/blockquote-processor/ng-doc-app-processors-blockquote-processor.mjs +0 -0
- /package/{esm2020 → esm2022}/processors/code-processor/index.mjs +0 -0
- /package/{esm2020 → esm2022}/processors/code-processor/ng-doc-app-processors-code-processor.mjs +0 -0
- /package/{esm2020 → esm2022}/processors/demo-pane-processor/index.mjs +0 -0
- /package/{esm2020 → esm2022}/processors/demo-pane-processor/ng-doc-app-processors-demo-pane-processor.mjs +0 -0
- /package/{esm2020 → esm2022}/processors/demo-processor/index.mjs +0 -0
- /package/{esm2020 → esm2022}/processors/demo-processor/ng-doc-app-processors-demo-processor.mjs +0 -0
- /package/{esm2020 → esm2022}/processors/html-processor/index.mjs +0 -0
- /package/{esm2020 → esm2022}/processors/html-processor/ng-doc-app-processors-html-processor.mjs +0 -0
- /package/{esm2020 → esm2022}/processors/icon-processor/index.mjs +0 -0
- /package/{esm2020 → esm2022}/processors/icon-processor/ng-doc-app-processors-icon-processor.mjs +0 -0
- /package/{esm2020 → esm2022}/processors/index.mjs +0 -0
- /package/{esm2020 → esm2022}/processors/link-processor/index.mjs +0 -0
- /package/{esm2020 → esm2022}/processors/link-processor/ng-doc-app-processors-link-processor.mjs +0 -0
- /package/{esm2020 → esm2022}/processors/ng-doc-app-processors.mjs +0 -0
- /package/{esm2020 → esm2022}/processors/playground-processor/index.mjs +0 -0
- /package/{esm2020 → esm2022}/processors/playground-processor/ng-doc-app-processors-playground-processor.mjs +0 -0
- /package/{esm2020 → esm2022}/processors/tooltip-processor/index.mjs +0 -0
- /package/{esm2020 → esm2022}/processors/tooltip-processor/ng-doc-app-processors-tooltip-processor.mjs +0 -0
- /package/{esm2020 → esm2022}/services/index.mjs +0 -0
- /package/{esm2020 → esm2022}/services/ng-doc-app-services.mjs +0 -0
- /package/{esm2020 → esm2022}/services/sidebar/index.mjs +0 -0
- /package/{esm2020 → esm2022}/services/sidebar/ng-doc-app-services-sidebar.mjs +0 -0
- /package/{esm2020 → esm2022}/services/store/index.mjs +0 -0
- /package/{esm2020 → esm2022}/services/store/ng-doc-app-services-store.mjs +0 -0
- /package/{esm2020 → esm2022}/services/theme/index.mjs +0 -0
- /package/{esm2020 → esm2022}/services/theme/ng-doc-app-services-theme.mjs +0 -0
- /package/{esm2020 → esm2022}/tokens/api-list.mjs +0 -0
- /package/{esm2020 → esm2022}/tokens/context.mjs +0 -0
- /package/{esm2020 → esm2022}/tokens/index.mjs +0 -0
- /package/{esm2020 → esm2022}/tokens/ng-doc-app-tokens.mjs +0 -0
- /package/{esm2020 → esm2022}/tokens/theme.mjs +0 -0
- /package/{esm2020 → esm2022}/tokens/type-control.mjs +0 -0
- /package/{esm2020 → esm2022}/type-controls/boolean-control/index.mjs +0 -0
- /package/{esm2020 → esm2022}/type-controls/boolean-control/ng-doc-app-type-controls-boolean-control.mjs +0 -0
- /package/{esm2020 → esm2022}/type-controls/index.mjs +0 -0
- /package/{esm2020 → esm2022}/type-controls/ng-doc-app-type-controls.mjs +0 -0
- /package/{esm2020 → esm2022}/type-controls/number-control/index.mjs +0 -0
- /package/{esm2020 → esm2022}/type-controls/number-control/ng-doc-app-type-controls-number-control.mjs +0 -0
- /package/{esm2020 → esm2022}/type-controls/string-control/index.mjs +0 -0
- /package/{esm2020 → esm2022}/type-controls/string-control/ng-doc-app-type-controls-string-control.mjs +0 -0
- /package/{esm2020 → esm2022}/type-controls/type-alias-control/index.mjs +0 -0
- /package/{esm2020 → esm2022}/type-controls/type-alias-control/ng-doc-app-type-controls-type-alias-control.mjs +0 -0
- /package/{esm2020 → esm2022}/types/index.mjs +0 -0
- /package/{esm2020 → esm2022}/types/ng-doc-app-types.mjs +0 -0
- /package/{esm2020 → esm2022}/types/typed-form.mjs +0 -0
- /package/{fesm2020 → fesm2022}/ng-doc-app-classes-default-search-engine.mjs +0 -0
- /package/{fesm2020 → fesm2022}/ng-doc-app-classes-default-search-engine.mjs.map +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-app-classes-root-page.mjs +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-app-classes-root-page.mjs.map +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-app-classes-search-engine.mjs +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-app-classes-search-engine.mjs.map +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-app-classes.mjs +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-app-classes.mjs.map +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-app-components.mjs +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-app-components.mjs.map +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-app-constants.mjs +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-app-constants.mjs.map +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-app-directives.mjs +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-app-directives.mjs.map +0 -0
- /package/{fesm2020 → fesm2022}/ng-doc-app-helpers.mjs +0 -0
- /package/{fesm2020 → fesm2022}/ng-doc-app-helpers.mjs.map +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-app-interfaces.mjs +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-app-interfaces.mjs.map +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-app-modules.mjs +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-app-modules.mjs.map +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-app-pipes.mjs +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-app-pipes.mjs.map +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-app-processors.mjs +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-app-processors.mjs.map +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-app-services.mjs +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-app-services.mjs.map +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-app-tokens.mjs +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-app-tokens.mjs.map +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-app-type-controls.mjs +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-app-type-controls.mjs.map +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-app-types.mjs +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-app-types.mjs.map +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-app.mjs +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-app.mjs.map +0 -0
|
@@ -1,445 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { Directive, ViewContainerRef, Component, ChangeDetectionStrategy, Input, ViewChild, HostBinding, EventEmitter, isDevMode, Output, ChangeDetectorRef, Injector, NgModule } from '@angular/core';
|
|
3
|
-
import { extractValue } from '@ng-doc/core/helpers/extract-value';
|
|
4
|
-
import { objectKeys as objectKeys$1 } from '@ng-doc/core/helpers/object-keys';
|
|
5
|
-
import * as i1$1 from '@ng-doc/app/classes/root-page';
|
|
6
|
-
import { NgDocRootPage } from '@ng-doc/app/classes/root-page';
|
|
7
|
-
import * as i3 from '@angular/forms';
|
|
8
|
-
import { ReactiveFormsModule, FormsModule } from '@angular/forms';
|
|
9
|
-
import * as i2 from '@angular/common';
|
|
10
|
-
import { CommonModule } from '@angular/common';
|
|
11
|
-
import * as i1 from '@angular/cdk/layout';
|
|
12
|
-
import { Breakpoints } from '@angular/cdk/layout';
|
|
13
|
-
import { isPlaygroundProperty, getTokenForType, getPlaygroundDemoToken } from '@ng-doc/app/helpers';
|
|
14
|
-
import { objectKeys, isPresent, extractValueOrThrow } from '@ng-doc/core';
|
|
15
|
-
import { pluck, takeUntil } from 'rxjs/operators';
|
|
16
|
-
import * as i4 from '@ng-doc/ui-kit';
|
|
17
|
-
import { NgDocLabelModule, NgDocTooltipModule, NgDocAsArrayModule, NgDocButtonIconModule, NgDocIconModule, NgDocTextModule, NgDocCheckboxModule, NgDocButtonModule, NgDocBindModule, NgDocRunModule } from '@ng-doc/ui-kit';
|
|
18
|
-
import { __decorate, __metadata } from 'tslib';
|
|
19
|
-
import { buildPlaygroundDemoTemplate } from '@ng-doc/core/helpers/build-playground-demo-template';
|
|
20
|
-
import { formatHtml } from '@ng-doc/core/helpers/format-html';
|
|
21
|
-
import { untilDestroyed, UntilDestroy } from '@ngneat/until-destroy';
|
|
22
|
-
import { of, Subject } from 'rxjs';
|
|
23
|
-
import * as i2$1 from '@ng-doc/app/components/demo-displayer';
|
|
24
|
-
import { NgDocDemoDisplayerModule } from '@ng-doc/app/components/demo-displayer';
|
|
25
|
-
import { PolymorpheusModule } from '@tinkoff/ng-polymorpheus';
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* Base class for playgrounds components.
|
|
29
|
-
*/
|
|
30
|
-
class NgDocBasePlayground {
|
|
31
|
-
constructor() {
|
|
32
|
-
this.data = {};
|
|
33
|
-
this.content = {};
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
NgDocBasePlayground.selector = 'unknown';
|
|
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: [{
|
|
40
|
-
type: Directive
|
|
41
|
-
}] });
|
|
42
|
-
|
|
43
|
-
class NgDocPlaygroundPropertyComponent {
|
|
44
|
-
constructor(injector) {
|
|
45
|
-
this.injector = injector;
|
|
46
|
-
this.name = '';
|
|
47
|
-
}
|
|
48
|
-
ngOnChanges({ property, control, typeControl }) {
|
|
49
|
-
var _a, _b, _c, _d, _e;
|
|
50
|
-
if ((property || control || typeControl) && this.property && this.typeControl) {
|
|
51
|
-
(_a = this.propertyTypeControl) === null || _a === void 0 ? void 0 : _a.destroy();
|
|
52
|
-
this.propertyTypeControl = undefined;
|
|
53
|
-
if (this.typeControl && this.propertyOutlet) {
|
|
54
|
-
this.propertyTypeControl = this.propertyOutlet.createComponent(this.typeControl.control);
|
|
55
|
-
this.propertyTypeControl.instance.name = this.name;
|
|
56
|
-
this.propertyTypeControl.instance.description = this.tooltipContent;
|
|
57
|
-
this.propertyTypeControl.instance.options = isPlaygroundProperty(this.property)
|
|
58
|
-
? this.property.options
|
|
59
|
-
: undefined;
|
|
60
|
-
this.propertyTypeControl.instance.default = isPlaygroundProperty(this.property)
|
|
61
|
-
? this.property.default
|
|
62
|
-
: undefined;
|
|
63
|
-
this.propertyTypeControl.instance.writeValue((_b = this.control) === null || _b === void 0 ? void 0 : _b.value);
|
|
64
|
-
this.option = this.typeControl.options;
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
if (control) {
|
|
68
|
-
(_c = this.control) === null || _c === void 0 ? void 0 : _c.registerOnChange((value) => { var _a, _b; return (_b = (_a = this.propertyTypeControl) === null || _a === void 0 ? void 0 : _a.instance) === null || _b === void 0 ? void 0 : _b.writeValue(value); });
|
|
69
|
-
(_d = this.propertyTypeControl) === null || _d === void 0 ? void 0 : _d.instance.registerOnChange((value) => { var _a; return (_a = this.control) === null || _a === void 0 ? void 0 : _a.setValue(value); });
|
|
70
|
-
(_e = this.propertyTypeControl) === null || _e === void 0 ? void 0 : _e.instance.registerOnTouched(() => { var _a; return (_a = this.control) === null || _a === void 0 ? void 0 : _a.markAsTouched(); });
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
get hasPropertyControl() {
|
|
74
|
-
return !!this.propertyTypeControl;
|
|
75
|
-
}
|
|
76
|
-
get tooltipContent() {
|
|
77
|
-
var _a;
|
|
78
|
-
return this.property && isPlaygroundProperty(this.property) ? (_a = this.property.description) !== null && _a !== void 0 ? _a : '' : '';
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
NgDocPlaygroundPropertyComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: NgDocPlaygroundPropertyComponent, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
|
82
|
-
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 });
|
|
83
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: NgDocPlaygroundPropertyComponent, decorators: [{
|
|
84
|
-
type: Component,
|
|
85
|
-
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 [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"] }]
|
|
86
|
-
}], ctorParameters: function () { return [{ type: i0.Injector }]; }, propDecorators: { name: [{
|
|
87
|
-
type: Input
|
|
88
|
-
}], property: [{
|
|
89
|
-
type: Input
|
|
90
|
-
}], typeControl: [{
|
|
91
|
-
type: Input
|
|
92
|
-
}], control: [{
|
|
93
|
-
type: Input
|
|
94
|
-
}], propertyOutlet: [{
|
|
95
|
-
type: ViewChild,
|
|
96
|
-
args: ['propertyOutlet', { read: ViewContainerRef, static: true }]
|
|
97
|
-
}], hasPropertyControl: [{
|
|
98
|
-
type: HostBinding,
|
|
99
|
-
args: ['attr.data-has-property-control']
|
|
100
|
-
}] } });
|
|
101
|
-
|
|
102
|
-
class NgDocPlaygroundPropertiesComponent {
|
|
103
|
-
constructor(breakpointObserver, injector) {
|
|
104
|
-
this.breakpointObserver = breakpointObserver;
|
|
105
|
-
this.injector = injector;
|
|
106
|
-
this.recreateDemo = false;
|
|
107
|
-
this.recreateDemoChange = new EventEmitter();
|
|
108
|
-
this.resetForm = new EventEmitter();
|
|
109
|
-
this.breakpoints = [Breakpoints.XSmall];
|
|
110
|
-
this.propertyControls = [];
|
|
111
|
-
this.contentTypeControl = this.getControlForType('boolean');
|
|
112
|
-
this.observer = this.breakpointObserver.observe(this.breakpoints).pipe(pluck('matches'));
|
|
113
|
-
}
|
|
114
|
-
ngOnChanges({ properties }) {
|
|
115
|
-
if (properties && this.properties) {
|
|
116
|
-
this.propertyControls = objectKeys(this.properties)
|
|
117
|
-
.map((key) => {
|
|
118
|
-
if (this.properties) {
|
|
119
|
-
const property = this.properties[key];
|
|
120
|
-
const typeControl = this.getTypeControl(property);
|
|
121
|
-
if (typeControl) {
|
|
122
|
-
return {
|
|
123
|
-
propertyName: String(key),
|
|
124
|
-
property,
|
|
125
|
-
typeControl,
|
|
126
|
-
};
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
return null;
|
|
130
|
-
})
|
|
131
|
-
.filter(isPresent)
|
|
132
|
-
.sort((a, b) => {
|
|
133
|
-
var _a, _b;
|
|
134
|
-
const aOrder = (_a = a.typeControl.options) === null || _a === void 0 ? void 0 : _a.order;
|
|
135
|
-
const bOrder = (_b = b.typeControl.options) === null || _b === void 0 ? void 0 : _b.order;
|
|
136
|
-
if (isPresent(aOrder) && isPresent(bOrder)) {
|
|
137
|
-
return aOrder - bOrder;
|
|
138
|
-
}
|
|
139
|
-
if (isPresent(aOrder)) {
|
|
140
|
-
return -1;
|
|
141
|
-
}
|
|
142
|
-
if (isPresent(bOrder)) {
|
|
143
|
-
return 1;
|
|
144
|
-
}
|
|
145
|
-
return a.property.name.localeCompare(b.property.name);
|
|
146
|
-
});
|
|
147
|
-
}
|
|
148
|
-
}
|
|
149
|
-
getFormControl(controlType, key) {
|
|
150
|
-
var _a;
|
|
151
|
-
return (_a = this.form.get(controlType)) === null || _a === void 0 ? void 0 : _a.get(key);
|
|
152
|
-
}
|
|
153
|
-
getTypeControl(property) {
|
|
154
|
-
var _a;
|
|
155
|
-
const type = property.type;
|
|
156
|
-
const typeControl = (_a = this.getControlForType(type)) !== null && _a !== void 0 ? _a : this.getControlForTypeAlias(isPlaygroundProperty(property) ? property.options : undefined);
|
|
157
|
-
if (!typeControl && isDevMode()) {
|
|
158
|
-
console.warn(`NgDocPlayground didn't find the control for the @Input "${property.name}", the type "${type}" was not recognized'`);
|
|
159
|
-
}
|
|
160
|
-
return typeControl;
|
|
161
|
-
}
|
|
162
|
-
getControlForType(type) {
|
|
163
|
-
const token = getTokenForType(type);
|
|
164
|
-
return token ? this.injector.get(token) : undefined;
|
|
165
|
-
}
|
|
166
|
-
getControlForTypeAlias(options) {
|
|
167
|
-
if (options && options.length) {
|
|
168
|
-
let optionsIsValid = true;
|
|
169
|
-
try {
|
|
170
|
-
// checking that all values are extractable
|
|
171
|
-
options.forEach((item) => extractValueOrThrow(item));
|
|
172
|
-
}
|
|
173
|
-
catch (_a) {
|
|
174
|
-
optionsIsValid = false;
|
|
175
|
-
}
|
|
176
|
-
if (optionsIsValid) {
|
|
177
|
-
const token = getTokenForType('NgDocTypeAlias');
|
|
178
|
-
return token ? this.injector.get(token) : undefined;
|
|
179
|
-
}
|
|
180
|
-
}
|
|
181
|
-
return undefined;
|
|
182
|
-
}
|
|
183
|
-
}
|
|
184
|
-
NgDocPlaygroundPropertiesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: NgDocPlaygroundPropertiesComponent, deps: [{ token: i1.BreakpointObserver }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
|
185
|
-
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 });
|
|
186
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: NgDocPlaygroundPropertiesComponent, decorators: [{
|
|
187
|
-
type: Component,
|
|
188
|
-
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"] }]
|
|
189
|
-
}], ctorParameters: function () { return [{ type: i1.BreakpointObserver }, { type: i0.Injector }]; }, propDecorators: { form: [{
|
|
190
|
-
type: Input
|
|
191
|
-
}], properties: [{
|
|
192
|
-
type: Input
|
|
193
|
-
}], dynamicContent: [{
|
|
194
|
-
type: Input
|
|
195
|
-
}], recreateDemo: [{
|
|
196
|
-
type: Input
|
|
197
|
-
}], recreateDemoChange: [{
|
|
198
|
-
type: Output
|
|
199
|
-
}], resetForm: [{
|
|
200
|
-
type: Output
|
|
201
|
-
}] } });
|
|
202
|
-
|
|
203
|
-
let NgDocPlaygroundDemoComponent = class NgDocPlaygroundDemoComponent {
|
|
204
|
-
constructor(rootPage, injector) {
|
|
205
|
-
this.rootPage = rootPage;
|
|
206
|
-
this.injector = injector;
|
|
207
|
-
this.id = '';
|
|
208
|
-
this.selector = '';
|
|
209
|
-
this.recreateDemo = false;
|
|
210
|
-
this.code = of('');
|
|
211
|
-
this.unsubscribe$ = new Subject();
|
|
212
|
-
}
|
|
213
|
-
ngOnChanges({ form, id }) {
|
|
214
|
-
var _a;
|
|
215
|
-
if (form && id) {
|
|
216
|
-
this.unsubscribe$.next();
|
|
217
|
-
const demoInjector = getPlaygroundDemoToken(this.id);
|
|
218
|
-
if (demoInjector) {
|
|
219
|
-
const demos = this.injector.get(demoInjector, []);
|
|
220
|
-
this.playgroundDemo = demos.find((demo) => demo.selector === this.selector);
|
|
221
|
-
}
|
|
222
|
-
this.updateDemo();
|
|
223
|
-
(_a = this.form) === null || _a === void 0 ? void 0 : _a.valueChanges.pipe(takeUntil(this.unsubscribe$), untilDestroyed(this)).subscribe((data) => this.updateDemo(data));
|
|
224
|
-
}
|
|
225
|
-
}
|
|
226
|
-
updateDemo(data) {
|
|
227
|
-
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
228
|
-
if (this.recreateDemo || !this.demoRef) {
|
|
229
|
-
this.renderDemo();
|
|
230
|
-
}
|
|
231
|
-
if (data) {
|
|
232
|
-
Object.assign((_b = (_a = this.demoRef) === null || _a === void 0 ? void 0 : _a.instance.playground) !== null && _b !== void 0 ? _b : {}, data.properties);
|
|
233
|
-
Object.assign((_d = (_c = this.demoRef) === null || _c === void 0 ? void 0 : _c.instance.content) !== null && _d !== void 0 ? _d : {}, data.content);
|
|
234
|
-
(_h = (_g = (_f = (_e = this.demoRef) === null || _e === void 0 ? void 0 : _e.instance) === null || _f === void 0 ? void 0 : _f.viewContainerRef) === null || _g === void 0 ? void 0 : _g.injector.get(ChangeDetectorRef)) === null || _h === void 0 ? void 0 : _h.markForCheck();
|
|
235
|
-
}
|
|
236
|
-
this.updateCodeView();
|
|
237
|
-
}
|
|
238
|
-
renderDemo() {
|
|
239
|
-
var _a, _b, _c;
|
|
240
|
-
if (this.playgroundDemo) {
|
|
241
|
-
(_a = this.demoRef) === null || _a === void 0 ? void 0 : _a.destroy();
|
|
242
|
-
if (this.playgroundDemo) {
|
|
243
|
-
this.demoRef = (_b = this.demoOutlet) === null || _b === void 0 ? void 0 : _b.createComponent(this.playgroundDemo);
|
|
244
|
-
}
|
|
245
|
-
(_c = this.demoRef) === null || _c === void 0 ? void 0 : _c.changeDetectorRef.markForCheck();
|
|
246
|
-
}
|
|
247
|
-
}
|
|
248
|
-
updateCodeView() {
|
|
249
|
-
var _a, _b;
|
|
250
|
-
const template = buildPlaygroundDemoTemplate((_b = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.template) !== null && _b !== void 0 ? _b : '', this.selector, this.getActiveContent(), this.getActiveInputs());
|
|
251
|
-
this.code = formatHtml(template);
|
|
252
|
-
}
|
|
253
|
-
getActiveContent() {
|
|
254
|
-
var _a, _b;
|
|
255
|
-
const formData = (_b = (_a = this.form) === null || _a === void 0 ? void 0 : _a.controls.content.value) !== null && _b !== void 0 ? _b : {};
|
|
256
|
-
return objectKeys$1(formData).reduce((result, key) => {
|
|
257
|
-
var _a, _b, _c;
|
|
258
|
-
result[key] = formData[key] ? (_c = (_b = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.content) === null || _b === void 0 ? void 0 : _b[key].template) !== null && _c !== void 0 ? _c : '' : '';
|
|
259
|
-
return result;
|
|
260
|
-
}, {});
|
|
261
|
-
}
|
|
262
|
-
getActiveInputs() {
|
|
263
|
-
var _a, _b;
|
|
264
|
-
const formData = (_b = (_a = this.form) === null || _a === void 0 ? void 0 : _a.controls.properties.value) !== null && _b !== void 0 ? _b : {};
|
|
265
|
-
return objectKeys$1(formData).reduce((result, key) => {
|
|
266
|
-
var _a, _b;
|
|
267
|
-
const property = (_a = this.properties) === null || _a === void 0 ? void 0 : _a[key];
|
|
268
|
-
if (property) {
|
|
269
|
-
const value = formData[key];
|
|
270
|
-
const isString = typeof value === 'string';
|
|
271
|
-
const inputValue = isString ? `'${value}'` : `${JSON.stringify(value)}`;
|
|
272
|
-
if (((_b = property.default) !== null && _b !== void 0 ? _b : '') !== inputValue) {
|
|
273
|
-
result[property.name] = inputValue;
|
|
274
|
-
}
|
|
275
|
-
}
|
|
276
|
-
return result;
|
|
277
|
-
}, {});
|
|
278
|
-
}
|
|
279
|
-
ngOnDestroy() {
|
|
280
|
-
this.unsubscribe$.next();
|
|
281
|
-
this.unsubscribe$.complete();
|
|
282
|
-
}
|
|
283
|
-
};
|
|
284
|
-
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 });
|
|
285
|
-
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 });
|
|
286
|
-
NgDocPlaygroundDemoComponent = __decorate([
|
|
287
|
-
UntilDestroy(),
|
|
288
|
-
__metadata("design:paramtypes", [NgDocRootPage, Injector])
|
|
289
|
-
], NgDocPlaygroundDemoComponent);
|
|
290
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: NgDocPlaygroundDemoComponent, decorators: [{
|
|
291
|
-
type: Component,
|
|
292
|
-
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"] }]
|
|
293
|
-
}], ctorParameters: function () { return [{ type: i1$1.NgDocRootPage }, { type: i0.Injector }]; }, propDecorators: { id: [{
|
|
294
|
-
type: Input
|
|
295
|
-
}], selector: [{
|
|
296
|
-
type: Input
|
|
297
|
-
}], configuration: [{
|
|
298
|
-
type: Input
|
|
299
|
-
}], properties: [{
|
|
300
|
-
type: Input
|
|
301
|
-
}], recreateDemo: [{
|
|
302
|
-
type: Input
|
|
303
|
-
}], form: [{
|
|
304
|
-
type: Input
|
|
305
|
-
}], demoOutlet: [{
|
|
306
|
-
type: ViewChild,
|
|
307
|
-
args: ['demoOutlet', { static: true, read: ViewContainerRef }]
|
|
308
|
-
}] } });
|
|
309
|
-
|
|
310
|
-
class NgDocPlaygroundComponent {
|
|
311
|
-
constructor(rootPage, formBuilder) {
|
|
312
|
-
this.rootPage = rootPage;
|
|
313
|
-
this.formBuilder = formBuilder;
|
|
314
|
-
this.id = '';
|
|
315
|
-
this.selectors = [];
|
|
316
|
-
this.recreateDemo = false;
|
|
317
|
-
}
|
|
318
|
-
ngOnInit() {
|
|
319
|
-
const propertiesForm = this.formBuilder.group(this.getPropertiesFormValues());
|
|
320
|
-
const contentForm = this.formBuilder.group(this.getContentFormValues());
|
|
321
|
-
this.formGroup = this.formBuilder.group({
|
|
322
|
-
properties: propertiesForm,
|
|
323
|
-
content: contentForm,
|
|
324
|
-
});
|
|
325
|
-
}
|
|
326
|
-
get configuration() {
|
|
327
|
-
var _a, _b;
|
|
328
|
-
return (_b = (_a = this.rootPage.dependencies) === null || _a === void 0 ? void 0 : _a.playgrounds) === null || _b === void 0 ? void 0 : _b[this.id];
|
|
329
|
-
}
|
|
330
|
-
getPropertiesFormValues() {
|
|
331
|
-
var _a;
|
|
332
|
-
return objectKeys$1((_a = this.properties) !== null && _a !== void 0 ? _a : {}).reduce((controls, key) => {
|
|
333
|
-
var _a, _b;
|
|
334
|
-
if (this.properties) {
|
|
335
|
-
controls[key] = extractValue((_b = (_a = this.properties[key]) === null || _a === void 0 ? void 0 : _a.default) !== null && _b !== void 0 ? _b : 'undefined');
|
|
336
|
-
}
|
|
337
|
-
return controls;
|
|
338
|
-
}, {});
|
|
339
|
-
}
|
|
340
|
-
getContentFormValues() {
|
|
341
|
-
var _a, _b;
|
|
342
|
-
return objectKeys$1((_b = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.content) !== null && _b !== void 0 ? _b : {}).reduce((controls, key) => {
|
|
343
|
-
var _a;
|
|
344
|
-
if ((_a = this.configuration) === null || _a === void 0 ? void 0 : _a.content) {
|
|
345
|
-
controls[key] = false;
|
|
346
|
-
}
|
|
347
|
-
return controls;
|
|
348
|
-
}, {});
|
|
349
|
-
return {};
|
|
350
|
-
}
|
|
351
|
-
resetForm() {
|
|
352
|
-
var _a;
|
|
353
|
-
(_a = this.formGroup) === null || _a === void 0 ? void 0 : _a.reset({
|
|
354
|
-
properties: this.getPropertiesFormValues(),
|
|
355
|
-
content: this.getContentFormValues(),
|
|
356
|
-
});
|
|
357
|
-
}
|
|
358
|
-
}
|
|
359
|
-
NgDocPlaygroundComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: NgDocPlaygroundComponent, deps: [{ token: i1$1.NgDocRootPage }, { token: i3.FormBuilder }], target: i0.ɵɵFactoryTarget.Component });
|
|
360
|
-
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 });
|
|
361
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: NgDocPlaygroundComponent, decorators: [{
|
|
362
|
-
type: Component,
|
|
363
|
-
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"] }]
|
|
364
|
-
}], ctorParameters: function () { return [{ type: i1$1.NgDocRootPage }, { type: i3.FormBuilder }]; } });
|
|
365
|
-
|
|
366
|
-
class NgDocPlaygroundModule {
|
|
367
|
-
}
|
|
368
|
-
NgDocPlaygroundModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: NgDocPlaygroundModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
369
|
-
NgDocPlaygroundModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.4", ngImport: i0, type: NgDocPlaygroundModule, declarations: [NgDocPlaygroundComponent,
|
|
370
|
-
NgDocPlaygroundPropertyComponent,
|
|
371
|
-
NgDocPlaygroundPropertiesComponent,
|
|
372
|
-
NgDocPlaygroundDemoComponent], imports: [CommonModule,
|
|
373
|
-
ReactiveFormsModule,
|
|
374
|
-
NgDocLabelModule,
|
|
375
|
-
NgDocTooltipModule,
|
|
376
|
-
PolymorpheusModule,
|
|
377
|
-
NgDocAsArrayModule,
|
|
378
|
-
NgDocButtonIconModule,
|
|
379
|
-
NgDocIconModule,
|
|
380
|
-
NgDocTextModule,
|
|
381
|
-
NgDocCheckboxModule,
|
|
382
|
-
FormsModule,
|
|
383
|
-
NgDocButtonModule,
|
|
384
|
-
NgDocDemoDisplayerModule,
|
|
385
|
-
NgDocBindModule,
|
|
386
|
-
NgDocRunModule], exports: [NgDocPlaygroundComponent,
|
|
387
|
-
NgDocPlaygroundPropertyComponent,
|
|
388
|
-
NgDocPlaygroundPropertiesComponent,
|
|
389
|
-
NgDocPlaygroundDemoComponent] });
|
|
390
|
-
NgDocPlaygroundModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: NgDocPlaygroundModule, imports: [CommonModule,
|
|
391
|
-
ReactiveFormsModule,
|
|
392
|
-
NgDocLabelModule,
|
|
393
|
-
NgDocTooltipModule,
|
|
394
|
-
PolymorpheusModule,
|
|
395
|
-
NgDocAsArrayModule,
|
|
396
|
-
NgDocButtonIconModule,
|
|
397
|
-
NgDocIconModule,
|
|
398
|
-
NgDocTextModule,
|
|
399
|
-
NgDocCheckboxModule,
|
|
400
|
-
FormsModule,
|
|
401
|
-
NgDocButtonModule,
|
|
402
|
-
NgDocDemoDisplayerModule,
|
|
403
|
-
NgDocBindModule,
|
|
404
|
-
NgDocRunModule] });
|
|
405
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: NgDocPlaygroundModule, decorators: [{
|
|
406
|
-
type: NgModule,
|
|
407
|
-
args: [{
|
|
408
|
-
declarations: [
|
|
409
|
-
NgDocPlaygroundComponent,
|
|
410
|
-
NgDocPlaygroundPropertyComponent,
|
|
411
|
-
NgDocPlaygroundPropertiesComponent,
|
|
412
|
-
NgDocPlaygroundDemoComponent,
|
|
413
|
-
],
|
|
414
|
-
imports: [
|
|
415
|
-
CommonModule,
|
|
416
|
-
ReactiveFormsModule,
|
|
417
|
-
NgDocLabelModule,
|
|
418
|
-
NgDocTooltipModule,
|
|
419
|
-
PolymorpheusModule,
|
|
420
|
-
NgDocAsArrayModule,
|
|
421
|
-
NgDocButtonIconModule,
|
|
422
|
-
NgDocIconModule,
|
|
423
|
-
NgDocTextModule,
|
|
424
|
-
NgDocCheckboxModule,
|
|
425
|
-
FormsModule,
|
|
426
|
-
NgDocButtonModule,
|
|
427
|
-
NgDocDemoDisplayerModule,
|
|
428
|
-
NgDocBindModule,
|
|
429
|
-
NgDocRunModule,
|
|
430
|
-
],
|
|
431
|
-
exports: [
|
|
432
|
-
NgDocPlaygroundComponent,
|
|
433
|
-
NgDocPlaygroundPropertyComponent,
|
|
434
|
-
NgDocPlaygroundPropertiesComponent,
|
|
435
|
-
NgDocPlaygroundDemoComponent,
|
|
436
|
-
],
|
|
437
|
-
}]
|
|
438
|
-
}] });
|
|
439
|
-
|
|
440
|
-
/**
|
|
441
|
-
* Generated bundle index. Do not edit.
|
|
442
|
-
*/
|
|
443
|
-
|
|
444
|
-
export { NgDocBasePlayground, NgDocPlaygroundComponent, NgDocPlaygroundDemoComponent, NgDocPlaygroundModule, NgDocPlaygroundPropertiesComponent, NgDocPlaygroundPropertyComponent };
|
|
445
|
-
//# sourceMappingURL=ng-doc-app-components-playground.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
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 [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","import {BreakpointObserver, Breakpoints} from '@angular/cdk/layout';\nimport {\n\tChangeDetectionStrategy,\n\tComponent,\n\tEventEmitter,\n\tInjectionToken,\n\tInjector,\n\tInput, isDevMode,\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 = this.getControlForType(type)\n\t\t\t?? this.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":["i1","i5.NgDocPlaygroundPropertyComponent","objectKeys","i2","i3","i4.NgDocPlaygroundPropertiesComponent","i5.NgDocPlaygroundDemoComponent","i6"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAGA;;AAEG;MAEmB,mBAAmB,CAAA;AADzC,IAAA,WAAA,GAAA;AAMC,QAAA,IAAI,CAAA,IAAA,GAA4B,EAAE,CAAC;AACnC,QAAA,IAAO,CAAA,OAAA,GAAQ,EAAE,CAAC;KAClB;;AANgB,mBAAQ,CAAA,QAAA,GAAW,SAAS,CAAC;gHADxB,mBAAmB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,C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