@wavemaker/app-ng-runtime 11.8.0-rc.5680 → 11.8.1-next.45204
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.
- app-ng-runtime/build-task/bundles/index.umd.js +9 -33
- app-ng-runtime/build-task/esm2022/advanced/carousel/carousel-template/carousel-template.build.mjs +2 -4
- app-ng-runtime/build-task/esm2022/advanced/carousel/carousel.build.mjs +1 -1
- app-ng-runtime/build-task/esm2022/basic/default/label/label.build.mjs +1 -1
- app-ng-runtime/build-task/esm2022/basic/progress/progress-bar/progress-bar.build.mjs +1 -1
- app-ng-runtime/build-task/esm2022/containers/accordion/accordion.build.mjs +1 -1
- app-ng-runtime/build-task/esm2022/containers/repeat-template.build.mjs +2 -4
- app-ng-runtime/build-task/esm2022/containers/tabs/tabs.build.mjs +1 -1
- app-ng-runtime/build-task/esm2022/data/form/form-field/form-field.build.mjs +1 -1
- app-ng-runtime/build-task/esm2022/data/form/form.build.mjs +2 -5
- app-ng-runtime/build-task/esm2022/data/list/list.build.mjs +1 -1
- app-ng-runtime/build-task/esm2022/data/media-list/media-list.build.mjs +1 -1
- app-ng-runtime/build-task/esm2022/data/table/table-column/table-column.build.mjs +1 -1
- app-ng-runtime/build-task/esm2022/data/table/table.build.mjs +1 -1
- app-ng-runtime/build-task/esm2022/dialogs/partial-dialog/partial-dialog.build.mjs +1 -1
- app-ng-runtime/build-task/esm2022/input/file-upload/file-upload.build.mjs +1 -1
- app-ng-runtime/build-task/esm2022/navigation/menu/menu.build.mjs +2 -19
- app-ng-runtime/build-task/esm2022/navigation/popover/popover.build.mjs +1 -1
- app-ng-runtime/build-task/esm2022/page/page-content/page-content.build.mjs +1 -1
- app-ng-runtime/build-task/esm2022/page/page.build.mjs +2 -3
- app-ng-runtime/build-task/esm2022/utils/utils.mjs +1 -1
- app-ng-runtime/build-task/fesm2022/index.mjs +6 -31
- app-ng-runtime/build-task/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/advanced/carousel/bundles/index.umd.js +16 -26
- app-ng-runtime/components/advanced/carousel/carousel-template/carousel-template.directive.d.ts +2 -2
- app-ng-runtime/components/advanced/carousel/carousel.directive.d.ts +2 -2
- app-ng-runtime/components/advanced/carousel/esm2022/carousel-template/carousel-template.directive.mjs +7 -12
- app-ng-runtime/components/advanced/carousel/esm2022/carousel.animator.mjs +2 -3
- app-ng-runtime/components/advanced/carousel/esm2022/carousel.directive.mjs +7 -12
- app-ng-runtime/components/advanced/carousel/esm2022/carousel.module.mjs +2 -2
- app-ng-runtime/components/advanced/carousel/fesm2022/index.mjs +14 -25
- app-ng-runtime/components/advanced/carousel/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/advanced/login/bundles/index.umd.js +13 -19
- app-ng-runtime/components/advanced/login/esm2022/login.component.mjs +10 -17
- app-ng-runtime/components/advanced/login/esm2022/login.module.mjs +2 -2
- app-ng-runtime/components/advanced/login/fesm2022/index.mjs +11 -18
- app-ng-runtime/components/advanced/login/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/advanced/login/login.component.d.ts +2 -2
- app-ng-runtime/components/advanced/marquee/bundles/index.umd.js +6 -11
- app-ng-runtime/components/advanced/marquee/esm2022/marquee.directive.mjs +7 -12
- app-ng-runtime/components/advanced/marquee/esm2022/marquee.module.mjs +2 -2
- app-ng-runtime/components/advanced/marquee/fesm2022/index.mjs +8 -13
- app-ng-runtime/components/advanced/marquee/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/advanced/marquee/marquee.directive.d.ts +2 -2
- app-ng-runtime/components/base/bundles/index.umd.js +282 -367
- app-ng-runtime/components/base/directives/show-in-device.directive.d.ts +6 -3
- app-ng-runtime/components/base/esm2022/components.module.mjs +2 -2
- app-ng-runtime/components/base/esm2022/directives/show-in-device.directive.mjs +15 -13
- app-ng-runtime/components/base/esm2022/pipes/custom-pipes.mjs +34 -35
- app-ng-runtime/components/base/esm2022/pipes/image.pipe.mjs +2 -2
- app-ng-runtime/components/base/esm2022/pipes/sanitize.pipe.mjs +3 -3
- app-ng-runtime/components/base/esm2022/pipes/trust-as.pipe.mjs +3 -3
- app-ng-runtime/components/base/esm2022/pipes/wm-pipe.mjs +2 -3
- app-ng-runtime/components/base/esm2022/utils/data-utils.mjs +29 -30
- app-ng-runtime/components/base/esm2022/utils/form-utils.mjs +42 -48
- app-ng-runtime/components/base/esm2022/utils/live-utils.mjs +7 -8
- app-ng-runtime/components/base/esm2022/utils/widget-utils.mjs +27 -28
- app-ng-runtime/components/base/esm2022/widgets/common/base/base-container.component.mjs +7 -8
- app-ng-runtime/components/base/esm2022/widgets/common/base/base-field-validations.mjs +22 -23
- app-ng-runtime/components/base/esm2022/widgets/common/base/base.component.mjs +16 -36
- app-ng-runtime/components/base/esm2022/widgets/common/base/dataset-aware-nav.component.mjs +18 -52
- app-ng-runtime/components/base/esm2022/widgets/common/base/partial-container.directive.mjs +5 -6
- app-ng-runtime/components/base/esm2022/widgets/common/base/stylable.component.mjs +3 -3
- app-ng-runtime/components/base/esm2022/widgets/common/base/text-content.directive.mjs +3 -3
- app-ng-runtime/components/base/esm2022/widgets/common/container/container.directive.mjs +7 -12
- app-ng-runtime/components/base/esm2022/widgets/common/dialog/dialog.service.mjs +4 -5
- app-ng-runtime/components/base/esm2022/widgets/common/item-template/item-template.directive.mjs +7 -12
- app-ng-runtime/components/base/esm2022/widgets/common/lazy-load/lazy-load.directive.mjs +7 -14
- app-ng-runtime/components/base/esm2022/widgets/common/message/message.component.mjs +10 -16
- app-ng-runtime/components/base/esm2022/widgets/common/partial/partial.directive.mjs +8 -14
- app-ng-runtime/components/base/esm2022/widgets/common/partial-param/partial-param.directive.mjs +8 -9
- app-ng-runtime/components/base/esm2022/widgets/common/pull-to-refresh/pull-to-refresh.mjs +1 -1
- app-ng-runtime/components/base/esm2022/widgets/common/redraw/redrawable.directive.mjs +4 -4
- app-ng-runtime/components/base/esm2022/widgets/common/repeat-template/repeat-template.directive.mjs +7 -12
- app-ng-runtime/components/base/esm2022/widgets/common/smooth-scroll/smooth-scroll.directive.mjs +10 -11
- app-ng-runtime/components/base/esm2022/widgets/framework/deviceview.mjs +1 -1
- app-ng-runtime/components/base/esm2022/widgets/framework/property-change-handler.mjs +2 -3
- app-ng-runtime/components/base/esm2022/widgets/framework/styler.mjs +1 -1
- app-ng-runtime/components/base/esm2022/widgets/framework/widget-props.mjs +1 -1
- app-ng-runtime/components/base/esm2022/widgets/framework/widget-proxy-provider.mjs +3 -4
- app-ng-runtime/components/base/esm2022/widgets/framework/widget-registry.mjs +1 -1
- app-ng-runtime/components/base/fesm2022/index.mjs +284 -372
- app-ng-runtime/components/base/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/base/pipes/custom-pipes.d.ts +1 -1
- app-ng-runtime/components/base/utils/data-utils.d.ts +0 -1
- app-ng-runtime/components/base/utils/widget-utils.d.ts +2 -2
- app-ng-runtime/components/base/widgets/common/base/base-container.component.d.ts +1 -1
- app-ng-runtime/components/base/widgets/common/base/base-field-validations.d.ts +1 -1
- app-ng-runtime/components/base/widgets/common/base/base.component.d.ts +2 -4
- app-ng-runtime/components/base/widgets/common/base/dataset-aware-nav.component.d.ts +1 -1
- app-ng-runtime/components/base/widgets/common/base/partial-container.directive.d.ts +1 -1
- app-ng-runtime/components/base/widgets/common/container/container.directive.d.ts +2 -2
- app-ng-runtime/components/base/widgets/common/item-template/item-template.directive.d.ts +2 -2
- app-ng-runtime/components/base/widgets/common/lazy-load/lazy-load.directive.d.ts +2 -2
- app-ng-runtime/components/base/widgets/common/message/message.component.d.ts +2 -2
- app-ng-runtime/components/base/widgets/common/partial/partial.directive.d.ts +2 -2
- app-ng-runtime/components/base/widgets/common/repeat-template/repeat-template.directive.d.ts +2 -2
- app-ng-runtime/components/basic/default/anchor/anchor.component.d.ts +2 -2
- app-ng-runtime/components/basic/default/audio/audio.component.d.ts +2 -3
- app-ng-runtime/components/basic/default/bundles/index.umd.js +119 -163
- app-ng-runtime/components/basic/default/esm2022/anchor/anchor.component.mjs +27 -31
- app-ng-runtime/components/basic/default/esm2022/audio/audio.component.mjs +11 -18
- app-ng-runtime/components/basic/default/esm2022/basic.module.mjs +2 -2
- app-ng-runtime/components/basic/default/esm2022/html/html.directive.mjs +8 -13
- app-ng-runtime/components/basic/default/esm2022/icon/icon.component.mjs +14 -19
- app-ng-runtime/components/basic/default/esm2022/iframe/iframe.component.mjs +9 -15
- app-ng-runtime/components/basic/default/esm2022/label/label.directive.mjs +9 -15
- app-ng-runtime/components/basic/default/esm2022/picture/picture.directive.mjs +7 -12
- app-ng-runtime/components/basic/default/esm2022/picture/picture.props.mjs +1 -1
- app-ng-runtime/components/basic/default/esm2022/spinner/spinner.component.mjs +30 -34
- app-ng-runtime/components/basic/default/esm2022/video/video.component.mjs +17 -21
- app-ng-runtime/components/basic/default/fesm2022/index.mjs +117 -162
- app-ng-runtime/components/basic/default/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/basic/default/html/html.directive.d.ts +2 -2
- app-ng-runtime/components/basic/default/icon/icon.component.d.ts +2 -2
- app-ng-runtime/components/basic/default/iframe/iframe.component.d.ts +2 -2
- app-ng-runtime/components/basic/default/label/label.directive.d.ts +2 -2
- app-ng-runtime/components/basic/default/picture/picture.directive.d.ts +2 -2
- app-ng-runtime/components/basic/default/spinner/spinner.component.d.ts +2 -2
- app-ng-runtime/components/basic/default/video/video.component.d.ts +2 -2
- app-ng-runtime/components/basic/progress/bundles/index.umd.js +30 -43
- app-ng-runtime/components/basic/progress/esm2022/progress-bar/progress-bar.component.mjs +15 -22
- app-ng-runtime/components/basic/progress/esm2022/progress-circle/progress-circle.component.mjs +12 -20
- app-ng-runtime/components/basic/progress/esm2022/progress.module.mjs +2 -2
- app-ng-runtime/components/basic/progress/esm2022/utils.mjs +3 -3
- app-ng-runtime/components/basic/progress/fesm2022/index.mjs +28 -42
- app-ng-runtime/components/basic/progress/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/basic/progress/progress-bar/progress-bar.component.d.ts +2 -2
- app-ng-runtime/components/basic/progress/progress-circle/progress-circle.component.d.ts +2 -3
- app-ng-runtime/components/basic/rich-text-editor/bundles/index.umd.js +13 -19
- app-ng-runtime/components/basic/rich-text-editor/esm2022/rich-text-editor.component.mjs +10 -17
- app-ng-runtime/components/basic/rich-text-editor/esm2022/rich-text-editor.module.mjs +2 -2
- app-ng-runtime/components/basic/rich-text-editor/fesm2022/index.mjs +11 -18
- app-ng-runtime/components/basic/rich-text-editor/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/basic/rich-text-editor/rich-text-editor.component.d.ts +2 -2
- app-ng-runtime/components/basic/search/bundles/index.umd.js +175 -186
- app-ng-runtime/components/basic/search/esm2022/data-provider/data-provider.mjs +1 -1
- app-ng-runtime/components/basic/search/esm2022/data-provider/local-data-provider.mjs +23 -26
- app-ng-runtime/components/basic/search/esm2022/data-provider/remote-data-provider.mjs +11 -12
- app-ng-runtime/components/basic/search/esm2022/scrollable.directive.mjs +3 -3
- app-ng-runtime/components/basic/search/esm2022/search.component.mjs +138 -148
- app-ng-runtime/components/basic/search/esm2022/search.module.mjs +2 -2
- app-ng-runtime/components/basic/search/fesm2022/index.mjs +174 -186
- app-ng-runtime/components/basic/search/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/basic/search/search.component.d.ts +2 -2
- app-ng-runtime/components/basic/tree/bundles/index.umd.js +17 -23
- app-ng-runtime/components/basic/tree/esm2022/tree.component.mjs +14 -21
- app-ng-runtime/components/basic/tree/esm2022/tree.module.mjs +2 -2
- app-ng-runtime/components/basic/tree/fesm2022/index.mjs +15 -22
- app-ng-runtime/components/basic/tree/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/basic/tree/tree.component.d.ts +2 -2
- app-ng-runtime/components/chart/bundles/index.umd.js +84 -97
- app-ng-runtime/components/chart/chart.component.d.ts +3 -3
- app-ng-runtime/components/chart/chart.utils.d.ts +3 -3
- app-ng-runtime/components/chart/esm2022/chart.component.mjs +68 -82
- app-ng-runtime/components/chart/esm2022/chart.module.mjs +2 -2
- app-ng-runtime/components/chart/esm2022/chart.utils.mjs +13 -14
- app-ng-runtime/components/chart/fesm2022/index.mjs +81 -95
- app-ng-runtime/components/chart/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/containers/accordion/accordion-pane/accordion-pane.component.d.ts +2 -2
- app-ng-runtime/components/containers/accordion/accordion.directive.d.ts +2 -2
- app-ng-runtime/components/containers/accordion/bundles/index.umd.js +40 -51
- app-ng-runtime/components/containers/accordion/esm2022/accordion-pane/accordion-pane.component.mjs +17 -23
- app-ng-runtime/components/containers/accordion/esm2022/accordion-pane/accordion-pane.props.mjs +4 -4
- app-ng-runtime/components/containers/accordion/esm2022/accordion.directive.mjs +19 -25
- app-ng-runtime/components/containers/accordion/esm2022/accordion.module.mjs +2 -2
- app-ng-runtime/components/containers/accordion/fesm2022/index.mjs +38 -50
- app-ng-runtime/components/containers/accordion/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/containers/layout-grid/bundles/index.umd.js +17 -32
- app-ng-runtime/components/containers/layout-grid/esm2022/layout-grid-column/layout-grid-column.directive.mjs +8 -13
- app-ng-runtime/components/containers/layout-grid/esm2022/layout-grid-row/layout-grid-row.directive.mjs +7 -12
- app-ng-runtime/components/containers/layout-grid/esm2022/layout-grid.directive.mjs +7 -12
- app-ng-runtime/components/containers/layout-grid/esm2022/layout-grid.module.mjs +2 -2
- app-ng-runtime/components/containers/layout-grid/fesm2022/index.mjs +19 -34
- app-ng-runtime/components/containers/layout-grid/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/containers/layout-grid/layout-grid-column/layout-grid-column.directive.d.ts +2 -2
- app-ng-runtime/components/containers/layout-grid/layout-grid-row/layout-grid-row.directive.d.ts +2 -2
- app-ng-runtime/components/containers/layout-grid/layout-grid.directive.d.ts +2 -2
- app-ng-runtime/components/containers/linear-layout/bundles/index.umd.js +11 -21
- app-ng-runtime/components/containers/linear-layout/esm2022/linear-layout-item/linear-layout-item.directive.mjs +7 -12
- app-ng-runtime/components/containers/linear-layout/esm2022/linear-layout.directive.mjs +7 -12
- app-ng-runtime/components/containers/linear-layout/esm2022/linear-layout.module.mjs +2 -2
- app-ng-runtime/components/containers/linear-layout/fesm2022/index.mjs +13 -23
- app-ng-runtime/components/containers/linear-layout/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/containers/linear-layout/linear-layout-item/linear-layout-item.directive.d.ts +2 -2
- app-ng-runtime/components/containers/linear-layout/linear-layout.directive.d.ts +2 -2
- app-ng-runtime/components/containers/panel/bundles/index.umd.js +85 -85
- app-ng-runtime/components/containers/panel/esm2022/panel.component.mjs +82 -83
- app-ng-runtime/components/containers/panel/esm2022/panel.module.mjs +2 -2
- app-ng-runtime/components/containers/panel/fesm2022/index.mjs +83 -84
- app-ng-runtime/components/containers/panel/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/containers/panel/panel.component.d.ts +3 -3
- app-ng-runtime/components/containers/tabs/bundles/index.umd.js +63 -74
- app-ng-runtime/components/containers/tabs/esm2022/tab-pane/tab-pane.component.mjs +8 -14
- app-ng-runtime/components/containers/tabs/esm2022/tab-pane/tab-pane.props.mjs +4 -4
- app-ng-runtime/components/containers/tabs/esm2022/tabs.animator.mjs +1 -1
- app-ng-runtime/components/containers/tabs/esm2022/tabs.component.mjs +51 -57
- app-ng-runtime/components/containers/tabs/esm2022/tabs.module.mjs +2 -2
- app-ng-runtime/components/containers/tabs/esm2022/tabs.props.mjs +1 -1
- app-ng-runtime/components/containers/tabs/fesm2022/index.mjs +61 -73
- app-ng-runtime/components/containers/tabs/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/containers/tabs/tab-pane/tab-pane.component.d.ts +2 -2
- app-ng-runtime/components/containers/tabs/tabs.component.d.ts +2 -2
- app-ng-runtime/components/containers/tile/bundles/index.umd.js +6 -11
- app-ng-runtime/components/containers/tile/esm2022/tile.directive.mjs +7 -12
- app-ng-runtime/components/containers/tile/esm2022/tile.module.mjs +2 -2
- app-ng-runtime/components/containers/tile/fesm2022/index.mjs +8 -13
- app-ng-runtime/components/containers/tile/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/containers/tile/tile.directive.d.ts +2 -2
- app-ng-runtime/components/containers/wizard/bundles/index.umd.js +98 -102
- app-ng-runtime/components/containers/wizard/esm2022/wizard-step/wizard-step.directive.mjs +8 -13
- app-ng-runtime/components/containers/wizard/esm2022/wizard.component.mjs +93 -92
- app-ng-runtime/components/containers/wizard/esm2022/wizard.module.mjs +2 -2
- app-ng-runtime/components/containers/wizard/fesm2022/index.mjs +100 -104
- app-ng-runtime/components/containers/wizard/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/containers/wizard/wizard-step/wizard-step.directive.d.ts +2 -2
- app-ng-runtime/components/containers/wizard/wizard.component.d.ts +2 -2
- app-ng-runtime/components/data/card/bundles/index.umd.js +50 -70
- app-ng-runtime/components/data/card/card-actions/card-actions.directive.d.ts +2 -2
- app-ng-runtime/components/data/card/card-content/card-content.component.d.ts +2 -2
- app-ng-runtime/components/data/card/card-footer/card-footer.directive.d.ts +2 -2
- app-ng-runtime/components/data/card/card.component.d.ts +2 -2
- app-ng-runtime/components/data/card/esm2022/card-actions/card-actions.directive.mjs +7 -12
- app-ng-runtime/components/data/card/esm2022/card-content/card-content.component.mjs +9 -15
- app-ng-runtime/components/data/card/esm2022/card-footer/card-footer.directive.mjs +7 -12
- app-ng-runtime/components/data/card/esm2022/card.component.mjs +34 -38
- app-ng-runtime/components/data/card/esm2022/card.module.mjs +2 -2
- app-ng-runtime/components/data/card/fesm2022/index.mjs +52 -72
- app-ng-runtime/components/data/card/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/data/form/bundles/index.umd.js +188 -202
- app-ng-runtime/components/data/form/esm2022/form-action/form-action.directive.mjs +9 -15
- app-ng-runtime/components/data/form/esm2022/form-field/form-field.directive.mjs +16 -21
- app-ng-runtime/components/data/form/esm2022/form-field/form-field.props.mjs +1 -1
- app-ng-runtime/components/data/form/esm2022/form-widget.directive.mjs +4 -4
- app-ng-runtime/components/data/form/esm2022/form.component.mjs +135 -139
- app-ng-runtime/components/data/form/esm2022/form.module.mjs +2 -2
- app-ng-runtime/components/data/form/esm2022/form.props.mjs +1 -1
- app-ng-runtime/components/data/form/esm2022/live-actions/dependson.directive.mjs +4 -4
- app-ng-runtime/components/data/form/esm2022/live-actions/live-actions.directive.mjs +4 -4
- app-ng-runtime/components/data/form/esm2022/live-filter/live-filter.directive.mjs +6 -7
- app-ng-runtime/components/data/form/esm2022/live-form/live-form.directive.mjs +15 -18
- app-ng-runtime/components/data/form/fesm2022/index.mjs +191 -206
- app-ng-runtime/components/data/form/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/data/form/form-action/form-action.directive.d.ts +2 -2
- app-ng-runtime/components/data/form/form-field/form-field.directive.d.ts +2 -2
- app-ng-runtime/components/data/form/form.component.d.ts +4 -4
- app-ng-runtime/components/data/form/live-form/live-form.directive.d.ts +1 -1
- app-ng-runtime/components/data/list/bundles/index.umd.js +772 -780
- app-ng-runtime/components/data/list/esm2022/list-item.directive.mjs +4 -4
- app-ng-runtime/components/data/list/esm2022/list.animator.mjs +3 -5
- app-ng-runtime/components/data/list/esm2022/list.component.mjs +764 -772
- app-ng-runtime/components/data/list/esm2022/list.module.mjs +2 -2
- app-ng-runtime/components/data/list/fesm2022/index.mjs +770 -779
- app-ng-runtime/components/data/list/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/data/list/list.component.d.ts +54 -55
- app-ng-runtime/components/data/live-table/bundles/index.umd.js +7 -13
- app-ng-runtime/components/data/live-table/esm2022/live-table.component.mjs +8 -14
- app-ng-runtime/components/data/live-table/esm2022/live-table.module.mjs +2 -2
- app-ng-runtime/components/data/live-table/fesm2022/index.mjs +9 -15
- app-ng-runtime/components/data/live-table/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/data/live-table/live-table.component.d.ts +2 -2
- app-ng-runtime/components/data/pagination/bundles/index.umd.js +110 -113
- app-ng-runtime/components/data/pagination/esm2022/pagination.component.mjs +107 -111
- app-ng-runtime/components/data/pagination/esm2022/pagination.module.mjs +2 -2
- app-ng-runtime/components/data/pagination/fesm2022/index.mjs +108 -112
- app-ng-runtime/components/data/pagination/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/data/pagination/pagination.component.d.ts +2 -2
- app-ng-runtime/components/data/table/bundles/index.umd.js +269 -314
- app-ng-runtime/components/data/table/esm2022/table-action/table-action.directive.mjs +9 -15
- app-ng-runtime/components/data/table/esm2022/table-column/table-column.directive.mjs +25 -40
- app-ng-runtime/components/data/table/esm2022/table-column/table-column.props.mjs +2 -2
- app-ng-runtime/components/data/table/esm2022/table-column-group/table-column-group.directive.mjs +8 -13
- app-ng-runtime/components/data/table/esm2022/table-cud.directive.mjs +9 -10
- app-ng-runtime/components/data/table/esm2022/table-filter.directive.mjs +58 -56
- app-ng-runtime/components/data/table/esm2022/table-row/table-row.directive.mjs +8 -13
- app-ng-runtime/components/data/table/esm2022/table-row-action/table-row-action.directive.mjs +8 -14
- app-ng-runtime/components/data/table/esm2022/table.component.mjs +150 -165
- app-ng-runtime/components/data/table/esm2022/table.module.mjs +2 -2
- app-ng-runtime/components/data/table/esm2022/table.props.mjs +2 -2
- app-ng-runtime/components/data/table/fesm2022/index.mjs +267 -313
- app-ng-runtime/components/data/table/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/data/table/table-action/table-action.directive.d.ts +2 -2
- app-ng-runtime/components/data/table/table-column/table-column.directive.d.ts +8 -8
- app-ng-runtime/components/data/table/table-column-group/table-column-group.directive.d.ts +2 -2
- app-ng-runtime/components/data/table/table-row/table-row.directive.d.ts +2 -2
- app-ng-runtime/components/data/table/table-row-action/table-row-action.directive.d.ts +2 -2
- app-ng-runtime/components/data/table/table.component.d.ts +4 -4
- app-ng-runtime/components/dialogs/alert-dialog/alert-dialog.component.d.ts +2 -2
- app-ng-runtime/components/dialogs/alert-dialog/bundles/index.umd.js +9 -15
- app-ng-runtime/components/dialogs/alert-dialog/esm2022/alert-dialog.component.mjs +10 -16
- app-ng-runtime/components/dialogs/alert-dialog/esm2022/alert-dialog.module.mjs +2 -2
- app-ng-runtime/components/dialogs/alert-dialog/fesm2022/index.mjs +11 -17
- app-ng-runtime/components/dialogs/alert-dialog/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/confirm-dialog/bundles/index.umd.js +11 -17
- app-ng-runtime/components/dialogs/confirm-dialog/confirm-dialog.component.d.ts +2 -2
- app-ng-runtime/components/dialogs/confirm-dialog/esm2022/confirm-dialog.component.mjs +12 -18
- app-ng-runtime/components/dialogs/confirm-dialog/esm2022/confirm-dialog.module.mjs +2 -2
- app-ng-runtime/components/dialogs/confirm-dialog/fesm2022/index.mjs +13 -19
- app-ng-runtime/components/dialogs/confirm-dialog/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/default/base-dialog.d.ts +2 -2
- app-ng-runtime/components/dialogs/default/bundles/index.umd.js +71 -75
- app-ng-runtime/components/dialogs/default/dialog-footer/dialog-footer.directive.d.ts +2 -2
- app-ng-runtime/components/dialogs/default/esm2022/base-dialog.mjs +9 -14
- app-ng-runtime/components/dialogs/default/esm2022/dialog-body/dialog-body.directive.mjs +4 -4
- app-ng-runtime/components/dialogs/default/esm2022/dialog-footer/dialog-footer.directive.mjs +7 -12
- app-ng-runtime/components/dialogs/default/esm2022/dialog-header/dialog-header.component.mjs +55 -49
- app-ng-runtime/components/dialogs/default/esm2022/dialog.module.mjs +2 -2
- app-ng-runtime/components/dialogs/default/fesm2022/index.mjs +72 -76
- app-ng-runtime/components/dialogs/default/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/design-dialog/bundles/index.umd.js +14 -20
- app-ng-runtime/components/dialogs/design-dialog/dialog.component.d.ts +2 -2
- app-ng-runtime/components/dialogs/design-dialog/esm2022/design-dialog.module.mjs +2 -2
- app-ng-runtime/components/dialogs/design-dialog/esm2022/dialog.component.mjs +15 -21
- app-ng-runtime/components/dialogs/design-dialog/fesm2022/index.mjs +16 -22
- app-ng-runtime/components/dialogs/design-dialog/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/iframe-dialog/bundles/index.umd.js +14 -20
- app-ng-runtime/components/dialogs/iframe-dialog/esm2022/iframe-dialog.component.mjs +15 -21
- app-ng-runtime/components/dialogs/iframe-dialog/esm2022/iframe-dialog.module.mjs +2 -2
- app-ng-runtime/components/dialogs/iframe-dialog/fesm2022/index.mjs +16 -22
- app-ng-runtime/components/dialogs/iframe-dialog/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/iframe-dialog/iframe-dialog.component.d.ts +2 -2
- app-ng-runtime/components/dialogs/login-dialog/bundles/index.umd.js +4 -4
- app-ng-runtime/components/dialogs/login-dialog/esm2022/login-dialog.directive.mjs +4 -4
- app-ng-runtime/components/dialogs/login-dialog/esm2022/login-dialog.module.mjs +2 -2
- app-ng-runtime/components/dialogs/login-dialog/fesm2022/index.mjs +4 -4
- app-ng-runtime/components/dialogs/login-dialog/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/partial-dialog/bundles/index.umd.js +10 -16
- app-ng-runtime/components/dialogs/partial-dialog/esm2022/partial-dialog.component.mjs +11 -17
- app-ng-runtime/components/dialogs/partial-dialog/esm2022/partial-dialog.module.mjs +2 -2
- app-ng-runtime/components/dialogs/partial-dialog/fesm2022/index.mjs +12 -18
- app-ng-runtime/components/dialogs/partial-dialog/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/partial-dialog/partial-dialog.component.d.ts +2 -2
- app-ng-runtime/components/input/calendar/bundles/index.umd.js +38 -46
- app-ng-runtime/components/input/calendar/calendar.component.d.ts +2 -2
- app-ng-runtime/components/input/calendar/esm2022/calendar.component.mjs +35 -44
- app-ng-runtime/components/input/calendar/esm2022/calendar.module.mjs +2 -2
- app-ng-runtime/components/input/calendar/fesm2022/index.mjs +36 -45
- app-ng-runtime/components/input/calendar/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/chips/bundles/index.umd.js +61 -69
- app-ng-runtime/components/input/chips/chips.component.d.ts +3 -3
- app-ng-runtime/components/input/chips/esm2022/chips.component.mjs +58 -67
- app-ng-runtime/components/input/chips/esm2022/chips.module.mjs +2 -2
- app-ng-runtime/components/input/chips/fesm2022/index.mjs +58 -67
- app-ng-runtime/components/input/chips/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/color-picker/bundles/index.umd.js +12 -25
- app-ng-runtime/components/input/color-picker/color-picker.component.d.ts +2 -2
- app-ng-runtime/components/input/color-picker/esm2022/color-picker.component.mjs +13 -26
- app-ng-runtime/components/input/color-picker/esm2022/color-picker.module.mjs +2 -2
- app-ng-runtime/components/input/color-picker/fesm2022/index.mjs +13 -26
- app-ng-runtime/components/input/color-picker/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/currency/bundles/index.umd.js +11 -18
- app-ng-runtime/components/input/currency/currency.component.d.ts +2 -2
- app-ng-runtime/components/input/currency/esm2022/currency.component.mjs +12 -19
- app-ng-runtime/components/input/currency/esm2022/currency.module.mjs +2 -2
- app-ng-runtime/components/input/currency/fesm2022/index.mjs +12 -19
- app-ng-runtime/components/input/currency/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/default/base-form.component.d.ts +3 -3
- app-ng-runtime/components/input/default/bundles/index.umd.js +487 -610
- app-ng-runtime/components/input/default/button/button.component.d.ts +2 -2
- app-ng-runtime/components/input/default/button-group/button-group.directive.d.ts +2 -2
- app-ng-runtime/components/input/default/checkbox/checkbox.component.d.ts +2 -3
- app-ng-runtime/components/input/default/checkboxset/checkboxset.component.d.ts +2 -2
- app-ng-runtime/components/input/default/composite/composite.directive.d.ts +2 -2
- app-ng-runtime/components/input/default/dataset-aware-form.component.d.ts +4 -4
- app-ng-runtime/components/input/default/esm2022/base-form-custom.component.mjs +3 -3
- app-ng-runtime/components/input/default/esm2022/base-form.component.mjs +11 -17
- app-ng-runtime/components/input/default/esm2022/button/button.component.mjs +28 -32
- app-ng-runtime/components/input/default/esm2022/button-group/button-group.directive.mjs +7 -12
- app-ng-runtime/components/input/default/esm2022/caption-position.directive.mjs +6 -6
- app-ng-runtime/components/input/default/esm2022/checkbox/checkbox.component.mjs +17 -27
- app-ng-runtime/components/input/default/esm2022/checkboxset/checkboxset.component.mjs +103 -107
- app-ng-runtime/components/input/default/esm2022/composite/composite.directive.mjs +7 -12
- app-ng-runtime/components/input/default/esm2022/dataset-aware-form.component.mjs +26 -32
- app-ng-runtime/components/input/default/esm2022/input.module.mjs +2 -2
- app-ng-runtime/components/input/default/esm2022/number/number.component.mjs +10 -17
- app-ng-runtime/components/input/default/esm2022/radioset/radioset.component.mjs +102 -105
- app-ng-runtime/components/input/default/esm2022/select/select.component.mjs +68 -70
- app-ng-runtime/components/input/default/esm2022/switch/switch.component.mjs +31 -38
- app-ng-runtime/components/input/default/esm2022/text/base/base-input.mjs +11 -18
- app-ng-runtime/components/input/default/esm2022/text/calendar/input-calendar.component.mjs +12 -23
- app-ng-runtime/components/input/default/esm2022/text/color/input-color.component.mjs +12 -23
- app-ng-runtime/components/input/default/esm2022/text/email/input-email.component.mjs +11 -20
- app-ng-runtime/components/input/default/esm2022/text/locale/number-locale.mjs +24 -35
- app-ng-runtime/components/input/default/esm2022/text/number/input-number.component.mjs +12 -21
- app-ng-runtime/components/input/default/esm2022/text/text/input-text.component.mjs +11 -20
- app-ng-runtime/components/input/default/esm2022/textarea/textarea.component.mjs +12 -21
- app-ng-runtime/components/input/default/fesm2022/index.mjs +488 -613
- app-ng-runtime/components/input/default/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/default/number/number.component.d.ts +2 -2
- app-ng-runtime/components/input/default/radioset/radioset.component.d.ts +2 -2
- app-ng-runtime/components/input/default/select/select.component.d.ts +4 -3
- app-ng-runtime/components/input/default/switch/switch.component.d.ts +2 -2
- app-ng-runtime/components/input/default/text/base/base-input.d.ts +2 -3
- app-ng-runtime/components/input/default/text/calendar/input-calendar.component.d.ts +2 -2
- app-ng-runtime/components/input/default/text/color/input-color.component.d.ts +2 -2
- app-ng-runtime/components/input/default/text/email/input-email.component.d.ts +2 -2
- app-ng-runtime/components/input/default/text/locale/number-locale.d.ts +1 -1
- app-ng-runtime/components/input/default/text/number/input-number.component.d.ts +2 -2
- app-ng-runtime/components/input/default/text/text/input-text.component.d.ts +2 -2
- app-ng-runtime/components/input/default/textarea/textarea.component.d.ts +2 -2
- app-ng-runtime/components/input/epoch/base-date-time.component.d.ts +2 -2
- app-ng-runtime/components/input/epoch/bundles/index.umd.js +165 -214
- app-ng-runtime/components/input/epoch/date/date.component.d.ts +2 -3
- app-ng-runtime/components/input/epoch/date-time/date-time.component.d.ts +2 -2
- app-ng-runtime/components/input/epoch/esm2022/base-date-time.component.mjs +36 -44
- app-ng-runtime/components/input/epoch/esm2022/date/date.component.mjs +22 -36
- app-ng-runtime/components/input/epoch/esm2022/date/date.props.mjs +2 -2
- app-ng-runtime/components/input/epoch/esm2022/date/imaskUtil.mjs +2 -8
- app-ng-runtime/components/input/epoch/esm2022/date-time/date-time-picker.component.mjs +41 -42
- app-ng-runtime/components/input/epoch/esm2022/date-time/date-time.component.mjs +37 -49
- app-ng-runtime/components/input/epoch/esm2022/epoch.module.mjs +2 -2
- app-ng-runtime/components/input/epoch/esm2022/picker/picker.component.mjs +5 -7
- app-ng-runtime/components/input/epoch/esm2022/time/time.component.mjs +24 -35
- app-ng-runtime/components/input/epoch/fesm2022/index.mjs +161 -211
- app-ng-runtime/components/input/epoch/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/epoch/time/time.component.d.ts +2 -2
- app-ng-runtime/components/input/file-upload/bundles/index.umd.js +135 -133
- app-ng-runtime/components/input/file-upload/esm2022/file-upload.component.mjs +132 -131
- app-ng-runtime/components/input/file-upload/esm2022/file-upload.module.mjs +2 -2
- app-ng-runtime/components/input/file-upload/fesm2022/index.mjs +133 -132
- app-ng-runtime/components/input/file-upload/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/file-upload/file-upload.component.d.ts +2 -2
- app-ng-runtime/components/input/rating/bundles/index.umd.js +51 -60
- app-ng-runtime/components/input/rating/esm2022/rating.component.mjs +48 -58
- app-ng-runtime/components/input/rating/esm2022/rating.module.mjs +2 -2
- app-ng-runtime/components/input/rating/fesm2022/index.mjs +48 -58
- app-ng-runtime/components/input/rating/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/rating/rating.component.d.ts +2 -2
- app-ng-runtime/components/input/slider/bundles/index.umd.js +13 -23
- app-ng-runtime/components/input/slider/esm2022/slider.component.mjs +14 -24
- app-ng-runtime/components/input/slider/esm2022/slider.module.mjs +2 -2
- app-ng-runtime/components/input/slider/fesm2022/index.mjs +14 -24
- app-ng-runtime/components/input/slider/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/slider/slider.component.d.ts +2 -2
- app-ng-runtime/components/navigation/breadcrumb/breadcrumb.component.d.ts +2 -2
- app-ng-runtime/components/navigation/breadcrumb/bundles/index.umd.js +28 -33
- app-ng-runtime/components/navigation/breadcrumb/esm2022/breadcrumb.component.mjs +29 -34
- app-ng-runtime/components/navigation/breadcrumb/esm2022/breadcrumb.module.mjs +2 -2
- app-ng-runtime/components/navigation/breadcrumb/fesm2022/index.mjs +30 -35
- app-ng-runtime/components/navigation/breadcrumb/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/navigation/menu/bundles/index.umd.js +137 -154
- app-ng-runtime/components/navigation/menu/esm2022/menu-adapator.component.mjs +7 -13
- app-ng-runtime/components/navigation/menu/esm2022/menu-dropdown/menu-dropdown.component.mjs +4 -5
- app-ng-runtime/components/navigation/menu/esm2022/menu-dropdown-item/menu-dropdown-item.component.mjs +26 -27
- app-ng-runtime/components/navigation/menu/esm2022/menu.component.mjs +40 -44
- app-ng-runtime/components/navigation/menu/esm2022/menu.module.mjs +2 -2
- app-ng-runtime/components/navigation/menu/esm2022/nav/nav-item/nav-item.directive.mjs +7 -12
- app-ng-runtime/components/navigation/menu/esm2022/nav/nav.component.mjs +56 -60
- app-ng-runtime/components/navigation/menu/esm2022/nav/navigation-control.directive.mjs +3 -3
- app-ng-runtime/components/navigation/menu/fesm2022/index.mjs +135 -153
- app-ng-runtime/components/navigation/menu/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/navigation/menu/menu-adapator.component.d.ts +1 -1
- app-ng-runtime/components/navigation/menu/menu-dropdown-item/menu-dropdown-item.component.d.ts +1 -12
- app-ng-runtime/components/navigation/menu/menu.component.d.ts +2 -2
- app-ng-runtime/components/navigation/menu/nav/nav-item/nav-item.directive.d.ts +2 -2
- app-ng-runtime/components/navigation/menu/nav/nav.component.d.ts +2 -2
- app-ng-runtime/components/navigation/navbar/bundles/index.umd.js +22 -29
- app-ng-runtime/components/navigation/navbar/esm2022/navbar.component.mjs +23 -30
- app-ng-runtime/components/navigation/navbar/esm2022/navbar.module.mjs +2 -2
- app-ng-runtime/components/navigation/navbar/fesm2022/index.mjs +24 -31
- app-ng-runtime/components/navigation/navbar/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/navigation/navbar/navbar.component.d.ts +2 -2
- app-ng-runtime/components/navigation/popover/bundles/index.umd.js +11 -18
- app-ng-runtime/components/navigation/popover/esm2022/popover.component.mjs +12 -19
- app-ng-runtime/components/navigation/popover/esm2022/popover.module.mjs +2 -2
- app-ng-runtime/components/navigation/popover/fesm2022/index.mjs +13 -20
- app-ng-runtime/components/navigation/popover/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/navigation/popover/popover.component.d.ts +2 -2
- app-ng-runtime/components/page/default/bundles/index.umd.js +31 -63
- app-ng-runtime/components/page/default/content/content.component.d.ts +2 -2
- app-ng-runtime/components/page/default/esm2022/content/content.component.mjs +7 -13
- app-ng-runtime/components/page/default/esm2022/layout.directive.mjs +7 -12
- app-ng-runtime/components/page/default/esm2022/page-content/page-content.component.mjs +7 -13
- app-ng-runtime/components/page/default/esm2022/page.directive.mjs +7 -12
- app-ng-runtime/components/page/default/esm2022/page.module.mjs +2 -2
- app-ng-runtime/components/page/default/esm2022/router-outlet.directive.mjs +7 -12
- app-ng-runtime/components/page/default/esm2022/spa-page.directive.mjs +7 -12
- app-ng-runtime/components/page/default/fesm2022/index.mjs +33 -65
- app-ng-runtime/components/page/default/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/page/default/layout.directive.d.ts +2 -2
- app-ng-runtime/components/page/default/page-content/page-content.component.d.ts +2 -2
- app-ng-runtime/components/page/default/page.directive.d.ts +2 -2
- app-ng-runtime/components/page/default/router-outlet.directive.d.ts +2 -2
- app-ng-runtime/components/page/default/spa-page.directive.d.ts +2 -2
- app-ng-runtime/components/page/footer/bundles/index.umd.js +6 -11
- app-ng-runtime/components/page/footer/esm2022/footer.directive.mjs +7 -12
- app-ng-runtime/components/page/footer/esm2022/footer.module.mjs +2 -2
- app-ng-runtime/components/page/footer/fesm2022/index.mjs +8 -13
- app-ng-runtime/components/page/footer/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/page/footer/footer.directive.d.ts +2 -2
- app-ng-runtime/components/page/header/bundles/index.umd.js +6 -12
- app-ng-runtime/components/page/header/esm2022/header.component.mjs +7 -13
- app-ng-runtime/components/page/header/esm2022/header.module.mjs +2 -2
- app-ng-runtime/components/page/header/fesm2022/index.mjs +8 -14
- app-ng-runtime/components/page/header/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/page/header/header.component.d.ts +2 -2
- app-ng-runtime/components/page/left-panel/bundles/index.umd.js +7 -12
- app-ng-runtime/components/page/left-panel/esm2022/left-panel.animator.mjs +1 -1
- app-ng-runtime/components/page/left-panel/esm2022/left-panel.directive.mjs +8 -13
- app-ng-runtime/components/page/left-panel/esm2022/left-panel.module.mjs +2 -2
- app-ng-runtime/components/page/left-panel/fesm2022/index.mjs +9 -14
- app-ng-runtime/components/page/left-panel/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/page/left-panel/left-panel.directive.d.ts +2 -2
- app-ng-runtime/components/page/right-panel/bundles/index.umd.js +6 -11
- app-ng-runtime/components/page/right-panel/esm2022/right-panel.directive.mjs +7 -12
- app-ng-runtime/components/page/right-panel/esm2022/right-panel.module.mjs +2 -2
- app-ng-runtime/components/page/right-panel/fesm2022/index.mjs +8 -13
- app-ng-runtime/components/page/right-panel/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/page/right-panel/right-panel.directive.d.ts +2 -2
- app-ng-runtime/components/page/top-nav/bundles/index.umd.js +6 -11
- app-ng-runtime/components/page/top-nav/esm2022/top-nav.directive.mjs +7 -12
- app-ng-runtime/components/page/top-nav/esm2022/top-nav.module.mjs +2 -2
- app-ng-runtime/components/page/top-nav/fesm2022/index.mjs +8 -13
- app-ng-runtime/components/page/top-nav/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/page/top-nav/top-nav.directive.d.ts +2 -2
- app-ng-runtime/components/prefab/bundles/index.umd.js +18 -28
- app-ng-runtime/components/prefab/esm2022/prefab-container/prefab-container.directive.mjs +8 -14
- app-ng-runtime/components/prefab/esm2022/prefab.directive.mjs +9 -15
- app-ng-runtime/components/prefab/esm2022/prefab.module.mjs +2 -2
- app-ng-runtime/components/prefab/fesm2022/index.mjs +15 -26
- app-ng-runtime/components/prefab/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/prefab/prefab-container/prefab-container.directive.d.ts +2 -2
- app-ng-runtime/components/prefab/prefab.directive.d.ts +2 -2
- app-ng-runtime/core/bundles/index.umd.js +146 -158
- app-ng-runtime/core/esm2022/core.module.mjs +2 -2
- app-ng-runtime/core/esm2022/public_api.mjs +2 -3
- app-ng-runtime/core/esm2022/services/constant.service.mjs +2 -2
- app-ng-runtime/core/esm2022/services/field-type.service.mjs +4 -5
- app-ng-runtime/core/esm2022/services/field-widget.service.mjs +4 -5
- app-ng-runtime/core/esm2022/services/pagination.service.mjs +7 -8
- app-ng-runtime/core/esm2022/services/script-loader.service.mjs +3 -3
- app-ng-runtime/core/esm2022/services/state-persistence.service.mjs +17 -18
- app-ng-runtime/core/esm2022/services/user-custom-pipe-manager.service.mjs +2 -2
- app-ng-runtime/core/esm2022/services/utils.service.mjs +4 -5
- app-ng-runtime/core/esm2022/services/viewport.service.mjs +4 -5
- app-ng-runtime/core/esm2022/utils/build-utils.mjs +4 -5
- app-ng-runtime/core/esm2022/utils/dom.mjs +1 -1
- app-ng-runtime/core/esm2022/utils/event-notifier.mjs +1 -1
- app-ng-runtime/core/esm2022/utils/expression-parser.mjs +5 -6
- app-ng-runtime/core/esm2022/utils/id-generator.mjs +1 -1
- app-ng-runtime/core/esm2022/utils/lru-cache.mjs +2 -3
- app-ng-runtime/core/esm2022/utils/utils.mjs +82 -79
- app-ng-runtime/core/esm2022/utils/watcher.mjs +7 -9
- app-ng-runtime/core/esm2022/utils/wm-project-properties.mjs +1 -1
- app-ng-runtime/core/fesm2022/index.mjs +142 -158
- app-ng-runtime/core/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/core/public_api.d.ts +1 -2
- app-ng-runtime/core/services/pagination.service.d.ts +1 -1
- app-ng-runtime/core/utils/utils.d.ts +9 -5
- app-ng-runtime/http/bundles/index.umd.js +10 -10
- app-ng-runtime/http/esm2022/http-service.module.mjs +2 -2
- app-ng-runtime/http/esm2022/http.service.mjs +6 -7
- app-ng-runtime/http/esm2022/wm-http-request.mjs +1 -1
- app-ng-runtime/http/esm2022/wm-http-response.mjs +1 -1
- app-ng-runtime/http/fesm2022/index.mjs +6 -7
- app-ng-runtime/http/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/locales/angular/global/af-na.js +4 -4
- app-ng-runtime/locales/angular/global/af.js +4 -4
- app-ng-runtime/locales/angular/global/agq.js +4 -4
- app-ng-runtime/locales/angular/global/ak.js +4 -4
- app-ng-runtime/locales/angular/global/am.js +4 -4
- app-ng-runtime/locales/angular/global/ar-ae.js +4 -4
- app-ng-runtime/locales/angular/global/ar-bh.js +4 -4
- app-ng-runtime/locales/angular/global/ar-dj.js +4 -4
- app-ng-runtime/locales/angular/global/ar-dz.js +4 -4
- app-ng-runtime/locales/angular/global/ar-eg.js +4 -4
- app-ng-runtime/locales/angular/global/ar-eh.js +4 -4
- app-ng-runtime/locales/angular/global/ar-er.js +4 -4
- app-ng-runtime/locales/angular/global/ar-il.js +4 -4
- app-ng-runtime/locales/angular/global/ar-iq.js +4 -4
- app-ng-runtime/locales/angular/global/ar-jo.js +4 -4
- app-ng-runtime/locales/angular/global/ar-km.js +4 -4
- app-ng-runtime/locales/angular/global/ar-kw.js +4 -4
- app-ng-runtime/locales/angular/global/ar-lb.js +4 -4
- app-ng-runtime/locales/angular/global/ar-ly.js +4 -4
- app-ng-runtime/locales/angular/global/ar-ma.js +4 -4
- app-ng-runtime/locales/angular/global/ar-mr.js +4 -4
- app-ng-runtime/locales/angular/global/ar-om.js +4 -4
- app-ng-runtime/locales/angular/global/ar-ps.js +4 -4
- app-ng-runtime/locales/angular/global/ar-qa.js +4 -4
- app-ng-runtime/locales/angular/global/ar-sa.js +4 -4
- app-ng-runtime/locales/angular/global/ar-sd.js +4 -4
- app-ng-runtime/locales/angular/global/ar-so.js +4 -4
- app-ng-runtime/locales/angular/global/ar-ss.js +4 -4
- app-ng-runtime/locales/angular/global/ar-sy.js +4 -4
- app-ng-runtime/locales/angular/global/ar-td.js +4 -4
- app-ng-runtime/locales/angular/global/ar-tn.js +4 -4
- app-ng-runtime/locales/angular/global/ar-ye.js +4 -4
- app-ng-runtime/locales/angular/global/ar.js +4 -4
- app-ng-runtime/locales/angular/global/as.js +4 -4
- app-ng-runtime/locales/angular/global/asa.js +4 -4
- app-ng-runtime/locales/angular/global/ast.js +4 -4
- app-ng-runtime/locales/angular/global/az-cyrl.js +4 -4
- app-ng-runtime/locales/angular/global/az-latn.js +4 -4
- app-ng-runtime/locales/angular/global/az.js +4 -4
- app-ng-runtime/locales/angular/global/bas.js +4 -4
- app-ng-runtime/locales/angular/global/be-tarask.js +4 -4
- app-ng-runtime/locales/angular/global/be.js +4 -4
- app-ng-runtime/locales/angular/global/bem.js +4 -4
- app-ng-runtime/locales/angular/global/bez.js +4 -4
- app-ng-runtime/locales/angular/global/bg.js +4 -4
- app-ng-runtime/locales/angular/global/bm.js +4 -4
- app-ng-runtime/locales/angular/global/bn-in.js +4 -4
- app-ng-runtime/locales/angular/global/bn.js +4 -4
- app-ng-runtime/locales/angular/global/bo-in.js +4 -4
- app-ng-runtime/locales/angular/global/bo.js +4 -4
- app-ng-runtime/locales/angular/global/br.js +4 -4
- app-ng-runtime/locales/angular/global/brx.js +4 -4
- app-ng-runtime/locales/angular/global/bs-cyrl.js +4 -4
- app-ng-runtime/locales/angular/global/bs-latn.js +4 -4
- app-ng-runtime/locales/angular/global/bs.js +4 -4
- app-ng-runtime/locales/angular/global/ca-ad.js +4 -4
- app-ng-runtime/locales/angular/global/ca-es-valencia.js +4 -4
- app-ng-runtime/locales/angular/global/ca-fr.js +4 -4
- app-ng-runtime/locales/angular/global/ca-it.js +4 -4
- app-ng-runtime/locales/angular/global/ca.js +4 -4
- app-ng-runtime/locales/angular/global/ccp-in.js +4 -4
- app-ng-runtime/locales/angular/global/ccp.js +4 -4
- app-ng-runtime/locales/angular/global/ce.js +4 -4
- app-ng-runtime/locales/angular/global/ceb.js +4 -4
- app-ng-runtime/locales/angular/global/cgg.js +4 -4
- app-ng-runtime/locales/angular/global/chr.js +4 -4
- app-ng-runtime/locales/angular/global/ckb-ir.js +4 -4
- app-ng-runtime/locales/angular/global/ckb.js +4 -4
- app-ng-runtime/locales/angular/global/cs.js +4 -4
- app-ng-runtime/locales/angular/global/cy.js +4 -4
- app-ng-runtime/locales/angular/global/da-gl.js +4 -4
- app-ng-runtime/locales/angular/global/da.js +4 -4
- app-ng-runtime/locales/angular/global/dav.js +4 -4
- app-ng-runtime/locales/angular/global/de-at.js +4 -4
- app-ng-runtime/locales/angular/global/de-be.js +4 -4
- app-ng-runtime/locales/angular/global/de-ch.js +4 -4
- app-ng-runtime/locales/angular/global/de-it.js +4 -4
- app-ng-runtime/locales/angular/global/de-li.js +4 -4
- app-ng-runtime/locales/angular/global/de-lu.js +4 -4
- app-ng-runtime/locales/angular/global/de.js +4 -4
- app-ng-runtime/locales/angular/global/dje.js +4 -4
- app-ng-runtime/locales/angular/global/doi.js +4 -4
- app-ng-runtime/locales/angular/global/dsb.js +4 -4
- app-ng-runtime/locales/angular/global/dua.js +4 -4
- app-ng-runtime/locales/angular/global/dyo.js +4 -4
- app-ng-runtime/locales/angular/global/dz.js +4 -4
- app-ng-runtime/locales/angular/global/ebu.js +4 -4
- app-ng-runtime/locales/angular/global/ee-tg.js +4 -4
- app-ng-runtime/locales/angular/global/ee.js +4 -4
- app-ng-runtime/locales/angular/global/el-cy.js +4 -4
- app-ng-runtime/locales/angular/global/el.js +4 -4
- app-ng-runtime/locales/angular/global/en-001.js +4 -4
- app-ng-runtime/locales/angular/global/en-150.js +4 -4
- app-ng-runtime/locales/angular/global/en-ae.js +4 -4
- app-ng-runtime/locales/angular/global/en-ag.js +4 -4
- app-ng-runtime/locales/angular/global/en-ai.js +4 -4
- app-ng-runtime/locales/angular/global/en-as.js +4 -4
- app-ng-runtime/locales/angular/global/en-at.js +4 -4
- app-ng-runtime/locales/angular/global/en-au.js +4 -4
- app-ng-runtime/locales/angular/global/en-bb.js +4 -4
- app-ng-runtime/locales/angular/global/en-be.js +4 -4
- app-ng-runtime/locales/angular/global/en-bi.js +4 -4
- app-ng-runtime/locales/angular/global/en-bm.js +4 -4
- app-ng-runtime/locales/angular/global/en-bs.js +4 -4
- app-ng-runtime/locales/angular/global/en-bw.js +4 -4
- app-ng-runtime/locales/angular/global/en-bz.js +4 -4
- app-ng-runtime/locales/angular/global/en-ca.js +4 -4
- app-ng-runtime/locales/angular/global/en-cc.js +4 -4
- app-ng-runtime/locales/angular/global/en-ch.js +4 -4
- app-ng-runtime/locales/angular/global/en-ck.js +4 -4
- app-ng-runtime/locales/angular/global/en-cm.js +4 -4
- app-ng-runtime/locales/angular/global/en-cx.js +4 -4
- app-ng-runtime/locales/angular/global/en-cy.js +4 -4
- app-ng-runtime/locales/angular/global/en-de.js +4 -4
- app-ng-runtime/locales/angular/global/en-dg.js +4 -4
- app-ng-runtime/locales/angular/global/en-dk.js +4 -4
- app-ng-runtime/locales/angular/global/en-dm.js +4 -4
- app-ng-runtime/locales/angular/global/en-er.js +4 -4
- app-ng-runtime/locales/angular/global/en-fi.js +4 -4
- app-ng-runtime/locales/angular/global/en-fj.js +4 -4
- app-ng-runtime/locales/angular/global/en-fk.js +4 -4
- app-ng-runtime/locales/angular/global/en-fm.js +4 -4
- app-ng-runtime/locales/angular/global/en-gb.js +4 -4
- app-ng-runtime/locales/angular/global/en-gd.js +4 -4
- app-ng-runtime/locales/angular/global/en-gg.js +4 -4
- app-ng-runtime/locales/angular/global/en-gh.js +4 -4
- app-ng-runtime/locales/angular/global/en-gi.js +4 -4
- app-ng-runtime/locales/angular/global/en-gm.js +4 -4
- app-ng-runtime/locales/angular/global/en-gu.js +4 -4
- app-ng-runtime/locales/angular/global/en-gy.js +4 -4
- app-ng-runtime/locales/angular/global/en-hk.js +4 -4
- app-ng-runtime/locales/angular/global/en-ie.js +4 -4
- app-ng-runtime/locales/angular/global/en-il.js +4 -4
- app-ng-runtime/locales/angular/global/en-im.js +4 -4
- app-ng-runtime/locales/angular/global/en-in.js +4 -4
- app-ng-runtime/locales/angular/global/en-io.js +4 -4
- app-ng-runtime/locales/angular/global/en-je.js +4 -4
- app-ng-runtime/locales/angular/global/en-jm.js +4 -4
- app-ng-runtime/locales/angular/global/en-ke.js +4 -4
- app-ng-runtime/locales/angular/global/en-ki.js +4 -4
- app-ng-runtime/locales/angular/global/en-kn.js +4 -4
- app-ng-runtime/locales/angular/global/en-ky.js +4 -4
- app-ng-runtime/locales/angular/global/en-lc.js +4 -4
- app-ng-runtime/locales/angular/global/en-lr.js +4 -4
- app-ng-runtime/locales/angular/global/en-ls.js +4 -4
- app-ng-runtime/locales/angular/global/en-mg.js +4 -4
- app-ng-runtime/locales/angular/global/en-mh.js +4 -4
- app-ng-runtime/locales/angular/global/en-mo.js +4 -4
- app-ng-runtime/locales/angular/global/en-mp.js +4 -4
- app-ng-runtime/locales/angular/global/en-ms.js +4 -4
- app-ng-runtime/locales/angular/global/en-mt.js +4 -4
- app-ng-runtime/locales/angular/global/en-mu.js +4 -4
- app-ng-runtime/locales/angular/global/en-mv.js +4 -4
- app-ng-runtime/locales/angular/global/en-mw.js +4 -4
- app-ng-runtime/locales/angular/global/en-my.js +4 -4
- app-ng-runtime/locales/angular/global/en-na.js +4 -4
- app-ng-runtime/locales/angular/global/en-nf.js +4 -4
- app-ng-runtime/locales/angular/global/en-ng.js +4 -4
- app-ng-runtime/locales/angular/global/en-nl.js +4 -4
- app-ng-runtime/locales/angular/global/en-nr.js +4 -4
- app-ng-runtime/locales/angular/global/en-nu.js +4 -4
- app-ng-runtime/locales/angular/global/en-nz.js +4 -4
- app-ng-runtime/locales/angular/global/en-pg.js +4 -4
- app-ng-runtime/locales/angular/global/en-ph.js +4 -4
- app-ng-runtime/locales/angular/global/en-pk.js +4 -4
- app-ng-runtime/locales/angular/global/en-pn.js +4 -4
- app-ng-runtime/locales/angular/global/en-pr.js +4 -4
- app-ng-runtime/locales/angular/global/en-pw.js +4 -4
- app-ng-runtime/locales/angular/global/en-rw.js +4 -4
- app-ng-runtime/locales/angular/global/en-sb.js +4 -4
- app-ng-runtime/locales/angular/global/en-sc.js +4 -4
- app-ng-runtime/locales/angular/global/en-sd.js +4 -4
- app-ng-runtime/locales/angular/global/en-se.js +4 -4
- app-ng-runtime/locales/angular/global/en-sg.js +4 -4
- app-ng-runtime/locales/angular/global/en-sh.js +4 -4
- app-ng-runtime/locales/angular/global/en-si.js +4 -4
- app-ng-runtime/locales/angular/global/en-sl.js +4 -4
- app-ng-runtime/locales/angular/global/en-ss.js +4 -4
- app-ng-runtime/locales/angular/global/en-sx.js +4 -4
- app-ng-runtime/locales/angular/global/en-sz.js +4 -4
- app-ng-runtime/locales/angular/global/en-tc.js +4 -4
- app-ng-runtime/locales/angular/global/en-tk.js +4 -4
- app-ng-runtime/locales/angular/global/en-to.js +4 -4
- app-ng-runtime/locales/angular/global/en-tt.js +4 -4
- app-ng-runtime/locales/angular/global/en-tv.js +4 -4
- app-ng-runtime/locales/angular/global/en-tz.js +4 -4
- app-ng-runtime/locales/angular/global/en-ug.js +4 -4
- app-ng-runtime/locales/angular/global/en-um.js +4 -4
- app-ng-runtime/locales/angular/global/en-vc.js +4 -4
- app-ng-runtime/locales/angular/global/en-vg.js +4 -4
- app-ng-runtime/locales/angular/global/en-vi.js +4 -4
- app-ng-runtime/locales/angular/global/en-vu.js +4 -4
- app-ng-runtime/locales/angular/global/en-ws.js +4 -4
- app-ng-runtime/locales/angular/global/en-za.js +4 -4
- app-ng-runtime/locales/angular/global/en-zm.js +4 -4
- app-ng-runtime/locales/angular/global/en-zw.js +4 -4
- app-ng-runtime/locales/angular/global/en.js +4 -4
- app-ng-runtime/locales/angular/global/eo.js +4 -4
- app-ng-runtime/locales/angular/global/es-419.js +4 -4
- app-ng-runtime/locales/angular/global/es-ar.js +4 -4
- app-ng-runtime/locales/angular/global/es-bo.js +4 -4
- app-ng-runtime/locales/angular/global/es-br.js +4 -4
- app-ng-runtime/locales/angular/global/es-bz.js +4 -4
- app-ng-runtime/locales/angular/global/es-cl.js +4 -4
- app-ng-runtime/locales/angular/global/es-co.js +4 -4
- app-ng-runtime/locales/angular/global/es-cr.js +4 -4
- app-ng-runtime/locales/angular/global/es-cu.js +4 -4
- app-ng-runtime/locales/angular/global/es-do.js +4 -4
- app-ng-runtime/locales/angular/global/es-ea.js +4 -4
- app-ng-runtime/locales/angular/global/es-ec.js +4 -4
- app-ng-runtime/locales/angular/global/es-gq.js +4 -4
- app-ng-runtime/locales/angular/global/es-gt.js +4 -4
- app-ng-runtime/locales/angular/global/es-hn.js +4 -4
- app-ng-runtime/locales/angular/global/es-ic.js +4 -4
- app-ng-runtime/locales/angular/global/es-mx.js +4 -4
- app-ng-runtime/locales/angular/global/es-ni.js +4 -4
- app-ng-runtime/locales/angular/global/es-pa.js +4 -4
- app-ng-runtime/locales/angular/global/es-pe.js +4 -4
- app-ng-runtime/locales/angular/global/es-ph.js +4 -4
- app-ng-runtime/locales/angular/global/es-pr.js +4 -4
- app-ng-runtime/locales/angular/global/es-py.js +4 -4
- app-ng-runtime/locales/angular/global/es-sv.js +4 -4
- app-ng-runtime/locales/angular/global/es-us.js +4 -4
- app-ng-runtime/locales/angular/global/es-uy.js +4 -4
- app-ng-runtime/locales/angular/global/es-ve.js +4 -4
- app-ng-runtime/locales/angular/global/es.js +4 -4
- app-ng-runtime/locales/angular/global/et.js +4 -4
- app-ng-runtime/locales/angular/global/eu.js +4 -4
- app-ng-runtime/locales/angular/global/ewo.js +4 -4
- app-ng-runtime/locales/angular/global/fa-af.js +4 -4
- app-ng-runtime/locales/angular/global/fa.js +4 -4
- app-ng-runtime/locales/angular/global/ff-adlm-bf.js +4 -4
- app-ng-runtime/locales/angular/global/ff-adlm-cm.js +4 -4
- app-ng-runtime/locales/angular/global/ff-adlm-gh.js +4 -4
- app-ng-runtime/locales/angular/global/ff-adlm-gm.js +4 -4
- app-ng-runtime/locales/angular/global/ff-adlm-gw.js +4 -4
- app-ng-runtime/locales/angular/global/ff-adlm-lr.js +4 -4
- app-ng-runtime/locales/angular/global/ff-adlm-mr.js +4 -4
- app-ng-runtime/locales/angular/global/ff-adlm-ne.js +4 -4
- app-ng-runtime/locales/angular/global/ff-adlm-ng.js +4 -4
- app-ng-runtime/locales/angular/global/ff-adlm-sl.js +4 -4
- app-ng-runtime/locales/angular/global/ff-adlm-sn.js +4 -4
- app-ng-runtime/locales/angular/global/ff-adlm.js +4 -4
- app-ng-runtime/locales/angular/global/ff-cm.js +44 -58
- app-ng-runtime/locales/angular/global/ff-gn.js +44 -58
- app-ng-runtime/locales/angular/global/ff-latn-bf.js +4 -4
- app-ng-runtime/locales/angular/global/ff-latn-cm.js +4 -4
- app-ng-runtime/locales/angular/global/ff-latn-gh.js +4 -4
- app-ng-runtime/locales/angular/global/ff-latn-gm.js +4 -4
- app-ng-runtime/locales/angular/global/ff-latn-gn.js +4 -4
- app-ng-runtime/locales/angular/global/ff-latn-gw.js +4 -4
- app-ng-runtime/locales/angular/global/ff-latn-lr.js +4 -4
- app-ng-runtime/locales/angular/global/ff-latn-mr.js +4 -4
- app-ng-runtime/locales/angular/global/ff-latn-ne.js +4 -4
- app-ng-runtime/locales/angular/global/ff-latn-ng.js +4 -4
- app-ng-runtime/locales/angular/global/ff-latn-sl.js +4 -4
- app-ng-runtime/locales/angular/global/ff-latn.js +4 -4
- app-ng-runtime/locales/angular/global/ff-mr.js +44 -58
- app-ng-runtime/locales/angular/global/ff.js +4 -4
- app-ng-runtime/locales/angular/global/fi.js +4 -4
- app-ng-runtime/locales/angular/global/fil.js +4 -4
- app-ng-runtime/locales/angular/global/fo-dk.js +4 -4
- app-ng-runtime/locales/angular/global/fo.js +4 -4
- app-ng-runtime/locales/angular/global/fr-be.js +4 -4
- app-ng-runtime/locales/angular/global/fr-bf.js +4 -4
- app-ng-runtime/locales/angular/global/fr-bi.js +4 -4
- app-ng-runtime/locales/angular/global/fr-bj.js +4 -4
- app-ng-runtime/locales/angular/global/fr-bl.js +4 -4
- app-ng-runtime/locales/angular/global/fr-ca.js +4 -4
- app-ng-runtime/locales/angular/global/fr-cd.js +4 -4
- app-ng-runtime/locales/angular/global/fr-cf.js +4 -4
- app-ng-runtime/locales/angular/global/fr-cg.js +4 -4
- app-ng-runtime/locales/angular/global/fr-ch.js +4 -4
- app-ng-runtime/locales/angular/global/fr-ci.js +4 -4
- app-ng-runtime/locales/angular/global/fr-cm.js +4 -4
- app-ng-runtime/locales/angular/global/fr-dj.js +4 -4
- app-ng-runtime/locales/angular/global/fr-dz.js +4 -4
- app-ng-runtime/locales/angular/global/fr-ga.js +4 -4
- app-ng-runtime/locales/angular/global/fr-gf.js +4 -4
- app-ng-runtime/locales/angular/global/fr-gn.js +4 -4
- app-ng-runtime/locales/angular/global/fr-gp.js +4 -4
- app-ng-runtime/locales/angular/global/fr-gq.js +4 -4
- app-ng-runtime/locales/angular/global/fr-ht.js +4 -4
- app-ng-runtime/locales/angular/global/fr-km.js +4 -4
- app-ng-runtime/locales/angular/global/fr-lu.js +4 -4
- app-ng-runtime/locales/angular/global/fr-ma.js +4 -4
- app-ng-runtime/locales/angular/global/fr-mc.js +4 -4
- app-ng-runtime/locales/angular/global/fr-mf.js +4 -4
- app-ng-runtime/locales/angular/global/fr-mg.js +4 -4
- app-ng-runtime/locales/angular/global/fr-ml.js +4 -4
- app-ng-runtime/locales/angular/global/fr-mq.js +4 -4
- app-ng-runtime/locales/angular/global/fr-mr.js +4 -4
- app-ng-runtime/locales/angular/global/fr-mu.js +4 -4
- app-ng-runtime/locales/angular/global/fr-nc.js +4 -4
- app-ng-runtime/locales/angular/global/fr-ne.js +4 -4
- app-ng-runtime/locales/angular/global/fr-pf.js +4 -4
- app-ng-runtime/locales/angular/global/fr-pm.js +4 -4
- app-ng-runtime/locales/angular/global/fr-re.js +4 -4
- app-ng-runtime/locales/angular/global/fr-rw.js +4 -4
- app-ng-runtime/locales/angular/global/fr-sc.js +4 -4
- app-ng-runtime/locales/angular/global/fr-sn.js +4 -4
- app-ng-runtime/locales/angular/global/fr-sy.js +4 -4
- app-ng-runtime/locales/angular/global/fr-td.js +4 -4
- app-ng-runtime/locales/angular/global/fr-tg.js +4 -4
- app-ng-runtime/locales/angular/global/fr-tn.js +4 -4
- app-ng-runtime/locales/angular/global/fr-vu.js +4 -4
- app-ng-runtime/locales/angular/global/fr-wf.js +4 -4
- app-ng-runtime/locales/angular/global/fr-yt.js +4 -4
- app-ng-runtime/locales/angular/global/fr.js +4 -4
- app-ng-runtime/locales/angular/global/fur.js +4 -4
- app-ng-runtime/locales/angular/global/fy.js +4 -4
- app-ng-runtime/locales/angular/global/ga-gb.js +4 -4
- app-ng-runtime/locales/angular/global/ga.js +4 -4
- app-ng-runtime/locales/angular/global/gd.js +4 -4
- app-ng-runtime/locales/angular/global/gl.js +4 -4
- app-ng-runtime/locales/angular/global/gsw-fr.js +4 -4
- app-ng-runtime/locales/angular/global/gsw-li.js +4 -4
- app-ng-runtime/locales/angular/global/gsw.js +4 -4
- app-ng-runtime/locales/angular/global/gu.js +4 -4
- app-ng-runtime/locales/angular/global/guz.js +4 -4
- app-ng-runtime/locales/angular/global/gv.js +4 -4
- app-ng-runtime/locales/angular/global/ha-gh.js +4 -4
- app-ng-runtime/locales/angular/global/ha-ne.js +4 -4
- app-ng-runtime/locales/angular/global/ha.js +4 -4
- app-ng-runtime/locales/angular/global/haw.js +4 -4
- app-ng-runtime/locales/angular/global/he.js +4 -4
- app-ng-runtime/locales/angular/global/hi-latn.js +4 -4
- app-ng-runtime/locales/angular/global/hi.js +4 -4
- app-ng-runtime/locales/angular/global/hr-ba.js +4 -4
- app-ng-runtime/locales/angular/global/hr.js +4 -4
- app-ng-runtime/locales/angular/global/hsb.js +4 -4
- app-ng-runtime/locales/angular/global/hu.js +4 -4
- app-ng-runtime/locales/angular/global/hy.js +4 -4
- app-ng-runtime/locales/angular/global/ia.js +4 -4
- app-ng-runtime/locales/angular/global/id.js +4 -4
- app-ng-runtime/locales/angular/global/ig.js +4 -4
- app-ng-runtime/locales/angular/global/ii.js +4 -4
- app-ng-runtime/locales/angular/global/is.js +4 -4
- app-ng-runtime/locales/angular/global/it-ch.js +4 -4
- app-ng-runtime/locales/angular/global/it-sm.js +4 -4
- app-ng-runtime/locales/angular/global/it-va.js +4 -4
- app-ng-runtime/locales/angular/global/it.js +4 -4
- app-ng-runtime/locales/angular/global/ja.js +4 -4
- app-ng-runtime/locales/angular/global/jgo.js +4 -4
- app-ng-runtime/locales/angular/global/jmc.js +4 -4
- app-ng-runtime/locales/angular/global/jv.js +4 -4
- app-ng-runtime/locales/angular/global/ka.js +4 -4
- app-ng-runtime/locales/angular/global/kab.js +4 -4
- app-ng-runtime/locales/angular/global/kam.js +4 -4
- app-ng-runtime/locales/angular/global/kde.js +4 -4
- app-ng-runtime/locales/angular/global/kea.js +4 -4
- app-ng-runtime/locales/angular/global/kgp.js +4 -4
- app-ng-runtime/locales/angular/global/khq.js +4 -4
- app-ng-runtime/locales/angular/global/ki.js +4 -4
- app-ng-runtime/locales/angular/global/kk.js +4 -4
- app-ng-runtime/locales/angular/global/kkj.js +4 -4
- app-ng-runtime/locales/angular/global/kl.js +4 -4
- app-ng-runtime/locales/angular/global/kln.js +4 -4
- app-ng-runtime/locales/angular/global/km.js +4 -4
- app-ng-runtime/locales/angular/global/kn.js +4 -4
- app-ng-runtime/locales/angular/global/ko-kp.js +4 -4
- app-ng-runtime/locales/angular/global/ko.js +4 -4
- app-ng-runtime/locales/angular/global/kok.js +4 -4
- app-ng-runtime/locales/angular/global/ks-arab.js +4 -4
- app-ng-runtime/locales/angular/global/ks-deva.js +4 -4
- app-ng-runtime/locales/angular/global/ks.js +4 -4
- app-ng-runtime/locales/angular/global/ksb.js +4 -4
- app-ng-runtime/locales/angular/global/ksf.js +4 -4
- app-ng-runtime/locales/angular/global/ksh.js +4 -4
- app-ng-runtime/locales/angular/global/ku.js +4 -4
- app-ng-runtime/locales/angular/global/kw.js +4 -4
- app-ng-runtime/locales/angular/global/ky.js +4 -4
- app-ng-runtime/locales/angular/global/lag.js +4 -4
- app-ng-runtime/locales/angular/global/lb.js +4 -4
- app-ng-runtime/locales/angular/global/lg.js +4 -4
- app-ng-runtime/locales/angular/global/lkt.js +4 -4
- app-ng-runtime/locales/angular/global/ln-ao.js +4 -4
- app-ng-runtime/locales/angular/global/ln-cf.js +4 -4
- app-ng-runtime/locales/angular/global/ln-cg.js +4 -4
- app-ng-runtime/locales/angular/global/ln.js +4 -4
- app-ng-runtime/locales/angular/global/lo.js +4 -4
- app-ng-runtime/locales/angular/global/lrc-iq.js +4 -4
- app-ng-runtime/locales/angular/global/lrc.js +4 -4
- app-ng-runtime/locales/angular/global/lt.js +4 -4
- app-ng-runtime/locales/angular/global/lu.js +4 -4
- app-ng-runtime/locales/angular/global/luo.js +4 -4
- app-ng-runtime/locales/angular/global/luy.js +4 -4
- app-ng-runtime/locales/angular/global/lv.js +4 -4
- app-ng-runtime/locales/angular/global/mai.js +4 -4
- app-ng-runtime/locales/angular/global/mas-tz.js +4 -4
- app-ng-runtime/locales/angular/global/mas.js +4 -4
- app-ng-runtime/locales/angular/global/mer.js +4 -4
- app-ng-runtime/locales/angular/global/mfe.js +4 -4
- app-ng-runtime/locales/angular/global/mg.js +4 -4
- app-ng-runtime/locales/angular/global/mgh.js +4 -4
- app-ng-runtime/locales/angular/global/mgo.js +4 -4
- app-ng-runtime/locales/angular/global/mi.js +4 -4
- app-ng-runtime/locales/angular/global/mk.js +4 -4
- app-ng-runtime/locales/angular/global/ml.js +4 -4
- app-ng-runtime/locales/angular/global/mn.js +4 -4
- app-ng-runtime/locales/angular/global/mni-beng.js +4 -4
- app-ng-runtime/locales/angular/global/mni.js +4 -4
- app-ng-runtime/locales/angular/global/mr.js +4 -4
- app-ng-runtime/locales/angular/global/ms-bn.js +4 -4
- app-ng-runtime/locales/angular/global/ms-id.js +4 -4
- app-ng-runtime/locales/angular/global/ms-sg.js +4 -4
- app-ng-runtime/locales/angular/global/ms.js +4 -4
- app-ng-runtime/locales/angular/global/mt.js +4 -4
- app-ng-runtime/locales/angular/global/mua.js +4 -4
- app-ng-runtime/locales/angular/global/my.js +4 -4
- app-ng-runtime/locales/angular/global/mzn.js +4 -4
- app-ng-runtime/locales/angular/global/naq.js +4 -4
- app-ng-runtime/locales/angular/global/nb-sj.js +4 -4
- app-ng-runtime/locales/angular/global/nb.js +4 -4
- app-ng-runtime/locales/angular/global/nd.js +4 -4
- app-ng-runtime/locales/angular/global/nds-nl.js +4 -4
- app-ng-runtime/locales/angular/global/nds.js +4 -4
- app-ng-runtime/locales/angular/global/ne-in.js +4 -4
- app-ng-runtime/locales/angular/global/ne.js +4 -4
- app-ng-runtime/locales/angular/global/nl-aw.js +4 -4
- app-ng-runtime/locales/angular/global/nl-be.js +4 -4
- app-ng-runtime/locales/angular/global/nl-bq.js +4 -4
- app-ng-runtime/locales/angular/global/nl-cw.js +4 -4
- app-ng-runtime/locales/angular/global/nl-sr.js +4 -4
- app-ng-runtime/locales/angular/global/nl-sx.js +4 -4
- app-ng-runtime/locales/angular/global/nl.js +4 -4
- app-ng-runtime/locales/angular/global/nmg.js +4 -4
- app-ng-runtime/locales/angular/global/nn.js +4 -4
- app-ng-runtime/locales/angular/global/nnh.js +4 -4
- app-ng-runtime/locales/angular/global/no.js +4 -4
- app-ng-runtime/locales/angular/global/nus.js +4 -4
- app-ng-runtime/locales/angular/global/nyn.js +4 -4
- app-ng-runtime/locales/angular/global/om-ke.js +4 -4
- app-ng-runtime/locales/angular/global/om.js +4 -4
- app-ng-runtime/locales/angular/global/or.js +4 -4
- app-ng-runtime/locales/angular/global/os-ru.js +4 -4
- app-ng-runtime/locales/angular/global/os.js +4 -4
- app-ng-runtime/locales/angular/global/pa-arab.js +4 -4
- app-ng-runtime/locales/angular/global/pa-guru.js +4 -4
- app-ng-runtime/locales/angular/global/pa.js +4 -4
- app-ng-runtime/locales/angular/global/pcm.js +4 -4
- app-ng-runtime/locales/angular/global/pl.js +4 -4
- app-ng-runtime/locales/angular/global/ps-pk.js +4 -4
- app-ng-runtime/locales/angular/global/ps.js +4 -4
- app-ng-runtime/locales/angular/global/pt-ao.js +4 -4
- app-ng-runtime/locales/angular/global/pt-ch.js +4 -4
- app-ng-runtime/locales/angular/global/pt-cv.js +4 -4
- app-ng-runtime/locales/angular/global/pt-gq.js +4 -4
- app-ng-runtime/locales/angular/global/pt-gw.js +4 -4
- app-ng-runtime/locales/angular/global/pt-lu.js +4 -4
- app-ng-runtime/locales/angular/global/pt-mo.js +4 -4
- app-ng-runtime/locales/angular/global/pt-mz.js +4 -4
- app-ng-runtime/locales/angular/global/pt-pt.js +4 -4
- app-ng-runtime/locales/angular/global/pt-st.js +4 -4
- app-ng-runtime/locales/angular/global/pt-tl.js +4 -4
- app-ng-runtime/locales/angular/global/pt.js +4 -4
- app-ng-runtime/locales/angular/global/qu-bo.js +4 -4
- app-ng-runtime/locales/angular/global/qu-ec.js +4 -4
- app-ng-runtime/locales/angular/global/qu.js +4 -4
- app-ng-runtime/locales/angular/global/rm.js +4 -4
- app-ng-runtime/locales/angular/global/rn.js +4 -4
- app-ng-runtime/locales/angular/global/ro-md.js +4 -4
- app-ng-runtime/locales/angular/global/ro.js +4 -4
- app-ng-runtime/locales/angular/global/rof.js +4 -4
- app-ng-runtime/locales/angular/global/ru-by.js +4 -4
- app-ng-runtime/locales/angular/global/ru-kg.js +4 -4
- app-ng-runtime/locales/angular/global/ru-kz.js +4 -4
- app-ng-runtime/locales/angular/global/ru-md.js +4 -4
- app-ng-runtime/locales/angular/global/ru-ua.js +4 -4
- app-ng-runtime/locales/angular/global/ru.js +4 -4
- app-ng-runtime/locales/angular/global/rw.js +4 -4
- app-ng-runtime/locales/angular/global/rwk.js +4 -4
- app-ng-runtime/locales/angular/global/sa.js +4 -4
- app-ng-runtime/locales/angular/global/sah.js +4 -4
- app-ng-runtime/locales/angular/global/saq.js +4 -4
- app-ng-runtime/locales/angular/global/sat-olck.js +4 -4
- app-ng-runtime/locales/angular/global/sat.js +4 -4
- app-ng-runtime/locales/angular/global/sbp.js +4 -4
- app-ng-runtime/locales/angular/global/sc.js +4 -4
- app-ng-runtime/locales/angular/global/sd-arab.js +4 -4
- app-ng-runtime/locales/angular/global/sd-deva.js +4 -4
- app-ng-runtime/locales/angular/global/sd.js +4 -4
- app-ng-runtime/locales/angular/global/se-fi.js +4 -4
- app-ng-runtime/locales/angular/global/se-se.js +4 -4
- app-ng-runtime/locales/angular/global/se.js +4 -4
- app-ng-runtime/locales/angular/global/seh.js +4 -4
- app-ng-runtime/locales/angular/global/ses.js +4 -4
- app-ng-runtime/locales/angular/global/sg.js +4 -4
- app-ng-runtime/locales/angular/global/shi-latn.js +4 -4
- app-ng-runtime/locales/angular/global/shi-tfng.js +4 -4
- app-ng-runtime/locales/angular/global/shi.js +4 -4
- app-ng-runtime/locales/angular/global/si.js +4 -4
- app-ng-runtime/locales/angular/global/sk.js +4 -4
- app-ng-runtime/locales/angular/global/sl.js +4 -4
- app-ng-runtime/locales/angular/global/smn.js +4 -4
- app-ng-runtime/locales/angular/global/sn.js +4 -4
- app-ng-runtime/locales/angular/global/so-dj.js +4 -4
- app-ng-runtime/locales/angular/global/so-et.js +4 -4
- app-ng-runtime/locales/angular/global/so-ke.js +4 -4
- app-ng-runtime/locales/angular/global/so.js +4 -4
- app-ng-runtime/locales/angular/global/sq-mk.js +4 -4
- app-ng-runtime/locales/angular/global/sq-xk.js +4 -4
- app-ng-runtime/locales/angular/global/sq.js +4 -4
- app-ng-runtime/locales/angular/global/sr-cyrl-ba.js +4 -4
- app-ng-runtime/locales/angular/global/sr-cyrl-me.js +4 -4
- app-ng-runtime/locales/angular/global/sr-cyrl-xk.js +4 -4
- app-ng-runtime/locales/angular/global/sr-cyrl.js +4 -4
- app-ng-runtime/locales/angular/global/sr-latn-ba.js +4 -4
- app-ng-runtime/locales/angular/global/sr-latn-me.js +4 -4
- app-ng-runtime/locales/angular/global/sr-latn-xk.js +4 -4
- app-ng-runtime/locales/angular/global/sr-latn.js +4 -4
- app-ng-runtime/locales/angular/global/sr.js +4 -4
- app-ng-runtime/locales/angular/global/su-latn.js +4 -4
- app-ng-runtime/locales/angular/global/su.js +4 -4
- app-ng-runtime/locales/angular/global/sv-ax.js +4 -4
- app-ng-runtime/locales/angular/global/sv-fi.js +4 -4
- app-ng-runtime/locales/angular/global/sv.js +4 -4
- app-ng-runtime/locales/angular/global/sw-cd.js +4 -4
- app-ng-runtime/locales/angular/global/sw-ke.js +4 -4
- app-ng-runtime/locales/angular/global/sw-ug.js +4 -4
- app-ng-runtime/locales/angular/global/sw.js +4 -4
- app-ng-runtime/locales/angular/global/ta-lk.js +4 -4
- app-ng-runtime/locales/angular/global/ta-my.js +4 -4
- app-ng-runtime/locales/angular/global/ta-sg.js +4 -4
- app-ng-runtime/locales/angular/global/ta.js +4 -4
- app-ng-runtime/locales/angular/global/te.js +4 -4
- app-ng-runtime/locales/angular/global/teo-ke.js +4 -4
- app-ng-runtime/locales/angular/global/teo.js +4 -4
- app-ng-runtime/locales/angular/global/tg.js +4 -4
- app-ng-runtime/locales/angular/global/th.js +4 -4
- app-ng-runtime/locales/angular/global/ti-er.js +4 -4
- app-ng-runtime/locales/angular/global/ti.js +4 -4
- app-ng-runtime/locales/angular/global/tk.js +4 -4
- app-ng-runtime/locales/angular/global/to.js +4 -4
- app-ng-runtime/locales/angular/global/tr-cy.js +4 -4
- app-ng-runtime/locales/angular/global/tr.js +4 -4
- app-ng-runtime/locales/angular/global/tt.js +4 -4
- app-ng-runtime/locales/angular/global/twq.js +4 -4
- app-ng-runtime/locales/angular/global/tzm.js +4 -4
- app-ng-runtime/locales/angular/global/ug.js +4 -4
- app-ng-runtime/locales/angular/global/uk.js +4 -4
- app-ng-runtime/locales/angular/global/und.js +4 -4
- app-ng-runtime/locales/angular/global/ur-in.js +4 -4
- app-ng-runtime/locales/angular/global/ur.js +4 -4
- app-ng-runtime/locales/angular/global/uz-arab.js +4 -4
- app-ng-runtime/locales/angular/global/uz-cyrl.js +4 -4
- app-ng-runtime/locales/angular/global/uz-latn.js +4 -4
- app-ng-runtime/locales/angular/global/uz.js +4 -4
- app-ng-runtime/locales/angular/global/vai-latn.js +4 -4
- app-ng-runtime/locales/angular/global/vai-vaii.js +4 -4
- app-ng-runtime/locales/angular/global/vai.js +4 -4
- app-ng-runtime/locales/angular/global/vi.js +4 -4
- app-ng-runtime/locales/angular/global/vun.js +4 -4
- app-ng-runtime/locales/angular/global/wae.js +4 -4
- app-ng-runtime/locales/angular/global/wo.js +4 -4
- app-ng-runtime/locales/angular/global/xh.js +4 -4
- app-ng-runtime/locales/angular/global/xog.js +4 -4
- app-ng-runtime/locales/angular/global/yav.js +4 -4
- app-ng-runtime/locales/angular/global/yi.js +4 -4
- app-ng-runtime/locales/angular/global/yo-bj.js +4 -4
- app-ng-runtime/locales/angular/global/yo.js +4 -4
- app-ng-runtime/locales/angular/global/yrl-co.js +4 -4
- app-ng-runtime/locales/angular/global/yrl-ve.js +4 -4
- app-ng-runtime/locales/angular/global/yrl.js +4 -4
- app-ng-runtime/locales/angular/global/yue-hans.js +4 -4
- app-ng-runtime/locales/angular/global/yue-hant.js +4 -4
- app-ng-runtime/locales/angular/global/yue.js +4 -4
- app-ng-runtime/locales/angular/global/zgh.js +4 -4
- app-ng-runtime/locales/angular/global/zh-hans-hk.js +4 -4
- app-ng-runtime/locales/angular/global/zh-hans-mo.js +4 -4
- app-ng-runtime/locales/angular/global/zh-hans-sg.js +4 -4
- app-ng-runtime/locales/angular/global/zh-hans.js +4 -4
- app-ng-runtime/locales/angular/global/zh-hant-hk.js +4 -4
- app-ng-runtime/locales/angular/global/zh-hant-mo.js +4 -4
- app-ng-runtime/locales/angular/global/zh-hant.js +4 -4
- app-ng-runtime/locales/angular/global/zh.js +4 -4
- app-ng-runtime/locales/angular/global/zu.js +4 -4
- app-ng-runtime/mobile/components/basic/default/bundles/index.umd.js +143 -148
- app-ng-runtime/mobile/components/basic/default/esm2022/anchor/anchor.directive.mjs +7 -8
- app-ng-runtime/mobile/components/basic/default/esm2022/app-update/app-update.component.mjs +6 -7
- app-ng-runtime/mobile/components/basic/default/esm2022/basic.module.mjs +2 -2
- app-ng-runtime/mobile/components/basic/default/esm2022/file-browser/file-browser.component.mjs +43 -47
- app-ng-runtime/mobile/components/basic/default/esm2022/file-browser/file-selector.service.mjs +5 -7
- app-ng-runtime/mobile/components/basic/default/esm2022/image-cache/image-cache.directive.mjs +5 -6
- app-ng-runtime/mobile/components/basic/default/esm2022/network-info-toaster/network-info-toaster.component.mjs +47 -49
- app-ng-runtime/mobile/components/basic/default/esm2022/process-manager/process-management.service.mjs +2 -2
- app-ng-runtime/mobile/components/basic/default/esm2022/process-manager/process-manager.component.mjs +32 -31
- app-ng-runtime/mobile/components/basic/default/fesm2022/index.mjs +140 -146
- app-ng-runtime/mobile/components/basic/default/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/basic/default/network-info-toaster/network-info-toaster.component.d.ts +2 -2
- app-ng-runtime/mobile/components/basic/search/bundles/index.umd.js +3 -3
- app-ng-runtime/mobile/components/basic/search/esm2022/search.directive.mjs +3 -3
- app-ng-runtime/mobile/components/basic/search/esm2022/search.module.mjs +2 -2
- app-ng-runtime/mobile/components/basic/search/fesm2022/index.mjs +3 -3
- app-ng-runtime/mobile/components/basic/search/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/containers/segmented-control/bundles/index.umd.js +30 -42
- app-ng-runtime/mobile/components/containers/segmented-control/esm2022/segment-content/segment-content.component.mjs +8 -14
- app-ng-runtime/mobile/components/containers/segmented-control/esm2022/segmented-control.component.mjs +21 -28
- app-ng-runtime/mobile/components/containers/segmented-control/esm2022/segmented-control.module.mjs +2 -2
- app-ng-runtime/mobile/components/containers/segmented-control/fesm2022/index.mjs +28 -41
- app-ng-runtime/mobile/components/containers/segmented-control/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/containers/segmented-control/segment-content/segment-content.component.d.ts +2 -2
- app-ng-runtime/mobile/components/containers/segmented-control/segmented-control.component.d.ts +2 -2
- app-ng-runtime/mobile/components/data/media-list/bundles/index.umd.js +48 -53
- app-ng-runtime/mobile/components/data/media-list/esm2022/media-list-item/media-list-item.directive.mjs +2 -2
- app-ng-runtime/mobile/components/data/media-list/esm2022/media-list.component.mjs +42 -48
- app-ng-runtime/mobile/components/data/media-list/esm2022/media-list.module.mjs +2 -2
- app-ng-runtime/mobile/components/data/media-list/fesm2022/index.mjs +44 -50
- app-ng-runtime/mobile/components/data/media-list/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/data/media-list/media-list.component.d.ts +2 -2
- app-ng-runtime/mobile/components/device/barcode-scanner/barcode-scanner.component.d.ts +2 -2
- app-ng-runtime/mobile/components/device/barcode-scanner/bundles/index.umd.js +8 -14
- app-ng-runtime/mobile/components/device/barcode-scanner/esm2022/barcode-scanner.component.mjs +9 -15
- app-ng-runtime/mobile/components/device/barcode-scanner/esm2022/barcode-scanner.module.mjs +2 -2
- app-ng-runtime/mobile/components/device/barcode-scanner/fesm2022/index.mjs +10 -16
- app-ng-runtime/mobile/components/device/barcode-scanner/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/device/camera/bundles/index.umd.js +9 -15
- app-ng-runtime/mobile/components/device/camera/camera.component.d.ts +2 -2
- app-ng-runtime/mobile/components/device/camera/esm2022/camera.component.mjs +10 -16
- app-ng-runtime/mobile/components/device/camera/esm2022/camera.module.mjs +2 -2
- app-ng-runtime/mobile/components/device/camera/fesm2022/index.mjs +11 -17
- app-ng-runtime/mobile/components/device/camera/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/input/file-upload/bundles/index.umd.js +3 -3
- app-ng-runtime/mobile/components/input/file-upload/esm2022/file-upload.directive.mjs +3 -3
- app-ng-runtime/mobile/components/input/file-upload/esm2022/file-upload.module.mjs +2 -2
- app-ng-runtime/mobile/components/input/file-upload/fesm2022/index.mjs +3 -3
- app-ng-runtime/mobile/components/input/file-upload/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/page/default/bundles/index.umd.js +10 -11
- app-ng-runtime/mobile/components/page/default/esm2022/page-content-loader/page-content-loader.component.mjs +3 -4
- app-ng-runtime/mobile/components/page/default/esm2022/page.directive.mjs +4 -5
- app-ng-runtime/mobile/components/page/default/esm2022/page.module.mjs +2 -2
- app-ng-runtime/mobile/components/page/default/fesm2022/index.mjs +6 -8
- app-ng-runtime/mobile/components/page/default/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/page/left-panel/bundles/index.umd.js +3 -3
- app-ng-runtime/mobile/components/page/left-panel/esm2022/left-panel.directive.mjs +3 -3
- app-ng-runtime/mobile/components/page/left-panel/esm2022/left-panel.module.mjs +2 -2
- app-ng-runtime/mobile/components/page/left-panel/fesm2022/index.mjs +3 -3
- app-ng-runtime/mobile/components/page/left-panel/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/page/mobile-navbar/bundles/index.umd.js +35 -40
- app-ng-runtime/mobile/components/page/mobile-navbar/esm2022/mobile-navbar.component.mjs +36 -41
- app-ng-runtime/mobile/components/page/mobile-navbar/esm2022/mobile-navbar.module.mjs +2 -2
- app-ng-runtime/mobile/components/page/mobile-navbar/fesm2022/index.mjs +36 -41
- app-ng-runtime/mobile/components/page/mobile-navbar/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/page/mobile-navbar/mobile-navbar.component.d.ts +2 -2
- app-ng-runtime/mobile/components/page/tab-bar/bundles/index.umd.js +46 -52
- app-ng-runtime/mobile/components/page/tab-bar/esm2022/tab-bar.module.mjs +2 -2
- app-ng-runtime/mobile/components/page/tab-bar/esm2022/tabbar.component.mjs +43 -50
- app-ng-runtime/mobile/components/page/tab-bar/fesm2022/index.mjs +44 -51
- app-ng-runtime/mobile/components/page/tab-bar/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/page/tab-bar/tabbar.component.d.ts +2 -2
- app-ng-runtime/mobile/core/bundles/index.umd.js +43 -43
- app-ng-runtime/mobile/core/esm2022/core.module.mjs +3 -3
- app-ng-runtime/mobile/core/esm2022/native.xhr.mjs +1 -1
- app-ng-runtime/mobile/core/esm2022/services/device-file-cache.service.mjs +3 -3
- app-ng-runtime/mobile/core/esm2022/services/device-file-download.service.mjs +6 -7
- app-ng-runtime/mobile/core/esm2022/services/device-file-opener.service.mjs +4 -5
- app-ng-runtime/mobile/core/esm2022/services/device-file-upload.service.mjs +5 -6
- app-ng-runtime/mobile/core/esm2022/services/device-file.service.mjs +7 -8
- app-ng-runtime/mobile/core/esm2022/services/device.service.mjs +4 -5
- app-ng-runtime/mobile/core/esm2022/services/ext-app-message.service.mjs +6 -7
- app-ng-runtime/mobile/core/esm2022/services/network.service.mjs +10 -11
- app-ng-runtime/mobile/core/fesm2022/index.mjs +39 -40
- app-ng-runtime/mobile/core/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/core/services/ext-app-message.service.d.ts +1 -1
- app-ng-runtime/mobile/core/services/network.service.d.ts +1 -7
- app-ng-runtime/mobile/offline/bundles/index.umd.js +159 -176
- app-ng-runtime/mobile/offline/esm2022/models/local-db-store.mjs +21 -23
- app-ng-runtime/mobile/offline/esm2022/offline.module.mjs +3 -3
- app-ng-runtime/mobile/offline/esm2022/services/change-log.service.mjs +8 -9
- app-ng-runtime/mobile/offline/esm2022/services/local-db-data-pull.service.mjs +37 -39
- app-ng-runtime/mobile/offline/esm2022/services/local-db-management.service.mjs +47 -56
- app-ng-runtime/mobile/offline/esm2022/services/local-db.service.mjs +6 -7
- app-ng-runtime/mobile/offline/esm2022/services/local-key-value.service.mjs +2 -2
- app-ng-runtime/mobile/offline/esm2022/services/push.service.mjs +3 -3
- app-ng-runtime/mobile/offline/esm2022/services/workers/error-blocker.mjs +3 -4
- app-ng-runtime/mobile/offline/esm2022/services/workers/file-handler.mjs +13 -18
- app-ng-runtime/mobile/offline/esm2022/services/workers/id-resolver.mjs +3 -3
- app-ng-runtime/mobile/offline/esm2022/services/workers/multi-part-param-transformer.mjs +5 -9
- app-ng-runtime/mobile/offline/esm2022/utils/file-upload.utils.mjs +1 -1
- app-ng-runtime/mobile/offline/esm2022/utils/live-variable.utils.mjs +11 -12
- app-ng-runtime/mobile/offline/esm2022/utils/query-executor.utils.mjs +4 -5
- app-ng-runtime/mobile/offline/esm2022/utils/security.utils.mjs +2 -3
- app-ng-runtime/mobile/offline/esm2022/utils/utils.mjs +1 -1
- app-ng-runtime/mobile/offline/fesm2022/index.mjs +153 -171
- app-ng-runtime/mobile/offline/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/placeholder/runtime/bundles/index.umd.js +2 -3
- app-ng-runtime/mobile/placeholder/runtime/esm2022/components/app-ext.component.mjs +2 -3
- app-ng-runtime/mobile/placeholder/runtime/esm2022/mobile-runtime.module.mjs +2 -2
- app-ng-runtime/mobile/placeholder/runtime/fesm2022/index.mjs +2 -3
- app-ng-runtime/mobile/placeholder/runtime/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/placeholder/runtime-dynamic/bundles/index.umd.js +1 -1
- app-ng-runtime/mobile/placeholder/runtime-dynamic/esm2022/mobile-runtime-dynamic.module.mjs +2 -2
- app-ng-runtime/mobile/placeholder/runtime-dynamic/fesm2022/index.mjs +1 -1
- app-ng-runtime/mobile/placeholder/runtime-dynamic/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/runtime/bundles/index.umd.js +17 -21
- app-ng-runtime/mobile/runtime/esm2022/components/app-ext.component.mjs +3 -4
- app-ng-runtime/mobile/runtime/esm2022/mobile-runtime.module.mjs +4 -5
- app-ng-runtime/mobile/runtime/esm2022/services/cookie.service.mjs +3 -7
- app-ng-runtime/mobile/runtime/esm2022/services/http-interceptor.service.mjs +5 -6
- app-ng-runtime/mobile/runtime/esm2022/services/webprocess.service.mjs +3 -3
- app-ng-runtime/mobile/runtime/fesm2022/index.mjs +13 -18
- app-ng-runtime/mobile/runtime/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/runtime-dynamic/bundles/index.umd.js +5 -5
- app-ng-runtime/mobile/runtime-dynamic/esm2022/mobile-runtime-dynamic.module.mjs +2 -2
- app-ng-runtime/mobile/runtime-dynamic/esm2022/services/live-sync.service.mjs +5 -5
- app-ng-runtime/mobile/runtime-dynamic/fesm2022/index.mjs +5 -5
- app-ng-runtime/mobile/runtime-dynamic/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/variables/bundles/index.umd.js +21 -28
- app-ng-runtime/mobile/variables/esm2022/services/camera-service.mjs +5 -5
- app-ng-runtime/mobile/variables/esm2022/services/contacts-service.mjs +1 -1
- app-ng-runtime/mobile/variables/esm2022/services/datasync-service.mjs +9 -10
- app-ng-runtime/mobile/variables/esm2022/services/device-service/device-service.mjs +1 -1
- app-ng-runtime/mobile/variables/esm2022/services/device-service/location-service.mjs +1 -1
- app-ng-runtime/mobile/variables/esm2022/services/file-service.mjs +3 -11
- app-ng-runtime/mobile/variables/esm2022/services/scan-service.mjs +1 -1
- app-ng-runtime/mobile/variables/esm2022/variables.module.mjs +3 -3
- app-ng-runtime/mobile/variables/fesm2022/index.mjs +16 -24
- app-ng-runtime/mobile/variables/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/oAuth/bundles/index.umd.js +15 -15
- app-ng-runtime/oAuth/esm2022/oAuth.module.mjs +2 -2
- app-ng-runtime/oAuth/esm2022/oAuth.service.mjs +5 -6
- app-ng-runtime/oAuth/esm2022/oAuth.utils.mjs +7 -8
- app-ng-runtime/oAuth/fesm2022/index.mjs +11 -12
- app-ng-runtime/oAuth/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/package.json +1 -1
- app-ng-runtime/runtime/base/bundles/index.umd.js +243 -259
- app-ng-runtime/runtime/base/components/app-component/app.component.d.ts +1 -3
- app-ng-runtime/runtime/base/directives/accessroles.directive.d.ts +3 -4
- app-ng-runtime/runtime/base/esm2022/components/app-component/app.component.mjs +30 -34
- app-ng-runtime/runtime/base/esm2022/components/app-spinner.component.mjs +8 -9
- app-ng-runtime/runtime/base/esm2022/components/base-layout.component.mjs +4 -5
- app-ng-runtime/runtime/base/esm2022/components/base-page.component.mjs +15 -16
- app-ng-runtime/runtime/base/esm2022/components/base-partial.component.mjs +14 -15
- app-ng-runtime/runtime/base/esm2022/components/base-prefab.component.mjs +16 -17
- app-ng-runtime/runtime/base/esm2022/components/base-spa-page.component.mjs +15 -16
- app-ng-runtime/runtime/base/esm2022/components/custom-toaster.component.mjs +15 -17
- app-ng-runtime/runtime/base/esm2022/components/empty-component/empty-page.component.mjs +3 -4
- app-ng-runtime/runtime/base/esm2022/components/prefab-preview.component.mjs +3 -4
- app-ng-runtime/runtime/base/esm2022/directives/accessroles.directive.mjs +16 -24
- app-ng-runtime/runtime/base/esm2022/directives/prefab.directive.mjs +4 -4
- app-ng-runtime/runtime/base/esm2022/guards/auth.guard.mjs +3 -3
- app-ng-runtime/runtime/base/esm2022/guards/can-deactivate-page.guard.mjs +3 -3
- app-ng-runtime/runtime/base/esm2022/guards/page-not-found.guard.mjs +3 -3
- app-ng-runtime/runtime/base/esm2022/guards/role.guard.mjs +4 -5
- app-ng-runtime/runtime/base/esm2022/overrides/wm_dom_renderer.mjs +4 -4
- app-ng-runtime/runtime/base/esm2022/overrides/wm_shared_styles_host.mjs +5 -5
- app-ng-runtime/runtime/base/esm2022/resolves/app-extension.resolve.mjs +3 -3
- app-ng-runtime/runtime/base/esm2022/resolves/app-js.resolve.mjs +3 -3
- app-ng-runtime/runtime/base/esm2022/resolves/app-variables.resolve.mjs +3 -3
- app-ng-runtime/runtime/base/esm2022/resolves/i18n.resolve.mjs +3 -3
- app-ng-runtime/runtime/base/esm2022/resolves/metadata.resolve.mjs +3 -3
- app-ng-runtime/runtime/base/esm2022/resolves/security-config.resolve.mjs +3 -3
- app-ng-runtime/runtime/base/esm2022/runtime-base.module.mjs +3 -3
- app-ng-runtime/runtime/base/esm2022/services/app-defaults.service.mjs +3 -3
- app-ng-runtime/runtime/base/esm2022/services/app.manager.service.mjs +16 -19
- app-ng-runtime/runtime/base/esm2022/services/app.service.mjs +8 -9
- app-ng-runtime/runtime/base/esm2022/services/dynamic-component-ref-provider.service.mjs +4 -5
- app-ng-runtime/runtime/base/esm2022/services/http-interceptor.services.mjs +5 -6
- app-ng-runtime/runtime/base/esm2022/services/i18n.service.mjs +13 -15
- app-ng-runtime/runtime/base/esm2022/services/navigation.service.mjs +9 -10
- app-ng-runtime/runtime/base/esm2022/services/pipe-provider.service.mjs +3 -3
- app-ng-runtime/runtime/base/esm2022/services/pipe.service.mjs +3 -3
- app-ng-runtime/runtime/base/esm2022/services/prefab-manager.service.mjs +4 -5
- app-ng-runtime/runtime/base/esm2022/services/spinner.service.mjs +8 -9
- app-ng-runtime/runtime/base/esm2022/services/toaster.service.mjs +7 -8
- app-ng-runtime/runtime/base/esm2022/util/fragment-monitor.mjs +3 -3
- app-ng-runtime/runtime/base/esm2022/util/wm-route-reuse-strategy.mjs +8 -7
- app-ng-runtime/runtime/base/fesm2022/index.mjs +252 -269
- app-ng-runtime/runtime/base/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/runtime/base/overrides/wm_dom_renderer.d.ts +2 -2
- app-ng-runtime/runtime/base/services/i18n.service.d.ts +1 -1
- app-ng-runtime/runtime/dynamic/bundles/index.umd.js +21 -22
- app-ng-runtime/runtime/dynamic/esm2022/app/app.module.mjs +1 -1
- app-ng-runtime/runtime/dynamic/esm2022/app/components/page-wrapper.component.mjs +3 -4
- app-ng-runtime/runtime/dynamic/esm2022/app/services/app-extension.service.mjs +3 -3
- app-ng-runtime/runtime/dynamic/esm2022/app/services/app-js-provider.service.mjs +3 -3
- app-ng-runtime/runtime/dynamic/esm2022/app/services/app-resource-manager.service.mjs +3 -3
- app-ng-runtime/runtime/dynamic/esm2022/app/services/app-variables-provider.service.mjs +3 -3
- app-ng-runtime/runtime/dynamic/esm2022/app/services/component-ref-provider.service.mjs +5 -6
- app-ng-runtime/runtime/dynamic/esm2022/app/services/prefab-config-provider.service.mjs +3 -3
- app-ng-runtime/runtime/dynamic/esm2022/main.mjs +2 -3
- app-ng-runtime/runtime/dynamic/fesm2022/index.mjs +19 -21
- app-ng-runtime/runtime/dynamic/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/scripts/datatable/datatable.js +2 -3
- app-ng-runtime/scripts/jquery-ui/ui/widgets/droppable.js +7 -7
- app-ng-runtime/scripts/jquery-ui/ui/widgets/resizable.js +10 -13
- app-ng-runtime/scripts/jquery-ui/ui/widgets/sortable.js +7 -7
- app-ng-runtime/security/bundles/index.umd.js +17 -17
- app-ng-runtime/security/esm2022/security.module.mjs +2 -2
- app-ng-runtime/security/esm2022/security.service.mjs +13 -14
- app-ng-runtime/security/fesm2022/index.mjs +13 -14
- app-ng-runtime/security/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/security/security.service.d.ts +1 -1
- app-ng-runtime/swipey/esm2022/swipe.animation.mjs +1 -1
- app-ng-runtime/swipey/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/transpiler/bundles/index.umd.js +9 -10
- app-ng-runtime/transpiler/esm2022/build.mjs +6 -8
- app-ng-runtime/transpiler/fesm2022/index.mjs +5 -7
- app-ng-runtime/transpiler/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/variables/bundles/index.umd.js +150 -160
- app-ng-runtime/variables/esm2022/factory/variable.factory.mjs +1 -1
- app-ng-runtime/variables/esm2022/manager/action/login-action.manager.mjs +14 -15
- app-ng-runtime/variables/esm2022/manager/action/logout-action.manager.mjs +1 -1
- app-ng-runtime/variables/esm2022/manager/action/notification-action.manager.mjs +8 -9
- app-ng-runtime/variables/esm2022/manager/variable/base-variable.manager.mjs +2 -3
- app-ng-runtime/variables/esm2022/manager/variable/device-variable-manager.mjs +1 -1
- app-ng-runtime/variables/esm2022/manager/variable/device-variable-service.mjs +1 -1
- app-ng-runtime/variables/esm2022/manager/variable/web-socket-variable.manager.mjs +10 -11
- app-ng-runtime/variables/esm2022/model/action/notification-action.mjs +1 -1
- app-ng-runtime/variables/esm2022/service/metadata-service/metadata.service.mjs +3 -3
- app-ng-runtime/variables/esm2022/service/variables.service.mjs +8 -9
- app-ng-runtime/variables/esm2022/util/action/navigation-action.utils.mjs +4 -4
- app-ng-runtime/variables/esm2022/util/variable/pagination.utils.mjs +23 -30
- app-ng-runtime/variables/esm2022/util/variable/service-variable.utils.mjs +28 -29
- app-ng-runtime/variables/esm2022/util/variable/variables.utils.mjs +70 -75
- app-ng-runtime/variables/esm2022/variables.module.mjs +2 -2
- app-ng-runtime/variables/fesm2022/index.mjs +163 -174
- app-ng-runtime/variables/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/variables/util/variable/service-variable.utils.d.ts +1 -1
- app-ng-runtime/build-task/.npmignore +0 -2
- app-ng-runtime/components/advanced/carousel/.npmignore +0 -2
- app-ng-runtime/components/advanced/login/.npmignore +0 -2
- app-ng-runtime/components/advanced/marquee/.npmignore +0 -2
- app-ng-runtime/components/base/.npmignore +0 -2
- app-ng-runtime/components/basic/default/.npmignore +0 -2
- app-ng-runtime/components/basic/progress/.npmignore +0 -2
- app-ng-runtime/components/basic/rich-text-editor/.npmignore +0 -2
- app-ng-runtime/components/basic/search/.npmignore +0 -2
- app-ng-runtime/components/basic/tree/.npmignore +0 -2
- app-ng-runtime/components/chart/.npmignore +0 -2
- app-ng-runtime/components/containers/accordion/.npmignore +0 -2
- app-ng-runtime/components/containers/layout-grid/.npmignore +0 -2
- app-ng-runtime/components/containers/linear-layout/.npmignore +0 -2
- app-ng-runtime/components/containers/panel/.npmignore +0 -2
- app-ng-runtime/components/containers/tabs/.npmignore +0 -2
- app-ng-runtime/components/containers/tile/.npmignore +0 -2
- app-ng-runtime/components/containers/wizard/.npmignore +0 -2
- app-ng-runtime/components/data/card/.npmignore +0 -2
- app-ng-runtime/components/data/form/.npmignore +0 -2
- app-ng-runtime/components/data/list/.npmignore +0 -2
- app-ng-runtime/components/data/live-table/.npmignore +0 -2
- app-ng-runtime/components/data/pagination/.npmignore +0 -2
- app-ng-runtime/components/data/table/.npmignore +0 -2
- app-ng-runtime/components/dialogs/alert-dialog/.npmignore +0 -2
- app-ng-runtime/components/dialogs/confirm-dialog/.npmignore +0 -2
- app-ng-runtime/components/dialogs/default/.npmignore +0 -2
- app-ng-runtime/components/dialogs/design-dialog/.npmignore +0 -2
- app-ng-runtime/components/dialogs/iframe-dialog/.npmignore +0 -2
- app-ng-runtime/components/dialogs/login-dialog/.npmignore +0 -2
- app-ng-runtime/components/dialogs/partial-dialog/.npmignore +0 -2
- app-ng-runtime/components/input/calendar/.npmignore +0 -2
- app-ng-runtime/components/input/chips/.npmignore +0 -2
- app-ng-runtime/components/input/color-picker/.npmignore +0 -2
- app-ng-runtime/components/input/currency/.npmignore +0 -2
- app-ng-runtime/components/input/default/.npmignore +0 -2
- app-ng-runtime/components/input/epoch/.npmignore +0 -2
- app-ng-runtime/components/input/file-upload/.npmignore +0 -2
- app-ng-runtime/components/input/rating/.npmignore +0 -2
- app-ng-runtime/components/input/slider/.npmignore +0 -2
- app-ng-runtime/components/navigation/breadcrumb/.npmignore +0 -2
- app-ng-runtime/components/navigation/menu/.npmignore +0 -2
- app-ng-runtime/components/navigation/navbar/.npmignore +0 -2
- app-ng-runtime/components/navigation/popover/.npmignore +0 -2
- app-ng-runtime/components/page/default/.npmignore +0 -2
- app-ng-runtime/components/page/footer/.npmignore +0 -2
- app-ng-runtime/components/page/header/.npmignore +0 -2
- app-ng-runtime/components/page/left-panel/.npmignore +0 -2
- app-ng-runtime/components/page/right-panel/.npmignore +0 -2
- app-ng-runtime/components/page/top-nav/.npmignore +0 -2
- app-ng-runtime/components/prefab/.npmignore +0 -2
- app-ng-runtime/core/.npmignore +0 -2
- app-ng-runtime/core/esm2022/services/custom-icons-loader.service.mjs +0 -26
- app-ng-runtime/core/services/custom-icons-loader.service.d.ts +0 -7
- app-ng-runtime/http/.npmignore +0 -2
- app-ng-runtime/mobile/components/basic/default/.npmignore +0 -2
- app-ng-runtime/mobile/components/basic/search/.npmignore +0 -2
- app-ng-runtime/mobile/components/containers/segmented-control/.npmignore +0 -2
- app-ng-runtime/mobile/components/data/media-list/.npmignore +0 -2
- app-ng-runtime/mobile/components/device/barcode-scanner/.npmignore +0 -2
- app-ng-runtime/mobile/components/device/camera/.npmignore +0 -2
- app-ng-runtime/mobile/components/input/file-upload/.npmignore +0 -2
- app-ng-runtime/mobile/components/page/default/.npmignore +0 -2
- app-ng-runtime/mobile/components/page/left-panel/.npmignore +0 -2
- app-ng-runtime/mobile/components/page/mobile-navbar/.npmignore +0 -2
- app-ng-runtime/mobile/components/page/tab-bar/.npmignore +0 -2
- app-ng-runtime/mobile/core/.npmignore +0 -2
- app-ng-runtime/mobile/offline/.npmignore +0 -2
- app-ng-runtime/mobile/placeholder/runtime/.npmignore +0 -2
- app-ng-runtime/mobile/placeholder/runtime-dynamic/.npmignore +0 -2
- app-ng-runtime/mobile/runtime/.npmignore +0 -2
- app-ng-runtime/mobile/runtime-dynamic/.npmignore +0 -2
- app-ng-runtime/mobile/variables/.npmignore +0 -2
- app-ng-runtime/oAuth/.npmignore +0 -2
- app-ng-runtime/runtime/base/.npmignore +0 -2
- app-ng-runtime/runtime/dynamic/.npmignore +0 -2
- app-ng-runtime/security/.npmignore +0 -2
- app-ng-runtime/swipey/.npmignore +0 -2
- app-ng-runtime/transpiler/.npmignore +0 -2
- app-ng-runtime/variables/.npmignore +0 -2
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('@wm/core'), require('@wm/security'), require('@wavemaker/focus-trap
|
|
3
|
-
typeof define === 'function' && define.amd ? define(['exports', '@angular/core', '@angular/common', '@wm/core', '@wm/security', '@wavemaker/focus-trap
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.wm = global.wm || {}, global.wm.components = global.wm.components || {}, global.wm.components.base = {}), global.ng.core, global.ng.common, global.wm.core, global.wm.security, global.focusTrap, global.
|
|
5
|
-
})(this, (function (exports, i0, i1$1, i1, security, focusTrap,
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('@wm/core'), require('@wm/security'), require('@wavemaker/focus-trap/dist/focus-trap'), require('@angular/platform-browser'), require('rxjs'), require('rxjs/operators'), require('@angular/forms'), require('@swipey')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define(['exports', '@angular/core', '@angular/common', '@wm/core', '@wm/security', '@wavemaker/focus-trap/dist/focus-trap', '@angular/platform-browser', 'rxjs', 'rxjs/operators', '@angular/forms', '@swipey'], factory) :
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.wm = global.wm || {}, global.wm.components = global.wm.components || {}, global.wm.components.base = {}), global.ng.core, global.ng.common, global.wm.core, global.wm.security, global.focusTrap, global.ng.platformBrowser, global.rxjs, global.rxjs.operators, global.ng.forms, global.swipey));
|
|
5
|
+
})(this, (function (exports, i0, i1$1, i1, security, focusTrap, i1$2, rxjs, operators, forms, _swipey) { 'use strict';
|
|
6
6
|
|
|
7
7
|
function _interopNamespaceDefault(e) {
|
|
8
8
|
var n = Object.create(null);
|
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
/* convert indexes to properties, so as to work for even 'key1[0].child1'*/
|
|
101
101
|
strKey.replace(/\[(\w+)\]/g, '.$1').split('.').forEach(key => {
|
|
102
102
|
// If obj is null, then assign val to null.
|
|
103
|
-
val = (val && val[key]) || (
|
|
103
|
+
val = (val && val[key]) || (_.isNull(obj) ? obj : obj[key]);
|
|
104
104
|
});
|
|
105
105
|
return val;
|
|
106
106
|
}
|
|
@@ -135,7 +135,7 @@
|
|
|
135
135
|
// Handling field name with special charecters
|
|
136
136
|
// Ex: field = "f name"
|
|
137
137
|
if (!bindExpr && !expr) {
|
|
138
|
-
return
|
|
138
|
+
return _.get(dataObj, field);
|
|
139
139
|
}
|
|
140
140
|
return i1.$parseExpr(expressionValue)(context, Object.assign({}, dataObj, { __1: dataObj }));
|
|
141
141
|
};
|
|
@@ -172,12 +172,12 @@
|
|
|
172
172
|
const getOrderByExpr = pageableObj => {
|
|
173
173
|
pageableObj = pageableObj || [];
|
|
174
174
|
const expressions = [], KEY_VAL_SEPARATOR = ' ', FIELD_SEPARATOR = ',';
|
|
175
|
-
|
|
175
|
+
_.forEach(pageableObj, obj => {
|
|
176
176
|
if (obj.direction) {
|
|
177
177
|
expressions.push(obj.property + KEY_VAL_SEPARATOR + obj.direction.toLowerCase());
|
|
178
178
|
}
|
|
179
179
|
});
|
|
180
|
-
return
|
|
180
|
+
return _.join(expressions, FIELD_SEPARATOR);
|
|
181
181
|
};
|
|
182
182
|
const isDataSetWidget = widget => {
|
|
183
183
|
return DATASET_WIDGETS.has(widget);
|
|
@@ -267,13 +267,13 @@
|
|
|
267
267
|
modes.string.push('in', 'notin');
|
|
268
268
|
modes.character.push('in', 'notin');
|
|
269
269
|
}
|
|
270
|
-
|
|
271
|
-
|
|
270
|
+
_.forEach(typesMap, (types, primType) => {
|
|
271
|
+
_.forEach(types, type => {
|
|
272
272
|
matchModeTypesMap[type] = modes[primType];
|
|
273
273
|
});
|
|
274
274
|
});
|
|
275
275
|
// this is used in filter criteria when the user types the column name manually and where we dont know the type of the column
|
|
276
|
-
matchModeTypesMap['default'] =
|
|
276
|
+
matchModeTypesMap['default'] = _.union(modes['number'], modes['string'], modes['character'], modes['date'], modes['date']);
|
|
277
277
|
return matchModeTypesMap;
|
|
278
278
|
};
|
|
279
279
|
const getMatchModeMsgs = (appLocale) => {
|
|
@@ -305,14 +305,14 @@
|
|
|
305
305
|
// Returns array of classes that are evaluated true for given object or array
|
|
306
306
|
const getClassesArray = classVal => {
|
|
307
307
|
let classes = [];
|
|
308
|
-
if (
|
|
308
|
+
if (_.isArray(classVal)) {
|
|
309
309
|
classVal.forEach(v => {
|
|
310
310
|
classes = classes.concat(getClassesArray(v));
|
|
311
311
|
});
|
|
312
312
|
return classes;
|
|
313
313
|
}
|
|
314
|
-
if (
|
|
315
|
-
|
|
314
|
+
if (_.isObject(classVal)) {
|
|
315
|
+
_.forEach(classVal, (val, key) => {
|
|
316
316
|
if (val) {
|
|
317
317
|
classes = classes.concat(key.split(' '));
|
|
318
318
|
}
|
|
@@ -326,9 +326,9 @@
|
|
|
326
326
|
// if the conditional class property has already toAdd and toRemove arrays then take that otherwise build those arrays
|
|
327
327
|
const classToAdd = nv.toAdd || nv;
|
|
328
328
|
const classToRemove = nv.toRemove || ov;
|
|
329
|
-
if (
|
|
330
|
-
toAdd =
|
|
331
|
-
toRemove = classToRemove ? (
|
|
329
|
+
if (_.isObject(nv)) {
|
|
330
|
+
toAdd = _.isArray(classToAdd) ? classToAdd : getClassesArray(classToAdd || []);
|
|
331
|
+
toRemove = classToRemove ? (_.isArray(classToRemove) ? classToRemove : getClassesArray(classToRemove)) : [];
|
|
332
332
|
}
|
|
333
333
|
else {
|
|
334
334
|
toAdd = classToAdd ? [classToAdd] : [];
|
|
@@ -343,9 +343,9 @@
|
|
|
343
343
|
if (!options) {
|
|
344
344
|
options = {};
|
|
345
345
|
}
|
|
346
|
-
|
|
347
|
-
if (
|
|
348
|
-
relatedInfo =
|
|
346
|
+
_.forEach(dataObject, (value, title) => {
|
|
347
|
+
if (_.includes(title, '.')) {
|
|
348
|
+
relatedInfo = _.split(title, '.');
|
|
349
349
|
relatedTable = relatedInfo[0];
|
|
350
350
|
relatedField = relatedInfo[1];
|
|
351
351
|
isRelated = true;
|
|
@@ -354,7 +354,7 @@
|
|
|
354
354
|
modifiedTitle = title;
|
|
355
355
|
}
|
|
356
356
|
else {
|
|
357
|
-
if (
|
|
357
|
+
if (_.isString(title)) {
|
|
358
358
|
modifiedTitle = i1.prettifyLabel(title);
|
|
359
359
|
modifiedTitle = i1.deHyphenate(modifiedTitle);
|
|
360
360
|
modifiedTitle = namePrefix ? i1.initCaps(namePrefix) + ' ' + modifiedTitle : modifiedTitle;
|
|
@@ -366,7 +366,7 @@
|
|
|
366
366
|
title = namePrefix ? namePrefix + '.' + title : title;
|
|
367
367
|
if (isRelated) {
|
|
368
368
|
// For related columns, shorten the title to last two words
|
|
369
|
-
fieldName =
|
|
369
|
+
fieldName = _.split(modifiedTitle, ' ');
|
|
370
370
|
fieldName = fieldName.length > 1 ? fieldName[fieldName.length - 2] + ' ' + fieldName[fieldName.length - 1] : fieldName[0];
|
|
371
371
|
}
|
|
372
372
|
else {
|
|
@@ -375,7 +375,7 @@
|
|
|
375
375
|
const defObj = options.setBindingField ? { 'displayName': fieldName, 'field': title, 'relatedTable': relatedTable, 'relatedField': relatedField || modifiedTitle }
|
|
376
376
|
: { 'displayName': fieldName, 'relatedTable': relatedTable, 'relatedField': relatedField || modifiedTitle };
|
|
377
377
|
/*if field is a leaf node, push it in the columnDefs*/
|
|
378
|
-
if (!
|
|
378
|
+
if (!_.isObject(value) || (_.isArray(value) && !value[0])) {
|
|
379
379
|
/*if the column counter has reached upperBound return*/
|
|
380
380
|
if (options.upperBound && options.columnCount === options.upperBound) {
|
|
381
381
|
return;
|
|
@@ -391,7 +391,7 @@
|
|
|
391
391
|
columnDefObj.objects.push(defObj);
|
|
392
392
|
}
|
|
393
393
|
/* if field is an array node, process its first child */
|
|
394
|
-
if (
|
|
394
|
+
if (_.isArray(value) && value[0]) {
|
|
395
395
|
pushFieldDef(value[0], columnDefObj, title + '[0]', options);
|
|
396
396
|
}
|
|
397
397
|
else {
|
|
@@ -402,17 +402,17 @@
|
|
|
402
402
|
};
|
|
403
403
|
const getMetaDataFromData = (data) => {
|
|
404
404
|
let dataObject;
|
|
405
|
-
if (
|
|
406
|
-
if (
|
|
405
|
+
if (_.isArray(data)) {
|
|
406
|
+
if (_.isObject(data[0])) {
|
|
407
407
|
dataObject = i1.getClonedObject(data[0]);
|
|
408
408
|
/*Loop over the object to find out any null values. If any null values are present in the first row, check and assign the values from other row.
|
|
409
409
|
* As column generation is dependent on data, for related fields if first row value is null, columns are not generated.
|
|
410
410
|
* To prevent this, check the data in other rows and generate the columns. New keys from others rows are also added*/
|
|
411
|
-
|
|
411
|
+
_.forEach(data, (row, index) => {
|
|
412
412
|
if ((index + 1) >= 10) { // Limit the data search to first 10 records
|
|
413
413
|
return false;
|
|
414
414
|
}
|
|
415
|
-
|
|
415
|
+
_.assignWith(dataObject, row, (objValue, srcValue) => {
|
|
416
416
|
return (objValue === null || objValue === undefined) ? srcValue : objValue;
|
|
417
417
|
});
|
|
418
418
|
});
|
|
@@ -801,7 +801,7 @@
|
|
|
801
801
|
if (isDimensionProp(key)) {
|
|
802
802
|
nv = i1.toDimension(nv);
|
|
803
803
|
}
|
|
804
|
-
else if (
|
|
804
|
+
else if (_.startsWith(nv, 'resources/')) {
|
|
805
805
|
const ref = component;
|
|
806
806
|
if (ref._parentPrefab_ === undefined) {
|
|
807
807
|
ref._parentPrefab_ = component.$element.parent().closest('[prefabname][prefabname!="__self__"]').attr('prefabname') || '';
|
|
@@ -842,7 +842,7 @@
|
|
|
842
842
|
},
|
|
843
843
|
get: (target, key) => {
|
|
844
844
|
const v = target[key];
|
|
845
|
-
if (
|
|
845
|
+
if (_.isFunction(v)) { // bind the proper context for the methods
|
|
846
846
|
return v.bind(target);
|
|
847
847
|
}
|
|
848
848
|
return v;
|
|
@@ -871,7 +871,7 @@
|
|
|
871
871
|
// bind proper context for the methods
|
|
872
872
|
invokeLater(() => {
|
|
873
873
|
for (const key in instance) {
|
|
874
|
-
if (
|
|
874
|
+
if (_.isFunction(instance[key]) && key !== 'constructor' && key !== 'super' && !_.startsWith(key, 'ng')) {
|
|
875
875
|
instance[key] = instance[key].bind(instance);
|
|
876
876
|
}
|
|
877
877
|
}
|
|
@@ -902,21 +902,21 @@
|
|
|
902
902
|
// Gets list of classes to add and remove and applies on the $el
|
|
903
903
|
const updateClasses = (toAdd, toRemove, el) => {
|
|
904
904
|
if (toRemove && toRemove.length) {
|
|
905
|
-
i1.removeClass(el,
|
|
905
|
+
i1.removeClass(el, _.join(toRemove, ' '));
|
|
906
906
|
}
|
|
907
907
|
if (toAdd && toAdd.length) {
|
|
908
|
-
i1.addClass(el,
|
|
908
|
+
i1.addClass(el, _.join(toAdd, ' '));
|
|
909
909
|
}
|
|
910
910
|
};
|
|
911
911
|
// To add and remove styles on the $el
|
|
912
912
|
const updateStyles = (nv, ov, el) => {
|
|
913
|
-
if (ov &&
|
|
913
|
+
if (ov && _.isObject(ov)) {
|
|
914
914
|
const keys = Object.keys(ov || {});
|
|
915
915
|
keys.forEach(function (key) {
|
|
916
916
|
i1.setCSS(el, key, '');
|
|
917
917
|
});
|
|
918
918
|
}
|
|
919
|
-
if (nv &&
|
|
919
|
+
if (nv && _.isObject(nv)) {
|
|
920
920
|
i1.setCSSFromObj(el, nv);
|
|
921
921
|
}
|
|
922
922
|
};
|
|
@@ -927,7 +927,7 @@
|
|
|
927
927
|
get $element() {
|
|
928
928
|
return $(this.nativeElement);
|
|
929
929
|
}
|
|
930
|
-
constructor(inj, config,
|
|
930
|
+
constructor(inj, config, initPromise // Promise on which the initialization has to wait
|
|
931
931
|
) {
|
|
932
932
|
this.inj = inj;
|
|
933
933
|
this.isAttached = false;
|
|
@@ -959,7 +959,6 @@
|
|
|
959
959
|
this.__cloneable__ = false;
|
|
960
960
|
this.$attrs = new Map();
|
|
961
961
|
this.isMuted = false;
|
|
962
|
-
this.customInjectorMap = {};
|
|
963
962
|
const elementRef = inj.get(i0.ElementRef);
|
|
964
963
|
this.nativeElement = elementRef.nativeElement;
|
|
965
964
|
//making the code compatible in both the JIT and AOT modes
|
|
@@ -1027,9 +1026,6 @@
|
|
|
1027
1026
|
this.setInitProps();
|
|
1028
1027
|
});
|
|
1029
1028
|
}
|
|
1030
|
-
if (explicitContext) {
|
|
1031
|
-
lodashEs.extend(this.context, explicitContext);
|
|
1032
|
-
}
|
|
1033
1029
|
}
|
|
1034
1030
|
getNativeElement() {
|
|
1035
1031
|
return this.nativeElement;
|
|
@@ -1102,8 +1098,8 @@
|
|
|
1102
1098
|
}
|
|
1103
1099
|
if (parentContexts) {
|
|
1104
1100
|
let parentContextObj = {};
|
|
1105
|
-
if (
|
|
1106
|
-
|
|
1101
|
+
if (_.isArray(parentContexts)) {
|
|
1102
|
+
_.forEach(parentContexts, (contextObj) => {
|
|
1107
1103
|
Object.assign(parentContextObj, contextObj);
|
|
1108
1104
|
});
|
|
1109
1105
|
}
|
|
@@ -1261,7 +1257,7 @@
|
|
|
1261
1257
|
this.eventHandlers.set(this.getMappedEventName(eventName), { callback: eventCallback, locals });
|
|
1262
1258
|
// prepend eventName with on and convert it to camelcase.
|
|
1263
1259
|
// eg, "click" ---> onClick
|
|
1264
|
-
const onEventName =
|
|
1260
|
+
const onEventName = _.camelCase(`on-${eventName}`);
|
|
1265
1261
|
// save the eventCallback in widgetScope.
|
|
1266
1262
|
this[onEventName] = eventCallback;
|
|
1267
1263
|
// events needs to be setup after viewInit
|
|
@@ -1341,7 +1337,7 @@
|
|
|
1341
1337
|
if (_tNodeAttrs === null) {
|
|
1342
1338
|
return actualAttrs.sort();
|
|
1343
1339
|
}
|
|
1344
|
-
|
|
1340
|
+
_.forEach(_tNodeAttrs, (attr, i) => {
|
|
1345
1341
|
if (typeof attr === 'number') {
|
|
1346
1342
|
return false;
|
|
1347
1343
|
}
|
|
@@ -1366,7 +1362,7 @@
|
|
|
1366
1362
|
* Process the attributes
|
|
1367
1363
|
*/
|
|
1368
1364
|
processAttrs() {
|
|
1369
|
-
|
|
1365
|
+
_.map(this.getAttributes(), (attrName) => {
|
|
1370
1366
|
let attrValue = this.nativeElement.attributes[attrName].value;
|
|
1371
1367
|
this.$attrs.set(attrName, attrValue);
|
|
1372
1368
|
this.processAttr(attrName, attrValue);
|
|
@@ -1442,16 +1438,6 @@
|
|
|
1442
1438
|
unmute() {
|
|
1443
1439
|
this.isMuted = false;
|
|
1444
1440
|
}
|
|
1445
|
-
createCustomInjector(contextKey, context) {
|
|
1446
|
-
if (this.customInjectorMap[contextKey]) {
|
|
1447
|
-
return this.customInjectorMap[contextKey].injector;
|
|
1448
|
-
}
|
|
1449
|
-
const injector = i0.Injector.create({
|
|
1450
|
-
providers: [{ provide: 'EXPLICIT_CONTEXT', useFactory: () => context }]
|
|
1451
|
-
});
|
|
1452
|
-
this.customInjectorMap[contextKey] = { context, injector };
|
|
1453
|
-
return injector;
|
|
1454
|
-
}
|
|
1455
1441
|
/**
|
|
1456
1442
|
* After the host page is attached from cache, this function is called.
|
|
1457
1443
|
*/
|
|
@@ -1495,26 +1481,21 @@
|
|
|
1495
1481
|
this.destroy.complete();
|
|
1496
1482
|
this.isAttached = false;
|
|
1497
1483
|
}
|
|
1498
|
-
static { this.ɵfac = function BaseComponent_Factory(t) { return new (t || BaseComponent)(i0__namespace.ɵɵinject(i0__namespace.Injector), i0__namespace.ɵɵinject(WidgetConfig), i0__namespace.ɵɵinject(
|
|
1484
|
+
static { this.ɵfac = function BaseComponent_Factory(t) { return new (t || BaseComponent)(i0__namespace.ɵɵinject(i0__namespace.Injector), i0__namespace.ɵɵinject(WidgetConfig), i0__namespace.ɵɵinject(Promise)); }; }
|
|
1499
1485
|
static { this.ɵprov = /*@__PURE__*/ i0__namespace.ɵɵdefineInjectable({ token: BaseComponent, factory: BaseComponent.ɵfac }); }
|
|
1500
1486
|
}
|
|
1501
|
-
(()
|
|
1487
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(BaseComponent, [{
|
|
1502
1488
|
type: i0.Injectable
|
|
1503
|
-
}], ()
|
|
1489
|
+
}], function () { return [{ type: i0__namespace.Injector }, { type: undefined, decorators: [{
|
|
1504
1490
|
type: i0.Inject,
|
|
1505
1491
|
args: [WidgetConfig]
|
|
1506
|
-
}] }, { type:
|
|
1507
|
-
type: i0.Inject,
|
|
1508
|
-
args: ['EXPLICIT_CONTEXT']
|
|
1509
|
-
}, {
|
|
1510
|
-
type: i0.Optional
|
|
1511
|
-
}] }, { type: Promise }], null); })();
|
|
1492
|
+
}] }, { type: Promise }]; }, null); })();
|
|
1512
1493
|
|
|
1513
1494
|
class StylableComponent extends BaseComponent {
|
|
1514
|
-
static { this.ɵfac = /*@__PURE__*/ (
|
|
1495
|
+
static { this.ɵfac = /*@__PURE__*/ function () { let ɵStylableComponent_BaseFactory; return function StylableComponent_Factory(t) { return (ɵStylableComponent_BaseFactory || (ɵStylableComponent_BaseFactory = i0__namespace.ɵɵgetInheritedFactory(StylableComponent)))(t || StylableComponent); }; }(); }
|
|
1515
1496
|
static { this.ɵprov = /*@__PURE__*/ i0__namespace.ɵɵdefineInjectable({ token: StylableComponent, factory: StylableComponent.ɵfac }); }
|
|
1516
1497
|
}
|
|
1517
|
-
(()
|
|
1498
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(StylableComponent, [{
|
|
1518
1499
|
type: i0.Injectable
|
|
1519
1500
|
}], null, null); })();
|
|
1520
1501
|
|
|
@@ -1532,26 +1513,26 @@
|
|
|
1532
1513
|
static { this.ɵfac = function RedrawableDirective_Factory(t) { return new (t || RedrawableDirective)(i0__namespace.ɵɵdirectiveInject(WidgetRef, 2)); }; }
|
|
1533
1514
|
static { this.ɵdir = /*@__PURE__*/ i0__namespace.ɵɵdefineDirective({ type: RedrawableDirective, selectors: [["", "redrawable", ""]] }); }
|
|
1534
1515
|
}
|
|
1535
|
-
(()
|
|
1516
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(RedrawableDirective, [{
|
|
1536
1517
|
type: i0.Directive,
|
|
1537
1518
|
args: [{
|
|
1538
1519
|
selector: '[redrawable]'
|
|
1539
1520
|
}]
|
|
1540
|
-
}], ()
|
|
1521
|
+
}], function () { return [{ type: undefined, decorators: [{
|
|
1541
1522
|
type: i0.Self
|
|
1542
1523
|
}, {
|
|
1543
1524
|
type: i0.Inject,
|
|
1544
1525
|
args: [WidgetRef]
|
|
1545
|
-
}] }], null); })();
|
|
1526
|
+
}] }]; }, null); })();
|
|
1546
1527
|
|
|
1547
1528
|
class BaseContainerComponent extends StylableComponent {
|
|
1548
|
-
constructor(inj, WIDGET_CONFIG
|
|
1549
|
-
super(inj, WIDGET_CONFIG
|
|
1529
|
+
constructor(inj, WIDGET_CONFIG) {
|
|
1530
|
+
super(inj, WIDGET_CONFIG);
|
|
1550
1531
|
}
|
|
1551
1532
|
updateRedrawableComponents(widgets) {
|
|
1552
|
-
|
|
1533
|
+
_.pickBy(widgets, widget => {
|
|
1553
1534
|
// check for redrawable widget and whether it is already exist in reDrawableComponents query list or not
|
|
1554
|
-
if (widget && widget.nativeElement && widget.nativeElement.hasAttribute('redrawable') && !
|
|
1535
|
+
if (widget && widget.nativeElement && widget.nativeElement.hasAttribute('redrawable') && !_.includes(this.reDrawableComponents._results, widget)) {
|
|
1555
1536
|
this.reDrawableComponents._results.push(widget);
|
|
1556
1537
|
}
|
|
1557
1538
|
if (widget && widget.Widgets) {
|
|
@@ -1586,9 +1567,9 @@
|
|
|
1586
1567
|
i0__namespace.ɵɵqueryRefresh(_t = i0__namespace.ɵɵloadQuery()) && (ctx.reDrawableComponents = _t);
|
|
1587
1568
|
} }, features: [i0__namespace.ɵɵInheritDefinitionFeature] }); }
|
|
1588
1569
|
}
|
|
1589
|
-
(()
|
|
1570
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(BaseContainerComponent, [{
|
|
1590
1571
|
type: i0.Directive
|
|
1591
|
-
}], ()
|
|
1572
|
+
}], function () { return [{ type: i0__namespace.Injector }, { type: undefined }]; }, { reDrawableComponents: [{
|
|
1592
1573
|
type: i0.ContentChildren,
|
|
1593
1574
|
args: [RedrawableDirective, { descendants: true }]
|
|
1594
1575
|
}] }); })();
|
|
@@ -1600,17 +1581,17 @@
|
|
|
1600
1581
|
};
|
|
1601
1582
|
class ContainerDirective extends BaseContainerComponent {
|
|
1602
1583
|
static { this.initializeProps = registerProps$4(); }
|
|
1603
|
-
constructor(inj
|
|
1604
|
-
super(inj, WIDGET_CONFIG$4
|
|
1584
|
+
constructor(inj) {
|
|
1585
|
+
super(inj, WIDGET_CONFIG$4);
|
|
1605
1586
|
i1.addClass(this.nativeElement, DEFAULT_CLS$3);
|
|
1606
1587
|
styler(this.nativeElement, this, exports.APPLY_STYLES_TYPE.CONTAINER);
|
|
1607
1588
|
}
|
|
1608
|
-
static { this.ɵfac = function ContainerDirective_Factory(t) { return new (t || ContainerDirective)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector)
|
|
1589
|
+
static { this.ɵfac = function ContainerDirective_Factory(t) { return new (t || ContainerDirective)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector)); }; }
|
|
1609
1590
|
static { this.ɵdir = /*@__PURE__*/ i0__namespace.ɵɵdefineDirective({ type: ContainerDirective, selectors: [["", "wmContainer", ""]], features: [i0__namespace.ɵɵProvidersFeature([
|
|
1610
1591
|
provideAsWidgetRef(ContainerDirective)
|
|
1611
1592
|
]), i0__namespace.ɵɵInheritDefinitionFeature] }); }
|
|
1612
1593
|
}
|
|
1613
|
-
(()
|
|
1594
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(ContainerDirective, [{
|
|
1614
1595
|
type: i0.Directive,
|
|
1615
1596
|
args: [{
|
|
1616
1597
|
selector: '[wmContainer]',
|
|
@@ -1618,12 +1599,7 @@
|
|
|
1618
1599
|
provideAsWidgetRef(ContainerDirective)
|
|
1619
1600
|
]
|
|
1620
1601
|
}]
|
|
1621
|
-
}], ()
|
|
1622
|
-
type: i0.Inject,
|
|
1623
|
-
args: ['EXPLICIT_CONTEXT']
|
|
1624
|
-
}, {
|
|
1625
|
-
type: i0.Optional
|
|
1626
|
-
}] }], null); })();
|
|
1602
|
+
}], function () { return [{ type: i0__namespace.Injector }]; }, null); })();
|
|
1627
1603
|
|
|
1628
1604
|
class ImagePipe {
|
|
1629
1605
|
transform(url, encode, defaultImageUrl) {
|
|
@@ -1632,7 +1608,7 @@
|
|
|
1632
1608
|
static { this.ɵfac = function ImagePipe_Factory(t) { return new (t || ImagePipe)(); }; }
|
|
1633
1609
|
static { this.ɵpipe = /*@__PURE__*/ i0__namespace.ɵɵdefinePipe({ name: "image", type: ImagePipe, pure: true }); }
|
|
1634
1610
|
}
|
|
1635
|
-
(()
|
|
1611
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(ImagePipe, [{
|
|
1636
1612
|
type: i0.Pipe,
|
|
1637
1613
|
args: [{
|
|
1638
1614
|
name: 'image'
|
|
@@ -1665,8 +1641,8 @@
|
|
|
1665
1641
|
set wmItemTemplate(value) {
|
|
1666
1642
|
this.widget.content = value;
|
|
1667
1643
|
}
|
|
1668
|
-
constructor(inj, elRef, app
|
|
1669
|
-
super(inj, WIDGET_CONFIG$3
|
|
1644
|
+
constructor(inj, elRef, app) {
|
|
1645
|
+
super(inj, WIDGET_CONFIG$3);
|
|
1670
1646
|
this.app = app;
|
|
1671
1647
|
this.nativeElement = elRef.nativeElement;
|
|
1672
1648
|
// this.context = (<NgForOfContext<ItemTemplateDirective>>(<any>inj).view.context);
|
|
@@ -1676,12 +1652,12 @@
|
|
|
1676
1652
|
super.ngOnInit();
|
|
1677
1653
|
this.partialParams.item = this.userComponentParams.dataObject;
|
|
1678
1654
|
}
|
|
1679
|
-
static { this.ɵfac = function ItemTemplateDirective_Factory(t) { return new (t || ItemTemplateDirective)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵdirectiveInject(i0__namespace.ElementRef), i0__namespace.ɵɵdirectiveInject(i1__namespace.App)
|
|
1655
|
+
static { this.ɵfac = function ItemTemplateDirective_Factory(t) { return new (t || ItemTemplateDirective)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵdirectiveInject(i0__namespace.ElementRef), i0__namespace.ɵɵdirectiveInject(i1__namespace.App)); }; }
|
|
1680
1656
|
static { this.ɵdir = /*@__PURE__*/ i0__namespace.ɵɵdefineDirective({ type: ItemTemplateDirective, selectors: [["", "wmItemTemplate", ""]], inputs: { userComponentParams: "userComponentParams", wmItemTemplate: "wmItemTemplate" }, exportAs: ["itemTemplateRef"], features: [i0__namespace.ɵɵProvidersFeature([
|
|
1681
1657
|
provideAsWidgetRef(ItemTemplateDirective)
|
|
1682
1658
|
]), i0__namespace.ɵɵInheritDefinitionFeature] }); }
|
|
1683
1659
|
}
|
|
1684
|
-
(()
|
|
1660
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(ItemTemplateDirective, [{
|
|
1685
1661
|
type: i0.Directive,
|
|
1686
1662
|
args: [{
|
|
1687
1663
|
selector: '[wmItemTemplate]',
|
|
@@ -1690,12 +1666,7 @@
|
|
|
1690
1666
|
provideAsWidgetRef(ItemTemplateDirective)
|
|
1691
1667
|
]
|
|
1692
1668
|
}]
|
|
1693
|
-
}], ()
|
|
1694
|
-
type: i0.Inject,
|
|
1695
|
-
args: ['EXPLICIT_CONTEXT']
|
|
1696
|
-
}, {
|
|
1697
|
-
type: i0.Optional
|
|
1698
|
-
}] }], { userComponentParams: [{
|
|
1669
|
+
}], function () { return [{ type: i0__namespace.Injector }, { type: i0__namespace.ElementRef }, { type: i1__namespace.App }]; }, { userComponentParams: [{
|
|
1699
1670
|
type: i0.Input
|
|
1700
1671
|
}], wmItemTemplate: [{
|
|
1701
1672
|
type: i0.Input
|
|
@@ -1714,35 +1685,29 @@
|
|
|
1714
1685
|
};
|
|
1715
1686
|
class RepeatTemplateDirective extends StylableComponent {
|
|
1716
1687
|
static { this.initializeProps = registerProps$2(); }
|
|
1717
|
-
constructor(inj
|
|
1718
|
-
super(inj, WIDGET_CONFIG$2
|
|
1688
|
+
constructor(inj) {
|
|
1689
|
+
super(inj, WIDGET_CONFIG$2);
|
|
1719
1690
|
styler(this.nativeElement, this);
|
|
1720
1691
|
}
|
|
1721
|
-
static { this.ɵfac = function RepeatTemplateDirective_Factory(t) { return new (t || RepeatTemplateDirective)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector)
|
|
1692
|
+
static { this.ɵfac = function RepeatTemplateDirective_Factory(t) { return new (t || RepeatTemplateDirective)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector)); }; }
|
|
1722
1693
|
static { this.ɵdir = /*@__PURE__*/ i0__namespace.ɵɵdefineDirective({ type: RepeatTemplateDirective, selectors: [["", "wmRepeatTemplate", ""]], features: [i0__namespace.ɵɵInheritDefinitionFeature] }); }
|
|
1723
1694
|
}
|
|
1724
|
-
(()
|
|
1695
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(RepeatTemplateDirective, [{
|
|
1725
1696
|
type: i0.Directive,
|
|
1726
1697
|
args: [{
|
|
1727
1698
|
selector: '[wmRepeatTemplate]'
|
|
1728
1699
|
}]
|
|
1729
|
-
}], ()
|
|
1730
|
-
type: i0.Inject,
|
|
1731
|
-
args: ['EXPLICIT_CONTEXT']
|
|
1732
|
-
}, {
|
|
1733
|
-
type: i0.Optional
|
|
1734
|
-
}] }], null); })();
|
|
1700
|
+
}], function () { return [{ type: i0__namespace.Injector }]; }, null); })();
|
|
1735
1701
|
|
|
1736
1702
|
class LazyLoadDirective {
|
|
1737
|
-
constructor(inj, templateRef, viewContainer
|
|
1703
|
+
constructor(inj, templateRef, viewContainer) {
|
|
1738
1704
|
this.templateRef = templateRef;
|
|
1739
1705
|
this.viewContainer = viewContainer;
|
|
1740
|
-
this.context = {};
|
|
1741
1706
|
let viewParentApp = inj ? inj.get(i1.App) : i0.inject(i1.App);
|
|
1742
1707
|
let lView = inj._lView;
|
|
1743
1708
|
this.viewParent = i1.findParent(lView, viewParentApp);
|
|
1744
1709
|
//this.context = (inj as any).view.context;
|
|
1745
|
-
|
|
1710
|
+
this.context = inj._lView[8];
|
|
1746
1711
|
}
|
|
1747
1712
|
set lazyLoad(expr) {
|
|
1748
1713
|
this.unSubscribeFn = i1.$watch(expr, this.viewParent, this.context, (val) => {
|
|
@@ -1755,20 +1720,15 @@
|
|
|
1755
1720
|
ngOnDestroy() {
|
|
1756
1721
|
this.unSubscribeFn();
|
|
1757
1722
|
}
|
|
1758
|
-
static { this.ɵfac = function LazyLoadDirective_Factory(t) { return new (t || LazyLoadDirective)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵdirectiveInject(i0__namespace.TemplateRef), i0__namespace.ɵɵdirectiveInject(i0__namespace.ViewContainerRef)
|
|
1723
|
+
static { this.ɵfac = function LazyLoadDirective_Factory(t) { return new (t || LazyLoadDirective)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵdirectiveInject(i0__namespace.TemplateRef), i0__namespace.ɵɵdirectiveInject(i0__namespace.ViewContainerRef)); }; }
|
|
1759
1724
|
static { this.ɵdir = /*@__PURE__*/ i0__namespace.ɵɵdefineDirective({ type: LazyLoadDirective, selectors: [["", "lazyLoad", ""]], inputs: { lazyLoad: "lazyLoad" } }); }
|
|
1760
1725
|
}
|
|
1761
|
-
(()
|
|
1726
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(LazyLoadDirective, [{
|
|
1762
1727
|
type: i0.Directive,
|
|
1763
1728
|
args: [{
|
|
1764
1729
|
selector: '[lazyLoad]'
|
|
1765
1730
|
}]
|
|
1766
|
-
}], ()
|
|
1767
|
-
type: i0.Inject,
|
|
1768
|
-
args: ['EXPLICIT_CONTEXT']
|
|
1769
|
-
}, {
|
|
1770
|
-
type: i0.Optional
|
|
1771
|
-
}] }], { lazyLoad: [{
|
|
1731
|
+
}], function () { return [{ type: i0__namespace.Injector }, { type: i0__namespace.TemplateRef }, { type: i0__namespace.ViewContainerRef }]; }, { lazyLoad: [{
|
|
1772
1732
|
type: i0.Input
|
|
1773
1733
|
}] }); })();
|
|
1774
1734
|
|
|
@@ -1789,8 +1749,8 @@
|
|
|
1789
1749
|
const WIDGET_CONFIG$1 = { widgetType: 'wm-message', hostClass: DEFAULT_CLS$1 };
|
|
1790
1750
|
class MessageComponent extends StylableComponent {
|
|
1791
1751
|
static { this.initializeProps = registerProps$1(); }
|
|
1792
|
-
constructor(inj
|
|
1793
|
-
super(inj, WIDGET_CONFIG$1
|
|
1752
|
+
constructor(inj) {
|
|
1753
|
+
super(inj, WIDGET_CONFIG$1);
|
|
1794
1754
|
this.messageClass = '';
|
|
1795
1755
|
this.messageIconClass = '';
|
|
1796
1756
|
this.type = '';
|
|
@@ -1849,10 +1809,10 @@
|
|
|
1849
1809
|
super.onPropertyChange(key, nv, ov);
|
|
1850
1810
|
}
|
|
1851
1811
|
}
|
|
1852
|
-
static { this.ɵfac = function MessageComponent_Factory(t) { return new (t || MessageComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector)
|
|
1812
|
+
static { this.ɵfac = function MessageComponent_Factory(t) { return new (t || MessageComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector)); }; }
|
|
1853
1813
|
static { this.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: MessageComponent, selectors: [["", "wmMessage", ""]], exportAs: ["wmMessage"], features: [i0__namespace.ɵɵProvidersFeature([
|
|
1854
1814
|
provideAsWidgetRef(MessageComponent)
|
|
1855
|
-
]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c0, decls: 5, vars: 7, consts: [["aria-hidden", "true", 3, "title"], [3, "innerHtml"], ["title", "Close", "type", "button", "aria-label", "Close", 1, "btn-transparent", "close", 3, "
|
|
1815
|
+
]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c0, decls: 5, vars: 7, consts: [["aria-hidden", "true", 3, "title"], [3, "innerHtml"], ["title", "Close", "type", "button", "aria-label", "Close", 1, "btn-transparent", "close", 3, "hidden", "click"], ["aria-hidden", "true"]], template: function MessageComponent_Template(rf, ctx) { if (rf & 1) {
|
|
1856
1816
|
i0__namespace.ɵɵelement(0, "i", 0)(1, "span", 1);
|
|
1857
1817
|
i0__namespace.ɵɵelementStart(2, "button", 2);
|
|
1858
1818
|
i0__namespace.ɵɵlistener("click", function MessageComponent_Template_button_click_2_listener($event) { return ctx.dismiss($event); });
|
|
@@ -1862,24 +1822,18 @@
|
|
|
1862
1822
|
} if (rf & 2) {
|
|
1863
1823
|
i0__namespace.ɵɵclassMapInterpolate2("icon ", ctx.type, " ", ctx.messageIconClass, "");
|
|
1864
1824
|
i0__namespace.ɵɵproperty("title", ctx.type + "Alert");
|
|
1865
|
-
i0__namespace.ɵɵadvance();
|
|
1825
|
+
i0__namespace.ɵɵadvance(1);
|
|
1866
1826
|
i0__namespace.ɵɵproperty("innerHtml", ctx.caption, i0__namespace.ɵɵsanitizeHtml);
|
|
1867
|
-
i0__namespace.ɵɵadvance();
|
|
1827
|
+
i0__namespace.ɵɵadvance(1);
|
|
1868
1828
|
i0__namespace.ɵɵproperty("hidden", ctx.hideclose);
|
|
1869
1829
|
} }, encapsulation: 2 }); }
|
|
1870
1830
|
}
|
|
1871
|
-
(()
|
|
1831
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(MessageComponent, [{
|
|
1872
1832
|
type: i0.Component,
|
|
1873
1833
|
args: [{ selector: '[wmMessage]', providers: [
|
|
1874
1834
|
provideAsWidgetRef(MessageComponent)
|
|
1875
1835
|
], exportAs: 'wmMessage', template: "<i aria-hidden=\"true\" [title]=\"type + 'Alert'\" class=\"icon {{type}} {{messageIconClass}}\"></i>\n<span [innerHtml]=\"caption\"></span>\n<button title=\"Close\" type=\"button\" class=\"btn-transparent close\" [hidden]=\"hideclose\" (click)=\"dismiss($event)\" aria-label=\"Close\">\n <span aria-hidden=\"true\">×</span>\n</button>\n" }]
|
|
1876
|
-
}], ()
|
|
1877
|
-
type: i0.Inject,
|
|
1878
|
-
args: ['EXPLICIT_CONTEXT']
|
|
1879
|
-
}, {
|
|
1880
|
-
type: i0.Optional
|
|
1881
|
-
}] }], null); })();
|
|
1882
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassDebugInfo(MessageComponent, { className: "MessageComponent", filePath: "widgets/common/message/message.component.ts", lineNumber: 22 }); })();
|
|
1836
|
+
}], function () { return [{ type: i0__namespace.Injector }]; }, null); })();
|
|
1883
1837
|
|
|
1884
1838
|
const registerProps = () => {
|
|
1885
1839
|
register$1('wm-partial', new Map([
|
|
@@ -1891,14 +1845,14 @@
|
|
|
1891
1845
|
const WIDGET_CONFIG = { widgetType: 'wm-partial', hostClass: DEFAULT_CLS };
|
|
1892
1846
|
class PartialDirective extends StylableComponent {
|
|
1893
1847
|
static { this.initializeProps = registerProps(); }
|
|
1894
|
-
constructor(inj, viewport
|
|
1895
|
-
super(inj, WIDGET_CONFIG
|
|
1848
|
+
constructor(inj, viewport) {
|
|
1849
|
+
super(inj, WIDGET_CONFIG);
|
|
1896
1850
|
this.viewport = viewport;
|
|
1897
1851
|
this.registerDestroyListener(this.viewport.subscribe("resize" /* ViewportEvent.RESIZE */, data => this.callback('resize', data)));
|
|
1898
1852
|
this.registerDestroyListener(this.viewport.subscribe("orientationchange" /* ViewportEvent.ORIENTATION_CHANGE */, data => this.callback('orientationchange', data)));
|
|
1899
1853
|
}
|
|
1900
1854
|
callback(eventName, locals) {
|
|
1901
|
-
locals =
|
|
1855
|
+
locals = _.assign({ widget: this }, locals);
|
|
1902
1856
|
this.invokeEventCallback(eventName, locals);
|
|
1903
1857
|
}
|
|
1904
1858
|
ngOnAttach() {
|
|
@@ -1911,12 +1865,12 @@
|
|
|
1911
1865
|
this.callback('destroy');
|
|
1912
1866
|
super.ngOnDestroy();
|
|
1913
1867
|
}
|
|
1914
|
-
static { this.ɵfac = function PartialDirective_Factory(t) { return new (t || PartialDirective)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵdirectiveInject(i1__namespace.Viewport)
|
|
1868
|
+
static { this.ɵfac = function PartialDirective_Factory(t) { return new (t || PartialDirective)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵdirectiveInject(i1__namespace.Viewport)); }; }
|
|
1915
1869
|
static { this.ɵdir = /*@__PURE__*/ i0__namespace.ɵɵdefineDirective({ type: PartialDirective, selectors: [["", "wmPartial", ""]], features: [i0__namespace.ɵɵProvidersFeature([
|
|
1916
1870
|
provideAsWidgetRef(PartialDirective)
|
|
1917
1871
|
]), i0__namespace.ɵɵInheritDefinitionFeature] }); }
|
|
1918
1872
|
}
|
|
1919
|
-
(()
|
|
1873
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(PartialDirective, [{
|
|
1920
1874
|
type: i0.Directive,
|
|
1921
1875
|
args: [{
|
|
1922
1876
|
selector: '[wmPartial]',
|
|
@@ -1924,12 +1878,7 @@
|
|
|
1924
1878
|
provideAsWidgetRef(PartialDirective)
|
|
1925
1879
|
]
|
|
1926
1880
|
}]
|
|
1927
|
-
}], ()
|
|
1928
|
-
type: i0.Inject,
|
|
1929
|
-
args: ['EXPLICIT_CONTEXT']
|
|
1930
|
-
}, {
|
|
1931
|
-
type: i0.Optional
|
|
1932
|
-
}] }], null); })();
|
|
1881
|
+
}], function () { return [{ type: i0__namespace.Injector }, { type: i1__namespace.Viewport }]; }, null); })();
|
|
1933
1882
|
|
|
1934
1883
|
class PartialParamHandlerDirective {
|
|
1935
1884
|
constructor(widgetRef) {
|
|
@@ -1943,7 +1892,7 @@
|
|
|
1943
1892
|
if (!value && bindExpr) {
|
|
1944
1893
|
this.widgetRef.registerDestroyListener(
|
|
1945
1894
|
//[Todo-CSP]: expr fn should be generated be default
|
|
1946
|
-
i1.$watch(bindExpr, this.widgetRef.getViewParent(),
|
|
1895
|
+
i1.$watch(bindExpr, this.widgetRef.getViewParent(), _.get(this.widgetRef, 'context'), nv => {
|
|
1947
1896
|
this.widgetRef.partialParams[name] = nv;
|
|
1948
1897
|
// notify the partial container of the param changes
|
|
1949
1898
|
this.widgetRef.params$.next();
|
|
@@ -1956,17 +1905,17 @@
|
|
|
1956
1905
|
static { this.ɵfac = function PartialParamHandlerDirective_Factory(t) { return new (t || PartialParamHandlerDirective)(i0__namespace.ɵɵdirectiveInject(WidgetRef, 2)); }; }
|
|
1957
1906
|
static { this.ɵdir = /*@__PURE__*/ i0__namespace.ɵɵdefineDirective({ type: PartialParamHandlerDirective, selectors: [["", "partialContainer", ""]] }); }
|
|
1958
1907
|
}
|
|
1959
|
-
(()
|
|
1908
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(PartialParamHandlerDirective, [{
|
|
1960
1909
|
type: i0.Directive,
|
|
1961
1910
|
args: [{
|
|
1962
1911
|
selector: '[partialContainer]',
|
|
1963
1912
|
}]
|
|
1964
|
-
}], ()
|
|
1913
|
+
}], function () { return [{ type: undefined, decorators: [{
|
|
1965
1914
|
type: i0.Self
|
|
1966
1915
|
}, {
|
|
1967
1916
|
type: i0.Inject,
|
|
1968
1917
|
args: [WidgetRef]
|
|
1969
|
-
}] }], null); })();
|
|
1918
|
+
}] }]; }, null); })();
|
|
1970
1919
|
class PartialParamDirective {
|
|
1971
1920
|
constructor(bindValue, type, partialParamsProvider) {
|
|
1972
1921
|
this.bindValue = bindValue;
|
|
@@ -1979,18 +1928,18 @@
|
|
|
1979
1928
|
static { this.ɵfac = function PartialParamDirective_Factory(t) { return new (t || PartialParamDirective)(i0__namespace.ɵɵinjectAttribute('value.bind'), i0__namespace.ɵɵinjectAttribute('type'), i0__namespace.ɵɵdirectiveInject(PartialParamHandlerDirective)); }; }
|
|
1980
1929
|
static { this.ɵdir = /*@__PURE__*/ i0__namespace.ɵɵdefineDirective({ type: PartialParamDirective, selectors: [["", "wmParam", ""]], inputs: { name: "name", value: "value" } }); }
|
|
1981
1930
|
}
|
|
1982
|
-
(()
|
|
1931
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(PartialParamDirective, [{
|
|
1983
1932
|
type: i0.Directive,
|
|
1984
1933
|
args: [{
|
|
1985
1934
|
selector: '[wmParam]',
|
|
1986
1935
|
}]
|
|
1987
|
-
}], ()
|
|
1936
|
+
}], function () { return [{ type: undefined, decorators: [{
|
|
1988
1937
|
type: i0.Attribute,
|
|
1989
1938
|
args: ['value.bind']
|
|
1990
1939
|
}] }, { type: undefined, decorators: [{
|
|
1991
1940
|
type: i0.Attribute,
|
|
1992
1941
|
args: ['type']
|
|
1993
|
-
}] }, { type: PartialParamHandlerDirective }], { name: [{
|
|
1942
|
+
}] }, { type: PartialParamHandlerDirective }]; }, { name: [{
|
|
1994
1943
|
type: i0.Input
|
|
1995
1944
|
}], value: [{
|
|
1996
1945
|
type: i0.Input
|
|
@@ -2043,7 +1992,7 @@
|
|
|
2043
1992
|
this.resolver = resolver;
|
|
2044
1993
|
this.partialRefProvider = partialRefProvider;
|
|
2045
1994
|
this.contentInitialized = false;
|
|
2046
|
-
this.renderPartial =
|
|
1995
|
+
this.renderPartial = _.debounce(this._renderPartial, 200);
|
|
2047
1996
|
componentInstance.registerPropertyChangeListener((key, nv, ov) => {
|
|
2048
1997
|
if (key === 'content') {
|
|
2049
1998
|
if (componentInstance.$lazyLoad) {
|
|
@@ -2066,12 +2015,12 @@
|
|
|
2066
2015
|
static { this.ɵfac = function PartialContainerDirective_Factory(t) { return new (t || PartialContainerDirective)(i0__namespace.ɵɵdirectiveInject(WidgetRef, 2), i0__namespace.ɵɵdirectiveInject(i0__namespace.ViewContainerRef), i0__namespace.ɵɵdirectiveInject(i0__namespace.ElementRef), i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵdirectiveInject(i1__namespace.App), i0__namespace.ɵɵinjectAttribute('content'), i0__namespace.ɵɵdirectiveInject(i0__namespace.ComponentFactoryResolver), i0__namespace.ɵɵdirectiveInject(i1__namespace.PartialRefProvider)); }; }
|
|
2067
2016
|
static { this.ɵdir = /*@__PURE__*/ i0__namespace.ɵɵdefineDirective({ type: PartialContainerDirective, selectors: [["", "partialContainer", ""]] }); }
|
|
2068
2017
|
}
|
|
2069
|
-
(()
|
|
2018
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(PartialContainerDirective, [{
|
|
2070
2019
|
type: i0.Directive,
|
|
2071
2020
|
args: [{
|
|
2072
2021
|
selector: '[partialContainer]'
|
|
2073
2022
|
}]
|
|
2074
|
-
}], ()
|
|
2023
|
+
}], function () { return [{ type: undefined, decorators: [{
|
|
2075
2024
|
type: i0.Self
|
|
2076
2025
|
}, {
|
|
2077
2026
|
type: i0.Inject,
|
|
@@ -2079,14 +2028,16 @@
|
|
|
2079
2028
|
}] }, { type: i0__namespace.ViewContainerRef }, { type: i0__namespace.ElementRef }, { type: i0__namespace.Injector }, { type: i1__namespace.App }, { type: undefined, decorators: [{
|
|
2080
2029
|
type: i0.Attribute,
|
|
2081
2030
|
args: ['content']
|
|
2082
|
-
}] }, { type: i0__namespace.ComponentFactoryResolver }, { type: i1__namespace.PartialRefProvider }], null); })();
|
|
2031
|
+
}] }, { type: i0__namespace.ComponentFactoryResolver }, { type: i1__namespace.PartialRefProvider }]; }, null); })();
|
|
2083
2032
|
|
|
2084
2033
|
class ShowInDeviceDirective {
|
|
2085
|
-
constructor(viewContainerRef, inj, templateRef
|
|
2034
|
+
constructor(elRef, widget, viewContainerRef, inj, templateRef) {
|
|
2035
|
+
this.elRef = elRef;
|
|
2036
|
+
this.widget = widget;
|
|
2086
2037
|
this.viewContainerRef = viewContainerRef;
|
|
2087
2038
|
this.templateRef = templateRef;
|
|
2088
|
-
this.context =
|
|
2089
|
-
|
|
2039
|
+
//this.context = (inj as any).view.context;
|
|
2040
|
+
this.context = inj._lView[8];
|
|
2090
2041
|
window.addEventListener('resize', this.onResize.bind(this));
|
|
2091
2042
|
}
|
|
2092
2043
|
set wmShowInDevice(devices) {
|
|
@@ -2131,20 +2082,18 @@
|
|
|
2131
2082
|
ngOnDestroy() {
|
|
2132
2083
|
window.removeEventListener('resize', this.onResize);
|
|
2133
2084
|
}
|
|
2134
|
-
static { this.ɵfac = function ShowInDeviceDirective_Factory(t) { return new (t || ShowInDeviceDirective)(i0__namespace.ɵɵdirectiveInject(i0__namespace.
|
|
2085
|
+
static { this.ɵfac = function ShowInDeviceDirective_Factory(t) { return new (t || ShowInDeviceDirective)(i0__namespace.ɵɵdirectiveInject(i0__namespace.ElementRef), i0__namespace.ɵɵdirectiveInject(WidgetRef), i0__namespace.ɵɵdirectiveInject(i0__namespace.ViewContainerRef), i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵdirectiveInject(i0__namespace.TemplateRef)); }; }
|
|
2135
2086
|
static { this.ɵdir = /*@__PURE__*/ i0__namespace.ɵɵdefineDirective({ type: ShowInDeviceDirective, selectors: [["", "wmShowInDevice", ""]], inputs: { wmShowInDevice: "wmShowInDevice" } }); }
|
|
2136
2087
|
}
|
|
2137
|
-
(()
|
|
2088
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(ShowInDeviceDirective, [{
|
|
2138
2089
|
type: i0.Directive,
|
|
2139
2090
|
args: [{
|
|
2140
2091
|
selector: '[wmShowInDevice]'
|
|
2141
2092
|
}]
|
|
2142
|
-
}], ()
|
|
2093
|
+
}], function () { return [{ type: i0__namespace.ElementRef }, { type: BaseComponent, decorators: [{
|
|
2143
2094
|
type: i0.Inject,
|
|
2144
|
-
args: [
|
|
2145
|
-
}, {
|
|
2146
|
-
type: i0.Optional
|
|
2147
|
-
}] }], { wmShowInDevice: [{
|
|
2095
|
+
args: [WidgetRef]
|
|
2096
|
+
}] }, { type: i0__namespace.ViewContainerRef }, { type: i0__namespace.Injector }, { type: i0__namespace.TemplateRef }]; }, { wmShowInDevice: [{
|
|
2148
2097
|
type: i0.Input
|
|
2149
2098
|
}] }); })();
|
|
2150
2099
|
|
|
@@ -2204,9 +2153,9 @@
|
|
|
2204
2153
|
preventDefault: false,
|
|
2205
2154
|
momentum: true,
|
|
2206
2155
|
bounce: false,
|
|
2207
|
-
mouseWheel: true,
|
|
2208
|
-
disablePointer: true,
|
|
2209
|
-
disableTouch: false,
|
|
2156
|
+
mouseWheel: true,
|
|
2157
|
+
disablePointer: true,
|
|
2158
|
+
disableTouch: false,
|
|
2210
2159
|
disableMouse: false // false to be usable with a mouse (desktop)
|
|
2211
2160
|
}, el = this._$el[0];
|
|
2212
2161
|
if (!el.children.length) {
|
|
@@ -2234,8 +2183,8 @@
|
|
|
2234
2183
|
let iScroll = new IScroll(el, scrollOptions);
|
|
2235
2184
|
if ($events) {
|
|
2236
2185
|
// map all events on previous iscroll to the newly created iscroll.
|
|
2237
|
-
|
|
2238
|
-
|
|
2186
|
+
_.forEach($events, (listeners, key) => {
|
|
2187
|
+
_.forEach(listeners, l => {
|
|
2239
2188
|
iScroll.on(key, l);
|
|
2240
2189
|
});
|
|
2241
2190
|
});
|
|
@@ -2264,7 +2213,7 @@
|
|
|
2264
2213
|
}
|
|
2265
2214
|
};
|
|
2266
2215
|
this._$el[0].iscroll = iScroll;
|
|
2267
|
-
|
|
2216
|
+
_.forEach(this.pendingIscrolls, (_el, index) => {
|
|
2268
2217
|
if (_el.isSameNode(this._$el[0])) {
|
|
2269
2218
|
this.app.notify('iscroll-update', { el: _el });
|
|
2270
2219
|
this.pendingIscrolls.splice(index, 1);
|
|
@@ -2302,7 +2251,7 @@
|
|
|
2302
2251
|
}
|
|
2303
2252
|
// Check for scrollable content and if smoothscroll-container div is already added.
|
|
2304
2253
|
if (iScroll.wrapper
|
|
2305
|
-
&& !
|
|
2254
|
+
&& !_.includes(iScroll.wrapper.children[0].classList, 'smoothscroll-container')
|
|
2306
2255
|
&& iScroll.wrapper.scrollHeight > iScroll.wrapper.clientHeight) {
|
|
2307
2256
|
const cloneEvents = iScroll._events;
|
|
2308
2257
|
const prevActiveEl = document.activeElement;
|
|
@@ -2324,12 +2273,12 @@
|
|
|
2324
2273
|
static { this.ɵfac = function SmoothScrollDirective_Factory(t) { return new (t || SmoothScrollDirective)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵdirectiveInject(i0__namespace.ElementRef), i0__namespace.ɵɵdirectiveInject(i1__namespace.App)); }; }
|
|
2325
2274
|
static { this.ɵdir = /*@__PURE__*/ i0__namespace.ɵɵdefineDirective({ type: SmoothScrollDirective, selectors: [["", "wmSmoothscroll", ""]], inputs: { wmSmoothscroll: "wmSmoothscroll" } }); }
|
|
2326
2275
|
}
|
|
2327
|
-
(()
|
|
2276
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(SmoothScrollDirective, [{
|
|
2328
2277
|
type: i0.Directive,
|
|
2329
2278
|
args: [{
|
|
2330
2279
|
selector: '[wmSmoothscroll]'
|
|
2331
2280
|
}]
|
|
2332
|
-
}], ()
|
|
2281
|
+
}], function () { return [{ type: i0__namespace.Injector }, { type: i0__namespace.ElementRef }, { type: i1__namespace.App }]; }, { wmSmoothscroll: [{
|
|
2333
2282
|
type: i0.Input
|
|
2334
2283
|
}] }); })();
|
|
2335
2284
|
/**
|
|
@@ -2378,12 +2327,12 @@
|
|
|
2378
2327
|
static { this.ɵfac = function TextContentDirective_Factory(t) { return new (t || TextContentDirective)(i0__namespace.ɵɵdirectiveInject(i0__namespace.ElementRef)); }; }
|
|
2379
2328
|
static { this.ɵdir = /*@__PURE__*/ i0__namespace.ɵɵdefineDirective({ type: TextContentDirective, selectors: [["", "textContent", ""]], inputs: { textContent: "textContent" } }); }
|
|
2380
2329
|
}
|
|
2381
|
-
(()
|
|
2330
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(TextContentDirective, [{
|
|
2382
2331
|
type: i0.Directive,
|
|
2383
2332
|
args: [{
|
|
2384
2333
|
selector: '[textContent]'
|
|
2385
2334
|
}]
|
|
2386
|
-
}], ()
|
|
2335
|
+
}], function () { return [{ type: i0__namespace.ElementRef }]; }, { textContent: [{
|
|
2387
2336
|
type: i0.Input
|
|
2388
2337
|
}] }); })();
|
|
2389
2338
|
|
|
@@ -2392,7 +2341,7 @@
|
|
|
2392
2341
|
this.pipeName = pipeName;
|
|
2393
2342
|
this.customPipeManager = customPipeManager;
|
|
2394
2343
|
this.pipeRef = this.customPipeManager ? this.customPipeManager.getCustomPipe(pipeName) : null;
|
|
2395
|
-
this.isCustomPipe = this.pipeRef &&
|
|
2344
|
+
this.isCustomPipe = this.pipeRef && _.isFunction(this.pipeRef.formatter);
|
|
2396
2345
|
}
|
|
2397
2346
|
customFormatter(data, args) {
|
|
2398
2347
|
try {
|
|
@@ -2407,7 +2356,7 @@
|
|
|
2407
2356
|
const getEpochValue = data => {
|
|
2408
2357
|
let epoch;
|
|
2409
2358
|
// For data in form of string number ('123'), convert to number (123). And don't parse date objects.
|
|
2410
|
-
if (!
|
|
2359
|
+
if (!_.isDate(data) && !isNaN(data)) {
|
|
2411
2360
|
data = parseInt(data, 10);
|
|
2412
2361
|
}
|
|
2413
2362
|
// get the timestamp value. If data is time string, append date string to the time value
|
|
@@ -2426,12 +2375,12 @@
|
|
|
2426
2375
|
static { this.ɵfac = function TrailingZeroDecimalPipe_Factory(t) { return new (t || TrailingZeroDecimalPipe)(i0__namespace.ɵɵdirectiveInject(i1$1__namespace.DecimalPipe, 16)); }; }
|
|
2427
2376
|
static { this.ɵpipe = /*@__PURE__*/ i0__namespace.ɵɵdefinePipe({ name: "trailingZeroDecimalPipe", type: TrailingZeroDecimalPipe, pure: true }); }
|
|
2428
2377
|
}
|
|
2429
|
-
(()
|
|
2378
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(TrailingZeroDecimalPipe, [{
|
|
2430
2379
|
type: i0.Pipe,
|
|
2431
2380
|
args: [{
|
|
2432
2381
|
name: 'trailingZeroDecimalPipe'
|
|
2433
2382
|
}]
|
|
2434
|
-
}], ()
|
|
2383
|
+
}], function () { return [{ type: i1$1__namespace.DecimalPipe }]; }, null); })();
|
|
2435
2384
|
class ToDatePipe extends WmPipe {
|
|
2436
2385
|
// This method calls the custom formatter fn after applying the exisitng date pattern
|
|
2437
2386
|
returnFn(data, args) {
|
|
@@ -2481,18 +2430,18 @@
|
|
|
2481
2430
|
static { this.ɵfac = function ToDatePipe_Factory(t) { return new (t || ToDatePipe)(i0__namespace.ɵɵdirectiveInject(i1$1__namespace.DatePipe, 16), i0__namespace.ɵɵdirectiveInject(i1__namespace.AbstractI18nService, 16), i0__namespace.ɵɵdirectiveInject(i1__namespace.CustomPipeManager, 16)); }; }
|
|
2482
2431
|
static { this.ɵpipe = /*@__PURE__*/ i0__namespace.ɵɵdefinePipe({ name: "toDate", type: ToDatePipe, pure: true }); }
|
|
2483
2432
|
}
|
|
2484
|
-
(()
|
|
2433
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(ToDatePipe, [{
|
|
2485
2434
|
type: i0.Pipe,
|
|
2486
2435
|
args: [{
|
|
2487
2436
|
name: 'toDate'
|
|
2488
2437
|
}]
|
|
2489
|
-
}], ()
|
|
2438
|
+
}], function () { return [{ type: i1$1__namespace.DatePipe }, { type: i1__namespace.AbstractI18nService }, { type: i1__namespace.CustomPipeManager }]; }, null); })();
|
|
2490
2439
|
class ToNumberPipe {
|
|
2491
2440
|
transform(data, fracSize) {
|
|
2492
2441
|
if (fracSize && !String(fracSize).match(/^(\d+)?\.((\d+)(-(\d+))?)?$/)) {
|
|
2493
2442
|
fracSize = '1.' + fracSize + '-' + fracSize;
|
|
2494
2443
|
}
|
|
2495
|
-
if (!isNaN(+data)) {
|
|
2444
|
+
if (!_.isNaN(+data)) {
|
|
2496
2445
|
const locale = this.i18nService && this.i18nService.getwidgetLocale() ? this.i18nService.getwidgetLocale() : undefined;
|
|
2497
2446
|
const formattedLocale = locale ? locale['number'] : null;
|
|
2498
2447
|
return this.decimalPipe.transform(data, fracSize, formattedLocale);
|
|
@@ -2505,20 +2454,20 @@
|
|
|
2505
2454
|
static { this.ɵfac = function ToNumberPipe_Factory(t) { return new (t || ToNumberPipe)(i0__namespace.ɵɵdirectiveInject(i1$1__namespace.DecimalPipe, 16), i0__namespace.ɵɵdirectiveInject(i1.AbstractI18nService, 16)); }; }
|
|
2506
2455
|
static { this.ɵpipe = /*@__PURE__*/ i0__namespace.ɵɵdefinePipe({ name: "toNumber", type: ToNumberPipe, pure: true }); }
|
|
2507
2456
|
}
|
|
2508
|
-
(()
|
|
2457
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(ToNumberPipe, [{
|
|
2509
2458
|
type: i0.Pipe,
|
|
2510
2459
|
args: [{
|
|
2511
2460
|
name: 'toNumber'
|
|
2512
2461
|
}]
|
|
2513
|
-
}], ()
|
|
2462
|
+
}], function () { return [{ type: i1$1__namespace.DecimalPipe }, { type: i1__namespace.AbstractI18nService, decorators: [{
|
|
2514
2463
|
type: i0.Inject,
|
|
2515
2464
|
args: [i1.AbstractI18nService]
|
|
2516
|
-
}] }], null); })();
|
|
2465
|
+
}] }]; }, null); })();
|
|
2517
2466
|
class ToCurrencyPipe {
|
|
2518
2467
|
transform(data, currencySymbol, fracSize) {
|
|
2519
2468
|
const _currencySymbol = (i1.CURRENCY_INFO[currencySymbol] || {}).symbol || currencySymbol || '';
|
|
2520
2469
|
let _val = new ToNumberPipe(this.decimalPipe, this.i18nService).transform(data, fracSize);
|
|
2521
|
-
const isNegativeNumber =
|
|
2470
|
+
const isNegativeNumber = _.startsWith(_val, '-');
|
|
2522
2471
|
if (isNegativeNumber) {
|
|
2523
2472
|
_val = _val.replace('-', '');
|
|
2524
2473
|
}
|
|
@@ -2531,23 +2480,23 @@
|
|
|
2531
2480
|
static { this.ɵfac = function ToCurrencyPipe_Factory(t) { return new (t || ToCurrencyPipe)(i0__namespace.ɵɵdirectiveInject(i1$1__namespace.DecimalPipe, 16), i0__namespace.ɵɵdirectiveInject(i1.AbstractI18nService, 16)); }; }
|
|
2532
2481
|
static { this.ɵpipe = /*@__PURE__*/ i0__namespace.ɵɵdefinePipe({ name: "toCurrency", type: ToCurrencyPipe, pure: true }); }
|
|
2533
2482
|
}
|
|
2534
|
-
(()
|
|
2483
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(ToCurrencyPipe, [{
|
|
2535
2484
|
type: i0.Pipe,
|
|
2536
2485
|
args: [{
|
|
2537
2486
|
name: 'toCurrency'
|
|
2538
2487
|
}]
|
|
2539
|
-
}], ()
|
|
2488
|
+
}], function () { return [{ type: i1$1__namespace.DecimalPipe }, { type: i1__namespace.AbstractI18nService, decorators: [{
|
|
2540
2489
|
type: i0.Inject,
|
|
2541
2490
|
args: [i1.AbstractI18nService]
|
|
2542
|
-
}] }], null); })();
|
|
2491
|
+
}] }]; }, null); })();
|
|
2543
2492
|
class PrefixPipe {
|
|
2544
2493
|
transform(data, padding) {
|
|
2545
|
-
return (
|
|
2494
|
+
return (_.isUndefined(data) || data === null || data === '') ? data : ((padding || '') + data);
|
|
2546
2495
|
}
|
|
2547
2496
|
static { this.ɵfac = function PrefixPipe_Factory(t) { return new (t || PrefixPipe)(); }; }
|
|
2548
2497
|
static { this.ɵpipe = /*@__PURE__*/ i0__namespace.ɵɵdefinePipe({ name: "prefix", type: PrefixPipe, pure: true }); }
|
|
2549
2498
|
}
|
|
2550
|
-
(()
|
|
2499
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(PrefixPipe, [{
|
|
2551
2500
|
type: i0.Pipe,
|
|
2552
2501
|
args: [{
|
|
2553
2502
|
name: 'prefix'
|
|
@@ -2555,12 +2504,12 @@
|
|
|
2555
2504
|
}], null, null); })();
|
|
2556
2505
|
class SuffixPipe {
|
|
2557
2506
|
transform(data, padding) {
|
|
2558
|
-
return (
|
|
2507
|
+
return (_.isUndefined(data) || data === null || data === '') ? data : (data + (padding || ''));
|
|
2559
2508
|
}
|
|
2560
2509
|
static { this.ɵfac = function SuffixPipe_Factory(t) { return new (t || SuffixPipe)(); }; }
|
|
2561
2510
|
static { this.ɵpipe = /*@__PURE__*/ i0__namespace.ɵɵdefinePipe({ name: "suffix", type: SuffixPipe, pure: true }); }
|
|
2562
2511
|
}
|
|
2563
|
-
(()
|
|
2512
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(SuffixPipe, [{
|
|
2564
2513
|
type: i0.Pipe,
|
|
2565
2514
|
args: [{
|
|
2566
2515
|
name: 'suffix'
|
|
@@ -2579,7 +2528,7 @@
|
|
|
2579
2528
|
argumentArr.push(arguments[i]);
|
|
2580
2529
|
}
|
|
2581
2530
|
let pipeRef = this.custmeUserPipe.getCustomPipe(pipename);
|
|
2582
|
-
if (!pipeRef || !
|
|
2531
|
+
if (!pipeRef || !_.isFunction(pipeRef.formatter)) {
|
|
2583
2532
|
console.warn('formatter is not defined, please check the custom pipes documentation');
|
|
2584
2533
|
return data;
|
|
2585
2534
|
}
|
|
@@ -2594,12 +2543,12 @@
|
|
|
2594
2543
|
static { this.ɵfac = function CustomPipe_Factory(t) { return new (t || CustomPipe)(i0__namespace.ɵɵdirectiveInject(i1__namespace.CustomPipeManager, 16)); }; }
|
|
2595
2544
|
static { this.ɵpipe = /*@__PURE__*/ i0__namespace.ɵɵdefinePipe({ name: "custom", type: CustomPipe, pure: true }); }
|
|
2596
2545
|
}
|
|
2597
|
-
(()
|
|
2546
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(CustomPipe, [{
|
|
2598
2547
|
type: i0.Pipe,
|
|
2599
2548
|
args: [{
|
|
2600
2549
|
name: 'custom'
|
|
2601
2550
|
}]
|
|
2602
|
-
}], ()
|
|
2551
|
+
}], function () { return [{ type: i1__namespace.CustomPipeManager }]; }, null); })();
|
|
2603
2552
|
class TimeFromNowPipe {
|
|
2604
2553
|
transform(data) {
|
|
2605
2554
|
let timestamp;
|
|
@@ -2612,17 +2561,17 @@
|
|
|
2612
2561
|
static { this.ɵfac = function TimeFromNowPipe_Factory(t) { return new (t || TimeFromNowPipe)(); }; }
|
|
2613
2562
|
static { this.ɵpipe = /*@__PURE__*/ i0__namespace.ɵɵdefinePipe({ name: "timeFromNow", type: TimeFromNowPipe, pure: true }); }
|
|
2614
2563
|
}
|
|
2615
|
-
(()
|
|
2564
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(TimeFromNowPipe, [{
|
|
2616
2565
|
type: i0.Pipe,
|
|
2617
2566
|
args: [{
|
|
2618
2567
|
name: 'timeFromNow'
|
|
2619
2568
|
}]
|
|
2620
2569
|
}], null, null); })();
|
|
2621
2570
|
class NumberToStringPipe extends ToNumberPipe {
|
|
2622
|
-
static { this.ɵfac = /*@__PURE__*/ (
|
|
2571
|
+
static { this.ɵfac = /*@__PURE__*/ function () { let ɵNumberToStringPipe_BaseFactory; return function NumberToStringPipe_Factory(t) { return (ɵNumberToStringPipe_BaseFactory || (ɵNumberToStringPipe_BaseFactory = i0__namespace.ɵɵgetInheritedFactory(NumberToStringPipe)))(t || NumberToStringPipe); }; }(); }
|
|
2623
2572
|
static { this.ɵpipe = /*@__PURE__*/ i0__namespace.ɵɵdefinePipe({ name: "numberToString", type: NumberToStringPipe, pure: true }); }
|
|
2624
2573
|
}
|
|
2625
|
-
(()
|
|
2574
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(NumberToStringPipe, [{
|
|
2626
2575
|
type: i0.Pipe,
|
|
2627
2576
|
args: [{
|
|
2628
2577
|
name: 'numberToString'
|
|
@@ -2635,7 +2584,7 @@
|
|
|
2635
2584
|
static { this.ɵfac = function StringToNumberPipe_Factory(t) { return new (t || StringToNumberPipe)(); }; }
|
|
2636
2585
|
static { this.ɵpipe = /*@__PURE__*/ i0__namespace.ɵɵdefinePipe({ name: "stringToNumber", type: StringToNumberPipe, pure: true }); }
|
|
2637
2586
|
}
|
|
2638
|
-
(()
|
|
2587
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(StringToNumberPipe, [{
|
|
2639
2588
|
type: i0.Pipe,
|
|
2640
2589
|
args: [{
|
|
2641
2590
|
name: 'stringToNumber'
|
|
@@ -2647,18 +2596,18 @@
|
|
|
2647
2596
|
return [];
|
|
2648
2597
|
}
|
|
2649
2598
|
// If object is passed as first paramter
|
|
2650
|
-
if (
|
|
2651
|
-
return
|
|
2599
|
+
if (_.isObject(field)) {
|
|
2600
|
+
return _.filter(data, field);
|
|
2652
2601
|
}
|
|
2653
2602
|
// If key value pair is provided
|
|
2654
|
-
return
|
|
2655
|
-
return
|
|
2603
|
+
return _.filter(data, item => {
|
|
2604
|
+
return _.includes(item[field], value);
|
|
2656
2605
|
});
|
|
2657
2606
|
}
|
|
2658
2607
|
static { this.ɵfac = function FilterPipe_Factory(t) { return new (t || FilterPipe)(); }; }
|
|
2659
2608
|
static { this.ɵpipe = /*@__PURE__*/ i0__namespace.ɵɵdefinePipe({ name: "filter", type: FilterPipe, pure: true }); }
|
|
2660
2609
|
}
|
|
2661
|
-
(()
|
|
2610
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(FilterPipe, [{
|
|
2662
2611
|
type: i0.Pipe,
|
|
2663
2612
|
args: [{
|
|
2664
2613
|
name: 'filter'
|
|
@@ -2688,7 +2637,7 @@
|
|
|
2688
2637
|
static { this.ɵfac = function FileSizePipe_Factory(t) { return new (t || FileSizePipe)(); }; }
|
|
2689
2638
|
static { this.ɵpipe = /*@__PURE__*/ i0__namespace.ɵɵdefinePipe({ name: "filesize", type: FileSizePipe, pure: true }); }
|
|
2690
2639
|
}
|
|
2691
|
-
(()
|
|
2640
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(FileSizePipe, [{
|
|
2692
2641
|
type: i0.Pipe,
|
|
2693
2642
|
args: [{
|
|
2694
2643
|
name: 'filesize'
|
|
@@ -2729,7 +2678,7 @@
|
|
|
2729
2678
|
static { this.ɵfac = function FileIconClassPipe_Factory(t) { return new (t || FileIconClassPipe)(); }; }
|
|
2730
2679
|
static { this.ɵpipe = /*@__PURE__*/ i0__namespace.ɵɵdefinePipe({ name: "fileIconClass", type: FileIconClassPipe, pure: true }); }
|
|
2731
2680
|
}
|
|
2732
|
-
(()
|
|
2681
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(FileIconClassPipe, [{
|
|
2733
2682
|
type: i0.Pipe,
|
|
2734
2683
|
args: [{
|
|
2735
2684
|
name: 'fileIconClass'
|
|
@@ -2746,7 +2695,7 @@
|
|
|
2746
2695
|
static { this.ɵfac = function StateClassPipe_Factory(t) { return new (t || StateClassPipe)(); }; }
|
|
2747
2696
|
static { this.ɵpipe = /*@__PURE__*/ i0__namespace.ɵɵdefinePipe({ name: "stateClass", type: StateClassPipe, pure: true }); }
|
|
2748
2697
|
}
|
|
2749
|
-
(()
|
|
2698
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(StateClassPipe, [{
|
|
2750
2699
|
type: i0.Pipe,
|
|
2751
2700
|
args: [{
|
|
2752
2701
|
name: 'stateClass'
|
|
@@ -2829,7 +2778,7 @@
|
|
|
2829
2778
|
static { this.ɵfac = function FileExtensionFromMimePipe_Factory(t) { return new (t || FileExtensionFromMimePipe)(); }; }
|
|
2830
2779
|
static { this.ɵpipe = /*@__PURE__*/ i0__namespace.ɵɵdefinePipe({ name: "fileExtensionFromMime", type: FileExtensionFromMimePipe, pure: true }); }
|
|
2831
2780
|
}
|
|
2832
|
-
(()
|
|
2781
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(FileExtensionFromMimePipe, [{
|
|
2833
2782
|
type: i0.Pipe,
|
|
2834
2783
|
args: [{
|
|
2835
2784
|
name: 'fileExtensionFromMime'
|
|
@@ -2865,12 +2814,12 @@
|
|
|
2865
2814
|
static { this.ɵfac = function TrustAsPipe_Factory(t) { return new (t || TrustAsPipe)(i0__namespace.ɵɵdirectiveInject(i1$2__namespace.DomSanitizer, 16)); }; }
|
|
2866
2815
|
static { this.ɵpipe = /*@__PURE__*/ i0__namespace.ɵɵdefinePipe({ name: "trustAs", type: TrustAsPipe, pure: true }); }
|
|
2867
2816
|
}
|
|
2868
|
-
(()
|
|
2817
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(TrustAsPipe, [{
|
|
2869
2818
|
type: i0.Pipe,
|
|
2870
2819
|
args: [{
|
|
2871
2820
|
name: 'trustAs'
|
|
2872
2821
|
}]
|
|
2873
|
-
}], ()
|
|
2822
|
+
}], function () { return [{ type: i1$2__namespace.DomSanitizer }]; }, null); })();
|
|
2874
2823
|
|
|
2875
2824
|
const openedDialogs = [];
|
|
2876
2825
|
/*We need closedDialogs array because onHidden event is asynchronous,
|
|
@@ -2985,7 +2934,7 @@
|
|
|
2985
2934
|
* closes all the opened dialogs
|
|
2986
2935
|
*/
|
|
2987
2936
|
closeAllDialogs() {
|
|
2988
|
-
|
|
2937
|
+
_.forEach(openedDialogs.reverse(), (dialog) => {
|
|
2989
2938
|
dialog.close();
|
|
2990
2939
|
});
|
|
2991
2940
|
}
|
|
@@ -3034,9 +2983,9 @@
|
|
|
3034
2983
|
static { this.ɵfac = function DialogServiceImpl_Factory(t) { return new (t || DialogServiceImpl)(); }; }
|
|
3035
2984
|
static { this.ɵprov = /*@__PURE__*/ i0__namespace.ɵɵdefineInjectable({ token: DialogServiceImpl, factory: DialogServiceImpl.ɵfac }); }
|
|
3036
2985
|
}
|
|
3037
|
-
(()
|
|
2986
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(DialogServiceImpl, [{
|
|
3038
2987
|
type: i0.Injectable
|
|
3039
|
-
}], ()
|
|
2988
|
+
}], function () { return []; }, null); })();
|
|
3040
2989
|
|
|
3041
2990
|
class SanitizePipe {
|
|
3042
2991
|
constructor(domSanitizer) {
|
|
@@ -3070,12 +3019,12 @@
|
|
|
3070
3019
|
static { this.ɵfac = function SanitizePipe_Factory(t) { return new (t || SanitizePipe)(i0__namespace.ɵɵdirectiveInject(i1$2__namespace.DomSanitizer, 16)); }; }
|
|
3071
3020
|
static { this.ɵpipe = /*@__PURE__*/ i0__namespace.ɵɵdefinePipe({ name: "sanitize", type: SanitizePipe, pure: true }); }
|
|
3072
3021
|
}
|
|
3073
|
-
(()
|
|
3022
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(SanitizePipe, [{
|
|
3074
3023
|
type: i0.Pipe,
|
|
3075
3024
|
args: [{
|
|
3076
3025
|
name: 'sanitize'
|
|
3077
3026
|
}]
|
|
3078
|
-
}], ()
|
|
3027
|
+
}], function () { return [{ type: i1$2__namespace.DomSanitizer }]; }, null); })();
|
|
3079
3028
|
|
|
3080
3029
|
const wmComponents = [
|
|
3081
3030
|
ContainerDirective,
|
|
@@ -3134,7 +3083,7 @@
|
|
|
3134
3083
|
static { this.ɵinj = /*@__PURE__*/ i0__namespace.ɵɵdefineInjector({ imports: [i1$1.CommonModule,
|
|
3135
3084
|
security.SecurityModule] }); }
|
|
3136
3085
|
}
|
|
3137
|
-
(()
|
|
3086
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(WmComponentsModule, [{
|
|
3138
3087
|
type: i0.NgModule,
|
|
3139
3088
|
args: [{
|
|
3140
3089
|
imports: [
|
|
@@ -3226,7 +3175,7 @@
|
|
|
3226
3175
|
};
|
|
3227
3176
|
// Returns true if widget is autocomplete or chips
|
|
3228
3177
|
function isSearchWidgetType(widget) {
|
|
3229
|
-
return
|
|
3178
|
+
return _.includes([i1.FormWidgetType.AUTOCOMPLETE, i1.FormWidgetType.TYPEAHEAD, i1.FormWidgetType.CHIPS], widget);
|
|
3230
3179
|
}
|
|
3231
3180
|
function onSuccess(response, res, rej) {
|
|
3232
3181
|
if (response.error) {
|
|
@@ -3315,7 +3264,7 @@
|
|
|
3315
3264
|
}
|
|
3316
3265
|
primaryKeys = dataSource.execute(i1.DataSource.Operation.GET_RELATED_PRIMARY_KEYS, relatedField);
|
|
3317
3266
|
formField.datafield = datafield;
|
|
3318
|
-
formField._primaryKey =
|
|
3267
|
+
formField._primaryKey = _.isEmpty(primaryKeys) ? undefined : primaryKeys[0];
|
|
3319
3268
|
formField.compareby = primaryKeys && primaryKeys.join(',');
|
|
3320
3269
|
displayField = datafield === ALLFIELDS ? undefined : datafield;
|
|
3321
3270
|
formField.displayfield = displayField = (formField.displayfield || displayField || formField._primaryKey);
|
|
@@ -3334,12 +3283,12 @@
|
|
|
3334
3283
|
dataSource.execute(i1.DataSource.Operation.GET_RELATED_TABLE_DATA, {
|
|
3335
3284
|
relatedField,
|
|
3336
3285
|
pagesize: formField.limit,
|
|
3337
|
-
orderBy: formField.orderby ?
|
|
3286
|
+
orderBy: formField.orderby ? _.replace(formField.orderby, /:/g, ' ') : '',
|
|
3338
3287
|
filterFields: {},
|
|
3339
3288
|
filterExpr: formField.filterexpressions ? formField.filterexpressions : {}
|
|
3340
3289
|
}).then(response => {
|
|
3341
3290
|
formField.dataset = response.data;
|
|
3342
|
-
formField.displayfield = formField.displayfield ||
|
|
3291
|
+
formField.displayfield = formField.displayfield || _.head(_.keys(_.get(response, '[0]')));
|
|
3343
3292
|
if (formField.showPendingSpinner) {
|
|
3344
3293
|
formField.showPendingSpinner = false;
|
|
3345
3294
|
}
|
|
@@ -3355,7 +3304,7 @@
|
|
|
3355
3304
|
*/
|
|
3356
3305
|
const interpolateBindExpressions = (context, filterexpressions, callbackFn) => {
|
|
3357
3306
|
const debouncedFn = i1.debounce(() => {
|
|
3358
|
-
if (
|
|
3307
|
+
if (_.isFunction(callbackFn)) {
|
|
3359
3308
|
callbackFn(filterexpressions);
|
|
3360
3309
|
}
|
|
3361
3310
|
}, 300);
|
|
@@ -3364,8 +3313,8 @@
|
|
|
3364
3313
|
* without this it will never be called. processFilterExpBindNode will be called only for the binded variable expressions.
|
|
3365
3314
|
*/
|
|
3366
3315
|
debouncedFn();
|
|
3367
|
-
const filterExpressions = filterexpressions ? (
|
|
3368
|
-
const destroyFn = context.registerDestroyListener ? context.registerDestroyListener.bind(context) : noop;
|
|
3316
|
+
const filterExpressions = filterexpressions ? (_.isObject(filterexpressions) ? filterexpressions : JSON.parse(filterexpressions)) : {};
|
|
3317
|
+
const destroyFn = context.registerDestroyListener ? context.registerDestroyListener.bind(context) : _.noop;
|
|
3369
3318
|
const filterSubscription = i1.processFilterExpBindNode(context, filterExpressions).subscribe((response) => {
|
|
3370
3319
|
filterexpressions = JSON.stringify(response.filterExpressions);
|
|
3371
3320
|
debouncedFn();
|
|
@@ -3393,7 +3342,7 @@
|
|
|
3393
3342
|
fieldColumn = formField['lookup-field'];
|
|
3394
3343
|
props.distinctField = fieldColumn;
|
|
3395
3344
|
props.aliasColumn = fieldColumn.replace('.', '$'); // For related fields, In response . is replaced by $
|
|
3396
|
-
props.filterExpr = formField.filterexpressions ? (
|
|
3345
|
+
props.filterExpr = formField.filterexpressions ? (_.isObject(formField.filterexpressions) ? formField.filterexpressions : JSON.parse(formField.filterexpressions)) : {};
|
|
3397
3346
|
}
|
|
3398
3347
|
else {
|
|
3399
3348
|
props.tableName = dataSource.execute(i1.DataSource.Operation.GET_ENTITY_NAME);
|
|
@@ -3466,14 +3415,14 @@
|
|
|
3466
3415
|
const emptySupportWidgets = [i1.FormWidgetType.SELECT, i1.FormWidgetType.RADIOSET];
|
|
3467
3416
|
const emptyOption = {};
|
|
3468
3417
|
const dataSet = [];
|
|
3469
|
-
if (options.isEnableEmptyFilter &&
|
|
3418
|
+
if (options.isEnableEmptyFilter && _.includes(emptySupportWidgets, formField[options.widget]) &&
|
|
3470
3419
|
!formField['is-range'] && !formField.multiple) {
|
|
3471
3420
|
// If empty option is selected, push an empty object in to dataSet
|
|
3472
3421
|
emptyOption[LIVE_CONSTANTS.LABEL_KEY] = LIVE_CONSTANTS.EMPTY_KEY;
|
|
3473
3422
|
emptyOption[LIVE_CONSTANTS.LABEL_VALUE] = options.EMPTY_VALUE || LIVE_CONSTANTS.EMPTY_VALUE;
|
|
3474
3423
|
dataSet.push(emptyOption);
|
|
3475
3424
|
}
|
|
3476
|
-
|
|
3425
|
+
_.each(data, key => {
|
|
3477
3426
|
const value = key[options.aliasColumn];
|
|
3478
3427
|
const option = {};
|
|
3479
3428
|
if (value !== null && value !== '') {
|
|
@@ -3501,7 +3450,7 @@
|
|
|
3501
3450
|
*
|
|
3502
3451
|
*/
|
|
3503
3452
|
function fetchDistinctValues(dataSource, formFields, options) {
|
|
3504
|
-
if (
|
|
3453
|
+
if (_.isEmpty(formFields)) {
|
|
3505
3454
|
return;
|
|
3506
3455
|
}
|
|
3507
3456
|
formFields.forEach(formField => {
|
|
@@ -3613,7 +3562,7 @@
|
|
|
3613
3562
|
* @param {object} enableemptyfilter empty filter options
|
|
3614
3563
|
*/
|
|
3615
3564
|
function getEnableEmptyFilter(enableemptyfilter) {
|
|
3616
|
-
return enableemptyfilter &&
|
|
3565
|
+
return enableemptyfilter && _.intersection(enableemptyfilter.split(','), LIVE_CONSTANTS.NULL_EMPTY).length > 0;
|
|
3617
3566
|
}
|
|
3618
3567
|
/**
|
|
3619
3568
|
* @ngdoc function
|
|
@@ -3628,14 +3577,14 @@
|
|
|
3628
3577
|
*/
|
|
3629
3578
|
function getEmptyMatchMode(enableemptyfilter) {
|
|
3630
3579
|
let matchMode;
|
|
3631
|
-
const emptyFilterOptions =
|
|
3632
|
-
if (
|
|
3580
|
+
const emptyFilterOptions = _.split(enableemptyfilter, ',');
|
|
3581
|
+
if (_.intersection(emptyFilterOptions, LIVE_CONSTANTS.NULL_EMPTY).length === 2) {
|
|
3633
3582
|
matchMode = i1.MatchMode.NULLOREMPTY;
|
|
3634
3583
|
}
|
|
3635
|
-
else if (
|
|
3584
|
+
else if (_.includes(emptyFilterOptions, LIVE_CONSTANTS.NULL)) {
|
|
3636
3585
|
matchMode = i1.MatchMode.NULL;
|
|
3637
3586
|
}
|
|
3638
|
-
else if (
|
|
3587
|
+
else if (_.includes(emptyFilterOptions, LIVE_CONSTANTS.EMPTY)) {
|
|
3639
3588
|
matchMode = i1.MatchMode.EMPTY;
|
|
3640
3589
|
}
|
|
3641
3590
|
return matchMode;
|
|
@@ -3651,13 +3600,13 @@
|
|
|
3651
3600
|
* @returns {Array<any>}
|
|
3652
3601
|
*/
|
|
3653
3602
|
const createArrayFrom = (data) => {
|
|
3654
|
-
if (
|
|
3603
|
+
if (_.isUndefined(data) || _.isNull(data)) {
|
|
3655
3604
|
return [];
|
|
3656
3605
|
}
|
|
3657
|
-
if (
|
|
3606
|
+
if (_.isString(data)) {
|
|
3658
3607
|
data = data.split(',').map(Function.prototype.call, String.prototype.trim);
|
|
3659
3608
|
}
|
|
3660
|
-
if (!
|
|
3609
|
+
if (!_.isArray(data)) {
|
|
3661
3610
|
data = [data];
|
|
3662
3611
|
}
|
|
3663
3612
|
return data;
|
|
@@ -3677,13 +3626,13 @@
|
|
|
3677
3626
|
*/
|
|
3678
3627
|
function applyFilterOnField(dataSource, filterDef, formFields, newVal, options = {}) {
|
|
3679
3628
|
const fieldName = filterDef.field || filterDef.key;
|
|
3680
|
-
const filterOnFields =
|
|
3629
|
+
const filterOnFields = _.filter(formFields, { 'filter-on': fieldName });
|
|
3681
3630
|
newVal = filterDef['is-range'] ? getRangeFieldValue(filterDef.minValue, filterDef.maxValue) : (i1.isDefined(newVal) ? newVal : filterDef.value);
|
|
3682
|
-
if (!dataSource || (options.isFirst && (
|
|
3631
|
+
if (!dataSource || (options.isFirst && (_.isUndefined(newVal) || newVal === ''))) {
|
|
3683
3632
|
return;
|
|
3684
3633
|
}
|
|
3685
3634
|
// Loop over the fields for which the current field is filter on field
|
|
3686
|
-
|
|
3635
|
+
_.forEach(filterOnFields, filterField => {
|
|
3687
3636
|
const filterKey = filterField.field || filterField.key;
|
|
3688
3637
|
const lookUpField = filterDef['lookup-field'] || filterDef._primaryKey;
|
|
3689
3638
|
const filterWidget = filterField['edit-widget-type'] || filterField.widgettype;
|
|
@@ -3709,7 +3658,7 @@
|
|
|
3709
3658
|
else {
|
|
3710
3659
|
matchMode = i1.MatchMode.EQUALS;
|
|
3711
3660
|
}
|
|
3712
|
-
filterVal = (
|
|
3661
|
+
filterVal = (_.isObject(newVal) && !_.isArray(newVal)) ? newVal[lookUpField] : newVal;
|
|
3713
3662
|
filterFields[filterOn] = {
|
|
3714
3663
|
'value': filterVal,
|
|
3715
3664
|
'matchMode': matchMode
|
|
@@ -3744,9 +3693,9 @@
|
|
|
3744
3693
|
// data sanity testing
|
|
3745
3694
|
dataObject = dataObject || [];
|
|
3746
3695
|
// if the dataObject is not an array make it an array
|
|
3747
|
-
if (!
|
|
3696
|
+
if (!_.isArray(dataObject)) {
|
|
3748
3697
|
// if the data returned is of type string, make it an object inside an array
|
|
3749
|
-
if (
|
|
3698
|
+
if (_.isString(dataObject)) {
|
|
3750
3699
|
keys = variableName.substring(variableName.indexOf('.') + 1, variableName.length).split('.');
|
|
3751
3700
|
oldKeys = [];
|
|
3752
3701
|
numKeys = keys.length;
|
|
@@ -3770,9 +3719,9 @@
|
|
|
3770
3719
|
/*if the dataObject is an array and each value is a string, then lite-transform the string to an object
|
|
3771
3720
|
* lite-transform: just checking if the first value is string and then transforming the object, instead of traversing through the whole array
|
|
3772
3721
|
* */
|
|
3773
|
-
if (
|
|
3722
|
+
if (_.isString(dataObject[0])) {
|
|
3774
3723
|
tempArr = [];
|
|
3775
|
-
|
|
3724
|
+
_.forEach(dataObject, str => {
|
|
3776
3725
|
newObj = {};
|
|
3777
3726
|
newObj[variableName.split('.').join('-')] = str;
|
|
3778
3727
|
tempArr.push(newObj);
|
|
@@ -3815,18 +3764,18 @@
|
|
|
3815
3764
|
/**
|
|
3816
3765
|
* function to get the ordered dataset based on the given orderby
|
|
3817
3766
|
*/
|
|
3818
|
-
const getOrderedDataset = (dataSet, orderBy
|
|
3819
|
-
if (!orderBy
|
|
3820
|
-
return
|
|
3767
|
+
const getOrderedDataset = (dataSet, orderBy, innerItem) => {
|
|
3768
|
+
if (!orderBy) {
|
|
3769
|
+
return _.cloneDeep(dataSet);
|
|
3821
3770
|
}
|
|
3822
3771
|
// The order by only works when the dataset contains list of objects.
|
|
3823
|
-
const items = orderBy
|
|
3772
|
+
const items = orderBy.split(','), fields = [], directions = [];
|
|
3824
3773
|
items.forEach(obj => {
|
|
3825
3774
|
const item = obj.split(':');
|
|
3826
3775
|
fields.push(innerItem ? innerItem + '.' + item[0] : item[0]);
|
|
3827
3776
|
directions.push(item[1]);
|
|
3828
3777
|
});
|
|
3829
|
-
return
|
|
3778
|
+
return _.orderBy(dataSet, fields, directions);
|
|
3830
3779
|
};
|
|
3831
3780
|
/**
|
|
3832
3781
|
* Returns an array of object, each object contain the DataSetItem whose key, value, label are extracted from object keys.
|
|
@@ -3835,10 +3784,10 @@
|
|
|
3835
3784
|
const data = [];
|
|
3836
3785
|
// if the dataset is instance of object (not an array) or the first item in the dataset array is an object,
|
|
3837
3786
|
// then we extract the keys from the object and prepare the dataset items.
|
|
3838
|
-
if (
|
|
3787
|
+
if (_.isObject(dataSet[0]) || (_.isObject(dataSet) && !(dataSet instanceof Array))) {
|
|
3839
3788
|
// getting keys of the object
|
|
3840
3789
|
const objectKeys = Object.keys(dataSet[0] || dataSet);
|
|
3841
|
-
|
|
3790
|
+
_.forEach(objectKeys, (objKey, index) => {
|
|
3842
3791
|
data.push({
|
|
3843
3792
|
key: objKey,
|
|
3844
3793
|
label: objKey,
|
|
@@ -3851,21 +3800,21 @@
|
|
|
3851
3800
|
};
|
|
3852
3801
|
// Converts any type of data to array.
|
|
3853
3802
|
const extractDataAsArray = data => {
|
|
3854
|
-
if (
|
|
3803
|
+
if (_.isUndefined(data) || _.isNull(data) || _.trim(data) === '') {
|
|
3855
3804
|
return [];
|
|
3856
3805
|
}
|
|
3857
|
-
if (
|
|
3858
|
-
data =
|
|
3806
|
+
if (_.isString(data)) {
|
|
3807
|
+
data = _.split(data, ',').map(str => str.trim());
|
|
3859
3808
|
}
|
|
3860
|
-
if (!
|
|
3809
|
+
if (!_.isArray(data)) {
|
|
3861
3810
|
data = [data];
|
|
3862
3811
|
}
|
|
3863
3812
|
return data;
|
|
3864
3813
|
};
|
|
3865
3814
|
// This function return always an object containing dataset details.
|
|
3866
3815
|
const convertDataToObject = dataResult => {
|
|
3867
|
-
if (
|
|
3868
|
-
dataResult =
|
|
3816
|
+
if (_.isString(dataResult)) {
|
|
3817
|
+
dataResult = _.split(dataResult, ',').map(str => str.trim());
|
|
3869
3818
|
}
|
|
3870
3819
|
return dataResult;
|
|
3871
3820
|
};
|
|
@@ -3877,7 +3826,7 @@
|
|
|
3877
3826
|
const setGroupbyKey = (scope, context, dataSetItem, innerItem) => {
|
|
3878
3827
|
if (scope && isSeachWidget(scope.widgetType)) {
|
|
3879
3828
|
if (scope.groupby) {
|
|
3880
|
-
if (
|
|
3829
|
+
if (_.includes(scope.groupby, '(')) {
|
|
3881
3830
|
//[Todo-CSP]: can generate expr fn in page based on groupby property on widget
|
|
3882
3831
|
const groupDataByUserDefinedFn = i1.$parseEvent(scope.groupby);
|
|
3883
3832
|
dataSetItem.groupby = groupDataByUserDefinedFn(context, { 'row': dataSetItem.dataObject || dataSetItem });
|
|
@@ -3908,10 +3857,10 @@
|
|
|
3908
3857
|
}
|
|
3909
3858
|
dataSet = convertDataToObject(dataSet);
|
|
3910
3859
|
// startIndex is the index of the next new item.
|
|
3911
|
-
if (
|
|
3860
|
+
if (_.isUndefined(startIndex)) {
|
|
3912
3861
|
startIndex = 1;
|
|
3913
3862
|
}
|
|
3914
|
-
if (
|
|
3863
|
+
if (_.isString(dataSet)) {
|
|
3915
3864
|
dataSet = dataSet.split(',').map(str => str.trim());
|
|
3916
3865
|
dataSet.forEach((option, index) => {
|
|
3917
3866
|
const dataSetItem = { key: option, value: option, label: (i1.isDefined(option) && option !== null) ? option.toString() : '', index: startIndex + index };
|
|
@@ -3919,20 +3868,16 @@
|
|
|
3919
3868
|
data.push(dataSetItem);
|
|
3920
3869
|
});
|
|
3921
3870
|
}
|
|
3922
|
-
else if (
|
|
3871
|
+
else if (_.isArray(dataSet) && !_.isObject(dataSet[0])) { // array of primitive values only
|
|
3923
3872
|
dataSet.forEach((option, index) => {
|
|
3924
3873
|
const dataSetItem = { key: option, value: option, label: (i1.isDefined(option) && option !== null) ? option.toString() : '', index: startIndex + index };
|
|
3925
3874
|
setGroupbyKey(scope, context, dataSetItem, 'value');
|
|
3926
3875
|
data.push(dataSetItem);
|
|
3927
3876
|
});
|
|
3928
3877
|
}
|
|
3929
|
-
else if (!(dataSet instanceof Array) &&
|
|
3930
|
-
|
|
3931
|
-
|
|
3932
|
-
const dataSetItem = { key: lodashEs.trim(key), value: key, label: (i1.isDefined(value) && value !== null) ? value.toString() : '',
|
|
3933
|
-
index: startIndex,
|
|
3934
|
-
dataObject: dataSet
|
|
3935
|
-
};
|
|
3878
|
+
else if (!(dataSet instanceof Array) && _.isObject(dataSet)) {
|
|
3879
|
+
_.forEach(dataSet, (value, key) => {
|
|
3880
|
+
const dataSetItem = { key: _.trim(key), value: key, label: (i1.isDefined(value) && value !== null) ? value.toString() : '', index: startIndex, dataObject: dataSet };
|
|
3936
3881
|
setGroupbyKey(scope, context, dataSetItem, 'value');
|
|
3937
3882
|
data.push(dataSetItem);
|
|
3938
3883
|
});
|
|
@@ -3944,7 +3889,7 @@
|
|
|
3944
3889
|
dataSet.forEach((option, index) => {
|
|
3945
3890
|
const key = myDataField === ALLFIELDS ? startIndex + index : getObjValueByKey(option, myDataField);
|
|
3946
3891
|
// Omit all the items whose datafield (key) is null or undefined.
|
|
3947
|
-
if (!
|
|
3892
|
+
if (!_.isUndefined(key) && !_.isNull(key)) {
|
|
3948
3893
|
const label = getEvaluatedData(option, {
|
|
3949
3894
|
field: displayOptions.displayField,
|
|
3950
3895
|
expression: displayOptions.displayExpr,
|
|
@@ -3954,7 +3899,7 @@
|
|
|
3954
3899
|
key: key,
|
|
3955
3900
|
label: (i1.isDefined(label) && label !== null) ? label.toString() : '',
|
|
3956
3901
|
value: myDataField === ALLFIELDS ? option : key,
|
|
3957
|
-
dataObject: option,
|
|
3902
|
+
dataObject: option,
|
|
3958
3903
|
index: startIndex + index
|
|
3959
3904
|
};
|
|
3960
3905
|
if (displayOptions.displayImgSrc || displayOptions.bindDisplayImgSrc) {
|
|
@@ -3976,16 +3921,16 @@
|
|
|
3976
3921
|
const getUniqObjsByDataField = (data, dataField, displayField, allowEmptyFields) => {
|
|
3977
3922
|
let uniqData;
|
|
3978
3923
|
const isAllFields = dataField === ALLFIELDS;
|
|
3979
|
-
uniqData = isAllFields ?
|
|
3924
|
+
uniqData = isAllFields ? _.uniqWith(data, _.isEqual) : _.uniqBy(data, 'key');
|
|
3980
3925
|
if (!displayField || allowEmptyFields) {
|
|
3981
3926
|
return uniqData;
|
|
3982
3927
|
}
|
|
3983
3928
|
// return objects having non empty datafield and display field values.
|
|
3984
|
-
return
|
|
3929
|
+
return _.filter(uniqData, (obj) => {
|
|
3985
3930
|
if (isAllFields) {
|
|
3986
|
-
return
|
|
3931
|
+
return _.trim(obj.label);
|
|
3987
3932
|
}
|
|
3988
|
-
return
|
|
3933
|
+
return _.trim(obj.key) && _.trim(obj.label);
|
|
3989
3934
|
});
|
|
3990
3935
|
};
|
|
3991
3936
|
/**
|
|
@@ -3997,7 +3942,7 @@
|
|
|
3997
3942
|
*/
|
|
3998
3943
|
const setItemByCompare = (datasetItems, compareWithDataObj, compareByField) => {
|
|
3999
3944
|
// compare the fields based on fields given to compareby property.
|
|
4000
|
-
|
|
3945
|
+
_.forEach(datasetItems, opt => {
|
|
4001
3946
|
if (i1.isEqualWithFields(opt.value, compareWithDataObj, compareByField)) {
|
|
4002
3947
|
opt.selected = true;
|
|
4003
3948
|
return false;
|
|
@@ -4014,13 +3959,13 @@
|
|
|
4014
3959
|
*/
|
|
4015
3960
|
const getSortedGroupedData = (groupedLiData, groupBy, orderby) => {
|
|
4016
3961
|
const _groupedData = [];
|
|
4017
|
-
|
|
3962
|
+
_.forEach(_.keys(groupedLiData), (groupkey, index) => {
|
|
4018
3963
|
const liData = getOrderedDataset(groupedLiData[groupkey], orderby, 'dataObject');
|
|
4019
3964
|
_groupedData.push({
|
|
4020
3965
|
key: groupkey,
|
|
4021
|
-
data:
|
|
3966
|
+
data: _.sortBy(liData, data => {
|
|
4022
3967
|
data._groupIndex = index + 1;
|
|
4023
|
-
return
|
|
3968
|
+
return _.get(data, groupBy) || _.get(data.dataObject, groupBy);
|
|
4024
3969
|
})
|
|
4025
3970
|
});
|
|
4026
3971
|
});
|
|
@@ -4040,11 +3985,10 @@
|
|
|
4040
3985
|
*/
|
|
4041
3986
|
const groupData = (compRef, data, groupby, match, orderby, dateformat, datePipe, innerItem, AppDefaults) => {
|
|
4042
3987
|
let groupedLiData = {};
|
|
4043
|
-
if (
|
|
3988
|
+
if (_.includes(groupby, '(')) {
|
|
4044
3989
|
//[Todo-CSP]: can generate expr fn in page based on groupby property on widget
|
|
4045
3990
|
const groupDataByUserDefinedFn = i1.$parseEvent(groupby);
|
|
4046
|
-
groupedLiData =
|
|
4047
|
-
// @ts-ignore
|
|
3991
|
+
groupedLiData = _.groupBy(data, val => {
|
|
4048
3992
|
return groupDataByUserDefinedFn(compRef.viewParent, { 'row': val.dataObject || val });
|
|
4049
3993
|
});
|
|
4050
3994
|
}
|
|
@@ -4070,14 +4014,14 @@
|
|
|
4070
4014
|
}
|
|
4071
4015
|
// handling case-in-sensitive scenario
|
|
4072
4016
|
// ordering the data based on groupby field. If there is innerItem then apply orderby using the innerItem's containing the groupby field.
|
|
4073
|
-
fieldDefs =
|
|
4074
|
-
const groupKey =
|
|
4017
|
+
fieldDefs = _.orderBy(fieldDefs, fieldDef => {
|
|
4018
|
+
const groupKey = _.get(innerItem ? fieldDef[innerItem] : fieldDef, groupby);
|
|
4075
4019
|
if (groupKey) {
|
|
4076
|
-
return
|
|
4020
|
+
return _.toLower(groupKey);
|
|
4077
4021
|
}
|
|
4078
4022
|
});
|
|
4079
4023
|
// extract the grouped data based on the field obtained from 'groupDataByField'.
|
|
4080
|
-
const groupedLiData =
|
|
4024
|
+
const groupedLiData = _.groupBy(fieldDefs, groupDataByField.bind(undefined, groupby, match, innerItem, dateFormat, datePipe, AppDefaults));
|
|
4081
4025
|
momentLocale._calendar = momentCalendarOptions; // Reset to default moment calendar options
|
|
4082
4026
|
return groupedLiData;
|
|
4083
4027
|
};
|
|
@@ -4143,9 +4087,9 @@
|
|
|
4143
4087
|
// groups the fields based on the groupby value.
|
|
4144
4088
|
const groupDataByField = (groupby, match, innerItem, dateFormat, datePipe, AppDefaults, liData) => {
|
|
4145
4089
|
// get the groupby field value from the liData or innerItem in the liData.
|
|
4146
|
-
let concatStr =
|
|
4090
|
+
let concatStr = _.get(innerItem ? liData[innerItem] : liData, groupby);
|
|
4147
4091
|
// by default set the undefined groupKey as 'others'
|
|
4148
|
-
if (
|
|
4092
|
+
if (_.isUndefined(concatStr) || _.isNull(concatStr) || concatStr.toString().trim() === '') {
|
|
4149
4093
|
return GROUP_BY_OPTIONS.OTHERS;
|
|
4150
4094
|
}
|
|
4151
4095
|
// if match prop is alphabetic ,get the starting alphabet of the word as key.
|
|
@@ -4153,7 +4097,7 @@
|
|
|
4153
4097
|
concatStr = concatStr.substr(0, 1);
|
|
4154
4098
|
}
|
|
4155
4099
|
// if match contains the time options then get the concatStr using 'getTimeRolledUpString'
|
|
4156
|
-
if (
|
|
4100
|
+
if (_.includes(_.values(TIME_ROLLUP_OPTIONS), match)) {
|
|
4157
4101
|
concatStr = getTimeRolledUpString(concatStr, match, dateFormat, datePipe, AppDefaults);
|
|
4158
4102
|
}
|
|
4159
4103
|
return concatStr;
|
|
@@ -4168,13 +4112,13 @@
|
|
|
4168
4112
|
// toggle the collapse icon on list header.
|
|
4169
4113
|
const groupIcons = groups.find('li.list-group-header .app-icon');
|
|
4170
4114
|
if (groupIcons) {
|
|
4171
|
-
|
|
4172
|
-
|
|
4173
|
-
if (
|
|
4174
|
-
|
|
4115
|
+
_.forEach(groupIcons, (icon) => {
|
|
4116
|
+
icon = $(icon);
|
|
4117
|
+
if (icon.hasClass('wi-chevron-down')) {
|
|
4118
|
+
icon.removeClass('wi-chevron-down').addClass('wi-chevron-up');
|
|
4175
4119
|
}
|
|
4176
4120
|
else {
|
|
4177
|
-
|
|
4121
|
+
icon.removeClass('wi-chevron-up').addClass('wi-chevron-down');
|
|
4178
4122
|
}
|
|
4179
4123
|
});
|
|
4180
4124
|
}
|
|
@@ -4239,8 +4183,8 @@
|
|
|
4239
4183
|
};
|
|
4240
4184
|
// Method to set the header config of the data table
|
|
4241
4185
|
const setHeaderConfig = (headerConfig, config, field, index) => {
|
|
4242
|
-
|
|
4243
|
-
if (
|
|
4186
|
+
_.forEach(headerConfig, cols => {
|
|
4187
|
+
if (_.get(cols, 'isGroup')) {
|
|
4244
4188
|
if (cols.field === field) {
|
|
4245
4189
|
cols.columns[index] = config;
|
|
4246
4190
|
}
|
|
@@ -4296,8 +4240,8 @@
|
|
|
4296
4240
|
}
|
|
4297
4241
|
else if (captionWidth) {
|
|
4298
4242
|
// handling itemsperrow containing string of classes
|
|
4299
|
-
|
|
4300
|
-
const keys =
|
|
4243
|
+
_.forEach(_.split(captionWidth, ' '), function (cls) {
|
|
4244
|
+
const keys = _.split(cls, '-'), tier = keys[0];
|
|
4301
4245
|
let _captionWidth, widgetWidth;
|
|
4302
4246
|
_captionWidth = parseInt(keys[1], 10);
|
|
4303
4247
|
widgetWidth = 12 - _captionWidth;
|
|
@@ -4312,7 +4256,7 @@
|
|
|
4312
4256
|
};
|
|
4313
4257
|
};
|
|
4314
4258
|
const getDefaultViewModeWidget = widget => {
|
|
4315
|
-
if (
|
|
4259
|
+
if (_.includes(['checkbox', 'toggle', 'rating'], widget)) {
|
|
4316
4260
|
return VIEW_MODE_OPTIONS.DEFAULT;
|
|
4317
4261
|
}
|
|
4318
4262
|
return VIEW_MODE_OPTIONS.LABEL;
|
|
@@ -4382,7 +4326,7 @@
|
|
|
4382
4326
|
if (type === i1.DataType.BOOLEAN) {
|
|
4383
4327
|
widget = i1.FormWidgetType.SELECT;
|
|
4384
4328
|
}
|
|
4385
|
-
if (
|
|
4329
|
+
if (_.includes([i1.FormWidgetType.TEXT, i1.FormWidgetType.NUMBER, i1.FormWidgetType.SELECT, i1.FormWidgetType.AUTOCOMPLETE,
|
|
4386
4330
|
i1.FormWidgetType.DATE, i1.FormWidgetType.TIME, i1.FormWidgetType.DATETIME], widget)) {
|
|
4387
4331
|
return widget;
|
|
4388
4332
|
}
|
|
@@ -4440,22 +4384,22 @@
|
|
|
4440
4384
|
const routRegex = /^(\/|#\/|#)(?!\W).*/;
|
|
4441
4385
|
if (link) {
|
|
4442
4386
|
if (routRegex.test(link)) {
|
|
4443
|
-
link =
|
|
4387
|
+
link = _.first(link.match(/[\w]+.*/g)) || '';
|
|
4444
4388
|
return `#/${link}`;
|
|
4445
4389
|
}
|
|
4446
|
-
if (
|
|
4390
|
+
if (_.startsWith(link, 'www.')) {
|
|
4447
4391
|
return `//${link}`;
|
|
4448
4392
|
}
|
|
4449
4393
|
return link;
|
|
4450
4394
|
}
|
|
4451
4395
|
};
|
|
4452
|
-
|
|
4453
|
-
constructor(inj, WIDGET_CONFIG
|
|
4454
|
-
super(inj, WIDGET_CONFIG
|
|
4396
|
+
class DatasetAwareNavComponent extends StylableComponent {
|
|
4397
|
+
constructor(inj, WIDGET_CONFIG) {
|
|
4398
|
+
super(inj, WIDGET_CONFIG);
|
|
4455
4399
|
this.nodes = [];
|
|
4456
4400
|
this.nodes$ = new rxjs.Subject();
|
|
4457
4401
|
// debounce function for reset nodes functions.
|
|
4458
|
-
this._resetNodes =
|
|
4402
|
+
this._resetNodes = _.debounce(this.resetNodes, 50);
|
|
4459
4403
|
this.securityService = this.inj.get(security.SecurityService);
|
|
4460
4404
|
this.binditemlabel = this.nativeElement.getAttribute('itemlabel.bind');
|
|
4461
4405
|
this.binditemicon = this.nativeElement.getAttribute('itemicon.bind');
|
|
@@ -4475,49 +4419,24 @@
|
|
|
4475
4419
|
*/
|
|
4476
4420
|
getNode(fields, node) {
|
|
4477
4421
|
const context = this.viewParent.pageScope || this.viewParent;
|
|
4478
|
-
const children = getEvaluatedData(node, {
|
|
4479
|
-
field: this.itemchildren,
|
|
4480
|
-
bindExpression: this.binditemchildren
|
|
4481
|
-
}, context) || lodashEs.get(node, fields.childrenField);
|
|
4422
|
+
const children = getEvaluatedData(node, { field: this.itemchildren, bindExpression: this.binditemchildren }, context) || _.get(node, fields.childrenField);
|
|
4482
4423
|
const navNode = {
|
|
4483
|
-
action: getEvaluatedData(node, {
|
|
4484
|
-
|
|
4485
|
-
bindExpression: this.binditemaction
|
|
4486
|
-
}, context) || lodashEs.get(node, fields.actionField),
|
|
4487
|
-
badge: getEvaluatedData(node, {
|
|
4488
|
-
field: this.itembadge,
|
|
4489
|
-
bindExpression: this.binditembadge
|
|
4490
|
-
}, context) || lodashEs.get(node, fields.badgeField),
|
|
4424
|
+
action: getEvaluatedData(node, { field: this.itemaction, bindExpression: this.binditemaction }, context) || _.get(node, fields.actionField),
|
|
4425
|
+
badge: getEvaluatedData(node, { field: this.itembadge, bindExpression: this.binditembadge }, context) || _.get(node, fields.badgeField),
|
|
4491
4426
|
children: Array.isArray(children) ? this.getNodes(children) : [],
|
|
4492
|
-
class:
|
|
4427
|
+
class: _.get(node, fields.classField),
|
|
4493
4428
|
disabled: node.disabled,
|
|
4494
|
-
icon: getEvaluatedData(node, {
|
|
4495
|
-
|
|
4496
|
-
|
|
4497
|
-
}, context) ||
|
|
4498
|
-
|
|
4499
|
-
field: this.itemid,
|
|
4500
|
-
bindExpression: this.binditemid
|
|
4501
|
-
}, context) || lodashEs.get(node, fields.idField),
|
|
4502
|
-
label: getEvaluatedData(node, {
|
|
4503
|
-
field: this.itemlabel,
|
|
4504
|
-
bindExpression: this.binditemlabel
|
|
4505
|
-
}, context) || lodashEs.get(node, fields.labelField),
|
|
4506
|
-
link: getValidLink(getEvaluatedData(node, {
|
|
4507
|
-
field: this.itemlink,
|
|
4508
|
-
bindExpression: this.binditemlink
|
|
4509
|
-
}, context) || lodashEs.get(node, fields.linkField)),
|
|
4510
|
-
target: getValidLink(getEvaluatedData(node, {
|
|
4511
|
-
field: this.itemtarget,
|
|
4512
|
-
bindExpression: this.binditemtarget
|
|
4513
|
-
}, context) || lodashEs.get(node, fields.targetField)),
|
|
4429
|
+
icon: getEvaluatedData(node, { field: this.itemicon, bindExpression: this.binditemicon }, context) || _.get(node, fields.iconField),
|
|
4430
|
+
id: getEvaluatedData(node, { field: this.itemid, bindExpression: this.binditemid }, context) || _.get(node, fields.idField),
|
|
4431
|
+
label: getEvaluatedData(node, { field: this.itemlabel, bindExpression: this.binditemlabel }, context) || _.get(node, fields.labelField),
|
|
4432
|
+
link: getValidLink(getEvaluatedData(node, { field: this.itemlink, bindExpression: this.binditemlink }, context) || _.get(node, fields.linkField)),
|
|
4433
|
+
target: getValidLink(getEvaluatedData(node, { field: this.itemtarget, bindExpression: this.binditemtarget }, context) || _.get(node, fields.targetField)),
|
|
4514
4434
|
role: getEvaluatedData(node, { field: this.userrole, bindExpression: this.binduserrole }, context),
|
|
4515
4435
|
isactive: getEvaluatedData(node, { field: this.isactive, bindExpression: this.bindisactive }, context),
|
|
4516
4436
|
// older projects have display field & data field property for menu.
|
|
4517
4437
|
value: this.datafield ? (this.datafield === 'All Fields' ? node : i1.findValueOf(node, this.datafield)) : node
|
|
4518
4438
|
};
|
|
4519
|
-
|
|
4520
|
-
return lodashEs.omitBy(navNode, lodashEs.isUndefined);
|
|
4439
|
+
return _.omitBy(navNode, _.isUndefined);
|
|
4521
4440
|
}
|
|
4522
4441
|
resetItemFieldMap() {
|
|
4523
4442
|
this._itemFieldMap = null;
|
|
@@ -4600,12 +4519,7 @@
|
|
|
4600
4519
|
}
|
|
4601
4520
|
super.onPropertyChange(key, nv, ov);
|
|
4602
4521
|
}
|
|
4603
|
-
}
|
|
4604
|
-
exports.DatasetAwareNavComponent = tslib.__decorate([
|
|
4605
|
-
tslib.__param(2, i0.Inject('EXPLICIT_CONTEXT')),
|
|
4606
|
-
tslib.__param(2, i0.Optional()),
|
|
4607
|
-
tslib.__metadata("design:paramtypes", [i0.Injector, Object, Object])
|
|
4608
|
-
], exports.DatasetAwareNavComponent);
|
|
4522
|
+
}
|
|
4609
4523
|
|
|
4610
4524
|
const DEFAULT_VALIDATOR = {
|
|
4611
4525
|
pattern: 'regexp',
|
|
@@ -4655,7 +4569,7 @@
|
|
|
4655
4569
|
if (this.instance.regexp) {
|
|
4656
4570
|
_validator.push(forms.Validators.pattern(this.instance.regexp));
|
|
4657
4571
|
}
|
|
4658
|
-
if (this.formwidget &&
|
|
4572
|
+
if (this.formwidget && _.isFunction(this.formwidget.validate)) {
|
|
4659
4573
|
_validator.push(this.formwidget.validate.bind(this.formwidget));
|
|
4660
4574
|
}
|
|
4661
4575
|
return _validator;
|
|
@@ -4682,7 +4596,7 @@
|
|
|
4682
4596
|
}
|
|
4683
4597
|
getPromiseList(validators) {
|
|
4684
4598
|
const arr = [];
|
|
4685
|
-
|
|
4599
|
+
_.forEach(validators, (fn, index) => {
|
|
4686
4600
|
let promise = fn;
|
|
4687
4601
|
if (fn instanceof Function && fn.bind) {
|
|
4688
4602
|
promise = fn(this.widgetControl, this.widgetContext);
|
|
@@ -4704,11 +4618,11 @@
|
|
|
4704
4618
|
// if err obj has validationMessage key, then set validationMessage using this value
|
|
4705
4619
|
// else return the value of the first key in the err object as validation message.
|
|
4706
4620
|
if (err.hasOwnProperty('errorMessage')) {
|
|
4707
|
-
this.instance.validationmessage =
|
|
4621
|
+
this.instance.validationmessage = _.get(err, 'errorMessage');
|
|
4708
4622
|
}
|
|
4709
4623
|
else {
|
|
4710
|
-
const keys
|
|
4711
|
-
this.instance.validationmessage = (err[keys
|
|
4624
|
+
const keys = _.keys(err);
|
|
4625
|
+
this.instance.validationmessage = (err[keys[0]]).toString();
|
|
4712
4626
|
}
|
|
4713
4627
|
return err;
|
|
4714
4628
|
}).then(response => {
|
|
@@ -4740,7 +4654,7 @@
|
|
|
4740
4654
|
}
|
|
4741
4655
|
}
|
|
4742
4656
|
isDefaultValidator(type) {
|
|
4743
|
-
return
|
|
4657
|
+
return _.get(i1.VALIDATOR, _.toUpper(type));
|
|
4744
4658
|
}
|
|
4745
4659
|
// default validator is bound to a function then watch for value changes
|
|
4746
4660
|
// otherwise set the value of default validator directly
|
|
@@ -4756,10 +4670,10 @@
|
|
|
4756
4670
|
}
|
|
4757
4671
|
// sets the default validation on the form field
|
|
4758
4672
|
setValidators(validators) {
|
|
4759
|
-
let _cloneValidators =
|
|
4673
|
+
let _cloneValidators = _.cloneDeep(validators);
|
|
4760
4674
|
this.hasValidators = true;
|
|
4761
4675
|
this._syncValidators = [];
|
|
4762
|
-
|
|
4676
|
+
_.forEach(_cloneValidators, (obj, index) => {
|
|
4763
4677
|
// custom validation is bound to function.
|
|
4764
4678
|
if (obj && obj instanceof Function) {
|
|
4765
4679
|
// passing formfield and form as arguments to the obj (i.e. validator function)
|
|
@@ -4768,17 +4682,17 @@
|
|
|
4768
4682
|
}
|
|
4769
4683
|
else {
|
|
4770
4684
|
// checks for default validator like required, maxchars etc.
|
|
4771
|
-
const key =
|
|
4772
|
-
this.defaultValidatorMessages[key] =
|
|
4685
|
+
const key = _.get(obj, 'type');
|
|
4686
|
+
this.defaultValidatorMessages[key] = _.get(obj, 'errorMessage');
|
|
4773
4687
|
if (this.isDefaultValidator(key)) {
|
|
4774
|
-
const value =
|
|
4688
|
+
const value = _.get(obj, 'validator');
|
|
4775
4689
|
this.setDefaultValidator(key, value);
|
|
4776
4690
|
_cloneValidators[index] = '';
|
|
4777
4691
|
}
|
|
4778
4692
|
}
|
|
4779
4693
|
});
|
|
4780
4694
|
// _syncValidators contains all the custom validations on the form field. will not include default validators.
|
|
4781
|
-
this._syncValidators =
|
|
4695
|
+
this._syncValidators = _.filter(_cloneValidators, val => {
|
|
4782
4696
|
if (val) {
|
|
4783
4697
|
return val;
|
|
4784
4698
|
}
|
|
@@ -4786,8 +4700,8 @@
|
|
|
4786
4700
|
this.applyDefaultValidators();
|
|
4787
4701
|
}
|
|
4788
4702
|
observeOn(fields, context) {
|
|
4789
|
-
|
|
4790
|
-
const formfield =
|
|
4703
|
+
_.forEach(fields, field => {
|
|
4704
|
+
const formfield = _.find(this.widgetContext[context], { 'key': field });
|
|
4791
4705
|
if (formfield) {
|
|
4792
4706
|
if (!formfield.notifyForFields) {
|
|
4793
4707
|
formfield.notifyForFields = [];
|
|
@@ -4818,13 +4732,13 @@
|
|
|
4818
4732
|
const watchName = `${this.instance.widgetId}_` + key + '_formField';
|
|
4819
4733
|
i1.$unwatch(watchName);
|
|
4820
4734
|
//[Todo-CSP]: Need clarity generate this expr fn if form is present in the page
|
|
4821
|
-
this.instance.registerDestroyListener(i1.$watch('boundFn(fn)',
|
|
4735
|
+
this.instance.registerDestroyListener(i1.$watch('boundFn(fn)', _.extend(this.instance, this.instance.viewParent), { fn }, (nv, ov) => {
|
|
4822
4736
|
this.instance.widget[key] = nv;
|
|
4823
4737
|
this.applyDefaultValidators();
|
|
4824
4738
|
}, watchName));
|
|
4825
4739
|
}
|
|
4826
4740
|
isNullOrEmptyOrFalsy(value) {
|
|
4827
|
-
return
|
|
4741
|
+
return _.isEmpty(value);
|
|
4828
4742
|
}
|
|
4829
4743
|
// invokes both custom sync validations and default validations.
|
|
4830
4744
|
applyDefaultValidators() {
|
|
@@ -4835,7 +4749,7 @@
|
|
|
4835
4749
|
if (this.formwidget && (this.instance.value === this.formwidget.prevDatavalue || this.isNullOrEmptyOrFalsy(this.instance.value))) {
|
|
4836
4750
|
opt['emitEvent'] = false;
|
|
4837
4751
|
}
|
|
4838
|
-
this.widgetControl.setValidators(
|
|
4752
|
+
this.widgetControl.setValidators(_.concat(this._syncValidators || [], validators));
|
|
4839
4753
|
this.widgetControl.updateValueAndValidity(opt);
|
|
4840
4754
|
this.setCustomValidationMessage();
|
|
4841
4755
|
}
|
|
@@ -4845,14 +4759,14 @@
|
|
|
4845
4759
|
return;
|
|
4846
4760
|
}
|
|
4847
4761
|
if (fieldErrors.hasOwnProperty('errorMessage')) {
|
|
4848
|
-
this.instance.validationmessage =
|
|
4762
|
+
this.instance.validationmessage = _.get(fieldErrors, 'errorMessage');
|
|
4849
4763
|
}
|
|
4850
4764
|
else {
|
|
4851
|
-
const keys
|
|
4852
|
-
const key = keys
|
|
4853
|
-
const validationMsgKey =
|
|
4765
|
+
const keys = _.keys(fieldErrors);
|
|
4766
|
+
const key = keys[0];
|
|
4767
|
+
const validationMsgKey = _.get(DEFAULT_VALIDATOR, key) || this.formwidget.validateType;
|
|
4854
4768
|
if (validationMsgKey) {
|
|
4855
|
-
const msg =
|
|
4769
|
+
const msg = _.get(this.defaultValidatorMessages, validationMsgKey) || this.instance.validationmessage;
|
|
4856
4770
|
if (msg && msg instanceof Function) {
|
|
4857
4771
|
// passing formfield and form as arguments to the errorMessage function.
|
|
4858
4772
|
this.instance.validationmessage = msg(this.widgetControl, this.widgetContext);
|
|
@@ -5242,6 +5156,7 @@
|
|
|
5242
5156
|
exports.DEBOUNCE_TIMES = DEBOUNCE_TIMES;
|
|
5243
5157
|
exports.DISPLAY_TYPE = DISPLAY_TYPE;
|
|
5244
5158
|
exports.DataSetItem = DataSetItem;
|
|
5159
|
+
exports.DatasetAwareNavComponent = DatasetAwareNavComponent;
|
|
5245
5160
|
exports.DialogRef = DialogRef;
|
|
5246
5161
|
exports.DialogServiceImpl = DialogServiceImpl;
|
|
5247
5162
|
exports.EDIT_MODE = EDIT_MODE;
|