@wavemaker/app-ng-runtime 11.8.0-rc.5680 → 11.8.1-next.45204
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- app-ng-runtime/build-task/bundles/index.umd.js +9 -33
- app-ng-runtime/build-task/esm2022/advanced/carousel/carousel-template/carousel-template.build.mjs +2 -4
- app-ng-runtime/build-task/esm2022/advanced/carousel/carousel.build.mjs +1 -1
- app-ng-runtime/build-task/esm2022/basic/default/label/label.build.mjs +1 -1
- app-ng-runtime/build-task/esm2022/basic/progress/progress-bar/progress-bar.build.mjs +1 -1
- app-ng-runtime/build-task/esm2022/containers/accordion/accordion.build.mjs +1 -1
- app-ng-runtime/build-task/esm2022/containers/repeat-template.build.mjs +2 -4
- app-ng-runtime/build-task/esm2022/containers/tabs/tabs.build.mjs +1 -1
- app-ng-runtime/build-task/esm2022/data/form/form-field/form-field.build.mjs +1 -1
- app-ng-runtime/build-task/esm2022/data/form/form.build.mjs +2 -5
- app-ng-runtime/build-task/esm2022/data/list/list.build.mjs +1 -1
- app-ng-runtime/build-task/esm2022/data/media-list/media-list.build.mjs +1 -1
- app-ng-runtime/build-task/esm2022/data/table/table-column/table-column.build.mjs +1 -1
- app-ng-runtime/build-task/esm2022/data/table/table.build.mjs +1 -1
- app-ng-runtime/build-task/esm2022/dialogs/partial-dialog/partial-dialog.build.mjs +1 -1
- app-ng-runtime/build-task/esm2022/input/file-upload/file-upload.build.mjs +1 -1
- app-ng-runtime/build-task/esm2022/navigation/menu/menu.build.mjs +2 -19
- app-ng-runtime/build-task/esm2022/navigation/popover/popover.build.mjs +1 -1
- app-ng-runtime/build-task/esm2022/page/page-content/page-content.build.mjs +1 -1
- app-ng-runtime/build-task/esm2022/page/page.build.mjs +2 -3
- app-ng-runtime/build-task/esm2022/utils/utils.mjs +1 -1
- app-ng-runtime/build-task/fesm2022/index.mjs +6 -31
- app-ng-runtime/build-task/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/advanced/carousel/bundles/index.umd.js +16 -26
- app-ng-runtime/components/advanced/carousel/carousel-template/carousel-template.directive.d.ts +2 -2
- app-ng-runtime/components/advanced/carousel/carousel.directive.d.ts +2 -2
- app-ng-runtime/components/advanced/carousel/esm2022/carousel-template/carousel-template.directive.mjs +7 -12
- app-ng-runtime/components/advanced/carousel/esm2022/carousel.animator.mjs +2 -3
- app-ng-runtime/components/advanced/carousel/esm2022/carousel.directive.mjs +7 -12
- app-ng-runtime/components/advanced/carousel/esm2022/carousel.module.mjs +2 -2
- app-ng-runtime/components/advanced/carousel/fesm2022/index.mjs +14 -25
- app-ng-runtime/components/advanced/carousel/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/advanced/login/bundles/index.umd.js +13 -19
- app-ng-runtime/components/advanced/login/esm2022/login.component.mjs +10 -17
- app-ng-runtime/components/advanced/login/esm2022/login.module.mjs +2 -2
- app-ng-runtime/components/advanced/login/fesm2022/index.mjs +11 -18
- app-ng-runtime/components/advanced/login/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/advanced/login/login.component.d.ts +2 -2
- app-ng-runtime/components/advanced/marquee/bundles/index.umd.js +6 -11
- app-ng-runtime/components/advanced/marquee/esm2022/marquee.directive.mjs +7 -12
- app-ng-runtime/components/advanced/marquee/esm2022/marquee.module.mjs +2 -2
- app-ng-runtime/components/advanced/marquee/fesm2022/index.mjs +8 -13
- app-ng-runtime/components/advanced/marquee/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/advanced/marquee/marquee.directive.d.ts +2 -2
- app-ng-runtime/components/base/bundles/index.umd.js +282 -367
- app-ng-runtime/components/base/directives/show-in-device.directive.d.ts +6 -3
- app-ng-runtime/components/base/esm2022/components.module.mjs +2 -2
- app-ng-runtime/components/base/esm2022/directives/show-in-device.directive.mjs +15 -13
- app-ng-runtime/components/base/esm2022/pipes/custom-pipes.mjs +34 -35
- app-ng-runtime/components/base/esm2022/pipes/image.pipe.mjs +2 -2
- app-ng-runtime/components/base/esm2022/pipes/sanitize.pipe.mjs +3 -3
- app-ng-runtime/components/base/esm2022/pipes/trust-as.pipe.mjs +3 -3
- app-ng-runtime/components/base/esm2022/pipes/wm-pipe.mjs +2 -3
- app-ng-runtime/components/base/esm2022/utils/data-utils.mjs +29 -30
- app-ng-runtime/components/base/esm2022/utils/form-utils.mjs +42 -48
- app-ng-runtime/components/base/esm2022/utils/live-utils.mjs +7 -8
- app-ng-runtime/components/base/esm2022/utils/widget-utils.mjs +27 -28
- app-ng-runtime/components/base/esm2022/widgets/common/base/base-container.component.mjs +7 -8
- app-ng-runtime/components/base/esm2022/widgets/common/base/base-field-validations.mjs +22 -23
- app-ng-runtime/components/base/esm2022/widgets/common/base/base.component.mjs +16 -36
- app-ng-runtime/components/base/esm2022/widgets/common/base/dataset-aware-nav.component.mjs +18 -52
- app-ng-runtime/components/base/esm2022/widgets/common/base/partial-container.directive.mjs +5 -6
- app-ng-runtime/components/base/esm2022/widgets/common/base/stylable.component.mjs +3 -3
- app-ng-runtime/components/base/esm2022/widgets/common/base/text-content.directive.mjs +3 -3
- app-ng-runtime/components/base/esm2022/widgets/common/container/container.directive.mjs +7 -12
- app-ng-runtime/components/base/esm2022/widgets/common/dialog/dialog.service.mjs +4 -5
- app-ng-runtime/components/base/esm2022/widgets/common/item-template/item-template.directive.mjs +7 -12
- app-ng-runtime/components/base/esm2022/widgets/common/lazy-load/lazy-load.directive.mjs +7 -14
- app-ng-runtime/components/base/esm2022/widgets/common/message/message.component.mjs +10 -16
- app-ng-runtime/components/base/esm2022/widgets/common/partial/partial.directive.mjs +8 -14
- app-ng-runtime/components/base/esm2022/widgets/common/partial-param/partial-param.directive.mjs +8 -9
- app-ng-runtime/components/base/esm2022/widgets/common/pull-to-refresh/pull-to-refresh.mjs +1 -1
- app-ng-runtime/components/base/esm2022/widgets/common/redraw/redrawable.directive.mjs +4 -4
- app-ng-runtime/components/base/esm2022/widgets/common/repeat-template/repeat-template.directive.mjs +7 -12
- app-ng-runtime/components/base/esm2022/widgets/common/smooth-scroll/smooth-scroll.directive.mjs +10 -11
- app-ng-runtime/components/base/esm2022/widgets/framework/deviceview.mjs +1 -1
- app-ng-runtime/components/base/esm2022/widgets/framework/property-change-handler.mjs +2 -3
- app-ng-runtime/components/base/esm2022/widgets/framework/styler.mjs +1 -1
- app-ng-runtime/components/base/esm2022/widgets/framework/widget-props.mjs +1 -1
- app-ng-runtime/components/base/esm2022/widgets/framework/widget-proxy-provider.mjs +3 -4
- app-ng-runtime/components/base/esm2022/widgets/framework/widget-registry.mjs +1 -1
- app-ng-runtime/components/base/fesm2022/index.mjs +284 -372
- app-ng-runtime/components/base/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/base/pipes/custom-pipes.d.ts +1 -1
- app-ng-runtime/components/base/utils/data-utils.d.ts +0 -1
- app-ng-runtime/components/base/utils/widget-utils.d.ts +2 -2
- app-ng-runtime/components/base/widgets/common/base/base-container.component.d.ts +1 -1
- app-ng-runtime/components/base/widgets/common/base/base-field-validations.d.ts +1 -1
- app-ng-runtime/components/base/widgets/common/base/base.component.d.ts +2 -4
- app-ng-runtime/components/base/widgets/common/base/dataset-aware-nav.component.d.ts +1 -1
- app-ng-runtime/components/base/widgets/common/base/partial-container.directive.d.ts +1 -1
- app-ng-runtime/components/base/widgets/common/container/container.directive.d.ts +2 -2
- app-ng-runtime/components/base/widgets/common/item-template/item-template.directive.d.ts +2 -2
- app-ng-runtime/components/base/widgets/common/lazy-load/lazy-load.directive.d.ts +2 -2
- app-ng-runtime/components/base/widgets/common/message/message.component.d.ts +2 -2
- app-ng-runtime/components/base/widgets/common/partial/partial.directive.d.ts +2 -2
- app-ng-runtime/components/base/widgets/common/repeat-template/repeat-template.directive.d.ts +2 -2
- app-ng-runtime/components/basic/default/anchor/anchor.component.d.ts +2 -2
- app-ng-runtime/components/basic/default/audio/audio.component.d.ts +2 -3
- app-ng-runtime/components/basic/default/bundles/index.umd.js +119 -163
- app-ng-runtime/components/basic/default/esm2022/anchor/anchor.component.mjs +27 -31
- app-ng-runtime/components/basic/default/esm2022/audio/audio.component.mjs +11 -18
- app-ng-runtime/components/basic/default/esm2022/basic.module.mjs +2 -2
- app-ng-runtime/components/basic/default/esm2022/html/html.directive.mjs +8 -13
- app-ng-runtime/components/basic/default/esm2022/icon/icon.component.mjs +14 -19
- app-ng-runtime/components/basic/default/esm2022/iframe/iframe.component.mjs +9 -15
- app-ng-runtime/components/basic/default/esm2022/label/label.directive.mjs +9 -15
- app-ng-runtime/components/basic/default/esm2022/picture/picture.directive.mjs +7 -12
- app-ng-runtime/components/basic/default/esm2022/picture/picture.props.mjs +1 -1
- app-ng-runtime/components/basic/default/esm2022/spinner/spinner.component.mjs +30 -34
- app-ng-runtime/components/basic/default/esm2022/video/video.component.mjs +17 -21
- app-ng-runtime/components/basic/default/fesm2022/index.mjs +117 -162
- app-ng-runtime/components/basic/default/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/basic/default/html/html.directive.d.ts +2 -2
- app-ng-runtime/components/basic/default/icon/icon.component.d.ts +2 -2
- app-ng-runtime/components/basic/default/iframe/iframe.component.d.ts +2 -2
- app-ng-runtime/components/basic/default/label/label.directive.d.ts +2 -2
- app-ng-runtime/components/basic/default/picture/picture.directive.d.ts +2 -2
- app-ng-runtime/components/basic/default/spinner/spinner.component.d.ts +2 -2
- app-ng-runtime/components/basic/default/video/video.component.d.ts +2 -2
- app-ng-runtime/components/basic/progress/bundles/index.umd.js +30 -43
- app-ng-runtime/components/basic/progress/esm2022/progress-bar/progress-bar.component.mjs +15 -22
- app-ng-runtime/components/basic/progress/esm2022/progress-circle/progress-circle.component.mjs +12 -20
- app-ng-runtime/components/basic/progress/esm2022/progress.module.mjs +2 -2
- app-ng-runtime/components/basic/progress/esm2022/utils.mjs +3 -3
- app-ng-runtime/components/basic/progress/fesm2022/index.mjs +28 -42
- app-ng-runtime/components/basic/progress/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/basic/progress/progress-bar/progress-bar.component.d.ts +2 -2
- app-ng-runtime/components/basic/progress/progress-circle/progress-circle.component.d.ts +2 -3
- app-ng-runtime/components/basic/rich-text-editor/bundles/index.umd.js +13 -19
- app-ng-runtime/components/basic/rich-text-editor/esm2022/rich-text-editor.component.mjs +10 -17
- app-ng-runtime/components/basic/rich-text-editor/esm2022/rich-text-editor.module.mjs +2 -2
- app-ng-runtime/components/basic/rich-text-editor/fesm2022/index.mjs +11 -18
- app-ng-runtime/components/basic/rich-text-editor/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/basic/rich-text-editor/rich-text-editor.component.d.ts +2 -2
- app-ng-runtime/components/basic/search/bundles/index.umd.js +175 -186
- app-ng-runtime/components/basic/search/esm2022/data-provider/data-provider.mjs +1 -1
- app-ng-runtime/components/basic/search/esm2022/data-provider/local-data-provider.mjs +23 -26
- app-ng-runtime/components/basic/search/esm2022/data-provider/remote-data-provider.mjs +11 -12
- app-ng-runtime/components/basic/search/esm2022/scrollable.directive.mjs +3 -3
- app-ng-runtime/components/basic/search/esm2022/search.component.mjs +138 -148
- app-ng-runtime/components/basic/search/esm2022/search.module.mjs +2 -2
- app-ng-runtime/components/basic/search/fesm2022/index.mjs +174 -186
- app-ng-runtime/components/basic/search/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/basic/search/search.component.d.ts +2 -2
- app-ng-runtime/components/basic/tree/bundles/index.umd.js +17 -23
- app-ng-runtime/components/basic/tree/esm2022/tree.component.mjs +14 -21
- app-ng-runtime/components/basic/tree/esm2022/tree.module.mjs +2 -2
- app-ng-runtime/components/basic/tree/fesm2022/index.mjs +15 -22
- app-ng-runtime/components/basic/tree/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/basic/tree/tree.component.d.ts +2 -2
- app-ng-runtime/components/chart/bundles/index.umd.js +84 -97
- app-ng-runtime/components/chart/chart.component.d.ts +3 -3
- app-ng-runtime/components/chart/chart.utils.d.ts +3 -3
- app-ng-runtime/components/chart/esm2022/chart.component.mjs +68 -82
- app-ng-runtime/components/chart/esm2022/chart.module.mjs +2 -2
- app-ng-runtime/components/chart/esm2022/chart.utils.mjs +13 -14
- app-ng-runtime/components/chart/fesm2022/index.mjs +81 -95
- app-ng-runtime/components/chart/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/containers/accordion/accordion-pane/accordion-pane.component.d.ts +2 -2
- app-ng-runtime/components/containers/accordion/accordion.directive.d.ts +2 -2
- app-ng-runtime/components/containers/accordion/bundles/index.umd.js +40 -51
- app-ng-runtime/components/containers/accordion/esm2022/accordion-pane/accordion-pane.component.mjs +17 -23
- app-ng-runtime/components/containers/accordion/esm2022/accordion-pane/accordion-pane.props.mjs +4 -4
- app-ng-runtime/components/containers/accordion/esm2022/accordion.directive.mjs +19 -25
- app-ng-runtime/components/containers/accordion/esm2022/accordion.module.mjs +2 -2
- app-ng-runtime/components/containers/accordion/fesm2022/index.mjs +38 -50
- app-ng-runtime/components/containers/accordion/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/containers/layout-grid/bundles/index.umd.js +17 -32
- app-ng-runtime/components/containers/layout-grid/esm2022/layout-grid-column/layout-grid-column.directive.mjs +8 -13
- app-ng-runtime/components/containers/layout-grid/esm2022/layout-grid-row/layout-grid-row.directive.mjs +7 -12
- app-ng-runtime/components/containers/layout-grid/esm2022/layout-grid.directive.mjs +7 -12
- app-ng-runtime/components/containers/layout-grid/esm2022/layout-grid.module.mjs +2 -2
- app-ng-runtime/components/containers/layout-grid/fesm2022/index.mjs +19 -34
- app-ng-runtime/components/containers/layout-grid/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/containers/layout-grid/layout-grid-column/layout-grid-column.directive.d.ts +2 -2
- app-ng-runtime/components/containers/layout-grid/layout-grid-row/layout-grid-row.directive.d.ts +2 -2
- app-ng-runtime/components/containers/layout-grid/layout-grid.directive.d.ts +2 -2
- app-ng-runtime/components/containers/linear-layout/bundles/index.umd.js +11 -21
- app-ng-runtime/components/containers/linear-layout/esm2022/linear-layout-item/linear-layout-item.directive.mjs +7 -12
- app-ng-runtime/components/containers/linear-layout/esm2022/linear-layout.directive.mjs +7 -12
- app-ng-runtime/components/containers/linear-layout/esm2022/linear-layout.module.mjs +2 -2
- app-ng-runtime/components/containers/linear-layout/fesm2022/index.mjs +13 -23
- app-ng-runtime/components/containers/linear-layout/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/containers/linear-layout/linear-layout-item/linear-layout-item.directive.d.ts +2 -2
- app-ng-runtime/components/containers/linear-layout/linear-layout.directive.d.ts +2 -2
- app-ng-runtime/components/containers/panel/bundles/index.umd.js +85 -85
- app-ng-runtime/components/containers/panel/esm2022/panel.component.mjs +82 -83
- app-ng-runtime/components/containers/panel/esm2022/panel.module.mjs +2 -2
- app-ng-runtime/components/containers/panel/fesm2022/index.mjs +83 -84
- app-ng-runtime/components/containers/panel/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/containers/panel/panel.component.d.ts +3 -3
- app-ng-runtime/components/containers/tabs/bundles/index.umd.js +63 -74
- app-ng-runtime/components/containers/tabs/esm2022/tab-pane/tab-pane.component.mjs +8 -14
- app-ng-runtime/components/containers/tabs/esm2022/tab-pane/tab-pane.props.mjs +4 -4
- app-ng-runtime/components/containers/tabs/esm2022/tabs.animator.mjs +1 -1
- app-ng-runtime/components/containers/tabs/esm2022/tabs.component.mjs +51 -57
- app-ng-runtime/components/containers/tabs/esm2022/tabs.module.mjs +2 -2
- app-ng-runtime/components/containers/tabs/esm2022/tabs.props.mjs +1 -1
- app-ng-runtime/components/containers/tabs/fesm2022/index.mjs +61 -73
- app-ng-runtime/components/containers/tabs/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/containers/tabs/tab-pane/tab-pane.component.d.ts +2 -2
- app-ng-runtime/components/containers/tabs/tabs.component.d.ts +2 -2
- app-ng-runtime/components/containers/tile/bundles/index.umd.js +6 -11
- app-ng-runtime/components/containers/tile/esm2022/tile.directive.mjs +7 -12
- app-ng-runtime/components/containers/tile/esm2022/tile.module.mjs +2 -2
- app-ng-runtime/components/containers/tile/fesm2022/index.mjs +8 -13
- app-ng-runtime/components/containers/tile/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/containers/tile/tile.directive.d.ts +2 -2
- app-ng-runtime/components/containers/wizard/bundles/index.umd.js +98 -102
- app-ng-runtime/components/containers/wizard/esm2022/wizard-step/wizard-step.directive.mjs +8 -13
- app-ng-runtime/components/containers/wizard/esm2022/wizard.component.mjs +93 -92
- app-ng-runtime/components/containers/wizard/esm2022/wizard.module.mjs +2 -2
- app-ng-runtime/components/containers/wizard/fesm2022/index.mjs +100 -104
- app-ng-runtime/components/containers/wizard/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/containers/wizard/wizard-step/wizard-step.directive.d.ts +2 -2
- app-ng-runtime/components/containers/wizard/wizard.component.d.ts +2 -2
- app-ng-runtime/components/data/card/bundles/index.umd.js +50 -70
- app-ng-runtime/components/data/card/card-actions/card-actions.directive.d.ts +2 -2
- app-ng-runtime/components/data/card/card-content/card-content.component.d.ts +2 -2
- app-ng-runtime/components/data/card/card-footer/card-footer.directive.d.ts +2 -2
- app-ng-runtime/components/data/card/card.component.d.ts +2 -2
- app-ng-runtime/components/data/card/esm2022/card-actions/card-actions.directive.mjs +7 -12
- app-ng-runtime/components/data/card/esm2022/card-content/card-content.component.mjs +9 -15
- app-ng-runtime/components/data/card/esm2022/card-footer/card-footer.directive.mjs +7 -12
- app-ng-runtime/components/data/card/esm2022/card.component.mjs +34 -38
- app-ng-runtime/components/data/card/esm2022/card.module.mjs +2 -2
- app-ng-runtime/components/data/card/fesm2022/index.mjs +52 -72
- app-ng-runtime/components/data/card/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/data/form/bundles/index.umd.js +188 -202
- app-ng-runtime/components/data/form/esm2022/form-action/form-action.directive.mjs +9 -15
- app-ng-runtime/components/data/form/esm2022/form-field/form-field.directive.mjs +16 -21
- app-ng-runtime/components/data/form/esm2022/form-field/form-field.props.mjs +1 -1
- app-ng-runtime/components/data/form/esm2022/form-widget.directive.mjs +4 -4
- app-ng-runtime/components/data/form/esm2022/form.component.mjs +135 -139
- app-ng-runtime/components/data/form/esm2022/form.module.mjs +2 -2
- app-ng-runtime/components/data/form/esm2022/form.props.mjs +1 -1
- app-ng-runtime/components/data/form/esm2022/live-actions/dependson.directive.mjs +4 -4
- app-ng-runtime/components/data/form/esm2022/live-actions/live-actions.directive.mjs +4 -4
- app-ng-runtime/components/data/form/esm2022/live-filter/live-filter.directive.mjs +6 -7
- app-ng-runtime/components/data/form/esm2022/live-form/live-form.directive.mjs +15 -18
- app-ng-runtime/components/data/form/fesm2022/index.mjs +191 -206
- app-ng-runtime/components/data/form/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/data/form/form-action/form-action.directive.d.ts +2 -2
- app-ng-runtime/components/data/form/form-field/form-field.directive.d.ts +2 -2
- app-ng-runtime/components/data/form/form.component.d.ts +4 -4
- app-ng-runtime/components/data/form/live-form/live-form.directive.d.ts +1 -1
- app-ng-runtime/components/data/list/bundles/index.umd.js +772 -780
- app-ng-runtime/components/data/list/esm2022/list-item.directive.mjs +4 -4
- app-ng-runtime/components/data/list/esm2022/list.animator.mjs +3 -5
- app-ng-runtime/components/data/list/esm2022/list.component.mjs +764 -772
- app-ng-runtime/components/data/list/esm2022/list.module.mjs +2 -2
- app-ng-runtime/components/data/list/fesm2022/index.mjs +770 -779
- app-ng-runtime/components/data/list/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/data/list/list.component.d.ts +54 -55
- app-ng-runtime/components/data/live-table/bundles/index.umd.js +7 -13
- app-ng-runtime/components/data/live-table/esm2022/live-table.component.mjs +8 -14
- app-ng-runtime/components/data/live-table/esm2022/live-table.module.mjs +2 -2
- app-ng-runtime/components/data/live-table/fesm2022/index.mjs +9 -15
- app-ng-runtime/components/data/live-table/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/data/live-table/live-table.component.d.ts +2 -2
- app-ng-runtime/components/data/pagination/bundles/index.umd.js +110 -113
- app-ng-runtime/components/data/pagination/esm2022/pagination.component.mjs +107 -111
- app-ng-runtime/components/data/pagination/esm2022/pagination.module.mjs +2 -2
- app-ng-runtime/components/data/pagination/fesm2022/index.mjs +108 -112
- app-ng-runtime/components/data/pagination/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/data/pagination/pagination.component.d.ts +2 -2
- app-ng-runtime/components/data/table/bundles/index.umd.js +269 -314
- app-ng-runtime/components/data/table/esm2022/table-action/table-action.directive.mjs +9 -15
- app-ng-runtime/components/data/table/esm2022/table-column/table-column.directive.mjs +25 -40
- app-ng-runtime/components/data/table/esm2022/table-column/table-column.props.mjs +2 -2
- app-ng-runtime/components/data/table/esm2022/table-column-group/table-column-group.directive.mjs +8 -13
- app-ng-runtime/components/data/table/esm2022/table-cud.directive.mjs +9 -10
- app-ng-runtime/components/data/table/esm2022/table-filter.directive.mjs +58 -56
- app-ng-runtime/components/data/table/esm2022/table-row/table-row.directive.mjs +8 -13
- app-ng-runtime/components/data/table/esm2022/table-row-action/table-row-action.directive.mjs +8 -14
- app-ng-runtime/components/data/table/esm2022/table.component.mjs +150 -165
- app-ng-runtime/components/data/table/esm2022/table.module.mjs +2 -2
- app-ng-runtime/components/data/table/esm2022/table.props.mjs +2 -2
- app-ng-runtime/components/data/table/fesm2022/index.mjs +267 -313
- app-ng-runtime/components/data/table/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/data/table/table-action/table-action.directive.d.ts +2 -2
- app-ng-runtime/components/data/table/table-column/table-column.directive.d.ts +8 -8
- app-ng-runtime/components/data/table/table-column-group/table-column-group.directive.d.ts +2 -2
- app-ng-runtime/components/data/table/table-row/table-row.directive.d.ts +2 -2
- app-ng-runtime/components/data/table/table-row-action/table-row-action.directive.d.ts +2 -2
- app-ng-runtime/components/data/table/table.component.d.ts +4 -4
- app-ng-runtime/components/dialogs/alert-dialog/alert-dialog.component.d.ts +2 -2
- app-ng-runtime/components/dialogs/alert-dialog/bundles/index.umd.js +9 -15
- app-ng-runtime/components/dialogs/alert-dialog/esm2022/alert-dialog.component.mjs +10 -16
- app-ng-runtime/components/dialogs/alert-dialog/esm2022/alert-dialog.module.mjs +2 -2
- app-ng-runtime/components/dialogs/alert-dialog/fesm2022/index.mjs +11 -17
- app-ng-runtime/components/dialogs/alert-dialog/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/confirm-dialog/bundles/index.umd.js +11 -17
- app-ng-runtime/components/dialogs/confirm-dialog/confirm-dialog.component.d.ts +2 -2
- app-ng-runtime/components/dialogs/confirm-dialog/esm2022/confirm-dialog.component.mjs +12 -18
- app-ng-runtime/components/dialogs/confirm-dialog/esm2022/confirm-dialog.module.mjs +2 -2
- app-ng-runtime/components/dialogs/confirm-dialog/fesm2022/index.mjs +13 -19
- app-ng-runtime/components/dialogs/confirm-dialog/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/default/base-dialog.d.ts +2 -2
- app-ng-runtime/components/dialogs/default/bundles/index.umd.js +71 -75
- app-ng-runtime/components/dialogs/default/dialog-footer/dialog-footer.directive.d.ts +2 -2
- app-ng-runtime/components/dialogs/default/esm2022/base-dialog.mjs +9 -14
- app-ng-runtime/components/dialogs/default/esm2022/dialog-body/dialog-body.directive.mjs +4 -4
- app-ng-runtime/components/dialogs/default/esm2022/dialog-footer/dialog-footer.directive.mjs +7 -12
- app-ng-runtime/components/dialogs/default/esm2022/dialog-header/dialog-header.component.mjs +55 -49
- app-ng-runtime/components/dialogs/default/esm2022/dialog.module.mjs +2 -2
- app-ng-runtime/components/dialogs/default/fesm2022/index.mjs +72 -76
- app-ng-runtime/components/dialogs/default/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/design-dialog/bundles/index.umd.js +14 -20
- app-ng-runtime/components/dialogs/design-dialog/dialog.component.d.ts +2 -2
- app-ng-runtime/components/dialogs/design-dialog/esm2022/design-dialog.module.mjs +2 -2
- app-ng-runtime/components/dialogs/design-dialog/esm2022/dialog.component.mjs +15 -21
- app-ng-runtime/components/dialogs/design-dialog/fesm2022/index.mjs +16 -22
- app-ng-runtime/components/dialogs/design-dialog/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/iframe-dialog/bundles/index.umd.js +14 -20
- app-ng-runtime/components/dialogs/iframe-dialog/esm2022/iframe-dialog.component.mjs +15 -21
- app-ng-runtime/components/dialogs/iframe-dialog/esm2022/iframe-dialog.module.mjs +2 -2
- app-ng-runtime/components/dialogs/iframe-dialog/fesm2022/index.mjs +16 -22
- app-ng-runtime/components/dialogs/iframe-dialog/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/iframe-dialog/iframe-dialog.component.d.ts +2 -2
- app-ng-runtime/components/dialogs/login-dialog/bundles/index.umd.js +4 -4
- app-ng-runtime/components/dialogs/login-dialog/esm2022/login-dialog.directive.mjs +4 -4
- app-ng-runtime/components/dialogs/login-dialog/esm2022/login-dialog.module.mjs +2 -2
- app-ng-runtime/components/dialogs/login-dialog/fesm2022/index.mjs +4 -4
- app-ng-runtime/components/dialogs/login-dialog/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/partial-dialog/bundles/index.umd.js +10 -16
- app-ng-runtime/components/dialogs/partial-dialog/esm2022/partial-dialog.component.mjs +11 -17
- app-ng-runtime/components/dialogs/partial-dialog/esm2022/partial-dialog.module.mjs +2 -2
- app-ng-runtime/components/dialogs/partial-dialog/fesm2022/index.mjs +12 -18
- app-ng-runtime/components/dialogs/partial-dialog/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/partial-dialog/partial-dialog.component.d.ts +2 -2
- app-ng-runtime/components/input/calendar/bundles/index.umd.js +38 -46
- app-ng-runtime/components/input/calendar/calendar.component.d.ts +2 -2
- app-ng-runtime/components/input/calendar/esm2022/calendar.component.mjs +35 -44
- app-ng-runtime/components/input/calendar/esm2022/calendar.module.mjs +2 -2
- app-ng-runtime/components/input/calendar/fesm2022/index.mjs +36 -45
- app-ng-runtime/components/input/calendar/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/chips/bundles/index.umd.js +61 -69
- app-ng-runtime/components/input/chips/chips.component.d.ts +3 -3
- app-ng-runtime/components/input/chips/esm2022/chips.component.mjs +58 -67
- app-ng-runtime/components/input/chips/esm2022/chips.module.mjs +2 -2
- app-ng-runtime/components/input/chips/fesm2022/index.mjs +58 -67
- app-ng-runtime/components/input/chips/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/color-picker/bundles/index.umd.js +12 -25
- app-ng-runtime/components/input/color-picker/color-picker.component.d.ts +2 -2
- app-ng-runtime/components/input/color-picker/esm2022/color-picker.component.mjs +13 -26
- app-ng-runtime/components/input/color-picker/esm2022/color-picker.module.mjs +2 -2
- app-ng-runtime/components/input/color-picker/fesm2022/index.mjs +13 -26
- app-ng-runtime/components/input/color-picker/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/currency/bundles/index.umd.js +11 -18
- app-ng-runtime/components/input/currency/currency.component.d.ts +2 -2
- app-ng-runtime/components/input/currency/esm2022/currency.component.mjs +12 -19
- app-ng-runtime/components/input/currency/esm2022/currency.module.mjs +2 -2
- app-ng-runtime/components/input/currency/fesm2022/index.mjs +12 -19
- app-ng-runtime/components/input/currency/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/default/base-form.component.d.ts +3 -3
- app-ng-runtime/components/input/default/bundles/index.umd.js +487 -610
- app-ng-runtime/components/input/default/button/button.component.d.ts +2 -2
- app-ng-runtime/components/input/default/button-group/button-group.directive.d.ts +2 -2
- app-ng-runtime/components/input/default/checkbox/checkbox.component.d.ts +2 -3
- app-ng-runtime/components/input/default/checkboxset/checkboxset.component.d.ts +2 -2
- app-ng-runtime/components/input/default/composite/composite.directive.d.ts +2 -2
- app-ng-runtime/components/input/default/dataset-aware-form.component.d.ts +4 -4
- app-ng-runtime/components/input/default/esm2022/base-form-custom.component.mjs +3 -3
- app-ng-runtime/components/input/default/esm2022/base-form.component.mjs +11 -17
- app-ng-runtime/components/input/default/esm2022/button/button.component.mjs +28 -32
- app-ng-runtime/components/input/default/esm2022/button-group/button-group.directive.mjs +7 -12
- app-ng-runtime/components/input/default/esm2022/caption-position.directive.mjs +6 -6
- app-ng-runtime/components/input/default/esm2022/checkbox/checkbox.component.mjs +17 -27
- app-ng-runtime/components/input/default/esm2022/checkboxset/checkboxset.component.mjs +103 -107
- app-ng-runtime/components/input/default/esm2022/composite/composite.directive.mjs +7 -12
- app-ng-runtime/components/input/default/esm2022/dataset-aware-form.component.mjs +26 -32
- app-ng-runtime/components/input/default/esm2022/input.module.mjs +2 -2
- app-ng-runtime/components/input/default/esm2022/number/number.component.mjs +10 -17
- app-ng-runtime/components/input/default/esm2022/radioset/radioset.component.mjs +102 -105
- app-ng-runtime/components/input/default/esm2022/select/select.component.mjs +68 -70
- app-ng-runtime/components/input/default/esm2022/switch/switch.component.mjs +31 -38
- app-ng-runtime/components/input/default/esm2022/text/base/base-input.mjs +11 -18
- app-ng-runtime/components/input/default/esm2022/text/calendar/input-calendar.component.mjs +12 -23
- app-ng-runtime/components/input/default/esm2022/text/color/input-color.component.mjs +12 -23
- app-ng-runtime/components/input/default/esm2022/text/email/input-email.component.mjs +11 -20
- app-ng-runtime/components/input/default/esm2022/text/locale/number-locale.mjs +24 -35
- app-ng-runtime/components/input/default/esm2022/text/number/input-number.component.mjs +12 -21
- app-ng-runtime/components/input/default/esm2022/text/text/input-text.component.mjs +11 -20
- app-ng-runtime/components/input/default/esm2022/textarea/textarea.component.mjs +12 -21
- app-ng-runtime/components/input/default/fesm2022/index.mjs +488 -613
- app-ng-runtime/components/input/default/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/default/number/number.component.d.ts +2 -2
- app-ng-runtime/components/input/default/radioset/radioset.component.d.ts +2 -2
- app-ng-runtime/components/input/default/select/select.component.d.ts +4 -3
- app-ng-runtime/components/input/default/switch/switch.component.d.ts +2 -2
- app-ng-runtime/components/input/default/text/base/base-input.d.ts +2 -3
- app-ng-runtime/components/input/default/text/calendar/input-calendar.component.d.ts +2 -2
- app-ng-runtime/components/input/default/text/color/input-color.component.d.ts +2 -2
- app-ng-runtime/components/input/default/text/email/input-email.component.d.ts +2 -2
- app-ng-runtime/components/input/default/text/locale/number-locale.d.ts +1 -1
- app-ng-runtime/components/input/default/text/number/input-number.component.d.ts +2 -2
- app-ng-runtime/components/input/default/text/text/input-text.component.d.ts +2 -2
- app-ng-runtime/components/input/default/textarea/textarea.component.d.ts +2 -2
- app-ng-runtime/components/input/epoch/base-date-time.component.d.ts +2 -2
- app-ng-runtime/components/input/epoch/bundles/index.umd.js +165 -214
- app-ng-runtime/components/input/epoch/date/date.component.d.ts +2 -3
- app-ng-runtime/components/input/epoch/date-time/date-time.component.d.ts +2 -2
- app-ng-runtime/components/input/epoch/esm2022/base-date-time.component.mjs +36 -44
- app-ng-runtime/components/input/epoch/esm2022/date/date.component.mjs +22 -36
- app-ng-runtime/components/input/epoch/esm2022/date/date.props.mjs +2 -2
- app-ng-runtime/components/input/epoch/esm2022/date/imaskUtil.mjs +2 -8
- app-ng-runtime/components/input/epoch/esm2022/date-time/date-time-picker.component.mjs +41 -42
- app-ng-runtime/components/input/epoch/esm2022/date-time/date-time.component.mjs +37 -49
- app-ng-runtime/components/input/epoch/esm2022/epoch.module.mjs +2 -2
- app-ng-runtime/components/input/epoch/esm2022/picker/picker.component.mjs +5 -7
- app-ng-runtime/components/input/epoch/esm2022/time/time.component.mjs +24 -35
- app-ng-runtime/components/input/epoch/fesm2022/index.mjs +161 -211
- app-ng-runtime/components/input/epoch/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/epoch/time/time.component.d.ts +2 -2
- app-ng-runtime/components/input/file-upload/bundles/index.umd.js +135 -133
- app-ng-runtime/components/input/file-upload/esm2022/file-upload.component.mjs +132 -131
- app-ng-runtime/components/input/file-upload/esm2022/file-upload.module.mjs +2 -2
- app-ng-runtime/components/input/file-upload/fesm2022/index.mjs +133 -132
- app-ng-runtime/components/input/file-upload/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/file-upload/file-upload.component.d.ts +2 -2
- app-ng-runtime/components/input/rating/bundles/index.umd.js +51 -60
- app-ng-runtime/components/input/rating/esm2022/rating.component.mjs +48 -58
- app-ng-runtime/components/input/rating/esm2022/rating.module.mjs +2 -2
- app-ng-runtime/components/input/rating/fesm2022/index.mjs +48 -58
- app-ng-runtime/components/input/rating/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/rating/rating.component.d.ts +2 -2
- app-ng-runtime/components/input/slider/bundles/index.umd.js +13 -23
- app-ng-runtime/components/input/slider/esm2022/slider.component.mjs +14 -24
- app-ng-runtime/components/input/slider/esm2022/slider.module.mjs +2 -2
- app-ng-runtime/components/input/slider/fesm2022/index.mjs +14 -24
- app-ng-runtime/components/input/slider/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/slider/slider.component.d.ts +2 -2
- app-ng-runtime/components/navigation/breadcrumb/breadcrumb.component.d.ts +2 -2
- app-ng-runtime/components/navigation/breadcrumb/bundles/index.umd.js +28 -33
- app-ng-runtime/components/navigation/breadcrumb/esm2022/breadcrumb.component.mjs +29 -34
- app-ng-runtime/components/navigation/breadcrumb/esm2022/breadcrumb.module.mjs +2 -2
- app-ng-runtime/components/navigation/breadcrumb/fesm2022/index.mjs +30 -35
- app-ng-runtime/components/navigation/breadcrumb/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/navigation/menu/bundles/index.umd.js +137 -154
- app-ng-runtime/components/navigation/menu/esm2022/menu-adapator.component.mjs +7 -13
- app-ng-runtime/components/navigation/menu/esm2022/menu-dropdown/menu-dropdown.component.mjs +4 -5
- app-ng-runtime/components/navigation/menu/esm2022/menu-dropdown-item/menu-dropdown-item.component.mjs +26 -27
- app-ng-runtime/components/navigation/menu/esm2022/menu.component.mjs +40 -44
- app-ng-runtime/components/navigation/menu/esm2022/menu.module.mjs +2 -2
- app-ng-runtime/components/navigation/menu/esm2022/nav/nav-item/nav-item.directive.mjs +7 -12
- app-ng-runtime/components/navigation/menu/esm2022/nav/nav.component.mjs +56 -60
- app-ng-runtime/components/navigation/menu/esm2022/nav/navigation-control.directive.mjs +3 -3
- app-ng-runtime/components/navigation/menu/fesm2022/index.mjs +135 -153
- app-ng-runtime/components/navigation/menu/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/navigation/menu/menu-adapator.component.d.ts +1 -1
- app-ng-runtime/components/navigation/menu/menu-dropdown-item/menu-dropdown-item.component.d.ts +1 -12
- app-ng-runtime/components/navigation/menu/menu.component.d.ts +2 -2
- app-ng-runtime/components/navigation/menu/nav/nav-item/nav-item.directive.d.ts +2 -2
- app-ng-runtime/components/navigation/menu/nav/nav.component.d.ts +2 -2
- app-ng-runtime/components/navigation/navbar/bundles/index.umd.js +22 -29
- app-ng-runtime/components/navigation/navbar/esm2022/navbar.component.mjs +23 -30
- app-ng-runtime/components/navigation/navbar/esm2022/navbar.module.mjs +2 -2
- app-ng-runtime/components/navigation/navbar/fesm2022/index.mjs +24 -31
- app-ng-runtime/components/navigation/navbar/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/navigation/navbar/navbar.component.d.ts +2 -2
- app-ng-runtime/components/navigation/popover/bundles/index.umd.js +11 -18
- app-ng-runtime/components/navigation/popover/esm2022/popover.component.mjs +12 -19
- app-ng-runtime/components/navigation/popover/esm2022/popover.module.mjs +2 -2
- app-ng-runtime/components/navigation/popover/fesm2022/index.mjs +13 -20
- app-ng-runtime/components/navigation/popover/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/navigation/popover/popover.component.d.ts +2 -2
- app-ng-runtime/components/page/default/bundles/index.umd.js +31 -63
- app-ng-runtime/components/page/default/content/content.component.d.ts +2 -2
- app-ng-runtime/components/page/default/esm2022/content/content.component.mjs +7 -13
- app-ng-runtime/components/page/default/esm2022/layout.directive.mjs +7 -12
- app-ng-runtime/components/page/default/esm2022/page-content/page-content.component.mjs +7 -13
- app-ng-runtime/components/page/default/esm2022/page.directive.mjs +7 -12
- app-ng-runtime/components/page/default/esm2022/page.module.mjs +2 -2
- app-ng-runtime/components/page/default/esm2022/router-outlet.directive.mjs +7 -12
- app-ng-runtime/components/page/default/esm2022/spa-page.directive.mjs +7 -12
- app-ng-runtime/components/page/default/fesm2022/index.mjs +33 -65
- app-ng-runtime/components/page/default/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/page/default/layout.directive.d.ts +2 -2
- app-ng-runtime/components/page/default/page-content/page-content.component.d.ts +2 -2
- app-ng-runtime/components/page/default/page.directive.d.ts +2 -2
- app-ng-runtime/components/page/default/router-outlet.directive.d.ts +2 -2
- app-ng-runtime/components/page/default/spa-page.directive.d.ts +2 -2
- app-ng-runtime/components/page/footer/bundles/index.umd.js +6 -11
- app-ng-runtime/components/page/footer/esm2022/footer.directive.mjs +7 -12
- app-ng-runtime/components/page/footer/esm2022/footer.module.mjs +2 -2
- app-ng-runtime/components/page/footer/fesm2022/index.mjs +8 -13
- app-ng-runtime/components/page/footer/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/page/footer/footer.directive.d.ts +2 -2
- app-ng-runtime/components/page/header/bundles/index.umd.js +6 -12
- app-ng-runtime/components/page/header/esm2022/header.component.mjs +7 -13
- app-ng-runtime/components/page/header/esm2022/header.module.mjs +2 -2
- app-ng-runtime/components/page/header/fesm2022/index.mjs +8 -14
- app-ng-runtime/components/page/header/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/page/header/header.component.d.ts +2 -2
- app-ng-runtime/components/page/left-panel/bundles/index.umd.js +7 -12
- app-ng-runtime/components/page/left-panel/esm2022/left-panel.animator.mjs +1 -1
- app-ng-runtime/components/page/left-panel/esm2022/left-panel.directive.mjs +8 -13
- app-ng-runtime/components/page/left-panel/esm2022/left-panel.module.mjs +2 -2
- app-ng-runtime/components/page/left-panel/fesm2022/index.mjs +9 -14
- app-ng-runtime/components/page/left-panel/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/page/left-panel/left-panel.directive.d.ts +2 -2
- app-ng-runtime/components/page/right-panel/bundles/index.umd.js +6 -11
- app-ng-runtime/components/page/right-panel/esm2022/right-panel.directive.mjs +7 -12
- app-ng-runtime/components/page/right-panel/esm2022/right-panel.module.mjs +2 -2
- app-ng-runtime/components/page/right-panel/fesm2022/index.mjs +8 -13
- app-ng-runtime/components/page/right-panel/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/page/right-panel/right-panel.directive.d.ts +2 -2
- app-ng-runtime/components/page/top-nav/bundles/index.umd.js +6 -11
- app-ng-runtime/components/page/top-nav/esm2022/top-nav.directive.mjs +7 -12
- app-ng-runtime/components/page/top-nav/esm2022/top-nav.module.mjs +2 -2
- app-ng-runtime/components/page/top-nav/fesm2022/index.mjs +8 -13
- app-ng-runtime/components/page/top-nav/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/page/top-nav/top-nav.directive.d.ts +2 -2
- app-ng-runtime/components/prefab/bundles/index.umd.js +18 -28
- app-ng-runtime/components/prefab/esm2022/prefab-container/prefab-container.directive.mjs +8 -14
- app-ng-runtime/components/prefab/esm2022/prefab.directive.mjs +9 -15
- app-ng-runtime/components/prefab/esm2022/prefab.module.mjs +2 -2
- app-ng-runtime/components/prefab/fesm2022/index.mjs +15 -26
- app-ng-runtime/components/prefab/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/prefab/prefab-container/prefab-container.directive.d.ts +2 -2
- app-ng-runtime/components/prefab/prefab.directive.d.ts +2 -2
- app-ng-runtime/core/bundles/index.umd.js +146 -158
- app-ng-runtime/core/esm2022/core.module.mjs +2 -2
- app-ng-runtime/core/esm2022/public_api.mjs +2 -3
- app-ng-runtime/core/esm2022/services/constant.service.mjs +2 -2
- app-ng-runtime/core/esm2022/services/field-type.service.mjs +4 -5
- app-ng-runtime/core/esm2022/services/field-widget.service.mjs +4 -5
- app-ng-runtime/core/esm2022/services/pagination.service.mjs +7 -8
- app-ng-runtime/core/esm2022/services/script-loader.service.mjs +3 -3
- app-ng-runtime/core/esm2022/services/state-persistence.service.mjs +17 -18
- app-ng-runtime/core/esm2022/services/user-custom-pipe-manager.service.mjs +2 -2
- app-ng-runtime/core/esm2022/services/utils.service.mjs +4 -5
- app-ng-runtime/core/esm2022/services/viewport.service.mjs +4 -5
- app-ng-runtime/core/esm2022/utils/build-utils.mjs +4 -5
- app-ng-runtime/core/esm2022/utils/dom.mjs +1 -1
- app-ng-runtime/core/esm2022/utils/event-notifier.mjs +1 -1
- app-ng-runtime/core/esm2022/utils/expression-parser.mjs +5 -6
- app-ng-runtime/core/esm2022/utils/id-generator.mjs +1 -1
- app-ng-runtime/core/esm2022/utils/lru-cache.mjs +2 -3
- app-ng-runtime/core/esm2022/utils/utils.mjs +82 -79
- app-ng-runtime/core/esm2022/utils/watcher.mjs +7 -9
- app-ng-runtime/core/esm2022/utils/wm-project-properties.mjs +1 -1
- app-ng-runtime/core/fesm2022/index.mjs +142 -158
- app-ng-runtime/core/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/core/public_api.d.ts +1 -2
- app-ng-runtime/core/services/pagination.service.d.ts +1 -1
- app-ng-runtime/core/utils/utils.d.ts +9 -5
- app-ng-runtime/http/bundles/index.umd.js +10 -10
- app-ng-runtime/http/esm2022/http-service.module.mjs +2 -2
- app-ng-runtime/http/esm2022/http.service.mjs +6 -7
- app-ng-runtime/http/esm2022/wm-http-request.mjs +1 -1
- app-ng-runtime/http/esm2022/wm-http-response.mjs +1 -1
- app-ng-runtime/http/fesm2022/index.mjs +6 -7
- app-ng-runtime/http/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/locales/angular/global/af-na.js +4 -4
- app-ng-runtime/locales/angular/global/af.js +4 -4
- app-ng-runtime/locales/angular/global/agq.js +4 -4
- app-ng-runtime/locales/angular/global/ak.js +4 -4
- app-ng-runtime/locales/angular/global/am.js +4 -4
- app-ng-runtime/locales/angular/global/ar-ae.js +4 -4
- app-ng-runtime/locales/angular/global/ar-bh.js +4 -4
- app-ng-runtime/locales/angular/global/ar-dj.js +4 -4
- app-ng-runtime/locales/angular/global/ar-dz.js +4 -4
- app-ng-runtime/locales/angular/global/ar-eg.js +4 -4
- app-ng-runtime/locales/angular/global/ar-eh.js +4 -4
- app-ng-runtime/locales/angular/global/ar-er.js +4 -4
- app-ng-runtime/locales/angular/global/ar-il.js +4 -4
- app-ng-runtime/locales/angular/global/ar-iq.js +4 -4
- app-ng-runtime/locales/angular/global/ar-jo.js +4 -4
- app-ng-runtime/locales/angular/global/ar-km.js +4 -4
- app-ng-runtime/locales/angular/global/ar-kw.js +4 -4
- app-ng-runtime/locales/angular/global/ar-lb.js +4 -4
- app-ng-runtime/locales/angular/global/ar-ly.js +4 -4
- app-ng-runtime/locales/angular/global/ar-ma.js +4 -4
- app-ng-runtime/locales/angular/global/ar-mr.js +4 -4
- app-ng-runtime/locales/angular/global/ar-om.js +4 -4
- app-ng-runtime/locales/angular/global/ar-ps.js +4 -4
- app-ng-runtime/locales/angular/global/ar-qa.js +4 -4
- app-ng-runtime/locales/angular/global/ar-sa.js +4 -4
- app-ng-runtime/locales/angular/global/ar-sd.js +4 -4
- app-ng-runtime/locales/angular/global/ar-so.js +4 -4
- app-ng-runtime/locales/angular/global/ar-ss.js +4 -4
- app-ng-runtime/locales/angular/global/ar-sy.js +4 -4
- app-ng-runtime/locales/angular/global/ar-td.js +4 -4
- app-ng-runtime/locales/angular/global/ar-tn.js +4 -4
- app-ng-runtime/locales/angular/global/ar-ye.js +4 -4
- app-ng-runtime/locales/angular/global/ar.js +4 -4
- app-ng-runtime/locales/angular/global/as.js +4 -4
- app-ng-runtime/locales/angular/global/asa.js +4 -4
- app-ng-runtime/locales/angular/global/ast.js +4 -4
- app-ng-runtime/locales/angular/global/az-cyrl.js +4 -4
- app-ng-runtime/locales/angular/global/az-latn.js +4 -4
- app-ng-runtime/locales/angular/global/az.js +4 -4
- app-ng-runtime/locales/angular/global/bas.js +4 -4
- app-ng-runtime/locales/angular/global/be-tarask.js +4 -4
- app-ng-runtime/locales/angular/global/be.js +4 -4
- app-ng-runtime/locales/angular/global/bem.js +4 -4
- app-ng-runtime/locales/angular/global/bez.js +4 -4
- app-ng-runtime/locales/angular/global/bg.js +4 -4
- app-ng-runtime/locales/angular/global/bm.js +4 -4
- app-ng-runtime/locales/angular/global/bn-in.js +4 -4
- app-ng-runtime/locales/angular/global/bn.js +4 -4
- app-ng-runtime/locales/angular/global/bo-in.js +4 -4
- app-ng-runtime/locales/angular/global/bo.js +4 -4
- app-ng-runtime/locales/angular/global/br.js +4 -4
- app-ng-runtime/locales/angular/global/brx.js +4 -4
- app-ng-runtime/locales/angular/global/bs-cyrl.js +4 -4
- app-ng-runtime/locales/angular/global/bs-latn.js +4 -4
- app-ng-runtime/locales/angular/global/bs.js +4 -4
- app-ng-runtime/locales/angular/global/ca-ad.js +4 -4
- app-ng-runtime/locales/angular/global/ca-es-valencia.js +4 -4
- app-ng-runtime/locales/angular/global/ca-fr.js +4 -4
- app-ng-runtime/locales/angular/global/ca-it.js +4 -4
- app-ng-runtime/locales/angular/global/ca.js +4 -4
- app-ng-runtime/locales/angular/global/ccp-in.js +4 -4
- app-ng-runtime/locales/angular/global/ccp.js +4 -4
- app-ng-runtime/locales/angular/global/ce.js +4 -4
- app-ng-runtime/locales/angular/global/ceb.js +4 -4
- app-ng-runtime/locales/angular/global/cgg.js +4 -4
- app-ng-runtime/locales/angular/global/chr.js +4 -4
- app-ng-runtime/locales/angular/global/ckb-ir.js +4 -4
- app-ng-runtime/locales/angular/global/ckb.js +4 -4
- app-ng-runtime/locales/angular/global/cs.js +4 -4
- app-ng-runtime/locales/angular/global/cy.js +4 -4
- app-ng-runtime/locales/angular/global/da-gl.js +4 -4
- app-ng-runtime/locales/angular/global/da.js +4 -4
- app-ng-runtime/locales/angular/global/dav.js +4 -4
- app-ng-runtime/locales/angular/global/de-at.js +4 -4
- app-ng-runtime/locales/angular/global/de-be.js +4 -4
- app-ng-runtime/locales/angular/global/de-ch.js +4 -4
- app-ng-runtime/locales/angular/global/de-it.js +4 -4
- app-ng-runtime/locales/angular/global/de-li.js +4 -4
- app-ng-runtime/locales/angular/global/de-lu.js +4 -4
- app-ng-runtime/locales/angular/global/de.js +4 -4
- app-ng-runtime/locales/angular/global/dje.js +4 -4
- app-ng-runtime/locales/angular/global/doi.js +4 -4
- app-ng-runtime/locales/angular/global/dsb.js +4 -4
- app-ng-runtime/locales/angular/global/dua.js +4 -4
- app-ng-runtime/locales/angular/global/dyo.js +4 -4
- app-ng-runtime/locales/angular/global/dz.js +4 -4
- app-ng-runtime/locales/angular/global/ebu.js +4 -4
- app-ng-runtime/locales/angular/global/ee-tg.js +4 -4
- app-ng-runtime/locales/angular/global/ee.js +4 -4
- app-ng-runtime/locales/angular/global/el-cy.js +4 -4
- app-ng-runtime/locales/angular/global/el.js +4 -4
- app-ng-runtime/locales/angular/global/en-001.js +4 -4
- app-ng-runtime/locales/angular/global/en-150.js +4 -4
- app-ng-runtime/locales/angular/global/en-ae.js +4 -4
- app-ng-runtime/locales/angular/global/en-ag.js +4 -4
- app-ng-runtime/locales/angular/global/en-ai.js +4 -4
- app-ng-runtime/locales/angular/global/en-as.js +4 -4
- app-ng-runtime/locales/angular/global/en-at.js +4 -4
- app-ng-runtime/locales/angular/global/en-au.js +4 -4
- app-ng-runtime/locales/angular/global/en-bb.js +4 -4
- app-ng-runtime/locales/angular/global/en-be.js +4 -4
- app-ng-runtime/locales/angular/global/en-bi.js +4 -4
- app-ng-runtime/locales/angular/global/en-bm.js +4 -4
- app-ng-runtime/locales/angular/global/en-bs.js +4 -4
- app-ng-runtime/locales/angular/global/en-bw.js +4 -4
- app-ng-runtime/locales/angular/global/en-bz.js +4 -4
- app-ng-runtime/locales/angular/global/en-ca.js +4 -4
- app-ng-runtime/locales/angular/global/en-cc.js +4 -4
- app-ng-runtime/locales/angular/global/en-ch.js +4 -4
- app-ng-runtime/locales/angular/global/en-ck.js +4 -4
- app-ng-runtime/locales/angular/global/en-cm.js +4 -4
- app-ng-runtime/locales/angular/global/en-cx.js +4 -4
- app-ng-runtime/locales/angular/global/en-cy.js +4 -4
- app-ng-runtime/locales/angular/global/en-de.js +4 -4
- app-ng-runtime/locales/angular/global/en-dg.js +4 -4
- app-ng-runtime/locales/angular/global/en-dk.js +4 -4
- app-ng-runtime/locales/angular/global/en-dm.js +4 -4
- app-ng-runtime/locales/angular/global/en-er.js +4 -4
- app-ng-runtime/locales/angular/global/en-fi.js +4 -4
- app-ng-runtime/locales/angular/global/en-fj.js +4 -4
- app-ng-runtime/locales/angular/global/en-fk.js +4 -4
- app-ng-runtime/locales/angular/global/en-fm.js +4 -4
- app-ng-runtime/locales/angular/global/en-gb.js +4 -4
- app-ng-runtime/locales/angular/global/en-gd.js +4 -4
- app-ng-runtime/locales/angular/global/en-gg.js +4 -4
- app-ng-runtime/locales/angular/global/en-gh.js +4 -4
- app-ng-runtime/locales/angular/global/en-gi.js +4 -4
- app-ng-runtime/locales/angular/global/en-gm.js +4 -4
- app-ng-runtime/locales/angular/global/en-gu.js +4 -4
- app-ng-runtime/locales/angular/global/en-gy.js +4 -4
- app-ng-runtime/locales/angular/global/en-hk.js +4 -4
- app-ng-runtime/locales/angular/global/en-ie.js +4 -4
- app-ng-runtime/locales/angular/global/en-il.js +4 -4
- app-ng-runtime/locales/angular/global/en-im.js +4 -4
- app-ng-runtime/locales/angular/global/en-in.js +4 -4
- app-ng-runtime/locales/angular/global/en-io.js +4 -4
- app-ng-runtime/locales/angular/global/en-je.js +4 -4
- app-ng-runtime/locales/angular/global/en-jm.js +4 -4
- app-ng-runtime/locales/angular/global/en-ke.js +4 -4
- app-ng-runtime/locales/angular/global/en-ki.js +4 -4
- app-ng-runtime/locales/angular/global/en-kn.js +4 -4
- app-ng-runtime/locales/angular/global/en-ky.js +4 -4
- app-ng-runtime/locales/angular/global/en-lc.js +4 -4
- app-ng-runtime/locales/angular/global/en-lr.js +4 -4
- app-ng-runtime/locales/angular/global/en-ls.js +4 -4
- app-ng-runtime/locales/angular/global/en-mg.js +4 -4
- app-ng-runtime/locales/angular/global/en-mh.js +4 -4
- app-ng-runtime/locales/angular/global/en-mo.js +4 -4
- app-ng-runtime/locales/angular/global/en-mp.js +4 -4
- app-ng-runtime/locales/angular/global/en-ms.js +4 -4
- app-ng-runtime/locales/angular/global/en-mt.js +4 -4
- app-ng-runtime/locales/angular/global/en-mu.js +4 -4
- app-ng-runtime/locales/angular/global/en-mv.js +4 -4
- app-ng-runtime/locales/angular/global/en-mw.js +4 -4
- app-ng-runtime/locales/angular/global/en-my.js +4 -4
- app-ng-runtime/locales/angular/global/en-na.js +4 -4
- app-ng-runtime/locales/angular/global/en-nf.js +4 -4
- app-ng-runtime/locales/angular/global/en-ng.js +4 -4
- app-ng-runtime/locales/angular/global/en-nl.js +4 -4
- app-ng-runtime/locales/angular/global/en-nr.js +4 -4
- app-ng-runtime/locales/angular/global/en-nu.js +4 -4
- app-ng-runtime/locales/angular/global/en-nz.js +4 -4
- app-ng-runtime/locales/angular/global/en-pg.js +4 -4
- app-ng-runtime/locales/angular/global/en-ph.js +4 -4
- app-ng-runtime/locales/angular/global/en-pk.js +4 -4
- app-ng-runtime/locales/angular/global/en-pn.js +4 -4
- app-ng-runtime/locales/angular/global/en-pr.js +4 -4
- app-ng-runtime/locales/angular/global/en-pw.js +4 -4
- app-ng-runtime/locales/angular/global/en-rw.js +4 -4
- app-ng-runtime/locales/angular/global/en-sb.js +4 -4
- app-ng-runtime/locales/angular/global/en-sc.js +4 -4
- app-ng-runtime/locales/angular/global/en-sd.js +4 -4
- app-ng-runtime/locales/angular/global/en-se.js +4 -4
- app-ng-runtime/locales/angular/global/en-sg.js +4 -4
- app-ng-runtime/locales/angular/global/en-sh.js +4 -4
- app-ng-runtime/locales/angular/global/en-si.js +4 -4
- app-ng-runtime/locales/angular/global/en-sl.js +4 -4
- app-ng-runtime/locales/angular/global/en-ss.js +4 -4
- app-ng-runtime/locales/angular/global/en-sx.js +4 -4
- app-ng-runtime/locales/angular/global/en-sz.js +4 -4
- app-ng-runtime/locales/angular/global/en-tc.js +4 -4
- app-ng-runtime/locales/angular/global/en-tk.js +4 -4
- app-ng-runtime/locales/angular/global/en-to.js +4 -4
- app-ng-runtime/locales/angular/global/en-tt.js +4 -4
- app-ng-runtime/locales/angular/global/en-tv.js +4 -4
- app-ng-runtime/locales/angular/global/en-tz.js +4 -4
- app-ng-runtime/locales/angular/global/en-ug.js +4 -4
- app-ng-runtime/locales/angular/global/en-um.js +4 -4
- app-ng-runtime/locales/angular/global/en-vc.js +4 -4
- app-ng-runtime/locales/angular/global/en-vg.js +4 -4
- app-ng-runtime/locales/angular/global/en-vi.js +4 -4
- app-ng-runtime/locales/angular/global/en-vu.js +4 -4
- app-ng-runtime/locales/angular/global/en-ws.js +4 -4
- app-ng-runtime/locales/angular/global/en-za.js +4 -4
- app-ng-runtime/locales/angular/global/en-zm.js +4 -4
- app-ng-runtime/locales/angular/global/en-zw.js +4 -4
- app-ng-runtime/locales/angular/global/en.js +4 -4
- app-ng-runtime/locales/angular/global/eo.js +4 -4
- app-ng-runtime/locales/angular/global/es-419.js +4 -4
- app-ng-runtime/locales/angular/global/es-ar.js +4 -4
- app-ng-runtime/locales/angular/global/es-bo.js +4 -4
- app-ng-runtime/locales/angular/global/es-br.js +4 -4
- app-ng-runtime/locales/angular/global/es-bz.js +4 -4
- app-ng-runtime/locales/angular/global/es-cl.js +4 -4
- app-ng-runtime/locales/angular/global/es-co.js +4 -4
- app-ng-runtime/locales/angular/global/es-cr.js +4 -4
- app-ng-runtime/locales/angular/global/es-cu.js +4 -4
- app-ng-runtime/locales/angular/global/es-do.js +4 -4
- app-ng-runtime/locales/angular/global/es-ea.js +4 -4
- app-ng-runtime/locales/angular/global/es-ec.js +4 -4
- app-ng-runtime/locales/angular/global/es-gq.js +4 -4
- app-ng-runtime/locales/angular/global/es-gt.js +4 -4
- app-ng-runtime/locales/angular/global/es-hn.js +4 -4
- app-ng-runtime/locales/angular/global/es-ic.js +4 -4
- app-ng-runtime/locales/angular/global/es-mx.js +4 -4
- app-ng-runtime/locales/angular/global/es-ni.js +4 -4
- app-ng-runtime/locales/angular/global/es-pa.js +4 -4
- app-ng-runtime/locales/angular/global/es-pe.js +4 -4
- app-ng-runtime/locales/angular/global/es-ph.js +4 -4
- app-ng-runtime/locales/angular/global/es-pr.js +4 -4
- app-ng-runtime/locales/angular/global/es-py.js +4 -4
- app-ng-runtime/locales/angular/global/es-sv.js +4 -4
- app-ng-runtime/locales/angular/global/es-us.js +4 -4
- app-ng-runtime/locales/angular/global/es-uy.js +4 -4
- app-ng-runtime/locales/angular/global/es-ve.js +4 -4
- app-ng-runtime/locales/angular/global/es.js +4 -4
- app-ng-runtime/locales/angular/global/et.js +4 -4
- app-ng-runtime/locales/angular/global/eu.js +4 -4
- app-ng-runtime/locales/angular/global/ewo.js +4 -4
- app-ng-runtime/locales/angular/global/fa-af.js +4 -4
- app-ng-runtime/locales/angular/global/fa.js +4 -4
- app-ng-runtime/locales/angular/global/ff-adlm-bf.js +4 -4
- app-ng-runtime/locales/angular/global/ff-adlm-cm.js +4 -4
- app-ng-runtime/locales/angular/global/ff-adlm-gh.js +4 -4
- app-ng-runtime/locales/angular/global/ff-adlm-gm.js +4 -4
- app-ng-runtime/locales/angular/global/ff-adlm-gw.js +4 -4
- app-ng-runtime/locales/angular/global/ff-adlm-lr.js +4 -4
- app-ng-runtime/locales/angular/global/ff-adlm-mr.js +4 -4
- app-ng-runtime/locales/angular/global/ff-adlm-ne.js +4 -4
- app-ng-runtime/locales/angular/global/ff-adlm-ng.js +4 -4
- app-ng-runtime/locales/angular/global/ff-adlm-sl.js +4 -4
- app-ng-runtime/locales/angular/global/ff-adlm-sn.js +4 -4
- app-ng-runtime/locales/angular/global/ff-adlm.js +4 -4
- app-ng-runtime/locales/angular/global/ff-cm.js +44 -58
- app-ng-runtime/locales/angular/global/ff-gn.js +44 -58
- app-ng-runtime/locales/angular/global/ff-latn-bf.js +4 -4
- app-ng-runtime/locales/angular/global/ff-latn-cm.js +4 -4
- app-ng-runtime/locales/angular/global/ff-latn-gh.js +4 -4
- app-ng-runtime/locales/angular/global/ff-latn-gm.js +4 -4
- app-ng-runtime/locales/angular/global/ff-latn-gn.js +4 -4
- app-ng-runtime/locales/angular/global/ff-latn-gw.js +4 -4
- app-ng-runtime/locales/angular/global/ff-latn-lr.js +4 -4
- app-ng-runtime/locales/angular/global/ff-latn-mr.js +4 -4
- app-ng-runtime/locales/angular/global/ff-latn-ne.js +4 -4
- app-ng-runtime/locales/angular/global/ff-latn-ng.js +4 -4
- app-ng-runtime/locales/angular/global/ff-latn-sl.js +4 -4
- app-ng-runtime/locales/angular/global/ff-latn.js +4 -4
- app-ng-runtime/locales/angular/global/ff-mr.js +44 -58
- app-ng-runtime/locales/angular/global/ff.js +4 -4
- app-ng-runtime/locales/angular/global/fi.js +4 -4
- app-ng-runtime/locales/angular/global/fil.js +4 -4
- app-ng-runtime/locales/angular/global/fo-dk.js +4 -4
- app-ng-runtime/locales/angular/global/fo.js +4 -4
- app-ng-runtime/locales/angular/global/fr-be.js +4 -4
- app-ng-runtime/locales/angular/global/fr-bf.js +4 -4
- app-ng-runtime/locales/angular/global/fr-bi.js +4 -4
- app-ng-runtime/locales/angular/global/fr-bj.js +4 -4
- app-ng-runtime/locales/angular/global/fr-bl.js +4 -4
- app-ng-runtime/locales/angular/global/fr-ca.js +4 -4
- app-ng-runtime/locales/angular/global/fr-cd.js +4 -4
- app-ng-runtime/locales/angular/global/fr-cf.js +4 -4
- app-ng-runtime/locales/angular/global/fr-cg.js +4 -4
- app-ng-runtime/locales/angular/global/fr-ch.js +4 -4
- app-ng-runtime/locales/angular/global/fr-ci.js +4 -4
- app-ng-runtime/locales/angular/global/fr-cm.js +4 -4
- app-ng-runtime/locales/angular/global/fr-dj.js +4 -4
- app-ng-runtime/locales/angular/global/fr-dz.js +4 -4
- app-ng-runtime/locales/angular/global/fr-ga.js +4 -4
- app-ng-runtime/locales/angular/global/fr-gf.js +4 -4
- app-ng-runtime/locales/angular/global/fr-gn.js +4 -4
- app-ng-runtime/locales/angular/global/fr-gp.js +4 -4
- app-ng-runtime/locales/angular/global/fr-gq.js +4 -4
- app-ng-runtime/locales/angular/global/fr-ht.js +4 -4
- app-ng-runtime/locales/angular/global/fr-km.js +4 -4
- app-ng-runtime/locales/angular/global/fr-lu.js +4 -4
- app-ng-runtime/locales/angular/global/fr-ma.js +4 -4
- app-ng-runtime/locales/angular/global/fr-mc.js +4 -4
- app-ng-runtime/locales/angular/global/fr-mf.js +4 -4
- app-ng-runtime/locales/angular/global/fr-mg.js +4 -4
- app-ng-runtime/locales/angular/global/fr-ml.js +4 -4
- app-ng-runtime/locales/angular/global/fr-mq.js +4 -4
- app-ng-runtime/locales/angular/global/fr-mr.js +4 -4
- app-ng-runtime/locales/angular/global/fr-mu.js +4 -4
- app-ng-runtime/locales/angular/global/fr-nc.js +4 -4
- app-ng-runtime/locales/angular/global/fr-ne.js +4 -4
- app-ng-runtime/locales/angular/global/fr-pf.js +4 -4
- app-ng-runtime/locales/angular/global/fr-pm.js +4 -4
- app-ng-runtime/locales/angular/global/fr-re.js +4 -4
- app-ng-runtime/locales/angular/global/fr-rw.js +4 -4
- app-ng-runtime/locales/angular/global/fr-sc.js +4 -4
- app-ng-runtime/locales/angular/global/fr-sn.js +4 -4
- app-ng-runtime/locales/angular/global/fr-sy.js +4 -4
- app-ng-runtime/locales/angular/global/fr-td.js +4 -4
- app-ng-runtime/locales/angular/global/fr-tg.js +4 -4
- app-ng-runtime/locales/angular/global/fr-tn.js +4 -4
- app-ng-runtime/locales/angular/global/fr-vu.js +4 -4
- app-ng-runtime/locales/angular/global/fr-wf.js +4 -4
- app-ng-runtime/locales/angular/global/fr-yt.js +4 -4
- app-ng-runtime/locales/angular/global/fr.js +4 -4
- app-ng-runtime/locales/angular/global/fur.js +4 -4
- app-ng-runtime/locales/angular/global/fy.js +4 -4
- app-ng-runtime/locales/angular/global/ga-gb.js +4 -4
- app-ng-runtime/locales/angular/global/ga.js +4 -4
- app-ng-runtime/locales/angular/global/gd.js +4 -4
- app-ng-runtime/locales/angular/global/gl.js +4 -4
- app-ng-runtime/locales/angular/global/gsw-fr.js +4 -4
- app-ng-runtime/locales/angular/global/gsw-li.js +4 -4
- app-ng-runtime/locales/angular/global/gsw.js +4 -4
- app-ng-runtime/locales/angular/global/gu.js +4 -4
- app-ng-runtime/locales/angular/global/guz.js +4 -4
- app-ng-runtime/locales/angular/global/gv.js +4 -4
- app-ng-runtime/locales/angular/global/ha-gh.js +4 -4
- app-ng-runtime/locales/angular/global/ha-ne.js +4 -4
- app-ng-runtime/locales/angular/global/ha.js +4 -4
- app-ng-runtime/locales/angular/global/haw.js +4 -4
- app-ng-runtime/locales/angular/global/he.js +4 -4
- app-ng-runtime/locales/angular/global/hi-latn.js +4 -4
- app-ng-runtime/locales/angular/global/hi.js +4 -4
- app-ng-runtime/locales/angular/global/hr-ba.js +4 -4
- app-ng-runtime/locales/angular/global/hr.js +4 -4
- app-ng-runtime/locales/angular/global/hsb.js +4 -4
- app-ng-runtime/locales/angular/global/hu.js +4 -4
- app-ng-runtime/locales/angular/global/hy.js +4 -4
- app-ng-runtime/locales/angular/global/ia.js +4 -4
- app-ng-runtime/locales/angular/global/id.js +4 -4
- app-ng-runtime/locales/angular/global/ig.js +4 -4
- app-ng-runtime/locales/angular/global/ii.js +4 -4
- app-ng-runtime/locales/angular/global/is.js +4 -4
- app-ng-runtime/locales/angular/global/it-ch.js +4 -4
- app-ng-runtime/locales/angular/global/it-sm.js +4 -4
- app-ng-runtime/locales/angular/global/it-va.js +4 -4
- app-ng-runtime/locales/angular/global/it.js +4 -4
- app-ng-runtime/locales/angular/global/ja.js +4 -4
- app-ng-runtime/locales/angular/global/jgo.js +4 -4
- app-ng-runtime/locales/angular/global/jmc.js +4 -4
- app-ng-runtime/locales/angular/global/jv.js +4 -4
- app-ng-runtime/locales/angular/global/ka.js +4 -4
- app-ng-runtime/locales/angular/global/kab.js +4 -4
- app-ng-runtime/locales/angular/global/kam.js +4 -4
- app-ng-runtime/locales/angular/global/kde.js +4 -4
- app-ng-runtime/locales/angular/global/kea.js +4 -4
- app-ng-runtime/locales/angular/global/kgp.js +4 -4
- app-ng-runtime/locales/angular/global/khq.js +4 -4
- app-ng-runtime/locales/angular/global/ki.js +4 -4
- app-ng-runtime/locales/angular/global/kk.js +4 -4
- app-ng-runtime/locales/angular/global/kkj.js +4 -4
- app-ng-runtime/locales/angular/global/kl.js +4 -4
- app-ng-runtime/locales/angular/global/kln.js +4 -4
- app-ng-runtime/locales/angular/global/km.js +4 -4
- app-ng-runtime/locales/angular/global/kn.js +4 -4
- app-ng-runtime/locales/angular/global/ko-kp.js +4 -4
- app-ng-runtime/locales/angular/global/ko.js +4 -4
- app-ng-runtime/locales/angular/global/kok.js +4 -4
- app-ng-runtime/locales/angular/global/ks-arab.js +4 -4
- app-ng-runtime/locales/angular/global/ks-deva.js +4 -4
- app-ng-runtime/locales/angular/global/ks.js +4 -4
- app-ng-runtime/locales/angular/global/ksb.js +4 -4
- app-ng-runtime/locales/angular/global/ksf.js +4 -4
- app-ng-runtime/locales/angular/global/ksh.js +4 -4
- app-ng-runtime/locales/angular/global/ku.js +4 -4
- app-ng-runtime/locales/angular/global/kw.js +4 -4
- app-ng-runtime/locales/angular/global/ky.js +4 -4
- app-ng-runtime/locales/angular/global/lag.js +4 -4
- app-ng-runtime/locales/angular/global/lb.js +4 -4
- app-ng-runtime/locales/angular/global/lg.js +4 -4
- app-ng-runtime/locales/angular/global/lkt.js +4 -4
- app-ng-runtime/locales/angular/global/ln-ao.js +4 -4
- app-ng-runtime/locales/angular/global/ln-cf.js +4 -4
- app-ng-runtime/locales/angular/global/ln-cg.js +4 -4
- app-ng-runtime/locales/angular/global/ln.js +4 -4
- app-ng-runtime/locales/angular/global/lo.js +4 -4
- app-ng-runtime/locales/angular/global/lrc-iq.js +4 -4
- app-ng-runtime/locales/angular/global/lrc.js +4 -4
- app-ng-runtime/locales/angular/global/lt.js +4 -4
- app-ng-runtime/locales/angular/global/lu.js +4 -4
- app-ng-runtime/locales/angular/global/luo.js +4 -4
- app-ng-runtime/locales/angular/global/luy.js +4 -4
- app-ng-runtime/locales/angular/global/lv.js +4 -4
- app-ng-runtime/locales/angular/global/mai.js +4 -4
- app-ng-runtime/locales/angular/global/mas-tz.js +4 -4
- app-ng-runtime/locales/angular/global/mas.js +4 -4
- app-ng-runtime/locales/angular/global/mer.js +4 -4
- app-ng-runtime/locales/angular/global/mfe.js +4 -4
- app-ng-runtime/locales/angular/global/mg.js +4 -4
- app-ng-runtime/locales/angular/global/mgh.js +4 -4
- app-ng-runtime/locales/angular/global/mgo.js +4 -4
- app-ng-runtime/locales/angular/global/mi.js +4 -4
- app-ng-runtime/locales/angular/global/mk.js +4 -4
- app-ng-runtime/locales/angular/global/ml.js +4 -4
- app-ng-runtime/locales/angular/global/mn.js +4 -4
- app-ng-runtime/locales/angular/global/mni-beng.js +4 -4
- app-ng-runtime/locales/angular/global/mni.js +4 -4
- app-ng-runtime/locales/angular/global/mr.js +4 -4
- app-ng-runtime/locales/angular/global/ms-bn.js +4 -4
- app-ng-runtime/locales/angular/global/ms-id.js +4 -4
- app-ng-runtime/locales/angular/global/ms-sg.js +4 -4
- app-ng-runtime/locales/angular/global/ms.js +4 -4
- app-ng-runtime/locales/angular/global/mt.js +4 -4
- app-ng-runtime/locales/angular/global/mua.js +4 -4
- app-ng-runtime/locales/angular/global/my.js +4 -4
- app-ng-runtime/locales/angular/global/mzn.js +4 -4
- app-ng-runtime/locales/angular/global/naq.js +4 -4
- app-ng-runtime/locales/angular/global/nb-sj.js +4 -4
- app-ng-runtime/locales/angular/global/nb.js +4 -4
- app-ng-runtime/locales/angular/global/nd.js +4 -4
- app-ng-runtime/locales/angular/global/nds-nl.js +4 -4
- app-ng-runtime/locales/angular/global/nds.js +4 -4
- app-ng-runtime/locales/angular/global/ne-in.js +4 -4
- app-ng-runtime/locales/angular/global/ne.js +4 -4
- app-ng-runtime/locales/angular/global/nl-aw.js +4 -4
- app-ng-runtime/locales/angular/global/nl-be.js +4 -4
- app-ng-runtime/locales/angular/global/nl-bq.js +4 -4
- app-ng-runtime/locales/angular/global/nl-cw.js +4 -4
- app-ng-runtime/locales/angular/global/nl-sr.js +4 -4
- app-ng-runtime/locales/angular/global/nl-sx.js +4 -4
- app-ng-runtime/locales/angular/global/nl.js +4 -4
- app-ng-runtime/locales/angular/global/nmg.js +4 -4
- app-ng-runtime/locales/angular/global/nn.js +4 -4
- app-ng-runtime/locales/angular/global/nnh.js +4 -4
- app-ng-runtime/locales/angular/global/no.js +4 -4
- app-ng-runtime/locales/angular/global/nus.js +4 -4
- app-ng-runtime/locales/angular/global/nyn.js +4 -4
- app-ng-runtime/locales/angular/global/om-ke.js +4 -4
- app-ng-runtime/locales/angular/global/om.js +4 -4
- app-ng-runtime/locales/angular/global/or.js +4 -4
- app-ng-runtime/locales/angular/global/os-ru.js +4 -4
- app-ng-runtime/locales/angular/global/os.js +4 -4
- app-ng-runtime/locales/angular/global/pa-arab.js +4 -4
- app-ng-runtime/locales/angular/global/pa-guru.js +4 -4
- app-ng-runtime/locales/angular/global/pa.js +4 -4
- app-ng-runtime/locales/angular/global/pcm.js +4 -4
- app-ng-runtime/locales/angular/global/pl.js +4 -4
- app-ng-runtime/locales/angular/global/ps-pk.js +4 -4
- app-ng-runtime/locales/angular/global/ps.js +4 -4
- app-ng-runtime/locales/angular/global/pt-ao.js +4 -4
- app-ng-runtime/locales/angular/global/pt-ch.js +4 -4
- app-ng-runtime/locales/angular/global/pt-cv.js +4 -4
- app-ng-runtime/locales/angular/global/pt-gq.js +4 -4
- app-ng-runtime/locales/angular/global/pt-gw.js +4 -4
- app-ng-runtime/locales/angular/global/pt-lu.js +4 -4
- app-ng-runtime/locales/angular/global/pt-mo.js +4 -4
- app-ng-runtime/locales/angular/global/pt-mz.js +4 -4
- app-ng-runtime/locales/angular/global/pt-pt.js +4 -4
- app-ng-runtime/locales/angular/global/pt-st.js +4 -4
- app-ng-runtime/locales/angular/global/pt-tl.js +4 -4
- app-ng-runtime/locales/angular/global/pt.js +4 -4
- app-ng-runtime/locales/angular/global/qu-bo.js +4 -4
- app-ng-runtime/locales/angular/global/qu-ec.js +4 -4
- app-ng-runtime/locales/angular/global/qu.js +4 -4
- app-ng-runtime/locales/angular/global/rm.js +4 -4
- app-ng-runtime/locales/angular/global/rn.js +4 -4
- app-ng-runtime/locales/angular/global/ro-md.js +4 -4
- app-ng-runtime/locales/angular/global/ro.js +4 -4
- app-ng-runtime/locales/angular/global/rof.js +4 -4
- app-ng-runtime/locales/angular/global/ru-by.js +4 -4
- app-ng-runtime/locales/angular/global/ru-kg.js +4 -4
- app-ng-runtime/locales/angular/global/ru-kz.js +4 -4
- app-ng-runtime/locales/angular/global/ru-md.js +4 -4
- app-ng-runtime/locales/angular/global/ru-ua.js +4 -4
- app-ng-runtime/locales/angular/global/ru.js +4 -4
- app-ng-runtime/locales/angular/global/rw.js +4 -4
- app-ng-runtime/locales/angular/global/rwk.js +4 -4
- app-ng-runtime/locales/angular/global/sa.js +4 -4
- app-ng-runtime/locales/angular/global/sah.js +4 -4
- app-ng-runtime/locales/angular/global/saq.js +4 -4
- app-ng-runtime/locales/angular/global/sat-olck.js +4 -4
- app-ng-runtime/locales/angular/global/sat.js +4 -4
- app-ng-runtime/locales/angular/global/sbp.js +4 -4
- app-ng-runtime/locales/angular/global/sc.js +4 -4
- app-ng-runtime/locales/angular/global/sd-arab.js +4 -4
- app-ng-runtime/locales/angular/global/sd-deva.js +4 -4
- app-ng-runtime/locales/angular/global/sd.js +4 -4
- app-ng-runtime/locales/angular/global/se-fi.js +4 -4
- app-ng-runtime/locales/angular/global/se-se.js +4 -4
- app-ng-runtime/locales/angular/global/se.js +4 -4
- app-ng-runtime/locales/angular/global/seh.js +4 -4
- app-ng-runtime/locales/angular/global/ses.js +4 -4
- app-ng-runtime/locales/angular/global/sg.js +4 -4
- app-ng-runtime/locales/angular/global/shi-latn.js +4 -4
- app-ng-runtime/locales/angular/global/shi-tfng.js +4 -4
- app-ng-runtime/locales/angular/global/shi.js +4 -4
- app-ng-runtime/locales/angular/global/si.js +4 -4
- app-ng-runtime/locales/angular/global/sk.js +4 -4
- app-ng-runtime/locales/angular/global/sl.js +4 -4
- app-ng-runtime/locales/angular/global/smn.js +4 -4
- app-ng-runtime/locales/angular/global/sn.js +4 -4
- app-ng-runtime/locales/angular/global/so-dj.js +4 -4
- app-ng-runtime/locales/angular/global/so-et.js +4 -4
- app-ng-runtime/locales/angular/global/so-ke.js +4 -4
- app-ng-runtime/locales/angular/global/so.js +4 -4
- app-ng-runtime/locales/angular/global/sq-mk.js +4 -4
- app-ng-runtime/locales/angular/global/sq-xk.js +4 -4
- app-ng-runtime/locales/angular/global/sq.js +4 -4
- app-ng-runtime/locales/angular/global/sr-cyrl-ba.js +4 -4
- app-ng-runtime/locales/angular/global/sr-cyrl-me.js +4 -4
- app-ng-runtime/locales/angular/global/sr-cyrl-xk.js +4 -4
- app-ng-runtime/locales/angular/global/sr-cyrl.js +4 -4
- app-ng-runtime/locales/angular/global/sr-latn-ba.js +4 -4
- app-ng-runtime/locales/angular/global/sr-latn-me.js +4 -4
- app-ng-runtime/locales/angular/global/sr-latn-xk.js +4 -4
- app-ng-runtime/locales/angular/global/sr-latn.js +4 -4
- app-ng-runtime/locales/angular/global/sr.js +4 -4
- app-ng-runtime/locales/angular/global/su-latn.js +4 -4
- app-ng-runtime/locales/angular/global/su.js +4 -4
- app-ng-runtime/locales/angular/global/sv-ax.js +4 -4
- app-ng-runtime/locales/angular/global/sv-fi.js +4 -4
- app-ng-runtime/locales/angular/global/sv.js +4 -4
- app-ng-runtime/locales/angular/global/sw-cd.js +4 -4
- app-ng-runtime/locales/angular/global/sw-ke.js +4 -4
- app-ng-runtime/locales/angular/global/sw-ug.js +4 -4
- app-ng-runtime/locales/angular/global/sw.js +4 -4
- app-ng-runtime/locales/angular/global/ta-lk.js +4 -4
- app-ng-runtime/locales/angular/global/ta-my.js +4 -4
- app-ng-runtime/locales/angular/global/ta-sg.js +4 -4
- app-ng-runtime/locales/angular/global/ta.js +4 -4
- app-ng-runtime/locales/angular/global/te.js +4 -4
- app-ng-runtime/locales/angular/global/teo-ke.js +4 -4
- app-ng-runtime/locales/angular/global/teo.js +4 -4
- app-ng-runtime/locales/angular/global/tg.js +4 -4
- app-ng-runtime/locales/angular/global/th.js +4 -4
- app-ng-runtime/locales/angular/global/ti-er.js +4 -4
- app-ng-runtime/locales/angular/global/ti.js +4 -4
- app-ng-runtime/locales/angular/global/tk.js +4 -4
- app-ng-runtime/locales/angular/global/to.js +4 -4
- app-ng-runtime/locales/angular/global/tr-cy.js +4 -4
- app-ng-runtime/locales/angular/global/tr.js +4 -4
- app-ng-runtime/locales/angular/global/tt.js +4 -4
- app-ng-runtime/locales/angular/global/twq.js +4 -4
- app-ng-runtime/locales/angular/global/tzm.js +4 -4
- app-ng-runtime/locales/angular/global/ug.js +4 -4
- app-ng-runtime/locales/angular/global/uk.js +4 -4
- app-ng-runtime/locales/angular/global/und.js +4 -4
- app-ng-runtime/locales/angular/global/ur-in.js +4 -4
- app-ng-runtime/locales/angular/global/ur.js +4 -4
- app-ng-runtime/locales/angular/global/uz-arab.js +4 -4
- app-ng-runtime/locales/angular/global/uz-cyrl.js +4 -4
- app-ng-runtime/locales/angular/global/uz-latn.js +4 -4
- app-ng-runtime/locales/angular/global/uz.js +4 -4
- app-ng-runtime/locales/angular/global/vai-latn.js +4 -4
- app-ng-runtime/locales/angular/global/vai-vaii.js +4 -4
- app-ng-runtime/locales/angular/global/vai.js +4 -4
- app-ng-runtime/locales/angular/global/vi.js +4 -4
- app-ng-runtime/locales/angular/global/vun.js +4 -4
- app-ng-runtime/locales/angular/global/wae.js +4 -4
- app-ng-runtime/locales/angular/global/wo.js +4 -4
- app-ng-runtime/locales/angular/global/xh.js +4 -4
- app-ng-runtime/locales/angular/global/xog.js +4 -4
- app-ng-runtime/locales/angular/global/yav.js +4 -4
- app-ng-runtime/locales/angular/global/yi.js +4 -4
- app-ng-runtime/locales/angular/global/yo-bj.js +4 -4
- app-ng-runtime/locales/angular/global/yo.js +4 -4
- app-ng-runtime/locales/angular/global/yrl-co.js +4 -4
- app-ng-runtime/locales/angular/global/yrl-ve.js +4 -4
- app-ng-runtime/locales/angular/global/yrl.js +4 -4
- app-ng-runtime/locales/angular/global/yue-hans.js +4 -4
- app-ng-runtime/locales/angular/global/yue-hant.js +4 -4
- app-ng-runtime/locales/angular/global/yue.js +4 -4
- app-ng-runtime/locales/angular/global/zgh.js +4 -4
- app-ng-runtime/locales/angular/global/zh-hans-hk.js +4 -4
- app-ng-runtime/locales/angular/global/zh-hans-mo.js +4 -4
- app-ng-runtime/locales/angular/global/zh-hans-sg.js +4 -4
- app-ng-runtime/locales/angular/global/zh-hans.js +4 -4
- app-ng-runtime/locales/angular/global/zh-hant-hk.js +4 -4
- app-ng-runtime/locales/angular/global/zh-hant-mo.js +4 -4
- app-ng-runtime/locales/angular/global/zh-hant.js +4 -4
- app-ng-runtime/locales/angular/global/zh.js +4 -4
- app-ng-runtime/locales/angular/global/zu.js +4 -4
- app-ng-runtime/mobile/components/basic/default/bundles/index.umd.js +143 -148
- app-ng-runtime/mobile/components/basic/default/esm2022/anchor/anchor.directive.mjs +7 -8
- app-ng-runtime/mobile/components/basic/default/esm2022/app-update/app-update.component.mjs +6 -7
- app-ng-runtime/mobile/components/basic/default/esm2022/basic.module.mjs +2 -2
- app-ng-runtime/mobile/components/basic/default/esm2022/file-browser/file-browser.component.mjs +43 -47
- app-ng-runtime/mobile/components/basic/default/esm2022/file-browser/file-selector.service.mjs +5 -7
- app-ng-runtime/mobile/components/basic/default/esm2022/image-cache/image-cache.directive.mjs +5 -6
- app-ng-runtime/mobile/components/basic/default/esm2022/network-info-toaster/network-info-toaster.component.mjs +47 -49
- app-ng-runtime/mobile/components/basic/default/esm2022/process-manager/process-management.service.mjs +2 -2
- app-ng-runtime/mobile/components/basic/default/esm2022/process-manager/process-manager.component.mjs +32 -31
- app-ng-runtime/mobile/components/basic/default/fesm2022/index.mjs +140 -146
- app-ng-runtime/mobile/components/basic/default/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/basic/default/network-info-toaster/network-info-toaster.component.d.ts +2 -2
- app-ng-runtime/mobile/components/basic/search/bundles/index.umd.js +3 -3
- app-ng-runtime/mobile/components/basic/search/esm2022/search.directive.mjs +3 -3
- app-ng-runtime/mobile/components/basic/search/esm2022/search.module.mjs +2 -2
- app-ng-runtime/mobile/components/basic/search/fesm2022/index.mjs +3 -3
- app-ng-runtime/mobile/components/basic/search/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/containers/segmented-control/bundles/index.umd.js +30 -42
- app-ng-runtime/mobile/components/containers/segmented-control/esm2022/segment-content/segment-content.component.mjs +8 -14
- app-ng-runtime/mobile/components/containers/segmented-control/esm2022/segmented-control.component.mjs +21 -28
- app-ng-runtime/mobile/components/containers/segmented-control/esm2022/segmented-control.module.mjs +2 -2
- app-ng-runtime/mobile/components/containers/segmented-control/fesm2022/index.mjs +28 -41
- app-ng-runtime/mobile/components/containers/segmented-control/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/containers/segmented-control/segment-content/segment-content.component.d.ts +2 -2
- app-ng-runtime/mobile/components/containers/segmented-control/segmented-control.component.d.ts +2 -2
- app-ng-runtime/mobile/components/data/media-list/bundles/index.umd.js +48 -53
- app-ng-runtime/mobile/components/data/media-list/esm2022/media-list-item/media-list-item.directive.mjs +2 -2
- app-ng-runtime/mobile/components/data/media-list/esm2022/media-list.component.mjs +42 -48
- app-ng-runtime/mobile/components/data/media-list/esm2022/media-list.module.mjs +2 -2
- app-ng-runtime/mobile/components/data/media-list/fesm2022/index.mjs +44 -50
- app-ng-runtime/mobile/components/data/media-list/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/data/media-list/media-list.component.d.ts +2 -2
- app-ng-runtime/mobile/components/device/barcode-scanner/barcode-scanner.component.d.ts +2 -2
- app-ng-runtime/mobile/components/device/barcode-scanner/bundles/index.umd.js +8 -14
- app-ng-runtime/mobile/components/device/barcode-scanner/esm2022/barcode-scanner.component.mjs +9 -15
- app-ng-runtime/mobile/components/device/barcode-scanner/esm2022/barcode-scanner.module.mjs +2 -2
- app-ng-runtime/mobile/components/device/barcode-scanner/fesm2022/index.mjs +10 -16
- app-ng-runtime/mobile/components/device/barcode-scanner/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/device/camera/bundles/index.umd.js +9 -15
- app-ng-runtime/mobile/components/device/camera/camera.component.d.ts +2 -2
- app-ng-runtime/mobile/components/device/camera/esm2022/camera.component.mjs +10 -16
- app-ng-runtime/mobile/components/device/camera/esm2022/camera.module.mjs +2 -2
- app-ng-runtime/mobile/components/device/camera/fesm2022/index.mjs +11 -17
- app-ng-runtime/mobile/components/device/camera/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/input/file-upload/bundles/index.umd.js +3 -3
- app-ng-runtime/mobile/components/input/file-upload/esm2022/file-upload.directive.mjs +3 -3
- app-ng-runtime/mobile/components/input/file-upload/esm2022/file-upload.module.mjs +2 -2
- app-ng-runtime/mobile/components/input/file-upload/fesm2022/index.mjs +3 -3
- app-ng-runtime/mobile/components/input/file-upload/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/page/default/bundles/index.umd.js +10 -11
- app-ng-runtime/mobile/components/page/default/esm2022/page-content-loader/page-content-loader.component.mjs +3 -4
- app-ng-runtime/mobile/components/page/default/esm2022/page.directive.mjs +4 -5
- app-ng-runtime/mobile/components/page/default/esm2022/page.module.mjs +2 -2
- app-ng-runtime/mobile/components/page/default/fesm2022/index.mjs +6 -8
- app-ng-runtime/mobile/components/page/default/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/page/left-panel/bundles/index.umd.js +3 -3
- app-ng-runtime/mobile/components/page/left-panel/esm2022/left-panel.directive.mjs +3 -3
- app-ng-runtime/mobile/components/page/left-panel/esm2022/left-panel.module.mjs +2 -2
- app-ng-runtime/mobile/components/page/left-panel/fesm2022/index.mjs +3 -3
- app-ng-runtime/mobile/components/page/left-panel/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/page/mobile-navbar/bundles/index.umd.js +35 -40
- app-ng-runtime/mobile/components/page/mobile-navbar/esm2022/mobile-navbar.component.mjs +36 -41
- app-ng-runtime/mobile/components/page/mobile-navbar/esm2022/mobile-navbar.module.mjs +2 -2
- app-ng-runtime/mobile/components/page/mobile-navbar/fesm2022/index.mjs +36 -41
- app-ng-runtime/mobile/components/page/mobile-navbar/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/page/mobile-navbar/mobile-navbar.component.d.ts +2 -2
- app-ng-runtime/mobile/components/page/tab-bar/bundles/index.umd.js +46 -52
- app-ng-runtime/mobile/components/page/tab-bar/esm2022/tab-bar.module.mjs +2 -2
- app-ng-runtime/mobile/components/page/tab-bar/esm2022/tabbar.component.mjs +43 -50
- app-ng-runtime/mobile/components/page/tab-bar/fesm2022/index.mjs +44 -51
- app-ng-runtime/mobile/components/page/tab-bar/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/page/tab-bar/tabbar.component.d.ts +2 -2
- app-ng-runtime/mobile/core/bundles/index.umd.js +43 -43
- app-ng-runtime/mobile/core/esm2022/core.module.mjs +3 -3
- app-ng-runtime/mobile/core/esm2022/native.xhr.mjs +1 -1
- app-ng-runtime/mobile/core/esm2022/services/device-file-cache.service.mjs +3 -3
- app-ng-runtime/mobile/core/esm2022/services/device-file-download.service.mjs +6 -7
- app-ng-runtime/mobile/core/esm2022/services/device-file-opener.service.mjs +4 -5
- app-ng-runtime/mobile/core/esm2022/services/device-file-upload.service.mjs +5 -6
- app-ng-runtime/mobile/core/esm2022/services/device-file.service.mjs +7 -8
- app-ng-runtime/mobile/core/esm2022/services/device.service.mjs +4 -5
- app-ng-runtime/mobile/core/esm2022/services/ext-app-message.service.mjs +6 -7
- app-ng-runtime/mobile/core/esm2022/services/network.service.mjs +10 -11
- app-ng-runtime/mobile/core/fesm2022/index.mjs +39 -40
- app-ng-runtime/mobile/core/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/core/services/ext-app-message.service.d.ts +1 -1
- app-ng-runtime/mobile/core/services/network.service.d.ts +1 -7
- app-ng-runtime/mobile/offline/bundles/index.umd.js +159 -176
- app-ng-runtime/mobile/offline/esm2022/models/local-db-store.mjs +21 -23
- app-ng-runtime/mobile/offline/esm2022/offline.module.mjs +3 -3
- app-ng-runtime/mobile/offline/esm2022/services/change-log.service.mjs +8 -9
- app-ng-runtime/mobile/offline/esm2022/services/local-db-data-pull.service.mjs +37 -39
- app-ng-runtime/mobile/offline/esm2022/services/local-db-management.service.mjs +47 -56
- app-ng-runtime/mobile/offline/esm2022/services/local-db.service.mjs +6 -7
- app-ng-runtime/mobile/offline/esm2022/services/local-key-value.service.mjs +2 -2
- app-ng-runtime/mobile/offline/esm2022/services/push.service.mjs +3 -3
- app-ng-runtime/mobile/offline/esm2022/services/workers/error-blocker.mjs +3 -4
- app-ng-runtime/mobile/offline/esm2022/services/workers/file-handler.mjs +13 -18
- app-ng-runtime/mobile/offline/esm2022/services/workers/id-resolver.mjs +3 -3
- app-ng-runtime/mobile/offline/esm2022/services/workers/multi-part-param-transformer.mjs +5 -9
- app-ng-runtime/mobile/offline/esm2022/utils/file-upload.utils.mjs +1 -1
- app-ng-runtime/mobile/offline/esm2022/utils/live-variable.utils.mjs +11 -12
- app-ng-runtime/mobile/offline/esm2022/utils/query-executor.utils.mjs +4 -5
- app-ng-runtime/mobile/offline/esm2022/utils/security.utils.mjs +2 -3
- app-ng-runtime/mobile/offline/esm2022/utils/utils.mjs +1 -1
- app-ng-runtime/mobile/offline/fesm2022/index.mjs +153 -171
- app-ng-runtime/mobile/offline/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/placeholder/runtime/bundles/index.umd.js +2 -3
- app-ng-runtime/mobile/placeholder/runtime/esm2022/components/app-ext.component.mjs +2 -3
- app-ng-runtime/mobile/placeholder/runtime/esm2022/mobile-runtime.module.mjs +2 -2
- app-ng-runtime/mobile/placeholder/runtime/fesm2022/index.mjs +2 -3
- app-ng-runtime/mobile/placeholder/runtime/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/placeholder/runtime-dynamic/bundles/index.umd.js +1 -1
- app-ng-runtime/mobile/placeholder/runtime-dynamic/esm2022/mobile-runtime-dynamic.module.mjs +2 -2
- app-ng-runtime/mobile/placeholder/runtime-dynamic/fesm2022/index.mjs +1 -1
- app-ng-runtime/mobile/placeholder/runtime-dynamic/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/runtime/bundles/index.umd.js +17 -21
- app-ng-runtime/mobile/runtime/esm2022/components/app-ext.component.mjs +3 -4
- app-ng-runtime/mobile/runtime/esm2022/mobile-runtime.module.mjs +4 -5
- app-ng-runtime/mobile/runtime/esm2022/services/cookie.service.mjs +3 -7
- app-ng-runtime/mobile/runtime/esm2022/services/http-interceptor.service.mjs +5 -6
- app-ng-runtime/mobile/runtime/esm2022/services/webprocess.service.mjs +3 -3
- app-ng-runtime/mobile/runtime/fesm2022/index.mjs +13 -18
- app-ng-runtime/mobile/runtime/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/runtime-dynamic/bundles/index.umd.js +5 -5
- app-ng-runtime/mobile/runtime-dynamic/esm2022/mobile-runtime-dynamic.module.mjs +2 -2
- app-ng-runtime/mobile/runtime-dynamic/esm2022/services/live-sync.service.mjs +5 -5
- app-ng-runtime/mobile/runtime-dynamic/fesm2022/index.mjs +5 -5
- app-ng-runtime/mobile/runtime-dynamic/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/variables/bundles/index.umd.js +21 -28
- app-ng-runtime/mobile/variables/esm2022/services/camera-service.mjs +5 -5
- app-ng-runtime/mobile/variables/esm2022/services/contacts-service.mjs +1 -1
- app-ng-runtime/mobile/variables/esm2022/services/datasync-service.mjs +9 -10
- app-ng-runtime/mobile/variables/esm2022/services/device-service/device-service.mjs +1 -1
- app-ng-runtime/mobile/variables/esm2022/services/device-service/location-service.mjs +1 -1
- app-ng-runtime/mobile/variables/esm2022/services/file-service.mjs +3 -11
- app-ng-runtime/mobile/variables/esm2022/services/scan-service.mjs +1 -1
- app-ng-runtime/mobile/variables/esm2022/variables.module.mjs +3 -3
- app-ng-runtime/mobile/variables/fesm2022/index.mjs +16 -24
- app-ng-runtime/mobile/variables/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/oAuth/bundles/index.umd.js +15 -15
- app-ng-runtime/oAuth/esm2022/oAuth.module.mjs +2 -2
- app-ng-runtime/oAuth/esm2022/oAuth.service.mjs +5 -6
- app-ng-runtime/oAuth/esm2022/oAuth.utils.mjs +7 -8
- app-ng-runtime/oAuth/fesm2022/index.mjs +11 -12
- app-ng-runtime/oAuth/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/package.json +1 -1
- app-ng-runtime/runtime/base/bundles/index.umd.js +243 -259
- app-ng-runtime/runtime/base/components/app-component/app.component.d.ts +1 -3
- app-ng-runtime/runtime/base/directives/accessroles.directive.d.ts +3 -4
- app-ng-runtime/runtime/base/esm2022/components/app-component/app.component.mjs +30 -34
- app-ng-runtime/runtime/base/esm2022/components/app-spinner.component.mjs +8 -9
- app-ng-runtime/runtime/base/esm2022/components/base-layout.component.mjs +4 -5
- app-ng-runtime/runtime/base/esm2022/components/base-page.component.mjs +15 -16
- app-ng-runtime/runtime/base/esm2022/components/base-partial.component.mjs +14 -15
- app-ng-runtime/runtime/base/esm2022/components/base-prefab.component.mjs +16 -17
- app-ng-runtime/runtime/base/esm2022/components/base-spa-page.component.mjs +15 -16
- app-ng-runtime/runtime/base/esm2022/components/custom-toaster.component.mjs +15 -17
- app-ng-runtime/runtime/base/esm2022/components/empty-component/empty-page.component.mjs +3 -4
- app-ng-runtime/runtime/base/esm2022/components/prefab-preview.component.mjs +3 -4
- app-ng-runtime/runtime/base/esm2022/directives/accessroles.directive.mjs +16 -24
- app-ng-runtime/runtime/base/esm2022/directives/prefab.directive.mjs +4 -4
- app-ng-runtime/runtime/base/esm2022/guards/auth.guard.mjs +3 -3
- app-ng-runtime/runtime/base/esm2022/guards/can-deactivate-page.guard.mjs +3 -3
- app-ng-runtime/runtime/base/esm2022/guards/page-not-found.guard.mjs +3 -3
- app-ng-runtime/runtime/base/esm2022/guards/role.guard.mjs +4 -5
- app-ng-runtime/runtime/base/esm2022/overrides/wm_dom_renderer.mjs +4 -4
- app-ng-runtime/runtime/base/esm2022/overrides/wm_shared_styles_host.mjs +5 -5
- app-ng-runtime/runtime/base/esm2022/resolves/app-extension.resolve.mjs +3 -3
- app-ng-runtime/runtime/base/esm2022/resolves/app-js.resolve.mjs +3 -3
- app-ng-runtime/runtime/base/esm2022/resolves/app-variables.resolve.mjs +3 -3
- app-ng-runtime/runtime/base/esm2022/resolves/i18n.resolve.mjs +3 -3
- app-ng-runtime/runtime/base/esm2022/resolves/metadata.resolve.mjs +3 -3
- app-ng-runtime/runtime/base/esm2022/resolves/security-config.resolve.mjs +3 -3
- app-ng-runtime/runtime/base/esm2022/runtime-base.module.mjs +3 -3
- app-ng-runtime/runtime/base/esm2022/services/app-defaults.service.mjs +3 -3
- app-ng-runtime/runtime/base/esm2022/services/app.manager.service.mjs +16 -19
- app-ng-runtime/runtime/base/esm2022/services/app.service.mjs +8 -9
- app-ng-runtime/runtime/base/esm2022/services/dynamic-component-ref-provider.service.mjs +4 -5
- app-ng-runtime/runtime/base/esm2022/services/http-interceptor.services.mjs +5 -6
- app-ng-runtime/runtime/base/esm2022/services/i18n.service.mjs +13 -15
- app-ng-runtime/runtime/base/esm2022/services/navigation.service.mjs +9 -10
- app-ng-runtime/runtime/base/esm2022/services/pipe-provider.service.mjs +3 -3
- app-ng-runtime/runtime/base/esm2022/services/pipe.service.mjs +3 -3
- app-ng-runtime/runtime/base/esm2022/services/prefab-manager.service.mjs +4 -5
- app-ng-runtime/runtime/base/esm2022/services/spinner.service.mjs +8 -9
- app-ng-runtime/runtime/base/esm2022/services/toaster.service.mjs +7 -8
- app-ng-runtime/runtime/base/esm2022/util/fragment-monitor.mjs +3 -3
- app-ng-runtime/runtime/base/esm2022/util/wm-route-reuse-strategy.mjs +8 -7
- app-ng-runtime/runtime/base/fesm2022/index.mjs +252 -269
- app-ng-runtime/runtime/base/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/runtime/base/overrides/wm_dom_renderer.d.ts +2 -2
- app-ng-runtime/runtime/base/services/i18n.service.d.ts +1 -1
- app-ng-runtime/runtime/dynamic/bundles/index.umd.js +21 -22
- app-ng-runtime/runtime/dynamic/esm2022/app/app.module.mjs +1 -1
- app-ng-runtime/runtime/dynamic/esm2022/app/components/page-wrapper.component.mjs +3 -4
- app-ng-runtime/runtime/dynamic/esm2022/app/services/app-extension.service.mjs +3 -3
- app-ng-runtime/runtime/dynamic/esm2022/app/services/app-js-provider.service.mjs +3 -3
- app-ng-runtime/runtime/dynamic/esm2022/app/services/app-resource-manager.service.mjs +3 -3
- app-ng-runtime/runtime/dynamic/esm2022/app/services/app-variables-provider.service.mjs +3 -3
- app-ng-runtime/runtime/dynamic/esm2022/app/services/component-ref-provider.service.mjs +5 -6
- app-ng-runtime/runtime/dynamic/esm2022/app/services/prefab-config-provider.service.mjs +3 -3
- app-ng-runtime/runtime/dynamic/esm2022/main.mjs +2 -3
- app-ng-runtime/runtime/dynamic/fesm2022/index.mjs +19 -21
- app-ng-runtime/runtime/dynamic/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/scripts/datatable/datatable.js +2 -3
- app-ng-runtime/scripts/jquery-ui/ui/widgets/droppable.js +7 -7
- app-ng-runtime/scripts/jquery-ui/ui/widgets/resizable.js +10 -13
- app-ng-runtime/scripts/jquery-ui/ui/widgets/sortable.js +7 -7
- app-ng-runtime/security/bundles/index.umd.js +17 -17
- app-ng-runtime/security/esm2022/security.module.mjs +2 -2
- app-ng-runtime/security/esm2022/security.service.mjs +13 -14
- app-ng-runtime/security/fesm2022/index.mjs +13 -14
- app-ng-runtime/security/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/security/security.service.d.ts +1 -1
- app-ng-runtime/swipey/esm2022/swipe.animation.mjs +1 -1
- app-ng-runtime/swipey/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/transpiler/bundles/index.umd.js +9 -10
- app-ng-runtime/transpiler/esm2022/build.mjs +6 -8
- app-ng-runtime/transpiler/fesm2022/index.mjs +5 -7
- app-ng-runtime/transpiler/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/variables/bundles/index.umd.js +150 -160
- app-ng-runtime/variables/esm2022/factory/variable.factory.mjs +1 -1
- app-ng-runtime/variables/esm2022/manager/action/login-action.manager.mjs +14 -15
- app-ng-runtime/variables/esm2022/manager/action/logout-action.manager.mjs +1 -1
- app-ng-runtime/variables/esm2022/manager/action/notification-action.manager.mjs +8 -9
- app-ng-runtime/variables/esm2022/manager/variable/base-variable.manager.mjs +2 -3
- app-ng-runtime/variables/esm2022/manager/variable/device-variable-manager.mjs +1 -1
- app-ng-runtime/variables/esm2022/manager/variable/device-variable-service.mjs +1 -1
- app-ng-runtime/variables/esm2022/manager/variable/web-socket-variable.manager.mjs +10 -11
- app-ng-runtime/variables/esm2022/model/action/notification-action.mjs +1 -1
- app-ng-runtime/variables/esm2022/service/metadata-service/metadata.service.mjs +3 -3
- app-ng-runtime/variables/esm2022/service/variables.service.mjs +8 -9
- app-ng-runtime/variables/esm2022/util/action/navigation-action.utils.mjs +4 -4
- app-ng-runtime/variables/esm2022/util/variable/pagination.utils.mjs +23 -30
- app-ng-runtime/variables/esm2022/util/variable/service-variable.utils.mjs +28 -29
- app-ng-runtime/variables/esm2022/util/variable/variables.utils.mjs +70 -75
- app-ng-runtime/variables/esm2022/variables.module.mjs +2 -2
- app-ng-runtime/variables/fesm2022/index.mjs +163 -174
- app-ng-runtime/variables/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/variables/util/variable/service-variable.utils.d.ts +1 -1
- app-ng-runtime/build-task/.npmignore +0 -2
- app-ng-runtime/components/advanced/carousel/.npmignore +0 -2
- app-ng-runtime/components/advanced/login/.npmignore +0 -2
- app-ng-runtime/components/advanced/marquee/.npmignore +0 -2
- app-ng-runtime/components/base/.npmignore +0 -2
- app-ng-runtime/components/basic/default/.npmignore +0 -2
- app-ng-runtime/components/basic/progress/.npmignore +0 -2
- app-ng-runtime/components/basic/rich-text-editor/.npmignore +0 -2
- app-ng-runtime/components/basic/search/.npmignore +0 -2
- app-ng-runtime/components/basic/tree/.npmignore +0 -2
- app-ng-runtime/components/chart/.npmignore +0 -2
- app-ng-runtime/components/containers/accordion/.npmignore +0 -2
- app-ng-runtime/components/containers/layout-grid/.npmignore +0 -2
- app-ng-runtime/components/containers/linear-layout/.npmignore +0 -2
- app-ng-runtime/components/containers/panel/.npmignore +0 -2
- app-ng-runtime/components/containers/tabs/.npmignore +0 -2
- app-ng-runtime/components/containers/tile/.npmignore +0 -2
- app-ng-runtime/components/containers/wizard/.npmignore +0 -2
- app-ng-runtime/components/data/card/.npmignore +0 -2
- app-ng-runtime/components/data/form/.npmignore +0 -2
- app-ng-runtime/components/data/list/.npmignore +0 -2
- app-ng-runtime/components/data/live-table/.npmignore +0 -2
- app-ng-runtime/components/data/pagination/.npmignore +0 -2
- app-ng-runtime/components/data/table/.npmignore +0 -2
- app-ng-runtime/components/dialogs/alert-dialog/.npmignore +0 -2
- app-ng-runtime/components/dialogs/confirm-dialog/.npmignore +0 -2
- app-ng-runtime/components/dialogs/default/.npmignore +0 -2
- app-ng-runtime/components/dialogs/design-dialog/.npmignore +0 -2
- app-ng-runtime/components/dialogs/iframe-dialog/.npmignore +0 -2
- app-ng-runtime/components/dialogs/login-dialog/.npmignore +0 -2
- app-ng-runtime/components/dialogs/partial-dialog/.npmignore +0 -2
- app-ng-runtime/components/input/calendar/.npmignore +0 -2
- app-ng-runtime/components/input/chips/.npmignore +0 -2
- app-ng-runtime/components/input/color-picker/.npmignore +0 -2
- app-ng-runtime/components/input/currency/.npmignore +0 -2
- app-ng-runtime/components/input/default/.npmignore +0 -2
- app-ng-runtime/components/input/epoch/.npmignore +0 -2
- app-ng-runtime/components/input/file-upload/.npmignore +0 -2
- app-ng-runtime/components/input/rating/.npmignore +0 -2
- app-ng-runtime/components/input/slider/.npmignore +0 -2
- app-ng-runtime/components/navigation/breadcrumb/.npmignore +0 -2
- app-ng-runtime/components/navigation/menu/.npmignore +0 -2
- app-ng-runtime/components/navigation/navbar/.npmignore +0 -2
- app-ng-runtime/components/navigation/popover/.npmignore +0 -2
- app-ng-runtime/components/page/default/.npmignore +0 -2
- app-ng-runtime/components/page/footer/.npmignore +0 -2
- app-ng-runtime/components/page/header/.npmignore +0 -2
- app-ng-runtime/components/page/left-panel/.npmignore +0 -2
- app-ng-runtime/components/page/right-panel/.npmignore +0 -2
- app-ng-runtime/components/page/top-nav/.npmignore +0 -2
- app-ng-runtime/components/prefab/.npmignore +0 -2
- app-ng-runtime/core/.npmignore +0 -2
- app-ng-runtime/core/esm2022/services/custom-icons-loader.service.mjs +0 -26
- app-ng-runtime/core/services/custom-icons-loader.service.d.ts +0 -7
- app-ng-runtime/http/.npmignore +0 -2
- app-ng-runtime/mobile/components/basic/default/.npmignore +0 -2
- app-ng-runtime/mobile/components/basic/search/.npmignore +0 -2
- app-ng-runtime/mobile/components/containers/segmented-control/.npmignore +0 -2
- app-ng-runtime/mobile/components/data/media-list/.npmignore +0 -2
- app-ng-runtime/mobile/components/device/barcode-scanner/.npmignore +0 -2
- app-ng-runtime/mobile/components/device/camera/.npmignore +0 -2
- app-ng-runtime/mobile/components/input/file-upload/.npmignore +0 -2
- app-ng-runtime/mobile/components/page/default/.npmignore +0 -2
- app-ng-runtime/mobile/components/page/left-panel/.npmignore +0 -2
- app-ng-runtime/mobile/components/page/mobile-navbar/.npmignore +0 -2
- app-ng-runtime/mobile/components/page/tab-bar/.npmignore +0 -2
- app-ng-runtime/mobile/core/.npmignore +0 -2
- app-ng-runtime/mobile/offline/.npmignore +0 -2
- app-ng-runtime/mobile/placeholder/runtime/.npmignore +0 -2
- app-ng-runtime/mobile/placeholder/runtime-dynamic/.npmignore +0 -2
- app-ng-runtime/mobile/runtime/.npmignore +0 -2
- app-ng-runtime/mobile/runtime-dynamic/.npmignore +0 -2
- app-ng-runtime/mobile/variables/.npmignore +0 -2
- app-ng-runtime/oAuth/.npmignore +0 -2
- app-ng-runtime/runtime/base/.npmignore +0 -2
- app-ng-runtime/runtime/dynamic/.npmignore +0 -2
- app-ng-runtime/security/.npmignore +0 -2
- app-ng-runtime/swipey/.npmignore +0 -2
- app-ng-runtime/transpiler/.npmignore +0 -2
- app-ng-runtime/variables/.npmignore +0 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { ViewContainerRef, Component, Optional, Attribute,
|
|
2
|
+
import { ViewContainerRef, Component, Optional, Attribute, ViewChild, ContentChildren, ContentChild, HostListener, Directive, Self, Inject, SkipSelf, NgModule } from '@angular/core';
|
|
3
3
|
import * as i7 from '@angular/common';
|
|
4
4
|
import { CommonModule } from '@angular/common';
|
|
5
5
|
import * as i1 from '@angular/forms';
|
|
@@ -8,7 +8,7 @@ import { TooltipModule } from 'ngx-bootstrap/tooltip';
|
|
|
8
8
|
import * as i6 from 'ngx-bootstrap/dropdown';
|
|
9
9
|
import { BsDropdownModule } from 'ngx-bootstrap/dropdown';
|
|
10
10
|
import * as i4 from '@wm/components/base';
|
|
11
|
-
import { PROP_BOOLEAN, PROP_STRING, PROP_ANY, PROP_NUMBER,
|
|
11
|
+
import { register, PROP_BOOLEAN, PROP_STRING, PROP_ANY, PROP_NUMBER, StylableComponent, unsupportedStatePersistenceTypes, getConditionalClasses, DEBOUNCE_TIMES, styler, extractDataSourceName, EDIT_MODE, getRowOperationsColumn, transformData, prepareFieldDefs, getOrderByExpr, NAVIGATION_TYPE, provideAs, provideAsWidgetRef, refreshDataSource, getMatchModeTypesMap, getMatchModeMsgs, isDataSetWidget, BaseComponent, setHeaderConfigForTable, BaseFieldValidations, applyFilterOnField, getDistinctFieldProperties, getDistinctValues, getWatchIdentifier, fetchRelatedFieldData, getDistinctValuesForField, getEditModeWidget, getDataTableFilterWidget, getDefaultValue, Context, WmComponentsModule } from '@wm/components/base';
|
|
12
12
|
import * as i5 from '@wm/components/basic';
|
|
13
13
|
import { BasicModule } from '@wm/components/basic';
|
|
14
14
|
import * as i8 from '@wm/components/input';
|
|
@@ -23,7 +23,6 @@ import * as i2 from '@wm/core';
|
|
|
23
23
|
import { isDefined, getClonedObject, closePopover, $unwatch, $watch, $appDigest, triggerFn, DataSource, isDataSourceEqual, isMobile, $invokeWatchers, getValidJSON, extendProto, getDatasourceFromExpr, $parseEvent, extractCurrentItemExpr, isNumberType, DataType, adjustContainerRightEdges, FormWidgetType, isDateTimeType, getDisplayDateTimeFormat } from '@wm/core';
|
|
24
24
|
import { Subject } from 'rxjs';
|
|
25
25
|
import { debounceTime } from 'rxjs/operators';
|
|
26
|
-
import { isEmpty, floor, debounce, get, set, some, findIndex, isEqual, pullAllWith, remove, extend, isNaN, isUndefined, forEach, isArray, isObject, indexOf, keys, find, toNumber, includes, split, startsWith, omitBy, values, parseInt as parseInt$1, map, last, toString, isNull, range, filter, endsWith, toLower, head, orderBy, sum, mean, round, min, max, cloneDeep } from 'lodash-es';
|
|
27
26
|
|
|
28
27
|
const registerProps$5 = () => {
|
|
29
28
|
register('wm-table', new Map([
|
|
@@ -52,7 +51,7 @@ const registerProps$5 = () => {
|
|
|
52
51
|
['gridfirstrowselect', PROP_BOOLEAN],
|
|
53
52
|
['iconclass', PROP_STRING],
|
|
54
53
|
['insertmessage', { value: 'Record added successfully', ...PROP_STRING }],
|
|
55
|
-
['isdynamictable', PROP_BOOLEAN],
|
|
54
|
+
['isdynamictable', PROP_BOOLEAN],
|
|
56
55
|
['isrowexpansionenabled', PROP_BOOLEAN],
|
|
57
56
|
['loadingdatamsg', { value: 'Loading...', ...PROP_STRING }],
|
|
58
57
|
['loadingicon', { value: 'fa fa-circle-o-notch fa-spin', ...PROP_STRING }],
|
|
@@ -101,40 +100,39 @@ const _c13 = ["rowDetailView"];
|
|
|
101
100
|
const _c14 = ["rowExpansionActionView"];
|
|
102
101
|
const _c15 = ["dynamicTable"];
|
|
103
102
|
const _c16 = ["wmTable", ""];
|
|
104
|
-
const _c17 = a0 => ({ btn: a0 });
|
|
105
|
-
const _c18 = (a0, a1) => ({ "btn-sm": a0, "disabled-new": a1 });
|
|
106
103
|
function TableComponent_div_0_i_3_Template(rf, ctx) { if (rf & 1) {
|
|
107
104
|
i0.ɵɵelement(0, "i");
|
|
108
105
|
} if (rf & 2) {
|
|
109
|
-
const
|
|
110
|
-
i0.ɵɵclassMapInterpolate1("app-icon panel-icon ",
|
|
106
|
+
const ctx_r15 = i0.ɵɵnextContext(2);
|
|
107
|
+
i0.ɵɵclassMapInterpolate1("app-icon panel-icon ", ctx_r15.iconclass, "");
|
|
111
108
|
} }
|
|
109
|
+
const _c17 = function (a0) { return { btn: a0 }; };
|
|
112
110
|
function TableComponent_div_0_div_7_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
113
111
|
i0.ɵɵelementContainer(0, 29);
|
|
114
112
|
} if (rf & 2) {
|
|
115
|
-
const
|
|
116
|
-
|
|
117
|
-
const
|
|
118
|
-
const
|
|
119
|
-
|
|
120
|
-
i0.ɵɵproperty("ngTemplateOutlet", btn_r2.widgetType === "button" ? buttonRef_r4 : anchorRef_r5)("ngTemplateOutletContext", i0.ɵɵpureFunction1(3, _c17, btn_r2))("ngTemplateOutletInjector", ctx_r0.createCustomInjector("actions_header_" + index_r3, i0.ɵɵpureFunction1(5, _c17, btn_r2)));
|
|
113
|
+
const btn_r19 = ctx.$implicit;
|
|
114
|
+
i0.ɵɵnextContext(3);
|
|
115
|
+
const _r3 = i0.ɵɵreference(8);
|
|
116
|
+
const _r5 = i0.ɵɵreference(10);
|
|
117
|
+
i0.ɵɵproperty("ngTemplateOutlet", btn_r19.widgetType === "button" ? _r3 : _r5)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c17, btn_r19));
|
|
121
118
|
} }
|
|
122
119
|
function TableComponent_div_0_div_7_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
123
120
|
i0.ɵɵelement(0, "div", 30);
|
|
124
121
|
} if (rf & 2) {
|
|
125
|
-
const
|
|
126
|
-
i0.ɵɵattributeInterpolate1("name", "",
|
|
122
|
+
const ctx_r18 = i0.ɵɵnextContext(3);
|
|
123
|
+
i0.ɵɵattributeInterpolate1("name", "", ctx_r18.name, "-export");
|
|
127
124
|
} }
|
|
128
125
|
function TableComponent_div_0_div_7_Template(rf, ctx) { if (rf & 1) {
|
|
129
126
|
i0.ɵɵelementStart(0, "div", 26);
|
|
130
|
-
i0.ɵɵtemplate(1, TableComponent_div_0_div_7_ng_container_1_Template, 1,
|
|
127
|
+
i0.ɵɵtemplate(1, TableComponent_div_0_div_7_ng_container_1_Template, 1, 4, "ng-container", 27);
|
|
128
|
+
i0.ɵɵtemplate(2, TableComponent_div_0_div_7_div_2_Template, 1, 1, "div", 28);
|
|
131
129
|
i0.ɵɵelementEnd();
|
|
132
130
|
} if (rf & 2) {
|
|
133
|
-
const
|
|
134
|
-
i0.ɵɵadvance();
|
|
135
|
-
i0.ɵɵproperty("ngForOf",
|
|
136
|
-
i0.ɵɵadvance();
|
|
137
|
-
i0.ɵɵproperty("ngIf",
|
|
131
|
+
const ctx_r16 = i0.ɵɵnextContext(2);
|
|
132
|
+
i0.ɵɵadvance(1);
|
|
133
|
+
i0.ɵɵproperty("ngForOf", ctx_r16._actions.header);
|
|
134
|
+
i0.ɵɵadvance(1);
|
|
135
|
+
i0.ɵɵproperty("ngIf", ctx_r16.exportOptions.length);
|
|
138
136
|
} }
|
|
139
137
|
function TableComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
140
138
|
i0.ɵɵelementStart(0, "div", 19)(1, "h3", 20)(2, "div", 21);
|
|
@@ -151,50 +149,50 @@ function TableComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
151
149
|
i0.ɵɵproperty("ngIf", ctx_r0.iconclass);
|
|
152
150
|
i0.ɵɵadvance(2);
|
|
153
151
|
i0.ɵɵproperty("innerHTML", ctx_r0.title, i0.ɵɵsanitizeHtml);
|
|
154
|
-
i0.ɵɵadvance();
|
|
152
|
+
i0.ɵɵadvance(1);
|
|
155
153
|
i0.ɵɵproperty("innerHTML", ctx_r0.subheading, i0.ɵɵsanitizeHtml);
|
|
156
|
-
i0.ɵɵadvance();
|
|
154
|
+
i0.ɵɵadvance(1);
|
|
157
155
|
i0.ɵɵproperty("ngIf", ctx_r0.exportOptions.length || ctx_r0._actions.header.length);
|
|
158
156
|
} }
|
|
159
157
|
function TableComponent_div_6_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
160
158
|
i0.ɵɵelementContainer(0, 29);
|
|
161
159
|
} if (rf & 2) {
|
|
162
|
-
const
|
|
163
|
-
|
|
164
|
-
const
|
|
165
|
-
const
|
|
166
|
-
|
|
167
|
-
i0.ɵɵproperty("ngTemplateOutlet", btn_r6.widgetType === "button" ? buttonRef_r4 : anchorRef_r5)("ngTemplateOutletContext", i0.ɵɵpureFunction1(3, _c17, btn_r6))("ngTemplateOutletInjector", ctx_r0.createCustomInjector("actions_footer_" + index_r7, i0.ɵɵpureFunction1(5, _c17, btn_r6)));
|
|
160
|
+
const btn_r21 = ctx.$implicit;
|
|
161
|
+
i0.ɵɵnextContext(2);
|
|
162
|
+
const _r3 = i0.ɵɵreference(8);
|
|
163
|
+
const _r5 = i0.ɵɵreference(10);
|
|
164
|
+
i0.ɵɵproperty("ngTemplateOutlet", btn_r21.widgetType === "button" ? _r3 : _r5)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c17, btn_r21));
|
|
168
165
|
} }
|
|
169
166
|
function TableComponent_div_6_Template(rf, ctx) { if (rf & 1) {
|
|
170
167
|
i0.ɵɵelementStart(0, "div", 31);
|
|
171
|
-
i0.ɵɵtemplate(1, TableComponent_div_6_ng_container_1_Template, 1,
|
|
168
|
+
i0.ɵɵtemplate(1, TableComponent_div_6_ng_container_1_Template, 1, 4, "ng-container", 27);
|
|
172
169
|
i0.ɵɵelementEnd();
|
|
173
170
|
} if (rf & 2) {
|
|
174
|
-
const
|
|
175
|
-
i0.ɵɵadvance();
|
|
176
|
-
i0.ɵɵproperty("ngForOf",
|
|
171
|
+
const ctx_r2 = i0.ɵɵnextContext();
|
|
172
|
+
i0.ɵɵadvance(1);
|
|
173
|
+
i0.ɵɵproperty("ngForOf", ctx_r2._actions.footer);
|
|
177
174
|
} }
|
|
175
|
+
const _c18 = function (a0, a1) { return { "btn-sm": a0, "disabled-new": a1 }; };
|
|
178
176
|
function TableComponent_ng_template_7_Template(rf, ctx) { if (rf & 1) {
|
|
179
|
-
const
|
|
177
|
+
const _r24 = i0.ɵɵgetCurrentView();
|
|
180
178
|
i0.ɵɵelementStart(0, "button", 32);
|
|
181
|
-
i0.ɵɵlistener("click", function TableComponent_ng_template_7_Template_button_click_0_listener($event) { const
|
|
179
|
+
i0.ɵɵlistener("click", function TableComponent_ng_template_7_Template_button_click_0_listener($event) { const restoredCtx = i0.ɵɵrestoreView(_r24); const btn_r22 = restoredCtx.btn; const ctx_r23 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r23.invokeActionEvent($event, btn_r22.action)); });
|
|
182
180
|
i0.ɵɵelementEnd();
|
|
183
181
|
} if (rf & 2) {
|
|
184
|
-
const
|
|
185
|
-
const
|
|
186
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(2, _c18,
|
|
187
|
-
i0.ɵɵattribute("aria-label",
|
|
182
|
+
const btn_r22 = ctx.btn;
|
|
183
|
+
const ctx_r4 = i0.ɵɵnextContext();
|
|
184
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(2, _c18, ctx_r4.spacing === "condensed", btn_r22.key === "addNewRow" && (ctx_r4.isGridEditMode || ctx_r4.isLoading)));
|
|
185
|
+
i0.ɵɵattribute("aria-label", btn_r22.displayName);
|
|
188
186
|
} }
|
|
189
187
|
function TableComponent_ng_template_9_Template(rf, ctx) { if (rf & 1) {
|
|
190
|
-
const
|
|
188
|
+
const _r27 = i0.ɵɵgetCurrentView();
|
|
191
189
|
i0.ɵɵelementStart(0, "a", 33);
|
|
192
|
-
i0.ɵɵlistener("click", function TableComponent_ng_template_9_Template_a_click_0_listener($event) { const
|
|
190
|
+
i0.ɵɵlistener("click", function TableComponent_ng_template_9_Template_a_click_0_listener($event) { const restoredCtx = i0.ɵɵrestoreView(_r27); const btn_r25 = restoredCtx.btn; const ctx_r26 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r26.invokeActionEvent($event, btn_r25.action)); });
|
|
193
191
|
i0.ɵɵelementEnd();
|
|
194
192
|
} if (rf & 2) {
|
|
195
|
-
const
|
|
196
|
-
const
|
|
197
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(1, _c18,
|
|
193
|
+
const btn_r25 = ctx.btn;
|
|
194
|
+
const ctx_r6 = i0.ɵɵnextContext();
|
|
195
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(1, _c18, ctx_r6.spacing === "condensed", btn_r25.key === "addNewRow" && (ctx_r6.isGridEditMode || ctx_r6.isLoading)));
|
|
198
196
|
} }
|
|
199
197
|
const DEFAULT_CLS = 'app-grid app-panel panel';
|
|
200
198
|
const WIDGET_CONFIG$5 = { widgetType: 'wm-table', hostClass: DEFAULT_CLS };
|
|
@@ -229,7 +227,7 @@ class TableComponent extends StylableComponent {
|
|
|
229
227
|
set gridData(newValue) {
|
|
230
228
|
this.isDataLoading = false;
|
|
231
229
|
// Fix for [WMS-24012]: hide no datafound msg when variableInflight is true and dataset is empty
|
|
232
|
-
if (this.variableInflight && isEmpty(newValue)) {
|
|
230
|
+
if (this.variableInflight && _.isEmpty(newValue)) {
|
|
233
231
|
return;
|
|
234
232
|
}
|
|
235
233
|
this.variableInflight = false;
|
|
@@ -245,7 +243,7 @@ class TableComponent extends StylableComponent {
|
|
|
245
243
|
[this._gridData, this.currentPage] = this.paginationService.updateFieldsOnPagination(this, newValue);
|
|
246
244
|
// When edit action is performed on previous page, update the _gridData field with the modified row data
|
|
247
245
|
if (this.gridOptions.lastActionPerformed === this.gridOptions.ACTIONS.EDIT) {
|
|
248
|
-
const rowIndex = floor(this.actionRowIndex % this.pagesize);
|
|
246
|
+
const rowIndex = _.floor(this.actionRowIndex % this.pagesize);
|
|
249
247
|
this._gridData.splice(this.actionRowIndex, 1, newValue[rowIndex]);
|
|
250
248
|
}
|
|
251
249
|
this.setDataGridOption('isLastPage', !!(this.dataNavigator.isDisableNext));
|
|
@@ -283,7 +281,7 @@ class TableComponent extends StylableComponent {
|
|
|
283
281
|
this.setDataGridOption('colDefs', getClonedObject(this.fieldDefs));
|
|
284
282
|
}
|
|
285
283
|
// If data and colDefs are present, call on before data render event
|
|
286
|
-
if (!this.isdynamictable && !isEmpty(newValue) && gridOptions.colDefs.length) {
|
|
284
|
+
if (!this.isdynamictable && !_.isEmpty(newValue) && gridOptions.colDefs.length) {
|
|
287
285
|
this.invokeEventCallback('beforedatarender', { $data: this._gridData, $columns: this.columns, data: this._gridData, columns: this.columns });
|
|
288
286
|
}
|
|
289
287
|
this.setDataGridOption('data', getClonedObject(this._gridData));
|
|
@@ -296,7 +294,7 @@ class TableComponent extends StylableComponent {
|
|
|
296
294
|
if (this.multiselect) {
|
|
297
295
|
return getClonedObject(this.items);
|
|
298
296
|
}
|
|
299
|
-
if (isEmpty(this.items)) {
|
|
297
|
+
if (_.isEmpty(this.items)) {
|
|
300
298
|
return {};
|
|
301
299
|
}
|
|
302
300
|
return getClonedObject(this.items[0]);
|
|
@@ -311,8 +309,8 @@ class TableComponent extends StylableComponent {
|
|
|
311
309
|
this.invokeEventCallback('enterkeypress', { $event, $data: this.gridData });
|
|
312
310
|
}
|
|
313
311
|
}
|
|
314
|
-
constructor(inj, fb, app, dynamicComponentProvider, statePersistence, paginationService, viewport, parentList, binddataset, binddatasource, readonlygrid, ngZone, trustAsPipe
|
|
315
|
-
super(inj, WIDGET_CONFIG$5
|
|
312
|
+
constructor(inj, fb, app, dynamicComponentProvider, statePersistence, paginationService, viewport, parentList, binddataset, binddatasource, readonlygrid, ngZone, trustAsPipe) {
|
|
313
|
+
super(inj, WIDGET_CONFIG$5);
|
|
316
314
|
this.inj = inj;
|
|
317
315
|
this.fb = fb;
|
|
318
316
|
this.app = app;
|
|
@@ -362,8 +360,8 @@ class TableComponent extends StylableComponent {
|
|
|
362
360
|
this.fullFieldDefs = [];
|
|
363
361
|
this.variableInflight = true;
|
|
364
362
|
this.applyProps = new Map();
|
|
365
|
-
this.redraw = debounce(this._redraw, 150);
|
|
366
|
-
this.debouncedHandleLoading = debounce(this.handleLoading, 350);
|
|
363
|
+
this.redraw = _.debounce(this._redraw, 150);
|
|
364
|
+
this.debouncedHandleLoading = _.debounce(this.handleLoading, 350);
|
|
367
365
|
// Filter and Sort Methods
|
|
368
366
|
this.rowFilter = {};
|
|
369
367
|
this._searchSortHandler = noop;
|
|
@@ -428,11 +426,11 @@ class TableComponent extends StylableComponent {
|
|
|
428
426
|
isLastPage: false,
|
|
429
427
|
// get the current page number
|
|
430
428
|
getCurrentPage: () => {
|
|
431
|
-
return get(this.dataNavigator, 'dn.currentPage') || 1;
|
|
429
|
+
return _.get(this.dataNavigator, 'dn.currentPage') || 1;
|
|
432
430
|
},
|
|
433
431
|
// set the page number
|
|
434
432
|
setCurrentPage: (pageNum) => {
|
|
435
|
-
set(this.dataNavigator, 'dn.currentPage', pageNum || 1);
|
|
433
|
+
_.set(this.dataNavigator, 'dn.currentPage', pageNum || 1);
|
|
436
434
|
},
|
|
437
435
|
getDataSource: () => {
|
|
438
436
|
return this.datasource;
|
|
@@ -483,9 +481,7 @@ class TableComponent extends StylableComponent {
|
|
|
483
481
|
if (!this.multiselect) {
|
|
484
482
|
this.items.length = 0;
|
|
485
483
|
}
|
|
486
|
-
|
|
487
|
-
this.callDataGridMethod('selectRows', this.items);
|
|
488
|
-
}
|
|
484
|
+
this.callDataGridMethod('selectRows', this.items);
|
|
489
485
|
this.selectedItems = this.callDataGridMethod('getSelectedRows');
|
|
490
486
|
if (this.selectedItems.length) {
|
|
491
487
|
this.selectedItemChange.next(this.selectedItems);
|
|
@@ -506,8 +502,8 @@ class TableComponent extends StylableComponent {
|
|
|
506
502
|
if (this.selectedItems.length && rowData.$index && this.getConfiguredState() !== 'none' && this.dataNavigator && unsupportedStatePersistenceTypes.indexOf(this.navigation) < 0) {
|
|
507
503
|
const obj = { page: this.dataNavigator.dn.currentPage, index: rowData.$index - 1 };
|
|
508
504
|
const widgetState = this.statePersistence.getWidgetState(this);
|
|
509
|
-
if (get(widgetState, 'selectedItem') && this.multiselect) {
|
|
510
|
-
if (!some(widgetState.selectedItem, obj)) {
|
|
505
|
+
if (_.get(widgetState, 'selectedItem') && this.multiselect) {
|
|
506
|
+
if (!_.some(widgetState.selectedItem, obj)) {
|
|
511
507
|
widgetState.selectedItem.push(obj);
|
|
512
508
|
}
|
|
513
509
|
this.statePersistence.setWidgetState(this, { 'selectedItem': widgetState.selectedItem });
|
|
@@ -531,7 +527,7 @@ class TableComponent extends StylableComponent {
|
|
|
531
527
|
*/
|
|
532
528
|
if (this.multiselect) {
|
|
533
529
|
//Fix for [WMS-25110]: Add row to items list only if the row is selected
|
|
534
|
-
if (findIndex(this.items, row) === -1 && (rowInfo?._selected === undefined || rowInfo?._selected == true || (this.gridfirstrowselect && rowInfo?.rowId == 0 && !this.showFirstRow))) {
|
|
530
|
+
if (_.findIndex(this.items, row) === -1 && (rowInfo?._selected === undefined || rowInfo?._selected == true || (this.gridfirstrowselect && rowInfo?.rowId == 0 && !this.showFirstRow))) {
|
|
535
531
|
this.items.push(row);
|
|
536
532
|
if (rowInfo?.rowId == 0) {
|
|
537
533
|
this.showFirstRow = true;
|
|
@@ -551,16 +547,16 @@ class TableComponent extends StylableComponent {
|
|
|
551
547
|
onRowDeselect: (row, e) => {
|
|
552
548
|
if (this.multiselect) {
|
|
553
549
|
this.ngZone.run(() => {
|
|
554
|
-
this.items = pullAllWith(this.items, [row], isEqual);
|
|
550
|
+
this.items = _.pullAllWith(this.items, [row], _.isEqual);
|
|
555
551
|
this.selectedItems = this.callDataGridMethod('getSelectedRows');
|
|
556
552
|
this.invokeEventCallback('rowdeselect', { $data: row, $event: e, row });
|
|
557
553
|
const rowData = this.addRowIndex(row);
|
|
558
554
|
if (this.getConfiguredState() !== 'none' && unsupportedStatePersistenceTypes.indexOf(this.navigation) < 0) {
|
|
559
555
|
const obj = { page: this.dataNavigator.dn.currentPage, index: rowData.$index - 1 };
|
|
560
556
|
const widgetState = this.statePersistence.getWidgetState(this);
|
|
561
|
-
if (get(widgetState, 'selectedItem')) {
|
|
562
|
-
remove(widgetState.selectedItem, function (selectedItem) {
|
|
563
|
-
return isEqual(selectedItem, obj);
|
|
557
|
+
if (_.get(widgetState, 'selectedItem')) {
|
|
558
|
+
_.remove(widgetState.selectedItem, function (selectedItem) {
|
|
559
|
+
return _.isEqual(selectedItem, obj);
|
|
564
560
|
});
|
|
565
561
|
this.statePersistence.removeWidgetState(this, 'selectedItem');
|
|
566
562
|
if (widgetState.selectedItem.length > 0) {
|
|
@@ -603,16 +599,11 @@ class TableComponent extends StylableComponent {
|
|
|
603
599
|
},
|
|
604
600
|
onRowDelete: (row, cancelRowDeleteCallback, e, callBack, options) => {
|
|
605
601
|
this.ngZone.run(() => {
|
|
606
|
-
this.deleteRecord(extend({}, options, {
|
|
607
|
-
row,
|
|
608
|
-
'cancelRowDeleteCallback': cancelRowDeleteCallback,
|
|
609
|
-
'evt': e,
|
|
610
|
-
'callBack': callBack
|
|
611
|
-
}));
|
|
602
|
+
this.deleteRecord(_.extend({}, options, { row, 'cancelRowDeleteCallback': cancelRowDeleteCallback, 'evt': e, 'callBack': callBack }));
|
|
612
603
|
});
|
|
613
604
|
},
|
|
614
605
|
onRowInsert: (row, e, callBack, options) => {
|
|
615
|
-
this.insertRecord(extend({}, options, { row, event: e, 'callBack': callBack }));
|
|
606
|
+
this.insertRecord(_.extend({}, options, { row, event: e, 'callBack': callBack }));
|
|
616
607
|
},
|
|
617
608
|
beforeRowUpdate: (row, eventName) => {
|
|
618
609
|
if (this._liveTableParent) {
|
|
@@ -621,7 +612,7 @@ class TableComponent extends StylableComponent {
|
|
|
621
612
|
this.prevData = getClonedObject(row);
|
|
622
613
|
},
|
|
623
614
|
afterRowUpdate: (row, e, callBack, options) => {
|
|
624
|
-
this.updateRecord(extend({}, options, { row, 'prevData': this.prevData, 'event': e, 'callBack': callBack }));
|
|
615
|
+
this.updateRecord(_.extend({}, options, { row, 'prevData': this.prevData, 'event': e, 'callBack': callBack }));
|
|
625
616
|
},
|
|
626
617
|
onBeforeRowUpdate: (row, e, options) => {
|
|
627
618
|
return this.invokeEventCallback('beforerowupdate', { $event: e, $data: row, row, options: options });
|
|
@@ -702,7 +693,7 @@ class TableComponent extends StylableComponent {
|
|
|
702
693
|
const customExprView = this.customExprViewRef.createEmbeddedView(tmpl, context);
|
|
703
694
|
const rootNode = customExprView.rootNodes[0];
|
|
704
695
|
const fieldName = rootNode.getAttribute('data-col-identifier');
|
|
705
|
-
extend(colDef, this.columns[fieldName]);
|
|
696
|
+
_.extend(colDef, this.columns[fieldName]);
|
|
706
697
|
if (!summaryRow) {
|
|
707
698
|
this.customExprCompiledTl[fieldName + index] = rootNode;
|
|
708
699
|
}
|
|
@@ -930,7 +921,7 @@ class TableComponent extends StylableComponent {
|
|
|
930
921
|
if (this.gridOptions.isNavTypeScrollOrOndemand()) {
|
|
931
922
|
this.actionRowIndex = parseInt(val);
|
|
932
923
|
this.setDataGridOption('actionRowIndex', this.actionRowIndex);
|
|
933
|
-
if (!isNaN(this.actionRowIndex)) {
|
|
924
|
+
if (!_.isNaN(this.actionRowIndex)) {
|
|
934
925
|
this.actionRowPage = Math.floor(this.actionRowIndex / this.pagesize) + 1;
|
|
935
926
|
this.setDataGridOption('actionRowPage', this.actionRowPage || this.gridOptions.actionRowPage);
|
|
936
927
|
}
|
|
@@ -972,7 +963,7 @@ class TableComponent extends StylableComponent {
|
|
|
972
963
|
clearForm: this.clearForm.bind(this),
|
|
973
964
|
callLoadInlineWidgetData: () => {
|
|
974
965
|
this.fullFieldDefs.forEach(col => {
|
|
975
|
-
if (isUndefined(col.isDataSetBound)) {
|
|
966
|
+
if (_.isUndefined(col.isDataSetBound)) {
|
|
976
967
|
triggerFn(col.loadInlineWidgetData && col.loadInlineWidgetData.bind(col));
|
|
977
968
|
}
|
|
978
969
|
});
|
|
@@ -1009,12 +1000,12 @@ class TableComponent extends StylableComponent {
|
|
|
1009
1000
|
const listenersToRemove = [
|
|
1010
1001
|
// Updates pagination, filter, sort etc options for service and crud variables
|
|
1011
1002
|
this.app.subscribe('check-state-persistence-options', options => {
|
|
1012
|
-
let dataSourceName = get(this.datasource, 'name');
|
|
1003
|
+
let dataSourceName = _.get(this.datasource, 'name');
|
|
1013
1004
|
// in Prefabs, this.datasource is not resolved at the time of variable invocation, so additional check is required.
|
|
1014
1005
|
if (!dataSourceName) {
|
|
1015
1006
|
dataSourceName = extractDataSourceName(this.binddatasource);
|
|
1016
1007
|
}
|
|
1017
|
-
if (get(options, 'variable.name') !== dataSourceName) {
|
|
1008
|
+
if (_.get(options, 'variable.name') !== dataSourceName) {
|
|
1018
1009
|
return;
|
|
1019
1010
|
}
|
|
1020
1011
|
if (this._pageLoad && this.getConfiguredState() !== 'none') {
|
|
@@ -1061,7 +1052,7 @@ class TableComponent extends StylableComponent {
|
|
|
1061
1052
|
ngAfterContentInit() {
|
|
1062
1053
|
super.ngAfterContentInit();
|
|
1063
1054
|
this.headerConfig = this.headerConfig.filter(this.filterEmptyValues.bind(this));
|
|
1064
|
-
remove(this.fieldDefs, f => f === undefined);
|
|
1055
|
+
_.remove(this.fieldDefs, f => f === undefined);
|
|
1065
1056
|
const runModeInitialProperties = {
|
|
1066
1057
|
showrowindex: 'showRowIndex',
|
|
1067
1058
|
multiselect: 'multiselect',
|
|
@@ -1109,7 +1100,7 @@ class TableComponent extends StylableComponent {
|
|
|
1109
1100
|
this.gridOptions.loadingdatamsg = this.loadingdatamsg;
|
|
1110
1101
|
// When loadondemand property is enabled(deferload="true") and show is true, only the column titles of the datatable are rendered, the data(body of the datatable) is not at all rendered.
|
|
1111
1102
|
// Because the griddata is setting before the datatable dom is rendered but we are sending empty data to the datatable.
|
|
1112
|
-
if (!isEmpty(this.gridData)) {
|
|
1103
|
+
if (!_.isEmpty(this.gridData)) {
|
|
1113
1104
|
this.gridOptions.data = getClonedObject(this.gridData);
|
|
1114
1105
|
}
|
|
1115
1106
|
this.gridOptions.messages = {
|
|
@@ -1118,7 +1109,7 @@ class TableComponent extends StylableComponent {
|
|
|
1118
1109
|
this.datagridElement = $(this._tableElement.nativeElement);
|
|
1119
1110
|
this.gridElement = this.$element;
|
|
1120
1111
|
this.$element.css({ 'position': 'relative' });
|
|
1121
|
-
forEach(runModeInitialProperties, (value, key) => {
|
|
1112
|
+
_.forEach(runModeInitialProperties, (value, key) => {
|
|
1122
1113
|
if (isDefined(this[key])) {
|
|
1123
1114
|
this.gridOptions[value] = (this[key] === 'true' || this[key] === true);
|
|
1124
1115
|
}
|
|
@@ -1146,17 +1137,17 @@ class TableComponent extends StylableComponent {
|
|
|
1146
1137
|
return mode && mode.toLowerCase();
|
|
1147
1138
|
}
|
|
1148
1139
|
handleStateParams(widgetState, options) {
|
|
1149
|
-
if (get(widgetState, 'selectedItem')) {
|
|
1140
|
+
if (_.get(widgetState, 'selectedItem')) {
|
|
1150
1141
|
this._selectedItemsExist = true;
|
|
1151
1142
|
}
|
|
1152
1143
|
options.options = options.options || {};
|
|
1153
|
-
if (get(widgetState, 'pagination')) {
|
|
1144
|
+
if (_.get(widgetState, 'pagination')) {
|
|
1154
1145
|
options.options.page = widgetState.pagination;
|
|
1155
|
-
if (get(widgetState, 'sort')) {
|
|
1146
|
+
if (_.get(widgetState, 'sort')) {
|
|
1156
1147
|
this.sortStateHandler(widgetState);
|
|
1157
|
-
options.options.orderBy = get(widgetState, 'sort.field') + ' ' + get(widgetState, 'sort.direction');
|
|
1148
|
+
options.options.orderBy = _.get(widgetState, 'sort.field') + ' ' + _.get(widgetState, 'sort.direction');
|
|
1158
1149
|
}
|
|
1159
|
-
if (get(widgetState, 'search')) {
|
|
1150
|
+
if (_.get(widgetState, 'search')) {
|
|
1160
1151
|
setTimeout(() => {
|
|
1161
1152
|
this.searchStateHandler(widgetState);
|
|
1162
1153
|
}, 500);
|
|
@@ -1165,15 +1156,15 @@ class TableComponent extends StylableComponent {
|
|
|
1165
1156
|
}
|
|
1166
1157
|
else {
|
|
1167
1158
|
options.options.page = 1;
|
|
1168
|
-
if (get(widgetState, 'search')) {
|
|
1159
|
+
if (_.get(widgetState, 'search')) {
|
|
1169
1160
|
setTimeout(() => {
|
|
1170
1161
|
this.searchStateHandler(widgetState);
|
|
1171
1162
|
}, 500);
|
|
1172
1163
|
options.options.filterFields = this.getFilterFields(widgetState.search);
|
|
1173
1164
|
}
|
|
1174
|
-
if (get(widgetState, 'sort')) {
|
|
1165
|
+
if (_.get(widgetState, 'sort')) {
|
|
1175
1166
|
this.sortStateHandler(widgetState);
|
|
1176
|
-
options.options.orderBy = get(widgetState, 'sort.field') + ' ' + get(widgetState, 'sort.direction');
|
|
1167
|
+
options.options.orderBy = _.get(widgetState, 'sort.field') + ' ' + _.get(widgetState, 'sort.direction');
|
|
1177
1168
|
}
|
|
1178
1169
|
}
|
|
1179
1170
|
return options;
|
|
@@ -1187,17 +1178,17 @@ class TableComponent extends StylableComponent {
|
|
|
1187
1178
|
}
|
|
1188
1179
|
sortStateHandler(widgetState) {
|
|
1189
1180
|
const $gridElement = this.datagridElement;
|
|
1190
|
-
const $sortIcon = $gridElement.find('th[data-col-field="' + get(widgetState, 'sort.field') + '"] .sort-icon');
|
|
1191
|
-
if (get(widgetState, 'sort.direction') === 'asc' && $sortIcon.length) {
|
|
1181
|
+
const $sortIcon = $gridElement.find('th[data-col-field="' + _.get(widgetState, 'sort.field') + '"] .sort-icon');
|
|
1182
|
+
if (_.get(widgetState, 'sort.direction') === 'asc' && $sortIcon.length) {
|
|
1192
1183
|
$sortIcon.addClass('asc wi wi-long-arrow-up');
|
|
1193
1184
|
}
|
|
1194
|
-
else if (get(widgetState, 'sort.direction') === 'desc' && $sortIcon.length) {
|
|
1185
|
+
else if (_.get(widgetState, 'sort.direction') === 'desc' && $sortIcon.length) {
|
|
1195
1186
|
$sortIcon.addClass('desc wi wi-long-arrow-down');
|
|
1196
1187
|
}
|
|
1197
1188
|
}
|
|
1198
1189
|
searchStateHandler(widgetState) {
|
|
1199
|
-
if (isArray(widgetState.search)) {
|
|
1200
|
-
forEach(widgetState.search, (filterObj) => {
|
|
1190
|
+
if (_.isArray(widgetState.search)) {
|
|
1191
|
+
_.forEach(widgetState.search, (filterObj) => {
|
|
1201
1192
|
if (this.rowFilter[filterObj.field]) {
|
|
1202
1193
|
this.rowFilter[filterObj.field].value = filterObj.value;
|
|
1203
1194
|
this.rowFilter[filterObj.field].matchMode = filterObj.matchMode;
|
|
@@ -1224,11 +1215,11 @@ class TableComponent extends StylableComponent {
|
|
|
1224
1215
|
}
|
|
1225
1216
|
// Compares the prevFilterCriteria Rules with the new rules
|
|
1226
1217
|
compareFilterExpressions(prevFilters, newFilters) {
|
|
1227
|
-
return !!((prevFilters.length === newFilters.length) && (isEqual(prevFilters, newFilters)));
|
|
1218
|
+
return !!((prevFilters.length === newFilters.length) && (_.isEqual(prevFilters, newFilters)));
|
|
1228
1219
|
}
|
|
1229
1220
|
// Set the table lastActionPerformed to Filter Criteria and maintain the prevFilterExpression
|
|
1230
1221
|
setLastActionToFilterCriteria() {
|
|
1231
|
-
this.prevFilterExpression = get(this.datasource, 'filterExpressions.rules') ? getClonedObject(this.datasource.filterExpressions.rules) : getClonedObject([].concat(this.datasource.dataBinding));
|
|
1222
|
+
this.prevFilterExpression = _.get(this.datasource, 'filterExpressions.rules') ? getClonedObject(this.datasource.filterExpressions.rules) : getClonedObject([].concat(this.datasource.dataBinding));
|
|
1232
1223
|
this.gridOptions.setLastActionPerformed(this.gridOptions.ACTIONS.FILTER_CRITERIA);
|
|
1233
1224
|
this.gridOptions.setIsSearchTrigerred(true);
|
|
1234
1225
|
}
|
|
@@ -1242,8 +1233,8 @@ class TableComponent extends StylableComponent {
|
|
|
1242
1233
|
}
|
|
1243
1234
|
// Update the lastActionPerformed to Filter_Criteria, when there is change in the Variable filter criteria rules
|
|
1244
1235
|
checkIfVarFiltersApplied() {
|
|
1245
|
-
if (!isEmpty(get(this.datasource, 'filterExpressions.rules')) || !isEmpty(get(this.datasource, 'dataBinding'))) {
|
|
1246
|
-
const currentFilterExpr = get(this.datasource, 'filterExpressions.rules') ? this.datasource.filterExpressions.rules : [].concat(this.datasource.dataBinding);
|
|
1236
|
+
if (!_.isEmpty(_.get(this.datasource, 'filterExpressions.rules')) || !_.isEmpty(_.get(this.datasource, 'dataBinding'))) {
|
|
1237
|
+
const currentFilterExpr = _.get(this.datasource, 'filterExpressions.rules') ? this.datasource.filterExpressions.rules : [].concat(this.datasource.dataBinding);
|
|
1247
1238
|
const isEqual = this.compareFilterExpressions(this.prevFilterExpression, currentFilterExpr);
|
|
1248
1239
|
if (!isEqual) {
|
|
1249
1240
|
this.setLastActionToFilterCriteria();
|
|
@@ -1257,29 +1248,29 @@ class TableComponent extends StylableComponent {
|
|
|
1257
1248
|
this.checkIfVarFiltersApplied();
|
|
1258
1249
|
}
|
|
1259
1250
|
// State handling for static variables
|
|
1260
|
-
if (get(this.datasource, 'category') === 'wm.Variable' && this._pageLoad && this.getConfiguredState() !== 'none') {
|
|
1251
|
+
if (_.get(this.datasource, 'category') === 'wm.Variable' && this._pageLoad && this.getConfiguredState() !== 'none') {
|
|
1261
1252
|
const widgetState = this.statePersistence.getWidgetState(this);
|
|
1262
1253
|
this._pageLoad = false;
|
|
1263
|
-
if (get(widgetState, 'selectedItem')) {
|
|
1254
|
+
if (_.get(widgetState, 'selectedItem')) {
|
|
1264
1255
|
this._selectedItemsExist = true;
|
|
1265
1256
|
}
|
|
1266
1257
|
else {
|
|
1267
1258
|
this.setDataGridOption('selectFirstRow', this.gridfirstrowselect);
|
|
1268
1259
|
}
|
|
1269
|
-
if (get(widgetState, 'search')) {
|
|
1260
|
+
if (_.get(widgetState, 'search')) {
|
|
1270
1261
|
this.searchStateHandler(widgetState);
|
|
1271
1262
|
this.searchSortHandler(widgetState.search, undefined, 'search', true);
|
|
1272
1263
|
}
|
|
1273
|
-
if (get(widgetState, 'sort')) {
|
|
1264
|
+
if (_.get(widgetState, 'sort')) {
|
|
1274
1265
|
this.searchSortHandler(widgetState.sort, undefined, 'sort', true);
|
|
1275
1266
|
this.sortStateHandler(widgetState);
|
|
1276
1267
|
}
|
|
1277
|
-
if (get(widgetState, 'pagination')) {
|
|
1268
|
+
if (_.get(widgetState, 'pagination')) {
|
|
1278
1269
|
this.dataNavigator.pageChanged({ page: widgetState.pagination }, true);
|
|
1279
1270
|
}
|
|
1280
1271
|
}
|
|
1281
1272
|
// After the setting the watch on navigator, dataset is triggered with undefined. In this case, return here.
|
|
1282
|
-
if (this.dataNavigatorWatched && isUndefined(newVal) && this.__fullData) {
|
|
1273
|
+
if (this.dataNavigatorWatched && _.isUndefined(newVal) && this.__fullData) {
|
|
1283
1274
|
return;
|
|
1284
1275
|
}
|
|
1285
1276
|
// If variable is in loading state, show loading icon
|
|
@@ -1313,7 +1304,7 @@ class TableComponent extends StylableComponent {
|
|
|
1313
1304
|
else {
|
|
1314
1305
|
this.resetPageNavigation();
|
|
1315
1306
|
// If the dataset is undefined or empty or table is bound to static variable then set variableInflight to false inorder to update the status
|
|
1316
|
-
if (newVal === '' || newVal === undefined || get(this.datasource, 'category') === 'wm.Variable') {
|
|
1307
|
+
if (newVal === '' || newVal === undefined || _.get(this.datasource, 'category') === 'wm.Variable') {
|
|
1317
1308
|
this.variableInflight = false;
|
|
1318
1309
|
}
|
|
1319
1310
|
/*for run mode, disabling the loader and showing no data found message if dataset is not valid*/
|
|
@@ -1325,8 +1316,7 @@ class TableComponent extends StylableComponent {
|
|
|
1325
1316
|
if (!this.isNavigationEnabled() && newVal) {
|
|
1326
1317
|
this.checkFiltersApplied(this.getSortExpr());
|
|
1327
1318
|
}
|
|
1328
|
-
|
|
1329
|
-
if (!isObject(newVal) || newVal === '' || (newVal && newVal.dataValue === '')) {
|
|
1319
|
+
if (!_.isObject(newVal) || newVal === '' || (newVal && newVal.dataValue === '')) {
|
|
1330
1320
|
if (!this.variableInflight) {
|
|
1331
1321
|
// If variable has finished loading and resultSet is empty, ender empty data
|
|
1332
1322
|
this.setGridData([]);
|
|
@@ -1349,7 +1339,7 @@ class TableComponent extends StylableComponent {
|
|
|
1349
1339
|
}
|
|
1350
1340
|
addRowIndex(row) {
|
|
1351
1341
|
const rowData = getClonedObject(row);
|
|
1352
|
-
const rowIndex = indexOf(this.gridOptions.data, row);
|
|
1342
|
+
const rowIndex = _.indexOf(this.gridOptions.data, row);
|
|
1353
1343
|
if (rowIndex < 0) {
|
|
1354
1344
|
return row;
|
|
1355
1345
|
}
|
|
@@ -1375,7 +1365,7 @@ class TableComponent extends StylableComponent {
|
|
|
1375
1365
|
getClonedRowObject(rowData) {
|
|
1376
1366
|
const row = getClonedObject(rowData);
|
|
1377
1367
|
row.getProperty = field => {
|
|
1378
|
-
return get(row, field);
|
|
1368
|
+
return _.get(row, field);
|
|
1379
1369
|
};
|
|
1380
1370
|
row.$isFirst = row.$index === 1;
|
|
1381
1371
|
row.$isLast = this.gridData.length === row.$index;
|
|
@@ -1391,7 +1381,7 @@ class TableComponent extends StylableComponent {
|
|
|
1391
1381
|
}
|
|
1392
1382
|
else {
|
|
1393
1383
|
// If grid is in edit mode or grid has data, dont show the no data message
|
|
1394
|
-
if (!this.isGridEditMode && isEmpty(this.dataset)) {
|
|
1384
|
+
if (!this.isGridEditMode && _.isEmpty(this.dataset)) {
|
|
1395
1385
|
this.callDataGridMethod('setStatus', 'nodata', this.nodatamessage);
|
|
1396
1386
|
}
|
|
1397
1387
|
else {
|
|
@@ -1410,7 +1400,7 @@ class TableComponent extends StylableComponent {
|
|
|
1410
1400
|
}
|
|
1411
1401
|
clearForm(newRow) {
|
|
1412
1402
|
const ctrls = this.ngform.controls;
|
|
1413
|
-
keys(this.ngform.controls).forEach(key => {
|
|
1403
|
+
_.keys(this.ngform.controls).forEach(key => {
|
|
1414
1404
|
// If new row, clear the controls in the new row. Else, clear the controls in edit row
|
|
1415
1405
|
if (!key.endsWith('_filter') && ((key.endsWith('_new') && newRow) || (!key.endsWith('_new') && !newRow))) {
|
|
1416
1406
|
ctrls[key].setValue('');
|
|
@@ -1462,7 +1452,7 @@ class TableComponent extends StylableComponent {
|
|
|
1462
1452
|
const data = this.filternullrecords ? this.removeEmptyRecords(serverData) : serverData;
|
|
1463
1453
|
// fix for [WMS-24012] set variableinflight flag to false for static variables
|
|
1464
1454
|
// If the table is bound to some widget and not bound to any variable (ex: Table1.selectedItem) then set variableInflight to false
|
|
1465
|
-
if (get(this.datasource, 'category') === 'wm.Variable' || get(this.datasource, 'category') === undefined) {
|
|
1455
|
+
if (_.get(this.datasource, 'category') === 'wm.Variable' || _.get(this.datasource, 'category') === undefined) {
|
|
1466
1456
|
this.variableInflight = false;
|
|
1467
1457
|
}
|
|
1468
1458
|
if (!this.variableInflight) {
|
|
@@ -1480,7 +1470,7 @@ class TableComponent extends StylableComponent {
|
|
|
1480
1470
|
return;
|
|
1481
1471
|
}
|
|
1482
1472
|
const option = {};
|
|
1483
|
-
if (isDefined && (!isEqual(newVal, this.gridOptions[optionName]) || forceSet)) {
|
|
1473
|
+
if (isDefined && (!_.isEqual(newVal, this.gridOptions[optionName]) || forceSet)) {
|
|
1484
1474
|
option[optionName] = newVal;
|
|
1485
1475
|
this.datagridElement.datatable('option', option);
|
|
1486
1476
|
this.gridOptions[optionName] = newVal;
|
|
@@ -1504,13 +1494,13 @@ class TableComponent extends StylableComponent {
|
|
|
1504
1494
|
if (!this.fieldDefs.length) {
|
|
1505
1495
|
return;
|
|
1506
1496
|
}
|
|
1507
|
-
rowActionCol = find(this.fullFieldDefs, { 'field': ROW_OPS_FIELD, type: 'custom' }); // Check if column is fetched from markup
|
|
1508
|
-
remove(this.fieldDefs, { type: 'custom', field: ROW_OPS_FIELD }); // Removing operations column
|
|
1509
|
-
remove(this.headerConfig, { field: rowOperationsColumn.field });
|
|
1497
|
+
rowActionCol = _.find(this.fullFieldDefs, { 'field': ROW_OPS_FIELD, type: 'custom' }); // Check if column is fetched from markup
|
|
1498
|
+
_.remove(this.fieldDefs, { type: 'custom', field: ROW_OPS_FIELD }); // Removing operations column
|
|
1499
|
+
_.remove(this.headerConfig, { field: rowOperationsColumn.field });
|
|
1510
1500
|
/*Add the column for row operations only if at-least one operation has been enabled.*/
|
|
1511
1501
|
if (this.rowActions.length) {
|
|
1512
1502
|
if (rowActionCol) { // If column is present in markup, push the column or push the default column
|
|
1513
|
-
insertPosition = rowActionCol.rowactionsposition ? toNumber(rowActionCol.rowactionsposition) : this.fieldDefs.length;
|
|
1503
|
+
insertPosition = rowActionCol.rowactionsposition ? _.toNumber(rowActionCol.rowactionsposition) : this.fieldDefs.length;
|
|
1514
1504
|
this.fieldDefs.splice(insertPosition, 0, rowActionCol);
|
|
1515
1505
|
if (insertPosition === 0) {
|
|
1516
1506
|
this.headerConfig.unshift(config);
|
|
@@ -1539,15 +1529,15 @@ class TableComponent extends StylableComponent {
|
|
|
1539
1529
|
if (isDefined(newVal)) {
|
|
1540
1530
|
// Watch will not be triggered if dataset and new value are equal. So trigger the property change handler manually
|
|
1541
1531
|
// This happens in case, if dataset is directly updated.
|
|
1542
|
-
if (isEqual(this.dataset, newVal)) {
|
|
1532
|
+
if (_.isEqual(this.dataset, newVal)) {
|
|
1543
1533
|
this.watchVariableDataSet(newVal);
|
|
1544
1534
|
}
|
|
1545
1535
|
else {
|
|
1546
|
-
if (isArray(newVal)) {
|
|
1536
|
+
if (_.isArray(newVal)) {
|
|
1547
1537
|
this.widget.dataset = [].concat(newVal);
|
|
1548
1538
|
}
|
|
1549
|
-
else if (isObject(newVal)) {
|
|
1550
|
-
this.widget.dataset = extend({}, newVal);
|
|
1539
|
+
else if (_.isObject(newVal)) {
|
|
1540
|
+
this.widget.dataset = _.extend({}, newVal);
|
|
1551
1541
|
}
|
|
1552
1542
|
else {
|
|
1553
1543
|
this.widget.dataset = newVal;
|
|
@@ -1627,7 +1617,7 @@ class TableComponent extends StylableComponent {
|
|
|
1627
1617
|
if (this.getConfiguredState() !== 'none' && this._selectedItemsExist && serviceData.length) {
|
|
1628
1618
|
const widgetState = this.statePersistence.getWidgetState(this);
|
|
1629
1619
|
let currentPageItems;
|
|
1630
|
-
if (get(widgetState, 'selectedItem')) {
|
|
1620
|
+
if (_.get(widgetState, 'selectedItem')) {
|
|
1631
1621
|
currentPageItems = widgetState.selectedItem.filter(val => {
|
|
1632
1622
|
return val.page === this.dataNavigator.dn.currentPage;
|
|
1633
1623
|
});
|
|
@@ -1635,7 +1625,7 @@ class TableComponent extends StylableComponent {
|
|
|
1635
1625
|
// if an item is already selected, don't trigger onSelect event for it again
|
|
1636
1626
|
if (currentPageItems.length && this.selecteditem.length !== widgetState.selectedItem.length) {
|
|
1637
1627
|
// don't reassign this.selecteditem if selected items already exist.
|
|
1638
|
-
if (isArray(this.selecteditem)) {
|
|
1628
|
+
if (_.isArray(this.selecteditem)) {
|
|
1639
1629
|
currentPageItems.forEach((item) => {
|
|
1640
1630
|
this.selectItem(item.index, undefined);
|
|
1641
1631
|
});
|
|
@@ -1652,15 +1642,15 @@ class TableComponent extends StylableComponent {
|
|
|
1652
1642
|
this.fieldDefs = []; // empty the form fields
|
|
1653
1643
|
// empty the filter field template refs.
|
|
1654
1644
|
this.filterTmpl._results = [];
|
|
1655
|
-
if (isEmpty(columns)) {
|
|
1645
|
+
if (_.isEmpty(columns)) {
|
|
1656
1646
|
return;
|
|
1657
1647
|
}
|
|
1658
1648
|
let tmpl = '';
|
|
1659
1649
|
columns.forEach(col => {
|
|
1660
1650
|
let attrsTmpl = '';
|
|
1661
1651
|
let customTmpl = '';
|
|
1662
|
-
forEach(col, (val, key) => {
|
|
1663
|
-
if (!isUndefined(val) && val !== '') {
|
|
1652
|
+
_.forEach(col, (val, key) => {
|
|
1653
|
+
if (!_.isUndefined(val) && val !== '') {
|
|
1664
1654
|
// If custom expression is present, keep it inside table column. Else, keep as attribute
|
|
1665
1655
|
if (key === 'customExpression') {
|
|
1666
1656
|
customTmpl = val;
|
|
@@ -1699,7 +1689,7 @@ class TableComponent extends StylableComponent {
|
|
|
1699
1689
|
/*call utility function to prepare fieldDefs for grid against given data (A MAX OF 10 COLUMNS ONLY)*/
|
|
1700
1690
|
defaultFieldDefs = prepareFieldDefs(properties);
|
|
1701
1691
|
/*append additional properties*/
|
|
1702
|
-
forEach(defaultFieldDefs, columnDef => {
|
|
1692
|
+
_.forEach(defaultFieldDefs, columnDef => {
|
|
1703
1693
|
columnDef.binding = columnDef.field;
|
|
1704
1694
|
columnDef.caption = columnDef.displayName;
|
|
1705
1695
|
columnDef.pcDisplay = true;
|
|
@@ -1721,7 +1711,7 @@ class TableComponent extends StylableComponent {
|
|
|
1721
1711
|
this.invokeEventCallback('beforedatarender', { $data: data, $columns: this.columns, data: data, columns: this.columns });
|
|
1722
1712
|
defaultFieldDefs = [];
|
|
1723
1713
|
// Apply the changes made by the user
|
|
1724
|
-
forEach(this.columns, val => {
|
|
1714
|
+
_.forEach(this.columns, val => {
|
|
1725
1715
|
defaultFieldDefs.push(val);
|
|
1726
1716
|
});
|
|
1727
1717
|
this.generateDynamicColumns(defaultFieldDefs);
|
|
@@ -1731,11 +1721,11 @@ class TableComponent extends StylableComponent {
|
|
|
1731
1721
|
/* check whether data is valid or not */
|
|
1732
1722
|
const dataValid = data && !data.error;
|
|
1733
1723
|
/*if the data is type json object, make it an array of the object*/
|
|
1734
|
-
if (dataValid && !isArray(data)) {
|
|
1724
|
+
if (dataValid && !_.isArray(data)) {
|
|
1735
1725
|
data = [data];
|
|
1736
1726
|
}
|
|
1737
1727
|
/* if the data is empty, show nodatamessage */
|
|
1738
|
-
if (isEmpty(data)) {
|
|
1728
|
+
if (_.isEmpty(data)) {
|
|
1739
1729
|
this.setGridData(data);
|
|
1740
1730
|
return;
|
|
1741
1731
|
}
|
|
@@ -1752,7 +1742,7 @@ class TableComponent extends StylableComponent {
|
|
|
1752
1742
|
let pagingOptions;
|
|
1753
1743
|
if (this.datasource && this.datasource.execute(DataSource.Operation.IS_PAGEABLE)) {
|
|
1754
1744
|
pagingOptions = this.datasource.execute(DataSource.Operation.GET_PAGING_OPTIONS);
|
|
1755
|
-
sortExp = isEmpty(pagingOptions) ? '' : getOrderByExpr(pagingOptions.sort);
|
|
1745
|
+
sortExp = _.isEmpty(pagingOptions) ? '' : getOrderByExpr(pagingOptions.sort);
|
|
1756
1746
|
}
|
|
1757
1747
|
return sortExp || '';
|
|
1758
1748
|
}
|
|
@@ -1778,7 +1768,7 @@ class TableComponent extends StylableComponent {
|
|
|
1778
1768
|
}
|
|
1779
1769
|
// if table is inside list then table dataset will be set as "item.XXX" and there is no datasource.
|
|
1780
1770
|
// So extracting datasource from the datset bound expression.
|
|
1781
|
-
if (this.parentList && !this.datasource && startsWith(this.binddataset, 'item')) {
|
|
1771
|
+
if (this.parentList && !this.datasource && _.startsWith(this.binddataset, 'item')) {
|
|
1782
1772
|
this.datasource = getDatasourceFromExpr(this.widget.$attrs.get('datasetboundexpr'), this);
|
|
1783
1773
|
}
|
|
1784
1774
|
if (this.gridOptions.isNavTypeScrollOrOndemand()) {
|
|
@@ -1795,7 +1785,7 @@ class TableComponent extends StylableComponent {
|
|
|
1795
1785
|
}
|
|
1796
1786
|
// for Static Variables with Retain State enabled, prevent Table from rendering more than once
|
|
1797
1787
|
// Fix for [WMS-25284]: Render table that is inside list widget and bound to static Variable
|
|
1798
|
-
if (!(get(this.datasource, 'category') === 'wm.Variable' && this._pageLoad && this.getConfiguredState() !== 'none') || (this.parentList && startsWith(this.binddataset, 'item'))) {
|
|
1788
|
+
if (!(_.get(this.datasource, 'category') === 'wm.Variable' && this._pageLoad && this.getConfiguredState() !== 'none') || (this.parentList && _.startsWith(this.binddataset, 'item'))) {
|
|
1799
1789
|
this.watchVariableDataSet(nv);
|
|
1800
1790
|
}
|
|
1801
1791
|
break;
|
|
@@ -1846,7 +1836,7 @@ class TableComponent extends StylableComponent {
|
|
|
1846
1836
|
this.exportOptions = [];
|
|
1847
1837
|
if (nv) {
|
|
1848
1838
|
// Populate options for export drop down menu
|
|
1849
|
-
forEach(split(nv, ','), type => {
|
|
1839
|
+
_.forEach(_.split(nv, ','), type => {
|
|
1850
1840
|
this.exportOptions.push({
|
|
1851
1841
|
label: type,
|
|
1852
1842
|
icon: exportIconMapping[type]
|
|
@@ -1856,7 +1846,7 @@ class TableComponent extends StylableComponent {
|
|
|
1856
1846
|
break;
|
|
1857
1847
|
case 'shownewrow':
|
|
1858
1848
|
// Enable new row if shownew is true or addNewRow buton is present
|
|
1859
|
-
enableNewRow = nv || some(this.actions, act => includes(act.action, 'addNewRow()'));
|
|
1849
|
+
enableNewRow = nv || _.some(this.actions, act => _.includes(act.action, 'addNewRow()'));
|
|
1860
1850
|
this.callDataGridMethod('option', 'actionsEnabled.new', enableNewRow);
|
|
1861
1851
|
break;
|
|
1862
1852
|
case 'pagesize':
|
|
@@ -1911,11 +1901,11 @@ class TableComponent extends StylableComponent {
|
|
|
1911
1901
|
populateActions() {
|
|
1912
1902
|
this._actions.header = [];
|
|
1913
1903
|
this._actions.footer = [];
|
|
1914
|
-
forEach(this.actions, (action) => {
|
|
1915
|
-
if (includes(action.position, 'header')) {
|
|
1904
|
+
_.forEach(this.actions, (action) => {
|
|
1905
|
+
if (_.includes(action.position, 'header')) {
|
|
1916
1906
|
this._actions.header.push(action);
|
|
1917
1907
|
}
|
|
1918
|
-
if (includes(action.position, 'footer')) {
|
|
1908
|
+
if (_.includes(action.position, 'footer')) {
|
|
1919
1909
|
this._actions.footer.push(action);
|
|
1920
1910
|
}
|
|
1921
1911
|
});
|
|
@@ -1984,9 +1974,9 @@ class TableComponent extends StylableComponent {
|
|
|
1984
1974
|
if (data) {
|
|
1985
1975
|
this.serverData = data;
|
|
1986
1976
|
}
|
|
1987
|
-
if (isObject(item)) {
|
|
1988
|
-
item = omitBy(item, (value) => {
|
|
1989
|
-
return isArray(value) && isEmpty(value);
|
|
1977
|
+
if (_.isObject(item)) {
|
|
1978
|
+
item = _.omitBy(item, (value) => {
|
|
1979
|
+
return _.isArray(value) && _.isEmpty(value);
|
|
1990
1980
|
});
|
|
1991
1981
|
}
|
|
1992
1982
|
this.callDataGridMethod('selectRow', item, true);
|
|
@@ -2001,7 +1991,7 @@ class TableComponent extends StylableComponent {
|
|
|
2001
1991
|
this.checkFiltersApplied(this.getSortExpr());
|
|
2002
1992
|
if (this._isClientSearch) {
|
|
2003
1993
|
data = getClonedObject(this.__fullData);
|
|
2004
|
-
if (isObject(data) && !isArray(data)) {
|
|
1994
|
+
if (_.isObject(data) && !_.isArray(data)) {
|
|
2005
1995
|
data = [data];
|
|
2006
1996
|
}
|
|
2007
1997
|
data = this.getSearchResult(data, this.filterInfo);
|
|
@@ -2017,7 +2007,7 @@ class TableComponent extends StylableComponent {
|
|
|
2017
2007
|
}
|
|
2018
2008
|
export($item) {
|
|
2019
2009
|
let filterFields;
|
|
2020
|
-
const sortOptions = isEmpty(this.sortInfo) ? '' : this.sortInfo.field + ' ' + this.sortInfo.direction;
|
|
2010
|
+
const sortOptions = _.isEmpty(this.sortInfo) ? '' : this.sortInfo.field + ' ' + this.sortInfo.direction;
|
|
2021
2011
|
const columns = {};
|
|
2022
2012
|
let isValid;
|
|
2023
2013
|
let requestData;
|
|
@@ -2053,7 +2043,7 @@ class TableComponent extends StylableComponent {
|
|
|
2053
2043
|
if (isValid === false) {
|
|
2054
2044
|
return;
|
|
2055
2045
|
}
|
|
2056
|
-
requestData.fields = values(requestData.columns);
|
|
2046
|
+
requestData.fields = _.values(requestData.columns);
|
|
2057
2047
|
this.datasource.execute(DataSource.Operation.DOWNLOAD, { data: requestData });
|
|
2058
2048
|
}
|
|
2059
2049
|
expandRow(rowId) {
|
|
@@ -2114,14 +2104,14 @@ class TableComponent extends StylableComponent {
|
|
|
2114
2104
|
}
|
|
2115
2105
|
ngOnDetach() {
|
|
2116
2106
|
super.ngOnDetach();
|
|
2117
|
-
if (get(this.datasource, 'category') === 'wm.Variable' && this.getConfiguredState() !== 'none') {
|
|
2107
|
+
if (_.get(this.datasource, 'category') === 'wm.Variable' && this.getConfiguredState() !== 'none') {
|
|
2118
2108
|
this._pageLoad = false;
|
|
2119
2109
|
}
|
|
2120
2110
|
else {
|
|
2121
2111
|
this._pageLoad = true;
|
|
2122
2112
|
}
|
|
2123
2113
|
}
|
|
2124
|
-
static { this.ɵfac = function TableComponent_Factory(t) { return new (t || TableComponent)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(i1.FormBuilder), i0.ɵɵdirectiveInject(i2.App), i0.ɵɵdirectiveInject(i2.DynamicComponentRefProvider), i0.ɵɵdirectiveInject(i2.StatePersistence), i0.ɵɵdirectiveInject(i2.PaginationService), i0.ɵɵdirectiveInject(i2.Viewport), i0.ɵɵdirectiveInject(i3.ListComponent, 8), i0.ɵɵinjectAttribute('dataset.bind'), i0.ɵɵinjectAttribute('datasource.bind'), i0.ɵɵinjectAttribute('readonlygrid'), i0.ɵɵdirectiveInject(i0.NgZone), i0.ɵɵdirectiveInject(i4.TrustAsPipe)
|
|
2114
|
+
static { this.ɵfac = function TableComponent_Factory(t) { return new (t || TableComponent)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(i1.FormBuilder), i0.ɵɵdirectiveInject(i2.App), i0.ɵɵdirectiveInject(i2.DynamicComponentRefProvider), i0.ɵɵdirectiveInject(i2.StatePersistence), i0.ɵɵdirectiveInject(i2.PaginationService), i0.ɵɵdirectiveInject(i2.Viewport), i0.ɵɵdirectiveInject(i3.ListComponent, 8), i0.ɵɵinjectAttribute('dataset.bind'), i0.ɵɵinjectAttribute('datasource.bind'), i0.ɵɵinjectAttribute('readonlygrid'), i0.ɵɵdirectiveInject(i0.NgZone), i0.ɵɵdirectiveInject(i4.TrustAsPipe)); }; }
|
|
2125
2115
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TableComponent, selectors: [["", "wmTable", ""]], contentQueries: function TableComponent_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {
|
|
2126
2116
|
i0.ɵɵcontentQuery(dirIndex, _c0$1, 5);
|
|
2127
2117
|
i0.ɵɵcontentQuery(dirIndex, _c1$1, 5);
|
|
@@ -2167,36 +2157,37 @@ class TableComponent extends StylableComponent {
|
|
|
2167
2157
|
} }, features: [i0.ɵɵProvidersFeature([
|
|
2168
2158
|
provideAs(TableComponent, NG_VALUE_ACCESSOR, true),
|
|
2169
2159
|
provideAsWidgetRef(TableComponent)
|
|
2170
|
-
]), i0.ɵɵInheritDefinitionFeature], attrs: _c16, decls: 29, vars: 4, consts: [["
|
|
2171
|
-
i0.ɵɵtemplate(0, TableComponent_div_0_Template, 8, 4, "div",
|
|
2172
|
-
i0.ɵɵelement(1, "div",
|
|
2173
|
-
i0.ɵɵelementStart(3, "div",
|
|
2174
|
-
i0.ɵɵelement(5, "nav",
|
|
2160
|
+
]), i0.ɵɵInheritDefinitionFeature], attrs: _c16, decls: 29, vars: 4, consts: [["class", "panel-heading", 4, "ngIf"], [1, "app-datagrid"], ["datagridElement", ""], [1, "panel-footer", "clearfix", 3, "hidden"], [1, "app-datagrid-paginator", 3, "hidden"], ["wmPagination", "", "show.bind", "shownavigation", "navigationalign.bind", "navigationalign", "navigationsize.bind", "navigationSize", "navigation.bind", "navControls", "showrecordcount.bind", "showrecordcount", "maxsize.bind", "maxsize", "boundarylinks.bind", "boundarylinks", "forceellipses.bind", "forceellipses", "directionlinks.bind", "directionlinks"], ["class", "app-datagrid-actions", 4, "ngIf"], ["buttonRef", ""], ["anchorRef", ""], ["hidden", ""], ["multiColumnFilterView", ""], ["inlineEditView", ""], ["inlineEditNewView", ""], ["rowActionsView", ""], ["rowExpansionActionView", ""], ["customExprView", ""], ["dynamicTable", ""], ["rowDetailView", ""], [1, "dynamic-table-container"], [1, "panel-heading"], [1, "panel-title"], [1, "pull-left"], [3, "class", 4, "ngIf"], [1, "heading", 3, "innerHTML"], [1, "description", 3, "innerHTML"], ["class", "panel-actions app-datagrid-actions", 4, "ngIf"], [1, "panel-actions", "app-datagrid-actions"], [3, "ngTemplateOutlet", "ngTemplateOutletContext", 4, "ngFor", "ngForOf"], ["wmMenu", "", "dropdown", "", "caption.bind", "appLocale.LABEL_EXPORT", "autoclose", "always", "dataset.bind", "exportOptions", "select.event", "export($item)", "menuposition", "down,left", 4, "ngIf"], [3, "ngTemplateOutlet", "ngTemplateOutletContext"], ["wmMenu", "", "dropdown", "", "caption.bind", "appLocale.LABEL_EXPORT", "autoclose", "always", "dataset.bind", "exportOptions", "select.event", "export($item)", "menuposition", "down,left"], [1, "app-datagrid-actions"], ["wmButton", "", "caption.bind", "btn.displayName", "show.bind", "btn.show", "class.bind", "btn.class", "iconclass.bind", "btn.iconclass", "type", "button", "shortcutkey.bind", "btn.shortcutkey", "tabindex.bind", "btn.tabindex", "hint.bind", "btn.title", "disabled.bind", "btn.disabled", "conditionalclass.bind", "btn.conditionalclass", "conditionalstyle.bind", "btn.conditionalstyle", 3, "ngClass", "click"], ["wmAnchor", "", "caption.bind", "btn.displayName", "show.bind", "btn.show", "class.bind", "btn.class", "iconclass.bind", "btn.iconclass", "shortcutkey.bind", "btn.shortcutkey", "tabindex.bind", "btn.tabindex", "hint.bind", "btn.title", "hyperlink.bind", "btn.hyperlink", "target.bind", "btn.target", "conditionalclass.bind", "btn.conditionalclass", "conditionalstyle.bind", "btn.conditionalstyle", 3, "ngClass", "click"]], template: function TableComponent_Template(rf, ctx) { if (rf & 1) {
|
|
2161
|
+
i0.ɵɵtemplate(0, TableComponent_div_0_Template, 8, 4, "div", 0);
|
|
2162
|
+
i0.ɵɵelement(1, "div", 1, 2);
|
|
2163
|
+
i0.ɵɵelementStart(3, "div", 3)(4, "div", 4);
|
|
2164
|
+
i0.ɵɵelement(5, "nav", 5);
|
|
2175
2165
|
i0.ɵɵelementEnd();
|
|
2176
|
-
i0.ɵɵtemplate(6, TableComponent_div_6_Template, 2, 1, "div",
|
|
2166
|
+
i0.ɵɵtemplate(6, TableComponent_div_6_Template, 2, 1, "div", 6);
|
|
2177
2167
|
i0.ɵɵelementEnd();
|
|
2178
|
-
i0.ɵɵtemplate(7, TableComponent_ng_template_7_Template, 1, 5, "ng-template", null,
|
|
2179
|
-
i0.ɵɵ
|
|
2180
|
-
i0.ɵɵ
|
|
2168
|
+
i0.ɵɵtemplate(7, TableComponent_ng_template_7_Template, 1, 5, "ng-template", null, 7, i0.ɵɵtemplateRefExtractor);
|
|
2169
|
+
i0.ɵɵtemplate(9, TableComponent_ng_template_9_Template, 1, 4, "ng-template", null, 8, i0.ɵɵtemplateRefExtractor);
|
|
2170
|
+
i0.ɵɵelementStart(11, "div", 9);
|
|
2171
|
+
i0.ɵɵelementContainer(12, null, 10)(14, null, 11)(16, null, 12)(18, null, 13)(20, null, 14)(22, null, 15)(24, null, 16)(26, null, 17);
|
|
2181
2172
|
i0.ɵɵelement(28, "div", 18);
|
|
2182
2173
|
i0.ɵɵelementEnd();
|
|
2183
2174
|
} if (rf & 2) {
|
|
2184
2175
|
i0.ɵɵproperty("ngIf", ctx.title || ctx.subheading || ctx.iconclass || ctx.exportOptions.length || ctx._actions.header.length);
|
|
2185
2176
|
i0.ɵɵadvance(3);
|
|
2186
2177
|
i0.ɵɵproperty("hidden", !ctx._actions.footer.length && (!ctx.shownavigation || ctx.onDemandLoad && ctx.dataNavigator.isDisableNext || (ctx.dataNavigator == null ? null : ctx.dataNavigator.dataSize) <= ctx.pagesize));
|
|
2187
|
-
i0.ɵɵadvance();
|
|
2178
|
+
i0.ɵɵadvance(1);
|
|
2188
2179
|
i0.ɵɵproperty("hidden", !(ctx.dataNavigator == null ? null : ctx.dataNavigator.dataSize) && !(ctx.dataNavigator.datasource == null ? null : ctx.dataNavigator.datasource.pagination == null ? null : ctx.dataNavigator.datasource.pagination.next) || !ctx.shownavigation || ctx.onDemandLoad && ctx.dataNavigator.isDisableNext || (ctx.dataNavigator == null ? null : ctx.dataNavigator.dataSize) <= ctx.pagesize);
|
|
2189
2180
|
i0.ɵɵadvance(2);
|
|
2190
2181
|
i0.ɵɵproperty("ngIf", ctx._actions.footer.length);
|
|
2191
2182
|
} }, dependencies: [i5.AnchorComponent, i6.BsDropdownDirective, i7.NgClass, i7.NgForOf, i7.NgIf, i7.NgTemplateOutlet, i8.ButtonComponent, i9.MenuComponent, i10.PaginationComponent], encapsulation: 2 }); }
|
|
2192
2183
|
}
|
|
2193
|
-
(()
|
|
2184
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TableComponent, [{
|
|
2194
2185
|
type: Component,
|
|
2195
2186
|
args: [{ selector: '[wmTable]', providers: [
|
|
2196
2187
|
provideAs(TableComponent, NG_VALUE_ACCESSOR, true),
|
|
2197
2188
|
provideAsWidgetRef(TableComponent)
|
|
2198
|
-
], template: "<div class=\"panel-heading\" *ngIf=\"title || subheading || iconclass || exportOptions.length || _actions.header.length\">\n <h3 class=\"panel-title\">\n <div class=\"pull-left\">\n <i class=\"app-icon panel-icon {{iconclass}}\" *ngIf=\"iconclass\"></i>\n </div>\n <div class=\"pull-left\">\n <div class=\"heading\" [innerHTML]=\"title\"></div>\n <div class=\"description\" [innerHTML]=\"subheading\"></div>\n </div>\n <div class=\"panel-actions app-datagrid-actions\" *ngIf=\"exportOptions.length || _actions.header.length\">\n <ng-container *ngFor=\"let btn of _actions.header
|
|
2199
|
-
}], ()
|
|
2189
|
+
], template: "<div class=\"panel-heading\" *ngIf=\"title || subheading || iconclass || exportOptions.length || _actions.header.length\">\n <h3 class=\"panel-title\">\n <div class=\"pull-left\">\n <i class=\"app-icon panel-icon {{iconclass}}\" *ngIf=\"iconclass\"></i>\n </div>\n <div class=\"pull-left\">\n <div class=\"heading\" [innerHTML]=\"title\"></div>\n <div class=\"description\" [innerHTML]=\"subheading\"></div>\n </div>\n <div class=\"panel-actions app-datagrid-actions\" *ngIf=\"exportOptions.length || _actions.header.length\">\n <ng-container *ngFor=\"let btn of _actions.header\"\n [ngTemplateOutlet]=\"btn.widgetType === 'button' ? buttonRef : anchorRef\" [ngTemplateOutletContext]=\"{btn:btn}\">\n </ng-container>\n <div wmMenu dropdown caption.bind=\"appLocale.LABEL_EXPORT\" *ngIf=\"exportOptions.length\" autoclose=\"always\" attr.name=\"{{name}}-export\"\n dataset.bind=\"exportOptions\" select.event=\"export($item)\" menuposition=\"down,left\"></div>\n </div>\n </h3>\n</div>\n<div class=\"app-datagrid\" #datagridElement></div>\n\n<div class=\"panel-footer clearfix\" [hidden]=\"!_actions.footer.length && (!shownavigation || (onDemandLoad && dataNavigator.isDisableNext) || dataNavigator?.dataSize <= pagesize)\">\n <div class=\"app-datagrid-paginator\" [hidden]=\"(!dataNavigator?.dataSize && !dataNavigator.datasource?.pagination?.next) || !shownavigation || (onDemandLoad && dataNavigator.isDisableNext) || dataNavigator?.dataSize <= pagesize\">\n <nav wmPagination show.bind=\"shownavigation\" navigationalign.bind=\"navigationalign\"\n navigationsize.bind=\"navigationSize\"\n navigation.bind=\"navControls\" showrecordcount.bind=\"showrecordcount\" maxsize.bind=\"maxsize\"\n boundarylinks.bind=\"boundarylinks\"\n forceellipses.bind=\"forceellipses\" directionlinks.bind=\"directionlinks\"></nav>\n </div>\n <div class=\"app-datagrid-actions\" *ngIf=\"_actions.footer.length\">\n <ng-container *ngFor=\"let btn of _actions.footer\"\n [ngTemplateOutlet]=\"btn.widgetType === 'button' ? buttonRef : anchorRef\" [ngTemplateOutletContext]=\"{btn:btn}\">\n </ng-container>\n </div>\n</div>\n\n<ng-template #buttonRef let-btn=\"btn\">\n <button wmButton caption.bind=\"btn.displayName\" show.bind=\"btn.show\" class.bind=\"btn.class\" iconclass.bind=\"btn.iconclass\" (click)=\"invokeActionEvent($event, btn.action)\"\n [ngClass]=\"{'btn-sm': spacing === 'condensed', 'disabled-new': btn.key === 'addNewRow' && (isGridEditMode || isLoading)}\"\n type=\"button\" shortcutkey.bind=\"btn.shortcutkey\" tabindex.bind=\"btn.tabindex\" hint.bind=\"btn.title\" [attr.aria-label]=\"btn.displayName\" disabled.bind=\"btn.disabled\" conditionalclass.bind=\"btn.conditionalclass\" conditionalstyle.bind=\"btn.conditionalstyle\"></button>\n</ng-template>\n\n<ng-template #anchorRef let-btn=\"btn\">\n <a wmAnchor caption.bind=\"btn.displayName\" show.bind=\"btn.show\" class.bind=\"btn.class\" iconclass.bind=\"btn.iconclass\" (click)=\"invokeActionEvent($event, btn.action)\"\n [ngClass]=\"{'btn-sm': spacing === 'condensed', 'disabled-new': btn.key === 'addNewRow' && (isGridEditMode || isLoading)}\"\n shortcutkey.bind=\"btn.shortcutkey\" tabindex.bind=\"btn.tabindex\" hint.bind=\"btn.title\"\n hyperlink.bind=\"btn.hyperlink\" target.bind=\"btn.target\" conditionalclass.bind=\"btn.conditionalclass\" conditionalstyle.bind=\"btn.conditionalstyle\"></a>\n</ng-template>\n\n<div hidden>\n <ng-container #multiColumnFilterView></ng-container>\n\n <ng-container #inlineEditView></ng-container>\n\n <ng-container #inlineEditNewView></ng-container>\n\n <ng-container #rowActionsView></ng-container>\n\n <ng-container #rowExpansionActionView></ng-container>\n\n <ng-container #customExprView></ng-container>\n\n <ng-container #dynamicTable></ng-container>\n\n <ng-container #rowDetailView></ng-container>\n\n <div class=\"dynamic-table-container\"></div>\n</div>\n" }]
|
|
2190
|
+
}], function () { return [{ type: i0.Injector }, { type: i1.FormBuilder }, { type: i2.App }, { type: i2.DynamicComponentRefProvider }, { type: i2.StatePersistence }, { type: i2.PaginationService }, { type: i2.Viewport }, { type: i3.ListComponent, decorators: [{
|
|
2200
2191
|
type: Optional
|
|
2201
2192
|
}] }, { type: undefined, decorators: [{
|
|
2202
2193
|
type: Attribute,
|
|
@@ -2207,12 +2198,7 @@ class TableComponent extends StylableComponent {
|
|
|
2207
2198
|
}] }, { type: undefined, decorators: [{
|
|
2208
2199
|
type: Attribute,
|
|
2209
2200
|
args: ['readonlygrid']
|
|
2210
|
-
}] }, { type: i0.NgZone }, { type: i4.TrustAsPipe }, {
|
|
2211
|
-
type: Inject,
|
|
2212
|
-
args: ['EXPLICIT_CONTEXT']
|
|
2213
|
-
}, {
|
|
2214
|
-
type: Optional
|
|
2215
|
-
}] }], { dataNavigator: [{
|
|
2201
|
+
}] }, { type: i0.NgZone }, { type: i4.TrustAsPipe }]; }, { dataNavigator: [{
|
|
2216
2202
|
type: ViewChild,
|
|
2217
2203
|
args: [PaginationComponent, { static: true }]
|
|
2218
2204
|
}], _tableElement: [{
|
|
@@ -2267,7 +2253,6 @@ class TableComponent extends StylableComponent {
|
|
|
2267
2253
|
type: HostListener,
|
|
2268
2254
|
args: ['keypress', ['$event']]
|
|
2269
2255
|
}] }); })();
|
|
2270
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TableComponent, { className: "TableComponent", filePath: "table.component.ts", lineNumber: 122 }); })();
|
|
2271
2256
|
|
|
2272
2257
|
const OPERATION = {
|
|
2273
2258
|
'NEW': 'new',
|
|
@@ -2389,23 +2374,23 @@ class TableCUDDirective {
|
|
|
2389
2374
|
generatePath(binddataset) {
|
|
2390
2375
|
let path, index;
|
|
2391
2376
|
let dataBoundExpr = this.table.widget.$attrs.get('datasetboundexpr');
|
|
2392
|
-
if (startsWith(binddataset, 'item') && dataBoundExpr) {
|
|
2393
|
-
if (startsWith(dataBoundExpr, 'Widgets.')) {
|
|
2377
|
+
if (_.startsWith(binddataset, 'item') && dataBoundExpr) {
|
|
2378
|
+
if (_.startsWith(dataBoundExpr, 'Widgets.')) {
|
|
2394
2379
|
dataBoundExpr = extractCurrentItemExpr(dataBoundExpr, this.table);
|
|
2395
2380
|
}
|
|
2396
2381
|
const parentListItems = this.table.$element.parents('.app-list-item');
|
|
2397
|
-
const indexArr = map(parentListItems, (item) => parseInt
|
|
2382
|
+
const indexArr = _.map(parentListItems, (item) => _.parseInt($(item).attr('listitemindex')));
|
|
2398
2383
|
for (let i = indexArr.length - 1; i >= 0; i--) {
|
|
2399
2384
|
dataBoundExpr = dataBoundExpr.replace('$i', indexArr[i]);
|
|
2400
2385
|
}
|
|
2401
|
-
index = last(indexArr);
|
|
2386
|
+
index = _.last(indexArr);
|
|
2402
2387
|
path = dataBoundExpr.replace(/^Variables\..*\.dataSet([^.])*(\.|$)/g, '');
|
|
2403
2388
|
}
|
|
2404
2389
|
else {
|
|
2405
2390
|
// if we have dataset as "Variables.staticVar1.dataSet[1].details" then pass index as 1.
|
|
2406
2391
|
const regEx = /^Variables\..*\.dataSet([\[][0-9]])/g;
|
|
2407
2392
|
if (regEx.test(binddataset)) {
|
|
2408
|
-
index = parseInt
|
|
2393
|
+
index = _.parseInt(binddataset.replace(/^Variables\..*\.dataSet([\[])/g, ''));
|
|
2409
2394
|
}
|
|
2410
2395
|
path = binddataset.replace(/^Variables\..*\.dataSet([^.])*(\.|$)/g, '');
|
|
2411
2396
|
}
|
|
@@ -2727,17 +2712,17 @@ class TableCUDDirective {
|
|
|
2727
2712
|
static { this.ɵfac = function TableCUDDirective_Factory(t) { return new (t || TableCUDDirective)(i0.ɵɵdirectiveInject(TableComponent, 2), i0.ɵɵdirectiveInject(i2.AbstractDialogService), i0.ɵɵdirectiveInject(i2.App)); }; }
|
|
2728
2713
|
static { this.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: TableCUDDirective, selectors: [["", "wmTableCUD", ""]] }); }
|
|
2729
2714
|
}
|
|
2730
|
-
(()
|
|
2715
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TableCUDDirective, [{
|
|
2731
2716
|
type: Directive,
|
|
2732
2717
|
args: [{
|
|
2733
2718
|
selector: '[wmTableCUD]'
|
|
2734
2719
|
}]
|
|
2735
|
-
}], ()
|
|
2720
|
+
}], function () { return [{ type: undefined, decorators: [{
|
|
2736
2721
|
type: Self
|
|
2737
2722
|
}, {
|
|
2738
2723
|
type: Inject,
|
|
2739
2724
|
args: [TableComponent]
|
|
2740
|
-
}] }, { type: i2.AbstractDialogService }, { type: i2.App }], null); })();
|
|
2725
|
+
}] }, { type: i2.AbstractDialogService }, { type: i2.App }]; }, null); })();
|
|
2741
2726
|
|
|
2742
2727
|
const emptyMatchModes = ['null', 'empty', 'nullorempty', 'isnotnull', 'isnotempty'];
|
|
2743
2728
|
// Get search value based on the time
|
|
@@ -2746,12 +2731,12 @@ const getSearchValue = (value, type) => {
|
|
|
2746
2731
|
return undefined;
|
|
2747
2732
|
}
|
|
2748
2733
|
if (isNumberType(type)) {
|
|
2749
|
-
return toNumber(value);
|
|
2734
|
+
return _.toNumber(value);
|
|
2750
2735
|
}
|
|
2751
2736
|
if (type === DataType.DATETIME) {
|
|
2752
2737
|
return moment(value).valueOf();
|
|
2753
2738
|
}
|
|
2754
|
-
return toString(value).toLowerCase();
|
|
2739
|
+
return _.toString(value).toLowerCase();
|
|
2755
2740
|
};
|
|
2756
2741
|
// Filter the data based on the search value and conditions
|
|
2757
2742
|
const getFilteredData = (data, searchObj, visibleCols = []) => {
|
|
@@ -2760,27 +2745,26 @@ const getFilteredData = (data, searchObj, visibleCols = []) => {
|
|
|
2760
2745
|
// Return whole data if
|
|
2761
2746
|
// - search value is undefined and matchmode is not an empty matchmode type
|
|
2762
2747
|
// - search value is null and datatype is number. Null can not be compared with numeric values[WMS-19275].
|
|
2763
|
-
if ((!isDefined(searchVal) && !includes(emptyMatchModes, searchObj.matchMode)) || (isNumberType(searchObj.type) && isNull(searchObj.value))) {
|
|
2748
|
+
if ((!isDefined(searchVal) && !_.includes(emptyMatchModes, searchObj.matchMode)) || (isNumberType(searchObj.type) && _.isNull(searchObj.value))) {
|
|
2764
2749
|
return data;
|
|
2765
2750
|
}
|
|
2766
2751
|
data = data.filter((obj) => {
|
|
2767
2752
|
let isExists;
|
|
2768
2753
|
if (searchObj.field) {
|
|
2769
|
-
currentVal = getSearchValue(get(obj, searchObj.field), searchObj.type);
|
|
2754
|
+
currentVal = getSearchValue(_.get(obj, searchObj.field), searchObj.type);
|
|
2770
2755
|
}
|
|
2771
2756
|
else {
|
|
2772
2757
|
currentVal = [];
|
|
2773
|
-
forEach(obj, (val, key) => {
|
|
2774
|
-
if ((includes(visibleCols, key))) {
|
|
2758
|
+
_.forEach(obj, (val, key) => {
|
|
2759
|
+
if ((_.includes(visibleCols, key))) {
|
|
2775
2760
|
currentVal.push(val);
|
|
2776
2761
|
}
|
|
2777
2762
|
else {
|
|
2778
2763
|
// WMS-22271 If the key is in nested key format (dot format)
|
|
2779
2764
|
// Find all the indexes of the key in visiblecols and extract their values from obj
|
|
2780
|
-
const colIndex = filter(range(visibleCols.length), (i) => visibleCols[i].includes(key));
|
|
2781
|
-
forEach(colIndex, (index) => {
|
|
2782
|
-
|
|
2783
|
-
const value = get(obj, visibleCols[index]);
|
|
2765
|
+
const colIndex = _.filter(_.range(visibleCols.length), (i) => visibleCols[i].includes(key));
|
|
2766
|
+
_.forEach(colIndex, (index) => {
|
|
2767
|
+
const value = _.get(obj, visibleCols[index]);
|
|
2784
2768
|
if (currentVal.indexOf(value) < 0) {
|
|
2785
2769
|
currentVal.push(value);
|
|
2786
2770
|
}
|
|
@@ -2791,31 +2775,31 @@ const getFilteredData = (data, searchObj, visibleCols = []) => {
|
|
|
2791
2775
|
}
|
|
2792
2776
|
switch (searchObj.matchMode) {
|
|
2793
2777
|
case 'start':
|
|
2794
|
-
isExists = startsWith(currentVal, searchVal);
|
|
2778
|
+
isExists = _.startsWith(currentVal, searchVal);
|
|
2795
2779
|
break;
|
|
2796
2780
|
case 'end':
|
|
2797
|
-
isExists = endsWith(currentVal, searchVal);
|
|
2781
|
+
isExists = _.endsWith(currentVal, searchVal);
|
|
2798
2782
|
break;
|
|
2799
2783
|
case 'exact':
|
|
2800
|
-
isExists = isEqual(currentVal, searchVal);
|
|
2784
|
+
isExists = _.isEqual(currentVal, searchVal);
|
|
2801
2785
|
break;
|
|
2802
2786
|
case 'notequals':
|
|
2803
|
-
isExists = !isEqual(currentVal, searchVal);
|
|
2787
|
+
isExists = !_.isEqual(currentVal, searchVal);
|
|
2804
2788
|
break;
|
|
2805
2789
|
case 'null':
|
|
2806
|
-
isExists = isNull(currentVal);
|
|
2790
|
+
isExists = _.isNull(currentVal);
|
|
2807
2791
|
break;
|
|
2808
2792
|
case 'isnotnull':
|
|
2809
|
-
isExists = !isNull(currentVal);
|
|
2793
|
+
isExists = !_.isNull(currentVal);
|
|
2810
2794
|
break;
|
|
2811
2795
|
case 'empty':
|
|
2812
|
-
isExists = isEmpty(currentVal);
|
|
2796
|
+
isExists = _.isEmpty(currentVal);
|
|
2813
2797
|
break;
|
|
2814
2798
|
case 'isnotempty':
|
|
2815
|
-
isExists = !isEmpty(currentVal);
|
|
2799
|
+
isExists = !_.isEmpty(currentVal);
|
|
2816
2800
|
break;
|
|
2817
2801
|
case 'nullorempty':
|
|
2818
|
-
isExists = isNull(currentVal) || isEmpty(currentVal);
|
|
2802
|
+
isExists = _.isNull(currentVal) || _.isEmpty(currentVal);
|
|
2819
2803
|
break;
|
|
2820
2804
|
case 'lessthan':
|
|
2821
2805
|
isExists = currentVal < searchVal;
|
|
@@ -2830,7 +2814,7 @@ const getFilteredData = (data, searchObj, visibleCols = []) => {
|
|
|
2830
2814
|
isExists = currentVal >= searchVal;
|
|
2831
2815
|
break;
|
|
2832
2816
|
default:
|
|
2833
|
-
isExists = isNumberType(searchObj.type) ? isEqual(currentVal, searchVal) : includes(currentVal, searchVal);
|
|
2817
|
+
isExists = isNumberType(searchObj.type) ? _.isEqual(currentVal, searchVal) : _.includes(currentVal, searchVal);
|
|
2834
2818
|
break;
|
|
2835
2819
|
}
|
|
2836
2820
|
return isExists;
|
|
@@ -2915,13 +2899,13 @@ class TableFilterSortDirective {
|
|
|
2915
2899
|
// Get first or last page based on sort info of primary key
|
|
2916
2900
|
getNavigationTargetBySortInfo() {
|
|
2917
2901
|
return this.table.sortInfo && this.table.sortInfo.direction === 'desc' &&
|
|
2918
|
-
includes(this.table.primaryKey, this.table.sortInfo.field) ? 'first' : 'last';
|
|
2902
|
+
_.includes(this.table.primaryKey, this.table.sortInfo.field) ? 'first' : 'last';
|
|
2919
2903
|
}
|
|
2920
2904
|
// Returns all the columns of the table wherein, showinfilter is set to true
|
|
2921
2905
|
getTableVisibleCols() {
|
|
2922
2906
|
const visibleCols = [];
|
|
2923
|
-
forEach(this.table.columns, (val, col) => {
|
|
2924
|
-
if (toLower(toString(val.showinfilter)) === 'true' && col !== 'rowOperations' && val.searchable) {
|
|
2907
|
+
_.forEach(this.table.columns, (val, col) => {
|
|
2908
|
+
if (_.toLower(_.toString(val.showinfilter)) === 'true' && col !== 'rowOperations' && val.searchable) {
|
|
2925
2909
|
visibleCols.push(col);
|
|
2926
2910
|
}
|
|
2927
2911
|
});
|
|
@@ -2932,7 +2916,7 @@ class TableFilterSortDirective {
|
|
|
2932
2916
|
if (searchObj.field) {
|
|
2933
2917
|
setFilterFields(filterFields, searchObj);
|
|
2934
2918
|
}
|
|
2935
|
-
else if (!isEmpty(searchObj)) {
|
|
2919
|
+
else if (!_.isEmpty(searchObj)) {
|
|
2936
2920
|
const visibleCols = this.getTableVisibleCols();
|
|
2937
2921
|
setFilterFields(filterFields, searchObj, visibleCols);
|
|
2938
2922
|
}
|
|
@@ -2941,8 +2925,8 @@ class TableFilterSortDirective {
|
|
|
2941
2925
|
getFilterFields(searchObj) {
|
|
2942
2926
|
searchObj = searchObj || {};
|
|
2943
2927
|
const filterFields = {};
|
|
2944
|
-
if (isArray(searchObj)) {
|
|
2945
|
-
forEach(searchObj, obj => {
|
|
2928
|
+
if (_.isArray(searchObj)) {
|
|
2929
|
+
_.forEach(searchObj, obj => {
|
|
2946
2930
|
this.invokeSetFilterfieldBasedOnFieldval(obj, filterFields);
|
|
2947
2931
|
});
|
|
2948
2932
|
}
|
|
@@ -2963,11 +2947,11 @@ class TableFilterSortDirective {
|
|
|
2963
2947
|
// Reset the sort based on sort returned by the call
|
|
2964
2948
|
resetSortStatus(variableSort) {
|
|
2965
2949
|
let gridSortString;
|
|
2966
|
-
if (!isEmpty(this.table.sortInfo) && this.table.datasource) {
|
|
2950
|
+
if (!_.isEmpty(this.table.sortInfo) && this.table.datasource) {
|
|
2967
2951
|
gridSortString = this.table.sortInfo.field + ' ' + this.table.sortInfo.direction;
|
|
2968
2952
|
variableSort = this.table.datasource.execute(DataSource.Operation.GET_OPTIONS).orderBy || variableSort;
|
|
2969
2953
|
if (variableSort) { // If multiple order by fields are present, compare with the first one
|
|
2970
|
-
variableSort = head(split(variableSort, ','));
|
|
2954
|
+
variableSort = _.head(_.split(variableSort, ','));
|
|
2971
2955
|
}
|
|
2972
2956
|
if (gridSortString !== variableSort) {
|
|
2973
2957
|
this.table.callDataGridMethod('resetSortIcons');
|
|
@@ -3005,7 +2989,7 @@ class TableFilterSortDirective {
|
|
|
3005
2989
|
return;
|
|
3006
2990
|
}
|
|
3007
2991
|
if (this.table.datasource.execute(DataSource.Operation.SUPPORTS_SERVER_FILTER)) {
|
|
3008
|
-
if (isEmpty(this.table.datasource.execute(DataSource.Operation.GET_OPTIONS).filterFields)) {
|
|
2992
|
+
if (_.isEmpty(this.table.datasource.execute(DataSource.Operation.GET_OPTIONS).filterFields)) {
|
|
3009
2993
|
this.clearFilter(true);
|
|
3010
2994
|
}
|
|
3011
2995
|
this.resetSortStatus(variableSort);
|
|
@@ -3021,7 +3005,7 @@ class TableFilterSortDirective {
|
|
|
3021
3005
|
if (!searchObj) {
|
|
3022
3006
|
return data;
|
|
3023
3007
|
}
|
|
3024
|
-
if (isArray(searchObj)) {
|
|
3008
|
+
if (_.isArray(searchObj)) {
|
|
3025
3009
|
searchObj.forEach((obj) => {
|
|
3026
3010
|
data = getFilteredData(data, obj, visibleCols);
|
|
3027
3011
|
});
|
|
@@ -3034,7 +3018,7 @@ class TableFilterSortDirective {
|
|
|
3034
3018
|
// Returns data sorted using sortObj
|
|
3035
3019
|
getSortResult(data, sortObj) {
|
|
3036
3020
|
if (sortObj && sortObj.direction) {
|
|
3037
|
-
data = orderBy(data, sortObj.field, sortObj.direction);
|
|
3021
|
+
data = _.orderBy(data, sortObj.field, sortObj.direction);
|
|
3038
3022
|
}
|
|
3039
3023
|
return data;
|
|
3040
3024
|
}
|
|
@@ -3049,7 +3033,7 @@ class TableFilterSortDirective {
|
|
|
3049
3033
|
else {
|
|
3050
3034
|
this.table.sortInfo = searchSortObj;
|
|
3051
3035
|
}
|
|
3052
|
-
if (isObject(data) && !isArray(data)) {
|
|
3036
|
+
if (_.isObject(data) && !_.isArray(data)) {
|
|
3053
3037
|
data = [data];
|
|
3054
3038
|
}
|
|
3055
3039
|
/*Both the functions return same 'data' if arguments are undefined*/
|
|
@@ -3081,9 +3065,9 @@ class TableFilterSortDirective {
|
|
|
3081
3065
|
this.table.filterInfo = searchObj;
|
|
3082
3066
|
data = this.getSearchResult(data, searchObj);
|
|
3083
3067
|
// Compared the filtered data and original data, to show or hide the rows
|
|
3084
|
-
forEach(this.table.gridData, (value, index) => {
|
|
3068
|
+
_.forEach(this.table.gridData, (value, index) => {
|
|
3085
3069
|
const $row = $($rows[index]);
|
|
3086
|
-
if (find(data, obj => isEqual(obj, value))) {
|
|
3070
|
+
if (_.find(data, obj => _.isEqual(obj, value))) {
|
|
3087
3071
|
$row.show();
|
|
3088
3072
|
}
|
|
3089
3073
|
else {
|
|
@@ -3154,7 +3138,7 @@ class TableFilterSortDirective {
|
|
|
3154
3138
|
}
|
|
3155
3139
|
searchHandler(searchSortObj, e, type, statePersistenceTriggered) {
|
|
3156
3140
|
let obj;
|
|
3157
|
-
if (isArray(searchSortObj)) {
|
|
3141
|
+
if (_.isArray(searchSortObj)) {
|
|
3158
3142
|
obj = searchSortObj.filter(function (searchObject) {
|
|
3159
3143
|
return (searchObject.matchMode !== undefined && searchObject.value !== undefined) || (searchObject.value !== undefined && searchObject.field === '');
|
|
3160
3144
|
});
|
|
@@ -3163,7 +3147,7 @@ class TableFilterSortDirective {
|
|
|
3163
3147
|
obj = { field: searchSortObj.field, value: searchSortObj.value, type: searchSortObj.type };
|
|
3164
3148
|
}
|
|
3165
3149
|
if (this.table.getConfiguredState() !== 'none' && unsupportedStatePersistenceTypes.indexOf(this.table.navigation) < 0) {
|
|
3166
|
-
if ((isArray(searchSortObj) && obj.length) || (searchSortObj.value)) {
|
|
3150
|
+
if ((_.isArray(searchSortObj) && obj.length) || (searchSortObj.value)) {
|
|
3167
3151
|
this.table.statePersistence.removeWidgetState(this.table, 'search');
|
|
3168
3152
|
this.table.statePersistence.setWidgetState(this.table, { search: obj });
|
|
3169
3153
|
}
|
|
@@ -3186,7 +3170,7 @@ class TableFilterSortDirective {
|
|
|
3186
3170
|
let output;
|
|
3187
3171
|
const userFilters = {};
|
|
3188
3172
|
// Transform filter fields from array to object having field names as keys
|
|
3189
|
-
if (isArray(filterFields)) {
|
|
3173
|
+
if (_.isArray(filterFields)) {
|
|
3190
3174
|
filterFields.forEach(filterField => {
|
|
3191
3175
|
transformFilterField(userFilters, filterField);
|
|
3192
3176
|
});
|
|
@@ -3201,9 +3185,9 @@ class TableFilterSortDirective {
|
|
|
3201
3185
|
}
|
|
3202
3186
|
filterFields = [];
|
|
3203
3187
|
// if the field is not selected in search filter dropdown, building the filter fields object
|
|
3204
|
-
if (isEmpty(userFilters) && !isEmpty(obj)) {
|
|
3205
|
-
if (isArray(obj)) {
|
|
3206
|
-
forEach(obj, searchObj => {
|
|
3188
|
+
if (_.isEmpty(userFilters) && !_.isEmpty(obj)) {
|
|
3189
|
+
if (_.isArray(obj)) {
|
|
3190
|
+
_.forEach(obj, searchObj => {
|
|
3207
3191
|
addToFilterFields(filterFields, searchObj);
|
|
3208
3192
|
});
|
|
3209
3193
|
}
|
|
@@ -3213,9 +3197,13 @@ class TableFilterSortDirective {
|
|
|
3213
3197
|
}
|
|
3214
3198
|
else {
|
|
3215
3199
|
// Transform back the filter fields from object to array
|
|
3216
|
-
forEach(userFilters, (val, key) => {
|
|
3217
|
-
|
|
3218
|
-
|
|
3200
|
+
_.forEach(userFilters, (val, key) => {
|
|
3201
|
+
filterFields.push({
|
|
3202
|
+
field: key,
|
|
3203
|
+
matchMode: val.matchMode,
|
|
3204
|
+
type: val.type,
|
|
3205
|
+
value: val.value
|
|
3206
|
+
});
|
|
3219
3207
|
});
|
|
3220
3208
|
}
|
|
3221
3209
|
if (dataSource && dataSource.execute(DataSource.Operation.SUPPORTS_SERVER_FILTER)) {
|
|
@@ -3293,7 +3281,7 @@ class TableFilterSortDirective {
|
|
|
3293
3281
|
this.table.rowFilter[fieldName] = this.table.rowFilter[fieldName] || {};
|
|
3294
3282
|
this.table.rowFilter[fieldName].matchMode = condition;
|
|
3295
3283
|
// For empty match modes, clear off the value and call filter
|
|
3296
|
-
if (includes(this.table.emptyMatchModes, condition)) {
|
|
3284
|
+
if (_.includes(this.table.emptyMatchModes, condition)) {
|
|
3297
3285
|
this.table.columns[fieldName].resetFilter();
|
|
3298
3286
|
this.table.onRowFilterChange();
|
|
3299
3287
|
}
|
|
@@ -3316,10 +3304,10 @@ class TableFilterSortDirective {
|
|
|
3316
3304
|
}
|
|
3317
3305
|
const fieldName = filterDef.field;
|
|
3318
3306
|
const formFields = this.table.fullFieldDefs;
|
|
3319
|
-
const filterOnFields = filter(formFields, { 'filteronfilter': fieldName });
|
|
3320
|
-
const newVal = get(this.table.rowFilter, [fieldName, 'value']);
|
|
3307
|
+
const filterOnFields = _.filter(formFields, { 'filteronfilter': fieldName });
|
|
3308
|
+
const newVal = _.get(this.table.rowFilter, [fieldName, 'value']);
|
|
3321
3309
|
// Loop over the fields for which the current field is filter on field
|
|
3322
|
-
forEach(filterOnFields, filterField => {
|
|
3310
|
+
_.forEach(filterOnFields, filterField => {
|
|
3323
3311
|
const filterOn = filterField.filteronfilter;
|
|
3324
3312
|
const filterKey = filterField.field;
|
|
3325
3313
|
const filterFields = {};
|
|
@@ -3344,13 +3332,13 @@ class TableFilterSortDirective {
|
|
|
3344
3332
|
// This method is triggered on value change in multi column filter
|
|
3345
3333
|
onRowFilterChange(fieldName) {
|
|
3346
3334
|
const searchObj = [];
|
|
3347
|
-
const field = find(this.table.fullFieldDefs, { 'field': fieldName });
|
|
3335
|
+
const field = _.find(this.table.fullFieldDefs, { 'field': fieldName });
|
|
3348
3336
|
// Convert row filters to a search object and call search handler
|
|
3349
|
-
forEach(this.table.rowFilter, (value, key) => {
|
|
3350
|
-
if ((isDefined(value.value) && value.value !== '') || includes(this.table.emptyMatchModes, value.matchMode)) {
|
|
3337
|
+
_.forEach(this.table.rowFilter, (value, key) => {
|
|
3338
|
+
if ((isDefined(value.value) && value.value !== '') || _.includes(this.table.emptyMatchModes, value.matchMode)) {
|
|
3351
3339
|
if (field && key === field.field) {
|
|
3352
3340
|
value.type = value.type || field.type;
|
|
3353
|
-
value.matchMode = value.matchMode || get(this.table.matchModeTypesMap[value.type], 0);
|
|
3341
|
+
value.matchMode = value.matchMode || _.get(this.table.matchModeTypesMap[value.type], 0);
|
|
3354
3342
|
}
|
|
3355
3343
|
searchObj.push({
|
|
3356
3344
|
field: key,
|
|
@@ -3385,17 +3373,17 @@ class TableFilterSortDirective {
|
|
|
3385
3373
|
static { this.ɵfac = function TableFilterSortDirective_Factory(t) { return new (t || TableFilterSortDirective)(i0.ɵɵdirectiveInject(TableComponent, 2)); }; }
|
|
3386
3374
|
static { this.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: TableFilterSortDirective, selectors: [["", "wmTableFilterSort", ""]] }); }
|
|
3387
3375
|
}
|
|
3388
|
-
(()
|
|
3376
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TableFilterSortDirective, [{
|
|
3389
3377
|
type: Directive,
|
|
3390
3378
|
args: [{
|
|
3391
3379
|
selector: '[wmTableFilterSort]'
|
|
3392
3380
|
}]
|
|
3393
|
-
}], ()
|
|
3381
|
+
}], function () { return [{ type: undefined, decorators: [{
|
|
3394
3382
|
type: Self
|
|
3395
3383
|
}, {
|
|
3396
3384
|
type: Inject,
|
|
3397
3385
|
args: [TableComponent]
|
|
3398
|
-
}] }], null); })();
|
|
3386
|
+
}] }]; }, null); })();
|
|
3399
3387
|
|
|
3400
3388
|
const registerProps$4 = () => {
|
|
3401
3389
|
register('wm-table-action', new Map([
|
|
@@ -3424,8 +3412,8 @@ const registerProps$4 = () => {
|
|
|
3424
3412
|
const WIDGET_CONFIG$4 = { widgetType: 'wm-table-action', hostClass: '' };
|
|
3425
3413
|
class TableActionDirective extends BaseComponent {
|
|
3426
3414
|
static { this.initializeProps = registerProps$4(); }
|
|
3427
|
-
constructor(inj, table
|
|
3428
|
-
super(inj, WIDGET_CONFIG$4
|
|
3415
|
+
constructor(inj, table) {
|
|
3416
|
+
super(inj, WIDGET_CONFIG$4);
|
|
3429
3417
|
this.table = table;
|
|
3430
3418
|
}
|
|
3431
3419
|
populateAction() {
|
|
@@ -3435,7 +3423,7 @@ class TableActionDirective extends BaseComponent {
|
|
|
3435
3423
|
show: this.show,
|
|
3436
3424
|
class: this.class || '',
|
|
3437
3425
|
iconclass: this.iconclass || '',
|
|
3438
|
-
title: isUndefined(this.title) ? (this['display-name'] || '') : this.title,
|
|
3426
|
+
title: _.isUndefined(this.title) ? (this['display-name'] || '') : this.title,
|
|
3439
3427
|
action: this.action,
|
|
3440
3428
|
accessroles: this.accessroles,
|
|
3441
3429
|
shortcutkey: this.shortcutkey,
|
|
@@ -3467,12 +3455,12 @@ class TableActionDirective extends BaseComponent {
|
|
|
3467
3455
|
this.buttonDef[key] = nv;
|
|
3468
3456
|
}
|
|
3469
3457
|
}
|
|
3470
|
-
static { this.ɵfac = function TableActionDirective_Factory(t) { return new (t || TableActionDirective)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(TableComponent, 8)
|
|
3458
|
+
static { this.ɵfac = function TableActionDirective_Factory(t) { return new (t || TableActionDirective)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(TableComponent, 8)); }; }
|
|
3471
3459
|
static { this.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: TableActionDirective, selectors: [["", "wmTableAction", ""]], features: [i0.ɵɵProvidersFeature([
|
|
3472
3460
|
provideAsWidgetRef(TableActionDirective)
|
|
3473
3461
|
]), i0.ɵɵInheritDefinitionFeature] }); }
|
|
3474
3462
|
}
|
|
3475
|
-
(()
|
|
3463
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TableActionDirective, [{
|
|
3476
3464
|
type: Directive,
|
|
3477
3465
|
args: [{
|
|
3478
3466
|
selector: '[wmTableAction]',
|
|
@@ -3480,14 +3468,9 @@ class TableActionDirective extends BaseComponent {
|
|
|
3480
3468
|
provideAsWidgetRef(TableActionDirective)
|
|
3481
3469
|
]
|
|
3482
3470
|
}]
|
|
3483
|
-
}], ()
|
|
3471
|
+
}], function () { return [{ type: i0.Injector }, { type: TableComponent, decorators: [{
|
|
3484
3472
|
type: Optional
|
|
3485
|
-
}] }
|
|
3486
|
-
type: Inject,
|
|
3487
|
-
args: ['EXPLICIT_CONTEXT']
|
|
3488
|
-
}, {
|
|
3489
|
-
type: Optional
|
|
3490
|
-
}] }], null); })();
|
|
3473
|
+
}] }]; }, null); })();
|
|
3491
3474
|
|
|
3492
3475
|
const registerProps$3 = () => {
|
|
3493
3476
|
register('wm-table-column', new Map([
|
|
@@ -3501,7 +3484,7 @@ const registerProps$3 = () => {
|
|
|
3501
3484
|
['collapsible', PROP_BOOLEAN],
|
|
3502
3485
|
['col-ng-class', PROP_STRING],
|
|
3503
3486
|
['currencypattern', PROP_STRING],
|
|
3504
|
-
['customExpression', PROP_BOOLEAN],
|
|
3487
|
+
['customExpression', PROP_BOOLEAN],
|
|
3505
3488
|
['dataentrymode', { value: 'default', ...PROP_STRING }],
|
|
3506
3489
|
['datafield', PROP_STRING],
|
|
3507
3490
|
['dataoptions', PROP_ANY],
|
|
@@ -3592,8 +3575,8 @@ const registerProps$2 = () => {
|
|
|
3592
3575
|
const WIDGET_CONFIG$3 = { widgetType: 'wm-table-column-group', hostClass: '' };
|
|
3593
3576
|
class TableColumnGroupDirective extends BaseComponent {
|
|
3594
3577
|
static { this.initializeProps = registerProps$2(); }
|
|
3595
|
-
constructor(inj, group, table
|
|
3596
|
-
super(inj, WIDGET_CONFIG$3
|
|
3578
|
+
constructor(inj, group, table) {
|
|
3579
|
+
super(inj, WIDGET_CONFIG$3);
|
|
3597
3580
|
this.group = group;
|
|
3598
3581
|
this.table = table;
|
|
3599
3582
|
this.config = {};
|
|
@@ -3628,12 +3611,12 @@ class TableColumnGroupDirective extends BaseComponent {
|
|
|
3628
3611
|
const fieldName = this.group && this.group.name;
|
|
3629
3612
|
setHeaderConfigForTable(this.table.headerConfig, this.config, fieldName, fieldName ? colIndex : headerIndex);
|
|
3630
3613
|
}
|
|
3631
|
-
static { this.ɵfac = function TableColumnGroupDirective_Factory(t) { return new (t || TableColumnGroupDirective)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(TableColumnGroupDirective, 12), i0.ɵɵdirectiveInject(TableComponent, 8)
|
|
3614
|
+
static { this.ɵfac = function TableColumnGroupDirective_Factory(t) { return new (t || TableColumnGroupDirective)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(TableColumnGroupDirective, 12), i0.ɵɵdirectiveInject(TableComponent, 8)); }; }
|
|
3632
3615
|
static { this.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: TableColumnGroupDirective, selectors: [["", "wmTableColumnGroup", ""]], features: [i0.ɵɵProvidersFeature([
|
|
3633
3616
|
provideAsWidgetRef(TableColumnGroupDirective)
|
|
3634
3617
|
]), i0.ɵɵInheritDefinitionFeature] }); }
|
|
3635
3618
|
}
|
|
3636
|
-
(()
|
|
3619
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TableColumnGroupDirective, [{
|
|
3637
3620
|
type: Directive,
|
|
3638
3621
|
args: [{
|
|
3639
3622
|
selector: '[wmTableColumnGroup]',
|
|
@@ -3641,18 +3624,13 @@ class TableColumnGroupDirective extends BaseComponent {
|
|
|
3641
3624
|
provideAsWidgetRef(TableColumnGroupDirective)
|
|
3642
3625
|
]
|
|
3643
3626
|
}]
|
|
3644
|
-
}], ()
|
|
3627
|
+
}], function () { return [{ type: i0.Injector }, { type: TableColumnGroupDirective, decorators: [{
|
|
3645
3628
|
type: SkipSelf
|
|
3646
3629
|
}, {
|
|
3647
3630
|
type: Optional
|
|
3648
3631
|
}] }, { type: TableComponent, decorators: [{
|
|
3649
3632
|
type: Optional
|
|
3650
|
-
}] }
|
|
3651
|
-
type: Inject,
|
|
3652
|
-
args: ['EXPLICIT_CONTEXT']
|
|
3653
|
-
}, {
|
|
3654
|
-
type: Optional
|
|
3655
|
-
}] }], null); })();
|
|
3633
|
+
}] }]; }, null); })();
|
|
3656
3634
|
|
|
3657
3635
|
const _c0 = ["customExprTmpl"];
|
|
3658
3636
|
const _c1 = ["inlineWidgetTmpl"];
|
|
@@ -3685,8 +3663,8 @@ class FieldDef {
|
|
|
3685
3663
|
}
|
|
3686
3664
|
class TableColumnDirective extends BaseComponent {
|
|
3687
3665
|
static { this.initializeProps = registerProps$3(); }
|
|
3688
|
-
constructor(inj, appDefaults, table, group, bindfilterdataset, binddataset
|
|
3689
|
-
super(inj, WIDGET_CONFIG$2
|
|
3666
|
+
constructor(inj, appDefaults, table, group, bindfilterdataset, binddataset) {
|
|
3667
|
+
super(inj, WIDGET_CONFIG$2);
|
|
3690
3668
|
this.appDefaults = appDefaults;
|
|
3691
3669
|
this.table = table;
|
|
3692
3670
|
this.group = group;
|
|
@@ -3697,22 +3675,22 @@ class TableColumnDirective extends BaseComponent {
|
|
|
3697
3675
|
this.observeOnFields = [];
|
|
3698
3676
|
this.aggregate = {
|
|
3699
3677
|
sum: () => {
|
|
3700
|
-
return sum(this._getColumnData());
|
|
3678
|
+
return _.sum(this._getColumnData());
|
|
3701
3679
|
},
|
|
3702
3680
|
average: (precision = 2) => {
|
|
3703
|
-
return round(mean(this._getColumnData()), precision);
|
|
3681
|
+
return _.round(_.mean(this._getColumnData()), precision);
|
|
3704
3682
|
},
|
|
3705
3683
|
count: () => {
|
|
3706
3684
|
return this._getColumnData().length;
|
|
3707
3685
|
},
|
|
3708
3686
|
minimum: () => {
|
|
3709
|
-
return min(this._getColumnData());
|
|
3687
|
+
return _.min(this._getColumnData());
|
|
3710
3688
|
},
|
|
3711
3689
|
maximum: () => {
|
|
3712
|
-
return max(this._getColumnData());
|
|
3690
|
+
return _.max(this._getColumnData());
|
|
3713
3691
|
},
|
|
3714
3692
|
percent: (value, precision = 2) => {
|
|
3715
|
-
return round((sum(this._getColumnData()) / value) * 100, precision);
|
|
3693
|
+
return _.round((_.sum(this._getColumnData()) / value) * 100, precision);
|
|
3716
3694
|
}
|
|
3717
3695
|
};
|
|
3718
3696
|
this.notifyForFields = [];
|
|
@@ -3969,7 +3947,7 @@ class TableColumnDirective extends BaseComponent {
|
|
|
3969
3947
|
if (this.relatedEntityName) {
|
|
3970
3948
|
this.widget['is-related'] = true;
|
|
3971
3949
|
this.widget['lookup-type'] = this.relatedEntityName;
|
|
3972
|
-
this.widget['lookup-field'] = last(split(this.field, '.'));
|
|
3950
|
+
this.widget['lookup-field'] = _.last(_.split(this.field, '.'));
|
|
3973
3951
|
}
|
|
3974
3952
|
if (this.filterwidget === FormWidgetType.AUTOCOMPLETE) {
|
|
3975
3953
|
this.filterInstance.dataoptions = getDistinctFieldProperties(this.table.datasource, this);
|
|
@@ -3996,11 +3974,11 @@ class TableColumnDirective extends BaseComponent {
|
|
|
3996
3974
|
if (this['related-entity-name'] && this['primary-key']) {
|
|
3997
3975
|
// Fetch the data for the related fields
|
|
3998
3976
|
this.isDataSetBound = true;
|
|
3999
|
-
const bindings = split(this.binding, '.');
|
|
3977
|
+
const bindings = _.split(this.binding, '.');
|
|
4000
3978
|
this.showPendingSpinner = true;
|
|
4001
3979
|
fetchRelatedFieldData(dataSource, this.widget, {
|
|
4002
|
-
relatedField: head(bindings),
|
|
4003
|
-
datafield: last(bindings),
|
|
3980
|
+
relatedField: _.head(bindings),
|
|
3981
|
+
datafield: _.last(bindings),
|
|
4004
3982
|
widget: 'edit-widget-type'
|
|
4005
3983
|
});
|
|
4006
3984
|
}
|
|
@@ -4029,7 +4007,7 @@ class TableColumnDirective extends BaseComponent {
|
|
|
4029
4007
|
this.filterInstance.registerReadyStateListener(() => {
|
|
4030
4008
|
if (isDataSetWidget(this.filterwidget)) {
|
|
4031
4009
|
// if binding is department.deptId then field will be deptId
|
|
4032
|
-
const field = last(this.binding.split('.'));
|
|
4010
|
+
const field = _.last(this.binding.split('.'));
|
|
4033
4011
|
this.filterInstance.dataset = this._filterDataSet;
|
|
4034
4012
|
this.filterInstance.datafield = this.filterdatafield || field;
|
|
4035
4013
|
this.filterInstance.displayfield = this.filterdisplayfield || field;
|
|
@@ -4046,7 +4024,7 @@ class TableColumnDirective extends BaseComponent {
|
|
|
4046
4024
|
}
|
|
4047
4025
|
// Notifies all the dependent validation controls incase of any changes
|
|
4048
4026
|
notifyChanges(quickEdit) {
|
|
4049
|
-
forEach(this.notifyForFields, field => {
|
|
4027
|
+
_.forEach(this.notifyForFields, field => {
|
|
4050
4028
|
if (quickEdit && this._isNewEditableRow) {
|
|
4051
4029
|
field.fieldValidations_new.validate();
|
|
4052
4030
|
}
|
|
@@ -4057,7 +4035,7 @@ class TableColumnDirective extends BaseComponent {
|
|
|
4057
4035
|
}
|
|
4058
4036
|
// Watches control for dependent validation changes
|
|
4059
4037
|
observeOn(fields) {
|
|
4060
|
-
this.observeOnFields = cloneDeep(fields);
|
|
4038
|
+
this.observeOnFields = _.cloneDeep(fields);
|
|
4061
4039
|
}
|
|
4062
4040
|
// Sets the default validators inline and quickedit new row using props
|
|
4063
4041
|
setUpValidators() {
|
|
@@ -4068,11 +4046,11 @@ class TableColumnDirective extends BaseComponent {
|
|
|
4068
4046
|
}
|
|
4069
4047
|
// Sets the Async validators on the inline and quickedit new row form control
|
|
4070
4048
|
setAsyncValidators(validators) {
|
|
4071
|
-
this.asyncValidators = cloneDeep(validators);
|
|
4049
|
+
this.asyncValidators = _.cloneDeep(validators);
|
|
4072
4050
|
}
|
|
4073
4051
|
// Sets the default/custom validators on the inline and quickedit new row form control
|
|
4074
4052
|
setValidators(validators) {
|
|
4075
|
-
this.syncValidators = cloneDeep(validators);
|
|
4053
|
+
this.syncValidators = _.cloneDeep(validators);
|
|
4076
4054
|
}
|
|
4077
4055
|
boundFn(fn) {
|
|
4078
4056
|
return fn();
|
|
@@ -4087,7 +4065,7 @@ class TableColumnDirective extends BaseComponent {
|
|
|
4087
4065
|
this._invokeSummaryRowData(newData);
|
|
4088
4066
|
}
|
|
4089
4067
|
_invokeSummaryRowData(data) {
|
|
4090
|
-
forEach(data, (item, index) => {
|
|
4068
|
+
_.forEach(data, (item, index) => {
|
|
4091
4069
|
const content = item;
|
|
4092
4070
|
if (content instanceof Promise) {
|
|
4093
4071
|
content.then(res => {
|
|
@@ -4105,7 +4083,7 @@ class TableColumnDirective extends BaseComponent {
|
|
|
4105
4083
|
});
|
|
4106
4084
|
}
|
|
4107
4085
|
_getColumnData() {
|
|
4108
|
-
return map(this.table.dataset, this.binding);
|
|
4086
|
+
return _.map(this.table.dataset, this.binding);
|
|
4109
4087
|
}
|
|
4110
4088
|
/* Summary Row Logic end */
|
|
4111
4089
|
// Set the props on the inline edit widget
|
|
@@ -4155,7 +4133,7 @@ class TableColumnDirective extends BaseComponent {
|
|
|
4155
4133
|
this.limit = this.limit ? +this.limit : undefined;
|
|
4156
4134
|
this.editWidgetType = this['edit-widget-type'] = this['edit-widget-type'] || getEditModeWidget(this);
|
|
4157
4135
|
this.filterOn = this['filter-on'];
|
|
4158
|
-
this.readonly = isDefined(this.getAttr('readonly')) ? this.getAttr('readonly') === 'true' : (this['related-entity-name'] ? !this['primary-key'] : includes(['identity', 'uniqueid', 'sequence'], this.generator));
|
|
4136
|
+
this.readonly = isDefined(this.getAttr('readonly')) ? this.getAttr('readonly') === 'true' : (this['related-entity-name'] ? !this['primary-key'] : _.includes(['identity', 'uniqueid', 'sequence'], this.generator));
|
|
4159
4137
|
this.filterwidget = this.filterwidget || getDataTableFilterWidget(this.type || 'string');
|
|
4160
4138
|
this.isFilterDataSetBound = !!this.bindfilterdataset;
|
|
4161
4139
|
this.defaultvalue = getDefaultValue(this.defaultvalue, this.type, this.editWidgetType);
|
|
@@ -4181,15 +4159,6 @@ class TableColumnDirective extends BaseComponent {
|
|
|
4181
4159
|
case 'caption':
|
|
4182
4160
|
this.displayName = nv || '';
|
|
4183
4161
|
this.setProperty('displayName', this.displayName);
|
|
4184
|
-
// Fix for [WMS-25934]: update the headerConfig list when there is change in display name
|
|
4185
|
-
// when column is inside a group then consider the col index and not header index.
|
|
4186
|
-
const fieldName = this.group && this.group.name;
|
|
4187
|
-
const index = fieldName ? parseInt(this.getAttr('index'), 10) : parseInt(this.getAttr('headerIndex'), 10);
|
|
4188
|
-
// Register column with header config to create group structure
|
|
4189
|
-
setHeaderConfigForTable(this.table.headerConfig, {
|
|
4190
|
-
field: this.field,
|
|
4191
|
-
displayName: this.displayName
|
|
4192
|
-
}, fieldName, index);
|
|
4193
4162
|
break;
|
|
4194
4163
|
case 'defaultvalue':
|
|
4195
4164
|
this.defaultvalue = getDefaultValue(this.defaultvalue, this.type, this.editWidgetType);
|
|
@@ -4228,7 +4197,7 @@ class TableColumnDirective extends BaseComponent {
|
|
|
4228
4197
|
this.table.redraw(true);
|
|
4229
4198
|
}
|
|
4230
4199
|
}
|
|
4231
|
-
static { this.ɵfac = function TableColumnDirective_Factory(t) { return new (t || TableColumnDirective)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(i2.AppDefaults), i0.ɵɵdirectiveInject(TableComponent, 8), i0.ɵɵdirectiveInject(TableColumnGroupDirective, 8), i0.ɵɵinjectAttribute('filterdataset.bind'), i0.ɵɵinjectAttribute('dataset.bind')
|
|
4200
|
+
static { this.ɵfac = function TableColumnDirective_Factory(t) { return new (t || TableColumnDirective)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(i2.AppDefaults), i0.ɵɵdirectiveInject(TableComponent, 8), i0.ɵɵdirectiveInject(TableColumnGroupDirective, 8), i0.ɵɵinjectAttribute('filterdataset.bind'), i0.ɵɵinjectAttribute('dataset.bind')); }; }
|
|
4232
4201
|
static { this.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: TableColumnDirective, selectors: [["", "wmTableColumn", ""]], contentQueries: function TableColumnDirective_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {
|
|
4233
4202
|
i0.ɵɵcontentQuery(dirIndex, _c0, 5);
|
|
4234
4203
|
i0.ɵɵcontentQuery(dirIndex, _c1, 5);
|
|
@@ -4248,7 +4217,7 @@ class TableColumnDirective extends BaseComponent {
|
|
|
4248
4217
|
provideAsWidgetRef(TableColumnDirective)
|
|
4249
4218
|
]), i0.ɵɵInheritDefinitionFeature] }); }
|
|
4250
4219
|
}
|
|
4251
|
-
(()
|
|
4220
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TableColumnDirective, [{
|
|
4252
4221
|
type: Directive,
|
|
4253
4222
|
args: [{
|
|
4254
4223
|
selector: '[wmTableColumn]',
|
|
@@ -4256,7 +4225,7 @@ class TableColumnDirective extends BaseComponent {
|
|
|
4256
4225
|
provideAsWidgetRef(TableColumnDirective)
|
|
4257
4226
|
]
|
|
4258
4227
|
}]
|
|
4259
|
-
}], ()
|
|
4228
|
+
}], function () { return [{ type: i0.Injector }, { type: i2.AppDefaults }, { type: TableComponent, decorators: [{
|
|
4260
4229
|
type: Optional
|
|
4261
4230
|
}] }, { type: TableColumnGroupDirective, decorators: [{
|
|
4262
4231
|
type: Optional
|
|
@@ -4266,12 +4235,7 @@ class TableColumnDirective extends BaseComponent {
|
|
|
4266
4235
|
}] }, { type: undefined, decorators: [{
|
|
4267
4236
|
type: Attribute,
|
|
4268
4237
|
args: ['dataset.bind']
|
|
4269
|
-
}] }, {
|
|
4270
|
-
type: Inject,
|
|
4271
|
-
args: ['EXPLICIT_CONTEXT']
|
|
4272
|
-
}, {
|
|
4273
|
-
type: Optional
|
|
4274
|
-
}] }], { _filterInstances: [{
|
|
4238
|
+
}] }]; }, { _filterInstances: [{
|
|
4275
4239
|
type: ContentChildren,
|
|
4276
4240
|
args: ['filterWidget', { descendants: true }]
|
|
4277
4241
|
}], _inlineInstances: [{
|
|
@@ -4307,8 +4271,8 @@ const registerProps$1 = () => {
|
|
|
4307
4271
|
const WIDGET_CONFIG$1 = { widgetType: 'wm-table-row', hostClass: '' };
|
|
4308
4272
|
class TableRowDirective extends BaseComponent {
|
|
4309
4273
|
static { this.initializeProps = registerProps$1(); }
|
|
4310
|
-
constructor(inj, table
|
|
4311
|
-
super(inj, WIDGET_CONFIG$1
|
|
4274
|
+
constructor(inj, table) {
|
|
4275
|
+
super(inj, WIDGET_CONFIG$1);
|
|
4312
4276
|
this.table = table;
|
|
4313
4277
|
}
|
|
4314
4278
|
populateConfig() {
|
|
@@ -4332,12 +4296,12 @@ class TableRowDirective extends BaseComponent {
|
|
|
4332
4296
|
this.config.content = this.content;
|
|
4333
4297
|
}
|
|
4334
4298
|
}
|
|
4335
|
-
static { this.ɵfac = function TableRowDirective_Factory(t) { return new (t || TableRowDirective)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(TableComponent, 12)
|
|
4299
|
+
static { this.ɵfac = function TableRowDirective_Factory(t) { return new (t || TableRowDirective)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(TableComponent, 12)); }; }
|
|
4336
4300
|
static { this.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: TableRowDirective, selectors: [["", "wmTableRow", ""]], features: [i0.ɵɵProvidersFeature([
|
|
4337
4301
|
provideAsWidgetRef(TableRowDirective)
|
|
4338
4302
|
]), i0.ɵɵInheritDefinitionFeature] }); }
|
|
4339
4303
|
}
|
|
4340
|
-
(()
|
|
4304
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TableRowDirective, [{
|
|
4341
4305
|
type: Directive,
|
|
4342
4306
|
args: [{
|
|
4343
4307
|
selector: '[wmTableRow]',
|
|
@@ -4345,16 +4309,11 @@ class TableRowDirective extends BaseComponent {
|
|
|
4345
4309
|
provideAsWidgetRef(TableRowDirective)
|
|
4346
4310
|
]
|
|
4347
4311
|
}]
|
|
4348
|
-
}], ()
|
|
4312
|
+
}], function () { return [{ type: i0.Injector }, { type: TableComponent, decorators: [{
|
|
4349
4313
|
type: Optional
|
|
4350
4314
|
}, {
|
|
4351
4315
|
type: SkipSelf
|
|
4352
|
-
}] }
|
|
4353
|
-
type: Inject,
|
|
4354
|
-
args: ['EXPLICIT_CONTEXT']
|
|
4355
|
-
}, {
|
|
4356
|
-
type: Optional
|
|
4357
|
-
}] }], null); })();
|
|
4316
|
+
}] }]; }, null); })();
|
|
4358
4317
|
|
|
4359
4318
|
const registerProps = () => {
|
|
4360
4319
|
register('wm-table-row-action', new Map([
|
|
@@ -4378,15 +4337,15 @@ const registerProps = () => {
|
|
|
4378
4337
|
const WIDGET_CONFIG = { widgetType: 'wm-table-row-action', hostClass: '' };
|
|
4379
4338
|
class TableRowActionDirective extends BaseComponent {
|
|
4380
4339
|
static { this.initializeProps = registerProps(); }
|
|
4381
|
-
constructor(inj, table, contexts
|
|
4382
|
-
super(inj, WIDGET_CONFIG
|
|
4340
|
+
constructor(inj, table, contexts) {
|
|
4341
|
+
super(inj, WIDGET_CONFIG);
|
|
4383
4342
|
this.table = table;
|
|
4384
4343
|
contexts[0].editRow = (evt) => this.table.editRow(evt);
|
|
4385
4344
|
contexts[0].deleteRow = (evt) => this.table.deleteRow(evt);
|
|
4386
4345
|
contexts[0].addNewRow = (evt) => this.table.addNewRow(evt);
|
|
4387
4346
|
}
|
|
4388
4347
|
getTitle() {
|
|
4389
|
-
return isUndefined(this.title) ? (this['display-name'] || '') : this.title;
|
|
4348
|
+
return _.isUndefined(this.title) ? (this['display-name'] || '') : this.title;
|
|
4390
4349
|
}
|
|
4391
4350
|
populateAction() {
|
|
4392
4351
|
this.buttonDef = {
|
|
@@ -4412,13 +4371,13 @@ class TableRowActionDirective extends BaseComponent {
|
|
|
4412
4371
|
this.populateAction();
|
|
4413
4372
|
this.table.registerRowActions(this.buttonDef);
|
|
4414
4373
|
}
|
|
4415
|
-
static { this.ɵfac = function TableRowActionDirective_Factory(t) { return new (t || TableRowActionDirective)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(TableComponent, 8), i0.ɵɵdirectiveInject(Context, 2)
|
|
4374
|
+
static { this.ɵfac = function TableRowActionDirective_Factory(t) { return new (t || TableRowActionDirective)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(TableComponent, 8), i0.ɵɵdirectiveInject(Context, 2)); }; }
|
|
4416
4375
|
static { this.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: TableRowActionDirective, selectors: [["", "wmTableRowAction", ""]], features: [i0.ɵɵProvidersFeature([
|
|
4417
4376
|
provideAsWidgetRef(TableRowActionDirective),
|
|
4418
4377
|
{ provide: Context, useFactory: () => { return {}; }, multi: true }
|
|
4419
4378
|
]), i0.ɵɵInheritDefinitionFeature] }); }
|
|
4420
4379
|
}
|
|
4421
|
-
(()
|
|
4380
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TableRowActionDirective, [{
|
|
4422
4381
|
type: Directive,
|
|
4423
4382
|
args: [{
|
|
4424
4383
|
selector: '[wmTableRowAction]',
|
|
@@ -4427,19 +4386,14 @@ class TableRowActionDirective extends BaseComponent {
|
|
|
4427
4386
|
{ provide: Context, useFactory: () => { return {}; }, multi: true }
|
|
4428
4387
|
]
|
|
4429
4388
|
}]
|
|
4430
|
-
}], ()
|
|
4389
|
+
}], function () { return [{ type: i0.Injector }, { type: TableComponent, decorators: [{
|
|
4431
4390
|
type: Optional
|
|
4432
4391
|
}] }, { type: Array, decorators: [{
|
|
4433
4392
|
type: Self
|
|
4434
4393
|
}, {
|
|
4435
4394
|
type: Inject,
|
|
4436
4395
|
args: [Context]
|
|
4437
|
-
}] }
|
|
4438
|
-
type: Inject,
|
|
4439
|
-
args: ['EXPLICIT_CONTEXT']
|
|
4440
|
-
}, {
|
|
4441
|
-
type: Optional
|
|
4442
|
-
}] }], null); })();
|
|
4396
|
+
}] }]; }, null); })();
|
|
4443
4397
|
|
|
4444
4398
|
const components = [
|
|
4445
4399
|
TableComponent,
|
|
@@ -4466,7 +4420,7 @@ class TableModule {
|
|
|
4466
4420
|
TooltipModule,
|
|
4467
4421
|
WmComponentsModule] }); }
|
|
4468
4422
|
}
|
|
4469
|
-
(()
|
|
4423
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TableModule, [{
|
|
4470
4424
|
type: NgModule,
|
|
4471
4425
|
args: [{
|
|
4472
4426
|
imports: [
|