@wavemaker/app-ng-runtime 11.8.0-rc.5684 → 11.8.1-next.45205
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 +11 -35
- app-ng-runtime/build-task/esm2022/advanced/carousel/carousel-template/carousel-template.build.mjs +3 -5
- 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 +3 -5
- 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 +8 -33
- app-ng-runtime/build-task/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/advanced/carousel/bundles/index.umd.js +18 -29
- app-ng-runtime/components/advanced/carousel/carousel-template/carousel-template.directive.d.ts +3 -3
- 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 +9 -15
- 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 +16 -28
- 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 +284 -384
- 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/public_api.mjs +1 -2
- 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 +17 -50
- 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 +9 -15
- 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 +287 -389
- 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/public_api.d.ts +0 -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 -21
- 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 +3 -3
- 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 +187 -201
- 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 +134 -138
- 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 +190 -205
- 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 -783
- app-ng-runtime/components/data/list/esm2022/list-item.directive.mjs +4 -9
- app-ng-runtime/components/data/list/esm2022/list.animator.mjs +3 -5
- app-ng-runtime/components/data/list/esm2022/list.component.mjs +764 -771
- app-ng-runtime/components/data/list/esm2022/list.module.mjs +2 -2
- app-ng-runtime/components/data/list/fesm2022/index.mjs +770 -782
- app-ng-runtime/components/data/list/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/data/list/list-item.directive.d.ts +0 -4
- 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 +145 -160
- 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 +3 -4
- app-ng-runtime/components/navigation/menu/esm2022/nav/nav-item/nav-item.directive.mjs +8 -14
- app-ng-runtime/components/navigation/menu/esm2022/nav/nav.component.mjs +63 -63
- app-ng-runtime/components/navigation/menu/esm2022/nav/navigation-control.directive.mjs +3 -3
- app-ng-runtime/components/navigation/menu/fesm2022/index.mjs +144 -160
- 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 +3 -3
- app-ng-runtime/components/navigation/menu/nav/nav.component.d.ts +4 -3
- app-ng-runtime/components/navigation/navbar/bundles/index.umd.js +22 -29
- app-ng-runtime/components/navigation/navbar/esm2022/navbar.component.mjs +23 -30
- app-ng-runtime/components/navigation/navbar/esm2022/navbar.module.mjs +2 -2
- app-ng-runtime/components/navigation/navbar/fesm2022/index.mjs +24 -31
- app-ng-runtime/components/navigation/navbar/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/navigation/navbar/navbar.component.d.ts +2 -2
- app-ng-runtime/components/navigation/popover/bundles/index.umd.js +11 -18
- app-ng-runtime/components/navigation/popover/esm2022/popover.component.mjs +12 -19
- app-ng-runtime/components/navigation/popover/esm2022/popover.module.mjs +2 -2
- app-ng-runtime/components/navigation/popover/fesm2022/index.mjs +13 -20
- app-ng-runtime/components/navigation/popover/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/navigation/popover/popover.component.d.ts +2 -2
- app-ng-runtime/components/page/default/bundles/index.umd.js +31 -63
- app-ng-runtime/components/page/default/content/content.component.d.ts +2 -2
- app-ng-runtime/components/page/default/esm2022/content/content.component.mjs +7 -13
- app-ng-runtime/components/page/default/esm2022/layout.directive.mjs +7 -12
- app-ng-runtime/components/page/default/esm2022/page-content/page-content.component.mjs +7 -13
- app-ng-runtime/components/page/default/esm2022/page.directive.mjs +7 -12
- app-ng-runtime/components/page/default/esm2022/page.module.mjs +2 -2
- app-ng-runtime/components/page/default/esm2022/router-outlet.directive.mjs +7 -12
- app-ng-runtime/components/page/default/esm2022/spa-page.directive.mjs +7 -12
- app-ng-runtime/components/page/default/fesm2022/index.mjs +33 -65
- app-ng-runtime/components/page/default/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/page/default/layout.directive.d.ts +2 -2
- app-ng-runtime/components/page/default/page-content/page-content.component.d.ts +2 -2
- app-ng-runtime/components/page/default/page.directive.d.ts +2 -2
- app-ng-runtime/components/page/default/router-outlet.directive.d.ts +2 -2
- app-ng-runtime/components/page/default/spa-page.directive.d.ts +2 -2
- app-ng-runtime/components/page/footer/bundles/index.umd.js +6 -11
- app-ng-runtime/components/page/footer/esm2022/footer.directive.mjs +7 -12
- app-ng-runtime/components/page/footer/esm2022/footer.module.mjs +2 -2
- app-ng-runtime/components/page/footer/fesm2022/index.mjs +8 -13
- app-ng-runtime/components/page/footer/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/page/footer/footer.directive.d.ts +2 -2
- app-ng-runtime/components/page/header/bundles/index.umd.js +6 -12
- app-ng-runtime/components/page/header/esm2022/header.component.mjs +7 -13
- app-ng-runtime/components/page/header/esm2022/header.module.mjs +2 -2
- app-ng-runtime/components/page/header/fesm2022/index.mjs +8 -14
- app-ng-runtime/components/page/header/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/page/header/header.component.d.ts +2 -2
- app-ng-runtime/components/page/left-panel/bundles/index.umd.js +7 -12
- app-ng-runtime/components/page/left-panel/esm2022/left-panel.animator.mjs +1 -1
- app-ng-runtime/components/page/left-panel/esm2022/left-panel.directive.mjs +8 -13
- app-ng-runtime/components/page/left-panel/esm2022/left-panel.module.mjs +2 -2
- app-ng-runtime/components/page/left-panel/fesm2022/index.mjs +9 -14
- app-ng-runtime/components/page/left-panel/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/page/left-panel/left-panel.directive.d.ts +2 -2
- app-ng-runtime/components/page/right-panel/bundles/index.umd.js +6 -11
- app-ng-runtime/components/page/right-panel/esm2022/right-panel.directive.mjs +7 -12
- app-ng-runtime/components/page/right-panel/esm2022/right-panel.module.mjs +2 -2
- app-ng-runtime/components/page/right-panel/fesm2022/index.mjs +8 -13
- app-ng-runtime/components/page/right-panel/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/page/right-panel/right-panel.directive.d.ts +2 -2
- app-ng-runtime/components/page/top-nav/bundles/index.umd.js +6 -11
- app-ng-runtime/components/page/top-nav/esm2022/top-nav.directive.mjs +7 -12
- app-ng-runtime/components/page/top-nav/esm2022/top-nav.module.mjs +2 -2
- app-ng-runtime/components/page/top-nav/fesm2022/index.mjs +8 -13
- app-ng-runtime/components/page/top-nav/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/page/top-nav/top-nav.directive.d.ts +2 -2
- app-ng-runtime/components/prefab/bundles/index.umd.js +18 -28
- app-ng-runtime/components/prefab/esm2022/prefab-container/prefab-container.directive.mjs +8 -14
- app-ng-runtime/components/prefab/esm2022/prefab.directive.mjs +9 -15
- app-ng-runtime/components/prefab/esm2022/prefab.module.mjs +2 -2
- app-ng-runtime/components/prefab/fesm2022/index.mjs +15 -26
- app-ng-runtime/components/prefab/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/prefab/prefab-container/prefab-container.directive.d.ts +2 -2
- app-ng-runtime/components/prefab/prefab.directive.d.ts +2 -2
- app-ng-runtime/core/bundles/index.umd.js +146 -158
- app-ng-runtime/core/esm2022/core.module.mjs +2 -2
- app-ng-runtime/core/esm2022/public_api.mjs +2 -3
- app-ng-runtime/core/esm2022/services/constant.service.mjs +2 -2
- app-ng-runtime/core/esm2022/services/field-type.service.mjs +4 -5
- app-ng-runtime/core/esm2022/services/field-widget.service.mjs +4 -5
- app-ng-runtime/core/esm2022/services/pagination.service.mjs +7 -8
- app-ng-runtime/core/esm2022/services/script-loader.service.mjs +3 -3
- app-ng-runtime/core/esm2022/services/state-persistence.service.mjs +17 -18
- app-ng-runtime/core/esm2022/services/user-custom-pipe-manager.service.mjs +2 -2
- app-ng-runtime/core/esm2022/services/utils.service.mjs +4 -5
- app-ng-runtime/core/esm2022/services/viewport.service.mjs +4 -5
- app-ng-runtime/core/esm2022/utils/build-utils.mjs +4 -5
- app-ng-runtime/core/esm2022/utils/dom.mjs +1 -1
- app-ng-runtime/core/esm2022/utils/event-notifier.mjs +1 -1
- app-ng-runtime/core/esm2022/utils/expression-parser.mjs +5 -6
- app-ng-runtime/core/esm2022/utils/id-generator.mjs +1 -1
- app-ng-runtime/core/esm2022/utils/lru-cache.mjs +2 -3
- app-ng-runtime/core/esm2022/utils/utils.mjs +82 -79
- app-ng-runtime/core/esm2022/utils/watcher.mjs +7 -9
- app-ng-runtime/core/esm2022/utils/wm-project-properties.mjs +1 -1
- app-ng-runtime/core/fesm2022/index.mjs +142 -158
- app-ng-runtime/core/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/core/public_api.d.ts +1 -2
- app-ng-runtime/core/services/pagination.service.d.ts +1 -1
- app-ng-runtime/core/utils/utils.d.ts +9 -5
- app-ng-runtime/http/bundles/index.umd.js +10 -10
- app-ng-runtime/http/esm2022/http-service.module.mjs +2 -2
- app-ng-runtime/http/esm2022/http.service.mjs +6 -7
- app-ng-runtime/http/esm2022/wm-http-request.mjs +1 -1
- app-ng-runtime/http/esm2022/wm-http-response.mjs +1 -1
- app-ng-runtime/http/fesm2022/index.mjs +6 -7
- app-ng-runtime/http/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/locales/angular/global/af-na.js +4 -4
- app-ng-runtime/locales/angular/global/af.js +4 -4
- app-ng-runtime/locales/angular/global/agq.js +4 -4
- app-ng-runtime/locales/angular/global/ak.js +4 -4
- app-ng-runtime/locales/angular/global/am.js +4 -4
- app-ng-runtime/locales/angular/global/ar-ae.js +4 -4
- app-ng-runtime/locales/angular/global/ar-bh.js +4 -4
- app-ng-runtime/locales/angular/global/ar-dj.js +4 -4
- app-ng-runtime/locales/angular/global/ar-dz.js +4 -4
- app-ng-runtime/locales/angular/global/ar-eg.js +4 -4
- app-ng-runtime/locales/angular/global/ar-eh.js +4 -4
- app-ng-runtime/locales/angular/global/ar-er.js +4 -4
- app-ng-runtime/locales/angular/global/ar-il.js +4 -4
- app-ng-runtime/locales/angular/global/ar-iq.js +4 -4
- app-ng-runtime/locales/angular/global/ar-jo.js +4 -4
- app-ng-runtime/locales/angular/global/ar-km.js +4 -4
- app-ng-runtime/locales/angular/global/ar-kw.js +4 -4
- app-ng-runtime/locales/angular/global/ar-lb.js +4 -4
- app-ng-runtime/locales/angular/global/ar-ly.js +4 -4
- app-ng-runtime/locales/angular/global/ar-ma.js +4 -4
- app-ng-runtime/locales/angular/global/ar-mr.js +4 -4
- app-ng-runtime/locales/angular/global/ar-om.js +4 -4
- app-ng-runtime/locales/angular/global/ar-ps.js +4 -4
- app-ng-runtime/locales/angular/global/ar-qa.js +4 -4
- app-ng-runtime/locales/angular/global/ar-sa.js +4 -4
- app-ng-runtime/locales/angular/global/ar-sd.js +4 -4
- app-ng-runtime/locales/angular/global/ar-so.js +4 -4
- app-ng-runtime/locales/angular/global/ar-ss.js +4 -4
- app-ng-runtime/locales/angular/global/ar-sy.js +4 -4
- app-ng-runtime/locales/angular/global/ar-td.js +4 -4
- app-ng-runtime/locales/angular/global/ar-tn.js +4 -4
- app-ng-runtime/locales/angular/global/ar-ye.js +4 -4
- app-ng-runtime/locales/angular/global/ar.js +4 -4
- app-ng-runtime/locales/angular/global/as.js +4 -4
- app-ng-runtime/locales/angular/global/asa.js +4 -4
- app-ng-runtime/locales/angular/global/ast.js +4 -4
- app-ng-runtime/locales/angular/global/az-cyrl.js +4 -4
- app-ng-runtime/locales/angular/global/az-latn.js +4 -4
- app-ng-runtime/locales/angular/global/az.js +4 -4
- app-ng-runtime/locales/angular/global/bas.js +4 -4
- app-ng-runtime/locales/angular/global/be-tarask.js +4 -4
- app-ng-runtime/locales/angular/global/be.js +4 -4
- app-ng-runtime/locales/angular/global/bem.js +4 -4
- app-ng-runtime/locales/angular/global/bez.js +4 -4
- app-ng-runtime/locales/angular/global/bg.js +4 -4
- app-ng-runtime/locales/angular/global/bm.js +4 -4
- app-ng-runtime/locales/angular/global/bn-in.js +4 -4
- app-ng-runtime/locales/angular/global/bn.js +4 -4
- app-ng-runtime/locales/angular/global/bo-in.js +4 -4
- app-ng-runtime/locales/angular/global/bo.js +4 -4
- app-ng-runtime/locales/angular/global/br.js +4 -4
- app-ng-runtime/locales/angular/global/brx.js +4 -4
- app-ng-runtime/locales/angular/global/bs-cyrl.js +4 -4
- app-ng-runtime/locales/angular/global/bs-latn.js +4 -4
- app-ng-runtime/locales/angular/global/bs.js +4 -4
- app-ng-runtime/locales/angular/global/ca-ad.js +4 -4
- app-ng-runtime/locales/angular/global/ca-es-valencia.js +4 -4
- app-ng-runtime/locales/angular/global/ca-fr.js +4 -4
- app-ng-runtime/locales/angular/global/ca-it.js +4 -4
- app-ng-runtime/locales/angular/global/ca.js +4 -4
- app-ng-runtime/locales/angular/global/ccp-in.js +4 -4
- app-ng-runtime/locales/angular/global/ccp.js +4 -4
- app-ng-runtime/locales/angular/global/ce.js +4 -4
- app-ng-runtime/locales/angular/global/ceb.js +4 -4
- app-ng-runtime/locales/angular/global/cgg.js +4 -4
- app-ng-runtime/locales/angular/global/chr.js +4 -4
- app-ng-runtime/locales/angular/global/ckb-ir.js +4 -4
- app-ng-runtime/locales/angular/global/ckb.js +4 -4
- app-ng-runtime/locales/angular/global/cs.js +4 -4
- app-ng-runtime/locales/angular/global/cy.js +4 -4
- app-ng-runtime/locales/angular/global/da-gl.js +4 -4
- app-ng-runtime/locales/angular/global/da.js +4 -4
- app-ng-runtime/locales/angular/global/dav.js +4 -4
- app-ng-runtime/locales/angular/global/de-at.js +4 -4
- app-ng-runtime/locales/angular/global/de-be.js +4 -4
- app-ng-runtime/locales/angular/global/de-ch.js +4 -4
- app-ng-runtime/locales/angular/global/de-it.js +4 -4
- app-ng-runtime/locales/angular/global/de-li.js +4 -4
- app-ng-runtime/locales/angular/global/de-lu.js +4 -4
- app-ng-runtime/locales/angular/global/de.js +4 -4
- app-ng-runtime/locales/angular/global/dje.js +4 -4
- app-ng-runtime/locales/angular/global/doi.js +4 -4
- app-ng-runtime/locales/angular/global/dsb.js +4 -4
- app-ng-runtime/locales/angular/global/dua.js +4 -4
- app-ng-runtime/locales/angular/global/dyo.js +4 -4
- app-ng-runtime/locales/angular/global/dz.js +4 -4
- app-ng-runtime/locales/angular/global/ebu.js +4 -4
- app-ng-runtime/locales/angular/global/ee-tg.js +4 -4
- app-ng-runtime/locales/angular/global/ee.js +4 -4
- app-ng-runtime/locales/angular/global/el-cy.js +4 -4
- app-ng-runtime/locales/angular/global/el.js +4 -4
- app-ng-runtime/locales/angular/global/en-001.js +4 -4
- app-ng-runtime/locales/angular/global/en-150.js +4 -4
- app-ng-runtime/locales/angular/global/en-ae.js +4 -4
- app-ng-runtime/locales/angular/global/en-ag.js +4 -4
- app-ng-runtime/locales/angular/global/en-ai.js +4 -4
- app-ng-runtime/locales/angular/global/en-as.js +4 -4
- app-ng-runtime/locales/angular/global/en-at.js +4 -4
- app-ng-runtime/locales/angular/global/en-au.js +4 -4
- app-ng-runtime/locales/angular/global/en-bb.js +4 -4
- app-ng-runtime/locales/angular/global/en-be.js +4 -4
- app-ng-runtime/locales/angular/global/en-bi.js +4 -4
- app-ng-runtime/locales/angular/global/en-bm.js +4 -4
- app-ng-runtime/locales/angular/global/en-bs.js +4 -4
- app-ng-runtime/locales/angular/global/en-bw.js +4 -4
- app-ng-runtime/locales/angular/global/en-bz.js +4 -4
- app-ng-runtime/locales/angular/global/en-ca.js +4 -4
- app-ng-runtime/locales/angular/global/en-cc.js +4 -4
- app-ng-runtime/locales/angular/global/en-ch.js +4 -4
- app-ng-runtime/locales/angular/global/en-ck.js +4 -4
- app-ng-runtime/locales/angular/global/en-cm.js +4 -4
- app-ng-runtime/locales/angular/global/en-cx.js +4 -4
- app-ng-runtime/locales/angular/global/en-cy.js +4 -4
- app-ng-runtime/locales/angular/global/en-de.js +4 -4
- app-ng-runtime/locales/angular/global/en-dg.js +4 -4
- app-ng-runtime/locales/angular/global/en-dk.js +4 -4
- app-ng-runtime/locales/angular/global/en-dm.js +4 -4
- app-ng-runtime/locales/angular/global/en-er.js +4 -4
- app-ng-runtime/locales/angular/global/en-fi.js +4 -4
- app-ng-runtime/locales/angular/global/en-fj.js +4 -4
- app-ng-runtime/locales/angular/global/en-fk.js +4 -4
- app-ng-runtime/locales/angular/global/en-fm.js +4 -4
- app-ng-runtime/locales/angular/global/en-gb.js +4 -4
- app-ng-runtime/locales/angular/global/en-gd.js +4 -4
- app-ng-runtime/locales/angular/global/en-gg.js +4 -4
- app-ng-runtime/locales/angular/global/en-gh.js +4 -4
- app-ng-runtime/locales/angular/global/en-gi.js +4 -4
- app-ng-runtime/locales/angular/global/en-gm.js +4 -4
- app-ng-runtime/locales/angular/global/en-gu.js +4 -4
- app-ng-runtime/locales/angular/global/en-gy.js +4 -4
- app-ng-runtime/locales/angular/global/en-hk.js +4 -4
- app-ng-runtime/locales/angular/global/en-ie.js +4 -4
- app-ng-runtime/locales/angular/global/en-il.js +4 -4
- app-ng-runtime/locales/angular/global/en-im.js +4 -4
- app-ng-runtime/locales/angular/global/en-in.js +4 -4
- app-ng-runtime/locales/angular/global/en-io.js +4 -4
- app-ng-runtime/locales/angular/global/en-je.js +4 -4
- app-ng-runtime/locales/angular/global/en-jm.js +4 -4
- app-ng-runtime/locales/angular/global/en-ke.js +4 -4
- app-ng-runtime/locales/angular/global/en-ki.js +4 -4
- app-ng-runtime/locales/angular/global/en-kn.js +4 -4
- app-ng-runtime/locales/angular/global/en-ky.js +4 -4
- app-ng-runtime/locales/angular/global/en-lc.js +4 -4
- app-ng-runtime/locales/angular/global/en-lr.js +4 -4
- app-ng-runtime/locales/angular/global/en-ls.js +4 -4
- app-ng-runtime/locales/angular/global/en-mg.js +4 -4
- app-ng-runtime/locales/angular/global/en-mh.js +4 -4
- app-ng-runtime/locales/angular/global/en-mo.js +4 -4
- app-ng-runtime/locales/angular/global/en-mp.js +4 -4
- app-ng-runtime/locales/angular/global/en-ms.js +4 -4
- app-ng-runtime/locales/angular/global/en-mt.js +4 -4
- app-ng-runtime/locales/angular/global/en-mu.js +4 -4
- app-ng-runtime/locales/angular/global/en-mv.js +4 -4
- app-ng-runtime/locales/angular/global/en-mw.js +4 -4
- app-ng-runtime/locales/angular/global/en-my.js +4 -4
- app-ng-runtime/locales/angular/global/en-na.js +4 -4
- app-ng-runtime/locales/angular/global/en-nf.js +4 -4
- app-ng-runtime/locales/angular/global/en-ng.js +4 -4
- app-ng-runtime/locales/angular/global/en-nl.js +4 -4
- app-ng-runtime/locales/angular/global/en-nr.js +4 -4
- app-ng-runtime/locales/angular/global/en-nu.js +4 -4
- app-ng-runtime/locales/angular/global/en-nz.js +4 -4
- app-ng-runtime/locales/angular/global/en-pg.js +4 -4
- app-ng-runtime/locales/angular/global/en-ph.js +4 -4
- app-ng-runtime/locales/angular/global/en-pk.js +4 -4
- app-ng-runtime/locales/angular/global/en-pn.js +4 -4
- app-ng-runtime/locales/angular/global/en-pr.js +4 -4
- app-ng-runtime/locales/angular/global/en-pw.js +4 -4
- app-ng-runtime/locales/angular/global/en-rw.js +4 -4
- app-ng-runtime/locales/angular/global/en-sb.js +4 -4
- app-ng-runtime/locales/angular/global/en-sc.js +4 -4
- app-ng-runtime/locales/angular/global/en-sd.js +4 -4
- app-ng-runtime/locales/angular/global/en-se.js +4 -4
- app-ng-runtime/locales/angular/global/en-sg.js +4 -4
- app-ng-runtime/locales/angular/global/en-sh.js +4 -4
- app-ng-runtime/locales/angular/global/en-si.js +4 -4
- app-ng-runtime/locales/angular/global/en-sl.js +4 -4
- app-ng-runtime/locales/angular/global/en-ss.js +4 -4
- app-ng-runtime/locales/angular/global/en-sx.js +4 -4
- app-ng-runtime/locales/angular/global/en-sz.js +4 -4
- app-ng-runtime/locales/angular/global/en-tc.js +4 -4
- app-ng-runtime/locales/angular/global/en-tk.js +4 -4
- app-ng-runtime/locales/angular/global/en-to.js +4 -4
- app-ng-runtime/locales/angular/global/en-tt.js +4 -4
- app-ng-runtime/locales/angular/global/en-tv.js +4 -4
- app-ng-runtime/locales/angular/global/en-tz.js +4 -4
- app-ng-runtime/locales/angular/global/en-ug.js +4 -4
- app-ng-runtime/locales/angular/global/en-um.js +4 -4
- app-ng-runtime/locales/angular/global/en-vc.js +4 -4
- app-ng-runtime/locales/angular/global/en-vg.js +4 -4
- app-ng-runtime/locales/angular/global/en-vi.js +4 -4
- app-ng-runtime/locales/angular/global/en-vu.js +4 -4
- app-ng-runtime/locales/angular/global/en-ws.js +4 -4
- app-ng-runtime/locales/angular/global/en-za.js +4 -4
- app-ng-runtime/locales/angular/global/en-zm.js +4 -4
- app-ng-runtime/locales/angular/global/en-zw.js +4 -4
- app-ng-runtime/locales/angular/global/en.js +4 -4
- app-ng-runtime/locales/angular/global/eo.js +4 -4
- app-ng-runtime/locales/angular/global/es-419.js +4 -4
- app-ng-runtime/locales/angular/global/es-ar.js +4 -4
- app-ng-runtime/locales/angular/global/es-bo.js +4 -4
- app-ng-runtime/locales/angular/global/es-br.js +4 -4
- app-ng-runtime/locales/angular/global/es-bz.js +4 -4
- app-ng-runtime/locales/angular/global/es-cl.js +4 -4
- app-ng-runtime/locales/angular/global/es-co.js +4 -4
- app-ng-runtime/locales/angular/global/es-cr.js +4 -4
- app-ng-runtime/locales/angular/global/es-cu.js +4 -4
- app-ng-runtime/locales/angular/global/es-do.js +4 -4
- app-ng-runtime/locales/angular/global/es-ea.js +4 -4
- app-ng-runtime/locales/angular/global/es-ec.js +4 -4
- app-ng-runtime/locales/angular/global/es-gq.js +4 -4
- app-ng-runtime/locales/angular/global/es-gt.js +4 -4
- app-ng-runtime/locales/angular/global/es-hn.js +4 -4
- app-ng-runtime/locales/angular/global/es-ic.js +4 -4
- app-ng-runtime/locales/angular/global/es-mx.js +4 -4
- app-ng-runtime/locales/angular/global/es-ni.js +4 -4
- app-ng-runtime/locales/angular/global/es-pa.js +4 -4
- app-ng-runtime/locales/angular/global/es-pe.js +4 -4
- app-ng-runtime/locales/angular/global/es-ph.js +4 -4
- app-ng-runtime/locales/angular/global/es-pr.js +4 -4
- app-ng-runtime/locales/angular/global/es-py.js +4 -4
- app-ng-runtime/locales/angular/global/es-sv.js +4 -4
- app-ng-runtime/locales/angular/global/es-us.js +4 -4
- app-ng-runtime/locales/angular/global/es-uy.js +4 -4
- app-ng-runtime/locales/angular/global/es-ve.js +4 -4
- app-ng-runtime/locales/angular/global/es.js +4 -4
- app-ng-runtime/locales/angular/global/et.js +4 -4
- app-ng-runtime/locales/angular/global/eu.js +4 -4
- app-ng-runtime/locales/angular/global/ewo.js +4 -4
- app-ng-runtime/locales/angular/global/fa-af.js +4 -4
- app-ng-runtime/locales/angular/global/fa.js +4 -4
- app-ng-runtime/locales/angular/global/ff-adlm-bf.js +4 -4
- app-ng-runtime/locales/angular/global/ff-adlm-cm.js +4 -4
- app-ng-runtime/locales/angular/global/ff-adlm-gh.js +4 -4
- app-ng-runtime/locales/angular/global/ff-adlm-gm.js +4 -4
- app-ng-runtime/locales/angular/global/ff-adlm-gw.js +4 -4
- app-ng-runtime/locales/angular/global/ff-adlm-lr.js +4 -4
- app-ng-runtime/locales/angular/global/ff-adlm-mr.js +4 -4
- app-ng-runtime/locales/angular/global/ff-adlm-ne.js +4 -4
- app-ng-runtime/locales/angular/global/ff-adlm-ng.js +4 -4
- app-ng-runtime/locales/angular/global/ff-adlm-sl.js +4 -4
- app-ng-runtime/locales/angular/global/ff-adlm-sn.js +4 -4
- app-ng-runtime/locales/angular/global/ff-adlm.js +4 -4
- app-ng-runtime/locales/angular/global/ff-cm.js +44 -58
- app-ng-runtime/locales/angular/global/ff-gn.js +44 -58
- app-ng-runtime/locales/angular/global/ff-latn-bf.js +4 -4
- app-ng-runtime/locales/angular/global/ff-latn-cm.js +4 -4
- app-ng-runtime/locales/angular/global/ff-latn-gh.js +4 -4
- app-ng-runtime/locales/angular/global/ff-latn-gm.js +4 -4
- app-ng-runtime/locales/angular/global/ff-latn-gn.js +4 -4
- app-ng-runtime/locales/angular/global/ff-latn-gw.js +4 -4
- app-ng-runtime/locales/angular/global/ff-latn-lr.js +4 -4
- app-ng-runtime/locales/angular/global/ff-latn-mr.js +4 -4
- app-ng-runtime/locales/angular/global/ff-latn-ne.js +4 -4
- app-ng-runtime/locales/angular/global/ff-latn-ng.js +4 -4
- app-ng-runtime/locales/angular/global/ff-latn-sl.js +4 -4
- app-ng-runtime/locales/angular/global/ff-latn.js +4 -4
- app-ng-runtime/locales/angular/global/ff-mr.js +44 -58
- app-ng-runtime/locales/angular/global/ff.js +4 -4
- app-ng-runtime/locales/angular/global/fi.js +4 -4
- app-ng-runtime/locales/angular/global/fil.js +4 -4
- app-ng-runtime/locales/angular/global/fo-dk.js +4 -4
- app-ng-runtime/locales/angular/global/fo.js +4 -4
- app-ng-runtime/locales/angular/global/fr-be.js +4 -4
- app-ng-runtime/locales/angular/global/fr-bf.js +4 -4
- app-ng-runtime/locales/angular/global/fr-bi.js +4 -4
- app-ng-runtime/locales/angular/global/fr-bj.js +4 -4
- app-ng-runtime/locales/angular/global/fr-bl.js +4 -4
- app-ng-runtime/locales/angular/global/fr-ca.js +4 -4
- app-ng-runtime/locales/angular/global/fr-cd.js +4 -4
- app-ng-runtime/locales/angular/global/fr-cf.js +4 -4
- app-ng-runtime/locales/angular/global/fr-cg.js +4 -4
- app-ng-runtime/locales/angular/global/fr-ch.js +4 -4
- app-ng-runtime/locales/angular/global/fr-ci.js +4 -4
- app-ng-runtime/locales/angular/global/fr-cm.js +4 -4
- app-ng-runtime/locales/angular/global/fr-dj.js +4 -4
- app-ng-runtime/locales/angular/global/fr-dz.js +4 -4
- app-ng-runtime/locales/angular/global/fr-ga.js +4 -4
- app-ng-runtime/locales/angular/global/fr-gf.js +4 -4
- app-ng-runtime/locales/angular/global/fr-gn.js +4 -4
- app-ng-runtime/locales/angular/global/fr-gp.js +4 -4
- app-ng-runtime/locales/angular/global/fr-gq.js +4 -4
- app-ng-runtime/locales/angular/global/fr-ht.js +4 -4
- app-ng-runtime/locales/angular/global/fr-km.js +4 -4
- app-ng-runtime/locales/angular/global/fr-lu.js +4 -4
- app-ng-runtime/locales/angular/global/fr-ma.js +4 -4
- app-ng-runtime/locales/angular/global/fr-mc.js +4 -4
- app-ng-runtime/locales/angular/global/fr-mf.js +4 -4
- app-ng-runtime/locales/angular/global/fr-mg.js +4 -4
- app-ng-runtime/locales/angular/global/fr-ml.js +4 -4
- app-ng-runtime/locales/angular/global/fr-mq.js +4 -4
- app-ng-runtime/locales/angular/global/fr-mr.js +4 -4
- app-ng-runtime/locales/angular/global/fr-mu.js +4 -4
- app-ng-runtime/locales/angular/global/fr-nc.js +4 -4
- app-ng-runtime/locales/angular/global/fr-ne.js +4 -4
- app-ng-runtime/locales/angular/global/fr-pf.js +4 -4
- app-ng-runtime/locales/angular/global/fr-pm.js +4 -4
- app-ng-runtime/locales/angular/global/fr-re.js +4 -4
- app-ng-runtime/locales/angular/global/fr-rw.js +4 -4
- app-ng-runtime/locales/angular/global/fr-sc.js +4 -4
- app-ng-runtime/locales/angular/global/fr-sn.js +4 -4
- app-ng-runtime/locales/angular/global/fr-sy.js +4 -4
- app-ng-runtime/locales/angular/global/fr-td.js +4 -4
- app-ng-runtime/locales/angular/global/fr-tg.js +4 -4
- app-ng-runtime/locales/angular/global/fr-tn.js +4 -4
- app-ng-runtime/locales/angular/global/fr-vu.js +4 -4
- app-ng-runtime/locales/angular/global/fr-wf.js +4 -4
- app-ng-runtime/locales/angular/global/fr-yt.js +4 -4
- app-ng-runtime/locales/angular/global/fr.js +4 -4
- app-ng-runtime/locales/angular/global/fur.js +4 -4
- app-ng-runtime/locales/angular/global/fy.js +4 -4
- app-ng-runtime/locales/angular/global/ga-gb.js +4 -4
- app-ng-runtime/locales/angular/global/ga.js +4 -4
- app-ng-runtime/locales/angular/global/gd.js +4 -4
- app-ng-runtime/locales/angular/global/gl.js +4 -4
- app-ng-runtime/locales/angular/global/gsw-fr.js +4 -4
- app-ng-runtime/locales/angular/global/gsw-li.js +4 -4
- app-ng-runtime/locales/angular/global/gsw.js +4 -4
- app-ng-runtime/locales/angular/global/gu.js +4 -4
- app-ng-runtime/locales/angular/global/guz.js +4 -4
- app-ng-runtime/locales/angular/global/gv.js +4 -4
- app-ng-runtime/locales/angular/global/ha-gh.js +4 -4
- app-ng-runtime/locales/angular/global/ha-ne.js +4 -4
- app-ng-runtime/locales/angular/global/ha.js +4 -4
- app-ng-runtime/locales/angular/global/haw.js +4 -4
- app-ng-runtime/locales/angular/global/he.js +4 -4
- app-ng-runtime/locales/angular/global/hi-latn.js +4 -4
- app-ng-runtime/locales/angular/global/hi.js +4 -4
- app-ng-runtime/locales/angular/global/hr-ba.js +4 -4
- app-ng-runtime/locales/angular/global/hr.js +4 -4
- app-ng-runtime/locales/angular/global/hsb.js +4 -4
- app-ng-runtime/locales/angular/global/hu.js +4 -4
- app-ng-runtime/locales/angular/global/hy.js +4 -4
- app-ng-runtime/locales/angular/global/ia.js +4 -4
- app-ng-runtime/locales/angular/global/id.js +4 -4
- app-ng-runtime/locales/angular/global/ig.js +4 -4
- app-ng-runtime/locales/angular/global/ii.js +4 -4
- app-ng-runtime/locales/angular/global/is.js +4 -4
- app-ng-runtime/locales/angular/global/it-ch.js +4 -4
- app-ng-runtime/locales/angular/global/it-sm.js +4 -4
- app-ng-runtime/locales/angular/global/it-va.js +4 -4
- app-ng-runtime/locales/angular/global/it.js +4 -4
- app-ng-runtime/locales/angular/global/ja.js +4 -4
- app-ng-runtime/locales/angular/global/jgo.js +4 -4
- app-ng-runtime/locales/angular/global/jmc.js +4 -4
- app-ng-runtime/locales/angular/global/jv.js +4 -4
- app-ng-runtime/locales/angular/global/ka.js +4 -4
- app-ng-runtime/locales/angular/global/kab.js +4 -4
- app-ng-runtime/locales/angular/global/kam.js +4 -4
- app-ng-runtime/locales/angular/global/kde.js +4 -4
- app-ng-runtime/locales/angular/global/kea.js +4 -4
- app-ng-runtime/locales/angular/global/kgp.js +4 -4
- app-ng-runtime/locales/angular/global/khq.js +4 -4
- app-ng-runtime/locales/angular/global/ki.js +4 -4
- app-ng-runtime/locales/angular/global/kk.js +4 -4
- app-ng-runtime/locales/angular/global/kkj.js +4 -4
- app-ng-runtime/locales/angular/global/kl.js +4 -4
- app-ng-runtime/locales/angular/global/kln.js +4 -4
- app-ng-runtime/locales/angular/global/km.js +4 -4
- app-ng-runtime/locales/angular/global/kn.js +4 -4
- app-ng-runtime/locales/angular/global/ko-kp.js +4 -4
- app-ng-runtime/locales/angular/global/ko.js +4 -4
- app-ng-runtime/locales/angular/global/kok.js +4 -4
- app-ng-runtime/locales/angular/global/ks-arab.js +4 -4
- app-ng-runtime/locales/angular/global/ks-deva.js +4 -4
- app-ng-runtime/locales/angular/global/ks.js +4 -4
- app-ng-runtime/locales/angular/global/ksb.js +4 -4
- app-ng-runtime/locales/angular/global/ksf.js +4 -4
- app-ng-runtime/locales/angular/global/ksh.js +4 -4
- app-ng-runtime/locales/angular/global/ku.js +4 -4
- app-ng-runtime/locales/angular/global/kw.js +4 -4
- app-ng-runtime/locales/angular/global/ky.js +4 -4
- app-ng-runtime/locales/angular/global/lag.js +4 -4
- app-ng-runtime/locales/angular/global/lb.js +4 -4
- app-ng-runtime/locales/angular/global/lg.js +4 -4
- app-ng-runtime/locales/angular/global/lkt.js +4 -4
- app-ng-runtime/locales/angular/global/ln-ao.js +4 -4
- app-ng-runtime/locales/angular/global/ln-cf.js +4 -4
- app-ng-runtime/locales/angular/global/ln-cg.js +4 -4
- app-ng-runtime/locales/angular/global/ln.js +4 -4
- app-ng-runtime/locales/angular/global/lo.js +4 -4
- app-ng-runtime/locales/angular/global/lrc-iq.js +4 -4
- app-ng-runtime/locales/angular/global/lrc.js +4 -4
- app-ng-runtime/locales/angular/global/lt.js +4 -4
- app-ng-runtime/locales/angular/global/lu.js +4 -4
- app-ng-runtime/locales/angular/global/luo.js +4 -4
- app-ng-runtime/locales/angular/global/luy.js +4 -4
- app-ng-runtime/locales/angular/global/lv.js +4 -4
- app-ng-runtime/locales/angular/global/mai.js +4 -4
- app-ng-runtime/locales/angular/global/mas-tz.js +4 -4
- app-ng-runtime/locales/angular/global/mas.js +4 -4
- app-ng-runtime/locales/angular/global/mer.js +4 -4
- app-ng-runtime/locales/angular/global/mfe.js +4 -4
- app-ng-runtime/locales/angular/global/mg.js +4 -4
- app-ng-runtime/locales/angular/global/mgh.js +4 -4
- app-ng-runtime/locales/angular/global/mgo.js +4 -4
- app-ng-runtime/locales/angular/global/mi.js +4 -4
- app-ng-runtime/locales/angular/global/mk.js +4 -4
- app-ng-runtime/locales/angular/global/ml.js +4 -4
- app-ng-runtime/locales/angular/global/mn.js +4 -4
- app-ng-runtime/locales/angular/global/mni-beng.js +4 -4
- app-ng-runtime/locales/angular/global/mni.js +4 -4
- app-ng-runtime/locales/angular/global/mr.js +4 -4
- app-ng-runtime/locales/angular/global/ms-bn.js +4 -4
- app-ng-runtime/locales/angular/global/ms-id.js +4 -4
- app-ng-runtime/locales/angular/global/ms-sg.js +4 -4
- app-ng-runtime/locales/angular/global/ms.js +4 -4
- app-ng-runtime/locales/angular/global/mt.js +4 -4
- app-ng-runtime/locales/angular/global/mua.js +4 -4
- app-ng-runtime/locales/angular/global/my.js +4 -4
- app-ng-runtime/locales/angular/global/mzn.js +4 -4
- app-ng-runtime/locales/angular/global/naq.js +4 -4
- app-ng-runtime/locales/angular/global/nb-sj.js +4 -4
- app-ng-runtime/locales/angular/global/nb.js +4 -4
- app-ng-runtime/locales/angular/global/nd.js +4 -4
- app-ng-runtime/locales/angular/global/nds-nl.js +4 -4
- app-ng-runtime/locales/angular/global/nds.js +4 -4
- app-ng-runtime/locales/angular/global/ne-in.js +4 -4
- app-ng-runtime/locales/angular/global/ne.js +4 -4
- app-ng-runtime/locales/angular/global/nl-aw.js +4 -4
- app-ng-runtime/locales/angular/global/nl-be.js +4 -4
- app-ng-runtime/locales/angular/global/nl-bq.js +4 -4
- app-ng-runtime/locales/angular/global/nl-cw.js +4 -4
- app-ng-runtime/locales/angular/global/nl-sr.js +4 -4
- app-ng-runtime/locales/angular/global/nl-sx.js +4 -4
- app-ng-runtime/locales/angular/global/nl.js +4 -4
- app-ng-runtime/locales/angular/global/nmg.js +4 -4
- app-ng-runtime/locales/angular/global/nn.js +4 -4
- app-ng-runtime/locales/angular/global/nnh.js +4 -4
- app-ng-runtime/locales/angular/global/no.js +4 -4
- app-ng-runtime/locales/angular/global/nus.js +4 -4
- app-ng-runtime/locales/angular/global/nyn.js +4 -4
- app-ng-runtime/locales/angular/global/om-ke.js +4 -4
- app-ng-runtime/locales/angular/global/om.js +4 -4
- app-ng-runtime/locales/angular/global/or.js +4 -4
- app-ng-runtime/locales/angular/global/os-ru.js +4 -4
- app-ng-runtime/locales/angular/global/os.js +4 -4
- app-ng-runtime/locales/angular/global/pa-arab.js +4 -4
- app-ng-runtime/locales/angular/global/pa-guru.js +4 -4
- app-ng-runtime/locales/angular/global/pa.js +4 -4
- app-ng-runtime/locales/angular/global/pcm.js +4 -4
- app-ng-runtime/locales/angular/global/pl.js +4 -4
- app-ng-runtime/locales/angular/global/ps-pk.js +4 -4
- app-ng-runtime/locales/angular/global/ps.js +4 -4
- app-ng-runtime/locales/angular/global/pt-ao.js +4 -4
- app-ng-runtime/locales/angular/global/pt-ch.js +4 -4
- app-ng-runtime/locales/angular/global/pt-cv.js +4 -4
- app-ng-runtime/locales/angular/global/pt-gq.js +4 -4
- app-ng-runtime/locales/angular/global/pt-gw.js +4 -4
- app-ng-runtime/locales/angular/global/pt-lu.js +4 -4
- app-ng-runtime/locales/angular/global/pt-mo.js +4 -4
- app-ng-runtime/locales/angular/global/pt-mz.js +4 -4
- app-ng-runtime/locales/angular/global/pt-pt.js +4 -4
- app-ng-runtime/locales/angular/global/pt-st.js +4 -4
- app-ng-runtime/locales/angular/global/pt-tl.js +4 -4
- app-ng-runtime/locales/angular/global/pt.js +4 -4
- app-ng-runtime/locales/angular/global/qu-bo.js +4 -4
- app-ng-runtime/locales/angular/global/qu-ec.js +4 -4
- app-ng-runtime/locales/angular/global/qu.js +4 -4
- app-ng-runtime/locales/angular/global/rm.js +4 -4
- app-ng-runtime/locales/angular/global/rn.js +4 -4
- app-ng-runtime/locales/angular/global/ro-md.js +4 -4
- app-ng-runtime/locales/angular/global/ro.js +4 -4
- app-ng-runtime/locales/angular/global/rof.js +4 -4
- app-ng-runtime/locales/angular/global/ru-by.js +4 -4
- app-ng-runtime/locales/angular/global/ru-kg.js +4 -4
- app-ng-runtime/locales/angular/global/ru-kz.js +4 -4
- app-ng-runtime/locales/angular/global/ru-md.js +4 -4
- app-ng-runtime/locales/angular/global/ru-ua.js +4 -4
- app-ng-runtime/locales/angular/global/ru.js +4 -4
- app-ng-runtime/locales/angular/global/rw.js +4 -4
- app-ng-runtime/locales/angular/global/rwk.js +4 -4
- app-ng-runtime/locales/angular/global/sa.js +4 -4
- app-ng-runtime/locales/angular/global/sah.js +4 -4
- app-ng-runtime/locales/angular/global/saq.js +4 -4
- app-ng-runtime/locales/angular/global/sat-olck.js +4 -4
- app-ng-runtime/locales/angular/global/sat.js +4 -4
- app-ng-runtime/locales/angular/global/sbp.js +4 -4
- app-ng-runtime/locales/angular/global/sc.js +4 -4
- app-ng-runtime/locales/angular/global/sd-arab.js +4 -4
- app-ng-runtime/locales/angular/global/sd-deva.js +4 -4
- app-ng-runtime/locales/angular/global/sd.js +4 -4
- app-ng-runtime/locales/angular/global/se-fi.js +4 -4
- app-ng-runtime/locales/angular/global/se-se.js +4 -4
- app-ng-runtime/locales/angular/global/se.js +4 -4
- app-ng-runtime/locales/angular/global/seh.js +4 -4
- app-ng-runtime/locales/angular/global/ses.js +4 -4
- app-ng-runtime/locales/angular/global/sg.js +4 -4
- app-ng-runtime/locales/angular/global/shi-latn.js +4 -4
- app-ng-runtime/locales/angular/global/shi-tfng.js +4 -4
- app-ng-runtime/locales/angular/global/shi.js +4 -4
- app-ng-runtime/locales/angular/global/si.js +4 -4
- app-ng-runtime/locales/angular/global/sk.js +4 -4
- app-ng-runtime/locales/angular/global/sl.js +4 -4
- app-ng-runtime/locales/angular/global/smn.js +4 -4
- app-ng-runtime/locales/angular/global/sn.js +4 -4
- app-ng-runtime/locales/angular/global/so-dj.js +4 -4
- app-ng-runtime/locales/angular/global/so-et.js +4 -4
- app-ng-runtime/locales/angular/global/so-ke.js +4 -4
- app-ng-runtime/locales/angular/global/so.js +4 -4
- app-ng-runtime/locales/angular/global/sq-mk.js +4 -4
- app-ng-runtime/locales/angular/global/sq-xk.js +4 -4
- app-ng-runtime/locales/angular/global/sq.js +4 -4
- app-ng-runtime/locales/angular/global/sr-cyrl-ba.js +4 -4
- app-ng-runtime/locales/angular/global/sr-cyrl-me.js +4 -4
- app-ng-runtime/locales/angular/global/sr-cyrl-xk.js +4 -4
- app-ng-runtime/locales/angular/global/sr-cyrl.js +4 -4
- app-ng-runtime/locales/angular/global/sr-latn-ba.js +4 -4
- app-ng-runtime/locales/angular/global/sr-latn-me.js +4 -4
- app-ng-runtime/locales/angular/global/sr-latn-xk.js +4 -4
- app-ng-runtime/locales/angular/global/sr-latn.js +4 -4
- app-ng-runtime/locales/angular/global/sr.js +4 -4
- app-ng-runtime/locales/angular/global/su-latn.js +4 -4
- app-ng-runtime/locales/angular/global/su.js +4 -4
- app-ng-runtime/locales/angular/global/sv-ax.js +4 -4
- app-ng-runtime/locales/angular/global/sv-fi.js +4 -4
- app-ng-runtime/locales/angular/global/sv.js +4 -4
- app-ng-runtime/locales/angular/global/sw-cd.js +4 -4
- app-ng-runtime/locales/angular/global/sw-ke.js +4 -4
- app-ng-runtime/locales/angular/global/sw-ug.js +4 -4
- app-ng-runtime/locales/angular/global/sw.js +4 -4
- app-ng-runtime/locales/angular/global/ta-lk.js +4 -4
- app-ng-runtime/locales/angular/global/ta-my.js +4 -4
- app-ng-runtime/locales/angular/global/ta-sg.js +4 -4
- app-ng-runtime/locales/angular/global/ta.js +4 -4
- app-ng-runtime/locales/angular/global/te.js +4 -4
- app-ng-runtime/locales/angular/global/teo-ke.js +4 -4
- app-ng-runtime/locales/angular/global/teo.js +4 -4
- app-ng-runtime/locales/angular/global/tg.js +4 -4
- app-ng-runtime/locales/angular/global/th.js +4 -4
- app-ng-runtime/locales/angular/global/ti-er.js +4 -4
- app-ng-runtime/locales/angular/global/ti.js +4 -4
- app-ng-runtime/locales/angular/global/tk.js +4 -4
- app-ng-runtime/locales/angular/global/to.js +4 -4
- app-ng-runtime/locales/angular/global/tr-cy.js +4 -4
- app-ng-runtime/locales/angular/global/tr.js +4 -4
- app-ng-runtime/locales/angular/global/tt.js +4 -4
- app-ng-runtime/locales/angular/global/twq.js +4 -4
- app-ng-runtime/locales/angular/global/tzm.js +4 -4
- app-ng-runtime/locales/angular/global/ug.js +4 -4
- app-ng-runtime/locales/angular/global/uk.js +4 -4
- app-ng-runtime/locales/angular/global/und.js +4 -4
- app-ng-runtime/locales/angular/global/ur-in.js +4 -4
- app-ng-runtime/locales/angular/global/ur.js +4 -4
- app-ng-runtime/locales/angular/global/uz-arab.js +4 -4
- app-ng-runtime/locales/angular/global/uz-cyrl.js +4 -4
- app-ng-runtime/locales/angular/global/uz-latn.js +4 -4
- app-ng-runtime/locales/angular/global/uz.js +4 -4
- app-ng-runtime/locales/angular/global/vai-latn.js +4 -4
- app-ng-runtime/locales/angular/global/vai-vaii.js +4 -4
- app-ng-runtime/locales/angular/global/vai.js +4 -4
- app-ng-runtime/locales/angular/global/vi.js +4 -4
- app-ng-runtime/locales/angular/global/vun.js +4 -4
- app-ng-runtime/locales/angular/global/wae.js +4 -4
- app-ng-runtime/locales/angular/global/wo.js +4 -4
- app-ng-runtime/locales/angular/global/xh.js +4 -4
- app-ng-runtime/locales/angular/global/xog.js +4 -4
- app-ng-runtime/locales/angular/global/yav.js +4 -4
- app-ng-runtime/locales/angular/global/yi.js +4 -4
- app-ng-runtime/locales/angular/global/yo-bj.js +4 -4
- app-ng-runtime/locales/angular/global/yo.js +4 -4
- app-ng-runtime/locales/angular/global/yrl-co.js +4 -4
- app-ng-runtime/locales/angular/global/yrl-ve.js +4 -4
- app-ng-runtime/locales/angular/global/yrl.js +4 -4
- app-ng-runtime/locales/angular/global/yue-hans.js +4 -4
- app-ng-runtime/locales/angular/global/yue-hant.js +4 -4
- app-ng-runtime/locales/angular/global/yue.js +4 -4
- app-ng-runtime/locales/angular/global/zgh.js +4 -4
- app-ng-runtime/locales/angular/global/zh-hans-hk.js +4 -4
- app-ng-runtime/locales/angular/global/zh-hans-mo.js +4 -4
- app-ng-runtime/locales/angular/global/zh-hans-sg.js +4 -4
- app-ng-runtime/locales/angular/global/zh-hans.js +4 -4
- app-ng-runtime/locales/angular/global/zh-hant-hk.js +4 -4
- app-ng-runtime/locales/angular/global/zh-hant-mo.js +4 -4
- app-ng-runtime/locales/angular/global/zh-hant.js +4 -4
- app-ng-runtime/locales/angular/global/zh.js +4 -4
- app-ng-runtime/locales/angular/global/zu.js +4 -4
- app-ng-runtime/mobile/components/basic/default/bundles/index.umd.js +143 -148
- app-ng-runtime/mobile/components/basic/default/esm2022/anchor/anchor.directive.mjs +7 -8
- app-ng-runtime/mobile/components/basic/default/esm2022/app-update/app-update.component.mjs +6 -7
- app-ng-runtime/mobile/components/basic/default/esm2022/basic.module.mjs +2 -2
- app-ng-runtime/mobile/components/basic/default/esm2022/file-browser/file-browser.component.mjs +43 -47
- app-ng-runtime/mobile/components/basic/default/esm2022/file-browser/file-selector.service.mjs +5 -7
- app-ng-runtime/mobile/components/basic/default/esm2022/image-cache/image-cache.directive.mjs +5 -6
- app-ng-runtime/mobile/components/basic/default/esm2022/network-info-toaster/network-info-toaster.component.mjs +47 -49
- app-ng-runtime/mobile/components/basic/default/esm2022/process-manager/process-management.service.mjs +2 -2
- app-ng-runtime/mobile/components/basic/default/esm2022/process-manager/process-manager.component.mjs +32 -31
- app-ng-runtime/mobile/components/basic/default/fesm2022/index.mjs +140 -146
- app-ng-runtime/mobile/components/basic/default/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/basic/default/network-info-toaster/network-info-toaster.component.d.ts +2 -2
- app-ng-runtime/mobile/components/basic/search/bundles/index.umd.js +3 -3
- app-ng-runtime/mobile/components/basic/search/esm2022/search.directive.mjs +3 -3
- app-ng-runtime/mobile/components/basic/search/esm2022/search.module.mjs +2 -2
- app-ng-runtime/mobile/components/basic/search/fesm2022/index.mjs +3 -3
- app-ng-runtime/mobile/components/basic/search/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/containers/segmented-control/bundles/index.umd.js +30 -42
- app-ng-runtime/mobile/components/containers/segmented-control/esm2022/segment-content/segment-content.component.mjs +8 -14
- app-ng-runtime/mobile/components/containers/segmented-control/esm2022/segmented-control.component.mjs +21 -28
- app-ng-runtime/mobile/components/containers/segmented-control/esm2022/segmented-control.module.mjs +2 -2
- app-ng-runtime/mobile/components/containers/segmented-control/fesm2022/index.mjs +28 -41
- app-ng-runtime/mobile/components/containers/segmented-control/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/containers/segmented-control/segment-content/segment-content.component.d.ts +2 -2
- app-ng-runtime/mobile/components/containers/segmented-control/segmented-control.component.d.ts +2 -2
- app-ng-runtime/mobile/components/data/media-list/bundles/index.umd.js +48 -53
- app-ng-runtime/mobile/components/data/media-list/esm2022/media-list-item/media-list-item.directive.mjs +2 -2
- app-ng-runtime/mobile/components/data/media-list/esm2022/media-list.component.mjs +42 -48
- app-ng-runtime/mobile/components/data/media-list/esm2022/media-list.module.mjs +2 -2
- app-ng-runtime/mobile/components/data/media-list/fesm2022/index.mjs +44 -50
- app-ng-runtime/mobile/components/data/media-list/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/data/media-list/media-list.component.d.ts +2 -2
- app-ng-runtime/mobile/components/device/barcode-scanner/barcode-scanner.component.d.ts +2 -2
- app-ng-runtime/mobile/components/device/barcode-scanner/bundles/index.umd.js +8 -14
- app-ng-runtime/mobile/components/device/barcode-scanner/esm2022/barcode-scanner.component.mjs +9 -15
- app-ng-runtime/mobile/components/device/barcode-scanner/esm2022/barcode-scanner.module.mjs +2 -2
- app-ng-runtime/mobile/components/device/barcode-scanner/fesm2022/index.mjs +10 -16
- app-ng-runtime/mobile/components/device/barcode-scanner/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/device/camera/bundles/index.umd.js +9 -15
- app-ng-runtime/mobile/components/device/camera/camera.component.d.ts +2 -2
- app-ng-runtime/mobile/components/device/camera/esm2022/camera.component.mjs +10 -16
- app-ng-runtime/mobile/components/device/camera/esm2022/camera.module.mjs +2 -2
- app-ng-runtime/mobile/components/device/camera/fesm2022/index.mjs +11 -17
- app-ng-runtime/mobile/components/device/camera/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/input/file-upload/bundles/index.umd.js +3 -3
- app-ng-runtime/mobile/components/input/file-upload/esm2022/file-upload.directive.mjs +3 -3
- app-ng-runtime/mobile/components/input/file-upload/esm2022/file-upload.module.mjs +2 -2
- app-ng-runtime/mobile/components/input/file-upload/fesm2022/index.mjs +3 -3
- app-ng-runtime/mobile/components/input/file-upload/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/page/default/bundles/index.umd.js +10 -11
- app-ng-runtime/mobile/components/page/default/esm2022/page-content-loader/page-content-loader.component.mjs +3 -4
- app-ng-runtime/mobile/components/page/default/esm2022/page.directive.mjs +4 -5
- app-ng-runtime/mobile/components/page/default/esm2022/page.module.mjs +2 -2
- app-ng-runtime/mobile/components/page/default/fesm2022/index.mjs +6 -8
- app-ng-runtime/mobile/components/page/default/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/page/left-panel/bundles/index.umd.js +3 -3
- app-ng-runtime/mobile/components/page/left-panel/esm2022/left-panel.directive.mjs +3 -3
- app-ng-runtime/mobile/components/page/left-panel/esm2022/left-panel.module.mjs +2 -2
- app-ng-runtime/mobile/components/page/left-panel/fesm2022/index.mjs +3 -3
- app-ng-runtime/mobile/components/page/left-panel/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/page/mobile-navbar/bundles/index.umd.js +35 -40
- app-ng-runtime/mobile/components/page/mobile-navbar/esm2022/mobile-navbar.component.mjs +36 -41
- app-ng-runtime/mobile/components/page/mobile-navbar/esm2022/mobile-navbar.module.mjs +2 -2
- app-ng-runtime/mobile/components/page/mobile-navbar/fesm2022/index.mjs +36 -41
- app-ng-runtime/mobile/components/page/mobile-navbar/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/page/mobile-navbar/mobile-navbar.component.d.ts +2 -2
- app-ng-runtime/mobile/components/page/tab-bar/bundles/index.umd.js +46 -52
- app-ng-runtime/mobile/components/page/tab-bar/esm2022/tab-bar.module.mjs +2 -2
- app-ng-runtime/mobile/components/page/tab-bar/esm2022/tabbar.component.mjs +43 -50
- app-ng-runtime/mobile/components/page/tab-bar/fesm2022/index.mjs +44 -51
- app-ng-runtime/mobile/components/page/tab-bar/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/page/tab-bar/tabbar.component.d.ts +2 -2
- app-ng-runtime/mobile/core/bundles/index.umd.js +43 -43
- app-ng-runtime/mobile/core/esm2022/core.module.mjs +3 -3
- app-ng-runtime/mobile/core/esm2022/native.xhr.mjs +1 -1
- app-ng-runtime/mobile/core/esm2022/services/device-file-cache.service.mjs +3 -3
- app-ng-runtime/mobile/core/esm2022/services/device-file-download.service.mjs +6 -7
- app-ng-runtime/mobile/core/esm2022/services/device-file-opener.service.mjs +4 -5
- app-ng-runtime/mobile/core/esm2022/services/device-file-upload.service.mjs +5 -6
- app-ng-runtime/mobile/core/esm2022/services/device-file.service.mjs +7 -8
- app-ng-runtime/mobile/core/esm2022/services/device.service.mjs +4 -5
- app-ng-runtime/mobile/core/esm2022/services/ext-app-message.service.mjs +6 -7
- app-ng-runtime/mobile/core/esm2022/services/network.service.mjs +10 -11
- app-ng-runtime/mobile/core/fesm2022/index.mjs +39 -40
- app-ng-runtime/mobile/core/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/core/services/ext-app-message.service.d.ts +1 -1
- app-ng-runtime/mobile/core/services/network.service.d.ts +1 -7
- app-ng-runtime/mobile/offline/bundles/index.umd.js +159 -176
- app-ng-runtime/mobile/offline/esm2022/models/local-db-store.mjs +21 -23
- app-ng-runtime/mobile/offline/esm2022/offline.module.mjs +3 -3
- app-ng-runtime/mobile/offline/esm2022/services/change-log.service.mjs +8 -9
- app-ng-runtime/mobile/offline/esm2022/services/local-db-data-pull.service.mjs +37 -39
- app-ng-runtime/mobile/offline/esm2022/services/local-db-management.service.mjs +47 -56
- app-ng-runtime/mobile/offline/esm2022/services/local-db.service.mjs +6 -7
- app-ng-runtime/mobile/offline/esm2022/services/local-key-value.service.mjs +2 -2
- app-ng-runtime/mobile/offline/esm2022/services/push.service.mjs +3 -3
- app-ng-runtime/mobile/offline/esm2022/services/workers/error-blocker.mjs +3 -4
- app-ng-runtime/mobile/offline/esm2022/services/workers/file-handler.mjs +13 -18
- app-ng-runtime/mobile/offline/esm2022/services/workers/id-resolver.mjs +3 -3
- app-ng-runtime/mobile/offline/esm2022/services/workers/multi-part-param-transformer.mjs +5 -9
- app-ng-runtime/mobile/offline/esm2022/utils/file-upload.utils.mjs +1 -1
- app-ng-runtime/mobile/offline/esm2022/utils/live-variable.utils.mjs +11 -12
- app-ng-runtime/mobile/offline/esm2022/utils/query-executor.utils.mjs +4 -5
- app-ng-runtime/mobile/offline/esm2022/utils/security.utils.mjs +2 -3
- app-ng-runtime/mobile/offline/esm2022/utils/utils.mjs +1 -1
- app-ng-runtime/mobile/offline/fesm2022/index.mjs +153 -171
- app-ng-runtime/mobile/offline/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/placeholder/runtime/bundles/index.umd.js +2 -3
- app-ng-runtime/mobile/placeholder/runtime/esm2022/components/app-ext.component.mjs +2 -3
- app-ng-runtime/mobile/placeholder/runtime/esm2022/mobile-runtime.module.mjs +2 -2
- app-ng-runtime/mobile/placeholder/runtime/fesm2022/index.mjs +2 -3
- app-ng-runtime/mobile/placeholder/runtime/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/placeholder/runtime-dynamic/bundles/index.umd.js +1 -1
- app-ng-runtime/mobile/placeholder/runtime-dynamic/esm2022/mobile-runtime-dynamic.module.mjs +2 -2
- app-ng-runtime/mobile/placeholder/runtime-dynamic/fesm2022/index.mjs +1 -1
- app-ng-runtime/mobile/placeholder/runtime-dynamic/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/runtime/bundles/index.umd.js +17 -21
- app-ng-runtime/mobile/runtime/esm2022/components/app-ext.component.mjs +3 -4
- app-ng-runtime/mobile/runtime/esm2022/mobile-runtime.module.mjs +4 -5
- app-ng-runtime/mobile/runtime/esm2022/services/cookie.service.mjs +3 -7
- app-ng-runtime/mobile/runtime/esm2022/services/http-interceptor.service.mjs +5 -6
- app-ng-runtime/mobile/runtime/esm2022/services/webprocess.service.mjs +3 -3
- app-ng-runtime/mobile/runtime/fesm2022/index.mjs +13 -18
- app-ng-runtime/mobile/runtime/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/runtime-dynamic/bundles/index.umd.js +5 -5
- app-ng-runtime/mobile/runtime-dynamic/esm2022/mobile-runtime-dynamic.module.mjs +2 -2
- app-ng-runtime/mobile/runtime-dynamic/esm2022/services/live-sync.service.mjs +5 -5
- app-ng-runtime/mobile/runtime-dynamic/fesm2022/index.mjs +5 -5
- app-ng-runtime/mobile/runtime-dynamic/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/variables/bundles/index.umd.js +21 -28
- app-ng-runtime/mobile/variables/esm2022/services/camera-service.mjs +5 -5
- app-ng-runtime/mobile/variables/esm2022/services/contacts-service.mjs +1 -1
- app-ng-runtime/mobile/variables/esm2022/services/datasync-service.mjs +9 -10
- app-ng-runtime/mobile/variables/esm2022/services/device-service/device-service.mjs +1 -1
- app-ng-runtime/mobile/variables/esm2022/services/device-service/location-service.mjs +1 -1
- app-ng-runtime/mobile/variables/esm2022/services/file-service.mjs +3 -11
- app-ng-runtime/mobile/variables/esm2022/services/scan-service.mjs +1 -1
- app-ng-runtime/mobile/variables/esm2022/variables.module.mjs +3 -3
- app-ng-runtime/mobile/variables/fesm2022/index.mjs +16 -24
- app-ng-runtime/mobile/variables/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/oAuth/bundles/index.umd.js +15 -15
- app-ng-runtime/oAuth/esm2022/oAuth.module.mjs +2 -2
- app-ng-runtime/oAuth/esm2022/oAuth.service.mjs +5 -6
- app-ng-runtime/oAuth/esm2022/oAuth.utils.mjs +7 -8
- app-ng-runtime/oAuth/fesm2022/index.mjs +11 -12
- app-ng-runtime/oAuth/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/package.json +1 -1
- app-ng-runtime/runtime/base/bundles/index.umd.js +243 -259
- app-ng-runtime/runtime/base/components/app-component/app.component.d.ts +1 -3
- app-ng-runtime/runtime/base/directives/accessroles.directive.d.ts +3 -4
- app-ng-runtime/runtime/base/esm2022/components/app-component/app.component.mjs +30 -34
- app-ng-runtime/runtime/base/esm2022/components/app-spinner.component.mjs +8 -9
- app-ng-runtime/runtime/base/esm2022/components/base-layout.component.mjs +4 -5
- app-ng-runtime/runtime/base/esm2022/components/base-page.component.mjs +15 -16
- app-ng-runtime/runtime/base/esm2022/components/base-partial.component.mjs +14 -15
- app-ng-runtime/runtime/base/esm2022/components/base-prefab.component.mjs +16 -17
- app-ng-runtime/runtime/base/esm2022/components/base-spa-page.component.mjs +15 -16
- app-ng-runtime/runtime/base/esm2022/components/custom-toaster.component.mjs +15 -17
- app-ng-runtime/runtime/base/esm2022/components/empty-component/empty-page.component.mjs +3 -4
- app-ng-runtime/runtime/base/esm2022/components/prefab-preview.component.mjs +3 -4
- app-ng-runtime/runtime/base/esm2022/directives/accessroles.directive.mjs +16 -24
- app-ng-runtime/runtime/base/esm2022/directives/prefab.directive.mjs +4 -4
- app-ng-runtime/runtime/base/esm2022/guards/auth.guard.mjs +3 -3
- app-ng-runtime/runtime/base/esm2022/guards/can-deactivate-page.guard.mjs +3 -3
- app-ng-runtime/runtime/base/esm2022/guards/page-not-found.guard.mjs +3 -3
- app-ng-runtime/runtime/base/esm2022/guards/role.guard.mjs +4 -5
- app-ng-runtime/runtime/base/esm2022/overrides/wm_dom_renderer.mjs +4 -4
- app-ng-runtime/runtime/base/esm2022/overrides/wm_shared_styles_host.mjs +5 -5
- app-ng-runtime/runtime/base/esm2022/resolves/app-extension.resolve.mjs +3 -3
- app-ng-runtime/runtime/base/esm2022/resolves/app-js.resolve.mjs +3 -3
- app-ng-runtime/runtime/base/esm2022/resolves/app-variables.resolve.mjs +3 -3
- app-ng-runtime/runtime/base/esm2022/resolves/i18n.resolve.mjs +3 -3
- app-ng-runtime/runtime/base/esm2022/resolves/metadata.resolve.mjs +3 -3
- app-ng-runtime/runtime/base/esm2022/resolves/security-config.resolve.mjs +3 -3
- app-ng-runtime/runtime/base/esm2022/runtime-base.module.mjs +3 -3
- app-ng-runtime/runtime/base/esm2022/services/app-defaults.service.mjs +3 -3
- app-ng-runtime/runtime/base/esm2022/services/app.manager.service.mjs +16 -19
- app-ng-runtime/runtime/base/esm2022/services/app.service.mjs +8 -9
- app-ng-runtime/runtime/base/esm2022/services/dynamic-component-ref-provider.service.mjs +4 -5
- app-ng-runtime/runtime/base/esm2022/services/http-interceptor.services.mjs +5 -6
- app-ng-runtime/runtime/base/esm2022/services/i18n.service.mjs +13 -15
- app-ng-runtime/runtime/base/esm2022/services/navigation.service.mjs +9 -10
- app-ng-runtime/runtime/base/esm2022/services/pipe-provider.service.mjs +3 -3
- app-ng-runtime/runtime/base/esm2022/services/pipe.service.mjs +3 -3
- app-ng-runtime/runtime/base/esm2022/services/prefab-manager.service.mjs +4 -5
- app-ng-runtime/runtime/base/esm2022/services/spinner.service.mjs +8 -9
- app-ng-runtime/runtime/base/esm2022/services/toaster.service.mjs +7 -8
- app-ng-runtime/runtime/base/esm2022/util/fragment-monitor.mjs +3 -3
- app-ng-runtime/runtime/base/esm2022/util/wm-route-reuse-strategy.mjs +8 -7
- app-ng-runtime/runtime/base/fesm2022/index.mjs +252 -269
- app-ng-runtime/runtime/base/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/runtime/base/overrides/wm_dom_renderer.d.ts +2 -2
- app-ng-runtime/runtime/base/services/i18n.service.d.ts +1 -1
- app-ng-runtime/runtime/dynamic/bundles/index.umd.js +21 -22
- app-ng-runtime/runtime/dynamic/esm2022/app/app.module.mjs +1 -1
- app-ng-runtime/runtime/dynamic/esm2022/app/components/page-wrapper.component.mjs +3 -4
- app-ng-runtime/runtime/dynamic/esm2022/app/services/app-extension.service.mjs +3 -3
- app-ng-runtime/runtime/dynamic/esm2022/app/services/app-js-provider.service.mjs +3 -3
- app-ng-runtime/runtime/dynamic/esm2022/app/services/app-resource-manager.service.mjs +3 -3
- app-ng-runtime/runtime/dynamic/esm2022/app/services/app-variables-provider.service.mjs +3 -3
- app-ng-runtime/runtime/dynamic/esm2022/app/services/component-ref-provider.service.mjs +5 -6
- app-ng-runtime/runtime/dynamic/esm2022/app/services/prefab-config-provider.service.mjs +3 -3
- app-ng-runtime/runtime/dynamic/esm2022/main.mjs +2 -3
- app-ng-runtime/runtime/dynamic/fesm2022/index.mjs +19 -21
- app-ng-runtime/runtime/dynamic/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/scripts/datatable/datatable.js +2 -3
- app-ng-runtime/scripts/jquery-ui/ui/widgets/droppable.js +7 -7
- app-ng-runtime/scripts/jquery-ui/ui/widgets/resizable.js +10 -13
- app-ng-runtime/scripts/jquery-ui/ui/widgets/sortable.js +7 -7
- app-ng-runtime/security/bundles/index.umd.js +17 -17
- app-ng-runtime/security/esm2022/security.module.mjs +2 -2
- app-ng-runtime/security/esm2022/security.service.mjs +13 -14
- app-ng-runtime/security/fesm2022/index.mjs +13 -14
- app-ng-runtime/security/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/security/security.service.d.ts +1 -1
- app-ng-runtime/swipey/esm2022/swipe.animation.mjs +1 -1
- app-ng-runtime/swipey/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/transpiler/bundles/index.umd.js +9 -10
- app-ng-runtime/transpiler/esm2022/build.mjs +6 -8
- app-ng-runtime/transpiler/fesm2022/index.mjs +5 -7
- app-ng-runtime/transpiler/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/variables/bundles/index.umd.js +150 -160
- app-ng-runtime/variables/esm2022/factory/variable.factory.mjs +1 -1
- app-ng-runtime/variables/esm2022/manager/action/login-action.manager.mjs +14 -15
- app-ng-runtime/variables/esm2022/manager/action/logout-action.manager.mjs +1 -1
- app-ng-runtime/variables/esm2022/manager/action/notification-action.manager.mjs +8 -9
- app-ng-runtime/variables/esm2022/manager/variable/base-variable.manager.mjs +2 -3
- app-ng-runtime/variables/esm2022/manager/variable/device-variable-manager.mjs +1 -1
- app-ng-runtime/variables/esm2022/manager/variable/device-variable-service.mjs +1 -1
- app-ng-runtime/variables/esm2022/manager/variable/web-socket-variable.manager.mjs +10 -11
- app-ng-runtime/variables/esm2022/model/action/notification-action.mjs +1 -1
- app-ng-runtime/variables/esm2022/service/metadata-service/metadata.service.mjs +3 -3
- app-ng-runtime/variables/esm2022/service/variables.service.mjs +8 -9
- app-ng-runtime/variables/esm2022/util/action/navigation-action.utils.mjs +4 -4
- app-ng-runtime/variables/esm2022/util/variable/pagination.utils.mjs +23 -30
- app-ng-runtime/variables/esm2022/util/variable/service-variable.utils.mjs +28 -29
- app-ng-runtime/variables/esm2022/util/variable/variables.utils.mjs +70 -75
- app-ng-runtime/variables/esm2022/variables.module.mjs +2 -2
- app-ng-runtime/variables/fesm2022/index.mjs +163 -174
- app-ng-runtime/variables/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/variables/util/variable/service-variable.utils.d.ts +1 -1
- app-ng-runtime/build-task/.npmignore +0 -2
- app-ng-runtime/components/advanced/carousel/.npmignore +0 -2
- app-ng-runtime/components/advanced/login/.npmignore +0 -2
- app-ng-runtime/components/advanced/marquee/.npmignore +0 -2
- app-ng-runtime/components/base/.npmignore +0 -2
- app-ng-runtime/components/basic/default/.npmignore +0 -2
- app-ng-runtime/components/basic/progress/.npmignore +0 -2
- app-ng-runtime/components/basic/rich-text-editor/.npmignore +0 -2
- app-ng-runtime/components/basic/search/.npmignore +0 -2
- app-ng-runtime/components/basic/tree/.npmignore +0 -2
- app-ng-runtime/components/chart/.npmignore +0 -2
- app-ng-runtime/components/containers/accordion/.npmignore +0 -2
- app-ng-runtime/components/containers/layout-grid/.npmignore +0 -2
- app-ng-runtime/components/containers/linear-layout/.npmignore +0 -2
- app-ng-runtime/components/containers/panel/.npmignore +0 -2
- app-ng-runtime/components/containers/tabs/.npmignore +0 -2
- app-ng-runtime/components/containers/tile/.npmignore +0 -2
- app-ng-runtime/components/containers/wizard/.npmignore +0 -2
- app-ng-runtime/components/data/card/.npmignore +0 -2
- app-ng-runtime/components/data/form/.npmignore +0 -2
- app-ng-runtime/components/data/list/.npmignore +0 -2
- app-ng-runtime/components/data/live-table/.npmignore +0 -2
- app-ng-runtime/components/data/pagination/.npmignore +0 -2
- app-ng-runtime/components/data/table/.npmignore +0 -2
- app-ng-runtime/components/dialogs/alert-dialog/.npmignore +0 -2
- app-ng-runtime/components/dialogs/confirm-dialog/.npmignore +0 -2
- app-ng-runtime/components/dialogs/default/.npmignore +0 -2
- app-ng-runtime/components/dialogs/design-dialog/.npmignore +0 -2
- app-ng-runtime/components/dialogs/iframe-dialog/.npmignore +0 -2
- app-ng-runtime/components/dialogs/login-dialog/.npmignore +0 -2
- app-ng-runtime/components/dialogs/partial-dialog/.npmignore +0 -2
- app-ng-runtime/components/input/calendar/.npmignore +0 -2
- app-ng-runtime/components/input/chips/.npmignore +0 -2
- app-ng-runtime/components/input/color-picker/.npmignore +0 -2
- app-ng-runtime/components/input/currency/.npmignore +0 -2
- app-ng-runtime/components/input/default/.npmignore +0 -2
- app-ng-runtime/components/input/epoch/.npmignore +0 -2
- app-ng-runtime/components/input/file-upload/.npmignore +0 -2
- app-ng-runtime/components/input/rating/.npmignore +0 -2
- app-ng-runtime/components/input/slider/.npmignore +0 -2
- app-ng-runtime/components/navigation/breadcrumb/.npmignore +0 -2
- app-ng-runtime/components/navigation/menu/.npmignore +0 -2
- app-ng-runtime/components/navigation/navbar/.npmignore +0 -2
- app-ng-runtime/components/navigation/popover/.npmignore +0 -2
- app-ng-runtime/components/page/default/.npmignore +0 -2
- app-ng-runtime/components/page/footer/.npmignore +0 -2
- app-ng-runtime/components/page/header/.npmignore +0 -2
- app-ng-runtime/components/page/left-panel/.npmignore +0 -2
- app-ng-runtime/components/page/right-panel/.npmignore +0 -2
- app-ng-runtime/components/page/top-nav/.npmignore +0 -2
- app-ng-runtime/components/prefab/.npmignore +0 -2
- app-ng-runtime/core/.npmignore +0 -2
- app-ng-runtime/core/esm2022/services/custom-icons-loader.service.mjs +0 -26
- app-ng-runtime/core/services/custom-icons-loader.service.d.ts +0 -7
- app-ng-runtime/http/.npmignore +0 -2
- app-ng-runtime/mobile/components/basic/default/.npmignore +0 -2
- app-ng-runtime/mobile/components/basic/search/.npmignore +0 -2
- app-ng-runtime/mobile/components/containers/segmented-control/.npmignore +0 -2
- app-ng-runtime/mobile/components/data/media-list/.npmignore +0 -2
- app-ng-runtime/mobile/components/device/barcode-scanner/.npmignore +0 -2
- app-ng-runtime/mobile/components/device/camera/.npmignore +0 -2
- app-ng-runtime/mobile/components/input/file-upload/.npmignore +0 -2
- app-ng-runtime/mobile/components/page/default/.npmignore +0 -2
- app-ng-runtime/mobile/components/page/left-panel/.npmignore +0 -2
- app-ng-runtime/mobile/components/page/mobile-navbar/.npmignore +0 -2
- app-ng-runtime/mobile/components/page/tab-bar/.npmignore +0 -2
- app-ng-runtime/mobile/core/.npmignore +0 -2
- app-ng-runtime/mobile/offline/.npmignore +0 -2
- app-ng-runtime/mobile/placeholder/runtime/.npmignore +0 -2
- app-ng-runtime/mobile/placeholder/runtime-dynamic/.npmignore +0 -2
- app-ng-runtime/mobile/runtime/.npmignore +0 -2
- app-ng-runtime/mobile/runtime-dynamic/.npmignore +0 -2
- app-ng-runtime/mobile/variables/.npmignore +0 -2
- app-ng-runtime/oAuth/.npmignore +0 -2
- app-ng-runtime/runtime/base/.npmignore +0 -2
- app-ng-runtime/runtime/dynamic/.npmignore +0 -2
- app-ng-runtime/security/.npmignore +0 -2
- app-ng-runtime/swipey/.npmignore +0 -2
- app-ng-runtime/transpiler/.npmignore +0 -2
- app-ng-runtime/variables/.npmignore +0 -2
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('@wm/core'), require('@wm/security'), require('@wavemaker/focus-trap
|
|
3
|
-
typeof define === 'function' && define.amd ? define(['exports', '@angular/core', '@angular/common', '@wm/core', '@wm/security', '@wavemaker/focus-trap
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.wm = global.wm || {}, global.wm.components = global.wm.components || {}, global.wm.components.base = {}), global.ng.core, global.ng.common, global.wm.core, global.wm.security, global.focusTrap, global.
|
|
5
|
-
})(this, (function (exports, i0, i1$1, i1, security, focusTrap,
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('@wm/core'), require('@wm/security'), require('@wavemaker/focus-trap/dist/focus-trap'), require('@angular/platform-browser'), require('rxjs'), require('rxjs/operators'), require('@angular/forms'), require('@swipey')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define(['exports', '@angular/core', '@angular/common', '@wm/core', '@wm/security', '@wavemaker/focus-trap/dist/focus-trap', '@angular/platform-browser', 'rxjs', 'rxjs/operators', '@angular/forms', '@swipey'], factory) :
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.wm = global.wm || {}, global.wm.components = global.wm.components || {}, global.wm.components.base = {}), global.ng.core, global.ng.common, global.wm.core, global.wm.security, global.focusTrap, global.ng.platformBrowser, global.rxjs, global.rxjs.operators, global.ng.forms, global.swipey));
|
|
5
|
+
})(this, (function (exports, i0, i1$1, i1, security, focusTrap, i1$2, rxjs, operators, forms, _swipey) { 'use strict';
|
|
6
6
|
|
|
7
7
|
function _interopNamespaceDefault(e) {
|
|
8
8
|
var n = Object.create(null);
|
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
/* convert indexes to properties, so as to work for even 'key1[0].child1'*/
|
|
101
101
|
strKey.replace(/\[(\w+)\]/g, '.$1').split('.').forEach(key => {
|
|
102
102
|
// If obj is null, then assign val to null.
|
|
103
|
-
val = (val && val[key]) || (
|
|
103
|
+
val = (val && val[key]) || (_.isNull(obj) ? obj : obj[key]);
|
|
104
104
|
});
|
|
105
105
|
return val;
|
|
106
106
|
}
|
|
@@ -135,7 +135,7 @@
|
|
|
135
135
|
// Handling field name with special charecters
|
|
136
136
|
// Ex: field = "f name"
|
|
137
137
|
if (!bindExpr && !expr) {
|
|
138
|
-
return
|
|
138
|
+
return _.get(dataObj, field);
|
|
139
139
|
}
|
|
140
140
|
return i1.$parseExpr(expressionValue)(context, Object.assign({}, dataObj, { __1: dataObj }));
|
|
141
141
|
};
|
|
@@ -172,12 +172,12 @@
|
|
|
172
172
|
const getOrderByExpr = pageableObj => {
|
|
173
173
|
pageableObj = pageableObj || [];
|
|
174
174
|
const expressions = [], KEY_VAL_SEPARATOR = ' ', FIELD_SEPARATOR = ',';
|
|
175
|
-
|
|
175
|
+
_.forEach(pageableObj, obj => {
|
|
176
176
|
if (obj.direction) {
|
|
177
177
|
expressions.push(obj.property + KEY_VAL_SEPARATOR + obj.direction.toLowerCase());
|
|
178
178
|
}
|
|
179
179
|
});
|
|
180
|
-
return
|
|
180
|
+
return _.join(expressions, FIELD_SEPARATOR);
|
|
181
181
|
};
|
|
182
182
|
const isDataSetWidget = widget => {
|
|
183
183
|
return DATASET_WIDGETS.has(widget);
|
|
@@ -267,13 +267,13 @@
|
|
|
267
267
|
modes.string.push('in', 'notin');
|
|
268
268
|
modes.character.push('in', 'notin');
|
|
269
269
|
}
|
|
270
|
-
|
|
271
|
-
|
|
270
|
+
_.forEach(typesMap, (types, primType) => {
|
|
271
|
+
_.forEach(types, type => {
|
|
272
272
|
matchModeTypesMap[type] = modes[primType];
|
|
273
273
|
});
|
|
274
274
|
});
|
|
275
275
|
// this is used in filter criteria when the user types the column name manually and where we dont know the type of the column
|
|
276
|
-
matchModeTypesMap['default'] =
|
|
276
|
+
matchModeTypesMap['default'] = _.union(modes['number'], modes['string'], modes['character'], modes['date'], modes['date']);
|
|
277
277
|
return matchModeTypesMap;
|
|
278
278
|
};
|
|
279
279
|
const getMatchModeMsgs = (appLocale) => {
|
|
@@ -305,14 +305,14 @@
|
|
|
305
305
|
// Returns array of classes that are evaluated true for given object or array
|
|
306
306
|
const getClassesArray = classVal => {
|
|
307
307
|
let classes = [];
|
|
308
|
-
if (
|
|
308
|
+
if (_.isArray(classVal)) {
|
|
309
309
|
classVal.forEach(v => {
|
|
310
310
|
classes = classes.concat(getClassesArray(v));
|
|
311
311
|
});
|
|
312
312
|
return classes;
|
|
313
313
|
}
|
|
314
|
-
if (
|
|
315
|
-
|
|
314
|
+
if (_.isObject(classVal)) {
|
|
315
|
+
_.forEach(classVal, (val, key) => {
|
|
316
316
|
if (val) {
|
|
317
317
|
classes = classes.concat(key.split(' '));
|
|
318
318
|
}
|
|
@@ -326,9 +326,9 @@
|
|
|
326
326
|
// if the conditional class property has already toAdd and toRemove arrays then take that otherwise build those arrays
|
|
327
327
|
const classToAdd = nv.toAdd || nv;
|
|
328
328
|
const classToRemove = nv.toRemove || ov;
|
|
329
|
-
if (
|
|
330
|
-
toAdd =
|
|
331
|
-
toRemove = classToRemove ? (
|
|
329
|
+
if (_.isObject(nv)) {
|
|
330
|
+
toAdd = _.isArray(classToAdd) ? classToAdd : getClassesArray(classToAdd || []);
|
|
331
|
+
toRemove = classToRemove ? (_.isArray(classToRemove) ? classToRemove : getClassesArray(classToRemove)) : [];
|
|
332
332
|
}
|
|
333
333
|
else {
|
|
334
334
|
toAdd = classToAdd ? [classToAdd] : [];
|
|
@@ -343,9 +343,9 @@
|
|
|
343
343
|
if (!options) {
|
|
344
344
|
options = {};
|
|
345
345
|
}
|
|
346
|
-
|
|
347
|
-
if (
|
|
348
|
-
relatedInfo =
|
|
346
|
+
_.forEach(dataObject, (value, title) => {
|
|
347
|
+
if (_.includes(title, '.')) {
|
|
348
|
+
relatedInfo = _.split(title, '.');
|
|
349
349
|
relatedTable = relatedInfo[0];
|
|
350
350
|
relatedField = relatedInfo[1];
|
|
351
351
|
isRelated = true;
|
|
@@ -354,7 +354,7 @@
|
|
|
354
354
|
modifiedTitle = title;
|
|
355
355
|
}
|
|
356
356
|
else {
|
|
357
|
-
if (
|
|
357
|
+
if (_.isString(title)) {
|
|
358
358
|
modifiedTitle = i1.prettifyLabel(title);
|
|
359
359
|
modifiedTitle = i1.deHyphenate(modifiedTitle);
|
|
360
360
|
modifiedTitle = namePrefix ? i1.initCaps(namePrefix) + ' ' + modifiedTitle : modifiedTitle;
|
|
@@ -366,7 +366,7 @@
|
|
|
366
366
|
title = namePrefix ? namePrefix + '.' + title : title;
|
|
367
367
|
if (isRelated) {
|
|
368
368
|
// For related columns, shorten the title to last two words
|
|
369
|
-
fieldName =
|
|
369
|
+
fieldName = _.split(modifiedTitle, ' ');
|
|
370
370
|
fieldName = fieldName.length > 1 ? fieldName[fieldName.length - 2] + ' ' + fieldName[fieldName.length - 1] : fieldName[0];
|
|
371
371
|
}
|
|
372
372
|
else {
|
|
@@ -375,7 +375,7 @@
|
|
|
375
375
|
const defObj = options.setBindingField ? { 'displayName': fieldName, 'field': title, 'relatedTable': relatedTable, 'relatedField': relatedField || modifiedTitle }
|
|
376
376
|
: { 'displayName': fieldName, 'relatedTable': relatedTable, 'relatedField': relatedField || modifiedTitle };
|
|
377
377
|
/*if field is a leaf node, push it in the columnDefs*/
|
|
378
|
-
if (!
|
|
378
|
+
if (!_.isObject(value) || (_.isArray(value) && !value[0])) {
|
|
379
379
|
/*if the column counter has reached upperBound return*/
|
|
380
380
|
if (options.upperBound && options.columnCount === options.upperBound) {
|
|
381
381
|
return;
|
|
@@ -391,7 +391,7 @@
|
|
|
391
391
|
columnDefObj.objects.push(defObj);
|
|
392
392
|
}
|
|
393
393
|
/* if field is an array node, process its first child */
|
|
394
|
-
if (
|
|
394
|
+
if (_.isArray(value) && value[0]) {
|
|
395
395
|
pushFieldDef(value[0], columnDefObj, title + '[0]', options);
|
|
396
396
|
}
|
|
397
397
|
else {
|
|
@@ -402,17 +402,17 @@
|
|
|
402
402
|
};
|
|
403
403
|
const getMetaDataFromData = (data) => {
|
|
404
404
|
let dataObject;
|
|
405
|
-
if (
|
|
406
|
-
if (
|
|
405
|
+
if (_.isArray(data)) {
|
|
406
|
+
if (_.isObject(data[0])) {
|
|
407
407
|
dataObject = i1.getClonedObject(data[0]);
|
|
408
408
|
/*Loop over the object to find out any null values. If any null values are present in the first row, check and assign the values from other row.
|
|
409
409
|
* As column generation is dependent on data, for related fields if first row value is null, columns are not generated.
|
|
410
410
|
* To prevent this, check the data in other rows and generate the columns. New keys from others rows are also added*/
|
|
411
|
-
|
|
411
|
+
_.forEach(data, (row, index) => {
|
|
412
412
|
if ((index + 1) >= 10) { // Limit the data search to first 10 records
|
|
413
413
|
return false;
|
|
414
414
|
}
|
|
415
|
-
|
|
415
|
+
_.assignWith(dataObject, row, (objValue, srcValue) => {
|
|
416
416
|
return (objValue === null || objValue === undefined) ? srcValue : objValue;
|
|
417
417
|
});
|
|
418
418
|
});
|
|
@@ -801,7 +801,7 @@
|
|
|
801
801
|
if (isDimensionProp(key)) {
|
|
802
802
|
nv = i1.toDimension(nv);
|
|
803
803
|
}
|
|
804
|
-
else if (
|
|
804
|
+
else if (_.startsWith(nv, 'resources/')) {
|
|
805
805
|
const ref = component;
|
|
806
806
|
if (ref._parentPrefab_ === undefined) {
|
|
807
807
|
ref._parentPrefab_ = component.$element.parent().closest('[prefabname][prefabname!="__self__"]').attr('prefabname') || '';
|
|
@@ -842,7 +842,7 @@
|
|
|
842
842
|
},
|
|
843
843
|
get: (target, key) => {
|
|
844
844
|
const v = target[key];
|
|
845
|
-
if (
|
|
845
|
+
if (_.isFunction(v)) { // bind the proper context for the methods
|
|
846
846
|
return v.bind(target);
|
|
847
847
|
}
|
|
848
848
|
return v;
|
|
@@ -871,7 +871,7 @@
|
|
|
871
871
|
// bind proper context for the methods
|
|
872
872
|
invokeLater(() => {
|
|
873
873
|
for (const key in instance) {
|
|
874
|
-
if (
|
|
874
|
+
if (_.isFunction(instance[key]) && key !== 'constructor' && key !== 'super' && !_.startsWith(key, 'ng')) {
|
|
875
875
|
instance[key] = instance[key].bind(instance);
|
|
876
876
|
}
|
|
877
877
|
}
|
|
@@ -902,21 +902,21 @@
|
|
|
902
902
|
// Gets list of classes to add and remove and applies on the $el
|
|
903
903
|
const updateClasses = (toAdd, toRemove, el) => {
|
|
904
904
|
if (toRemove && toRemove.length) {
|
|
905
|
-
i1.removeClass(el,
|
|
905
|
+
i1.removeClass(el, _.join(toRemove, ' '));
|
|
906
906
|
}
|
|
907
907
|
if (toAdd && toAdd.length) {
|
|
908
|
-
i1.addClass(el,
|
|
908
|
+
i1.addClass(el, _.join(toAdd, ' '));
|
|
909
909
|
}
|
|
910
910
|
};
|
|
911
911
|
// To add and remove styles on the $el
|
|
912
912
|
const updateStyles = (nv, ov, el) => {
|
|
913
|
-
if (ov &&
|
|
913
|
+
if (ov && _.isObject(ov)) {
|
|
914
914
|
const keys = Object.keys(ov || {});
|
|
915
915
|
keys.forEach(function (key) {
|
|
916
916
|
i1.setCSS(el, key, '');
|
|
917
917
|
});
|
|
918
918
|
}
|
|
919
|
-
if (nv &&
|
|
919
|
+
if (nv && _.isObject(nv)) {
|
|
920
920
|
i1.setCSSFromObj(el, nv);
|
|
921
921
|
}
|
|
922
922
|
};
|
|
@@ -927,7 +927,7 @@
|
|
|
927
927
|
get $element() {
|
|
928
928
|
return $(this.nativeElement);
|
|
929
929
|
}
|
|
930
|
-
constructor(inj, config,
|
|
930
|
+
constructor(inj, config, initPromise // Promise on which the initialization has to wait
|
|
931
931
|
) {
|
|
932
932
|
this.inj = inj;
|
|
933
933
|
this.isAttached = false;
|
|
@@ -959,7 +959,6 @@
|
|
|
959
959
|
this.__cloneable__ = false;
|
|
960
960
|
this.$attrs = new Map();
|
|
961
961
|
this.isMuted = false;
|
|
962
|
-
this.customInjectorMap = {};
|
|
963
962
|
const elementRef = inj.get(i0.ElementRef);
|
|
964
963
|
this.nativeElement = elementRef.nativeElement;
|
|
965
964
|
//making the code compatible in both the JIT and AOT modes
|
|
@@ -1012,7 +1011,6 @@
|
|
|
1012
1011
|
i1.addClass(this.nativeElement, config.hostClass);
|
|
1013
1012
|
}
|
|
1014
1013
|
this.widgetId = this.generateWidgetId();
|
|
1015
|
-
this.trackId = this.generateWidgetId();
|
|
1016
1014
|
i1.setAttr(this.nativeElement, 'widget-id', this.widgetId, true);
|
|
1017
1015
|
// register default property change handler and style change handler
|
|
1018
1016
|
this.registerStyleChangeListener(this.onStyleChange, this);
|
|
@@ -1028,9 +1026,6 @@
|
|
|
1028
1026
|
this.setInitProps();
|
|
1029
1027
|
});
|
|
1030
1028
|
}
|
|
1031
|
-
if (explicitContext) {
|
|
1032
|
-
lodashEs.extend(this.context, explicitContext);
|
|
1033
|
-
}
|
|
1034
1029
|
}
|
|
1035
1030
|
getNativeElement() {
|
|
1036
1031
|
return this.nativeElement;
|
|
@@ -1103,8 +1098,8 @@
|
|
|
1103
1098
|
}
|
|
1104
1099
|
if (parentContexts) {
|
|
1105
1100
|
let parentContextObj = {};
|
|
1106
|
-
if (
|
|
1107
|
-
|
|
1101
|
+
if (_.isArray(parentContexts)) {
|
|
1102
|
+
_.forEach(parentContexts, (contextObj) => {
|
|
1108
1103
|
Object.assign(parentContextObj, contextObj);
|
|
1109
1104
|
});
|
|
1110
1105
|
}
|
|
@@ -1262,7 +1257,7 @@
|
|
|
1262
1257
|
this.eventHandlers.set(this.getMappedEventName(eventName), { callback: eventCallback, locals });
|
|
1263
1258
|
// prepend eventName with on and convert it to camelcase.
|
|
1264
1259
|
// eg, "click" ---> onClick
|
|
1265
|
-
const onEventName =
|
|
1260
|
+
const onEventName = _.camelCase(`on-${eventName}`);
|
|
1266
1261
|
// save the eventCallback in widgetScope.
|
|
1267
1262
|
this[onEventName] = eventCallback;
|
|
1268
1263
|
// events needs to be setup after viewInit
|
|
@@ -1342,7 +1337,7 @@
|
|
|
1342
1337
|
if (_tNodeAttrs === null) {
|
|
1343
1338
|
return actualAttrs.sort();
|
|
1344
1339
|
}
|
|
1345
|
-
|
|
1340
|
+
_.forEach(_tNodeAttrs, (attr, i) => {
|
|
1346
1341
|
if (typeof attr === 'number') {
|
|
1347
1342
|
return false;
|
|
1348
1343
|
}
|
|
@@ -1367,7 +1362,7 @@
|
|
|
1367
1362
|
* Process the attributes
|
|
1368
1363
|
*/
|
|
1369
1364
|
processAttrs() {
|
|
1370
|
-
|
|
1365
|
+
_.map(this.getAttributes(), (attrName) => {
|
|
1371
1366
|
let attrValue = this.nativeElement.attributes[attrName].value;
|
|
1372
1367
|
this.$attrs.set(attrName, attrValue);
|
|
1373
1368
|
this.processAttr(attrName, attrValue);
|
|
@@ -1443,28 +1438,6 @@
|
|
|
1443
1438
|
unmute() {
|
|
1444
1439
|
this.isMuted = false;
|
|
1445
1440
|
}
|
|
1446
|
-
/**
|
|
1447
|
-
* After the Angular 17 upgrade, Angular is no longer sending ngTemplateContext to components in ng-template.
|
|
1448
|
-
* Wavemaker widgets inside ng-template require context to evaluate bind expressions.
|
|
1449
|
-
* So we're creating an injectionToken that returns the context as a value.
|
|
1450
|
-
* We are passing the injectionToken to the ngTemplateOutletInjector.
|
|
1451
|
-
* This injects the context into each widget in the ng-template.
|
|
1452
|
-
* In the widget component constructor we are getting the injectionToken using dependency injection.
|
|
1453
|
-
* If injectionToken is present, we extend the component context with the value of injectionToken.
|
|
1454
|
-
* @param contextKey
|
|
1455
|
-
* @param context
|
|
1456
|
-
* @returns injector
|
|
1457
|
-
*/
|
|
1458
|
-
createCustomInjector(contextKey, context) {
|
|
1459
|
-
if (this.customInjectorMap[contextKey]) {
|
|
1460
|
-
return this.customInjectorMap[contextKey].injector;
|
|
1461
|
-
}
|
|
1462
|
-
const injector = i0.Injector.create({
|
|
1463
|
-
providers: [{ provide: 'EXPLICIT_CONTEXT', useFactory: () => context }]
|
|
1464
|
-
});
|
|
1465
|
-
this.customInjectorMap[contextKey] = { context, injector };
|
|
1466
|
-
return injector;
|
|
1467
|
-
}
|
|
1468
1441
|
/**
|
|
1469
1442
|
* After the host page is attached from cache, this function is called.
|
|
1470
1443
|
*/
|
|
@@ -1508,26 +1481,21 @@
|
|
|
1508
1481
|
this.destroy.complete();
|
|
1509
1482
|
this.isAttached = false;
|
|
1510
1483
|
}
|
|
1511
|
-
static { this.ɵfac = function BaseComponent_Factory(t) { return new (t || BaseComponent)(i0__namespace.ɵɵinject(i0__namespace.Injector), i0__namespace.ɵɵinject(WidgetConfig), i0__namespace.ɵɵinject(
|
|
1484
|
+
static { this.ɵfac = function BaseComponent_Factory(t) { return new (t || BaseComponent)(i0__namespace.ɵɵinject(i0__namespace.Injector), i0__namespace.ɵɵinject(WidgetConfig), i0__namespace.ɵɵinject(Promise)); }; }
|
|
1512
1485
|
static { this.ɵprov = /*@__PURE__*/ i0__namespace.ɵɵdefineInjectable({ token: BaseComponent, factory: BaseComponent.ɵfac }); }
|
|
1513
1486
|
}
|
|
1514
|
-
(()
|
|
1487
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(BaseComponent, [{
|
|
1515
1488
|
type: i0.Injectable
|
|
1516
|
-
}], ()
|
|
1489
|
+
}], function () { return [{ type: i0__namespace.Injector }, { type: undefined, decorators: [{
|
|
1517
1490
|
type: i0.Inject,
|
|
1518
1491
|
args: [WidgetConfig]
|
|
1519
|
-
}] }, { type:
|
|
1520
|
-
type: i0.Inject,
|
|
1521
|
-
args: ['EXPLICIT_CONTEXT']
|
|
1522
|
-
}, {
|
|
1523
|
-
type: i0.Optional
|
|
1524
|
-
}] }, { type: Promise }], null); })();
|
|
1492
|
+
}] }, { type: Promise }]; }, null); })();
|
|
1525
1493
|
|
|
1526
1494
|
class StylableComponent extends BaseComponent {
|
|
1527
|
-
static { this.ɵfac = /*@__PURE__*/ (
|
|
1495
|
+
static { this.ɵfac = /*@__PURE__*/ function () { let ɵStylableComponent_BaseFactory; return function StylableComponent_Factory(t) { return (ɵStylableComponent_BaseFactory || (ɵStylableComponent_BaseFactory = i0__namespace.ɵɵgetInheritedFactory(StylableComponent)))(t || StylableComponent); }; }(); }
|
|
1528
1496
|
static { this.ɵprov = /*@__PURE__*/ i0__namespace.ɵɵdefineInjectable({ token: StylableComponent, factory: StylableComponent.ɵfac }); }
|
|
1529
1497
|
}
|
|
1530
|
-
(()
|
|
1498
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(StylableComponent, [{
|
|
1531
1499
|
type: i0.Injectable
|
|
1532
1500
|
}], null, null); })();
|
|
1533
1501
|
|
|
@@ -1545,26 +1513,26 @@
|
|
|
1545
1513
|
static { this.ɵfac = function RedrawableDirective_Factory(t) { return new (t || RedrawableDirective)(i0__namespace.ɵɵdirectiveInject(WidgetRef, 2)); }; }
|
|
1546
1514
|
static { this.ɵdir = /*@__PURE__*/ i0__namespace.ɵɵdefineDirective({ type: RedrawableDirective, selectors: [["", "redrawable", ""]] }); }
|
|
1547
1515
|
}
|
|
1548
|
-
(()
|
|
1516
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(RedrawableDirective, [{
|
|
1549
1517
|
type: i0.Directive,
|
|
1550
1518
|
args: [{
|
|
1551
1519
|
selector: '[redrawable]'
|
|
1552
1520
|
}]
|
|
1553
|
-
}], ()
|
|
1521
|
+
}], function () { return [{ type: undefined, decorators: [{
|
|
1554
1522
|
type: i0.Self
|
|
1555
1523
|
}, {
|
|
1556
1524
|
type: i0.Inject,
|
|
1557
1525
|
args: [WidgetRef]
|
|
1558
|
-
}] }], null); })();
|
|
1526
|
+
}] }]; }, null); })();
|
|
1559
1527
|
|
|
1560
1528
|
class BaseContainerComponent extends StylableComponent {
|
|
1561
|
-
constructor(inj, WIDGET_CONFIG
|
|
1562
|
-
super(inj, WIDGET_CONFIG
|
|
1529
|
+
constructor(inj, WIDGET_CONFIG) {
|
|
1530
|
+
super(inj, WIDGET_CONFIG);
|
|
1563
1531
|
}
|
|
1564
1532
|
updateRedrawableComponents(widgets) {
|
|
1565
|
-
|
|
1533
|
+
_.pickBy(widgets, widget => {
|
|
1566
1534
|
// check for redrawable widget and whether it is already exist in reDrawableComponents query list or not
|
|
1567
|
-
if (widget && widget.nativeElement && widget.nativeElement.hasAttribute('redrawable') && !
|
|
1535
|
+
if (widget && widget.nativeElement && widget.nativeElement.hasAttribute('redrawable') && !_.includes(this.reDrawableComponents._results, widget)) {
|
|
1568
1536
|
this.reDrawableComponents._results.push(widget);
|
|
1569
1537
|
}
|
|
1570
1538
|
if (widget && widget.Widgets) {
|
|
@@ -1599,9 +1567,9 @@
|
|
|
1599
1567
|
i0__namespace.ɵɵqueryRefresh(_t = i0__namespace.ɵɵloadQuery()) && (ctx.reDrawableComponents = _t);
|
|
1600
1568
|
} }, features: [i0__namespace.ɵɵInheritDefinitionFeature] }); }
|
|
1601
1569
|
}
|
|
1602
|
-
(()
|
|
1570
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(BaseContainerComponent, [{
|
|
1603
1571
|
type: i0.Directive
|
|
1604
|
-
}], ()
|
|
1572
|
+
}], function () { return [{ type: i0__namespace.Injector }, { type: undefined }]; }, { reDrawableComponents: [{
|
|
1605
1573
|
type: i0.ContentChildren,
|
|
1606
1574
|
args: [RedrawableDirective, { descendants: true }]
|
|
1607
1575
|
}] }); })();
|
|
@@ -1613,17 +1581,17 @@
|
|
|
1613
1581
|
};
|
|
1614
1582
|
class ContainerDirective extends BaseContainerComponent {
|
|
1615
1583
|
static { this.initializeProps = registerProps$4(); }
|
|
1616
|
-
constructor(inj
|
|
1617
|
-
super(inj, WIDGET_CONFIG$4
|
|
1584
|
+
constructor(inj) {
|
|
1585
|
+
super(inj, WIDGET_CONFIG$4);
|
|
1618
1586
|
i1.addClass(this.nativeElement, DEFAULT_CLS$3);
|
|
1619
1587
|
styler(this.nativeElement, this, exports.APPLY_STYLES_TYPE.CONTAINER);
|
|
1620
1588
|
}
|
|
1621
|
-
static { this.ɵfac = function ContainerDirective_Factory(t) { return new (t || ContainerDirective)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector)
|
|
1589
|
+
static { this.ɵfac = function ContainerDirective_Factory(t) { return new (t || ContainerDirective)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector)); }; }
|
|
1622
1590
|
static { this.ɵdir = /*@__PURE__*/ i0__namespace.ɵɵdefineDirective({ type: ContainerDirective, selectors: [["", "wmContainer", ""]], features: [i0__namespace.ɵɵProvidersFeature([
|
|
1623
1591
|
provideAsWidgetRef(ContainerDirective)
|
|
1624
1592
|
]), i0__namespace.ɵɵInheritDefinitionFeature] }); }
|
|
1625
1593
|
}
|
|
1626
|
-
(()
|
|
1594
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(ContainerDirective, [{
|
|
1627
1595
|
type: i0.Directive,
|
|
1628
1596
|
args: [{
|
|
1629
1597
|
selector: '[wmContainer]',
|
|
@@ -1631,12 +1599,7 @@
|
|
|
1631
1599
|
provideAsWidgetRef(ContainerDirective)
|
|
1632
1600
|
]
|
|
1633
1601
|
}]
|
|
1634
|
-
}], ()
|
|
1635
|
-
type: i0.Inject,
|
|
1636
|
-
args: ['EXPLICIT_CONTEXT']
|
|
1637
|
-
}, {
|
|
1638
|
-
type: i0.Optional
|
|
1639
|
-
}] }], null); })();
|
|
1602
|
+
}], function () { return [{ type: i0__namespace.Injector }]; }, null); })();
|
|
1640
1603
|
|
|
1641
1604
|
class ImagePipe {
|
|
1642
1605
|
transform(url, encode, defaultImageUrl) {
|
|
@@ -1645,7 +1608,7 @@
|
|
|
1645
1608
|
static { this.ɵfac = function ImagePipe_Factory(t) { return new (t || ImagePipe)(); }; }
|
|
1646
1609
|
static { this.ɵpipe = /*@__PURE__*/ i0__namespace.ɵɵdefinePipe({ name: "image", type: ImagePipe, pure: true }); }
|
|
1647
1610
|
}
|
|
1648
|
-
(()
|
|
1611
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(ImagePipe, [{
|
|
1649
1612
|
type: i0.Pipe,
|
|
1650
1613
|
args: [{
|
|
1651
1614
|
name: 'image'
|
|
@@ -1678,8 +1641,8 @@
|
|
|
1678
1641
|
set wmItemTemplate(value) {
|
|
1679
1642
|
this.widget.content = value;
|
|
1680
1643
|
}
|
|
1681
|
-
constructor(inj, elRef, app
|
|
1682
|
-
super(inj, WIDGET_CONFIG$3
|
|
1644
|
+
constructor(inj, elRef, app) {
|
|
1645
|
+
super(inj, WIDGET_CONFIG$3);
|
|
1683
1646
|
this.app = app;
|
|
1684
1647
|
this.nativeElement = elRef.nativeElement;
|
|
1685
1648
|
// this.context = (<NgForOfContext<ItemTemplateDirective>>(<any>inj).view.context);
|
|
@@ -1689,12 +1652,12 @@
|
|
|
1689
1652
|
super.ngOnInit();
|
|
1690
1653
|
this.partialParams.item = this.userComponentParams.dataObject;
|
|
1691
1654
|
}
|
|
1692
|
-
static { this.ɵfac = function ItemTemplateDirective_Factory(t) { return new (t || ItemTemplateDirective)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵdirectiveInject(i0__namespace.ElementRef), i0__namespace.ɵɵdirectiveInject(i1__namespace.App)
|
|
1655
|
+
static { this.ɵfac = function ItemTemplateDirective_Factory(t) { return new (t || ItemTemplateDirective)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵdirectiveInject(i0__namespace.ElementRef), i0__namespace.ɵɵdirectiveInject(i1__namespace.App)); }; }
|
|
1693
1656
|
static { this.ɵdir = /*@__PURE__*/ i0__namespace.ɵɵdefineDirective({ type: ItemTemplateDirective, selectors: [["", "wmItemTemplate", ""]], inputs: { userComponentParams: "userComponentParams", wmItemTemplate: "wmItemTemplate" }, exportAs: ["itemTemplateRef"], features: [i0__namespace.ɵɵProvidersFeature([
|
|
1694
1657
|
provideAsWidgetRef(ItemTemplateDirective)
|
|
1695
1658
|
]), i0__namespace.ɵɵInheritDefinitionFeature] }); }
|
|
1696
1659
|
}
|
|
1697
|
-
(()
|
|
1660
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(ItemTemplateDirective, [{
|
|
1698
1661
|
type: i0.Directive,
|
|
1699
1662
|
args: [{
|
|
1700
1663
|
selector: '[wmItemTemplate]',
|
|
@@ -1703,12 +1666,7 @@
|
|
|
1703
1666
|
provideAsWidgetRef(ItemTemplateDirective)
|
|
1704
1667
|
]
|
|
1705
1668
|
}]
|
|
1706
|
-
}], ()
|
|
1707
|
-
type: i0.Inject,
|
|
1708
|
-
args: ['EXPLICIT_CONTEXT']
|
|
1709
|
-
}, {
|
|
1710
|
-
type: i0.Optional
|
|
1711
|
-
}] }], { userComponentParams: [{
|
|
1669
|
+
}], function () { return [{ type: i0__namespace.Injector }, { type: i0__namespace.ElementRef }, { type: i1__namespace.App }]; }, { userComponentParams: [{
|
|
1712
1670
|
type: i0.Input
|
|
1713
1671
|
}], wmItemTemplate: [{
|
|
1714
1672
|
type: i0.Input
|
|
@@ -1727,36 +1685,29 @@
|
|
|
1727
1685
|
};
|
|
1728
1686
|
class RepeatTemplateDirective extends StylableComponent {
|
|
1729
1687
|
static { this.initializeProps = registerProps$2(); }
|
|
1730
|
-
constructor(inj
|
|
1731
|
-
super(inj, WIDGET_CONFIG$2
|
|
1688
|
+
constructor(inj) {
|
|
1689
|
+
super(inj, WIDGET_CONFIG$2);
|
|
1732
1690
|
styler(this.nativeElement, this);
|
|
1733
1691
|
}
|
|
1734
|
-
static { this.ɵfac = function RepeatTemplateDirective_Factory(t) { return new (t || RepeatTemplateDirective)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector)
|
|
1735
|
-
static { this.ɵdir = /*@__PURE__*/ i0__namespace.ɵɵdefineDirective({ type: RepeatTemplateDirective, selectors: [["", "wmRepeatTemplate", ""]],
|
|
1692
|
+
static { this.ɵfac = function RepeatTemplateDirective_Factory(t) { return new (t || RepeatTemplateDirective)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector)); }; }
|
|
1693
|
+
static { this.ɵdir = /*@__PURE__*/ i0__namespace.ɵɵdefineDirective({ type: RepeatTemplateDirective, selectors: [["", "wmRepeatTemplate", ""]], features: [i0__namespace.ɵɵInheritDefinitionFeature] }); }
|
|
1736
1694
|
}
|
|
1737
|
-
(()
|
|
1695
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(RepeatTemplateDirective, [{
|
|
1738
1696
|
type: i0.Directive,
|
|
1739
1697
|
args: [{
|
|
1740
|
-
selector: '[wmRepeatTemplate]'
|
|
1741
|
-
exportAs: 'repeatItemRef'
|
|
1698
|
+
selector: '[wmRepeatTemplate]'
|
|
1742
1699
|
}]
|
|
1743
|
-
}], ()
|
|
1744
|
-
type: i0.Inject,
|
|
1745
|
-
args: ['EXPLICIT_CONTEXT']
|
|
1746
|
-
}, {
|
|
1747
|
-
type: i0.Optional
|
|
1748
|
-
}] }], null); })();
|
|
1700
|
+
}], function () { return [{ type: i0__namespace.Injector }]; }, null); })();
|
|
1749
1701
|
|
|
1750
1702
|
class LazyLoadDirective {
|
|
1751
|
-
constructor(inj, templateRef, viewContainer
|
|
1703
|
+
constructor(inj, templateRef, viewContainer) {
|
|
1752
1704
|
this.templateRef = templateRef;
|
|
1753
1705
|
this.viewContainer = viewContainer;
|
|
1754
|
-
this.context = {};
|
|
1755
1706
|
let viewParentApp = inj ? inj.get(i1.App) : i0.inject(i1.App);
|
|
1756
1707
|
let lView = inj._lView;
|
|
1757
1708
|
this.viewParent = i1.findParent(lView, viewParentApp);
|
|
1758
1709
|
//this.context = (inj as any).view.context;
|
|
1759
|
-
|
|
1710
|
+
this.context = inj._lView[8];
|
|
1760
1711
|
}
|
|
1761
1712
|
set lazyLoad(expr) {
|
|
1762
1713
|
this.unSubscribeFn = i1.$watch(expr, this.viewParent, this.context, (val) => {
|
|
@@ -1769,20 +1720,15 @@
|
|
|
1769
1720
|
ngOnDestroy() {
|
|
1770
1721
|
this.unSubscribeFn();
|
|
1771
1722
|
}
|
|
1772
|
-
static { this.ɵfac = function LazyLoadDirective_Factory(t) { return new (t || LazyLoadDirective)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵdirectiveInject(i0__namespace.TemplateRef), i0__namespace.ɵɵdirectiveInject(i0__namespace.ViewContainerRef)
|
|
1723
|
+
static { this.ɵfac = function LazyLoadDirective_Factory(t) { return new (t || LazyLoadDirective)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵdirectiveInject(i0__namespace.TemplateRef), i0__namespace.ɵɵdirectiveInject(i0__namespace.ViewContainerRef)); }; }
|
|
1773
1724
|
static { this.ɵdir = /*@__PURE__*/ i0__namespace.ɵɵdefineDirective({ type: LazyLoadDirective, selectors: [["", "lazyLoad", ""]], inputs: { lazyLoad: "lazyLoad" } }); }
|
|
1774
1725
|
}
|
|
1775
|
-
(()
|
|
1726
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(LazyLoadDirective, [{
|
|
1776
1727
|
type: i0.Directive,
|
|
1777
1728
|
args: [{
|
|
1778
1729
|
selector: '[lazyLoad]'
|
|
1779
1730
|
}]
|
|
1780
|
-
}], ()
|
|
1781
|
-
type: i0.Inject,
|
|
1782
|
-
args: ['EXPLICIT_CONTEXT']
|
|
1783
|
-
}, {
|
|
1784
|
-
type: i0.Optional
|
|
1785
|
-
}] }], { lazyLoad: [{
|
|
1731
|
+
}], function () { return [{ type: i0__namespace.Injector }, { type: i0__namespace.TemplateRef }, { type: i0__namespace.ViewContainerRef }]; }, { lazyLoad: [{
|
|
1786
1732
|
type: i0.Input
|
|
1787
1733
|
}] }); })();
|
|
1788
1734
|
|
|
@@ -1803,8 +1749,8 @@
|
|
|
1803
1749
|
const WIDGET_CONFIG$1 = { widgetType: 'wm-message', hostClass: DEFAULT_CLS$1 };
|
|
1804
1750
|
class MessageComponent extends StylableComponent {
|
|
1805
1751
|
static { this.initializeProps = registerProps$1(); }
|
|
1806
|
-
constructor(inj
|
|
1807
|
-
super(inj, WIDGET_CONFIG$1
|
|
1752
|
+
constructor(inj) {
|
|
1753
|
+
super(inj, WIDGET_CONFIG$1);
|
|
1808
1754
|
this.messageClass = '';
|
|
1809
1755
|
this.messageIconClass = '';
|
|
1810
1756
|
this.type = '';
|
|
@@ -1863,10 +1809,10 @@
|
|
|
1863
1809
|
super.onPropertyChange(key, nv, ov);
|
|
1864
1810
|
}
|
|
1865
1811
|
}
|
|
1866
|
-
static { this.ɵfac = function MessageComponent_Factory(t) { return new (t || MessageComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector)
|
|
1812
|
+
static { this.ɵfac = function MessageComponent_Factory(t) { return new (t || MessageComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector)); }; }
|
|
1867
1813
|
static { this.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: MessageComponent, selectors: [["", "wmMessage", ""]], exportAs: ["wmMessage"], features: [i0__namespace.ɵɵProvidersFeature([
|
|
1868
1814
|
provideAsWidgetRef(MessageComponent)
|
|
1869
|
-
]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c0, decls: 5, vars: 7, consts: [["aria-hidden", "true", 3, "title"], [3, "innerHtml"], ["title", "Close", "type", "button", "aria-label", "Close", 1, "btn-transparent", "close", 3, "
|
|
1815
|
+
]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c0, decls: 5, vars: 7, consts: [["aria-hidden", "true", 3, "title"], [3, "innerHtml"], ["title", "Close", "type", "button", "aria-label", "Close", 1, "btn-transparent", "close", 3, "hidden", "click"], ["aria-hidden", "true"]], template: function MessageComponent_Template(rf, ctx) { if (rf & 1) {
|
|
1870
1816
|
i0__namespace.ɵɵelement(0, "i", 0)(1, "span", 1);
|
|
1871
1817
|
i0__namespace.ɵɵelementStart(2, "button", 2);
|
|
1872
1818
|
i0__namespace.ɵɵlistener("click", function MessageComponent_Template_button_click_2_listener($event) { return ctx.dismiss($event); });
|
|
@@ -1876,24 +1822,18 @@
|
|
|
1876
1822
|
} if (rf & 2) {
|
|
1877
1823
|
i0__namespace.ɵɵclassMapInterpolate2("icon ", ctx.type, " ", ctx.messageIconClass, "");
|
|
1878
1824
|
i0__namespace.ɵɵproperty("title", ctx.type + "Alert");
|
|
1879
|
-
i0__namespace.ɵɵadvance();
|
|
1825
|
+
i0__namespace.ɵɵadvance(1);
|
|
1880
1826
|
i0__namespace.ɵɵproperty("innerHtml", ctx.caption, i0__namespace.ɵɵsanitizeHtml);
|
|
1881
|
-
i0__namespace.ɵɵadvance();
|
|
1827
|
+
i0__namespace.ɵɵadvance(1);
|
|
1882
1828
|
i0__namespace.ɵɵproperty("hidden", ctx.hideclose);
|
|
1883
1829
|
} }, encapsulation: 2 }); }
|
|
1884
1830
|
}
|
|
1885
|
-
(()
|
|
1831
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(MessageComponent, [{
|
|
1886
1832
|
type: i0.Component,
|
|
1887
1833
|
args: [{ selector: '[wmMessage]', providers: [
|
|
1888
1834
|
provideAsWidgetRef(MessageComponent)
|
|
1889
1835
|
], exportAs: 'wmMessage', template: "<i aria-hidden=\"true\" [title]=\"type + 'Alert'\" class=\"icon {{type}} {{messageIconClass}}\"></i>\n<span [innerHtml]=\"caption\"></span>\n<button title=\"Close\" type=\"button\" class=\"btn-transparent close\" [hidden]=\"hideclose\" (click)=\"dismiss($event)\" aria-label=\"Close\">\n <span aria-hidden=\"true\">×</span>\n</button>\n" }]
|
|
1890
|
-
}], ()
|
|
1891
|
-
type: i0.Inject,
|
|
1892
|
-
args: ['EXPLICIT_CONTEXT']
|
|
1893
|
-
}, {
|
|
1894
|
-
type: i0.Optional
|
|
1895
|
-
}] }], null); })();
|
|
1896
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassDebugInfo(MessageComponent, { className: "MessageComponent", filePath: "widgets/common/message/message.component.ts", lineNumber: 22 }); })();
|
|
1836
|
+
}], function () { return [{ type: i0__namespace.Injector }]; }, null); })();
|
|
1897
1837
|
|
|
1898
1838
|
const registerProps = () => {
|
|
1899
1839
|
register$1('wm-partial', new Map([
|
|
@@ -1905,14 +1845,14 @@
|
|
|
1905
1845
|
const WIDGET_CONFIG = { widgetType: 'wm-partial', hostClass: DEFAULT_CLS };
|
|
1906
1846
|
class PartialDirective extends StylableComponent {
|
|
1907
1847
|
static { this.initializeProps = registerProps(); }
|
|
1908
|
-
constructor(inj, viewport
|
|
1909
|
-
super(inj, WIDGET_CONFIG
|
|
1848
|
+
constructor(inj, viewport) {
|
|
1849
|
+
super(inj, WIDGET_CONFIG);
|
|
1910
1850
|
this.viewport = viewport;
|
|
1911
1851
|
this.registerDestroyListener(this.viewport.subscribe("resize" /* ViewportEvent.RESIZE */, data => this.callback('resize', data)));
|
|
1912
1852
|
this.registerDestroyListener(this.viewport.subscribe("orientationchange" /* ViewportEvent.ORIENTATION_CHANGE */, data => this.callback('orientationchange', data)));
|
|
1913
1853
|
}
|
|
1914
1854
|
callback(eventName, locals) {
|
|
1915
|
-
locals =
|
|
1855
|
+
locals = _.assign({ widget: this }, locals);
|
|
1916
1856
|
this.invokeEventCallback(eventName, locals);
|
|
1917
1857
|
}
|
|
1918
1858
|
ngOnAttach() {
|
|
@@ -1925,12 +1865,12 @@
|
|
|
1925
1865
|
this.callback('destroy');
|
|
1926
1866
|
super.ngOnDestroy();
|
|
1927
1867
|
}
|
|
1928
|
-
static { this.ɵfac = function PartialDirective_Factory(t) { return new (t || PartialDirective)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵdirectiveInject(i1__namespace.Viewport)
|
|
1868
|
+
static { this.ɵfac = function PartialDirective_Factory(t) { return new (t || PartialDirective)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵdirectiveInject(i1__namespace.Viewport)); }; }
|
|
1929
1869
|
static { this.ɵdir = /*@__PURE__*/ i0__namespace.ɵɵdefineDirective({ type: PartialDirective, selectors: [["", "wmPartial", ""]], features: [i0__namespace.ɵɵProvidersFeature([
|
|
1930
1870
|
provideAsWidgetRef(PartialDirective)
|
|
1931
1871
|
]), i0__namespace.ɵɵInheritDefinitionFeature] }); }
|
|
1932
1872
|
}
|
|
1933
|
-
(()
|
|
1873
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(PartialDirective, [{
|
|
1934
1874
|
type: i0.Directive,
|
|
1935
1875
|
args: [{
|
|
1936
1876
|
selector: '[wmPartial]',
|
|
@@ -1938,12 +1878,7 @@
|
|
|
1938
1878
|
provideAsWidgetRef(PartialDirective)
|
|
1939
1879
|
]
|
|
1940
1880
|
}]
|
|
1941
|
-
}], ()
|
|
1942
|
-
type: i0.Inject,
|
|
1943
|
-
args: ['EXPLICIT_CONTEXT']
|
|
1944
|
-
}, {
|
|
1945
|
-
type: i0.Optional
|
|
1946
|
-
}] }], null); })();
|
|
1881
|
+
}], function () { return [{ type: i0__namespace.Injector }, { type: i1__namespace.Viewport }]; }, null); })();
|
|
1947
1882
|
|
|
1948
1883
|
class PartialParamHandlerDirective {
|
|
1949
1884
|
constructor(widgetRef) {
|
|
@@ -1957,7 +1892,7 @@
|
|
|
1957
1892
|
if (!value && bindExpr) {
|
|
1958
1893
|
this.widgetRef.registerDestroyListener(
|
|
1959
1894
|
//[Todo-CSP]: expr fn should be generated be default
|
|
1960
|
-
i1.$watch(bindExpr, this.widgetRef.getViewParent(),
|
|
1895
|
+
i1.$watch(bindExpr, this.widgetRef.getViewParent(), _.get(this.widgetRef, 'context'), nv => {
|
|
1961
1896
|
this.widgetRef.partialParams[name] = nv;
|
|
1962
1897
|
// notify the partial container of the param changes
|
|
1963
1898
|
this.widgetRef.params$.next();
|
|
@@ -1970,17 +1905,17 @@
|
|
|
1970
1905
|
static { this.ɵfac = function PartialParamHandlerDirective_Factory(t) { return new (t || PartialParamHandlerDirective)(i0__namespace.ɵɵdirectiveInject(WidgetRef, 2)); }; }
|
|
1971
1906
|
static { this.ɵdir = /*@__PURE__*/ i0__namespace.ɵɵdefineDirective({ type: PartialParamHandlerDirective, selectors: [["", "partialContainer", ""]] }); }
|
|
1972
1907
|
}
|
|
1973
|
-
(()
|
|
1908
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(PartialParamHandlerDirective, [{
|
|
1974
1909
|
type: i0.Directive,
|
|
1975
1910
|
args: [{
|
|
1976
1911
|
selector: '[partialContainer]',
|
|
1977
1912
|
}]
|
|
1978
|
-
}], ()
|
|
1913
|
+
}], function () { return [{ type: undefined, decorators: [{
|
|
1979
1914
|
type: i0.Self
|
|
1980
1915
|
}, {
|
|
1981
1916
|
type: i0.Inject,
|
|
1982
1917
|
args: [WidgetRef]
|
|
1983
|
-
}] }], null); })();
|
|
1918
|
+
}] }]; }, null); })();
|
|
1984
1919
|
class PartialParamDirective {
|
|
1985
1920
|
constructor(bindValue, type, partialParamsProvider) {
|
|
1986
1921
|
this.bindValue = bindValue;
|
|
@@ -1993,18 +1928,18 @@
|
|
|
1993
1928
|
static { this.ɵfac = function PartialParamDirective_Factory(t) { return new (t || PartialParamDirective)(i0__namespace.ɵɵinjectAttribute('value.bind'), i0__namespace.ɵɵinjectAttribute('type'), i0__namespace.ɵɵdirectiveInject(PartialParamHandlerDirective)); }; }
|
|
1994
1929
|
static { this.ɵdir = /*@__PURE__*/ i0__namespace.ɵɵdefineDirective({ type: PartialParamDirective, selectors: [["", "wmParam", ""]], inputs: { name: "name", value: "value" } }); }
|
|
1995
1930
|
}
|
|
1996
|
-
(()
|
|
1931
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(PartialParamDirective, [{
|
|
1997
1932
|
type: i0.Directive,
|
|
1998
1933
|
args: [{
|
|
1999
1934
|
selector: '[wmParam]',
|
|
2000
1935
|
}]
|
|
2001
|
-
}], ()
|
|
1936
|
+
}], function () { return [{ type: undefined, decorators: [{
|
|
2002
1937
|
type: i0.Attribute,
|
|
2003
1938
|
args: ['value.bind']
|
|
2004
1939
|
}] }, { type: undefined, decorators: [{
|
|
2005
1940
|
type: i0.Attribute,
|
|
2006
1941
|
args: ['type']
|
|
2007
|
-
}] }, { type: PartialParamHandlerDirective }], { name: [{
|
|
1942
|
+
}] }, { type: PartialParamHandlerDirective }]; }, { name: [{
|
|
2008
1943
|
type: i0.Input
|
|
2009
1944
|
}], value: [{
|
|
2010
1945
|
type: i0.Input
|
|
@@ -2057,7 +1992,7 @@
|
|
|
2057
1992
|
this.resolver = resolver;
|
|
2058
1993
|
this.partialRefProvider = partialRefProvider;
|
|
2059
1994
|
this.contentInitialized = false;
|
|
2060
|
-
this.renderPartial =
|
|
1995
|
+
this.renderPartial = _.debounce(this._renderPartial, 200);
|
|
2061
1996
|
componentInstance.registerPropertyChangeListener((key, nv, ov) => {
|
|
2062
1997
|
if (key === 'content') {
|
|
2063
1998
|
if (componentInstance.$lazyLoad) {
|
|
@@ -2080,12 +2015,12 @@
|
|
|
2080
2015
|
static { this.ɵfac = function PartialContainerDirective_Factory(t) { return new (t || PartialContainerDirective)(i0__namespace.ɵɵdirectiveInject(WidgetRef, 2), i0__namespace.ɵɵdirectiveInject(i0__namespace.ViewContainerRef), i0__namespace.ɵɵdirectiveInject(i0__namespace.ElementRef), i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵdirectiveInject(i1__namespace.App), i0__namespace.ɵɵinjectAttribute('content'), i0__namespace.ɵɵdirectiveInject(i0__namespace.ComponentFactoryResolver), i0__namespace.ɵɵdirectiveInject(i1__namespace.PartialRefProvider)); }; }
|
|
2081
2016
|
static { this.ɵdir = /*@__PURE__*/ i0__namespace.ɵɵdefineDirective({ type: PartialContainerDirective, selectors: [["", "partialContainer", ""]] }); }
|
|
2082
2017
|
}
|
|
2083
|
-
(()
|
|
2018
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(PartialContainerDirective, [{
|
|
2084
2019
|
type: i0.Directive,
|
|
2085
2020
|
args: [{
|
|
2086
2021
|
selector: '[partialContainer]'
|
|
2087
2022
|
}]
|
|
2088
|
-
}], ()
|
|
2023
|
+
}], function () { return [{ type: undefined, decorators: [{
|
|
2089
2024
|
type: i0.Self
|
|
2090
2025
|
}, {
|
|
2091
2026
|
type: i0.Inject,
|
|
@@ -2093,14 +2028,16 @@
|
|
|
2093
2028
|
}] }, { type: i0__namespace.ViewContainerRef }, { type: i0__namespace.ElementRef }, { type: i0__namespace.Injector }, { type: i1__namespace.App }, { type: undefined, decorators: [{
|
|
2094
2029
|
type: i0.Attribute,
|
|
2095
2030
|
args: ['content']
|
|
2096
|
-
}] }, { type: i0__namespace.ComponentFactoryResolver }, { type: i1__namespace.PartialRefProvider }], null); })();
|
|
2031
|
+
}] }, { type: i0__namespace.ComponentFactoryResolver }, { type: i1__namespace.PartialRefProvider }]; }, null); })();
|
|
2097
2032
|
|
|
2098
2033
|
class ShowInDeviceDirective {
|
|
2099
|
-
constructor(viewContainerRef, inj, templateRef
|
|
2034
|
+
constructor(elRef, widget, viewContainerRef, inj, templateRef) {
|
|
2035
|
+
this.elRef = elRef;
|
|
2036
|
+
this.widget = widget;
|
|
2100
2037
|
this.viewContainerRef = viewContainerRef;
|
|
2101
2038
|
this.templateRef = templateRef;
|
|
2102
|
-
this.context =
|
|
2103
|
-
|
|
2039
|
+
//this.context = (inj as any).view.context;
|
|
2040
|
+
this.context = inj._lView[8];
|
|
2104
2041
|
window.addEventListener('resize', this.onResize.bind(this));
|
|
2105
2042
|
}
|
|
2106
2043
|
set wmShowInDevice(devices) {
|
|
@@ -2145,20 +2082,18 @@
|
|
|
2145
2082
|
ngOnDestroy() {
|
|
2146
2083
|
window.removeEventListener('resize', this.onResize);
|
|
2147
2084
|
}
|
|
2148
|
-
static { this.ɵfac = function ShowInDeviceDirective_Factory(t) { return new (t || ShowInDeviceDirective)(i0__namespace.ɵɵdirectiveInject(i0__namespace.
|
|
2085
|
+
static { this.ɵfac = function ShowInDeviceDirective_Factory(t) { return new (t || ShowInDeviceDirective)(i0__namespace.ɵɵdirectiveInject(i0__namespace.ElementRef), i0__namespace.ɵɵdirectiveInject(WidgetRef), i0__namespace.ɵɵdirectiveInject(i0__namespace.ViewContainerRef), i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵdirectiveInject(i0__namespace.TemplateRef)); }; }
|
|
2149
2086
|
static { this.ɵdir = /*@__PURE__*/ i0__namespace.ɵɵdefineDirective({ type: ShowInDeviceDirective, selectors: [["", "wmShowInDevice", ""]], inputs: { wmShowInDevice: "wmShowInDevice" } }); }
|
|
2150
2087
|
}
|
|
2151
|
-
(()
|
|
2088
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(ShowInDeviceDirective, [{
|
|
2152
2089
|
type: i0.Directive,
|
|
2153
2090
|
args: [{
|
|
2154
2091
|
selector: '[wmShowInDevice]'
|
|
2155
2092
|
}]
|
|
2156
|
-
}], ()
|
|
2093
|
+
}], function () { return [{ type: i0__namespace.ElementRef }, { type: BaseComponent, decorators: [{
|
|
2157
2094
|
type: i0.Inject,
|
|
2158
|
-
args: [
|
|
2159
|
-
}, {
|
|
2160
|
-
type: i0.Optional
|
|
2161
|
-
}] }], { wmShowInDevice: [{
|
|
2095
|
+
args: [WidgetRef]
|
|
2096
|
+
}] }, { type: i0__namespace.ViewContainerRef }, { type: i0__namespace.Injector }, { type: i0__namespace.TemplateRef }]; }, { wmShowInDevice: [{
|
|
2162
2097
|
type: i0.Input
|
|
2163
2098
|
}] }); })();
|
|
2164
2099
|
|
|
@@ -2218,9 +2153,9 @@
|
|
|
2218
2153
|
preventDefault: false,
|
|
2219
2154
|
momentum: true,
|
|
2220
2155
|
bounce: false,
|
|
2221
|
-
mouseWheel: true,
|
|
2222
|
-
disablePointer: true,
|
|
2223
|
-
disableTouch: false,
|
|
2156
|
+
mouseWheel: true,
|
|
2157
|
+
disablePointer: true,
|
|
2158
|
+
disableTouch: false,
|
|
2224
2159
|
disableMouse: false // false to be usable with a mouse (desktop)
|
|
2225
2160
|
}, el = this._$el[0];
|
|
2226
2161
|
if (!el.children.length) {
|
|
@@ -2248,8 +2183,8 @@
|
|
|
2248
2183
|
let iScroll = new IScroll(el, scrollOptions);
|
|
2249
2184
|
if ($events) {
|
|
2250
2185
|
// map all events on previous iscroll to the newly created iscroll.
|
|
2251
|
-
|
|
2252
|
-
|
|
2186
|
+
_.forEach($events, (listeners, key) => {
|
|
2187
|
+
_.forEach(listeners, l => {
|
|
2253
2188
|
iScroll.on(key, l);
|
|
2254
2189
|
});
|
|
2255
2190
|
});
|
|
@@ -2278,7 +2213,7 @@
|
|
|
2278
2213
|
}
|
|
2279
2214
|
};
|
|
2280
2215
|
this._$el[0].iscroll = iScroll;
|
|
2281
|
-
|
|
2216
|
+
_.forEach(this.pendingIscrolls, (_el, index) => {
|
|
2282
2217
|
if (_el.isSameNode(this._$el[0])) {
|
|
2283
2218
|
this.app.notify('iscroll-update', { el: _el });
|
|
2284
2219
|
this.pendingIscrolls.splice(index, 1);
|
|
@@ -2316,7 +2251,7 @@
|
|
|
2316
2251
|
}
|
|
2317
2252
|
// Check for scrollable content and if smoothscroll-container div is already added.
|
|
2318
2253
|
if (iScroll.wrapper
|
|
2319
|
-
&& !
|
|
2254
|
+
&& !_.includes(iScroll.wrapper.children[0].classList, 'smoothscroll-container')
|
|
2320
2255
|
&& iScroll.wrapper.scrollHeight > iScroll.wrapper.clientHeight) {
|
|
2321
2256
|
const cloneEvents = iScroll._events;
|
|
2322
2257
|
const prevActiveEl = document.activeElement;
|
|
@@ -2338,12 +2273,12 @@
|
|
|
2338
2273
|
static { this.ɵfac = function SmoothScrollDirective_Factory(t) { return new (t || SmoothScrollDirective)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵdirectiveInject(i0__namespace.ElementRef), i0__namespace.ɵɵdirectiveInject(i1__namespace.App)); }; }
|
|
2339
2274
|
static { this.ɵdir = /*@__PURE__*/ i0__namespace.ɵɵdefineDirective({ type: SmoothScrollDirective, selectors: [["", "wmSmoothscroll", ""]], inputs: { wmSmoothscroll: "wmSmoothscroll" } }); }
|
|
2340
2275
|
}
|
|
2341
|
-
(()
|
|
2276
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(SmoothScrollDirective, [{
|
|
2342
2277
|
type: i0.Directive,
|
|
2343
2278
|
args: [{
|
|
2344
2279
|
selector: '[wmSmoothscroll]'
|
|
2345
2280
|
}]
|
|
2346
|
-
}], ()
|
|
2281
|
+
}], function () { return [{ type: i0__namespace.Injector }, { type: i0__namespace.ElementRef }, { type: i1__namespace.App }]; }, { wmSmoothscroll: [{
|
|
2347
2282
|
type: i0.Input
|
|
2348
2283
|
}] }); })();
|
|
2349
2284
|
/**
|
|
@@ -2392,12 +2327,12 @@
|
|
|
2392
2327
|
static { this.ɵfac = function TextContentDirective_Factory(t) { return new (t || TextContentDirective)(i0__namespace.ɵɵdirectiveInject(i0__namespace.ElementRef)); }; }
|
|
2393
2328
|
static { this.ɵdir = /*@__PURE__*/ i0__namespace.ɵɵdefineDirective({ type: TextContentDirective, selectors: [["", "textContent", ""]], inputs: { textContent: "textContent" } }); }
|
|
2394
2329
|
}
|
|
2395
|
-
(()
|
|
2330
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(TextContentDirective, [{
|
|
2396
2331
|
type: i0.Directive,
|
|
2397
2332
|
args: [{
|
|
2398
2333
|
selector: '[textContent]'
|
|
2399
2334
|
}]
|
|
2400
|
-
}], ()
|
|
2335
|
+
}], function () { return [{ type: i0__namespace.ElementRef }]; }, { textContent: [{
|
|
2401
2336
|
type: i0.Input
|
|
2402
2337
|
}] }); })();
|
|
2403
2338
|
|
|
@@ -2406,7 +2341,7 @@
|
|
|
2406
2341
|
this.pipeName = pipeName;
|
|
2407
2342
|
this.customPipeManager = customPipeManager;
|
|
2408
2343
|
this.pipeRef = this.customPipeManager ? this.customPipeManager.getCustomPipe(pipeName) : null;
|
|
2409
|
-
this.isCustomPipe = this.pipeRef &&
|
|
2344
|
+
this.isCustomPipe = this.pipeRef && _.isFunction(this.pipeRef.formatter);
|
|
2410
2345
|
}
|
|
2411
2346
|
customFormatter(data, args) {
|
|
2412
2347
|
try {
|
|
@@ -2421,7 +2356,7 @@
|
|
|
2421
2356
|
const getEpochValue = data => {
|
|
2422
2357
|
let epoch;
|
|
2423
2358
|
// For data in form of string number ('123'), convert to number (123). And don't parse date objects.
|
|
2424
|
-
if (!
|
|
2359
|
+
if (!_.isDate(data) && !isNaN(data)) {
|
|
2425
2360
|
data = parseInt(data, 10);
|
|
2426
2361
|
}
|
|
2427
2362
|
// get the timestamp value. If data is time string, append date string to the time value
|
|
@@ -2440,12 +2375,12 @@
|
|
|
2440
2375
|
static { this.ɵfac = function TrailingZeroDecimalPipe_Factory(t) { return new (t || TrailingZeroDecimalPipe)(i0__namespace.ɵɵdirectiveInject(i1$1__namespace.DecimalPipe, 16)); }; }
|
|
2441
2376
|
static { this.ɵpipe = /*@__PURE__*/ i0__namespace.ɵɵdefinePipe({ name: "trailingZeroDecimalPipe", type: TrailingZeroDecimalPipe, pure: true }); }
|
|
2442
2377
|
}
|
|
2443
|
-
(()
|
|
2378
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(TrailingZeroDecimalPipe, [{
|
|
2444
2379
|
type: i0.Pipe,
|
|
2445
2380
|
args: [{
|
|
2446
2381
|
name: 'trailingZeroDecimalPipe'
|
|
2447
2382
|
}]
|
|
2448
|
-
}], ()
|
|
2383
|
+
}], function () { return [{ type: i1$1__namespace.DecimalPipe }]; }, null); })();
|
|
2449
2384
|
class ToDatePipe extends WmPipe {
|
|
2450
2385
|
// This method calls the custom formatter fn after applying the exisitng date pattern
|
|
2451
2386
|
returnFn(data, args) {
|
|
@@ -2495,18 +2430,18 @@
|
|
|
2495
2430
|
static { this.ɵfac = function ToDatePipe_Factory(t) { return new (t || ToDatePipe)(i0__namespace.ɵɵdirectiveInject(i1$1__namespace.DatePipe, 16), i0__namespace.ɵɵdirectiveInject(i1__namespace.AbstractI18nService, 16), i0__namespace.ɵɵdirectiveInject(i1__namespace.CustomPipeManager, 16)); }; }
|
|
2496
2431
|
static { this.ɵpipe = /*@__PURE__*/ i0__namespace.ɵɵdefinePipe({ name: "toDate", type: ToDatePipe, pure: true }); }
|
|
2497
2432
|
}
|
|
2498
|
-
(()
|
|
2433
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(ToDatePipe, [{
|
|
2499
2434
|
type: i0.Pipe,
|
|
2500
2435
|
args: [{
|
|
2501
2436
|
name: 'toDate'
|
|
2502
2437
|
}]
|
|
2503
|
-
}], ()
|
|
2438
|
+
}], function () { return [{ type: i1$1__namespace.DatePipe }, { type: i1__namespace.AbstractI18nService }, { type: i1__namespace.CustomPipeManager }]; }, null); })();
|
|
2504
2439
|
class ToNumberPipe {
|
|
2505
2440
|
transform(data, fracSize) {
|
|
2506
2441
|
if (fracSize && !String(fracSize).match(/^(\d+)?\.((\d+)(-(\d+))?)?$/)) {
|
|
2507
2442
|
fracSize = '1.' + fracSize + '-' + fracSize;
|
|
2508
2443
|
}
|
|
2509
|
-
if (!isNaN(+data)) {
|
|
2444
|
+
if (!_.isNaN(+data)) {
|
|
2510
2445
|
const locale = this.i18nService && this.i18nService.getwidgetLocale() ? this.i18nService.getwidgetLocale() : undefined;
|
|
2511
2446
|
const formattedLocale = locale ? locale['number'] : null;
|
|
2512
2447
|
return this.decimalPipe.transform(data, fracSize, formattedLocale);
|
|
@@ -2519,20 +2454,20 @@
|
|
|
2519
2454
|
static { this.ɵfac = function ToNumberPipe_Factory(t) { return new (t || ToNumberPipe)(i0__namespace.ɵɵdirectiveInject(i1$1__namespace.DecimalPipe, 16), i0__namespace.ɵɵdirectiveInject(i1.AbstractI18nService, 16)); }; }
|
|
2520
2455
|
static { this.ɵpipe = /*@__PURE__*/ i0__namespace.ɵɵdefinePipe({ name: "toNumber", type: ToNumberPipe, pure: true }); }
|
|
2521
2456
|
}
|
|
2522
|
-
(()
|
|
2457
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(ToNumberPipe, [{
|
|
2523
2458
|
type: i0.Pipe,
|
|
2524
2459
|
args: [{
|
|
2525
2460
|
name: 'toNumber'
|
|
2526
2461
|
}]
|
|
2527
|
-
}], ()
|
|
2462
|
+
}], function () { return [{ type: i1$1__namespace.DecimalPipe }, { type: i1__namespace.AbstractI18nService, decorators: [{
|
|
2528
2463
|
type: i0.Inject,
|
|
2529
2464
|
args: [i1.AbstractI18nService]
|
|
2530
|
-
}] }], null); })();
|
|
2465
|
+
}] }]; }, null); })();
|
|
2531
2466
|
class ToCurrencyPipe {
|
|
2532
2467
|
transform(data, currencySymbol, fracSize) {
|
|
2533
2468
|
const _currencySymbol = (i1.CURRENCY_INFO[currencySymbol] || {}).symbol || currencySymbol || '';
|
|
2534
2469
|
let _val = new ToNumberPipe(this.decimalPipe, this.i18nService).transform(data, fracSize);
|
|
2535
|
-
const isNegativeNumber =
|
|
2470
|
+
const isNegativeNumber = _.startsWith(_val, '-');
|
|
2536
2471
|
if (isNegativeNumber) {
|
|
2537
2472
|
_val = _val.replace('-', '');
|
|
2538
2473
|
}
|
|
@@ -2545,23 +2480,23 @@
|
|
|
2545
2480
|
static { this.ɵfac = function ToCurrencyPipe_Factory(t) { return new (t || ToCurrencyPipe)(i0__namespace.ɵɵdirectiveInject(i1$1__namespace.DecimalPipe, 16), i0__namespace.ɵɵdirectiveInject(i1.AbstractI18nService, 16)); }; }
|
|
2546
2481
|
static { this.ɵpipe = /*@__PURE__*/ i0__namespace.ɵɵdefinePipe({ name: "toCurrency", type: ToCurrencyPipe, pure: true }); }
|
|
2547
2482
|
}
|
|
2548
|
-
(()
|
|
2483
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(ToCurrencyPipe, [{
|
|
2549
2484
|
type: i0.Pipe,
|
|
2550
2485
|
args: [{
|
|
2551
2486
|
name: 'toCurrency'
|
|
2552
2487
|
}]
|
|
2553
|
-
}], ()
|
|
2488
|
+
}], function () { return [{ type: i1$1__namespace.DecimalPipe }, { type: i1__namespace.AbstractI18nService, decorators: [{
|
|
2554
2489
|
type: i0.Inject,
|
|
2555
2490
|
args: [i1.AbstractI18nService]
|
|
2556
|
-
}] }], null); })();
|
|
2491
|
+
}] }]; }, null); })();
|
|
2557
2492
|
class PrefixPipe {
|
|
2558
2493
|
transform(data, padding) {
|
|
2559
|
-
return (
|
|
2494
|
+
return (_.isUndefined(data) || data === null || data === '') ? data : ((padding || '') + data);
|
|
2560
2495
|
}
|
|
2561
2496
|
static { this.ɵfac = function PrefixPipe_Factory(t) { return new (t || PrefixPipe)(); }; }
|
|
2562
2497
|
static { this.ɵpipe = /*@__PURE__*/ i0__namespace.ɵɵdefinePipe({ name: "prefix", type: PrefixPipe, pure: true }); }
|
|
2563
2498
|
}
|
|
2564
|
-
(()
|
|
2499
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(PrefixPipe, [{
|
|
2565
2500
|
type: i0.Pipe,
|
|
2566
2501
|
args: [{
|
|
2567
2502
|
name: 'prefix'
|
|
@@ -2569,12 +2504,12 @@
|
|
|
2569
2504
|
}], null, null); })();
|
|
2570
2505
|
class SuffixPipe {
|
|
2571
2506
|
transform(data, padding) {
|
|
2572
|
-
return (
|
|
2507
|
+
return (_.isUndefined(data) || data === null || data === '') ? data : (data + (padding || ''));
|
|
2573
2508
|
}
|
|
2574
2509
|
static { this.ɵfac = function SuffixPipe_Factory(t) { return new (t || SuffixPipe)(); }; }
|
|
2575
2510
|
static { this.ɵpipe = /*@__PURE__*/ i0__namespace.ɵɵdefinePipe({ name: "suffix", type: SuffixPipe, pure: true }); }
|
|
2576
2511
|
}
|
|
2577
|
-
(()
|
|
2512
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(SuffixPipe, [{
|
|
2578
2513
|
type: i0.Pipe,
|
|
2579
2514
|
args: [{
|
|
2580
2515
|
name: 'suffix'
|
|
@@ -2593,7 +2528,7 @@
|
|
|
2593
2528
|
argumentArr.push(arguments[i]);
|
|
2594
2529
|
}
|
|
2595
2530
|
let pipeRef = this.custmeUserPipe.getCustomPipe(pipename);
|
|
2596
|
-
if (!pipeRef || !
|
|
2531
|
+
if (!pipeRef || !_.isFunction(pipeRef.formatter)) {
|
|
2597
2532
|
console.warn('formatter is not defined, please check the custom pipes documentation');
|
|
2598
2533
|
return data;
|
|
2599
2534
|
}
|
|
@@ -2608,12 +2543,12 @@
|
|
|
2608
2543
|
static { this.ɵfac = function CustomPipe_Factory(t) { return new (t || CustomPipe)(i0__namespace.ɵɵdirectiveInject(i1__namespace.CustomPipeManager, 16)); }; }
|
|
2609
2544
|
static { this.ɵpipe = /*@__PURE__*/ i0__namespace.ɵɵdefinePipe({ name: "custom", type: CustomPipe, pure: true }); }
|
|
2610
2545
|
}
|
|
2611
|
-
(()
|
|
2546
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(CustomPipe, [{
|
|
2612
2547
|
type: i0.Pipe,
|
|
2613
2548
|
args: [{
|
|
2614
2549
|
name: 'custom'
|
|
2615
2550
|
}]
|
|
2616
|
-
}], ()
|
|
2551
|
+
}], function () { return [{ type: i1__namespace.CustomPipeManager }]; }, null); })();
|
|
2617
2552
|
class TimeFromNowPipe {
|
|
2618
2553
|
transform(data) {
|
|
2619
2554
|
let timestamp;
|
|
@@ -2626,17 +2561,17 @@
|
|
|
2626
2561
|
static { this.ɵfac = function TimeFromNowPipe_Factory(t) { return new (t || TimeFromNowPipe)(); }; }
|
|
2627
2562
|
static { this.ɵpipe = /*@__PURE__*/ i0__namespace.ɵɵdefinePipe({ name: "timeFromNow", type: TimeFromNowPipe, pure: true }); }
|
|
2628
2563
|
}
|
|
2629
|
-
(()
|
|
2564
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(TimeFromNowPipe, [{
|
|
2630
2565
|
type: i0.Pipe,
|
|
2631
2566
|
args: [{
|
|
2632
2567
|
name: 'timeFromNow'
|
|
2633
2568
|
}]
|
|
2634
2569
|
}], null, null); })();
|
|
2635
2570
|
class NumberToStringPipe extends ToNumberPipe {
|
|
2636
|
-
static { this.ɵfac = /*@__PURE__*/ (
|
|
2571
|
+
static { this.ɵfac = /*@__PURE__*/ function () { let ɵNumberToStringPipe_BaseFactory; return function NumberToStringPipe_Factory(t) { return (ɵNumberToStringPipe_BaseFactory || (ɵNumberToStringPipe_BaseFactory = i0__namespace.ɵɵgetInheritedFactory(NumberToStringPipe)))(t || NumberToStringPipe); }; }(); }
|
|
2637
2572
|
static { this.ɵpipe = /*@__PURE__*/ i0__namespace.ɵɵdefinePipe({ name: "numberToString", type: NumberToStringPipe, pure: true }); }
|
|
2638
2573
|
}
|
|
2639
|
-
(()
|
|
2574
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(NumberToStringPipe, [{
|
|
2640
2575
|
type: i0.Pipe,
|
|
2641
2576
|
args: [{
|
|
2642
2577
|
name: 'numberToString'
|
|
@@ -2649,7 +2584,7 @@
|
|
|
2649
2584
|
static { this.ɵfac = function StringToNumberPipe_Factory(t) { return new (t || StringToNumberPipe)(); }; }
|
|
2650
2585
|
static { this.ɵpipe = /*@__PURE__*/ i0__namespace.ɵɵdefinePipe({ name: "stringToNumber", type: StringToNumberPipe, pure: true }); }
|
|
2651
2586
|
}
|
|
2652
|
-
(()
|
|
2587
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(StringToNumberPipe, [{
|
|
2653
2588
|
type: i0.Pipe,
|
|
2654
2589
|
args: [{
|
|
2655
2590
|
name: 'stringToNumber'
|
|
@@ -2661,18 +2596,18 @@
|
|
|
2661
2596
|
return [];
|
|
2662
2597
|
}
|
|
2663
2598
|
// If object is passed as first paramter
|
|
2664
|
-
if (
|
|
2665
|
-
return
|
|
2599
|
+
if (_.isObject(field)) {
|
|
2600
|
+
return _.filter(data, field);
|
|
2666
2601
|
}
|
|
2667
2602
|
// If key value pair is provided
|
|
2668
|
-
return
|
|
2669
|
-
return
|
|
2603
|
+
return _.filter(data, item => {
|
|
2604
|
+
return _.includes(item[field], value);
|
|
2670
2605
|
});
|
|
2671
2606
|
}
|
|
2672
2607
|
static { this.ɵfac = function FilterPipe_Factory(t) { return new (t || FilterPipe)(); }; }
|
|
2673
2608
|
static { this.ɵpipe = /*@__PURE__*/ i0__namespace.ɵɵdefinePipe({ name: "filter", type: FilterPipe, pure: true }); }
|
|
2674
2609
|
}
|
|
2675
|
-
(()
|
|
2610
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(FilterPipe, [{
|
|
2676
2611
|
type: i0.Pipe,
|
|
2677
2612
|
args: [{
|
|
2678
2613
|
name: 'filter'
|
|
@@ -2702,7 +2637,7 @@
|
|
|
2702
2637
|
static { this.ɵfac = function FileSizePipe_Factory(t) { return new (t || FileSizePipe)(); }; }
|
|
2703
2638
|
static { this.ɵpipe = /*@__PURE__*/ i0__namespace.ɵɵdefinePipe({ name: "filesize", type: FileSizePipe, pure: true }); }
|
|
2704
2639
|
}
|
|
2705
|
-
(()
|
|
2640
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(FileSizePipe, [{
|
|
2706
2641
|
type: i0.Pipe,
|
|
2707
2642
|
args: [{
|
|
2708
2643
|
name: 'filesize'
|
|
@@ -2743,7 +2678,7 @@
|
|
|
2743
2678
|
static { this.ɵfac = function FileIconClassPipe_Factory(t) { return new (t || FileIconClassPipe)(); }; }
|
|
2744
2679
|
static { this.ɵpipe = /*@__PURE__*/ i0__namespace.ɵɵdefinePipe({ name: "fileIconClass", type: FileIconClassPipe, pure: true }); }
|
|
2745
2680
|
}
|
|
2746
|
-
(()
|
|
2681
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(FileIconClassPipe, [{
|
|
2747
2682
|
type: i0.Pipe,
|
|
2748
2683
|
args: [{
|
|
2749
2684
|
name: 'fileIconClass'
|
|
@@ -2760,7 +2695,7 @@
|
|
|
2760
2695
|
static { this.ɵfac = function StateClassPipe_Factory(t) { return new (t || StateClassPipe)(); }; }
|
|
2761
2696
|
static { this.ɵpipe = /*@__PURE__*/ i0__namespace.ɵɵdefinePipe({ name: "stateClass", type: StateClassPipe, pure: true }); }
|
|
2762
2697
|
}
|
|
2763
|
-
(()
|
|
2698
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(StateClassPipe, [{
|
|
2764
2699
|
type: i0.Pipe,
|
|
2765
2700
|
args: [{
|
|
2766
2701
|
name: 'stateClass'
|
|
@@ -2843,7 +2778,7 @@
|
|
|
2843
2778
|
static { this.ɵfac = function FileExtensionFromMimePipe_Factory(t) { return new (t || FileExtensionFromMimePipe)(); }; }
|
|
2844
2779
|
static { this.ɵpipe = /*@__PURE__*/ i0__namespace.ɵɵdefinePipe({ name: "fileExtensionFromMime", type: FileExtensionFromMimePipe, pure: true }); }
|
|
2845
2780
|
}
|
|
2846
|
-
(()
|
|
2781
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(FileExtensionFromMimePipe, [{
|
|
2847
2782
|
type: i0.Pipe,
|
|
2848
2783
|
args: [{
|
|
2849
2784
|
name: 'fileExtensionFromMime'
|
|
@@ -2879,12 +2814,12 @@
|
|
|
2879
2814
|
static { this.ɵfac = function TrustAsPipe_Factory(t) { return new (t || TrustAsPipe)(i0__namespace.ɵɵdirectiveInject(i1$2__namespace.DomSanitizer, 16)); }; }
|
|
2880
2815
|
static { this.ɵpipe = /*@__PURE__*/ i0__namespace.ɵɵdefinePipe({ name: "trustAs", type: TrustAsPipe, pure: true }); }
|
|
2881
2816
|
}
|
|
2882
|
-
(()
|
|
2817
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(TrustAsPipe, [{
|
|
2883
2818
|
type: i0.Pipe,
|
|
2884
2819
|
args: [{
|
|
2885
2820
|
name: 'trustAs'
|
|
2886
2821
|
}]
|
|
2887
|
-
}], ()
|
|
2822
|
+
}], function () { return [{ type: i1$2__namespace.DomSanitizer }]; }, null); })();
|
|
2888
2823
|
|
|
2889
2824
|
const openedDialogs = [];
|
|
2890
2825
|
/*We need closedDialogs array because onHidden event is asynchronous,
|
|
@@ -2999,7 +2934,7 @@
|
|
|
2999
2934
|
* closes all the opened dialogs
|
|
3000
2935
|
*/
|
|
3001
2936
|
closeAllDialogs() {
|
|
3002
|
-
|
|
2937
|
+
_.forEach(openedDialogs.reverse(), (dialog) => {
|
|
3003
2938
|
dialog.close();
|
|
3004
2939
|
});
|
|
3005
2940
|
}
|
|
@@ -3048,9 +2983,9 @@
|
|
|
3048
2983
|
static { this.ɵfac = function DialogServiceImpl_Factory(t) { return new (t || DialogServiceImpl)(); }; }
|
|
3049
2984
|
static { this.ɵprov = /*@__PURE__*/ i0__namespace.ɵɵdefineInjectable({ token: DialogServiceImpl, factory: DialogServiceImpl.ɵfac }); }
|
|
3050
2985
|
}
|
|
3051
|
-
(()
|
|
2986
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(DialogServiceImpl, [{
|
|
3052
2987
|
type: i0.Injectable
|
|
3053
|
-
}], ()
|
|
2988
|
+
}], function () { return []; }, null); })();
|
|
3054
2989
|
|
|
3055
2990
|
class SanitizePipe {
|
|
3056
2991
|
constructor(domSanitizer) {
|
|
@@ -3084,12 +3019,12 @@
|
|
|
3084
3019
|
static { this.ɵfac = function SanitizePipe_Factory(t) { return new (t || SanitizePipe)(i0__namespace.ɵɵdirectiveInject(i1$2__namespace.DomSanitizer, 16)); }; }
|
|
3085
3020
|
static { this.ɵpipe = /*@__PURE__*/ i0__namespace.ɵɵdefinePipe({ name: "sanitize", type: SanitizePipe, pure: true }); }
|
|
3086
3021
|
}
|
|
3087
|
-
(()
|
|
3022
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(SanitizePipe, [{
|
|
3088
3023
|
type: i0.Pipe,
|
|
3089
3024
|
args: [{
|
|
3090
3025
|
name: 'sanitize'
|
|
3091
3026
|
}]
|
|
3092
|
-
}], ()
|
|
3027
|
+
}], function () { return [{ type: i1$2__namespace.DomSanitizer }]; }, null); })();
|
|
3093
3028
|
|
|
3094
3029
|
const wmComponents = [
|
|
3095
3030
|
ContainerDirective,
|
|
@@ -3148,7 +3083,7 @@
|
|
|
3148
3083
|
static { this.ɵinj = /*@__PURE__*/ i0__namespace.ɵɵdefineInjector({ imports: [i1$1.CommonModule,
|
|
3149
3084
|
security.SecurityModule] }); }
|
|
3150
3085
|
}
|
|
3151
|
-
(()
|
|
3086
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(WmComponentsModule, [{
|
|
3152
3087
|
type: i0.NgModule,
|
|
3153
3088
|
args: [{
|
|
3154
3089
|
imports: [
|
|
@@ -3240,7 +3175,7 @@
|
|
|
3240
3175
|
};
|
|
3241
3176
|
// Returns true if widget is autocomplete or chips
|
|
3242
3177
|
function isSearchWidgetType(widget) {
|
|
3243
|
-
return
|
|
3178
|
+
return _.includes([i1.FormWidgetType.AUTOCOMPLETE, i1.FormWidgetType.TYPEAHEAD, i1.FormWidgetType.CHIPS], widget);
|
|
3244
3179
|
}
|
|
3245
3180
|
function onSuccess(response, res, rej) {
|
|
3246
3181
|
if (response.error) {
|
|
@@ -3329,7 +3264,7 @@
|
|
|
3329
3264
|
}
|
|
3330
3265
|
primaryKeys = dataSource.execute(i1.DataSource.Operation.GET_RELATED_PRIMARY_KEYS, relatedField);
|
|
3331
3266
|
formField.datafield = datafield;
|
|
3332
|
-
formField._primaryKey =
|
|
3267
|
+
formField._primaryKey = _.isEmpty(primaryKeys) ? undefined : primaryKeys[0];
|
|
3333
3268
|
formField.compareby = primaryKeys && primaryKeys.join(',');
|
|
3334
3269
|
displayField = datafield === ALLFIELDS ? undefined : datafield;
|
|
3335
3270
|
formField.displayfield = displayField = (formField.displayfield || displayField || formField._primaryKey);
|
|
@@ -3348,12 +3283,12 @@
|
|
|
3348
3283
|
dataSource.execute(i1.DataSource.Operation.GET_RELATED_TABLE_DATA, {
|
|
3349
3284
|
relatedField,
|
|
3350
3285
|
pagesize: formField.limit,
|
|
3351
|
-
orderBy: formField.orderby ?
|
|
3286
|
+
orderBy: formField.orderby ? _.replace(formField.orderby, /:/g, ' ') : '',
|
|
3352
3287
|
filterFields: {},
|
|
3353
3288
|
filterExpr: formField.filterexpressions ? formField.filterexpressions : {}
|
|
3354
3289
|
}).then(response => {
|
|
3355
3290
|
formField.dataset = response.data;
|
|
3356
|
-
formField.displayfield = formField.displayfield ||
|
|
3291
|
+
formField.displayfield = formField.displayfield || _.head(_.keys(_.get(response, '[0]')));
|
|
3357
3292
|
if (formField.showPendingSpinner) {
|
|
3358
3293
|
formField.showPendingSpinner = false;
|
|
3359
3294
|
}
|
|
@@ -3369,7 +3304,7 @@
|
|
|
3369
3304
|
*/
|
|
3370
3305
|
const interpolateBindExpressions = (context, filterexpressions, callbackFn) => {
|
|
3371
3306
|
const debouncedFn = i1.debounce(() => {
|
|
3372
|
-
if (
|
|
3307
|
+
if (_.isFunction(callbackFn)) {
|
|
3373
3308
|
callbackFn(filterexpressions);
|
|
3374
3309
|
}
|
|
3375
3310
|
}, 300);
|
|
@@ -3378,8 +3313,8 @@
|
|
|
3378
3313
|
* without this it will never be called. processFilterExpBindNode will be called only for the binded variable expressions.
|
|
3379
3314
|
*/
|
|
3380
3315
|
debouncedFn();
|
|
3381
|
-
const filterExpressions = filterexpressions ? (
|
|
3382
|
-
const destroyFn = context.registerDestroyListener ? context.registerDestroyListener.bind(context) : noop;
|
|
3316
|
+
const filterExpressions = filterexpressions ? (_.isObject(filterexpressions) ? filterexpressions : JSON.parse(filterexpressions)) : {};
|
|
3317
|
+
const destroyFn = context.registerDestroyListener ? context.registerDestroyListener.bind(context) : _.noop;
|
|
3383
3318
|
const filterSubscription = i1.processFilterExpBindNode(context, filterExpressions).subscribe((response) => {
|
|
3384
3319
|
filterexpressions = JSON.stringify(response.filterExpressions);
|
|
3385
3320
|
debouncedFn();
|
|
@@ -3407,7 +3342,7 @@
|
|
|
3407
3342
|
fieldColumn = formField['lookup-field'];
|
|
3408
3343
|
props.distinctField = fieldColumn;
|
|
3409
3344
|
props.aliasColumn = fieldColumn.replace('.', '$'); // For related fields, In response . is replaced by $
|
|
3410
|
-
props.filterExpr = formField.filterexpressions ? (
|
|
3345
|
+
props.filterExpr = formField.filterexpressions ? (_.isObject(formField.filterexpressions) ? formField.filterexpressions : JSON.parse(formField.filterexpressions)) : {};
|
|
3411
3346
|
}
|
|
3412
3347
|
else {
|
|
3413
3348
|
props.tableName = dataSource.execute(i1.DataSource.Operation.GET_ENTITY_NAME);
|
|
@@ -3480,14 +3415,14 @@
|
|
|
3480
3415
|
const emptySupportWidgets = [i1.FormWidgetType.SELECT, i1.FormWidgetType.RADIOSET];
|
|
3481
3416
|
const emptyOption = {};
|
|
3482
3417
|
const dataSet = [];
|
|
3483
|
-
if (options.isEnableEmptyFilter &&
|
|
3418
|
+
if (options.isEnableEmptyFilter && _.includes(emptySupportWidgets, formField[options.widget]) &&
|
|
3484
3419
|
!formField['is-range'] && !formField.multiple) {
|
|
3485
3420
|
// If empty option is selected, push an empty object in to dataSet
|
|
3486
3421
|
emptyOption[LIVE_CONSTANTS.LABEL_KEY] = LIVE_CONSTANTS.EMPTY_KEY;
|
|
3487
3422
|
emptyOption[LIVE_CONSTANTS.LABEL_VALUE] = options.EMPTY_VALUE || LIVE_CONSTANTS.EMPTY_VALUE;
|
|
3488
3423
|
dataSet.push(emptyOption);
|
|
3489
3424
|
}
|
|
3490
|
-
|
|
3425
|
+
_.each(data, key => {
|
|
3491
3426
|
const value = key[options.aliasColumn];
|
|
3492
3427
|
const option = {};
|
|
3493
3428
|
if (value !== null && value !== '') {
|
|
@@ -3515,7 +3450,7 @@
|
|
|
3515
3450
|
*
|
|
3516
3451
|
*/
|
|
3517
3452
|
function fetchDistinctValues(dataSource, formFields, options) {
|
|
3518
|
-
if (
|
|
3453
|
+
if (_.isEmpty(formFields)) {
|
|
3519
3454
|
return;
|
|
3520
3455
|
}
|
|
3521
3456
|
formFields.forEach(formField => {
|
|
@@ -3627,7 +3562,7 @@
|
|
|
3627
3562
|
* @param {object} enableemptyfilter empty filter options
|
|
3628
3563
|
*/
|
|
3629
3564
|
function getEnableEmptyFilter(enableemptyfilter) {
|
|
3630
|
-
return enableemptyfilter &&
|
|
3565
|
+
return enableemptyfilter && _.intersection(enableemptyfilter.split(','), LIVE_CONSTANTS.NULL_EMPTY).length > 0;
|
|
3631
3566
|
}
|
|
3632
3567
|
/**
|
|
3633
3568
|
* @ngdoc function
|
|
@@ -3642,14 +3577,14 @@
|
|
|
3642
3577
|
*/
|
|
3643
3578
|
function getEmptyMatchMode(enableemptyfilter) {
|
|
3644
3579
|
let matchMode;
|
|
3645
|
-
const emptyFilterOptions =
|
|
3646
|
-
if (
|
|
3580
|
+
const emptyFilterOptions = _.split(enableemptyfilter, ',');
|
|
3581
|
+
if (_.intersection(emptyFilterOptions, LIVE_CONSTANTS.NULL_EMPTY).length === 2) {
|
|
3647
3582
|
matchMode = i1.MatchMode.NULLOREMPTY;
|
|
3648
3583
|
}
|
|
3649
|
-
else if (
|
|
3584
|
+
else if (_.includes(emptyFilterOptions, LIVE_CONSTANTS.NULL)) {
|
|
3650
3585
|
matchMode = i1.MatchMode.NULL;
|
|
3651
3586
|
}
|
|
3652
|
-
else if (
|
|
3587
|
+
else if (_.includes(emptyFilterOptions, LIVE_CONSTANTS.EMPTY)) {
|
|
3653
3588
|
matchMode = i1.MatchMode.EMPTY;
|
|
3654
3589
|
}
|
|
3655
3590
|
return matchMode;
|
|
@@ -3665,13 +3600,13 @@
|
|
|
3665
3600
|
* @returns {Array<any>}
|
|
3666
3601
|
*/
|
|
3667
3602
|
const createArrayFrom = (data) => {
|
|
3668
|
-
if (
|
|
3603
|
+
if (_.isUndefined(data) || _.isNull(data)) {
|
|
3669
3604
|
return [];
|
|
3670
3605
|
}
|
|
3671
|
-
if (
|
|
3606
|
+
if (_.isString(data)) {
|
|
3672
3607
|
data = data.split(',').map(Function.prototype.call, String.prototype.trim);
|
|
3673
3608
|
}
|
|
3674
|
-
if (!
|
|
3609
|
+
if (!_.isArray(data)) {
|
|
3675
3610
|
data = [data];
|
|
3676
3611
|
}
|
|
3677
3612
|
return data;
|
|
@@ -3691,13 +3626,13 @@
|
|
|
3691
3626
|
*/
|
|
3692
3627
|
function applyFilterOnField(dataSource, filterDef, formFields, newVal, options = {}) {
|
|
3693
3628
|
const fieldName = filterDef.field || filterDef.key;
|
|
3694
|
-
const filterOnFields =
|
|
3629
|
+
const filterOnFields = _.filter(formFields, { 'filter-on': fieldName });
|
|
3695
3630
|
newVal = filterDef['is-range'] ? getRangeFieldValue(filterDef.minValue, filterDef.maxValue) : (i1.isDefined(newVal) ? newVal : filterDef.value);
|
|
3696
|
-
if (!dataSource || (options.isFirst && (
|
|
3631
|
+
if (!dataSource || (options.isFirst && (_.isUndefined(newVal) || newVal === ''))) {
|
|
3697
3632
|
return;
|
|
3698
3633
|
}
|
|
3699
3634
|
// Loop over the fields for which the current field is filter on field
|
|
3700
|
-
|
|
3635
|
+
_.forEach(filterOnFields, filterField => {
|
|
3701
3636
|
const filterKey = filterField.field || filterField.key;
|
|
3702
3637
|
const lookUpField = filterDef['lookup-field'] || filterDef._primaryKey;
|
|
3703
3638
|
const filterWidget = filterField['edit-widget-type'] || filterField.widgettype;
|
|
@@ -3723,7 +3658,7 @@
|
|
|
3723
3658
|
else {
|
|
3724
3659
|
matchMode = i1.MatchMode.EQUALS;
|
|
3725
3660
|
}
|
|
3726
|
-
filterVal = (
|
|
3661
|
+
filterVal = (_.isObject(newVal) && !_.isArray(newVal)) ? newVal[lookUpField] : newVal;
|
|
3727
3662
|
filterFields[filterOn] = {
|
|
3728
3663
|
'value': filterVal,
|
|
3729
3664
|
'matchMode': matchMode
|
|
@@ -3758,9 +3693,9 @@
|
|
|
3758
3693
|
// data sanity testing
|
|
3759
3694
|
dataObject = dataObject || [];
|
|
3760
3695
|
// if the dataObject is not an array make it an array
|
|
3761
|
-
if (!
|
|
3696
|
+
if (!_.isArray(dataObject)) {
|
|
3762
3697
|
// if the data returned is of type string, make it an object inside an array
|
|
3763
|
-
if (
|
|
3698
|
+
if (_.isString(dataObject)) {
|
|
3764
3699
|
keys = variableName.substring(variableName.indexOf('.') + 1, variableName.length).split('.');
|
|
3765
3700
|
oldKeys = [];
|
|
3766
3701
|
numKeys = keys.length;
|
|
@@ -3784,9 +3719,9 @@
|
|
|
3784
3719
|
/*if the dataObject is an array and each value is a string, then lite-transform the string to an object
|
|
3785
3720
|
* lite-transform: just checking if the first value is string and then transforming the object, instead of traversing through the whole array
|
|
3786
3721
|
* */
|
|
3787
|
-
if (
|
|
3722
|
+
if (_.isString(dataObject[0])) {
|
|
3788
3723
|
tempArr = [];
|
|
3789
|
-
|
|
3724
|
+
_.forEach(dataObject, str => {
|
|
3790
3725
|
newObj = {};
|
|
3791
3726
|
newObj[variableName.split('.').join('-')] = str;
|
|
3792
3727
|
tempArr.push(newObj);
|
|
@@ -3829,18 +3764,18 @@
|
|
|
3829
3764
|
/**
|
|
3830
3765
|
* function to get the ordered dataset based on the given orderby
|
|
3831
3766
|
*/
|
|
3832
|
-
const getOrderedDataset = (dataSet, orderBy
|
|
3833
|
-
if (!orderBy
|
|
3834
|
-
return
|
|
3767
|
+
const getOrderedDataset = (dataSet, orderBy, innerItem) => {
|
|
3768
|
+
if (!orderBy) {
|
|
3769
|
+
return _.cloneDeep(dataSet);
|
|
3835
3770
|
}
|
|
3836
3771
|
// The order by only works when the dataset contains list of objects.
|
|
3837
|
-
const items = orderBy
|
|
3772
|
+
const items = orderBy.split(','), fields = [], directions = [];
|
|
3838
3773
|
items.forEach(obj => {
|
|
3839
3774
|
const item = obj.split(':');
|
|
3840
3775
|
fields.push(innerItem ? innerItem + '.' + item[0] : item[0]);
|
|
3841
3776
|
directions.push(item[1]);
|
|
3842
3777
|
});
|
|
3843
|
-
return
|
|
3778
|
+
return _.orderBy(dataSet, fields, directions);
|
|
3844
3779
|
};
|
|
3845
3780
|
/**
|
|
3846
3781
|
* Returns an array of object, each object contain the DataSetItem whose key, value, label are extracted from object keys.
|
|
@@ -3849,10 +3784,10 @@
|
|
|
3849
3784
|
const data = [];
|
|
3850
3785
|
// if the dataset is instance of object (not an array) or the first item in the dataset array is an object,
|
|
3851
3786
|
// then we extract the keys from the object and prepare the dataset items.
|
|
3852
|
-
if (
|
|
3787
|
+
if (_.isObject(dataSet[0]) || (_.isObject(dataSet) && !(dataSet instanceof Array))) {
|
|
3853
3788
|
// getting keys of the object
|
|
3854
3789
|
const objectKeys = Object.keys(dataSet[0] || dataSet);
|
|
3855
|
-
|
|
3790
|
+
_.forEach(objectKeys, (objKey, index) => {
|
|
3856
3791
|
data.push({
|
|
3857
3792
|
key: objKey,
|
|
3858
3793
|
label: objKey,
|
|
@@ -3865,21 +3800,21 @@
|
|
|
3865
3800
|
};
|
|
3866
3801
|
// Converts any type of data to array.
|
|
3867
3802
|
const extractDataAsArray = data => {
|
|
3868
|
-
if (
|
|
3803
|
+
if (_.isUndefined(data) || _.isNull(data) || _.trim(data) === '') {
|
|
3869
3804
|
return [];
|
|
3870
3805
|
}
|
|
3871
|
-
if (
|
|
3872
|
-
data =
|
|
3806
|
+
if (_.isString(data)) {
|
|
3807
|
+
data = _.split(data, ',').map(str => str.trim());
|
|
3873
3808
|
}
|
|
3874
|
-
if (!
|
|
3809
|
+
if (!_.isArray(data)) {
|
|
3875
3810
|
data = [data];
|
|
3876
3811
|
}
|
|
3877
3812
|
return data;
|
|
3878
3813
|
};
|
|
3879
3814
|
// This function return always an object containing dataset details.
|
|
3880
3815
|
const convertDataToObject = dataResult => {
|
|
3881
|
-
if (
|
|
3882
|
-
dataResult =
|
|
3816
|
+
if (_.isString(dataResult)) {
|
|
3817
|
+
dataResult = _.split(dataResult, ',').map(str => str.trim());
|
|
3883
3818
|
}
|
|
3884
3819
|
return dataResult;
|
|
3885
3820
|
};
|
|
@@ -3891,7 +3826,7 @@
|
|
|
3891
3826
|
const setGroupbyKey = (scope, context, dataSetItem, innerItem) => {
|
|
3892
3827
|
if (scope && isSeachWidget(scope.widgetType)) {
|
|
3893
3828
|
if (scope.groupby) {
|
|
3894
|
-
if (
|
|
3829
|
+
if (_.includes(scope.groupby, '(')) {
|
|
3895
3830
|
//[Todo-CSP]: can generate expr fn in page based on groupby property on widget
|
|
3896
3831
|
const groupDataByUserDefinedFn = i1.$parseEvent(scope.groupby);
|
|
3897
3832
|
dataSetItem.groupby = groupDataByUserDefinedFn(context, { 'row': dataSetItem.dataObject || dataSetItem });
|
|
@@ -3922,10 +3857,10 @@
|
|
|
3922
3857
|
}
|
|
3923
3858
|
dataSet = convertDataToObject(dataSet);
|
|
3924
3859
|
// startIndex is the index of the next new item.
|
|
3925
|
-
if (
|
|
3860
|
+
if (_.isUndefined(startIndex)) {
|
|
3926
3861
|
startIndex = 1;
|
|
3927
3862
|
}
|
|
3928
|
-
if (
|
|
3863
|
+
if (_.isString(dataSet)) {
|
|
3929
3864
|
dataSet = dataSet.split(',').map(str => str.trim());
|
|
3930
3865
|
dataSet.forEach((option, index) => {
|
|
3931
3866
|
const dataSetItem = { key: option, value: option, label: (i1.isDefined(option) && option !== null) ? option.toString() : '', index: startIndex + index };
|
|
@@ -3933,20 +3868,16 @@
|
|
|
3933
3868
|
data.push(dataSetItem);
|
|
3934
3869
|
});
|
|
3935
3870
|
}
|
|
3936
|
-
else if (
|
|
3871
|
+
else if (_.isArray(dataSet) && !_.isObject(dataSet[0])) { // array of primitive values only
|
|
3937
3872
|
dataSet.forEach((option, index) => {
|
|
3938
3873
|
const dataSetItem = { key: option, value: option, label: (i1.isDefined(option) && option !== null) ? option.toString() : '', index: startIndex + index };
|
|
3939
3874
|
setGroupbyKey(scope, context, dataSetItem, 'value');
|
|
3940
3875
|
data.push(dataSetItem);
|
|
3941
3876
|
});
|
|
3942
3877
|
}
|
|
3943
|
-
else if (!(dataSet instanceof Array) &&
|
|
3944
|
-
|
|
3945
|
-
|
|
3946
|
-
const dataSetItem = { key: lodashEs.trim(key), value: key, label: (i1.isDefined(value) && value !== null) ? value.toString() : '',
|
|
3947
|
-
index: startIndex,
|
|
3948
|
-
dataObject: dataSet
|
|
3949
|
-
};
|
|
3878
|
+
else if (!(dataSet instanceof Array) && _.isObject(dataSet)) {
|
|
3879
|
+
_.forEach(dataSet, (value, key) => {
|
|
3880
|
+
const dataSetItem = { key: _.trim(key), value: key, label: (i1.isDefined(value) && value !== null) ? value.toString() : '', index: startIndex, dataObject: dataSet };
|
|
3950
3881
|
setGroupbyKey(scope, context, dataSetItem, 'value');
|
|
3951
3882
|
data.push(dataSetItem);
|
|
3952
3883
|
});
|
|
@@ -3958,7 +3889,7 @@
|
|
|
3958
3889
|
dataSet.forEach((option, index) => {
|
|
3959
3890
|
const key = myDataField === ALLFIELDS ? startIndex + index : getObjValueByKey(option, myDataField);
|
|
3960
3891
|
// Omit all the items whose datafield (key) is null or undefined.
|
|
3961
|
-
if (!
|
|
3892
|
+
if (!_.isUndefined(key) && !_.isNull(key)) {
|
|
3962
3893
|
const label = getEvaluatedData(option, {
|
|
3963
3894
|
field: displayOptions.displayField,
|
|
3964
3895
|
expression: displayOptions.displayExpr,
|
|
@@ -3968,7 +3899,7 @@
|
|
|
3968
3899
|
key: key,
|
|
3969
3900
|
label: (i1.isDefined(label) && label !== null) ? label.toString() : '',
|
|
3970
3901
|
value: myDataField === ALLFIELDS ? option : key,
|
|
3971
|
-
dataObject: option,
|
|
3902
|
+
dataObject: option,
|
|
3972
3903
|
index: startIndex + index
|
|
3973
3904
|
};
|
|
3974
3905
|
if (displayOptions.displayImgSrc || displayOptions.bindDisplayImgSrc) {
|
|
@@ -3990,16 +3921,16 @@
|
|
|
3990
3921
|
const getUniqObjsByDataField = (data, dataField, displayField, allowEmptyFields) => {
|
|
3991
3922
|
let uniqData;
|
|
3992
3923
|
const isAllFields = dataField === ALLFIELDS;
|
|
3993
|
-
uniqData = isAllFields ?
|
|
3924
|
+
uniqData = isAllFields ? _.uniqWith(data, _.isEqual) : _.uniqBy(data, 'key');
|
|
3994
3925
|
if (!displayField || allowEmptyFields) {
|
|
3995
3926
|
return uniqData;
|
|
3996
3927
|
}
|
|
3997
3928
|
// return objects having non empty datafield and display field values.
|
|
3998
|
-
return
|
|
3929
|
+
return _.filter(uniqData, (obj) => {
|
|
3999
3930
|
if (isAllFields) {
|
|
4000
|
-
return
|
|
3931
|
+
return _.trim(obj.label);
|
|
4001
3932
|
}
|
|
4002
|
-
return
|
|
3933
|
+
return _.trim(obj.key) && _.trim(obj.label);
|
|
4003
3934
|
});
|
|
4004
3935
|
};
|
|
4005
3936
|
/**
|
|
@@ -4011,7 +3942,7 @@
|
|
|
4011
3942
|
*/
|
|
4012
3943
|
const setItemByCompare = (datasetItems, compareWithDataObj, compareByField) => {
|
|
4013
3944
|
// compare the fields based on fields given to compareby property.
|
|
4014
|
-
|
|
3945
|
+
_.forEach(datasetItems, opt => {
|
|
4015
3946
|
if (i1.isEqualWithFields(opt.value, compareWithDataObj, compareByField)) {
|
|
4016
3947
|
opt.selected = true;
|
|
4017
3948
|
return false;
|
|
@@ -4028,13 +3959,13 @@
|
|
|
4028
3959
|
*/
|
|
4029
3960
|
const getSortedGroupedData = (groupedLiData, groupBy, orderby) => {
|
|
4030
3961
|
const _groupedData = [];
|
|
4031
|
-
|
|
3962
|
+
_.forEach(_.keys(groupedLiData), (groupkey, index) => {
|
|
4032
3963
|
const liData = getOrderedDataset(groupedLiData[groupkey], orderby, 'dataObject');
|
|
4033
3964
|
_groupedData.push({
|
|
4034
3965
|
key: groupkey,
|
|
4035
|
-
data:
|
|
3966
|
+
data: _.sortBy(liData, data => {
|
|
4036
3967
|
data._groupIndex = index + 1;
|
|
4037
|
-
return
|
|
3968
|
+
return _.get(data, groupBy) || _.get(data.dataObject, groupBy);
|
|
4038
3969
|
})
|
|
4039
3970
|
});
|
|
4040
3971
|
});
|
|
@@ -4054,11 +3985,10 @@
|
|
|
4054
3985
|
*/
|
|
4055
3986
|
const groupData = (compRef, data, groupby, match, orderby, dateformat, datePipe, innerItem, AppDefaults) => {
|
|
4056
3987
|
let groupedLiData = {};
|
|
4057
|
-
if (
|
|
3988
|
+
if (_.includes(groupby, '(')) {
|
|
4058
3989
|
//[Todo-CSP]: can generate expr fn in page based on groupby property on widget
|
|
4059
3990
|
const groupDataByUserDefinedFn = i1.$parseEvent(groupby);
|
|
4060
|
-
groupedLiData =
|
|
4061
|
-
// @ts-ignore
|
|
3991
|
+
groupedLiData = _.groupBy(data, val => {
|
|
4062
3992
|
return groupDataByUserDefinedFn(compRef.viewParent, { 'row': val.dataObject || val });
|
|
4063
3993
|
});
|
|
4064
3994
|
}
|
|
@@ -4084,14 +4014,14 @@
|
|
|
4084
4014
|
}
|
|
4085
4015
|
// handling case-in-sensitive scenario
|
|
4086
4016
|
// ordering the data based on groupby field. If there is innerItem then apply orderby using the innerItem's containing the groupby field.
|
|
4087
|
-
fieldDefs =
|
|
4088
|
-
const groupKey =
|
|
4017
|
+
fieldDefs = _.orderBy(fieldDefs, fieldDef => {
|
|
4018
|
+
const groupKey = _.get(innerItem ? fieldDef[innerItem] : fieldDef, groupby);
|
|
4089
4019
|
if (groupKey) {
|
|
4090
|
-
return
|
|
4020
|
+
return _.toLower(groupKey);
|
|
4091
4021
|
}
|
|
4092
4022
|
});
|
|
4093
4023
|
// extract the grouped data based on the field obtained from 'groupDataByField'.
|
|
4094
|
-
const groupedLiData =
|
|
4024
|
+
const groupedLiData = _.groupBy(fieldDefs, groupDataByField.bind(undefined, groupby, match, innerItem, dateFormat, datePipe, AppDefaults));
|
|
4095
4025
|
momentLocale._calendar = momentCalendarOptions; // Reset to default moment calendar options
|
|
4096
4026
|
return groupedLiData;
|
|
4097
4027
|
};
|
|
@@ -4157,9 +4087,9 @@
|
|
|
4157
4087
|
// groups the fields based on the groupby value.
|
|
4158
4088
|
const groupDataByField = (groupby, match, innerItem, dateFormat, datePipe, AppDefaults, liData) => {
|
|
4159
4089
|
// get the groupby field value from the liData or innerItem in the liData.
|
|
4160
|
-
let concatStr =
|
|
4090
|
+
let concatStr = _.get(innerItem ? liData[innerItem] : liData, groupby);
|
|
4161
4091
|
// by default set the undefined groupKey as 'others'
|
|
4162
|
-
if (
|
|
4092
|
+
if (_.isUndefined(concatStr) || _.isNull(concatStr) || concatStr.toString().trim() === '') {
|
|
4163
4093
|
return GROUP_BY_OPTIONS.OTHERS;
|
|
4164
4094
|
}
|
|
4165
4095
|
// if match prop is alphabetic ,get the starting alphabet of the word as key.
|
|
@@ -4167,7 +4097,7 @@
|
|
|
4167
4097
|
concatStr = concatStr.substr(0, 1);
|
|
4168
4098
|
}
|
|
4169
4099
|
// if match contains the time options then get the concatStr using 'getTimeRolledUpString'
|
|
4170
|
-
if (
|
|
4100
|
+
if (_.includes(_.values(TIME_ROLLUP_OPTIONS), match)) {
|
|
4171
4101
|
concatStr = getTimeRolledUpString(concatStr, match, dateFormat, datePipe, AppDefaults);
|
|
4172
4102
|
}
|
|
4173
4103
|
return concatStr;
|
|
@@ -4182,13 +4112,13 @@
|
|
|
4182
4112
|
// toggle the collapse icon on list header.
|
|
4183
4113
|
const groupIcons = groups.find('li.list-group-header .app-icon');
|
|
4184
4114
|
if (groupIcons) {
|
|
4185
|
-
|
|
4186
|
-
|
|
4187
|
-
if (
|
|
4188
|
-
|
|
4115
|
+
_.forEach(groupIcons, (icon) => {
|
|
4116
|
+
icon = $(icon);
|
|
4117
|
+
if (icon.hasClass('wi-chevron-down')) {
|
|
4118
|
+
icon.removeClass('wi-chevron-down').addClass('wi-chevron-up');
|
|
4189
4119
|
}
|
|
4190
4120
|
else {
|
|
4191
|
-
|
|
4121
|
+
icon.removeClass('wi-chevron-up').addClass('wi-chevron-down');
|
|
4192
4122
|
}
|
|
4193
4123
|
});
|
|
4194
4124
|
}
|
|
@@ -4253,8 +4183,8 @@
|
|
|
4253
4183
|
};
|
|
4254
4184
|
// Method to set the header config of the data table
|
|
4255
4185
|
const setHeaderConfig = (headerConfig, config, field, index) => {
|
|
4256
|
-
|
|
4257
|
-
if (
|
|
4186
|
+
_.forEach(headerConfig, cols => {
|
|
4187
|
+
if (_.get(cols, 'isGroup')) {
|
|
4258
4188
|
if (cols.field === field) {
|
|
4259
4189
|
cols.columns[index] = config;
|
|
4260
4190
|
}
|
|
@@ -4310,8 +4240,8 @@
|
|
|
4310
4240
|
}
|
|
4311
4241
|
else if (captionWidth) {
|
|
4312
4242
|
// handling itemsperrow containing string of classes
|
|
4313
|
-
|
|
4314
|
-
const keys =
|
|
4243
|
+
_.forEach(_.split(captionWidth, ' '), function (cls) {
|
|
4244
|
+
const keys = _.split(cls, '-'), tier = keys[0];
|
|
4315
4245
|
let _captionWidth, widgetWidth;
|
|
4316
4246
|
_captionWidth = parseInt(keys[1], 10);
|
|
4317
4247
|
widgetWidth = 12 - _captionWidth;
|
|
@@ -4326,7 +4256,7 @@
|
|
|
4326
4256
|
};
|
|
4327
4257
|
};
|
|
4328
4258
|
const getDefaultViewModeWidget = widget => {
|
|
4329
|
-
if (
|
|
4259
|
+
if (_.includes(['checkbox', 'toggle', 'rating'], widget)) {
|
|
4330
4260
|
return VIEW_MODE_OPTIONS.DEFAULT;
|
|
4331
4261
|
}
|
|
4332
4262
|
return VIEW_MODE_OPTIONS.LABEL;
|
|
@@ -4396,7 +4326,7 @@
|
|
|
4396
4326
|
if (type === i1.DataType.BOOLEAN) {
|
|
4397
4327
|
widget = i1.FormWidgetType.SELECT;
|
|
4398
4328
|
}
|
|
4399
|
-
if (
|
|
4329
|
+
if (_.includes([i1.FormWidgetType.TEXT, i1.FormWidgetType.NUMBER, i1.FormWidgetType.SELECT, i1.FormWidgetType.AUTOCOMPLETE,
|
|
4400
4330
|
i1.FormWidgetType.DATE, i1.FormWidgetType.TIME, i1.FormWidgetType.DATETIME], widget)) {
|
|
4401
4331
|
return widget;
|
|
4402
4332
|
}
|
|
@@ -4454,22 +4384,22 @@
|
|
|
4454
4384
|
const routRegex = /^(\/|#\/|#)(?!\W).*/;
|
|
4455
4385
|
if (link) {
|
|
4456
4386
|
if (routRegex.test(link)) {
|
|
4457
|
-
link =
|
|
4387
|
+
link = _.first(link.match(/[\w]+.*/g)) || '';
|
|
4458
4388
|
return `#/${link}`;
|
|
4459
4389
|
}
|
|
4460
|
-
if (
|
|
4390
|
+
if (_.startsWith(link, 'www.')) {
|
|
4461
4391
|
return `//${link}`;
|
|
4462
4392
|
}
|
|
4463
4393
|
return link;
|
|
4464
4394
|
}
|
|
4465
4395
|
};
|
|
4466
|
-
|
|
4467
|
-
constructor(inj, WIDGET_CONFIG
|
|
4468
|
-
super(inj, WIDGET_CONFIG
|
|
4396
|
+
class DatasetAwareNavComponent extends StylableComponent {
|
|
4397
|
+
constructor(inj, WIDGET_CONFIG) {
|
|
4398
|
+
super(inj, WIDGET_CONFIG);
|
|
4469
4399
|
this.nodes = [];
|
|
4470
4400
|
this.nodes$ = new rxjs.Subject();
|
|
4471
4401
|
// debounce function for reset nodes functions.
|
|
4472
|
-
this._resetNodes =
|
|
4402
|
+
this._resetNodes = _.debounce(this.resetNodes, 50);
|
|
4473
4403
|
this.securityService = this.inj.get(security.SecurityService);
|
|
4474
4404
|
this.binditemlabel = this.nativeElement.getAttribute('itemlabel.bind');
|
|
4475
4405
|
this.binditemicon = this.nativeElement.getAttribute('itemicon.bind');
|
|
@@ -4489,49 +4419,24 @@
|
|
|
4489
4419
|
*/
|
|
4490
4420
|
getNode(fields, node) {
|
|
4491
4421
|
const context = this.viewParent.pageScope || this.viewParent;
|
|
4492
|
-
const children = getEvaluatedData(node, {
|
|
4493
|
-
field: this.itemchildren,
|
|
4494
|
-
bindExpression: this.binditemchildren
|
|
4495
|
-
}, context) || lodashEs.get(node, fields.childrenField);
|
|
4422
|
+
const children = getEvaluatedData(node, { field: this.itemchildren, bindExpression: this.binditemchildren }, context) || _.get(node, fields.childrenField);
|
|
4496
4423
|
const navNode = {
|
|
4497
|
-
action: getEvaluatedData(node, {
|
|
4498
|
-
|
|
4499
|
-
bindExpression: this.binditemaction
|
|
4500
|
-
}, context) || lodashEs.get(node, fields.actionField),
|
|
4501
|
-
badge: getEvaluatedData(node, {
|
|
4502
|
-
field: this.itembadge,
|
|
4503
|
-
bindExpression: this.binditembadge
|
|
4504
|
-
}, context) || lodashEs.get(node, fields.badgeField),
|
|
4424
|
+
action: getEvaluatedData(node, { field: this.itemaction, bindExpression: this.binditemaction }, context) || _.get(node, fields.actionField),
|
|
4425
|
+
badge: getEvaluatedData(node, { field: this.itembadge, bindExpression: this.binditembadge }, context) || _.get(node, fields.badgeField),
|
|
4505
4426
|
children: Array.isArray(children) ? this.getNodes(children) : [],
|
|
4506
|
-
class:
|
|
4427
|
+
class: _.get(node, fields.classField),
|
|
4507
4428
|
disabled: node.disabled,
|
|
4508
|
-
icon: getEvaluatedData(node, {
|
|
4509
|
-
|
|
4510
|
-
|
|
4511
|
-
}, context) ||
|
|
4512
|
-
|
|
4513
|
-
field: this.itemid,
|
|
4514
|
-
bindExpression: this.binditemid
|
|
4515
|
-
}, context) || lodashEs.get(node, fields.idField),
|
|
4516
|
-
label: getEvaluatedData(node, {
|
|
4517
|
-
field: this.itemlabel,
|
|
4518
|
-
bindExpression: this.binditemlabel
|
|
4519
|
-
}, context) || lodashEs.get(node, fields.labelField),
|
|
4520
|
-
link: getValidLink(getEvaluatedData(node, {
|
|
4521
|
-
field: this.itemlink,
|
|
4522
|
-
bindExpression: this.binditemlink
|
|
4523
|
-
}, context) || lodashEs.get(node, fields.linkField)),
|
|
4524
|
-
target: getValidLink(getEvaluatedData(node, {
|
|
4525
|
-
field: this.itemtarget,
|
|
4526
|
-
bindExpression: this.binditemtarget
|
|
4527
|
-
}, context) || lodashEs.get(node, fields.targetField)),
|
|
4429
|
+
icon: getEvaluatedData(node, { field: this.itemicon, bindExpression: this.binditemicon }, context) || _.get(node, fields.iconField),
|
|
4430
|
+
id: getEvaluatedData(node, { field: this.itemid, bindExpression: this.binditemid }, context) || _.get(node, fields.idField),
|
|
4431
|
+
label: getEvaluatedData(node, { field: this.itemlabel, bindExpression: this.binditemlabel }, context) || _.get(node, fields.labelField),
|
|
4432
|
+
link: getValidLink(getEvaluatedData(node, { field: this.itemlink, bindExpression: this.binditemlink }, context) || _.get(node, fields.linkField)),
|
|
4433
|
+
target: getValidLink(getEvaluatedData(node, { field: this.itemtarget, bindExpression: this.binditemtarget }, context) || _.get(node, fields.targetField)),
|
|
4528
4434
|
role: getEvaluatedData(node, { field: this.userrole, bindExpression: this.binduserrole }, context),
|
|
4529
4435
|
isactive: getEvaluatedData(node, { field: this.isactive, bindExpression: this.bindisactive }, context),
|
|
4530
4436
|
// older projects have display field & data field property for menu.
|
|
4531
4437
|
value: this.datafield ? (this.datafield === 'All Fields' ? node : i1.findValueOf(node, this.datafield)) : node
|
|
4532
4438
|
};
|
|
4533
|
-
|
|
4534
|
-
return lodashEs.omitBy(navNode, lodashEs.isUndefined);
|
|
4439
|
+
return _.omitBy(navNode, _.isUndefined);
|
|
4535
4440
|
}
|
|
4536
4441
|
resetItemFieldMap() {
|
|
4537
4442
|
this._itemFieldMap = null;
|
|
@@ -4614,12 +4519,7 @@
|
|
|
4614
4519
|
}
|
|
4615
4520
|
super.onPropertyChange(key, nv, ov);
|
|
4616
4521
|
}
|
|
4617
|
-
}
|
|
4618
|
-
exports.DatasetAwareNavComponent = tslib.__decorate([
|
|
4619
|
-
tslib.__param(2, i0.Inject('EXPLICIT_CONTEXT')),
|
|
4620
|
-
tslib.__param(2, i0.Optional()),
|
|
4621
|
-
tslib.__metadata("design:paramtypes", [i0.Injector, Object, Object])
|
|
4622
|
-
], exports.DatasetAwareNavComponent);
|
|
4522
|
+
}
|
|
4623
4523
|
|
|
4624
4524
|
const DEFAULT_VALIDATOR = {
|
|
4625
4525
|
pattern: 'regexp',
|
|
@@ -4669,7 +4569,7 @@
|
|
|
4669
4569
|
if (this.instance.regexp) {
|
|
4670
4570
|
_validator.push(forms.Validators.pattern(this.instance.regexp));
|
|
4671
4571
|
}
|
|
4672
|
-
if (this.formwidget &&
|
|
4572
|
+
if (this.formwidget && _.isFunction(this.formwidget.validate)) {
|
|
4673
4573
|
_validator.push(this.formwidget.validate.bind(this.formwidget));
|
|
4674
4574
|
}
|
|
4675
4575
|
return _validator;
|
|
@@ -4696,7 +4596,7 @@
|
|
|
4696
4596
|
}
|
|
4697
4597
|
getPromiseList(validators) {
|
|
4698
4598
|
const arr = [];
|
|
4699
|
-
|
|
4599
|
+
_.forEach(validators, (fn, index) => {
|
|
4700
4600
|
let promise = fn;
|
|
4701
4601
|
if (fn instanceof Function && fn.bind) {
|
|
4702
4602
|
promise = fn(this.widgetControl, this.widgetContext);
|
|
@@ -4718,11 +4618,11 @@
|
|
|
4718
4618
|
// if err obj has validationMessage key, then set validationMessage using this value
|
|
4719
4619
|
// else return the value of the first key in the err object as validation message.
|
|
4720
4620
|
if (err.hasOwnProperty('errorMessage')) {
|
|
4721
|
-
this.instance.validationmessage =
|
|
4621
|
+
this.instance.validationmessage = _.get(err, 'errorMessage');
|
|
4722
4622
|
}
|
|
4723
4623
|
else {
|
|
4724
|
-
const keys
|
|
4725
|
-
this.instance.validationmessage = (err[keys
|
|
4624
|
+
const keys = _.keys(err);
|
|
4625
|
+
this.instance.validationmessage = (err[keys[0]]).toString();
|
|
4726
4626
|
}
|
|
4727
4627
|
return err;
|
|
4728
4628
|
}).then(response => {
|
|
@@ -4754,7 +4654,7 @@
|
|
|
4754
4654
|
}
|
|
4755
4655
|
}
|
|
4756
4656
|
isDefaultValidator(type) {
|
|
4757
|
-
return
|
|
4657
|
+
return _.get(i1.VALIDATOR, _.toUpper(type));
|
|
4758
4658
|
}
|
|
4759
4659
|
// default validator is bound to a function then watch for value changes
|
|
4760
4660
|
// otherwise set the value of default validator directly
|
|
@@ -4770,10 +4670,10 @@
|
|
|
4770
4670
|
}
|
|
4771
4671
|
// sets the default validation on the form field
|
|
4772
4672
|
setValidators(validators) {
|
|
4773
|
-
let _cloneValidators =
|
|
4673
|
+
let _cloneValidators = _.cloneDeep(validators);
|
|
4774
4674
|
this.hasValidators = true;
|
|
4775
4675
|
this._syncValidators = [];
|
|
4776
|
-
|
|
4676
|
+
_.forEach(_cloneValidators, (obj, index) => {
|
|
4777
4677
|
// custom validation is bound to function.
|
|
4778
4678
|
if (obj && obj instanceof Function) {
|
|
4779
4679
|
// passing formfield and form as arguments to the obj (i.e. validator function)
|
|
@@ -4782,17 +4682,17 @@
|
|
|
4782
4682
|
}
|
|
4783
4683
|
else {
|
|
4784
4684
|
// checks for default validator like required, maxchars etc.
|
|
4785
|
-
const key =
|
|
4786
|
-
this.defaultValidatorMessages[key] =
|
|
4685
|
+
const key = _.get(obj, 'type');
|
|
4686
|
+
this.defaultValidatorMessages[key] = _.get(obj, 'errorMessage');
|
|
4787
4687
|
if (this.isDefaultValidator(key)) {
|
|
4788
|
-
const value =
|
|
4688
|
+
const value = _.get(obj, 'validator');
|
|
4789
4689
|
this.setDefaultValidator(key, value);
|
|
4790
4690
|
_cloneValidators[index] = '';
|
|
4791
4691
|
}
|
|
4792
4692
|
}
|
|
4793
4693
|
});
|
|
4794
4694
|
// _syncValidators contains all the custom validations on the form field. will not include default validators.
|
|
4795
|
-
this._syncValidators =
|
|
4695
|
+
this._syncValidators = _.filter(_cloneValidators, val => {
|
|
4796
4696
|
if (val) {
|
|
4797
4697
|
return val;
|
|
4798
4698
|
}
|
|
@@ -4800,8 +4700,8 @@
|
|
|
4800
4700
|
this.applyDefaultValidators();
|
|
4801
4701
|
}
|
|
4802
4702
|
observeOn(fields, context) {
|
|
4803
|
-
|
|
4804
|
-
const formfield =
|
|
4703
|
+
_.forEach(fields, field => {
|
|
4704
|
+
const formfield = _.find(this.widgetContext[context], { 'key': field });
|
|
4805
4705
|
if (formfield) {
|
|
4806
4706
|
if (!formfield.notifyForFields) {
|
|
4807
4707
|
formfield.notifyForFields = [];
|
|
@@ -4832,13 +4732,13 @@
|
|
|
4832
4732
|
const watchName = `${this.instance.widgetId}_` + key + '_formField';
|
|
4833
4733
|
i1.$unwatch(watchName);
|
|
4834
4734
|
//[Todo-CSP]: Need clarity generate this expr fn if form is present in the page
|
|
4835
|
-
this.instance.registerDestroyListener(i1.$watch('boundFn(fn)',
|
|
4735
|
+
this.instance.registerDestroyListener(i1.$watch('boundFn(fn)', _.extend(this.instance, this.instance.viewParent), { fn }, (nv, ov) => {
|
|
4836
4736
|
this.instance.widget[key] = nv;
|
|
4837
4737
|
this.applyDefaultValidators();
|
|
4838
4738
|
}, watchName));
|
|
4839
4739
|
}
|
|
4840
4740
|
isNullOrEmptyOrFalsy(value) {
|
|
4841
|
-
return
|
|
4741
|
+
return _.isEmpty(value);
|
|
4842
4742
|
}
|
|
4843
4743
|
// invokes both custom sync validations and default validations.
|
|
4844
4744
|
applyDefaultValidators() {
|
|
@@ -4849,7 +4749,7 @@
|
|
|
4849
4749
|
if (this.formwidget && (this.instance.value === this.formwidget.prevDatavalue || this.isNullOrEmptyOrFalsy(this.instance.value))) {
|
|
4850
4750
|
opt['emitEvent'] = false;
|
|
4851
4751
|
}
|
|
4852
|
-
this.widgetControl.setValidators(
|
|
4752
|
+
this.widgetControl.setValidators(_.concat(this._syncValidators || [], validators));
|
|
4853
4753
|
this.widgetControl.updateValueAndValidity(opt);
|
|
4854
4754
|
this.setCustomValidationMessage();
|
|
4855
4755
|
}
|
|
@@ -4859,14 +4759,14 @@
|
|
|
4859
4759
|
return;
|
|
4860
4760
|
}
|
|
4861
4761
|
if (fieldErrors.hasOwnProperty('errorMessage')) {
|
|
4862
|
-
this.instance.validationmessage =
|
|
4762
|
+
this.instance.validationmessage = _.get(fieldErrors, 'errorMessage');
|
|
4863
4763
|
}
|
|
4864
4764
|
else {
|
|
4865
|
-
const keys
|
|
4866
|
-
const key = keys
|
|
4867
|
-
const validationMsgKey =
|
|
4765
|
+
const keys = _.keys(fieldErrors);
|
|
4766
|
+
const key = keys[0];
|
|
4767
|
+
const validationMsgKey = _.get(DEFAULT_VALIDATOR, key) || this.formwidget.validateType;
|
|
4868
4768
|
if (validationMsgKey) {
|
|
4869
|
-
const msg =
|
|
4769
|
+
const msg = _.get(this.defaultValidatorMessages, validationMsgKey) || this.instance.validationmessage;
|
|
4870
4770
|
if (msg && msg instanceof Function) {
|
|
4871
4771
|
// passing formfield and form as arguments to the errorMessage function.
|
|
4872
4772
|
this.instance.validationmessage = msg(this.widgetControl, this.widgetContext);
|
|
@@ -5256,6 +5156,7 @@
|
|
|
5256
5156
|
exports.DEBOUNCE_TIMES = DEBOUNCE_TIMES;
|
|
5257
5157
|
exports.DISPLAY_TYPE = DISPLAY_TYPE;
|
|
5258
5158
|
exports.DataSetItem = DataSetItem;
|
|
5159
|
+
exports.DatasetAwareNavComponent = DatasetAwareNavComponent;
|
|
5259
5160
|
exports.DialogRef = DialogRef;
|
|
5260
5161
|
exports.DialogServiceImpl = DialogServiceImpl;
|
|
5261
5162
|
exports.EDIT_MODE = EDIT_MODE;
|
|
@@ -5368,6 +5269,5 @@
|
|
|
5368
5269
|
exports.transformFormData = transformFormData;
|
|
5369
5270
|
exports.unsupportedStatePersistenceTypes = unsupportedStatePersistenceTypes;
|
|
5370
5271
|
exports.updateDeviceView = updateDeviceView;
|
|
5371
|
-
exports.widgetIdGenerator = widgetIdGenerator;
|
|
5372
5272
|
|
|
5373
5273
|
}));
|