@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,21 @@
|
|
|
1
|
+
import { OnChanges, AfterViewChecked, ChangeDetectorRef } from '@angular/core';
|
|
2
|
+
import { FormGroup } from '@angular/forms';
|
|
3
|
+
import { DynamicFormContent } from '../../../data-structures/dynamic-layout.structure';
|
|
4
|
+
import { DynamicFormService } from '../../../services/dynamic-form.service';
|
|
5
|
+
import { FormPageService } from '../../../services/interfaces/form-page.service';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class DynamicFormComponent implements OnChanges, AfterViewChecked {
|
|
8
|
+
private changeDetectorRef;
|
|
9
|
+
private dynamicFormService;
|
|
10
|
+
formPageService: FormPageService;
|
|
11
|
+
content: DynamicFormContent;
|
|
12
|
+
form: FormGroup;
|
|
13
|
+
constructor(changeDetectorRef: ChangeDetectorRef, dynamicFormService: DynamicFormService);
|
|
14
|
+
ngOnChanges(): void;
|
|
15
|
+
ngAfterViewChecked(): void;
|
|
16
|
+
get valid(): boolean;
|
|
17
|
+
get value(): any;
|
|
18
|
+
reset(): void;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DynamicFormComponent, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DynamicFormComponent, "mantle-dynamic-form", never, { "formPageService": "formPageService"; "content": "content"; }, {}, never, never>;
|
|
21
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class AutocompleteInputComponent implements ControlValueAccessor {
|
|
5
|
+
label: string;
|
|
6
|
+
options: {
|
|
7
|
+
values: {
|
|
8
|
+
label: string;
|
|
9
|
+
value: string;
|
|
10
|
+
}[];
|
|
11
|
+
};
|
|
12
|
+
disable: boolean;
|
|
13
|
+
required: boolean;
|
|
14
|
+
error: string | undefined;
|
|
15
|
+
value: any;
|
|
16
|
+
filteredOptions$: Observable<{
|
|
17
|
+
label: string;
|
|
18
|
+
value: string;
|
|
19
|
+
}[]>;
|
|
20
|
+
onChange: (newValue: string) => void;
|
|
21
|
+
registerOnChange(fn: (newValue: string) => void): void;
|
|
22
|
+
onTouched: () => void;
|
|
23
|
+
registerOnTouched(fn: () => void): void;
|
|
24
|
+
writeValue(newValue: any): void;
|
|
25
|
+
onValueChanged(event: any): void;
|
|
26
|
+
filterAutocompleteValues(value: string): {
|
|
27
|
+
label: string;
|
|
28
|
+
value: string;
|
|
29
|
+
}[];
|
|
30
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AutocompleteInputComponent, never>;
|
|
31
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AutocompleteInputComponent, "mantle-autocomplete-input", never, { "label": "label"; "options": "options"; "disable": "disable"; "required": "required"; "error": "error"; }, {}, never, never>;
|
|
32
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
2
|
+
import { MatChipInputEvent } from '@angular/material/chips';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export interface Chip {
|
|
5
|
+
name: string;
|
|
6
|
+
}
|
|
7
|
+
export declare class ChipInputComponent implements ControlValueAccessor {
|
|
8
|
+
label: string;
|
|
9
|
+
disable: boolean;
|
|
10
|
+
required: boolean;
|
|
11
|
+
error: string | undefined;
|
|
12
|
+
removable: boolean;
|
|
13
|
+
private value;
|
|
14
|
+
chips: Chip[];
|
|
15
|
+
constructor();
|
|
16
|
+
onChange: (newValue: string) => void;
|
|
17
|
+
registerOnChange(fn: (newValue: string) => void): void;
|
|
18
|
+
onTouched: () => void;
|
|
19
|
+
registerOnTouched(fn: () => void): void;
|
|
20
|
+
writeValue(newValue: any): void;
|
|
21
|
+
add(event: MatChipInputEvent): void;
|
|
22
|
+
remove(chip: Chip): void;
|
|
23
|
+
setValueFromChips(): void;
|
|
24
|
+
setChipsFromValue(): void;
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ChipInputComponent, never>;
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ChipInputComponent, "mantle-chip-input", never, { "label": "label"; "disable": "disable"; "required": "required"; "error": "error"; }, {}, never, never>;
|
|
27
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
2
|
+
import { Moment } from 'moment';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class DatepickerComponent implements ControlValueAccessor {
|
|
5
|
+
label: string;
|
|
6
|
+
disable: boolean;
|
|
7
|
+
required: boolean;
|
|
8
|
+
error: string | undefined;
|
|
9
|
+
selectedDate: Moment | null;
|
|
10
|
+
private modelFormat;
|
|
11
|
+
private displayFormat;
|
|
12
|
+
private parseFormats;
|
|
13
|
+
onChange: (newDate: string) => void;
|
|
14
|
+
registerOnChange(fn: (newDate: string) => void): void;
|
|
15
|
+
onTouched: () => void;
|
|
16
|
+
registerOnTouched(fn: () => void): void;
|
|
17
|
+
get modelValue(): string;
|
|
18
|
+
writeValue(newValue: any): void;
|
|
19
|
+
onDateSelected(newValue: any): void;
|
|
20
|
+
onDateEntered(newValue: any): void;
|
|
21
|
+
getMoment(value: string | Moment): Moment | null;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DatepickerComponent, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DatepickerComponent, "mantle-datepicker", never, { "label": "label"; "disable": "disable"; "required": "required"; "error": "error"; }, {}, never, never>;
|
|
24
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
2
|
+
import { Moment } from 'moment';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class DatetimepickerComponent implements ControlValueAccessor {
|
|
5
|
+
label: string;
|
|
6
|
+
disable: boolean;
|
|
7
|
+
required: boolean;
|
|
8
|
+
error: string | undefined;
|
|
9
|
+
selectedDateTime: Moment | null;
|
|
10
|
+
private modelFormat;
|
|
11
|
+
private displayFormat;
|
|
12
|
+
private parseFormats;
|
|
13
|
+
onChange: (newDate: string) => void;
|
|
14
|
+
registerOnChange(fn: (newDate: string) => void): void;
|
|
15
|
+
onTouched: () => void;
|
|
16
|
+
registerOnTouched(fn: () => void): void;
|
|
17
|
+
get modelValue(): string;
|
|
18
|
+
writeValue(newValue: any): void;
|
|
19
|
+
onDateTimeSelected(newValue: any): void;
|
|
20
|
+
onDateTimeEntered(newValue: any): void;
|
|
21
|
+
getMoment(value: string | Moment): Moment | null;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DatetimepickerComponent, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DatetimepickerComponent, "mantle-datetimepicker", never, { "label": "label"; "disable": "disable"; "required": "required"; "error": "error"; }, {}, never, never>;
|
|
24
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class DropdownComponent implements ControlValueAccessor {
|
|
4
|
+
label: string;
|
|
5
|
+
options: {
|
|
6
|
+
values: {
|
|
7
|
+
label: string;
|
|
8
|
+
value: string;
|
|
9
|
+
hidden: boolean;
|
|
10
|
+
}[];
|
|
11
|
+
};
|
|
12
|
+
disable: boolean;
|
|
13
|
+
required: boolean;
|
|
14
|
+
error: string | undefined;
|
|
15
|
+
value: any;
|
|
16
|
+
dropdownValues: {
|
|
17
|
+
label: string;
|
|
18
|
+
value: string;
|
|
19
|
+
}[];
|
|
20
|
+
constructor();
|
|
21
|
+
onChange: (newValue: string) => void;
|
|
22
|
+
registerOnChange(fn: (newValue: string) => void): void;
|
|
23
|
+
onTouched: () => void;
|
|
24
|
+
registerOnTouched(fn: () => void): void;
|
|
25
|
+
ngOnChanges(changes: any): void;
|
|
26
|
+
writeValue(newValue: any): void;
|
|
27
|
+
onValueChanged(event: any): void;
|
|
28
|
+
filterDropdownValues(): void;
|
|
29
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DropdownComponent, never>;
|
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DropdownComponent, "mantle-dropdown", never, { "label": "label"; "options": "options"; "disable": "disable"; "required": "required"; "error": "error"; }, {}, never, never>;
|
|
31
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { FormGroup } from '@angular/forms';
|
|
2
|
+
import { DynamicFormField } from '../../../../services/dynamic-form.service';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class DynamicFormFieldComponent {
|
|
5
|
+
field: DynamicFormField;
|
|
6
|
+
form: FormGroup;
|
|
7
|
+
error: string | undefined;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DynamicFormFieldComponent, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DynamicFormFieldComponent, "mantle-dynamic-form-field", never, { "field": "field"; "form": "form"; "error": "error"; }, {}, never, never>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
+
import { FileAttachment } from '../../../../data-structures/file-attachment.structure';
|
|
4
|
+
import { WebApiService } from '../../../../services/web-api.service';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class FilepickerComponent implements ControlValueAccessor {
|
|
7
|
+
private webApiService;
|
|
8
|
+
fileInput: ElementRef;
|
|
9
|
+
label: string;
|
|
10
|
+
disable: boolean;
|
|
11
|
+
required: boolean;
|
|
12
|
+
error: string | undefined;
|
|
13
|
+
previousAttachment: FileAttachment | undefined;
|
|
14
|
+
currentAttachment: FileAttachment | undefined;
|
|
15
|
+
uploadInProgress: boolean;
|
|
16
|
+
constructor(webApiService: WebApiService);
|
|
17
|
+
onChange: (newValue: FileAttachment | undefined) => void;
|
|
18
|
+
registerOnChange(fn: (newValue: FileAttachment | undefined) => void): void;
|
|
19
|
+
onTouched: () => void;
|
|
20
|
+
registerOnTouched(fn: () => void): void;
|
|
21
|
+
writeValue(newValue: FileAttachment): void;
|
|
22
|
+
onFileSelected(event: any): void;
|
|
23
|
+
clearAttachment(): void;
|
|
24
|
+
reset(): void;
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FilepickerComponent, never>;
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FilepickerComponent, "mantle-filepicker", never, { "label": "label"; "disable": "disable"; "required": "required"; "error": "error"; }, {}, never, never>;
|
|
27
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { MatDialogRef } from '@angular/material/dialog';
|
|
2
|
+
import { ImageCroppedEvent } from 'ngx-image-cropper';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export interface ImageCropperParams {
|
|
5
|
+
imageChangedEvent: any;
|
|
6
|
+
maintainAspectRatio?: boolean;
|
|
7
|
+
aspectRatio?: number;
|
|
8
|
+
resizeToWidth?: number;
|
|
9
|
+
format?: string;
|
|
10
|
+
}
|
|
11
|
+
export declare class ImageCropperComponent {
|
|
12
|
+
private dialogRef;
|
|
13
|
+
private data;
|
|
14
|
+
imageChangedEvent: any;
|
|
15
|
+
maintainAspectRatio: boolean;
|
|
16
|
+
aspectRatio: number;
|
|
17
|
+
resizeToWidth: number;
|
|
18
|
+
format: string;
|
|
19
|
+
croppedImage: any;
|
|
20
|
+
constructor(dialogRef: MatDialogRef<ImageCropperComponent>, data: ImageCropperParams);
|
|
21
|
+
imageCropped(event: ImageCroppedEvent): void;
|
|
22
|
+
loadImageFailed(): void;
|
|
23
|
+
onCropComplete(): void;
|
|
24
|
+
onCancel(): void;
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ImageCropperComponent, never>;
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ImageCropperComponent, "mantle-image-cropper", never, {}, {}, never, never>;
|
|
27
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { ElementRef, OnChanges } from '@angular/core';
|
|
2
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
+
import { MatDialog } from '@angular/material/dialog';
|
|
4
|
+
import { FileAttachment } from '../../../../data-structures/file-attachment.structure';
|
|
5
|
+
import { WebApiService } from '../../../../services/web-api.service';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export interface ImageCropperOptions {
|
|
8
|
+
maintainAspectRatio?: boolean;
|
|
9
|
+
aspectRatio?: number;
|
|
10
|
+
resizeToWidth?: number;
|
|
11
|
+
uploadFormat?: string;
|
|
12
|
+
}
|
|
13
|
+
export declare class ImagepickerComponent implements ControlValueAccessor, OnChanges {
|
|
14
|
+
private dialog;
|
|
15
|
+
private webApiService;
|
|
16
|
+
fileInput: ElementRef;
|
|
17
|
+
label: string;
|
|
18
|
+
options: ImageCropperOptions;
|
|
19
|
+
disable: boolean;
|
|
20
|
+
required: boolean;
|
|
21
|
+
error: string | undefined;
|
|
22
|
+
private defaultCropperConfig;
|
|
23
|
+
cropperConfig: ImageCropperOptions;
|
|
24
|
+
previousAttachment: FileAttachment | undefined;
|
|
25
|
+
currentAttachment: FileAttachment | undefined;
|
|
26
|
+
uploadInProgress: boolean;
|
|
27
|
+
constructor(dialog: MatDialog, webApiService: WebApiService);
|
|
28
|
+
onChange: (newValue: FileAttachment | undefined) => void;
|
|
29
|
+
registerOnChange(fn: (newValue: FileAttachment | undefined) => void): void;
|
|
30
|
+
onTouched: () => void;
|
|
31
|
+
registerOnTouched(fn: () => void): void;
|
|
32
|
+
ngOnChanges(): void;
|
|
33
|
+
writeValue(newValue: FileAttachment): void;
|
|
34
|
+
onFileSelected(event: any): void;
|
|
35
|
+
onImageCropped(croppedImage: Blob, filename: string): void;
|
|
36
|
+
clearAttachment(): void;
|
|
37
|
+
reset(): void;
|
|
38
|
+
blobToFile(blob: Blob, filename: string): File;
|
|
39
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ImagepickerComponent, never>;
|
|
40
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ImagepickerComponent, "mantle-imagepicker", never, { "label": "label"; "options": "options"; "disable": "disable"; "required": "required"; "error": "error"; }, {}, never, never>;
|
|
41
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class MarkdownInputComponent implements ControlValueAccessor {
|
|
4
|
+
label: string;
|
|
5
|
+
disable: boolean;
|
|
6
|
+
required: boolean;
|
|
7
|
+
error: string | undefined;
|
|
8
|
+
value: any;
|
|
9
|
+
constructor();
|
|
10
|
+
onChange: (newValue: string) => void;
|
|
11
|
+
registerOnChange(fn: (newValue: string) => void): void;
|
|
12
|
+
onTouched: () => void;
|
|
13
|
+
registerOnTouched(fn: () => void): void;
|
|
14
|
+
writeValue(newValue: any): void;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MarkdownInputComponent, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MarkdownInputComponent, "mantle-markdown-input", never, { "label": "label"; "disable": "disable"; "required": "required"; "error": "error"; }, {}, never, never>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { OnChanges } from '@angular/core';
|
|
2
|
+
import { ControlValueAccessor, AbstractControl, Validator, ValidationErrors } from '@angular/forms';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class NumberInputComponent implements ControlValueAccessor, Validator, OnChanges {
|
|
5
|
+
label: string;
|
|
6
|
+
options: {
|
|
7
|
+
min: number;
|
|
8
|
+
max: number;
|
|
9
|
+
decimal_places: number;
|
|
10
|
+
};
|
|
11
|
+
disable: boolean;
|
|
12
|
+
required: boolean;
|
|
13
|
+
error: string | undefined;
|
|
14
|
+
value: any;
|
|
15
|
+
errorMessage: string | undefined;
|
|
16
|
+
constructor();
|
|
17
|
+
onChange: (newValue: string) => void;
|
|
18
|
+
registerOnChange(fn: (newValue: string) => void): void;
|
|
19
|
+
onTouched: () => void;
|
|
20
|
+
registerOnTouched(fn: () => void): void;
|
|
21
|
+
ngOnChanges(): void;
|
|
22
|
+
writeValue(newValue: any): void;
|
|
23
|
+
onValueChanged(event: any): void;
|
|
24
|
+
validate(control: AbstractControl): ValidationErrors | null;
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NumberInputComponent, never>;
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NumberInputComponent, "mantle-number-input", never, { "label": "label"; "options": "options"; "disable": "disable"; "required": "required"; "error": "error"; }, {}, never, never>;
|
|
27
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class PasswordInputComponent implements ControlValueAccessor {
|
|
4
|
+
label: string;
|
|
5
|
+
disable: boolean;
|
|
6
|
+
required: boolean;
|
|
7
|
+
error: string | undefined;
|
|
8
|
+
value: any;
|
|
9
|
+
hide: boolean;
|
|
10
|
+
constructor();
|
|
11
|
+
onChange: (newValue: string) => void;
|
|
12
|
+
registerOnChange(fn: (newValue: string) => void): void;
|
|
13
|
+
onTouched: () => void;
|
|
14
|
+
registerOnTouched(fn: () => void): void;
|
|
15
|
+
writeValue(newValue: any): void;
|
|
16
|
+
onValueChanged(event: any): void;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PasswordInputComponent, never>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PasswordInputComponent, "mantle-password-input", never, { "label": "label"; "disable": "disable"; "required": "required"; "error": "error"; }, {}, never, never>;
|
|
19
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class TextInputComponent implements ControlValueAccessor {
|
|
4
|
+
label: string;
|
|
5
|
+
disable: boolean;
|
|
6
|
+
required: boolean;
|
|
7
|
+
error: string | undefined;
|
|
8
|
+
value: any;
|
|
9
|
+
constructor();
|
|
10
|
+
onChange: (newValue: string) => void;
|
|
11
|
+
registerOnChange(fn: (newValue: string) => void): void;
|
|
12
|
+
onTouched: () => void;
|
|
13
|
+
registerOnTouched(fn: () => void): void;
|
|
14
|
+
writeValue(newValue: any): void;
|
|
15
|
+
onValueChanged(event: any): void;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TextInputComponent, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TextInputComponent, "mantle-text-input", never, { "label": "label"; "disable": "disable"; "required": "required"; "error": "error"; }, {}, never, never>;
|
|
18
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class TextareaComponent implements ControlValueAccessor {
|
|
4
|
+
label: string;
|
|
5
|
+
rows: number;
|
|
6
|
+
disable: boolean;
|
|
7
|
+
required: boolean;
|
|
8
|
+
error: string | undefined;
|
|
9
|
+
value: any;
|
|
10
|
+
constructor();
|
|
11
|
+
onChange: (newValue: string) => void;
|
|
12
|
+
registerOnChange(fn: (newValue: string) => void): void;
|
|
13
|
+
onTouched: () => void;
|
|
14
|
+
registerOnTouched(fn: () => void): void;
|
|
15
|
+
writeValue(newValue: any): void;
|
|
16
|
+
onValueChanged(event: any): void;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TextareaComponent, never>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TextareaComponent, "mantle-textarea", never, { "label": "label"; "rows": "rows"; "disable": "disable"; "required": "required"; "error": "error"; }, {}, never, never>;
|
|
19
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { FormGroup } from '@angular/forms';
|
|
2
|
+
import { DynamicFormContent, DynamicLayoutDashboardSection, DynamicLayoutGridSection, DynamicLayoutMarkdownSection, DynamicLayoutSection, DynamicLayoutTableSection } from '../../../../data-structures/dynamic-layout.structure';
|
|
3
|
+
import { DashboardPageService } from '../../../../services/interfaces/dashboard-page.service';
|
|
4
|
+
import { FormPageService } from '../../../../services/interfaces/form-page.service';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class DynamicFormSectionComponent {
|
|
7
|
+
formPageService: FormPageService;
|
|
8
|
+
section: DynamicLayoutSection;
|
|
9
|
+
content: DynamicFormContent;
|
|
10
|
+
form: FormGroup;
|
|
11
|
+
constructor();
|
|
12
|
+
asDynamicLayoutGridSection(section: any): DynamicLayoutGridSection;
|
|
13
|
+
asDynamicLayoutTableSection(section: any): DynamicLayoutTableSection;
|
|
14
|
+
asDynamicLayoutMarkdownSection(section: any): DynamicLayoutMarkdownSection;
|
|
15
|
+
asDynamicLayoutDashboardSection(section: any): DynamicLayoutDashboardSection;
|
|
16
|
+
asDashboardPageService(formPageService: FormPageService): DashboardPageService;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DynamicFormSectionComponent, never>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DynamicFormSectionComponent, "mantle-dynamic-form-section", never, { "formPageService": "formPageService"; "section": "section"; "content": "content"; "form": "form"; }, {}, never, never>;
|
|
19
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { FormGroup } from '@angular/forms';
|
|
2
|
+
import { DynamicLayoutGridSection } from '../../../../data-structures/dynamic-layout.structure';
|
|
3
|
+
import { DynamicFormField } from '../../../../services/dynamic-form.service';
|
|
4
|
+
import { ScreenSizeService } from '../../../../services/screen-size.service';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class GridFormSectionComponent {
|
|
7
|
+
private screenSizeService;
|
|
8
|
+
title?: string;
|
|
9
|
+
section: DynamicLayoutGridSection;
|
|
10
|
+
form: FormGroup;
|
|
11
|
+
errors: any;
|
|
12
|
+
defaultRowHeight: string;
|
|
13
|
+
numColumns: number;
|
|
14
|
+
private breakpointColumns;
|
|
15
|
+
constructor(screenSizeService: ScreenSizeService);
|
|
16
|
+
getColSpanForField(field: DynamicFormField): number;
|
|
17
|
+
getRowSpanForField(field: DynamicFormField): number;
|
|
18
|
+
get valid(): boolean;
|
|
19
|
+
get value(): any;
|
|
20
|
+
reset(): void;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GridFormSectionComponent, never>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GridFormSectionComponent, "mantle-grid-form-section", never, { "title": "title"; "section": "section"; "form": "form"; "errors": "errors"; "defaultRowHeight": "defaultRowHeight"; }, {}, never, never>;
|
|
23
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { FormGroup } from '@angular/forms';
|
|
2
|
+
import { MatDialog } from "@angular/material/dialog";
|
|
3
|
+
import { DynamicLayoutTableSection } from '../../../../data-structures/dynamic-layout.structure';
|
|
4
|
+
import { ArrayService } from '../../../../services/array.service';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class TableFormSectionComponent {
|
|
7
|
+
private dialog;
|
|
8
|
+
private arrayService;
|
|
9
|
+
title?: string;
|
|
10
|
+
section: DynamicLayoutTableSection;
|
|
11
|
+
form: FormGroup;
|
|
12
|
+
constructor(dialog: MatDialog, arrayService: ArrayService);
|
|
13
|
+
canAddRecord(): boolean;
|
|
14
|
+
openDetailsDialog(record: any): void;
|
|
15
|
+
openFormDialog(record?: any): void;
|
|
16
|
+
onDialogFormClosed(formData: any, existingRecord?: any): void;
|
|
17
|
+
get valid(): boolean;
|
|
18
|
+
get value(): any;
|
|
19
|
+
reset(): void;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TableFormSectionComponent, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TableFormSectionComponent, "mantle-table-form-section", never, { "title": "title"; "section": "section"; "form": "form"; }, {}, never, never>;
|
|
22
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { DynamicLayoutEditorContainer } from '../../../../data-structures/dynamic-layout.structure';
|
|
2
|
+
import { LayoutEditorPageService } from '../../../../services/interfaces/layout-editor-page.service';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class AccordionLayoutEditorContainerComponent {
|
|
5
|
+
layoutEditorPageService: LayoutEditorPageService;
|
|
6
|
+
container: DynamicLayoutEditorContainer;
|
|
7
|
+
constructor();
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AccordionLayoutEditorContainerComponent, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AccordionLayoutEditorContainerComponent, "mantle-accordion-layout-editor-container", never, { "layoutEditorPageService": "layoutEditorPageService"; "container": "container"; }, {}, never, never>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { DynamicLayoutEditorContainer } from '../../../../data-structures/dynamic-layout.structure';
|
|
2
|
+
import { LayoutEditorPageService } from '../../../../services/interfaces/layout-editor-page.service';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class DynamicLayoutEditorContainerComponent {
|
|
5
|
+
layoutEditorPageService: LayoutEditorPageService;
|
|
6
|
+
container: DynamicLayoutEditorContainer;
|
|
7
|
+
constructor();
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DynamicLayoutEditorContainerComponent, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DynamicLayoutEditorContainerComponent, "mantle-dynamic-layout-editor-container", never, { "layoutEditorPageService": "layoutEditorPageService"; "container": "container"; }, {}, never, never>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { DynamicLayoutEditorContainer } from '../../../../data-structures/dynamic-layout.structure';
|
|
2
|
+
import { LayoutEditorPageService } from '../../../../services/interfaces/layout-editor-page.service';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class PlainLayoutEditorContainerComponent {
|
|
5
|
+
layoutEditorPageService: LayoutEditorPageService;
|
|
6
|
+
container: DynamicLayoutEditorContainer;
|
|
7
|
+
constructor();
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PlainLayoutEditorContainerComponent, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PlainLayoutEditorContainerComponent, "mantle-plain-layout-editor-container", never, { "layoutEditorPageService": "layoutEditorPageService"; "container": "container"; }, {}, never, never>;
|
|
10
|
+
}
|
package/lib/components/layout-editor/dynamic-layout-editor/dynamic-layout-editor.component.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { DynamicLayoutEditorContent } from '../../../data-structures/dynamic-layout.structure';
|
|
2
|
+
import { LayoutEditorPageService } from '../../../services/interfaces/layout-editor-page.service';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class DynamicLayoutEditorComponent {
|
|
5
|
+
layoutEditorPageService: LayoutEditorPageService;
|
|
6
|
+
content: DynamicLayoutEditorContent;
|
|
7
|
+
constructor();
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DynamicLayoutEditorComponent, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DynamicLayoutEditorComponent, "mantle-dynamic-layout-editor", never, { "layoutEditorPageService": "layoutEditorPageService"; "content": "content"; }, {}, never, never>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { DynamicLayoutEditorFormField, DynamicLayoutEditorDashboardWidget, DynamicLayoutEditorMarkdownElement, DynamicLayoutEditorTableColumn } from '../../../../data-structures/dynamic-layout.structure';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class DynamicLayoutEditorElementComponent {
|
|
4
|
+
element: DynamicLayoutEditorFormField | DynamicLayoutEditorDashboardWidget | DynamicLayoutEditorMarkdownElement | DynamicLayoutEditorTableColumn;
|
|
5
|
+
elementType: string;
|
|
6
|
+
showControls: boolean;
|
|
7
|
+
constructor();
|
|
8
|
+
asDynamicLayoutEditorFormField(element: any): DynamicLayoutEditorFormField;
|
|
9
|
+
asDynamicLayoutEditorTableColumn(element: any): DynamicLayoutEditorTableColumn;
|
|
10
|
+
asDynamicLayoutEditorDashboardWidget(element: any): DynamicLayoutEditorDashboardWidget;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DynamicLayoutEditorElementComponent, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DynamicLayoutEditorElementComponent, "mantle-dynamic-layout-editor-element", never, { "element": "element"; "elementType": "elementType"; "showControls": "showControls"; }, {}, never, never>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { MatDialog, MatDialogConfig } from '@angular/material/dialog';
|
|
2
|
+
import { DynamicLayoutEditorFormField } from '../../../../data-structures/dynamic-layout.structure';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class LayoutEditorFieldElementComponent {
|
|
5
|
+
private dialog;
|
|
6
|
+
element: DynamicLayoutEditorFormField;
|
|
7
|
+
showControls: boolean;
|
|
8
|
+
constructor(dialog: MatDialog);
|
|
9
|
+
onEditElementClicked(): void;
|
|
10
|
+
elementDialogConfig(record: any): MatDialogConfig;
|
|
11
|
+
onDeleteElementClicked(): void;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LayoutEditorFieldElementComponent, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LayoutEditorFieldElementComponent, "mantle-layout-editor-field-element", never, { "element": "element"; "showControls": "showControls"; }, {}, never, never>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { MatDialog, MatDialogConfig } from '@angular/material/dialog';
|
|
2
|
+
import { DynamicLayoutEditorTableColumn } from '../../../../data-structures/dynamic-layout.structure';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class LayoutEditorTableColumnElementComponent {
|
|
5
|
+
private dialog;
|
|
6
|
+
element: DynamicLayoutEditorTableColumn;
|
|
7
|
+
showControls: boolean;
|
|
8
|
+
constructor(dialog: MatDialog);
|
|
9
|
+
onEditElementClicked(): void;
|
|
10
|
+
elementDialogConfig(record: any): MatDialogConfig;
|
|
11
|
+
onDeleteElementClicked(): void;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LayoutEditorTableColumnElementComponent, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LayoutEditorTableColumnElementComponent, "mantle-layout-editor-table-column-element", never, { "element": "element"; "showControls": "showControls"; }, {}, never, never>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { DynamicLayoutEditorDashboardWidget } from '../../../../data-structures/dynamic-layout.structure';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class LayoutEditorWidgetElementComponent {
|
|
4
|
+
element: DynamicLayoutEditorDashboardWidget;
|
|
5
|
+
constructor();
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LayoutEditorWidgetElementComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LayoutEditorWidgetElementComponent, "mantle-layout-editor-widget-element", never, { "element": "element"; }, {}, never, never>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { DynamicLayoutEditorSection } from '../../../../data-structures/dynamic-layout.structure';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class DashboardLayoutEditorSectionComponent {
|
|
4
|
+
section: DynamicLayoutEditorSection;
|
|
5
|
+
constructor();
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DashboardLayoutEditorSectionComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DashboardLayoutEditorSectionComponent, "mantle-dashboard-layout-editor-section", never, { "section": "section"; }, {}, never, never>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { DynamicLayoutEditorSection } from '../../../../data-structures/dynamic-layout.structure';
|
|
2
|
+
import { LayoutEditorPageService } from '../../../../services/interfaces/layout-editor-page.service';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class DynamicLayoutEditorSectionComponent {
|
|
5
|
+
layoutEditorPageService: LayoutEditorPageService;
|
|
6
|
+
section: DynamicLayoutEditorSection;
|
|
7
|
+
constructor();
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DynamicLayoutEditorSectionComponent, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DynamicLayoutEditorSectionComponent, "mantle-dynamic-layout-editor-section", never, { "layoutEditorPageService": "layoutEditorPageService"; "section": "section"; }, {}, never, never>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { MatDialog, MatDialogConfig } from '@angular/material/dialog';
|
|
2
|
+
import { DynamicLayoutEditorSection, DynamicLayoutEditorFormField } from '../../../../data-structures/dynamic-layout.structure';
|
|
3
|
+
import { ArrayService } from '../../../../services/array.service';
|
|
4
|
+
import { ScreenSizeService } from '../../../../services/screen-size.service';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class GridLayoutEditorSectionComponent {
|
|
7
|
+
private screenSizeService;
|
|
8
|
+
private dialog;
|
|
9
|
+
private arrayService;
|
|
10
|
+
section: DynamicLayoutEditorSection;
|
|
11
|
+
defaultRowHeight: string;
|
|
12
|
+
numColumns: number;
|
|
13
|
+
private breakpointColumns;
|
|
14
|
+
constructor(screenSizeService: ScreenSizeService, dialog: MatDialog, arrayService: ArrayService);
|
|
15
|
+
getColSpanForField(attribute: DynamicLayoutEditorFormField): number;
|
|
16
|
+
getRowSpanForField(attribute: DynamicLayoutEditorFormField): number;
|
|
17
|
+
onAddElementClicked(): void;
|
|
18
|
+
elementDialogConfig(): MatDialogConfig;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GridLayoutEditorSectionComponent, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GridLayoutEditorSectionComponent, "mantle-grid-layout-editor-section", never, { "section": "section"; "defaultRowHeight": "defaultRowHeight"; }, {}, never, never>;
|
|
21
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { DynamicLayoutEditorSection } from '../../../../data-structures/dynamic-layout.structure';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class MarkdownLayoutEditorSectionComponent {
|
|
4
|
+
section: DynamicLayoutEditorSection;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MarkdownLayoutEditorSectionComponent, never>;
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MarkdownLayoutEditorSectionComponent, "mantle-markdown-layout-editor-section", never, { "section": "section"; }, {}, never, never>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { MatDialog, MatDialogConfig } from '@angular/material/dialog';
|
|
2
|
+
import { DynamicLayoutEditorSection } from '../../../../data-structures/dynamic-layout.structure';
|
|
3
|
+
import { ArrayService } from '../../../../services/array.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class TableLayoutEditorSectionComponent {
|
|
6
|
+
private dialog;
|
|
7
|
+
private arrayService;
|
|
8
|
+
section: DynamicLayoutEditorSection;
|
|
9
|
+
constructor(dialog: MatDialog, arrayService: ArrayService);
|
|
10
|
+
onAddElementClicked(): void;
|
|
11
|
+
elementDialogConfig(): MatDialogConfig;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TableLayoutEditorSectionComponent, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TableLayoutEditorSectionComponent, "mantle-table-layout-editor-section", never, { "section": "section"; }, {}, never, never>;
|
|
14
|
+
}
|