@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,11 @@
|
|
|
1
|
+
import { DynamicDashboardContent, DynamicLayoutContainer } from '../../../../data-structures/dynamic-layout.structure';
|
|
2
|
+
import { DashboardPageService } from '../../../../services/interfaces/dashboard-page.service';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class DynamicDashboardContainerComponent {
|
|
5
|
+
dashboardPageService: DashboardPageService;
|
|
6
|
+
content: DynamicDashboardContent;
|
|
7
|
+
container: DynamicLayoutContainer;
|
|
8
|
+
constructor();
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DynamicDashboardContainerComponent, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DynamicDashboardContainerComponent, "mantle-dynamic-dashboard-container", never, { "dashboardPageService": "dashboardPageService"; "content": "content"; "container": "container"; }, {}, never, never>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { DynamicDashboardContent, DynamicLayoutContainer, DynamicLayoutGridSection, DynamicLayoutTableSection, DynamicLayoutDashboardSection } from '../../../../data-structures/dynamic-layout.structure';
|
|
2
|
+
import { DashboardPageService } from '../../../../services/interfaces/dashboard-page.service';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class PlainDashboardContainerComponent {
|
|
5
|
+
dashboardPageService: DashboardPageService;
|
|
6
|
+
content: DynamicDashboardContent;
|
|
7
|
+
container: DynamicLayoutContainer;
|
|
8
|
+
constructor();
|
|
9
|
+
asDynamicLayoutGridSection(section: any): DynamicLayoutGridSection;
|
|
10
|
+
asDynamicLayoutTableSection(section: any): DynamicLayoutTableSection;
|
|
11
|
+
asDynamicLayoutDashboardSection(section: any): DynamicLayoutDashboardSection;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PlainDashboardContainerComponent, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PlainDashboardContainerComponent, "mantle-plain-dashboard-container", never, { "dashboardPageService": "dashboardPageService"; "content": "content"; "container": "container"; }, {}, never, never>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { MatMenuTrigger } from '@angular/material/menu';
|
|
3
|
+
import { DynamicDashboardWidget, DashboardCardSearchMenuContent } from '../../../data-structures/dynamic-layout.structure';
|
|
4
|
+
import { DashboardCardSearchMenuComponent } from '../../../components/dashboard/dashboard-card-search-menu/dashboard-card-search-menu.component';
|
|
5
|
+
import { ScreenSizeService } from '../../../services/screen-size.service';
|
|
6
|
+
import { DashboardPageService } from '../../../services/interfaces/dashboard-page.service';
|
|
7
|
+
import { DashboardWidgetService, WidgetExportOption, DashboardWidgetButton, DashboardWidgetItemConfig } from '../../../services/interfaces/dashboard-widget.service';
|
|
8
|
+
import { ObjectService } from '../../../services/object.service';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
export declare class DashboardCardComponent implements OnInit {
|
|
11
|
+
private objectService;
|
|
12
|
+
private screenSizeService;
|
|
13
|
+
searchForm: DashboardCardSearchMenuComponent;
|
|
14
|
+
menuTrigger: MatMenuTrigger;
|
|
15
|
+
widget: DynamicDashboardWidget;
|
|
16
|
+
widgetConfig: any;
|
|
17
|
+
widgetItems: any;
|
|
18
|
+
rowHeight: string;
|
|
19
|
+
dashboardWidgetService: DashboardWidgetService;
|
|
20
|
+
dashboardPageService: DashboardPageService;
|
|
21
|
+
widgetItemContexts: any[];
|
|
22
|
+
exportOptions: WidgetExportOption[];
|
|
23
|
+
additionalWidgetButtons: DashboardWidgetButton[];
|
|
24
|
+
formContent: DashboardCardSearchMenuContent;
|
|
25
|
+
options: any;
|
|
26
|
+
private screenSize;
|
|
27
|
+
readonly WIDGET_COLUMNS: number;
|
|
28
|
+
widgetRowHeight: string;
|
|
29
|
+
constructor(objectService: ObjectService, screenSizeService: ScreenSizeService);
|
|
30
|
+
ngOnInit(): void;
|
|
31
|
+
initializeWidget(): void;
|
|
32
|
+
getWidgetItemData(): void;
|
|
33
|
+
refreshFormContent(): void;
|
|
34
|
+
onSearchClicked(): void;
|
|
35
|
+
onAdditionalWidgetButtonClicked(buttonCallback: Function): void;
|
|
36
|
+
watchScreenSize(widgetDimensions: any): void;
|
|
37
|
+
getWidgetItemColspan(config: DashboardWidgetItemConfig): number;
|
|
38
|
+
getWidgetItemRowspan(config: DashboardWidgetItemConfig): number;
|
|
39
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DashboardCardComponent, never>;
|
|
40
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DashboardCardComponent, "mantle-dashboard-card", never, { "widget": "widget"; "widgetConfig": "widgetConfig"; "widgetItems": "widgetItems"; "rowHeight": "rowHeight"; "dashboardWidgetService": "dashboardWidgetService"; "dashboardPageService": "dashboardPageService"; }, {}, never, never>;
|
|
41
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { OnChanges, AfterViewChecked, ChangeDetectorRef } from '@angular/core';
|
|
2
|
+
import { FormGroup } from '@angular/forms';
|
|
3
|
+
import { DashboardCardSearchMenuContent, DynamicLayoutGridSection } from '../../../data-structures/dynamic-layout.structure';
|
|
4
|
+
import { DynamicFormService } from '../../../services/dynamic-form.service';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class DashboardCardSearchMenuComponent implements OnChanges, AfterViewChecked {
|
|
7
|
+
private changeDetectorRef;
|
|
8
|
+
private dynamicFormService;
|
|
9
|
+
content: DashboardCardSearchMenuContent;
|
|
10
|
+
section: DynamicLayoutGridSection;
|
|
11
|
+
form: FormGroup;
|
|
12
|
+
constructor(changeDetectorRef: ChangeDetectorRef, dynamicFormService: DynamicFormService);
|
|
13
|
+
ngOnChanges(): void;
|
|
14
|
+
ngAfterViewChecked(): void;
|
|
15
|
+
get valid(): boolean;
|
|
16
|
+
get value(): any;
|
|
17
|
+
reset(): void;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DashboardCardSearchMenuComponent, never>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DashboardCardSearchMenuComponent, "mantle-dashboard-card-search-menu", never, { "content": "content"; }, {}, never, never>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { DynamicDashboardContent } from '../../../data-structures/dynamic-layout.structure';
|
|
2
|
+
import { DashboardPageService } from '../../../services/interfaces/dashboard-page.service';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class DynamicDashboardComponent {
|
|
5
|
+
dashboardPageService: DashboardPageService;
|
|
6
|
+
content: DynamicDashboardContent;
|
|
7
|
+
constructor();
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DynamicDashboardComponent, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DynamicDashboardComponent, "mantle-dynamic-dashboard", never, { "dashboardPageService": "dashboardPageService"; "content": "content"; }, {}, never, never>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { DynamicLayoutDashboardSection } from '../../../../data-structures/dynamic-layout.structure';
|
|
3
|
+
import { DashboardPageService } from '../../../../services/interfaces/dashboard-page.service';
|
|
4
|
+
import { DashboardWidgetService } from '../../../../services/interfaces/dashboard-widget.service';
|
|
5
|
+
import { ScreenSizeService } from '../../../../services/screen-size.service';
|
|
6
|
+
import { ArrayService } from '../../../../services/array.service';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class DashboardSectionComponent implements OnInit {
|
|
9
|
+
private arrayService;
|
|
10
|
+
private screenSizeService;
|
|
11
|
+
dashboardPageService: DashboardPageService;
|
|
12
|
+
slug: string | undefined;
|
|
13
|
+
data: any;
|
|
14
|
+
section: DynamicLayoutDashboardSection;
|
|
15
|
+
dashboardWidgetServices: DashboardWidgetService[];
|
|
16
|
+
private screenSize;
|
|
17
|
+
readonly SECTION_COLUMNS: number;
|
|
18
|
+
rowHeight: string;
|
|
19
|
+
constructor(arrayService: ArrayService, screenSizeService: ScreenSizeService);
|
|
20
|
+
ngOnInit(): void;
|
|
21
|
+
watchScreenSize(sectionDimensions: any): void;
|
|
22
|
+
getColSpanForWidget(widgetSlug: string): number;
|
|
23
|
+
getRowSpanForWidget(widgetSlug: string): number;
|
|
24
|
+
getDashboardWidgetService(widgetSlug: string): any;
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DashboardSectionComponent, never>;
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DashboardSectionComponent, "mantle-dashboard-section", never, { "dashboardPageService": "dashboardPageService"; "slug": "slug"; "data": "data"; "section": "section"; }, {}, never, never>;
|
|
27
|
+
}
|
package/lib/components/dashboard/widgets/dashboard-info-card/dashboard-info-card.component.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class DashboardInfoCardComponent {
|
|
3
|
+
data: any;
|
|
4
|
+
options: any;
|
|
5
|
+
constructor();
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DashboardInfoCardComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DashboardInfoCardComponent, "mantle-dashboard-info-card", never, { "data": "data"; "options": "options"; }, {}, never, never>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { DataSource } from '@angular/cdk/collections';
|
|
2
|
+
import { BehaviorSubject, Observable } from 'rxjs';
|
|
3
|
+
/**
|
|
4
|
+
* Data source for the List Page view. This class should
|
|
5
|
+
* encapsulate all logic for fetching and manipulating the displayed data
|
|
6
|
+
* (including sorting, pagination, and searching).
|
|
7
|
+
*/
|
|
8
|
+
export declare class DashboardTableDataSource extends DataSource<any> {
|
|
9
|
+
listSubject: BehaviorSubject<any[]>;
|
|
10
|
+
constructor();
|
|
11
|
+
/**
|
|
12
|
+
* Connect this data source to the table. The table will only update when
|
|
13
|
+
* the returned stream emits new items.
|
|
14
|
+
* @returns A stream of the items to be rendered.
|
|
15
|
+
*/
|
|
16
|
+
connect(): Observable<any[]>;
|
|
17
|
+
/**
|
|
18
|
+
* Called when the table is being destroyed. Use this function, to clean up
|
|
19
|
+
* any open connections or free any held resources that were set up during connect.
|
|
20
|
+
*/
|
|
21
|
+
disconnect(): void;
|
|
22
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { AfterViewInit, OnChanges } from '@angular/core';
|
|
2
|
+
import { MatDialog } from '@angular/material/dialog';
|
|
3
|
+
import { MatTable } from '@angular/material/table';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export interface DashboardTableColumn {
|
|
6
|
+
header: string;
|
|
7
|
+
attr: string;
|
|
8
|
+
type: string;
|
|
9
|
+
options: any[];
|
|
10
|
+
}
|
|
11
|
+
export declare class DashboardTableComponent implements AfterViewInit, OnChanges {
|
|
12
|
+
private dialog;
|
|
13
|
+
table: MatTable<any>;
|
|
14
|
+
columns: DashboardTableColumn[];
|
|
15
|
+
items: any[];
|
|
16
|
+
hideHeaders: boolean;
|
|
17
|
+
withStripedRows: boolean;
|
|
18
|
+
withClickableRows: boolean;
|
|
19
|
+
onRecordClicked: any;
|
|
20
|
+
private dataSource;
|
|
21
|
+
constructor(dialog: MatDialog);
|
|
22
|
+
ngAfterViewInit(): void;
|
|
23
|
+
ngOnChanges(): void;
|
|
24
|
+
listColumnAttrs(): string[];
|
|
25
|
+
onRowClicked(row: any): void;
|
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DashboardTableComponent, never>;
|
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DashboardTableComponent, "mantle-dashboard-table", never, { "columns": "columns"; "items": "items"; "hideHeaders": "hideHeaders"; "withStripedRows": "withStripedRows"; "withClickableRows": "withClickableRows"; "onRecordClicked": "onRecordClicked"; }, {}, never, never>;
|
|
28
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { OnChanges } from '@angular/core';
|
|
2
|
+
import * as Highcharts from 'highcharts';
|
|
3
|
+
import { ObjectService } from '../../../../services/object.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class DynamicChartComponent implements OnChanges {
|
|
6
|
+
private objectService;
|
|
7
|
+
label: string;
|
|
8
|
+
data: any;
|
|
9
|
+
Highcharts: typeof Highcharts;
|
|
10
|
+
chartConstructor: string;
|
|
11
|
+
chartOptions: Highcharts.Options;
|
|
12
|
+
updateFlag: boolean;
|
|
13
|
+
oneToOneFlag: boolean;
|
|
14
|
+
defaultChartOptions: Highcharts.Options;
|
|
15
|
+
constructor(objectService: ObjectService);
|
|
16
|
+
ngOnChanges(): void;
|
|
17
|
+
chartCallback: Highcharts.ChartCallbackFunction;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DynamicChartComponent, never>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DynamicChartComponent, "mantle-dynamic-chart", never, { "label": "label"; "data": "data"; }, {}, never, never>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { DashboardWidgetItemConfig } from '../../../../services/interfaces/dashboard-widget.service';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class DynamicWidgetDisplayComponent {
|
|
4
|
+
widgetItem: DashboardWidgetItemConfig;
|
|
5
|
+
data: any;
|
|
6
|
+
options: any;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DynamicWidgetDisplayComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DynamicWidgetDisplayComponent, "mantle-dynamic-widget-display", never, { "widgetItem": "widgetItem"; "data": "data"; "options": "options"; }, {}, never, never>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { DynamicLayoutContainer, DynamicDetailsContent } from '../../../../data-structures/dynamic-layout.structure';
|
|
2
|
+
import { DetailPageService } from '../../../../services/interfaces/detail-page.service';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class AccordionDetailsContainerComponent {
|
|
5
|
+
detailPageService: DetailPageService;
|
|
6
|
+
content: DynamicDetailsContent;
|
|
7
|
+
container: DynamicLayoutContainer;
|
|
8
|
+
constructor();
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AccordionDetailsContainerComponent, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AccordionDetailsContainerComponent, "mantle-accordion-details-container", never, { "detailPageService": "detailPageService"; "content": "content"; "container": "container"; }, {}, never, never>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { DynamicLayoutContainer, DynamicDetailsContent } from '../../../../data-structures/dynamic-layout.structure';
|
|
2
|
+
import { DetailPageService } from '../../../../services/interfaces/detail-page.service';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class DynamicDetailsContainerComponent {
|
|
5
|
+
detailPageService: DetailPageService;
|
|
6
|
+
content: DynamicDetailsContent;
|
|
7
|
+
container: DynamicLayoutContainer;
|
|
8
|
+
constructor();
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DynamicDetailsContainerComponent, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DynamicDetailsContainerComponent, "mantle-dynamic-details-container", never, { "detailPageService": "detailPageService"; "content": "content"; "container": "container"; }, {}, never, never>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { DynamicLayoutContainer, DynamicDetailsContent } from '../../../../data-structures/dynamic-layout.structure';
|
|
2
|
+
import { DetailPageService } from '../../../../services/interfaces/detail-page.service';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class PlainDetailsContainerComponent {
|
|
5
|
+
detailPageService: DetailPageService;
|
|
6
|
+
content: DynamicDetailsContent;
|
|
7
|
+
container: DynamicLayoutContainer;
|
|
8
|
+
constructor();
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PlainDetailsContainerComponent, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PlainDetailsContainerComponent, "mantle-plain-details-container", never, { "detailPageService": "detailPageService"; "content": "content"; "container": "container"; }, {}, never, never>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { MatDialogRef } from "@angular/material/dialog";
|
|
3
|
+
import { Router } from '@angular/router';
|
|
4
|
+
import { Observable } from 'rxjs';
|
|
5
|
+
import { WebApiDeleteResponse } from '../../../services/adapters/web-api-crud.adapter';
|
|
6
|
+
import { AnnouncementService } from '../../../services/announcement.service';
|
|
7
|
+
import { DetailPageService } from '../../../services/interfaces/detail-page.service';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export interface DialogDetailParams {
|
|
10
|
+
detailPageService: DetailPageService;
|
|
11
|
+
id: string;
|
|
12
|
+
title: string;
|
|
13
|
+
}
|
|
14
|
+
export declare class DialogDetailsComponent implements OnInit {
|
|
15
|
+
private router;
|
|
16
|
+
private dialogRef;
|
|
17
|
+
private dialogDetailParams;
|
|
18
|
+
private announcementService;
|
|
19
|
+
detailPageService: DetailPageService;
|
|
20
|
+
id: string;
|
|
21
|
+
title: string;
|
|
22
|
+
content$: Observable<any>;
|
|
23
|
+
isDeleteInProgress: boolean;
|
|
24
|
+
private routerSubscription;
|
|
25
|
+
constructor(router: Router, dialogRef: MatDialogRef<DialogDetailsComponent>, dialogDetailParams: DialogDetailParams, announcementService: AnnouncementService);
|
|
26
|
+
ngOnInit(): void;
|
|
27
|
+
onCancelClicked(): void;
|
|
28
|
+
onEditClicked(): void;
|
|
29
|
+
onDeleteClicked(): void;
|
|
30
|
+
onDeleteSuccess(res: WebApiDeleteResponse): void;
|
|
31
|
+
onDeleteFailure(res: WebApiDeleteResponse): void;
|
|
32
|
+
close(result?: any): void;
|
|
33
|
+
ngOnDestroy(): void;
|
|
34
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DialogDetailsComponent, never>;
|
|
35
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DialogDetailsComponent, "mantle-dialog-details", never, {}, {}, never, never>;
|
|
36
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { MatDialogRef } from "@angular/material/dialog";
|
|
2
|
+
import { DynamicLayoutGridSection } from '../../../data-structures/dynamic-layout.structure';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export interface DialogNestedDetailsParams {
|
|
5
|
+
title: string;
|
|
6
|
+
section: DynamicLayoutGridSection;
|
|
7
|
+
data: any;
|
|
8
|
+
showEditButton: boolean;
|
|
9
|
+
}
|
|
10
|
+
export declare class DialogNestedDetailsComponent {
|
|
11
|
+
private dialogRef;
|
|
12
|
+
private dialogNestedDetailsParams;
|
|
13
|
+
title: string;
|
|
14
|
+
section: DynamicLayoutGridSection;
|
|
15
|
+
data: any;
|
|
16
|
+
showEditButton: boolean;
|
|
17
|
+
constructor(dialogRef: MatDialogRef<DialogNestedDetailsComponent>, dialogNestedDetailsParams: DialogNestedDetailsParams);
|
|
18
|
+
onEdit(): void;
|
|
19
|
+
onClose(): void;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DialogNestedDetailsComponent, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DialogNestedDetailsComponent, "mantle-dialog-nested-details", never, {}, {}, never, never>;
|
|
22
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { DynamicDetailsContent } from '../../../data-structures/dynamic-layout.structure';
|
|
2
|
+
import { DetailPageService } from '../../../services/interfaces/detail-page.service';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class DynamicDetailsComponent {
|
|
5
|
+
detailPageService: DetailPageService;
|
|
6
|
+
content: DynamicDetailsContent;
|
|
7
|
+
constructor();
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DynamicDetailsComponent, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DynamicDetailsComponent, "mantle-dynamic-details", never, { "detailPageService": "detailPageService"; "content": "content"; }, {}, never, never>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class ActionsAttributeDisplayComponent {
|
|
3
|
+
value: any;
|
|
4
|
+
actions: any[];
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ActionsAttributeDisplayComponent, never>;
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ActionsAttributeDisplayComponent, "mantle-actions-attribute-display", never, { "value": "value"; "actions": "actions"; }, {}, never, never>;
|
|
7
|
+
}
|
package/lib/components/details/fields/chip-attribute-display/chip-attribute-display.component.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class ChipAttributeDisplayComponent {
|
|
3
|
+
value: any;
|
|
4
|
+
options: any;
|
|
5
|
+
get chips(): any;
|
|
6
|
+
get valueSpecificClass(): string;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ChipAttributeDisplayComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ChipAttributeDisplayComponent, "mantle-chip-attribute-display", never, { "value": "value"; "options": "options"; }, {}, never, never>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ArrayService } from '../../../../services/array.service';
|
|
2
|
+
import type { DynamicFormField } from '../../../../services/dynamic-form.service';
|
|
3
|
+
import type { DynamicTableColumn } from '../../../../components/widgets/dynamic-table/dynamic-table.component';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class DynamicAttributeDisplayComponent {
|
|
6
|
+
private arrayService;
|
|
7
|
+
value: any;
|
|
8
|
+
field?: DynamicFormField | DynamicTableColumn;
|
|
9
|
+
fieldType: string;
|
|
10
|
+
options: any;
|
|
11
|
+
constructor(arrayService: ArrayService);
|
|
12
|
+
dropdownValueLabel(value: string): string;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DynamicAttributeDisplayComponent, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DynamicAttributeDisplayComponent, "mantle-dynamic-attribute-display", never, { "value": "value"; "field": "field"; "fieldType": "fieldType"; "options": "options"; }, {}, never, never>;
|
|
15
|
+
}
|
package/lib/components/details/fields/file-attribute-display/file-attribute-display.component.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { MatDialog } from "@angular/material/dialog";
|
|
2
|
+
import { FileAttachment } from '../../../../data-structures/file-attachment.structure';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class FileAttributeDisplayComponent {
|
|
5
|
+
private dialog;
|
|
6
|
+
value: FileAttachment | undefined;
|
|
7
|
+
constructor(dialog: MatDialog);
|
|
8
|
+
openPreviewDialog(): void;
|
|
9
|
+
isString(val: any): boolean;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FileAttributeDisplayComponent, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FileAttributeDisplayComponent, "mantle-file-attribute-display", never, { "value": "value"; }, {}, never, never>;
|
|
12
|
+
}
|
package/lib/components/details/fields/image-attribute-display/image-attribute-display.component.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { MatDialog } from "@angular/material/dialog";
|
|
2
|
+
import { FileAttachment } from '../../../../data-structures/file-attachment.structure';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ImageAttributeDisplayComponent {
|
|
5
|
+
private dialog;
|
|
6
|
+
value: FileAttachment | undefined;
|
|
7
|
+
constructor(dialog: MatDialog);
|
|
8
|
+
openPreviewDialog(): void;
|
|
9
|
+
isString(val: any): boolean;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ImageAttributeDisplayComponent, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ImageAttributeDisplayComponent, "mantle-image-attribute-display", never, { "value": "value"; }, {}, never, never>;
|
|
12
|
+
}
|
package/lib/components/details/fields/link-attribute-display/link-attribute-display.component.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Router } from '@angular/router';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class LinkAttributeDisplayComponent {
|
|
4
|
+
private router;
|
|
5
|
+
value: string;
|
|
6
|
+
constructor(router: Router);
|
|
7
|
+
openLink(): void;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LinkAttributeDisplayComponent, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LinkAttributeDisplayComponent, "mantle-link-attribute-display", never, { "value": "value"; }, {}, never, never>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class MarkdownAttributeDisplayComponent {
|
|
3
|
+
value: any;
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MarkdownAttributeDisplayComponent, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MarkdownAttributeDisplayComponent, "mantle-markdown-attribute-display", never, { "value": "value"; }, {}, never, never>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class ThumbnailDisplayComponent {
|
|
3
|
+
value: string;
|
|
4
|
+
size: string;
|
|
5
|
+
placeholder: string;
|
|
6
|
+
circular: boolean;
|
|
7
|
+
constructor();
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ThumbnailDisplayComponent, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ThumbnailDisplayComponent, "mantle-thumbnail-display", never, { "value": "value"; "size": "size"; "placeholder": "placeholder"; "circular": "circular"; }, {}, never, never>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { DynamicDetailsContent, DynamicLayoutDashboardSection, DynamicLayoutGridSection, DynamicLayoutMarkdownSection, DynamicLayoutSection, DynamicLayoutTableSection } from '../../../../data-structures/dynamic-layout.structure';
|
|
2
|
+
import { DashboardPageService } from '../../../../services/interfaces/dashboard-page.service';
|
|
3
|
+
import { DetailPageService } from '../../../../services/interfaces/detail-page.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class DynamicDetailsSectionComponent {
|
|
6
|
+
detailPageService: DetailPageService;
|
|
7
|
+
content: DynamicDetailsContent;
|
|
8
|
+
section: DynamicLayoutSection;
|
|
9
|
+
constructor();
|
|
10
|
+
asDynamicLayoutGridSection(section: any): DynamicLayoutGridSection;
|
|
11
|
+
asDynamicLayoutTableSection(section: any): DynamicLayoutTableSection;
|
|
12
|
+
asDynamicLayoutMarkdownSection(section: any): DynamicLayoutMarkdownSection;
|
|
13
|
+
asDynamicLayoutDashboardSection(section: any): DynamicLayoutDashboardSection;
|
|
14
|
+
asDashboardPageService(detailPageService: DetailPageService): DashboardPageService;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DynamicDetailsSectionComponent, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DynamicDetailsSectionComponent, "mantle-dynamic-details-section", never, { "detailPageService": "detailPageService"; "content": "content"; "section": "section"; }, {}, never, never>;
|
|
17
|
+
}
|
package/lib/components/details/sections/grid-details-section/grid-details-section.component.d.ts
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { DynamicLayoutGridSection } from '../../../../data-structures/dynamic-layout.structure';
|
|
2
|
+
import { DynamicFormField } from '../../../../services/dynamic-form.service';
|
|
3
|
+
import { ScreenSizeService } from '../../../../services/screen-size.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class GridDetailsSectionComponent {
|
|
6
|
+
private screenSizeService;
|
|
7
|
+
data: any;
|
|
8
|
+
section: DynamicLayoutGridSection;
|
|
9
|
+
defaultRowHeight: string;
|
|
10
|
+
numColumns: number;
|
|
11
|
+
private breakpointColumns;
|
|
12
|
+
constructor(screenSizeService: ScreenSizeService);
|
|
13
|
+
getColSpanForField(attribute: DynamicFormField): number;
|
|
14
|
+
getRowSpanForField(attribute: DynamicFormField): number;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GridDetailsSectionComponent, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GridDetailsSectionComponent, "mantle-grid-details-section", never, { "data": "data"; "section": "section"; "defaultRowHeight": "defaultRowHeight"; }, {}, never, never>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { DynamicLayoutMarkdownSection } from '../../../../data-structures/dynamic-layout.structure';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class MarkdownDetailsSectionComponent {
|
|
4
|
+
section: DynamicLayoutMarkdownSection;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MarkdownDetailsSectionComponent, never>;
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MarkdownDetailsSectionComponent, "mantle-markdown-details-section", never, { "section": "section"; }, {}, never, never>;
|
|
7
|
+
}
|
package/lib/components/details/sections/table-details-section/table-details-section.component.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { MatDialog } from "@angular/material/dialog";
|
|
2
|
+
import { DynamicLayoutTableSection } from '../../../../data-structures/dynamic-layout.structure';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class TableDetailsSectionComponent {
|
|
5
|
+
private dialog;
|
|
6
|
+
data: any;
|
|
7
|
+
section: DynamicLayoutTableSection;
|
|
8
|
+
constructor(dialog: MatDialog);
|
|
9
|
+
openDetailsDialog(record: any): void;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TableDetailsSectionComponent, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TableDetailsSectionComponent, "mantle-table-details-section", never, { "data": "data"; "section": "section"; }, {}, never, never>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { FormGroup } from '@angular/forms';
|
|
2
|
+
import { DynamicLayoutContainer, DynamicFormContent } from '../../../../data-structures/dynamic-layout.structure';
|
|
3
|
+
import { FormPageService } from '../../../../services/interfaces/form-page.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class AccordionFormContainerComponent {
|
|
6
|
+
formPageService: FormPageService;
|
|
7
|
+
content: DynamicFormContent;
|
|
8
|
+
container: DynamicLayoutContainer;
|
|
9
|
+
form: FormGroup;
|
|
10
|
+
constructor();
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AccordionFormContainerComponent, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AccordionFormContainerComponent, "mantle-accordion-form-container", never, { "formPageService": "formPageService"; "content": "content"; "container": "container"; "form": "form"; }, {}, never, never>;
|
|
13
|
+
}
|
package/lib/components/form/containers/dynamic-form-container/dynamic-form-container.component.d.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { FormGroup } from '@angular/forms';
|
|
2
|
+
import { DynamicLayoutContainer, DynamicFormContent } from '../../../../data-structures/dynamic-layout.structure';
|
|
3
|
+
import { FormPageService } from '../../../../services/interfaces/form-page.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class DynamicFormContainerComponent {
|
|
6
|
+
formPageService: FormPageService;
|
|
7
|
+
content: DynamicFormContent;
|
|
8
|
+
container: DynamicLayoutContainer;
|
|
9
|
+
form: FormGroup;
|
|
10
|
+
constructor();
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DynamicFormContainerComponent, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DynamicFormContainerComponent, "mantle-dynamic-form-container", never, { "formPageService": "formPageService"; "content": "content"; "container": "container"; "form": "form"; }, {}, never, never>;
|
|
13
|
+
}
|
package/lib/components/form/containers/plain-form-container/plain-form-container.component.d.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { FormGroup } from '@angular/forms';
|
|
2
|
+
import { DynamicLayoutContainer, DynamicFormContent } from '../../../../data-structures/dynamic-layout.structure';
|
|
3
|
+
import { FormPageService } from '../../../../services/interfaces/form-page.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class PlainFormContainerComponent {
|
|
6
|
+
formPageService: FormPageService;
|
|
7
|
+
content: DynamicFormContent;
|
|
8
|
+
container: DynamicLayoutContainer;
|
|
9
|
+
form: FormGroup;
|
|
10
|
+
constructor();
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PlainFormContainerComponent, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PlainFormContainerComponent, "mantle-plain-form-container", never, { "formPageService": "formPageService"; "content": "content"; "container": "container"; "form": "form"; }, {}, never, never>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { AfterViewChecked, ChangeDetectorRef } from '@angular/core';
|
|
2
|
+
import { MatDialogRef } from "@angular/material/dialog";
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import { WebApiSaveResponse } from '../../../services/adapters/web-api-crud.adapter';
|
|
5
|
+
import { DynamicFormComponent } from '../../../components/form/dynamic-form/dynamic-form.component';
|
|
6
|
+
import { AnnouncementService } from '../../../services/announcement.service';
|
|
7
|
+
import { ObjectService } from '../../../services/object.service';
|
|
8
|
+
import { FormPageService } from '../../../services/interfaces/form-page.service';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
export interface DialogFormParams {
|
|
11
|
+
formPageService: FormPageService;
|
|
12
|
+
id: string | undefined;
|
|
13
|
+
title: string;
|
|
14
|
+
initData: any;
|
|
15
|
+
}
|
|
16
|
+
export declare class DialogFormComponent implements AfterViewChecked {
|
|
17
|
+
private dialogRef;
|
|
18
|
+
private dialogFormParams;
|
|
19
|
+
private changeDetectorRef;
|
|
20
|
+
private announcementService;
|
|
21
|
+
private objectService;
|
|
22
|
+
dynamicForm: DynamicFormComponent;
|
|
23
|
+
formPageService: FormPageService;
|
|
24
|
+
id: string | undefined;
|
|
25
|
+
title: string;
|
|
26
|
+
content$: Observable<any>;
|
|
27
|
+
isSaveInProgress: boolean;
|
|
28
|
+
constructor(dialogRef: MatDialogRef<DialogFormComponent>, dialogFormParams: DialogFormParams, changeDetectorRef: ChangeDetectorRef, announcementService: AnnouncementService, objectService: ObjectService);
|
|
29
|
+
ngAfterViewChecked(): void;
|
|
30
|
+
onCancelClicked(): void;
|
|
31
|
+
onSaveClicked(): void;
|
|
32
|
+
onSaveSuccess(res: WebApiSaveResponse): void;
|
|
33
|
+
onSaveFailure(res: {
|
|
34
|
+
error: WebApiSaveResponse;
|
|
35
|
+
}): void;
|
|
36
|
+
close(result?: any): void;
|
|
37
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DialogFormComponent, never>;
|
|
38
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DialogFormComponent, "mantle-dialog-form", never, {}, {}, never, never>;
|
|
39
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { AfterViewChecked, ChangeDetectorRef } from '@angular/core';
|
|
2
|
+
import { FormGroup } from '@angular/forms';
|
|
3
|
+
import { MatDialogRef } from "@angular/material/dialog";
|
|
4
|
+
import { DynamicLayoutGridSection } from '../../../data-structures/dynamic-layout.structure';
|
|
5
|
+
import { DynamicFormService } from '../../../services/dynamic-form.service';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export interface DialogNestedFormParams {
|
|
8
|
+
title: string;
|
|
9
|
+
section: DynamicLayoutGridSection;
|
|
10
|
+
data: any;
|
|
11
|
+
showDeleteButton: boolean;
|
|
12
|
+
saveButtonText: string;
|
|
13
|
+
}
|
|
14
|
+
export declare class DialogNestedFormComponent implements AfterViewChecked {
|
|
15
|
+
private changeDetectorRef;
|
|
16
|
+
private dialogRef;
|
|
17
|
+
private dialogNestedFormParams;
|
|
18
|
+
private dynamicFormService;
|
|
19
|
+
title: string;
|
|
20
|
+
section: DynamicLayoutGridSection;
|
|
21
|
+
showDeleteButton: boolean;
|
|
22
|
+
saveButtonText: string;
|
|
23
|
+
form: FormGroup;
|
|
24
|
+
constructor(changeDetectorRef: ChangeDetectorRef, dialogRef: MatDialogRef<DialogNestedFormComponent>, dialogNestedFormParams: DialogNestedFormParams, dynamicFormService: DynamicFormService);
|
|
25
|
+
ngAfterViewChecked(): void;
|
|
26
|
+
onSave(): void;
|
|
27
|
+
onDelete(): void;
|
|
28
|
+
onCancel(): void;
|
|
29
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DialogNestedFormComponent, never>;
|
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DialogNestedFormComponent, "mantle-dialog-nested-form", never, {}, {}, never, never>;
|
|
31
|
+
}
|