@foblex/m-render 2.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +33 -0
- package/assets/fonts/inter-italic-latin-ext.woff2 +0 -0
- package/assets/fonts/inter-italic-latin.woff2 +0 -0
- package/assets/fonts/inter-roman-latin-ext.woff2 +0 -0
- package/assets/fonts/inter-roman-latin.woff2 +0 -0
- package/assets/styles/_alert.scss +50 -0
- package/assets/styles/_badge.scss +63 -0
- package/assets/styles/_button.scss +42 -0
- package/assets/styles/_code-group.scss +45 -0
- package/assets/styles/_code-highlight.scss +96 -0
- package/assets/styles/_code-view.scss +91 -0
- package/assets/styles/_doc-text.scss +124 -0
- package/assets/styles/_fonts.scss +41 -0
- package/assets/styles/_icons.scss +158 -0
- package/assets/styles/_preview-group.scss +11 -0
- package/assets/styles/_variables.scss +287 -0
- package/assets/styles/styles.scss +75 -0
- package/esm2022/foblex-m-render.mjs +5 -0
- package/esm2022/lib/common-services/analytics/f-accept-cookies-key.mjs +2 -0
- package/esm2022/lib/common-services/analytics/f-analytics.service.mjs +52 -0
- package/esm2022/lib/common-services/analytics/i-window-with-analytics.mjs +2 -0
- package/esm2022/lib/common-services/analytics/index.mjs +5 -0
- package/esm2022/lib/common-services/analytics/set-cookie-consent.mjs +32 -0
- package/esm2022/lib/common-services/f-head-tag.service.mjs +52 -0
- package/esm2022/lib/common-services/index.mjs +4 -0
- package/esm2022/lib/common-services/json-ld/f-json-ld.service.mjs +51 -0
- package/esm2022/lib/common-services/json-ld/i-json-ld-creator.mjs +2 -0
- package/esm2022/lib/common-services/json-ld/i-json-ld-entity-of-page.mjs +2 -0
- package/esm2022/lib/common-services/json-ld/i-json-ld.mjs +2 -0
- package/esm2022/lib/common-services/json-ld/index.mjs +5 -0
- package/esm2022/lib/domain/f-environment.service.mjs +66 -0
- package/esm2022/lib/domain/f-meta.service.mjs +77 -0
- package/esm2022/lib/domain/f-popover.service.mjs +25 -0
- package/esm2022/lib/domain/f-state.service.mjs +27 -0
- package/esm2022/lib/domain/features/get-version-handler/get-version.handler.mjs +27 -0
- package/esm2022/lib/domain/features/get-version-handler/get-version.request.mjs +6 -0
- package/esm2022/lib/domain/features/get-version-handler/index.mjs +3 -0
- package/esm2022/lib/domain/features/handle-navigation-links/handle-navigation-links.handler.mjs +51 -0
- package/esm2022/lib/domain/features/handle-navigation-links/handle-navigation-links.request.mjs +6 -0
- package/esm2022/lib/domain/features/handle-navigation-links/index.mjs +3 -0
- package/esm2022/lib/domain/features/index.mjs +3 -0
- package/esm2022/lib/domain/i-docs-component.mjs +2 -0
- package/esm2022/lib/domain/i-docs-environment.mjs +2 -0
- package/esm2022/lib/domain/i-docs-footer-navigation.mjs +2 -0
- package/esm2022/lib/domain/i-docs-header-navigation-item.mjs +2 -0
- package/esm2022/lib/domain/i-docs-social-link.mjs +2 -0
- package/esm2022/lib/domain/i-docs-table-of-content.mjs +2 -0
- package/esm2022/lib/domain/i-docs-version.mjs +2 -0
- package/esm2022/lib/domain/i-meta-data.mjs +2 -0
- package/esm2022/lib/domain/index.mjs +15 -0
- package/esm2022/lib/domain/providers.mjs +3 -0
- package/esm2022/lib/domain/router.mjs +13 -0
- package/esm2022/lib/f-documentation/f-badge/f-badge.component.mjs +22 -0
- package/esm2022/lib/f-documentation/f-badge/index.mjs +2 -0
- package/esm2022/lib/f-documentation/f-checkbox/f-checkbox.component.mjs +70 -0
- package/esm2022/lib/f-documentation/f-cookie-popup/f-cookie-popup.component.mjs +33 -0
- package/esm2022/lib/f-documentation/f-documentation.component.mjs +56 -0
- package/esm2022/lib/f-documentation/f-hamburger-button/f-hamburger-button.component.mjs +24 -0
- package/esm2022/lib/f-documentation/f-header/f-header.component.mjs +30 -0
- package/esm2022/lib/f-documentation/f-header-menu/f-header-menu.component.mjs +29 -0
- package/esm2022/lib/f-documentation/f-preview/f-preview.component.mjs +58 -0
- package/esm2022/lib/f-documentation/f-social-links/f-social-links.component.mjs +18 -0
- package/esm2022/lib/f-documentation/f-theme-button/f-theme-button.component.mjs +41 -0
- package/esm2022/lib/f-documentation/f-version/f-version.component.mjs +19 -0
- package/esm2022/lib/f-documentation/i-documentation-component.mjs +3 -0
- package/esm2022/lib/f-documentation/index.mjs +13 -0
- package/esm2022/lib/f-navigation-panel/domain/i-navigation-group.mjs +2 -0
- package/esm2022/lib/f-navigation-panel/domain/i-navigation-item-badge.mjs +2 -0
- package/esm2022/lib/f-navigation-panel/domain/i-navigation-item.mjs +2 -0
- package/esm2022/lib/f-navigation-panel/domain/index.mjs +4 -0
- package/esm2022/lib/f-navigation-panel/f-navigation-group/f-navigation-group.component.mjs +22 -0
- package/esm2022/lib/f-navigation-panel/f-navigation-header/f-navigation-header.component.mjs +24 -0
- package/esm2022/lib/f-navigation-panel/f-navigation-item/f-navigation-item.component.mjs +11 -0
- package/esm2022/lib/f-navigation-panel/f-navigation-panel.component.mjs +94 -0
- package/esm2022/lib/f-navigation-panel/index.mjs +6 -0
- package/esm2022/lib/f-page/f-markdown/domain/handle-dynamic-components/handle-dynamic-components.handler.mjs +102 -0
- package/esm2022/lib/f-page/f-markdown/domain/handle-dynamic-components/handle-dynamic-components.request.mjs +6 -0
- package/esm2022/lib/f-page/f-markdown/domain/handle-dynamic-components/index.mjs +3 -0
- package/esm2022/lib/f-page/f-markdown/domain/handle-parsed-containers/handle-parsed-containers.handler.mjs +34 -0
- package/esm2022/lib/f-page/f-markdown/domain/handle-parsed-containers/handle-parsed-containers.request.mjs +6 -0
- package/esm2022/lib/f-page/f-markdown/domain/handle-parsed-containers/i-parsed-container.mjs +2 -0
- package/esm2022/lib/f-page/f-markdown/domain/handle-parsed-containers/index.mjs +5 -0
- package/esm2022/lib/f-page/f-markdown/domain/handle-parsed-containers/pseudo-components/clipboard/copy-to-clipboard.mjs +15 -0
- package/esm2022/lib/f-page/f-markdown/domain/handle-parsed-containers/pseudo-components/clipboard/index.mjs +2 -0
- package/esm2022/lib/f-page/f-markdown/domain/handle-parsed-containers/pseudo-components/f-async-code-view-handler.mjs +46 -0
- package/esm2022/lib/f-page/f-markdown/domain/handle-parsed-containers/pseudo-components/f-code-group/f-code-group.handler.mjs +51 -0
- package/esm2022/lib/f-page/f-markdown/domain/handle-parsed-containers/pseudo-components/f-code-group/i-code-group-view.mjs +2 -0
- package/esm2022/lib/f-page/f-markdown/domain/handle-parsed-containers/pseudo-components/f-code-group/index.mjs +3 -0
- package/esm2022/lib/f-page/f-markdown/domain/handle-parsed-containers/pseudo-components/f-code-group-body.handler.mjs +45 -0
- package/esm2022/lib/f-page/f-markdown/domain/handle-parsed-containers/pseudo-components/f-code-view-handler.mjs +60 -0
- package/esm2022/lib/f-page/f-markdown/domain/handle-parsed-containers/pseudo-components/f-example-view-handler.mjs +9 -0
- package/esm2022/lib/f-page/f-markdown/domain/handle-parsed-containers/pseudo-components/index.mjs +7 -0
- package/esm2022/lib/f-page/f-markdown/domain/highlight/change-code-focused-syntax.pre-processor.mjs +23 -0
- package/esm2022/lib/f-page/f-markdown/domain/highlight/highlight.service.mjs +54 -0
- package/esm2022/lib/f-page/f-markdown/domain/highlight/index.mjs +6 -0
- package/esm2022/lib/f-page/f-markdown/domain/highlight/mark-code-focused-blocks.post-processor.mjs +52 -0
- package/esm2022/lib/f-page/f-markdown/domain/highlight/modify-punctuation-highlight.post-processor.mjs +22 -0
- package/esm2022/lib/f-page/f-markdown/domain/highlight/separate-code-by-lines.post-processor.mjs +28 -0
- package/esm2022/lib/f-page/f-markdown/domain/index.mjs +5 -0
- package/esm2022/lib/f-page/f-markdown/domain/markdown/index.mjs +4 -0
- package/esm2022/lib/f-page/f-markdown/domain/markdown/markdown.service.mjs +65 -0
- package/esm2022/lib/f-page/f-markdown/domain/markdown/parse-markdown/e-markdown-container-type.mjs +13 -0
- package/esm2022/lib/f-page/f-markdown/domain/markdown/parse-markdown/i-markdown-it-token.mjs +2 -0
- package/esm2022/lib/f-page/f-markdown/domain/markdown/parse-markdown/index.mjs +8 -0
- package/esm2022/lib/f-page/f-markdown/domain/markdown/parse-markdown/parse-alerts.mjs +19 -0
- package/esm2022/lib/f-page/f-markdown/domain/markdown/parse-markdown/parse-code-group.mjs +54 -0
- package/esm2022/lib/f-page/f-markdown/domain/markdown/parse-markdown/parse-code-view.mjs +15 -0
- package/esm2022/lib/f-page/f-markdown/domain/markdown/parse-markdown/parse-example-group.mjs +92 -0
- package/esm2022/lib/f-page/f-markdown/domain/markdown/parse-markdown/parse-preview-group.mjs +49 -0
- package/esm2022/lib/f-page/f-markdown/domain/markdown/utils/get-content.mjs +17 -0
- package/esm2022/lib/f-page/f-markdown/domain/markdown/utils/index.mjs +2 -0
- package/esm2022/lib/f-page/f-markdown/f-markdown-renderer.component.mjs +80 -0
- package/esm2022/lib/f-page/f-markdown/index.mjs +3 -0
- package/esm2022/lib/f-page/f-markdown-footer/domain/features/get-previous-next-page-navigation/get-previous-next-page-navigation.handler.mjs +36 -0
- package/esm2022/lib/f-page/f-markdown-footer/domain/features/get-previous-next-page-navigation/get-previous-next-page-navigation.request.mjs +6 -0
- package/esm2022/lib/f-page/f-markdown-footer/domain/features/get-previous-next-page-navigation/get-previous-next-page-navigation.response.mjs +7 -0
- package/esm2022/lib/f-page/f-markdown-footer/domain/features/get-previous-next-page-navigation/index.mjs +4 -0
- package/esm2022/lib/f-page/f-markdown-footer/domain/features/index.mjs +2 -0
- package/esm2022/lib/f-page/f-markdown-footer/domain/i-page-link.mjs +2 -0
- package/esm2022/lib/f-page/f-markdown-footer/domain/index.mjs +3 -0
- package/esm2022/lib/f-page/f-markdown-footer/f-footer-edit-information/f-footer-edit-information.component.mjs +11 -0
- package/esm2022/lib/f-page/f-markdown-footer/f-footer-edit-information/f-footer-edit-link/f-footer-edit-link.component.mjs +11 -0
- package/esm2022/lib/f-page/f-markdown-footer/f-footer-edit-information/f-footer-edit-link/index.mjs +2 -0
- package/esm2022/lib/f-page/f-markdown-footer/f-footer-edit-information/f-footer-last-updated/f-footer-last-updated.component.mjs +11 -0
- package/esm2022/lib/f-page/f-markdown-footer/f-footer-edit-information/f-footer-last-updated/index.mjs +2 -0
- package/esm2022/lib/f-page/f-markdown-footer/f-footer-edit-information/index.mjs +2 -0
- package/esm2022/lib/f-page/f-markdown-footer/f-footer-navigation/f-footer-navigation-button/f-footer-navigation-button.component.mjs +17 -0
- package/esm2022/lib/f-page/f-markdown-footer/f-footer-navigation/f-footer-navigation-button/index.mjs +2 -0
- package/esm2022/lib/f-page/f-markdown-footer/f-footer-navigation/f-footer-navigation.component.mjs +11 -0
- package/esm2022/lib/f-page/f-markdown-footer/f-footer-navigation/index.mjs +3 -0
- package/esm2022/lib/f-page/f-markdown-footer/f-markdown-footer.component.mjs +82 -0
- package/esm2022/lib/f-page/f-markdown-footer/index.mjs +5 -0
- package/esm2022/lib/f-page/f-page.component.mjs +18 -0
- package/esm2022/lib/f-page/f-table-of-content/f-table-of-content-items/f-table-of-content-items.component.mjs +16 -0
- package/esm2022/lib/f-page/f-table-of-content/f-table-of-content-items/index.mjs +2 -0
- package/esm2022/lib/f-page/f-table-of-content/f-table-of-content.component.mjs +63 -0
- package/esm2022/lib/f-page/f-table-of-content/index.mjs +3 -0
- package/esm2022/lib/f-page/index.mjs +5 -0
- package/esm2022/lib/f-scrollable-container/domain/calculate-hash-from-scroll-position/calculate-hash-from-scroll-position.handler.mjs +51 -0
- package/esm2022/lib/f-scrollable-container/domain/calculate-hash-from-scroll-position/calculate-hash-from-scroll-position.request.mjs +6 -0
- package/esm2022/lib/f-scrollable-container/domain/calculate-hash-from-scroll-position/index.mjs +3 -0
- package/esm2022/lib/f-scrollable-container/domain/get-absolute-top-to-container/get-absolute-top-to-container.handler.mjs +14 -0
- package/esm2022/lib/f-scrollable-container/domain/get-absolute-top-to-container/get-absolute-top-to-container.request.mjs +7 -0
- package/esm2022/lib/f-scrollable-container/domain/get-absolute-top-to-container/index.mjs +3 -0
- package/esm2022/lib/f-scrollable-container/domain/get-table-of-content-data/get-table-of-content-data.handler.mjs +52 -0
- package/esm2022/lib/f-scrollable-container/domain/get-table-of-content-data/get-table-of-content-data.request.mjs +7 -0
- package/esm2022/lib/f-scrollable-container/domain/get-table-of-content-data/index.mjs +3 -0
- package/esm2022/lib/f-scrollable-container/domain/i-table-of-content-item.mjs +2 -0
- package/esm2022/lib/f-scrollable-container/domain/index.mjs +7 -0
- package/esm2022/lib/f-scrollable-container/domain/scroll-to-element-in-container.mjs +34 -0
- package/esm2022/lib/f-scrollable-container/domain/table-of-content-data.mjs +7 -0
- package/esm2022/lib/f-scrollable-container/f-scrollable-container.component.mjs +30 -0
- package/esm2022/lib/f-scrollable-container/f-scrollable.service.mjs +57 -0
- package/esm2022/lib/f-scrollable-container/index.mjs +3 -0
- package/esm2022/lib/index.mjs +7 -0
- package/esm2022/public-api.mjs +2 -0
- package/fesm2022/foblex-m-render.mjs +2405 -0
- package/fesm2022/foblex-m-render.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/common-services/analytics/f-accept-cookies-key.d.ts +1 -0
- package/lib/common-services/analytics/f-analytics.service.d.ts +10 -0
- package/lib/common-services/analytics/i-window-with-analytics.d.ts +5 -0
- package/lib/common-services/analytics/index.d.ts +4 -0
- package/lib/common-services/analytics/set-cookie-consent.d.ts +6 -0
- package/lib/common-services/f-head-tag.service.d.ts +20 -0
- package/lib/common-services/index.d.ts +3 -0
- package/lib/common-services/json-ld/f-json-ld.service.d.ts +12 -0
- package/lib/common-services/json-ld/i-json-ld-creator.d.ts +7 -0
- package/lib/common-services/json-ld/i-json-ld-entity-of-page.d.ts +3 -0
- package/lib/common-services/json-ld/i-json-ld.d.ts +9 -0
- package/lib/common-services/json-ld/index.d.ts +4 -0
- package/lib/domain/f-environment.service.d.ts +23 -0
- package/lib/domain/f-meta.service.d.ts +20 -0
- package/lib/domain/f-popover.service.d.ts +10 -0
- package/lib/domain/f-state.service.d.ts +13 -0
- package/lib/domain/features/get-version-handler/get-version.handler.d.ts +13 -0
- package/lib/domain/features/get-version-handler/get-version.request.d.ts +5 -0
- package/lib/domain/features/get-version-handler/index.d.ts +2 -0
- package/lib/domain/features/handle-navigation-links/handle-navigation-links.handler.d.ts +19 -0
- package/lib/domain/features/handle-navigation-links/handle-navigation-links.request.d.ts +4 -0
- package/lib/domain/features/handle-navigation-links/index.d.ts +2 -0
- package/lib/domain/features/index.d.ts +2 -0
- package/lib/domain/i-docs-component.d.ts +5 -0
- package/lib/domain/i-docs-environment.d.ts +21 -0
- package/lib/domain/i-docs-footer-navigation.d.ts +8 -0
- package/lib/domain/i-docs-header-navigation-item.d.ts +5 -0
- package/lib/domain/i-docs-social-link.d.ts +4 -0
- package/lib/domain/i-docs-table-of-content.d.ts +7 -0
- package/lib/domain/i-docs-version.d.ts +4 -0
- package/lib/domain/i-meta-data.d.ts +12 -0
- package/lib/domain/index.d.ts +14 -0
- package/lib/domain/providers.d.ts +3 -0
- package/lib/domain/router.d.ts +2 -0
- package/lib/f-documentation/f-badge/f-badge.component.d.ts +7 -0
- package/lib/f-documentation/f-badge/index.d.ts +1 -0
- package/lib/f-documentation/f-checkbox/f-checkbox.component.d.ts +22 -0
- package/lib/f-documentation/f-cookie-popup/f-cookie-popup.component.d.ts +9 -0
- package/lib/f-documentation/f-documentation.component.d.ts +18 -0
- package/lib/f-documentation/f-hamburger-button/f-hamburger-button.component.d.ts +9 -0
- package/lib/f-documentation/f-header/f-header.component.d.ts +9 -0
- package/lib/f-documentation/f-header-menu/f-header-menu.component.d.ts +17 -0
- package/lib/f-documentation/f-preview/f-preview.component.d.ts +29 -0
- package/lib/f-documentation/f-social-links/f-social-links.component.d.ts +9 -0
- package/lib/f-documentation/f-theme-button/f-theme-button.component.d.ts +15 -0
- package/lib/f-documentation/f-version/f-version.component.d.ts +10 -0
- package/lib/f-documentation/i-documentation-component.d.ts +5 -0
- package/lib/f-documentation/index.d.ts +12 -0
- package/lib/f-navigation-panel/domain/i-navigation-group.d.ts +5 -0
- package/lib/f-navigation-panel/domain/i-navigation-item-badge.d.ts +4 -0
- package/lib/f-navigation-panel/domain/i-navigation-item.d.ts +13 -0
- package/lib/f-navigation-panel/domain/index.d.ts +3 -0
- package/lib/f-navigation-panel/f-navigation-group/f-navigation-group.component.d.ts +8 -0
- package/lib/f-navigation-panel/f-navigation-header/f-navigation-header.component.d.ts +12 -0
- package/lib/f-navigation-panel/f-navigation-item/f-navigation-item.component.d.ts +5 -0
- package/lib/f-navigation-panel/f-navigation-panel.component.d.ts +29 -0
- package/lib/f-navigation-panel/index.d.ts +5 -0
- package/lib/f-page/f-markdown/domain/handle-dynamic-components/handle-dynamic-components.handler.d.ts +26 -0
- package/lib/f-page/f-markdown/domain/handle-dynamic-components/handle-dynamic-components.request.d.ts +4 -0
- package/lib/f-page/f-markdown/domain/handle-dynamic-components/index.d.ts +2 -0
- package/lib/f-page/f-markdown/domain/handle-parsed-containers/handle-parsed-containers.handler.d.ts +16 -0
- package/lib/f-page/f-markdown/domain/handle-parsed-containers/handle-parsed-containers.request.d.ts +4 -0
- package/lib/f-page/f-markdown/domain/handle-parsed-containers/i-parsed-container.d.ts +3 -0
- package/lib/f-page/f-markdown/domain/handle-parsed-containers/index.d.ts +4 -0
- package/lib/f-page/f-markdown/domain/handle-parsed-containers/pseudo-components/clipboard/copy-to-clipboard.d.ts +2 -0
- package/lib/f-page/f-markdown/domain/handle-parsed-containers/pseudo-components/clipboard/index.d.ts +1 -0
- package/lib/f-page/f-markdown/domain/handle-parsed-containers/pseudo-components/f-async-code-view-handler.d.ts +10 -0
- package/lib/f-page/f-markdown/domain/handle-parsed-containers/pseudo-components/f-code-group/f-code-group.handler.d.ts +18 -0
- package/lib/f-page/f-markdown/domain/handle-parsed-containers/pseudo-components/f-code-group/i-code-group-view.d.ts +3 -0
- package/lib/f-page/f-markdown/domain/handle-parsed-containers/pseudo-components/f-code-group/index.d.ts +2 -0
- package/lib/f-page/f-markdown/domain/handle-parsed-containers/pseudo-components/f-code-group-body.handler.d.ts +15 -0
- package/lib/f-page/f-markdown/domain/handle-parsed-containers/pseudo-components/f-code-view-handler.d.ts +21 -0
- package/lib/f-page/f-markdown/domain/handle-parsed-containers/pseudo-components/f-example-view-handler.d.ts +6 -0
- package/lib/f-page/f-markdown/domain/handle-parsed-containers/pseudo-components/index.d.ts +6 -0
- package/lib/f-page/f-markdown/domain/highlight/change-code-focused-syntax.pre-processor.d.ts +7 -0
- package/lib/f-page/f-markdown/domain/highlight/highlight.service.d.ts +15 -0
- package/lib/f-page/f-markdown/domain/highlight/index.d.ts +5 -0
- package/lib/f-page/f-markdown/domain/highlight/mark-code-focused-blocks.post-processor.d.ts +14 -0
- package/lib/f-page/f-markdown/domain/highlight/modify-punctuation-highlight.post-processor.d.ts +6 -0
- package/lib/f-page/f-markdown/domain/highlight/separate-code-by-lines.post-processor.d.ts +9 -0
- package/lib/f-page/f-markdown/domain/index.d.ts +4 -0
- package/lib/f-page/f-markdown/domain/markdown/index.d.ts +3 -0
- package/lib/f-page/f-markdown/domain/markdown/markdown.service.d.ts +22 -0
- package/lib/f-page/f-markdown/domain/markdown/parse-markdown/e-markdown-container-type.d.ts +11 -0
- package/lib/f-page/f-markdown/domain/markdown/parse-markdown/i-markdown-it-token.d.ts +15 -0
- package/lib/f-page/f-markdown/domain/markdown/parse-markdown/index.d.ts +7 -0
- package/lib/f-page/f-markdown/domain/markdown/parse-markdown/parse-alerts.d.ts +9 -0
- package/lib/f-page/f-markdown/domain/markdown/parse-markdown/parse-code-group.d.ts +17 -0
- package/lib/f-page/f-markdown/domain/markdown/parse-markdown/parse-code-view.d.ts +5 -0
- package/lib/f-page/f-markdown/domain/markdown/parse-markdown/parse-example-group.d.ts +21 -0
- package/lib/f-page/f-markdown/domain/markdown/parse-markdown/parse-preview-group.d.ts +17 -0
- package/lib/f-page/f-markdown/domain/markdown/utils/get-content.d.ts +2 -0
- package/lib/f-page/f-markdown/domain/markdown/utils/index.d.ts +1 -0
- package/lib/f-page/f-markdown/f-markdown-renderer.component.d.ts +25 -0
- package/lib/f-page/f-markdown/index.d.ts +2 -0
- package/lib/f-page/f-markdown-footer/domain/features/get-previous-next-page-navigation/get-previous-next-page-navigation.handler.d.ts +9 -0
- package/lib/f-page/f-markdown-footer/domain/features/get-previous-next-page-navigation/get-previous-next-page-navigation.request.d.ts +4 -0
- package/lib/f-page/f-markdown-footer/domain/features/get-previous-next-page-navigation/get-previous-next-page-navigation.response.d.ts +6 -0
- package/lib/f-page/f-markdown-footer/domain/features/get-previous-next-page-navigation/index.d.ts +3 -0
- package/lib/f-page/f-markdown-footer/domain/features/index.d.ts +1 -0
- package/lib/f-page/f-markdown-footer/domain/i-page-link.d.ts +4 -0
- package/lib/f-page/f-markdown-footer/domain/index.d.ts +2 -0
- package/lib/f-page/f-markdown-footer/f-footer-edit-information/f-footer-edit-information.component.d.ts +5 -0
- package/lib/f-page/f-markdown-footer/f-footer-edit-information/f-footer-edit-link/f-footer-edit-link.component.d.ts +5 -0
- package/lib/f-page/f-markdown-footer/f-footer-edit-information/f-footer-edit-link/index.d.ts +1 -0
- package/lib/f-page/f-markdown-footer/f-footer-edit-information/f-footer-last-updated/f-footer-last-updated.component.d.ts +5 -0
- package/lib/f-page/f-markdown-footer/f-footer-edit-information/f-footer-last-updated/index.d.ts +1 -0
- package/lib/f-page/f-markdown-footer/f-footer-edit-information/index.d.ts +1 -0
- package/lib/f-page/f-markdown-footer/f-footer-navigation/f-footer-navigation-button/f-footer-navigation-button.component.d.ts +8 -0
- package/lib/f-page/f-markdown-footer/f-footer-navigation/f-footer-navigation-button/index.d.ts +1 -0
- package/lib/f-page/f-markdown-footer/f-footer-navigation/f-footer-navigation.component.d.ts +5 -0
- package/lib/f-page/f-markdown-footer/f-footer-navigation/index.d.ts +2 -0
- package/lib/f-page/f-markdown-footer/f-markdown-footer.component.d.ts +29 -0
- package/lib/f-page/f-markdown-footer/index.d.ts +4 -0
- package/lib/f-page/f-page.component.d.ts +5 -0
- package/lib/f-page/f-table-of-content/f-table-of-content-items/f-table-of-content-items.component.d.ts +7 -0
- package/lib/f-page/f-table-of-content/f-table-of-content-items/index.d.ts +1 -0
- package/lib/f-page/f-table-of-content/f-table-of-content.component.d.ts +28 -0
- package/lib/f-page/f-table-of-content/index.d.ts +2 -0
- package/lib/f-page/index.d.ts +4 -0
- package/lib/f-scrollable-container/domain/calculate-hash-from-scroll-position/calculate-hash-from-scroll-position.handler.d.ts +15 -0
- package/lib/f-scrollable-container/domain/calculate-hash-from-scroll-position/calculate-hash-from-scroll-position.request.d.ts +5 -0
- package/lib/f-scrollable-container/domain/calculate-hash-from-scroll-position/index.d.ts +2 -0
- package/lib/f-scrollable-container/domain/get-absolute-top-to-container/get-absolute-top-to-container.handler.d.ts +5 -0
- package/lib/f-scrollable-container/domain/get-absolute-top-to-container/get-absolute-top-to-container.request.d.ts +5 -0
- package/lib/f-scrollable-container/domain/get-absolute-top-to-container/index.d.ts +2 -0
- package/lib/f-scrollable-container/domain/get-table-of-content-data/get-table-of-content-data.handler.d.ts +11 -0
- package/lib/f-scrollable-container/domain/get-table-of-content-data/get-table-of-content-data.request.d.ts +11 -0
- package/lib/f-scrollable-container/domain/get-table-of-content-data/index.d.ts +2 -0
- package/lib/f-scrollable-container/domain/i-table-of-content-item.d.ts +7 -0
- package/lib/f-scrollable-container/domain/index.d.ts +6 -0
- package/lib/f-scrollable-container/domain/scroll-to-element-in-container.d.ts +12 -0
- package/lib/f-scrollable-container/domain/table-of-content-data.d.ts +6 -0
- package/lib/f-scrollable-container/f-scrollable-container.component.d.ts +13 -0
- package/lib/f-scrollable-container/f-scrollable.service.d.ts +25 -0
- package/lib/f-scrollable-container/index.d.ts +2 -0
- package/lib/index.d.ts +6 -0
- package/package.json +49 -0
- package/public-api.d.ts +1 -0
package/lib/f-page/f-markdown/domain/handle-parsed-containers/handle-parsed-containers.handler.d.ts
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
import { IHandler } from '@foblex/mediator';
|
2
|
+
import { HandleParsedContainersRequest } from './handle-parsed-containers.request';
|
3
|
+
import { Injector } from '@angular/core';
|
4
|
+
import * as i0 from "@angular/core";
|
5
|
+
export declare class HandleParsedContainersHandler implements IHandler<HandleParsedContainersRequest> {
|
6
|
+
private injector;
|
7
|
+
private fCodeGroupHandler;
|
8
|
+
private fCodeViewHandler;
|
9
|
+
constructor(injector: Injector);
|
10
|
+
handle(request: HandleParsedContainersRequest): void;
|
11
|
+
private getCodeGroups;
|
12
|
+
private getCodeViews;
|
13
|
+
dispose(): void;
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HandleParsedContainersHandler, never>;
|
15
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<HandleParsedContainersHandler>;
|
16
|
+
}
|
package/lib/f-page/f-markdown/domain/handle-parsed-containers/pseudo-components/clipboard/index.d.ts
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
export * from './copy-to-clipboard';
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { FCodeViewHandler } from './f-code-view-handler';
|
2
|
+
import { Injector } from '@angular/core';
|
3
|
+
export declare class FAsyncCodeViewHandler extends FCodeViewHandler {
|
4
|
+
constructor(element: HTMLElement, injector: Injector);
|
5
|
+
protected initialize(): void;
|
6
|
+
private getFileExtension;
|
7
|
+
private subscribeOnLoadFile;
|
8
|
+
private createCodeView;
|
9
|
+
private createPreView;
|
10
|
+
}
|
@@ -0,0 +1,18 @@
|
|
1
|
+
import { Injector } from '@angular/core';
|
2
|
+
import { IParsedContainer } from '../../i-parsed-container';
|
3
|
+
export declare class FCodeGroupHandler implements IParsedContainer {
|
4
|
+
private element;
|
5
|
+
private injector;
|
6
|
+
private subscriptions$;
|
7
|
+
private body;
|
8
|
+
private get tabs();
|
9
|
+
private get firstTab();
|
10
|
+
constructor(element: HTMLElement, injector: Injector);
|
11
|
+
private initialize;
|
12
|
+
private subscribeOnTabsClick;
|
13
|
+
private subscribeOnTabClick;
|
14
|
+
private onTabClick;
|
15
|
+
private markActiveTab;
|
16
|
+
private getTargetTabIndex;
|
17
|
+
dispose(): void;
|
18
|
+
}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
import { IParsedContainer } from '../i-parsed-container';
|
2
|
+
import { Injector } from '@angular/core';
|
3
|
+
export declare class FCodeGroupBodyHandler implements IParsedContainer {
|
4
|
+
element: HTMLElement;
|
5
|
+
private injector;
|
6
|
+
private fContainerHandlers;
|
7
|
+
constructor(element: HTMLElement, injector: Injector);
|
8
|
+
private initialize;
|
9
|
+
private getCodeViews;
|
10
|
+
private getGroupBodyChildren;
|
11
|
+
private isCodeView;
|
12
|
+
private isAsyncCodeView;
|
13
|
+
toggle(index: number): void;
|
14
|
+
dispose(): void;
|
15
|
+
}
|
@@ -0,0 +1,21 @@
|
|
1
|
+
import { Subscription } from 'rxjs';
|
2
|
+
import { ICodeGroupView } from './f-code-group';
|
3
|
+
import { IParsedContainer } from '../i-parsed-container';
|
4
|
+
import { Injector } from '@angular/core';
|
5
|
+
export declare class FCodeViewHandler implements ICodeGroupView, IParsedContainer {
|
6
|
+
element: HTMLElement;
|
7
|
+
injector: Injector;
|
8
|
+
protected subscriptions$: Subscription;
|
9
|
+
protected fDocument: Document;
|
10
|
+
constructor(element: HTMLElement, injector: Injector);
|
11
|
+
protected initialize(): void;
|
12
|
+
protected isServer(): boolean;
|
13
|
+
private createCopyButton;
|
14
|
+
private createLanguageBadge;
|
15
|
+
private getLanguage;
|
16
|
+
private getCopyButton;
|
17
|
+
protected getCodeBlock(): HTMLElement;
|
18
|
+
setDisplay(value: string): void;
|
19
|
+
private subscribeOnCopyButtonClick;
|
20
|
+
dispose(): void;
|
21
|
+
}
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import { Observable } from 'rxjs';
|
2
|
+
import { IHandler } from '@foblex/mediator';
|
3
|
+
export declare class ChangeCodeFocusedSyntaxPreProcessor implements IHandler<HTMLElement, Observable<HTMLElement>> {
|
4
|
+
handle(element: HTMLElement): Observable<HTMLElement>;
|
5
|
+
private getCodeBlocks;
|
6
|
+
private replaceFocus;
|
7
|
+
}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
import { Observable } from 'rxjs';
|
2
|
+
import { BrowserService } from '@foblex/platform';
|
3
|
+
import * as i0 from "@angular/core";
|
4
|
+
export declare class HighlightService {
|
5
|
+
private fBrowser;
|
6
|
+
private Prism;
|
7
|
+
constructor(fBrowser: BrowserService);
|
8
|
+
highlight(element: HTMLElement): Observable<any>;
|
9
|
+
private highlightCodeWithPrism;
|
10
|
+
private highlightAllUnder;
|
11
|
+
private loadPrism;
|
12
|
+
private markNoneLanguage;
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HighlightService, never>;
|
14
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<HighlightService>;
|
15
|
+
}
|
@@ -0,0 +1,5 @@
|
|
1
|
+
export * from './change-code-focused-syntax.pre-processor';
|
2
|
+
export * from './highlight.service';
|
3
|
+
export * from './mark-code-focused-blocks.post-processor';
|
4
|
+
export * from './modify-punctuation-highlight.post-processor';
|
5
|
+
export * from './separate-code-by-lines.post-processor';
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import { Observable } from 'rxjs';
|
2
|
+
import { IHandler } from '@foblex/mediator';
|
3
|
+
import { BrowserService } from '@foblex/platform';
|
4
|
+
export declare class MarkCodeFocusedBlocksPostProcessor implements IHandler<HTMLElement, Observable<HTMLElement>> {
|
5
|
+
private fBrowser;
|
6
|
+
constructor(fBrowser: BrowserService);
|
7
|
+
handle(element: HTMLElement): Observable<HTMLElement>;
|
8
|
+
private getCodeBlocks;
|
9
|
+
private replaceFocus;
|
10
|
+
private applyOpacity;
|
11
|
+
private getElementColor;
|
12
|
+
private createRgbaString;
|
13
|
+
private getRgbValues;
|
14
|
+
}
|
package/lib/f-page/f-markdown/domain/highlight/modify-punctuation-highlight.post-processor.d.ts
ADDED
@@ -0,0 +1,6 @@
|
|
1
|
+
import { Observable } from 'rxjs';
|
2
|
+
import { IHandler } from '@foblex/mediator';
|
3
|
+
export declare class ModifyPunctuationHighlightPostProcessor implements IHandler<HTMLElement, Observable<HTMLElement>> {
|
4
|
+
handle(element: HTMLElement): Observable<HTMLElement>;
|
5
|
+
private replacePunctuation;
|
6
|
+
}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import { Observable } from 'rxjs';
|
2
|
+
import { IHandler } from '@foblex/mediator';
|
3
|
+
export declare class SeparateCodeByLinesPostProcessor implements IHandler<HTMLElement, Observable<HTMLElement>> {
|
4
|
+
handle(element: HTMLElement): Observable<HTMLElement>;
|
5
|
+
private getCodeDividedByLines;
|
6
|
+
private getLines;
|
7
|
+
private isLineEmpty;
|
8
|
+
private getLine;
|
9
|
+
}
|
@@ -0,0 +1,22 @@
|
|
1
|
+
import { Observable } from 'rxjs';
|
2
|
+
import { HttpClient } from '@angular/common/http';
|
3
|
+
import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
|
4
|
+
import { Router } from '@angular/router';
|
5
|
+
import { FEnvironmentService } from '../../../../domain';
|
6
|
+
import * as i0 from "@angular/core";
|
7
|
+
export declare class MarkdownService {
|
8
|
+
private httpClient;
|
9
|
+
private domSanitizer;
|
10
|
+
private fEnvironment;
|
11
|
+
private router;
|
12
|
+
private markdown;
|
13
|
+
constructor(httpClient: HttpClient, domSanitizer: DomSanitizer, fEnvironment: FEnvironmentService, router: Router);
|
14
|
+
parse(src: string): Observable<SafeHtml>;
|
15
|
+
private normalizeLinks;
|
16
|
+
private isExternalLink;
|
17
|
+
private cleanupEmptyParagraphs;
|
18
|
+
private cleanupWasteParagraphFromExampleView;
|
19
|
+
private cleanupWasteParagraphFromPreviewGroup;
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MarkdownService, never>;
|
21
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<MarkdownService>;
|
22
|
+
}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
export declare enum EMarkdownContainerType {
|
2
|
+
CODE_GROUP = "code-group",
|
3
|
+
EXAMPLE_GROUP = "ng-component",
|
4
|
+
PREVIEW_GROUP = "preview-group",
|
5
|
+
CODE_VIEW = "code-view",
|
6
|
+
ALERT_TIP = "tip",
|
7
|
+
ALERT_INFO = "info",
|
8
|
+
ALERT_WARNING = "warning",
|
9
|
+
ALERT_DANGER = "danger",
|
10
|
+
ALERT_SUCCESS = "success"
|
11
|
+
}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
export interface IMarkdownItToken {
|
2
|
+
type: string;
|
3
|
+
tag: string;
|
4
|
+
attrs: Array<[string, string]> | null;
|
5
|
+
map: [number, number] | null;
|
6
|
+
nesting: -1 | 0 | 1;
|
7
|
+
level: number;
|
8
|
+
children: IMarkdownItToken[] | null;
|
9
|
+
content: string;
|
10
|
+
markup: string;
|
11
|
+
info: string;
|
12
|
+
meta: any;
|
13
|
+
block: boolean;
|
14
|
+
hidden: boolean;
|
15
|
+
}
|
@@ -0,0 +1,7 @@
|
|
1
|
+
export * from './e-markdown-container-type';
|
2
|
+
export * from './i-markdown-it-token';
|
3
|
+
export * from './parse-alerts';
|
4
|
+
export * from './parse-code-group';
|
5
|
+
export * from './parse-code-view';
|
6
|
+
export * from './parse-example-group';
|
7
|
+
export * from './parse-preview-group';
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import MarkdownIt from 'markdown-it';
|
2
|
+
import container from 'markdown-it-container';
|
3
|
+
type ContainerArgs = [typeof container, string, {
|
4
|
+
render: any;
|
5
|
+
}];
|
6
|
+
export declare class ParseAlerts {
|
7
|
+
render(type: string, markdown: MarkdownIt): ContainerArgs;
|
8
|
+
}
|
9
|
+
export {};
|
@@ -0,0 +1,17 @@
|
|
1
|
+
import container from 'markdown-it-container';
|
2
|
+
type ContainerArgs = [typeof container, string, {
|
3
|
+
render: any;
|
4
|
+
}];
|
5
|
+
export declare class ParseCodeGroup {
|
6
|
+
render(): ContainerArgs;
|
7
|
+
private isOpeningToken;
|
8
|
+
private generateTabs;
|
9
|
+
private isClosingToken;
|
10
|
+
private isCodeFenceToken;
|
11
|
+
private generateTabButton;
|
12
|
+
private openingGroupHTML;
|
13
|
+
private closingGroupHTML;
|
14
|
+
private getCodeBlockTitle;
|
15
|
+
private getCodeLanguage;
|
16
|
+
}
|
17
|
+
export {};
|
@@ -0,0 +1,21 @@
|
|
1
|
+
import container from 'markdown-it-container';
|
2
|
+
type ContainerArgs = [typeof container, string, {
|
3
|
+
render: any;
|
4
|
+
}];
|
5
|
+
export declare class ParseExampleGroup {
|
6
|
+
render(): ContainerArgs;
|
7
|
+
private isNgComponent;
|
8
|
+
private isOpeningToken;
|
9
|
+
private generateData;
|
10
|
+
private parseComponentTags;
|
11
|
+
private parseData;
|
12
|
+
private extractFileData;
|
13
|
+
private openingExampleGroupHTML;
|
14
|
+
private groupTabsHTML;
|
15
|
+
private generateTabButton;
|
16
|
+
private groupBodyHTML;
|
17
|
+
private generateExampleView;
|
18
|
+
private generateAsyncCodeView;
|
19
|
+
private closingExampleGroupHTML;
|
20
|
+
}
|
21
|
+
export {};
|
@@ -0,0 +1,17 @@
|
|
1
|
+
import container from 'markdown-it-container';
|
2
|
+
import { INavigationGroup } from '../../../../../f-navigation-panel';
|
3
|
+
type ContainerArgs = [typeof container, string, {
|
4
|
+
render: any;
|
5
|
+
}];
|
6
|
+
export declare class ParsePreviewGroup {
|
7
|
+
private navigation;
|
8
|
+
constructor(navigation: INavigationGroup[]);
|
9
|
+
render(): ContainerArgs;
|
10
|
+
private isOpeningToken;
|
11
|
+
private generateData;
|
12
|
+
private parseData;
|
13
|
+
private extractFileData;
|
14
|
+
private getGroupsHTML;
|
15
|
+
private getItemsHTML;
|
16
|
+
}
|
17
|
+
export {};
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './get-content';
|
@@ -0,0 +1,25 @@
|
|
1
|
+
import { AfterViewChecked, ChangeDetectorRef, Injector, OnDestroy, OnInit } from '@angular/core';
|
2
|
+
import { SafeHtml } from '@angular/platform-browser';
|
3
|
+
import * as i0 from "@angular/core";
|
4
|
+
export declare class FMarkdownRendererComponent implements OnInit, AfterViewChecked, OnDestroy {
|
5
|
+
private injector;
|
6
|
+
private changeDetectorRef;
|
7
|
+
private subscriptions$;
|
8
|
+
protected value: SafeHtml | undefined;
|
9
|
+
private hostElement;
|
10
|
+
private fScrollableService;
|
11
|
+
private fContainersHandler;
|
12
|
+
private fDynamicComponentsHandler;
|
13
|
+
private isMarkdownChanged;
|
14
|
+
constructor(injector: Injector, changeDetectorRef: ChangeDetectorRef);
|
15
|
+
ngOnInit(): void;
|
16
|
+
private subscribeOnRouteChanges;
|
17
|
+
private getRouterEvents;
|
18
|
+
private get markdownPath();
|
19
|
+
private renderMarkdown;
|
20
|
+
ngAfterViewChecked(): void;
|
21
|
+
onDocumentClick(event: MouseEvent): void;
|
22
|
+
ngOnDestroy(): void;
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FMarkdownRendererComponent, never>;
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FMarkdownRendererComponent, "f-markdown-renderer", never, {}, {}, never, never, true, never>;
|
25
|
+
}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import { IHandler } from '@foblex/mediator';
|
2
|
+
import { GetPreviousNextPageNavigationRequest } from './get-previous-next-page-navigation.request';
|
3
|
+
import { GetPreviousNextPageNavigationResponse } from './get-previous-next-page-navigation.response';
|
4
|
+
import { FEnvironmentService } from '../../../../../domain';
|
5
|
+
export declare class GetPreviousNextPageNavigationHandler implements IHandler<GetPreviousNextPageNavigationRequest, GetPreviousNextPageNavigationResponse> {
|
6
|
+
private fEnvironmentService;
|
7
|
+
constructor(fEnvironmentService: FEnvironmentService);
|
8
|
+
handle(request: GetPreviousNextPageNavigationRequest): GetPreviousNextPageNavigationResponse;
|
9
|
+
}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
import { IPageLink } from '../../i-page-link';
|
2
|
+
export declare class GetPreviousNextPageNavigationResponse {
|
3
|
+
previousLink: IPageLink | undefined;
|
4
|
+
nextLink: IPageLink | undefined;
|
5
|
+
constructor(previousLink: IPageLink | undefined, nextLink: IPageLink | undefined);
|
6
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './get-previous-next-page-navigation';
|
@@ -0,0 +1,5 @@
|
|
1
|
+
import * as i0 from "@angular/core";
|
2
|
+
export declare class FFooterEditInformationComponent {
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FFooterEditInformationComponent, never>;
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FFooterEditInformationComponent, "f-footer-edit-information", never, {}, {}, never, ["*"], true, never>;
|
5
|
+
}
|
@@ -0,0 +1,5 @@
|
|
1
|
+
import * as i0 from "@angular/core";
|
2
|
+
export declare class FFooterEditLinkComponent {
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FFooterEditLinkComponent, never>;
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FFooterEditLinkComponent, "a[f-footer-edit-link]", never, {}, {}, never, ["*"], true, never>;
|
5
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './f-footer-edit-link.component';
|
@@ -0,0 +1,5 @@
|
|
1
|
+
import * as i0 from "@angular/core";
|
2
|
+
export declare class FFooterLastUpdatedComponent {
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FFooterLastUpdatedComponent, never>;
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FFooterLastUpdatedComponent, "f-footer-last-updated", never, {}, {}, never, ["*"], true, never>;
|
5
|
+
}
|
package/lib/f-page/f-markdown-footer/f-footer-edit-information/f-footer-last-updated/index.d.ts
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
export * from './f-footer-last-updated.component';
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './f-footer-edit-information.component';
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import { IPageLink } from '../../domain';
|
2
|
+
import * as i0 from "@angular/core";
|
3
|
+
export declare class FFooterNavigationButtonComponent {
|
4
|
+
description: string | undefined;
|
5
|
+
link: IPageLink;
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FFooterNavigationButtonComponent, never>;
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FFooterNavigationButtonComponent, "a[f-footer-navigation-button]", never, { "description": { "alias": "description"; "required": true; }; "link": { "alias": "link"; "required": true; }; }, {}, never, never, true, never>;
|
8
|
+
}
|
package/lib/f-page/f-markdown-footer/f-footer-navigation/f-footer-navigation-button/index.d.ts
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
export * from './f-footer-navigation-button.component';
|
@@ -0,0 +1,5 @@
|
|
1
|
+
import * as i0 from "@angular/core";
|
2
|
+
export declare class FFooterNavigationComponent {
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FFooterNavigationComponent, never>;
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FFooterNavigationComponent, "nav[f-footer-navigation]", never, {}, {}, never, ["*"], true, never>;
|
5
|
+
}
|
@@ -0,0 +1,29 @@
|
|
1
|
+
import { ChangeDetectorRef, Injector, OnDestroy, OnInit } from '@angular/core';
|
2
|
+
import { Router } from '@angular/router';
|
3
|
+
import { FEnvironmentService, IDocsFooterNavigation } from '../../domain';
|
4
|
+
import { IPageLink } from './domain';
|
5
|
+
import * as i0 from "@angular/core";
|
6
|
+
export declare class FMarkdownFooterComponent implements OnInit, OnDestroy {
|
7
|
+
private injector;
|
8
|
+
private fEnvironmentService;
|
9
|
+
private router;
|
10
|
+
private changeDetectorRef;
|
11
|
+
private subscriptions$;
|
12
|
+
protected navigation: IDocsFooterNavigation;
|
13
|
+
protected editLink: string | undefined;
|
14
|
+
protected previousLink: IPageLink | undefined;
|
15
|
+
protected nextLink: IPageLink | undefined;
|
16
|
+
constructor(injector: Injector, fEnvironmentService: FEnvironmentService, router: Router, changeDetectorRef: ChangeDetectorRef);
|
17
|
+
ngOnInit(): void;
|
18
|
+
private subscribeOnRouteChanges;
|
19
|
+
private getRouterEvents;
|
20
|
+
private updateData;
|
21
|
+
private normalizeLink;
|
22
|
+
private isExternalLink;
|
23
|
+
private getEditLink;
|
24
|
+
private getCurrentLink;
|
25
|
+
onDocumentClick(event: MouseEvent): void;
|
26
|
+
ngOnDestroy(): void;
|
27
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FMarkdownFooterComponent, never>;
|
28
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FMarkdownFooterComponent, "footer [f-markdown-footer]", never, {}, {}, never, never, true, never>;
|
29
|
+
}
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import { ITableOfContentItem } from '../../../f-scrollable-container';
|
2
|
+
import * as i0 from "@angular/core";
|
3
|
+
export declare class FTableOfContentItemsComponent {
|
4
|
+
items: ITableOfContentItem[];
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FTableOfContentItemsComponent, never>;
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FTableOfContentItemsComponent, "ul[f-table-of-content-items]", never, { "items": { "alias": "items"; "required": false; }; }, {}, never, never, true, never>;
|
7
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './f-table-of-content-items.component';
|
@@ -0,0 +1,28 @@
|
|
1
|
+
import { ChangeDetectorRef, ElementRef, OnDestroy, OnInit } from '@angular/core';
|
2
|
+
import { Observable } from 'rxjs';
|
3
|
+
import { FScrollableService } from '../../f-scrollable-container/f-scrollable.service';
|
4
|
+
import { TableOfContentData } from '../../f-scrollable-container';
|
5
|
+
import { FEnvironmentService } from '../../domain';
|
6
|
+
import { BrowserService } from '@foblex/platform';
|
7
|
+
import * as i0 from "@angular/core";
|
8
|
+
export declare class FTableOfContentComponent implements OnInit, OnDestroy {
|
9
|
+
private fEnvironmentService;
|
10
|
+
private elementRef;
|
11
|
+
private fScrollableService;
|
12
|
+
private changeDetectorRef;
|
13
|
+
private fBrowser;
|
14
|
+
private subscriptions$;
|
15
|
+
get onToc$(): Observable<TableOfContentData>;
|
16
|
+
protected tocData: TableOfContentData;
|
17
|
+
protected activeMarkerPosition: number;
|
18
|
+
protected title: string | undefined;
|
19
|
+
constructor(fEnvironmentService: FEnvironmentService, elementRef: ElementRef<HTMLElement>, fScrollableService: FScrollableService, changeDetectorRef: ChangeDetectorRef, fBrowser: BrowserService);
|
20
|
+
ngOnInit(): void;
|
21
|
+
private subscribeOnPageNavigation;
|
22
|
+
private getActiveMarkerPosition;
|
23
|
+
private getComputedStyle;
|
24
|
+
onDocumentClick(event: MouseEvent): void;
|
25
|
+
ngOnDestroy(): void;
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FTableOfContentComponent, never>;
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FTableOfContentComponent, "aside[f-table-of-content]", never, {}, {}, never, never, true, never>;
|
28
|
+
}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
import { IHandler } from '@foblex/mediator';
|
2
|
+
import { CalculateHashFromScrollPositionRequest } from './calculate-hash-from-scroll-position.request';
|
3
|
+
import { BrowserService } from '@foblex/platform';
|
4
|
+
export declare class CalculateHashFromScrollPositionHandler implements IHandler<CalculateHashFromScrollPositionRequest, string | undefined> {
|
5
|
+
private scrollableContainer;
|
6
|
+
private fBrowser;
|
7
|
+
constructor(scrollableContainer: HTMLElement, fBrowser: BrowserService);
|
8
|
+
handle(request: CalculateHashFromScrollPositionRequest): string | undefined;
|
9
|
+
private getContainerScrollTop;
|
10
|
+
private getHeaderHeight;
|
11
|
+
private calculateElementsTopPositions;
|
12
|
+
private getAbsoluteTopToContainer;
|
13
|
+
private isScrollAtBottom;
|
14
|
+
private findTargetHashByPosition;
|
15
|
+
}
|