@codetectonics/mantle 0.0.2 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -49
- package/bundles/codetectonics-mantle.umd.js +6907 -0
- package/bundles/codetectonics-mantle.umd.js.map +1 -0
- package/esm2015/codetectonics-mantle.js +5 -0
- package/esm2015/lib/components/dashboard/containers/dynamic-dashboard-container/dynamic-dashboard-container.component.js +24 -0
- package/esm2015/lib/components/dashboard/containers/plain-dashboard-container/plain-dashboard-container.component.js +35 -0
- package/esm2015/lib/components/dashboard/dashboard-card/dashboard-card.component.js +133 -0
- package/esm2015/lib/components/dashboard/dashboard-card-search-menu/dashboard-card-search-menu.component.js +55 -0
- package/esm2015/lib/components/dashboard/dynamic-dashboard/dynamic-dashboard.component.js +23 -0
- package/esm2015/lib/components/dashboard/sections/dashboard-section/dashboard-section.component.js +71 -0
- package/esm2015/lib/components/dashboard/widgets/dashboard-info-card/dashboard-info-card.component.js +26 -0
- package/esm2015/lib/components/dashboard/widgets/dashboard-table/dashboard-table-datasource.js +30 -0
- package/esm2015/lib/components/dashboard/widgets/dashboard-table/dashboard-table.component.js +58 -0
- package/esm2015/lib/components/dashboard/widgets/dynamic-chart/dynamic-chart.component.js +85 -0
- package/esm2015/lib/components/dashboard/widgets/dynamic-widget-display/dynamic-widget-display.component.js +29 -0
- package/esm2015/lib/components/details/containers/accordion-details-container/accordion-details-container.component.js +26 -0
- package/esm2015/lib/components/details/containers/dynamic-details-container/dynamic-details-container.component.js +25 -0
- package/esm2015/lib/components/details/containers/plain-details-container/plain-details-container.component.js +25 -0
- package/esm2015/lib/components/details/dialog-details/dialog-details.component.js +77 -0
- package/esm2015/lib/components/details/dialog-nested-details/dialog-nested-details.component.js +40 -0
- package/esm2015/lib/components/details/dynamic-details/dynamic-details.component.js +23 -0
- package/esm2015/lib/components/details/fields/actions-attribute-display/actions-attribute-display.component.js +27 -0
- package/esm2015/lib/components/details/fields/chip-attribute-display/chip-attribute-display.component.js +40 -0
- package/esm2015/lib/components/details/fields/dynamic-attribute-display/dynamic-attribute-display.component.js +46 -0
- package/esm2015/lib/components/details/fields/file-attribute-display/file-attribute-display.component.js +37 -0
- package/esm2015/lib/components/details/fields/image-attribute-display/image-attribute-display.component.js +36 -0
- package/esm2015/lib/components/details/fields/link-attribute-display/link-attribute-display.component.js +30 -0
- package/esm2015/lib/components/details/fields/markdown-attribute-display/markdown-attribute-display.component.js +21 -0
- package/esm2015/lib/components/details/fields/thumbnail-display/thumbnail-display.component.js +33 -0
- package/esm2015/lib/components/details/sections/dynamic-details-section/dynamic-details-section.component.js +42 -0
- package/esm2015/lib/components/details/sections/grid-details-section/grid-details-section.component.js +53 -0
- package/esm2015/lib/components/details/sections/markdown-details-section/markdown-details-section.component.js +19 -0
- package/esm2015/lib/components/details/sections/table-details-section/table-details-section.component.js +37 -0
- package/esm2015/lib/components/form/containers/accordion-form-container/accordion-form-container.component.js +29 -0
- package/esm2015/lib/components/form/containers/dynamic-form-container/dynamic-form-container.component.js +28 -0
- package/esm2015/lib/components/form/containers/plain-form-container/plain-form-container.component.js +28 -0
- package/esm2015/lib/components/form/dialog-form/dialog-form.component.js +91 -0
- package/esm2015/lib/components/form/dialog-nested-form/dialog-nested-form.component.js +57 -0
- package/esm2015/lib/components/form/dynamic-form/dynamic-form.component.js +52 -0
- package/esm2015/lib/components/form/fields/autocomplete-input/autocomplete-input.component.js +69 -0
- package/esm2015/lib/components/form/fields/chip-input/chip-input.component.js +84 -0
- package/esm2015/lib/components/form/fields/datepicker/datepicker.component.js +91 -0
- package/esm2015/lib/components/form/fields/datetimepicker/datetimepicker.component.js +92 -0
- package/esm2015/lib/components/form/fields/dropdown/dropdown.component.js +73 -0
- package/esm2015/lib/components/form/fields/dynamic-form-field/dynamic-form-field.component.js +37 -0
- package/esm2015/lib/components/form/fields/filepicker/filepicker.component.js +97 -0
- package/esm2015/lib/components/form/fields/image-cropper/image-cropper.component.js +52 -0
- package/esm2015/lib/components/form/fields/imagepicker/imagepicker.component.js +139 -0
- package/esm2015/lib/components/form/fields/markdown-input/markdown-input.component.js +53 -0
- package/esm2015/lib/components/form/fields/number-input/number-input.component.js +91 -0
- package/esm2015/lib/components/form/fields/password-input/password-input.component.js +58 -0
- package/esm2015/lib/components/form/fields/text-input/text-input.component.js +55 -0
- package/esm2015/lib/components/form/fields/textarea/textarea.component.js +58 -0
- package/esm2015/lib/components/form/sections/dynamic-form-section/dynamic-form-section.component.js +47 -0
- package/esm2015/lib/components/form/sections/grid-form-section/grid-form-section.component.js +69 -0
- package/esm2015/lib/components/form/sections/table-form-section/table-form-section.component.js +107 -0
- package/esm2015/lib/components/layout-editor/containers/accordion-layout-editor-container/accordion-layout-editor-container.component.js +24 -0
- package/esm2015/lib/components/layout-editor/containers/dynamic-layout-editor-container/dynamic-layout-editor-container.component.js +23 -0
- package/esm2015/lib/components/layout-editor/containers/plain-layout-editor-container/plain-layout-editor-container.component.js +24 -0
- package/esm2015/lib/components/layout-editor/dynamic-layout-editor/dynamic-layout-editor.component.js +23 -0
- package/esm2015/lib/components/layout-editor/elements/dynamic-layout-editor-element/dynamic-layout-editor-element.component.js +38 -0
- package/esm2015/lib/components/layout-editor/elements/layout-editor-field-element/layout-editor-field-element.component.js +76 -0
- package/esm2015/lib/components/layout-editor/elements/layout-editor-table-column-element/layout-editor-table-column-element.component.js +76 -0
- package/esm2015/lib/components/layout-editor/elements/layout-editor-widget-element/layout-editor-widget-element.component.js +19 -0
- package/esm2015/lib/components/layout-editor/sections/dashboard-layout-editor-section/dashboard-layout-editor-section.component.js +21 -0
- package/esm2015/lib/components/layout-editor/sections/dynamic-layout-editor-section/dynamic-layout-editor-section.component.js +25 -0
- package/esm2015/lib/components/layout-editor/sections/grid-layout-editor-section/grid-layout-editor-section.component.js +102 -0
- package/esm2015/lib/components/layout-editor/sections/markdown-layout-editor-section/markdown-layout-editor-section.component.js +19 -0
- package/esm2015/lib/components/layout-editor/sections/table-layout-editor-section/table-layout-editor-section.component.js +74 -0
- package/esm2015/lib/components/navigation/nav-tree/nav-tree.component.js +65 -0
- package/esm2015/lib/components/navigation/reroute/reroute.component.js +28 -0
- package/esm2015/lib/components/pages/dashboard-page/dashboard-page.component.js +34 -0
- package/esm2015/lib/components/pages/detail-page/detail-page.component.js +101 -0
- package/esm2015/lib/components/pages/documents-page/documents-page.component.js +109 -0
- package/esm2015/lib/components/pages/export-page/export-page.component.js +65 -0
- package/esm2015/lib/components/pages/form-page/form-page.component.js +133 -0
- package/esm2015/lib/components/pages/layout-editor-page/layout-editor-page.component.js +72 -0
- package/esm2015/lib/components/pages/list-page/list-page-datasource.js +62 -0
- package/esm2015/lib/components/pages/list-page/list-page.component.js +159 -0
- package/esm2015/lib/components/pages/tabbed-page/tabbed-page.component.js +35 -0
- package/esm2015/lib/components/titles/content-title/content-title.component.js +23 -0
- package/esm2015/lib/components/titles/page-title/page-title.component.js +28 -0
- package/esm2015/lib/components/titles/section-title/section-title.component.js +18 -0
- package/esm2015/lib/components/widgets/delete-confirmation-dialog/delete-confirmation-dialog.component.js +36 -0
- package/esm2015/lib/components/widgets/dynamic-table/dynamic-table-datasource.js +89 -0
- package/esm2015/lib/components/widgets/dynamic-table/dynamic-table.component.js +67 -0
- package/esm2015/lib/components/widgets/file-preview-dialog/file-preview-dialog.component.js +42 -0
- package/esm2015/lib/components/widgets/loader/loader.component.js +21 -0
- package/esm2015/lib/components/widgets/save-confirmation-dialog/save-confirmation-dialog.component.js +35 -0
- package/esm2015/lib/components/widgets/search-panel/search-panel.component.js +67 -0
- package/esm2015/lib/components/widgets/snackbar/snackbar.component.js +42 -0
- package/esm2015/lib/config/charts/column-chart.data.js +38 -0
- package/esm2015/lib/config/charts/gantt-chart.data.js +18 -0
- package/esm2015/lib/config/charts/pie-chart.data.js +21 -0
- package/esm2015/lib/config/charts/progress-bar-chart.data.js +50 -0
- package/esm2015/lib/config/charts/spline-chart.data.js +24 -0
- package/esm2015/lib/data-structures/dynamic-layout.structure.js +2 -0
- package/esm2015/lib/data-structures/file-attachment.structure.js +2 -0
- package/esm2015/lib/directives/click-stop-propagation.directive.js +19 -0
- package/esm2015/lib/directives/file-dropzone.directive.js +53 -0
- package/esm2015/lib/guards/feature.guard.js +42 -0
- package/esm2015/lib/guards/password-check.guard.js +21 -0
- package/esm2015/lib/guards/session.guard.js +21 -0
- package/esm2015/lib/mantle.module.js +518 -0
- package/esm2015/lib/material.module.js +290 -0
- package/esm2015/lib/models/screen-size-map.model.js +9 -0
- package/esm2015/lib/pipes/dynamic.pipe.js +45 -0
- package/esm2015/lib/pipes/secure-image.pipe.js +35 -0
- package/esm2015/lib/services/adapters/web-api-crud.adapter.js +22 -0
- package/esm2015/lib/services/adapters/websocket.adapter.js +2 -0
- package/esm2015/lib/services/announcement.service.js +43 -0
- package/esm2015/lib/services/array.service.js +82 -0
- package/esm2015/lib/services/chart.service.js +45 -0
- package/esm2015/lib/services/confirmation.service.js +45 -0
- package/esm2015/lib/services/current-user.service.js +120 -0
- package/esm2015/lib/services/dynamic-form.service.js +59 -0
- package/esm2015/lib/services/feature-config.service.js +240 -0
- package/esm2015/lib/services/interfaces/authorisable-feature.service.js +2 -0
- package/esm2015/lib/services/interfaces/dashboard-page.service.js +2 -0
- package/esm2015/lib/services/interfaces/dashboard-widget.service.js +2 -0
- package/esm2015/lib/services/interfaces/detail-page.service.js +2 -0
- package/esm2015/lib/services/interfaces/export-page.service.js +2 -0
- package/esm2015/lib/services/interfaces/form-page.service.js +2 -0
- package/esm2015/lib/services/interfaces/layout-editor-page.service.js +2 -0
- package/esm2015/lib/services/interfaces/list-page.service.js +2 -0
- package/esm2015/lib/services/interfaces/nav-tabs.service.js +2 -0
- package/esm2015/lib/services/interfaces/reroute.service.js +2 -0
- package/esm2015/lib/services/object.service.js +69 -0
- package/esm2015/lib/services/password-check.service.js +93 -0
- package/esm2015/lib/services/screen-size.service.js +41 -0
- package/esm2015/lib/services/web-api.service.js +99 -0
- package/esm2015/lib/services/websocket.service.js +58 -0
- package/esm2015/lib/tokens/environment.token.js +3 -0
- package/esm2015/public-api.js +133 -0
- package/fesm2015/codetectonics-mantle.js +5940 -0
- package/fesm2015/codetectonics-mantle.js.map +1 -0
- package/lib/components/dashboard/containers/dynamic-dashboard-container/dynamic-dashboard-container.component.d.ts +11 -0
- package/lib/components/dashboard/containers/plain-dashboard-container/plain-dashboard-container.component.d.ts +14 -0
- package/lib/components/dashboard/dashboard-card/dashboard-card.component.d.ts +41 -0
- package/lib/components/dashboard/dashboard-card-search-menu/dashboard-card-search-menu.component.d.ts +20 -0
- package/lib/components/dashboard/dynamic-dashboard/dynamic-dashboard.component.d.ts +10 -0
- package/lib/components/dashboard/sections/dashboard-section/dashboard-section.component.d.ts +27 -0
- package/lib/components/dashboard/widgets/dashboard-info-card/dashboard-info-card.component.d.ts +8 -0
- package/lib/components/dashboard/widgets/dashboard-table/dashboard-table-datasource.d.ts +22 -0
- package/lib/components/dashboard/widgets/dashboard-table/dashboard-table.component.d.ts +28 -0
- package/lib/components/dashboard/widgets/dynamic-chart/dynamic-chart.component.d.ts +20 -0
- package/lib/components/dashboard/widgets/dynamic-widget-display/dynamic-widget-display.component.d.ts +9 -0
- package/lib/components/details/containers/accordion-details-container/accordion-details-container.component.d.ts +11 -0
- package/lib/components/details/containers/dynamic-details-container/dynamic-details-container.component.d.ts +11 -0
- package/lib/components/details/containers/plain-details-container/plain-details-container.component.d.ts +11 -0
- package/lib/components/details/dialog-details/dialog-details.component.d.ts +36 -0
- package/lib/components/details/dialog-nested-details/dialog-nested-details.component.d.ts +22 -0
- package/lib/components/details/dynamic-details/dynamic-details.component.d.ts +10 -0
- package/lib/components/details/fields/actions-attribute-display/actions-attribute-display.component.d.ts +7 -0
- package/lib/components/details/fields/chip-attribute-display/chip-attribute-display.component.d.ts +9 -0
- package/lib/components/details/fields/dynamic-attribute-display/dynamic-attribute-display.component.d.ts +15 -0
- package/lib/components/details/fields/file-attribute-display/file-attribute-display.component.d.ts +12 -0
- package/lib/components/details/fields/image-attribute-display/image-attribute-display.component.d.ts +12 -0
- package/lib/components/details/fields/link-attribute-display/link-attribute-display.component.d.ts +10 -0
- package/lib/components/details/fields/markdown-attribute-display/markdown-attribute-display.component.d.ts +6 -0
- package/lib/components/details/fields/thumbnail-display/thumbnail-display.component.d.ts +10 -0
- package/lib/components/details/sections/dynamic-details-section/dynamic-details-section.component.d.ts +17 -0
- package/lib/components/details/sections/grid-details-section/grid-details-section.component.d.ts +17 -0
- package/lib/components/details/sections/markdown-details-section/markdown-details-section.component.d.ts +7 -0
- package/lib/components/details/sections/table-details-section/table-details-section.component.d.ts +12 -0
- package/lib/components/form/containers/accordion-form-container/accordion-form-container.component.d.ts +13 -0
- package/lib/components/form/containers/dynamic-form-container/dynamic-form-container.component.d.ts +13 -0
- package/lib/components/form/containers/plain-form-container/plain-form-container.component.d.ts +13 -0
- package/lib/components/form/dialog-form/dialog-form.component.d.ts +39 -0
- package/lib/components/form/dialog-nested-form/dialog-nested-form.component.d.ts +31 -0
- package/lib/components/form/dynamic-form/dynamic-form.component.d.ts +21 -0
- package/lib/components/form/fields/autocomplete-input/autocomplete-input.component.d.ts +32 -0
- package/lib/components/form/fields/chip-input/chip-input.component.d.ts +27 -0
- package/lib/components/form/fields/datepicker/datepicker.component.d.ts +24 -0
- package/lib/components/form/fields/datetimepicker/datetimepicker.component.d.ts +24 -0
- package/lib/components/form/fields/dropdown/dropdown.component.d.ts +31 -0
- package/lib/components/form/fields/dynamic-form-field/dynamic-form-field.component.d.ts +10 -0
- package/lib/components/form/fields/filepicker/filepicker.component.d.ts +27 -0
- package/lib/components/form/fields/image-cropper/image-cropper.component.d.ts +27 -0
- package/lib/components/form/fields/imagepicker/imagepicker.component.d.ts +41 -0
- package/lib/components/form/fields/markdown-input/markdown-input.component.d.ts +17 -0
- package/lib/components/form/fields/number-input/number-input.component.d.ts +27 -0
- package/lib/components/form/fields/password-input/password-input.component.d.ts +19 -0
- package/lib/components/form/fields/text-input/text-input.component.d.ts +18 -0
- package/lib/components/form/fields/textarea/textarea.component.d.ts +19 -0
- package/lib/components/form/sections/dynamic-form-section/dynamic-form-section.component.d.ts +19 -0
- package/lib/components/form/sections/grid-form-section/grid-form-section.component.d.ts +23 -0
- package/lib/components/form/sections/table-form-section/table-form-section.component.d.ts +22 -0
- package/lib/components/layout-editor/containers/accordion-layout-editor-container/accordion-layout-editor-container.component.d.ts +10 -0
- package/lib/components/layout-editor/containers/dynamic-layout-editor-container/dynamic-layout-editor-container.component.d.ts +10 -0
- package/lib/components/layout-editor/containers/plain-layout-editor-container/plain-layout-editor-container.component.d.ts +10 -0
- package/lib/components/layout-editor/dynamic-layout-editor/dynamic-layout-editor.component.d.ts +10 -0
- package/lib/components/layout-editor/elements/dynamic-layout-editor-element/dynamic-layout-editor-element.component.d.ts +13 -0
- package/lib/components/layout-editor/elements/layout-editor-field-element/layout-editor-field-element.component.d.ts +14 -0
- package/lib/components/layout-editor/elements/layout-editor-table-column-element/layout-editor-table-column-element.component.d.ts +14 -0
- package/lib/components/layout-editor/elements/layout-editor-widget-element/layout-editor-widget-element.component.d.ts +8 -0
- package/lib/components/layout-editor/sections/dashboard-layout-editor-section/dashboard-layout-editor-section.component.d.ts +8 -0
- package/lib/components/layout-editor/sections/dynamic-layout-editor-section/dynamic-layout-editor-section.component.d.ts +10 -0
- package/lib/components/layout-editor/sections/grid-layout-editor-section/grid-layout-editor-section.component.d.ts +21 -0
- package/lib/components/layout-editor/sections/markdown-layout-editor-section/markdown-layout-editor-section.component.d.ts +7 -0
- package/lib/components/layout-editor/sections/table-layout-editor-section/table-layout-editor-section.component.d.ts +14 -0
- package/lib/components/navigation/nav-tree/nav-tree.component.d.ts +46 -0
- package/lib/components/navigation/reroute/reroute.component.d.ts +14 -0
- package/lib/components/pages/dashboard-page/dashboard-page.component.d.ts +16 -0
- package/lib/components/pages/detail-page/detail-page.component.d.ts +35 -0
- package/lib/components/pages/documents-page/documents-page.component.d.ts +41 -0
- package/lib/components/pages/export-page/export-page.component.d.ts +29 -0
- package/lib/components/pages/form-page/form-page.component.d.ts +37 -0
- package/lib/components/pages/layout-editor-page/layout-editor-page.component.d.ts +26 -0
- package/lib/components/pages/list-page/list-page-datasource.d.ts +32 -0
- package/lib/components/pages/list-page/list-page.component.d.ts +46 -0
- package/lib/components/pages/tabbed-page/tabbed-page.component.d.ts +16 -0
- package/lib/components/titles/content-title/content-title.component.d.ts +8 -0
- package/lib/components/titles/page-title/page-title.component.d.ts +10 -0
- package/lib/components/titles/section-title/section-title.component.d.ts +7 -0
- package/lib/components/widgets/delete-confirmation-dialog/delete-confirmation-dialog.component.d.ts +20 -0
- package/lib/components/widgets/dynamic-table/dynamic-table-datasource.d.ts +40 -0
- package/lib/components/widgets/dynamic-table/dynamic-table.component.d.ts +30 -0
- package/lib/components/widgets/file-preview-dialog/file-preview-dialog.component.d.ts +17 -0
- package/lib/components/widgets/loader/loader.component.d.ts +6 -0
- package/lib/components/widgets/save-confirmation-dialog/save-confirmation-dialog.component.d.ts +16 -0
- package/lib/components/widgets/search-panel/search-panel.component.d.ts +21 -0
- package/lib/components/widgets/snackbar/snackbar.component.d.ts +11 -0
- package/lib/config/charts/column-chart.data.d.ts +37 -0
- package/lib/config/charts/gantt-chart.data.d.ts +17 -0
- package/lib/config/charts/pie-chart.data.d.ts +20 -0
- package/lib/config/charts/progress-bar-chart.data.d.ts +49 -0
- package/lib/config/charts/spline-chart.data.d.ts +23 -0
- package/lib/data-structures/dynamic-layout.structure.d.ts +161 -0
- package/lib/data-structures/file-attachment.structure.d.ts +6 -0
- package/lib/directives/click-stop-propagation.directive.d.ts +6 -0
- package/lib/directives/file-dropzone.directive.d.ts +12 -0
- package/lib/guards/feature.guard.d.ts +15 -0
- package/lib/guards/password-check.guard.d.ts +11 -0
- package/lib/guards/session.guard.d.ts +10 -0
- package/lib/mantle.module.d.ts +106 -0
- package/lib/material.module.d.ts +34 -0
- package/lib/models/screen-size-map.model.d.ts +13 -0
- package/lib/pipes/dynamic.pipe.d.ts +12 -0
- package/lib/pipes/secure-image.pipe.d.ts +11 -0
- package/lib/services/adapters/web-api-crud.adapter.d.ts +63 -0
- package/lib/services/adapters/websocket.adapter.d.ts +6 -0
- package/lib/services/announcement.service.d.ts +11 -0
- package/lib/services/array.service.d.ts +21 -0
- package/lib/services/chart.service.d.ts +14 -0
- package/lib/services/confirmation.service.d.ts +11 -0
- package/lib/services/current-user.service.d.ts +28 -0
- package/lib/services/dynamic-form.service.d.ts +30 -0
- package/lib/services/feature-config.service.d.ts +82 -0
- package/lib/services/interfaces/authorisable-feature.service.d.ts +5 -0
- package/lib/services/interfaces/dashboard-page.service.d.ts +13 -0
- package/lib/services/interfaces/dashboard-widget.service.d.ts +34 -0
- package/lib/services/interfaces/detail-page.service.d.ts +36 -0
- package/lib/services/interfaces/export-page.service.d.ts +6 -0
- package/lib/services/interfaces/form-page.service.d.ts +30 -0
- package/lib/services/interfaces/layout-editor-page.service.d.ts +14 -0
- package/lib/services/interfaces/list-page.service.d.ts +44 -0
- package/lib/services/interfaces/nav-tabs.service.d.ts +7 -0
- package/lib/services/interfaces/reroute.service.d.ts +3 -0
- package/lib/services/object.service.d.ts +11 -0
- package/lib/services/password-check.service.d.ts +21 -0
- package/lib/services/screen-size.service.d.ts +14 -0
- package/lib/services/web-api.service.d.ts +21 -0
- package/lib/services/websocket.service.d.ts +20 -0
- package/lib/tokens/environment.token.d.ts +2 -0
- package/package.json +34 -15
- package/public-api.d.ts +129 -2
- package/fesm2022/codetectonics-mantle.mjs +0 -42
- package/fesm2022/codetectonics-mantle.mjs.map +0 -1
- package/lib/mantle.component.d.ts +0 -5
- package/lib/mantle.service.d.ts +0 -6
- /package/{index.d.ts → codetectonics-mantle.d.ts} +0 -0
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { OnChanges } from '@angular/core';
|
|
2
|
+
import { MatTreeFlatDataSource, MatTreeFlattener } from '@angular/material/tree';
|
|
3
|
+
import { FlatTreeControl } from '@angular/cdk/tree';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
/** File node data with possible child nodes. */
|
|
6
|
+
export interface NavigationNode {
|
|
7
|
+
name: string;
|
|
8
|
+
icon?: string;
|
|
9
|
+
link?: string;
|
|
10
|
+
children?: NavigationNode[];
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Flattened tree node that has been created from a NavigationNode through the flattener. Flattened
|
|
14
|
+
* nodes include level index and whether they can be expanded or not.
|
|
15
|
+
*/
|
|
16
|
+
export interface FlatTreeNode {
|
|
17
|
+
name: string;
|
|
18
|
+
icon?: string;
|
|
19
|
+
link?: string;
|
|
20
|
+
level: number;
|
|
21
|
+
expandable: boolean;
|
|
22
|
+
}
|
|
23
|
+
export declare class NavTreeComponent implements OnChanges {
|
|
24
|
+
/** The TreeControl controls the expand/collapse state of tree nodes. */
|
|
25
|
+
treeControl: FlatTreeControl<FlatTreeNode>;
|
|
26
|
+
/** The TreeFlattener is used to generate the flat list of items from hierarchical data. */
|
|
27
|
+
treeFlattener: MatTreeFlattener<NavigationNode, FlatTreeNode>;
|
|
28
|
+
/** The MatTreeFlatDataSource connects the control and flattener to provide data. */
|
|
29
|
+
dataSource: MatTreeFlatDataSource<NavigationNode, FlatTreeNode>;
|
|
30
|
+
reminderCount: number;
|
|
31
|
+
navTreeFeatures: any[];
|
|
32
|
+
constructor();
|
|
33
|
+
ngOnChanges(): void;
|
|
34
|
+
/** Transform the data to something the tree can read. */
|
|
35
|
+
transformer(node: NavigationNode, level: number): FlatTreeNode;
|
|
36
|
+
/** Get the level of the node */
|
|
37
|
+
getLevel(node: FlatTreeNode): number;
|
|
38
|
+
/** Get whether the node is expanded or not. */
|
|
39
|
+
isExpandable(node: FlatTreeNode): boolean;
|
|
40
|
+
/** Get whether the node has children or not. */
|
|
41
|
+
hasChild(index: number, node: FlatTreeNode): boolean;
|
|
42
|
+
/** Get the children for the node. */
|
|
43
|
+
getChildren(node: NavigationNode): NavigationNode[] | null | undefined;
|
|
44
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NavTreeComponent, never>;
|
|
45
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NavTreeComponent, "mantle-nav-tree", never, { "reminderCount": "reminderCount"; "navTreeFeatures": "navTreeFeatures"; }, {}, never, never>;
|
|
46
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Injector, OnInit } from '@angular/core';
|
|
2
|
+
import { ActivatedRoute } from '@angular/router';
|
|
3
|
+
import { RerouteService } from '../../../services/interfaces/reroute.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class RerouteComponent implements OnInit {
|
|
6
|
+
private route;
|
|
7
|
+
private injector;
|
|
8
|
+
rerouteService: RerouteService;
|
|
9
|
+
constructor(route: ActivatedRoute, injector: Injector);
|
|
10
|
+
ngOnInit(): void;
|
|
11
|
+
reroute(): void;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RerouteComponent, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RerouteComponent, "mantle-reroute", never, {}, {}, never, never>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { OnInit, Injector } from '@angular/core';
|
|
2
|
+
import { ActivatedRoute } from '@angular/router';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import { DashboardPageService } from '../../../services/interfaces/dashboard-page.service';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class DashboardPageComponent implements OnInit {
|
|
7
|
+
private route;
|
|
8
|
+
private injector;
|
|
9
|
+
dashboardPageService: DashboardPageService;
|
|
10
|
+
pageTitle: string;
|
|
11
|
+
content$: Observable<any>;
|
|
12
|
+
constructor(route: ActivatedRoute, injector: Injector);
|
|
13
|
+
ngOnInit(): void;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DashboardPageComponent, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DashboardPageComponent, "mantle-dashboard-page", never, {}, {}, never, never>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Injector, OnInit } from '@angular/core';
|
|
2
|
+
import { ActivatedRoute } from '@angular/router';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import { DynamicLayoutSection } from '../../../data-structures/dynamic-layout.structure';
|
|
5
|
+
import { AnnouncementService } from '../../../services/announcement.service';
|
|
6
|
+
import { DetailPageButton, DetailPageExportOption, DetailPageService } from '../../../services/interfaces/detail-page.service';
|
|
7
|
+
import { WebApiDeleteResponse } from '../../../services/adapters/web-api-crud.adapter';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class DetailPageComponent implements OnInit {
|
|
10
|
+
private route;
|
|
11
|
+
private injector;
|
|
12
|
+
private announcementService;
|
|
13
|
+
detailPageService: DetailPageService;
|
|
14
|
+
id: string;
|
|
15
|
+
header: any;
|
|
16
|
+
content$: Observable<any>;
|
|
17
|
+
exportOptions: DetailPageExportOption[];
|
|
18
|
+
bottomLeftButtons: DetailPageButton[];
|
|
19
|
+
bottomRightButtons: DetailPageButton[];
|
|
20
|
+
isTabbedContent: boolean;
|
|
21
|
+
isDeleteInProgress: boolean;
|
|
22
|
+
constructor(route: ActivatedRoute, injector: Injector, announcementService: AnnouncementService);
|
|
23
|
+
ngOnInit(): void;
|
|
24
|
+
loadData(): void;
|
|
25
|
+
loadSectionActions(section: DynamicLayoutSection): void;
|
|
26
|
+
loadAdditionalButtons(record: any): void;
|
|
27
|
+
onEditClicked(): void;
|
|
28
|
+
onBackClicked(): void;
|
|
29
|
+
onDeleteClicked(): void;
|
|
30
|
+
onDeleteSuccess(res: WebApiDeleteResponse): void;
|
|
31
|
+
onDeleteFailure(res: WebApiDeleteResponse): void;
|
|
32
|
+
back(): void;
|
|
33
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DetailPageComponent, never>;
|
|
34
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DetailPageComponent, "mantle-detail-page", never, {}, {}, never, never>;
|
|
35
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { AfterViewInit, Injector } from '@angular/core';
|
|
2
|
+
import { ActivatedRoute } from '@angular/router';
|
|
3
|
+
import { MatPaginator } from '@angular/material/paginator';
|
|
4
|
+
import { MatSort } from '@angular/material/sort';
|
|
5
|
+
import { MatTable } from '@angular/material/table';
|
|
6
|
+
import { SearchPanelComponent } from '../../../components/widgets/search-panel/search-panel.component';
|
|
7
|
+
import { ListPageService, ListPageColumn, ListPageExportOption } from '../../../services/interfaces/list-page.service';
|
|
8
|
+
import { ListPageDataSource } from '../../../components/pages/list-page/list-page-datasource';
|
|
9
|
+
import { AnnouncementService } from '../../../services/announcement.service';
|
|
10
|
+
import { WebApiService } from '../../../services/web-api.service';
|
|
11
|
+
import { ScreenSizeService } from '../../../services/screen-size.service';
|
|
12
|
+
import * as i0 from "@angular/core";
|
|
13
|
+
export declare class DocumentsPageComponent implements AfterViewInit {
|
|
14
|
+
private route;
|
|
15
|
+
private injector;
|
|
16
|
+
private announcementService;
|
|
17
|
+
private webApiService;
|
|
18
|
+
private screenSizeService;
|
|
19
|
+
paginator: MatPaginator;
|
|
20
|
+
sort: MatSort;
|
|
21
|
+
table: MatTable<any>;
|
|
22
|
+
searchPanel: SearchPanelComponent;
|
|
23
|
+
listPageService: ListPageService;
|
|
24
|
+
dataSource: ListPageDataSource;
|
|
25
|
+
displayedColumns: ListPageColumn[];
|
|
26
|
+
displayedColumnAttrs: string[];
|
|
27
|
+
exportOptions: ListPageExportOption[];
|
|
28
|
+
withClickableRows: boolean;
|
|
29
|
+
isTabbedContent: boolean;
|
|
30
|
+
pageTitle: string;
|
|
31
|
+
uploadInProgress: boolean;
|
|
32
|
+
isActionPanelOpen: boolean;
|
|
33
|
+
isSmallScreen: boolean;
|
|
34
|
+
constructor(route: ActivatedRoute, injector: Injector, announcementService: AnnouncementService, webApiService: WebApiService, screenSizeService: ScreenSizeService);
|
|
35
|
+
ngAfterViewInit(): void;
|
|
36
|
+
onRecordClicked(record: any): void;
|
|
37
|
+
onAddClicked(): void;
|
|
38
|
+
onFileDropped(file: File): void;
|
|
39
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DocumentsPageComponent, never>;
|
|
40
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DocumentsPageComponent, "mantle-documents-page", never, {}, {}, never, never>;
|
|
41
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { AfterViewChecked, ChangeDetectorRef, Injector, OnInit } from '@angular/core';
|
|
2
|
+
import { ActivatedRoute } from '@angular/router';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import { AnnouncementService } from '../../../services/announcement.service';
|
|
5
|
+
import { DynamicFormComponent } from '../../../components/form/dynamic-form/dynamic-form.component';
|
|
6
|
+
import { ObjectService } from '../../../services/object.service';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class ExportPageComponent implements OnInit, AfterViewChecked {
|
|
9
|
+
private route;
|
|
10
|
+
private injector;
|
|
11
|
+
private changeDetectorRef;
|
|
12
|
+
private announcementService;
|
|
13
|
+
private objectService;
|
|
14
|
+
dynamicForm: DynamicFormComponent;
|
|
15
|
+
private exportPageService;
|
|
16
|
+
content$: Observable<any>;
|
|
17
|
+
isTabbedContent: boolean;
|
|
18
|
+
isExportInProgress: boolean;
|
|
19
|
+
constructor(route: ActivatedRoute, injector: Injector, changeDetectorRef: ChangeDetectorRef, announcementService: AnnouncementService, objectService: ObjectService);
|
|
20
|
+
ngOnInit(): void;
|
|
21
|
+
ngAfterViewChecked(): void;
|
|
22
|
+
onExportClicked(): void;
|
|
23
|
+
onExportSuccess(res: any): void;
|
|
24
|
+
onExportFailure(res: {
|
|
25
|
+
error: any;
|
|
26
|
+
}): void;
|
|
27
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ExportPageComponent, never>;
|
|
28
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ExportPageComponent, "mantle-export-page", never, {}, {}, never, never>;
|
|
29
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { AfterViewChecked, ChangeDetectorRef, Injector, OnInit } from '@angular/core';
|
|
2
|
+
import { ActivatedRoute } from '@angular/router';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import { AnnouncementService } from '../../../services/announcement.service';
|
|
5
|
+
import { ConfirmationService } from '../../../services/confirmation.service';
|
|
6
|
+
import { DynamicFormComponent } from '../../../components/form/dynamic-form/dynamic-form.component';
|
|
7
|
+
import { FormPageButton, FormPageService } from '../../../services/interfaces/form-page.service';
|
|
8
|
+
import { WebApiSaveResponse } from '../../../services/adapters/web-api-crud.adapter';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
export declare class FormPageComponent implements OnInit, AfterViewChecked {
|
|
11
|
+
private route;
|
|
12
|
+
private injector;
|
|
13
|
+
private changeDetectorRef;
|
|
14
|
+
private announcementService;
|
|
15
|
+
private confirmationService;
|
|
16
|
+
dynamicForm: DynamicFormComponent;
|
|
17
|
+
formPageService: FormPageService;
|
|
18
|
+
private id;
|
|
19
|
+
private cloneId;
|
|
20
|
+
header: any;
|
|
21
|
+
content$: Observable<any>;
|
|
22
|
+
bottomLeftButtons: FormPageButton[];
|
|
23
|
+
bottomRightButtons: FormPageButton[];
|
|
24
|
+
isTabbedContent: boolean;
|
|
25
|
+
isSaveInProgress: boolean;
|
|
26
|
+
constructor(route: ActivatedRoute, injector: Injector, changeDetectorRef: ChangeDetectorRef, announcementService: AnnouncementService, confirmationService: ConfirmationService);
|
|
27
|
+
ngOnInit(): void;
|
|
28
|
+
ngAfterViewChecked(): void;
|
|
29
|
+
loadAdditionalButtons(record: any): void;
|
|
30
|
+
onCancelClicked(): void;
|
|
31
|
+
onSaveClicked(): void;
|
|
32
|
+
onSaveSuccess(res: WebApiSaveResponse): void;
|
|
33
|
+
onSaveFailure(res: WebApiSaveResponse): void;
|
|
34
|
+
back(): void;
|
|
35
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormPageComponent, never>;
|
|
36
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormPageComponent, "mantle-form-page", never, {}, {}, never, never>;
|
|
37
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { OnInit, Injector } from '@angular/core';
|
|
2
|
+
import { ActivatedRoute } from '@angular/router';
|
|
3
|
+
import { AnnouncementService } from '../../../services/announcement.service';
|
|
4
|
+
import { LayoutEditorPageService } from '../../../services/interfaces/layout-editor-page.service';
|
|
5
|
+
import { WebApiSaveResponse } from '../../../services/adapters/web-api-crud.adapter';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class LayoutEditorPageComponent implements OnInit {
|
|
8
|
+
private route;
|
|
9
|
+
private injector;
|
|
10
|
+
private announcementService;
|
|
11
|
+
layoutEditorPageService: LayoutEditorPageService;
|
|
12
|
+
id: string;
|
|
13
|
+
header: any;
|
|
14
|
+
content: any;
|
|
15
|
+
isTabbedContent: boolean;
|
|
16
|
+
isSaveInProgress: boolean;
|
|
17
|
+
constructor(route: ActivatedRoute, injector: Injector, announcementService: AnnouncementService);
|
|
18
|
+
ngOnInit(): void;
|
|
19
|
+
loadData(): void;
|
|
20
|
+
onSaveClicked(): void;
|
|
21
|
+
onSaveSuccess(res: WebApiSaveResponse): void;
|
|
22
|
+
onSaveFailure(res: WebApiSaveResponse): void;
|
|
23
|
+
back(): void;
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LayoutEditorPageComponent, never>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LayoutEditorPageComponent, "mantle-layout-editor-page", never, {}, {}, never, never>;
|
|
26
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { DataSource } from '@angular/cdk/collections';
|
|
2
|
+
import { MatPaginator } from '@angular/material/paginator';
|
|
3
|
+
import { MatSort } from '@angular/material/sort';
|
|
4
|
+
import { Observable } from 'rxjs';
|
|
5
|
+
import { SearchPanelComponent } from '../../../components/widgets/search-panel/search-panel.component';
|
|
6
|
+
import { ListPageService } from '../../../services/interfaces/list-page.service';
|
|
7
|
+
/**
|
|
8
|
+
* Data source for the List Page view. This class should
|
|
9
|
+
* encapsulate all logic for fetching and manipulating the displayed data
|
|
10
|
+
* (including sorting, pagination, and searching).
|
|
11
|
+
*/
|
|
12
|
+
export declare class ListPageDataSource extends DataSource<any> {
|
|
13
|
+
dataService: ListPageService;
|
|
14
|
+
paginator: MatPaginator | undefined;
|
|
15
|
+
sort: MatSort | undefined;
|
|
16
|
+
searchPanel: SearchPanelComponent | undefined;
|
|
17
|
+
data: any[];
|
|
18
|
+
selectedRecordIds: any[];
|
|
19
|
+
selectAll: boolean;
|
|
20
|
+
constructor(dataService: ListPageService);
|
|
21
|
+
/**
|
|
22
|
+
* Connect this data source to the table. The table will only update when
|
|
23
|
+
* the returned stream emits new items.
|
|
24
|
+
* @returns A stream of the items to be rendered.
|
|
25
|
+
*/
|
|
26
|
+
connect(): Observable<any[]>;
|
|
27
|
+
/**
|
|
28
|
+
* Called when the table is being destroyed. Use this function, to clean up
|
|
29
|
+
* any open connections or free any held resources that were set up during connect.
|
|
30
|
+
*/
|
|
31
|
+
disconnect(): void;
|
|
32
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { AfterViewInit, ChangeDetectorRef, Injector } from '@angular/core';
|
|
2
|
+
import { ActivatedRoute } from '@angular/router';
|
|
3
|
+
import { MatPaginator } from '@angular/material/paginator';
|
|
4
|
+
import { MatSort } from '@angular/material/sort';
|
|
5
|
+
import { MatTable } from '@angular/material/table';
|
|
6
|
+
import { ListPageService, ListPageColumn, ListPageExportOption, ListPageBulkExportOption } from '../../../services/interfaces/list-page.service';
|
|
7
|
+
import { ListPageDataSource } from './list-page-datasource';
|
|
8
|
+
import { SearchPanelComponent } from '../../../components/widgets/search-panel/search-panel.component';
|
|
9
|
+
import { ArrayService } from '../../../services/array.service';
|
|
10
|
+
import { ScreenSizeService } from '../../../services/screen-size.service';
|
|
11
|
+
import * as i0 from "@angular/core";
|
|
12
|
+
export declare class ListPageComponent implements AfterViewInit {
|
|
13
|
+
private route;
|
|
14
|
+
private injector;
|
|
15
|
+
private changeDetectorRef;
|
|
16
|
+
private arrayService;
|
|
17
|
+
private screenSizeService;
|
|
18
|
+
paginator: MatPaginator;
|
|
19
|
+
sort: MatSort;
|
|
20
|
+
table: MatTable<any>;
|
|
21
|
+
searchPanel: SearchPanelComponent;
|
|
22
|
+
listPageService: ListPageService;
|
|
23
|
+
dataSource: ListPageDataSource;
|
|
24
|
+
displayedColumns: ListPageColumn[];
|
|
25
|
+
displayedColumnAttrs: string[];
|
|
26
|
+
exportOptions: ListPageExportOption[];
|
|
27
|
+
bulkExportOptions: ListPageBulkExportOption[];
|
|
28
|
+
withClickableRows: boolean;
|
|
29
|
+
isTabbedContent: boolean;
|
|
30
|
+
pageTitle: string;
|
|
31
|
+
withCollapsibleColumns: boolean;
|
|
32
|
+
expandCollapsibleColumns: boolean;
|
|
33
|
+
isActionPanelOpen: boolean;
|
|
34
|
+
isSmallScreen: boolean;
|
|
35
|
+
constructor(route: ActivatedRoute, injector: Injector, changeDetectorRef: ChangeDetectorRef, arrayService: ArrayService, screenSizeService: ScreenSizeService);
|
|
36
|
+
ngAfterViewInit(): void;
|
|
37
|
+
onRecordClicked(record: any): void;
|
|
38
|
+
onAddClicked(): void;
|
|
39
|
+
isRecordChecked(record: any): boolean;
|
|
40
|
+
onRecordChecked(record: any, checked: boolean): void;
|
|
41
|
+
onCheckAll(checked: boolean): void;
|
|
42
|
+
onBulkExportClicked(exportOption: ListPageBulkExportOption): void;
|
|
43
|
+
toggleCollapsibleColumns(): void;
|
|
44
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ListPageComponent, never>;
|
|
45
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ListPageComponent, "mantle-list-page", never, {}, {}, never, never>;
|
|
46
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { OnInit, Injector } from '@angular/core';
|
|
2
|
+
import { ActivatedRoute, Router } from '@angular/router';
|
|
3
|
+
import { NavTabsService, TabbedPageTab } from '../../../services/interfaces/nav-tabs.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class TabbedPageComponent implements OnInit {
|
|
6
|
+
private route;
|
|
7
|
+
private router;
|
|
8
|
+
private injector;
|
|
9
|
+
navTabsService: NavTabsService;
|
|
10
|
+
links: TabbedPageTab[];
|
|
11
|
+
activeLink: string;
|
|
12
|
+
constructor(route: ActivatedRoute, router: Router, injector: Injector);
|
|
13
|
+
ngOnInit(): void;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TabbedPageComponent, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TabbedPageComponent, "mantle-tabbed-page", never, {}, {}, never, never>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class ContentTitleComponent {
|
|
3
|
+
thumbnail: string;
|
|
4
|
+
title: string;
|
|
5
|
+
constructor();
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ContentTitleComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ContentTitleComponent, "mantle-content-title", never, { "thumbnail": "thumbnail"; "title": "title"; }, {}, never, never>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ScreenSizeService } from '../../../services/screen-size.service';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class PageTitleComponent {
|
|
4
|
+
private screenSizeService;
|
|
5
|
+
today: string;
|
|
6
|
+
isSmallScreen: boolean;
|
|
7
|
+
constructor(screenSizeService: ScreenSizeService);
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PageTitleComponent, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PageTitleComponent, "mantle-page-title", never, {}, {}, never, ["*"]>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class SectionTitleComponent {
|
|
3
|
+
title: string;
|
|
4
|
+
constructor();
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SectionTitleComponent, never>;
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SectionTitleComponent, "mantle-section-title", never, { "title": "title"; }, {}, never, never>;
|
|
7
|
+
}
|
package/lib/components/widgets/delete-confirmation-dialog/delete-confirmation-dialog.component.d.ts
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { MatDialogRef } from "@angular/material/dialog";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export interface DeleteConfirmationDialogButton {
|
|
4
|
+
label: string;
|
|
5
|
+
onClick: (id: string) => void;
|
|
6
|
+
}
|
|
7
|
+
export declare class DeleteConfirmationDialogComponent {
|
|
8
|
+
private dialogRef;
|
|
9
|
+
private params;
|
|
10
|
+
message?: string;
|
|
11
|
+
buttons: DeleteConfirmationDialogButton[];
|
|
12
|
+
constructor(dialogRef: MatDialogRef<DeleteConfirmationDialogComponent>, params: {
|
|
13
|
+
message: string;
|
|
14
|
+
buttons: DeleteConfirmationDialogButton[];
|
|
15
|
+
});
|
|
16
|
+
onDeleteClicked(deletionAction: (id: string) => void): void;
|
|
17
|
+
onCancel(): void;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DeleteConfirmationDialogComponent, never>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DeleteConfirmationDialogComponent, "mantle-delete-confirmation-dialog", never, {}, {}, never, never>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { DataSource } from '@angular/cdk/collections';
|
|
2
|
+
import { MatPaginator } from '@angular/material/paginator';
|
|
3
|
+
import { MatSort } from '@angular/material/sort';
|
|
4
|
+
import { BehaviorSubject, Observable } from 'rxjs';
|
|
5
|
+
import { ArrayService } from '../../../services/array.service';
|
|
6
|
+
import { DynamicTableColumn } from '../../../components/widgets/dynamic-table/dynamic-table.component';
|
|
7
|
+
/**
|
|
8
|
+
* Data source for the List Page view. This class should
|
|
9
|
+
* encapsulate all logic for fetching and manipulating the displayed data
|
|
10
|
+
* (including sorting, pagination, and searching).
|
|
11
|
+
*/
|
|
12
|
+
export declare class DynamicTableDataSource extends DataSource<any> {
|
|
13
|
+
private arrayService;
|
|
14
|
+
paginator: MatPaginator | undefined;
|
|
15
|
+
sort: MatSort | undefined;
|
|
16
|
+
columns: DynamicTableColumn[];
|
|
17
|
+
listSubject: BehaviorSubject<any[]>;
|
|
18
|
+
constructor(arrayService: ArrayService);
|
|
19
|
+
/**
|
|
20
|
+
* Connect this data source to the table. The table will only update when
|
|
21
|
+
* the returned stream emits new items.
|
|
22
|
+
* @returns A stream of the items to be rendered.
|
|
23
|
+
*/
|
|
24
|
+
connect(): Observable<any[]>;
|
|
25
|
+
/**
|
|
26
|
+
* Called when the table is being destroyed. Use this function, to clean up
|
|
27
|
+
* any open connections or free any held resources that were set up during connect.
|
|
28
|
+
*/
|
|
29
|
+
disconnect(): void;
|
|
30
|
+
/**
|
|
31
|
+
* Paginate the data (client-side). If you're using server-side pagination,
|
|
32
|
+
* this would be replaced by requesting the appropriate data from the server.
|
|
33
|
+
*/
|
|
34
|
+
private getPagedData;
|
|
35
|
+
/**
|
|
36
|
+
* Sort the data (client-side). If you're using server-side sorting,
|
|
37
|
+
* this would be replaced by requesting the appropriate data from the server.
|
|
38
|
+
*/
|
|
39
|
+
private getSortedData;
|
|
40
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { AfterViewInit, OnChanges, EventEmitter } from '@angular/core';
|
|
2
|
+
import { MatPaginator } from '@angular/material/paginator';
|
|
3
|
+
import { MatSort } from '@angular/material/sort';
|
|
4
|
+
import { MatTable } from '@angular/material/table';
|
|
5
|
+
import { ArrayService } from '../../../services/array.service';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export interface DynamicTableColumn {
|
|
8
|
+
header: string;
|
|
9
|
+
attr: string;
|
|
10
|
+
type: string;
|
|
11
|
+
options: any;
|
|
12
|
+
}
|
|
13
|
+
export declare class DynamicTableComponent implements AfterViewInit, OnChanges {
|
|
14
|
+
private arrayService;
|
|
15
|
+
paginator: MatPaginator;
|
|
16
|
+
sort: MatSort;
|
|
17
|
+
table: MatTable<any>;
|
|
18
|
+
columns: DynamicTableColumn[];
|
|
19
|
+
items: any[];
|
|
20
|
+
withClickableRows: boolean;
|
|
21
|
+
rowClicked: EventEmitter<any>;
|
|
22
|
+
private dataSource;
|
|
23
|
+
constructor(arrayService: ArrayService);
|
|
24
|
+
ngAfterViewInit(): void;
|
|
25
|
+
ngOnChanges(): void;
|
|
26
|
+
listColumnAttrs(): string[];
|
|
27
|
+
onRowClicked(row: any): void;
|
|
28
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DynamicTableComponent, never>;
|
|
29
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DynamicTableComponent, "mantle-dynamic-table", never, { "columns": "columns"; "items": "items"; "withClickableRows": "withClickableRows"; }, { "rowClicked": "rowClicked"; }, never, never>;
|
|
30
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { MatDialogRef } from "@angular/material/dialog";
|
|
2
|
+
import { FileAttachment } from '../../../data-structures/file-attachment.structure';
|
|
3
|
+
import { WebApiService } from '../../../services/web-api.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class FilePreviewDialogComponent {
|
|
6
|
+
private dialogRef;
|
|
7
|
+
private params;
|
|
8
|
+
private webApiService;
|
|
9
|
+
private filename;
|
|
10
|
+
private downloadUrl;
|
|
11
|
+
previewUrl: string;
|
|
12
|
+
constructor(dialogRef: MatDialogRef<FilePreviewDialogComponent>, params: FileAttachment, webApiService: WebApiService);
|
|
13
|
+
onDownload(): void;
|
|
14
|
+
onCancel(): void;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FilePreviewDialogComponent, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FilePreviewDialogComponent, "mantle-file-preview-dialog", never, {}, {}, never, never>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class LoaderComponent {
|
|
3
|
+
delay: number;
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LoaderComponent, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LoaderComponent, "mantle-loader", never, { "delay": "delay"; }, {}, never, never>;
|
|
6
|
+
}
|
package/lib/components/widgets/save-confirmation-dialog/save-confirmation-dialog.component.d.ts
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { MatDialogRef } from "@angular/material/dialog";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class SaveConfirmationDialogComponent {
|
|
4
|
+
private dialogRef;
|
|
5
|
+
private params;
|
|
6
|
+
noun: string;
|
|
7
|
+
message?: string;
|
|
8
|
+
constructor(dialogRef: MatDialogRef<SaveConfirmationDialogComponent>, params: {
|
|
9
|
+
noun: string;
|
|
10
|
+
message?: string;
|
|
11
|
+
});
|
|
12
|
+
onSaveClicked(): void;
|
|
13
|
+
onCancel(): void;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SaveConfirmationDialogComponent, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SaveConfirmationDialogComponent, "mantle-save-confirmation-dialog", never, {}, {}, never, never>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { DynamicFormContent } from '../../../data-structures/dynamic-layout.structure';
|
|
3
|
+
import { DynamicFormComponent } from '../../../components/form/dynamic-form/dynamic-form.component';
|
|
4
|
+
import { DynamicFormField, DynamicFormService } from '../../../services/dynamic-form.service';
|
|
5
|
+
import { ObjectService } from '../../../services/object.service';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class SearchPanelComponent implements OnInit {
|
|
8
|
+
private dynamicFormService;
|
|
9
|
+
private objectService;
|
|
10
|
+
searchForm: DynamicFormComponent;
|
|
11
|
+
searchFields: DynamicFormField[];
|
|
12
|
+
search: EventEmitter<any>;
|
|
13
|
+
content: DynamicFormContent;
|
|
14
|
+
constructor(dynamicFormService: DynamicFormService, objectService: ObjectService);
|
|
15
|
+
ngOnInit(): void;
|
|
16
|
+
get searchParams(): any;
|
|
17
|
+
onResetClicked(): void;
|
|
18
|
+
onSearchClicked(): void;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SearchPanelComponent, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SearchPanelComponent, "mantle-search-panel", never, { "searchFields": "searchFields"; }, { "search": "search"; }, never, never>;
|
|
21
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { MatSnackBarRef } from '@angular/material/snack-bar';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class SnackbarComponent {
|
|
4
|
+
data: any;
|
|
5
|
+
private snackbarRef;
|
|
6
|
+
icon: string;
|
|
7
|
+
constructor(data: any, snackbarRef: MatSnackBarRef<SnackbarComponent>);
|
|
8
|
+
close(): void;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SnackbarComponent, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SnackbarComponent, "mantle-snackbar", never, {}, {}, never, never>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
export declare const COLUMN_CHART: {
|
|
2
|
+
chart: {
|
|
3
|
+
type: string;
|
|
4
|
+
};
|
|
5
|
+
yAxis: {
|
|
6
|
+
alignTicks: boolean;
|
|
7
|
+
min: number;
|
|
8
|
+
title: {
|
|
9
|
+
text: string;
|
|
10
|
+
};
|
|
11
|
+
stackLabels: {
|
|
12
|
+
enabled: boolean;
|
|
13
|
+
style: {
|
|
14
|
+
color: string;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
legend: {
|
|
19
|
+
enabled: boolean;
|
|
20
|
+
};
|
|
21
|
+
tooltip: {
|
|
22
|
+
useHTML: boolean;
|
|
23
|
+
borderColor: string;
|
|
24
|
+
headerFormat: string;
|
|
25
|
+
pointFormat: string;
|
|
26
|
+
footerFormat: string;
|
|
27
|
+
};
|
|
28
|
+
plotOptions: {
|
|
29
|
+
column: {
|
|
30
|
+
stacking: string;
|
|
31
|
+
borderRadius: number;
|
|
32
|
+
dataLabels: {
|
|
33
|
+
enabled: boolean;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export declare const PIE_CHART: {
|
|
2
|
+
chart: {
|
|
3
|
+
type: string;
|
|
4
|
+
};
|
|
5
|
+
tooltip: {
|
|
6
|
+
useHTML: boolean;
|
|
7
|
+
distance: number;
|
|
8
|
+
headerFormat: string;
|
|
9
|
+
pointFormat: string;
|
|
10
|
+
};
|
|
11
|
+
plotOptions: {
|
|
12
|
+
pie: {
|
|
13
|
+
shadow: boolean;
|
|
14
|
+
cursor: string;
|
|
15
|
+
dataLabels: {
|
|
16
|
+
enabled: boolean;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
};
|