@ng-doc/app 16.2.1 → 16.3.0-beta.2
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/classes/root-page/root-page.d.ts +2 -3
- package/components/api-list/api-list.component.d.ts +1 -1
- package/components/api-list/api-list.module.d.ts +6 -7
- package/components/breadcrumb/breadcrumb.component.d.ts +1 -1
- package/components/breadcrumb/index.d.ts +1 -2
- package/components/code/code.component.d.ts +1 -1
- package/components/code/index.d.ts +0 -1
- package/components/demo/demo.component.d.ts +1 -1
- package/components/demo/index.d.ts +0 -1
- package/components/demo-displayer/demo-displayer.component.d.ts +1 -1
- package/components/demo-displayer/index.d.ts +0 -1
- package/components/demo-pane/demo-pane.component.d.ts +1 -1
- package/components/demo-pane/index.d.ts +0 -1
- package/components/kind-icon/index.d.ts +0 -1
- package/components/kind-icon/kind-icon.component.d.ts +1 -1
- package/components/link/index.d.ts +0 -1
- package/components/link/link.component.d.ts +1 -1
- package/components/navbar/navbar.component.d.ts +1 -1
- package/components/navbar/navbar.module.d.ts +1 -7
- package/components/page/page.component.d.ts +1 -1
- package/components/page/page.module.d.ts +5 -10
- package/components/page-link/index.d.ts +0 -1
- package/components/page-link/page-link.component.d.ts +1 -1
- package/components/playground/index.d.ts +0 -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/playground/playground.component.d.ts +1 -1
- package/components/root/index.d.ts +0 -1
- package/components/root/root.component.d.ts +3 -3
- package/components/search/search.component.d.ts +1 -1
- package/components/search/search.module.d.ts +6 -7
- package/components/search-result/index.d.ts +0 -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/sidebar/sidebar.component.d.ts +1 -1
- package/components/sidebar/sidebar.module.d.ts +1 -13
- package/components/theme-toggle/index.d.ts +0 -1
- package/components/theme-toggle/theme-toggle.component.d.ts +1 -1
- package/components/toc/index.d.ts +0 -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/code-highlighter/index.d.ts +0 -1
- package/directives/route-active/index.d.ts +0 -1
- package/directives/route-active/route-active.directive.d.ts +1 -1
- package/esm2022/classes/root-page/root-page.mjs +1 -1
- package/esm2022/components/api-list/api-list.component.mjs +29 -8
- package/esm2022/components/api-list/api-list.module.mjs +5 -54
- package/esm2022/components/breadcrumb/breadcrumb.component.mjs +6 -6
- package/esm2022/components/breadcrumb/index.mjs +2 -3
- package/esm2022/components/code/code.component.mjs +16 -7
- package/esm2022/components/code/index.mjs +1 -2
- package/esm2022/components/demo/demo.component.mjs +19 -10
- package/esm2022/components/demo/index.mjs +1 -2
- package/esm2022/components/demo-displayer/demo-displayer.component.mjs +17 -7
- package/esm2022/components/demo-displayer/index.mjs +1 -2
- package/esm2022/components/demo-pane/demo-pane.component.mjs +20 -9
- package/esm2022/components/demo-pane/index.mjs +1 -2
- package/esm2022/components/kind-icon/index.mjs +1 -2
- package/esm2022/components/kind-icon/kind-icon.component.mjs +3 -3
- package/esm2022/components/link/index.mjs +1 -2
- package/esm2022/components/link/link.component.mjs +4 -4
- package/esm2022/components/navbar/navbar.component.mjs +16 -10
- package/esm2022/components/navbar/navbar.module.mjs +4 -28
- package/esm2022/components/page/page.component.mjs +31 -10
- package/esm2022/components/page/page.module.mjs +5 -59
- package/esm2022/components/page-link/index.mjs +1 -2
- package/esm2022/components/page-link/page-link.component.mjs +5 -5
- package/esm2022/components/playground/index.mjs +1 -2
- package/esm2022/components/playground/playground-demo/playground-demo.component.mjs +5 -5
- package/esm2022/components/playground/playground-properties/playground-properties.component.mjs +23 -8
- package/esm2022/components/playground/playground-property/playground-property.component.mjs +4 -4
- package/esm2022/components/playground/playground.component.mjs +8 -8
- package/esm2022/components/root/index.mjs +1 -2
- package/esm2022/components/root/root.component.mjs +11 -9
- package/esm2022/components/search/search.component.mjs +34 -10
- package/esm2022/components/search/search.module.mjs +5 -69
- package/esm2022/components/search-result/index.mjs +1 -2
- package/esm2022/components/search-result/search-result.component.mjs +7 -7
- package/esm2022/components/sidebar/sidebar-category/sidebar-category.component.mjs +18 -11
- package/esm2022/components/sidebar/sidebar-item/sidebar-item.component.mjs +5 -6
- package/esm2022/components/sidebar/sidebar.component.mjs +6 -6
- package/esm2022/components/sidebar/sidebar.module.mjs +4 -46
- package/esm2022/components/theme-toggle/index.mjs +1 -2
- package/esm2022/components/theme-toggle/theme-toggle.component.mjs +5 -5
- package/esm2022/components/toc/index.mjs +1 -2
- package/esm2022/components/toc/toc-element/toc-element.component.mjs +3 -3
- package/esm2022/components/toc/toc.component.mjs +4 -6
- package/esm2022/directives/code-highlighter/code-highlighter.directive.mjs +3 -2
- package/esm2022/directives/code-highlighter/index.mjs +1 -2
- package/esm2022/directives/route-active/index.mjs +1 -2
- package/esm2022/directives/route-active/route-active.directive.mjs +3 -2
- package/esm2022/modules/root/ng-doc.module.mjs +6 -6
- package/esm2022/pipes/extract-value/extract-value.pipe.mjs +3 -2
- package/esm2022/pipes/extract-value/index.mjs +1 -2
- package/esm2022/pipes/filter-by-text/filter-by-text.pipe.mjs +3 -2
- package/esm2022/pipes/filter-by-text/index.mjs +1 -2
- package/esm2022/pipes/sanitize-html/index.mjs +1 -2
- package/esm2022/pipes/sanitize-html/sanitize-html.pipe.mjs +3 -2
- package/esm2022/processors/blockquote-processor/blockquote-processor.directive.mjs +3 -2
- package/esm2022/processors/blockquote-processor/index.mjs +1 -2
- package/esm2022/processors/code-processor/code-processor.directive.mjs +3 -2
- package/esm2022/processors/code-processor/index.mjs +1 -2
- package/esm2022/processors/demo-pane-processor/demo-pane-processor.directive.mjs +3 -2
- package/esm2022/processors/demo-pane-processor/index.mjs +1 -2
- package/esm2022/processors/demo-processor/demo-processor.directive.mjs +3 -2
- package/esm2022/processors/demo-processor/index.mjs +1 -2
- package/esm2022/processors/icon-processor/icon-processor.directive.mjs +3 -2
- package/esm2022/processors/icon-processor/index.mjs +1 -2
- package/esm2022/processors/link-processor/index.mjs +1 -2
- package/esm2022/processors/link-processor/link-processor.directive.mjs +3 -2
- package/esm2022/processors/playground-processor/index.mjs +1 -2
- package/esm2022/processors/playground-processor/playground-processor.directive.mjs +3 -2
- package/esm2022/processors/tooltip-processor/index.mjs +1 -2
- package/esm2022/processors/tooltip-processor/tooltip-processor.directive.mjs +3 -2
- package/esm2022/processors/tooltip-processor/tooltip-wrapper.component.mjs +5 -5
- package/esm2022/type-controls/boolean-control/boolean-control.component.mjs +4 -4
- package/esm2022/type-controls/boolean-control/boolean-control.module.mjs +4 -6
- package/esm2022/type-controls/number-control/number-control.component.mjs +18 -8
- package/esm2022/type-controls/number-control/number-control.module.mjs +4 -32
- package/esm2022/type-controls/string-control/string-control.component.mjs +18 -8
- package/esm2022/type-controls/string-control/string-control.module.mjs +4 -36
- package/esm2022/type-controls/type-alias-control/type-alias-control.component.mjs +27 -8
- package/esm2022/type-controls/type-alias-control/type-alias-control.module.mjs +5 -46
- package/fesm2022/ng-doc-app-classes-root-page.mjs.map +1 -1
- package/fesm2022/ng-doc-app-components-api-list.mjs +31 -61
- package/fesm2022/ng-doc-app-components-api-list.mjs.map +1 -1
- package/fesm2022/ng-doc-app-components-breadcrumb.mjs +6 -22
- package/fesm2022/ng-doc-app-components-breadcrumb.mjs.map +1 -1
- package/fesm2022/ng-doc-app-components-code.mjs +17 -49
- package/fesm2022/ng-doc-app-components-code.mjs.map +1 -1
- package/fesm2022/ng-doc-app-components-demo-displayer.mjs +18 -53
- package/fesm2022/ng-doc-app-components-demo-displayer.mjs.map +1 -1
- package/fesm2022/ng-doc-app-components-demo-pane.mjs +20 -26
- package/fesm2022/ng-doc-app-components-demo-pane.mjs.map +1 -1
- package/fesm2022/ng-doc-app-components-demo.mjs +19 -48
- package/fesm2022/ng-doc-app-components-demo.mjs.map +1 -1
- package/fesm2022/ng-doc-app-components-kind-icon.mjs +4 -19
- package/fesm2022/ng-doc-app-components-kind-icon.mjs.map +1 -1
- package/fesm2022/ng-doc-app-components-link.mjs +5 -21
- package/fesm2022/ng-doc-app-components-link.mjs.map +1 -1
- package/fesm2022/ng-doc-app-components-navbar.mjs +18 -36
- package/fesm2022/ng-doc-app-components-navbar.mjs.map +1 -1
- package/fesm2022/ng-doc-app-components-page-link.mjs +5 -21
- package/fesm2022/ng-doc-app-components-page-link.mjs.map +1 -1
- package/fesm2022/ng-doc-app-components-page.mjs +33 -67
- package/fesm2022/ng-doc-app-components-page.mjs.map +1 -1
- package/fesm2022/ng-doc-app-components-playground.mjs +141 -204
- package/fesm2022/ng-doc-app-components-playground.mjs.map +1 -1
- package/fesm2022/ng-doc-app-components-root.mjs +12 -26
- package/fesm2022/ng-doc-app-components-root.mjs.map +1 -1
- package/fesm2022/ng-doc-app-components-search-result.mjs +8 -26
- package/fesm2022/ng-doc-app-components-search-result.mjs.map +1 -1
- package/fesm2022/ng-doc-app-components-search.mjs +35 -78
- package/fesm2022/ng-doc-app-components-search.mjs.map +1 -1
- package/fesm2022/ng-doc-app-components-sidebar.mjs +25 -57
- package/fesm2022/ng-doc-app-components-sidebar.mjs.map +1 -1
- package/fesm2022/ng-doc-app-components-theme-toggle.mjs +6 -22
- package/fesm2022/ng-doc-app-components-theme-toggle.mjs.map +1 -1
- package/fesm2022/ng-doc-app-components-toc.mjs +9 -24
- package/fesm2022/ng-doc-app-components-toc.mjs.map +1 -1
- package/fesm2022/ng-doc-app-directives-code-highlighter.mjs +4 -16
- package/fesm2022/ng-doc-app-directives-code-highlighter.mjs.map +1 -1
- package/fesm2022/ng-doc-app-directives-route-active.mjs +4 -18
- package/fesm2022/ng-doc-app-directives-route-active.mjs.map +1 -1
- package/fesm2022/ng-doc-app-modules-root.mjs +5 -5
- package/fesm2022/ng-doc-app-modules-root.mjs.map +1 -1
- package/fesm2022/ng-doc-app-pipes-extract-value.mjs +4 -16
- package/fesm2022/ng-doc-app-pipes-extract-value.mjs.map +1 -1
- package/fesm2022/ng-doc-app-pipes-filter-by-text.mjs +4 -16
- package/fesm2022/ng-doc-app-pipes-filter-by-text.mjs.map +1 -1
- package/fesm2022/ng-doc-app-pipes-sanitize-html.mjs +4 -16
- package/fesm2022/ng-doc-app-pipes-sanitize-html.mjs.map +1 -1
- package/fesm2022/ng-doc-app-processors-blockquote-processor.mjs +5 -18
- package/fesm2022/ng-doc-app-processors-blockquote-processor.mjs.map +1 -1
- package/fesm2022/ng-doc-app-processors-code-processor.mjs +5 -18
- package/fesm2022/ng-doc-app-processors-code-processor.mjs.map +1 -1
- package/fesm2022/ng-doc-app-processors-demo-pane-processor.mjs +5 -18
- package/fesm2022/ng-doc-app-processors-demo-pane-processor.mjs.map +1 -1
- package/fesm2022/ng-doc-app-processors-demo-processor.mjs +5 -18
- package/fesm2022/ng-doc-app-processors-demo-processor.mjs.map +1 -1
- package/fesm2022/ng-doc-app-processors-icon-processor.mjs +4 -16
- package/fesm2022/ng-doc-app-processors-icon-processor.mjs.map +1 -1
- package/fesm2022/ng-doc-app-processors-link-processor.mjs +4 -16
- package/fesm2022/ng-doc-app-processors-link-processor.mjs.map +1 -1
- package/fesm2022/ng-doc-app-processors-playground-processor.mjs +5 -18
- package/fesm2022/ng-doc-app-processors-playground-processor.mjs.map +1 -1
- package/fesm2022/ng-doc-app-processors-tooltip-processor.mjs +8 -22
- package/fesm2022/ng-doc-app-processors-tooltip-processor.mjs.map +1 -1
- package/fesm2022/ng-doc-app-type-controls-boolean-control.mjs +6 -8
- package/fesm2022/ng-doc-app-type-controls-boolean-control.mjs.map +1 -1
- package/fesm2022/ng-doc-app-type-controls-number-control.mjs +19 -39
- package/fesm2022/ng-doc-app-type-controls-number-control.mjs.map +1 -1
- package/fesm2022/ng-doc-app-type-controls-string-control.mjs +19 -43
- package/fesm2022/ng-doc-app-type-controls-string-control.mjs.map +1 -1
- package/fesm2022/ng-doc-app-type-controls-type-alias-control.mjs +29 -54
- package/fesm2022/ng-doc-app-type-controls-type-alias-control.mjs.map +1 -1
- package/modules/root/ng-doc.module.d.ts +1 -1
- package/package.json +3 -3
- package/pipes/extract-value/extract-value.pipe.d.ts +1 -1
- package/pipes/extract-value/index.d.ts +0 -1
- package/pipes/filter-by-text/filter-by-text.pipe.d.ts +1 -1
- package/pipes/filter-by-text/index.d.ts +0 -1
- package/pipes/sanitize-html/index.d.ts +0 -1
- package/pipes/sanitize-html/sanitize-html.pipe.d.ts +1 -1
- package/processors/blockquote-processor/blockquote-processor.directive.d.ts +1 -1
- package/processors/blockquote-processor/index.d.ts +0 -1
- package/processors/code-processor/code-processor.directive.d.ts +1 -1
- package/processors/code-processor/index.d.ts +0 -1
- package/processors/demo-pane-processor/demo-pane-processor.directive.d.ts +1 -1
- package/processors/demo-pane-processor/index.d.ts +0 -1
- package/processors/demo-processor/demo-processor.directive.d.ts +1 -1
- package/processors/demo-processor/index.d.ts +0 -1
- package/processors/icon-processor/icon-processor.directive.d.ts +1 -1
- package/processors/icon-processor/index.d.ts +0 -1
- package/processors/link-processor/index.d.ts +0 -1
- package/processors/link-processor/link-processor.directive.d.ts +1 -1
- package/processors/playground-processor/index.d.ts +0 -1
- package/processors/playground-processor/playground-processor.directive.d.ts +1 -1
- package/processors/tooltip-processor/index.d.ts +0 -1
- package/processors/tooltip-processor/tooltip-processor.directive.d.ts +1 -1
- package/processors/tooltip-processor/tooltip-wrapper.component.d.ts +1 -1
- package/type-controls/boolean-control/boolean-control.component.d.ts +1 -1
- package/type-controls/boolean-control/boolean-control.module.d.ts +3 -4
- package/type-controls/number-control/number-control.component.d.ts +1 -1
- package/type-controls/number-control/number-control.module.d.ts +5 -6
- package/type-controls/string-control/string-control.component.d.ts +1 -1
- package/type-controls/string-control/string-control.module.d.ts +5 -7
- package/type-controls/type-alias-control/type-alias-control.component.d.ts +1 -1
- package/type-controls/type-alias-control/type-alias-control.module.d.ts +5 -7
- package/components/breadcrumb/breadcrumb.module.d.ts +0 -10
- package/components/code/code.module.d.ts +0 -11
- package/components/demo/demo.module.d.ts +0 -12
- package/components/demo-displayer/demo-displayer.module.d.ts +0 -12
- package/components/demo-pane/demo-pane.module.d.ts +0 -11
- package/components/kind-icon/kind-icon.module.d.ts +0 -8
- package/components/link/link.module.d.ts +0 -9
- package/components/page-link/page-link.module.d.ts +0 -9
- package/components/playground/playground.module.d.ts +0 -15
- package/components/root/root.module.d.ts +0 -10
- package/components/search-result/search-result.module.d.ts +0 -11
- package/components/theme-toggle/theme-toggle.module.d.ts +0 -9
- package/components/toc/toc.module.d.ts +0 -11
- package/directives/code-highlighter/code-highlighter.module.d.ts +0 -7
- package/directives/route-active/route-active.module.d.ts +0 -8
- package/esm2022/components/breadcrumb/breadcrumb.module.mjs +0 -21
- package/esm2022/components/code/code.module.mjs +0 -45
- package/esm2022/components/demo/demo.module.mjs +0 -43
- package/esm2022/components/demo-displayer/demo-displayer.module.mjs +0 -49
- package/esm2022/components/demo-pane/demo-pane.module.mjs +0 -22
- package/esm2022/components/kind-icon/kind-icon.module.mjs +0 -19
- package/esm2022/components/link/link.module.mjs +0 -20
- package/esm2022/components/page-link/page-link.module.mjs +0 -20
- package/esm2022/components/playground/playground.module.mjs +0 -86
- package/esm2022/components/root/root.module.mjs +0 -21
- package/esm2022/components/search-result/search-result.module.mjs +0 -22
- package/esm2022/components/theme-toggle/theme-toggle.module.mjs +0 -20
- package/esm2022/components/toc/toc.module.mjs +0 -22
- package/esm2022/directives/code-highlighter/code-highlighter.module.mjs +0 -17
- package/esm2022/directives/route-active/route-active.module.mjs +0 -19
- package/esm2022/pipes/extract-value/extract-value.module.mjs +0 -17
- package/esm2022/pipes/filter-by-text/filter-by-text.module.mjs +0 -17
- package/esm2022/pipes/sanitize-html/sanitize-html.module.mjs +0 -17
- package/esm2022/processors/blockquote-processor/blockquote-processor.module.mjs +0 -19
- package/esm2022/processors/code-processor/code-processor.module.mjs +0 -19
- package/esm2022/processors/demo-pane-processor/demo-pane-processor.module.mjs +0 -19
- package/esm2022/processors/demo-processor/demo-processor.module.mjs +0 -19
- package/esm2022/processors/icon-processor/icon-processor.module.mjs +0 -17
- package/esm2022/processors/link-processor/link-processor.module.mjs +0 -17
- package/esm2022/processors/playground-processor/playground-processor.module.mjs +0 -19
- package/esm2022/processors/tooltip-processor/tooltip-processor.module.mjs +0 -20
- package/pipes/extract-value/extract-value.module.d.ts +0 -7
- package/pipes/filter-by-text/filter-by-text.module.d.ts +0 -7
- package/pipes/sanitize-html/sanitize-html.module.d.ts +0 -7
- package/processors/blockquote-processor/blockquote-processor.module.d.ts +0 -8
- package/processors/code-processor/code-processor.module.d.ts +0 -8
- package/processors/demo-pane-processor/demo-pane-processor.module.d.ts +0 -8
- package/processors/demo-processor/demo-processor.module.d.ts +0 -8
- package/processors/icon-processor/icon-processor.module.d.ts +0 -7
- package/processors/link-processor/link-processor.module.d.ts +0 -7
- package/processors/playground-processor/playground-processor.module.d.ts +0 -8
- package/processors/tooltip-processor/tooltip-processor.module.d.ts +0 -9
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-doc-app-pipes-extract-value.mjs","sources":["../../../../libs/app/pipes/extract-value/extract-value.pipe.ts","../../../../libs/app/pipes/extract-value/
|
|
1
|
+
{"version":3,"file":"ng-doc-app-pipes-extract-value.mjs","sources":["../../../../libs/app/pipes/extract-value/extract-value.pipe.ts","../../../../libs/app/pipes/extract-value/ng-doc-app-pipes-extract-value.ts"],"sourcesContent":["import {Pipe, PipeTransform} from '@angular/core';\nimport {extractValue} from '@ng-doc/core/helpers/extract-value';\nimport {NgDocExtractedValue} from '@ng-doc/core/types/extracted-value';\n\n@Pipe({\n\tname: 'ngDocExtractValue',\n\tstandalone: true,\n})\nexport class NgDocExtractValuePipe implements PipeTransform {\n\ttransform(value: string): NgDocExtractedValue {\n\t\treturn extractValue(value);\n\t}\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AAIA,MAIa,qBAAqB,CAAA;AACjC,IAAA,SAAS,CAAC,KAAa,EAAA;AACtB,QAAA,OAAO,YAAY,CAAC,KAAK,CAAC,CAAC;KAC3B;8GAHW,qBAAqB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA,CAAA,EAAA;4GAArB,qBAAqB,EAAA,YAAA,EAAA,IAAA,EAAA,IAAA,EAAA,mBAAA,EAAA,CAAA,CAAA,EAAA;;2FAArB,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBAJjC,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACL,oBAAA,IAAI,EAAE,mBAAmB;AACzB,oBAAA,UAAU,EAAE,IAAI;AAChB,iBAAA,CAAA;;;ACPD;;AAEG;;;;"}
|
|
@@ -1,30 +1,18 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Pipe
|
|
2
|
+
import { Pipe } from '@angular/core';
|
|
3
3
|
|
|
4
4
|
class NgDocFilterByTextPipe {
|
|
5
5
|
transform(items, searchTerm, matcher = (item, s) => String(item) === s) {
|
|
6
6
|
return items?.filter((item) => matcher(item, searchTerm)) ?? [];
|
|
7
7
|
}
|
|
8
8
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocFilterByTextPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
9
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.0.0", ngImport: i0, type: NgDocFilterByTextPipe, name: "ngDocFilterByText" }); }
|
|
9
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.0.0", ngImport: i0, type: NgDocFilterByTextPipe, isStandalone: true, name: "ngDocFilterByText" }); }
|
|
10
10
|
}
|
|
11
11
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocFilterByTextPipe, decorators: [{
|
|
12
12
|
type: Pipe,
|
|
13
13
|
args: [{
|
|
14
14
|
name: 'ngDocFilterByText',
|
|
15
|
-
|
|
16
|
-
}] });
|
|
17
|
-
|
|
18
|
-
class NgDocFilterByTextModule {
|
|
19
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocFilterByTextModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
20
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0", ngImport: i0, type: NgDocFilterByTextModule, declarations: [NgDocFilterByTextPipe], exports: [NgDocFilterByTextPipe] }); }
|
|
21
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocFilterByTextModule }); }
|
|
22
|
-
}
|
|
23
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocFilterByTextModule, decorators: [{
|
|
24
|
-
type: NgModule,
|
|
25
|
-
args: [{
|
|
26
|
-
declarations: [NgDocFilterByTextPipe],
|
|
27
|
-
exports: [NgDocFilterByTextPipe],
|
|
15
|
+
standalone: true,
|
|
28
16
|
}]
|
|
29
17
|
}] });
|
|
30
18
|
|
|
@@ -32,5 +20,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImpor
|
|
|
32
20
|
* Generated bundle index. Do not edit.
|
|
33
21
|
*/
|
|
34
22
|
|
|
35
|
-
export {
|
|
23
|
+
export { NgDocFilterByTextPipe };
|
|
36
24
|
//# sourceMappingURL=ng-doc-app-pipes-filter-by-text.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-doc-app-pipes-filter-by-text.mjs","sources":["../../../../libs/app/pipes/filter-by-text/filter-by-text.pipe.ts","../../../../libs/app/pipes/filter-by-text/
|
|
1
|
+
{"version":3,"file":"ng-doc-app-pipes-filter-by-text.mjs","sources":["../../../../libs/app/pipes/filter-by-text/filter-by-text.pipe.ts","../../../../libs/app/pipes/filter-by-text/ng-doc-app-pipes-filter-by-text.ts"],"sourcesContent":["import {Pipe, PipeTransform} from '@angular/core';\n\n@Pipe({\n\tname: 'ngDocFilterByText',\n\tstandalone: true,\n})\nexport class NgDocFilterByTextPipe<T> implements PipeTransform {\n\ttransform(\n\t\titems: readonly T[],\n\t\tsearchTerm: string,\n\t\tmatcher: (item: T, searchTerm: string) => boolean = (item: T, s: string) => String(item) === s,\n\t): readonly T[] {\n\t\treturn items?.filter((item: T) => matcher(item, searchTerm)) ?? [];\n\t}\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;AAEA,MAIa,qBAAqB,CAAA;AACjC,IAAA,SAAS,CACR,KAAmB,EACnB,UAAkB,EAClB,OAAA,GAAoD,CAAC,IAAO,EAAE,CAAS,KAAK,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,EAAA;AAE9F,QAAA,OAAO,KAAK,EAAE,MAAM,CAAC,CAAC,IAAO,KAAK,OAAO,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC,IAAI,EAAE,CAAC;KACnE;8GAPW,qBAAqB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA,CAAA,EAAA;4GAArB,qBAAqB,EAAA,YAAA,EAAA,IAAA,EAAA,IAAA,EAAA,mBAAA,EAAA,CAAA,CAAA,EAAA;;2FAArB,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBAJjC,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACL,oBAAA,IAAI,EAAE,mBAAmB;AACzB,oBAAA,UAAU,EAAE,IAAI;AAChB,iBAAA,CAAA;;;ACLD;;AAEG;;;;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Pipe
|
|
2
|
+
import { Pipe } from '@angular/core';
|
|
3
3
|
import * as i1 from '@angular/platform-browser';
|
|
4
4
|
|
|
5
5
|
class NgDocSanitizeHtmlPipe {
|
|
@@ -10,31 +10,19 @@ class NgDocSanitizeHtmlPipe {
|
|
|
10
10
|
return this.sanitizer.bypassSecurityTrustHtml(value);
|
|
11
11
|
}
|
|
12
12
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocSanitizeHtmlPipe, deps: [{ token: i1.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
13
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.0.0", ngImport: i0, type: NgDocSanitizeHtmlPipe, name: "ngDocSanitizeHtml" }); }
|
|
13
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.0.0", ngImport: i0, type: NgDocSanitizeHtmlPipe, isStandalone: true, name: "ngDocSanitizeHtml" }); }
|
|
14
14
|
}
|
|
15
15
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocSanitizeHtmlPipe, decorators: [{
|
|
16
16
|
type: Pipe,
|
|
17
17
|
args: [{
|
|
18
18
|
name: 'ngDocSanitizeHtml',
|
|
19
|
+
standalone: true,
|
|
19
20
|
}]
|
|
20
21
|
}], ctorParameters: function () { return [{ type: i1.DomSanitizer }]; } });
|
|
21
22
|
|
|
22
|
-
class NgDocSanitizeHtmlModule {
|
|
23
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocSanitizeHtmlModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
24
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0", ngImport: i0, type: NgDocSanitizeHtmlModule, declarations: [NgDocSanitizeHtmlPipe], exports: [NgDocSanitizeHtmlPipe] }); }
|
|
25
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocSanitizeHtmlModule }); }
|
|
26
|
-
}
|
|
27
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocSanitizeHtmlModule, decorators: [{
|
|
28
|
-
type: NgModule,
|
|
29
|
-
args: [{
|
|
30
|
-
declarations: [NgDocSanitizeHtmlPipe],
|
|
31
|
-
exports: [NgDocSanitizeHtmlPipe],
|
|
32
|
-
}]
|
|
33
|
-
}] });
|
|
34
|
-
|
|
35
23
|
/**
|
|
36
24
|
* Generated bundle index. Do not edit.
|
|
37
25
|
*/
|
|
38
26
|
|
|
39
|
-
export {
|
|
27
|
+
export { NgDocSanitizeHtmlPipe };
|
|
40
28
|
//# sourceMappingURL=ng-doc-app-pipes-sanitize-html.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-doc-app-pipes-sanitize-html.mjs","sources":["../../../../libs/app/pipes/sanitize-html/sanitize-html.pipe.ts","../../../../libs/app/pipes/sanitize-html/
|
|
1
|
+
{"version":3,"file":"ng-doc-app-pipes-sanitize-html.mjs","sources":["../../../../libs/app/pipes/sanitize-html/sanitize-html.pipe.ts","../../../../libs/app/pipes/sanitize-html/ng-doc-app-pipes-sanitize-html.ts"],"sourcesContent":["import {Pipe, PipeTransform} from '@angular/core';\nimport {DomSanitizer, SafeHtml} from '@angular/platform-browser';\n\n@Pipe({\n\tname: 'ngDocSanitizeHtml',\n\tstandalone: true,\n})\nexport class NgDocSanitizeHtmlPipe implements PipeTransform {\n\tconstructor(private readonly sanitizer: DomSanitizer) {}\n\n\ttransform(value: string): SafeHtml {\n\t\treturn this.sanitizer.bypassSecurityTrustHtml(value);\n\t}\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AAGA,MAIa,qBAAqB,CAAA;AACjC,IAAA,WAAA,CAA6B,SAAuB,EAAA;QAAvB,IAAS,CAAA,SAAA,GAAT,SAAS,CAAc;KAAI;AAExD,IAAA,SAAS,CAAC,KAAa,EAAA;QACtB,OAAO,IAAI,CAAC,SAAS,CAAC,uBAAuB,CAAC,KAAK,CAAC,CAAC;KACrD;8GALW,qBAAqB,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,YAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA,CAAA,EAAA;4GAArB,qBAAqB,EAAA,YAAA,EAAA,IAAA,EAAA,IAAA,EAAA,mBAAA,EAAA,CAAA,CAAA,EAAA;;2FAArB,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBAJjC,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACL,oBAAA,IAAI,EAAE,mBAAmB;AACzB,oBAAA,UAAU,EAAE,IAAI;AAChB,iBAAA,CAAA;;;ACND;;AAEG;;;;"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Directive
|
|
2
|
+
import { Directive } from '@angular/core';
|
|
3
3
|
import { NgDocHtmlProcessor } from '@ng-doc/app/processors/html-processor';
|
|
4
|
-
import { NgDocBlockquoteComponent
|
|
4
|
+
import { NgDocBlockquoteComponent } from '@ng-doc/ui-kit';
|
|
5
5
|
|
|
6
6
|
class NgDocBlockquoteProcessorDirective extends NgDocHtmlProcessor {
|
|
7
7
|
constructor(elementRef, viewContainerRef) {
|
|
@@ -18,32 +18,19 @@ class NgDocBlockquoteProcessorDirective extends NgDocHtmlProcessor {
|
|
|
18
18
|
};
|
|
19
19
|
}
|
|
20
20
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocBlockquoteProcessorDirective, deps: [{ token: i0.ElementRef }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
21
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0", type: NgDocBlockquoteProcessorDirective, selector: "[ngDocBlockquoteProcessor]", usesInheritance: true, ngImport: i0 }); }
|
|
21
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0", type: NgDocBlockquoteProcessorDirective, isStandalone: true, selector: "[ngDocBlockquoteProcessor]", usesInheritance: true, ngImport: i0 }); }
|
|
22
22
|
}
|
|
23
23
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocBlockquoteProcessorDirective, decorators: [{
|
|
24
24
|
type: Directive,
|
|
25
25
|
args: [{
|
|
26
26
|
selector: '[ngDocBlockquoteProcessor]',
|
|
27
|
+
standalone: true,
|
|
27
28
|
}]
|
|
28
29
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ViewContainerRef }]; } });
|
|
29
30
|
|
|
30
|
-
class NgDocBlockquoteProcessorModule {
|
|
31
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocBlockquoteProcessorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
32
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0", ngImport: i0, type: NgDocBlockquoteProcessorModule, declarations: [NgDocBlockquoteProcessorDirective], imports: [NgDocBlockquoteModule], exports: [NgDocBlockquoteProcessorDirective] }); }
|
|
33
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocBlockquoteProcessorModule, imports: [NgDocBlockquoteModule] }); }
|
|
34
|
-
}
|
|
35
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocBlockquoteProcessorModule, decorators: [{
|
|
36
|
-
type: NgModule,
|
|
37
|
-
args: [{
|
|
38
|
-
declarations: [NgDocBlockquoteProcessorDirective],
|
|
39
|
-
imports: [NgDocBlockquoteModule],
|
|
40
|
-
exports: [NgDocBlockquoteProcessorDirective],
|
|
41
|
-
}]
|
|
42
|
-
}] });
|
|
43
|
-
|
|
44
31
|
/**
|
|
45
32
|
* Generated bundle index. Do not edit.
|
|
46
33
|
*/
|
|
47
34
|
|
|
48
|
-
export { NgDocBlockquoteProcessorDirective
|
|
35
|
+
export { NgDocBlockquoteProcessorDirective };
|
|
49
36
|
//# sourceMappingURL=ng-doc-app-processors-blockquote-processor.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-doc-app-processors-blockquote-processor.mjs","sources":["../../../../libs/app/processors/blockquote-processor/blockquote-processor.directive.ts","../../../../libs/app/processors/blockquote-processor/
|
|
1
|
+
{"version":3,"file":"ng-doc-app-processors-blockquote-processor.mjs","sources":["../../../../libs/app/processors/blockquote-processor/blockquote-processor.directive.ts","../../../../libs/app/processors/blockquote-processor/ng-doc-app-processors-blockquote-processor.ts"],"sourcesContent":["import {Directive, ElementRef, ViewContainerRef} from '@angular/core';\nimport {NgDocProcessorOptions} from '@ng-doc/app/interfaces';\nimport {NgDocHtmlProcessor} from '@ng-doc/app/processors/html-processor';\nimport {NgDocBlockquoteComponent, NgDocBlockquoteType} from '@ng-doc/ui-kit';\n\n@Directive({\n\tselector: '[ngDocBlockquoteProcessor]',\n\tstandalone: true,\n})\nexport class NgDocBlockquoteProcessorDirective extends NgDocHtmlProcessor<NgDocBlockquoteComponent> {\n\tconstructor(\n\t\tprotected override readonly elementRef: ElementRef<HTMLElement>,\n\t\tprotected override readonly viewContainerRef: ViewContainerRef,\n\t) {\n\t\tsuper(elementRef, viewContainerRef, `ng-doc-blockquote`, NgDocBlockquoteComponent);\n\t}\n\n\tprotected override extractComponentOptions(element: Element): NgDocProcessorOptions<NgDocBlockquoteComponent> {\n\t\treturn {\n\t\t\tcontent: [Array.from(element.childNodes)],\n\t\t\tinputs: {\n\t\t\t\ttype: (element.getAttribute('type') as NgDocBlockquoteType) || 'default',\n\t\t\t},\n\t\t};\n\t}\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;AAKA,MAIa,iCAAkC,SAAQ,kBAA4C,CAAA;IAClG,WAC6B,CAAA,UAAmC,EACnC,gBAAkC,EAAA;QAE9D,KAAK,CAAC,UAAU,EAAE,gBAAgB,EAAE,CAAmB,iBAAA,CAAA,EAAE,wBAAwB,CAAC,CAAC;QAHvD,IAAU,CAAA,UAAA,GAAV,UAAU,CAAyB;QACnC,IAAgB,CAAA,gBAAA,GAAhB,gBAAgB,CAAkB;KAG9D;AAEkB,IAAA,uBAAuB,CAAC,OAAgB,EAAA;QAC1D,OAAO;YACN,OAAO,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC;AACzC,YAAA,MAAM,EAAE;gBACP,IAAI,EAAG,OAAO,CAAC,YAAY,CAAC,MAAM,CAAyB,IAAI,SAAS;AACxE,aAAA;SACD,CAAC;KACF;8GAfW,iCAAiC,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,UAAA,EAAA,EAAA,EAAA,KAAA,EAAA,EAAA,CAAA,gBAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;kGAAjC,iCAAiC,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,4BAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA,EAAA;;2FAAjC,iCAAiC,EAAA,UAAA,EAAA,CAAA;kBAJ7C,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,QAAQ,EAAE,4BAA4B;AACtC,oBAAA,UAAU,EAAE,IAAI;AAChB,iBAAA,CAAA;;;ACRD;;AAEG;;;;"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Directive
|
|
3
|
-
import { NgDocCodeComponent
|
|
2
|
+
import { Directive } from '@angular/core';
|
|
3
|
+
import { NgDocCodeComponent } from '@ng-doc/app/components/code';
|
|
4
4
|
import { NgDocHtmlProcessor } from '@ng-doc/app/processors/html-processor';
|
|
5
5
|
|
|
6
6
|
class NgDocCodeProcessorDirective extends NgDocHtmlProcessor {
|
|
@@ -23,32 +23,19 @@ class NgDocCodeProcessorDirective extends NgDocHtmlProcessor {
|
|
|
23
23
|
};
|
|
24
24
|
}
|
|
25
25
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocCodeProcessorDirective, deps: [{ token: i0.ElementRef }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
26
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0", type: NgDocCodeProcessorDirective, selector: "[ngDocCodeProcessor]", usesInheritance: true, ngImport: i0 }); }
|
|
26
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0", type: NgDocCodeProcessorDirective, isStandalone: true, selector: "[ngDocCodeProcessor]", usesInheritance: true, ngImport: i0 }); }
|
|
27
27
|
}
|
|
28
28
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocCodeProcessorDirective, decorators: [{
|
|
29
29
|
type: Directive,
|
|
30
30
|
args: [{
|
|
31
31
|
selector: '[ngDocCodeProcessor]',
|
|
32
|
+
standalone: true,
|
|
32
33
|
}]
|
|
33
34
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ViewContainerRef }]; } });
|
|
34
35
|
|
|
35
|
-
class NgDocCodeProcessorModule {
|
|
36
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocCodeProcessorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
37
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0", ngImport: i0, type: NgDocCodeProcessorModule, declarations: [NgDocCodeProcessorDirective], imports: [NgDocCodeModule], exports: [NgDocCodeProcessorDirective] }); }
|
|
38
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocCodeProcessorModule, imports: [NgDocCodeModule] }); }
|
|
39
|
-
}
|
|
40
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocCodeProcessorModule, decorators: [{
|
|
41
|
-
type: NgModule,
|
|
42
|
-
args: [{
|
|
43
|
-
declarations: [NgDocCodeProcessorDirective],
|
|
44
|
-
imports: [NgDocCodeModule],
|
|
45
|
-
exports: [NgDocCodeProcessorDirective],
|
|
46
|
-
}]
|
|
47
|
-
}] });
|
|
48
|
-
|
|
49
36
|
/**
|
|
50
37
|
* Generated bundle index. Do not edit.
|
|
51
38
|
*/
|
|
52
39
|
|
|
53
|
-
export { NgDocCodeProcessorDirective
|
|
40
|
+
export { NgDocCodeProcessorDirective };
|
|
54
41
|
//# sourceMappingURL=ng-doc-app-processors-code-processor.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-doc-app-processors-code-processor.mjs","sources":["../../../../libs/app/processors/code-processor/code-processor.directive.ts","../../../../libs/app/processors/code-processor/
|
|
1
|
+
{"version":3,"file":"ng-doc-app-processors-code-processor.mjs","sources":["../../../../libs/app/processors/code-processor/code-processor.directive.ts","../../../../libs/app/processors/code-processor/ng-doc-app-processors-code-processor.ts"],"sourcesContent":["import {Directive, ElementRef, ViewContainerRef} from '@angular/core';\nimport {NgDocCodeComponent} from '@ng-doc/app/components/code';\nimport {NgDocProcessorOptions} from '@ng-doc/app/interfaces';\nimport {NgDocHtmlProcessor} from '@ng-doc/app/processors/html-processor';\n\n@Directive({\n\tselector: '[ngDocCodeProcessor]',\n\tstandalone: true,\n})\nexport class NgDocCodeProcessorDirective extends NgDocHtmlProcessor<NgDocCodeComponent> {\n\tconstructor(\n\t\tprotected override readonly elementRef: ElementRef<HTMLElement>,\n\t\tprotected override readonly viewContainerRef: ViewContainerRef,\n\t) {\n\t\tsuper(elementRef, viewContainerRef, `pre code`, NgDocCodeComponent);\n\t}\n\n\tprotected override replaceElement(element: Element): Element {\n\t\treturn element.closest('pre') ?? element;\n\t}\n\n\tprotected override extractComponentOptions(element: Element): NgDocProcessorOptions<NgDocCodeComponent> {\n\t\treturn {\n\t\t\tinputs: {\n\t\t\t\tcopyButton: element.getAttribute('copyButton') !== 'false',\n\t\t\t\tfileName: element.getAttribute('fileName') ?? undefined,\n\t\t\t\tlineNumbers: element.getAttribute('lineNumbers') !== 'false',\n\t\t\t},\n\t\t\tcontent: [[element.closest('pre') ?? element]],\n\t\t};\n\t}\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;AAKA,MAIa,2BAA4B,SAAQ,kBAAsC,CAAA;IACtF,WAC6B,CAAA,UAAmC,EACnC,gBAAkC,EAAA;QAE9D,KAAK,CAAC,UAAU,EAAE,gBAAgB,EAAE,CAAU,QAAA,CAAA,EAAE,kBAAkB,CAAC,CAAC;QAHxC,IAAU,CAAA,UAAA,GAAV,UAAU,CAAyB;QACnC,IAAgB,CAAA,gBAAA,GAAhB,gBAAgB,CAAkB;KAG9D;AAEkB,IAAA,cAAc,CAAC,OAAgB,EAAA;QACjD,OAAO,OAAO,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,OAAO,CAAC;KACzC;AAEkB,IAAA,uBAAuB,CAAC,OAAgB,EAAA;QAC1D,OAAO;AACN,YAAA,MAAM,EAAE;gBACP,UAAU,EAAE,OAAO,CAAC,YAAY,CAAC,YAAY,CAAC,KAAK,OAAO;gBAC1D,QAAQ,EAAE,OAAO,CAAC,YAAY,CAAC,UAAU,CAAC,IAAI,SAAS;gBACvD,WAAW,EAAE,OAAO,CAAC,YAAY,CAAC,aAAa,CAAC,KAAK,OAAO;AAC5D,aAAA;AACD,YAAA,OAAO,EAAE,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,OAAO,CAAC,CAAC;SAC9C,CAAC;KACF;8GArBW,2BAA2B,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,UAAA,EAAA,EAAA,EAAA,KAAA,EAAA,EAAA,CAAA,gBAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;kGAA3B,2BAA2B,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,sBAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA,EAAA;;2FAA3B,2BAA2B,EAAA,UAAA,EAAA,CAAA;kBAJvC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,QAAQ,EAAE,sBAAsB;AAChC,oBAAA,UAAU,EAAE,IAAI;AAChB,iBAAA,CAAA;;;ACRD;;AAEG;;;;"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __decorate, __metadata } from 'tslib';
|
|
2
2
|
import * as i0 from '@angular/core';
|
|
3
|
-
import { ElementRef, ViewContainerRef, Directive
|
|
4
|
-
import { NgDocDemoPaneComponent
|
|
3
|
+
import { ElementRef, ViewContainerRef, Directive } from '@angular/core';
|
|
4
|
+
import { NgDocDemoPaneComponent } from '@ng-doc/app/components/demo-pane';
|
|
5
5
|
import { NgDocHtmlProcessor } from '@ng-doc/app/processors/html-processor';
|
|
6
6
|
import { UntilDestroy } from '@ngneat/until-destroy';
|
|
7
7
|
|
|
@@ -21,7 +21,7 @@ let NgDocDemoPaneProcessorDirective = class NgDocDemoPaneProcessorDirective exte
|
|
|
21
21
|
};
|
|
22
22
|
}
|
|
23
23
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocDemoPaneProcessorDirective, deps: [{ token: i0.ElementRef }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
24
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0", type: NgDocDemoPaneProcessorDirective, selector: "[ngDocDemoPaneProcessor]", usesInheritance: true, ngImport: i0 }); }
|
|
24
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0", type: NgDocDemoPaneProcessorDirective, isStandalone: true, selector: "[ngDocDemoPaneProcessor]", usesInheritance: true, ngImport: i0 }); }
|
|
25
25
|
};
|
|
26
26
|
NgDocDemoPaneProcessorDirective = __decorate([
|
|
27
27
|
UntilDestroy(),
|
|
@@ -32,26 +32,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImpor
|
|
|
32
32
|
type: Directive,
|
|
33
33
|
args: [{
|
|
34
34
|
selector: '[ngDocDemoPaneProcessor]',
|
|
35
|
+
standalone: true,
|
|
35
36
|
}]
|
|
36
37
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ViewContainerRef }]; } });
|
|
37
38
|
|
|
38
|
-
class NgDocDemoPaneProcessorModule {
|
|
39
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocDemoPaneProcessorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
40
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0", ngImport: i0, type: NgDocDemoPaneProcessorModule, declarations: [NgDocDemoPaneProcessorDirective], imports: [NgDocDemoPaneModule], exports: [NgDocDemoPaneProcessorDirective] }); }
|
|
41
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocDemoPaneProcessorModule, imports: [NgDocDemoPaneModule] }); }
|
|
42
|
-
}
|
|
43
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocDemoPaneProcessorModule, decorators: [{
|
|
44
|
-
type: NgModule,
|
|
45
|
-
args: [{
|
|
46
|
-
declarations: [NgDocDemoPaneProcessorDirective],
|
|
47
|
-
imports: [NgDocDemoPaneModule],
|
|
48
|
-
exports: [NgDocDemoPaneProcessorDirective],
|
|
49
|
-
}]
|
|
50
|
-
}] });
|
|
51
|
-
|
|
52
39
|
/**
|
|
53
40
|
* Generated bundle index. Do not edit.
|
|
54
41
|
*/
|
|
55
42
|
|
|
56
|
-
export { NgDocDemoPaneProcessorDirective
|
|
43
|
+
export { NgDocDemoPaneProcessorDirective };
|
|
57
44
|
//# sourceMappingURL=ng-doc-app-processors-demo-pane-processor.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-doc-app-processors-demo-pane-processor.mjs","sources":["../../../../libs/app/processors/demo-pane-processor/demo-pane-processor.directive.ts","../../../../libs/app/processors/demo-pane-processor/
|
|
1
|
+
{"version":3,"file":"ng-doc-app-processors-demo-pane-processor.mjs","sources":["../../../../libs/app/processors/demo-pane-processor/demo-pane-processor.directive.ts","../../../../libs/app/processors/demo-pane-processor/ng-doc-app-processors-demo-pane-processor.ts"],"sourcesContent":["import {Directive, ElementRef, ViewContainerRef} from '@angular/core';\nimport {NgDocDemoPaneComponent} from '@ng-doc/app/components/demo-pane';\nimport {NgDocProcessorOptions} from '@ng-doc/app/interfaces';\nimport {NgDocHtmlProcessor} from '@ng-doc/app/processors/html-processor';\nimport {UntilDestroy} from '@ngneat/until-destroy';\n\n/** Processor replaces html node with `NgDocDemoPaneComponent` to display demo */\n@Directive({\n\tselector: '[ngDocDemoPaneProcessor]',\n\tstandalone: true,\n})\n@UntilDestroy()\nexport class NgDocDemoPaneProcessorDirective extends NgDocHtmlProcessor<NgDocDemoPaneComponent> {\n\tconstructor(\n\t\tprotected override readonly elementRef: ElementRef<HTMLElement>,\n\t\tprotected override readonly viewContainerRef: ViewContainerRef,\n\t) {\n\t\tsuper(elementRef, viewContainerRef, `ng-doc-demo-pane`, NgDocDemoPaneComponent);\n\t}\n\n\tprotected override extractComponentOptions(element: Element): NgDocProcessorOptions<NgDocDemoPaneComponent> {\n\t\treturn {\n\t\t\tinputs: {\n\t\t\t\tcomponentName: element.getAttribute('componentName') || undefined,\n\t\t\t\toptions: JSON.parse(element.querySelector('#options')?.textContent ?? '') || {},\n\t\t\t},\n\t\t};\n\t}\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;AAMA;AACA,IAKa,+BAA+B,GAL5C,MAKa,+BAAgC,SAAQ,kBAA0C,CAAA;IAC9F,WAC6B,CAAA,UAAmC,EACnC,gBAAkC,EAAA;QAE9D,KAAK,CAAC,UAAU,EAAE,gBAAgB,EAAE,CAAkB,gBAAA,CAAA,EAAE,sBAAsB,CAAC,CAAC;QAHpD,IAAU,CAAA,UAAA,GAAV,UAAU,CAAyB;QACnC,IAAgB,CAAA,gBAAA,GAAhB,gBAAgB,CAAkB;KAG9D;AAEkB,IAAA,uBAAuB,CAAC,OAAgB,EAAA;QAC1D,OAAO;AACN,YAAA,MAAM,EAAE;gBACP,aAAa,EAAE,OAAO,CAAC,YAAY,CAAC,eAAe,CAAC,IAAI,SAAS;AACjE,gBAAA,OAAO,EAAE,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,aAAa,CAAC,UAAU,CAAC,EAAE,WAAW,IAAI,EAAE,CAAC,IAAI,EAAE;AAC/E,aAAA;SACD,CAAC;KACF;8GAfW,+BAA+B,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,UAAA,EAAA,EAAA,EAAA,KAAA,EAAA,EAAA,CAAA,gBAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;kGAA/B,+BAA+B,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,0BAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA,EAAA;;AAA/B,+BAA+B,GAAA,UAAA,CAAA;AAD3C,IAAA,YAAY,EAAE;qCAG2B,UAAU;QACJ,gBAAgB,CAAA,CAAA;AAHnD,CAAA,EAAA,+BAA+B,CAgB3C,CAAA;2FAhBY,+BAA+B,EAAA,UAAA,EAAA,CAAA;kBAL3C,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,QAAQ,EAAE,0BAA0B;AACpC,oBAAA,UAAU,EAAE,IAAI;AAChB,iBAAA,CAAA;;;ACVD;;AAEG;;;;"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __decorate, __metadata } from 'tslib';
|
|
2
2
|
import * as i0 from '@angular/core';
|
|
3
|
-
import { ElementRef, ViewContainerRef, Directive
|
|
4
|
-
import { NgDocDemoComponent
|
|
3
|
+
import { ElementRef, ViewContainerRef, Directive } from '@angular/core';
|
|
4
|
+
import { NgDocDemoComponent } from '@ng-doc/app/components/demo';
|
|
5
5
|
import { NgDocHtmlProcessor } from '@ng-doc/app/processors/html-processor';
|
|
6
6
|
import { UntilDestroy } from '@ngneat/until-destroy';
|
|
7
7
|
|
|
@@ -21,7 +21,7 @@ let NgDocDemoProcessorDirective = class NgDocDemoProcessorDirective extends NgDo
|
|
|
21
21
|
};
|
|
22
22
|
}
|
|
23
23
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocDemoProcessorDirective, deps: [{ token: i0.ElementRef }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
24
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0", type: NgDocDemoProcessorDirective, selector: "[ngDocDemoProcessor]", usesInheritance: true, ngImport: i0 }); }
|
|
24
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0", type: NgDocDemoProcessorDirective, isStandalone: true, selector: "[ngDocDemoProcessor]", usesInheritance: true, ngImport: i0 }); }
|
|
25
25
|
};
|
|
26
26
|
NgDocDemoProcessorDirective = __decorate([
|
|
27
27
|
UntilDestroy(),
|
|
@@ -32,26 +32,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImpor
|
|
|
32
32
|
type: Directive,
|
|
33
33
|
args: [{
|
|
34
34
|
selector: '[ngDocDemoProcessor]',
|
|
35
|
+
standalone: true,
|
|
35
36
|
}]
|
|
36
37
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ViewContainerRef }]; } });
|
|
37
38
|
|
|
38
|
-
class NgDocDemoProcessorModule {
|
|
39
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocDemoProcessorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
40
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0", ngImport: i0, type: NgDocDemoProcessorModule, declarations: [NgDocDemoProcessorDirective], imports: [NgDocDemoModule], exports: [NgDocDemoProcessorDirective] }); }
|
|
41
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocDemoProcessorModule, imports: [NgDocDemoModule] }); }
|
|
42
|
-
}
|
|
43
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocDemoProcessorModule, decorators: [{
|
|
44
|
-
type: NgModule,
|
|
45
|
-
args: [{
|
|
46
|
-
declarations: [NgDocDemoProcessorDirective],
|
|
47
|
-
imports: [NgDocDemoModule],
|
|
48
|
-
exports: [NgDocDemoProcessorDirective],
|
|
49
|
-
}]
|
|
50
|
-
}] });
|
|
51
|
-
|
|
52
39
|
/**
|
|
53
40
|
* Generated bundle index. Do not edit.
|
|
54
41
|
*/
|
|
55
42
|
|
|
56
|
-
export { NgDocDemoProcessorDirective
|
|
43
|
+
export { NgDocDemoProcessorDirective };
|
|
57
44
|
//# sourceMappingURL=ng-doc-app-processors-demo-processor.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-doc-app-processors-demo-processor.mjs","sources":["../../../../libs/app/processors/demo-processor/demo-processor.directive.ts","../../../../libs/app/processors/demo-processor/
|
|
1
|
+
{"version":3,"file":"ng-doc-app-processors-demo-processor.mjs","sources":["../../../../libs/app/processors/demo-processor/demo-processor.directive.ts","../../../../libs/app/processors/demo-processor/ng-doc-app-processors-demo-processor.ts"],"sourcesContent":["import {Directive, ElementRef, ViewContainerRef} from '@angular/core';\nimport {NgDocDemoComponent} from '@ng-doc/app/components/demo';\nimport {NgDocProcessorOptions} from '@ng-doc/app/interfaces';\nimport {NgDocHtmlProcessor} from '@ng-doc/app/processors/html-processor';\nimport {UntilDestroy} from '@ngneat/until-destroy';\n\n/** Processor replaces html node with `NgDocDemoComponent` to display demo */\n@Directive({\n\tselector: '[ngDocDemoProcessor]',\n\tstandalone: true,\n})\n@UntilDestroy()\nexport class NgDocDemoProcessorDirective extends NgDocHtmlProcessor<NgDocDemoComponent> {\n\tconstructor(\n\t\tprotected override readonly elementRef: ElementRef<HTMLElement>,\n\t\tprotected override readonly viewContainerRef: ViewContainerRef,\n\t) {\n\t\tsuper(elementRef, viewContainerRef, `ng-doc-demo`, NgDocDemoComponent);\n\t}\n\n\tprotected override extractComponentOptions(element: Element): NgDocProcessorOptions<NgDocDemoComponent> {\n\t\treturn {\n\t\t\tinputs: {\n\t\t\t\tcomponentName: element.getAttribute('componentName') || undefined,\n\t\t\t\toptions: JSON.parse(element.querySelector('#options')?.textContent ?? '') || {},\n\t\t\t},\n\t\t};\n\t}\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;AAMA;AACA,IAKa,2BAA2B,GALxC,MAKa,2BAA4B,SAAQ,kBAAsC,CAAA;IACtF,WAC6B,CAAA,UAAmC,EACnC,gBAAkC,EAAA;QAE9D,KAAK,CAAC,UAAU,EAAE,gBAAgB,EAAE,CAAa,WAAA,CAAA,EAAE,kBAAkB,CAAC,CAAC;QAH3C,IAAU,CAAA,UAAA,GAAV,UAAU,CAAyB;QACnC,IAAgB,CAAA,gBAAA,GAAhB,gBAAgB,CAAkB;KAG9D;AAEkB,IAAA,uBAAuB,CAAC,OAAgB,EAAA;QAC1D,OAAO;AACN,YAAA,MAAM,EAAE;gBACP,aAAa,EAAE,OAAO,CAAC,YAAY,CAAC,eAAe,CAAC,IAAI,SAAS;AACjE,gBAAA,OAAO,EAAE,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,aAAa,CAAC,UAAU,CAAC,EAAE,WAAW,IAAI,EAAE,CAAC,IAAI,EAAE;AAC/E,aAAA;SACD,CAAC;KACF;8GAfW,2BAA2B,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,UAAA,EAAA,EAAA,EAAA,KAAA,EAAA,EAAA,CAAA,gBAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;kGAA3B,2BAA2B,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,sBAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA,EAAA;;AAA3B,2BAA2B,GAAA,UAAA,CAAA;AADvC,IAAA,YAAY,EAAE;qCAG2B,UAAU;QACJ,gBAAgB,CAAA,CAAA;AAHnD,CAAA,EAAA,2BAA2B,CAgBvC,CAAA;2FAhBY,2BAA2B,EAAA,UAAA,EAAA,CAAA;kBALvC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,QAAQ,EAAE,sBAAsB;AAChC,oBAAA,UAAU,EAAE,IAAI;AAChB,iBAAA,CAAA;;;ACVD;;AAEG;;;;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Directive
|
|
2
|
+
import { Directive } from '@angular/core';
|
|
3
3
|
import { NgDocHtmlProcessor } from '@ng-doc/app/processors/html-processor';
|
|
4
4
|
import { NgDocIconComponent } from '@ng-doc/ui-kit';
|
|
5
5
|
|
|
@@ -18,31 +18,19 @@ class NgDocIconProcessorDirective extends NgDocHtmlProcessor {
|
|
|
18
18
|
};
|
|
19
19
|
}
|
|
20
20
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocIconProcessorDirective, deps: [{ token: i0.ElementRef }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
21
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0", type: NgDocIconProcessorDirective, selector: "[ngDocIconProcessor]", usesInheritance: true, ngImport: i0 }); }
|
|
21
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0", type: NgDocIconProcessorDirective, isStandalone: true, selector: "[ngDocIconProcessor]", usesInheritance: true, ngImport: i0 }); }
|
|
22
22
|
}
|
|
23
23
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocIconProcessorDirective, decorators: [{
|
|
24
24
|
type: Directive,
|
|
25
25
|
args: [{
|
|
26
26
|
selector: '[ngDocIconProcessor]',
|
|
27
|
+
standalone: true,
|
|
27
28
|
}]
|
|
28
29
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ViewContainerRef }]; } });
|
|
29
30
|
|
|
30
|
-
class NgDocIconProcessorModule {
|
|
31
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocIconProcessorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
32
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0", ngImport: i0, type: NgDocIconProcessorModule, declarations: [NgDocIconProcessorDirective], exports: [NgDocIconProcessorDirective] }); }
|
|
33
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocIconProcessorModule }); }
|
|
34
|
-
}
|
|
35
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocIconProcessorModule, decorators: [{
|
|
36
|
-
type: NgModule,
|
|
37
|
-
args: [{
|
|
38
|
-
declarations: [NgDocIconProcessorDirective],
|
|
39
|
-
exports: [NgDocIconProcessorDirective],
|
|
40
|
-
}]
|
|
41
|
-
}] });
|
|
42
|
-
|
|
43
31
|
/**
|
|
44
32
|
* Generated bundle index. Do not edit.
|
|
45
33
|
*/
|
|
46
34
|
|
|
47
|
-
export { NgDocIconProcessorDirective
|
|
35
|
+
export { NgDocIconProcessorDirective };
|
|
48
36
|
//# sourceMappingURL=ng-doc-app-processors-icon-processor.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-doc-app-processors-icon-processor.mjs","sources":["../../../../libs/app/processors/icon-processor/icon-processor.directive.ts","../../../../libs/app/processors/icon-processor/
|
|
1
|
+
{"version":3,"file":"ng-doc-app-processors-icon-processor.mjs","sources":["../../../../libs/app/processors/icon-processor/icon-processor.directive.ts","../../../../libs/app/processors/icon-processor/ng-doc-app-processors-icon-processor.ts"],"sourcesContent":["import {Directive, ElementRef, ViewContainerRef} from '@angular/core';\nimport {NgDocProcessorOptions} from '@ng-doc/app/interfaces';\nimport {NgDocHtmlProcessor} from '@ng-doc/app/processors/html-processor';\nimport {NgDocIconComponent, NgDocIconSize} from '@ng-doc/ui-kit';\n\n@Directive({\n\tselector: '[ngDocIconProcessor]',\n\tstandalone: true,\n})\nexport class NgDocIconProcessorDirective extends NgDocHtmlProcessor<NgDocIconComponent> {\n\tconstructor(\n\t\tprotected override readonly elementRef: ElementRef<HTMLElement>,\n\t\tprotected override readonly viewContainerRef: ViewContainerRef,\n\t) {\n\t\tsuper(elementRef, viewContainerRef, `ng-doc-icon`, NgDocIconComponent);\n\t}\n\n\tprotected override extractComponentOptions(element: Element): NgDocProcessorOptions<NgDocIconComponent> {\n\t\treturn {\n\t\t\tinputs: {\n\t\t\t\ticon: element.getAttribute('icon') ?? '',\n\t\t\t\tsize: (Number(element.getAttribute('size')) as NgDocIconSize) ?? 16,\n\t\t\t},\n\t\t};\n\t}\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;AAKA,MAIa,2BAA4B,SAAQ,kBAAsC,CAAA;IACtF,WAC6B,CAAA,UAAmC,EACnC,gBAAkC,EAAA;QAE9D,KAAK,CAAC,UAAU,EAAE,gBAAgB,EAAE,CAAa,WAAA,CAAA,EAAE,kBAAkB,CAAC,CAAC;QAH3C,IAAU,CAAA,UAAA,GAAV,UAAU,CAAyB;QACnC,IAAgB,CAAA,gBAAA,GAAhB,gBAAgB,CAAkB;KAG9D;AAEkB,IAAA,uBAAuB,CAAC,OAAgB,EAAA;QAC1D,OAAO;AACN,YAAA,MAAM,EAAE;gBACP,IAAI,EAAE,OAAO,CAAC,YAAY,CAAC,MAAM,CAAC,IAAI,EAAE;gBACxC,IAAI,EAAG,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,MAAM,CAAC,CAAmB,IAAI,EAAE;AACnE,aAAA;SACD,CAAC;KACF;8GAfW,2BAA2B,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,UAAA,EAAA,EAAA,EAAA,KAAA,EAAA,EAAA,CAAA,gBAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;kGAA3B,2BAA2B,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,sBAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA,EAAA;;2FAA3B,2BAA2B,EAAA,UAAA,EAAA,CAAA;kBAJvC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,QAAQ,EAAE,sBAAsB;AAChC,oBAAA,UAAU,EAAE,IAAI;AAChB,iBAAA,CAAA;;;ACRD;;AAEG;;;;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Directive
|
|
2
|
+
import { Directive } from '@angular/core';
|
|
3
3
|
import { NgDocPageLinkComponent } from '@ng-doc/app/components/page-link';
|
|
4
4
|
import { NgDocHtmlProcessor } from '@ng-doc/app/processors/html-processor';
|
|
5
5
|
|
|
@@ -19,31 +19,19 @@ class NgDocLinkProcessorDirective extends NgDocHtmlProcessor {
|
|
|
19
19
|
};
|
|
20
20
|
}
|
|
21
21
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocLinkProcessorDirective, deps: [{ token: i0.ElementRef }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
22
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0", type: NgDocLinkProcessorDirective, selector: "[ngDocLinkProcessor]", usesInheritance: true, ngImport: i0 }); }
|
|
22
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0", type: NgDocLinkProcessorDirective, isStandalone: true, selector: "[ngDocLinkProcessor]", usesInheritance: true, ngImport: i0 }); }
|
|
23
23
|
}
|
|
24
24
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocLinkProcessorDirective, decorators: [{
|
|
25
25
|
type: Directive,
|
|
26
26
|
args: [{
|
|
27
27
|
selector: '[ngDocLinkProcessor]',
|
|
28
|
+
standalone: true,
|
|
28
29
|
}]
|
|
29
30
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ViewContainerRef }]; } });
|
|
30
31
|
|
|
31
|
-
class NgDocLinkProcessorModule {
|
|
32
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocLinkProcessorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
33
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0", ngImport: i0, type: NgDocLinkProcessorModule, declarations: [NgDocLinkProcessorDirective], exports: [NgDocLinkProcessorDirective] }); }
|
|
34
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocLinkProcessorModule }); }
|
|
35
|
-
}
|
|
36
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocLinkProcessorModule, decorators: [{
|
|
37
|
-
type: NgModule,
|
|
38
|
-
args: [{
|
|
39
|
-
declarations: [NgDocLinkProcessorDirective],
|
|
40
|
-
exports: [NgDocLinkProcessorDirective],
|
|
41
|
-
}]
|
|
42
|
-
}] });
|
|
43
|
-
|
|
44
32
|
/**
|
|
45
33
|
* Generated bundle index. Do not edit.
|
|
46
34
|
*/
|
|
47
35
|
|
|
48
|
-
export { NgDocLinkProcessorDirective
|
|
36
|
+
export { NgDocLinkProcessorDirective };
|
|
49
37
|
//# sourceMappingURL=ng-doc-app-processors-link-processor.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-doc-app-processors-link-processor.mjs","sources":["../../../../libs/app/processors/link-processor/link-processor.directive.ts","../../../../libs/app/processors/link-processor/
|
|
1
|
+
{"version":3,"file":"ng-doc-app-processors-link-processor.mjs","sources":["../../../../libs/app/processors/link-processor/link-processor.directive.ts","../../../../libs/app/processors/link-processor/ng-doc-app-processors-link-processor.ts"],"sourcesContent":["import {Directive, ElementRef, ViewContainerRef} from '@angular/core';\nimport {NgDocPageLinkComponent} from '@ng-doc/app/components/page-link';\nimport {NgDocProcessorOptions} from '@ng-doc/app/interfaces';\nimport {NgDocHtmlProcessor} from '@ng-doc/app/processors/html-processor';\n\n@Directive({\n\tselector: '[ngDocLinkProcessor]',\n\tstandalone: true,\n})\nexport class NgDocLinkProcessorDirective extends NgDocHtmlProcessor<NgDocPageLinkComponent> {\n\tconstructor(\n\t\tprotected override readonly elementRef: ElementRef<HTMLElement>,\n\t\tprotected override readonly viewContainerRef: ViewContainerRef,\n\t) {\n\t\tsuper(elementRef, viewContainerRef, `a`, NgDocPageLinkComponent);\n\t}\n\n\tprotected override extractComponentOptions(element: Element): NgDocProcessorOptions<NgDocPageLinkComponent> {\n\t\treturn {\n\t\t\tinputs: {\n\t\t\t\thref: element.getAttribute('href') ?? '',\n\t\t\t\tclasses: element.getAttribute('class') ?? '',\n\t\t\t},\n\t\t\tcontent: [Array.from(element.childNodes)],\n\t\t};\n\t}\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;AAKA,MAIa,2BAA4B,SAAQ,kBAA0C,CAAA;IAC1F,WAC6B,CAAA,UAAmC,EACnC,gBAAkC,EAAA;QAE9D,KAAK,CAAC,UAAU,EAAE,gBAAgB,EAAE,CAAG,CAAA,CAAA,EAAE,sBAAsB,CAAC,CAAC;QAHrC,IAAU,CAAA,UAAA,GAAV,UAAU,CAAyB;QACnC,IAAgB,CAAA,gBAAA,GAAhB,gBAAgB,CAAkB;KAG9D;AAEkB,IAAA,uBAAuB,CAAC,OAAgB,EAAA;QAC1D,OAAO;AACN,YAAA,MAAM,EAAE;gBACP,IAAI,EAAE,OAAO,CAAC,YAAY,CAAC,MAAM,CAAC,IAAI,EAAE;gBACxC,OAAO,EAAE,OAAO,CAAC,YAAY,CAAC,OAAO,CAAC,IAAI,EAAE;AAC5C,aAAA;YACD,OAAO,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC;SACzC,CAAC;KACF;8GAhBW,2BAA2B,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,UAAA,EAAA,EAAA,EAAA,KAAA,EAAA,EAAA,CAAA,gBAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;kGAA3B,2BAA2B,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,sBAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA,EAAA;;2FAA3B,2BAA2B,EAAA,UAAA,EAAA,CAAA;kBAJvC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,QAAQ,EAAE,sBAAsB;AAChC,oBAAA,UAAU,EAAE,IAAI;AAChB,iBAAA,CAAA;;;ACRD;;AAEG;;;;"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Directive
|
|
3
|
-
import { NgDocPlaygroundComponent
|
|
2
|
+
import { Directive } from '@angular/core';
|
|
3
|
+
import { NgDocPlaygroundComponent } from '@ng-doc/app/components/playground';
|
|
4
4
|
import { NgDocHtmlProcessor } from '@ng-doc/app/processors/html-processor';
|
|
5
5
|
|
|
6
6
|
class NgDocPlaygroundProcessorDirective extends NgDocHtmlProcessor {
|
|
@@ -21,32 +21,19 @@ class NgDocPlaygroundProcessorDirective extends NgDocHtmlProcessor {
|
|
|
21
21
|
};
|
|
22
22
|
}
|
|
23
23
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocPlaygroundProcessorDirective, deps: [{ token: i0.ElementRef }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
24
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0", type: NgDocPlaygroundProcessorDirective, selector: "[ngDocPlaygroundProcessor]", usesInheritance: true, ngImport: i0 }); }
|
|
24
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0", type: NgDocPlaygroundProcessorDirective, isStandalone: true, selector: "[ngDocPlaygroundProcessor]", usesInheritance: true, ngImport: i0 }); }
|
|
25
25
|
}
|
|
26
26
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocPlaygroundProcessorDirective, decorators: [{
|
|
27
27
|
type: Directive,
|
|
28
28
|
args: [{
|
|
29
29
|
selector: '[ngDocPlaygroundProcessor]',
|
|
30
|
+
standalone: true,
|
|
30
31
|
}]
|
|
31
32
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ViewContainerRef }]; } });
|
|
32
33
|
|
|
33
|
-
class NgDocPlaygroundProcessorModule {
|
|
34
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocPlaygroundProcessorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
35
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0", ngImport: i0, type: NgDocPlaygroundProcessorModule, declarations: [NgDocPlaygroundProcessorDirective], imports: [NgDocPlaygroundModule], exports: [NgDocPlaygroundProcessorDirective] }); }
|
|
36
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocPlaygroundProcessorModule, imports: [NgDocPlaygroundModule] }); }
|
|
37
|
-
}
|
|
38
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocPlaygroundProcessorModule, decorators: [{
|
|
39
|
-
type: NgModule,
|
|
40
|
-
args: [{
|
|
41
|
-
declarations: [NgDocPlaygroundProcessorDirective],
|
|
42
|
-
imports: [NgDocPlaygroundModule],
|
|
43
|
-
exports: [NgDocPlaygroundProcessorDirective],
|
|
44
|
-
}]
|
|
45
|
-
}] });
|
|
46
|
-
|
|
47
34
|
/**
|
|
48
35
|
* Generated bundle index. Do not edit.
|
|
49
36
|
*/
|
|
50
37
|
|
|
51
|
-
export { NgDocPlaygroundProcessorDirective
|
|
38
|
+
export { NgDocPlaygroundProcessorDirective };
|
|
52
39
|
//# sourceMappingURL=ng-doc-app-processors-playground-processor.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-doc-app-processors-playground-processor.mjs","sources":["../../../../libs/app/processors/playground-processor/playground-processor.directive.ts","../../../../libs/app/processors/playground-processor/
|
|
1
|
+
{"version":3,"file":"ng-doc-app-processors-playground-processor.mjs","sources":["../../../../libs/app/processors/playground-processor/playground-processor.directive.ts","../../../../libs/app/processors/playground-processor/ng-doc-app-processors-playground-processor.ts"],"sourcesContent":["import {Directive, ElementRef, ViewContainerRef} from '@angular/core';\nimport {NgDocPlaygroundComponent} from '@ng-doc/app/components/playground';\nimport {NgDocProcessorOptions} from '@ng-doc/app/interfaces';\nimport {NgDocHtmlProcessor} from '@ng-doc/app/processors/html-processor';\n\n@Directive({\n\tselector: '[ngDocPlaygroundProcessor]',\n\tstandalone: true,\n})\nexport class NgDocPlaygroundProcessorDirective extends NgDocHtmlProcessor<NgDocPlaygroundComponent> {\n\tconstructor(\n\t\tprotected override readonly elementRef: ElementRef<HTMLElement>,\n\t\tprotected override readonly viewContainerRef: ViewContainerRef,\n\t) {\n\t\tsuper(elementRef, viewContainerRef, `ng-doc-playground`, NgDocPlaygroundComponent);\n\t}\n\n\tprotected override extractComponentOptions(element: Element): NgDocProcessorOptions<NgDocPlaygroundComponent> {\n\t\treturn {\n\t\t\tinputs: {\n\t\t\t\tid: element.getAttribute('id') || undefined,\n\t\t\t\tproperties: JSON.parse(element.querySelector('#data')?.textContent ?? '') || undefined,\n\t\t\t\tselectors: (element.querySelector('#selectors')?.textContent || '')\n\t\t\t\t\t.split(',')\n\t\t\t\t\t.map((selector: string) => selector.trim()),\n\t\t\t},\n\t\t};\n\t}\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;AAKA,MAIa,iCAAkC,SAAQ,kBAA4C,CAAA;IAClG,WAC6B,CAAA,UAAmC,EACnC,gBAAkC,EAAA;QAE9D,KAAK,CAAC,UAAU,EAAE,gBAAgB,EAAE,CAAmB,iBAAA,CAAA,EAAE,wBAAwB,CAAC,CAAC;QAHvD,IAAU,CAAA,UAAA,GAAV,UAAU,CAAyB;QACnC,IAAgB,CAAA,gBAAA,GAAhB,gBAAgB,CAAkB;KAG9D;AAEkB,IAAA,uBAAuB,CAAC,OAAgB,EAAA;QAC1D,OAAO;AACN,YAAA,MAAM,EAAE;gBACP,EAAE,EAAE,OAAO,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,SAAS;AAC3C,gBAAA,UAAU,EAAE,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,aAAa,CAAC,OAAO,CAAC,EAAE,WAAW,IAAI,EAAE,CAAC,IAAI,SAAS;AACtF,gBAAA,SAAS,EAAE,CAAC,OAAO,CAAC,aAAa,CAAC,YAAY,CAAC,EAAE,WAAW,IAAI,EAAE;qBAChE,KAAK,CAAC,GAAG,CAAC;qBACV,GAAG,CAAC,CAAC,QAAgB,KAAK,QAAQ,CAAC,IAAI,EAAE,CAAC;AAC5C,aAAA;SACD,CAAC;KACF;8GAlBW,iCAAiC,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,UAAA,EAAA,EAAA,EAAA,KAAA,EAAA,EAAA,CAAA,gBAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;kGAAjC,iCAAiC,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,4BAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA,EAAA;;2FAAjC,iCAAiC,EAAA,UAAA,EAAA,CAAA;kBAJ7C,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,QAAQ,EAAE,4BAA4B;AACtC,oBAAA,UAAU,EAAE,IAAI;AAChB,iBAAA,CAAA;;;ACRD;;AAEG;;;;"}
|