@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,17 +1,15 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { InjectionToken, forwardRef, ElementRef, inject, ViewContainerRef,
|
|
2
|
+
import { InjectionToken, forwardRef, ElementRef, inject, ViewContainerRef, Injectable, Inject, Directive, Self, ContentChildren, Pipe, Input, Component, Attribute, SecurityContext, NgModule } from '@angular/core';
|
|
3
3
|
import * as i1$1 from '@angular/common';
|
|
4
4
|
import { Location, CommonModule } from '@angular/common';
|
|
5
5
|
import * as i1 from '@wm/core';
|
|
6
|
-
import { FormWidgetType, checkIsCustomPipeExpression, $parseExpr, isValidWebURL, encodeUrl, stringStartsWith, prettifyLabel, deHyphenate, initCaps, getClonedObject, setCSS, isDefined, IDGenerator, toBoolean, isChangeFromWatch, $unwatch, resetChangeFromWatch, isObject
|
|
6
|
+
import { FormWidgetType, checkIsCustomPipeExpression, $parseExpr, isValidWebURL, encodeUrl, stringStartsWith, prettifyLabel, deHyphenate, initCaps, getClonedObject, setCSS, isDefined, IDGenerator, toBoolean, isChangeFromWatch, $unwatch, resetChangeFromWatch, isObject, toDimension, $appDigest, removeClass, addClass, setCSSFromObj, App, findParent, setAttr, isMobileApp, switchClass, removeAttr, $parseEvent, $invokeWatchers, $watch, transformFileURI, ComponentType, noop as noop$1, isLargeTabletLandscape, isLargeTabletPortrait, isKitkatDevice, debounce, hasOffsetStr, AbstractI18nService, CURRENCY_INFO, isMobile, AbstractDialogService, DataSource, processFilterExpBindNode, MatchMode, isEqualWithFields, getFormattedDate, isAndroid, isNumberType, DataType, findValueOf, validateAccessRoles, VALIDATOR, isIos } from '@wm/core';
|
|
7
7
|
import { SecurityModule, SecurityService } from '@wm/security';
|
|
8
|
-
import { createFocusTrap } from '@wavemaker/focus-trap';
|
|
9
|
-
import { isNull, get, forEach, join, union, isArray, isObject, includes, split, isString, assignWith, startsWith, isFunction, extend, camelCase, map, pickBy, assign, debounce, isDate, isUndefined, filter as filter$1, isEmpty, keys, head, replace, each, intersection, cloneDeep, orderBy, trim, isEqual, uniqWith, uniqBy, sortBy, groupBy, toLower, values, first, omitBy, toUpper, find, concat } from 'lodash-es';
|
|
8
|
+
import { createFocusTrap } from '@wavemaker/focus-trap/dist/focus-trap';
|
|
10
9
|
import * as i1$2 from '@angular/platform-browser';
|
|
11
10
|
import { EventManager } from '@angular/platform-browser';
|
|
12
11
|
import { ReplaySubject, Subject } from 'rxjs';
|
|
13
12
|
import { filter, debounceTime } from 'rxjs/operators';
|
|
14
|
-
import { __param, __metadata, __decorate } from 'tslib';
|
|
15
13
|
import { Validators } from '@angular/forms';
|
|
16
14
|
import { SwipeAnimation } from '@swipey';
|
|
17
15
|
|
|
@@ -89,7 +87,7 @@ const getObjValueByKey = (obj, strKey) => {
|
|
|
89
87
|
/* convert indexes to properties, so as to work for even 'key1[0].child1'*/
|
|
90
88
|
strKey.replace(/\[(\w+)\]/g, '.$1').split('.').forEach(key => {
|
|
91
89
|
// If obj is null, then assign val to null.
|
|
92
|
-
val = (val && val[key]) || (isNull(obj) ? obj : obj[key]);
|
|
90
|
+
val = (val && val[key]) || (_.isNull(obj) ? obj : obj[key]);
|
|
93
91
|
});
|
|
94
92
|
return val;
|
|
95
93
|
}
|
|
@@ -124,7 +122,7 @@ const getEvaluatedData = (dataObj, options, context) => {
|
|
|
124
122
|
// Handling field name with special charecters
|
|
125
123
|
// Ex: field = "f name"
|
|
126
124
|
if (!bindExpr && !expr) {
|
|
127
|
-
return get(dataObj, field);
|
|
125
|
+
return _.get(dataObj, field);
|
|
128
126
|
}
|
|
129
127
|
return $parseExpr(expressionValue)(context, Object.assign({}, dataObj, { __1: dataObj }));
|
|
130
128
|
};
|
|
@@ -161,12 +159,12 @@ const hasLinkToCurrentPage = (nodes, routeUrl) => {
|
|
|
161
159
|
const getOrderByExpr = pageableObj => {
|
|
162
160
|
pageableObj = pageableObj || [];
|
|
163
161
|
const expressions = [], KEY_VAL_SEPARATOR = ' ', FIELD_SEPARATOR = ',';
|
|
164
|
-
forEach(pageableObj, obj => {
|
|
162
|
+
_.forEach(pageableObj, obj => {
|
|
165
163
|
if (obj.direction) {
|
|
166
164
|
expressions.push(obj.property + KEY_VAL_SEPARATOR + obj.direction.toLowerCase());
|
|
167
165
|
}
|
|
168
166
|
});
|
|
169
|
-
return join(expressions, FIELD_SEPARATOR);
|
|
167
|
+
return _.join(expressions, FIELD_SEPARATOR);
|
|
170
168
|
};
|
|
171
169
|
const isDataSetWidget = widget => {
|
|
172
170
|
return DATASET_WIDGETS.has(widget);
|
|
@@ -256,13 +254,13 @@ const getMatchModeTypesMap = (multiMode) => {
|
|
|
256
254
|
modes.string.push('in', 'notin');
|
|
257
255
|
modes.character.push('in', 'notin');
|
|
258
256
|
}
|
|
259
|
-
forEach(typesMap, (types, primType) => {
|
|
260
|
-
forEach(types, type => {
|
|
257
|
+
_.forEach(typesMap, (types, primType) => {
|
|
258
|
+
_.forEach(types, type => {
|
|
261
259
|
matchModeTypesMap[type] = modes[primType];
|
|
262
260
|
});
|
|
263
261
|
});
|
|
264
262
|
// this is used in filter criteria when the user types the column name manually and where we dont know the type of the column
|
|
265
|
-
matchModeTypesMap['default'] = union(modes['number'], modes['string'], modes['character'], modes['date'], modes['date']);
|
|
263
|
+
matchModeTypesMap['default'] = _.union(modes['number'], modes['string'], modes['character'], modes['date'], modes['date']);
|
|
266
264
|
return matchModeTypesMap;
|
|
267
265
|
};
|
|
268
266
|
const getMatchModeMsgs = (appLocale) => {
|
|
@@ -294,14 +292,14 @@ const getMatchModeMsgs = (appLocale) => {
|
|
|
294
292
|
// Returns array of classes that are evaluated true for given object or array
|
|
295
293
|
const getClassesArray = classVal => {
|
|
296
294
|
let classes = [];
|
|
297
|
-
if (isArray(classVal)) {
|
|
295
|
+
if (_.isArray(classVal)) {
|
|
298
296
|
classVal.forEach(v => {
|
|
299
297
|
classes = classes.concat(getClassesArray(v));
|
|
300
298
|
});
|
|
301
299
|
return classes;
|
|
302
300
|
}
|
|
303
|
-
if (isObject(classVal)) {
|
|
304
|
-
forEach(classVal, (val, key) => {
|
|
301
|
+
if (_.isObject(classVal)) {
|
|
302
|
+
_.forEach(classVal, (val, key) => {
|
|
305
303
|
if (val) {
|
|
306
304
|
classes = classes.concat(key.split(' '));
|
|
307
305
|
}
|
|
@@ -315,9 +313,9 @@ const getConditionalClasses = (nv, ov) => {
|
|
|
315
313
|
// if the conditional class property has already toAdd and toRemove arrays then take that otherwise build those arrays
|
|
316
314
|
const classToAdd = nv.toAdd || nv;
|
|
317
315
|
const classToRemove = nv.toRemove || ov;
|
|
318
|
-
if (isObject(nv)) {
|
|
319
|
-
toAdd = isArray(classToAdd) ? classToAdd : getClassesArray(classToAdd || []);
|
|
320
|
-
toRemove = classToRemove ? (isArray(classToRemove) ? classToRemove : getClassesArray(classToRemove)) : [];
|
|
316
|
+
if (_.isObject(nv)) {
|
|
317
|
+
toAdd = _.isArray(classToAdd) ? classToAdd : getClassesArray(classToAdd || []);
|
|
318
|
+
toRemove = classToRemove ? (_.isArray(classToRemove) ? classToRemove : getClassesArray(classToRemove)) : [];
|
|
321
319
|
}
|
|
322
320
|
else {
|
|
323
321
|
toAdd = classToAdd ? [classToAdd] : [];
|
|
@@ -332,9 +330,9 @@ const pushFieldDef = (dataObject, columnDefObj, namePrefix, options) => {
|
|
|
332
330
|
if (!options) {
|
|
333
331
|
options = {};
|
|
334
332
|
}
|
|
335
|
-
forEach(dataObject, (value, title) => {
|
|
336
|
-
if (includes(title, '.')) {
|
|
337
|
-
relatedInfo = split(title, '.');
|
|
333
|
+
_.forEach(dataObject, (value, title) => {
|
|
334
|
+
if (_.includes(title, '.')) {
|
|
335
|
+
relatedInfo = _.split(title, '.');
|
|
338
336
|
relatedTable = relatedInfo[0];
|
|
339
337
|
relatedField = relatedInfo[1];
|
|
340
338
|
isRelated = true;
|
|
@@ -343,7 +341,7 @@ const pushFieldDef = (dataObject, columnDefObj, namePrefix, options) => {
|
|
|
343
341
|
modifiedTitle = title;
|
|
344
342
|
}
|
|
345
343
|
else {
|
|
346
|
-
if (isString(title)) {
|
|
344
|
+
if (_.isString(title)) {
|
|
347
345
|
modifiedTitle = prettifyLabel(title);
|
|
348
346
|
modifiedTitle = deHyphenate(modifiedTitle);
|
|
349
347
|
modifiedTitle = namePrefix ? initCaps(namePrefix) + ' ' + modifiedTitle : modifiedTitle;
|
|
@@ -355,7 +353,7 @@ const pushFieldDef = (dataObject, columnDefObj, namePrefix, options) => {
|
|
|
355
353
|
title = namePrefix ? namePrefix + '.' + title : title;
|
|
356
354
|
if (isRelated) {
|
|
357
355
|
// For related columns, shorten the title to last two words
|
|
358
|
-
fieldName = split(modifiedTitle, ' ');
|
|
356
|
+
fieldName = _.split(modifiedTitle, ' ');
|
|
359
357
|
fieldName = fieldName.length > 1 ? fieldName[fieldName.length - 2] + ' ' + fieldName[fieldName.length - 1] : fieldName[0];
|
|
360
358
|
}
|
|
361
359
|
else {
|
|
@@ -364,7 +362,7 @@ const pushFieldDef = (dataObject, columnDefObj, namePrefix, options) => {
|
|
|
364
362
|
const defObj = options.setBindingField ? { 'displayName': fieldName, 'field': title, 'relatedTable': relatedTable, 'relatedField': relatedField || modifiedTitle }
|
|
365
363
|
: { 'displayName': fieldName, 'relatedTable': relatedTable, 'relatedField': relatedField || modifiedTitle };
|
|
366
364
|
/*if field is a leaf node, push it in the columnDefs*/
|
|
367
|
-
if (!isObject(value) || (isArray(value) && !value[0])) {
|
|
365
|
+
if (!_.isObject(value) || (_.isArray(value) && !value[0])) {
|
|
368
366
|
/*if the column counter has reached upperBound return*/
|
|
369
367
|
if (options.upperBound && options.columnCount === options.upperBound) {
|
|
370
368
|
return;
|
|
@@ -380,7 +378,7 @@ const pushFieldDef = (dataObject, columnDefObj, namePrefix, options) => {
|
|
|
380
378
|
columnDefObj.objects.push(defObj);
|
|
381
379
|
}
|
|
382
380
|
/* if field is an array node, process its first child */
|
|
383
|
-
if (isArray(value) && value[0]) {
|
|
381
|
+
if (_.isArray(value) && value[0]) {
|
|
384
382
|
pushFieldDef(value[0], columnDefObj, title + '[0]', options);
|
|
385
383
|
}
|
|
386
384
|
else {
|
|
@@ -391,17 +389,17 @@ const pushFieldDef = (dataObject, columnDefObj, namePrefix, options) => {
|
|
|
391
389
|
};
|
|
392
390
|
const getMetaDataFromData = (data) => {
|
|
393
391
|
let dataObject;
|
|
394
|
-
if (isArray(data)) {
|
|
395
|
-
if (isObject(data[0])) {
|
|
392
|
+
if (_.isArray(data)) {
|
|
393
|
+
if (_.isObject(data[0])) {
|
|
396
394
|
dataObject = getClonedObject(data[0]);
|
|
397
395
|
/*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.
|
|
398
396
|
* As column generation is dependent on data, for related fields if first row value is null, columns are not generated.
|
|
399
397
|
* To prevent this, check the data in other rows and generate the columns. New keys from others rows are also added*/
|
|
400
|
-
forEach(data, (row, index) => {
|
|
398
|
+
_.forEach(data, (row, index) => {
|
|
401
399
|
if ((index + 1) >= 10) { // Limit the data search to first 10 records
|
|
402
400
|
return false;
|
|
403
401
|
}
|
|
404
|
-
assignWith(dataObject, row, (objValue, srcValue) => {
|
|
402
|
+
_.assignWith(dataObject, row, (objValue, srcValue) => {
|
|
405
403
|
return (objValue === null || objValue === undefined) ? srcValue : objValue;
|
|
406
404
|
});
|
|
407
405
|
});
|
|
@@ -790,11 +788,11 @@ const globalPropertyChangeHandler = (component, key, nv) => {
|
|
|
790
788
|
}
|
|
791
789
|
}
|
|
792
790
|
// Set the value in the component and trigger appDigest when there is a change in the value
|
|
793
|
-
if (nv !== ov || isObject
|
|
791
|
+
if (nv !== ov || isObject(nv) || isObject(ov)) {
|
|
794
792
|
if (isDimensionProp(key)) {
|
|
795
793
|
nv = toDimension(nv);
|
|
796
794
|
}
|
|
797
|
-
else if (startsWith(nv, 'resources/')) {
|
|
795
|
+
else if (_.startsWith(nv, 'resources/')) {
|
|
798
796
|
const ref = component;
|
|
799
797
|
if (ref._parentPrefab_ === undefined) {
|
|
800
798
|
ref._parentPrefab_ = component.$element.parent().closest('[prefabname][prefabname!="__self__"]').attr('prefabname') || '';
|
|
@@ -835,7 +833,7 @@ const proxyHandler = {
|
|
|
835
833
|
},
|
|
836
834
|
get: (target, key) => {
|
|
837
835
|
const v = target[key];
|
|
838
|
-
if (isFunction(v)) { // bind the proper context for the methods
|
|
836
|
+
if (_.isFunction(v)) { // bind the proper context for the methods
|
|
839
837
|
return v.bind(target);
|
|
840
838
|
}
|
|
841
839
|
return v;
|
|
@@ -864,7 +862,7 @@ class WidgetProxyProvider {
|
|
|
864
862
|
// bind proper context for the methods
|
|
865
863
|
invokeLater(() => {
|
|
866
864
|
for (const key in instance) {
|
|
867
|
-
if (isFunction(instance[key]) && key !== 'constructor' && key !== 'super' && !startsWith(key, 'ng')) {
|
|
865
|
+
if (_.isFunction(instance[key]) && key !== 'constructor' && key !== 'super' && !_.startsWith(key, 'ng')) {
|
|
868
866
|
instance[key] = instance[key].bind(instance);
|
|
869
867
|
}
|
|
870
868
|
}
|
|
@@ -895,21 +893,21 @@ class WidgetProxyProvider {
|
|
|
895
893
|
// Gets list of classes to add and remove and applies on the $el
|
|
896
894
|
const updateClasses = (toAdd, toRemove, el) => {
|
|
897
895
|
if (toRemove && toRemove.length) {
|
|
898
|
-
removeClass(el, join(toRemove, ' '));
|
|
896
|
+
removeClass(el, _.join(toRemove, ' '));
|
|
899
897
|
}
|
|
900
898
|
if (toAdd && toAdd.length) {
|
|
901
|
-
addClass(el, join(toAdd, ' '));
|
|
899
|
+
addClass(el, _.join(toAdd, ' '));
|
|
902
900
|
}
|
|
903
901
|
};
|
|
904
902
|
// To add and remove styles on the $el
|
|
905
903
|
const updateStyles = (nv, ov, el) => {
|
|
906
|
-
if (ov && isObject(ov)) {
|
|
904
|
+
if (ov && _.isObject(ov)) {
|
|
907
905
|
const keys = Object.keys(ov || {});
|
|
908
906
|
keys.forEach(function (key) {
|
|
909
907
|
setCSS(el, key, '');
|
|
910
908
|
});
|
|
911
909
|
}
|
|
912
|
-
if (nv && isObject(nv)) {
|
|
910
|
+
if (nv && _.isObject(nv)) {
|
|
913
911
|
setCSSFromObj(el, nv);
|
|
914
912
|
}
|
|
915
913
|
};
|
|
@@ -920,7 +918,7 @@ class BaseComponent {
|
|
|
920
918
|
get $element() {
|
|
921
919
|
return $(this.nativeElement);
|
|
922
920
|
}
|
|
923
|
-
constructor(inj, config,
|
|
921
|
+
constructor(inj, config, initPromise // Promise on which the initialization has to wait
|
|
924
922
|
) {
|
|
925
923
|
this.inj = inj;
|
|
926
924
|
this.isAttached = false;
|
|
@@ -952,7 +950,6 @@ class BaseComponent {
|
|
|
952
950
|
this.__cloneable__ = false;
|
|
953
951
|
this.$attrs = new Map();
|
|
954
952
|
this.isMuted = false;
|
|
955
|
-
this.customInjectorMap = {};
|
|
956
953
|
const elementRef = inj.get(ElementRef);
|
|
957
954
|
this.nativeElement = elementRef.nativeElement;
|
|
958
955
|
//making the code compatible in both the JIT and AOT modes
|
|
@@ -1020,9 +1017,6 @@ class BaseComponent {
|
|
|
1020
1017
|
this.setInitProps();
|
|
1021
1018
|
});
|
|
1022
1019
|
}
|
|
1023
|
-
if (explicitContext) {
|
|
1024
|
-
extend(this.context, explicitContext);
|
|
1025
|
-
}
|
|
1026
1020
|
}
|
|
1027
1021
|
getNativeElement() {
|
|
1028
1022
|
return this.nativeElement;
|
|
@@ -1095,8 +1089,8 @@ class BaseComponent {
|
|
|
1095
1089
|
}
|
|
1096
1090
|
if (parentContexts) {
|
|
1097
1091
|
let parentContextObj = {};
|
|
1098
|
-
if (isArray(parentContexts)) {
|
|
1099
|
-
forEach(parentContexts, (contextObj) => {
|
|
1092
|
+
if (_.isArray(parentContexts)) {
|
|
1093
|
+
_.forEach(parentContexts, (contextObj) => {
|
|
1100
1094
|
Object.assign(parentContextObj, contextObj);
|
|
1101
1095
|
});
|
|
1102
1096
|
}
|
|
@@ -1254,7 +1248,7 @@ class BaseComponent {
|
|
|
1254
1248
|
this.eventHandlers.set(this.getMappedEventName(eventName), { callback: eventCallback, locals });
|
|
1255
1249
|
// prepend eventName with on and convert it to camelcase.
|
|
1256
1250
|
// eg, "click" ---> onClick
|
|
1257
|
-
const onEventName = camelCase(`on-${eventName}`);
|
|
1251
|
+
const onEventName = _.camelCase(`on-${eventName}`);
|
|
1258
1252
|
// save the eventCallback in widgetScope.
|
|
1259
1253
|
this[onEventName] = eventCallback;
|
|
1260
1254
|
// events needs to be setup after viewInit
|
|
@@ -1336,7 +1330,7 @@ class BaseComponent {
|
|
|
1336
1330
|
if (_tNodeAttrs === null) {
|
|
1337
1331
|
return actualAttrs.sort();
|
|
1338
1332
|
}
|
|
1339
|
-
forEach(_tNodeAttrs, (attr, i) => {
|
|
1333
|
+
_.forEach(_tNodeAttrs, (attr, i) => {
|
|
1340
1334
|
if (typeof attr === 'number') {
|
|
1341
1335
|
return false;
|
|
1342
1336
|
}
|
|
@@ -1361,7 +1355,7 @@ class BaseComponent {
|
|
|
1361
1355
|
* Process the attributes
|
|
1362
1356
|
*/
|
|
1363
1357
|
processAttrs() {
|
|
1364
|
-
map(this.getAttributes(), (attrName) => {
|
|
1358
|
+
_.map(this.getAttributes(), (attrName) => {
|
|
1365
1359
|
let attrValue = this.nativeElement.attributes[attrName].value;
|
|
1366
1360
|
this.$attrs.set(attrName, attrValue);
|
|
1367
1361
|
this.processAttr(attrName, attrValue);
|
|
@@ -1437,16 +1431,6 @@ class BaseComponent {
|
|
|
1437
1431
|
unmute() {
|
|
1438
1432
|
this.isMuted = false;
|
|
1439
1433
|
}
|
|
1440
|
-
createCustomInjector(contextKey, context) {
|
|
1441
|
-
if (this.customInjectorMap[contextKey]) {
|
|
1442
|
-
return this.customInjectorMap[contextKey].injector;
|
|
1443
|
-
}
|
|
1444
|
-
const injector = Injector.create({
|
|
1445
|
-
providers: [{ provide: 'EXPLICIT_CONTEXT', useFactory: () => context }]
|
|
1446
|
-
});
|
|
1447
|
-
this.customInjectorMap[contextKey] = { context, injector };
|
|
1448
|
-
return injector;
|
|
1449
|
-
}
|
|
1450
1434
|
/**
|
|
1451
1435
|
* After the host page is attached from cache, this function is called.
|
|
1452
1436
|
*/
|
|
@@ -1490,26 +1474,21 @@ class BaseComponent {
|
|
|
1490
1474
|
this.destroy.complete();
|
|
1491
1475
|
this.isAttached = false;
|
|
1492
1476
|
}
|
|
1493
|
-
static { this.ɵfac = function BaseComponent_Factory(t) { return new (t || BaseComponent)(i0.ɵɵinject(i0.Injector), i0.ɵɵinject(WidgetConfig), i0.ɵɵinject(
|
|
1477
|
+
static { this.ɵfac = function BaseComponent_Factory(t) { return new (t || BaseComponent)(i0.ɵɵinject(i0.Injector), i0.ɵɵinject(WidgetConfig), i0.ɵɵinject(Promise)); }; }
|
|
1494
1478
|
static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: BaseComponent, factory: BaseComponent.ɵfac }); }
|
|
1495
1479
|
}
|
|
1496
|
-
(()
|
|
1480
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(BaseComponent, [{
|
|
1497
1481
|
type: Injectable
|
|
1498
|
-
}], ()
|
|
1482
|
+
}], function () { return [{ type: i0.Injector }, { type: undefined, decorators: [{
|
|
1499
1483
|
type: Inject,
|
|
1500
1484
|
args: [WidgetConfig]
|
|
1501
|
-
}] }, { type:
|
|
1502
|
-
type: Inject,
|
|
1503
|
-
args: ['EXPLICIT_CONTEXT']
|
|
1504
|
-
}, {
|
|
1505
|
-
type: Optional
|
|
1506
|
-
}] }, { type: Promise }], null); })();
|
|
1485
|
+
}] }, { type: Promise }]; }, null); })();
|
|
1507
1486
|
|
|
1508
1487
|
class StylableComponent extends BaseComponent {
|
|
1509
|
-
static { this.ɵfac = /*@__PURE__*/ (
|
|
1488
|
+
static { this.ɵfac = /*@__PURE__*/ function () { let ɵStylableComponent_BaseFactory; return function StylableComponent_Factory(t) { return (ɵStylableComponent_BaseFactory || (ɵStylableComponent_BaseFactory = i0.ɵɵgetInheritedFactory(StylableComponent)))(t || StylableComponent); }; }(); }
|
|
1510
1489
|
static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: StylableComponent, factory: StylableComponent.ɵfac }); }
|
|
1511
1490
|
}
|
|
1512
|
-
(()
|
|
1491
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(StylableComponent, [{
|
|
1513
1492
|
type: Injectable
|
|
1514
1493
|
}], null, null); })();
|
|
1515
1494
|
|
|
@@ -1527,26 +1506,26 @@ class RedrawableDirective {
|
|
|
1527
1506
|
static { this.ɵfac = function RedrawableDirective_Factory(t) { return new (t || RedrawableDirective)(i0.ɵɵdirectiveInject(WidgetRef, 2)); }; }
|
|
1528
1507
|
static { this.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: RedrawableDirective, selectors: [["", "redrawable", ""]] }); }
|
|
1529
1508
|
}
|
|
1530
|
-
(()
|
|
1509
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(RedrawableDirective, [{
|
|
1531
1510
|
type: Directive,
|
|
1532
1511
|
args: [{
|
|
1533
1512
|
selector: '[redrawable]'
|
|
1534
1513
|
}]
|
|
1535
|
-
}], ()
|
|
1514
|
+
}], function () { return [{ type: undefined, decorators: [{
|
|
1536
1515
|
type: Self
|
|
1537
1516
|
}, {
|
|
1538
1517
|
type: Inject,
|
|
1539
1518
|
args: [WidgetRef]
|
|
1540
|
-
}] }], null); })();
|
|
1519
|
+
}] }]; }, null); })();
|
|
1541
1520
|
|
|
1542
1521
|
class BaseContainerComponent extends StylableComponent {
|
|
1543
|
-
constructor(inj, WIDGET_CONFIG
|
|
1544
|
-
super(inj, WIDGET_CONFIG
|
|
1522
|
+
constructor(inj, WIDGET_CONFIG) {
|
|
1523
|
+
super(inj, WIDGET_CONFIG);
|
|
1545
1524
|
}
|
|
1546
1525
|
updateRedrawableComponents(widgets) {
|
|
1547
|
-
pickBy(widgets, widget => {
|
|
1526
|
+
_.pickBy(widgets, widget => {
|
|
1548
1527
|
// check for redrawable widget and whether it is already exist in reDrawableComponents query list or not
|
|
1549
|
-
if (widget && widget.nativeElement && widget.nativeElement.hasAttribute('redrawable') && !includes(this.reDrawableComponents._results, widget)) {
|
|
1528
|
+
if (widget && widget.nativeElement && widget.nativeElement.hasAttribute('redrawable') && !_.includes(this.reDrawableComponents._results, widget)) {
|
|
1550
1529
|
this.reDrawableComponents._results.push(widget);
|
|
1551
1530
|
}
|
|
1552
1531
|
if (widget && widget.Widgets) {
|
|
@@ -1581,9 +1560,9 @@ class BaseContainerComponent extends StylableComponent {
|
|
|
1581
1560
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.reDrawableComponents = _t);
|
|
1582
1561
|
} }, features: [i0.ɵɵInheritDefinitionFeature] }); }
|
|
1583
1562
|
}
|
|
1584
|
-
(()
|
|
1563
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(BaseContainerComponent, [{
|
|
1585
1564
|
type: Directive
|
|
1586
|
-
}], ()
|
|
1565
|
+
}], function () { return [{ type: i0.Injector }, { type: undefined }]; }, { reDrawableComponents: [{
|
|
1587
1566
|
type: ContentChildren,
|
|
1588
1567
|
args: [RedrawableDirective, { descendants: true }]
|
|
1589
1568
|
}] }); })();
|
|
@@ -1595,17 +1574,17 @@ const WIDGET_CONFIG$4 = {
|
|
|
1595
1574
|
};
|
|
1596
1575
|
class ContainerDirective extends BaseContainerComponent {
|
|
1597
1576
|
static { this.initializeProps = registerProps$4(); }
|
|
1598
|
-
constructor(inj
|
|
1599
|
-
super(inj, WIDGET_CONFIG$4
|
|
1577
|
+
constructor(inj) {
|
|
1578
|
+
super(inj, WIDGET_CONFIG$4);
|
|
1600
1579
|
addClass(this.nativeElement, DEFAULT_CLS$3);
|
|
1601
1580
|
styler(this.nativeElement, this, APPLY_STYLES_TYPE.CONTAINER);
|
|
1602
1581
|
}
|
|
1603
|
-
static { this.ɵfac = function ContainerDirective_Factory(t) { return new (t || ContainerDirective)(i0.ɵɵdirectiveInject(i0.Injector)
|
|
1582
|
+
static { this.ɵfac = function ContainerDirective_Factory(t) { return new (t || ContainerDirective)(i0.ɵɵdirectiveInject(i0.Injector)); }; }
|
|
1604
1583
|
static { this.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: ContainerDirective, selectors: [["", "wmContainer", ""]], features: [i0.ɵɵProvidersFeature([
|
|
1605
1584
|
provideAsWidgetRef(ContainerDirective)
|
|
1606
1585
|
]), i0.ɵɵInheritDefinitionFeature] }); }
|
|
1607
1586
|
}
|
|
1608
|
-
(()
|
|
1587
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ContainerDirective, [{
|
|
1609
1588
|
type: Directive,
|
|
1610
1589
|
args: [{
|
|
1611
1590
|
selector: '[wmContainer]',
|
|
@@ -1613,12 +1592,7 @@ class ContainerDirective extends BaseContainerComponent {
|
|
|
1613
1592
|
provideAsWidgetRef(ContainerDirective)
|
|
1614
1593
|
]
|
|
1615
1594
|
}]
|
|
1616
|
-
}], ()
|
|
1617
|
-
type: Inject,
|
|
1618
|
-
args: ['EXPLICIT_CONTEXT']
|
|
1619
|
-
}, {
|
|
1620
|
-
type: Optional
|
|
1621
|
-
}] }], null); })();
|
|
1595
|
+
}], function () { return [{ type: i0.Injector }]; }, null); })();
|
|
1622
1596
|
|
|
1623
1597
|
class ImagePipe {
|
|
1624
1598
|
transform(url, encode, defaultImageUrl) {
|
|
@@ -1627,7 +1601,7 @@ class ImagePipe {
|
|
|
1627
1601
|
static { this.ɵfac = function ImagePipe_Factory(t) { return new (t || ImagePipe)(); }; }
|
|
1628
1602
|
static { this.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "image", type: ImagePipe, pure: true }); }
|
|
1629
1603
|
}
|
|
1630
|
-
(()
|
|
1604
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ImagePipe, [{
|
|
1631
1605
|
type: Pipe,
|
|
1632
1606
|
args: [{
|
|
1633
1607
|
name: 'image'
|
|
@@ -1660,8 +1634,8 @@ class ItemTemplateDirective extends StylableComponent {
|
|
|
1660
1634
|
set wmItemTemplate(value) {
|
|
1661
1635
|
this.widget.content = value;
|
|
1662
1636
|
}
|
|
1663
|
-
constructor(inj, elRef, app
|
|
1664
|
-
super(inj, WIDGET_CONFIG$3
|
|
1637
|
+
constructor(inj, elRef, app) {
|
|
1638
|
+
super(inj, WIDGET_CONFIG$3);
|
|
1665
1639
|
this.app = app;
|
|
1666
1640
|
this.nativeElement = elRef.nativeElement;
|
|
1667
1641
|
// this.context = (<NgForOfContext<ItemTemplateDirective>>(<any>inj).view.context);
|
|
@@ -1671,12 +1645,12 @@ class ItemTemplateDirective extends StylableComponent {
|
|
|
1671
1645
|
super.ngOnInit();
|
|
1672
1646
|
this.partialParams.item = this.userComponentParams.dataObject;
|
|
1673
1647
|
}
|
|
1674
|
-
static { this.ɵfac = function ItemTemplateDirective_Factory(t) { return new (t || ItemTemplateDirective)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i1.App)
|
|
1648
|
+
static { this.ɵfac = function ItemTemplateDirective_Factory(t) { return new (t || ItemTemplateDirective)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i1.App)); }; }
|
|
1675
1649
|
static { this.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: ItemTemplateDirective, selectors: [["", "wmItemTemplate", ""]], inputs: { userComponentParams: "userComponentParams", wmItemTemplate: "wmItemTemplate" }, exportAs: ["itemTemplateRef"], features: [i0.ɵɵProvidersFeature([
|
|
1676
1650
|
provideAsWidgetRef(ItemTemplateDirective)
|
|
1677
1651
|
]), i0.ɵɵInheritDefinitionFeature] }); }
|
|
1678
1652
|
}
|
|
1679
|
-
(()
|
|
1653
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ItemTemplateDirective, [{
|
|
1680
1654
|
type: Directive,
|
|
1681
1655
|
args: [{
|
|
1682
1656
|
selector: '[wmItemTemplate]',
|
|
@@ -1685,12 +1659,7 @@ class ItemTemplateDirective extends StylableComponent {
|
|
|
1685
1659
|
provideAsWidgetRef(ItemTemplateDirective)
|
|
1686
1660
|
]
|
|
1687
1661
|
}]
|
|
1688
|
-
}], ()
|
|
1689
|
-
type: Inject,
|
|
1690
|
-
args: ['EXPLICIT_CONTEXT']
|
|
1691
|
-
}, {
|
|
1692
|
-
type: Optional
|
|
1693
|
-
}] }], { userComponentParams: [{
|
|
1662
|
+
}], function () { return [{ type: i0.Injector }, { type: i0.ElementRef }, { type: i1.App }]; }, { userComponentParams: [{
|
|
1694
1663
|
type: Input
|
|
1695
1664
|
}], wmItemTemplate: [{
|
|
1696
1665
|
type: Input
|
|
@@ -1709,35 +1678,29 @@ const WIDGET_CONFIG$2 = {
|
|
|
1709
1678
|
};
|
|
1710
1679
|
class RepeatTemplateDirective extends StylableComponent {
|
|
1711
1680
|
static { this.initializeProps = registerProps$2(); }
|
|
1712
|
-
constructor(inj
|
|
1713
|
-
super(inj, WIDGET_CONFIG$2
|
|
1681
|
+
constructor(inj) {
|
|
1682
|
+
super(inj, WIDGET_CONFIG$2);
|
|
1714
1683
|
styler(this.nativeElement, this);
|
|
1715
1684
|
}
|
|
1716
|
-
static { this.ɵfac = function RepeatTemplateDirective_Factory(t) { return new (t || RepeatTemplateDirective)(i0.ɵɵdirectiveInject(i0.Injector)
|
|
1685
|
+
static { this.ɵfac = function RepeatTemplateDirective_Factory(t) { return new (t || RepeatTemplateDirective)(i0.ɵɵdirectiveInject(i0.Injector)); }; }
|
|
1717
1686
|
static { this.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: RepeatTemplateDirective, selectors: [["", "wmRepeatTemplate", ""]], features: [i0.ɵɵInheritDefinitionFeature] }); }
|
|
1718
1687
|
}
|
|
1719
|
-
(()
|
|
1688
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(RepeatTemplateDirective, [{
|
|
1720
1689
|
type: Directive,
|
|
1721
1690
|
args: [{
|
|
1722
1691
|
selector: '[wmRepeatTemplate]'
|
|
1723
1692
|
}]
|
|
1724
|
-
}], ()
|
|
1725
|
-
type: Inject,
|
|
1726
|
-
args: ['EXPLICIT_CONTEXT']
|
|
1727
|
-
}, {
|
|
1728
|
-
type: Optional
|
|
1729
|
-
}] }], null); })();
|
|
1693
|
+
}], function () { return [{ type: i0.Injector }]; }, null); })();
|
|
1730
1694
|
|
|
1731
1695
|
class LazyLoadDirective {
|
|
1732
|
-
constructor(inj, templateRef, viewContainer
|
|
1696
|
+
constructor(inj, templateRef, viewContainer) {
|
|
1733
1697
|
this.templateRef = templateRef;
|
|
1734
1698
|
this.viewContainer = viewContainer;
|
|
1735
|
-
this.context = {};
|
|
1736
1699
|
let viewParentApp = inj ? inj.get(App) : inject(App);
|
|
1737
1700
|
let lView = inj._lView;
|
|
1738
1701
|
this.viewParent = findParent(lView, viewParentApp);
|
|
1739
1702
|
//this.context = (inj as any).view.context;
|
|
1740
|
-
|
|
1703
|
+
this.context = inj._lView[8];
|
|
1741
1704
|
}
|
|
1742
1705
|
set lazyLoad(expr) {
|
|
1743
1706
|
this.unSubscribeFn = $watch(expr, this.viewParent, this.context, (val) => {
|
|
@@ -1750,20 +1713,15 @@ class LazyLoadDirective {
|
|
|
1750
1713
|
ngOnDestroy() {
|
|
1751
1714
|
this.unSubscribeFn();
|
|
1752
1715
|
}
|
|
1753
|
-
static { this.ɵfac = function LazyLoadDirective_Factory(t) { return new (t || LazyLoadDirective)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(i0.TemplateRef), i0.ɵɵdirectiveInject(i0.ViewContainerRef)
|
|
1716
|
+
static { this.ɵfac = function LazyLoadDirective_Factory(t) { return new (t || LazyLoadDirective)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(i0.TemplateRef), i0.ɵɵdirectiveInject(i0.ViewContainerRef)); }; }
|
|
1754
1717
|
static { this.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: LazyLoadDirective, selectors: [["", "lazyLoad", ""]], inputs: { lazyLoad: "lazyLoad" } }); }
|
|
1755
1718
|
}
|
|
1756
|
-
(()
|
|
1719
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LazyLoadDirective, [{
|
|
1757
1720
|
type: Directive,
|
|
1758
1721
|
args: [{
|
|
1759
1722
|
selector: '[lazyLoad]'
|
|
1760
1723
|
}]
|
|
1761
|
-
}], ()
|
|
1762
|
-
type: Inject,
|
|
1763
|
-
args: ['EXPLICIT_CONTEXT']
|
|
1764
|
-
}, {
|
|
1765
|
-
type: Optional
|
|
1766
|
-
}] }], { lazyLoad: [{
|
|
1724
|
+
}], function () { return [{ type: i0.Injector }, { type: i0.TemplateRef }, { type: i0.ViewContainerRef }]; }, { lazyLoad: [{
|
|
1767
1725
|
type: Input
|
|
1768
1726
|
}] }); })();
|
|
1769
1727
|
|
|
@@ -1784,8 +1742,8 @@ const DEFAULT_CLS$1 = 'alert app-message';
|
|
|
1784
1742
|
const WIDGET_CONFIG$1 = { widgetType: 'wm-message', hostClass: DEFAULT_CLS$1 };
|
|
1785
1743
|
class MessageComponent extends StylableComponent {
|
|
1786
1744
|
static { this.initializeProps = registerProps$1(); }
|
|
1787
|
-
constructor(inj
|
|
1788
|
-
super(inj, WIDGET_CONFIG$1
|
|
1745
|
+
constructor(inj) {
|
|
1746
|
+
super(inj, WIDGET_CONFIG$1);
|
|
1789
1747
|
this.messageClass = '';
|
|
1790
1748
|
this.messageIconClass = '';
|
|
1791
1749
|
this.type = '';
|
|
@@ -1844,10 +1802,10 @@ class MessageComponent extends StylableComponent {
|
|
|
1844
1802
|
super.onPropertyChange(key, nv, ov);
|
|
1845
1803
|
}
|
|
1846
1804
|
}
|
|
1847
|
-
static { this.ɵfac = function MessageComponent_Factory(t) { return new (t || MessageComponent)(i0.ɵɵdirectiveInject(i0.Injector)
|
|
1805
|
+
static { this.ɵfac = function MessageComponent_Factory(t) { return new (t || MessageComponent)(i0.ɵɵdirectiveInject(i0.Injector)); }; }
|
|
1848
1806
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MessageComponent, selectors: [["", "wmMessage", ""]], exportAs: ["wmMessage"], features: [i0.ɵɵProvidersFeature([
|
|
1849
1807
|
provideAsWidgetRef(MessageComponent)
|
|
1850
|
-
]), i0.ɵɵ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, "
|
|
1808
|
+
]), i0.ɵɵ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) {
|
|
1851
1809
|
i0.ɵɵelement(0, "i", 0)(1, "span", 1);
|
|
1852
1810
|
i0.ɵɵelementStart(2, "button", 2);
|
|
1853
1811
|
i0.ɵɵlistener("click", function MessageComponent_Template_button_click_2_listener($event) { return ctx.dismiss($event); });
|
|
@@ -1857,24 +1815,18 @@ class MessageComponent extends StylableComponent {
|
|
|
1857
1815
|
} if (rf & 2) {
|
|
1858
1816
|
i0.ɵɵclassMapInterpolate2("icon ", ctx.type, " ", ctx.messageIconClass, "");
|
|
1859
1817
|
i0.ɵɵproperty("title", ctx.type + "Alert");
|
|
1860
|
-
i0.ɵɵadvance();
|
|
1818
|
+
i0.ɵɵadvance(1);
|
|
1861
1819
|
i0.ɵɵproperty("innerHtml", ctx.caption, i0.ɵɵsanitizeHtml);
|
|
1862
|
-
i0.ɵɵadvance();
|
|
1820
|
+
i0.ɵɵadvance(1);
|
|
1863
1821
|
i0.ɵɵproperty("hidden", ctx.hideclose);
|
|
1864
1822
|
} }, encapsulation: 2 }); }
|
|
1865
1823
|
}
|
|
1866
|
-
(()
|
|
1824
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MessageComponent, [{
|
|
1867
1825
|
type: Component,
|
|
1868
1826
|
args: [{ selector: '[wmMessage]', providers: [
|
|
1869
1827
|
provideAsWidgetRef(MessageComponent)
|
|
1870
1828
|
], 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" }]
|
|
1871
|
-
}], ()
|
|
1872
|
-
type: Inject,
|
|
1873
|
-
args: ['EXPLICIT_CONTEXT']
|
|
1874
|
-
}, {
|
|
1875
|
-
type: Optional
|
|
1876
|
-
}] }], null); })();
|
|
1877
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MessageComponent, { className: "MessageComponent", filePath: "widgets/common/message/message.component.ts", lineNumber: 22 }); })();
|
|
1829
|
+
}], function () { return [{ type: i0.Injector }]; }, null); })();
|
|
1878
1830
|
|
|
1879
1831
|
const registerProps = () => {
|
|
1880
1832
|
register$1('wm-partial', new Map([
|
|
@@ -1886,14 +1838,14 @@ const DEFAULT_CLS = 'app-partial clearfix';
|
|
|
1886
1838
|
const WIDGET_CONFIG = { widgetType: 'wm-partial', hostClass: DEFAULT_CLS };
|
|
1887
1839
|
class PartialDirective extends StylableComponent {
|
|
1888
1840
|
static { this.initializeProps = registerProps(); }
|
|
1889
|
-
constructor(inj, viewport
|
|
1890
|
-
super(inj, WIDGET_CONFIG
|
|
1841
|
+
constructor(inj, viewport) {
|
|
1842
|
+
super(inj, WIDGET_CONFIG);
|
|
1891
1843
|
this.viewport = viewport;
|
|
1892
1844
|
this.registerDestroyListener(this.viewport.subscribe("resize" /* ViewportEvent.RESIZE */, data => this.callback('resize', data)));
|
|
1893
1845
|
this.registerDestroyListener(this.viewport.subscribe("orientationchange" /* ViewportEvent.ORIENTATION_CHANGE */, data => this.callback('orientationchange', data)));
|
|
1894
1846
|
}
|
|
1895
1847
|
callback(eventName, locals) {
|
|
1896
|
-
locals = assign({ widget: this }, locals);
|
|
1848
|
+
locals = _.assign({ widget: this }, locals);
|
|
1897
1849
|
this.invokeEventCallback(eventName, locals);
|
|
1898
1850
|
}
|
|
1899
1851
|
ngOnAttach() {
|
|
@@ -1906,12 +1858,12 @@ class PartialDirective extends StylableComponent {
|
|
|
1906
1858
|
this.callback('destroy');
|
|
1907
1859
|
super.ngOnDestroy();
|
|
1908
1860
|
}
|
|
1909
|
-
static { this.ɵfac = function PartialDirective_Factory(t) { return new (t || PartialDirective)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(i1.Viewport)
|
|
1861
|
+
static { this.ɵfac = function PartialDirective_Factory(t) { return new (t || PartialDirective)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(i1.Viewport)); }; }
|
|
1910
1862
|
static { this.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: PartialDirective, selectors: [["", "wmPartial", ""]], features: [i0.ɵɵProvidersFeature([
|
|
1911
1863
|
provideAsWidgetRef(PartialDirective)
|
|
1912
1864
|
]), i0.ɵɵInheritDefinitionFeature] }); }
|
|
1913
1865
|
}
|
|
1914
|
-
(()
|
|
1866
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PartialDirective, [{
|
|
1915
1867
|
type: Directive,
|
|
1916
1868
|
args: [{
|
|
1917
1869
|
selector: '[wmPartial]',
|
|
@@ -1919,12 +1871,7 @@ class PartialDirective extends StylableComponent {
|
|
|
1919
1871
|
provideAsWidgetRef(PartialDirective)
|
|
1920
1872
|
]
|
|
1921
1873
|
}]
|
|
1922
|
-
}], ()
|
|
1923
|
-
type: Inject,
|
|
1924
|
-
args: ['EXPLICIT_CONTEXT']
|
|
1925
|
-
}, {
|
|
1926
|
-
type: Optional
|
|
1927
|
-
}] }], null); })();
|
|
1874
|
+
}], function () { return [{ type: i0.Injector }, { type: i1.Viewport }]; }, null); })();
|
|
1928
1875
|
|
|
1929
1876
|
class PartialParamHandlerDirective {
|
|
1930
1877
|
constructor(widgetRef) {
|
|
@@ -1938,7 +1885,7 @@ class PartialParamHandlerDirective {
|
|
|
1938
1885
|
if (!value && bindExpr) {
|
|
1939
1886
|
this.widgetRef.registerDestroyListener(
|
|
1940
1887
|
//[Todo-CSP]: expr fn should be generated be default
|
|
1941
|
-
$watch(bindExpr, this.widgetRef.getViewParent(), get(this.widgetRef, 'context'), nv => {
|
|
1888
|
+
$watch(bindExpr, this.widgetRef.getViewParent(), _.get(this.widgetRef, 'context'), nv => {
|
|
1942
1889
|
this.widgetRef.partialParams[name] = nv;
|
|
1943
1890
|
// notify the partial container of the param changes
|
|
1944
1891
|
this.widgetRef.params$.next();
|
|
@@ -1951,17 +1898,17 @@ class PartialParamHandlerDirective {
|
|
|
1951
1898
|
static { this.ɵfac = function PartialParamHandlerDirective_Factory(t) { return new (t || PartialParamHandlerDirective)(i0.ɵɵdirectiveInject(WidgetRef, 2)); }; }
|
|
1952
1899
|
static { this.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: PartialParamHandlerDirective, selectors: [["", "partialContainer", ""]] }); }
|
|
1953
1900
|
}
|
|
1954
|
-
(()
|
|
1901
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PartialParamHandlerDirective, [{
|
|
1955
1902
|
type: Directive,
|
|
1956
1903
|
args: [{
|
|
1957
1904
|
selector: '[partialContainer]',
|
|
1958
1905
|
}]
|
|
1959
|
-
}], ()
|
|
1906
|
+
}], function () { return [{ type: undefined, decorators: [{
|
|
1960
1907
|
type: Self
|
|
1961
1908
|
}, {
|
|
1962
1909
|
type: Inject,
|
|
1963
1910
|
args: [WidgetRef]
|
|
1964
|
-
}] }], null); })();
|
|
1911
|
+
}] }]; }, null); })();
|
|
1965
1912
|
class PartialParamDirective {
|
|
1966
1913
|
constructor(bindValue, type, partialParamsProvider) {
|
|
1967
1914
|
this.bindValue = bindValue;
|
|
@@ -1974,18 +1921,18 @@ class PartialParamDirective {
|
|
|
1974
1921
|
static { this.ɵfac = function PartialParamDirective_Factory(t) { return new (t || PartialParamDirective)(i0.ɵɵinjectAttribute('value.bind'), i0.ɵɵinjectAttribute('type'), i0.ɵɵdirectiveInject(PartialParamHandlerDirective)); }; }
|
|
1975
1922
|
static { this.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: PartialParamDirective, selectors: [["", "wmParam", ""]], inputs: { name: "name", value: "value" } }); }
|
|
1976
1923
|
}
|
|
1977
|
-
(()
|
|
1924
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PartialParamDirective, [{
|
|
1978
1925
|
type: Directive,
|
|
1979
1926
|
args: [{
|
|
1980
1927
|
selector: '[wmParam]',
|
|
1981
1928
|
}]
|
|
1982
|
-
}], ()
|
|
1929
|
+
}], function () { return [{ type: undefined, decorators: [{
|
|
1983
1930
|
type: Attribute,
|
|
1984
1931
|
args: ['value.bind']
|
|
1985
1932
|
}] }, { type: undefined, decorators: [{
|
|
1986
1933
|
type: Attribute,
|
|
1987
1934
|
args: ['type']
|
|
1988
|
-
}] }, { type: PartialParamHandlerDirective }], { name: [{
|
|
1935
|
+
}] }, { type: PartialParamHandlerDirective }]; }, { name: [{
|
|
1989
1936
|
type: Input
|
|
1990
1937
|
}], value: [{
|
|
1991
1938
|
type: Input
|
|
@@ -2038,7 +1985,7 @@ class PartialContainerDirective {
|
|
|
2038
1985
|
this.resolver = resolver;
|
|
2039
1986
|
this.partialRefProvider = partialRefProvider;
|
|
2040
1987
|
this.contentInitialized = false;
|
|
2041
|
-
this.renderPartial = debounce(this._renderPartial, 200);
|
|
1988
|
+
this.renderPartial = _.debounce(this._renderPartial, 200);
|
|
2042
1989
|
componentInstance.registerPropertyChangeListener((key, nv, ov) => {
|
|
2043
1990
|
if (key === 'content') {
|
|
2044
1991
|
if (componentInstance.$lazyLoad) {
|
|
@@ -2061,12 +2008,12 @@ class PartialContainerDirective {
|
|
|
2061
2008
|
static { this.ɵfac = function PartialContainerDirective_Factory(t) { return new (t || PartialContainerDirective)(i0.ɵɵdirectiveInject(WidgetRef, 2), i0.ɵɵdirectiveInject(i0.ViewContainerRef), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(i1.App), i0.ɵɵinjectAttribute('content'), i0.ɵɵdirectiveInject(i0.ComponentFactoryResolver), i0.ɵɵdirectiveInject(i1.PartialRefProvider)); }; }
|
|
2062
2009
|
static { this.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: PartialContainerDirective, selectors: [["", "partialContainer", ""]] }); }
|
|
2063
2010
|
}
|
|
2064
|
-
(()
|
|
2011
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PartialContainerDirective, [{
|
|
2065
2012
|
type: Directive,
|
|
2066
2013
|
args: [{
|
|
2067
2014
|
selector: '[partialContainer]'
|
|
2068
2015
|
}]
|
|
2069
|
-
}], ()
|
|
2016
|
+
}], function () { return [{ type: undefined, decorators: [{
|
|
2070
2017
|
type: Self
|
|
2071
2018
|
}, {
|
|
2072
2019
|
type: Inject,
|
|
@@ -2074,14 +2021,16 @@ class PartialContainerDirective {
|
|
|
2074
2021
|
}] }, { type: i0.ViewContainerRef }, { type: i0.ElementRef }, { type: i0.Injector }, { type: i1.App }, { type: undefined, decorators: [{
|
|
2075
2022
|
type: Attribute,
|
|
2076
2023
|
args: ['content']
|
|
2077
|
-
}] }, { type: i0.ComponentFactoryResolver }, { type: i1.PartialRefProvider }], null); })();
|
|
2024
|
+
}] }, { type: i0.ComponentFactoryResolver }, { type: i1.PartialRefProvider }]; }, null); })();
|
|
2078
2025
|
|
|
2079
2026
|
class ShowInDeviceDirective {
|
|
2080
|
-
constructor(viewContainerRef, inj, templateRef
|
|
2027
|
+
constructor(elRef, widget, viewContainerRef, inj, templateRef) {
|
|
2028
|
+
this.elRef = elRef;
|
|
2029
|
+
this.widget = widget;
|
|
2081
2030
|
this.viewContainerRef = viewContainerRef;
|
|
2082
2031
|
this.templateRef = templateRef;
|
|
2083
|
-
this.context =
|
|
2084
|
-
|
|
2032
|
+
//this.context = (inj as any).view.context;
|
|
2033
|
+
this.context = inj._lView[8];
|
|
2085
2034
|
window.addEventListener('resize', this.onResize.bind(this));
|
|
2086
2035
|
}
|
|
2087
2036
|
set wmShowInDevice(devices) {
|
|
@@ -2126,20 +2075,18 @@ class ShowInDeviceDirective {
|
|
|
2126
2075
|
ngOnDestroy() {
|
|
2127
2076
|
window.removeEventListener('resize', this.onResize);
|
|
2128
2077
|
}
|
|
2129
|
-
static { this.ɵfac = function ShowInDeviceDirective_Factory(t) { return new (t || ShowInDeviceDirective)(i0.ɵɵdirectiveInject(i0.
|
|
2078
|
+
static { this.ɵfac = function ShowInDeviceDirective_Factory(t) { return new (t || ShowInDeviceDirective)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(WidgetRef), i0.ɵɵdirectiveInject(i0.ViewContainerRef), i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(i0.TemplateRef)); }; }
|
|
2130
2079
|
static { this.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: ShowInDeviceDirective, selectors: [["", "wmShowInDevice", ""]], inputs: { wmShowInDevice: "wmShowInDevice" } }); }
|
|
2131
2080
|
}
|
|
2132
|
-
(()
|
|
2081
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ShowInDeviceDirective, [{
|
|
2133
2082
|
type: Directive,
|
|
2134
2083
|
args: [{
|
|
2135
2084
|
selector: '[wmShowInDevice]'
|
|
2136
2085
|
}]
|
|
2137
|
-
}], ()
|
|
2086
|
+
}], function () { return [{ type: i0.ElementRef }, { type: BaseComponent, decorators: [{
|
|
2138
2087
|
type: Inject,
|
|
2139
|
-
args: [
|
|
2140
|
-
}, {
|
|
2141
|
-
type: Optional
|
|
2142
|
-
}] }], { wmShowInDevice: [{
|
|
2088
|
+
args: [WidgetRef]
|
|
2089
|
+
}] }, { type: i0.ViewContainerRef }, { type: i0.Injector }, { type: i0.TemplateRef }]; }, { wmShowInDevice: [{
|
|
2143
2090
|
type: Input
|
|
2144
2091
|
}] }); })();
|
|
2145
2092
|
|
|
@@ -2199,9 +2146,9 @@ class SmoothScrollDirective {
|
|
|
2199
2146
|
preventDefault: false,
|
|
2200
2147
|
momentum: true,
|
|
2201
2148
|
bounce: false,
|
|
2202
|
-
mouseWheel: true,
|
|
2203
|
-
disablePointer: true,
|
|
2204
|
-
disableTouch: false,
|
|
2149
|
+
mouseWheel: true,
|
|
2150
|
+
disablePointer: true,
|
|
2151
|
+
disableTouch: false,
|
|
2205
2152
|
disableMouse: false // false to be usable with a mouse (desktop)
|
|
2206
2153
|
}, el = this._$el[0];
|
|
2207
2154
|
if (!el.children.length) {
|
|
@@ -2229,8 +2176,8 @@ class SmoothScrollDirective {
|
|
|
2229
2176
|
let iScroll = new IScroll(el, scrollOptions);
|
|
2230
2177
|
if ($events) {
|
|
2231
2178
|
// map all events on previous iscroll to the newly created iscroll.
|
|
2232
|
-
forEach($events, (listeners, key) => {
|
|
2233
|
-
forEach(listeners, l => {
|
|
2179
|
+
_.forEach($events, (listeners, key) => {
|
|
2180
|
+
_.forEach(listeners, l => {
|
|
2234
2181
|
iScroll.on(key, l);
|
|
2235
2182
|
});
|
|
2236
2183
|
});
|
|
@@ -2259,7 +2206,7 @@ class SmoothScrollDirective {
|
|
|
2259
2206
|
}
|
|
2260
2207
|
};
|
|
2261
2208
|
this._$el[0].iscroll = iScroll;
|
|
2262
|
-
forEach(this.pendingIscrolls, (_el, index) => {
|
|
2209
|
+
_.forEach(this.pendingIscrolls, (_el, index) => {
|
|
2263
2210
|
if (_el.isSameNode(this._$el[0])) {
|
|
2264
2211
|
this.app.notify('iscroll-update', { el: _el });
|
|
2265
2212
|
this.pendingIscrolls.splice(index, 1);
|
|
@@ -2297,7 +2244,7 @@ class SmoothScrollDirective {
|
|
|
2297
2244
|
}
|
|
2298
2245
|
// Check for scrollable content and if smoothscroll-container div is already added.
|
|
2299
2246
|
if (iScroll.wrapper
|
|
2300
|
-
&& !includes(iScroll.wrapper.children[0].classList, 'smoothscroll-container')
|
|
2247
|
+
&& !_.includes(iScroll.wrapper.children[0].classList, 'smoothscroll-container')
|
|
2301
2248
|
&& iScroll.wrapper.scrollHeight > iScroll.wrapper.clientHeight) {
|
|
2302
2249
|
const cloneEvents = iScroll._events;
|
|
2303
2250
|
const prevActiveEl = document.activeElement;
|
|
@@ -2319,12 +2266,12 @@ class SmoothScrollDirective {
|
|
|
2319
2266
|
static { this.ɵfac = function SmoothScrollDirective_Factory(t) { return new (t || SmoothScrollDirective)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i1.App)); }; }
|
|
2320
2267
|
static { this.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: SmoothScrollDirective, selectors: [["", "wmSmoothscroll", ""]], inputs: { wmSmoothscroll: "wmSmoothscroll" } }); }
|
|
2321
2268
|
}
|
|
2322
|
-
(()
|
|
2269
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SmoothScrollDirective, [{
|
|
2323
2270
|
type: Directive,
|
|
2324
2271
|
args: [{
|
|
2325
2272
|
selector: '[wmSmoothscroll]'
|
|
2326
2273
|
}]
|
|
2327
|
-
}], ()
|
|
2274
|
+
}], function () { return [{ type: i0.Injector }, { type: i0.ElementRef }, { type: i1.App }]; }, { wmSmoothscroll: [{
|
|
2328
2275
|
type: Input
|
|
2329
2276
|
}] }); })();
|
|
2330
2277
|
/**
|
|
@@ -2357,7 +2304,7 @@ const refreshIscrolls = function (iScroll) {
|
|
|
2357
2304
|
}
|
|
2358
2305
|
};
|
|
2359
2306
|
// on window resize, recalculate the iscroll position and refresh scrollers.
|
|
2360
|
-
window.addEventListener('resize', debounce
|
|
2307
|
+
window.addEventListener('resize', debounce(refreshIscrolls, 200));
|
|
2361
2308
|
|
|
2362
2309
|
class TextContentDirective {
|
|
2363
2310
|
set textContent(nv) {
|
|
@@ -2373,12 +2320,12 @@ class TextContentDirective {
|
|
|
2373
2320
|
static { this.ɵfac = function TextContentDirective_Factory(t) { return new (t || TextContentDirective)(i0.ɵɵdirectiveInject(i0.ElementRef)); }; }
|
|
2374
2321
|
static { this.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: TextContentDirective, selectors: [["", "textContent", ""]], inputs: { textContent: "textContent" } }); }
|
|
2375
2322
|
}
|
|
2376
|
-
(()
|
|
2323
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TextContentDirective, [{
|
|
2377
2324
|
type: Directive,
|
|
2378
2325
|
args: [{
|
|
2379
2326
|
selector: '[textContent]'
|
|
2380
2327
|
}]
|
|
2381
|
-
}], ()
|
|
2328
|
+
}], function () { return [{ type: i0.ElementRef }]; }, { textContent: [{
|
|
2382
2329
|
type: Input
|
|
2383
2330
|
}] }); })();
|
|
2384
2331
|
|
|
@@ -2387,7 +2334,7 @@ class WmPipe {
|
|
|
2387
2334
|
this.pipeName = pipeName;
|
|
2388
2335
|
this.customPipeManager = customPipeManager;
|
|
2389
2336
|
this.pipeRef = this.customPipeManager ? this.customPipeManager.getCustomPipe(pipeName) : null;
|
|
2390
|
-
this.isCustomPipe = this.pipeRef && isFunction(this.pipeRef.formatter);
|
|
2337
|
+
this.isCustomPipe = this.pipeRef && _.isFunction(this.pipeRef.formatter);
|
|
2391
2338
|
}
|
|
2392
2339
|
customFormatter(data, args) {
|
|
2393
2340
|
try {
|
|
@@ -2402,7 +2349,7 @@ class WmPipe {
|
|
|
2402
2349
|
const getEpochValue = data => {
|
|
2403
2350
|
let epoch;
|
|
2404
2351
|
// For data in form of string number ('123'), convert to number (123). And don't parse date objects.
|
|
2405
|
-
if (!isDate(data) && !isNaN(data)) {
|
|
2352
|
+
if (!_.isDate(data) && !isNaN(data)) {
|
|
2406
2353
|
data = parseInt(data, 10);
|
|
2407
2354
|
}
|
|
2408
2355
|
// get the timestamp value. If data is time string, append date string to the time value
|
|
@@ -2421,12 +2368,12 @@ class TrailingZeroDecimalPipe {
|
|
|
2421
2368
|
static { this.ɵfac = function TrailingZeroDecimalPipe_Factory(t) { return new (t || TrailingZeroDecimalPipe)(i0.ɵɵdirectiveInject(i1$1.DecimalPipe, 16)); }; }
|
|
2422
2369
|
static { this.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "trailingZeroDecimalPipe", type: TrailingZeroDecimalPipe, pure: true }); }
|
|
2423
2370
|
}
|
|
2424
|
-
(()
|
|
2371
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TrailingZeroDecimalPipe, [{
|
|
2425
2372
|
type: Pipe,
|
|
2426
2373
|
args: [{
|
|
2427
2374
|
name: 'trailingZeroDecimalPipe'
|
|
2428
2375
|
}]
|
|
2429
|
-
}], ()
|
|
2376
|
+
}], function () { return [{ type: i1$1.DecimalPipe }]; }, null); })();
|
|
2430
2377
|
class ToDatePipe extends WmPipe {
|
|
2431
2378
|
// This method calls the custom formatter fn after applying the exisitng date pattern
|
|
2432
2379
|
returnFn(data, args) {
|
|
@@ -2476,18 +2423,18 @@ class ToDatePipe extends WmPipe {
|
|
|
2476
2423
|
static { this.ɵfac = function ToDatePipe_Factory(t) { return new (t || ToDatePipe)(i0.ɵɵdirectiveInject(i1$1.DatePipe, 16), i0.ɵɵdirectiveInject(i1.AbstractI18nService, 16), i0.ɵɵdirectiveInject(i1.CustomPipeManager, 16)); }; }
|
|
2477
2424
|
static { this.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "toDate", type: ToDatePipe, pure: true }); }
|
|
2478
2425
|
}
|
|
2479
|
-
(()
|
|
2426
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ToDatePipe, [{
|
|
2480
2427
|
type: Pipe,
|
|
2481
2428
|
args: [{
|
|
2482
2429
|
name: 'toDate'
|
|
2483
2430
|
}]
|
|
2484
|
-
}], ()
|
|
2431
|
+
}], function () { return [{ type: i1$1.DatePipe }, { type: i1.AbstractI18nService }, { type: i1.CustomPipeManager }]; }, null); })();
|
|
2485
2432
|
class ToNumberPipe {
|
|
2486
2433
|
transform(data, fracSize) {
|
|
2487
2434
|
if (fracSize && !String(fracSize).match(/^(\d+)?\.((\d+)(-(\d+))?)?$/)) {
|
|
2488
2435
|
fracSize = '1.' + fracSize + '-' + fracSize;
|
|
2489
2436
|
}
|
|
2490
|
-
if (!isNaN(+data)) {
|
|
2437
|
+
if (!_.isNaN(+data)) {
|
|
2491
2438
|
const locale = this.i18nService && this.i18nService.getwidgetLocale() ? this.i18nService.getwidgetLocale() : undefined;
|
|
2492
2439
|
const formattedLocale = locale ? locale['number'] : null;
|
|
2493
2440
|
return this.decimalPipe.transform(data, fracSize, formattedLocale);
|
|
@@ -2500,20 +2447,20 @@ class ToNumberPipe {
|
|
|
2500
2447
|
static { this.ɵfac = function ToNumberPipe_Factory(t) { return new (t || ToNumberPipe)(i0.ɵɵdirectiveInject(i1$1.DecimalPipe, 16), i0.ɵɵdirectiveInject(AbstractI18nService, 16)); }; }
|
|
2501
2448
|
static { this.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "toNumber", type: ToNumberPipe, pure: true }); }
|
|
2502
2449
|
}
|
|
2503
|
-
(()
|
|
2450
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ToNumberPipe, [{
|
|
2504
2451
|
type: Pipe,
|
|
2505
2452
|
args: [{
|
|
2506
2453
|
name: 'toNumber'
|
|
2507
2454
|
}]
|
|
2508
|
-
}], ()
|
|
2455
|
+
}], function () { return [{ type: i1$1.DecimalPipe }, { type: i1.AbstractI18nService, decorators: [{
|
|
2509
2456
|
type: Inject,
|
|
2510
2457
|
args: [AbstractI18nService]
|
|
2511
|
-
}] }], null); })();
|
|
2458
|
+
}] }]; }, null); })();
|
|
2512
2459
|
class ToCurrencyPipe {
|
|
2513
2460
|
transform(data, currencySymbol, fracSize) {
|
|
2514
2461
|
const _currencySymbol = (CURRENCY_INFO[currencySymbol] || {}).symbol || currencySymbol || '';
|
|
2515
2462
|
let _val = new ToNumberPipe(this.decimalPipe, this.i18nService).transform(data, fracSize);
|
|
2516
|
-
const isNegativeNumber = startsWith(_val, '-');
|
|
2463
|
+
const isNegativeNumber = _.startsWith(_val, '-');
|
|
2517
2464
|
if (isNegativeNumber) {
|
|
2518
2465
|
_val = _val.replace('-', '');
|
|
2519
2466
|
}
|
|
@@ -2526,23 +2473,23 @@ class ToCurrencyPipe {
|
|
|
2526
2473
|
static { this.ɵfac = function ToCurrencyPipe_Factory(t) { return new (t || ToCurrencyPipe)(i0.ɵɵdirectiveInject(i1$1.DecimalPipe, 16), i0.ɵɵdirectiveInject(AbstractI18nService, 16)); }; }
|
|
2527
2474
|
static { this.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "toCurrency", type: ToCurrencyPipe, pure: true }); }
|
|
2528
2475
|
}
|
|
2529
|
-
(()
|
|
2476
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ToCurrencyPipe, [{
|
|
2530
2477
|
type: Pipe,
|
|
2531
2478
|
args: [{
|
|
2532
2479
|
name: 'toCurrency'
|
|
2533
2480
|
}]
|
|
2534
|
-
}], ()
|
|
2481
|
+
}], function () { return [{ type: i1$1.DecimalPipe }, { type: i1.AbstractI18nService, decorators: [{
|
|
2535
2482
|
type: Inject,
|
|
2536
2483
|
args: [AbstractI18nService]
|
|
2537
|
-
}] }], null); })();
|
|
2484
|
+
}] }]; }, null); })();
|
|
2538
2485
|
class PrefixPipe {
|
|
2539
2486
|
transform(data, padding) {
|
|
2540
|
-
return (isUndefined(data) || data === null || data === '') ? data : ((padding || '') + data);
|
|
2487
|
+
return (_.isUndefined(data) || data === null || data === '') ? data : ((padding || '') + data);
|
|
2541
2488
|
}
|
|
2542
2489
|
static { this.ɵfac = function PrefixPipe_Factory(t) { return new (t || PrefixPipe)(); }; }
|
|
2543
2490
|
static { this.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "prefix", type: PrefixPipe, pure: true }); }
|
|
2544
2491
|
}
|
|
2545
|
-
(()
|
|
2492
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PrefixPipe, [{
|
|
2546
2493
|
type: Pipe,
|
|
2547
2494
|
args: [{
|
|
2548
2495
|
name: 'prefix'
|
|
@@ -2550,12 +2497,12 @@ class PrefixPipe {
|
|
|
2550
2497
|
}], null, null); })();
|
|
2551
2498
|
class SuffixPipe {
|
|
2552
2499
|
transform(data, padding) {
|
|
2553
|
-
return (isUndefined(data) || data === null || data === '') ? data : (data + (padding || ''));
|
|
2500
|
+
return (_.isUndefined(data) || data === null || data === '') ? data : (data + (padding || ''));
|
|
2554
2501
|
}
|
|
2555
2502
|
static { this.ɵfac = function SuffixPipe_Factory(t) { return new (t || SuffixPipe)(); }; }
|
|
2556
2503
|
static { this.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "suffix", type: SuffixPipe, pure: true }); }
|
|
2557
2504
|
}
|
|
2558
|
-
(()
|
|
2505
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SuffixPipe, [{
|
|
2559
2506
|
type: Pipe,
|
|
2560
2507
|
args: [{
|
|
2561
2508
|
name: 'suffix'
|
|
@@ -2574,7 +2521,7 @@ class CustomPipe {
|
|
|
2574
2521
|
argumentArr.push(arguments[i]);
|
|
2575
2522
|
}
|
|
2576
2523
|
let pipeRef = this.custmeUserPipe.getCustomPipe(pipename);
|
|
2577
|
-
if (!pipeRef || !isFunction(pipeRef.formatter)) {
|
|
2524
|
+
if (!pipeRef || !_.isFunction(pipeRef.formatter)) {
|
|
2578
2525
|
console.warn('formatter is not defined, please check the custom pipes documentation');
|
|
2579
2526
|
return data;
|
|
2580
2527
|
}
|
|
@@ -2589,12 +2536,12 @@ class CustomPipe {
|
|
|
2589
2536
|
static { this.ɵfac = function CustomPipe_Factory(t) { return new (t || CustomPipe)(i0.ɵɵdirectiveInject(i1.CustomPipeManager, 16)); }; }
|
|
2590
2537
|
static { this.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "custom", type: CustomPipe, pure: true }); }
|
|
2591
2538
|
}
|
|
2592
|
-
(()
|
|
2539
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CustomPipe, [{
|
|
2593
2540
|
type: Pipe,
|
|
2594
2541
|
args: [{
|
|
2595
2542
|
name: 'custom'
|
|
2596
2543
|
}]
|
|
2597
|
-
}], ()
|
|
2544
|
+
}], function () { return [{ type: i1.CustomPipeManager }]; }, null); })();
|
|
2598
2545
|
class TimeFromNowPipe {
|
|
2599
2546
|
transform(data) {
|
|
2600
2547
|
let timestamp;
|
|
@@ -2607,17 +2554,17 @@ class TimeFromNowPipe {
|
|
|
2607
2554
|
static { this.ɵfac = function TimeFromNowPipe_Factory(t) { return new (t || TimeFromNowPipe)(); }; }
|
|
2608
2555
|
static { this.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "timeFromNow", type: TimeFromNowPipe, pure: true }); }
|
|
2609
2556
|
}
|
|
2610
|
-
(()
|
|
2557
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TimeFromNowPipe, [{
|
|
2611
2558
|
type: Pipe,
|
|
2612
2559
|
args: [{
|
|
2613
2560
|
name: 'timeFromNow'
|
|
2614
2561
|
}]
|
|
2615
2562
|
}], null, null); })();
|
|
2616
2563
|
class NumberToStringPipe extends ToNumberPipe {
|
|
2617
|
-
static { this.ɵfac = /*@__PURE__*/ (
|
|
2564
|
+
static { this.ɵfac = /*@__PURE__*/ function () { let ɵNumberToStringPipe_BaseFactory; return function NumberToStringPipe_Factory(t) { return (ɵNumberToStringPipe_BaseFactory || (ɵNumberToStringPipe_BaseFactory = i0.ɵɵgetInheritedFactory(NumberToStringPipe)))(t || NumberToStringPipe); }; }(); }
|
|
2618
2565
|
static { this.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "numberToString", type: NumberToStringPipe, pure: true }); }
|
|
2619
2566
|
}
|
|
2620
|
-
(()
|
|
2567
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(NumberToStringPipe, [{
|
|
2621
2568
|
type: Pipe,
|
|
2622
2569
|
args: [{
|
|
2623
2570
|
name: 'numberToString'
|
|
@@ -2630,7 +2577,7 @@ class StringToNumberPipe {
|
|
|
2630
2577
|
static { this.ɵfac = function StringToNumberPipe_Factory(t) { return new (t || StringToNumberPipe)(); }; }
|
|
2631
2578
|
static { this.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "stringToNumber", type: StringToNumberPipe, pure: true }); }
|
|
2632
2579
|
}
|
|
2633
|
-
(()
|
|
2580
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(StringToNumberPipe, [{
|
|
2634
2581
|
type: Pipe,
|
|
2635
2582
|
args: [{
|
|
2636
2583
|
name: 'stringToNumber'
|
|
@@ -2642,18 +2589,18 @@ class FilterPipe {
|
|
|
2642
2589
|
return [];
|
|
2643
2590
|
}
|
|
2644
2591
|
// If object is passed as first paramter
|
|
2645
|
-
if (isObject(field)) {
|
|
2646
|
-
return filter
|
|
2592
|
+
if (_.isObject(field)) {
|
|
2593
|
+
return _.filter(data, field);
|
|
2647
2594
|
}
|
|
2648
2595
|
// If key value pair is provided
|
|
2649
|
-
return filter
|
|
2650
|
-
return includes(item[field], value);
|
|
2596
|
+
return _.filter(data, item => {
|
|
2597
|
+
return _.includes(item[field], value);
|
|
2651
2598
|
});
|
|
2652
2599
|
}
|
|
2653
2600
|
static { this.ɵfac = function FilterPipe_Factory(t) { return new (t || FilterPipe)(); }; }
|
|
2654
2601
|
static { this.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "filter", type: FilterPipe, pure: true }); }
|
|
2655
2602
|
}
|
|
2656
|
-
(()
|
|
2603
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FilterPipe, [{
|
|
2657
2604
|
type: Pipe,
|
|
2658
2605
|
args: [{
|
|
2659
2606
|
name: 'filter'
|
|
@@ -2683,7 +2630,7 @@ class FileSizePipe {
|
|
|
2683
2630
|
static { this.ɵfac = function FileSizePipe_Factory(t) { return new (t || FileSizePipe)(); }; }
|
|
2684
2631
|
static { this.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "filesize", type: FileSizePipe, pure: true }); }
|
|
2685
2632
|
}
|
|
2686
|
-
(()
|
|
2633
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FileSizePipe, [{
|
|
2687
2634
|
type: Pipe,
|
|
2688
2635
|
args: [{
|
|
2689
2636
|
name: 'filesize'
|
|
@@ -2724,7 +2671,7 @@ class FileIconClassPipe {
|
|
|
2724
2671
|
static { this.ɵfac = function FileIconClassPipe_Factory(t) { return new (t || FileIconClassPipe)(); }; }
|
|
2725
2672
|
static { this.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "fileIconClass", type: FileIconClassPipe, pure: true }); }
|
|
2726
2673
|
}
|
|
2727
|
-
(()
|
|
2674
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FileIconClassPipe, [{
|
|
2728
2675
|
type: Pipe,
|
|
2729
2676
|
args: [{
|
|
2730
2677
|
name: 'fileIconClass'
|
|
@@ -2741,7 +2688,7 @@ class StateClassPipe {
|
|
|
2741
2688
|
static { this.ɵfac = function StateClassPipe_Factory(t) { return new (t || StateClassPipe)(); }; }
|
|
2742
2689
|
static { this.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "stateClass", type: StateClassPipe, pure: true }); }
|
|
2743
2690
|
}
|
|
2744
|
-
(()
|
|
2691
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(StateClassPipe, [{
|
|
2745
2692
|
type: Pipe,
|
|
2746
2693
|
args: [{
|
|
2747
2694
|
name: 'stateClass'
|
|
@@ -2824,7 +2771,7 @@ class FileExtensionFromMimePipe {
|
|
|
2824
2771
|
static { this.ɵfac = function FileExtensionFromMimePipe_Factory(t) { return new (t || FileExtensionFromMimePipe)(); }; }
|
|
2825
2772
|
static { this.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "fileExtensionFromMime", type: FileExtensionFromMimePipe, pure: true }); }
|
|
2826
2773
|
}
|
|
2827
|
-
(()
|
|
2774
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FileExtensionFromMimePipe, [{
|
|
2828
2775
|
type: Pipe,
|
|
2829
2776
|
args: [{
|
|
2830
2777
|
name: 'fileExtensionFromMime'
|
|
@@ -2860,12 +2807,12 @@ class TrustAsPipe {
|
|
|
2860
2807
|
static { this.ɵfac = function TrustAsPipe_Factory(t) { return new (t || TrustAsPipe)(i0.ɵɵdirectiveInject(i1$2.DomSanitizer, 16)); }; }
|
|
2861
2808
|
static { this.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "trustAs", type: TrustAsPipe, pure: true }); }
|
|
2862
2809
|
}
|
|
2863
|
-
(()
|
|
2810
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TrustAsPipe, [{
|
|
2864
2811
|
type: Pipe,
|
|
2865
2812
|
args: [{
|
|
2866
2813
|
name: 'trustAs'
|
|
2867
2814
|
}]
|
|
2868
|
-
}], ()
|
|
2815
|
+
}], function () { return [{ type: i1$2.DomSanitizer }]; }, null); })();
|
|
2869
2816
|
|
|
2870
2817
|
const openedDialogs = [];
|
|
2871
2818
|
/*We need closedDialogs array because onHidden event is asynchronous,
|
|
@@ -2980,7 +2927,7 @@ class DialogServiceImpl {
|
|
|
2980
2927
|
* closes all the opened dialogs
|
|
2981
2928
|
*/
|
|
2982
2929
|
closeAllDialogs() {
|
|
2983
|
-
forEach(openedDialogs.reverse(), (dialog) => {
|
|
2930
|
+
_.forEach(openedDialogs.reverse(), (dialog) => {
|
|
2984
2931
|
dialog.close();
|
|
2985
2932
|
});
|
|
2986
2933
|
}
|
|
@@ -3029,9 +2976,9 @@ class DialogServiceImpl {
|
|
|
3029
2976
|
static { this.ɵfac = function DialogServiceImpl_Factory(t) { return new (t || DialogServiceImpl)(); }; }
|
|
3030
2977
|
static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: DialogServiceImpl, factory: DialogServiceImpl.ɵfac }); }
|
|
3031
2978
|
}
|
|
3032
|
-
(()
|
|
2979
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DialogServiceImpl, [{
|
|
3033
2980
|
type: Injectable
|
|
3034
|
-
}], ()
|
|
2981
|
+
}], function () { return []; }, null); })();
|
|
3035
2982
|
|
|
3036
2983
|
class SanitizePipe {
|
|
3037
2984
|
constructor(domSanitizer) {
|
|
@@ -3065,12 +3012,12 @@ class SanitizePipe {
|
|
|
3065
3012
|
static { this.ɵfac = function SanitizePipe_Factory(t) { return new (t || SanitizePipe)(i0.ɵɵdirectiveInject(i1$2.DomSanitizer, 16)); }; }
|
|
3066
3013
|
static { this.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "sanitize", type: SanitizePipe, pure: true }); }
|
|
3067
3014
|
}
|
|
3068
|
-
(()
|
|
3015
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SanitizePipe, [{
|
|
3069
3016
|
type: Pipe,
|
|
3070
3017
|
args: [{
|
|
3071
3018
|
name: 'sanitize'
|
|
3072
3019
|
}]
|
|
3073
|
-
}], ()
|
|
3020
|
+
}], function () { return [{ type: i1$2.DomSanitizer }]; }, null); })();
|
|
3074
3021
|
|
|
3075
3022
|
const wmComponents = [
|
|
3076
3023
|
ContainerDirective,
|
|
@@ -3129,7 +3076,7 @@ class WmComponentsModule {
|
|
|
3129
3076
|
static { this.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule,
|
|
3130
3077
|
SecurityModule] }); }
|
|
3131
3078
|
}
|
|
3132
|
-
(()
|
|
3079
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WmComponentsModule, [{
|
|
3133
3080
|
type: NgModule,
|
|
3134
3081
|
args: [{
|
|
3135
3082
|
imports: [
|
|
@@ -3221,7 +3168,7 @@ const LIVE_CONSTANTS = {
|
|
|
3221
3168
|
};
|
|
3222
3169
|
// Returns true if widget is autocomplete or chips
|
|
3223
3170
|
function isSearchWidgetType(widget) {
|
|
3224
|
-
return includes([FormWidgetType.AUTOCOMPLETE, FormWidgetType.TYPEAHEAD, FormWidgetType.CHIPS], widget);
|
|
3171
|
+
return _.includes([FormWidgetType.AUTOCOMPLETE, FormWidgetType.TYPEAHEAD, FormWidgetType.CHIPS], widget);
|
|
3225
3172
|
}
|
|
3226
3173
|
function onSuccess(response, res, rej) {
|
|
3227
3174
|
if (response.error) {
|
|
@@ -3310,7 +3257,7 @@ function fetchRelatedFieldData(dataSource, formField, options) {
|
|
|
3310
3257
|
}
|
|
3311
3258
|
primaryKeys = dataSource.execute(DataSource.Operation.GET_RELATED_PRIMARY_KEYS, relatedField);
|
|
3312
3259
|
formField.datafield = datafield;
|
|
3313
|
-
formField._primaryKey = isEmpty(primaryKeys) ? undefined : primaryKeys[0];
|
|
3260
|
+
formField._primaryKey = _.isEmpty(primaryKeys) ? undefined : primaryKeys[0];
|
|
3314
3261
|
formField.compareby = primaryKeys && primaryKeys.join(',');
|
|
3315
3262
|
displayField = datafield === ALLFIELDS ? undefined : datafield;
|
|
3316
3263
|
formField.displayfield = displayField = (formField.displayfield || displayField || formField._primaryKey);
|
|
@@ -3329,12 +3276,12 @@ function fetchRelatedFieldData(dataSource, formField, options) {
|
|
|
3329
3276
|
dataSource.execute(DataSource.Operation.GET_RELATED_TABLE_DATA, {
|
|
3330
3277
|
relatedField,
|
|
3331
3278
|
pagesize: formField.limit,
|
|
3332
|
-
orderBy: formField.orderby ? replace(formField.orderby, /:/g, ' ') : '',
|
|
3279
|
+
orderBy: formField.orderby ? _.replace(formField.orderby, /:/g, ' ') : '',
|
|
3333
3280
|
filterFields: {},
|
|
3334
3281
|
filterExpr: formField.filterexpressions ? formField.filterexpressions : {}
|
|
3335
3282
|
}).then(response => {
|
|
3336
3283
|
formField.dataset = response.data;
|
|
3337
|
-
formField.displayfield = formField.displayfield || head(keys(get(response, '[0]')));
|
|
3284
|
+
formField.displayfield = formField.displayfield || _.head(_.keys(_.get(response, '[0]')));
|
|
3338
3285
|
if (formField.showPendingSpinner) {
|
|
3339
3286
|
formField.showPendingSpinner = false;
|
|
3340
3287
|
}
|
|
@@ -3349,8 +3296,8 @@ function fetchRelatedFieldData(dataSource, formField, options) {
|
|
|
3349
3296
|
* @param callbackFn - function to be called with the new replaced values if any in the filterexpressions object
|
|
3350
3297
|
*/
|
|
3351
3298
|
const interpolateBindExpressions = (context, filterexpressions, callbackFn) => {
|
|
3352
|
-
const debouncedFn = debounce
|
|
3353
|
-
if (isFunction(callbackFn)) {
|
|
3299
|
+
const debouncedFn = debounce(() => {
|
|
3300
|
+
if (_.isFunction(callbackFn)) {
|
|
3354
3301
|
callbackFn(filterexpressions);
|
|
3355
3302
|
}
|
|
3356
3303
|
}, 300);
|
|
@@ -3359,8 +3306,8 @@ const interpolateBindExpressions = (context, filterexpressions, callbackFn) => {
|
|
|
3359
3306
|
* without this it will never be called. processFilterExpBindNode will be called only for the binded variable expressions.
|
|
3360
3307
|
*/
|
|
3361
3308
|
debouncedFn();
|
|
3362
|
-
const filterExpressions = filterexpressions ? (isObject(filterexpressions) ? filterexpressions : JSON.parse(filterexpressions)) : {};
|
|
3363
|
-
const destroyFn = context.registerDestroyListener ? context.registerDestroyListener.bind(context) : noop;
|
|
3309
|
+
const filterExpressions = filterexpressions ? (_.isObject(filterexpressions) ? filterexpressions : JSON.parse(filterexpressions)) : {};
|
|
3310
|
+
const destroyFn = context.registerDestroyListener ? context.registerDestroyListener.bind(context) : _.noop;
|
|
3364
3311
|
const filterSubscription = processFilterExpBindNode(context, filterExpressions).subscribe((response) => {
|
|
3365
3312
|
filterexpressions = JSON.stringify(response.filterExpressions);
|
|
3366
3313
|
debouncedFn();
|
|
@@ -3388,7 +3335,7 @@ const getDistinctFieldProperties = (dataSource, formField) => {
|
|
|
3388
3335
|
fieldColumn = formField['lookup-field'];
|
|
3389
3336
|
props.distinctField = fieldColumn;
|
|
3390
3337
|
props.aliasColumn = fieldColumn.replace('.', '$'); // For related fields, In response . is replaced by $
|
|
3391
|
-
props.filterExpr = formField.filterexpressions ? (isObject(formField.filterexpressions) ? formField.filterexpressions : JSON.parse(formField.filterexpressions)) : {};
|
|
3338
|
+
props.filterExpr = formField.filterexpressions ? (_.isObject(formField.filterexpressions) ? formField.filterexpressions : JSON.parse(formField.filterexpressions)) : {};
|
|
3392
3339
|
}
|
|
3393
3340
|
else {
|
|
3394
3341
|
props.tableName = dataSource.execute(DataSource.Operation.GET_ENTITY_NAME);
|
|
@@ -3461,14 +3408,14 @@ function setFieldDataSet(formField, data, options) {
|
|
|
3461
3408
|
const emptySupportWidgets = [FormWidgetType.SELECT, FormWidgetType.RADIOSET];
|
|
3462
3409
|
const emptyOption = {};
|
|
3463
3410
|
const dataSet = [];
|
|
3464
|
-
if (options.isEnableEmptyFilter && includes(emptySupportWidgets, formField[options.widget]) &&
|
|
3411
|
+
if (options.isEnableEmptyFilter && _.includes(emptySupportWidgets, formField[options.widget]) &&
|
|
3465
3412
|
!formField['is-range'] && !formField.multiple) {
|
|
3466
3413
|
// If empty option is selected, push an empty object in to dataSet
|
|
3467
3414
|
emptyOption[LIVE_CONSTANTS.LABEL_KEY] = LIVE_CONSTANTS.EMPTY_KEY;
|
|
3468
3415
|
emptyOption[LIVE_CONSTANTS.LABEL_VALUE] = options.EMPTY_VALUE || LIVE_CONSTANTS.EMPTY_VALUE;
|
|
3469
3416
|
dataSet.push(emptyOption);
|
|
3470
3417
|
}
|
|
3471
|
-
each(data, key => {
|
|
3418
|
+
_.each(data, key => {
|
|
3472
3419
|
const value = key[options.aliasColumn];
|
|
3473
3420
|
const option = {};
|
|
3474
3421
|
if (value !== null && value !== '') {
|
|
@@ -3496,7 +3443,7 @@ function setFieldDataSet(formField, data, options) {
|
|
|
3496
3443
|
*
|
|
3497
3444
|
*/
|
|
3498
3445
|
function fetchDistinctValues(dataSource, formFields, options) {
|
|
3499
|
-
if (isEmpty(formFields)) {
|
|
3446
|
+
if (_.isEmpty(formFields)) {
|
|
3500
3447
|
return;
|
|
3501
3448
|
}
|
|
3502
3449
|
formFields.forEach(formField => {
|
|
@@ -3608,7 +3555,7 @@ function getRangeMatchMode(minValue, maxValue) {
|
|
|
3608
3555
|
* @param {object} enableemptyfilter empty filter options
|
|
3609
3556
|
*/
|
|
3610
3557
|
function getEnableEmptyFilter(enableemptyfilter) {
|
|
3611
|
-
return enableemptyfilter && intersection(enableemptyfilter.split(','), LIVE_CONSTANTS.NULL_EMPTY).length > 0;
|
|
3558
|
+
return enableemptyfilter && _.intersection(enableemptyfilter.split(','), LIVE_CONSTANTS.NULL_EMPTY).length > 0;
|
|
3612
3559
|
}
|
|
3613
3560
|
/**
|
|
3614
3561
|
* @ngdoc function
|
|
@@ -3623,14 +3570,14 @@ function getEnableEmptyFilter(enableemptyfilter) {
|
|
|
3623
3570
|
*/
|
|
3624
3571
|
function getEmptyMatchMode(enableemptyfilter) {
|
|
3625
3572
|
let matchMode;
|
|
3626
|
-
const emptyFilterOptions = split(enableemptyfilter, ',');
|
|
3627
|
-
if (intersection(emptyFilterOptions, LIVE_CONSTANTS.NULL_EMPTY).length === 2) {
|
|
3573
|
+
const emptyFilterOptions = _.split(enableemptyfilter, ',');
|
|
3574
|
+
if (_.intersection(emptyFilterOptions, LIVE_CONSTANTS.NULL_EMPTY).length === 2) {
|
|
3628
3575
|
matchMode = MatchMode.NULLOREMPTY;
|
|
3629
3576
|
}
|
|
3630
|
-
else if (includes(emptyFilterOptions, LIVE_CONSTANTS.NULL)) {
|
|
3577
|
+
else if (_.includes(emptyFilterOptions, LIVE_CONSTANTS.NULL)) {
|
|
3631
3578
|
matchMode = MatchMode.NULL;
|
|
3632
3579
|
}
|
|
3633
|
-
else if (includes(emptyFilterOptions, LIVE_CONSTANTS.EMPTY)) {
|
|
3580
|
+
else if (_.includes(emptyFilterOptions, LIVE_CONSTANTS.EMPTY)) {
|
|
3634
3581
|
matchMode = MatchMode.EMPTY;
|
|
3635
3582
|
}
|
|
3636
3583
|
return matchMode;
|
|
@@ -3646,13 +3593,13 @@ function getEmptyMatchMode(enableemptyfilter) {
|
|
|
3646
3593
|
* @returns {Array<any>}
|
|
3647
3594
|
*/
|
|
3648
3595
|
const createArrayFrom = (data) => {
|
|
3649
|
-
if (isUndefined(data) || isNull(data)) {
|
|
3596
|
+
if (_.isUndefined(data) || _.isNull(data)) {
|
|
3650
3597
|
return [];
|
|
3651
3598
|
}
|
|
3652
|
-
if (isString(data)) {
|
|
3599
|
+
if (_.isString(data)) {
|
|
3653
3600
|
data = data.split(',').map(Function.prototype.call, String.prototype.trim);
|
|
3654
3601
|
}
|
|
3655
|
-
if (!isArray(data)) {
|
|
3602
|
+
if (!_.isArray(data)) {
|
|
3656
3603
|
data = [data];
|
|
3657
3604
|
}
|
|
3658
3605
|
return data;
|
|
@@ -3672,13 +3619,13 @@ const createArrayFrom = (data) => {
|
|
|
3672
3619
|
*/
|
|
3673
3620
|
function applyFilterOnField(dataSource, filterDef, formFields, newVal, options = {}) {
|
|
3674
3621
|
const fieldName = filterDef.field || filterDef.key;
|
|
3675
|
-
const filterOnFields = filter
|
|
3622
|
+
const filterOnFields = _.filter(formFields, { 'filter-on': fieldName });
|
|
3676
3623
|
newVal = filterDef['is-range'] ? getRangeFieldValue(filterDef.minValue, filterDef.maxValue) : (isDefined(newVal) ? newVal : filterDef.value);
|
|
3677
|
-
if (!dataSource || (options.isFirst && (isUndefined(newVal) || newVal === ''))) {
|
|
3624
|
+
if (!dataSource || (options.isFirst && (_.isUndefined(newVal) || newVal === ''))) {
|
|
3678
3625
|
return;
|
|
3679
3626
|
}
|
|
3680
3627
|
// Loop over the fields for which the current field is filter on field
|
|
3681
|
-
forEach(filterOnFields, filterField => {
|
|
3628
|
+
_.forEach(filterOnFields, filterField => {
|
|
3682
3629
|
const filterKey = filterField.field || filterField.key;
|
|
3683
3630
|
const lookUpField = filterDef['lookup-field'] || filterDef._primaryKey;
|
|
3684
3631
|
const filterWidget = filterField['edit-widget-type'] || filterField.widgettype;
|
|
@@ -3704,7 +3651,7 @@ function applyFilterOnField(dataSource, filterDef, formFields, newVal, options =
|
|
|
3704
3651
|
else {
|
|
3705
3652
|
matchMode = MatchMode.EQUALS;
|
|
3706
3653
|
}
|
|
3707
|
-
filterVal = (isObject(newVal) && !isArray(newVal)) ? newVal[lookUpField] : newVal;
|
|
3654
|
+
filterVal = (_.isObject(newVal) && !_.isArray(newVal)) ? newVal[lookUpField] : newVal;
|
|
3708
3655
|
filterFields[filterOn] = {
|
|
3709
3656
|
'value': filterVal,
|
|
3710
3657
|
'matchMode': matchMode
|
|
@@ -3739,9 +3686,9 @@ function transformData(dataObject, variableName) {
|
|
|
3739
3686
|
// data sanity testing
|
|
3740
3687
|
dataObject = dataObject || [];
|
|
3741
3688
|
// if the dataObject is not an array make it an array
|
|
3742
|
-
if (!isArray(dataObject)) {
|
|
3689
|
+
if (!_.isArray(dataObject)) {
|
|
3743
3690
|
// if the data returned is of type string, make it an object inside an array
|
|
3744
|
-
if (isString(dataObject)) {
|
|
3691
|
+
if (_.isString(dataObject)) {
|
|
3745
3692
|
keys = variableName.substring(variableName.indexOf('.') + 1, variableName.length).split('.');
|
|
3746
3693
|
oldKeys = [];
|
|
3747
3694
|
numKeys = keys.length;
|
|
@@ -3765,9 +3712,9 @@ function transformData(dataObject, variableName) {
|
|
|
3765
3712
|
/*if the dataObject is an array and each value is a string, then lite-transform the string to an object
|
|
3766
3713
|
* lite-transform: just checking if the first value is string and then transforming the object, instead of traversing through the whole array
|
|
3767
3714
|
* */
|
|
3768
|
-
if (isString(dataObject[0])) {
|
|
3715
|
+
if (_.isString(dataObject[0])) {
|
|
3769
3716
|
tempArr = [];
|
|
3770
|
-
forEach(dataObject, str => {
|
|
3717
|
+
_.forEach(dataObject, str => {
|
|
3771
3718
|
newObj = {};
|
|
3772
3719
|
newObj[variableName.split('.').join('-')] = str;
|
|
3773
3720
|
tempArr.push(newObj);
|
|
@@ -3810,18 +3757,18 @@ const ROLLUP_PATTERNS = {
|
|
|
3810
3757
|
/**
|
|
3811
3758
|
* function to get the ordered dataset based on the given orderby
|
|
3812
3759
|
*/
|
|
3813
|
-
const getOrderedDataset = (dataSet, orderBy
|
|
3814
|
-
if (!orderBy
|
|
3815
|
-
return cloneDeep(dataSet);
|
|
3760
|
+
const getOrderedDataset = (dataSet, orderBy, innerItem) => {
|
|
3761
|
+
if (!orderBy) {
|
|
3762
|
+
return _.cloneDeep(dataSet);
|
|
3816
3763
|
}
|
|
3817
3764
|
// The order by only works when the dataset contains list of objects.
|
|
3818
|
-
const items = orderBy
|
|
3765
|
+
const items = orderBy.split(','), fields = [], directions = [];
|
|
3819
3766
|
items.forEach(obj => {
|
|
3820
3767
|
const item = obj.split(':');
|
|
3821
3768
|
fields.push(innerItem ? innerItem + '.' + item[0] : item[0]);
|
|
3822
3769
|
directions.push(item[1]);
|
|
3823
3770
|
});
|
|
3824
|
-
return orderBy(dataSet, fields, directions);
|
|
3771
|
+
return _.orderBy(dataSet, fields, directions);
|
|
3825
3772
|
};
|
|
3826
3773
|
/**
|
|
3827
3774
|
* Returns an array of object, each object contain the DataSetItem whose key, value, label are extracted from object keys.
|
|
@@ -3830,10 +3777,10 @@ const transformDataWithKeys = (dataSet) => {
|
|
|
3830
3777
|
const data = [];
|
|
3831
3778
|
// if the dataset is instance of object (not an array) or the first item in the dataset array is an object,
|
|
3832
3779
|
// then we extract the keys from the object and prepare the dataset items.
|
|
3833
|
-
if (isObject(dataSet[0]) || (isObject(dataSet) && !(dataSet instanceof Array))) {
|
|
3780
|
+
if (_.isObject(dataSet[0]) || (_.isObject(dataSet) && !(dataSet instanceof Array))) {
|
|
3834
3781
|
// getting keys of the object
|
|
3835
3782
|
const objectKeys = Object.keys(dataSet[0] || dataSet);
|
|
3836
|
-
forEach(objectKeys, (objKey, index) => {
|
|
3783
|
+
_.forEach(objectKeys, (objKey, index) => {
|
|
3837
3784
|
data.push({
|
|
3838
3785
|
key: objKey,
|
|
3839
3786
|
label: objKey,
|
|
@@ -3846,21 +3793,21 @@ const transformDataWithKeys = (dataSet) => {
|
|
|
3846
3793
|
};
|
|
3847
3794
|
// Converts any type of data to array.
|
|
3848
3795
|
const extractDataAsArray = data => {
|
|
3849
|
-
if (isUndefined(data) || isNull(data) || trim(data) === '') {
|
|
3796
|
+
if (_.isUndefined(data) || _.isNull(data) || _.trim(data) === '') {
|
|
3850
3797
|
return [];
|
|
3851
3798
|
}
|
|
3852
|
-
if (isString(data)) {
|
|
3853
|
-
data = split(data, ',').map(str => str.trim());
|
|
3799
|
+
if (_.isString(data)) {
|
|
3800
|
+
data = _.split(data, ',').map(str => str.trim());
|
|
3854
3801
|
}
|
|
3855
|
-
if (!isArray(data)) {
|
|
3802
|
+
if (!_.isArray(data)) {
|
|
3856
3803
|
data = [data];
|
|
3857
3804
|
}
|
|
3858
3805
|
return data;
|
|
3859
3806
|
};
|
|
3860
3807
|
// This function return always an object containing dataset details.
|
|
3861
3808
|
const convertDataToObject = dataResult => {
|
|
3862
|
-
if (isString(dataResult)) {
|
|
3863
|
-
dataResult = split(dataResult, ',').map(str => str.trim());
|
|
3809
|
+
if (_.isString(dataResult)) {
|
|
3810
|
+
dataResult = _.split(dataResult, ',').map(str => str.trim());
|
|
3864
3811
|
}
|
|
3865
3812
|
return dataResult;
|
|
3866
3813
|
};
|
|
@@ -3872,7 +3819,7 @@ const isSeachWidget = (widgetType) => {
|
|
|
3872
3819
|
const setGroupbyKey = (scope, context, dataSetItem, innerItem) => {
|
|
3873
3820
|
if (scope && isSeachWidget(scope.widgetType)) {
|
|
3874
3821
|
if (scope.groupby) {
|
|
3875
|
-
if (includes(scope.groupby, '(')) {
|
|
3822
|
+
if (_.includes(scope.groupby, '(')) {
|
|
3876
3823
|
//[Todo-CSP]: can generate expr fn in page based on groupby property on widget
|
|
3877
3824
|
const groupDataByUserDefinedFn = $parseEvent(scope.groupby);
|
|
3878
3825
|
dataSetItem.groupby = groupDataByUserDefinedFn(context, { 'row': dataSetItem.dataObject || dataSetItem });
|
|
@@ -3903,10 +3850,10 @@ const transformFormData = (context, dataSet, myDataField, displayOptions, startI
|
|
|
3903
3850
|
}
|
|
3904
3851
|
dataSet = convertDataToObject(dataSet);
|
|
3905
3852
|
// startIndex is the index of the next new item.
|
|
3906
|
-
if (isUndefined(startIndex)) {
|
|
3853
|
+
if (_.isUndefined(startIndex)) {
|
|
3907
3854
|
startIndex = 1;
|
|
3908
3855
|
}
|
|
3909
|
-
if (isString(dataSet)) {
|
|
3856
|
+
if (_.isString(dataSet)) {
|
|
3910
3857
|
dataSet = dataSet.split(',').map(str => str.trim());
|
|
3911
3858
|
dataSet.forEach((option, index) => {
|
|
3912
3859
|
const dataSetItem = { key: option, value: option, label: (isDefined(option) && option !== null) ? option.toString() : '', index: startIndex + index };
|
|
@@ -3914,21 +3861,17 @@ const transformFormData = (context, dataSet, myDataField, displayOptions, startI
|
|
|
3914
3861
|
data.push(dataSetItem);
|
|
3915
3862
|
});
|
|
3916
3863
|
}
|
|
3917
|
-
else if (isArray(dataSet) && !isObject(dataSet[0])) { // array of primitive values only
|
|
3864
|
+
else if (_.isArray(dataSet) && !_.isObject(dataSet[0])) { // array of primitive values only
|
|
3918
3865
|
dataSet.forEach((option, index) => {
|
|
3919
3866
|
const dataSetItem = { key: option, value: option, label: (isDefined(option) && option !== null) ? option.toString() : '', index: startIndex + index };
|
|
3920
3867
|
setGroupbyKey(scope, context, dataSetItem, 'value');
|
|
3921
3868
|
data.push(dataSetItem);
|
|
3922
3869
|
});
|
|
3923
3870
|
}
|
|
3924
|
-
else if (!(dataSet instanceof Array) && isObject(dataSet)) {
|
|
3871
|
+
else if (!(dataSet instanceof Array) && _.isObject(dataSet)) {
|
|
3925
3872
|
const i = 0;
|
|
3926
|
-
forEach(dataSet, (value, key) => {
|
|
3927
|
-
|
|
3928
|
-
const dataSetItem = { key: trim(key), value: key, label: (isDefined(value) && value !== null) ? value.toString() : '',
|
|
3929
|
-
index: startIndex,
|
|
3930
|
-
dataObject: dataSet
|
|
3931
|
-
};
|
|
3873
|
+
_.forEach(dataSet, (value, key) => {
|
|
3874
|
+
const dataSetItem = { key: _.trim(key), value: key, label: (isDefined(value) && value !== null) ? value.toString() : '', index: startIndex, dataObject: dataSet };
|
|
3932
3875
|
setGroupbyKey(scope, context, dataSetItem, 'value');
|
|
3933
3876
|
data.push(dataSetItem);
|
|
3934
3877
|
});
|
|
@@ -3940,7 +3883,7 @@ const transformFormData = (context, dataSet, myDataField, displayOptions, startI
|
|
|
3940
3883
|
dataSet.forEach((option, index) => {
|
|
3941
3884
|
const key = myDataField === ALLFIELDS ? startIndex + index : getObjValueByKey(option, myDataField);
|
|
3942
3885
|
// Omit all the items whose datafield (key) is null or undefined.
|
|
3943
|
-
if (!isUndefined(key) && !isNull(key)) {
|
|
3886
|
+
if (!_.isUndefined(key) && !_.isNull(key)) {
|
|
3944
3887
|
const label = getEvaluatedData(option, {
|
|
3945
3888
|
field: displayOptions.displayField,
|
|
3946
3889
|
expression: displayOptions.displayExpr,
|
|
@@ -3950,7 +3893,7 @@ const transformFormData = (context, dataSet, myDataField, displayOptions, startI
|
|
|
3950
3893
|
key: key,
|
|
3951
3894
|
label: (isDefined(label) && label !== null) ? label.toString() : '',
|
|
3952
3895
|
value: myDataField === ALLFIELDS ? option : key,
|
|
3953
|
-
dataObject: option,
|
|
3896
|
+
dataObject: option,
|
|
3954
3897
|
index: startIndex + index
|
|
3955
3898
|
};
|
|
3956
3899
|
if (displayOptions.displayImgSrc || displayOptions.bindDisplayImgSrc) {
|
|
@@ -3972,16 +3915,16 @@ const transformFormData = (context, dataSet, myDataField, displayOptions, startI
|
|
|
3972
3915
|
const getUniqObjsByDataField = (data, dataField, displayField, allowEmptyFields) => {
|
|
3973
3916
|
let uniqData;
|
|
3974
3917
|
const isAllFields = dataField === ALLFIELDS;
|
|
3975
|
-
uniqData = isAllFields ? uniqWith(data, isEqual) : uniqBy(data, 'key');
|
|
3918
|
+
uniqData = isAllFields ? _.uniqWith(data, _.isEqual) : _.uniqBy(data, 'key');
|
|
3976
3919
|
if (!displayField || allowEmptyFields) {
|
|
3977
3920
|
return uniqData;
|
|
3978
3921
|
}
|
|
3979
3922
|
// return objects having non empty datafield and display field values.
|
|
3980
|
-
return filter
|
|
3923
|
+
return _.filter(uniqData, (obj) => {
|
|
3981
3924
|
if (isAllFields) {
|
|
3982
|
-
return trim(obj.label);
|
|
3925
|
+
return _.trim(obj.label);
|
|
3983
3926
|
}
|
|
3984
|
-
return trim(obj.key) && trim(obj.label);
|
|
3927
|
+
return _.trim(obj.key) && _.trim(obj.label);
|
|
3985
3928
|
});
|
|
3986
3929
|
};
|
|
3987
3930
|
/**
|
|
@@ -3993,7 +3936,7 @@ const getUniqObjsByDataField = (data, dataField, displayField, allowEmptyFields)
|
|
|
3993
3936
|
*/
|
|
3994
3937
|
const setItemByCompare = (datasetItems, compareWithDataObj, compareByField) => {
|
|
3995
3938
|
// compare the fields based on fields given to compareby property.
|
|
3996
|
-
forEach(datasetItems, opt => {
|
|
3939
|
+
_.forEach(datasetItems, opt => {
|
|
3997
3940
|
if (isEqualWithFields(opt.value, compareWithDataObj, compareByField)) {
|
|
3998
3941
|
opt.selected = true;
|
|
3999
3942
|
return false;
|
|
@@ -4010,13 +3953,13 @@ const setItemByCompare = (datasetItems, compareWithDataObj, compareByField) => {
|
|
|
4010
3953
|
*/
|
|
4011
3954
|
const getSortedGroupedData = (groupedLiData, groupBy, orderby) => {
|
|
4012
3955
|
const _groupedData = [];
|
|
4013
|
-
forEach(keys(groupedLiData), (groupkey, index) => {
|
|
3956
|
+
_.forEach(_.keys(groupedLiData), (groupkey, index) => {
|
|
4014
3957
|
const liData = getOrderedDataset(groupedLiData[groupkey], orderby, 'dataObject');
|
|
4015
3958
|
_groupedData.push({
|
|
4016
3959
|
key: groupkey,
|
|
4017
|
-
data: sortBy(liData, data => {
|
|
3960
|
+
data: _.sortBy(liData, data => {
|
|
4018
3961
|
data._groupIndex = index + 1;
|
|
4019
|
-
return get(data, groupBy) || get(data.dataObject, groupBy);
|
|
3962
|
+
return _.get(data, groupBy) || _.get(data.dataObject, groupBy);
|
|
4020
3963
|
})
|
|
4021
3964
|
});
|
|
4022
3965
|
});
|
|
@@ -4036,11 +3979,10 @@ const getSortedGroupedData = (groupedLiData, groupBy, orderby) => {
|
|
|
4036
3979
|
*/
|
|
4037
3980
|
const groupData = (compRef, data, groupby, match, orderby, dateformat, datePipe, innerItem, AppDefaults) => {
|
|
4038
3981
|
let groupedLiData = {};
|
|
4039
|
-
if (includes(groupby, '(')) {
|
|
3982
|
+
if (_.includes(groupby, '(')) {
|
|
4040
3983
|
//[Todo-CSP]: can generate expr fn in page based on groupby property on widget
|
|
4041
3984
|
const groupDataByUserDefinedFn = $parseEvent(groupby);
|
|
4042
|
-
groupedLiData = groupBy(data, val => {
|
|
4043
|
-
// @ts-ignore
|
|
3985
|
+
groupedLiData = _.groupBy(data, val => {
|
|
4044
3986
|
return groupDataByUserDefinedFn(compRef.viewParent, { 'row': val.dataObject || val });
|
|
4045
3987
|
});
|
|
4046
3988
|
}
|
|
@@ -4066,14 +4008,14 @@ const getGroupedData = (fieldDefs, groupby, match, orderby, dateFormat, datePipe
|
|
|
4066
4008
|
}
|
|
4067
4009
|
// handling case-in-sensitive scenario
|
|
4068
4010
|
// ordering the data based on groupby field. If there is innerItem then apply orderby using the innerItem's containing the groupby field.
|
|
4069
|
-
fieldDefs = orderBy(fieldDefs, fieldDef => {
|
|
4070
|
-
const groupKey = get(innerItem ? fieldDef[innerItem] : fieldDef, groupby);
|
|
4011
|
+
fieldDefs = _.orderBy(fieldDefs, fieldDef => {
|
|
4012
|
+
const groupKey = _.get(innerItem ? fieldDef[innerItem] : fieldDef, groupby);
|
|
4071
4013
|
if (groupKey) {
|
|
4072
|
-
return toLower(groupKey);
|
|
4014
|
+
return _.toLower(groupKey);
|
|
4073
4015
|
}
|
|
4074
4016
|
});
|
|
4075
4017
|
// extract the grouped data based on the field obtained from 'groupDataByField'.
|
|
4076
|
-
const groupedLiData = groupBy(fieldDefs, groupDataByField.bind(undefined, groupby, match, innerItem, dateFormat, datePipe, AppDefaults));
|
|
4018
|
+
const groupedLiData = _.groupBy(fieldDefs, groupDataByField.bind(undefined, groupby, match, innerItem, dateFormat, datePipe, AppDefaults));
|
|
4077
4019
|
momentLocale._calendar = momentCalendarOptions; // Reset to default moment calendar options
|
|
4078
4020
|
return groupedLiData;
|
|
4079
4021
|
};
|
|
@@ -4139,9 +4081,9 @@ const getTimeRolledUpString = (concatStr, rollUp, dateformat, datePipe, AppDefau
|
|
|
4139
4081
|
// groups the fields based on the groupby value.
|
|
4140
4082
|
const groupDataByField = (groupby, match, innerItem, dateFormat, datePipe, AppDefaults, liData) => {
|
|
4141
4083
|
// get the groupby field value from the liData or innerItem in the liData.
|
|
4142
|
-
let concatStr = get(innerItem ? liData[innerItem] : liData, groupby);
|
|
4084
|
+
let concatStr = _.get(innerItem ? liData[innerItem] : liData, groupby);
|
|
4143
4085
|
// by default set the undefined groupKey as 'others'
|
|
4144
|
-
if (isUndefined(concatStr) || isNull(concatStr) || concatStr.toString().trim() === '') {
|
|
4086
|
+
if (_.isUndefined(concatStr) || _.isNull(concatStr) || concatStr.toString().trim() === '') {
|
|
4145
4087
|
return GROUP_BY_OPTIONS.OTHERS;
|
|
4146
4088
|
}
|
|
4147
4089
|
// if match prop is alphabetic ,get the starting alphabet of the word as key.
|
|
@@ -4149,7 +4091,7 @@ const groupDataByField = (groupby, match, innerItem, dateFormat, datePipe, AppDe
|
|
|
4149
4091
|
concatStr = concatStr.substr(0, 1);
|
|
4150
4092
|
}
|
|
4151
4093
|
// if match contains the time options then get the concatStr using 'getTimeRolledUpString'
|
|
4152
|
-
if (includes(values(TIME_ROLLUP_OPTIONS), match)) {
|
|
4094
|
+
if (_.includes(_.values(TIME_ROLLUP_OPTIONS), match)) {
|
|
4153
4095
|
concatStr = getTimeRolledUpString(concatStr, match, dateFormat, datePipe, AppDefaults);
|
|
4154
4096
|
}
|
|
4155
4097
|
return concatStr;
|
|
@@ -4164,13 +4106,13 @@ const toggleAllHeaders = (el) => {
|
|
|
4164
4106
|
// toggle the collapse icon on list header.
|
|
4165
4107
|
const groupIcons = groups.find('li.list-group-header .app-icon');
|
|
4166
4108
|
if (groupIcons) {
|
|
4167
|
-
forEach(groupIcons, (icon) => {
|
|
4168
|
-
|
|
4169
|
-
if (
|
|
4170
|
-
|
|
4109
|
+
_.forEach(groupIcons, (icon) => {
|
|
4110
|
+
icon = $(icon);
|
|
4111
|
+
if (icon.hasClass('wi-chevron-down')) {
|
|
4112
|
+
icon.removeClass('wi-chevron-down').addClass('wi-chevron-up');
|
|
4171
4113
|
}
|
|
4172
4114
|
else {
|
|
4173
|
-
|
|
4115
|
+
icon.removeClass('wi-chevron-up').addClass('wi-chevron-down');
|
|
4174
4116
|
}
|
|
4175
4117
|
});
|
|
4176
4118
|
}
|
|
@@ -4235,8 +4177,8 @@ const EDIT_MODE = {
|
|
|
4235
4177
|
};
|
|
4236
4178
|
// Method to set the header config of the data table
|
|
4237
4179
|
const setHeaderConfig = (headerConfig, config, field, index) => {
|
|
4238
|
-
forEach(headerConfig, cols => {
|
|
4239
|
-
if (get(cols, 'isGroup')) {
|
|
4180
|
+
_.forEach(headerConfig, cols => {
|
|
4181
|
+
if (_.get(cols, 'isGroup')) {
|
|
4240
4182
|
if (cols.field === field) {
|
|
4241
4183
|
cols.columns[index] = config;
|
|
4242
4184
|
}
|
|
@@ -4292,8 +4234,8 @@ const getFieldLayoutConfig = (captionWidth, captionPosition, os) => {
|
|
|
4292
4234
|
}
|
|
4293
4235
|
else if (captionWidth) {
|
|
4294
4236
|
// handling itemsperrow containing string of classes
|
|
4295
|
-
forEach(split(captionWidth, ' '), function (cls) {
|
|
4296
|
-
const keys = split(cls, '-'), tier = keys[0];
|
|
4237
|
+
_.forEach(_.split(captionWidth, ' '), function (cls) {
|
|
4238
|
+
const keys = _.split(cls, '-'), tier = keys[0];
|
|
4297
4239
|
let _captionWidth, widgetWidth;
|
|
4298
4240
|
_captionWidth = parseInt(keys[1], 10);
|
|
4299
4241
|
widgetWidth = 12 - _captionWidth;
|
|
@@ -4308,7 +4250,7 @@ const getFieldLayoutConfig = (captionWidth, captionPosition, os) => {
|
|
|
4308
4250
|
};
|
|
4309
4251
|
};
|
|
4310
4252
|
const getDefaultViewModeWidget = widget => {
|
|
4311
|
-
if (includes(['checkbox', 'toggle', 'rating'], widget)) {
|
|
4253
|
+
if (_.includes(['checkbox', 'toggle', 'rating'], widget)) {
|
|
4312
4254
|
return VIEW_MODE_OPTIONS.DEFAULT;
|
|
4313
4255
|
}
|
|
4314
4256
|
return VIEW_MODE_OPTIONS.LABEL;
|
|
@@ -4378,7 +4320,7 @@ const getDataTableFilterWidget = type => {
|
|
|
4378
4320
|
if (type === DataType.BOOLEAN) {
|
|
4379
4321
|
widget = FormWidgetType.SELECT;
|
|
4380
4322
|
}
|
|
4381
|
-
if (includes([FormWidgetType.TEXT, FormWidgetType.NUMBER, FormWidgetType.SELECT, FormWidgetType.AUTOCOMPLETE,
|
|
4323
|
+
if (_.includes([FormWidgetType.TEXT, FormWidgetType.NUMBER, FormWidgetType.SELECT, FormWidgetType.AUTOCOMPLETE,
|
|
4382
4324
|
FormWidgetType.DATE, FormWidgetType.TIME, FormWidgetType.DATETIME], widget)) {
|
|
4383
4325
|
return widget;
|
|
4384
4326
|
}
|
|
@@ -4436,22 +4378,22 @@ const getValidLink = (link) => {
|
|
|
4436
4378
|
const routRegex = /^(\/|#\/|#)(?!\W).*/;
|
|
4437
4379
|
if (link) {
|
|
4438
4380
|
if (routRegex.test(link)) {
|
|
4439
|
-
link = first(link.match(/[\w]+.*/g)) || '';
|
|
4381
|
+
link = _.first(link.match(/[\w]+.*/g)) || '';
|
|
4440
4382
|
return `#/${link}`;
|
|
4441
4383
|
}
|
|
4442
|
-
if (startsWith(link, 'www.')) {
|
|
4384
|
+
if (_.startsWith(link, 'www.')) {
|
|
4443
4385
|
return `//${link}`;
|
|
4444
4386
|
}
|
|
4445
4387
|
return link;
|
|
4446
4388
|
}
|
|
4447
4389
|
};
|
|
4448
|
-
|
|
4449
|
-
constructor(inj, WIDGET_CONFIG
|
|
4450
|
-
super(inj, WIDGET_CONFIG
|
|
4390
|
+
class DatasetAwareNavComponent extends StylableComponent {
|
|
4391
|
+
constructor(inj, WIDGET_CONFIG) {
|
|
4392
|
+
super(inj, WIDGET_CONFIG);
|
|
4451
4393
|
this.nodes = [];
|
|
4452
4394
|
this.nodes$ = new Subject();
|
|
4453
4395
|
// debounce function for reset nodes functions.
|
|
4454
|
-
this._resetNodes = debounce(this.resetNodes, 50);
|
|
4396
|
+
this._resetNodes = _.debounce(this.resetNodes, 50);
|
|
4455
4397
|
this.securityService = this.inj.get(SecurityService);
|
|
4456
4398
|
this.binditemlabel = this.nativeElement.getAttribute('itemlabel.bind');
|
|
4457
4399
|
this.binditemicon = this.nativeElement.getAttribute('itemicon.bind');
|
|
@@ -4471,49 +4413,24 @@ let DatasetAwareNavComponent = class DatasetAwareNavComponent extends StylableCo
|
|
|
4471
4413
|
*/
|
|
4472
4414
|
getNode(fields, node) {
|
|
4473
4415
|
const context = this.viewParent.pageScope || this.viewParent;
|
|
4474
|
-
const children = getEvaluatedData(node, {
|
|
4475
|
-
field: this.itemchildren,
|
|
4476
|
-
bindExpression: this.binditemchildren
|
|
4477
|
-
}, context) || get(node, fields.childrenField);
|
|
4416
|
+
const children = getEvaluatedData(node, { field: this.itemchildren, bindExpression: this.binditemchildren }, context) || _.get(node, fields.childrenField);
|
|
4478
4417
|
const navNode = {
|
|
4479
|
-
action: getEvaluatedData(node, {
|
|
4480
|
-
|
|
4481
|
-
bindExpression: this.binditemaction
|
|
4482
|
-
}, context) || get(node, fields.actionField),
|
|
4483
|
-
badge: getEvaluatedData(node, {
|
|
4484
|
-
field: this.itembadge,
|
|
4485
|
-
bindExpression: this.binditembadge
|
|
4486
|
-
}, context) || get(node, fields.badgeField),
|
|
4418
|
+
action: getEvaluatedData(node, { field: this.itemaction, bindExpression: this.binditemaction }, context) || _.get(node, fields.actionField),
|
|
4419
|
+
badge: getEvaluatedData(node, { field: this.itembadge, bindExpression: this.binditembadge }, context) || _.get(node, fields.badgeField),
|
|
4487
4420
|
children: Array.isArray(children) ? this.getNodes(children) : [],
|
|
4488
|
-
class: get(node, fields.classField),
|
|
4421
|
+
class: _.get(node, fields.classField),
|
|
4489
4422
|
disabled: node.disabled,
|
|
4490
|
-
icon: getEvaluatedData(node, {
|
|
4491
|
-
|
|
4492
|
-
|
|
4493
|
-
}, context) || get(node, fields.
|
|
4494
|
-
|
|
4495
|
-
field: this.itemid,
|
|
4496
|
-
bindExpression: this.binditemid
|
|
4497
|
-
}, context) || get(node, fields.idField),
|
|
4498
|
-
label: getEvaluatedData(node, {
|
|
4499
|
-
field: this.itemlabel,
|
|
4500
|
-
bindExpression: this.binditemlabel
|
|
4501
|
-
}, context) || get(node, fields.labelField),
|
|
4502
|
-
link: getValidLink(getEvaluatedData(node, {
|
|
4503
|
-
field: this.itemlink,
|
|
4504
|
-
bindExpression: this.binditemlink
|
|
4505
|
-
}, context) || get(node, fields.linkField)),
|
|
4506
|
-
target: getValidLink(getEvaluatedData(node, {
|
|
4507
|
-
field: this.itemtarget,
|
|
4508
|
-
bindExpression: this.binditemtarget
|
|
4509
|
-
}, context) || get(node, fields.targetField)),
|
|
4423
|
+
icon: getEvaluatedData(node, { field: this.itemicon, bindExpression: this.binditemicon }, context) || _.get(node, fields.iconField),
|
|
4424
|
+
id: getEvaluatedData(node, { field: this.itemid, bindExpression: this.binditemid }, context) || _.get(node, fields.idField),
|
|
4425
|
+
label: getEvaluatedData(node, { field: this.itemlabel, bindExpression: this.binditemlabel }, context) || _.get(node, fields.labelField),
|
|
4426
|
+
link: getValidLink(getEvaluatedData(node, { field: this.itemlink, bindExpression: this.binditemlink }, context) || _.get(node, fields.linkField)),
|
|
4427
|
+
target: getValidLink(getEvaluatedData(node, { field: this.itemtarget, bindExpression: this.binditemtarget }, context) || _.get(node, fields.targetField)),
|
|
4510
4428
|
role: getEvaluatedData(node, { field: this.userrole, bindExpression: this.binduserrole }, context),
|
|
4511
4429
|
isactive: getEvaluatedData(node, { field: this.isactive, bindExpression: this.bindisactive }, context),
|
|
4512
4430
|
// older projects have display field & data field property for menu.
|
|
4513
4431
|
value: this.datafield ? (this.datafield === 'All Fields' ? node : findValueOf(node, this.datafield)) : node
|
|
4514
4432
|
};
|
|
4515
|
-
|
|
4516
|
-
return omitBy(navNode, isUndefined);
|
|
4433
|
+
return _.omitBy(navNode, _.isUndefined);
|
|
4517
4434
|
}
|
|
4518
4435
|
resetItemFieldMap() {
|
|
4519
4436
|
this._itemFieldMap = null;
|
|
@@ -4545,7 +4462,7 @@ let DatasetAwareNavComponent = class DatasetAwareNavComponent extends StylableCo
|
|
|
4545
4462
|
prepareNodeDataSet(nv) {
|
|
4546
4463
|
nv = createArrayFrom(nv);
|
|
4547
4464
|
return nv.map((val) => {
|
|
4548
|
-
if (!isObject
|
|
4465
|
+
if (!isObject(val)) {
|
|
4549
4466
|
return {
|
|
4550
4467
|
label: val,
|
|
4551
4468
|
value: val
|
|
@@ -4596,12 +4513,7 @@ let DatasetAwareNavComponent = class DatasetAwareNavComponent extends StylableCo
|
|
|
4596
4513
|
}
|
|
4597
4514
|
super.onPropertyChange(key, nv, ov);
|
|
4598
4515
|
}
|
|
4599
|
-
}
|
|
4600
|
-
DatasetAwareNavComponent = __decorate([
|
|
4601
|
-
__param(2, Inject('EXPLICIT_CONTEXT')),
|
|
4602
|
-
__param(2, Optional()),
|
|
4603
|
-
__metadata("design:paramtypes", [Injector, Object, Object])
|
|
4604
|
-
], DatasetAwareNavComponent);
|
|
4516
|
+
}
|
|
4605
4517
|
|
|
4606
4518
|
const DEFAULT_VALIDATOR = {
|
|
4607
4519
|
pattern: 'regexp',
|
|
@@ -4651,7 +4563,7 @@ class BaseFieldValidations {
|
|
|
4651
4563
|
if (this.instance.regexp) {
|
|
4652
4564
|
_validator.push(Validators.pattern(this.instance.regexp));
|
|
4653
4565
|
}
|
|
4654
|
-
if (this.formwidget && isFunction(this.formwidget.validate)) {
|
|
4566
|
+
if (this.formwidget && _.isFunction(this.formwidget.validate)) {
|
|
4655
4567
|
_validator.push(this.formwidget.validate.bind(this.formwidget));
|
|
4656
4568
|
}
|
|
4657
4569
|
return _validator;
|
|
@@ -4678,7 +4590,7 @@ class BaseFieldValidations {
|
|
|
4678
4590
|
}
|
|
4679
4591
|
getPromiseList(validators) {
|
|
4680
4592
|
const arr = [];
|
|
4681
|
-
forEach(validators, (fn, index) => {
|
|
4593
|
+
_.forEach(validators, (fn, index) => {
|
|
4682
4594
|
let promise = fn;
|
|
4683
4595
|
if (fn instanceof Function && fn.bind) {
|
|
4684
4596
|
promise = fn(this.widgetControl, this.widgetContext);
|
|
@@ -4700,11 +4612,11 @@ class BaseFieldValidations {
|
|
|
4700
4612
|
// if err obj has validationMessage key, then set validationMessage using this value
|
|
4701
4613
|
// else return the value of the first key in the err object as validation message.
|
|
4702
4614
|
if (err.hasOwnProperty('errorMessage')) {
|
|
4703
|
-
this.instance.validationmessage = get(err, 'errorMessage');
|
|
4615
|
+
this.instance.validationmessage = _.get(err, 'errorMessage');
|
|
4704
4616
|
}
|
|
4705
4617
|
else {
|
|
4706
|
-
const keys
|
|
4707
|
-
this.instance.validationmessage = (err[keys
|
|
4618
|
+
const keys = _.keys(err);
|
|
4619
|
+
this.instance.validationmessage = (err[keys[0]]).toString();
|
|
4708
4620
|
}
|
|
4709
4621
|
return err;
|
|
4710
4622
|
}).then(response => {
|
|
@@ -4736,7 +4648,7 @@ class BaseFieldValidations {
|
|
|
4736
4648
|
}
|
|
4737
4649
|
}
|
|
4738
4650
|
isDefaultValidator(type) {
|
|
4739
|
-
return get(VALIDATOR, toUpper(type));
|
|
4651
|
+
return _.get(VALIDATOR, _.toUpper(type));
|
|
4740
4652
|
}
|
|
4741
4653
|
// default validator is bound to a function then watch for value changes
|
|
4742
4654
|
// otherwise set the value of default validator directly
|
|
@@ -4752,10 +4664,10 @@ class BaseFieldValidations {
|
|
|
4752
4664
|
}
|
|
4753
4665
|
// sets the default validation on the form field
|
|
4754
4666
|
setValidators(validators) {
|
|
4755
|
-
let _cloneValidators = cloneDeep(validators);
|
|
4667
|
+
let _cloneValidators = _.cloneDeep(validators);
|
|
4756
4668
|
this.hasValidators = true;
|
|
4757
4669
|
this._syncValidators = [];
|
|
4758
|
-
forEach(_cloneValidators, (obj, index) => {
|
|
4670
|
+
_.forEach(_cloneValidators, (obj, index) => {
|
|
4759
4671
|
// custom validation is bound to function.
|
|
4760
4672
|
if (obj && obj instanceof Function) {
|
|
4761
4673
|
// passing formfield and form as arguments to the obj (i.e. validator function)
|
|
@@ -4764,17 +4676,17 @@ class BaseFieldValidations {
|
|
|
4764
4676
|
}
|
|
4765
4677
|
else {
|
|
4766
4678
|
// checks for default validator like required, maxchars etc.
|
|
4767
|
-
const key = get(obj, 'type');
|
|
4768
|
-
this.defaultValidatorMessages[key] = get(obj, 'errorMessage');
|
|
4679
|
+
const key = _.get(obj, 'type');
|
|
4680
|
+
this.defaultValidatorMessages[key] = _.get(obj, 'errorMessage');
|
|
4769
4681
|
if (this.isDefaultValidator(key)) {
|
|
4770
|
-
const value = get(obj, 'validator');
|
|
4682
|
+
const value = _.get(obj, 'validator');
|
|
4771
4683
|
this.setDefaultValidator(key, value);
|
|
4772
4684
|
_cloneValidators[index] = '';
|
|
4773
4685
|
}
|
|
4774
4686
|
}
|
|
4775
4687
|
});
|
|
4776
4688
|
// _syncValidators contains all the custom validations on the form field. will not include default validators.
|
|
4777
|
-
this._syncValidators = filter
|
|
4689
|
+
this._syncValidators = _.filter(_cloneValidators, val => {
|
|
4778
4690
|
if (val) {
|
|
4779
4691
|
return val;
|
|
4780
4692
|
}
|
|
@@ -4782,8 +4694,8 @@ class BaseFieldValidations {
|
|
|
4782
4694
|
this.applyDefaultValidators();
|
|
4783
4695
|
}
|
|
4784
4696
|
observeOn(fields, context) {
|
|
4785
|
-
forEach(fields, field => {
|
|
4786
|
-
const formfield = find(this.widgetContext[context], { 'key': field });
|
|
4697
|
+
_.forEach(fields, field => {
|
|
4698
|
+
const formfield = _.find(this.widgetContext[context], { 'key': field });
|
|
4787
4699
|
if (formfield) {
|
|
4788
4700
|
if (!formfield.notifyForFields) {
|
|
4789
4701
|
formfield.notifyForFields = [];
|
|
@@ -4814,13 +4726,13 @@ class BaseFieldValidations {
|
|
|
4814
4726
|
const watchName = `${this.instance.widgetId}_` + key + '_formField';
|
|
4815
4727
|
$unwatch(watchName);
|
|
4816
4728
|
//[Todo-CSP]: Need clarity generate this expr fn if form is present in the page
|
|
4817
|
-
this.instance.registerDestroyListener($watch('boundFn(fn)', extend(this.instance, this.instance.viewParent), { fn }, (nv, ov) => {
|
|
4729
|
+
this.instance.registerDestroyListener($watch('boundFn(fn)', _.extend(this.instance, this.instance.viewParent), { fn }, (nv, ov) => {
|
|
4818
4730
|
this.instance.widget[key] = nv;
|
|
4819
4731
|
this.applyDefaultValidators();
|
|
4820
4732
|
}, watchName));
|
|
4821
4733
|
}
|
|
4822
4734
|
isNullOrEmptyOrFalsy(value) {
|
|
4823
|
-
return isEmpty(value);
|
|
4735
|
+
return _.isEmpty(value);
|
|
4824
4736
|
}
|
|
4825
4737
|
// invokes both custom sync validations and default validations.
|
|
4826
4738
|
applyDefaultValidators() {
|
|
@@ -4831,7 +4743,7 @@ class BaseFieldValidations {
|
|
|
4831
4743
|
if (this.formwidget && (this.instance.value === this.formwidget.prevDatavalue || this.isNullOrEmptyOrFalsy(this.instance.value))) {
|
|
4832
4744
|
opt['emitEvent'] = false;
|
|
4833
4745
|
}
|
|
4834
|
-
this.widgetControl.setValidators(concat(this._syncValidators || [], validators));
|
|
4746
|
+
this.widgetControl.setValidators(_.concat(this._syncValidators || [], validators));
|
|
4835
4747
|
this.widgetControl.updateValueAndValidity(opt);
|
|
4836
4748
|
this.setCustomValidationMessage();
|
|
4837
4749
|
}
|
|
@@ -4841,14 +4753,14 @@ class BaseFieldValidations {
|
|
|
4841
4753
|
return;
|
|
4842
4754
|
}
|
|
4843
4755
|
if (fieldErrors.hasOwnProperty('errorMessage')) {
|
|
4844
|
-
this.instance.validationmessage = get(fieldErrors, 'errorMessage');
|
|
4756
|
+
this.instance.validationmessage = _.get(fieldErrors, 'errorMessage');
|
|
4845
4757
|
}
|
|
4846
4758
|
else {
|
|
4847
|
-
const keys
|
|
4848
|
-
const key = keys
|
|
4849
|
-
const validationMsgKey = get(DEFAULT_VALIDATOR, key) || this.formwidget.validateType;
|
|
4759
|
+
const keys = _.keys(fieldErrors);
|
|
4760
|
+
const key = keys[0];
|
|
4761
|
+
const validationMsgKey = _.get(DEFAULT_VALIDATOR, key) || this.formwidget.validateType;
|
|
4850
4762
|
if (validationMsgKey) {
|
|
4851
|
-
const msg = get(this.defaultValidatorMessages, validationMsgKey) || this.instance.validationmessage;
|
|
4763
|
+
const msg = _.get(this.defaultValidatorMessages, validationMsgKey) || this.instance.validationmessage;
|
|
4852
4764
|
if (msg && msg instanceof Function) {
|
|
4853
4765
|
// passing formfield and form as arguments to the errorMessage function.
|
|
4854
4766
|
this.instance.validationmessage = msg(this.widgetControl, this.widgetContext);
|