@ng-doc/app 15.9.0 → 15.10.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 +0 -2
- package/assets/themes/ng-doc-dark-purple.css +9 -1
- package/assets/themes/ng-doc-night.css +93 -1
- package/classes/default-search-engine/default-search-engine.d.ts +45 -0
- package/classes/default-search-engine/index.d.ts +1 -0
- package/classes/index.d.ts +1 -0
- package/classes/root-page/root-page.d.ts +7 -0
- package/classes/search-engine/search-engine.d.ts +6 -8
- package/components/breadcrumb/breadcrumb.component.d.ts +12 -0
- package/components/breadcrumb/breadcrumb.module.d.ts +10 -0
- package/components/breadcrumb/index.d.ts +2 -0
- package/components/code/code.component.d.ts +7 -7
- package/components/code/code.module.d.ts +3 -5
- package/components/demo/demo.component.d.ts +1 -0
- package/components/demo-displayer/demo-displayer.component.d.ts +4 -3
- package/components/demo-displayer/demo-displayer.module.d.ts +1 -1
- package/components/demo-pane/demo-pane.component.d.ts +20 -0
- package/components/demo-pane/demo-pane.module.d.ts +11 -0
- package/components/demo-pane/index.d.ts +2 -0
- package/components/index.d.ts +2 -0
- package/components/page/page.module.d.ts +2 -1
- package/components/search/search.component.d.ts +15 -9
- package/components/search/search.module.d.ts +5 -4
- package/components/sidebar/sidebar.component.d.ts +0 -6
- package/esm2020/classes/default-search-engine/default-search-engine.mjs +60 -0
- package/esm2020/classes/default-search-engine/index.mjs +2 -0
- package/esm2020/classes/default-search-engine/ng-doc-app-classes-default-search-engine.mjs +5 -0
- package/esm2020/classes/index.mjs +2 -1
- package/esm2020/classes/root-page/root-page.mjs +1 -1
- package/esm2020/classes/search-engine/search-engine.mjs +4 -51
- package/esm2020/components/api-list/api-list.component.mjs +3 -3
- package/esm2020/components/api-list/api-list.module.mjs +4 -4
- package/esm2020/components/breadcrumb/breadcrumb.component.mjs +28 -0
- package/esm2020/components/breadcrumb/breadcrumb.module.mjs +20 -0
- package/esm2020/components/breadcrumb/index.mjs +3 -0
- package/esm2020/components/breadcrumb/ng-doc-app-components-breadcrumb.mjs +5 -0
- package/esm2020/components/code/code.component.mjs +25 -25
- package/esm2020/components/code/code.module.mjs +14 -16
- package/esm2020/components/demo/demo.component.mjs +12 -6
- package/esm2020/components/demo/demo.module.mjs +4 -4
- package/esm2020/components/demo-displayer/demo-displayer.component.mjs +14 -13
- package/esm2020/components/demo-displayer/demo-displayer.module.mjs +11 -8
- package/esm2020/components/demo-pane/demo-pane.component.mjs +51 -0
- package/esm2020/components/demo-pane/demo-pane.module.mjs +21 -0
- package/esm2020/components/demo-pane/index.mjs +3 -0
- package/esm2020/{helpers/generate-toc/ng-doc-app-helpers-generate-toc.mjs → components/demo-pane/ng-doc-app-components-demo-pane.mjs} +1 -1
- package/esm2020/components/index.mjs +3 -1
- package/esm2020/components/kind-icon/kind-icon.component.mjs +3 -3
- package/esm2020/components/kind-icon/kind-icon.module.mjs +4 -4
- package/esm2020/components/link/link.component.mjs +3 -3
- package/esm2020/components/link/link.module.mjs +4 -4
- package/esm2020/components/navbar/navbar.component.mjs +3 -3
- package/esm2020/components/navbar/navbar.module.mjs +4 -4
- package/esm2020/components/page/page.component.mjs +7 -6
- package/esm2020/components/page/page.module.mjs +15 -8
- package/esm2020/components/page-link/page-link.component.mjs +3 -3
- package/esm2020/components/page-link/page-link.module.mjs +4 -4
- package/esm2020/components/playground/base-playground.mjs +3 -3
- package/esm2020/components/playground/playground-demo/playground-demo.component.mjs +5 -5
- package/esm2020/components/playground/playground-properties/playground-properties.component.mjs +3 -3
- package/esm2020/components/playground/playground-property/playground-property.component.mjs +7 -7
- package/esm2020/components/playground/playground.component.mjs +3 -3
- package/esm2020/components/playground/playground.module.mjs +4 -4
- package/esm2020/components/root/root.component.mjs +9 -9
- package/esm2020/components/root/root.module.mjs +4 -4
- package/esm2020/components/search/search.component.mjs +52 -26
- package/esm2020/components/search/search.module.mjs +40 -15
- package/esm2020/components/search-result/search-result.component.mjs +3 -3
- package/esm2020/components/search-result/search-result.module.mjs +4 -4
- package/esm2020/components/sidebar/sidebar-category/sidebar-category.component.mjs +3 -3
- package/esm2020/components/sidebar/sidebar-item/sidebar-item.component.mjs +3 -3
- package/esm2020/components/sidebar/sidebar.component.mjs +4 -10
- package/esm2020/components/sidebar/sidebar.module.mjs +4 -4
- package/esm2020/components/theme-toggle/theme-toggle.component.mjs +4 -4
- package/esm2020/components/theme-toggle/theme-toggle.module.mjs +4 -4
- package/esm2020/components/toc/toc-element/toc-element.component.mjs +3 -3
- package/esm2020/components/toc/toc.component.mjs +4 -4
- package/esm2020/components/toc/toc.module.mjs +4 -4
- package/esm2020/directives/code-highlighter/code-highlighter.directive.mjs +3 -3
- package/esm2020/directives/code-highlighter/code-highlighter.module.mjs +4 -4
- package/esm2020/directives/route-active/route-active.directive.mjs +3 -3
- package/esm2020/directives/route-active/route-active.module.mjs +4 -4
- package/esm2020/helpers/as-boolean.mjs +11 -0
- package/esm2020/helpers/generate-toc.mjs +33 -0
- package/esm2020/helpers/index.mjs +8 -7
- package/esm2020/helpers/is-external-link.mjs +10 -0
- package/esm2020/helpers/is-playground-property.mjs +9 -0
- package/esm2020/helpers/provide-playground-demo.mjs +29 -0
- package/esm2020/helpers/provide-search-engine.mjs +17 -0
- package/esm2020/helpers/provide-type-control.mjs +28 -0
- package/esm2020/interfaces/index.mjs +2 -1
- package/esm2020/interfaces/search-result.mjs +2 -0
- package/esm2020/modules/root/ng-doc.module.mjs +5 -7
- package/esm2020/pipes/extract-value/extract-value.module.mjs +4 -4
- package/esm2020/pipes/extract-value/extract-value.pipe.mjs +3 -3
- package/esm2020/pipes/filter-by-text/filter-by-text.module.mjs +4 -4
- package/esm2020/pipes/filter-by-text/filter-by-text.pipe.mjs +3 -3
- package/esm2020/pipes/sanitize-html/sanitize-html.module.mjs +4 -4
- package/esm2020/pipes/sanitize-html/sanitize-html.pipe.mjs +3 -3
- package/esm2020/processors/blockquote-processor/blockquote-processor.directive.mjs +3 -3
- package/esm2020/processors/blockquote-processor/blockquote-processor.module.mjs +4 -4
- package/esm2020/processors/code-processor/code-processor.directive.mjs +6 -4
- package/esm2020/processors/code-processor/code-processor.module.mjs +4 -4
- package/esm2020/processors/demo-pane-processor/demo-pane-processor.directive.mjs +37 -0
- package/esm2020/processors/demo-pane-processor/demo-pane-processor.module.mjs +18 -0
- package/esm2020/processors/demo-pane-processor/index.mjs +3 -0
- package/esm2020/{helpers/is-playground-property/ng-doc-app-helpers-is-playground-property.mjs → processors/demo-pane-processor/ng-doc-app-processors-demo-pane-processor.mjs} +1 -1
- package/esm2020/processors/demo-processor/demo-processor.directive.mjs +5 -5
- package/esm2020/processors/demo-processor/demo-processor.module.mjs +4 -4
- package/esm2020/processors/html-processor/html-processor.directive.mjs +3 -3
- package/esm2020/processors/icon-processor/icon-processor.directive.mjs +3 -3
- package/esm2020/processors/icon-processor/icon-processor.module.mjs +4 -4
- package/esm2020/processors/index.mjs +2 -1
- package/esm2020/processors/link-processor/link-processor.directive.mjs +3 -3
- package/esm2020/processors/link-processor/link-processor.module.mjs +4 -4
- package/esm2020/processors/playground-processor/playground-processor.directive.mjs +3 -3
- package/esm2020/processors/playground-processor/playground-processor.module.mjs +4 -4
- package/esm2020/processors/tooltip-processor/tooltip-processor.directive.mjs +3 -3
- package/esm2020/processors/tooltip-processor/tooltip-processor.module.mjs +4 -4
- package/esm2020/processors/tooltip-processor/tooltip-wrapper.component.mjs +3 -3
- package/esm2020/services/sidebar/sidebar.service.mjs +3 -3
- package/esm2020/services/store/store.service.mjs +3 -3
- package/esm2020/services/theme/theme.service.mjs +3 -3
- package/esm2020/type-controls/boolean-control/boolean-control.component.mjs +3 -3
- package/esm2020/type-controls/boolean-control/boolean-control.module.mjs +4 -4
- package/esm2020/type-controls/number-control/number-control.component.mjs +3 -3
- package/esm2020/type-controls/number-control/number-control.module.mjs +4 -4
- package/esm2020/type-controls/string-control/string-control.component.mjs +3 -3
- package/esm2020/type-controls/string-control/string-control.module.mjs +4 -4
- package/esm2020/type-controls/type-alias-control/type-alias-control.component.mjs +3 -3
- package/esm2020/type-controls/type-alias-control/type-alias-control.module.mjs +4 -4
- package/fesm2015/ng-doc-app-classes-default-search-engine.mjs +70 -0
- package/fesm2015/ng-doc-app-classes-default-search-engine.mjs.map +1 -0
- package/fesm2015/ng-doc-app-classes-root-page.mjs.map +1 -1
- package/fesm2015/ng-doc-app-classes-search-engine.mjs +3 -51
- package/fesm2015/ng-doc-app-classes-search-engine.mjs.map +1 -1
- package/fesm2015/ng-doc-app-classes.mjs +1 -0
- package/fesm2015/ng-doc-app-classes.mjs.map +1 -1
- package/fesm2015/ng-doc-app-components-api-list.mjs +7 -7
- package/fesm2015/ng-doc-app-components-api-list.mjs.map +1 -1
- package/fesm2015/ng-doc-app-components-breadcrumb.mjs +50 -0
- package/fesm2015/ng-doc-app-components-breadcrumb.mjs.map +1 -0
- package/fesm2015/ng-doc-app-components-code.mjs +38 -38
- package/fesm2015/ng-doc-app-components-code.mjs.map +1 -1
- package/fesm2015/ng-doc-app-components-demo-displayer.mjs +23 -18
- package/fesm2015/ng-doc-app-components-demo-displayer.mjs.map +1 -1
- package/fesm2015/ng-doc-app-components-demo-pane.mjs +77 -0
- package/fesm2015/ng-doc-app-components-demo-pane.mjs.map +1 -0
- package/fesm2015/ng-doc-app-components-demo.mjs +16 -9
- package/fesm2015/ng-doc-app-components-demo.mjs.map +1 -1
- package/fesm2015/ng-doc-app-components-kind-icon.mjs +7 -7
- package/fesm2015/ng-doc-app-components-kind-icon.mjs.map +1 -1
- package/fesm2015/ng-doc-app-components-link.mjs +7 -7
- package/fesm2015/ng-doc-app-components-link.mjs.map +1 -1
- package/fesm2015/ng-doc-app-components-navbar.mjs +7 -7
- package/fesm2015/ng-doc-app-components-navbar.mjs.map +1 -1
- package/fesm2015/ng-doc-app-components-page-link.mjs +7 -7
- package/fesm2015/ng-doc-app-components-page-link.mjs.map +1 -1
- package/fesm2015/ng-doc-app-components-page.mjs +20 -12
- package/fesm2015/ng-doc-app-components-page.mjs.map +1 -1
- package/fesm2015/ng-doc-app-components-playground.mjs +21 -23
- package/fesm2015/ng-doc-app-components-playground.mjs.map +1 -1
- package/fesm2015/ng-doc-app-components-root.mjs +13 -13
- package/fesm2015/ng-doc-app-components-root.mjs.map +1 -1
- package/fesm2015/ng-doc-app-components-search-result.mjs +7 -7
- package/fesm2015/ng-doc-app-components-search-result.mjs.map +1 -1
- package/fesm2015/ng-doc-app-components-search.mjs +93 -39
- package/fesm2015/ng-doc-app-components-search.mjs.map +1 -1
- package/fesm2015/ng-doc-app-components-sidebar.mjs +13 -19
- package/fesm2015/ng-doc-app-components-sidebar.mjs.map +1 -1
- package/fesm2015/ng-doc-app-components-theme-toggle.mjs +7 -7
- package/fesm2015/ng-doc-app-components-theme-toggle.mjs.map +1 -1
- package/fesm2015/ng-doc-app-components-toc.mjs +11 -11
- package/fesm2015/ng-doc-app-components-toc.mjs.map +1 -1
- package/fesm2015/ng-doc-app-components.mjs +2 -0
- package/fesm2015/ng-doc-app-components.mjs.map +1 -1
- package/fesm2015/ng-doc-app-constants.mjs.map +1 -1
- package/fesm2015/ng-doc-app-directives-code-highlighter.mjs +7 -7
- package/fesm2015/ng-doc-app-directives-code-highlighter.mjs.map +1 -1
- package/fesm2015/ng-doc-app-directives-route-active.mjs +7 -7
- package/fesm2015/ng-doc-app-directives-route-active.mjs.map +1 -1
- package/fesm2015/ng-doc-app-directives.mjs.map +1 -1
- package/fesm2015/ng-doc-app-helpers.mjs +140 -6
- package/fesm2015/ng-doc-app-helpers.mjs.map +1 -1
- package/fesm2015/ng-doc-app-interfaces.mjs.map +1 -1
- package/fesm2015/ng-doc-app-modules-root.mjs +4 -6
- package/fesm2015/ng-doc-app-modules-root.mjs.map +1 -1
- package/fesm2015/ng-doc-app-modules.mjs.map +1 -1
- package/fesm2015/ng-doc-app-pipes-extract-value.mjs +7 -7
- package/fesm2015/ng-doc-app-pipes-extract-value.mjs.map +1 -1
- package/fesm2015/ng-doc-app-pipes-filter-by-text.mjs +7 -7
- package/fesm2015/ng-doc-app-pipes-filter-by-text.mjs.map +1 -1
- package/fesm2015/ng-doc-app-pipes-sanitize-html.mjs +7 -7
- package/fesm2015/ng-doc-app-pipes-sanitize-html.mjs.map +1 -1
- package/fesm2015/ng-doc-app-pipes.mjs.map +1 -1
- package/fesm2015/ng-doc-app-processors-blockquote-processor.mjs +7 -7
- package/fesm2015/ng-doc-app-processors-blockquote-processor.mjs.map +1 -1
- package/fesm2015/ng-doc-app-processors-code-processor.mjs +11 -9
- package/fesm2015/ng-doc-app-processors-code-processor.mjs.map +1 -1
- package/fesm2015/ng-doc-app-processors-demo-pane-processor.mjs +58 -0
- package/fesm2015/ng-doc-app-processors-demo-pane-processor.mjs.map +1 -0
- package/fesm2015/ng-doc-app-processors-demo-processor.mjs +8 -8
- package/fesm2015/ng-doc-app-processors-demo-processor.mjs.map +1 -1
- package/fesm2015/ng-doc-app-processors-html-processor.mjs +3 -3
- package/fesm2015/ng-doc-app-processors-html-processor.mjs.map +1 -1
- package/fesm2015/ng-doc-app-processors-icon-processor.mjs +7 -7
- package/fesm2015/ng-doc-app-processors-icon-processor.mjs.map +1 -1
- package/fesm2015/ng-doc-app-processors-link-processor.mjs +7 -7
- package/fesm2015/ng-doc-app-processors-link-processor.mjs.map +1 -1
- package/fesm2015/ng-doc-app-processors-playground-processor.mjs +7 -7
- package/fesm2015/ng-doc-app-processors-playground-processor.mjs.map +1 -1
- package/fesm2015/ng-doc-app-processors-tooltip-processor.mjs +10 -10
- package/fesm2015/ng-doc-app-processors-tooltip-processor.mjs.map +1 -1
- package/fesm2015/ng-doc-app-processors.mjs +1 -0
- package/fesm2015/ng-doc-app-processors.mjs.map +1 -1
- package/fesm2015/ng-doc-app-services-sidebar.mjs +3 -3
- package/fesm2015/ng-doc-app-services-sidebar.mjs.map +1 -1
- package/fesm2015/ng-doc-app-services-store.mjs +3 -3
- package/fesm2015/ng-doc-app-services-store.mjs.map +1 -1
- package/fesm2015/ng-doc-app-services-theme.mjs +3 -3
- package/fesm2015/ng-doc-app-services-theme.mjs.map +1 -1
- package/fesm2015/ng-doc-app-services.mjs.map +1 -1
- package/fesm2015/ng-doc-app-tokens.mjs.map +1 -1
- package/fesm2015/ng-doc-app-type-controls-boolean-control.mjs +7 -7
- package/fesm2015/ng-doc-app-type-controls-boolean-control.mjs.map +1 -1
- package/fesm2015/ng-doc-app-type-controls-number-control.mjs +7 -7
- package/fesm2015/ng-doc-app-type-controls-number-control.mjs.map +1 -1
- package/fesm2015/ng-doc-app-type-controls-string-control.mjs +7 -7
- package/fesm2015/ng-doc-app-type-controls-string-control.mjs.map +1 -1
- package/fesm2015/ng-doc-app-type-controls-type-alias-control.mjs +7 -7
- package/fesm2015/ng-doc-app-type-controls-type-alias-control.mjs.map +1 -1
- package/fesm2015/ng-doc-app-type-controls.mjs.map +1 -1
- package/fesm2015/ng-doc-app-types.mjs.map +1 -1
- package/fesm2015/ng-doc-app.mjs.map +1 -1
- package/fesm2020/ng-doc-app-classes-default-search-engine.mjs +67 -0
- package/fesm2020/ng-doc-app-classes-default-search-engine.mjs.map +1 -0
- package/fesm2020/ng-doc-app-classes-root-page.mjs.map +1 -1
- package/fesm2020/ng-doc-app-classes-search-engine.mjs +3 -51
- package/fesm2020/ng-doc-app-classes-search-engine.mjs.map +1 -1
- package/fesm2020/ng-doc-app-classes.mjs +1 -0
- package/fesm2020/ng-doc-app-classes.mjs.map +1 -1
- package/fesm2020/ng-doc-app-components-api-list.mjs +7 -7
- package/fesm2020/ng-doc-app-components-api-list.mjs.map +1 -1
- package/fesm2020/ng-doc-app-components-breadcrumb.mjs +50 -0
- package/fesm2020/ng-doc-app-components-breadcrumb.mjs.map +1 -0
- package/fesm2020/ng-doc-app-components-code.mjs +37 -38
- package/fesm2020/ng-doc-app-components-code.mjs.map +1 -1
- package/fesm2020/ng-doc-app-components-demo-displayer.mjs +23 -18
- package/fesm2020/ng-doc-app-components-demo-displayer.mjs.map +1 -1
- package/fesm2020/ng-doc-app-components-demo-pane.mjs +74 -0
- package/fesm2020/ng-doc-app-components-demo-pane.mjs.map +1 -0
- package/fesm2020/ng-doc-app-components-demo.mjs +15 -9
- package/fesm2020/ng-doc-app-components-demo.mjs.map +1 -1
- package/fesm2020/ng-doc-app-components-kind-icon.mjs +7 -7
- package/fesm2020/ng-doc-app-components-kind-icon.mjs.map +1 -1
- package/fesm2020/ng-doc-app-components-link.mjs +7 -7
- package/fesm2020/ng-doc-app-components-link.mjs.map +1 -1
- package/fesm2020/ng-doc-app-components-navbar.mjs +7 -7
- package/fesm2020/ng-doc-app-components-navbar.mjs.map +1 -1
- package/fesm2020/ng-doc-app-components-page-link.mjs +7 -7
- package/fesm2020/ng-doc-app-components-page-link.mjs.map +1 -1
- package/fesm2020/ng-doc-app-components-page.mjs +20 -12
- package/fesm2020/ng-doc-app-components-page.mjs.map +1 -1
- package/fesm2020/ng-doc-app-components-playground.mjs +21 -23
- package/fesm2020/ng-doc-app-components-playground.mjs.map +1 -1
- package/fesm2020/ng-doc-app-components-root.mjs +13 -13
- package/fesm2020/ng-doc-app-components-root.mjs.map +1 -1
- package/fesm2020/ng-doc-app-components-search-result.mjs +7 -7
- package/fesm2020/ng-doc-app-components-search-result.mjs.map +1 -1
- package/fesm2020/ng-doc-app-components-search.mjs +89 -39
- package/fesm2020/ng-doc-app-components-search.mjs.map +1 -1
- package/fesm2020/ng-doc-app-components-sidebar.mjs +13 -19
- package/fesm2020/ng-doc-app-components-sidebar.mjs.map +1 -1
- package/fesm2020/ng-doc-app-components-theme-toggle.mjs +7 -7
- package/fesm2020/ng-doc-app-components-theme-toggle.mjs.map +1 -1
- package/fesm2020/ng-doc-app-components-toc.mjs +11 -11
- package/fesm2020/ng-doc-app-components-toc.mjs.map +1 -1
- package/fesm2020/ng-doc-app-components.mjs +2 -0
- package/fesm2020/ng-doc-app-components.mjs.map +1 -1
- package/fesm2020/ng-doc-app-constants.mjs.map +1 -1
- package/fesm2020/ng-doc-app-directives-code-highlighter.mjs +7 -7
- package/fesm2020/ng-doc-app-directives-code-highlighter.mjs.map +1 -1
- package/fesm2020/ng-doc-app-directives-route-active.mjs +7 -7
- package/fesm2020/ng-doc-app-directives-route-active.mjs.map +1 -1
- package/fesm2020/ng-doc-app-directives.mjs.map +1 -1
- package/fesm2020/ng-doc-app-helpers.mjs +138 -6
- package/fesm2020/ng-doc-app-helpers.mjs.map +1 -1
- package/fesm2020/ng-doc-app-interfaces.mjs.map +1 -1
- package/fesm2020/ng-doc-app-modules-root.mjs +4 -6
- package/fesm2020/ng-doc-app-modules-root.mjs.map +1 -1
- package/fesm2020/ng-doc-app-modules.mjs.map +1 -1
- package/fesm2020/ng-doc-app-pipes-extract-value.mjs +7 -7
- package/fesm2020/ng-doc-app-pipes-extract-value.mjs.map +1 -1
- package/fesm2020/ng-doc-app-pipes-filter-by-text.mjs +7 -7
- package/fesm2020/ng-doc-app-pipes-filter-by-text.mjs.map +1 -1
- package/fesm2020/ng-doc-app-pipes-sanitize-html.mjs +7 -7
- package/fesm2020/ng-doc-app-pipes-sanitize-html.mjs.map +1 -1
- package/fesm2020/ng-doc-app-pipes.mjs.map +1 -1
- package/fesm2020/ng-doc-app-processors-blockquote-processor.mjs +7 -7
- package/fesm2020/ng-doc-app-processors-blockquote-processor.mjs.map +1 -1
- package/fesm2020/ng-doc-app-processors-code-processor.mjs +9 -7
- package/fesm2020/ng-doc-app-processors-code-processor.mjs.map +1 -1
- package/fesm2020/ng-doc-app-processors-demo-pane-processor.mjs +57 -0
- package/fesm2020/ng-doc-app-processors-demo-pane-processor.mjs.map +1 -0
- package/fesm2020/ng-doc-app-processors-demo-processor.mjs +8 -8
- package/fesm2020/ng-doc-app-processors-demo-processor.mjs.map +1 -1
- package/fesm2020/ng-doc-app-processors-html-processor.mjs +3 -3
- package/fesm2020/ng-doc-app-processors-html-processor.mjs.map +1 -1
- package/fesm2020/ng-doc-app-processors-icon-processor.mjs +7 -7
- package/fesm2020/ng-doc-app-processors-icon-processor.mjs.map +1 -1
- package/fesm2020/ng-doc-app-processors-link-processor.mjs +7 -7
- package/fesm2020/ng-doc-app-processors-link-processor.mjs.map +1 -1
- package/fesm2020/ng-doc-app-processors-playground-processor.mjs +7 -7
- package/fesm2020/ng-doc-app-processors-playground-processor.mjs.map +1 -1
- package/fesm2020/ng-doc-app-processors-tooltip-processor.mjs +10 -10
- package/fesm2020/ng-doc-app-processors-tooltip-processor.mjs.map +1 -1
- package/fesm2020/ng-doc-app-processors.mjs +1 -0
- package/fesm2020/ng-doc-app-processors.mjs.map +1 -1
- package/fesm2020/ng-doc-app-services-sidebar.mjs +3 -3
- package/fesm2020/ng-doc-app-services-sidebar.mjs.map +1 -1
- package/fesm2020/ng-doc-app-services-store.mjs +3 -3
- package/fesm2020/ng-doc-app-services-store.mjs.map +1 -1
- package/fesm2020/ng-doc-app-services-theme.mjs +3 -3
- package/fesm2020/ng-doc-app-services-theme.mjs.map +1 -1
- package/fesm2020/ng-doc-app-services.mjs.map +1 -1
- package/fesm2020/ng-doc-app-tokens.mjs.map +1 -1
- package/fesm2020/ng-doc-app-type-controls-boolean-control.mjs +7 -7
- package/fesm2020/ng-doc-app-type-controls-boolean-control.mjs.map +1 -1
- package/fesm2020/ng-doc-app-type-controls-number-control.mjs +7 -7
- package/fesm2020/ng-doc-app-type-controls-number-control.mjs.map +1 -1
- package/fesm2020/ng-doc-app-type-controls-string-control.mjs +7 -7
- package/fesm2020/ng-doc-app-type-controls-string-control.mjs.map +1 -1
- package/fesm2020/ng-doc-app-type-controls-type-alias-control.mjs +7 -7
- package/fesm2020/ng-doc-app-type-controls-type-alias-control.mjs.map +1 -1
- package/fesm2020/ng-doc-app-type-controls.mjs.map +1 -1
- package/fesm2020/ng-doc-app-types.mjs.map +1 -1
- package/fesm2020/ng-doc-app.mjs.map +1 -1
- package/helpers/index.d.ts +7 -6
- package/helpers/provide-search-engine.d.ts +13 -0
- package/interfaces/index.d.ts +1 -0
- package/interfaces/search-result.d.ts +15 -0
- package/package.json +39 -55
- package/processors/demo-pane-processor/demo-pane-processor.directive.d.ts +14 -0
- package/processors/demo-pane-processor/demo-pane-processor.module.d.ts +8 -0
- package/processors/demo-pane-processor/index.d.ts +2 -0
- package/processors/demo-processor/demo-processor.directive.d.ts +1 -1
- package/processors/index.d.ts +1 -0
- package/styles/global.css +49 -24
- package/styles/main.css +49 -24
- package/types/typed-form.d.ts +1 -1
- package/esm2020/helpers/as-boolean/as-boolean.mjs +0 -11
- package/esm2020/helpers/as-boolean/index.mjs +0 -2
- package/esm2020/helpers/as-boolean/ng-doc-app-helpers-as-boolean.mjs +0 -5
- package/esm2020/helpers/generate-toc/generate-toc.mjs +0 -33
- package/esm2020/helpers/generate-toc/index.mjs +0 -2
- package/esm2020/helpers/is-external-link/index.mjs +0 -2
- package/esm2020/helpers/is-external-link/is-external-link.mjs +0 -10
- package/esm2020/helpers/is-external-link/ng-doc-app-helpers-is-external-link.mjs +0 -5
- package/esm2020/helpers/is-playground-property/index.mjs +0 -2
- package/esm2020/helpers/is-playground-property/is-playground-property.mjs +0 -9
- package/esm2020/helpers/provide-playground-demo/index.mjs +0 -2
- package/esm2020/helpers/provide-playground-demo/ng-doc-app-helpers-provide-playground-demo.mjs +0 -5
- package/esm2020/helpers/provide-playground-demo/provide-playground-demo.mjs +0 -29
- package/esm2020/helpers/provide-type-control/index.mjs +0 -2
- package/esm2020/helpers/provide-type-control/ng-doc-app-helpers-provide-type-control.mjs +0 -5
- package/esm2020/helpers/provide-type-control/provide-type-control.mjs +0 -28
- package/fesm2015/ng-doc-app-helpers-as-boolean.mjs +0 -17
- package/fesm2015/ng-doc-app-helpers-as-boolean.mjs.map +0 -1
- package/fesm2015/ng-doc-app-helpers-generate-toc.mjs +0 -41
- package/fesm2015/ng-doc-app-helpers-generate-toc.mjs.map +0 -1
- package/fesm2015/ng-doc-app-helpers-is-external-link.mjs +0 -16
- package/fesm2015/ng-doc-app-helpers-is-external-link.mjs.map +0 -1
- package/fesm2015/ng-doc-app-helpers-is-playground-property.mjs +0 -16
- package/fesm2015/ng-doc-app-helpers-is-playground-property.mjs.map +0 -1
- package/fesm2015/ng-doc-app-helpers-provide-playground-demo.mjs +0 -37
- package/fesm2015/ng-doc-app-helpers-provide-playground-demo.mjs.map +0 -1
- package/fesm2015/ng-doc-app-helpers-provide-type-control.mjs +0 -35
- package/fesm2015/ng-doc-app-helpers-provide-type-control.mjs.map +0 -1
- package/fesm2020/ng-doc-app-helpers-as-boolean.mjs +0 -17
- package/fesm2020/ng-doc-app-helpers-as-boolean.mjs.map +0 -1
- package/fesm2020/ng-doc-app-helpers-generate-toc.mjs +0 -40
- package/fesm2020/ng-doc-app-helpers-generate-toc.mjs.map +0 -1
- package/fesm2020/ng-doc-app-helpers-is-external-link.mjs +0 -16
- package/fesm2020/ng-doc-app-helpers-is-external-link.mjs.map +0 -1
- package/fesm2020/ng-doc-app-helpers-is-playground-property.mjs +0 -16
- package/fesm2020/ng-doc-app-helpers-is-playground-property.mjs.map +0 -1
- package/fesm2020/ng-doc-app-helpers-provide-playground-demo.mjs +0 -36
- package/fesm2020/ng-doc-app-helpers-provide-playground-demo.mjs.map +0 -1
- package/fesm2020/ng-doc-app-helpers-provide-type-control.mjs +0 -35
- package/fesm2020/ng-doc-app-helpers-provide-type-control.mjs.map +0 -1
- package/helpers/as-boolean/index.d.ts +0 -1
- package/helpers/generate-toc/index.d.ts +0 -1
- package/helpers/is-external-link/index.d.ts +0 -1
- package/helpers/is-playground-property/index.d.ts +0 -1
- package/helpers/provide-playground-demo/index.d.ts +0 -1
- package/helpers/provide-type-control/index.d.ts +0 -1
- /package/helpers/{as-boolean/as-boolean.d.ts → as-boolean.d.ts} +0 -0
- /package/helpers/{generate-toc/generate-toc.d.ts → generate-toc.d.ts} +0 -0
- /package/helpers/{is-external-link/is-external-link.d.ts → is-external-link.d.ts} +0 -0
- /package/helpers/{is-playground-property/is-playground-property.d.ts → is-playground-property.d.ts} +0 -0
- /package/helpers/{provide-playground-demo/provide-playground-demo.d.ts → provide-playground-demo.d.ts} +0 -0
- /package/helpers/{provide-type-control/provide-type-control.d.ts → provide-type-control.d.ts} +0 -0
|
@@ -9,8 +9,8 @@ import * as i0 from "@angular/core";
|
|
|
9
9
|
const provider = provideTypeControl('number', NgDocNumberControlComponent);
|
|
10
10
|
export class NgDocNumberControlModule {
|
|
11
11
|
}
|
|
12
|
-
NgDocNumberControlModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
13
|
-
NgDocNumberControlModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.
|
|
12
|
+
NgDocNumberControlModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: NgDocNumberControlModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
13
|
+
NgDocNumberControlModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.4", ngImport: i0, type: NgDocNumberControlModule, declarations: [NgDocNumberControlComponent], imports: [CommonModule,
|
|
14
14
|
NgDocInputWrapperModule,
|
|
15
15
|
NgDocInputNumberModule,
|
|
16
16
|
NgDocClearControlModule,
|
|
@@ -19,7 +19,7 @@ NgDocNumberControlModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0"
|
|
|
19
19
|
NgDocButtonIconModule,
|
|
20
20
|
NgDocFocusableModule,
|
|
21
21
|
NgDocIconModule], exports: [NgDocNumberControlComponent] });
|
|
22
|
-
NgDocNumberControlModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.
|
|
22
|
+
NgDocNumberControlModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: NgDocNumberControlModule, providers: [provider], imports: [CommonModule,
|
|
23
23
|
NgDocInputWrapperModule,
|
|
24
24
|
NgDocInputNumberModule,
|
|
25
25
|
NgDocClearControlModule,
|
|
@@ -28,7 +28,7 @@ NgDocNumberControlModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0"
|
|
|
28
28
|
NgDocButtonIconModule,
|
|
29
29
|
NgDocFocusableModule,
|
|
30
30
|
NgDocIconModule] });
|
|
31
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
31
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: NgDocNumberControlModule, decorators: [{
|
|
32
32
|
type: NgModule,
|
|
33
33
|
args: [{
|
|
34
34
|
declarations: [NgDocNumberControlComponent],
|
|
@@ -17,9 +17,9 @@ export class NgDocStringControlComponent extends FlControl {
|
|
|
17
17
|
this.updateModel(value === null && this.default ? this.defaultValue : value);
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
|
-
NgDocStringControlComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
21
|
-
NgDocStringControlComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.
|
|
22
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
20
|
+
NgDocStringControlComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: NgDocStringControlComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
21
|
+
NgDocStringControlComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.4", type: NgDocStringControlComponent, selector: "ng-doc-string-control", usesInheritance: true, ngImport: i0, template: "<ng-doc-input-wrapper [rightContent]=\"rightContent\" flControlSilencer>\n\t<input ngDocInputString [ngModel]=\"model\" (ngModelChange)=\"changeModel($event)\">\n\t<ng-template #rightContent>\n\t\t<button\n\t\t\tng-doc-button-icon\n\t\t\tsize=\"large\"\n\t\t\t[ngDocFocusable]=\"false\"\n\t\t\t[disabled]=\"disabled\"\n\t\t\t[rounded]=\"false\"\n\t\t\t(click)=\"updateModel(defaultValue)\"\n\t\t\t(focusout)=\"onTouched()\"\n\t\t\t*ngIf=\"model && model !== defaultValue\"\n\t\t>\n\t\t\t<ng-doc-icon icon=\"x\"></ng-doc-icon>\n\t\t</button>\n\t</ng-template>\n</ng-doc-input-wrapper>\n", styles: [":host{display:block;width:100%}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.NgDocInputWrapperComponent, selector: "ng-doc-input-wrapper", inputs: ["blurContent", "blurContext", "leftContent", "rightContent", "align"] }, { kind: "directive", type: i2.NgDocInputStringDirective, selector: "input[ngDocInputString]" }, { kind: "directive", type: i3.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i4.FlControlSilencerDirective, selector: "[flControlSilencer]" }, { kind: "component", type: i2.NgDocIconComponent, selector: "ng-doc-icon", inputs: ["icon", "size"] }, { kind: "component", type: i2.NgDocButtonIconComponent, selector: "button[ng-doc-button-icon], a[ng-doc-button-icon]", inputs: ["size", "rounded"] }, { kind: "directive", type: i2.NgDocFocusableDirective, selector: "[ngDocFocusable]", inputs: ["ngDocFocusable"], exportAs: ["ngDocFocusable"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
22
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: NgDocStringControlComponent, decorators: [{
|
|
23
23
|
type: Component,
|
|
24
24
|
args: [{ selector: 'ng-doc-string-control', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-doc-input-wrapper [rightContent]=\"rightContent\" flControlSilencer>\n\t<input ngDocInputString [ngModel]=\"model\" (ngModelChange)=\"changeModel($event)\">\n\t<ng-template #rightContent>\n\t\t<button\n\t\t\tng-doc-button-icon\n\t\t\tsize=\"large\"\n\t\t\t[ngDocFocusable]=\"false\"\n\t\t\t[disabled]=\"disabled\"\n\t\t\t[rounded]=\"false\"\n\t\t\t(click)=\"updateModel(defaultValue)\"\n\t\t\t(focusout)=\"onTouched()\"\n\t\t\t*ngIf=\"model && model !== defaultValue\"\n\t\t>\n\t\t\t<ng-doc-icon icon=\"x\"></ng-doc-icon>\n\t\t</button>\n\t</ng-template>\n</ng-doc-input-wrapper>\n", styles: [":host{display:block;width:100%}\n"] }]
|
|
25
25
|
}], ctorParameters: function () { return []; } });
|
|
@@ -10,8 +10,8 @@ import * as i0 from "@angular/core";
|
|
|
10
10
|
const provider = provideTypeControl('string', NgDocStringControlComponent);
|
|
11
11
|
export class NgDocStringControlModule {
|
|
12
12
|
}
|
|
13
|
-
NgDocStringControlModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
14
|
-
NgDocStringControlModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.
|
|
13
|
+
NgDocStringControlModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: NgDocStringControlModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
14
|
+
NgDocStringControlModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.4", ngImport: i0, type: NgDocStringControlModule, declarations: [NgDocStringControlComponent], imports: [CommonModule,
|
|
15
15
|
NgDocInputWrapperModule,
|
|
16
16
|
NgDocInputStringModule,
|
|
17
17
|
NgDocClearControlModule,
|
|
@@ -21,7 +21,7 @@ NgDocStringControlModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0"
|
|
|
21
21
|
NgDocIconModule,
|
|
22
22
|
NgDocButtonIconModule,
|
|
23
23
|
NgDocFocusableModule], exports: [NgDocStringControlComponent] });
|
|
24
|
-
NgDocStringControlModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.
|
|
24
|
+
NgDocStringControlModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: NgDocStringControlModule, providers: [provider], imports: [CommonModule,
|
|
25
25
|
NgDocInputWrapperModule,
|
|
26
26
|
NgDocInputStringModule,
|
|
27
27
|
NgDocClearControlModule,
|
|
@@ -31,7 +31,7 @@ NgDocStringControlModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0"
|
|
|
31
31
|
NgDocIconModule,
|
|
32
32
|
NgDocButtonIconModule,
|
|
33
33
|
NgDocFocusableModule] });
|
|
34
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
34
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: NgDocStringControlModule, decorators: [{
|
|
35
35
|
type: NgModule,
|
|
36
36
|
args: [{
|
|
37
37
|
declarations: [NgDocStringControlComponent],
|
|
@@ -21,9 +21,9 @@ export class NgDocTypeAliasControlComponent extends FlControl {
|
|
|
21
21
|
this.updateModel(value === null && this.default ? this.defaultValue : value);
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
|
-
NgDocTypeAliasControlComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
25
|
-
NgDocTypeAliasControlComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.
|
|
26
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
24
|
+
NgDocTypeAliasControlComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: NgDocTypeAliasControlComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
25
|
+
NgDocTypeAliasControlComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.4", type: NgDocTypeAliasControlComponent, selector: "ng-doc-type-alias-control", usesInheritance: true, ngImport: i0, template: "<ng-doc-combobox [ngModel]=\"model\"\n\t\t\t\t [readonly]=\"true\"\n\t\t\t\t [valueContent]=\"valueTemplate\"\n\t\t\t\t [clearButton]=\"false\"\n\t\t\t\t [rightContent]=\"rightContent\"\n\t\t\t\t (ngModelChange)=\"changeModel($event)\">\n\t<ng-doc-list *ngDocData>\n\t\t<ng-container *ngFor=\"let option of options\">\n\t\t\t<ng-container *ngIf=\"option | ngDocExtractValue as value\">\n\t\t\t\t<ng-doc-option [value]=\"value\">\n\t\t\t\t\t<ng-container *ngTemplateOutlet=\"valueTemplate; context: {$implicit: value}\"></ng-container>\n\t\t\t\t</ng-doc-option>\n\t\t\t</ng-container>\n\t\t</ng-container>\n\t</ng-doc-list>\n\t<ng-template let-value #valueTemplate>\n\t\t<div ng-doc-text>\n\t\t\t<ng-doc-kind-icon [kind]=\"typeOf(value)\"\n\t\t\t\t\t\t\t [type]=\"'type'\"\n\t\t\t\t\t\t\t [ngDocTooltip]=\"typeOf(value)\"\n\t\t\t\t\t\t\t positions=\"left-center\"\n\t\t\t\t\t\t\t ngDocTextLeft>\n\t\t\t</ng-doc-kind-icon>\n\t\t\t<div>{{value}}</div>\n\t\t\t<span ng-doc-text\n\t\t\t\t color=\"muted\"\n\t\t\t\t size=\"small\"\n\t\t\t\t *ngIf=\"value === defaultValue\" ngDocTextRight>[default]</span>\n\t\t</div>\n\t</ng-template>\n\t<ng-template #rightContent>\n\t\t<button\n\t\t\tng-doc-button-icon\n\t\t\tsize=\"large\"\n\t\t\t[ngDocFocusable]=\"false\"\n\t\t\t[disabled]=\"disabled\"\n\t\t\t[rounded]=\"false\"\n\t\t\t(click)=\"updateModel(defaultValue)\"\n\t\t\t(focusout)=\"onTouched()\"\n\t\t\t*ngIf=\"model && model !== defaultValue\"\n\t\t>\n\t\t\t<ng-doc-icon icon=\"x\"></ng-doc-icon>\n\t\t</button>\n\t</ng-template>\n</ng-doc-combobox>\n", styles: [":host{display:block;width:100%}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: i2.NgDocComboboxComponent, selector: "ng-doc-combobox", inputs: ["readonly", "placeholder", "clearButton", "rightContent", "valueContent"] }, { kind: "directive", type: i2.NgDocDataDirective, selector: "[ngDocData]" }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i2.NgDocOptionComponent, selector: "ng-doc-option" }, { kind: "component", type: i2.NgDocListComponent, selector: "ng-doc-list" }, { kind: "component", type: i2.NgDocTextComponent, selector: "[ng-doc-text]", inputs: ["size", "color", "align", "absoluteContent"] }, { kind: "directive", type: i2.NgDocTextLeftDirective, selector: "[ngDocTextLeft]" }, { kind: "directive", type: i2.NgDocTextRightDirective, selector: "[ngDocTextRight]" }, { kind: "component", type: i4.NgDocKindIconComponent, selector: "ng-doc-kind-icon", inputs: ["kind", "type"] }, { kind: "directive", type: i2.NgDocTooltipDirective, selector: "[ngDocTooltip]", inputs: ["ngDocTooltip", "delay", "displayOrigin", "pointerOrigin", "positions", "canOpen", "panelClass", "minHeight", "maxHeight", "height", "minWidth", "maxWidth", "width"], outputs: ["beforeOpen", "afterOpen", "beforeClose", "afterClose"], exportAs: ["ngDocTooltip"] }, { kind: "component", type: i2.NgDocButtonIconComponent, selector: "button[ng-doc-button-icon], a[ng-doc-button-icon]", inputs: ["size", "rounded"] }, { kind: "directive", type: i2.NgDocFocusableDirective, selector: "[ngDocFocusable]", inputs: ["ngDocFocusable"], exportAs: ["ngDocFocusable"] }, { kind: "component", type: i2.NgDocIconComponent, selector: "ng-doc-icon", inputs: ["icon", "size"] }, { kind: "pipe", type: i5.NgDocExtractValuePipe, name: "ngDocExtractValue" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
26
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: NgDocTypeAliasControlComponent, decorators: [{
|
|
27
27
|
type: Component,
|
|
28
28
|
args: [{ selector: 'ng-doc-type-alias-control', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-doc-combobox [ngModel]=\"model\"\n\t\t\t\t [readonly]=\"true\"\n\t\t\t\t [valueContent]=\"valueTemplate\"\n\t\t\t\t [clearButton]=\"false\"\n\t\t\t\t [rightContent]=\"rightContent\"\n\t\t\t\t (ngModelChange)=\"changeModel($event)\">\n\t<ng-doc-list *ngDocData>\n\t\t<ng-container *ngFor=\"let option of options\">\n\t\t\t<ng-container *ngIf=\"option | ngDocExtractValue as value\">\n\t\t\t\t<ng-doc-option [value]=\"value\">\n\t\t\t\t\t<ng-container *ngTemplateOutlet=\"valueTemplate; context: {$implicit: value}\"></ng-container>\n\t\t\t\t</ng-doc-option>\n\t\t\t</ng-container>\n\t\t</ng-container>\n\t</ng-doc-list>\n\t<ng-template let-value #valueTemplate>\n\t\t<div ng-doc-text>\n\t\t\t<ng-doc-kind-icon [kind]=\"typeOf(value)\"\n\t\t\t\t\t\t\t [type]=\"'type'\"\n\t\t\t\t\t\t\t [ngDocTooltip]=\"typeOf(value)\"\n\t\t\t\t\t\t\t positions=\"left-center\"\n\t\t\t\t\t\t\t ngDocTextLeft>\n\t\t\t</ng-doc-kind-icon>\n\t\t\t<div>{{value}}</div>\n\t\t\t<span ng-doc-text\n\t\t\t\t color=\"muted\"\n\t\t\t\t size=\"small\"\n\t\t\t\t *ngIf=\"value === defaultValue\" ngDocTextRight>[default]</span>\n\t\t</div>\n\t</ng-template>\n\t<ng-template #rightContent>\n\t\t<button\n\t\t\tng-doc-button-icon\n\t\t\tsize=\"large\"\n\t\t\t[ngDocFocusable]=\"false\"\n\t\t\t[disabled]=\"disabled\"\n\t\t\t[rounded]=\"false\"\n\t\t\t(click)=\"updateModel(defaultValue)\"\n\t\t\t(focusout)=\"onTouched()\"\n\t\t\t*ngIf=\"model && model !== defaultValue\"\n\t\t>\n\t\t\t<ng-doc-icon icon=\"x\"></ng-doc-icon>\n\t\t</button>\n\t</ng-template>\n</ng-doc-combobox>\n", styles: [":host{display:block;width:100%}\n"] }]
|
|
29
29
|
}], ctorParameters: function () { return []; } });
|
|
@@ -10,8 +10,8 @@ import * as i0 from "@angular/core";
|
|
|
10
10
|
const provider = provideTypeControl('NgDocTypeAlias', NgDocTypeAliasControlComponent);
|
|
11
11
|
export class NgDocTypeAliasControlModule {
|
|
12
12
|
}
|
|
13
|
-
NgDocTypeAliasControlModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
14
|
-
NgDocTypeAliasControlModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.
|
|
13
|
+
NgDocTypeAliasControlModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: NgDocTypeAliasControlModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
14
|
+
NgDocTypeAliasControlModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.4", ngImport: i0, type: NgDocTypeAliasControlModule, declarations: [NgDocTypeAliasControlComponent], imports: [CommonModule,
|
|
15
15
|
NgDocComboboxModule,
|
|
16
16
|
NgDocDataModule,
|
|
17
17
|
FormsModule,
|
|
@@ -24,7 +24,7 @@ NgDocTypeAliasControlModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0
|
|
|
24
24
|
NgDocButtonIconModule,
|
|
25
25
|
NgDocFocusableModule,
|
|
26
26
|
NgDocIconModule], exports: [NgDocTypeAliasControlComponent] });
|
|
27
|
-
NgDocTypeAliasControlModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.
|
|
27
|
+
NgDocTypeAliasControlModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: NgDocTypeAliasControlModule, providers: [provider], imports: [CommonModule,
|
|
28
28
|
NgDocComboboxModule,
|
|
29
29
|
NgDocDataModule,
|
|
30
30
|
FormsModule,
|
|
@@ -37,7 +37,7 @@ NgDocTypeAliasControlModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0
|
|
|
37
37
|
NgDocButtonIconModule,
|
|
38
38
|
NgDocFocusableModule,
|
|
39
39
|
NgDocIconModule] });
|
|
40
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
40
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: NgDocTypeAliasControlModule, decorators: [{
|
|
41
41
|
type: NgModule,
|
|
42
42
|
args: [{
|
|
43
43
|
declarations: [NgDocTypeAliasControlComponent],
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { NgDocSearchEngine } from '@ng-doc/app/classes/search-engine';
|
|
2
|
+
import { asArray } from '@ng-doc/core/helpers/as-array';
|
|
3
|
+
import { objectKeys } from '@ng-doc/core/helpers/object-keys';
|
|
4
|
+
import { create, stemmers, insertMultiple } from '@orama/orama';
|
|
5
|
+
import { afterInsert, searchWithHighlight } from '@orama/plugin-match-highlight';
|
|
6
|
+
import { from } from 'rxjs';
|
|
7
|
+
import { map, switchMap, shareReplay } from 'rxjs/operators';
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Search engine for the documentation, it loads the index and provides a search method.
|
|
11
|
+
*/
|
|
12
|
+
class NgDocDefaultSearchEngine extends NgDocSearchEngine {
|
|
13
|
+
constructor(options) {
|
|
14
|
+
super();
|
|
15
|
+
this.options = options;
|
|
16
|
+
this.db$ = from(create({
|
|
17
|
+
schema: {
|
|
18
|
+
title: 'string',
|
|
19
|
+
section: 'string',
|
|
20
|
+
content: 'string',
|
|
21
|
+
},
|
|
22
|
+
components: {
|
|
23
|
+
afterInsert: [afterInsert],
|
|
24
|
+
tokenizer: {
|
|
25
|
+
language: (options === null || options === void 0 ? void 0 : options.language) || 'english',
|
|
26
|
+
stemmer: stemmers[(options === null || options === void 0 ? void 0 : options.language) || 'english'],
|
|
27
|
+
},
|
|
28
|
+
},
|
|
29
|
+
})).pipe(map((db) => db), switchMap((db) => this.request(`assets/ng-doc/indexes.json`).pipe(switchMap((pages) => insertMultiple(db, pages)), map(() => db))), shareReplay(1));
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Search the documentation for the given query.
|
|
33
|
+
*
|
|
34
|
+
* @param query The query to search for.
|
|
35
|
+
*/
|
|
36
|
+
search(query) {
|
|
37
|
+
return this.db$.pipe(switchMap((db) => {
|
|
38
|
+
var _a, _b, _c, _d;
|
|
39
|
+
return searchWithHighlight(db, {
|
|
40
|
+
term: query,
|
|
41
|
+
boost: { title: 4, section: 2 },
|
|
42
|
+
properties: ['section', 'content'],
|
|
43
|
+
tolerance: (_a = this.options) === null || _a === void 0 ? void 0 : _a.tolerance,
|
|
44
|
+
exact: (_b = this.options) === null || _b === void 0 ? void 0 : _b.exact,
|
|
45
|
+
limit: (_d = (_c = this.options) === null || _c === void 0 ? void 0 : _c.limit) !== null && _d !== void 0 ? _d : 10,
|
|
46
|
+
});
|
|
47
|
+
}), map((result) => result.hits.map((hit) => {
|
|
48
|
+
const keys = objectKeys(hit.positions);
|
|
49
|
+
return {
|
|
50
|
+
index: hit.document,
|
|
51
|
+
positions: keys.reduce((acc, key) => {
|
|
52
|
+
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
53
|
+
// @ts-ignore
|
|
54
|
+
acc[key] = [...asArray(acc[key]), ...Object.values(hit.positions[key]).flat()];
|
|
55
|
+
return acc;
|
|
56
|
+
}, {}),
|
|
57
|
+
};
|
|
58
|
+
})));
|
|
59
|
+
}
|
|
60
|
+
request(url) {
|
|
61
|
+
return from(fetch(url)).pipe(switchMap((response) => response.json()));
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* Generated bundle index. Do not edit.
|
|
67
|
+
*/
|
|
68
|
+
|
|
69
|
+
export { NgDocDefaultSearchEngine };
|
|
70
|
+
//# sourceMappingURL=ng-doc-app-classes-default-search-engine.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ng-doc-app-classes-default-search-engine.mjs","sources":["../../../../libs/app/classes/default-search-engine/default-search-engine.ts","../../../../libs/app/classes/default-search-engine/ng-doc-app-classes-default-search-engine.ts"],"sourcesContent":["import {NgDocSearchEngine} from '@ng-doc/app/classes/search-engine';\nimport {NgDocSearchResult} from '@ng-doc/app/interfaces';\nimport {asArray} from '@ng-doc/core/helpers/as-array';\nimport {objectKeys} from '@ng-doc/core/helpers/object-keys';\nimport {NgDocPageIndex} from '@ng-doc/core/interfaces';\nimport {NgDocHighlightPosition} from '@ng-doc/ui-kit';\nimport {create, insert, insertMultiple, Orama, stemmers} from '@orama/orama';\nimport {Document} from '@orama/orama/dist/types';\nimport {\n\tafterInsert,\n\tOramaWithHighlight,\n\tSearchResultWithHighlight,\n\tsearchWithHighlight,\n} from '@orama/plugin-match-highlight';\nimport {from, Observable} from 'rxjs';\nimport {map, shareReplay, switchMap} from 'rxjs/operators';\n\n/**\n * Possible languages for the `NgDocSearchEngine`.\n */\nexport type NgDocDefaultSearchEngineLanguage = keyof typeof stemmers;\n\n/**\n * Options for the `NgDocDefaultSearchEngine`.\n */\nexport interface NgDocDefaultSearchEngineOptions {\n\t/**\n\t * The language to use for the search engine.\n\t */\n\tlanguage?: NgDocDefaultSearchEngineLanguage;\n\t/**\n\t * Specifies the maximum distance (following the Levenshtein algorithm) between the term and the searchable property.\n\t * (doesn't work with `exact` option)\n\t */\n\ttolerance?: number;\n\t/**\n\t * If `true`, finds all the document with an exact match of the term property.\n\t */\n\texact?: boolean;\n\t/**\n\t * Number of results to return (default: 10).\n\t */\n\tlimit?: number;\n}\n\ninterface SearchSchema extends Document {\n\ttitle: 'string';\n\tsectionTitle: 'string';\n\tcontent: 'string';\n}\n\n\n/**\n * Search engine for the documentation, it loads the index and provides a search method.\n */\nexport class NgDocDefaultSearchEngine extends NgDocSearchEngine {\n\tprivate db$: Observable<OramaWithHighlight>;\n\n\tconstructor(private options?: NgDocDefaultSearchEngineOptions) {\n\t\tsuper();\n\t\tthis.db$ = from(\n\t\t\tcreate({\n\t\t\t\tschema: {\n\t\t\t\t\ttitle: 'string',\n\t\t\t\t\tsection: 'string',\n\t\t\t\t\tcontent: 'string',\n\t\t\t\t},\n\t\t\t\tcomponents: {\n\t\t\t\t\tafterInsert: [afterInsert],\n\t\t\t\t\ttokenizer: {\n\t\t\t\t\t\tlanguage: options?.language || 'english',\n\t\t\t\t\t\tstemmer: stemmers[options?.language || 'english'],\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t}),\n\t\t).pipe(\n\t\t\tmap((db: Orama) => db as OramaWithHighlight),\n\t\t\tswitchMap((db: OramaWithHighlight) =>\n\t\t\t\tthis.request<NgDocPageIndex[]>(`assets/ng-doc/indexes.json`).pipe(\n\t\t\t\t\tswitchMap((pages: NgDocPageIndex[]) =>\n\t\t\t\t\t\tinsertMultiple(db, pages as unknown as SearchSchema[]),\n\t\t\t\t\t),\n\t\t\t\t\tmap(() => db),\n\t\t\t\t),\n\t\t\t),\n\t\t\tshareReplay(1),\n\t\t) as Observable<OramaWithHighlight>;\n\t}\n\n\t/**\n\t * Search the documentation for the given query.\n\t *\n\t * @param query The query to search for.\n\t */\n\tsearch(query: string): Observable<NgDocSearchResult[]> {\n\t\treturn this.db$.pipe(\n\t\t\tswitchMap((db: OramaWithHighlight) =>\n\t\t\t\tsearchWithHighlight(db, {\n\t\t\t\t\tterm: query,\n\t\t\t\t\tboost: {title: 4, section: 2},\n\t\t\t\t\tproperties: ['section', 'content'],\n\t\t\t\t\ttolerance: this.options?.tolerance,\n\t\t\t\t\texact: this.options?.exact,\n\t\t\t\t\tlimit: this.options?.limit ?? 10,\n\t\t\t\t}),\n\t\t\t),\n\t\t\tmap((result: SearchResultWithHighlight) =>\n\t\t\t\tresult.hits.map((hit: SearchResultWithHighlight['hits'][0]) => {\n\t\t\t\t\tconst keys: Array<keyof NgDocPageIndex> = objectKeys(hit.positions) as unknown as Array<keyof NgDocPageIndex>;\n\n\t\t\t\t\treturn {\n\t\t\t\t\t\tindex: hit.document as unknown as NgDocPageIndex,\n\t\t\t\t\t\tpositions: keys.reduce((acc: Record<keyof NgDocPageIndex, NgDocHighlightPosition[]>, key: keyof NgDocPageIndex) => {\n\t\t\t\t\t\t\t// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n\t\t\t\t\t\t\t// @ts-ignore\n\t\t\t\t\t\t\tacc[key] = [...asArray(acc[key]), ...Object.values(hit.positions[key]).flat()];\n\n\t\t\t\t\t\t\treturn acc;\n\t\t\t\t\t\t}, {} as any) as Partial<Record<keyof NgDocPageIndex, NgDocHighlightPosition[]>>,\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t)\n\t\t);\n\t}\n\n\tprivate request<T>(url: string): Observable<T> {\n\t\treturn from(fetch(url)).pipe(switchMap((response: Response) => response.json() as Promise<T>));\n\t}\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;AAoDA;;AAEG;AACG,MAAO,wBA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CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,QAAkB,KAAK,QAAQ,CAAC,IAAI,EAAgB,CAAC,CAAC,CAAC;KAC/F;AACD;;AChID;;AAEG;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-doc-app-classes-root-page.mjs","sources":["
|
|
1
|
+
{"version":3,"file":"ng-doc-app-classes-root-page.mjs","sources":["../../../../libs/app/classes/root-page/root-page.ts","../../../../libs/app/classes/root-page/ng-doc-app-classes-root-page.ts"],"sourcesContent":["import {NgDocDemoAssets} from '@ng-doc/app/interfaces';\nimport {NgDocPageType} from '@ng-doc/core';\nimport {NgDocDependencies} from '@ng-doc/core/interfaces';\n\n/**\n * Base class for NgDoc page\n */\nexport abstract class NgDocRootPage {\n\t/**\n\t * Route prefix\n\t */\n\tabstract readonly routePrefix?: string;\n\n\t/**\n\t * The type of the page\n\t */\n\tabstract readonly pageType: NgDocPageType;\n\t/**\n\t * Html content of the page\n\t */\n\tabstract readonly pageContent: string;\n\n\t/**\n\t * Edit URL that can be used to edit the page source file in the repository\n\t */\n\tabstract readonly editSourceFileUrl?: string;\n\n\t/**\n\t * View URL that can be used to view the page source file in the repository\n\t */\n\tabstract readonly viewSourceFileUrl?: string;\n\n\t/**\n\t * The page dependencies file\n\t */\n\tabstract readonly dependencies?: NgDocDependencies;\n\n\t/**\n\t * The page demo assets that have code examples of the demo components\n\t */\n\tabstract readonly demoAssets?: NgDocDemoAssets;\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"AAIA;;AAEG;MACmB,aAAa,CAAA;AAkClC;;ACzCD;;AAEG;;;;"}
|
|
@@ -1,55 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Abstract search engine class, that can be used to implement a custom search engine.
|
|
3
|
+
*/
|
|
5
4
|
class NgDocSearchEngine {
|
|
6
|
-
constructor() {
|
|
7
|
-
this.index$ = from(import('lunr')).pipe(switchMap((lunrLib) => forkJoin([
|
|
8
|
-
this.request(`assets/ng-doc/indexes.json`).pipe(map((index) => this.createIndex(lunrLib.default, index))),
|
|
9
|
-
this.request(`assets/ng-doc/pages.json`),
|
|
10
|
-
])), shareReplay(1));
|
|
11
|
-
}
|
|
12
|
-
search(query) {
|
|
13
|
-
return this.index$.pipe(map(([index, pages]) => this.queryIndex(query, index, pages)));
|
|
14
|
-
}
|
|
15
|
-
createIndex(lunrLib, indexes) {
|
|
16
|
-
const queryLexer = lunrLib
|
|
17
|
-
.QueryLexer;
|
|
18
|
-
queryLexer.termSeparator = lunrLib.tokenizer.separator = /\s+/;
|
|
19
|
-
return lunrLib.Index.load(indexes);
|
|
20
|
-
}
|
|
21
|
-
queryIndex(query, index, dictionary) {
|
|
22
|
-
query = query.replace(/^["']|['"]$/g, '');
|
|
23
|
-
try {
|
|
24
|
-
if (query.length) {
|
|
25
|
-
// First try a query where every term must be present
|
|
26
|
-
// (see https://lunrjs.com/guides/searching.html#term-presence)
|
|
27
|
-
const queryAll = query.replace(/\S+/g, '+$&');
|
|
28
|
-
let results = index.search(queryAll);
|
|
29
|
-
// If that was too restrictive just query for any term to be present
|
|
30
|
-
if (results.length === 0) {
|
|
31
|
-
results = index.search(query);
|
|
32
|
-
}
|
|
33
|
-
// If that is still too restrictive then search in the title for the first word in the query
|
|
34
|
-
if (results.length === 0) {
|
|
35
|
-
// E.g. if the search is "ngCont guide" then we search for "ngCont guide title:*ngCont*"
|
|
36
|
-
const titleQuery = 'heading:*' + query.split(' ', 1)[0] + '*';
|
|
37
|
-
results = index.search(query + ' ' + titleQuery);
|
|
38
|
-
}
|
|
39
|
-
// Map the hits into info about each page to be returned as results
|
|
40
|
-
return results.map((hit) => dictionary[hit.ref]).filter(isPresent);
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
catch (e) {
|
|
44
|
-
// If the search query cannot be parsed the index throws an error
|
|
45
|
-
// Log it and recover
|
|
46
|
-
console.error(e);
|
|
47
|
-
}
|
|
48
|
-
return [];
|
|
49
|
-
}
|
|
50
|
-
request(url) {
|
|
51
|
-
return from(fetch(url)).pipe(switchMap((response) => from(response.json())));
|
|
52
|
-
}
|
|
53
5
|
}
|
|
54
6
|
|
|
55
7
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-doc-app-classes-search-engine.mjs","sources":["../esm2020/classes/search-engine/search-engine.mjs","../esm2020/classes/search-engine/ng-doc-app-classes-search-engine.mjs"],"sourcesContent":["import { isPresent } from '@ng-doc/core/helpers/is-present';\nimport { forkJoin, from } from 'rxjs';\nimport { map, shareReplay, switchMap } from 'rxjs/operators';\nexport class NgDocSearchEngine {\n constructor() {\n this.index$ = from(import('lunr')).pipe(switchMap((lunrLib) => forkJoin([\n this.request(`assets/ng-doc/indexes.json`).pipe(map((index) => this.createIndex(lunrLib.default, index))),\n this.request(`assets/ng-doc/pages.json`),\n ])), shareReplay(1));\n }\n search(query) {\n return this.index$.pipe(map(([index, pages]) => this.queryIndex(query, index, pages)));\n }\n createIndex(lunrLib, indexes) {\n const queryLexer = lunrLib\n .QueryLexer;\n queryLexer.termSeparator = lunrLib.tokenizer.separator = /\\s+/;\n return lunrLib.Index.load(indexes);\n }\n queryIndex(query, index, dictionary) {\n query = query.replace(/^[\"']|['\"]$/g, '');\n try {\n if (query.length) {\n // First try a query where every term must be present\n // (see https://lunrjs.com/guides/searching.html#term-presence)\n const queryAll = query.replace(/\\S+/g, '+$&');\n let results = index.search(queryAll);\n // If that was too restrictive just query for any term to be present\n if (results.length === 0) {\n results = index.search(query);\n }\n // If that is still too restrictive then search in the title for the first word in the query\n if (results.length === 0) {\n // E.g. if the search is \"ngCont guide\" then we search for \"ngCont guide title:*ngCont*\"\n const titleQuery = 'heading:*' + query.split(' ', 1)[0] + '*';\n results = index.search(query + ' ' + titleQuery);\n }\n // Map the hits into info about each page to be returned as results\n return results.map((hit) => dictionary[hit.ref]).filter(isPresent);\n }\n }\n catch (e) {\n // If the search query cannot be parsed the index throws an error\n // Log it and recover\n console.error(e);\n }\n return [];\n }\n request(url) {\n return from(fetch(url)).pipe(switchMap((response) => from(response.json())));\n }\n}\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VhcmNoLWVuZ2luZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvYXBwL2NsYXNzZXMvc2VhcmNoLWVuZ2luZS9zZWFyY2gtZW5naW5lLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxTQUFTLEVBQUMsTUFBTSxpQ0FBaUMsQ0FBQztBQUcxRCxPQUFPLEVBQUMsUUFBUSxFQUFFLElBQUksRUFBYSxNQUFNLE1BQU0sQ0FBQztBQUNoRCxPQUFPLEVBQUMsR0FBRyxFQUFFLFdBQVcsRUFBRSxTQUFTLEVBQUMsTUFBTSxnQkFBZ0IsQ0FBQztBQUUzRCxNQUFNLE9BQU8saUJBQWlCO0lBRzdCO1FBQ0MsSUFBSSxDQUFDLE1BQU0sR0FBRyxJQUFJLENBQUMsTUFBTSxDQUFDLE1BQU0sQ0FBQyxDQUFDLENBQUMsSUFBSSxDQUN0QyxTQUFTLENBQUMsQ0FBQyxPQUFZLEVBQUUsRUFBRSxDQUMxQixRQUFRLENBQUM7WUFDUixJQUFJLENBQUMsT0FBTyxDQUFTLDRCQUE0QixDQUFDLENBQUMsSUFBSSxDQUN0RCxHQUFHLENBQUMsQ0FBQyxLQUFhLEVBQUUsRUFBRSxDQUFDLElBQUksQ0FBQyxXQUFXLENBQUMsT0FBTyxDQUFDLE9BQU8sRUFBRSxLQUFLLENBQUMsQ0FBQyxDQUNoRTtZQUNELElBQUksQ0FBQyxPQUFPLENBQWlCLDBCQUEwQixDQUFDO1NBQ3hELENBQUMsQ0FDRixFQUNELFdBQVc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IGludG8gaW5mbyBhYm91dCBlYWNoIHBhZ2UgdG8gYmUgcmV0dXJuZWQgYXMgcmVzdWx0c1xuXHRcdFx0XHRyZXR1cm4gcmVzdWx0cy5tYXAoKGhpdDogbHVuci5JbmRleC5SZXN1bHQpID0+IGRpY3Rpb25hcnlbaGl0LnJlZl0pLmZpbHRlcihpc1ByZXNlbnQpO1xuXHRcdFx0fVxuXHRcdH0gY2F0Y2ggKGUpIHtcblx0XHRcdC8vIElmIHRoZSBzZWFyY2ggcXVlcnkgY2Fubm90IGJlIHBhcnNlZCB0aGUgaW5kZXggdGhyb3dzIGFuIGVycm9yXG5cdFx0XHQvLyBMb2cgaXQgYW5kIHJlY292ZXJcblx0XHRcdGNvbnNvbGUuZXJyb3IoZSk7XG5cdFx0fVxuXHRcdHJldHVybiBbXTtcblx0fVxuXG5cdHByaXZhdGUgcmVxdWVzdDxUPih1cmw6IHN0cmluZyk6IE9ic2VydmFibGU8VD4ge1xuXHRcdHJldHVybiBmcm9tKGZldGNoKHVybCkpLnBpcGUoc3dpdGNoTWFwKChyZXNwb25zZTogUmVzcG9uc2UpID0+IGZyb20ocmVzcG9uc2UuanNvbigpKSBhcyBPYnNlcnZhYmxlPFQ+KSk7XG5cdH1cbn1cbiJdfQ==","/**\n * Generated bundle index. Do not edit.\n */\nexport * from './index';\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmctZG9jLWFwcC1jbGFzc2VzLXNlYXJjaC1lbmdpbmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL2FwcC9jbGFzc2VzL3NlYXJjaC1lbmdpbmUvbmctZG9jLWFwcC1jbGFzc2VzLXNlYXJjaC1lbmdpbmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCxjQUFjLFNBQVMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlx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/app/classes/search-engine/ng-doc-app-classes-search-engine.ts"],"sourcesContent":["import {NgDocSearchResult} from '@ng-doc/app/interfaces';\nimport {Observable} from 'rxjs';\n\n/**\n * Abstract search engine class, that can be used to implement a custom search engine.\n */\nexport abstract class NgDocSearchEngine {\n\tabstract search(query: string): Observable<NgDocSearchResult[]>;\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"AAGA;;AAEG;MACmB,iBAAiB,CAAA;AAEtC;;ACRD;;AAEG;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-doc-app-classes.mjs","sources":["
|
|
1
|
+
{"version":3,"file":"ng-doc-app-classes.mjs","sources":["../../../../libs/app/classes/ng-doc-app-classes.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AAAA;;AAEG"}
|
|
@@ -58,8 +58,8 @@ let NgDocApiListComponent = class NgDocApiListComponent {
|
|
|
58
58
|
return asArray(new Set(this.apiList.flatMap((api) => api.items).flatMap((item) => item.type))).sort();
|
|
59
59
|
}
|
|
60
60
|
};
|
|
61
|
-
NgDocApiListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
62
|
-
NgDocApiListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.
|
|
61
|
+
NgDocApiListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: NgDocApiListComponent, deps: [{ token: NG_DOC_API_LIST_TOKEN }, { token: i1.FormBuilder }, { token: i2.ActivatedRoute }, { token: i2.Router }], target: i0.ɵɵFactoryTarget.Component });
|
|
62
|
+
NgDocApiListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.4", type: NgDocApiListComponent, selector: "ng-doc-api-list", ngImport: i0, template: "<h1 ng-doc-text>API List</h1>\n<div class=\"ng-doc-api-list-wrapper\" *ngIf=\"api$ | async as api\">\n\t<form class=\"ng-doc-api-filter\" [formGroup]=\"formGroup\">\n\t\t<label class=\"ng-doc-api-filter-item\" ng-doc-label=\"Filter\">\n\t\t\t<ng-doc-input-wrapper [leftContent]=\"leftContent\">\n\t\t\t\t<ng-template #leftContent>\n\t\t\t\t\t<ng-doc-icon icon=\"search\"></ng-doc-icon>\n\t\t\t\t</ng-template>\n\t\t\t\t<input\n\t\t\t\t\tngDocInputString\n\t\t\t\t\t[formControl]=\"formGroup.controls.filter\"\n\t\t\t\t\tplaceholder=\"Type the name\"\n\t\t\t\t\tngDocAutofocus\n\t\t\t\t/>\n\t\t\t</ng-doc-input-wrapper>\n\t\t</label>\n\n\t\t<label class=\"ng-doc-api-filter-item\" ng-doc-label=\"Scope\">\n\t\t\t<ng-doc-combobox\n\t\t\t\t[formControl]=\"formGroup.controls.scope\"\n\t\t\t\t[valueContent]=\"comboboxScopeItem\"\n\t\t\t\t[readonly]=\"true\"\n\t\t\t\tplaceholder=\"Choose the scope\"\n\t\t\t>\n\t\t\t\t<ng-doc-list *ngDocData>\n\t\t\t\t\t<ng-doc-option *ngFor=\"let scope of scopes\" [value]=\"scope\">\n\t\t\t\t\t\t<ng-container *ngTemplateOutlet=\"comboboxScopeItem; context: {$implicit: scope}\"></ng-container>\n\t\t\t\t\t</ng-doc-option>\n\t\t\t\t</ng-doc-list>\n\t\t\t\t<ng-template let-value #comboboxScopeItem>\n\t\t\t\t\t{{ value }}\n\t\t\t\t</ng-template>\n\t\t\t</ng-doc-combobox>\n\t\t</label>\n\n\t\t<label class=\"ng-doc-api-filter-item\" ng-doc-label=\"Type\">\n\t\t\t<ng-doc-combobox\n\t\t\t\t[formControl]=\"formGroup.controls.type\"\n\t\t\t\t[valueContent]=\"comboboxTypeItem\"\n\t\t\t\t[readonly]=\"true\"\n\t\t\t\tplaceholder=\"Choose the entity type\"\n\t\t\t>\n\t\t\t\t<ng-doc-list *ngDocData>\n\t\t\t\t\t<ng-doc-option *ngFor=\"let type of types\" [value]=\"type\">\n\t\t\t\t\t\t<ng-container *ngTemplateOutlet=\"comboboxTypeItem; context: {$implicit: type}\"></ng-container>\n\t\t\t\t\t</ng-doc-option>\n\t\t\t\t</ng-doc-list>\n\t\t\t\t<ng-template let-value #comboboxTypeItem>\n\t\t\t\t\t<div ng-doc-text>\n\t\t\t\t\t\t<ng-doc-kind-icon\n\t\t\t\t\t\t\t[kind]=\"value\"\n\t\t\t\t\t\t\t[ngDocTooltip]=\"value\"\n\t\t\t\t\t\t\t[positions]=\"['left-center', 'right-center']\"\n\t\t\t\t\t\t\tngDocTextLeft\n\t\t\t\t\t\t>\n\t\t\t\t\t\t</ng-doc-kind-icon>\n\t\t\t\t\t\t{{ value }}\n\t\t\t\t\t</div>\n\t\t\t\t</ng-template>\n\t\t\t</ng-doc-combobox>\n\t\t</label>\n\t</form>\n\t<div class=\"ng-doc-api-list\">\n\t\t<div class=\"ng-doc-api-scope\" *ngFor=\"let scope of api\">\n\t\t\t<h3 class=\"ng-doc-scope-title\" ng-doc-text>{{ scope.title }}</h3>\n\t\t\t<ul class=\"ng-doc-scope-items\" *ngIf=\"scope.items.length\">\n\t\t\t\t<li class=\"ng-doc-scope-item\" *ngFor=\"let apiReference of scope.items\">\n\t\t\t\t\t<a class=\"ng-doc-scope-item-link\" [routerLink]=\"[apiReference.route]\">\n\t\t\t\t\t\t<ng-doc-kind-icon [kind]=\"apiReference.type\" [ngDocTooltip]=\"apiReference.type\">\n\t\t\t\t\t\t</ng-doc-kind-icon>\n\t\t\t\t\t\t{{ apiReference.name }}\n\t\t\t\t\t</a>\n\t\t\t\t</li>\n\t\t\t</ul>\n\t\t</div>\n\t</div>\n</div>\n", styles: [":host h1{margin-top:0}:host .ng-doc-api-list-wrapper .ng-doc-api-filter{display:flex;margin-top:calc(var(--ng-doc-base-gutter) * 3)}:host .ng-doc-api-list-wrapper .ng-doc-api-filter .ng-doc-api-filter-item{width:200px}:host .ng-doc-api-list-wrapper .ng-doc-api-filter .ng-doc-api-filter-item:not(:last-child){margin-right:calc(var(--ng-doc-base-gutter) * 2)}:host .ng-doc-api-list-wrapper .ng-doc-api-list{margin-top:calc(var(--ng-doc-base-gutter) * 2)}:host .ng-doc-api-list-wrapper .ng-doc-api-list .ng-doc-api-scope{display:flex;flex-direction:column}:host .ng-doc-api-list-wrapper .ng-doc-api-list .ng-doc-api-scope .ng-doc-scope-items{margin-top:calc(var(--ng-doc-base-gutter) * 3);list-style:none;padding:0}:host .ng-doc-api-list-wrapper .ng-doc-api-list .ng-doc-api-scope .ng-doc-scope-items .ng-doc-scope-item{margin:var(--ng-doc-base-gutter) 0;float:left;width:33%;overflow:hidden;min-width:330px;text-overflow:ellipsis;white-space:nowrap}:host .ng-doc-api-list-wrapper .ng-doc-api-list .ng-doc-api-scope .ng-doc-scope-items .ng-doc-scope-item .ng-doc-scope-item-link{display:flex;align-items:center;color:var(--ng-doc-text);text-decoration:none}:host .ng-doc-api-list-wrapper .ng-doc-api-list .ng-doc-api-scope .ng-doc-scope-items .ng-doc-scope-item .ng-doc-scope-item-link:hover{text-decoration:underline}:host .ng-doc-api-list-wrapper .ng-doc-api-list .ng-doc-api-scope .ng-doc-scope-items .ng-doc-scope-item .ng-doc-scope-item-link ng-doc-kind-icon{margin-right:var(--ng-doc-base-gutter);text-decoration:none!important}\n"], dependencies: [{ kind: "directive", type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: i4.NgDocTextComponent, selector: "[ng-doc-text]", inputs: ["size", "color", "align", "absoluteContent"] }, { kind: "directive", type: i4.NgDocTextLeftDirective, selector: "[ngDocTextLeft]" }, { kind: "component", type: i5.NgDocKindIconComponent, selector: "ng-doc-kind-icon", inputs: ["kind", "type"] }, { 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: "directive", type: i2.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "component", type: i4.NgDocInputWrapperComponent, selector: "ng-doc-input-wrapper", inputs: ["blurContent", "blurContext", "leftContent", "rightContent", "align"] }, { kind: "directive", type: i4.NgDocInputStringDirective, selector: "input[ngDocInputString]" }, { kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "component", type: i4.NgDocComboboxComponent, selector: "ng-doc-combobox", inputs: ["readonly", "placeholder", "clearButton", "rightContent", "valueContent"] }, { kind: "component", type: i4.NgDocOptionComponent, selector: "ng-doc-option" }, { kind: "directive", type: i4.NgDocDataDirective, selector: "[ngDocData]" }, { kind: "component", type: i4.NgDocListComponent, selector: "ng-doc-list" }, { kind: "component", type: i4.NgDocLabelComponent, selector: "label[ng-doc-label]", inputs: ["ng-doc-label", "align"] }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "component", type: i4.NgDocIconComponent, selector: "ng-doc-icon", inputs: ["icon", "size"] }, { kind: "directive", type: i4.NgDocAutofocusDirective, selector: "[ngDocAutofocus]", inputs: ["selectAll"] }, { kind: "pipe", type: i3.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
63
63
|
__decorate([
|
|
64
64
|
ngDocMakePure,
|
|
65
65
|
__metadata("design:type", Array),
|
|
@@ -76,7 +76,7 @@ NgDocApiListComponent = __decorate([
|
|
|
76
76
|
ActivatedRoute,
|
|
77
77
|
Router])
|
|
78
78
|
], NgDocApiListComponent);
|
|
79
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
79
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: NgDocApiListComponent, decorators: [{
|
|
80
80
|
type: Component,
|
|
81
81
|
args: [{ selector: 'ng-doc-api-list', changeDetection: ChangeDetectionStrategy.OnPush, template: "<h1 ng-doc-text>API List</h1>\n<div class=\"ng-doc-api-list-wrapper\" *ngIf=\"api$ | async as api\">\n\t<form class=\"ng-doc-api-filter\" [formGroup]=\"formGroup\">\n\t\t<label class=\"ng-doc-api-filter-item\" ng-doc-label=\"Filter\">\n\t\t\t<ng-doc-input-wrapper [leftContent]=\"leftContent\">\n\t\t\t\t<ng-template #leftContent>\n\t\t\t\t\t<ng-doc-icon icon=\"search\"></ng-doc-icon>\n\t\t\t\t</ng-template>\n\t\t\t\t<input\n\t\t\t\t\tngDocInputString\n\t\t\t\t\t[formControl]=\"formGroup.controls.filter\"\n\t\t\t\t\tplaceholder=\"Type the name\"\n\t\t\t\t\tngDocAutofocus\n\t\t\t\t/>\n\t\t\t</ng-doc-input-wrapper>\n\t\t</label>\n\n\t\t<label class=\"ng-doc-api-filter-item\" ng-doc-label=\"Scope\">\n\t\t\t<ng-doc-combobox\n\t\t\t\t[formControl]=\"formGroup.controls.scope\"\n\t\t\t\t[valueContent]=\"comboboxScopeItem\"\n\t\t\t\t[readonly]=\"true\"\n\t\t\t\tplaceholder=\"Choose the scope\"\n\t\t\t>\n\t\t\t\t<ng-doc-list *ngDocData>\n\t\t\t\t\t<ng-doc-option *ngFor=\"let scope of scopes\" [value]=\"scope\">\n\t\t\t\t\t\t<ng-container *ngTemplateOutlet=\"comboboxScopeItem; context: {$implicit: scope}\"></ng-container>\n\t\t\t\t\t</ng-doc-option>\n\t\t\t\t</ng-doc-list>\n\t\t\t\t<ng-template let-value #comboboxScopeItem>\n\t\t\t\t\t{{ value }}\n\t\t\t\t</ng-template>\n\t\t\t</ng-doc-combobox>\n\t\t</label>\n\n\t\t<label class=\"ng-doc-api-filter-item\" ng-doc-label=\"Type\">\n\t\t\t<ng-doc-combobox\n\t\t\t\t[formControl]=\"formGroup.controls.type\"\n\t\t\t\t[valueContent]=\"comboboxTypeItem\"\n\t\t\t\t[readonly]=\"true\"\n\t\t\t\tplaceholder=\"Choose the entity type\"\n\t\t\t>\n\t\t\t\t<ng-doc-list *ngDocData>\n\t\t\t\t\t<ng-doc-option *ngFor=\"let type of types\" [value]=\"type\">\n\t\t\t\t\t\t<ng-container *ngTemplateOutlet=\"comboboxTypeItem; context: {$implicit: type}\"></ng-container>\n\t\t\t\t\t</ng-doc-option>\n\t\t\t\t</ng-doc-list>\n\t\t\t\t<ng-template let-value #comboboxTypeItem>\n\t\t\t\t\t<div ng-doc-text>\n\t\t\t\t\t\t<ng-doc-kind-icon\n\t\t\t\t\t\t\t[kind]=\"value\"\n\t\t\t\t\t\t\t[ngDocTooltip]=\"value\"\n\t\t\t\t\t\t\t[positions]=\"['left-center', 'right-center']\"\n\t\t\t\t\t\t\tngDocTextLeft\n\t\t\t\t\t\t>\n\t\t\t\t\t\t</ng-doc-kind-icon>\n\t\t\t\t\t\t{{ value }}\n\t\t\t\t\t</div>\n\t\t\t\t</ng-template>\n\t\t\t</ng-doc-combobox>\n\t\t</label>\n\t</form>\n\t<div class=\"ng-doc-api-list\">\n\t\t<div class=\"ng-doc-api-scope\" *ngFor=\"let scope of api\">\n\t\t\t<h3 class=\"ng-doc-scope-title\" ng-doc-text>{{ scope.title }}</h3>\n\t\t\t<ul class=\"ng-doc-scope-items\" *ngIf=\"scope.items.length\">\n\t\t\t\t<li class=\"ng-doc-scope-item\" *ngFor=\"let apiReference of scope.items\">\n\t\t\t\t\t<a class=\"ng-doc-scope-item-link\" [routerLink]=\"[apiReference.route]\">\n\t\t\t\t\t\t<ng-doc-kind-icon [kind]=\"apiReference.type\" [ngDocTooltip]=\"apiReference.type\">\n\t\t\t\t\t\t</ng-doc-kind-icon>\n\t\t\t\t\t\t{{ apiReference.name }}\n\t\t\t\t\t</a>\n\t\t\t\t</li>\n\t\t\t</ul>\n\t\t</div>\n\t</div>\n</div>\n", styles: [":host h1{margin-top:0}:host .ng-doc-api-list-wrapper .ng-doc-api-filter{display:flex;margin-top:calc(var(--ng-doc-base-gutter) * 3)}:host .ng-doc-api-list-wrapper .ng-doc-api-filter .ng-doc-api-filter-item{width:200px}:host .ng-doc-api-list-wrapper .ng-doc-api-filter .ng-doc-api-filter-item:not(:last-child){margin-right:calc(var(--ng-doc-base-gutter) * 2)}:host .ng-doc-api-list-wrapper .ng-doc-api-list{margin-top:calc(var(--ng-doc-base-gutter) * 2)}:host .ng-doc-api-list-wrapper .ng-doc-api-list .ng-doc-api-scope{display:flex;flex-direction:column}:host .ng-doc-api-list-wrapper .ng-doc-api-list .ng-doc-api-scope .ng-doc-scope-items{margin-top:calc(var(--ng-doc-base-gutter) * 3);list-style:none;padding:0}:host .ng-doc-api-list-wrapper .ng-doc-api-list .ng-doc-api-scope .ng-doc-scope-items .ng-doc-scope-item{margin:var(--ng-doc-base-gutter) 0;float:left;width:33%;overflow:hidden;min-width:330px;text-overflow:ellipsis;white-space:nowrap}:host .ng-doc-api-list-wrapper .ng-doc-api-list .ng-doc-api-scope .ng-doc-scope-items .ng-doc-scope-item .ng-doc-scope-item-link{display:flex;align-items:center;color:var(--ng-doc-text);text-decoration:none}:host .ng-doc-api-list-wrapper .ng-doc-api-list .ng-doc-api-scope .ng-doc-scope-items .ng-doc-scope-item .ng-doc-scope-item-link:hover{text-decoration:underline}:host .ng-doc-api-list-wrapper .ng-doc-api-list .ng-doc-api-scope .ng-doc-scope-items .ng-doc-scope-item .ng-doc-scope-item-link ng-doc-kind-icon{margin-right:var(--ng-doc-base-gutter);text-decoration:none!important}\n"] }]
|
|
82
82
|
}], ctorParameters: function () {
|
|
@@ -88,8 +88,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImpor
|
|
|
88
88
|
|
|
89
89
|
class NgDocApiListModule {
|
|
90
90
|
}
|
|
91
|
-
NgDocApiListModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
92
|
-
NgDocApiListModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.
|
|
91
|
+
NgDocApiListModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: NgDocApiListModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
92
|
+
NgDocApiListModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.4", ngImport: i0, type: NgDocApiListModule, declarations: [NgDocApiListComponent], imports: [CommonModule,
|
|
93
93
|
NgDocTextModule,
|
|
94
94
|
NgDocKindIconModule,
|
|
95
95
|
NgDocTooltipModule,
|
|
@@ -105,7 +105,7 @@ NgDocApiListModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", vers
|
|
|
105
105
|
ReactiveFormsModule,
|
|
106
106
|
NgDocIconModule,
|
|
107
107
|
NgDocAutofocusModule], exports: [NgDocApiListComponent] });
|
|
108
|
-
NgDocApiListModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.
|
|
108
|
+
NgDocApiListModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: NgDocApiListModule, imports: [CommonModule,
|
|
109
109
|
NgDocTextModule,
|
|
110
110
|
NgDocKindIconModule,
|
|
111
111
|
NgDocTooltipModule,
|
|
@@ -121,7 +121,7 @@ NgDocApiListModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", vers
|
|
|
121
121
|
ReactiveFormsModule,
|
|
122
122
|
NgDocIconModule,
|
|
123
123
|
NgDocAutofocusModule] });
|
|
124
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
124
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: NgDocApiListModule, decorators: [{
|
|
125
125
|
type: NgModule,
|
|
126
126
|
args: [{
|
|
127
127
|
declarations: [NgDocApiListComponent],
|