@ng-doc/builder 17.6.16 → 18.0.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/application/index.js +13 -16
- package/application/index.js.map +1 -1
- package/classes/index.d.ts +1 -0
- package/classes/index.js +1 -0
- package/classes/index.js.map +1 -1
- package/classes/observable-map.d.ts +17 -0
- package/classes/observable-map.js +48 -0
- package/classes/observable-map.js.map +1 -0
- package/classes/observable-set.d.ts +4 -1
- package/classes/observable-set.js +9 -3
- package/classes/observable-set.js.map +1 -1
- package/dev-server/index.js +9 -6
- package/dev-server/index.js.map +1 -1
- package/dev-server/patch-builder-context.js +8 -9
- package/dev-server/patch-builder-context.js.map +1 -1
- package/engine/.cache/apps/ng-doc/docs/api-documentation/auto-generation/ng-doc.page.mjs +20 -0
- package/engine/.cache/apps/ng-doc/docs/api-documentation/documenting-declarations/ng-doc.page.mjs +20 -0
- package/engine/.cache/apps/ng-doc/docs/api-documentation/rendering-api/ng-doc.page.mjs +19 -0
- package/engine/.cache/apps/ng-doc/docs/customization/icons/ng-doc.page.mjs +19 -0
- package/engine/.cache/apps/ng-doc/docs/customization/layout/ng-doc.page.mjs +19 -0
- package/engine/.cache/apps/ng-doc/docs/customization/page-processors/ng-doc.page.mjs +19 -0
- package/engine/.cache/apps/ng-doc/docs/customization/page-skeleton/ng-doc.page.mjs +19 -0
- package/engine/.cache/apps/ng-doc/docs/customization/search/ng-doc.page.mjs +19 -0
- package/engine/.cache/apps/ng-doc/docs/customization/themes/ng-doc.page.mjs +19 -0
- package/engine/.cache/apps/ng-doc/docs/develop/ng-doc.page.mjs +36 -0
- package/engine/.cache/apps/ng-doc/docs/getting-started/configuration/ng-doc.page.mjs +19 -0
- package/engine/.cache/apps/ng-doc/docs/getting-started/installation/ng-doc.page.mjs +19 -0
- package/engine/.cache/apps/ng-doc/docs/getting-started/migrations/ng-doc.page.mjs +18 -0
- package/engine/.cache/apps/ng-doc/docs/getting-started/ssr/ng-doc.page.mjs +19 -0
- package/engine/.cache/apps/ng-doc/docs/getting-started/what-is-ng-doc/ng-doc.page.mjs +19 -0
- package/engine/.cache/apps/ng-doc/docs/ng-doc.api.mjs +42 -0
- package/engine/.cache/apps/ng-doc/docs/recipes/ignoring-file-lines/ng-doc.page.mjs +18 -0
- package/engine/.cache/apps/ng-doc/docs/recipes/performance/ng-doc.page.mjs +19 -0
- package/engine/.cache/apps/ng-doc/docs/writing-content/blockquotes/ng-doc.page.mjs +18 -0
- package/engine/.cache/apps/ng-doc/docs/writing-content/code-blocks/ng-doc.page.mjs +18 -0
- package/engine/.cache/apps/ng-doc/docs/writing-content/demo-and-demo-pane/ng-doc.page.mjs +19 -0
- package/engine/.cache/apps/ng-doc/docs/writing-content/images-videos-and-embeds/ng-doc.page.mjs +18 -0
- package/engine/.cache/apps/ng-doc/docs/writing-content/keywords/ng-doc.page.mjs +17 -0
- package/engine/.cache/apps/ng-doc/docs/writing-content/mermaid-diagrams/ng-doc.page.mjs +18 -0
- package/engine/.cache/apps/ng-doc/docs/writing-content/nunjucks/ng-doc.page.mjs +18 -0
- package/engine/.cache/apps/ng-doc/docs/writing-content/pages-and-categories/ng-doc.page.mjs +18 -0
- package/engine/.cache/apps/ng-doc/docs/writing-content/playground/ng-doc.page.mjs +33 -0
- package/engine/build-ng-doc.d.ts +2 -3
- package/engine/build-ng-doc.js +25 -47
- package/engine/build-ng-doc.js.map +1 -1
- package/engine/builders/api-list/api-list-component.builder.d.ts +13 -0
- package/engine/builders/api-list/api-list-component.builder.js +27 -0
- package/engine/builders/api-list/api-list-component.builder.js.map +1 -0
- package/engine/builders/api-list/api-list.builder.d.ts +17 -0
- package/engine/builders/api-list/api-list.builder.js +42 -0
- package/engine/builders/api-list/api-list.builder.js.map +1 -0
- package/engine/builders/api-list/api-page-template.builder.d.ts +18 -0
- package/engine/builders/api-list/api-page-template.builder.js +67 -0
- package/engine/builders/api-list/api-page-template.builder.js.map +1 -0
- package/engine/builders/api-list/index.d.ts +10 -0
- package/engine/builders/api-list/index.js +63 -0
- package/engine/builders/api-list/index.js.map +1 -0
- package/engine/builders/api-list/keywords/build-api-keywords.d.ts +7 -0
- package/engine/builders/api-list/keywords/build-api-keywords.js +28 -0
- package/engine/builders/api-list/keywords/build-api-keywords.js.map +1 -0
- package/engine/builders/api-list/keywords/get-api-anchor-keywords.d.ts +8 -0
- package/engine/builders/api-list/keywords/get-api-anchor-keywords.js +27 -0
- package/engine/builders/api-list/keywords/get-api-anchor-keywords.js.map +1 -0
- package/engine/builders/api-list/keywords/get-pipe-keywords.d.ts +7 -0
- package/engine/builders/api-list/keywords/get-pipe-keywords.js +20 -0
- package/engine/builders/api-list/keywords/get-pipe-keywords.js.map +1 -0
- package/engine/builders/api-list/keywords/get-selector-keywords.d.ts +7 -0
- package/engine/builders/api-list/keywords/get-selector-keywords.js +38 -0
- package/engine/builders/api-list/keywords/get-selector-keywords.js.map +1 -0
- package/engine/builders/api-list/render-api-header.d.ts +10 -0
- package/engine/builders/api-list/render-api-header.js +24 -0
- package/engine/builders/api-list/render-api-header.js.map +1 -0
- package/engine/builders/global/context-and-routes.builder.d.ts +16 -0
- package/engine/builders/global/context-and-routes.builder.js +61 -0
- package/engine/builders/global/context-and-routes.builder.js.map +1 -0
- package/engine/builders/global/index.builder.d.ts +8 -0
- package/engine/builders/global/index.builder.js +24 -0
- package/engine/builders/global/index.builder.js.map +1 -0
- package/engine/builders/global/index.d.ts +7 -0
- package/engine/builders/global/index.js +16 -0
- package/engine/builders/global/index.js.map +1 -0
- package/engine/builders/global/keywords.builder.d.ts +7 -0
- package/engine/builders/global/keywords.builder.js +23 -0
- package/engine/builders/global/keywords.builder.js.map +1 -0
- package/engine/builders/global/search-indexes.builder.d.ts +7 -0
- package/engine/builders/global/search-indexes.builder.js +20 -0
- package/engine/builders/global/search-indexes.builder.js.map +1 -0
- package/engine/builders/helpers/create-declaration-metadata.d.ts +12 -0
- package/engine/builders/helpers/create-declaration-metadata.js +58 -0
- package/engine/builders/helpers/create-declaration-metadata.js.map +1 -0
- package/engine/builders/helpers/create-declaration-tab-metadata.d.ts +16 -0
- package/engine/builders/helpers/create-declaration-tab-metadata.js +31 -0
- package/engine/builders/helpers/create-declaration-tab-metadata.js.map +1 -0
- package/engine/builders/helpers/create-entry-metadata.d.ts +10 -0
- package/engine/builders/helpers/create-entry-metadata.js +72 -0
- package/engine/builders/helpers/create-entry-metadata.js.map +1 -0
- package/engine/builders/helpers/create-import-path.d.ts +7 -0
- package/engine/builders/helpers/create-import-path.js +19 -0
- package/engine/builders/helpers/create-import-path.js.map +1 -0
- package/engine/builders/helpers/create-markdown-metadata.d.ts +8 -0
- package/engine/builders/helpers/create-markdown-metadata.js +32 -0
- package/engine/builders/helpers/create-markdown-metadata.js.map +1 -0
- package/engine/builders/helpers/get-category-source-file.d.ts +7 -0
- package/engine/builders/helpers/get-category-source-file.js +31 -0
- package/engine/builders/helpers/get-category-source-file.js.map +1 -0
- package/engine/builders/helpers/get-entry-out-dir.d.ts +9 -0
- package/engine/builders/helpers/get-entry-out-dir.js +25 -0
- package/engine/builders/helpers/get-entry-out-dir.js.map +1 -0
- package/engine/builders/helpers/get-entry-relative-path.d.ts +6 -0
- package/engine/builders/helpers/get-entry-relative-path.js +16 -0
- package/engine/builders/helpers/get-entry-relative-path.js.map +1 -0
- package/engine/builders/helpers/get-entry-route.d.ts +7 -0
- package/engine/builders/helpers/get-entry-route.js +23 -0
- package/engine/builders/helpers/get-entry-route.js.map +1 -0
- package/engine/builders/helpers/get-playground-metadata.d.ts +9 -0
- package/engine/builders/helpers/get-playground-metadata.js +40 -0
- package/engine/builders/helpers/get-playground-metadata.js.map +1 -0
- package/engine/builders/helpers/get-scoped-keyword.d.ts +8 -0
- package/engine/builders/helpers/get-scoped-keyword.js +19 -0
- package/engine/builders/helpers/get-scoped-keyword.js.map +1 -0
- package/engine/builders/helpers/get-structured-docs.d.ts +11 -0
- package/engine/builders/helpers/get-structured-docs.js +55 -0
- package/engine/builders/helpers/get-structured-docs.js.map +1 -0
- package/engine/builders/helpers/get-variable-statement-from-object-literal-expression.d.ts +6 -0
- package/engine/builders/helpers/get-variable-statement-from-object-literal-expression.js +19 -0
- package/engine/builders/helpers/get-variable-statement-from-object-literal-expression.js.map +1 -0
- package/engine/builders/helpers/index.d.ts +14 -0
- package/engine/builders/helpers/index.js +18 -0
- package/engine/builders/helpers/index.js.map +1 -0
- package/engine/builders/helpers/markdown-front-matter.d.ts +8 -0
- package/engine/builders/helpers/markdown-front-matter.js +14 -0
- package/engine/builders/helpers/markdown-front-matter.js.map +1 -0
- package/engine/builders/index.d.ts +4 -0
- package/engine/builders/index.js +8 -0
- package/engine/builders/index.js.map +1 -0
- package/engine/builders/interfaces/entry-metadata.d.ts +32 -0
- package/engine/builders/interfaces/entry-metadata.js +13 -0
- package/engine/builders/interfaces/entry-metadata.js.map +1 -0
- package/engine/builders/interfaces/entry.d.ts +23 -0
- package/engine/builders/interfaces/entry.js +23 -0
- package/engine/builders/interfaces/entry.js.map +1 -0
- package/engine/builders/interfaces/index.d.ts +4 -0
- package/engine/builders/interfaces/index.js +8 -0
- package/engine/builders/interfaces/index.js.map +1 -0
- package/engine/builders/interfaces/markdown-entry.d.ts +21 -0
- package/engine/{entities/plugins/types/entity-plugin.js → builders/interfaces/markdown-entry.js} +1 -1
- package/engine/builders/interfaces/markdown-entry.js.map +1 -0
- package/engine/builders/interfaces/template-builder-output.d.ts +8 -0
- package/engine/builders/interfaces/template-builder-output.js +3 -0
- package/engine/builders/interfaces/template-builder-output.js.map +1 -0
- package/engine/builders/page/demo-assets.builder.d.ts +20 -0
- package/engine/builders/page/demo-assets.builder.js +74 -0
- package/engine/builders/page/demo-assets.builder.js.map +1 -0
- package/engine/builders/page/guide-template.builder.d.ts +17 -0
- package/engine/builders/page/guide-template.builder.js +71 -0
- package/engine/builders/page/guide-template.builder.js.map +1 -0
- package/engine/builders/page/index.d.ts +11 -0
- package/engine/builders/page/index.js +39 -0
- package/engine/builders/page/index.js.map +1 -0
- package/engine/builders/page/keywords/build-guide-keywords.d.ts +7 -0
- package/engine/builders/page/keywords/build-guide-keywords.js +25 -0
- package/engine/builders/page/keywords/build-guide-keywords.js.map +1 -0
- package/engine/builders/page/keywords/get-page-anchor-keywords.d.ts +8 -0
- package/engine/builders/page/keywords/get-page-anchor-keywords.js +27 -0
- package/engine/builders/page/keywords/get-page-anchor-keywords.js.map +1 -0
- package/engine/builders/page/playground.builder.d.ts +13 -0
- package/engine/builders/page/playground.builder.js +45 -0
- package/engine/builders/page/playground.builder.js.map +1 -0
- package/engine/builders/page/render-page-header.d.ts +13 -0
- package/engine/builders/page/render-page-header.js +20 -0
- package/engine/builders/page/render-page-header.js.map +1 -0
- package/engine/builders/shared/content.builder.d.ts +21 -0
- package/engine/builders/shared/content.builder.js +84 -0
- package/engine/builders/shared/content.builder.js.map +1 -0
- package/engine/builders/shared/entry.builder.d.ts +20 -0
- package/engine/builders/shared/entry.builder.js +45 -0
- package/engine/builders/shared/entry.builder.js.map +1 -0
- package/engine/builders/shared/index.d.ts +3 -0
- package/engine/builders/shared/index.js +7 -0
- package/engine/builders/shared/index.js.map +1 -0
- package/engine/builders/shared/page-component.builder.d.ts +22 -0
- package/engine/builders/shared/page-component.builder.js +64 -0
- package/engine/builders/shared/page-component.builder.js.map +1 -0
- package/engine/builders/shared/page-wrapper.builder.d.ts +18 -0
- package/engine/builders/shared/page-wrapper.builder.js +84 -0
- package/engine/builders/shared/page-wrapper.builder.js.map +1 -0
- package/engine/{entities/cache → cache}/cache.js +3 -6
- package/engine/cache/cache.js.map +1 -0
- package/engine/{entities/cache → cache}/cached-files-initializer.js +1 -2
- package/engine/cache/cached-files-initializer.js.map +1 -0
- package/engine/{entities/cache → cache}/cached-props-initializer.js +3 -4
- package/engine/cache/cached-props-initializer.js.map +1 -0
- package/engine/{entities/cache → cache}/decorators/cached-entity.js +5 -6
- package/engine/cache/decorators/cached-entity.js.map +1 -0
- package/engine/cache/decorators/cached-files-getter.js.map +1 -0
- package/engine/cache/decorators/cached-property.js.map +1 -0
- package/engine/cache/decorators/index.js.map +1 -0
- package/engine/cache/helpers/create-cache-for-file.js.map +1 -0
- package/engine/{entities/cache → cache}/helpers/create-cache.d.ts +3 -2
- package/engine/{entities/cache → cache}/helpers/create-cache.js +5 -4
- package/engine/cache/helpers/create-cache.js.map +1 -0
- package/engine/{entities/cache → cache}/helpers/get-cache-dir-path.js +2 -3
- package/engine/cache/helpers/get-cache-dir-path.js.map +1 -0
- package/engine/cache/helpers/get-cache-file-path.js.map +1 -0
- package/engine/cache/helpers/index.js.map +1 -0
- package/engine/{entities/cache → cache}/helpers/invalidate-cache-if-needed.js +1 -1
- package/engine/cache/helpers/invalidate-cache-if-needed.js.map +1 -0
- package/engine/{entities/cache → cache}/helpers/is-cache-valid.js +2 -3
- package/engine/cache/helpers/is-cache-valid.js.map +1 -0
- package/engine/{entities/cache → cache}/helpers/load-cache.d.ts +1 -1
- package/engine/cache/helpers/load-cache.js.map +1 -0
- package/engine/{entities/cache → cache}/helpers/update-cache.d.ts +1 -1
- package/engine/cache/helpers/update-cache.js.map +1 -0
- package/engine/cache/index.js.map +1 -0
- package/engine/cache/interfaces/cache-accessor.js.map +1 -0
- package/engine/cache/interfaces/cached-data.d.ts +6 -0
- package/engine/cache/interfaces/cached-data.js.map +1 -0
- package/engine/cache/interfaces/index.js.map +1 -0
- package/engine/core/index.d.ts +6 -0
- package/engine/core/index.js +10 -0
- package/engine/core/index.js.map +1 -0
- package/engine/core/operators/builder-state.d.ts +13 -0
- package/engine/core/operators/builder-state.js +20 -0
- package/engine/core/operators/builder-state.js.map +1 -0
- package/engine/core/operators/create-builder.d.ts +10 -0
- package/engine/core/operators/create-builder.js +32 -0
- package/engine/core/operators/create-builder.js.map +1 -0
- package/engine/core/operators/distinct-pending.d.ts +6 -0
- package/engine/core/operators/distinct-pending.js +12 -0
- package/engine/core/operators/distinct-pending.js.map +1 -0
- package/engine/core/operators/emit-cache.d.ts +17 -0
- package/engine/core/operators/emit-cache.js +31 -0
- package/engine/core/operators/emit-cache.js.map +1 -0
- package/engine/core/operators/emit-file-output.d.ts +7 -0
- package/engine/core/operators/emit-file-output.js +36 -0
- package/engine/core/operators/emit-file-output.js.map +1 -0
- package/engine/core/operators/entries-emitter.d.ts +8 -0
- package/engine/core/operators/entries-emitter.js +37 -0
- package/engine/core/operators/entries-emitter.js.map +1 -0
- package/engine/core/operators/factory.d.ts +12 -0
- package/engine/core/operators/factory.js +54 -0
- package/engine/core/operators/factory.js.map +1 -0
- package/engine/core/operators/handle-cache-strategy.d.ts +16 -0
- package/engine/core/operators/handle-cache-strategy.js +61 -0
- package/engine/core/operators/handle-cache-strategy.js.map +1 -0
- package/engine/core/operators/index.d.ts +16 -0
- package/engine/core/operators/index.js +20 -0
- package/engine/core/operators/index.js.map +1 -0
- package/engine/core/operators/join-builder-states.d.ts +9 -0
- package/engine/core/operators/join-builder-states.js +29 -0
- package/engine/core/operators/join-builder-states.js.map +1 -0
- package/engine/core/operators/merge-factory.d.ts +14 -0
- package/engine/core/operators/merge-factory.js +38 -0
- package/engine/core/operators/merge-factory.js.map +1 -0
- package/engine/core/operators/print-build-progress.d.ts +5 -0
- package/engine/core/operators/print-build-progress.js +16 -0
- package/engine/core/operators/print-build-progress.js.map +1 -0
- package/engine/core/operators/print-errors.d.ts +6 -0
- package/engine/core/operators/print-errors.js +17 -0
- package/engine/core/operators/print-errors.js.map +1 -0
- package/engine/core/operators/resolve-async-file-outputs.d.ts +6 -0
- package/engine/core/operators/resolve-async-file-outputs.js +29 -0
- package/engine/core/operators/resolve-async-file-outputs.js.map +1 -0
- package/engine/core/operators/run-build.d.ts +10 -0
- package/engine/core/operators/run-build.js +22 -0
- package/engine/core/operators/run-build.js.map +1 -0
- package/engine/core/operators/stack.d.ts +27 -0
- package/engine/core/operators/stack.js +78 -0
- package/engine/core/operators/stack.js.map +1 -0
- package/engine/core/operators/when-builders-done.d.ts +9 -0
- package/engine/core/operators/when-builders-done.js +21 -0
- package/engine/core/operators/when-builders-done.js.map +1 -0
- package/engine/core/operators/when-done.d.ts +20 -0
- package/engine/core/operators/when-done.js +40 -0
- package/engine/core/operators/when-done.js.map +1 -0
- package/engine/core/stores/api.d.ts +2 -0
- package/engine/core/stores/api.js +6 -0
- package/engine/core/stores/api.js.map +1 -0
- package/engine/core/stores/index-store.d.ts +3 -0
- package/engine/core/stores/index-store.js +6 -0
- package/engine/core/stores/index-store.js.map +1 -0
- package/engine/core/stores/index.d.ts +4 -0
- package/engine/core/stores/index.js +8 -0
- package/engine/core/stores/index.js.map +1 -0
- package/engine/core/stores/keywords.d.ts +9 -0
- package/engine/core/stores/keywords.js +35 -0
- package/engine/core/stores/keywords.js.map +1 -0
- package/engine/core/stores/page-store.d.ts +3 -0
- package/engine/core/stores/page-store.js +6 -0
- package/engine/core/stores/page-store.js.map +1 -0
- package/engine/core/triggers/index.d.ts +3 -0
- package/engine/core/triggers/index.js +7 -0
- package/engine/core/triggers/index.js.map +1 -0
- package/engine/core/triggers/on-dependencies-change.d.ts +12 -0
- package/engine/core/triggers/on-dependencies-change.js +19 -0
- package/engine/core/triggers/on-dependencies-change.js.map +1 -0
- package/engine/core/triggers/on-keywords-touch.d.ts +13 -0
- package/engine/core/triggers/on-keywords-touch.js +27 -0
- package/engine/core/triggers/on-keywords-touch.js.map +1 -0
- package/engine/core/triggers/on-remove-from-store.d.ts +11 -0
- package/engine/core/triggers/on-remove-from-store.js +15 -0
- package/engine/core/triggers/on-remove-from-store.js.map +1 -0
- package/engine/core/types/builder.d.ts +3 -0
- package/{interfaces/build-result.js → engine/core/types/builder.js} +1 -1
- package/engine/core/types/builder.js.map +1 -0
- package/engine/core/types/cache-strategy.d.ts +29 -0
- package/engine/core/types/cache-strategy.js +3 -0
- package/engine/core/types/cache-strategy.js.map +1 -0
- package/engine/core/types/file-output.d.ts +10 -0
- package/engine/core/types/file-output.js +11 -0
- package/engine/core/types/file-output.js.map +1 -0
- package/engine/core/types/index.d.ts +5 -0
- package/engine/core/types/index.js +9 -0
- package/engine/core/types/index.js.map +1 -0
- package/engine/core/types/state.d.ts +74 -0
- package/engine/core/types/state.js +81 -0
- package/engine/core/types/state.js.map +1 -0
- package/engine/core/types/trigger.d.ts +30 -0
- package/engine/core/types/trigger.js +36 -0
- package/engine/core/types/trigger.js.map +1 -0
- package/engine/core/variables/cold-start.d.ts +8 -0
- package/engine/core/variables/cold-start.js +18 -0
- package/engine/core/variables/cold-start.js.map +1 -0
- package/engine/core/variables/index.d.ts +1 -0
- package/engine/{entities/plugins/types → core/variables}/index.js +1 -1
- package/engine/core/variables/index.js.map +1 -0
- package/engine/core/watcher/index.d.ts +2 -0
- package/engine/core/watcher/index.js +6 -0
- package/engine/core/watcher/index.js.map +1 -0
- package/engine/core/watcher/watch-file.d.ts +9 -0
- package/engine/core/watcher/watch-file.js +29 -0
- package/engine/core/watcher/watch-file.js.map +1 -0
- package/engine/core/watcher/watch-folder.d.ts +8 -0
- package/engine/core/watcher/watch-folder.js +31 -0
- package/engine/core/watcher/watch-folder.js.map +1 -0
- package/engine/core/watcher/watch.d.ts +8 -0
- package/engine/core/watcher/watch.js +39 -0
- package/engine/core/watcher/watch.js.map +1 -0
- package/engine/index.d.ts +2 -6
- package/engine/index.js +2 -6
- package/engine/index.js.map +1 -1
- package/engine/nunjucks/actions/api-details.action.d.ts +6 -0
- package/engine/nunjucks/actions/api-details.action.js +27 -0
- package/engine/nunjucks/actions/api-details.action.js.map +1 -0
- package/engine/nunjucks/actions/api.action.d.ts +6 -0
- package/engine/nunjucks/actions/api.action.js +35 -0
- package/engine/nunjucks/actions/api.action.js.map +1 -0
- package/engine/{actions → nunjucks/actions}/demo-pane.action.d.ts +2 -2
- package/engine/{actions → nunjucks/actions}/demo-pane.action.js +1 -1
- package/engine/nunjucks/actions/demo-pane.action.js.map +1 -0
- package/engine/{actions → nunjucks/actions}/demo.action.d.ts +2 -2
- package/engine/{actions → nunjucks/actions}/demo.action.js +1 -1
- package/engine/nunjucks/actions/demo.action.js.map +1 -0
- package/engine/nunjucks/actions/js-doc-has-tag.action.d.ts +7 -0
- package/engine/nunjucks/actions/js-doc-has-tag.action.js +23 -0
- package/engine/nunjucks/actions/js-doc-has-tag.action.js.map +1 -0
- package/engine/nunjucks/actions/js-doc-tag.action.d.ts +7 -0
- package/engine/nunjucks/actions/js-doc-tag.action.js +23 -0
- package/engine/nunjucks/actions/js-doc-tag.action.js.map +1 -0
- package/engine/nunjucks/actions/js-doc-tags.action.d.ts +7 -0
- package/engine/nunjucks/actions/js-doc-tags.action.js +24 -0
- package/engine/nunjucks/actions/js-doc-tags.action.js.map +1 -0
- package/engine/nunjucks/actions/js-doc.action.d.ts +6 -0
- package/engine/nunjucks/actions/js-doc.action.js +22 -0
- package/engine/nunjucks/actions/js-doc.action.js.map +1 -0
- package/engine/{actions → nunjucks/actions}/playground.action.d.ts +2 -2
- package/engine/{actions → nunjucks/actions}/playground.action.js +7 -6
- package/engine/nunjucks/actions/playground.action.js.map +1 -0
- package/engine/{actions.d.ts → nunjucks/actions.d.ts} +4 -5
- package/engine/{actions.js → nunjucks/actions.js} +7 -12
- package/engine/nunjucks/actions.js.map +1 -0
- package/engine/nunjucks/api.d.ts +7 -0
- package/engine/nunjucks/api.js +20 -0
- package/engine/nunjucks/api.js.map +1 -0
- package/engine/nunjucks/base-action.d.ts +10 -0
- package/engine/nunjucks/base-action.js +16 -0
- package/engine/nunjucks/base-action.js.map +1 -0
- package/engine/nunjucks/filters.d.ts +2 -1
- package/engine/nunjucks/filters.js +10 -7
- package/engine/nunjucks/filters.js.map +1 -1
- package/engine/nunjucks/index.d.ts +3 -0
- package/engine/nunjucks/index.js +3 -0
- package/engine/nunjucks/index.js.map +1 -1
- package/engine/nunjucks/js-doc.d.ts +11 -0
- package/engine/nunjucks/js-doc.js +28 -0
- package/engine/nunjucks/js-doc.js.map +1 -0
- package/engine/nunjucks/render-template.d.ts +6 -0
- package/engine/nunjucks/render-template.js +27 -10
- package/engine/nunjucks/render-template.js.map +1 -1
- package/engine/transform-index-html.d.ts +5 -0
- package/engine/transform-index-html.js +15 -0
- package/engine/transform-index-html.js.map +1 -0
- package/engine/watcher.js +1 -1
- package/engine/watcher.js.map +1 -1
- package/helpers/angular/get-component-assets.d.ts +3 -1
- package/helpers/angular/get-component-assets.js +20 -3
- package/helpers/angular/get-component-assets.js.map +1 -1
- package/helpers/angular/get-component-decorator.js +1 -1
- package/helpers/angular/get-component-decorator.js.map +1 -1
- package/helpers/angular/get-component-inputs.js.map +1 -1
- package/helpers/angular/get-component-source-files.js.map +1 -1
- package/helpers/angular/get-directive-decorator.js +1 -1
- package/helpers/angular/get-directive-decorator.js.map +1 -1
- package/helpers/angular/get-input-name.js +4 -5
- package/helpers/angular/get-input-name.js.map +1 -1
- package/helpers/angular/get-input-type.js.map +1 -1
- package/helpers/angular/get-pipe-decorator.js +1 -1
- package/helpers/angular/get-pipe-decorator.js.map +1 -1
- package/helpers/angular/is-input.js +2 -3
- package/helpers/angular/is-input.js.map +1 -1
- package/helpers/angular/is-standalone.d.ts +1 -1
- package/helpers/angular/is-standalone.js +3 -4
- package/helpers/angular/is-standalone.js.map +1 -1
- package/helpers/build-file-assets.js +1 -1
- package/helpers/build-file-assets.js.map +1 -1
- package/helpers/build-file-entity.js +45 -48
- package/helpers/build-file-entity.js.map +1 -1
- package/helpers/build-indexes.js +41 -45
- package/helpers/build-indexes.js.map +1 -1
- package/helpers/construct-page-keyword.d.ts +10 -0
- package/helpers/construct-page-keyword.js +24 -0
- package/helpers/construct-page-keyword.js.map +1 -0
- package/helpers/create-builder-context.js +12 -11
- package/helpers/create-builder-context.js.map +1 -1
- package/helpers/create-import-path.js.map +1 -1
- package/helpers/{get-demo-class-declarations.js → demo/get-demo-class-declarations.js} +1 -2
- package/helpers/demo/get-demo-class-declarations.js.map +1 -0
- package/helpers/demo/index.d.ts +1 -1
- package/helpers/demo/index.js +1 -1
- package/helpers/extract-selectors.d.ts +7 -2
- package/helpers/extract-selectors.js +16 -3
- package/helpers/extract-selectors.js.map +1 -1
- package/helpers/filter-useless-members.d.ts +2 -2
- package/helpers/filter-useless-members.js.map +1 -1
- package/helpers/format-code.js +3 -4
- package/helpers/format-code.js.map +1 -1
- package/helpers/format-keyword-key.d.ts +5 -0
- package/helpers/{keyword-key.js → format-keyword-key.js} +3 -3
- package/helpers/format-keyword-key.js.map +1 -0
- package/helpers/get-declaration-by-path.d.ts +8 -0
- package/helpers/get-declaration-by-path.js +30 -0
- package/helpers/get-declaration-by-path.js.map +1 -0
- package/helpers/get-declaration-type.js +1 -1
- package/helpers/get-declaration-type.js.map +1 -1
- package/helpers/get-js-doc.d.ts +35 -0
- package/helpers/get-js-doc.js +121 -0
- package/helpers/get-js-doc.js.map +1 -0
- package/helpers/import-fresh-esm.js +10 -12
- package/helpers/import-fresh-esm.js.map +1 -1
- package/helpers/index.d.ts +7 -13
- package/helpers/index.js +7 -13
- package/helpers/index.js.map +1 -1
- package/helpers/is-public-declaration.d.ts +6 -0
- package/helpers/is-public-declaration.js +16 -0
- package/helpers/is-public-declaration.js.map +1 -0
- package/helpers/is-supported-declaration.d.ts +2 -2
- package/helpers/is-supported-declaration.js.map +1 -1
- package/helpers/load-config.js +1 -2
- package/helpers/load-config.js.map +1 -1
- package/helpers/markdown-to-html.js +16 -10
- package/helpers/markdown-to-html.js.map +1 -1
- package/helpers/minify-html.d.ts +5 -0
- package/helpers/minify-html.js +22 -0
- package/helpers/minify-html.js.map +1 -0
- package/helpers/playground/build-playground-metadata.js +15 -11
- package/helpers/playground/build-playground-metadata.js.map +1 -1
- package/helpers/playground/get-playground-inputs.js +6 -6
- package/helpers/playground/get-playground-inputs.js.map +1 -1
- package/helpers/playground/get-playgrounds-class-declarations.d.ts +6 -0
- package/helpers/playground/get-playgrounds-class-declarations.js +26 -0
- package/helpers/playground/get-playgrounds-class-declarations.js.map +1 -0
- package/helpers/playground/get-playgrounds-ids.js +2 -3
- package/helpers/playground/get-playgrounds-ids.js.map +1 -1
- package/helpers/playground/get-target-for-playground.js +4 -3
- package/helpers/playground/get-target-for-playground.js.map +1 -1
- package/helpers/playground/index.d.ts +1 -0
- package/helpers/playground/index.js +1 -0
- package/helpers/playground/index.js.map +1 -1
- package/helpers/presentation.js +3 -6
- package/helpers/presentation.js.map +1 -1
- package/helpers/print.d.ts +0 -15
- package/helpers/print.js +0 -24
- package/helpers/print.js.map +1 -1
- package/helpers/process-legacy-snippets.js +7 -8
- package/helpers/process-legacy-snippets.js.map +1 -1
- package/helpers/process-snippets.js +4 -5
- package/helpers/process-snippets.js.map +1 -1
- package/helpers/remove-lines-from-code.js +1 -2
- package/helpers/remove-lines-from-code.js.map +1 -1
- package/helpers/snippets-from-asset.js +8 -2
- package/helpers/snippets-from-asset.js.map +1 -1
- package/helpers/sort-navigation-entities.d.ts +3 -3
- package/helpers/sort-navigation-entities.js +9 -9
- package/helpers/sort-navigation-entities.js.map +1 -1
- package/helpers/to-template-string.js +5 -2
- package/helpers/to-template-string.js.map +1 -1
- package/helpers/typescript/accessor/group-accessors.js +2 -2
- package/helpers/typescript/accessor/group-accessors.js.map +1 -1
- package/helpers/typescript/create-project.js +19 -1
- package/helpers/typescript/create-project.js.map +1 -1
- package/helpers/typescript/declaration-import.d.ts +2 -2
- package/helpers/typescript/declaration-import.js.map +1 -1
- package/helpers/typescript/display-type.d.ts +2 -1
- package/helpers/typescript/display-type.js +2 -1
- package/helpers/typescript/display-type.js.map +1 -1
- package/helpers/typescript/exclude-by-js-doc-tags.d.ts +7 -0
- package/helpers/typescript/exclude-by-js-doc-tags.js +14 -0
- package/helpers/typescript/exclude-by-js-doc-tags.js.map +1 -0
- package/helpers/typescript/find-declarations.d.ts +10 -0
- package/helpers/typescript/find-declarations.js +35 -0
- package/helpers/typescript/find-declarations.js.map +1 -0
- package/helpers/typescript/first-node-with-comment.d.ts +1 -1
- package/helpers/typescript/first-node-with-comment.js +1 -2
- package/helpers/typescript/first-node-with-comment.js.map +1 -1
- package/helpers/typescript/get-object-expression-from-default.js +4 -4
- package/helpers/typescript/get-object-expression-from-default.js.map +1 -1
- package/helpers/typescript/index.d.ts +2 -1
- package/helpers/typescript/index.js +2 -1
- package/helpers/typescript/index.js.map +1 -1
- package/helpers/typescript/interface/find-interface.js +1 -1
- package/helpers/typescript/interface/find-interface.js.map +1 -1
- package/helpers/typescript/interface/for-all-interfaces.js +1 -1
- package/helpers/typescript/interface/for-all-interfaces.js.map +1 -1
- package/helpers/typescript/interface/get-interface-member.d.ts +2 -2
- package/helpers/typescript/interface/get-interface-member.js.map +1 -1
- package/helpers/typescript/member/find-member.d.ts +3 -3
- package/helpers/typescript/member/find-member.js +3 -3
- package/helpers/typescript/member/find-member.js.map +1 -1
- package/helpers/typescript/member/get-implemented-member.d.ts +2 -2
- package/helpers/typescript/member/get-implemented-member.js +1 -1
- package/helpers/typescript/member/get-implemented-member.js.map +1 -1
- package/helpers/typescript/member/get-inherited-parent.d.ts +2 -2
- package/helpers/typescript/member/get-inherited-parent.js.map +1 -1
- package/helpers/typescript/member/get-member-parent.d.ts +2 -2
- package/helpers/typescript/member/get-member-parent.js.map +1 -1
- package/helpers/typescript/member/get-overridden-member.d.ts +2 -2
- package/helpers/typescript/member/get-overridden-member.js.map +1 -1
- package/helpers/typescript/member/member-type.d.ts +9 -4
- package/helpers/typescript/member/member-type.js +12 -0
- package/helpers/typescript/member/member-type.js.map +1 -1
- package/helpers/typescript/method/get-method-chain.js.map +1 -1
- package/helpers/typescript/node/sort-by-nodes-name.js +1 -1
- package/helpers/typescript/node/sort-by-nodes-name.js.map +1 -1
- package/helpers/typescript/property/get-property-assignment.d.ts +1 -1
- package/helpers/typescript/property/get-property-assignment.js +2 -3
- package/helpers/typescript/property/get-property-assignment.js.map +1 -1
- package/helpers/utils.d.ts +6 -0
- package/helpers/utils.js +12 -0
- package/helpers/utils.js.map +1 -0
- package/interfaces/action-output.d.ts +2 -2
- package/interfaces/builder-context.d.ts +7 -5
- package/interfaces/configuration.d.ts +16 -2
- package/interfaces/entity-keyword.d.ts +1 -1
- package/interfaces/index.d.ts +0 -1
- package/interfaces/index.js +0 -1
- package/interfaces/index.js.map +1 -1
- package/interfaces/renderer-options.d.ts +1 -1
- package/operators/index.d.ts +0 -2
- package/operators/index.js +0 -2
- package/operators/index.js.map +1 -1
- package/package.json +16 -14
- package/parsers/helpers/param.js +1 -1
- package/parsers/helpers/param.js.map +1 -1
- package/parsers/parse-code-block-params.js +3 -3
- package/parsers/parse-code-block-params.js.map +1 -1
- package/parsers/parse-snippet.js +2 -2
- package/parsers/parse-snippet.js.map +1 -1
- package/schematics/api/files/ng-doc.api.ts.template +1 -1
- package/schematics/api/index.js +2 -3
- package/schematics/api/index.js.map +1 -1
- package/schematics/category/index.js +10 -7
- package/schematics/category/index.js.map +1 -1
- package/schematics/category/schema.json +54 -54
- package/schematics/migration.json +8 -8
- package/schematics/migrations/standalone-pages/index.js +13 -6
- package/schematics/migrations/standalone-pages/index.js.map +1 -1
- package/schematics/ng-update/index.js +2 -4
- package/schematics/ng-update/index.js.map +1 -1
- package/schematics/ng-update/steps/{update-git-ignore.d.ts → update-pages.d.ts} +1 -1
- package/schematics/ng-update/steps/update-pages.js +89 -0
- package/schematics/ng-update/steps/update-pages.js.map +1 -0
- package/schematics/page/files/index.md.template +3 -1
- package/schematics/page/files/ng-doc.page.ts.template +1 -2
- package/schematics/page/index.js +12 -7
- package/schematics/page/index.js.map +1 -1
- package/schematics/page/schema.d.ts +2 -5
- package/schematics/page/schema.json +44 -49
- package/schematics/utils/get-project.js +1 -2
- package/schematics/utils/get-project.js.map +1 -1
- package/scripts/restore-theme.js +6 -0
- package/templates/api/base.html.nunj +9 -19
- package/templates/api/class-declaration.html.nunj +57 -0
- package/templates/api/details/class-declaration.html.nunj +47 -0
- package/templates/api/details/enum-declaration.html.nunj +0 -0
- package/templates/api/details/function-declaration.html.nunj +14 -0
- package/templates/api/details/helpers/decorators.html.nunj +14 -0
- package/templates/api/details/helpers/extends.html.nunj +6 -0
- package/templates/api/details/helpers/selectors.html.nunj +12 -0
- package/templates/api/details/helpers/type-parameters.html.nunj +14 -0
- package/templates/api/details/interface-declaration.html.nunj +27 -0
- package/templates/api/details/type-alias-declaration.html.nunj +14 -0
- package/templates/api/details/variable-declaration.html.nunj +0 -0
- package/templates/api/details.html.nunj +9 -0
- package/templates/api/{enum.html.nunj → enum-declaration.html.nunj} +3 -5
- package/templates/api/function-declaration.html.nunj +24 -0
- package/templates/api/interface-declaration.html.nunj +27 -0
- package/templates/api/type-alias-declaration.html.nunj +8 -0
- package/templates/api/variable-declaration.html.nunj +8 -0
- package/templates/api-header.html.nunj +11 -0
- package/templates/api-list.ts.nunj +10 -21
- package/templates/api-page-content.html.nunj +1 -15
- package/templates/context.ts.nunj +48 -33
- package/templates/helpers/accessor.html.nunj +50 -47
- package/templates/helpers/code.html.nunj +1 -2
- package/templates/helpers/constructor.html.nunj +24 -26
- package/templates/helpers/members.html.nunj +26 -20
- package/templates/helpers/method.html.nunj +58 -44
- package/templates/helpers/no-content.html.nunj +1 -1
- package/templates/helpers/overload.html.nunj +47 -0
- package/templates/helpers/parameters.html.nunj +37 -37
- package/templates/helpers/properties.html.nunj +43 -37
- package/templates/helpers/status.html.nunj +37 -0
- package/templates/helpers/type.html.nunj +4 -0
- package/templates/index.ts.nunj +2 -2
- package/templates/page-header.html.nunj +5 -0
- package/templates/page-wrapper.ts.nunj +42 -0
- package/templates/page.ts.nunj +55 -38
- package/templates/parts/page-tags.html.nunj +0 -15
- package/templates/parts/see-also.html.nunj +1 -1
- package/templates/parts/usage-notes.html.nunj +1 -1
- package/templates/playgrounds.ts.nunj +1 -1
- package/templates/routes.ts.nunj +27 -0
- package/types/action.d.ts +2 -3
- package/types/index.d.ts +1 -1
- package/types/index.js +1 -1
- package/types/index.js.map +1 -1
- package/types/supported-declaration.d.ts +2 -0
- package/types/supported-declaration.js +3 -0
- package/types/supported-declaration.js.map +1 -0
- package/engine/actions/demo-pane.action.js.map +0 -1
- package/engine/actions/demo.action.js.map +0 -1
- package/engine/actions/playground.action.js.map +0 -1
- package/engine/actions.js.map +0 -1
- package/engine/builder-operators/add-build-candidates.d.ts +0 -8
- package/engine/builder-operators/add-build-candidates.js +0 -26
- package/engine/builder-operators/add-build-candidates.js.map +0 -1
- package/engine/builder-operators/build.d.ts +0 -11
- package/engine/builder-operators/build.js +0 -22
- package/engine/builder-operators/build.js.map +0 -1
- package/engine/builder-operators/collect-garbage.d.ts +0 -7
- package/engine/builder-operators/collect-garbage.js +0 -19
- package/engine/builder-operators/collect-garbage.js.map +0 -1
- package/engine/builder-operators/compile.d.ts +0 -6
- package/engine/builder-operators/compile.js +0 -19
- package/engine/builder-operators/compile.js.map +0 -1
- package/engine/builder-operators/dependency-changes.d.ts +0 -9
- package/engine/builder-operators/dependency-changes.js +0 -23
- package/engine/builder-operators/dependency-changes.js.map +0 -1
- package/engine/builder-operators/emit.d.ts +0 -6
- package/engine/builder-operators/emit.js +0 -13
- package/engine/builder-operators/emit.js.map +0 -1
- package/engine/builder-operators/index.d.ts +0 -9
- package/engine/builder-operators/index.js +0 -13
- package/engine/builder-operators/index.js.map +0 -1
- package/engine/builder-operators/load.d.ts +0 -7
- package/engine/builder-operators/load.js +0 -20
- package/engine/builder-operators/load.js.map +0 -1
- package/engine/builder-operators/post-build.d.ts +0 -6
- package/engine/builder-operators/post-build.js +0 -22
- package/engine/builder-operators/post-build.js.map +0 -1
- package/engine/builder-operators/post-process.d.ts +0 -12
- package/engine/builder-operators/post-process.js +0 -29
- package/engine/builder-operators/post-process.js.map +0 -1
- package/engine/builder-operators/print-output.d.ts +0 -7
- package/engine/builder-operators/print-output.js +0 -52
- package/engine/builder-operators/print-output.js.map +0 -1
- package/engine/builder-operators/refresh.d.ts +0 -6
- package/engine/builder-operators/refresh.js +0 -19
- package/engine/builder-operators/refresh.js.map +0 -1
- package/engine/builder-operators/task.d.ts +0 -23
- package/engine/builder-operators/task.js +0 -43
- package/engine/builder-operators/task.js.map +0 -1
- package/engine/builder-operators/to-builder-output.d.ts +0 -6
- package/engine/builder-operators/to-builder-output.js +0 -12
- package/engine/builder-operators/to-builder-output.js.map +0 -1
- package/engine/builder-operators/update-cache.d.ts +0 -7
- package/engine/builder-operators/update-cache.js +0 -14
- package/engine/builder-operators/update-cache.js.map +0 -1
- package/engine/entities/abstractions/entity.d.ts +0 -122
- package/engine/entities/abstractions/entity.js +0 -186
- package/engine/entities/abstractions/entity.js.map +0 -1
- package/engine/entities/abstractions/file.entity.d.ts +0 -28
- package/engine/entities/abstractions/file.entity.js +0 -68
- package/engine/entities/abstractions/file.entity.js.map +0 -1
- package/engine/entities/abstractions/module.entity.d.ts +0 -25
- package/engine/entities/abstractions/module.entity.js +0 -57
- package/engine/entities/abstractions/module.entity.js.map +0 -1
- package/engine/entities/abstractions/navigation.entity.d.ts +0 -27
- package/engine/entities/abstractions/navigation.entity.js +0 -36
- package/engine/entities/abstractions/navigation.entity.js.map +0 -1
- package/engine/entities/abstractions/route.entity.d.ts +0 -35
- package/engine/entities/abstractions/route.entity.js +0 -68
- package/engine/entities/abstractions/route.entity.js.map +0 -1
- package/engine/entities/abstractions/source-file.entity.d.ts +0 -38
- package/engine/entities/abstractions/source-file.entity.js +0 -69
- package/engine/entities/abstractions/source-file.entity.js.map +0 -1
- package/engine/entities/api-list.entity.d.ts +0 -20
- package/engine/entities/api-list.entity.js +0 -74
- package/engine/entities/api-list.entity.js.map +0 -1
- package/engine/entities/api-page.entity.d.ts +0 -36
- package/engine/entities/api-page.entity.js +0 -140
- package/engine/entities/api-page.entity.js.map +0 -1
- package/engine/entities/api-scope.entity.d.ts +0 -41
- package/engine/entities/api-scope.entity.js +0 -115
- package/engine/entities/api-scope.entity.js.map +0 -1
- package/engine/entities/api.entity.d.ts +0 -27
- package/engine/entities/api.entity.js +0 -118
- package/engine/entities/api.entity.js.map +0 -1
- package/engine/entities/cache/cache.js.map +0 -1
- package/engine/entities/cache/cached-files-initializer.js.map +0 -1
- package/engine/entities/cache/cached-props-initializer.js.map +0 -1
- package/engine/entities/cache/decorators/cached-entity.js.map +0 -1
- package/engine/entities/cache/decorators/cached-files-getter.js.map +0 -1
- package/engine/entities/cache/decorators/cached-property.js.map +0 -1
- package/engine/entities/cache/decorators/index.js.map +0 -1
- package/engine/entities/cache/helpers/create-cache-for-file.js.map +0 -1
- package/engine/entities/cache/helpers/create-cache.js.map +0 -1
- package/engine/entities/cache/helpers/get-cache-dir-path.js.map +0 -1
- package/engine/entities/cache/helpers/get-cache-file-path.js.map +0 -1
- package/engine/entities/cache/helpers/index.js.map +0 -1
- package/engine/entities/cache/helpers/invalidate-cache-if-needed.js.map +0 -1
- package/engine/entities/cache/helpers/is-cache-valid.js.map +0 -1
- package/engine/entities/cache/helpers/load-cache.js.map +0 -1
- package/engine/entities/cache/helpers/update-cache.js.map +0 -1
- package/engine/entities/cache/index.js.map +0 -1
- package/engine/entities/cache/interfaces/cache-accessor.js.map +0 -1
- package/engine/entities/cache/interfaces/cached-data.d.ts +0 -5
- package/engine/entities/cache/interfaces/cached-data.js.map +0 -1
- package/engine/entities/cache/interfaces/index.js.map +0 -1
- package/engine/entities/category.entity.d.ts +0 -28
- package/engine/entities/category.entity.js +0 -108
- package/engine/entities/category.entity.js.map +0 -1
- package/engine/entities/context.entity.d.ts +0 -11
- package/engine/entities/context.entity.js +0 -34
- package/engine/entities/context.entity.js.map +0 -1
- package/engine/entities/index-file.entity.d.ts +0 -12
- package/engine/entities/index-file.entity.js +0 -57
- package/engine/entities/index-file.entity.js.map +0 -1
- package/engine/entities/index.d.ts +0 -13
- package/engine/entities/index.js +0 -17
- package/engine/entities/index.js.map +0 -1
- package/engine/entities/indexes.entity.d.ts +0 -12
- package/engine/entities/indexes.entity.js +0 -35
- package/engine/entities/indexes.entity.js.map +0 -1
- package/engine/entities/keywords.entity.d.ts +0 -12
- package/engine/entities/keywords.entity.js +0 -32
- package/engine/entities/keywords.entity.js.map +0 -1
- package/engine/entities/page-demo.entity.d.ts +0 -20
- package/engine/entities/page-demo.entity.js +0 -96
- package/engine/entities/page-demo.entity.js.map +0 -1
- package/engine/entities/page-playground.entity.d.ts +0 -22
- package/engine/entities/page-playground.entity.js +0 -101
- package/engine/entities/page-playground.entity.js.map +0 -1
- package/engine/entities/page.entity.d.ts +0 -33
- package/engine/entities/page.entity.js +0 -175
- package/engine/entities/page.entity.js.map +0 -1
- package/engine/entities/plugins/entity-plugins/add-to-dependencies.plugin.d.ts +0 -5
- package/engine/entities/plugins/entity-plugins/add-to-dependencies.plugin.js +0 -19
- package/engine/entities/plugins/entity-plugins/add-to-dependencies.plugin.js.map +0 -1
- package/engine/entities/plugins/entity-plugins/apply.plugin.d.ts +0 -26
- package/engine/entities/plugins/entity-plugins/apply.plugin.js +0 -64
- package/engine/entities/plugins/entity-plugins/apply.plugin.js.map +0 -1
- package/engine/entities/plugins/entity-plugins/extract-snippets.plugin.d.ts +0 -6
- package/engine/entities/plugins/entity-plugins/extract-snippets.plugin.js +0 -22
- package/engine/entities/plugins/entity-plugins/extract-snippets.plugin.js.map +0 -1
- package/engine/entities/plugins/entity-plugins/fill-indexes.plugin.d.ts +0 -6
- package/engine/entities/plugins/entity-plugins/fill-indexes.plugin.js +0 -26
- package/engine/entities/plugins/entity-plugins/fill-indexes.plugin.js.map +0 -1
- package/engine/entities/plugins/entity-plugins/index.d.ts +0 -9
- package/engine/entities/plugins/entity-plugins/index.js +0 -13
- package/engine/entities/plugins/entity-plugins/index.js.map +0 -1
- package/engine/entities/plugins/entity-plugins/markdown-to-html.plugin.d.ts +0 -5
- package/engine/entities/plugins/entity-plugins/markdown-to-html.plugin.js +0 -20
- package/engine/entities/plugins/entity-plugins/markdown-to-html.plugin.js.map +0 -1
- package/engine/entities/plugins/entity-plugins/post-process-html.plugin.d.ts +0 -5
- package/engine/entities/plugins/entity-plugins/post-process-html.plugin.js +0 -17
- package/engine/entities/plugins/entity-plugins/post-process-html.plugin.js.map +0 -1
- package/engine/entities/plugins/entity-plugins/process-html.plugin.d.ts +0 -5
- package/engine/entities/plugins/entity-plugins/process-html.plugin.js +0 -17
- package/engine/entities/plugins/entity-plugins/process-html.plugin.js.map +0 -1
- package/engine/entities/plugins/entity-plugins/remove-lines.plugin.d.ts +0 -6
- package/engine/entities/plugins/entity-plugins/remove-lines.plugin.js +0 -22
- package/engine/entities/plugins/entity-plugins/remove-lines.plugin.js.map +0 -1
- package/engine/entities/plugins/entity-plugins/wrap-code.plugin.d.ts +0 -6
- package/engine/entities/plugins/entity-plugins/wrap-code.plugin.js +0 -20
- package/engine/entities/plugins/entity-plugins/wrap-code.plugin.js.map +0 -1
- package/engine/entities/plugins/helpers/execute-plugins.d.ts +0 -10
- package/engine/entities/plugins/helpers/execute-plugins.js +0 -17
- package/engine/entities/plugins/helpers/execute-plugins.js.map +0 -1
- package/engine/entities/plugins/helpers/index.d.ts +0 -1
- package/engine/entities/plugins/helpers/index.js +0 -5
- package/engine/entities/plugins/helpers/index.js.map +0 -1
- package/engine/entities/plugins/index.d.ts +0 -3
- package/engine/entities/plugins/index.js +0 -7
- package/engine/entities/plugins/index.js.map +0 -1
- package/engine/entities/plugins/types/entity-plugin.d.ts +0 -5
- package/engine/entities/plugins/types/entity-plugin.js.map +0 -1
- package/engine/entities/plugins/types/index.d.ts +0 -1
- package/engine/entities/plugins/types/index.js.map +0 -1
- package/engine/entities/routes.entity.d.ts +0 -11
- package/engine/entities/routes.entity.js +0 -37
- package/engine/entities/routes.entity.js.map +0 -1
- package/engine/entity-emitter.d.ts +0 -18
- package/engine/entity-emitter.js +0 -49
- package/engine/entity-emitter.js.map +0 -1
- package/engine/entity-store.d.ts +0 -19
- package/engine/entity-store.js +0 -82
- package/engine/entity-store.js.map +0 -1
- package/engine/functions/build-candidates.d.ts +0 -10
- package/engine/functions/build-candidates.js +0 -47
- package/engine/functions/build-candidates.js.map +0 -1
- package/engine/functions/if-not-cached-or-invalid.d.ts +0 -9
- package/engine/functions/if-not-cached-or-invalid.js +0 -18
- package/engine/functions/if-not-cached-or-invalid.js.map +0 -1
- package/engine/functions/index.d.ts +0 -2
- package/engine/functions/index.js +0 -6
- package/engine/functions/index.js.map +0 -1
- package/engine/ts-doc-formatter.d.ts +0 -5
- package/engine/ts-doc-formatter.js +0 -29
- package/engine/ts-doc-formatter.js.map +0 -1
- package/helpers/build-entity-keyword.d.ts +0 -10
- package/helpers/build-entity-keyword.js +0 -27
- package/helpers/build-entity-keyword.js.map +0 -1
- package/helpers/demo/assets-from-component-asset.d.ts +0 -6
- package/helpers/demo/assets-from-component-asset.js +0 -13
- package/helpers/demo/assets-from-component-asset.js.map +0 -1
- package/helpers/entity-type.d.ts +0 -51
- package/helpers/entity-type.js +0 -80
- package/helpers/entity-type.js.map +0 -1
- package/helpers/extract-docs.d.ts +0 -20
- package/helpers/extract-docs.js +0 -78
- package/helpers/extract-docs.js.map +0 -1
- package/helpers/extract-path-anchor.d.ts +0 -7
- package/helpers/extract-path-anchor.js +0 -17
- package/helpers/extract-path-anchor.js.map +0 -1
- package/helpers/generate-api-entities.d.ts +0 -6
- package/helpers/generate-api-entities.js +0 -68
- package/helpers/generate-api-entities.js.map +0 -1
- package/helpers/get-demo-class-declarations.js.map +0 -1
- package/helpers/get-entity-constructor.d.ts +0 -7
- package/helpers/get-entity-constructor.js +0 -24
- package/helpers/get-entity-constructor.js.map +0 -1
- package/helpers/get-keyword-type-from-entity.d.ts +0 -7
- package/helpers/get-keyword-type-from-entity.js +0 -20
- package/helpers/get-keyword-type-from-entity.js.map +0 -1
- package/helpers/get-page-type.d.ts +0 -7
- package/helpers/get-page-type.js +0 -12
- package/helpers/get-page-type.js.map +0 -1
- package/helpers/is-not-excluded-path.d.ts +0 -6
- package/helpers/is-not-excluded-path.js +0 -15
- package/helpers/is-not-excluded-path.js.map +0 -1
- package/helpers/keyword-key.d.ts +0 -5
- package/helpers/keyword-key.js.map +0 -1
- package/helpers/process-html.d.ts +0 -13
- package/helpers/process-html.js +0 -43
- package/helpers/process-html.js.map +0 -1
- package/helpers/typescript/exclude-by-ts-docs-tags.d.ts +0 -7
- package/helpers/typescript/exclude-by-ts-docs-tags.js +0 -17
- package/helpers/typescript/exclude-by-ts-docs-tags.js.map +0 -1
- package/helpers/unique-name.d.ts +0 -5
- package/helpers/unique-name.js +0 -21
- package/helpers/unique-name.js.map +0 -1
- package/interfaces/build-result.d.ts +0 -10
- package/interfaces/build-result.js.map +0 -1
- package/operators/buffer-until-once.d.ts +0 -6
- package/operators/buffer-until-once.js +0 -14
- package/operators/buffer-until-once.js.map +0 -1
- package/operators/error-handler.d.ts +0 -7
- package/operators/error-handler.js +0 -20
- package/operators/error-handler.js.map +0 -1
- package/operators/fork-join-or-empty.d.ts +0 -6
- package/operators/fork-join-or-empty.js +0 -12
- package/operators/fork-join-or-empty.js.map +0 -1
- package/schematics/ng-update/steps/update-angular-json.d.ts +0 -4
- package/schematics/ng-update/steps/update-angular-json.js +0 -73
- package/schematics/ng-update/steps/update-angular-json.js.map +0 -1
- package/schematics/ng-update/steps/update-git-ignore.js +0 -21
- package/schematics/ng-update/steps/update-git-ignore.js.map +0 -1
- package/schematics/ng-update/steps/update-ts-config.d.ts +0 -5
- package/schematics/ng-update/steps/update-ts-config.js +0 -38
- package/schematics/ng-update/steps/update-ts-config.js.map +0 -1
- package/schematics/page/files/ng-doc.module.ts.template +0 -9
- package/templates/api/class.html.nunj +0 -96
- package/templates/api/function.html.nunj +0 -20
- package/templates/api/interface.html.nunj +0 -46
- package/templates/api/type-alias.html.nunj +0 -10
- package/templates/api/variable.html.nunj +0 -10
- package/templates/api-page.ts.nunj +0 -41
- package/templates/routing.ts.nunj +0 -11
- package/types/supported-declarations.d.ts +0 -2
- package/types/supported-declarations.js +0 -3
- package/types/supported-declarations.js.map +0 -1
- /package/engine/{entities/cache → cache}/cache.d.ts +0 -0
- /package/engine/{entities/cache → cache}/cached-files-initializer.d.ts +0 -0
- /package/engine/{entities/cache → cache}/cached-props-initializer.d.ts +0 -0
- /package/engine/{entities/cache → cache}/decorators/cached-entity.d.ts +0 -0
- /package/engine/{entities/cache → cache}/decorators/cached-files-getter.d.ts +0 -0
- /package/engine/{entities/cache → cache}/decorators/cached-files-getter.js +0 -0
- /package/engine/{entities/cache → cache}/decorators/cached-property.d.ts +0 -0
- /package/engine/{entities/cache → cache}/decorators/cached-property.js +0 -0
- /package/engine/{entities/cache → cache}/decorators/index.d.ts +0 -0
- /package/engine/{entities/cache → cache}/decorators/index.js +0 -0
- /package/engine/{entities/cache → cache}/helpers/create-cache-for-file.d.ts +0 -0
- /package/engine/{entities/cache → cache}/helpers/create-cache-for-file.js +0 -0
- /package/engine/{entities/cache → cache}/helpers/get-cache-dir-path.d.ts +0 -0
- /package/engine/{entities/cache → cache}/helpers/get-cache-file-path.d.ts +0 -0
- /package/engine/{entities/cache → cache}/helpers/get-cache-file-path.js +0 -0
- /package/engine/{entities/cache → cache}/helpers/index.d.ts +0 -0
- /package/engine/{entities/cache → cache}/helpers/index.js +0 -0
- /package/engine/{entities/cache → cache}/helpers/invalidate-cache-if-needed.d.ts +0 -0
- /package/engine/{entities/cache → cache}/helpers/is-cache-valid.d.ts +0 -0
- /package/engine/{entities/cache → cache}/helpers/load-cache.js +0 -0
- /package/engine/{entities/cache → cache}/helpers/update-cache.js +0 -0
- /package/engine/{entities/cache → cache}/index.d.ts +0 -0
- /package/engine/{entities/cache → cache}/index.js +0 -0
- /package/engine/{entities/cache → cache}/interfaces/cache-accessor.d.ts +0 -0
- /package/engine/{entities/cache → cache}/interfaces/cache-accessor.js +0 -0
- /package/engine/{entities/cache → cache}/interfaces/cached-data.js +0 -0
- /package/engine/{entities/cache → cache}/interfaces/index.d.ts +0 -0
- /package/engine/{entities/cache → cache}/interfaces/index.js +0 -0
- /package/helpers/{get-demo-class-declarations.d.ts → demo/get-demo-class-declarations.d.ts} +0 -0
package/templates/page.ts.nunj
CHANGED
|
@@ -3,53 +3,70 @@ import {ChangeDetectionStrategy, Component} from '@angular/core';
|
|
|
3
3
|
import {Routes} from '@angular/router';
|
|
4
4
|
import {NgDocDemoAssets, NgDocPageComponent, NgDocRootPage} from '@ng-doc/app';
|
|
5
5
|
import {isRoute, NgDocPage, NgDocPageType} from '@ng-doc/core';
|
|
6
|
-
|
|
7
|
-
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
6
|
+
{%- if entryPath %}
|
|
7
|
+
import entry from '{{ metadata.outDir | createImportPath(entryPath) }}';
|
|
8
|
+
{%- endif %}
|
|
9
|
+
{%- if playgroundsPath %}
|
|
10
|
+
import {PLAYGROUND_COMPONENTS, PLAYGROUND_PROVIDERS} from '{{ metadata.outDir | createImportPath(playgroundsPath) }}';
|
|
11
|
+
{%- endif %}
|
|
12
|
+
{%- if demoAssetsPath %}
|
|
13
|
+
import demoAssets from '{{ metadata.outDir | createImportPath(demoAssetsPath) }}';
|
|
14
|
+
{%- endif %}
|
|
11
15
|
|
|
16
|
+
const pageContent: string = `{{ content | toTemplateString }}`
|
|
12
17
|
|
|
13
18
|
@Component({
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
19
|
+
selector: 'ng-doc-page-{{ id }}',
|
|
20
|
+
standalone: true,
|
|
21
|
+
template: `<ng-doc-page></ng-doc-page>`,
|
|
22
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
23
|
+
imports: [
|
|
24
|
+
NgDocPageComponent,
|
|
25
|
+
{%- if entryPath and entryHasImports %}
|
|
26
|
+
...entry.imports,
|
|
27
|
+
{%- endif %}
|
|
28
|
+
{%- if playgroundsPath %}
|
|
29
|
+
...PLAYGROUND_COMPONENTS,
|
|
30
|
+
{%- endif %}
|
|
31
|
+
],
|
|
32
|
+
providers: [
|
|
33
|
+
{provide: NgDocRootPage, useExisting: PageComponent},
|
|
34
|
+
{%- if playgroundsPath %}
|
|
35
|
+
PLAYGROUND_PROVIDERS,
|
|
36
|
+
{%- endif %}
|
|
37
|
+
{%- if entryPath %}
|
|
38
|
+
(entry.providers ?? []),
|
|
39
|
+
{%- endif %}
|
|
40
|
+
],
|
|
30
41
|
})
|
|
31
|
-
export class
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
{%-
|
|
38
|
-
|
|
42
|
+
export class PageComponent extends NgDocRootPage {
|
|
43
|
+
readonly pageType: NgDocPageType = '{{ pageType }}';
|
|
44
|
+
readonly pageContent: string = pageContent;
|
|
45
|
+
{%- if editSourceFileUrl %}
|
|
46
|
+
readonly editSourceFileUrl: string = '{{ editSourceFileUrl }}';
|
|
47
|
+
{%- endif %}
|
|
48
|
+
{%- if viewSourceFileUrl %}
|
|
49
|
+
readonly viewSourceFileUrl: string = '{{ viewSourceFileUrl }}';
|
|
39
50
|
{%- endif -%}
|
|
40
|
-
|
|
41
|
-
|
|
51
|
+
{%- if entryPath %}
|
|
52
|
+
readonly page?: NgDocPage = entry;
|
|
53
|
+
{%- endif %}
|
|
54
|
+
{%- if demoAssetsPath %}
|
|
55
|
+
readonly demoAssets: NgDocDemoAssets = demoAssets;
|
|
56
|
+
{%- endif %}
|
|
42
57
|
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
58
|
+
constructor() {
|
|
59
|
+
super();
|
|
60
|
+
}
|
|
46
61
|
}
|
|
47
62
|
|
|
48
63
|
const routes: Routes = [{
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
64
|
+
{%- if entryPath %}
|
|
65
|
+
...(isRoute(entry.route) ? entry.route : {}),
|
|
66
|
+
{%- endif %}
|
|
67
|
+
path: '',
|
|
68
|
+
component: PageComponent,
|
|
69
|
+
title: `{{ metadata.title | toTemplateString }}`,
|
|
53
70
|
}]
|
|
54
71
|
|
|
55
72
|
export default routes;
|
|
@@ -1,25 +1,10 @@
|
|
|
1
1
|
{% import "helpers/tag.html.nunj" as tagMacro %}
|
|
2
|
-
{% import "helpers/decorators.html.nunj" as decoratorsMacro %}
|
|
3
2
|
|
|
4
3
|
<div class="ng-doc-page-tags">
|
|
5
|
-
{% set selectors = declaration | extractSelectors %}
|
|
6
4
|
{% set declarationType = declaration | getDeclarationType %}
|
|
7
5
|
|
|
8
|
-
|
|
9
6
|
{{ tagMacro.render(scope.name, "ng-doc-scope") }}
|
|
10
7
|
<span class="ng-doc-inline-delimiter" indexable="false">/</span>
|
|
11
8
|
{{ tagMacro.render(declarationType) if declarationType }}
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
{%- if declaration.getDecorators and declaration.getDecorators().length %}
|
|
15
|
-
<span class="ng-doc-inline-delimiter" indexable="false">/</span>
|
|
16
|
-
{{ decoratorsMacro.render(declaration.getDecorators()) }}
|
|
17
|
-
{%- endif %}
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
{% for selector in selectors %}
|
|
21
|
-
<span class="ng-doc-inline-delimiter" indexable="false">/</span>
|
|
22
|
-
{{ tagMacro.render(selector, "ng-doc-tag-selector") }}
|
|
23
|
-
{%- endfor %}
|
|
24
9
|
</div>
|
|
25
10
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {ChangeDetectionStrategy, Component, Type, ViewChild, ViewContainerRef} from '@angular/core';
|
|
3
3
|
import {NgDocBasePlayground, providePlaygroundDemo} from '@ng-doc/app';
|
|
4
4
|
// noinspection ES6UnusedImports
|
|
5
|
-
import pageEntity from '{{
|
|
5
|
+
import pageEntity from '{{ entryImportPath }}';
|
|
6
6
|
import {CommonModule} from '@angular/common';
|
|
7
7
|
|
|
8
8
|
{%- set components = [] %}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
import {Routes} from '@angular/router';
|
|
3
|
+
|
|
4
|
+
export const NG_DOC_ROUTING: Routes = [
|
|
5
|
+
{%- macro route(entry) %}
|
|
6
|
+
{
|
|
7
|
+
path: '{{ entry.item.route }}',
|
|
8
|
+
title: `{{ entry.item.title | toTemplateString }}`,
|
|
9
|
+
{%- if entry.children.length %}
|
|
10
|
+
children: [{
|
|
11
|
+
path: '',
|
|
12
|
+
redirectTo: '{{ entry.children[0].item.route }}',
|
|
13
|
+
pathMatch: 'full'
|
|
14
|
+
},
|
|
15
|
+
{%- for child in entry.children -%}
|
|
16
|
+
{{ route(child) }}
|
|
17
|
+
{%- endfor -%}
|
|
18
|
+
],
|
|
19
|
+
{%- else %}
|
|
20
|
+
loadChildren: () => import('./{{ curDir | createImportPath(entry.item.outDir + "/page.ts") }}'),
|
|
21
|
+
{%- endif %}
|
|
22
|
+
},
|
|
23
|
+
{%- endmacro %}
|
|
24
|
+
{%- for entry in entries %}
|
|
25
|
+
{{ route(entry) }}
|
|
26
|
+
{%- endfor %}
|
|
27
|
+
];
|
package/types/action.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { NgDocPageEntity } from '../engine';
|
|
1
|
+
import { EntryMetadata, MarkdownEntry } from '../engine';
|
|
3
2
|
import { NgDocActionOutput } from '../interfaces';
|
|
4
|
-
export type NgDocAction = (
|
|
3
|
+
export type NgDocAction<T> = (entry: EntryMetadata<MarkdownEntry>) => NgDocActionOutput<T>;
|
package/types/index.d.ts
CHANGED
package/types/index.js
CHANGED
|
@@ -5,5 +5,5 @@ tslib_1.__exportStar(require("./action"), exports);
|
|
|
5
5
|
tslib_1.__exportStar(require("./artifact-processor"), exports);
|
|
6
6
|
tslib_1.__exportStar(require("./component-asset"), exports);
|
|
7
7
|
tslib_1.__exportStar(require("./constructable"), exports);
|
|
8
|
-
tslib_1.__exportStar(require("./supported-
|
|
8
|
+
tslib_1.__exportStar(require("./supported-declaration"), exports);
|
|
9
9
|
//# sourceMappingURL=index.js.map
|
package/types/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../libs/builder/types/index.ts"],"names":[],"mappings":";;;AAAA,mDAAyB;AACzB,+DAAqC;AACrC,4DAAkC;AAClC,0DAAgC;AAChC,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../libs/builder/types/index.ts"],"names":[],"mappings":";;;AAAA,mDAAyB;AACzB,+DAAqC;AACrC,4DAAkC;AAClC,0DAAgC;AAChC,kEAAwC"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { ClassDeclaration, EnumDeclaration, FunctionDeclaration, InterfaceDeclaration, TypeAliasDeclaration, VariableDeclaration } from 'ts-morph';
|
|
2
|
+
export type NgDocSupportedDeclaration = ClassDeclaration | InterfaceDeclaration | EnumDeclaration | FunctionDeclaration | VariableDeclaration | TypeAliasDeclaration;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"supported-declaration.js","sourceRoot":"","sources":["../../../../libs/builder/types/supported-declaration.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"demo-pane.action.js","sourceRoot":"","sources":["../../../../../libs/builder/engine/actions/demo-pane.action.ts"],"names":[],"mappings":";;AAWA,wCAWC;AAtBD,uCAAsE;AAKtE;;;;;GAKG;AACH,SAAgB,cAAc,CAC7B,aAAqB,EACrB,OAAoC;IAEpC,OAAO,GAAsB,EAAE;QAC9B,OAAO;YACN,MAAM,EAAE,oCAAoC,aAAa;0BAClC,IAAA,iBAAU,EAAC,IAAI,CAAC,SAAS,CAAC,OAAO,aAAP,OAAO,cAAP,OAAO,GAAI,EAAE,CAAC,CAAC;yBAC1C;SACtB,CAAC;IACH,CAAC,CAAC;AACH,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"demo.action.js","sourceRoot":"","sources":["../../../../../libs/builder/engine/actions/demo.action.ts"],"names":[],"mappings":";;AAWA,gCAQC;AAnBD,uCAAkE;AAKlE;;;;;GAKG;AACH,SAAgB,UAAU,CAAC,aAAqB,EAAE,OAAgC;IACjF,OAAO,GAAsB,EAAE;QAC9B,OAAO;YACN,MAAM,EAAE,+BAA+B,aAAa;0BAC7B,IAAA,iBAAU,EAAC,IAAI,CAAC,SAAS,CAAC,OAAO,aAAP,OAAO,cAAP,OAAO,GAAI,EAAE,CAAC,CAAC;oBAC/C;SACjB,CAAC;IACH,CAAC,CAAC;AACH,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"playground.action.js","sourceRoot":"","sources":["../../../../../libs/builder/engine/actions/playground.action.ts"],"names":[],"mappings":";;AAYA,4CAkBC;AA9BD,uCAAkE;AAOlE;;;;GAIG;AACH,SAAgB,gBAAgB,CAAC,GAAW,EAAE,OAAgC;IAC7E,OAAO,CAAC,OAAgB,EAAE,IAAqB,EAAqB,EAAE;;QACrE,MAAM,QAAQ,GAAwC,IAAI,CAAC,gBAAgB,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC;QAE1F,IAAI,QAAQ,EAAE,CAAC;YACd,OAAO;gBACN,MAAM,EAAE,0BAA0B,GAAG;6BACZ,MAAA,QAAQ,CAAC,QAAQ,mCAAI,EAAE;4BACxB,MAAA,QAAQ,CAAC,IAAI,mCAAI,EAAE;wBACvB,IAAA,iBAAU,EAAC,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC,UAAU,CAAC,CAAC;2BAC5C,IAAA,iBAAU,EAAC,IAAI,CAAC,SAAS,CAAC,OAAO,aAAP,OAAO,cAAP,OAAO,GAAI,EAAE,CAAC,CAAC;2BACzC;gBACvB,YAAY,EAAE,CAAC,QAAQ,CAAC,KAAK,CAAC,aAAa,EAAE,CAAC,WAAW,EAAE,CAAC;aAC5D,CAAC;QACH,CAAC;aAAM,CAAC;YACP,OAAO,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC;QACvB,CAAC;IACF,CAAC,CAAC;AACH,CAAC"}
|
package/engine/actions.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"actions.js","sourceRoot":"","sources":["../../../../libs/builder/engine/actions.ts"],"names":[],"mappings":";;;AAQA,uDAAmD;AACnD,iEAA4D;AAC5D,mEAA+D;AAG/D,MAAa,YAAY;IACxB,YAA6B,IAAqB;QAArB,SAAI,GAAJ,IAAI,CAAiB;IAAG,CAAC;IAEtD,IAAI,CAAC,SAAiB,EAAE,OAAgC;QACvD,OAAO,IAAI,CAAC,aAAa,CAAC,IAAA,wBAAU,EAAC,SAAS,EAAE,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC;IAClE,CAAC;IAED,QAAQ,CAAC,SAAiB,EAAE,OAAoC;QAC/D,OAAO,IAAI,CAAC,aAAa,CAAC,IAAA,iCAAc,EAAC,SAAS,EAAE,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC;IACtE,CAAC;IAED,UAAU,CAAC,YAAoB,EAAE,OAAgC;QAChE,MAAM,MAAM,GAAsB,IAAI,CAAC,aAAa,CAAC,IAAA,oCAAgB,EAAC,YAAY,EAAE,OAAO,CAAC,CAAC,CAAC;QAE9F,OAAO,MAAM,CAAC,MAAM,CAAC;IACtB,CAAC;IAEO,aAAa,CAAC,MAAmB;;QACxC,MAAM,MAAM,GAAsB,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,UAAU,EAAE,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;QAEvF,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,GAAG,CAAC,MAAA,MAAM,CAAC,YAAY,mCAAI,EAAE,CAAC,CAAC,CAAC;QAE3D,OAAO,MAAM,CAAC;IACf,CAAC;CACD;AAxBD,oCAwBC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { OperatorFunction } from 'rxjs';
|
|
2
|
-
import { NgDocEntity } from '../entities/abstractions/entity';
|
|
3
|
-
import { NgDocEntityStore } from '../entity-store';
|
|
4
|
-
/**
|
|
5
|
-
*
|
|
6
|
-
* @param store
|
|
7
|
-
*/
|
|
8
|
-
export declare function addBuildCandidates(store: NgDocEntityStore): OperatorFunction<NgDocEntity[], NgDocEntity[]>;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.addBuildCandidates = addBuildCandidates;
|
|
4
|
-
const core_1 = require("@ng-doc/core");
|
|
5
|
-
const operators_1 = require("rxjs/operators");
|
|
6
|
-
const helpers_1 = require("../../helpers");
|
|
7
|
-
/**
|
|
8
|
-
*
|
|
9
|
-
* @param store
|
|
10
|
-
*/
|
|
11
|
-
function addBuildCandidates(store) {
|
|
12
|
-
return (source) => source.pipe((0, operators_1.tap)(() => {
|
|
13
|
-
store
|
|
14
|
-
.asArray()
|
|
15
|
-
.forEach((entity) => !entity.destroyed && (0, helpers_1.isFileEntity)(entity) && entity.setParentDynamically());
|
|
16
|
-
}), (0, operators_1.map)((entities) => (0, core_1.unique)(entities, entities.map((e) => e.buildCandidates).flat(),
|
|
17
|
-
/*
|
|
18
|
-
* We need to add the build candidates of the entities which has errors or warnings too,
|
|
19
|
-
* just to rebuild their parents too e.g. to remove a broken page from a category.
|
|
20
|
-
*/
|
|
21
|
-
store
|
|
22
|
-
.getAllWithErrorsOrWarnings()
|
|
23
|
-
.map((e) => e.buildCandidates)
|
|
24
|
-
.flat())));
|
|
25
|
-
}
|
|
26
|
-
//# sourceMappingURL=add-build-candidates.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"add-build-candidates.js","sourceRoot":"","sources":["../../../../../libs/builder/engine/builder-operators/add-build-candidates.ts"],"names":[],"mappings":";;AAYA,gDA4BC;AAxCD,uCAAsC;AAEtC,8CAA0C;AAE1C,2CAA6C;AAI7C;;;GAGG;AACH,SAAgB,kBAAkB,CACjC,KAAuB;IAEvB,OAAO,CAAC,MAAiC,EAAE,EAAE,CAC5C,MAAM,CAAC,IAAI,CACV,IAAA,eAAG,EAAC,GAAG,EAAE;QACR,KAAK;aACH,OAAO,EAAE;aACT,OAAO,CACP,CAAC,MAAmB,EAAE,EAAE,CACvB,CAAC,MAAM,CAAC,SAAS,IAAI,IAAA,sBAAY,EAAC,MAAM,CAAC,IAAI,MAAM,CAAC,oBAAoB,EAAE,CAC3E,CAAC;IACJ,CAAC,CAAC,EACF,IAAA,eAAG,EAAC,CAAC,QAAuB,EAAE,EAAE,CAC/B,IAAA,aAAM,EACL,QAAQ,EACR,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAc,EAAE,EAAE,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,IAAI,EAAE;IAC1D;;;OAGG;IACH,KAAK;SACH,0BAA0B,EAAE;SAC5B,GAAG,CAAC,CAAC,CAAc,EAAE,EAAE,CAAC,CAAC,CAAC,eAAe,CAAC;SAC1C,IAAI,EAAE,CACR,CACD,CACD,CAAC;AACJ,CAAC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { OperatorFunction } from 'rxjs';
|
|
2
|
-
import { NgDocBuildResult } from '../../interfaces';
|
|
3
|
-
import { NgDocEntity } from '../entities/abstractions/entity';
|
|
4
|
-
import { NgDocEntityStore } from '../entity-store';
|
|
5
|
-
/**
|
|
6
|
-
* Operator that updates the keyword map, builds the artifacts for each entity based on the
|
|
7
|
-
* keyword relationships, and returns the built artifacts.
|
|
8
|
-
* @param store - The entity store.
|
|
9
|
-
* @param additionalEntities - Additional entities to build.
|
|
10
|
-
*/
|
|
11
|
-
export declare function build(store: NgDocEntityStore, ...additionalEntities: NgDocEntity[]): OperatorFunction<NgDocEntity[], NgDocBuildResult[]>;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.build = build;
|
|
4
|
-
const operators_1 = require("rxjs/operators");
|
|
5
|
-
const operators_2 = require("../../operators");
|
|
6
|
-
const build_candidates_1 = require("../functions/build-candidates");
|
|
7
|
-
/**
|
|
8
|
-
* Operator that updates the keyword map, builds the artifacts for each entity based on the
|
|
9
|
-
* keyword relationships, and returns the built artifacts.
|
|
10
|
-
* @param store - The entity store.
|
|
11
|
-
* @param additionalEntities - Additional entities to build.
|
|
12
|
-
*/
|
|
13
|
-
function build(store, ...additionalEntities) {
|
|
14
|
-
return (source) => source.pipe((0, operators_1.map)((entities) => (0, build_candidates_1.buildCandidates)(store, entities).filter((e) => e.isReadyForBuild)), (0, operators_1.switchMap)((entities) => (0, operators_2.forkJoinOrEmpty)(entities.map((e) => {
|
|
15
|
-
e.beforeBuild();
|
|
16
|
-
return e.build();
|
|
17
|
-
}))), (0, operators_1.switchMap)((output) => (0, operators_2.forkJoinOrEmpty)((0, build_candidates_1.buildCandidates)(store, additionalEntities).map((e) => {
|
|
18
|
-
e.beforeBuild();
|
|
19
|
-
return e.build();
|
|
20
|
-
})).pipe((0, operators_1.map)((additionalOutput) => output.concat(additionalOutput).flat()))));
|
|
21
|
-
}
|
|
22
|
-
//# sourceMappingURL=build.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"build.js","sourceRoot":"","sources":["../../../../../libs/builder/engine/builder-operators/build.ts"],"names":[],"mappings":";;AAeA,sBA8BC;AA5CD,8CAAgD;AAGhD,+CAAkD;AAGlD,oEAAgE;AAEhE;;;;;GAKG;AACH,SAAgB,KAAK,CACpB,KAAuB,EACvB,GAAG,kBAAiC;IAEpC,OAAO,CAAC,MAAiC,EAAE,EAAE,CAC5C,MAAM,CAAC,IAAI,CACV,IAAA,eAAG,EAAC,CAAC,QAAuB,EAAE,EAAE,CAC/B,IAAA,kCAAe,EAAC,KAAK,EAAE,QAAQ,CAAC,CAAC,MAAM,CAAC,CAAC,CAAc,EAAE,EAAE,CAAC,CAAC,CAAC,eAAe,CAAC,CAC9E,EACD,IAAA,qBAAS,EAAC,CAAC,QAAuB,EAAE,EAAE,CACrC,IAAA,2BAAe,EACd,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAc,EAAE,EAAE;QAC/B,CAAC,CAAC,WAAW,EAAE,CAAC;QAEhB,OAAO,CAAC,CAAC,KAAK,EAAE,CAAC;IAClB,CAAC,CAAC,CACF,CACD,EACD,IAAA,qBAAS,EAAC,CAAC,MAA0B,EAAE,EAAE,CACxC,IAAA,2BAAe,EACd,IAAA,kCAAe,EAAC,KAAK,EAAE,kBAAkB,CAAC,CAAC,GAAG,CAAC,CAAC,CAAc,EAAE,EAAE;QACjE,CAAC,CAAC,WAAW,EAAE,CAAC;QAEhB,OAAO,CAAC,CAAC,KAAK,EAAE,CAAC;IAClB,CAAC,CAAC,CACF,CAAC,IAAI,CACL,IAAA,eAAG,EAAC,CAAC,gBAAoC,EAAE,EAAE,CAAC,MAAM,CAAC,MAAM,CAAC,gBAAgB,CAAC,CAAC,IAAI,EAAE,CAAC,CACrF,CACD,CACD,CAAC;AACJ,CAAC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { OperatorFunction } from 'rxjs';
|
|
2
|
-
import { NgDocEntityStore } from '../entity-store';
|
|
3
|
-
/**
|
|
4
|
-
* Operator that collects garbage from the entity store after each source emission.
|
|
5
|
-
* @param store - The entity store.
|
|
6
|
-
*/
|
|
7
|
-
export declare function collectGarbage<T>(store: NgDocEntityStore): OperatorFunction<T, T>;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.collectGarbage = collectGarbage;
|
|
4
|
-
const operators_1 = require("rxjs/operators");
|
|
5
|
-
/**
|
|
6
|
-
* Operator that collects garbage from the entity store after each source emission.
|
|
7
|
-
* @param store - The entity store.
|
|
8
|
-
*/
|
|
9
|
-
function collectGarbage(store) {
|
|
10
|
-
return (source) => source.pipe((0, operators_1.tap)(() => {
|
|
11
|
-
store.asArray().forEach((entity) => {
|
|
12
|
-
if (entity.destroyed) {
|
|
13
|
-
entity.removeArtifacts();
|
|
14
|
-
store.delete(entity.id);
|
|
15
|
-
}
|
|
16
|
-
});
|
|
17
|
-
}));
|
|
18
|
-
}
|
|
19
|
-
//# sourceMappingURL=collect-garbage.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"collect-garbage.js","sourceRoot":"","sources":["../../../../../libs/builder/engine/builder-operators/collect-garbage.ts"],"names":[],"mappings":";;AAUA,wCAYC;AArBD,8CAAqC;AAKrC;;;GAGG;AACH,SAAgB,cAAc,CAAI,KAAuB;IACxD,OAAO,CAAC,MAAqB,EAAE,EAAE,CAChC,MAAM,CAAC,IAAI,CACV,IAAA,eAAG,EAAC,GAAG,EAAE;QACR,KAAK,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC,CAAC,MAAmB,EAAE,EAAE;YAC/C,IAAI,MAAM,CAAC,SAAS,EAAE,CAAC;gBACtB,MAAM,CAAC,eAAe,EAAE,CAAC;gBACzB,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;YACzB,CAAC;QACF,CAAC,CAAC,CAAC;IACJ,CAAC,CAAC,CACF,CAAC;AACJ,CAAC"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { OperatorFunction } from 'rxjs';
|
|
2
|
-
import { NgDocEntity } from '../entities/abstractions/entity';
|
|
3
|
-
/**
|
|
4
|
-
* Operator that compiles the source file only if it is a `NgDocFileEntity`
|
|
5
|
-
*/
|
|
6
|
-
export declare function compile<T extends NgDocEntity>(): OperatorFunction<T, T>;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.compile = compile;
|
|
4
|
-
const rxjs_1 = require("rxjs");
|
|
5
|
-
const operators_1 = require("rxjs/operators");
|
|
6
|
-
const helpers_1 = require("../../helpers");
|
|
7
|
-
const error_handler_1 = require("../../operators/error-handler");
|
|
8
|
-
/**
|
|
9
|
-
* Operator that compiles the source file only if it is a `NgDocFileEntity`
|
|
10
|
-
*/
|
|
11
|
-
function compile() {
|
|
12
|
-
return (source) => source.pipe((0, operators_1.switchMap)((e) => {
|
|
13
|
-
if ((0, helpers_1.isFileEntity)(e) && e.isReadyForBuild) {
|
|
14
|
-
return e.compile().pipe((0, operators_1.map)(() => e), (0, error_handler_1.errorHandler)(e));
|
|
15
|
-
}
|
|
16
|
-
return (0, rxjs_1.of)(e);
|
|
17
|
-
}));
|
|
18
|
-
}
|
|
19
|
-
//# sourceMappingURL=compile.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"compile.js","sourceRoot":"","sources":["../../../../../libs/builder/engine/builder-operators/compile.ts"],"names":[],"mappings":";;AAUA,0BAcC;AAxBD,+BAAsD;AACtD,8CAA8C;AAE9C,2CAA2C;AAC3C,iEAA2D;AAG3D;;GAEG;AACH,SAAgB,OAAO;IACtB,OAAO,CAAC,MAAqB,EAAE,EAAE,CAChC,MAAM,CAAC,IAAI,CACV,IAAA,qBAAS,EAAC,CAAC,CAAI,EAAE,EAAE;QAClB,IAAI,IAAA,sBAAY,EAAC,CAAC,CAAC,IAAI,CAAC,CAAC,eAAe,EAAE,CAAC;YAC1C,OAAO,CAAC,CAAC,OAAO,EAAE,CAAC,IAAI,CACtB,IAAA,eAAG,EAAC,GAAG,EAAE,CAAC,CAAC,CAAC,EACZ,IAAA,4BAAY,EAAC,CAAC,CAAC,CACf,CAAC;QACH,CAAC;QAED,OAAO,IAAA,SAAE,EAAC,CAAC,CAAC,CAAC;IACd,CAAC,CAAC,CACF,CAAC;AACJ,CAAC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { OperatorFunction } from 'rxjs';
|
|
2
|
-
import { NgDocEntity } from '../entities/abstractions/entity';
|
|
3
|
-
import { NgDocWatcher } from '../watcher';
|
|
4
|
-
/**
|
|
5
|
-
* Operator creates an additional observable that emits when the dependencies of the source observable change
|
|
6
|
-
* and returns them as an array.
|
|
7
|
-
* @param watcher - The watcher instance.
|
|
8
|
-
*/
|
|
9
|
-
export declare function dependencyChanges(watcher: NgDocWatcher): OperatorFunction<NgDocEntity[], NgDocEntity[]>;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.dependencyChanges = dependencyChanges;
|
|
4
|
-
const rxjs_1 = require("rxjs");
|
|
5
|
-
const operators_1 = require("rxjs/operators");
|
|
6
|
-
const operators_2 = require("../../operators");
|
|
7
|
-
/**
|
|
8
|
-
* Operator creates an additional observable that emits when the dependencies of the source observable change
|
|
9
|
-
* and returns them as an array.
|
|
10
|
-
* @param watcher - The watcher instance.
|
|
11
|
-
*/
|
|
12
|
-
function dependencyChanges(watcher) {
|
|
13
|
-
return (source) => source.pipe((0, rxjs_1.mergeMap)((entities) => {
|
|
14
|
-
const filtered = entities.filter((e) => !e.destroyed);
|
|
15
|
-
return filtered.length
|
|
16
|
-
? (0, rxjs_1.merge)(...filtered.map((e) => e.dependencies.changes().pipe((0, rxjs_1.switchMap)((dependencies) => watcher
|
|
17
|
-
.watch(dependencies)
|
|
18
|
-
.onChange(...dependencies)
|
|
19
|
-
.pipe((0, operators_1.tap)(() => e.dependenciesChanged()), (0, rxjs_1.takeUntil)(e.onDestroy()), (0, operators_1.map)(() => e)))))).pipe((0, operators_2.bufferDebounce)(0), (0, operators_1.startWith)(entities))
|
|
20
|
-
: (0, rxjs_1.of)(entities);
|
|
21
|
-
}));
|
|
22
|
-
}
|
|
23
|
-
//# sourceMappingURL=dependency-changes.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dependency-changes.js","sourceRoot":"","sources":["../../../../../libs/builder/engine/builder-operators/dependency-changes.ts"],"names":[],"mappings":";;AAYA,8CA4BC;AAxCD,+BAA+F;AAC/F,8CAAqD;AAErD,+CAAiD;AAIjD;;;;GAIG;AACH,SAAgB,iBAAiB,CAChC,OAAqB;IAErB,OAAO,CAAC,MAAiC,EAAE,EAAE,CAC5C,MAAM,CAAC,IAAI,CACV,IAAA,eAAQ,EAAC,CAAC,QAAuB,EAAE,EAAE;QACpC,MAAM,QAAQ,GAAkB,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAc,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC;QAElF,OAAO,QAAQ,CAAC,MAAM;YACrB,CAAC,CAAC,IAAA,YAAK,EACL,GAAG,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAc,EAAE,EAAE,CAClC,CAAC,CAAC,YAAY,CAAC,OAAO,EAAE,CAAC,IAAI,CAC5B,IAAA,gBAAS,EAAC,CAAC,YAAsB,EAAE,EAAE,CACpC,OAAO;iBACL,KAAK,CAAC,YAAY,CAAC;iBACnB,QAAQ,CAAC,GAAG,YAAY,CAAC;iBACzB,IAAI,CACJ,IAAA,eAAG,EAAC,GAAG,EAAE,CAAC,CAAC,CAAC,mBAAmB,EAAE,CAAC,EAClC,IAAA,gBAAS,EAAC,CAAC,CAAC,SAAS,EAAE,CAAC,EACxB,IAAA,eAAG,EAAC,GAAG,EAAE,CAAC,CAAC,CAAC,CACZ,CACF,CACD,CACD,CACA,CAAC,IAAI,CAAC,IAAA,0BAAc,EAAC,CAAC,CAAC,EAAE,IAAA,qBAAS,EAAC,QAAQ,CAAC,CAAC;YAChD,CAAC,CAAC,IAAA,SAAE,EAAC,QAAQ,CAAC,CAAC;IACjB,CAAC,CAAC,CACF,CAAC;AACJ,CAAC"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { OperatorFunction } from 'rxjs';
|
|
2
|
-
import { NgDocBuilderOutput } from '../../interfaces';
|
|
3
|
-
/**
|
|
4
|
-
* Operator that emits the built output after each source emission.
|
|
5
|
-
*/
|
|
6
|
-
export declare function emit(): OperatorFunction<NgDocBuilderOutput[], NgDocBuilderOutput[]>;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.emit = emit;
|
|
4
|
-
const operators_1 = require("rxjs/operators");
|
|
5
|
-
const helpers_1 = require("../../helpers");
|
|
6
|
-
const error_handler_1 = require("../../operators/error-handler");
|
|
7
|
-
/**
|
|
8
|
-
* Operator that emits the built output after each source emission.
|
|
9
|
-
*/
|
|
10
|
-
function emit() {
|
|
11
|
-
return (source) => source.pipe((0, operators_1.tap)((e) => (0, helpers_1.emitBuiltOutput)(e)), (0, error_handler_1.errorHandler)([]));
|
|
12
|
-
}
|
|
13
|
-
//# sourceMappingURL=emit.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"emit.js","sourceRoot":"","sources":["../../../../../libs/builder/engine/builder-operators/emit.ts"],"names":[],"mappings":";;AAUA,oBAMC;AAfD,8CAAmC;AAEnC,2CAA8C;AAE9C,iEAA2D;AAE3D;;GAEG;AACH,SAAgB,IAAI;IACnB,OAAO,CAAC,MAAwC,EAAE,EAAE,CACnD,MAAM,CAAC,IAAI,CACV,IAAA,eAAG,EAAC,CAAC,CAAuB,EAAE,EAAE,CAAC,IAAA,yBAAe,EAAC,CAAC,CAAC,CAAC,EACpD,IAAA,4BAAY,EAAC,EAAE,CAAC,CAChB,CAAC;AACJ,CAAC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export * from './add-build-candidates';
|
|
2
|
-
export * from './build';
|
|
3
|
-
export * from './collect-garbage';
|
|
4
|
-
export * from './compile';
|
|
5
|
-
export * from './emit';
|
|
6
|
-
export * from './load';
|
|
7
|
-
export * from './refresh';
|
|
8
|
-
export * from './task';
|
|
9
|
-
export * from './update-cache';
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const tslib_1 = require("tslib");
|
|
4
|
-
tslib_1.__exportStar(require("./add-build-candidates"), exports);
|
|
5
|
-
tslib_1.__exportStar(require("./build"), exports);
|
|
6
|
-
tslib_1.__exportStar(require("./collect-garbage"), exports);
|
|
7
|
-
tslib_1.__exportStar(require("./compile"), exports);
|
|
8
|
-
tslib_1.__exportStar(require("./emit"), exports);
|
|
9
|
-
tslib_1.__exportStar(require("./load"), exports);
|
|
10
|
-
tslib_1.__exportStar(require("./refresh"), exports);
|
|
11
|
-
tslib_1.__exportStar(require("./task"), exports);
|
|
12
|
-
tslib_1.__exportStar(require("./update-cache"), exports);
|
|
13
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../libs/builder/engine/builder-operators/index.ts"],"names":[],"mappings":";;;AAAA,iEAAuC;AACvC,kDAAwB;AACxB,4DAAkC;AAClC,oDAA0B;AAC1B,iDAAuB;AACvB,iDAAuB;AACvB,oDAA0B;AAC1B,iDAAuB;AACvB,yDAA+B"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { OperatorFunction } from 'rxjs';
|
|
2
|
-
import { NgDocEntity } from '../entities/abstractions/entity';
|
|
3
|
-
/**
|
|
4
|
-
* Operator that runs the `update` method of the entity.
|
|
5
|
-
* @param store
|
|
6
|
-
*/
|
|
7
|
-
export declare function load(): OperatorFunction<NgDocEntity, NgDocEntity>;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.load = load;
|
|
4
|
-
const rxjs_1 = require("rxjs");
|
|
5
|
-
const operators_1 = require("rxjs/operators");
|
|
6
|
-
const helpers_1 = require("../../helpers");
|
|
7
|
-
const error_handler_1 = require("../../operators/error-handler");
|
|
8
|
-
/**
|
|
9
|
-
* Operator that runs the `update` method of the entity.
|
|
10
|
-
* @param store
|
|
11
|
-
*/
|
|
12
|
-
function load() {
|
|
13
|
-
return (source) => source.pipe((0, operators_1.switchMap)((e) => {
|
|
14
|
-
if ((0, helpers_1.isFileEntity)(e) && e.isReadyForBuild) {
|
|
15
|
-
return e.load().pipe((0, operators_1.map)(() => e), (0, error_handler_1.errorHandler)(e));
|
|
16
|
-
}
|
|
17
|
-
return (0, rxjs_1.of)(e);
|
|
18
|
-
}));
|
|
19
|
-
}
|
|
20
|
-
//# sourceMappingURL=load.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"load.js","sourceRoot":"","sources":["../../../../../libs/builder/engine/builder-operators/load.ts"],"names":[],"mappings":";;AAWA,oBAcC;AAzBD,+BAAwD;AACxD,8CAAgD;AAEhD,2CAA6C;AAC7C,iEAA6D;AAG7D;;;GAGG;AACH,SAAgB,IAAI;IACnB,OAAO,CAAC,MAA+B,EAAE,EAAE,CAC1C,MAAM,CAAC,IAAI,CACV,IAAA,qBAAS,EAAC,CAAC,CAAc,EAAE,EAAE;QAC5B,IAAI,IAAA,sBAAY,EAAC,CAAC,CAAC,IAAI,CAAC,CAAC,eAAe,EAAE,CAAC;YAC1C,OAAO,CAAC,CAAC,IAAI,EAAE,CAAC,IAAI,CACnB,IAAA,eAAG,EAAC,GAAG,EAAE,CAAC,CAAC,CAAC,EACZ,IAAA,4BAAY,EAAC,CAAC,CAAC,CACf,CAAC;QACH,CAAC;QAED,OAAO,IAAA,SAAE,EAAC,CAAC,CAAC,CAAC;IACd,CAAC,CAAC,CACF,CAAC;AACJ,CAAC"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.postBuild = postBuild;
|
|
4
|
-
const core_1 = require("@ng-doc/core");
|
|
5
|
-
const operators_1 = require("rxjs/operators");
|
|
6
|
-
const operators_2 = require("../../operators");
|
|
7
|
-
const error_handler_1 = require("../../operators/error-handler");
|
|
8
|
-
const plugins_1 = require("../entities/plugins");
|
|
9
|
-
/**
|
|
10
|
-
*
|
|
11
|
-
*/
|
|
12
|
-
function postBuild() {
|
|
13
|
-
return (source) => source.pipe((0, operators_1.switchMap)((outputs) => (0, operators_2.forkJoinOrEmpty)(outputs.map((output) => handlePostBuild(output).pipe((0, error_handler_1.errorHandler)(output))))));
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
*
|
|
17
|
-
* @param output
|
|
18
|
-
*/
|
|
19
|
-
function handlePostBuild(output) {
|
|
20
|
-
return (0, plugins_1.executePlugins)(output.result, output.entity, (0, core_1.asArray)(output.postBuildPlugins)).pipe((0, operators_1.map)((result) => Object.assign({}, output, { result })));
|
|
21
|
-
}
|
|
22
|
-
//# sourceMappingURL=post-build.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"post-build.js","sourceRoot":"","sources":["../../../../../libs/builder/engine/builder-operators/post-build.ts"],"names":[],"mappings":";;AAYA,8BASC;AArBD,uCAAuC;AAEvC,8CAAgD;AAGhD,+CAAkD;AAClD,iEAA6D;AAC7D,iDAAqD;AAErD;;GAEG;AACH,SAAgB,SAAS;IACxB,OAAO,CAAC,MAAuB,EAAE,EAAE,CAClC,MAAM,CAAC,IAAI,CACV,IAAA,qBAAS,EAAC,CAAC,OAAY,EAAE,EAAE,CAC1B,IAAA,2BAAe,EACd,OAAO,CAAC,GAAG,CAAC,CAAC,MAAS,EAAE,EAAE,CAAC,eAAe,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,IAAA,4BAAY,EAAC,MAAM,CAAC,CAAC,CAAC,CAC9E,CACD,CACD,CAAC;AACJ,CAAC;AAED;;;GAGG;AACH,SAAS,eAAe,CAA6B,MAAS;IAC7D,OAAO,IAAA,wBAAc,EAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,IAAA,cAAO,EAAC,MAAM,CAAC,gBAAgB,CAAC,CAAC,CAAC,IAAI,CACzF,IAAA,eAAG,EAAC,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC,CACtD,CAAC;AACH,CAAC"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { OperatorFunction } from 'rxjs';
|
|
2
|
-
import { NgDocBuildResult, NgDocConfiguration } from '../../interfaces';
|
|
3
|
-
import { NgDocEntity } from '../entities/abstractions/entity';
|
|
4
|
-
import { NgDocEntityStore } from '../entity-store';
|
|
5
|
-
/**
|
|
6
|
-
* Post-processes the build output.
|
|
7
|
-
* It is used to update the keyword map and to run the post-process function of each entity.
|
|
8
|
-
* @param store - The entity store.
|
|
9
|
-
* @param config - The configuration.
|
|
10
|
-
* @param additionalEntities - Additional entities to be build and post-processed.
|
|
11
|
-
*/
|
|
12
|
-
export declare function postProcess<T extends NgDocBuildResult>(store: NgDocEntityStore, config: NgDocConfiguration, ...additionalEntities: NgDocEntity[]): OperatorFunction<T[], T[]>;
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.postProcess = postProcess;
|
|
4
|
-
const core_1 = require("@ng-doc/core");
|
|
5
|
-
const operators_1 = require("rxjs/operators");
|
|
6
|
-
const operators_2 = require("../../operators");
|
|
7
|
-
const error_handler_1 = require("../../operators/error-handler");
|
|
8
|
-
const plugins_1 = require("../entities/plugins");
|
|
9
|
-
/**
|
|
10
|
-
* Post-processes the build output.
|
|
11
|
-
* It is used to update the keyword map and to run the post-process function of each entity.
|
|
12
|
-
* @param store - The entity store.
|
|
13
|
-
* @param config - The configuration.
|
|
14
|
-
* @param additionalEntities - Additional entities to be build and post-processed.
|
|
15
|
-
*/
|
|
16
|
-
function postProcess(store, config, ...additionalEntities) {
|
|
17
|
-
return (source) => source.pipe((0, operators_1.tap)(() => store.updateKeywordMap()), (0, operators_1.switchMap)((outputs) => (0, operators_2.forkJoinOrEmpty)(outputs.map((output) => handlePostProcess(output).pipe((0, error_handler_1.errorHandler)(output)))).pipe((0, operators_1.switchMap)((postProcessedOutputs) => (0, operators_2.forkJoinOrEmpty)(additionalEntities.map((e) => e.build())).pipe((0, operators_1.switchMap)((additionalOutputs) => (0, operators_2.forkJoinOrEmpty)(additionalOutputs.map((output) => handlePostProcess(output).pipe((0, error_handler_1.errorHandler)(output))))), (0, operators_1.map)((additionalPostProcessedOutputs) => [
|
|
18
|
-
...postProcessedOutputs,
|
|
19
|
-
...additionalPostProcessedOutputs,
|
|
20
|
-
]))))));
|
|
21
|
-
}
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @param output
|
|
25
|
-
*/
|
|
26
|
-
function handlePostProcess(output) {
|
|
27
|
-
return (0, plugins_1.executePlugins)(output.result, output.entity, (0, core_1.asArray)(output.postProcessPlugins)).pipe((0, operators_1.map)((result) => Object.assign({}, output, { result })));
|
|
28
|
-
}
|
|
29
|
-
//# sourceMappingURL=post-process.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"post-process.js","sourceRoot":"","sources":["../../../../../libs/builder/engine/builder-operators/post-process.ts"],"names":[],"mappings":";;AAkBA,kCA8BC;AAhDD,uCAAuC;AAEvC,8CAAqD;AAGrD,+CAAkD;AAClD,iEAA6D;AAE7D,iDAAqD;AAGrD;;;;;;GAMG;AACH,SAAgB,WAAW,CAC1B,KAAuB,EACvB,MAA0B,EAC1B,GAAG,kBAAiC;IAEpC,OAAO,CAAC,MAAuB,EAAE,EAAE,CAClC,MAAM,CAAC,IAAI,CACV,IAAA,eAAG,EAAC,GAAG,EAAE,CAAC,KAAK,CAAC,gBAAgB,EAAE,CAAC,EACnC,IAAA,qBAAS,EAAC,CAAC,OAAY,EAAE,EAAE,CAC1B,IAAA,2BAAe,EACd,OAAO,CAAC,GAAG,CAAC,CAAC,MAAS,EAAE,EAAE,CAAC,iBAAiB,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,IAAA,4BAAY,EAAC,MAAM,CAAC,CAAC,CAAC,CAChF,CAAC,IAAI,CACL,IAAA,qBAAS,EAAC,CAAC,oBAAyB,EAAE,EAAE,CACvC,IAAA,2BAAe,EAAC,kBAAkB,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,KAAK,EAAmB,CAAC,CAAC,CAAC,IAAI,CAC9E,IAAA,qBAAS,EAAC,CAAC,iBAAsB,EAAE,EAAE,CACpC,IAAA,2BAAe,EACd,iBAAiB,CAAC,GAAG,CAAC,CAAC,MAAS,EAAE,EAAE,CACnC,iBAAiB,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,IAAA,4BAAY,EAAC,MAAM,CAAC,CAAC,CACpD,CACD,CACD,EACD,IAAA,eAAG,EAAC,CAAC,8BAAmC,EAAE,EAAE,CAAC;QAC5C,GAAG,oBAAoB;QACvB,GAAG,8BAA8B;KACjC,CAAC,CACF,CACD,CACD,CACD,CACD,CAAC;AACJ,CAAC;AAED;;;GAGG;AACH,SAAS,iBAAiB,CAA6B,MAAS;IAC/D,OAAO,IAAA,wBAAc,EAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,IAAA,cAAO,EAAC,MAAM,CAAC,kBAAkB,CAAC,CAAC,CAAC,IAAI,CAC3F,IAAA,eAAG,EAAC,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC,CACtD,CAAC;AACH,CAAC"}
|