@wavemaker/app-ng-runtime 11.10.5-rc.6100 → 11.11.0-rc.209
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/build-task/bundles/index.umd.js +94 -68
- package/build-task/esm2022/advanced/carousel/carousel-template/carousel-template.build.mjs +8 -8
- package/build-task/esm2022/containers/repeat-template.build.mjs +5 -5
- package/build-task/esm2022/containers/wizard/wizard-step/wizard-step.build.mjs +2 -2
- package/build-task/esm2022/containers/wizard/wizard.build.mjs +33 -4
- package/build-task/esm2022/data/form/form-field/form-field.build.mjs +10 -10
- package/build-task/esm2022/data/table/table-column/table-column.build.mjs +15 -11
- package/build-task/esm2022/page/page.build.mjs +2 -8
- package/build-task/esm2022/public_api.mjs +1 -1
- package/build-task/fesm2022/index.mjs +95 -69
- package/build-task/fesm2022/index.mjs.map +1 -1
- package/components/advanced/carousel/bundles/index.umd.js +8 -36
- package/components/advanced/carousel/carousel-template/carousel-template.directive.d.ts +1 -1
- package/components/advanced/carousel/carousel.directive.d.ts +1 -1
- package/components/advanced/carousel/esm2022/carousel-template/carousel-template.directive.mjs +3 -2
- package/components/advanced/carousel/esm2022/carousel.directive.mjs +3 -2
- package/components/advanced/carousel/esm2022/public_api.mjs +1 -2
- package/components/advanced/carousel/fesm2022/index.mjs +8 -36
- package/components/advanced/carousel/fesm2022/index.mjs.map +1 -1
- package/components/advanced/carousel/public_api.d.ts +0 -1
- package/components/advanced/custom/bundles/index.umd.js +8 -33
- package/components/advanced/custom/custom-widget-container/custom-widget-container.directive.d.ts +1 -1
- package/components/advanced/custom/custom-widget.directive.d.ts +1 -1
- package/components/advanced/custom/esm2022/custom-widget-container/custom-widget-container.directive.mjs +3 -2
- package/components/advanced/custom/esm2022/custom-widget.directive.mjs +3 -2
- package/components/advanced/custom/esm2022/public_api.mjs +1 -2
- package/components/advanced/custom/fesm2022/index.mjs +7 -32
- package/components/advanced/custom/fesm2022/index.mjs.map +1 -1
- package/components/advanced/custom/public_api.d.ts +0 -1
- package/components/advanced/login/bundles/index.umd.js +10 -34
- package/components/advanced/login/esm2022/login.component.mjs +7 -6
- package/components/advanced/login/esm2022/public_api.mjs +1 -2
- package/components/advanced/login/fesm2022/index.mjs +8 -32
- package/components/advanced/login/fesm2022/index.mjs.map +1 -1
- package/components/advanced/login/login.component.d.ts +1 -1
- package/components/advanced/login/public_api.d.ts +0 -1
- package/components/advanced/marquee/bundles/index.umd.js +6 -29
- package/components/advanced/marquee/esm2022/marquee.directive.mjs +3 -2
- package/components/advanced/marquee/esm2022/public_api.mjs +1 -2
- package/components/advanced/marquee/fesm2022/index.mjs +5 -28
- package/components/advanced/marquee/fesm2022/index.mjs.map +1 -1
- package/components/advanced/marquee/marquee.directive.d.ts +1 -1
- package/components/advanced/marquee/public_api.d.ts +0 -1
- package/components/base/bundles/index.umd.js +86 -278
- package/components/base/components.module.d.ts +13 -15
- package/components/base/directives/show-in-device.directive.d.ts +1 -1
- package/components/base/esm2022/components.module.mjs +7 -13
- package/components/base/esm2022/directives/show-in-device.directive.mjs +3 -2
- package/components/base/esm2022/pipes/custom-pipes.mjs +33 -16
- package/components/base/esm2022/pipes/image.pipe.mjs +3 -2
- package/components/base/esm2022/pipes/sanitize.pipe.mjs +3 -2
- package/components/base/esm2022/pipes/trust-as.pipe.mjs +3 -2
- package/components/base/esm2022/public_api.mjs +1 -2
- package/components/base/esm2022/utils/form-utils.mjs +3 -1
- package/components/base/esm2022/utils/live-utils.mjs +3 -7
- package/components/base/esm2022/widgets/common/base/base-field-validations.mjs +4 -2
- package/components/base/esm2022/widgets/common/base/base.component.mjs +3 -5
- package/components/base/esm2022/widgets/common/base/custom-widget-container.directive.mjs +3 -2
- package/components/base/esm2022/widgets/common/base/partial-container.directive.mjs +3 -2
- package/components/base/esm2022/widgets/common/base/text-content.directive.mjs +3 -2
- package/components/base/esm2022/widgets/common/container/container.directive.mjs +3 -2
- package/components/base/esm2022/widgets/common/dialog/dialog.service.mjs +3 -3
- package/components/base/esm2022/widgets/common/item-template/item-template.directive.mjs +3 -2
- package/components/base/esm2022/widgets/common/lazy-load/lazy-load.directive.mjs +3 -2
- package/components/base/esm2022/widgets/common/message/message.component.mjs +5 -5
- package/components/base/esm2022/widgets/common/partial/partial.directive.mjs +3 -2
- package/components/base/esm2022/widgets/common/partial-param/partial-param.directive.mjs +5 -3
- package/components/base/esm2022/widgets/common/redraw/redrawable.directive.mjs +3 -2
- package/components/base/esm2022/widgets/common/repeat-template/repeat-template.directive.mjs +3 -2
- package/components/base/fesm2022/index.mjs +85 -276
- package/components/base/fesm2022/index.mjs.map +1 -1
- package/components/base/pipes/custom-pipes.d.ts +15 -15
- package/components/base/pipes/image.pipe.d.ts +1 -1
- package/components/base/pipes/sanitize.pipe.d.ts +1 -1
- package/components/base/pipes/trust-as.pipe.d.ts +1 -1
- package/components/base/public_api.d.ts +0 -1
- package/components/base/widgets/common/base/custom-widget-container.directive.d.ts +1 -1
- package/components/base/widgets/common/base/partial-container.directive.d.ts +1 -1
- package/components/base/widgets/common/base/text-content.directive.d.ts +1 -1
- package/components/base/widgets/common/container/container.directive.d.ts +1 -1
- package/components/base/widgets/common/item-template/item-template.directive.d.ts +1 -1
- package/components/base/widgets/common/lazy-load/lazy-load.directive.d.ts +1 -1
- package/components/base/widgets/common/message/message.component.d.ts +1 -1
- package/components/base/widgets/common/partial/partial.directive.d.ts +1 -1
- package/components/base/widgets/common/partial-param/partial-param.directive.d.ts +2 -2
- package/components/base/widgets/common/redraw/redrawable.directive.d.ts +1 -1
- package/components/base/widgets/common/repeat-template/repeat-template.directive.d.ts +1 -1
- package/components/basic/default/anchor/anchor.component.d.ts +1 -1
- package/components/basic/default/audio/audio.component.d.ts +1 -1
- package/components/basic/default/bundles/index.umd.js +100 -148
- package/components/basic/default/esm2022/anchor/anchor.component.mjs +23 -21
- package/components/basic/default/esm2022/audio/audio.component.mjs +7 -6
- package/components/basic/default/esm2022/html/html.directive.mjs +3 -2
- package/components/basic/default/esm2022/icon/icon.component.mjs +17 -16
- package/components/basic/default/esm2022/iframe/iframe.component.mjs +14 -13
- package/components/basic/default/esm2022/label/label.directive.mjs +3 -2
- package/components/basic/default/esm2022/picture/picture.directive.mjs +3 -2
- package/components/basic/default/esm2022/picture/picture.props.mjs +1 -5
- package/components/basic/default/esm2022/public_api.mjs +1 -2
- package/components/basic/default/esm2022/spinner/spinner.component.mjs +26 -24
- package/components/basic/default/esm2022/video/video.component.mjs +19 -18
- package/components/basic/default/fesm2022/index.mjs +101 -148
- package/components/basic/default/fesm2022/index.mjs.map +1 -1
- package/components/basic/default/html/html.directive.d.ts +1 -1
- package/components/basic/default/icon/icon.component.d.ts +1 -1
- package/components/basic/default/iframe/iframe.component.d.ts +1 -1
- package/components/basic/default/label/label.directive.d.ts +1 -1
- package/components/basic/default/picture/picture.directive.d.ts +1 -1
- package/components/basic/default/public_api.d.ts +0 -1
- package/components/basic/default/spinner/spinner.component.d.ts +1 -1
- package/components/basic/default/video/video.component.d.ts +1 -1
- package/components/basic/progress/bundles/index.umd.js +20 -51
- package/components/basic/progress/esm2022/progress-bar/progress-bar.component.mjs +12 -11
- package/components/basic/progress/esm2022/progress-circle/progress-circle.component.mjs +8 -6
- package/components/basic/progress/esm2022/public_api.mjs +1 -2
- package/components/basic/progress/fesm2022/index.mjs +19 -49
- package/components/basic/progress/fesm2022/index.mjs.map +1 -1
- package/components/basic/progress/progress-bar/progress-bar.component.d.ts +1 -1
- package/components/basic/progress/progress-circle/progress-circle.component.d.ts +1 -1
- package/components/basic/progress/public_api.d.ts +0 -1
- package/components/basic/rich-text-editor/bundles/index.umd.js +15 -40
- package/components/basic/rich-text-editor/esm2022/public_api.mjs +1 -2
- package/components/basic/rich-text-editor/esm2022/rich-text-editor.component.mjs +13 -12
- package/components/basic/rich-text-editor/fesm2022/index.mjs +13 -37
- package/components/basic/rich-text-editor/fesm2022/index.mjs.map +1 -1
- package/components/basic/rich-text-editor/public_api.d.ts +0 -1
- package/components/basic/rich-text-editor/rich-text-editor.component.d.ts +1 -1
- package/components/basic/search/bundles/index.umd.js +170 -207
- package/components/basic/search/esm2022/public_api.mjs +1 -2
- package/components/basic/search/esm2022/scrollable.directive.mjs +3 -2
- package/components/basic/search/esm2022/search.component.mjs +76 -72
- package/components/basic/search/fesm2022/index.mjs +107 -143
- package/components/basic/search/fesm2022/index.mjs.map +1 -1
- package/components/basic/search/public_api.d.ts +0 -1
- package/components/basic/search/scrollable.directive.d.ts +1 -1
- package/components/basic/search/search.component.d.ts +1 -1
- package/components/basic/tree/bundles/index.umd.js +9 -33
- package/components/basic/tree/esm2022/public_api.mjs +1 -2
- package/components/basic/tree/esm2022/tree.component.mjs +7 -6
- package/components/basic/tree/fesm2022/index.mjs +8 -32
- package/components/basic/tree/fesm2022/index.mjs.map +1 -1
- package/components/basic/tree/public_api.d.ts +0 -1
- package/components/basic/tree/tree.component.d.ts +1 -1
- package/components/chart/bundles/index.umd.js +27 -53
- package/components/chart/chart.component.d.ts +1 -1
- package/components/chart/esm2022/chart.component.mjs +26 -24
- package/components/chart/esm2022/chart.utils.mjs +3 -1
- package/components/chart/esm2022/public_api.mjs +1 -2
- package/components/chart/fesm2022/index.mjs +27 -52
- package/components/chart/fesm2022/index.mjs.map +1 -1
- package/components/chart/public_api.d.ts +0 -1
- package/components/containers/accordion/accordion-pane/accordion-pane.component.d.ts +1 -1
- package/components/containers/accordion/accordion.directive.d.ts +1 -1
- package/components/containers/accordion/bundles/index.umd.js +208 -237
- package/components/containers/accordion/esm2022/accordion-pane/accordion-pane.component.mjs +10 -11
- package/components/containers/accordion/esm2022/accordion.directive.mjs +5 -4
- package/components/containers/accordion/esm2022/public_api.mjs +1 -2
- package/components/containers/accordion/fesm2022/index.mjs +189 -217
- package/components/containers/accordion/fesm2022/index.mjs.map +1 -1
- package/components/containers/accordion/public_api.d.ts +0 -1
- package/components/containers/layout-grid/bundles/index.umd.js +13 -43
- package/components/containers/layout-grid/esm2022/layout-grid-column/layout-grid-column.directive.mjs +7 -9
- package/components/containers/layout-grid/esm2022/layout-grid-row/layout-grid-row.directive.mjs +3 -2
- package/components/containers/layout-grid/esm2022/layout-grid.directive.mjs +3 -2
- package/components/containers/layout-grid/esm2022/public_api.mjs +1 -2
- package/components/containers/layout-grid/fesm2022/index.mjs +13 -43
- package/components/containers/layout-grid/fesm2022/index.mjs.map +1 -1
- package/components/containers/layout-grid/layout-grid-column/layout-grid-column.directive.d.ts +1 -1
- package/components/containers/layout-grid/layout-grid-row/layout-grid-row.directive.d.ts +1 -1
- package/components/containers/layout-grid/layout-grid.directive.d.ts +1 -1
- package/components/containers/layout-grid/public_api.d.ts +0 -1
- package/components/containers/linear-layout/bundles/index.umd.js +8 -33
- package/components/containers/linear-layout/esm2022/linear-layout-item/linear-layout-item.directive.mjs +3 -2
- package/components/containers/linear-layout/esm2022/linear-layout.directive.mjs +3 -2
- package/components/containers/linear-layout/esm2022/public_api.mjs +1 -2
- package/components/containers/linear-layout/fesm2022/index.mjs +7 -32
- package/components/containers/linear-layout/fesm2022/index.mjs.map +1 -1
- package/components/containers/linear-layout/linear-layout-item/linear-layout-item.directive.d.ts +1 -1
- package/components/containers/linear-layout/linear-layout.directive.d.ts +1 -1
- package/components/containers/linear-layout/public_api.d.ts +0 -1
- package/components/containers/panel/bundles/index.umd.js +87 -118
- package/components/containers/panel/esm2022/panel.component.mjs +48 -46
- package/components/containers/panel/esm2022/public_api.mjs +1 -2
- package/components/containers/panel/fesm2022/index.mjs +49 -79
- package/components/containers/panel/fesm2022/index.mjs.map +1 -1
- package/components/containers/panel/panel.component.d.ts +1 -1
- package/components/containers/panel/public_api.d.ts +0 -1
- package/components/containers/tabs/bundles/index.umd.js +112 -120
- package/components/containers/tabs/esm2022/public_api.mjs +1 -2
- package/components/containers/tabs/esm2022/tab-pane/tab-pane.component.mjs +8 -10
- package/components/containers/tabs/esm2022/tabs.component.mjs +61 -38
- package/components/containers/tabs/esm2022/tabs.props.mjs +2 -5
- package/components/containers/tabs/fesm2022/index.mjs +72 -81
- package/components/containers/tabs/fesm2022/index.mjs.map +1 -1
- package/components/containers/tabs/public_api.d.ts +0 -1
- package/components/containers/tabs/tab-pane/tab-pane.component.d.ts +1 -1
- package/components/containers/tabs/tabs.component.d.ts +3 -1
- package/components/containers/tile/bundles/index.umd.js +6 -29
- package/components/containers/tile/esm2022/public_api.mjs +1 -2
- package/components/containers/tile/esm2022/tile.directive.mjs +3 -2
- package/components/containers/tile/fesm2022/index.mjs +5 -28
- package/components/containers/tile/fesm2022/index.mjs.map +1 -1
- package/components/containers/tile/public_api.d.ts +0 -1
- package/components/containers/tile/tile.directive.d.ts +1 -1
- package/components/containers/wizard/bundles/index.umd.js +355 -189
- package/components/containers/wizard/esm2022/public_api.mjs +2 -3
- package/components/containers/wizard/esm2022/wizard-action/wizard-action.directive.mjs +3 -2
- package/components/containers/wizard/esm2022/wizard-step/wizard-step.component.mjs +176 -0
- package/components/containers/wizard/esm2022/wizard-step/wizard-step.props.mjs +8 -5
- package/components/containers/wizard/esm2022/wizard.component.mjs +264 -105
- package/components/containers/wizard/esm2022/wizard.props.mjs +8 -4
- package/components/containers/wizard/fesm2022/index.mjs +323 -155
- package/components/containers/wizard/fesm2022/index.mjs.map +1 -1
- package/components/containers/wizard/public_api.d.ts +1 -2
- package/components/containers/wizard/wizard-action/wizard-action.directive.d.ts +1 -1
- package/components/containers/wizard/wizard-step/{wizard-step.directive.d.ts → wizard-step.component.d.ts} +12 -6
- package/components/containers/wizard/wizard.component.d.ts +64 -18
- package/components/data/card/bundles/index.umd.js +92 -135
- package/components/data/card/card-actions/card-actions.directive.d.ts +1 -1
- package/components/data/card/card-content/card-content.component.d.ts +1 -1
- package/components/data/card/card-footer/card-footer.directive.d.ts +1 -1
- package/components/data/card/card.component.d.ts +1 -1
- package/components/data/card/esm2022/card-actions/card-actions.directive.mjs +3 -2
- package/components/data/card/esm2022/card-content/card-content.component.mjs +7 -6
- package/components/data/card/esm2022/card-footer/card-footer.directive.mjs +3 -2
- package/components/data/card/esm2022/card.component.mjs +39 -38
- package/components/data/card/esm2022/public_api.mjs +1 -2
- package/components/data/card/fesm2022/index.mjs +49 -92
- package/components/data/card/fesm2022/index.mjs.map +1 -1
- package/components/data/card/public_api.d.ts +0 -1
- package/components/data/form/bundles/index.umd.js +115 -182
- package/components/data/form/esm2022/form-action/form-action.directive.mjs +3 -2
- package/components/data/form/esm2022/form-field/form-field.directive.mjs +3 -2
- package/components/data/form/esm2022/form-widget.directive.mjs +3 -2
- package/components/data/form/esm2022/form.component.mjs +101 -104
- package/components/data/form/esm2022/form.props.mjs +1 -11
- package/components/data/form/esm2022/live-actions/dependson.directive.mjs +3 -2
- package/components/data/form/esm2022/live-actions/live-actions.directive.mjs +3 -2
- package/components/data/form/esm2022/live-filter/live-filter.directive.mjs +3 -2
- package/components/data/form/esm2022/live-form/live-form.directive.mjs +3 -6
- package/components/data/form/esm2022/public_api.mjs +1 -2
- package/components/data/form/fesm2022/index.mjs +117 -184
- package/components/data/form/fesm2022/index.mjs.map +1 -1
- package/components/data/form/form-action/form-action.directive.d.ts +1 -1
- package/components/data/form/form-field/form-field.directive.d.ts +1 -1
- package/components/data/form/form-widget.directive.d.ts +1 -1
- package/components/data/form/form.component.d.ts +1 -1
- package/components/data/form/live-actions/dependson.directive.d.ts +1 -1
- package/components/data/form/live-actions/live-actions.directive.d.ts +1 -1
- package/components/data/form/live-filter/live-filter.directive.d.ts +1 -1
- package/components/data/form/live-form/live-form.directive.d.ts +1 -1
- package/components/data/form/public_api.d.ts +0 -1
- package/components/data/list/bundles/index.umd.js +195 -504
- package/components/data/list/esm2022/list-item.directive.mjs +4 -3
- package/components/data/list/esm2022/list.component.mjs +187 -232
- package/components/data/list/esm2022/list.props.mjs +2 -3
- package/components/data/list/esm2022/public_api.mjs +1 -2
- package/components/data/list/fesm2022/index.mjs +193 -502
- package/components/data/list/fesm2022/index.mjs.map +1 -1
- package/components/data/list/list-item.directive.d.ts +1 -1
- package/components/data/list/list.component.d.ts +1 -1
- package/components/data/list/public_api.d.ts +0 -1
- package/components/data/live-table/bundles/index.umd.js +9 -33
- package/components/data/live-table/esm2022/live-table.component.mjs +7 -6
- package/components/data/live-table/esm2022/public_api.mjs +1 -2
- package/components/data/live-table/fesm2022/index.mjs +8 -32
- package/components/data/live-table/fesm2022/index.mjs.map +1 -1
- package/components/data/live-table/live-table.component.d.ts +1 -1
- package/components/data/live-table/public_api.d.ts +0 -1
- package/components/data/pagination/bundles/index.umd.js +80 -110
- package/components/data/pagination/esm2022/pagination.component.mjs +80 -76
- package/components/data/pagination/esm2022/public_api.mjs +1 -2
- package/components/data/pagination/fesm2022/index.mjs +81 -110
- package/components/data/pagination/fesm2022/index.mjs.map +1 -1
- package/components/data/pagination/pagination.component.d.ts +1 -1
- package/components/data/pagination/public_api.d.ts +0 -1
- package/components/data/table/bundles/index.umd.js +69 -135
- package/components/data/table/esm2022/public_api.mjs +1 -2
- package/components/data/table/esm2022/table-action/table-action.directive.mjs +3 -2
- package/components/data/table/esm2022/table-column/table-column.directive.mjs +3 -2
- package/components/data/table/esm2022/table-column-group/table-column-group.directive.mjs +3 -2
- package/components/data/table/esm2022/table-cud.directive.mjs +3 -2
- package/components/data/table/esm2022/table-filter.directive.mjs +5 -2
- package/components/data/table/esm2022/table-row/table-row.directive.mjs +3 -2
- package/components/data/table/esm2022/table-row-action/table-row-action.directive.mjs +3 -2
- package/components/data/table/esm2022/table.component.mjs +51 -48
- package/components/data/table/fesm2022/index.mjs +73 -140
- package/components/data/table/fesm2022/index.mjs.map +1 -1
- package/components/data/table/public_api.d.ts +0 -1
- package/components/data/table/table-action/table-action.directive.d.ts +1 -1
- package/components/data/table/table-column/table-column.directive.d.ts +1 -1
- package/components/data/table/table-column-group/table-column-group.directive.d.ts +1 -1
- package/components/data/table/table-cud.directive.d.ts +1 -1
- package/components/data/table/table-filter.directive.d.ts +1 -1
- package/components/data/table/table-row/table-row.directive.d.ts +1 -1
- package/components/data/table/table-row-action/table-row-action.directive.d.ts +1 -1
- package/components/data/table/table.component.d.ts +1 -1
- package/components/dialogs/alert-dialog/alert-dialog.component.d.ts +1 -1
- package/components/dialogs/alert-dialog/bundles/index.umd.js +32 -64
- package/components/dialogs/alert-dialog/esm2022/alert-dialog.component.mjs +10 -10
- package/components/dialogs/alert-dialog/esm2022/public_api.mjs +1 -2
- package/components/dialogs/alert-dialog/fesm2022/index.mjs +11 -43
- package/components/dialogs/alert-dialog/fesm2022/index.mjs.map +1 -1
- package/components/dialogs/alert-dialog/public_api.d.ts +0 -1
- package/components/dialogs/confirm-dialog/bundles/index.umd.js +10 -42
- package/components/dialogs/confirm-dialog/confirm-dialog.component.d.ts +1 -1
- package/components/dialogs/confirm-dialog/esm2022/confirm-dialog.component.mjs +9 -9
- package/components/dialogs/confirm-dialog/esm2022/public_api.mjs +1 -2
- package/components/dialogs/confirm-dialog/fesm2022/index.mjs +10 -42
- package/components/dialogs/confirm-dialog/fesm2022/index.mjs.map +1 -1
- package/components/dialogs/confirm-dialog/public_api.d.ts +0 -1
- package/components/dialogs/default/bundles/index.umd.js +76 -136
- package/components/dialogs/default/dialog-body/dialog-body.directive.d.ts +1 -1
- package/components/dialogs/default/dialog-footer/dialog-footer.directive.d.ts +1 -1
- package/components/dialogs/default/dialog-header/dialog-header.component.d.ts +1 -1
- package/components/dialogs/default/esm2022/base-dialog.mjs +3 -3
- package/components/dialogs/default/esm2022/dialog-body/dialog-body.directive.mjs +3 -2
- package/components/dialogs/default/esm2022/dialog-footer/dialog-footer.directive.mjs +3 -2
- package/components/dialogs/default/esm2022/dialog-header/dialog-header.component.mjs +70 -97
- package/components/dialogs/default/esm2022/public_api.mjs +1 -2
- package/components/dialogs/default/fesm2022/index.mjs +78 -137
- package/components/dialogs/default/fesm2022/index.mjs.map +1 -1
- package/components/dialogs/default/public_api.d.ts +0 -1
- package/components/dialogs/design-dialog/bundles/index.umd.js +16 -47
- package/components/dialogs/design-dialog/dialog.component.d.ts +1 -1
- package/components/dialogs/design-dialog/esm2022/dialog.component.mjs +14 -13
- package/components/dialogs/design-dialog/esm2022/public_api.mjs +1 -2
- package/components/dialogs/design-dialog/fesm2022/index.mjs +14 -45
- package/components/dialogs/design-dialog/fesm2022/index.mjs.map +1 -1
- package/components/dialogs/design-dialog/public_api.d.ts +0 -1
- package/components/dialogs/iframe-dialog/bundles/index.umd.js +20 -57
- package/components/dialogs/iframe-dialog/esm2022/iframe-dialog.component.mjs +21 -21
- package/components/dialogs/iframe-dialog/esm2022/public_api.mjs +1 -2
- package/components/dialogs/iframe-dialog/fesm2022/index.mjs +21 -57
- package/components/dialogs/iframe-dialog/fesm2022/index.mjs.map +1 -1
- package/components/dialogs/iframe-dialog/iframe-dialog.component.d.ts +1 -1
- package/components/dialogs/iframe-dialog/public_api.d.ts +0 -1
- package/components/dialogs/login-dialog/bundles/index.umd.js +6 -38
- package/components/dialogs/login-dialog/esm2022/login-dialog.directive.mjs +3 -2
- package/components/dialogs/login-dialog/esm2022/public_api.mjs +1 -2
- package/components/dialogs/login-dialog/fesm2022/index.mjs +6 -41
- package/components/dialogs/login-dialog/fesm2022/index.mjs.map +1 -1
- package/components/dialogs/login-dialog/login-dialog.directive.d.ts +1 -1
- package/components/dialogs/login-dialog/public_api.d.ts +0 -1
- package/components/dialogs/partial-dialog/bundles/index.umd.js +17 -49
- package/components/dialogs/partial-dialog/esm2022/partial-dialog.component.mjs +16 -15
- package/components/dialogs/partial-dialog/esm2022/public_api.mjs +1 -2
- package/components/dialogs/partial-dialog/fesm2022/index.mjs +16 -47
- package/components/dialogs/partial-dialog/fesm2022/index.mjs.map +1 -1
- package/components/dialogs/partial-dialog/partial-dialog.component.d.ts +1 -1
- package/components/dialogs/partial-dialog/public_api.d.ts +0 -1
- package/components/input/calendar/bundles/index.umd.js +24 -46
- package/components/input/calendar/calendar.component.d.ts +1 -1
- package/components/input/calendar/esm2022/calendar.component.mjs +28 -10
- package/components/input/calendar/esm2022/calendar.props.mjs +1 -1
- package/components/input/calendar/esm2022/public_api.mjs +1 -2
- package/components/input/calendar/fesm2022/index.mjs +30 -48
- package/components/input/calendar/fesm2022/index.mjs.map +1 -1
- package/components/input/calendar/public_api.d.ts +0 -1
- package/components/input/chips/bundles/index.umd.js +86 -114
- package/components/input/chips/chips.component.d.ts +1 -1
- package/components/input/chips/esm2022/chips.component.mjs +28 -27
- package/components/input/chips/esm2022/public_api.mjs +1 -2
- package/components/input/chips/fesm2022/index.mjs +29 -56
- package/components/input/chips/fesm2022/index.mjs.map +1 -1
- package/components/input/chips/public_api.d.ts +0 -1
- package/components/input/color-picker/bundles/index.umd.js +14 -42
- package/components/input/color-picker/color-picker.component.d.ts +1 -1
- package/components/input/color-picker/esm2022/color-picker.component.mjs +14 -8
- package/components/input/color-picker/esm2022/public_api.mjs +1 -2
- package/components/input/color-picker/fesm2022/index.mjs +15 -42
- package/components/input/color-picker/fesm2022/index.mjs.map +1 -1
- package/components/input/color-picker/public_api.d.ts +0 -1
- package/components/input/currency/bundles/index.umd.js +11 -41
- package/components/input/currency/currency.component.d.ts +1 -1
- package/components/input/currency/esm2022/currency.component.mjs +8 -6
- package/components/input/currency/esm2022/public_api.mjs +1 -2
- package/components/input/currency/fesm2022/index.mjs +11 -41
- package/components/input/currency/fesm2022/index.mjs.map +1 -1
- package/components/input/currency/public_api.d.ts +0 -1
- package/components/input/default/bundles/index.umd.js +2183 -2263
- package/components/input/default/button/button.component.d.ts +1 -1
- package/components/input/default/button-group/button-group.directive.d.ts +1 -1
- package/components/input/default/caption-position.directive.d.ts +1 -1
- package/components/input/default/checkbox/checkbox.component.d.ts +1 -1
- package/components/input/default/checkboxset/checkboxset.component.d.ts +1 -1
- package/components/input/default/composite/composite.directive.d.ts +1 -1
- package/components/input/default/esm2022/button/button.component.mjs +23 -21
- package/components/input/default/esm2022/button-group/button-group.directive.mjs +3 -2
- package/components/input/default/esm2022/caption-position.directive.mjs +3 -2
- package/components/input/default/esm2022/checkbox/checkbox.component.mjs +9 -6
- package/components/input/default/esm2022/checkboxset/checkboxset.component.mjs +73 -72
- package/components/input/default/esm2022/composite/composite.directive.mjs +3 -2
- package/components/input/default/esm2022/number/number.component.mjs +9 -6
- package/components/input/default/esm2022/public_api.mjs +1 -2
- package/components/input/default/esm2022/radioset/radioset.component.mjs +73 -72
- package/components/input/default/esm2022/select/select.component.mjs +29 -32
- package/components/input/default/esm2022/switch/switch.component.mjs +29 -27
- package/components/input/default/esm2022/text/calendar/input-calendar.component.mjs +9 -6
- package/components/input/default/esm2022/text/color/input-color.component.mjs +9 -6
- package/components/input/default/esm2022/text/email/input-email.component.mjs +9 -6
- package/components/input/default/esm2022/text/number/input-number.component.mjs +9 -6
- package/components/input/default/esm2022/text/text/input-text.component.mjs +10 -6
- package/components/input/default/esm2022/textarea/textarea.component.mjs +14 -11
- package/components/input/default/fesm2022/index.mjs +2198 -2277
- package/components/input/default/fesm2022/index.mjs.map +1 -1
- package/components/input/default/number/number.component.d.ts +1 -1
- package/components/input/default/public_api.d.ts +0 -1
- package/components/input/default/radioset/radioset.component.d.ts +1 -1
- package/components/input/default/select/select.component.d.ts +1 -1
- package/components/input/default/switch/switch.component.d.ts +1 -1
- package/components/input/default/text/calendar/input-calendar.component.d.ts +1 -1
- package/components/input/default/text/color/input-color.component.d.ts +1 -1
- package/components/input/default/text/email/input-email.component.d.ts +1 -1
- package/components/input/default/text/number/input-number.component.d.ts +1 -1
- package/components/input/default/text/text/input-text.component.d.ts +1 -1
- package/components/input/default/textarea/textarea.component.d.ts +1 -1
- package/components/input/epoch/base-date-time.component.d.ts +0 -1
- package/components/input/epoch/bundles/index.umd.js +220 -262
- package/components/input/epoch/date/date.component.d.ts +1 -1
- package/components/input/epoch/date/imaskUtil.d.ts +2 -2
- package/components/input/epoch/date-time/date-time-picker.component.d.ts +6 -6
- package/components/input/epoch/date-time/date-time.component.d.ts +1 -1
- package/components/input/epoch/esm2022/base-date-time.component.mjs +6 -9
- package/components/input/epoch/esm2022/date/date.component.mjs +19 -18
- package/components/input/epoch/esm2022/date/imaskUtil.mjs +3 -1
- package/components/input/epoch/esm2022/date-time/date-time-picker.component.mjs +76 -62
- package/components/input/epoch/esm2022/date-time/date-time.component.mjs +28 -24
- package/components/input/epoch/esm2022/picker/picker.component.mjs +33 -28
- package/components/input/epoch/esm2022/public_api.mjs +1 -2
- package/components/input/epoch/esm2022/time/time.component.mjs +25 -21
- package/components/input/epoch/fesm2022/index.mjs +196 -237
- package/components/input/epoch/fesm2022/index.mjs.map +1 -1
- package/components/input/epoch/picker/picker.component.d.ts +2 -2
- package/components/input/epoch/public_api.d.ts +0 -1
- package/components/input/epoch/time/time.component.d.ts +1 -1
- package/components/input/file-upload/bundles/index.umd.js +135 -178
- package/components/input/file-upload/esm2022/file-upload.component.mjs +133 -150
- package/components/input/file-upload/esm2022/public_api.mjs +1 -2
- package/components/input/file-upload/fesm2022/index.mjs +133 -175
- package/components/input/file-upload/fesm2022/index.mjs.map +1 -1
- package/components/input/file-upload/file-upload.component.d.ts +1 -2
- package/components/input/file-upload/public_api.d.ts +0 -1
- package/components/input/rating/bundles/index.umd.js +50 -77
- package/components/input/rating/esm2022/public_api.mjs +1 -2
- package/components/input/rating/esm2022/rating.component.mjs +23 -20
- package/components/input/rating/fesm2022/index.mjs +23 -49
- package/components/input/rating/fesm2022/index.mjs.map +1 -1
- package/components/input/rating/public_api.d.ts +0 -1
- package/components/input/rating/rating.component.d.ts +1 -1
- package/components/input/slider/bundles/index.umd.js +35 -63
- package/components/input/slider/esm2022/public_api.mjs +1 -2
- package/components/input/slider/esm2022/slider.component.mjs +15 -13
- package/components/input/slider/fesm2022/index.mjs +15 -42
- package/components/input/slider/fesm2022/index.mjs.map +1 -1
- package/components/input/slider/public_api.d.ts +0 -1
- package/components/input/slider/slider.component.d.ts +1 -1
- package/components/navigation/breadcrumb/breadcrumb.component.d.ts +1 -1
- package/components/navigation/breadcrumb/bundles/index.umd.js +40 -67
- package/components/navigation/breadcrumb/esm2022/breadcrumb.component.mjs +23 -21
- package/components/navigation/breadcrumb/esm2022/public_api.mjs +1 -2
- package/components/navigation/breadcrumb/fesm2022/index.mjs +23 -50
- package/components/navigation/breadcrumb/fesm2022/index.mjs.map +1 -1
- package/components/navigation/breadcrumb/public_api.d.ts +0 -1
- package/components/navigation/menu/bundles/index.umd.js +642 -696
- package/components/navigation/menu/esm2022/menu-adapator.component.mjs +1 -1
- package/components/navigation/menu/esm2022/menu-dropdown/menu-dropdown.component.mjs +11 -9
- package/components/navigation/menu/esm2022/menu-dropdown-item/menu-dropdown-item.component.mjs +24 -18
- package/components/navigation/menu/esm2022/menu.component.mjs +34 -31
- package/components/navigation/menu/esm2022/nav/nav-item/nav-item.directive.mjs +3 -2
- package/components/navigation/menu/esm2022/nav/nav.component.mjs +39 -29
- package/components/navigation/menu/esm2022/nav/navigation-control.directive.mjs +6 -3
- package/components/navigation/menu/esm2022/public_api.mjs +1 -2
- package/components/navigation/menu/fesm2022/index.mjs +534 -587
- package/components/navigation/menu/fesm2022/index.mjs.map +1 -1
- package/components/navigation/menu/menu-dropdown/menu-dropdown.component.d.ts +1 -1
- package/components/navigation/menu/menu-dropdown-item/menu-dropdown-item.component.d.ts +1 -1
- package/components/navigation/menu/menu.component.d.ts +1 -1
- package/components/navigation/menu/nav/nav-item/nav-item.directive.d.ts +1 -1
- package/components/navigation/menu/nav/nav.component.d.ts +1 -1
- package/components/navigation/menu/nav/navigation-control.directive.d.ts +1 -1
- package/components/navigation/menu/public_api.d.ts +0 -1
- package/components/navigation/navbar/bundles/index.umd.js +20 -44
- package/components/navigation/navbar/esm2022/navbar.component.mjs +18 -16
- package/components/navigation/navbar/esm2022/public_api.mjs +1 -2
- package/components/navigation/navbar/fesm2022/index.mjs +18 -41
- package/components/navigation/navbar/fesm2022/index.mjs.map +1 -1
- package/components/navigation/navbar/navbar.component.d.ts +1 -1
- package/components/navigation/navbar/public_api.d.ts +0 -1
- package/components/navigation/popover/bundles/index.umd.js +12 -43
- package/components/navigation/popover/esm2022/popover.component.mjs +11 -9
- package/components/navigation/popover/esm2022/public_api.mjs +1 -2
- package/components/navigation/popover/fesm2022/index.mjs +11 -41
- package/components/navigation/popover/fesm2022/index.mjs.map +1 -1
- package/components/navigation/popover/popover.component.d.ts +1 -1
- package/components/navigation/popover/public_api.d.ts +0 -1
- package/components/page/default/bundles/index.umd.js +96 -138
- package/components/page/default/content/content.component.d.ts +1 -1
- package/components/page/default/esm2022/content/content.component.mjs +7 -6
- package/components/page/default/esm2022/layout.directive.mjs +3 -2
- package/components/page/default/esm2022/page-content/page-content.component.mjs +7 -6
- package/components/page/default/esm2022/page-content/page-content.props.mjs +2 -3
- package/components/page/default/esm2022/page.directive.mjs +3 -2
- package/components/page/default/esm2022/public_api.mjs +1 -2
- package/components/page/default/esm2022/router-outlet.directive.mjs +3 -2
- package/components/page/default/esm2022/spa-page.directive.mjs +3 -2
- package/components/page/default/fesm2022/index.mjs +96 -138
- package/components/page/default/fesm2022/index.mjs.map +1 -1
- package/components/page/default/layout.directive.d.ts +1 -1
- package/components/page/default/page-content/page-content.component.d.ts +1 -1
- package/components/page/default/page.directive.d.ts +1 -1
- package/components/page/default/public_api.d.ts +0 -1
- package/components/page/default/router-outlet.directive.d.ts +1 -1
- package/components/page/default/spa-page.directive.d.ts +1 -1
- package/components/page/footer/bundles/index.umd.js +6 -29
- package/components/page/footer/esm2022/footer.directive.mjs +3 -2
- package/components/page/footer/esm2022/public_api.mjs +1 -2
- package/components/page/footer/fesm2022/index.mjs +5 -28
- package/components/page/footer/fesm2022/index.mjs.map +1 -1
- package/components/page/footer/footer.directive.d.ts +1 -1
- package/components/page/footer/public_api.d.ts +0 -1
- package/components/page/header/bundles/index.umd.js +9 -33
- package/components/page/header/esm2022/header.component.mjs +7 -6
- package/components/page/header/esm2022/public_api.mjs +1 -2
- package/components/page/header/fesm2022/index.mjs +8 -32
- package/components/page/header/fesm2022/index.mjs.map +1 -1
- package/components/page/header/header.component.d.ts +1 -1
- package/components/page/header/public_api.d.ts +0 -1
- package/components/page/left-panel/bundles/index.umd.js +6 -29
- package/components/page/left-panel/esm2022/left-panel.directive.mjs +3 -2
- package/components/page/left-panel/esm2022/public_api.mjs +1 -2
- package/components/page/left-panel/fesm2022/index.mjs +5 -28
- package/components/page/left-panel/fesm2022/index.mjs.map +1 -1
- package/components/page/left-panel/left-panel.directive.d.ts +1 -1
- package/components/page/left-panel/public_api.d.ts +0 -1
- package/components/page/right-panel/bundles/index.umd.js +6 -29
- package/components/page/right-panel/esm2022/public_api.mjs +1 -2
- package/components/page/right-panel/esm2022/right-panel.directive.mjs +3 -2
- package/components/page/right-panel/fesm2022/index.mjs +5 -28
- package/components/page/right-panel/fesm2022/index.mjs.map +1 -1
- package/components/page/right-panel/public_api.d.ts +0 -1
- package/components/page/right-panel/right-panel.directive.d.ts +1 -1
- package/components/page/top-nav/bundles/index.umd.js +6 -29
- package/components/page/top-nav/esm2022/public_api.mjs +1 -2
- package/components/page/top-nav/esm2022/top-nav.directive.mjs +3 -2
- package/components/page/top-nav/fesm2022/index.mjs +5 -28
- package/components/page/top-nav/fesm2022/index.mjs.map +1 -1
- package/components/page/top-nav/public_api.d.ts +0 -1
- package/components/page/top-nav/top-nav.directive.d.ts +1 -1
- package/components/prefab/bundles/index.umd.js +8 -33
- package/components/prefab/esm2022/prefab-container/prefab-container.directive.mjs +3 -2
- package/components/prefab/esm2022/prefab.directive.mjs +3 -2
- package/components/prefab/esm2022/public_api.mjs +1 -2
- package/components/prefab/fesm2022/index.mjs +7 -32
- package/components/prefab/fesm2022/index.mjs.map +1 -1
- package/components/prefab/prefab-container/prefab-container.directive.d.ts +1 -1
- package/components/prefab/prefab.directive.d.ts +1 -1
- package/components/prefab/public_api.d.ts +0 -1
- package/core/bundles/index.umd.js +32 -85
- package/core/esm2022/public_api.mjs +2 -3
- package/core/esm2022/types/types.mjs +1 -1
- package/core/esm2022/utils/build-utils.mjs +9 -5
- package/core/esm2022/utils/utils.mjs +12 -40
- package/core/fesm2022/index.mjs +32 -81
- package/core/fesm2022/index.mjs.map +1 -1
- package/core/public_api.d.ts +1 -2
- package/core/types/types.d.ts +1 -0
- package/core/utils/utils.d.ts +1 -3
- package/http/bundles/index.umd.js +9 -34
- package/http/esm2022/http.service.mjs +6 -3
- package/http/esm2022/public_api.mjs +4 -2
- package/http/fesm2022/index.mjs +9 -34
- package/http/fesm2022/index.mjs.map +1 -1
- package/http/public_api.d.ts +3 -1
- package/npm-shrinkwrap.json +2 -2
- package/oAuth/bundles/index.umd.js +9 -42
- package/oAuth/esm2022/oAuth.utils.mjs +7 -23
- package/oAuth/esm2022/public_api.mjs +1 -2
- package/oAuth/fesm2022/index.mjs +8 -40
- package/oAuth/fesm2022/index.mjs.map +1 -1
- package/oAuth/public_api.d.ts +0 -1
- package/package-lock.json +2 -2
- package/package.json +1 -1
- package/runtime/base/bundles/index.umd.js +690 -596
- package/runtime/base/components/app-component/app.component.d.ts +1 -1
- package/runtime/base/components/app-spinner.component.d.ts +1 -1
- package/runtime/base/components/custom-toaster.component.d.ts +1 -1
- package/runtime/base/components/empty-component/empty-page.component.d.ts +1 -1
- package/runtime/base/components/prefab-preview.component.d.ts +1 -1
- package/runtime/base/directives/accessroles.directive.d.ts +1 -1
- package/runtime/base/directives/prefab.directive.d.ts +1 -1
- package/runtime/base/esm2022/components/app-component/app.component.mjs +42 -49
- package/runtime/base/esm2022/components/app-spinner.component.mjs +29 -21
- package/runtime/base/esm2022/components/base-page.component.mjs +3 -11
- package/runtime/base/esm2022/components/base-spa-page.component.mjs +3 -11
- package/runtime/base/esm2022/components/custom-toaster.component.mjs +20 -14
- package/runtime/base/esm2022/components/empty-component/empty-page.component.mjs +4 -3
- package/runtime/base/esm2022/components/prefab-preview.component.mjs +8 -6
- package/runtime/base/esm2022/directives/accessroles.directive.mjs +3 -2
- package/runtime/base/esm2022/directives/prefab.directive.mjs +3 -2
- package/runtime/base/esm2022/public_api.mjs +1 -1
- package/runtime/base/esm2022/resolves/security-config.resolve.mjs +4 -6
- package/runtime/base/esm2022/runtime-base.module.mjs +486 -337
- package/runtime/base/esm2022/services/app.manager.service.mjs +31 -48
- package/runtime/base/esm2022/services/app.service.mjs +8 -1
- package/runtime/base/esm2022/services/i18n.service.mjs +39 -72
- package/runtime/base/fesm2022/index.mjs +697 -605
- package/runtime/base/fesm2022/index.mjs.map +1 -1
- package/runtime/base/runtime-base.module.d.ts +115 -84
- package/runtime/base/services/app.service.d.ts +1 -0
- package/runtime/base/services/i18n.service.d.ts +1 -1
- package/runtime/dynamic/app/app.config.d.ts +5 -0
- package/runtime/dynamic/app/components/page-wrapper.component.d.ts +1 -1
- package/runtime/dynamic/bundles/index.umd.js +270 -117
- package/runtime/dynamic/esm2022/app/app.config.mjs +136 -0
- package/runtime/dynamic/esm2022/app/app.module.mjs +151 -105
- package/runtime/dynamic/esm2022/app/components/page-wrapper.component.mjs +7 -4
- package/runtime/dynamic/esm2022/app/services/component-ref-provider.service.mjs +1 -1
- package/runtime/dynamic/esm2022/main.mjs +11 -16
- package/runtime/dynamic/fesm2022/index.mjs +340 -184
- package/runtime/dynamic/fesm2022/index.mjs.map +1 -1
- package/security/bundles/index.umd.js +3 -34
- package/security/esm2022/public_api.mjs +1 -2
- package/security/esm2022/security.service.mjs +4 -15
- package/security/fesm2022/index.mjs +5 -32
- package/security/fesm2022/index.mjs.map +1 -1
- package/security/public_api.d.ts +0 -1
- package/transpiler/bundles/index.umd.js +271 -168
- package/transpiler/esm2022/build.mjs +1 -6
- package/transpiler/esm2022/imports.mjs +268 -161
- package/transpiler/fesm2022/index.mjs +267 -165
- package/transpiler/fesm2022/index.mjs.map +1 -1
- package/variables/bundles/index.umd.js +16 -197
- package/variables/constants/variables.constants.d.ts +0 -2
- package/variables/esm2022/constants/variables.constants.mjs +1 -3
- package/variables/esm2022/factory/variable-manager.factory.mjs +1 -3
- package/variables/esm2022/factory/variable.factory.mjs +1 -5
- package/variables/esm2022/manager/action/logout-action.manager.mjs +5 -7
- package/variables/esm2022/manager/variable/web-socket-variable.manager.mjs +3 -3
- package/variables/esm2022/public_api.mjs +1 -5
- package/variables/esm2022/service/metadata-service/metadata.service.mjs +6 -11
- package/variables/esm2022/util/variable/service-variable.utils.mjs +1 -4
- package/variables/esm2022/util/variable/variables.utils.mjs +5 -19
- package/variables/fesm2022/index.mjs +16 -198
- package/variables/fesm2022/index.mjs.map +1 -1
- package/variables/public_api.d.ts +0 -4
- package/components/advanced/carousel/carousel.module.d.ts +0 -11
- package/components/advanced/carousel/esm2022/carousel.module.mjs +0 -36
- package/components/advanced/custom/custom-widget.module.d.ts +0 -10
- package/components/advanced/custom/esm2022/custom-widget.module.mjs +0 -32
- package/components/advanced/login/esm2022/login.module.mjs +0 -28
- package/components/advanced/login/login.module.d.ts +0 -9
- package/components/advanced/marquee/esm2022/marquee.module.mjs +0 -28
- package/components/advanced/marquee/marquee.module.d.ts +0 -9
- package/components/base/esm2022/widgets/common/smooth-scroll/smooth-scroll.directive.mjs +0 -221
- package/components/base/widgets/common/smooth-scroll/smooth-scroll.directive.d.ts +0 -22
- package/components/basic/default/basic.module.d.ts +0 -17
- package/components/basic/default/esm2022/basic.module.mjs +0 -60
- package/components/basic/progress/esm2022/progress.module.mjs +0 -36
- package/components/basic/progress/progress.module.d.ts +0 -11
- package/components/basic/rich-text-editor/esm2022/rich-text-editor.module.mjs +0 -28
- package/components/basic/rich-text-editor/rich-text-editor.module.d.ts +0 -9
- package/components/basic/search/esm2022/search.module.mjs +0 -45
- package/components/basic/search/search.module.d.ts +0 -12
- package/components/basic/tree/esm2022/tree.module.mjs +0 -28
- package/components/basic/tree/tree.module.d.ts +0 -9
- package/components/chart/chart.module.d.ts +0 -10
- package/components/chart/esm2022/chart.module.mjs +0 -32
- package/components/containers/accordion/accordion.module.d.ts +0 -10
- package/components/containers/accordion/esm2022/accordion.module.mjs +0 -32
- package/components/containers/layout-grid/esm2022/layout-grid.module.mjs +0 -36
- package/components/containers/layout-grid/layout-grid.module.d.ts +0 -11
- package/components/containers/linear-layout/esm2022/linear-layout.module.mjs +0 -32
- package/components/containers/linear-layout/linear-layout.module.d.ts +0 -10
- package/components/containers/panel/esm2022/panel.module.mjs +0 -36
- package/components/containers/panel/panel.module.d.ts +0 -11
- package/components/containers/tabs/esm2022/tabs.module.mjs +0 -32
- package/components/containers/tabs/tabs.module.d.ts +0 -10
- package/components/containers/tile/esm2022/tile.module.mjs +0 -28
- package/components/containers/tile/tile.module.d.ts +0 -9
- package/components/containers/wizard/esm2022/wizard-step/wizard-step.directive.mjs +0 -140
- package/components/containers/wizard/esm2022/wizard.module.mjs +0 -40
- package/components/containers/wizard/wizard.module.d.ts +0 -12
- package/components/data/card/card.module.d.ts +0 -15
- package/components/data/card/esm2022/card.module.mjs +0 -52
- package/components/data/form/esm2022/form.module.mjs +0 -68
- package/components/data/form/form.module.d.ts +0 -19
- package/components/data/list/esm2022/list.module.mjs +0 -40
- package/components/data/list/list.module.d.ts +0 -11
- package/components/data/live-table/esm2022/live-table.module.mjs +0 -28
- package/components/data/live-table/live-table.module.d.ts +0 -9
- package/components/data/pagination/esm2022/pagination.module.mjs +0 -36
- package/components/data/pagination/pagination.module.d.ts +0 -11
- package/components/data/table/esm2022/table.module.mjs +0 -91
- package/components/data/table/table.module.d.ts +0 -24
- package/components/dialogs/alert-dialog/alert-dialog.module.d.ts +0 -11
- package/components/dialogs/alert-dialog/esm2022/alert-dialog.module.mjs +0 -36
- package/components/dialogs/confirm-dialog/confirm-dialog.module.d.ts +0 -11
- package/components/dialogs/confirm-dialog/esm2022/confirm-dialog.module.mjs +0 -36
- package/components/dialogs/default/dialog.module.d.ts +0 -12
- package/components/dialogs/default/esm2022/dialog.module.mjs +0 -40
- package/components/dialogs/design-dialog/design-dialog.module.d.ts +0 -11
- package/components/dialogs/design-dialog/esm2022/design-dialog.module.mjs +0 -36
- package/components/dialogs/iframe-dialog/esm2022/iframe-dialog.module.mjs +0 -40
- package/components/dialogs/iframe-dialog/iframe-dialog.module.d.ts +0 -12
- package/components/dialogs/login-dialog/esm2022/login-dialog.module.mjs +0 -40
- package/components/dialogs/login-dialog/login-dialog.module.d.ts +0 -12
- package/components/dialogs/partial-dialog/esm2022/partial-dialog.module.mjs +0 -36
- package/components/dialogs/partial-dialog/partial-dialog.module.d.ts +0 -11
- package/components/input/calendar/calendar.module.d.ts +0 -12
- package/components/input/calendar/esm2022/calendar.module.mjs +0 -40
- package/components/input/chips/chips.module.d.ts +0 -10
- package/components/input/chips/esm2022/chips.module.mjs +0 -32
- package/components/input/color-picker/color-picker.module.d.ts +0 -11
- package/components/input/color-picker/esm2022/color-picker.module.mjs +0 -36
- package/components/input/currency/currency.module.d.ts +0 -11
- package/components/input/currency/esm2022/currency.module.mjs +0 -36
- package/components/input/default/esm2022/input.module.mjs +0 -96
- package/components/input/default/input.module.d.ts +0 -26
- package/components/input/epoch/epoch.module.d.ts +0 -18
- package/components/input/epoch/esm2022/epoch.module.mjs +0 -70
- package/components/input/file-upload/esm2022/file-upload.module.mjs +0 -28
- package/components/input/file-upload/file-upload.module.d.ts +0 -9
- package/components/input/rating/esm2022/rating.module.mjs +0 -32
- package/components/input/rating/rating.module.d.ts +0 -10
- package/components/input/slider/esm2022/slider.module.mjs +0 -32
- package/components/input/slider/slider.module.d.ts +0 -10
- package/components/navigation/breadcrumb/breadcrumb.module.d.ts +0 -10
- package/components/navigation/breadcrumb/esm2022/breadcrumb.module.mjs +0 -32
- package/components/navigation/menu/esm2022/menu.module.mjs +0 -71
- package/components/navigation/menu/menu.module.d.ts +0 -17
- package/components/navigation/navbar/esm2022/navbar.module.mjs +0 -28
- package/components/navigation/navbar/navbar.module.d.ts +0 -9
- package/components/navigation/popover/esm2022/popover.module.mjs +0 -36
- package/components/navigation/popover/popover.module.d.ts +0 -11
- package/components/page/default/esm2022/page.module.mjs +0 -55
- package/components/page/default/page.module.d.ts +0 -14
- package/components/page/footer/esm2022/footer.module.mjs +0 -28
- package/components/page/footer/footer.module.d.ts +0 -9
- package/components/page/header/esm2022/header.module.mjs +0 -28
- package/components/page/header/header.module.d.ts +0 -9
- package/components/page/left-panel/esm2022/left-panel.module.mjs +0 -28
- package/components/page/left-panel/left-panel.module.d.ts +0 -9
- package/components/page/right-panel/esm2022/right-panel.module.mjs +0 -28
- package/components/page/right-panel/right-panel.module.d.ts +0 -9
- package/components/page/top-nav/esm2022/top-nav.module.mjs +0 -28
- package/components/page/top-nav/top-nav.module.d.ts +0 -9
- package/components/prefab/esm2022/prefab.module.mjs +0 -32
- package/components/prefab/prefab.module.d.ts +0 -10
- package/core/core.module.d.ts +0 -9
- package/core/esm2022/core.module.mjs +0 -27
- package/http/esm2022/http-service.module.mjs +0 -36
- package/http/http-service.module.d.ts +0 -14
- package/locales/fullcalendar/af.js +0 -27
- package/locales/fullcalendar/ar-dz.js +0 -28
- package/locales/fullcalendar/ar-kw.js +0 -28
- package/locales/fullcalendar/ar-ly.js +0 -28
- package/locales/fullcalendar/ar-ma.js +0 -28
- package/locales/fullcalendar/ar-sa.js +0 -28
- package/locales/fullcalendar/ar-tn.js +0 -28
- package/locales/fullcalendar/ar.js +0 -28
- package/locales/fullcalendar/az.js +0 -29
- package/locales/fullcalendar/bg.js +0 -28
- package/locales/fullcalendar/bs.js +0 -29
- package/locales/fullcalendar/ca.js +0 -27
- package/locales/fullcalendar/cs.js +0 -29
- package/locales/fullcalendar/da.js +0 -27
- package/locales/fullcalendar/de.js +0 -30
- package/locales/fullcalendar/el.js +0 -27
- package/locales/fullcalendar/en-au.js +0 -14
- package/locales/fullcalendar/en-gb.js +0 -14
- package/locales/fullcalendar/en-nz.js +0 -14
- package/locales/fullcalendar/es-us.js +0 -27
- package/locales/fullcalendar/es.js +0 -27
- package/locales/fullcalendar/et.js +0 -29
- package/locales/fullcalendar/eu.js +0 -27
- package/locales/fullcalendar/fa.js +0 -30
- package/locales/fullcalendar/fi.js +0 -27
- package/locales/fullcalendar/fr-ca.js +0 -24
- package/locales/fullcalendar/fr-ch.js +0 -28
- package/locales/fullcalendar/fr.js +0 -28
- package/locales/fullcalendar/gl.js +0 -27
- package/locales/fullcalendar/he.js +0 -24
- package/locales/fullcalendar/hi.js +0 -29
- package/locales/fullcalendar/hr.js +0 -29
- package/locales/fullcalendar/hu.js +0 -27
- package/locales/fullcalendar/id.js +0 -27
- package/locales/fullcalendar/is.js +0 -27
- package/locales/fullcalendar/it.js +0 -29
- package/locales/fullcalendar/ja.js +0 -25
- package/locales/fullcalendar/ka.js +0 -29
- package/locales/fullcalendar/kk.js +0 -29
- package/locales/fullcalendar/ko.js +0 -23
- package/locales/fullcalendar/lb.js +0 -27
- package/locales/fullcalendar/lt.js +0 -27
- package/locales/fullcalendar/lv.js +0 -29
- package/locales/fullcalendar/mk.js +0 -25
- package/locales/fullcalendar/ms.js +0 -29
- package/locales/fullcalendar/nb.js +0 -27
- package/locales/fullcalendar/ne.js +0 -27
- package/locales/fullcalendar/nl.js +0 -27
- package/locales/fullcalendar/nn.js +0 -27
- package/locales/fullcalendar/pl.js +0 -27
- package/locales/fullcalendar/pt-br.js +0 -25
- package/locales/fullcalendar/pt.js +0 -27
- package/locales/fullcalendar/ro.js +0 -29
- package/locales/fullcalendar/ru.js +0 -29
- package/locales/fullcalendar/sk.js +0 -29
- package/locales/fullcalendar/sl.js +0 -27
- package/locales/fullcalendar/sq.js +0 -29
- package/locales/fullcalendar/sr-cyrl.js +0 -29
- package/locales/fullcalendar/sr.js +0 -29
- package/locales/fullcalendar/sv.js +0 -27
- package/locales/fullcalendar/th.js +0 -30
- package/locales/fullcalendar/tr.js +0 -27
- package/locales/fullcalendar/ug.js +0 -17
- package/locales/fullcalendar/uk.js +0 -29
- package/locales/fullcalendar/uz.js +0 -21
- package/locales/fullcalendar/vi.js +0 -29
- package/locales/fullcalendar/zh-cn.js +0 -30
- package/locales/fullcalendar/zh-tw.js +0 -23
- package/mobile/components/basic/default/.npmignore +0 -2
- package/mobile/components/basic/default/anchor/anchor.directive.d.ts +0 -8
- package/mobile/components/basic/default/app-update/app-update.component.d.ts +0 -26
- package/mobile/components/basic/default/basic.module.d.ts +0 -15
- package/mobile/components/basic/default/bundles/index.umd.js +0 -980
- package/mobile/components/basic/default/esm2022/anchor/anchor.directive.mjs +0 -44
- package/mobile/components/basic/default/esm2022/app-update/app-update.component.mjs +0 -116
- package/mobile/components/basic/default/esm2022/basic.module.mjs +0 -52
- package/mobile/components/basic/default/esm2022/file-browser/file-browser.component.mjs +0 -236
- package/mobile/components/basic/default/esm2022/file-browser/file-selector.service.mjs +0 -85
- package/mobile/components/basic/default/esm2022/image-cache/image-cache.directive.mjs +0 -61
- package/mobile/components/basic/default/esm2022/index.mjs +0 -5
- package/mobile/components/basic/default/esm2022/network-info-toaster/network-info-toaster.component.mjs +0 -183
- package/mobile/components/basic/default/esm2022/network-info-toaster/network-info-toaster.props.mjs +0 -5
- package/mobile/components/basic/default/esm2022/process-manager/process-management.service.mjs +0 -47
- package/mobile/components/basic/default/esm2022/process-manager/process-manager.component.mjs +0 -175
- package/mobile/components/basic/default/esm2022/public_api.mjs +0 -10
- package/mobile/components/basic/default/fesm2022/index.mjs +0 -958
- package/mobile/components/basic/default/fesm2022/index.mjs.map +0 -1
- package/mobile/components/basic/default/file-browser/file-browser.component.d.ts +0 -39
- package/mobile/components/basic/default/file-browser/file-selector.service.d.ts +0 -27
- package/mobile/components/basic/default/image-cache/image-cache.directive.d.ts +0 -18
- package/mobile/components/basic/default/index.d.ts +0 -5
- package/mobile/components/basic/default/network-info-toaster/network-info-toaster.component.d.ts +0 -28
- package/mobile/components/basic/default/network-info-toaster/network-info-toaster.props.d.ts +0 -1
- package/mobile/components/basic/default/package.json +0 -23
- package/mobile/components/basic/default/process-manager/process-management.service.d.ts +0 -36
- package/mobile/components/basic/default/process-manager/process-manager.component.d.ts +0 -33
- package/mobile/components/basic/default/public_api.d.ts +0 -9
- package/mobile/components/basic/search/.npmignore +0 -2
- package/mobile/components/basic/search/bundles/index.umd.js +0 -66
- package/mobile/components/basic/search/esm2022/index.mjs +0 -5
- package/mobile/components/basic/search/esm2022/public_api.mjs +0 -3
- package/mobile/components/basic/search/esm2022/search.directive.mjs +0 -17
- package/mobile/components/basic/search/esm2022/search.module.mjs +0 -28
- package/mobile/components/basic/search/fesm2022/index.mjs +0 -49
- package/mobile/components/basic/search/fesm2022/index.mjs.map +0 -1
- package/mobile/components/basic/search/index.d.ts +0 -5
- package/mobile/components/basic/search/package.json +0 -23
- package/mobile/components/basic/search/public_api.d.ts +0 -2
- package/mobile/components/basic/search/search.directive.d.ts +0 -7
- package/mobile/components/basic/search/search.module.d.ts +0 -9
- package/mobile/components/containers/segmented-control/.npmignore +0 -2
- package/mobile/components/containers/segmented-control/bundles/index.umd.js +0 -281
- package/mobile/components/containers/segmented-control/esm2022/index.mjs +0 -5
- package/mobile/components/containers/segmented-control/esm2022/public_api.mjs +0 -4
- package/mobile/components/containers/segmented-control/esm2022/segment-content/segment-content.component.mjs +0 -70
- package/mobile/components/containers/segmented-control/esm2022/segment-content/segment-content.props.mjs +0 -14
- package/mobile/components/containers/segmented-control/esm2022/segmented-control.component.mjs +0 -147
- package/mobile/components/containers/segmented-control/esm2022/segmented-control.module.mjs +0 -32
- package/mobile/components/containers/segmented-control/esm2022/segmented-control.props.mjs +0 -9
- package/mobile/components/containers/segmented-control/fesm2022/index.mjs +0 -264
- package/mobile/components/containers/segmented-control/fesm2022/index.mjs.map +0 -1
- package/mobile/components/containers/segmented-control/index.d.ts +0 -5
- package/mobile/components/containers/segmented-control/package.json +0 -23
- package/mobile/components/containers/segmented-control/public_api.d.ts +0 -3
- package/mobile/components/containers/segmented-control/segment-content/segment-content.component.d.ts +0 -18
- package/mobile/components/containers/segmented-control/segment-content/segment-content.props.d.ts +0 -1
- package/mobile/components/containers/segmented-control/segmented-control.component.d.ts +0 -20
- package/mobile/components/containers/segmented-control/segmented-control.module.d.ts +0 -10
- package/mobile/components/containers/segmented-control/segmented-control.props.d.ts +0 -1
- package/mobile/components/data/media-list/.npmignore +0 -2
- package/mobile/components/data/media-list/bundles/index.umd.js +0 -310
- package/mobile/components/data/media-list/esm2022/index.mjs +0 -5
- package/mobile/components/data/media-list/esm2022/media-list-item/media-list-item.directive.mjs +0 -24
- package/mobile/components/data/media-list/esm2022/media-list.component.mjs +0 -213
- package/mobile/components/data/media-list/esm2022/media-list.module.mjs +0 -48
- package/mobile/components/data/media-list/esm2022/media-list.props.mjs +0 -16
- package/mobile/components/data/media-list/esm2022/public_api.mjs +0 -4
- package/mobile/components/data/media-list/fesm2022/index.mjs +0 -297
- package/mobile/components/data/media-list/fesm2022/index.mjs.map +0 -1
- package/mobile/components/data/media-list/index.d.ts +0 -5
- package/mobile/components/data/media-list/media-list-item/media-list-item.directive.d.ts +0 -8
- package/mobile/components/data/media-list/media-list.component.d.ts +0 -33
- package/mobile/components/data/media-list/media-list.module.d.ts +0 -14
- package/mobile/components/data/media-list/media-list.props.d.ts +0 -1
- package/mobile/components/data/media-list/package.json +0 -23
- package/mobile/components/data/media-list/public_api.d.ts +0 -3
- package/mobile/components/device/barcode-scanner/.npmignore +0 -2
- package/mobile/components/device/barcode-scanner/barcode-scanner.component.d.ts +0 -18
- package/mobile/components/device/barcode-scanner/barcode-scanner.module.d.ts +0 -9
- package/mobile/components/device/barcode-scanner/barcode-scanner.props.d.ts +0 -1
- package/mobile/components/device/barcode-scanner/bundles/index.umd.js +0 -129
- package/mobile/components/device/barcode-scanner/esm2022/barcode-scanner.component.mjs +0 -69
- package/mobile/components/device/barcode-scanner/esm2022/barcode-scanner.module.mjs +0 -28
- package/mobile/components/device/barcode-scanner/esm2022/barcode-scanner.props.mjs +0 -15
- package/mobile/components/device/barcode-scanner/esm2022/index.mjs +0 -5
- package/mobile/components/device/barcode-scanner/esm2022/public_api.mjs +0 -3
- package/mobile/components/device/barcode-scanner/fesm2022/index.mjs +0 -112
- package/mobile/components/device/barcode-scanner/fesm2022/index.mjs.map +0 -1
- package/mobile/components/device/barcode-scanner/index.d.ts +0 -5
- package/mobile/components/device/barcode-scanner/package.json +0 -23
- package/mobile/components/device/barcode-scanner/public_api.d.ts +0 -2
- package/mobile/components/device/camera/.npmignore +0 -2
- package/mobile/components/device/camera/bundles/index.umd.js +0 -170
- package/mobile/components/device/camera/camera.component.d.ts +0 -37
- package/mobile/components/device/camera/camera.module.d.ts +0 -9
- package/mobile/components/device/camera/camera.props.d.ts +0 -1
- package/mobile/components/device/camera/esm2022/camera.component.mjs +0 -101
- package/mobile/components/device/camera/esm2022/camera.module.mjs +0 -28
- package/mobile/components/device/camera/esm2022/camera.props.mjs +0 -25
- package/mobile/components/device/camera/esm2022/index.mjs +0 -5
- package/mobile/components/device/camera/esm2022/public_api.mjs +0 -3
- package/mobile/components/device/camera/fesm2022/index.mjs +0 -153
- package/mobile/components/device/camera/fesm2022/index.mjs.map +0 -1
- package/mobile/components/device/camera/index.d.ts +0 -5
- package/mobile/components/device/camera/package.json +0 -23
- package/mobile/components/device/camera/public_api.d.ts +0 -2
- package/mobile/components/input/file-upload/.npmignore +0 -2
- package/mobile/components/input/file-upload/bundles/index.umd.js +0 -88
- package/mobile/components/input/file-upload/esm2022/file-upload.directive.mjs +0 -41
- package/mobile/components/input/file-upload/esm2022/file-upload.module.mjs +0 -28
- package/mobile/components/input/file-upload/esm2022/index.mjs +0 -5
- package/mobile/components/input/file-upload/esm2022/public_api.mjs +0 -3
- package/mobile/components/input/file-upload/fesm2022/index.mjs +0 -71
- package/mobile/components/input/file-upload/fesm2022/index.mjs.map +0 -1
- package/mobile/components/input/file-upload/file-upload.directive.d.ts +0 -11
- package/mobile/components/input/file-upload/file-upload.module.d.ts +0 -9
- package/mobile/components/input/file-upload/index.d.ts +0 -5
- package/mobile/components/input/file-upload/package.json +0 -23
- package/mobile/components/input/file-upload/public_api.d.ts +0 -2
- package/mobile/components/page/default/.npmignore +0 -2
- package/mobile/components/page/default/bundles/index.umd.js +0 -127
- package/mobile/components/page/default/esm2022/index.mjs +0 -5
- package/mobile/components/page/default/esm2022/page-content-loader/page-content-loader.component.mjs +0 -24
- package/mobile/components/page/default/esm2022/page.directive.mjs +0 -58
- package/mobile/components/page/default/esm2022/page.module.mjs +0 -32
- package/mobile/components/page/default/esm2022/public_api.mjs +0 -4
- package/mobile/components/page/default/fesm2022/index.mjs +0 -110
- package/mobile/components/page/default/fesm2022/index.mjs.map +0 -1
- package/mobile/components/page/default/index.d.ts +0 -5
- package/mobile/components/page/default/package.json +0 -23
- package/mobile/components/page/default/page-content-loader/page-content-loader.component.d.ts +0 -7
- package/mobile/components/page/default/page.directive.d.ts +0 -19
- package/mobile/components/page/default/page.module.d.ts +0 -10
- package/mobile/components/page/default/public_api.d.ts +0 -3
- package/mobile/components/page/left-panel/.npmignore +0 -2
- package/mobile/components/page/left-panel/bundles/index.umd.js +0 -91
- package/mobile/components/page/left-panel/esm2022/index.mjs +0 -5
- package/mobile/components/page/left-panel/esm2022/left-panel.directive.mjs +0 -45
- package/mobile/components/page/left-panel/esm2022/left-panel.module.mjs +0 -28
- package/mobile/components/page/left-panel/esm2022/public_api.mjs +0 -3
- package/mobile/components/page/left-panel/fesm2022/index.mjs +0 -74
- package/mobile/components/page/left-panel/fesm2022/index.mjs.map +0 -1
- package/mobile/components/page/left-panel/index.d.ts +0 -5
- package/mobile/components/page/left-panel/left-panel.directive.d.ts +0 -16
- package/mobile/components/page/left-panel/left-panel.module.d.ts +0 -9
- package/mobile/components/page/left-panel/package.json +0 -23
- package/mobile/components/page/left-panel/public_api.d.ts +0 -2
- package/mobile/components/page/mobile-navbar/.npmignore +0 -2
- package/mobile/components/page/mobile-navbar/bundles/index.umd.js +0 -332
- package/mobile/components/page/mobile-navbar/esm2022/index.mjs +0 -5
- package/mobile/components/page/mobile-navbar/esm2022/mobile-navbar.component.mjs +0 -247
- package/mobile/components/page/mobile-navbar/esm2022/mobile-navbar.module.mjs +0 -32
- package/mobile/components/page/mobile-navbar/esm2022/mobile-navbar.props.mjs +0 -41
- package/mobile/components/page/mobile-navbar/esm2022/public_api.mjs +0 -3
- package/mobile/components/page/mobile-navbar/fesm2022/index.mjs +0 -317
- package/mobile/components/page/mobile-navbar/fesm2022/index.mjs.map +0 -1
- package/mobile/components/page/mobile-navbar/index.d.ts +0 -5
- package/mobile/components/page/mobile-navbar/mobile-navbar.component.d.ts +0 -50
- package/mobile/components/page/mobile-navbar/mobile-navbar.module.d.ts +0 -10
- package/mobile/components/page/mobile-navbar/mobile-navbar.props.d.ts +0 -2
- package/mobile/components/page/mobile-navbar/package.json +0 -23
- package/mobile/components/page/mobile-navbar/public_api.d.ts +0 -2
- package/mobile/components/page/tab-bar/.npmignore +0 -2
- package/mobile/components/page/tab-bar/bundles/index.umd.js +0 -279
- package/mobile/components/page/tab-bar/esm2022/index.mjs +0 -5
- package/mobile/components/page/tab-bar/esm2022/public_api.mjs +0 -3
- package/mobile/components/page/tab-bar/esm2022/tab-bar.module.mjs +0 -28
- package/mobile/components/page/tab-bar/esm2022/tabbar.component.mjs +0 -219
- package/mobile/components/page/tab-bar/esm2022/tabbar.props.mjs +0 -15
- package/mobile/components/page/tab-bar/fesm2022/index.mjs +0 -262
- package/mobile/components/page/tab-bar/fesm2022/index.mjs.map +0 -1
- package/mobile/components/page/tab-bar/index.d.ts +0 -5
- package/mobile/components/page/tab-bar/package.json +0 -23
- package/mobile/components/page/tab-bar/public_api.d.ts +0 -2
- package/mobile/components/page/tab-bar/tab-bar.module.d.ts +0 -9
- package/mobile/components/page/tab-bar/tabbar.component.d.ts +0 -40
- package/mobile/components/page/tab-bar/tabbar.props.d.ts +0 -1
- package/mobile/core/.npmignore +0 -2
- package/mobile/core/bundles/index.umd.js +0 -1658
- package/mobile/core/core.module.d.ts +0 -15
- package/mobile/core/esm2022/core.module.mjs +0 -79
- package/mobile/core/esm2022/index.mjs +0 -5
- package/mobile/core/esm2022/native.xhr.mjs +0 -340
- package/mobile/core/esm2022/public_api.mjs +0 -12
- package/mobile/core/esm2022/services/device-file-cache.service.mjs +0 -92
- package/mobile/core/esm2022/services/device-file-download.service.mjs +0 -154
- package/mobile/core/esm2022/services/device-file-opener.service.mjs +0 -112
- package/mobile/core/esm2022/services/device-file-upload.service.mjs +0 -91
- package/mobile/core/esm2022/services/device-file.service.mjs +0 -237
- package/mobile/core/esm2022/services/device-start-up-service.mjs +0 -2
- package/mobile/core/esm2022/services/device.service.mjs +0 -150
- package/mobile/core/esm2022/services/ext-app-message.service.mjs +0 -114
- package/mobile/core/esm2022/services/network.service.mjs +0 -358
- package/mobile/core/fesm2022/index.mjs +0 -1660
- package/mobile/core/fesm2022/index.mjs.map +0 -1
- package/mobile/core/index.d.ts +0 -5
- package/mobile/core/native.xhr.d.ts +0 -36
- package/mobile/core/package.json +0 -28
- package/mobile/core/public_api.d.ts +0 -11
- package/mobile/core/services/device-file-cache.service.d.ts +0 -24
- package/mobile/core/services/device-file-download.service.d.ts +0 -36
- package/mobile/core/services/device-file-opener.service.d.ts +0 -25
- package/mobile/core/services/device-file-upload.service.d.ts +0 -27
- package/mobile/core/services/device-file.service.d.ts +0 -45
- package/mobile/core/services/device-start-up-service.d.ts +0 -4
- package/mobile/core/services/device.service.d.ts +0 -52
- package/mobile/core/services/ext-app-message.service.d.ts +0 -24
- package/mobile/core/services/network.service.d.ts +0 -118
- package/mobile/offline/.npmignore +0 -2
- package/mobile/offline/bundles/index.umd.js +0 -3512
- package/mobile/offline/esm2022/index.mjs +0 -5
- package/mobile/offline/esm2022/models/config.mjs +0 -64
- package/mobile/offline/esm2022/models/local-db-store.mjs +0 -412
- package/mobile/offline/esm2022/offline.module.mjs +0 -100
- package/mobile/offline/esm2022/public_api.mjs +0 -7
- package/mobile/offline/esm2022/services/change-log.service.mjs +0 -332
- package/mobile/offline/esm2022/services/local-db-data-pull.service.mjs +0 -525
- package/mobile/offline/esm2022/services/local-db-management.service.mjs +0 -855
- package/mobile/offline/esm2022/services/local-db.service.mjs +0 -193
- package/mobile/offline/esm2022/services/local-key-value.service.mjs +0 -87
- package/mobile/offline/esm2022/services/push.service.mjs +0 -49
- package/mobile/offline/esm2022/services/workers/error-blocker.mjs +0 -115
- package/mobile/offline/esm2022/services/workers/file-handler.mjs +0 -162
- package/mobile/offline/esm2022/services/workers/id-resolver.mjs +0 -154
- package/mobile/offline/esm2022/services/workers/multi-part-param-transformer.mjs +0 -63
- package/mobile/offline/esm2022/utils/file-upload.utils.mjs +0 -59
- package/mobile/offline/esm2022/utils/live-variable.utils.mjs +0 -232
- package/mobile/offline/esm2022/utils/query-executor.utils.mjs +0 -82
- package/mobile/offline/esm2022/utils/security.utils.mjs +0 -119
- package/mobile/offline/esm2022/utils/utils.mjs +0 -8
- package/mobile/offline/fesm2022/index.mjs +0 -3529
- package/mobile/offline/fesm2022/index.mjs.map +0 -1
- package/mobile/offline/index.d.ts +0 -5
- package/mobile/offline/models/config.d.ts +0 -80
- package/mobile/offline/models/local-db-store.d.ts +0 -119
- package/mobile/offline/offline.module.d.ts +0 -17
- package/mobile/offline/package.json +0 -28
- package/mobile/offline/public_api.d.ts +0 -6
- package/mobile/offline/services/change-log.service.d.ts +0 -112
- package/mobile/offline/services/local-db-data-pull.service.d.ts +0 -139
- package/mobile/offline/services/local-db-management.service.d.ts +0 -179
- package/mobile/offline/services/local-db.service.d.ts +0 -83
- package/mobile/offline/services/local-key-value.service.d.ts +0 -38
- package/mobile/offline/services/push.service.d.ts +0 -11
- package/mobile/offline/services/workers/error-blocker.d.ts +0 -26
- package/mobile/offline/services/workers/file-handler.d.ts +0 -56
- package/mobile/offline/services/workers/id-resolver.d.ts +0 -26
- package/mobile/offline/services/workers/multi-part-param-transformer.d.ts +0 -11
- package/mobile/offline/utils/file-upload.utils.d.ts +0 -14
- package/mobile/offline/utils/live-variable.utils.d.ts +0 -24
- package/mobile/offline/utils/query-executor.utils.d.ts +0 -15
- package/mobile/offline/utils/security.utils.d.ts +0 -19
- package/mobile/offline/utils/utils.d.ts +0 -2
- package/mobile/placeholder/runtime/.npmignore +0 -2
- package/mobile/placeholder/runtime/bundles/index.umd.js +0 -70
- package/mobile/placeholder/runtime/components/app-ext.component.d.ts +0 -5
- package/mobile/placeholder/runtime/esm2022/components/app-ext.component.mjs +0 -19
- package/mobile/placeholder/runtime/esm2022/index.mjs +0 -5
- package/mobile/placeholder/runtime/esm2022/mobile-runtime.module.mjs +0 -27
- package/mobile/placeholder/runtime/esm2022/public_api.mjs +0 -3
- package/mobile/placeholder/runtime/fesm2022/index.mjs +0 -50
- package/mobile/placeholder/runtime/fesm2022/index.mjs.map +0 -1
- package/mobile/placeholder/runtime/index.d.ts +0 -5
- package/mobile/placeholder/runtime/mobile-runtime.module.d.ts +0 -9
- package/mobile/placeholder/runtime/package.json +0 -27
- package/mobile/placeholder/runtime/public_api.d.ts +0 -2
- package/mobile/placeholder/runtime-dynamic/.npmignore +0 -2
- package/mobile/placeholder/runtime-dynamic/bundles/index.umd.js +0 -40
- package/mobile/placeholder/runtime-dynamic/esm2022/index.mjs +0 -5
- package/mobile/placeholder/runtime-dynamic/esm2022/mobile-runtime-dynamic.module.mjs +0 -13
- package/mobile/placeholder/runtime-dynamic/esm2022/public_api.mjs +0 -2
- package/mobile/placeholder/runtime-dynamic/fesm2022/index.mjs +0 -20
- package/mobile/placeholder/runtime-dynamic/fesm2022/index.mjs.map +0 -1
- package/mobile/placeholder/runtime-dynamic/index.d.ts +0 -5
- package/mobile/placeholder/runtime-dynamic/mobile-runtime-dynamic.module.d.ts +0 -7
- package/mobile/placeholder/runtime-dynamic/package.json +0 -23
- package/mobile/placeholder/runtime-dynamic/public_api.d.ts +0 -1
- package/mobile/runtime/.npmignore +0 -2
- package/mobile/runtime/bundles/index.umd.js +0 -732
- package/mobile/runtime/components/app-ext.component.d.ts +0 -14
- package/mobile/runtime/esm2022/components/app-ext.component.mjs +0 -59
- package/mobile/runtime/esm2022/index.mjs +0 -5
- package/mobile/runtime/esm2022/mobile-runtime.module.mjs +0 -351
- package/mobile/runtime/esm2022/public_api.mjs +0 -6
- package/mobile/runtime/esm2022/services/cookie.service.mjs +0 -135
- package/mobile/runtime/esm2022/services/http-interceptor.service.mjs +0 -147
- package/mobile/runtime/esm2022/services/webprocess.service.mjs +0 -76
- package/mobile/runtime/fesm2022/index.mjs +0 -742
- package/mobile/runtime/fesm2022/index.mjs.map +0 -1
- package/mobile/runtime/index.d.ts +0 -5
- package/mobile/runtime/mobile-runtime.module.d.ts +0 -51
- package/mobile/runtime/package.json +0 -28
- package/mobile/runtime/public_api.d.ts +0 -5
- package/mobile/runtime/services/cookie.service.d.ts +0 -31
- package/mobile/runtime/services/http-interceptor.service.d.ts +0 -19
- package/mobile/runtime/services/webprocess.service.d.ts +0 -15
- package/mobile/runtime-dynamic/.npmignore +0 -2
- package/mobile/runtime-dynamic/bundles/index.umd.js +0 -461
- package/mobile/runtime-dynamic/esm2022/index.mjs +0 -5
- package/mobile/runtime-dynamic/esm2022/mobile-runtime-dynamic.module.mjs +0 -48
- package/mobile/runtime-dynamic/esm2022/public_api.mjs +0 -2
- package/mobile/runtime-dynamic/esm2022/services/live-sync.service.mjs +0 -404
- package/mobile/runtime-dynamic/fesm2022/index.mjs +0 -454
- package/mobile/runtime-dynamic/fesm2022/index.mjs.map +0 -1
- package/mobile/runtime-dynamic/index.d.ts +0 -5
- package/mobile/runtime-dynamic/mobile-runtime-dynamic.module.d.ts +0 -8
- package/mobile/runtime-dynamic/package.json +0 -23
- package/mobile/runtime-dynamic/public_api.d.ts +0 -1
- package/mobile/runtime-dynamic/services/live-sync.service.d.ts +0 -38
- package/mobile/variables/.npmignore +0 -2
- package/mobile/variables/bundles/index.umd.js +0 -1166
- package/mobile/variables/esm2022/index.mjs +0 -5
- package/mobile/variables/esm2022/public_api.mjs +0 -10
- package/mobile/variables/esm2022/services/calendar-service.mjs +0 -77
- package/mobile/variables/esm2022/services/camera-service.mjs +0 -70
- package/mobile/variables/esm2022/services/contacts-service.mjs +0 -74
- package/mobile/variables/esm2022/services/datasync-service.mjs +0 -363
- package/mobile/variables/esm2022/services/device-service/device-service.mjs +0 -161
- package/mobile/variables/esm2022/services/device-service/location-service.mjs +0 -200
- package/mobile/variables/esm2022/services/file-service.mjs +0 -87
- package/mobile/variables/esm2022/services/scan-service.mjs +0 -60
- package/mobile/variables/esm2022/variables.module.mjs +0 -78
- package/mobile/variables/fesm2022/index.mjs +0 -1143
- package/mobile/variables/fesm2022/index.mjs.map +0 -1
- package/mobile/variables/index.d.ts +0 -5
- package/mobile/variables/package.json +0 -28
- package/mobile/variables/public_api.d.ts +0 -9
- package/mobile/variables/services/calendar-service.d.ts +0 -10
- package/mobile/variables/services/camera-service.d.ts +0 -8
- package/mobile/variables/services/contacts-service.d.ts +0 -6
- package/mobile/variables/services/datasync-service.d.ts +0 -11
- package/mobile/variables/services/device-service/device-service.d.ts +0 -17
- package/mobile/variables/services/device-service/location-service.d.ts +0 -63
- package/mobile/variables/services/file-service.d.ts +0 -7
- package/mobile/variables/services/scan-service.d.ts +0 -7
- package/mobile/variables/variables.module.d.ts +0 -25
- package/oAuth/esm2022/oAuth.module.mjs +0 -19
- package/oAuth/oAuth.module.d.ts +0 -8
- package/scripts/fullcalendar/main.min.js +0 -6
- package/security/esm2022/security.module.mjs +0 -19
- package/security/security.module.d.ts +0 -8
- package/variables/esm2022/manager/variable/device-variable-manager.mjs +0 -48
- package/variables/esm2022/manager/variable/device-variable-operation.mjs +0 -2
- package/variables/esm2022/manager/variable/device-variable-service.mjs +0 -45
- package/variables/esm2022/model/variable/device-variable.mjs +0 -19
- package/variables/esm2022/variables.module.mjs +0 -52
- package/variables/manager/variable/device-variable-manager.d.ts +0 -26
- package/variables/manager/variable/device-variable-operation.d.ts +0 -37
- package/variables/manager/variable/device-variable-service.d.ts +0 -6
- package/variables/model/variable/device-variable.d.ts +0 -6
- package/variables/variables.module.d.ts +0 -16
|
@@ -1,980 +0,0 @@
|
|
|
1
|
-
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@wm/components/base'), require('lodash-es'), require('@angular/common/http'), require('@awesome-cordova-plugins/file/ngx'), require('@awesome-cordova-plugins/file-opener/ngx'), require('@wm/core'), require('@wm/mobile/core'), require('@angular/common'), require('@wm/components/basic/progress')) :
|
|
3
|
-
typeof define === 'function' && define.amd ? define(['exports', '@angular/core', '@wm/components/base', 'lodash-es', '@angular/common/http', '@awesome-cordova-plugins/file/ngx', '@awesome-cordova-plugins/file-opener/ngx', '@wm/core', '@wm/mobile/core', '@angular/common', '@wm/components/basic/progress'], factory) :
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.wm = global.wm || {}, global.wm.mobile = global.wm.mobile || {}, global.wm.mobile.components = global.wm.mobile.components || {}, global.wm.mobile.components.basic = {}), global.ng.core, global.wm.components.base, global._, global.ng.common.http, global.awesomeCordova.plugins, global.awesomeCordova.plugins, global.wm.core, global.wm.mobile.core, global.ng.common, global.wm.components.basic.progress));
|
|
5
|
-
})(this, (function (exports, i0, i5, lodashEs, i4, i2, i3, i1$1, i1, i3$1, i2$1) { 'use strict';
|
|
6
|
-
|
|
7
|
-
function _interopNamespaceDefault(e) {
|
|
8
|
-
var n = Object.create(null);
|
|
9
|
-
if (e) {
|
|
10
|
-
Object.keys(e).forEach(function (k) {
|
|
11
|
-
if (k !== 'default') {
|
|
12
|
-
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
13
|
-
Object.defineProperty(n, k, d.get ? d : {
|
|
14
|
-
enumerable: true,
|
|
15
|
-
get: function () { return e[k]; }
|
|
16
|
-
});
|
|
17
|
-
}
|
|
18
|
-
});
|
|
19
|
-
}
|
|
20
|
-
n.default = e;
|
|
21
|
-
return Object.freeze(n);
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
var i0__namespace = /*#__PURE__*/_interopNamespaceDefault(i0);
|
|
25
|
-
var i5__namespace = /*#__PURE__*/_interopNamespaceDefault(i5);
|
|
26
|
-
var i4__namespace = /*#__PURE__*/_interopNamespaceDefault(i4);
|
|
27
|
-
var i2__namespace = /*#__PURE__*/_interopNamespaceDefault(i2);
|
|
28
|
-
var i3__namespace = /*#__PURE__*/_interopNamespaceDefault(i3);
|
|
29
|
-
var i1$1__namespace = /*#__PURE__*/_interopNamespaceDefault(i1$1);
|
|
30
|
-
var i1__namespace = /*#__PURE__*/_interopNamespaceDefault(i1);
|
|
31
|
-
var i3$1__namespace = /*#__PURE__*/_interopNamespaceDefault(i3$1);
|
|
32
|
-
var i2$1__namespace = /*#__PURE__*/_interopNamespaceDefault(i2$1);
|
|
33
|
-
|
|
34
|
-
class AnchorDirective {
|
|
35
|
-
constructor(widget) {
|
|
36
|
-
this.widget = widget;
|
|
37
|
-
}
|
|
38
|
-
onClick() {
|
|
39
|
-
let href = this.widget.hyperlink;
|
|
40
|
-
if (href) {
|
|
41
|
-
if (href.indexOf(':') >= 0 && !(lodashEs.startsWith(href, 'http://') || lodashEs.startsWith(href, 'https://'))) {
|
|
42
|
-
return;
|
|
43
|
-
}
|
|
44
|
-
else if (lodashEs.startsWith(href, '#')) {
|
|
45
|
-
window.location.href = window.location.origin + window.location.pathname + href;
|
|
46
|
-
return;
|
|
47
|
-
}
|
|
48
|
-
else if (lodashEs.startsWith(href, '//')) {
|
|
49
|
-
href = 'https:' + href;
|
|
50
|
-
}
|
|
51
|
-
if (window['cordova']) {
|
|
52
|
-
window.open(href, this.widget.target);
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
static { this.ɵfac = function AnchorDirective_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || AnchorDirective)(i0__namespace.ɵɵdirectiveInject(i5.WidgetRef)); }; }
|
|
57
|
-
static { this.ɵdir = /*@__PURE__*/ i0__namespace.ɵɵdefineDirective({ type: AnchorDirective, selectors: [["", "wmAnchor", ""]], hostBindings: function AnchorDirective_HostBindings(rf, ctx) { if (rf & 1) {
|
|
58
|
-
i0__namespace.ɵɵlistener("click", function AnchorDirective_click_HostBindingHandler() { return ctx.onClick(); });
|
|
59
|
-
} } }); }
|
|
60
|
-
}
|
|
61
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(AnchorDirective, [{
|
|
62
|
-
type: i0.Directive,
|
|
63
|
-
args: [{
|
|
64
|
-
selector: '[wmAnchor]'
|
|
65
|
-
}]
|
|
66
|
-
}], () => [{ type: undefined, decorators: [{
|
|
67
|
-
type: i0.Inject,
|
|
68
|
-
args: [i5.WidgetRef]
|
|
69
|
-
}] }], { onClick: [{
|
|
70
|
-
type: i0.HostListener,
|
|
71
|
-
args: ['click']
|
|
72
|
-
}] }); })();
|
|
73
|
-
|
|
74
|
-
const _c0$3 = ["wmAppUpdate", ""];
|
|
75
|
-
const DEFAULT_CLS$1 = 'app-update-dialog modal fade in hidden';
|
|
76
|
-
const AUTO_UPDATE_FILENAME = 'app-auto-update.apk';
|
|
77
|
-
class AppUpdateComponent {
|
|
78
|
-
constructor(deviceService, fileDownloadService, elRef, file, fileOpener, http) {
|
|
79
|
-
this.deviceService = deviceService;
|
|
80
|
-
this.fileDownloadService = fileDownloadService;
|
|
81
|
-
this.elRef = elRef;
|
|
82
|
-
this.file = file;
|
|
83
|
-
this.fileOpener = fileOpener;
|
|
84
|
-
this.http = http;
|
|
85
|
-
this.downloadProgress = 0;
|
|
86
|
-
this.downloading = false;
|
|
87
|
-
this.message = 'There is an update available. Would you like to update the app?';
|
|
88
|
-
i1$1.addClass(this.elRef.nativeElement, DEFAULT_CLS$1);
|
|
89
|
-
i1$1.setCSS(this.elRef.nativeElement, 'display', 'block');
|
|
90
|
-
if (i1$1.hasCordova()) {
|
|
91
|
-
this.getBuildMeta().then(buildMeta => {
|
|
92
|
-
if (buildMeta && buildMeta.buildMode === 'DEVELOPMENT_MODE') {
|
|
93
|
-
this.file.removeFile(cordova.file.externalApplicationStorageDirectory, AUTO_UPDATE_FILENAME).catch(i1$1.noop);
|
|
94
|
-
this.checkForUpdate()
|
|
95
|
-
.then(this.getUserConfirmation.bind(this), i1$1.noop);
|
|
96
|
-
}
|
|
97
|
-
});
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
cancel() {
|
|
101
|
-
i1$1.addClass(this.elRef.nativeElement, 'hidden');
|
|
102
|
-
}
|
|
103
|
-
installLatestVersion() {
|
|
104
|
-
const apkFile = cordova.file.externalApplicationStorageDirectory + AUTO_UPDATE_FILENAME, downloadLink = `${this._buildMeta.host}/appBuild/rest/mobileBuilds/android/download?token=${this._buildMeta.token}&buildNumber=${this._buildMeta.latestBuildNumber}&fileName=${AUTO_UPDATE_FILENAME}&releaseVersion=${this._buildMeta.platformVersion}`, progressObserver = { next: e => { this.downloadProgress = (e.loaded / e.total) * 100; }, error: null, complete: null };
|
|
105
|
-
this.fileDownloadService.download(downloadLink, false, cordova.file.externalApplicationStorageDirectory, AUTO_UPDATE_FILENAME, progressObserver).then(() => {
|
|
106
|
-
this.fileOpener.open(apkFile, 'application/vnd.android.package-archive');
|
|
107
|
-
}, function () {
|
|
108
|
-
this.message = 'Failed to download latest version.';
|
|
109
|
-
});
|
|
110
|
-
this.message = `Downloading the latest version [${this._buildMeta.latestVersion}].`;
|
|
111
|
-
this.downloading = true;
|
|
112
|
-
}
|
|
113
|
-
checkForUpdate() {
|
|
114
|
-
return new Promise((resolve, reject) => {
|
|
115
|
-
this.http.get(`${this._buildMeta.host}/appBuild/rest/mobileBuilds/latest_build?token=${this._buildMeta.token}&releaseVersion=${this._buildMeta.platformVersion}`)
|
|
116
|
-
.toPromise()
|
|
117
|
-
.then((response) => {
|
|
118
|
-
const latestBuildNumber = response.success.body.buildNumber, latestVersion = response.success.body.version;
|
|
119
|
-
if (this._buildMeta.buildNumber < latestBuildNumber) {
|
|
120
|
-
this._buildMeta.latestBuildNumber = latestBuildNumber;
|
|
121
|
-
this._buildMeta.latestVersion = latestVersion;
|
|
122
|
-
resolve(latestBuildNumber);
|
|
123
|
-
}
|
|
124
|
-
else {
|
|
125
|
-
reject();
|
|
126
|
-
}
|
|
127
|
-
}, reject);
|
|
128
|
-
});
|
|
129
|
-
}
|
|
130
|
-
getBuildMeta() {
|
|
131
|
-
if (!this._buildMeta) {
|
|
132
|
-
return this.file.readAsText(cordova.file.applicationDirectory + 'www/', 'build_meta.json')
|
|
133
|
-
.then(data => {
|
|
134
|
-
this._buildMeta = JSON.parse(data);
|
|
135
|
-
return this._buildMeta;
|
|
136
|
-
}, i1$1.noop);
|
|
137
|
-
}
|
|
138
|
-
return Promise.resolve(this._buildMeta);
|
|
139
|
-
}
|
|
140
|
-
getUserConfirmation() {
|
|
141
|
-
this.downloadProgress = 0;
|
|
142
|
-
this.downloading = false;
|
|
143
|
-
this.message = 'There is an update available. Would you like to update the app?';
|
|
144
|
-
i1$1.removeClass(this.elRef.nativeElement, 'hidden');
|
|
145
|
-
}
|
|
146
|
-
static { this.ɵfac = function AppUpdateComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || AppUpdateComponent)(i0__namespace.ɵɵdirectiveInject(i1__namespace.DeviceService), i0__namespace.ɵɵdirectiveInject(i1__namespace.DeviceFileDownloadService), i0__namespace.ɵɵdirectiveInject(i0__namespace.ElementRef), i0__namespace.ɵɵdirectiveInject(i2__namespace.File), i0__namespace.ɵɵdirectiveInject(i3__namespace.FileOpener), i0__namespace.ɵɵdirectiveInject(i4__namespace.HttpClient)); }; }
|
|
147
|
-
static { this.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: AppUpdateComponent, selectors: [["", "wmAppUpdate", ""]], attrs: _c0$3, decls: 11, vars: 5, consts: [[1, "modal-dialog"], [1, "modal-content"], [1, "modal-body"], [3, "textContent"], [1, "progress", 3, "hidden"], [1, "progress-bar"], [1, "modal-footer"], ["type", "button", "data-dismiss", "modal", 1, "btn", "btn-default", 3, "click"], ["type", "button", 1, "btn", "btn-primary", 3, "click", "hidden"]], template: function AppUpdateComponent_Template(rf, ctx) { if (rf & 1) {
|
|
148
|
-
i0__namespace.ɵɵelementStart(0, "div", 0)(1, "div", 1)(2, "div", 2);
|
|
149
|
-
i0__namespace.ɵɵelement(3, "span", 3);
|
|
150
|
-
i0__namespace.ɵɵelementStart(4, "div", 4);
|
|
151
|
-
i0__namespace.ɵɵelement(5, "div", 5);
|
|
152
|
-
i0__namespace.ɵɵelementEnd()();
|
|
153
|
-
i0__namespace.ɵɵelementStart(6, "div", 6)(7, "button", 7);
|
|
154
|
-
i0__namespace.ɵɵlistener("click", function AppUpdateComponent_Template_button_click_7_listener() { return ctx.cancel(); });
|
|
155
|
-
i0__namespace.ɵɵtext(8, "Skip update");
|
|
156
|
-
i0__namespace.ɵɵelementEnd();
|
|
157
|
-
i0__namespace.ɵɵelementStart(9, "button", 8);
|
|
158
|
-
i0__namespace.ɵɵlistener("click", function AppUpdateComponent_Template_button_click_9_listener() { return ctx.installLatestVersion(); });
|
|
159
|
-
i0__namespace.ɵɵtext(10, "Update");
|
|
160
|
-
i0__namespace.ɵɵelementEnd()()()();
|
|
161
|
-
} if (rf & 2) {
|
|
162
|
-
i0__namespace.ɵɵadvance(3);
|
|
163
|
-
i0__namespace.ɵɵproperty("textContent", ctx.message);
|
|
164
|
-
i0__namespace.ɵɵadvance();
|
|
165
|
-
i0__namespace.ɵɵproperty("hidden", !ctx.downloading);
|
|
166
|
-
i0__namespace.ɵɵadvance();
|
|
167
|
-
i0__namespace.ɵɵstyleProp("width", ctx.downloadProgress, "%");
|
|
168
|
-
i0__namespace.ɵɵadvance(4);
|
|
169
|
-
i0__namespace.ɵɵproperty("hidden", ctx.downloading);
|
|
170
|
-
} }, dependencies: [i5__namespace.TextContentDirective], encapsulation: 2 }); }
|
|
171
|
-
}
|
|
172
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(AppUpdateComponent, [{
|
|
173
|
-
type: i0.Component,
|
|
174
|
-
args: [{ selector: '[wmAppUpdate]', template: "<div class=\"modal-dialog\">\n <div class=\"modal-content\"> \n <div class=\"modal-body\"> \n <span [textContent]=\"message\"></span>\n <div class=\"progress\" [hidden]=\"!downloading\">\n <div class=\"progress-bar\" [style.width.%]=\"downloadProgress\"></div>\n </div>\n </div>\n <div class=\"modal-footer\"> \n <button type=\"button\" class=\"btn btn-default\" data-dismiss=\"modal\" (click)=\"cancel()\">Skip update</button>\n <button type=\"button\" class=\"btn btn-primary\" [hidden]=\"downloading\" (click)=\"installLatestVersion()\">Update</button>\n </div>\n </div>\n</div>" }]
|
|
175
|
-
}], () => [{ type: i1__namespace.DeviceService }, { type: i1__namespace.DeviceFileDownloadService }, { type: i0__namespace.ElementRef }, { type: i2__namespace.File }, { type: i3__namespace.FileOpener }, { type: i4__namespace.HttpClient }], null); })();
|
|
176
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassDebugInfo(AppUpdateComponent, { className: "AppUpdateComponent", filePath: "app-update/app-update.component.ts", lineNumber: 20 }); })();
|
|
177
|
-
|
|
178
|
-
const _c0$2 = ["wmMobileFileBrowser", ""];
|
|
179
|
-
function FileBrowserComponent_div_0_div_13_i_2_Template(rf, ctx) { if (rf & 1) {
|
|
180
|
-
i0__namespace.ɵɵelement(0, "i", 22);
|
|
181
|
-
} }
|
|
182
|
-
function FileBrowserComponent_div_0_div_13_i_3_Template(rf, ctx) { if (rf & 1) {
|
|
183
|
-
i0__namespace.ɵɵelement(0, "i");
|
|
184
|
-
} if (rf & 2) {
|
|
185
|
-
const file_r4 = i0__namespace.ɵɵnextContext().$implicit;
|
|
186
|
-
const ctx_r1 = i0__namespace.ɵɵnextContext(2);
|
|
187
|
-
i0__namespace.ɵɵclassMapInterpolate1("file-icon wi wi-file ", ctx_r1.getFileExtension(file_r4.name), "");
|
|
188
|
-
} }
|
|
189
|
-
function FileBrowserComponent_div_0_div_13_Template(rf, ctx) { if (rf & 1) {
|
|
190
|
-
const _r3 = i0__namespace.ɵɵgetCurrentView();
|
|
191
|
-
i0__namespace.ɵɵelementStart(0, "div", 17)(1, "div", 18);
|
|
192
|
-
i0__namespace.ɵɵlistener("click", function FileBrowserComponent_div_0_div_13_Template_div_click_1_listener() { const file_r4 = i0__namespace.ɵɵrestoreView(_r3).$implicit; const ctx_r1 = i0__namespace.ɵɵnextContext(2); return i0__namespace.ɵɵresetView(ctx_r1.onFileClick(file_r4)); });
|
|
193
|
-
i0__namespace.ɵɵtemplate(2, FileBrowserComponent_div_0_div_13_i_2_Template, 1, 0, "i", 19)(3, FileBrowserComponent_div_0_div_13_i_3_Template, 1, 3, "i", 20);
|
|
194
|
-
i0__namespace.ɵɵelementStart(4, "span", 21);
|
|
195
|
-
i0__namespace.ɵɵtext(5);
|
|
196
|
-
i0__namespace.ɵɵelementEnd()()();
|
|
197
|
-
} if (rf & 2) {
|
|
198
|
-
const file_r4 = ctx.$implicit;
|
|
199
|
-
i0__namespace.ɵɵadvance();
|
|
200
|
-
i0__namespace.ɵɵclassProp("bg-primary", file_r4.isSelected);
|
|
201
|
-
i0__namespace.ɵɵadvance();
|
|
202
|
-
i0__namespace.ɵɵproperty("ngIf", !file_r4.isFile);
|
|
203
|
-
i0__namespace.ɵɵadvance();
|
|
204
|
-
i0__namespace.ɵɵproperty("ngIf", file_r4.isFile);
|
|
205
|
-
i0__namespace.ɵɵadvance(2);
|
|
206
|
-
i0__namespace.ɵɵtextInterpolate(file_r4.name);
|
|
207
|
-
} }
|
|
208
|
-
function FileBrowserComponent_div_0_button_15_Template(rf, ctx) { if (rf & 1) {
|
|
209
|
-
const _r5 = i0__namespace.ɵɵgetCurrentView();
|
|
210
|
-
i0__namespace.ɵɵelementStart(0, "button", 23);
|
|
211
|
-
i0__namespace.ɵɵlistener("click", function FileBrowserComponent_div_0_button_15_Template_button_click_0_listener() { i0__namespace.ɵɵrestoreView(_r5); const ctx_r1 = i0__namespace.ɵɵnextContext(2); return i0__namespace.ɵɵresetView(ctx_r1.submit()); });
|
|
212
|
-
i0__namespace.ɵɵtext(1, " Done ");
|
|
213
|
-
i0__namespace.ɵɵelementStart(2, "span", 24);
|
|
214
|
-
i0__namespace.ɵɵtext(3);
|
|
215
|
-
i0__namespace.ɵɵelementEnd()();
|
|
216
|
-
} if (rf & 2) {
|
|
217
|
-
const ctx_r1 = i0__namespace.ɵɵnextContext(2);
|
|
218
|
-
i0__namespace.ɵɵadvance(3);
|
|
219
|
-
i0__namespace.ɵɵtextInterpolate(ctx_r1.selectedFiles.length);
|
|
220
|
-
} }
|
|
221
|
-
function FileBrowserComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
222
|
-
const _r1 = i0__namespace.ɵɵgetCurrentView();
|
|
223
|
-
i0__namespace.ɵɵelementStart(0, "div", 1);
|
|
224
|
-
i0__namespace.ɵɵelement(1, "div", 2);
|
|
225
|
-
i0__namespace.ɵɵelementStart(2, "div", 3)(3, "div", 4)(4, "div", 5)(5, "div", 6)(6, "h4", 7)(7, "span", 8);
|
|
226
|
-
i0__namespace.ɵɵlistener("click", function FileBrowserComponent_div_0_Template_span_click_7_listener() { i0__namespace.ɵɵrestoreView(_r1); const ctx_r1 = i0__namespace.ɵɵnextContext(); return i0__namespace.ɵɵresetView(ctx_r1.onFileClick(ctx_r1.currentFolder.parent)); });
|
|
227
|
-
i0__namespace.ɵɵelement(8, "i", 9);
|
|
228
|
-
i0__namespace.ɵɵelementEnd();
|
|
229
|
-
i0__namespace.ɵɵtext(9);
|
|
230
|
-
i0__namespace.ɵɵelementEnd();
|
|
231
|
-
i0__namespace.ɵɵelementStart(10, "div", 10);
|
|
232
|
-
i0__namespace.ɵɵlistener("click", function FileBrowserComponent_div_0_Template_div_click_10_listener() { i0__namespace.ɵɵrestoreView(_r1); const ctx_r1 = i0__namespace.ɵɵnextContext(); return i0__namespace.ɵɵresetView(ctx_r1.refreshFolder()); });
|
|
233
|
-
i0__namespace.ɵɵelement(11, "i", 11);
|
|
234
|
-
i0__namespace.ɵɵelementEnd()();
|
|
235
|
-
i0__namespace.ɵɵelementStart(12, "div", 12);
|
|
236
|
-
i0__namespace.ɵɵtemplate(13, FileBrowserComponent_div_0_div_13_Template, 6, 5, "div", 13);
|
|
237
|
-
i0__namespace.ɵɵelementEnd();
|
|
238
|
-
i0__namespace.ɵɵelementStart(14, "div", 14);
|
|
239
|
-
i0__namespace.ɵɵtemplate(15, FileBrowserComponent_div_0_button_15_Template, 4, 1, "button", 15);
|
|
240
|
-
i0__namespace.ɵɵelementStart(16, "button", 16);
|
|
241
|
-
i0__namespace.ɵɵlistener("click", function FileBrowserComponent_div_0_Template_button_click_16_listener() { i0__namespace.ɵɵrestoreView(_r1); const ctx_r1 = i0__namespace.ɵɵnextContext(); return i0__namespace.ɵɵresetView(ctx_r1.show = false); });
|
|
242
|
-
i0__namespace.ɵɵtext(17, "Close");
|
|
243
|
-
i0__namespace.ɵɵelementEnd()()()()()();
|
|
244
|
-
} if (rf & 2) {
|
|
245
|
-
const ctx_r1 = i0__namespace.ɵɵnextContext();
|
|
246
|
-
i0__namespace.ɵɵadvance();
|
|
247
|
-
i0__namespace.ɵɵclassProp("in", ctx_r1.isVisible);
|
|
248
|
-
i0__namespace.ɵɵadvance();
|
|
249
|
-
i0__namespace.ɵɵclassProp("in", ctx_r1.isVisible);
|
|
250
|
-
i0__namespace.ɵɵadvance(5);
|
|
251
|
-
i0__namespace.ɵɵproperty("hidden", !!!ctx_r1.currentFolder.parent);
|
|
252
|
-
i0__namespace.ɵɵadvance(2);
|
|
253
|
-
i0__namespace.ɵɵtextInterpolate1(" ", ctx_r1.currentFolder.name, " ");
|
|
254
|
-
i0__namespace.ɵɵadvance(4);
|
|
255
|
-
i0__namespace.ɵɵproperty("ngForOf", ctx_r1.currentFolder.files);
|
|
256
|
-
i0__namespace.ɵɵadvance(2);
|
|
257
|
-
i0__namespace.ɵɵproperty("ngIf", ctx_r1.selectedFiles && ctx_r1.selectedFiles.length > 0);
|
|
258
|
-
} }
|
|
259
|
-
class FileBrowserComponent {
|
|
260
|
-
constructor(deviceService) {
|
|
261
|
-
this.deviceService = deviceService;
|
|
262
|
-
this.selectedFiles = [];
|
|
263
|
-
this.submitEmitter = new i0.EventEmitter();
|
|
264
|
-
}
|
|
265
|
-
getFileExtension(fileName) {
|
|
266
|
-
const extIndex = fileName ? fileName.lastIndexOf('.') : -1;
|
|
267
|
-
if (extIndex > 0) {
|
|
268
|
-
return fileName.substring(extIndex + 1);
|
|
269
|
-
}
|
|
270
|
-
return '';
|
|
271
|
-
}
|
|
272
|
-
ngOnDestroy() {
|
|
273
|
-
if (this.backButtonListenerDeregister) {
|
|
274
|
-
this.backButtonListenerDeregister();
|
|
275
|
-
}
|
|
276
|
-
}
|
|
277
|
-
onFileClick(file) {
|
|
278
|
-
if (file.isFile) {
|
|
279
|
-
if (file.isSelected) {
|
|
280
|
-
this.deselectFile(file);
|
|
281
|
-
}
|
|
282
|
-
else {
|
|
283
|
-
this.selectFile(file);
|
|
284
|
-
}
|
|
285
|
-
}
|
|
286
|
-
else {
|
|
287
|
-
this.goToFolder(file);
|
|
288
|
-
}
|
|
289
|
-
}
|
|
290
|
-
set show(flag) {
|
|
291
|
-
let rootDir = cordova.file.externalRootDirectory;
|
|
292
|
-
this.isVisible = flag;
|
|
293
|
-
if (flag) {
|
|
294
|
-
if (!this.currentFolder) {
|
|
295
|
-
if (i1$1.isIos()) {
|
|
296
|
-
rootDir = cordova.file.documentsDirectory;
|
|
297
|
-
}
|
|
298
|
-
resolveLocalFileSystemURL(rootDir, root => this.goToFolder(root));
|
|
299
|
-
}
|
|
300
|
-
this.backButtonListenerDeregister = this.deviceService.onBackButtonTap(() => {
|
|
301
|
-
if (this.isVisible) {
|
|
302
|
-
if (this.currentFolder.parent) {
|
|
303
|
-
this.onFileClick(this.currentFolder.parent);
|
|
304
|
-
}
|
|
305
|
-
else {
|
|
306
|
-
this.isVisible = false;
|
|
307
|
-
}
|
|
308
|
-
i1$1.$appDigest();
|
|
309
|
-
return false;
|
|
310
|
-
}
|
|
311
|
-
});
|
|
312
|
-
}
|
|
313
|
-
else if (this.backButtonListenerDeregister) {
|
|
314
|
-
this.backButtonListenerDeregister();
|
|
315
|
-
}
|
|
316
|
-
}
|
|
317
|
-
submit() {
|
|
318
|
-
const files = [];
|
|
319
|
-
this.loadFileSize(this.selectedFiles).then(() => {
|
|
320
|
-
lodashEs.forEach(this.selectedFiles, function (f) {
|
|
321
|
-
f.isSelected = false;
|
|
322
|
-
// @ts-ignore
|
|
323
|
-
files.push({ path: f.nativeURL,
|
|
324
|
-
name: f.name,
|
|
325
|
-
size: f.size });
|
|
326
|
-
});
|
|
327
|
-
this.selectedFiles = [];
|
|
328
|
-
this.isVisible = false;
|
|
329
|
-
this.submitEmitter.next({ files: files });
|
|
330
|
-
});
|
|
331
|
-
}
|
|
332
|
-
deselectFile(file) {
|
|
333
|
-
lodashEs.remove(this.selectedFiles, file);
|
|
334
|
-
file.isSelected = false;
|
|
335
|
-
}
|
|
336
|
-
goToFolder(folder) {
|
|
337
|
-
if (!folder.files) {
|
|
338
|
-
this.loadFolder(folder, this.fileTypeToSelect)
|
|
339
|
-
.then(files => {
|
|
340
|
-
folder.files = files;
|
|
341
|
-
folder.parent = this.currentFolder;
|
|
342
|
-
this.currentFolder = folder;
|
|
343
|
-
});
|
|
344
|
-
}
|
|
345
|
-
else {
|
|
346
|
-
this.currentFolder = folder;
|
|
347
|
-
}
|
|
348
|
-
}
|
|
349
|
-
loadFileSize(files) {
|
|
350
|
-
return Promise.all(files.map(f => {
|
|
351
|
-
return new Promise((resolve, reject) => {
|
|
352
|
-
f.file(o => {
|
|
353
|
-
f.size = o.size;
|
|
354
|
-
resolve();
|
|
355
|
-
}, reject);
|
|
356
|
-
});
|
|
357
|
-
}));
|
|
358
|
-
}
|
|
359
|
-
loadFolder(folder, fileTypeToSelect) {
|
|
360
|
-
return new Promise((resolve, reject) => {
|
|
361
|
-
let fileTypeToShow;
|
|
362
|
-
folder.createReader().readEntries((entries) => {
|
|
363
|
-
if (!lodashEs.isEmpty(fileTypeToSelect)) {
|
|
364
|
-
fileTypeToShow = lodashEs.split(fileTypeToSelect, ',');
|
|
365
|
-
entries = lodashEs.filter(entries, e => {
|
|
366
|
-
// @ts-ignore
|
|
367
|
-
return !e.isFile || lodashEs.findIndex(fileTypeToShow, ext => lodashEs.endsWith(e.name, '.' + ext)) >= 0;
|
|
368
|
-
});
|
|
369
|
-
}
|
|
370
|
-
// @ts-ignore
|
|
371
|
-
resolve(lodashEs.sortBy(entries, e => (e.isFile ? '1_' : '0_') + e.name.toLowerCase()));
|
|
372
|
-
}, reject);
|
|
373
|
-
});
|
|
374
|
-
}
|
|
375
|
-
refreshFolder() {
|
|
376
|
-
return this.loadFolder(this.currentFolder, this.fileTypeToSelect)
|
|
377
|
-
.then(files => this.currentFolder.files = files);
|
|
378
|
-
}
|
|
379
|
-
selectFile(file) {
|
|
380
|
-
if (!this.multiple && this.selectedFiles.length > 0) {
|
|
381
|
-
this.selectedFiles[0].isSelected = false;
|
|
382
|
-
this.selectedFiles = [];
|
|
383
|
-
}
|
|
384
|
-
this.selectedFiles.push(file);
|
|
385
|
-
file.isSelected = true;
|
|
386
|
-
}
|
|
387
|
-
static { this.ɵfac = function FileBrowserComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || FileBrowserComponent)(i0__namespace.ɵɵdirectiveInject(i1__namespace.DeviceService)); }; }
|
|
388
|
-
static { this.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: FileBrowserComponent, selectors: [["", "wmMobileFileBrowser", ""]], inputs: { fileTypeToSelect: "fileTypeToSelect", multiple: "multiple" }, outputs: { submitEmitter: "submit" }, attrs: _c0$2, decls: 1, vars: 1, consts: [["class", "app-file-browser", 4, "ngIf"], [1, "app-file-browser"], [1, "modal-backdrop", "fade"], [1, "modal", "fade", 2, "display", "block"], [1, "modal-dialog"], [1, "modal-content"], [1, "modal-header", "clearfix"], [1, "modal-title", "pull-left"], [3, "click", "hidden"], [1, "wi", "wi-long-arrow-left"], [1, "selected-file-button", "pull-right", 3, "click"], [1, "wi", "wi-refresh"], [1, "modal-body"], ["class", "file-info-box", 4, "ngFor", "ngForOf"], [1, "modal-footer"], ["type", "button", "class", "btn btn-primary", 3, "click", 4, "ngIf"], ["type", "button", 1, "btn", "btn-default", 3, "click"], [1, "file-info-box"], [1, "file-info", 3, "click"], ["class", "file-icon wi wi-folder", 4, "ngIf"], [3, "class", 4, "ngIf"], [1, "file-name"], [1, "file-icon", "wi", "wi-folder"], ["type", "button", 1, "btn", "btn-primary", 3, "click"], [1, "badge", "badge-light"]], template: function FileBrowserComponent_Template(rf, ctx) { if (rf & 1) {
|
|
389
|
-
i0__namespace.ɵɵtemplate(0, FileBrowserComponent_div_0_Template, 18, 8, "div", 0);
|
|
390
|
-
} if (rf & 2) {
|
|
391
|
-
i0__namespace.ɵɵproperty("ngIf", ctx.isVisible && ctx.currentFolder);
|
|
392
|
-
} }, dependencies: [i3$1__namespace.NgForOf, i3$1__namespace.NgIf], encapsulation: 2 }); }
|
|
393
|
-
}
|
|
394
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(FileBrowserComponent, [{
|
|
395
|
-
type: i0.Component,
|
|
396
|
-
args: [{ selector: '[wmMobileFileBrowser]', template: "<div class=\"app-file-browser\" *ngIf=\"isVisible && currentFolder\">\n <div class=\"modal-backdrop fade\" [class.in]=\"isVisible\"></div>\n <div class=\"modal fade\" style=\"display: block;\" [class.in]=\"isVisible\" >\n <div class=\"modal-dialog\">\n <div class=\"modal-content\">\n <div class=\"modal-header clearfix\">\n <h4 class=\"modal-title pull-left\">\n <span (click)=\"onFileClick(currentFolder.parent)\" [hidden]=\"!!!currentFolder.parent\">\n <i class=\"wi wi-long-arrow-left\"></i>\n </span>\n {{currentFolder.name}}\n </h4>\n <div class=\"selected-file-button pull-right\" (click)=\"refreshFolder()\">\n <i class=\"wi wi-refresh\"></i>\n </div>\n </div>\n <div class=\"modal-body\">\n <div class=\"file-info-box\" *ngFor=\"let file of currentFolder.files\">\n <div class=\"file-info\" [class.bg-primary]=\"file.isSelected\" (click)=\"onFileClick(file)\">\n <i class=\"file-icon wi wi-folder\" *ngIf=\"!file.isFile\"></i>\n <i class=\"file-icon wi wi-file {{getFileExtension(file.name)}}\" *ngIf=\"file.isFile\"></i>\n <span class=\"file-name\">{{file.name}}</span>\n </div>\n </div>\n </div>\n <div class=\"modal-footer\">\n <button type=\"button\" class=\"btn btn-primary\" *ngIf=\"selectedFiles && selectedFiles.length > 0\" (click)=\"submit()\">\n Done <span class=\"badge badge-light\">{{selectedFiles.length}}</span>\n </button>\n <button type=\"button\" class=\"btn btn-default\" (click)=\"show = false;\">Close</button>\n </div>\n </div>\n </div>\n </div>\n</div>" }]
|
|
397
|
-
}], () => [{ type: i1__namespace.DeviceService }], { fileTypeToSelect: [{
|
|
398
|
-
type: i0.Input
|
|
399
|
-
}], multiple: [{
|
|
400
|
-
type: i0.Input
|
|
401
|
-
}], submitEmitter: [{
|
|
402
|
-
type: i0.Output,
|
|
403
|
-
args: ['submit']
|
|
404
|
-
}] }); })();
|
|
405
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassDebugInfo(FileBrowserComponent, { className: "FileBrowserComponent", filePath: "file-browser/file-browser.component.ts", lineNumber: 28 }); })();
|
|
406
|
-
|
|
407
|
-
class FileSelectorService {
|
|
408
|
-
static { this.SERVICE_NAME = 'FileSelectorService'; }
|
|
409
|
-
constructor(spinnerService) {
|
|
410
|
-
this.spinnerService = spinnerService;
|
|
411
|
-
}
|
|
412
|
-
selectAudio(multiple = false) {
|
|
413
|
-
var spinnerId = this.spinnerService.show("");
|
|
414
|
-
return new Promise((resolve, reject) => {
|
|
415
|
-
cordova.wavemaker.filePicker.selectAudio(multiple, resolve, reject);
|
|
416
|
-
}).then(files => this.getFiles(files))
|
|
417
|
-
.then((paths) => {
|
|
418
|
-
this.spinnerService.hide(spinnerId);
|
|
419
|
-
return paths;
|
|
420
|
-
});
|
|
421
|
-
}
|
|
422
|
-
setFileBrowser(f) {
|
|
423
|
-
this.fileBrowserComponent = f;
|
|
424
|
-
}
|
|
425
|
-
selectFiles(multiple = false, fileTypeToSelect) {
|
|
426
|
-
var spinnerId = this.spinnerService.show("");
|
|
427
|
-
return new Promise((resolve, reject) => {
|
|
428
|
-
cordova.wavemaker.filePicker.selectFiles(multiple, resolve, reject);
|
|
429
|
-
}).then(files => this.getFiles(files))
|
|
430
|
-
.then((paths) => {
|
|
431
|
-
this.spinnerService.hide(spinnerId);
|
|
432
|
-
return paths;
|
|
433
|
-
});
|
|
434
|
-
}
|
|
435
|
-
selectImages(multiple = false) {
|
|
436
|
-
var spinnerId = this.spinnerService.show("");
|
|
437
|
-
return new Promise((resolve, reject) => {
|
|
438
|
-
cordova.wavemaker.filePicker.selectImage(multiple, resolve, reject);
|
|
439
|
-
}).then(files => this.getFiles(files))
|
|
440
|
-
.then((paths) => {
|
|
441
|
-
this.spinnerService.hide(spinnerId);
|
|
442
|
-
return paths;
|
|
443
|
-
});
|
|
444
|
-
}
|
|
445
|
-
selectVideos(multiple = false) {
|
|
446
|
-
var spinnerId = this.spinnerService.show("");
|
|
447
|
-
return new Promise((resolve, reject) => {
|
|
448
|
-
cordova.wavemaker.filePicker.selectVideo(multiple, resolve, reject);
|
|
449
|
-
}).then(files => this.getFiles(files))
|
|
450
|
-
.then((paths) => {
|
|
451
|
-
this.spinnerService.hide(spinnerId);
|
|
452
|
-
return paths;
|
|
453
|
-
});
|
|
454
|
-
}
|
|
455
|
-
/**
|
|
456
|
-
* Converts the file to blob using filepath
|
|
457
|
-
* @param filePaths, array of file paths
|
|
458
|
-
* @returns fileObj having name, path, content
|
|
459
|
-
*/
|
|
460
|
-
getFiles(filePaths) {
|
|
461
|
-
// @ts-ignore
|
|
462
|
-
return Promise.all(lodashEs.map(filePaths, filePath => {
|
|
463
|
-
if (filePath.indexOf('://') < 0) {
|
|
464
|
-
filePath = 'file://' + filePath;
|
|
465
|
-
}
|
|
466
|
-
return i1$1.convertToBlob(filePath);
|
|
467
|
-
})).then(filesList => {
|
|
468
|
-
return lodashEs.map(filesList, fileObj => {
|
|
469
|
-
const path = fileObj.filepath;
|
|
470
|
-
return {
|
|
471
|
-
name: path.split('/').pop(),
|
|
472
|
-
path: path,
|
|
473
|
-
content: fileObj.blob,
|
|
474
|
-
size: fileObj.blob.size
|
|
475
|
-
};
|
|
476
|
-
});
|
|
477
|
-
});
|
|
478
|
-
}
|
|
479
|
-
static { this.ɵfac = function FileSelectorService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || FileSelectorService)(i0__namespace.ɵɵinject(i1$1__namespace.AbstractSpinnerService)); }; }
|
|
480
|
-
static { this.ɵprov = /*@__PURE__*/ i0__namespace.ɵɵdefineInjectable({ token: FileSelectorService, factory: FileSelectorService.ɵfac, providedIn: 'root' }); }
|
|
481
|
-
}
|
|
482
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(FileSelectorService, [{
|
|
483
|
-
type: i0.Injectable,
|
|
484
|
-
args: [{ providedIn: 'root' }]
|
|
485
|
-
}], () => [{ type: i1$1__namespace.AbstractSpinnerService }], null); })();
|
|
486
|
-
|
|
487
|
-
const DEFAULT_IMAGE = 'resources/images/imagelists/default-image.png';
|
|
488
|
-
class ImageCacheDirective {
|
|
489
|
-
constructor(componentInstance, deviceFileCacheService, file) {
|
|
490
|
-
this.componentInstance = componentInstance;
|
|
491
|
-
this.deviceFileCacheService = deviceFileCacheService;
|
|
492
|
-
this.file = file;
|
|
493
|
-
this._isEnabled = false;
|
|
494
|
-
this._lastUrl = '';
|
|
495
|
-
}
|
|
496
|
-
ngDoCheck() {
|
|
497
|
-
if (lodashEs.isString(this.componentInstance.imgSource)
|
|
498
|
-
&& this.componentInstance.imgSource.startsWith('http')) {
|
|
499
|
-
if (this._lastUrl !== this.componentInstance.imgSource) {
|
|
500
|
-
this._lastUrl = this.componentInstance.imgSource;
|
|
501
|
-
this.componentInstance.imgSource = DEFAULT_IMAGE;
|
|
502
|
-
this.getLocalPath(this._lastUrl).then((localPath) => {
|
|
503
|
-
this._cacheUrl = i1$1.transformFileURI(localPath);
|
|
504
|
-
this.componentInstance.imgSource = this._cacheUrl;
|
|
505
|
-
});
|
|
506
|
-
}
|
|
507
|
-
else if (this._cacheUrl) {
|
|
508
|
-
this.componentInstance.imgSource = this._cacheUrl;
|
|
509
|
-
}
|
|
510
|
-
}
|
|
511
|
-
}
|
|
512
|
-
set wmImageCache(val) {
|
|
513
|
-
this._isEnabled = (i1$1.hasCordova() && val === 'true');
|
|
514
|
-
}
|
|
515
|
-
getLocalPath(val) {
|
|
516
|
-
if (i1$1.hasCordova() && val && val.indexOf('{{') < 0 && val.startsWith('http')) {
|
|
517
|
-
return this.deviceFileCacheService.getLocalPath(val, true, true, !this._isEnabled)
|
|
518
|
-
.catch(i1$1.noop);
|
|
519
|
-
}
|
|
520
|
-
return Promise.resolve(val);
|
|
521
|
-
}
|
|
522
|
-
static { this.ɵfac = function ImageCacheDirective_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ImageCacheDirective)(i0__namespace.ɵɵdirectiveInject(i5.WidgetRef, 2), i0__namespace.ɵɵdirectiveInject(i1__namespace.DeviceFileCacheService), i0__namespace.ɵɵdirectiveInject(i2__namespace.File)); }; }
|
|
523
|
-
static { this.ɵdir = /*@__PURE__*/ i0__namespace.ɵɵdefineDirective({ type: ImageCacheDirective, selectors: [["", "wmImageCache", ""]], inputs: { wmImageCache: "wmImageCache" } }); }
|
|
524
|
-
}
|
|
525
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(ImageCacheDirective, [{
|
|
526
|
-
type: i0.Directive,
|
|
527
|
-
args: [{
|
|
528
|
-
selector: '[wmImageCache]'
|
|
529
|
-
}]
|
|
530
|
-
}], () => [{ type: undefined, decorators: [{
|
|
531
|
-
type: i0.Self
|
|
532
|
-
}, {
|
|
533
|
-
type: i0.Inject,
|
|
534
|
-
args: [i5.WidgetRef]
|
|
535
|
-
}] }, { type: i1__namespace.DeviceFileCacheService }, { type: i2__namespace.File }], { wmImageCache: [{
|
|
536
|
-
type: i0.Input
|
|
537
|
-
}] }); })();
|
|
538
|
-
|
|
539
|
-
const registerProps = () => {
|
|
540
|
-
i5.register('wm-network-info-toaster', new Map([]));
|
|
541
|
-
};
|
|
542
|
-
|
|
543
|
-
const _c0$1 = ["wmNetworkInfoToaster", ""];
|
|
544
|
-
function NetworkInfoToasterComponent_div_0_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
545
|
-
const _r1 = i0__namespace.ɵɵgetCurrentView();
|
|
546
|
-
i0__namespace.ɵɵelementStart(0, "div", 3);
|
|
547
|
-
i0__namespace.ɵɵelement(1, "label", 4);
|
|
548
|
-
i0__namespace.ɵɵelementStart(2, "button", 5);
|
|
549
|
-
i0__namespace.ɵɵlistener("click", function NetworkInfoToasterComponent_div_0_div_1_Template_button_click_2_listener() { i0__namespace.ɵɵrestoreView(_r1); const ctx_r1 = i0__namespace.ɵɵnextContext(2); return i0__namespace.ɵɵresetView(ctx_r1.hideMessage()); });
|
|
550
|
-
i0__namespace.ɵɵelementEnd()();
|
|
551
|
-
} if (rf & 2) {
|
|
552
|
-
const ctx_r1 = i0__namespace.ɵɵnextContext(2);
|
|
553
|
-
i0__namespace.ɵɵadvance();
|
|
554
|
-
i0__namespace.ɵɵproperty("textContent", ctx_r1.appLocale.MESSAGE_NETWORK_NOT_AVAILABLE);
|
|
555
|
-
i0__namespace.ɵɵadvance();
|
|
556
|
-
i0__namespace.ɵɵproperty("textContent", ctx_r1.appLocale.LABEL_HIDE_NETWORK_INFO);
|
|
557
|
-
} }
|
|
558
|
-
function NetworkInfoToasterComponent_div_0_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
559
|
-
const _r3 = i0__namespace.ɵɵgetCurrentView();
|
|
560
|
-
i0__namespace.ɵɵelementStart(0, "div", 3);
|
|
561
|
-
i0__namespace.ɵɵelement(1, "label", 4);
|
|
562
|
-
i0__namespace.ɵɵelementStart(2, "button", 5);
|
|
563
|
-
i0__namespace.ɵɵlistener("click", function NetworkInfoToasterComponent_div_0_div_2_Template_button_click_2_listener() { i0__namespace.ɵɵrestoreView(_r3); const ctx_r1 = i0__namespace.ɵɵnextContext(2); return i0__namespace.ɵɵresetView(ctx_r1.hideMessage()); });
|
|
564
|
-
i0__namespace.ɵɵelementEnd()();
|
|
565
|
-
} if (rf & 2) {
|
|
566
|
-
const ctx_r1 = i0__namespace.ɵɵnextContext(2);
|
|
567
|
-
i0__namespace.ɵɵadvance();
|
|
568
|
-
i0__namespace.ɵɵproperty("textContent", ctx_r1.appLocale.MESSAGE_SERVICE_NOT_AVAILABLE);
|
|
569
|
-
i0__namespace.ɵɵadvance();
|
|
570
|
-
i0__namespace.ɵɵproperty("textContent", ctx_r1.appLocale.LABEL_HIDE_NETWORK_INFO);
|
|
571
|
-
} }
|
|
572
|
-
function NetworkInfoToasterComponent_div_0_div_3_Template(rf, ctx) { if (rf & 1) {
|
|
573
|
-
const _r4 = i0__namespace.ɵɵgetCurrentView();
|
|
574
|
-
i0__namespace.ɵɵelementStart(0, "div", 3);
|
|
575
|
-
i0__namespace.ɵɵelement(1, "label", 4);
|
|
576
|
-
i0__namespace.ɵɵelementStart(2, "button", 5);
|
|
577
|
-
i0__namespace.ɵɵlistener("click", function NetworkInfoToasterComponent_div_0_div_3_Template_button_click_2_listener() { i0__namespace.ɵɵrestoreView(_r4); const ctx_r1 = i0__namespace.ɵɵnextContext(2); return i0__namespace.ɵɵresetView(ctx_r1.hideMessage()); });
|
|
578
|
-
i0__namespace.ɵɵelementEnd();
|
|
579
|
-
i0__namespace.ɵɵelementStart(3, "button", 6);
|
|
580
|
-
i0__namespace.ɵɵlistener("click", function NetworkInfoToasterComponent_div_0_div_3_Template_button_click_3_listener() { i0__namespace.ɵɵrestoreView(_r4); const ctx_r1 = i0__namespace.ɵɵnextContext(2); return i0__namespace.ɵɵresetView(ctx_r1.connect()); });
|
|
581
|
-
i0__namespace.ɵɵelementEnd()();
|
|
582
|
-
} if (rf & 2) {
|
|
583
|
-
const ctx_r1 = i0__namespace.ɵɵnextContext(2);
|
|
584
|
-
i0__namespace.ɵɵadvance();
|
|
585
|
-
i0__namespace.ɵɵproperty("textContent", ctx_r1.appLocale.MESSAGE_SERVICE_AVAILABLE);
|
|
586
|
-
i0__namespace.ɵɵadvance();
|
|
587
|
-
i0__namespace.ɵɵproperty("textContent", ctx_r1.appLocale.LABEL_HIDE_NETWORK_INFO);
|
|
588
|
-
i0__namespace.ɵɵadvance();
|
|
589
|
-
i0__namespace.ɵɵproperty("textContent", ctx_r1.appLocale.LABEL_CONNECT_TO_SERVICE);
|
|
590
|
-
} }
|
|
591
|
-
function NetworkInfoToasterComponent_div_0_div_4_Template(rf, ctx) { if (rf & 1) {
|
|
592
|
-
i0__namespace.ɵɵelementStart(0, "div", 3);
|
|
593
|
-
i0__namespace.ɵɵelement(1, "label", 4);
|
|
594
|
-
i0__namespace.ɵɵelementEnd();
|
|
595
|
-
} if (rf & 2) {
|
|
596
|
-
const ctx_r1 = i0__namespace.ɵɵnextContext(2);
|
|
597
|
-
i0__namespace.ɵɵadvance();
|
|
598
|
-
i0__namespace.ɵɵproperty("textContent", ctx_r1.appLocale.MESSAGE_SERVICE_CONNECTING);
|
|
599
|
-
} }
|
|
600
|
-
function NetworkInfoToasterComponent_div_0_div_5_Template(rf, ctx) { if (rf & 1) {
|
|
601
|
-
i0__namespace.ɵɵelementStart(0, "div", 3);
|
|
602
|
-
i0__namespace.ɵɵelement(1, "label", 4);
|
|
603
|
-
i0__namespace.ɵɵelementEnd();
|
|
604
|
-
} if (rf & 2) {
|
|
605
|
-
const ctx_r1 = i0__namespace.ɵɵnextContext(2);
|
|
606
|
-
i0__namespace.ɵɵadvance();
|
|
607
|
-
i0__namespace.ɵɵproperty("textContent", ctx_r1.appLocale.MESSAGE_SERVICE_CONNECTED);
|
|
608
|
-
} }
|
|
609
|
-
function NetworkInfoToasterComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
610
|
-
i0__namespace.ɵɵelementStart(0, "div", 1);
|
|
611
|
-
i0__namespace.ɵɵtemplate(1, NetworkInfoToasterComponent_div_0_div_1_Template, 3, 2, "div", 2)(2, NetworkInfoToasterComponent_div_0_div_2_Template, 3, 2, "div", 2)(3, NetworkInfoToasterComponent_div_0_div_3_Template, 4, 3, "div", 2)(4, NetworkInfoToasterComponent_div_0_div_4_Template, 2, 1, "div", 2)(5, NetworkInfoToasterComponent_div_0_div_5_Template, 2, 1, "div", 2);
|
|
612
|
-
i0__namespace.ɵɵelementEnd();
|
|
613
|
-
} if (rf & 2) {
|
|
614
|
-
const ctx_r1 = i0__namespace.ɵɵnextContext();
|
|
615
|
-
i0__namespace.ɵɵproperty("ngSwitch", ctx_r1.networkState);
|
|
616
|
-
i0__namespace.ɵɵadvance();
|
|
617
|
-
i0__namespace.ɵɵproperty("ngSwitchCase", -3);
|
|
618
|
-
i0__namespace.ɵɵadvance();
|
|
619
|
-
i0__namespace.ɵɵproperty("ngSwitchCase", -2);
|
|
620
|
-
i0__namespace.ɵɵadvance();
|
|
621
|
-
i0__namespace.ɵɵproperty("ngSwitchCase", -1);
|
|
622
|
-
i0__namespace.ɵɵadvance();
|
|
623
|
-
i0__namespace.ɵɵproperty("ngSwitchCase", 0);
|
|
624
|
-
i0__namespace.ɵɵadvance();
|
|
625
|
-
i0__namespace.ɵɵproperty("ngSwitchCase", 1);
|
|
626
|
-
} }
|
|
627
|
-
const DEFAULT_CLS = 'network-info-toaster';
|
|
628
|
-
const WIDGET_CONFIG = { widgetType: 'wm-network-info-toaster', hostClass: DEFAULT_CLS };
|
|
629
|
-
exports.NetworkState = void 0;
|
|
630
|
-
(function (NetworkState) {
|
|
631
|
-
NetworkState[NetworkState["CONNECTED"] = 1] = "CONNECTED";
|
|
632
|
-
NetworkState[NetworkState["CONNECTING"] = 0] = "CONNECTING";
|
|
633
|
-
NetworkState[NetworkState["SERVICE_AVAILABLE_BUT_NOT_CONNECTED"] = -1] = "SERVICE_AVAILABLE_BUT_NOT_CONNECTED";
|
|
634
|
-
NetworkState[NetworkState["NETWORK_AVAIABLE_BUT_SERVICE_NOT_AVAILABLE"] = -2] = "NETWORK_AVAIABLE_BUT_SERVICE_NOT_AVAILABLE";
|
|
635
|
-
NetworkState[NetworkState["NETWORK_NOT_AVAIABLE"] = -3] = "NETWORK_NOT_AVAIABLE";
|
|
636
|
-
})(exports.NetworkState || (exports.NetworkState = {}));
|
|
637
|
-
class NetworkInfoToasterComponent extends i5.StylableComponent {
|
|
638
|
-
static { this.initializeProps = registerProps(); }
|
|
639
|
-
constructor(networkService, app, inj, explicitContext) {
|
|
640
|
-
super(inj, WIDGET_CONFIG, explicitContext);
|
|
641
|
-
this.networkService = networkService;
|
|
642
|
-
this.showMessage = false;
|
|
643
|
-
this.isServiceConnected = false;
|
|
644
|
-
this.isServiceAvailable = false;
|
|
645
|
-
i5.styler(this.$element, this);
|
|
646
|
-
this.isServiceAvailable = this.networkService.isAvailable();
|
|
647
|
-
this.isServiceConnected = this.networkService.isConnected();
|
|
648
|
-
this._listenerDestroyer = app.subscribe('onNetworkStateChange', (data) => {
|
|
649
|
-
this.renderMessage(data);
|
|
650
|
-
});
|
|
651
|
-
this.renderMessage();
|
|
652
|
-
}
|
|
653
|
-
renderMessage(data) {
|
|
654
|
-
data = data || this.networkService.getState();
|
|
655
|
-
const oldState = this.networkState;
|
|
656
|
-
let autoHide = false;
|
|
657
|
-
if (data.noServiceRequired) {
|
|
658
|
-
return false;
|
|
659
|
-
}
|
|
660
|
-
if (data.isConnected) {
|
|
661
|
-
this.networkState = exports.NetworkState.CONNECTED;
|
|
662
|
-
autoHide = true;
|
|
663
|
-
}
|
|
664
|
-
else if (data.isConnecting) {
|
|
665
|
-
this.networkState = exports.NetworkState.CONNECTING;
|
|
666
|
-
}
|
|
667
|
-
else if (data.isServiceAvailable) {
|
|
668
|
-
this.networkState = exports.NetworkState.SERVICE_AVAILABLE_BUT_NOT_CONNECTED;
|
|
669
|
-
}
|
|
670
|
-
else if (data.isNetworkAvailable && !data.isServiceAvailable) {
|
|
671
|
-
this.networkState = exports.NetworkState.NETWORK_AVAIABLE_BUT_SERVICE_NOT_AVAILABLE;
|
|
672
|
-
}
|
|
673
|
-
else {
|
|
674
|
-
this.networkState = exports.NetworkState.NETWORK_NOT_AVAIABLE;
|
|
675
|
-
}
|
|
676
|
-
this.showMessage = (!(oldState === undefined && data.isConnected) && oldState !== this.networkState);
|
|
677
|
-
if (autoHide && this.showMessage) {
|
|
678
|
-
setTimeout(() => {
|
|
679
|
-
this.showMessage = false;
|
|
680
|
-
i1$1.$appDigest();
|
|
681
|
-
}, 5000);
|
|
682
|
-
}
|
|
683
|
-
}
|
|
684
|
-
connect() {
|
|
685
|
-
this.networkService.connect();
|
|
686
|
-
}
|
|
687
|
-
hideMessage() {
|
|
688
|
-
this.showMessage = false;
|
|
689
|
-
}
|
|
690
|
-
ngOnDestroy() {
|
|
691
|
-
this._listenerDestroyer();
|
|
692
|
-
super.ngOnDestroy();
|
|
693
|
-
}
|
|
694
|
-
static { this.ɵfac = function NetworkInfoToasterComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || NetworkInfoToasterComponent)(i0__namespace.ɵɵdirectiveInject(i1__namespace.NetworkService), i0__namespace.ɵɵdirectiveInject(i1$1__namespace.App), i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵdirectiveInject('EXPLICIT_CONTEXT', 8)); }; }
|
|
695
|
-
static { this.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: NetworkInfoToasterComponent, selectors: [["", "wmNetworkInfoToaster", ""]], features: [i0__namespace.ɵɵProvidersFeature([
|
|
696
|
-
i5.provideAsWidgetRef(NetworkInfoToasterComponent)
|
|
697
|
-
]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c0$1, decls: 1, vars: 1, consts: [["class", "network-info-toaster-content", 3, "ngSwitch", 4, "ngIf"], [1, "network-info-toaster-content", 3, "ngSwitch"], ["class", "info", 4, "ngSwitchCase"], [1, "info"], [1, "message", 3, "textContent"], [1, "btn", "btn-default", "hide-btn", 3, "click", "textContent"], [1, "btn", "btn-primary", "connect-btn", 3, "click", "textContent"]], template: function NetworkInfoToasterComponent_Template(rf, ctx) { if (rf & 1) {
|
|
698
|
-
i0__namespace.ɵɵtemplate(0, NetworkInfoToasterComponent_div_0_Template, 6, 6, "div", 0);
|
|
699
|
-
} if (rf & 2) {
|
|
700
|
-
i0__namespace.ɵɵproperty("ngIf", ctx.showMessage);
|
|
701
|
-
} }, dependencies: [i3$1__namespace.NgIf, i3$1__namespace.NgSwitch, i3$1__namespace.NgSwitchCase, i5__namespace.TextContentDirective], encapsulation: 2 }); }
|
|
702
|
-
}
|
|
703
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(NetworkInfoToasterComponent, [{
|
|
704
|
-
type: i0.Component,
|
|
705
|
-
args: [{ selector: '[wmNetworkInfoToaster]', providers: [
|
|
706
|
-
i5.provideAsWidgetRef(NetworkInfoToasterComponent)
|
|
707
|
-
], template: "<div class=\"network-info-toaster-content\" [ngSwitch]=\"networkState\" *ngIf=\"showMessage\">\n <div class=\"info\" *ngSwitchCase=\"-3\">\n <label class=\"message\" [textContent]=\"appLocale.MESSAGE_NETWORK_NOT_AVAILABLE\"></label>\n <button class=\"btn btn-default hide-btn\" (click)=\"hideMessage()\" [textContent]=\"appLocale.LABEL_HIDE_NETWORK_INFO\"></button>\n </div>\n <div class=\"info\" *ngSwitchCase=\"-2\">\n <label class=\"message\" [textContent]=\"appLocale.MESSAGE_SERVICE_NOT_AVAILABLE\"></label>\n <button class=\"btn btn-default hide-btn\" (click)=\"hideMessage()\" [textContent]=\"appLocale.LABEL_HIDE_NETWORK_INFO\"></button>\n </div>\n <div class=\"info\" *ngSwitchCase=\"-1\">\n <label class=\"message\" [textContent]=\"appLocale.MESSAGE_SERVICE_AVAILABLE\"></label>\n <button class=\"btn btn-default hide-btn\" (click)=\"hideMessage()\" [textContent]=\"appLocale.LABEL_HIDE_NETWORK_INFO\"></button>\n <button class=\"btn btn-primary connect-btn\" (click)=\"connect()\" [textContent]=\"appLocale.LABEL_CONNECT_TO_SERVICE\"></button>\n </div>\n <div class=\"info\" *ngSwitchCase=\"0\">\n <label class=\"message\" [textContent]=\"appLocale.MESSAGE_SERVICE_CONNECTING\"></label>\n </div>\n <div class=\"info\" *ngSwitchCase=\"1\">\n <label class=\"message\" [textContent]=\"appLocale.MESSAGE_SERVICE_CONNECTED\"></label>\n </div>\n</div>" }]
|
|
708
|
-
}], () => [{ type: i1__namespace.NetworkService }, { type: i1$1__namespace.App }, { type: i0__namespace.Injector }, { type: undefined, decorators: [{
|
|
709
|
-
type: i0.Inject,
|
|
710
|
-
args: ['EXPLICIT_CONTEXT']
|
|
711
|
-
}, {
|
|
712
|
-
type: i0.Optional
|
|
713
|
-
}] }], null); })();
|
|
714
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassDebugInfo(NetworkInfoToasterComponent, { className: "NetworkInfoToasterComponent", filePath: "network-info-toaster/network-info-toaster.component.ts", lineNumber: 28 }); })();
|
|
715
|
-
|
|
716
|
-
const _c0 = ["wmProcessManager", ""];
|
|
717
|
-
const _c1 = a0 => ({ instance: a0 });
|
|
718
|
-
function ProcessManagerComponent_ng_container_0_li_4_ng_template_8_Template(rf, ctx) { }
|
|
719
|
-
function ProcessManagerComponent_ng_container_0_li_4_button_9_Template(rf, ctx) { if (rf & 1) {
|
|
720
|
-
const _r1 = i0__namespace.ɵɵgetCurrentView();
|
|
721
|
-
i0__namespace.ɵɵelementStart(0, "button", 16);
|
|
722
|
-
i0__namespace.ɵɵlistener("click", function ProcessManagerComponent_ng_container_0_li_4_button_9_Template_button_click_0_listener() { i0__namespace.ɵɵrestoreView(_r1); const instance_r2 = i0__namespace.ɵɵnextContext().$implicit; return i0__namespace.ɵɵresetView(instance_r2.onStop()); });
|
|
723
|
-
i0__namespace.ɵɵtext(1);
|
|
724
|
-
i0__namespace.ɵɵelementEnd();
|
|
725
|
-
} if (rf & 2) {
|
|
726
|
-
const instance_r2 = i0__namespace.ɵɵnextContext().$implicit;
|
|
727
|
-
i0__namespace.ɵɵadvance();
|
|
728
|
-
i0__namespace.ɵɵtextInterpolate1(" ", instance_r2.stopButtonLabel, " ");
|
|
729
|
-
} }
|
|
730
|
-
function ProcessManagerComponent_ng_container_0_li_4_Template(rf, ctx) { if (rf & 1) {
|
|
731
|
-
i0__namespace.ɵɵelementStart(0, "li", 7)(1, "div", 8)(2, "div", 9)(3, "label", 10);
|
|
732
|
-
i0__namespace.ɵɵtext(4);
|
|
733
|
-
i0__namespace.ɵɵelementEnd()();
|
|
734
|
-
i0__namespace.ɵɵelementStart(5, "div", 11)(6, "label", 12);
|
|
735
|
-
i0__namespace.ɵɵtext(7);
|
|
736
|
-
i0__namespace.ɵɵelementEnd()()();
|
|
737
|
-
i0__namespace.ɵɵtemplate(8, ProcessManagerComponent_ng_container_0_li_4_ng_template_8_Template, 0, 0, "ng-template", 13)(9, ProcessManagerComponent_ng_container_0_li_4_button_9_Template, 2, 1, "button", 14);
|
|
738
|
-
i0__namespace.ɵɵelement(10, "div", 15);
|
|
739
|
-
i0__namespace.ɵɵelementEnd();
|
|
740
|
-
} if (rf & 2) {
|
|
741
|
-
const instance_r2 = ctx.$implicit;
|
|
742
|
-
i0__namespace.ɵɵnextContext(2);
|
|
743
|
-
const progressTemplate_r3 = i0__namespace.ɵɵreference(2);
|
|
744
|
-
i0__namespace.ɵɵadvance(4);
|
|
745
|
-
i0__namespace.ɵɵtextInterpolate(instance_r2.name);
|
|
746
|
-
i0__namespace.ɵɵadvance(3);
|
|
747
|
-
i0__namespace.ɵɵtextInterpolate1(" ", instance_r2.progressLabel, "");
|
|
748
|
-
i0__namespace.ɵɵadvance();
|
|
749
|
-
i0__namespace.ɵɵproperty("ngTemplateOutlet", progressTemplate_r3)("ngTemplateOutletContext", i0__namespace.ɵɵpureFunction1(5, _c1, instance_r2));
|
|
750
|
-
i0__namespace.ɵɵadvance();
|
|
751
|
-
i0__namespace.ɵɵproperty("ngIf", instance_r2.onStop);
|
|
752
|
-
} }
|
|
753
|
-
function ProcessManagerComponent_ng_container_0_li_5_Template(rf, ctx) { if (rf & 1) {
|
|
754
|
-
i0__namespace.ɵɵelementStart(0, "li", 7)(1, "label", 17);
|
|
755
|
-
i0__namespace.ɵɵtext(2);
|
|
756
|
-
i0__namespace.ɵɵelementEnd()();
|
|
757
|
-
} if (rf & 2) {
|
|
758
|
-
const ctx_r3 = i0__namespace.ɵɵnextContext(2);
|
|
759
|
-
i0__namespace.ɵɵadvance(2);
|
|
760
|
-
i0__namespace.ɵɵtextInterpolate1(" (", ctx_r3.queue.length, ") queued ");
|
|
761
|
-
} }
|
|
762
|
-
function ProcessManagerComponent_ng_container_0_Template(rf, ctx) { if (rf & 1) {
|
|
763
|
-
i0__namespace.ɵɵelementContainerStart(0);
|
|
764
|
-
i0__namespace.ɵɵelementStart(1, "div", 2)(2, "div", 3)(3, "ul", 4);
|
|
765
|
-
i0__namespace.ɵɵtemplate(4, ProcessManagerComponent_ng_container_0_li_4_Template, 11, 7, "li", 5)(5, ProcessManagerComponent_ng_container_0_li_5_Template, 3, 1, "li", 6);
|
|
766
|
-
i0__namespace.ɵɵelementEnd()()();
|
|
767
|
-
i0__namespace.ɵɵelementContainerEnd();
|
|
768
|
-
} if (rf & 2) {
|
|
769
|
-
const ctx_r3 = i0__namespace.ɵɵnextContext();
|
|
770
|
-
i0__namespace.ɵɵadvance(4);
|
|
771
|
-
i0__namespace.ɵɵproperty("ngForOf", ctx_r3.getVisibleInstances(ctx_r3.instances));
|
|
772
|
-
i0__namespace.ɵɵadvance();
|
|
773
|
-
i0__namespace.ɵɵproperty("ngIf", ctx_r3.queue.length > 0);
|
|
774
|
-
} }
|
|
775
|
-
function ProcessManagerComponent_ng_template_1_Template(rf, ctx) { if (rf & 1) {
|
|
776
|
-
i0__namespace.ɵɵelement(0, "div", 18);
|
|
777
|
-
} }
|
|
778
|
-
const MAX_PROCESS = 3;
|
|
779
|
-
class ProcessManagerComponent {
|
|
780
|
-
constructor(el) {
|
|
781
|
-
this.el = el;
|
|
782
|
-
this.isVisible = true;
|
|
783
|
-
this.instances = [];
|
|
784
|
-
this.queue = [];
|
|
785
|
-
i1$1.addClass(this.el.nativeElement, 'app-global-progress-bar modal default');
|
|
786
|
-
}
|
|
787
|
-
createInstance(name, min = 0, max = 100) {
|
|
788
|
-
const instance = {
|
|
789
|
-
max: max,
|
|
790
|
-
min: min,
|
|
791
|
-
name: name,
|
|
792
|
-
onStop: null,
|
|
793
|
-
progressLabel: '',
|
|
794
|
-
show: min !== max,
|
|
795
|
-
stopButtonLabel: 'Cancel',
|
|
796
|
-
value: 0
|
|
797
|
-
};
|
|
798
|
-
const api = {
|
|
799
|
-
get: (propertyName) => instance[propertyName],
|
|
800
|
-
set: (propertyName, propertyValue) => this.setInstaceProperty(instance, propertyName, propertyValue),
|
|
801
|
-
destroy: () => this.removeInstance(instance)
|
|
802
|
-
};
|
|
803
|
-
return this.addToQueue(instance).then(() => api);
|
|
804
|
-
}
|
|
805
|
-
getVisibleInstances() {
|
|
806
|
-
return this.instances.filter(i => i.show);
|
|
807
|
-
}
|
|
808
|
-
ngDoCheck() {
|
|
809
|
-
const hasInstancesToShow = !!this.instances.find(i => i.show);
|
|
810
|
-
if (this.isVisible && !hasInstancesToShow) {
|
|
811
|
-
i1$1.setAttr(this.el.nativeElement, 'hidden', 'true');
|
|
812
|
-
this.isVisible = false;
|
|
813
|
-
}
|
|
814
|
-
else if (!this.isVisible && hasInstancesToShow) {
|
|
815
|
-
i1$1.removeAttr(this.el.nativeElement, 'hidden');
|
|
816
|
-
this.isVisible = true;
|
|
817
|
-
}
|
|
818
|
-
}
|
|
819
|
-
addToQueue(instance) {
|
|
820
|
-
return new Promise(resolve => {
|
|
821
|
-
this.queue.push(() => {
|
|
822
|
-
if (this.instances.length < MAX_PROCESS) {
|
|
823
|
-
this.instances.push(instance);
|
|
824
|
-
resolve(instance);
|
|
825
|
-
}
|
|
826
|
-
else {
|
|
827
|
-
return false;
|
|
828
|
-
}
|
|
829
|
-
});
|
|
830
|
-
this.flushQueue();
|
|
831
|
-
});
|
|
832
|
-
}
|
|
833
|
-
flushQueue() {
|
|
834
|
-
if (this.queue.length > 0 && this.queue[0]() !== false) {
|
|
835
|
-
this.queue.shift();
|
|
836
|
-
this.flushQueue();
|
|
837
|
-
}
|
|
838
|
-
}
|
|
839
|
-
removeInstance(instance) {
|
|
840
|
-
return new Promise(resolve => {
|
|
841
|
-
setTimeout(() => {
|
|
842
|
-
lodashEs.remove(this.instances, instance);
|
|
843
|
-
this.flushQueue();
|
|
844
|
-
resolve();
|
|
845
|
-
}, 1000);
|
|
846
|
-
});
|
|
847
|
-
}
|
|
848
|
-
setInstaceProperty(instance, propertyName, propertyValue) {
|
|
849
|
-
if (propertyName === 'value') {
|
|
850
|
-
if (instance.value >= instance.max) {
|
|
851
|
-
propertyValue = instance.max;
|
|
852
|
-
}
|
|
853
|
-
instance.value = propertyValue;
|
|
854
|
-
instance.progressLabel = instance.value + '/' + instance.max;
|
|
855
|
-
}
|
|
856
|
-
else if (propertyName === 'onStop' && lodashEs.isFunction(propertyValue)) {
|
|
857
|
-
instance.onStop = () => {
|
|
858
|
-
propertyValue();
|
|
859
|
-
return this.removeInstance(instance);
|
|
860
|
-
};
|
|
861
|
-
}
|
|
862
|
-
else {
|
|
863
|
-
instance[propertyName] = propertyValue;
|
|
864
|
-
}
|
|
865
|
-
instance.show = instance.min !== instance.max;
|
|
866
|
-
}
|
|
867
|
-
static { this.ɵfac = function ProcessManagerComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ProcessManagerComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.ElementRef)); }; }
|
|
868
|
-
static { this.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: ProcessManagerComponent, selectors: [["", "wmProcessManager", ""]], features: [i0__namespace.ɵɵProvidersFeature([
|
|
869
|
-
i5.provideAsWidgetRef(ProcessManagerComponent)
|
|
870
|
-
])], attrs: _c0, decls: 3, vars: 1, consts: [["progressTemplate", ""], [4, "ngIf"], [1, "modal-dialog", "app-dialog"], [1, "modal-content"], [1, "instance-list", "list-unstyled"], ["class", "instance-list-item", 4, "ngFor", "ngForOf"], ["class", "instance-list-item", 4, "ngIf"], [1, "instance-list-item"], [1, "row"], [1, "col-xs-8"], [1, "app-global-progress-bar-name", "h6"], [1, "col-xs-4", "app-global-progress-bar-progress-label-col"], [1, "app-global-progress-bar-progress-label", "h6"], [3, "ngTemplateOutlet", "ngTemplateOutletContext"], ["class", "btn btn-secondary pull-right stop-btn", 3, "click", 4, "ngIf"], [2, "clear", "both"], [1, "btn", "btn-secondary", "pull-right", "stop-btn", 3, "click"], [1, "global-progress-bar-ui-primary-label", "h6"], ["wmProgressBar", "", "minvalue.bind", "instance.min", "maxvalue.bind", "instance.max", "datavalue.bind", "instance.value"]], template: function ProcessManagerComponent_Template(rf, ctx) { if (rf & 1) {
|
|
871
|
-
i0__namespace.ɵɵtemplate(0, ProcessManagerComponent_ng_container_0_Template, 6, 2, "ng-container", 1)(1, ProcessManagerComponent_ng_template_1_Template, 1, 0, "ng-template", null, 0, i0__namespace.ɵɵtemplateRefExtractor);
|
|
872
|
-
} if (rf & 2) {
|
|
873
|
-
i0__namespace.ɵɵproperty("ngIf", ctx.instances.length > 0);
|
|
874
|
-
} }, dependencies: [i3$1__namespace.NgForOf, i3$1__namespace.NgIf, i3$1__namespace.NgTemplateOutlet, i2$1__namespace.ProgressBarComponent], encapsulation: 2 }); }
|
|
875
|
-
}
|
|
876
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(ProcessManagerComponent, [{
|
|
877
|
-
type: i0.Component,
|
|
878
|
-
args: [{ selector: '[wmProcessManager]', providers: [
|
|
879
|
-
i5.provideAsWidgetRef(ProcessManagerComponent)
|
|
880
|
-
], template: "<ng-container *ngIf=\"instances.length > 0\">\n <div class=\"modal-dialog app-dialog\">\n <div class=\"modal-content\">\n <ul class=\"instance-list list-unstyled\">\n <li *ngFor=\"let instance of getVisibleInstances(instances); index as i\" class=\"instance-list-item\">\n <div class=\"row\">\n <div class=\"col-xs-8\">\n <label class=\"app-global-progress-bar-name h6\">{{instance.name}}</label>\n </div>\n <div class=\"col-xs-4 app-global-progress-bar-progress-label-col\">\n <label class=\"app-global-progress-bar-progress-label h6\">\n {{instance.progressLabel}}</label>\n </div>\n </div>\n <ng-template [ngTemplateOutlet]=\"progressTemplate\" [ngTemplateOutletContext]=\"{instance: instance}\"></ng-template>\n <button class=\"btn btn-secondary pull-right stop-btn\" *ngIf=\"instance.onStop\" (click)=\"instance.onStop();\">\n {{instance.stopButtonLabel}}\n </button>\n <div style=\"clear: both;\"></div>\n </li>\n <li class=\"instance-list-item\" *ngIf=\"queue.length > 0\">\n <label class=\"global-progress-bar-ui-primary-label h6\">\n ({{queue.length}}) queued\n </label>\n </li>\n </ul>\n </div>\n </div>\n</ng-container>\n<ng-template #progressTemplate let-instance=\"instance\">\n <div wmProgressBar minvalue.bind=\"instance.min\" maxvalue.bind=\"instance.max\" datavalue.bind=\"instance.value\"></div>\n</ng-template>" }]
|
|
881
|
-
}], () => [{ type: i0__namespace.ElementRef }], null); })();
|
|
882
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassDebugInfo(ProcessManagerComponent, { className: "ProcessManagerComponent", filePath: "process-manager/process-manager.component.ts", lineNumber: 33 }); })();
|
|
883
|
-
|
|
884
|
-
class ProcessManagementService {
|
|
885
|
-
static { this.SERVICE_NAME = 'ProcessManagementService'; }
|
|
886
|
-
setUIComponent(processManagerComponent) {
|
|
887
|
-
this.processManagerComponent = processManagerComponent;
|
|
888
|
-
}
|
|
889
|
-
/**
|
|
890
|
-
* Returns a promise that will be resolved when an instance is available. At max, 3 instances can only run
|
|
891
|
-
* in parallel and rest has to wait till a process is completed.
|
|
892
|
-
*
|
|
893
|
-
* A progress instance has the following properties.
|
|
894
|
-
*
|
|
895
|
-
* 1) min {number} minimum value, default value is 0 </br>
|
|
896
|
-
* 2) max {number} maximum value, default value is 100 </br>
|
|
897
|
-
* 3) value {number} progress value </br>
|
|
898
|
-
* 4) progressLabel {string} process name </br>
|
|
899
|
-
* 5) stopButtonLabel {string} label for stop button, default value is 'Cancel' </br>
|
|
900
|
-
* 6) onStop {function} function to invoke when stop button is clicked. </br>
|
|
901
|
-
*
|
|
902
|
-
* A progress instance has 3 methods </br>
|
|
903
|
-
* 1) set(property, value) -- sets value to the corresponding property </br>
|
|
904
|
-
* 2) get(property) -- returns property value </br>
|
|
905
|
-
* 3) destroy() -- closes the instance. </br>
|
|
906
|
-
*
|
|
907
|
-
* A progress instance will get auto closed when value and max are equal or when destroy method is called.
|
|
908
|
-
*
|
|
909
|
-
* @param {string} name name of the process whose progress is going to be shown
|
|
910
|
-
* @param {number} min minimum value
|
|
911
|
-
* @param {number} max maximum value
|
|
912
|
-
*
|
|
913
|
-
* @returns {object} a promise
|
|
914
|
-
*/
|
|
915
|
-
createInstance(name, min, max) {
|
|
916
|
-
if (!this.processManagerComponent) {
|
|
917
|
-
return Promise.reject('ProcessManagerComponent is missing');
|
|
918
|
-
}
|
|
919
|
-
return this.processManagerComponent.createInstance(name, min, max);
|
|
920
|
-
}
|
|
921
|
-
static { this.ɵfac = function ProcessManagementService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ProcessManagementService)(); }; }
|
|
922
|
-
static { this.ɵprov = /*@__PURE__*/ i0__namespace.ɵɵdefineInjectable({ token: ProcessManagementService, factory: ProcessManagementService.ɵfac, providedIn: 'root' }); }
|
|
923
|
-
}
|
|
924
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(ProcessManagementService, [{
|
|
925
|
-
type: i0.Injectable,
|
|
926
|
-
args: [{ providedIn: 'root' }]
|
|
927
|
-
}], null, null); })();
|
|
928
|
-
|
|
929
|
-
const components = [
|
|
930
|
-
AnchorDirective,
|
|
931
|
-
AppUpdateComponent,
|
|
932
|
-
FileBrowserComponent,
|
|
933
|
-
ImageCacheDirective,
|
|
934
|
-
NetworkInfoToasterComponent,
|
|
935
|
-
ProcessManagerComponent
|
|
936
|
-
];
|
|
937
|
-
class BasicModule {
|
|
938
|
-
static { this.ɵfac = function BasicModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || BasicModule)(); }; }
|
|
939
|
-
static { this.ɵmod = /*@__PURE__*/ i0__namespace.ɵɵdefineNgModule({ type: BasicModule }); }
|
|
940
|
-
static { this.ɵinj = /*@__PURE__*/ i0__namespace.ɵɵdefineInjector({ imports: [i3$1.CommonModule,
|
|
941
|
-
i2$1.ProgressModule,
|
|
942
|
-
i5.WmComponentsModule] }); }
|
|
943
|
-
}
|
|
944
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(BasicModule, [{
|
|
945
|
-
type: i0.NgModule,
|
|
946
|
-
args: [{
|
|
947
|
-
imports: [
|
|
948
|
-
i3$1.CommonModule,
|
|
949
|
-
i2$1.ProgressModule,
|
|
950
|
-
i5.WmComponentsModule
|
|
951
|
-
],
|
|
952
|
-
declarations: [...components],
|
|
953
|
-
exports: [...components]
|
|
954
|
-
}]
|
|
955
|
-
}], null, null); })();
|
|
956
|
-
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0__namespace.ɵɵsetNgModuleScope(BasicModule, { declarations: [AnchorDirective,
|
|
957
|
-
AppUpdateComponent,
|
|
958
|
-
FileBrowserComponent,
|
|
959
|
-
ImageCacheDirective,
|
|
960
|
-
NetworkInfoToasterComponent,
|
|
961
|
-
ProcessManagerComponent], imports: [i3$1.CommonModule,
|
|
962
|
-
i2$1.ProgressModule,
|
|
963
|
-
i5.WmComponentsModule], exports: [AnchorDirective,
|
|
964
|
-
AppUpdateComponent,
|
|
965
|
-
FileBrowserComponent,
|
|
966
|
-
ImageCacheDirective,
|
|
967
|
-
NetworkInfoToasterComponent,
|
|
968
|
-
ProcessManagerComponent] }); })();
|
|
969
|
-
|
|
970
|
-
exports.AnchorDirective = AnchorDirective;
|
|
971
|
-
exports.AppUpdateComponent = AppUpdateComponent;
|
|
972
|
-
exports.BasicModule = BasicModule;
|
|
973
|
-
exports.FileBrowserComponent = FileBrowserComponent;
|
|
974
|
-
exports.FileSelectorService = FileSelectorService;
|
|
975
|
-
exports.ImageCacheDirective = ImageCacheDirective;
|
|
976
|
-
exports.NetworkInfoToasterComponent = NetworkInfoToasterComponent;
|
|
977
|
-
exports.ProcessManagementService = ProcessManagementService;
|
|
978
|
-
exports.ProcessManagerComponent = ProcessManagerComponent;
|
|
979
|
-
|
|
980
|
-
}));
|