@wavemaker/app-ng-runtime 11.8.0-next.141670 → 11.8.0-next.141673
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build-task/bundles/index.umd.js +33 -9
- package/build-task/esm2022/advanced/carousel/carousel-template/carousel-template.build.mjs +4 -2
- package/build-task/esm2022/advanced/carousel/carousel.build.mjs +1 -1
- package/build-task/esm2022/basic/default/label/label.build.mjs +1 -1
- package/build-task/esm2022/basic/progress/progress-bar/progress-bar.build.mjs +1 -1
- package/build-task/esm2022/containers/accordion/accordion.build.mjs +1 -1
- package/build-task/esm2022/containers/repeat-template.build.mjs +4 -2
- package/build-task/esm2022/containers/tabs/tabs.build.mjs +1 -1
- package/build-task/esm2022/data/form/form-field/form-field.build.mjs +1 -1
- package/build-task/esm2022/data/form/form.build.mjs +5 -2
- package/build-task/esm2022/data/list/list.build.mjs +1 -1
- package/build-task/esm2022/data/media-list/media-list.build.mjs +1 -1
- package/build-task/esm2022/data/table/table-column/table-column.build.mjs +1 -1
- package/build-task/esm2022/data/table/table.build.mjs +1 -1
- package/build-task/esm2022/dialogs/partial-dialog/partial-dialog.build.mjs +1 -1
- package/build-task/esm2022/input/file-upload/file-upload.build.mjs +1 -1
- package/build-task/esm2022/navigation/menu/menu.build.mjs +19 -2
- package/build-task/esm2022/navigation/popover/popover.build.mjs +1 -1
- package/build-task/esm2022/page/page-content/page-content.build.mjs +1 -1
- package/build-task/esm2022/page/page.build.mjs +3 -2
- package/build-task/esm2022/utils/utils.mjs +1 -1
- package/build-task/fesm2022/index.mjs +31 -6
- package/build-task/fesm2022/index.mjs.map +1 -1
- package/components/advanced/carousel/bundles/index.umd.js +26 -16
- package/components/advanced/carousel/carousel-template/carousel-template.directive.d.ts +2 -2
- package/components/advanced/carousel/carousel.directive.d.ts +2 -2
- package/components/advanced/carousel/esm2022/carousel-template/carousel-template.directive.mjs +12 -7
- package/components/advanced/carousel/esm2022/carousel.animator.mjs +3 -2
- package/components/advanced/carousel/esm2022/carousel.directive.mjs +12 -7
- package/components/advanced/carousel/esm2022/carousel.module.mjs +2 -2
- package/components/advanced/carousel/fesm2022/index.mjs +25 -14
- package/components/advanced/carousel/fesm2022/index.mjs.map +1 -1
- package/components/advanced/login/bundles/index.umd.js +19 -13
- package/components/advanced/login/esm2022/login.component.mjs +17 -10
- package/components/advanced/login/esm2022/login.module.mjs +2 -2
- package/components/advanced/login/fesm2022/index.mjs +18 -11
- package/components/advanced/login/fesm2022/index.mjs.map +1 -1
- package/components/advanced/login/login.component.d.ts +2 -2
- package/components/advanced/marquee/bundles/index.umd.js +11 -6
- package/components/advanced/marquee/esm2022/marquee.directive.mjs +12 -7
- package/components/advanced/marquee/esm2022/marquee.module.mjs +2 -2
- package/components/advanced/marquee/fesm2022/index.mjs +13 -8
- package/components/advanced/marquee/fesm2022/index.mjs.map +1 -1
- package/components/advanced/marquee/marquee.directive.d.ts +2 -2
- package/components/base/bundles/index.umd.js +357 -270
- package/components/base/esm2022/components.module.mjs +2 -2
- package/components/base/esm2022/directives/show-in-device.directive.mjs +4 -4
- package/components/base/esm2022/pipes/custom-pipes.mjs +35 -34
- package/components/base/esm2022/pipes/image.pipe.mjs +2 -2
- package/components/base/esm2022/pipes/sanitize.pipe.mjs +3 -3
- package/components/base/esm2022/pipes/trust-as.pipe.mjs +3 -3
- package/components/base/esm2022/pipes/wm-pipe.mjs +3 -2
- package/components/base/esm2022/utils/data-utils.mjs +30 -29
- package/components/base/esm2022/utils/form-utils.mjs +48 -42
- package/components/base/esm2022/utils/live-utils.mjs +8 -7
- package/components/base/esm2022/utils/widget-utils.mjs +28 -27
- package/components/base/esm2022/widgets/common/base/base-container.component.mjs +8 -7
- package/components/base/esm2022/widgets/common/base/base-field-validations.mjs +24 -21
- package/components/base/esm2022/widgets/common/base/base.component.mjs +42 -16
- package/components/base/esm2022/widgets/common/base/dataset-aware-nav.component.mjs +52 -18
- package/components/base/esm2022/widgets/common/base/partial-container.directive.mjs +6 -5
- package/components/base/esm2022/widgets/common/base/stylable.component.mjs +3 -3
- package/components/base/esm2022/widgets/common/base/text-content.directive.mjs +3 -3
- package/components/base/esm2022/widgets/common/container/container.directive.mjs +12 -7
- package/components/base/esm2022/widgets/common/dialog/dialog.service.mjs +5 -4
- package/components/base/esm2022/widgets/common/item-template/item-template.directive.mjs +12 -7
- package/components/base/esm2022/widgets/common/lazy-load/lazy-load.directive.mjs +3 -3
- package/components/base/esm2022/widgets/common/message/message.component.mjs +16 -10
- package/components/base/esm2022/widgets/common/partial/partial.directive.mjs +14 -8
- package/components/base/esm2022/widgets/common/partial-param/partial-param.directive.mjs +9 -8
- package/components/base/esm2022/widgets/common/pull-to-refresh/pull-to-refresh.mjs +1 -1
- package/components/base/esm2022/widgets/common/redraw/redrawable.directive.mjs +4 -4
- package/components/base/esm2022/widgets/common/repeat-template/repeat-template.directive.mjs +12 -7
- package/components/base/esm2022/widgets/common/smooth-scroll/smooth-scroll.directive.mjs +11 -10
- package/components/base/esm2022/widgets/framework/deviceview.mjs +1 -1
- package/components/base/esm2022/widgets/framework/property-change-handler.mjs +3 -2
- package/components/base/esm2022/widgets/framework/styler.mjs +1 -1
- package/components/base/esm2022/widgets/framework/widget-props.mjs +1 -1
- package/components/base/esm2022/widgets/framework/widget-proxy-provider.mjs +4 -3
- package/components/base/esm2022/widgets/framework/widget-registry.mjs +1 -1
- package/components/base/fesm2022/index.mjs +362 -272
- package/components/base/fesm2022/index.mjs.map +1 -1
- package/components/base/pipes/custom-pipes.d.ts +1 -1
- package/components/base/utils/data-utils.d.ts +1 -0
- package/components/base/utils/widget-utils.d.ts +2 -2
- package/components/base/widgets/common/base/base-container.component.d.ts +1 -1
- package/components/base/widgets/common/base/base-field-validations.d.ts +1 -1
- package/components/base/widgets/common/base/base.component.d.ts +4 -2
- package/components/base/widgets/common/base/dataset-aware-nav.component.d.ts +1 -1
- package/components/base/widgets/common/base/partial-container.directive.d.ts +1 -1
- package/components/base/widgets/common/container/container.directive.d.ts +2 -2
- package/components/base/widgets/common/item-template/item-template.directive.d.ts +2 -2
- package/components/base/widgets/common/message/message.component.d.ts +2 -2
- package/components/base/widgets/common/partial/partial.directive.d.ts +2 -2
- package/components/base/widgets/common/repeat-template/repeat-template.directive.d.ts +2 -2
- package/components/basic/default/anchor/anchor.component.d.ts +2 -2
- package/components/basic/default/audio/audio.component.d.ts +3 -2
- package/components/basic/default/bundles/index.umd.js +163 -119
- package/components/basic/default/esm2022/anchor/anchor.component.mjs +31 -27
- package/components/basic/default/esm2022/audio/audio.component.mjs +18 -11
- package/components/basic/default/esm2022/basic.module.mjs +2 -2
- package/components/basic/default/esm2022/html/html.directive.mjs +13 -8
- package/components/basic/default/esm2022/icon/icon.component.mjs +19 -14
- package/components/basic/default/esm2022/iframe/iframe.component.mjs +15 -9
- package/components/basic/default/esm2022/label/label.directive.mjs +15 -9
- package/components/basic/default/esm2022/picture/picture.directive.mjs +12 -7
- package/components/basic/default/esm2022/picture/picture.props.mjs +1 -1
- package/components/basic/default/esm2022/spinner/spinner.component.mjs +34 -30
- package/components/basic/default/esm2022/video/video.component.mjs +21 -17
- package/components/basic/default/fesm2022/index.mjs +162 -117
- package/components/basic/default/fesm2022/index.mjs.map +1 -1
- package/components/basic/default/html/html.directive.d.ts +2 -2
- package/components/basic/default/icon/icon.component.d.ts +2 -2
- package/components/basic/default/iframe/iframe.component.d.ts +2 -2
- package/components/basic/default/label/label.directive.d.ts +2 -2
- package/components/basic/default/picture/picture.directive.d.ts +2 -2
- package/components/basic/default/spinner/spinner.component.d.ts +2 -2
- package/components/basic/default/video/video.component.d.ts +2 -2
- package/components/basic/progress/bundles/index.umd.js +45 -32
- package/components/basic/progress/esm2022/progress-bar/progress-bar.component.mjs +24 -17
- package/components/basic/progress/esm2022/progress-circle/progress-circle.component.mjs +20 -12
- package/components/basic/progress/esm2022/progress.module.mjs +2 -2
- package/components/basic/progress/esm2022/utils.mjs +3 -3
- package/components/basic/progress/fesm2022/index.mjs +44 -30
- package/components/basic/progress/fesm2022/index.mjs.map +1 -1
- package/components/basic/progress/progress-bar/progress-bar.component.d.ts +2 -2
- package/components/basic/progress/progress-circle/progress-circle.component.d.ts +3 -2
- package/components/basic/rich-text-editor/bundles/index.umd.js +19 -13
- package/components/basic/rich-text-editor/esm2022/rich-text-editor.component.mjs +17 -10
- package/components/basic/rich-text-editor/esm2022/rich-text-editor.module.mjs +2 -2
- package/components/basic/rich-text-editor/fesm2022/index.mjs +18 -11
- package/components/basic/rich-text-editor/fesm2022/index.mjs.map +1 -1
- package/components/basic/rich-text-editor/rich-text-editor.component.d.ts +2 -2
- package/components/basic/search/bundles/index.umd.js +185 -175
- package/components/basic/search/esm2022/data-provider/data-provider.mjs +1 -1
- package/components/basic/search/esm2022/data-provider/local-data-provider.mjs +26 -23
- package/components/basic/search/esm2022/data-provider/remote-data-provider.mjs +12 -11
- package/components/basic/search/esm2022/scrollable.directive.mjs +3 -3
- package/components/basic/search/esm2022/search.component.mjs +147 -138
- package/components/basic/search/esm2022/search.module.mjs +2 -2
- package/components/basic/search/fesm2022/index.mjs +185 -174
- package/components/basic/search/fesm2022/index.mjs.map +1 -1
- package/components/basic/search/search.component.d.ts +2 -2
- package/components/basic/tree/bundles/index.umd.js +23 -17
- package/components/basic/tree/esm2022/tree.component.mjs +21 -14
- package/components/basic/tree/esm2022/tree.module.mjs +2 -2
- package/components/basic/tree/fesm2022/index.mjs +22 -15
- package/components/basic/tree/fesm2022/index.mjs.map +1 -1
- package/components/basic/tree/tree.component.d.ts +2 -2
- package/components/chart/bundles/index.umd.js +97 -84
- package/components/chart/chart.component.d.ts +3 -3
- package/components/chart/chart.utils.d.ts +3 -3
- package/components/chart/esm2022/chart.component.mjs +82 -68
- package/components/chart/esm2022/chart.module.mjs +2 -2
- package/components/chart/esm2022/chart.utils.mjs +14 -13
- package/components/chart/fesm2022/index.mjs +95 -81
- package/components/chart/fesm2022/index.mjs.map +1 -1
- package/components/containers/accordion/accordion-pane/accordion-pane.component.d.ts +2 -2
- package/components/containers/accordion/accordion.directive.d.ts +2 -2
- package/components/containers/accordion/bundles/index.umd.js +51 -40
- package/components/containers/accordion/esm2022/accordion-pane/accordion-pane.component.mjs +23 -17
- package/components/containers/accordion/esm2022/accordion-pane/accordion-pane.props.mjs +4 -4
- package/components/containers/accordion/esm2022/accordion.directive.mjs +25 -19
- package/components/containers/accordion/esm2022/accordion.module.mjs +2 -2
- package/components/containers/accordion/fesm2022/index.mjs +50 -38
- package/components/containers/accordion/fesm2022/index.mjs.map +1 -1
- package/components/containers/layout-grid/bundles/index.umd.js +32 -17
- package/components/containers/layout-grid/esm2022/layout-grid-column/layout-grid-column.directive.mjs +13 -8
- package/components/containers/layout-grid/esm2022/layout-grid-row/layout-grid-row.directive.mjs +12 -7
- package/components/containers/layout-grid/esm2022/layout-grid.directive.mjs +12 -7
- package/components/containers/layout-grid/esm2022/layout-grid.module.mjs +2 -2
- package/components/containers/layout-grid/fesm2022/index.mjs +34 -19
- package/components/containers/layout-grid/fesm2022/index.mjs.map +1 -1
- package/components/containers/layout-grid/layout-grid-column/layout-grid-column.directive.d.ts +2 -2
- package/components/containers/layout-grid/layout-grid-row/layout-grid-row.directive.d.ts +2 -2
- package/components/containers/layout-grid/layout-grid.directive.d.ts +2 -2
- package/components/containers/linear-layout/bundles/index.umd.js +21 -11
- package/components/containers/linear-layout/esm2022/linear-layout-item/linear-layout-item.directive.mjs +12 -7
- package/components/containers/linear-layout/esm2022/linear-layout.directive.mjs +12 -7
- package/components/containers/linear-layout/esm2022/linear-layout.module.mjs +2 -2
- package/components/containers/linear-layout/fesm2022/index.mjs +23 -13
- package/components/containers/linear-layout/fesm2022/index.mjs.map +1 -1
- package/components/containers/linear-layout/linear-layout-item/linear-layout-item.directive.d.ts +2 -2
- package/components/containers/linear-layout/linear-layout.directive.d.ts +2 -2
- package/components/containers/panel/bundles/index.umd.js +85 -85
- package/components/containers/panel/esm2022/panel.component.mjs +83 -82
- package/components/containers/panel/esm2022/panel.module.mjs +2 -2
- package/components/containers/panel/fesm2022/index.mjs +84 -83
- package/components/containers/panel/fesm2022/index.mjs.map +1 -1
- package/components/containers/panel/panel.component.d.ts +3 -3
- package/components/containers/tabs/bundles/index.umd.js +74 -63
- package/components/containers/tabs/esm2022/tab-pane/tab-pane.component.mjs +14 -8
- package/components/containers/tabs/esm2022/tab-pane/tab-pane.props.mjs +4 -4
- package/components/containers/tabs/esm2022/tabs.animator.mjs +1 -1
- package/components/containers/tabs/esm2022/tabs.component.mjs +57 -51
- package/components/containers/tabs/esm2022/tabs.module.mjs +2 -2
- package/components/containers/tabs/esm2022/tabs.props.mjs +1 -1
- package/components/containers/tabs/fesm2022/index.mjs +73 -61
- package/components/containers/tabs/fesm2022/index.mjs.map +1 -1
- package/components/containers/tabs/tab-pane/tab-pane.component.d.ts +2 -2
- package/components/containers/tabs/tabs.component.d.ts +2 -2
- package/components/containers/tile/bundles/index.umd.js +11 -6
- package/components/containers/tile/esm2022/tile.directive.mjs +12 -7
- package/components/containers/tile/esm2022/tile.module.mjs +2 -2
- package/components/containers/tile/fesm2022/index.mjs +13 -8
- package/components/containers/tile/fesm2022/index.mjs.map +1 -1
- package/components/containers/tile/tile.directive.d.ts +2 -2
- package/components/containers/wizard/bundles/index.umd.js +102 -98
- package/components/containers/wizard/esm2022/wizard-step/wizard-step.directive.mjs +13 -8
- package/components/containers/wizard/esm2022/wizard.component.mjs +92 -93
- package/components/containers/wizard/esm2022/wizard.module.mjs +2 -2
- package/components/containers/wizard/fesm2022/index.mjs +104 -100
- package/components/containers/wizard/fesm2022/index.mjs.map +1 -1
- package/components/containers/wizard/wizard-step/wizard-step.directive.d.ts +2 -2
- package/components/containers/wizard/wizard.component.d.ts +2 -2
- package/components/data/card/bundles/index.umd.js +70 -50
- package/components/data/card/card-actions/card-actions.directive.d.ts +2 -2
- package/components/data/card/card-content/card-content.component.d.ts +2 -2
- package/components/data/card/card-footer/card-footer.directive.d.ts +2 -2
- package/components/data/card/card.component.d.ts +2 -2
- package/components/data/card/esm2022/card-actions/card-actions.directive.mjs +12 -7
- package/components/data/card/esm2022/card-content/card-content.component.mjs +15 -9
- package/components/data/card/esm2022/card-footer/card-footer.directive.mjs +12 -7
- package/components/data/card/esm2022/card.component.mjs +38 -34
- package/components/data/card/esm2022/card.module.mjs +2 -2
- package/components/data/card/fesm2022/index.mjs +72 -52
- package/components/data/card/fesm2022/index.mjs.map +1 -1
- package/components/data/form/bundles/index.umd.js +202 -188
- package/components/data/form/esm2022/form-action/form-action.directive.mjs +15 -9
- package/components/data/form/esm2022/form-field/form-field.directive.mjs +21 -16
- package/components/data/form/esm2022/form-field/form-field.props.mjs +1 -1
- package/components/data/form/esm2022/form-widget.directive.mjs +4 -4
- package/components/data/form/esm2022/form.component.mjs +139 -135
- package/components/data/form/esm2022/form.module.mjs +2 -2
- package/components/data/form/esm2022/form.props.mjs +1 -1
- package/components/data/form/esm2022/live-actions/dependson.directive.mjs +4 -4
- package/components/data/form/esm2022/live-actions/live-actions.directive.mjs +4 -4
- package/components/data/form/esm2022/live-filter/live-filter.directive.mjs +7 -6
- package/components/data/form/esm2022/live-form/live-form.directive.mjs +18 -15
- package/components/data/form/fesm2022/index.mjs +206 -191
- package/components/data/form/fesm2022/index.mjs.map +1 -1
- package/components/data/form/form-action/form-action.directive.d.ts +2 -2
- package/components/data/form/form-field/form-field.directive.d.ts +2 -2
- package/components/data/form/form.component.d.ts +4 -4
- package/components/data/form/live-form/live-form.directive.d.ts +1 -1
- package/components/data/list/bundles/index.umd.js +826 -818
- package/components/data/list/esm2022/list-item.directive.mjs +4 -4
- package/components/data/list/esm2022/list.animator.mjs +5 -3
- package/components/data/list/esm2022/list.component.mjs +818 -810
- package/components/data/list/esm2022/list.module.mjs +2 -2
- package/components/data/list/fesm2022/index.mjs +825 -816
- package/components/data/list/fesm2022/index.mjs.map +1 -1
- package/components/data/list/list.component.d.ts +55 -54
- package/components/data/live-table/bundles/index.umd.js +13 -7
- package/components/data/live-table/esm2022/live-table.component.mjs +14 -8
- package/components/data/live-table/esm2022/live-table.module.mjs +2 -2
- package/components/data/live-table/fesm2022/index.mjs +15 -9
- package/components/data/live-table/fesm2022/index.mjs.map +1 -1
- package/components/data/live-table/live-table.component.d.ts +2 -2
- package/components/data/pagination/bundles/index.umd.js +111 -109
- package/components/data/pagination/esm2022/pagination.component.mjs +109 -106
- package/components/data/pagination/esm2022/pagination.module.mjs +2 -2
- package/components/data/pagination/fesm2022/index.mjs +110 -107
- package/components/data/pagination/fesm2022/index.mjs.map +1 -1
- package/components/data/pagination/pagination.component.d.ts +2 -2
- package/components/data/table/bundles/index.umd.js +311 -268
- package/components/data/table/esm2022/table-action/table-action.directive.mjs +15 -9
- package/components/data/table/esm2022/table-column/table-column.directive.mjs +40 -25
- package/components/data/table/esm2022/table-column/table-column.props.mjs +2 -2
- package/components/data/table/esm2022/table-column-group/table-column-group.directive.mjs +13 -8
- package/components/data/table/esm2022/table-cud.directive.mjs +10 -9
- package/components/data/table/esm2022/table-filter.directive.mjs +56 -58
- package/components/data/table/esm2022/table-row/table-row.directive.mjs +13 -8
- package/components/data/table/esm2022/table-row-action/table-row-action.directive.mjs +14 -8
- package/components/data/table/esm2022/table.component.mjs +162 -149
- package/components/data/table/esm2022/table.module.mjs +2 -2
- package/components/data/table/esm2022/table.props.mjs +2 -2
- package/components/data/table/fesm2022/index.mjs +310 -266
- package/components/data/table/fesm2022/index.mjs.map +1 -1
- package/components/data/table/table-action/table-action.directive.d.ts +2 -2
- package/components/data/table/table-column/table-column.directive.d.ts +8 -8
- package/components/data/table/table-column-group/table-column-group.directive.d.ts +2 -2
- package/components/data/table/table-row/table-row.directive.d.ts +2 -2
- package/components/data/table/table-row-action/table-row-action.directive.d.ts +2 -2
- package/components/data/table/table.component.d.ts +4 -4
- package/components/dialogs/alert-dialog/alert-dialog.component.d.ts +2 -2
- package/components/dialogs/alert-dialog/bundles/index.umd.js +15 -9
- package/components/dialogs/alert-dialog/esm2022/alert-dialog.component.mjs +16 -10
- package/components/dialogs/alert-dialog/esm2022/alert-dialog.module.mjs +2 -2
- package/components/dialogs/alert-dialog/fesm2022/index.mjs +17 -11
- package/components/dialogs/alert-dialog/fesm2022/index.mjs.map +1 -1
- package/components/dialogs/confirm-dialog/bundles/index.umd.js +17 -11
- package/components/dialogs/confirm-dialog/confirm-dialog.component.d.ts +2 -2
- package/components/dialogs/confirm-dialog/esm2022/confirm-dialog.component.mjs +18 -12
- package/components/dialogs/confirm-dialog/esm2022/confirm-dialog.module.mjs +2 -2
- package/components/dialogs/confirm-dialog/fesm2022/index.mjs +19 -13
- package/components/dialogs/confirm-dialog/fesm2022/index.mjs.map +1 -1
- package/components/dialogs/default/base-dialog.d.ts +2 -2
- package/components/dialogs/default/bundles/index.umd.js +75 -71
- package/components/dialogs/default/dialog-footer/dialog-footer.directive.d.ts +2 -2
- package/components/dialogs/default/esm2022/base-dialog.mjs +14 -9
- package/components/dialogs/default/esm2022/dialog-body/dialog-body.directive.mjs +4 -4
- package/components/dialogs/default/esm2022/dialog-footer/dialog-footer.directive.mjs +12 -7
- package/components/dialogs/default/esm2022/dialog-header/dialog-header.component.mjs +49 -55
- package/components/dialogs/default/esm2022/dialog.module.mjs +2 -2
- package/components/dialogs/default/fesm2022/index.mjs +76 -72
- package/components/dialogs/default/fesm2022/index.mjs.map +1 -1
- package/components/dialogs/design-dialog/bundles/index.umd.js +20 -14
- package/components/dialogs/design-dialog/dialog.component.d.ts +2 -2
- package/components/dialogs/design-dialog/esm2022/design-dialog.module.mjs +2 -2
- package/components/dialogs/design-dialog/esm2022/dialog.component.mjs +21 -15
- package/components/dialogs/design-dialog/fesm2022/index.mjs +22 -16
- package/components/dialogs/design-dialog/fesm2022/index.mjs.map +1 -1
- package/components/dialogs/iframe-dialog/bundles/index.umd.js +20 -14
- package/components/dialogs/iframe-dialog/esm2022/iframe-dialog.component.mjs +21 -15
- package/components/dialogs/iframe-dialog/esm2022/iframe-dialog.module.mjs +2 -2
- package/components/dialogs/iframe-dialog/fesm2022/index.mjs +22 -16
- package/components/dialogs/iframe-dialog/fesm2022/index.mjs.map +1 -1
- package/components/dialogs/iframe-dialog/iframe-dialog.component.d.ts +2 -2
- package/components/dialogs/login-dialog/bundles/index.umd.js +4 -4
- package/components/dialogs/login-dialog/esm2022/login-dialog.directive.mjs +4 -4
- package/components/dialogs/login-dialog/esm2022/login-dialog.module.mjs +2 -2
- package/components/dialogs/login-dialog/fesm2022/index.mjs +4 -4
- package/components/dialogs/login-dialog/fesm2022/index.mjs.map +1 -1
- package/components/dialogs/partial-dialog/bundles/index.umd.js +16 -10
- package/components/dialogs/partial-dialog/esm2022/partial-dialog.component.mjs +17 -11
- package/components/dialogs/partial-dialog/esm2022/partial-dialog.module.mjs +2 -2
- package/components/dialogs/partial-dialog/fesm2022/index.mjs +18 -12
- package/components/dialogs/partial-dialog/fesm2022/index.mjs.map +1 -1
- package/components/dialogs/partial-dialog/partial-dialog.component.d.ts +2 -2
- package/components/input/calendar/bundles/index.umd.js +46 -38
- package/components/input/calendar/calendar.component.d.ts +2 -2
- package/components/input/calendar/esm2022/calendar.component.mjs +44 -35
- package/components/input/calendar/esm2022/calendar.module.mjs +2 -2
- package/components/input/calendar/fesm2022/index.mjs +45 -36
- package/components/input/calendar/fesm2022/index.mjs.map +1 -1
- package/components/input/chips/bundles/index.umd.js +69 -61
- package/components/input/chips/chips.component.d.ts +3 -3
- package/components/input/chips/esm2022/chips.component.mjs +67 -58
- package/components/input/chips/esm2022/chips.module.mjs +2 -2
- package/components/input/chips/fesm2022/index.mjs +67 -58
- package/components/input/chips/fesm2022/index.mjs.map +1 -1
- package/components/input/color-picker/bundles/index.umd.js +24 -11
- package/components/input/color-picker/color-picker.component.d.ts +2 -2
- package/components/input/color-picker/esm2022/color-picker.component.mjs +25 -12
- package/components/input/color-picker/esm2022/color-picker.module.mjs +2 -2
- package/components/input/color-picker/fesm2022/index.mjs +25 -12
- package/components/input/color-picker/fesm2022/index.mjs.map +1 -1
- package/components/input/currency/bundles/index.umd.js +18 -11
- package/components/input/currency/currency.component.d.ts +2 -2
- package/components/input/currency/esm2022/currency.component.mjs +19 -12
- package/components/input/currency/esm2022/currency.module.mjs +2 -2
- package/components/input/currency/fesm2022/index.mjs +19 -12
- package/components/input/currency/fesm2022/index.mjs.map +1 -1
- package/components/input/default/base-form.component.d.ts +3 -3
- package/components/input/default/bundles/index.umd.js +600 -482
- package/components/input/default/button/button.component.d.ts +2 -2
- package/components/input/default/button-group/button-group.directive.d.ts +2 -2
- package/components/input/default/checkbox/checkbox.component.d.ts +3 -2
- package/components/input/default/checkboxset/checkboxset.component.d.ts +2 -2
- package/components/input/default/composite/composite.directive.d.ts +2 -2
- package/components/input/default/dataset-aware-form.component.d.ts +4 -4
- package/components/input/default/esm2022/base-form-custom.component.mjs +3 -3
- package/components/input/default/esm2022/base-form.component.mjs +17 -11
- package/components/input/default/esm2022/button/button.component.mjs +32 -28
- package/components/input/default/esm2022/button-group/button-group.directive.mjs +12 -7
- package/components/input/default/esm2022/caption-position.directive.mjs +6 -6
- package/components/input/default/esm2022/checkbox/checkbox.component.mjs +24 -15
- package/components/input/default/esm2022/checkboxset/checkboxset.component.mjs +107 -103
- package/components/input/default/esm2022/composite/composite.directive.mjs +12 -7
- package/components/input/default/esm2022/dataset-aware-form.component.mjs +32 -26
- package/components/input/default/esm2022/input.module.mjs +2 -2
- package/components/input/default/esm2022/number/number.component.mjs +17 -10
- package/components/input/default/esm2022/radioset/radioset.component.mjs +105 -102
- package/components/input/default/esm2022/select/select.component.mjs +69 -68
- package/components/input/default/esm2022/switch/switch.component.mjs +38 -31
- package/components/input/default/esm2022/text/base/base-input.mjs +16 -10
- package/components/input/default/esm2022/text/calendar/input-calendar.component.mjs +21 -11
- package/components/input/default/esm2022/text/color/input-color.component.mjs +21 -11
- package/components/input/default/esm2022/text/email/input-email.component.mjs +20 -11
- package/components/input/default/esm2022/text/locale/number-locale.mjs +35 -24
- package/components/input/default/esm2022/text/number/input-number.component.mjs +21 -12
- package/components/input/default/esm2022/text/text/input-text.component.mjs +20 -11
- package/components/input/default/esm2022/textarea/textarea.component.mjs +21 -12
- package/components/input/default/fesm2022/index.mjs +603 -483
- package/components/input/default/fesm2022/index.mjs.map +1 -1
- package/components/input/default/number/number.component.d.ts +2 -2
- package/components/input/default/radioset/radioset.component.d.ts +2 -2
- package/components/input/default/select/select.component.d.ts +3 -4
- package/components/input/default/switch/switch.component.d.ts +2 -2
- package/components/input/default/text/base/base-input.d.ts +2 -2
- package/components/input/default/text/calendar/input-calendar.component.d.ts +2 -2
- package/components/input/default/text/color/input-color.component.d.ts +2 -2
- package/components/input/default/text/email/input-email.component.d.ts +2 -2
- package/components/input/default/text/locale/number-locale.d.ts +1 -1
- package/components/input/default/text/number/input-number.component.d.ts +2 -2
- package/components/input/default/text/text/input-text.component.d.ts +2 -2
- package/components/input/default/textarea/textarea.component.d.ts +2 -2
- package/components/input/epoch/base-date-time.component.d.ts +2 -2
- package/components/input/epoch/bundles/index.umd.js +221 -162
- package/components/input/epoch/date/date.component.d.ts +3 -2
- package/components/input/epoch/date-time/date-time.component.d.ts +2 -2
- package/components/input/epoch/esm2022/base-date-time.component.mjs +45 -36
- package/components/input/epoch/esm2022/date/date.component.mjs +48 -23
- package/components/input/epoch/esm2022/date/date.props.mjs +2 -2
- package/components/input/epoch/esm2022/date/imaskUtil.mjs +8 -2
- package/components/input/epoch/esm2022/date-time/date-time-picker.component.mjs +42 -41
- package/components/input/epoch/esm2022/date-time/date-time.component.mjs +47 -36
- package/components/input/epoch/esm2022/epoch.module.mjs +2 -2
- package/components/input/epoch/esm2022/picker/picker.component.mjs +7 -5
- package/components/input/epoch/esm2022/time/time.component.mjs +33 -23
- package/components/input/epoch/fesm2022/index.mjs +219 -159
- package/components/input/epoch/fesm2022/index.mjs.map +1 -1
- package/components/input/epoch/time/time.component.d.ts +2 -2
- package/components/input/file-upload/bundles/index.umd.js +133 -135
- package/components/input/file-upload/esm2022/file-upload.component.mjs +131 -132
- package/components/input/file-upload/esm2022/file-upload.module.mjs +2 -2
- package/components/input/file-upload/fesm2022/index.mjs +132 -133
- package/components/input/file-upload/fesm2022/index.mjs.map +1 -1
- package/components/input/file-upload/file-upload.component.d.ts +2 -2
- package/components/input/rating/bundles/index.umd.js +57 -50
- package/components/input/rating/esm2022/rating.component.mjs +55 -47
- package/components/input/rating/esm2022/rating.module.mjs +2 -2
- package/components/input/rating/fesm2022/index.mjs +55 -47
- package/components/input/rating/fesm2022/index.mjs.map +1 -1
- package/components/input/rating/rating.component.d.ts +2 -2
- package/components/input/slider/bundles/index.umd.js +21 -12
- package/components/input/slider/esm2022/slider.component.mjs +22 -13
- package/components/input/slider/esm2022/slider.module.mjs +2 -2
- package/components/input/slider/fesm2022/index.mjs +22 -13
- package/components/input/slider/fesm2022/index.mjs.map +1 -1
- package/components/input/slider/slider.component.d.ts +2 -2
- package/components/navigation/breadcrumb/breadcrumb.component.d.ts +2 -2
- package/components/navigation/breadcrumb/bundles/index.umd.js +33 -28
- package/components/navigation/breadcrumb/esm2022/breadcrumb.component.mjs +34 -29
- package/components/navigation/breadcrumb/esm2022/breadcrumb.module.mjs +2 -2
- package/components/navigation/breadcrumb/fesm2022/index.mjs +35 -30
- package/components/navigation/breadcrumb/fesm2022/index.mjs.map +1 -1
- package/components/navigation/menu/bundles/index.umd.js +154 -137
- package/components/navigation/menu/esm2022/menu-adapator.component.mjs +13 -7
- package/components/navigation/menu/esm2022/menu-dropdown/menu-dropdown.component.mjs +5 -4
- package/components/navigation/menu/esm2022/menu-dropdown-item/menu-dropdown-item.component.mjs +27 -26
- package/components/navigation/menu/esm2022/menu.component.mjs +44 -40
- package/components/navigation/menu/esm2022/menu.module.mjs +2 -2
- package/components/navigation/menu/esm2022/nav/nav-item/nav-item.directive.mjs +12 -7
- package/components/navigation/menu/esm2022/nav/nav.component.mjs +60 -56
- package/components/navigation/menu/esm2022/nav/navigation-control.directive.mjs +3 -3
- package/components/navigation/menu/fesm2022/index.mjs +153 -135
- package/components/navigation/menu/fesm2022/index.mjs.map +1 -1
- package/components/navigation/menu/menu-adapator.component.d.ts +1 -1
- package/components/navigation/menu/menu-dropdown-item/menu-dropdown-item.component.d.ts +12 -1
- package/components/navigation/menu/menu.component.d.ts +2 -2
- package/components/navigation/menu/nav/nav-item/nav-item.directive.d.ts +2 -2
- package/components/navigation/menu/nav/nav.component.d.ts +2 -2
- package/components/navigation/navbar/bundles/index.umd.js +29 -22
- package/components/navigation/navbar/esm2022/navbar.component.mjs +30 -23
- package/components/navigation/navbar/esm2022/navbar.module.mjs +2 -2
- package/components/navigation/navbar/fesm2022/index.mjs +31 -24
- package/components/navigation/navbar/fesm2022/index.mjs.map +1 -1
- package/components/navigation/navbar/navbar.component.d.ts +2 -2
- package/components/navigation/popover/bundles/index.umd.js +18 -11
- package/components/navigation/popover/esm2022/popover.component.mjs +19 -12
- package/components/navigation/popover/esm2022/popover.module.mjs +2 -2
- package/components/navigation/popover/fesm2022/index.mjs +20 -13
- package/components/navigation/popover/fesm2022/index.mjs.map +1 -1
- package/components/navigation/popover/popover.component.d.ts +2 -2
- package/components/page/default/bundles/index.umd.js +63 -31
- package/components/page/default/content/content.component.d.ts +2 -2
- package/components/page/default/esm2022/content/content.component.mjs +13 -7
- package/components/page/default/esm2022/layout.directive.mjs +12 -7
- package/components/page/default/esm2022/page-content/page-content.component.mjs +13 -7
- package/components/page/default/esm2022/page.directive.mjs +12 -7
- package/components/page/default/esm2022/page.module.mjs +2 -2
- package/components/page/default/esm2022/router-outlet.directive.mjs +12 -7
- package/components/page/default/esm2022/spa-page.directive.mjs +12 -7
- package/components/page/default/fesm2022/index.mjs +65 -33
- package/components/page/default/fesm2022/index.mjs.map +1 -1
- package/components/page/default/layout.directive.d.ts +2 -2
- package/components/page/default/page-content/page-content.component.d.ts +2 -2
- package/components/page/default/page.directive.d.ts +2 -2
- package/components/page/default/router-outlet.directive.d.ts +2 -2
- package/components/page/default/spa-page.directive.d.ts +2 -2
- package/components/page/footer/bundles/index.umd.js +11 -6
- package/components/page/footer/esm2022/footer.directive.mjs +12 -7
- package/components/page/footer/esm2022/footer.module.mjs +2 -2
- package/components/page/footer/fesm2022/index.mjs +13 -8
- package/components/page/footer/fesm2022/index.mjs.map +1 -1
- package/components/page/footer/footer.directive.d.ts +2 -2
- package/components/page/header/bundles/index.umd.js +12 -6
- package/components/page/header/esm2022/header.component.mjs +13 -7
- package/components/page/header/esm2022/header.module.mjs +2 -2
- package/components/page/header/fesm2022/index.mjs +14 -8
- package/components/page/header/fesm2022/index.mjs.map +1 -1
- package/components/page/header/header.component.d.ts +2 -2
- package/components/page/left-panel/bundles/index.umd.js +12 -7
- package/components/page/left-panel/esm2022/left-panel.animator.mjs +1 -1
- package/components/page/left-panel/esm2022/left-panel.directive.mjs +13 -8
- package/components/page/left-panel/esm2022/left-panel.module.mjs +2 -2
- package/components/page/left-panel/fesm2022/index.mjs +14 -9
- package/components/page/left-panel/fesm2022/index.mjs.map +1 -1
- package/components/page/left-panel/left-panel.directive.d.ts +2 -2
- package/components/page/right-panel/bundles/index.umd.js +11 -6
- package/components/page/right-panel/esm2022/right-panel.directive.mjs +12 -7
- package/components/page/right-panel/esm2022/right-panel.module.mjs +2 -2
- package/components/page/right-panel/fesm2022/index.mjs +13 -8
- package/components/page/right-panel/fesm2022/index.mjs.map +1 -1
- package/components/page/right-panel/right-panel.directive.d.ts +2 -2
- package/components/page/top-nav/bundles/index.umd.js +11 -6
- package/components/page/top-nav/esm2022/top-nav.directive.mjs +12 -7
- package/components/page/top-nav/esm2022/top-nav.module.mjs +2 -2
- package/components/page/top-nav/fesm2022/index.mjs +13 -8
- package/components/page/top-nav/fesm2022/index.mjs.map +1 -1
- package/components/page/top-nav/top-nav.directive.d.ts +2 -2
- package/components/prefab/bundles/index.umd.js +28 -18
- package/components/prefab/esm2022/prefab-container/prefab-container.directive.mjs +14 -8
- package/components/prefab/esm2022/prefab.directive.mjs +15 -9
- package/components/prefab/esm2022/prefab.module.mjs +2 -2
- package/components/prefab/fesm2022/index.mjs +26 -15
- package/components/prefab/fesm2022/index.mjs.map +1 -1
- package/components/prefab/prefab-container/prefab-container.directive.d.ts +2 -2
- package/components/prefab/prefab.directive.d.ts +2 -2
- package/core/bundles/index.umd.js +135 -146
- package/core/esm2022/core.module.mjs +2 -2
- package/core/esm2022/public_api.mjs +2 -2
- package/core/esm2022/services/constant.service.mjs +2 -2
- package/core/esm2022/services/field-type.service.mjs +5 -4
- package/core/esm2022/services/field-widget.service.mjs +5 -4
- package/core/esm2022/services/pagination.service.mjs +8 -7
- package/core/esm2022/services/script-loader.service.mjs +3 -3
- package/core/esm2022/services/state-persistence.service.mjs +18 -17
- package/core/esm2022/services/user-custom-pipe-manager.service.mjs +2 -2
- package/core/esm2022/services/utils.service.mjs +5 -4
- package/core/esm2022/services/viewport.service.mjs +5 -4
- package/core/esm2022/utils/build-utils.mjs +5 -4
- package/core/esm2022/utils/dom.mjs +1 -1
- package/core/esm2022/utils/event-notifier.mjs +1 -1
- package/core/esm2022/utils/expression-parser.mjs +6 -5
- package/core/esm2022/utils/id-generator.mjs +1 -1
- package/core/esm2022/utils/lru-cache.mjs +3 -2
- package/core/esm2022/utils/utils.mjs +79 -82
- package/core/esm2022/utils/watcher.mjs +9 -7
- package/core/esm2022/utils/wm-project-properties.mjs +1 -1
- package/core/fesm2022/index.mjs +134 -140
- package/core/fesm2022/index.mjs.map +1 -1
- package/core/public_api.d.ts +1 -1
- package/core/services/pagination.service.d.ts +1 -1
- package/core/utils/utils.d.ts +5 -9
- package/http/bundles/index.umd.js +10 -10
- package/http/esm2022/http-service.module.mjs +2 -2
- package/http/esm2022/http.service.mjs +7 -6
- package/http/esm2022/wm-http-request.mjs +1 -1
- package/http/esm2022/wm-http-response.mjs +1 -1
- package/http/fesm2022/index.mjs +7 -6
- package/http/fesm2022/index.mjs.map +1 -1
- package/locales/angular/global/af-na.js +4 -4
- package/locales/angular/global/af.js +4 -4
- package/locales/angular/global/agq.js +4 -4
- package/locales/angular/global/ak.js +4 -4
- package/locales/angular/global/am.js +4 -4
- package/locales/angular/global/ar-ae.js +4 -4
- package/locales/angular/global/ar-bh.js +4 -4
- package/locales/angular/global/ar-dj.js +4 -4
- package/locales/angular/global/ar-dz.js +4 -4
- package/locales/angular/global/ar-eg.js +4 -4
- package/locales/angular/global/ar-eh.js +4 -4
- package/locales/angular/global/ar-er.js +4 -4
- package/locales/angular/global/ar-il.js +4 -4
- package/locales/angular/global/ar-iq.js +4 -4
- package/locales/angular/global/ar-jo.js +4 -4
- package/locales/angular/global/ar-km.js +4 -4
- package/locales/angular/global/ar-kw.js +4 -4
- package/locales/angular/global/ar-lb.js +4 -4
- package/locales/angular/global/ar-ly.js +4 -4
- package/locales/angular/global/ar-ma.js +4 -4
- package/locales/angular/global/ar-mr.js +4 -4
- package/locales/angular/global/ar-om.js +4 -4
- package/locales/angular/global/ar-ps.js +4 -4
- package/locales/angular/global/ar-qa.js +4 -4
- package/locales/angular/global/ar-sa.js +4 -4
- package/locales/angular/global/ar-sd.js +4 -4
- package/locales/angular/global/ar-so.js +4 -4
- package/locales/angular/global/ar-ss.js +4 -4
- package/locales/angular/global/ar-sy.js +4 -4
- package/locales/angular/global/ar-td.js +4 -4
- package/locales/angular/global/ar-tn.js +4 -4
- package/locales/angular/global/ar-ye.js +4 -4
- package/locales/angular/global/ar.js +4 -4
- package/locales/angular/global/as.js +4 -4
- package/locales/angular/global/asa.js +4 -4
- package/locales/angular/global/ast.js +4 -4
- package/locales/angular/global/az-cyrl.js +4 -4
- package/locales/angular/global/az-latn.js +4 -4
- package/locales/angular/global/az.js +4 -4
- package/locales/angular/global/bas.js +4 -4
- package/locales/angular/global/be-tarask.js +4 -4
- package/locales/angular/global/be.js +4 -4
- package/locales/angular/global/bem.js +4 -4
- package/locales/angular/global/bez.js +4 -4
- package/locales/angular/global/bg.js +4 -4
- package/locales/angular/global/bm.js +4 -4
- package/locales/angular/global/bn-in.js +4 -4
- package/locales/angular/global/bn.js +4 -4
- package/locales/angular/global/bo-in.js +4 -4
- package/locales/angular/global/bo.js +4 -4
- package/locales/angular/global/br.js +4 -4
- package/locales/angular/global/brx.js +4 -4
- package/locales/angular/global/bs-cyrl.js +4 -4
- package/locales/angular/global/bs-latn.js +4 -4
- package/locales/angular/global/bs.js +4 -4
- package/locales/angular/global/ca-ad.js +4 -4
- package/locales/angular/global/ca-es-valencia.js +4 -4
- package/locales/angular/global/ca-fr.js +4 -4
- package/locales/angular/global/ca-it.js +4 -4
- package/locales/angular/global/ca.js +4 -4
- package/locales/angular/global/ccp-in.js +4 -4
- package/locales/angular/global/ccp.js +4 -4
- package/locales/angular/global/ce.js +4 -4
- package/locales/angular/global/ceb.js +4 -4
- package/locales/angular/global/cgg.js +4 -4
- package/locales/angular/global/chr.js +4 -4
- package/locales/angular/global/ckb-ir.js +4 -4
- package/locales/angular/global/ckb.js +4 -4
- package/locales/angular/global/cs.js +4 -4
- package/locales/angular/global/cy.js +4 -4
- package/locales/angular/global/da-gl.js +4 -4
- package/locales/angular/global/da.js +4 -4
- package/locales/angular/global/dav.js +4 -4
- package/locales/angular/global/de-at.js +4 -4
- package/locales/angular/global/de-be.js +4 -4
- package/locales/angular/global/de-ch.js +4 -4
- package/locales/angular/global/de-it.js +4 -4
- package/locales/angular/global/de-li.js +4 -4
- package/locales/angular/global/de-lu.js +4 -4
- package/locales/angular/global/de.js +4 -4
- package/locales/angular/global/dje.js +4 -4
- package/locales/angular/global/doi.js +4 -4
- package/locales/angular/global/dsb.js +4 -4
- package/locales/angular/global/dua.js +4 -4
- package/locales/angular/global/dyo.js +4 -4
- package/locales/angular/global/dz.js +4 -4
- package/locales/angular/global/ebu.js +4 -4
- package/locales/angular/global/ee-tg.js +4 -4
- package/locales/angular/global/ee.js +4 -4
- package/locales/angular/global/el-cy.js +4 -4
- package/locales/angular/global/el.js +4 -4
- package/locales/angular/global/en-001.js +4 -4
- package/locales/angular/global/en-150.js +4 -4
- package/locales/angular/global/en-ae.js +4 -4
- package/locales/angular/global/en-ag.js +4 -4
- package/locales/angular/global/en-ai.js +4 -4
- package/locales/angular/global/en-as.js +4 -4
- package/locales/angular/global/en-at.js +4 -4
- package/locales/angular/global/en-au.js +4 -4
- package/locales/angular/global/en-bb.js +4 -4
- package/locales/angular/global/en-be.js +4 -4
- package/locales/angular/global/en-bi.js +4 -4
- package/locales/angular/global/en-bm.js +4 -4
- package/locales/angular/global/en-bs.js +4 -4
- package/locales/angular/global/en-bw.js +4 -4
- package/locales/angular/global/en-bz.js +4 -4
- package/locales/angular/global/en-ca.js +4 -4
- package/locales/angular/global/en-cc.js +4 -4
- package/locales/angular/global/en-ch.js +4 -4
- package/locales/angular/global/en-ck.js +4 -4
- package/locales/angular/global/en-cm.js +4 -4
- package/locales/angular/global/en-cx.js +4 -4
- package/locales/angular/global/en-cy.js +4 -4
- package/locales/angular/global/en-de.js +4 -4
- package/locales/angular/global/en-dg.js +4 -4
- package/locales/angular/global/en-dk.js +4 -4
- package/locales/angular/global/en-dm.js +4 -4
- package/locales/angular/global/en-er.js +4 -4
- package/locales/angular/global/en-fi.js +4 -4
- package/locales/angular/global/en-fj.js +4 -4
- package/locales/angular/global/en-fk.js +4 -4
- package/locales/angular/global/en-fm.js +4 -4
- package/locales/angular/global/en-gb.js +4 -4
- package/locales/angular/global/en-gd.js +4 -4
- package/locales/angular/global/en-gg.js +4 -4
- package/locales/angular/global/en-gh.js +4 -4
- package/locales/angular/global/en-gi.js +4 -4
- package/locales/angular/global/en-gm.js +4 -4
- package/locales/angular/global/en-gu.js +4 -4
- package/locales/angular/global/en-gy.js +4 -4
- package/locales/angular/global/en-hk.js +4 -4
- package/locales/angular/global/en-ie.js +4 -4
- package/locales/angular/global/en-il.js +4 -4
- package/locales/angular/global/en-im.js +4 -4
- package/locales/angular/global/en-in.js +4 -4
- package/locales/angular/global/en-io.js +4 -4
- package/locales/angular/global/en-je.js +4 -4
- package/locales/angular/global/en-jm.js +4 -4
- package/locales/angular/global/en-ke.js +4 -4
- package/locales/angular/global/en-ki.js +4 -4
- package/locales/angular/global/en-kn.js +4 -4
- package/locales/angular/global/en-ky.js +4 -4
- package/locales/angular/global/en-lc.js +4 -4
- package/locales/angular/global/en-lr.js +4 -4
- package/locales/angular/global/en-ls.js +4 -4
- package/locales/angular/global/en-mg.js +4 -4
- package/locales/angular/global/en-mh.js +4 -4
- package/locales/angular/global/en-mo.js +4 -4
- package/locales/angular/global/en-mp.js +4 -4
- package/locales/angular/global/en-ms.js +4 -4
- package/locales/angular/global/en-mt.js +4 -4
- package/locales/angular/global/en-mu.js +4 -4
- package/locales/angular/global/en-mv.js +4 -4
- package/locales/angular/global/en-mw.js +4 -4
- package/locales/angular/global/en-my.js +4 -4
- package/locales/angular/global/en-na.js +4 -4
- package/locales/angular/global/en-nf.js +4 -4
- package/locales/angular/global/en-ng.js +4 -4
- package/locales/angular/global/en-nl.js +4 -4
- package/locales/angular/global/en-nr.js +4 -4
- package/locales/angular/global/en-nu.js +4 -4
- package/locales/angular/global/en-nz.js +4 -4
- package/locales/angular/global/en-pg.js +4 -4
- package/locales/angular/global/en-ph.js +4 -4
- package/locales/angular/global/en-pk.js +4 -4
- package/locales/angular/global/en-pn.js +4 -4
- package/locales/angular/global/en-pr.js +4 -4
- package/locales/angular/global/en-pw.js +4 -4
- package/locales/angular/global/en-rw.js +4 -4
- package/locales/angular/global/en-sb.js +4 -4
- package/locales/angular/global/en-sc.js +4 -4
- package/locales/angular/global/en-sd.js +4 -4
- package/locales/angular/global/en-se.js +4 -4
- package/locales/angular/global/en-sg.js +4 -4
- package/locales/angular/global/en-sh.js +4 -4
- package/locales/angular/global/en-si.js +4 -4
- package/locales/angular/global/en-sl.js +4 -4
- package/locales/angular/global/en-ss.js +4 -4
- package/locales/angular/global/en-sx.js +4 -4
- package/locales/angular/global/en-sz.js +4 -4
- package/locales/angular/global/en-tc.js +4 -4
- package/locales/angular/global/en-tk.js +4 -4
- package/locales/angular/global/en-to.js +4 -4
- package/locales/angular/global/en-tt.js +4 -4
- package/locales/angular/global/en-tv.js +4 -4
- package/locales/angular/global/en-tz.js +4 -4
- package/locales/angular/global/en-ug.js +4 -4
- package/locales/angular/global/en-um.js +4 -4
- package/locales/angular/global/en-vc.js +4 -4
- package/locales/angular/global/en-vg.js +4 -4
- package/locales/angular/global/en-vi.js +4 -4
- package/locales/angular/global/en-vu.js +4 -4
- package/locales/angular/global/en-ws.js +4 -4
- package/locales/angular/global/en-za.js +4 -4
- package/locales/angular/global/en-zm.js +4 -4
- package/locales/angular/global/en-zw.js +4 -4
- package/locales/angular/global/en.js +4 -4
- package/locales/angular/global/eo.js +4 -4
- package/locales/angular/global/es-419.js +4 -4
- package/locales/angular/global/es-ar.js +4 -4
- package/locales/angular/global/es-bo.js +4 -4
- package/locales/angular/global/es-br.js +4 -4
- package/locales/angular/global/es-bz.js +4 -4
- package/locales/angular/global/es-cl.js +4 -4
- package/locales/angular/global/es-co.js +4 -4
- package/locales/angular/global/es-cr.js +4 -4
- package/locales/angular/global/es-cu.js +4 -4
- package/locales/angular/global/es-do.js +4 -4
- package/locales/angular/global/es-ea.js +4 -4
- package/locales/angular/global/es-ec.js +4 -4
- package/locales/angular/global/es-gq.js +4 -4
- package/locales/angular/global/es-gt.js +4 -4
- package/locales/angular/global/es-hn.js +4 -4
- package/locales/angular/global/es-ic.js +4 -4
- package/locales/angular/global/es-mx.js +4 -4
- package/locales/angular/global/es-ni.js +4 -4
- package/locales/angular/global/es-pa.js +4 -4
- package/locales/angular/global/es-pe.js +4 -4
- package/locales/angular/global/es-ph.js +4 -4
- package/locales/angular/global/es-pr.js +4 -4
- package/locales/angular/global/es-py.js +4 -4
- package/locales/angular/global/es-sv.js +4 -4
- package/locales/angular/global/es-us.js +4 -4
- package/locales/angular/global/es-uy.js +4 -4
- package/locales/angular/global/es-ve.js +4 -4
- package/locales/angular/global/es.js +4 -4
- package/locales/angular/global/et.js +4 -4
- package/locales/angular/global/eu.js +4 -4
- package/locales/angular/global/ewo.js +4 -4
- package/locales/angular/global/fa-af.js +4 -4
- package/locales/angular/global/fa.js +4 -4
- package/locales/angular/global/ff-adlm-bf.js +4 -4
- package/locales/angular/global/ff-adlm-cm.js +4 -4
- package/locales/angular/global/ff-adlm-gh.js +4 -4
- package/locales/angular/global/ff-adlm-gm.js +4 -4
- package/locales/angular/global/ff-adlm-gw.js +4 -4
- package/locales/angular/global/ff-adlm-lr.js +4 -4
- package/locales/angular/global/ff-adlm-mr.js +4 -4
- package/locales/angular/global/ff-adlm-ne.js +4 -4
- package/locales/angular/global/ff-adlm-ng.js +4 -4
- package/locales/angular/global/ff-adlm-sl.js +4 -4
- package/locales/angular/global/ff-adlm-sn.js +4 -4
- package/locales/angular/global/ff-adlm.js +4 -4
- package/locales/angular/global/ff-cm.js +58 -44
- package/locales/angular/global/ff-gn.js +58 -44
- package/locales/angular/global/ff-latn-bf.js +4 -4
- package/locales/angular/global/ff-latn-cm.js +4 -4
- package/locales/angular/global/ff-latn-gh.js +4 -4
- package/locales/angular/global/ff-latn-gm.js +4 -4
- package/locales/angular/global/ff-latn-gn.js +4 -4
- package/locales/angular/global/ff-latn-gw.js +4 -4
- package/locales/angular/global/ff-latn-lr.js +4 -4
- package/locales/angular/global/ff-latn-mr.js +4 -4
- package/locales/angular/global/ff-latn-ne.js +4 -4
- package/locales/angular/global/ff-latn-ng.js +4 -4
- package/locales/angular/global/ff-latn-sl.js +4 -4
- package/locales/angular/global/ff-latn.js +4 -4
- package/locales/angular/global/ff-mr.js +58 -44
- package/locales/angular/global/ff.js +4 -4
- package/locales/angular/global/fi.js +4 -4
- package/locales/angular/global/fil.js +4 -4
- package/locales/angular/global/fo-dk.js +4 -4
- package/locales/angular/global/fo.js +4 -4
- package/locales/angular/global/fr-be.js +4 -4
- package/locales/angular/global/fr-bf.js +4 -4
- package/locales/angular/global/fr-bi.js +4 -4
- package/locales/angular/global/fr-bj.js +4 -4
- package/locales/angular/global/fr-bl.js +4 -4
- package/locales/angular/global/fr-ca.js +4 -4
- package/locales/angular/global/fr-cd.js +4 -4
- package/locales/angular/global/fr-cf.js +4 -4
- package/locales/angular/global/fr-cg.js +4 -4
- package/locales/angular/global/fr-ch.js +4 -4
- package/locales/angular/global/fr-ci.js +4 -4
- package/locales/angular/global/fr-cm.js +4 -4
- package/locales/angular/global/fr-dj.js +4 -4
- package/locales/angular/global/fr-dz.js +4 -4
- package/locales/angular/global/fr-ga.js +4 -4
- package/locales/angular/global/fr-gf.js +4 -4
- package/locales/angular/global/fr-gn.js +4 -4
- package/locales/angular/global/fr-gp.js +4 -4
- package/locales/angular/global/fr-gq.js +4 -4
- package/locales/angular/global/fr-ht.js +4 -4
- package/locales/angular/global/fr-km.js +4 -4
- package/locales/angular/global/fr-lu.js +4 -4
- package/locales/angular/global/fr-ma.js +4 -4
- package/locales/angular/global/fr-mc.js +4 -4
- package/locales/angular/global/fr-mf.js +4 -4
- package/locales/angular/global/fr-mg.js +4 -4
- package/locales/angular/global/fr-ml.js +4 -4
- package/locales/angular/global/fr-mq.js +4 -4
- package/locales/angular/global/fr-mr.js +4 -4
- package/locales/angular/global/fr-mu.js +4 -4
- package/locales/angular/global/fr-nc.js +4 -4
- package/locales/angular/global/fr-ne.js +4 -4
- package/locales/angular/global/fr-pf.js +4 -4
- package/locales/angular/global/fr-pm.js +4 -4
- package/locales/angular/global/fr-re.js +4 -4
- package/locales/angular/global/fr-rw.js +4 -4
- package/locales/angular/global/fr-sc.js +4 -4
- package/locales/angular/global/fr-sn.js +4 -4
- package/locales/angular/global/fr-sy.js +4 -4
- package/locales/angular/global/fr-td.js +4 -4
- package/locales/angular/global/fr-tg.js +4 -4
- package/locales/angular/global/fr-tn.js +4 -4
- package/locales/angular/global/fr-vu.js +4 -4
- package/locales/angular/global/fr-wf.js +4 -4
- package/locales/angular/global/fr-yt.js +4 -4
- package/locales/angular/global/fr.js +4 -4
- package/locales/angular/global/fur.js +4 -4
- package/locales/angular/global/fy.js +4 -4
- package/locales/angular/global/ga-gb.js +4 -4
- package/locales/angular/global/ga.js +4 -4
- package/locales/angular/global/gd.js +4 -4
- package/locales/angular/global/gl.js +4 -4
- package/locales/angular/global/gsw-fr.js +4 -4
- package/locales/angular/global/gsw-li.js +4 -4
- package/locales/angular/global/gsw.js +4 -4
- package/locales/angular/global/gu.js +4 -4
- package/locales/angular/global/guz.js +4 -4
- package/locales/angular/global/gv.js +4 -4
- package/locales/angular/global/ha-gh.js +4 -4
- package/locales/angular/global/ha-ne.js +4 -4
- package/locales/angular/global/ha.js +4 -4
- package/locales/angular/global/haw.js +4 -4
- package/locales/angular/global/he.js +4 -4
- package/locales/angular/global/hi-latn.js +4 -4
- package/locales/angular/global/hi.js +4 -4
- package/locales/angular/global/hr-ba.js +4 -4
- package/locales/angular/global/hr.js +4 -4
- package/locales/angular/global/hsb.js +4 -4
- package/locales/angular/global/hu.js +4 -4
- package/locales/angular/global/hy.js +4 -4
- package/locales/angular/global/ia.js +4 -4
- package/locales/angular/global/id.js +4 -4
- package/locales/angular/global/ig.js +4 -4
- package/locales/angular/global/ii.js +4 -4
- package/locales/angular/global/is.js +4 -4
- package/locales/angular/global/it-ch.js +4 -4
- package/locales/angular/global/it-sm.js +4 -4
- package/locales/angular/global/it-va.js +4 -4
- package/locales/angular/global/it.js +4 -4
- package/locales/angular/global/ja.js +4 -4
- package/locales/angular/global/jgo.js +4 -4
- package/locales/angular/global/jmc.js +4 -4
- package/locales/angular/global/jv.js +4 -4
- package/locales/angular/global/ka.js +4 -4
- package/locales/angular/global/kab.js +4 -4
- package/locales/angular/global/kam.js +4 -4
- package/locales/angular/global/kde.js +4 -4
- package/locales/angular/global/kea.js +4 -4
- package/locales/angular/global/kgp.js +4 -4
- package/locales/angular/global/khq.js +4 -4
- package/locales/angular/global/ki.js +4 -4
- package/locales/angular/global/kk.js +4 -4
- package/locales/angular/global/kkj.js +4 -4
- package/locales/angular/global/kl.js +4 -4
- package/locales/angular/global/kln.js +4 -4
- package/locales/angular/global/km.js +4 -4
- package/locales/angular/global/kn.js +4 -4
- package/locales/angular/global/ko-kp.js +4 -4
- package/locales/angular/global/ko.js +4 -4
- package/locales/angular/global/kok.js +4 -4
- package/locales/angular/global/ks-arab.js +4 -4
- package/locales/angular/global/ks-deva.js +4 -4
- package/locales/angular/global/ks.js +4 -4
- package/locales/angular/global/ksb.js +4 -4
- package/locales/angular/global/ksf.js +4 -4
- package/locales/angular/global/ksh.js +4 -4
- package/locales/angular/global/ku.js +4 -4
- package/locales/angular/global/kw.js +4 -4
- package/locales/angular/global/ky.js +4 -4
- package/locales/angular/global/lag.js +4 -4
- package/locales/angular/global/lb.js +4 -4
- package/locales/angular/global/lg.js +4 -4
- package/locales/angular/global/lkt.js +4 -4
- package/locales/angular/global/ln-ao.js +4 -4
- package/locales/angular/global/ln-cf.js +4 -4
- package/locales/angular/global/ln-cg.js +4 -4
- package/locales/angular/global/ln.js +4 -4
- package/locales/angular/global/lo.js +4 -4
- package/locales/angular/global/lrc-iq.js +4 -4
- package/locales/angular/global/lrc.js +4 -4
- package/locales/angular/global/lt.js +4 -4
- package/locales/angular/global/lu.js +4 -4
- package/locales/angular/global/luo.js +4 -4
- package/locales/angular/global/luy.js +4 -4
- package/locales/angular/global/lv.js +4 -4
- package/locales/angular/global/mai.js +4 -4
- package/locales/angular/global/mas-tz.js +4 -4
- package/locales/angular/global/mas.js +4 -4
- package/locales/angular/global/mer.js +4 -4
- package/locales/angular/global/mfe.js +4 -4
- package/locales/angular/global/mg.js +4 -4
- package/locales/angular/global/mgh.js +4 -4
- package/locales/angular/global/mgo.js +4 -4
- package/locales/angular/global/mi.js +4 -4
- package/locales/angular/global/mk.js +4 -4
- package/locales/angular/global/ml.js +4 -4
- package/locales/angular/global/mn.js +4 -4
- package/locales/angular/global/mni-beng.js +4 -4
- package/locales/angular/global/mni.js +4 -4
- package/locales/angular/global/mr.js +4 -4
- package/locales/angular/global/ms-bn.js +4 -4
- package/locales/angular/global/ms-id.js +4 -4
- package/locales/angular/global/ms-sg.js +4 -4
- package/locales/angular/global/ms.js +4 -4
- package/locales/angular/global/mt.js +4 -4
- package/locales/angular/global/mua.js +4 -4
- package/locales/angular/global/my.js +4 -4
- package/locales/angular/global/mzn.js +4 -4
- package/locales/angular/global/naq.js +4 -4
- package/locales/angular/global/nb-sj.js +4 -4
- package/locales/angular/global/nb.js +4 -4
- package/locales/angular/global/nd.js +4 -4
- package/locales/angular/global/nds-nl.js +4 -4
- package/locales/angular/global/nds.js +4 -4
- package/locales/angular/global/ne-in.js +4 -4
- package/locales/angular/global/ne.js +4 -4
- package/locales/angular/global/nl-aw.js +4 -4
- package/locales/angular/global/nl-be.js +4 -4
- package/locales/angular/global/nl-bq.js +4 -4
- package/locales/angular/global/nl-cw.js +4 -4
- package/locales/angular/global/nl-sr.js +4 -4
- package/locales/angular/global/nl-sx.js +4 -4
- package/locales/angular/global/nl.js +4 -4
- package/locales/angular/global/nmg.js +4 -4
- package/locales/angular/global/nn.js +4 -4
- package/locales/angular/global/nnh.js +4 -4
- package/locales/angular/global/no.js +4 -4
- package/locales/angular/global/nus.js +4 -4
- package/locales/angular/global/nyn.js +4 -4
- package/locales/angular/global/om-ke.js +4 -4
- package/locales/angular/global/om.js +4 -4
- package/locales/angular/global/or.js +4 -4
- package/locales/angular/global/os-ru.js +4 -4
- package/locales/angular/global/os.js +4 -4
- package/locales/angular/global/pa-arab.js +4 -4
- package/locales/angular/global/pa-guru.js +4 -4
- package/locales/angular/global/pa.js +4 -4
- package/locales/angular/global/pcm.js +4 -4
- package/locales/angular/global/pl.js +4 -4
- package/locales/angular/global/ps-pk.js +4 -4
- package/locales/angular/global/ps.js +4 -4
- package/locales/angular/global/pt-ao.js +4 -4
- package/locales/angular/global/pt-ch.js +4 -4
- package/locales/angular/global/pt-cv.js +4 -4
- package/locales/angular/global/pt-gq.js +4 -4
- package/locales/angular/global/pt-gw.js +4 -4
- package/locales/angular/global/pt-lu.js +4 -4
- package/locales/angular/global/pt-mo.js +4 -4
- package/locales/angular/global/pt-mz.js +4 -4
- package/locales/angular/global/pt-pt.js +4 -4
- package/locales/angular/global/pt-st.js +4 -4
- package/locales/angular/global/pt-tl.js +4 -4
- package/locales/angular/global/pt.js +4 -4
- package/locales/angular/global/qu-bo.js +4 -4
- package/locales/angular/global/qu-ec.js +4 -4
- package/locales/angular/global/qu.js +4 -4
- package/locales/angular/global/rm.js +4 -4
- package/locales/angular/global/rn.js +4 -4
- package/locales/angular/global/ro-md.js +4 -4
- package/locales/angular/global/ro.js +4 -4
- package/locales/angular/global/rof.js +4 -4
- package/locales/angular/global/ru-by.js +4 -4
- package/locales/angular/global/ru-kg.js +4 -4
- package/locales/angular/global/ru-kz.js +4 -4
- package/locales/angular/global/ru-md.js +4 -4
- package/locales/angular/global/ru-ua.js +4 -4
- package/locales/angular/global/ru.js +4 -4
- package/locales/angular/global/rw.js +4 -4
- package/locales/angular/global/rwk.js +4 -4
- package/locales/angular/global/sa.js +4 -4
- package/locales/angular/global/sah.js +4 -4
- package/locales/angular/global/saq.js +4 -4
- package/locales/angular/global/sat-olck.js +4 -4
- package/locales/angular/global/sat.js +4 -4
- package/locales/angular/global/sbp.js +4 -4
- package/locales/angular/global/sc.js +4 -4
- package/locales/angular/global/sd-arab.js +4 -4
- package/locales/angular/global/sd-deva.js +4 -4
- package/locales/angular/global/sd.js +4 -4
- package/locales/angular/global/se-fi.js +4 -4
- package/locales/angular/global/se-se.js +4 -4
- package/locales/angular/global/se.js +4 -4
- package/locales/angular/global/seh.js +4 -4
- package/locales/angular/global/ses.js +4 -4
- package/locales/angular/global/sg.js +4 -4
- package/locales/angular/global/shi-latn.js +4 -4
- package/locales/angular/global/shi-tfng.js +4 -4
- package/locales/angular/global/shi.js +4 -4
- package/locales/angular/global/si.js +4 -4
- package/locales/angular/global/sk.js +4 -4
- package/locales/angular/global/sl.js +4 -4
- package/locales/angular/global/smn.js +4 -4
- package/locales/angular/global/sn.js +4 -4
- package/locales/angular/global/so-dj.js +4 -4
- package/locales/angular/global/so-et.js +4 -4
- package/locales/angular/global/so-ke.js +4 -4
- package/locales/angular/global/so.js +4 -4
- package/locales/angular/global/sq-mk.js +4 -4
- package/locales/angular/global/sq-xk.js +4 -4
- package/locales/angular/global/sq.js +4 -4
- package/locales/angular/global/sr-cyrl-ba.js +4 -4
- package/locales/angular/global/sr-cyrl-me.js +4 -4
- package/locales/angular/global/sr-cyrl-xk.js +4 -4
- package/locales/angular/global/sr-cyrl.js +4 -4
- package/locales/angular/global/sr-latn-ba.js +4 -4
- package/locales/angular/global/sr-latn-me.js +4 -4
- package/locales/angular/global/sr-latn-xk.js +4 -4
- package/locales/angular/global/sr-latn.js +4 -4
- package/locales/angular/global/sr.js +4 -4
- package/locales/angular/global/su-latn.js +4 -4
- package/locales/angular/global/su.js +4 -4
- package/locales/angular/global/sv-ax.js +4 -4
- package/locales/angular/global/sv-fi.js +4 -4
- package/locales/angular/global/sv.js +4 -4
- package/locales/angular/global/sw-cd.js +4 -4
- package/locales/angular/global/sw-ke.js +4 -4
- package/locales/angular/global/sw-ug.js +4 -4
- package/locales/angular/global/sw.js +4 -4
- package/locales/angular/global/ta-lk.js +4 -4
- package/locales/angular/global/ta-my.js +4 -4
- package/locales/angular/global/ta-sg.js +4 -4
- package/locales/angular/global/ta.js +4 -4
- package/locales/angular/global/te.js +4 -4
- package/locales/angular/global/teo-ke.js +4 -4
- package/locales/angular/global/teo.js +4 -4
- package/locales/angular/global/tg.js +4 -4
- package/locales/angular/global/th.js +4 -4
- package/locales/angular/global/ti-er.js +4 -4
- package/locales/angular/global/ti.js +4 -4
- package/locales/angular/global/tk.js +4 -4
- package/locales/angular/global/to.js +4 -4
- package/locales/angular/global/tr-cy.js +4 -4
- package/locales/angular/global/tr.js +4 -4
- package/locales/angular/global/tt.js +4 -4
- package/locales/angular/global/twq.js +4 -4
- package/locales/angular/global/tzm.js +4 -4
- package/locales/angular/global/ug.js +4 -4
- package/locales/angular/global/uk.js +4 -4
- package/locales/angular/global/und.js +4 -4
- package/locales/angular/global/ur-in.js +4 -4
- package/locales/angular/global/ur.js +4 -4
- package/locales/angular/global/uz-arab.js +4 -4
- package/locales/angular/global/uz-cyrl.js +4 -4
- package/locales/angular/global/uz-latn.js +4 -4
- package/locales/angular/global/uz.js +4 -4
- package/locales/angular/global/vai-latn.js +4 -4
- package/locales/angular/global/vai-vaii.js +4 -4
- package/locales/angular/global/vai.js +4 -4
- package/locales/angular/global/vi.js +4 -4
- package/locales/angular/global/vun.js +4 -4
- package/locales/angular/global/wae.js +4 -4
- package/locales/angular/global/wo.js +4 -4
- package/locales/angular/global/xh.js +4 -4
- package/locales/angular/global/xog.js +4 -4
- package/locales/angular/global/yav.js +4 -4
- package/locales/angular/global/yi.js +4 -4
- package/locales/angular/global/yo-bj.js +4 -4
- package/locales/angular/global/yo.js +4 -4
- package/locales/angular/global/yrl-co.js +4 -4
- package/locales/angular/global/yrl-ve.js +4 -4
- package/locales/angular/global/yrl.js +4 -4
- package/locales/angular/global/yue-hans.js +4 -4
- package/locales/angular/global/yue-hant.js +4 -4
- package/locales/angular/global/yue.js +4 -4
- package/locales/angular/global/zgh.js +4 -4
- package/locales/angular/global/zh-hans-hk.js +4 -4
- package/locales/angular/global/zh-hans-mo.js +4 -4
- package/locales/angular/global/zh-hans-sg.js +4 -4
- package/locales/angular/global/zh-hans.js +4 -4
- package/locales/angular/global/zh-hant-hk.js +4 -4
- package/locales/angular/global/zh-hant-mo.js +4 -4
- package/locales/angular/global/zh-hant.js +4 -4
- package/locales/angular/global/zh.js +4 -4
- package/locales/angular/global/zu.js +4 -4
- package/mobile/components/basic/default/bundles/index.umd.js +148 -143
- package/mobile/components/basic/default/esm2022/anchor/anchor.directive.mjs +8 -7
- package/mobile/components/basic/default/esm2022/app-update/app-update.component.mjs +7 -6
- package/mobile/components/basic/default/esm2022/basic.module.mjs +2 -2
- package/mobile/components/basic/default/esm2022/file-browser/file-browser.component.mjs +47 -43
- package/mobile/components/basic/default/esm2022/file-browser/file-selector.service.mjs +7 -5
- package/mobile/components/basic/default/esm2022/image-cache/image-cache.directive.mjs +6 -5
- package/mobile/components/basic/default/esm2022/network-info-toaster/network-info-toaster.component.mjs +49 -47
- package/mobile/components/basic/default/esm2022/process-manager/process-management.service.mjs +2 -2
- package/mobile/components/basic/default/esm2022/process-manager/process-manager.component.mjs +31 -32
- package/mobile/components/basic/default/fesm2022/index.mjs +146 -140
- package/mobile/components/basic/default/fesm2022/index.mjs.map +1 -1
- package/mobile/components/basic/default/network-info-toaster/network-info-toaster.component.d.ts +2 -2
- package/mobile/components/basic/search/bundles/index.umd.js +3 -3
- package/mobile/components/basic/search/esm2022/search.directive.mjs +3 -3
- package/mobile/components/basic/search/esm2022/search.module.mjs +2 -2
- package/mobile/components/basic/search/fesm2022/index.mjs +3 -3
- package/mobile/components/basic/search/fesm2022/index.mjs.map +1 -1
- package/mobile/components/containers/segmented-control/bundles/index.umd.js +42 -30
- package/mobile/components/containers/segmented-control/esm2022/segment-content/segment-content.component.mjs +14 -8
- package/mobile/components/containers/segmented-control/esm2022/segmented-control.component.mjs +28 -21
- package/mobile/components/containers/segmented-control/esm2022/segmented-control.module.mjs +2 -2
- package/mobile/components/containers/segmented-control/fesm2022/index.mjs +41 -28
- package/mobile/components/containers/segmented-control/fesm2022/index.mjs.map +1 -1
- package/mobile/components/containers/segmented-control/segment-content/segment-content.component.d.ts +2 -2
- package/mobile/components/containers/segmented-control/segmented-control.component.d.ts +2 -2
- package/mobile/components/data/media-list/bundles/index.umd.js +53 -48
- package/mobile/components/data/media-list/esm2022/media-list-item/media-list-item.directive.mjs +2 -2
- package/mobile/components/data/media-list/esm2022/media-list.component.mjs +48 -42
- package/mobile/components/data/media-list/esm2022/media-list.module.mjs +2 -2
- package/mobile/components/data/media-list/fesm2022/index.mjs +50 -44
- package/mobile/components/data/media-list/fesm2022/index.mjs.map +1 -1
- package/mobile/components/data/media-list/media-list.component.d.ts +2 -2
- package/mobile/components/device/barcode-scanner/barcode-scanner.component.d.ts +2 -2
- package/mobile/components/device/barcode-scanner/bundles/index.umd.js +14 -8
- package/mobile/components/device/barcode-scanner/esm2022/barcode-scanner.component.mjs +15 -9
- package/mobile/components/device/barcode-scanner/esm2022/barcode-scanner.module.mjs +2 -2
- package/mobile/components/device/barcode-scanner/fesm2022/index.mjs +16 -10
- package/mobile/components/device/barcode-scanner/fesm2022/index.mjs.map +1 -1
- package/mobile/components/device/camera/bundles/index.umd.js +15 -9
- package/mobile/components/device/camera/camera.component.d.ts +2 -2
- package/mobile/components/device/camera/esm2022/camera.component.mjs +16 -10
- package/mobile/components/device/camera/esm2022/camera.module.mjs +2 -2
- package/mobile/components/device/camera/fesm2022/index.mjs +17 -11
- package/mobile/components/device/camera/fesm2022/index.mjs.map +1 -1
- package/mobile/components/input/file-upload/bundles/index.umd.js +3 -3
- package/mobile/components/input/file-upload/esm2022/file-upload.directive.mjs +3 -3
- package/mobile/components/input/file-upload/esm2022/file-upload.module.mjs +2 -2
- package/mobile/components/input/file-upload/fesm2022/index.mjs +3 -3
- package/mobile/components/input/file-upload/fesm2022/index.mjs.map +1 -1
- package/mobile/components/page/default/bundles/index.umd.js +11 -10
- package/mobile/components/page/default/esm2022/page-content-loader/page-content-loader.component.mjs +4 -3
- package/mobile/components/page/default/esm2022/page.directive.mjs +5 -4
- package/mobile/components/page/default/esm2022/page.module.mjs +2 -2
- package/mobile/components/page/default/fesm2022/index.mjs +8 -6
- package/mobile/components/page/default/fesm2022/index.mjs.map +1 -1
- package/mobile/components/page/left-panel/bundles/index.umd.js +3 -3
- package/mobile/components/page/left-panel/esm2022/left-panel.directive.mjs +3 -3
- package/mobile/components/page/left-panel/esm2022/left-panel.module.mjs +2 -2
- package/mobile/components/page/left-panel/fesm2022/index.mjs +3 -3
- package/mobile/components/page/left-panel/fesm2022/index.mjs.map +1 -1
- package/mobile/components/page/mobile-navbar/bundles/index.umd.js +40 -35
- package/mobile/components/page/mobile-navbar/esm2022/mobile-navbar.component.mjs +41 -36
- package/mobile/components/page/mobile-navbar/esm2022/mobile-navbar.module.mjs +2 -2
- package/mobile/components/page/mobile-navbar/fesm2022/index.mjs +41 -36
- package/mobile/components/page/mobile-navbar/fesm2022/index.mjs.map +1 -1
- package/mobile/components/page/mobile-navbar/mobile-navbar.component.d.ts +2 -2
- package/mobile/components/page/tab-bar/bundles/index.umd.js +52 -46
- package/mobile/components/page/tab-bar/esm2022/tab-bar.module.mjs +2 -2
- package/mobile/components/page/tab-bar/esm2022/tabbar.component.mjs +50 -43
- package/mobile/components/page/tab-bar/fesm2022/index.mjs +51 -44
- package/mobile/components/page/tab-bar/fesm2022/index.mjs.map +1 -1
- package/mobile/components/page/tab-bar/tabbar.component.d.ts +2 -2
- package/mobile/core/bundles/index.umd.js +43 -43
- package/mobile/core/esm2022/core.module.mjs +3 -3
- package/mobile/core/esm2022/native.xhr.mjs +1 -1
- package/mobile/core/esm2022/services/device-file-cache.service.mjs +3 -3
- package/mobile/core/esm2022/services/device-file-download.service.mjs +7 -6
- package/mobile/core/esm2022/services/device-file-opener.service.mjs +5 -4
- package/mobile/core/esm2022/services/device-file-upload.service.mjs +6 -5
- package/mobile/core/esm2022/services/device-file.service.mjs +8 -7
- package/mobile/core/esm2022/services/device.service.mjs +5 -4
- package/mobile/core/esm2022/services/ext-app-message.service.mjs +7 -6
- package/mobile/core/esm2022/services/network.service.mjs +11 -10
- package/mobile/core/fesm2022/index.mjs +40 -39
- package/mobile/core/fesm2022/index.mjs.map +1 -1
- package/mobile/core/services/ext-app-message.service.d.ts +1 -1
- package/mobile/core/services/network.service.d.ts +7 -1
- package/mobile/offline/bundles/index.umd.js +176 -159
- package/mobile/offline/esm2022/models/local-db-store.mjs +23 -21
- package/mobile/offline/esm2022/offline.module.mjs +3 -3
- package/mobile/offline/esm2022/services/change-log.service.mjs +9 -8
- package/mobile/offline/esm2022/services/local-db-data-pull.service.mjs +39 -37
- package/mobile/offline/esm2022/services/local-db-management.service.mjs +56 -47
- package/mobile/offline/esm2022/services/local-db.service.mjs +7 -6
- package/mobile/offline/esm2022/services/local-key-value.service.mjs +2 -2
- package/mobile/offline/esm2022/services/push.service.mjs +3 -3
- package/mobile/offline/esm2022/services/workers/error-blocker.mjs +4 -3
- package/mobile/offline/esm2022/services/workers/file-handler.mjs +18 -13
- package/mobile/offline/esm2022/services/workers/id-resolver.mjs +3 -3
- package/mobile/offline/esm2022/services/workers/multi-part-param-transformer.mjs +9 -5
- package/mobile/offline/esm2022/utils/file-upload.utils.mjs +1 -1
- package/mobile/offline/esm2022/utils/live-variable.utils.mjs +12 -11
- package/mobile/offline/esm2022/utils/query-executor.utils.mjs +5 -4
- package/mobile/offline/esm2022/utils/security.utils.mjs +3 -2
- package/mobile/offline/esm2022/utils/utils.mjs +1 -1
- package/mobile/offline/fesm2022/index.mjs +171 -153
- package/mobile/offline/fesm2022/index.mjs.map +1 -1
- package/mobile/placeholder/runtime/bundles/index.umd.js +3 -2
- package/mobile/placeholder/runtime/esm2022/components/app-ext.component.mjs +3 -2
- package/mobile/placeholder/runtime/esm2022/mobile-runtime.module.mjs +2 -2
- package/mobile/placeholder/runtime/fesm2022/index.mjs +3 -2
- package/mobile/placeholder/runtime/fesm2022/index.mjs.map +1 -1
- package/mobile/placeholder/runtime-dynamic/bundles/index.umd.js +1 -1
- package/mobile/placeholder/runtime-dynamic/esm2022/mobile-runtime-dynamic.module.mjs +2 -2
- package/mobile/placeholder/runtime-dynamic/fesm2022/index.mjs +1 -1
- package/mobile/placeholder/runtime-dynamic/fesm2022/index.mjs.map +1 -1
- package/mobile/runtime/bundles/index.umd.js +21 -17
- package/mobile/runtime/esm2022/components/app-ext.component.mjs +4 -3
- package/mobile/runtime/esm2022/mobile-runtime.module.mjs +5 -4
- package/mobile/runtime/esm2022/services/cookie.service.mjs +7 -3
- package/mobile/runtime/esm2022/services/http-interceptor.service.mjs +6 -5
- package/mobile/runtime/esm2022/services/webprocess.service.mjs +3 -3
- package/mobile/runtime/fesm2022/index.mjs +18 -13
- package/mobile/runtime/fesm2022/index.mjs.map +1 -1
- package/mobile/runtime-dynamic/bundles/index.umd.js +5 -5
- package/mobile/runtime-dynamic/esm2022/mobile-runtime-dynamic.module.mjs +2 -2
- package/mobile/runtime-dynamic/esm2022/services/live-sync.service.mjs +5 -5
- package/mobile/runtime-dynamic/fesm2022/index.mjs +5 -5
- package/mobile/runtime-dynamic/fesm2022/index.mjs.map +1 -1
- package/mobile/variables/bundles/index.umd.js +28 -21
- package/mobile/variables/esm2022/services/camera-service.mjs +5 -5
- package/mobile/variables/esm2022/services/contacts-service.mjs +1 -1
- package/mobile/variables/esm2022/services/datasync-service.mjs +10 -9
- package/mobile/variables/esm2022/services/device-service/device-service.mjs +1 -1
- package/mobile/variables/esm2022/services/device-service/location-service.mjs +1 -1
- package/mobile/variables/esm2022/services/file-service.mjs +11 -3
- package/mobile/variables/esm2022/services/scan-service.mjs +1 -1
- package/mobile/variables/esm2022/variables.module.mjs +3 -3
- package/mobile/variables/fesm2022/index.mjs +24 -16
- package/mobile/variables/fesm2022/index.mjs.map +1 -1
- package/oAuth/bundles/index.umd.js +15 -15
- package/oAuth/esm2022/oAuth.module.mjs +2 -2
- package/oAuth/esm2022/oAuth.service.mjs +6 -5
- package/oAuth/esm2022/oAuth.utils.mjs +8 -7
- package/oAuth/fesm2022/index.mjs +12 -11
- package/oAuth/fesm2022/index.mjs.map +1 -1
- package/package.json +1 -1
- package/runtime/base/bundles/index.umd.js +243 -237
- package/runtime/base/esm2022/components/app-component/app.component.mjs +27 -27
- package/runtime/base/esm2022/components/app-spinner.component.mjs +9 -8
- package/runtime/base/esm2022/components/base-layout.component.mjs +5 -4
- package/runtime/base/esm2022/components/base-page.component.mjs +16 -15
- package/runtime/base/esm2022/components/base-partial.component.mjs +15 -14
- package/runtime/base/esm2022/components/base-prefab.component.mjs +17 -16
- package/runtime/base/esm2022/components/base-spa-page.component.mjs +16 -15
- package/runtime/base/esm2022/components/custom-toaster.component.mjs +17 -15
- package/runtime/base/esm2022/components/empty-component/empty-page.component.mjs +4 -3
- package/runtime/base/esm2022/components/prefab-preview.component.mjs +4 -3
- package/runtime/base/esm2022/directives/accessroles.directive.mjs +13 -12
- package/runtime/base/esm2022/directives/prefab.directive.mjs +4 -4
- package/runtime/base/esm2022/guards/auth.guard.mjs +3 -3
- package/runtime/base/esm2022/guards/can-deactivate-page.guard.mjs +3 -3
- package/runtime/base/esm2022/guards/page-not-found.guard.mjs +3 -3
- package/runtime/base/esm2022/guards/role.guard.mjs +5 -4
- package/runtime/base/esm2022/overrides/wm_dom_renderer.mjs +4 -4
- package/runtime/base/esm2022/overrides/wm_shared_styles_host.mjs +5 -5
- package/runtime/base/esm2022/resolves/app-extension.resolve.mjs +3 -3
- package/runtime/base/esm2022/resolves/app-js.resolve.mjs +3 -3
- package/runtime/base/esm2022/resolves/app-variables.resolve.mjs +3 -3
- package/runtime/base/esm2022/resolves/i18n.resolve.mjs +3 -3
- package/runtime/base/esm2022/resolves/metadata.resolve.mjs +3 -3
- package/runtime/base/esm2022/resolves/security-config.resolve.mjs +3 -3
- package/runtime/base/esm2022/runtime-base.module.mjs +3 -3
- package/runtime/base/esm2022/services/app-defaults.service.mjs +3 -3
- package/runtime/base/esm2022/services/app.manager.service.mjs +19 -16
- package/runtime/base/esm2022/services/app.service.mjs +9 -8
- package/runtime/base/esm2022/services/dynamic-component-ref-provider.service.mjs +5 -4
- package/runtime/base/esm2022/services/http-interceptor.services.mjs +6 -5
- package/runtime/base/esm2022/services/i18n.service.mjs +15 -13
- package/runtime/base/esm2022/services/navigation.service.mjs +10 -9
- package/runtime/base/esm2022/services/pipe-provider.service.mjs +3 -3
- package/runtime/base/esm2022/services/pipe.service.mjs +3 -3
- package/runtime/base/esm2022/services/prefab-manager.service.mjs +5 -4
- package/runtime/base/esm2022/services/spinner.service.mjs +9 -8
- package/runtime/base/esm2022/services/toaster.service.mjs +8 -7
- package/runtime/base/esm2022/util/fragment-monitor.mjs +3 -3
- package/runtime/base/esm2022/util/wm-route-reuse-strategy.mjs +7 -8
- package/runtime/base/fesm2022/index.mjs +253 -247
- package/runtime/base/fesm2022/index.mjs.map +1 -1
- package/runtime/base/overrides/wm_dom_renderer.d.ts +2 -2
- package/runtime/base/services/i18n.service.d.ts +1 -1
- package/runtime/dynamic/bundles/index.umd.js +22 -21
- package/runtime/dynamic/esm2022/app/app.module.mjs +1 -1
- package/runtime/dynamic/esm2022/app/components/page-wrapper.component.mjs +4 -3
- package/runtime/dynamic/esm2022/app/services/app-extension.service.mjs +3 -3
- package/runtime/dynamic/esm2022/app/services/app-js-provider.service.mjs +3 -3
- package/runtime/dynamic/esm2022/app/services/app-resource-manager.service.mjs +3 -3
- package/runtime/dynamic/esm2022/app/services/app-variables-provider.service.mjs +3 -3
- package/runtime/dynamic/esm2022/app/services/component-ref-provider.service.mjs +6 -5
- package/runtime/dynamic/esm2022/app/services/prefab-config-provider.service.mjs +3 -3
- package/runtime/dynamic/esm2022/main.mjs +3 -2
- package/runtime/dynamic/fesm2022/index.mjs +21 -19
- package/runtime/dynamic/fesm2022/index.mjs.map +1 -1
- package/scripts/datatable/datatable.js +2 -1
- package/scripts/jquery-ui/ui/widgets/droppable.js +7 -7
- package/scripts/jquery-ui/ui/widgets/resizable.js +13 -10
- package/scripts/jquery-ui/ui/widgets/sortable.js +7 -7
- package/security/bundles/index.umd.js +17 -17
- package/security/esm2022/security.module.mjs +2 -2
- package/security/esm2022/security.service.mjs +14 -13
- package/security/fesm2022/index.mjs +14 -13
- package/security/fesm2022/index.mjs.map +1 -1
- package/security/security.service.d.ts +1 -1
- package/swipey/esm2022/swipe.animation.mjs +1 -1
- package/swipey/fesm2022/index.mjs.map +1 -1
- package/transpiler/bundles/index.umd.js +10 -9
- package/transpiler/esm2022/build.mjs +8 -6
- package/transpiler/fesm2022/index.mjs +7 -5
- package/transpiler/fesm2022/index.mjs.map +1 -1
- package/variables/bundles/index.umd.js +160 -150
- package/variables/esm2022/factory/variable.factory.mjs +1 -1
- package/variables/esm2022/manager/action/login-action.manager.mjs +15 -14
- package/variables/esm2022/manager/action/logout-action.manager.mjs +1 -1
- package/variables/esm2022/manager/action/notification-action.manager.mjs +9 -8
- package/variables/esm2022/manager/variable/base-variable.manager.mjs +3 -2
- package/variables/esm2022/manager/variable/device-variable-manager.mjs +1 -1
- package/variables/esm2022/manager/variable/device-variable-service.mjs +1 -1
- package/variables/esm2022/manager/variable/web-socket-variable.manager.mjs +11 -10
- package/variables/esm2022/model/action/notification-action.mjs +1 -1
- package/variables/esm2022/service/metadata-service/metadata.service.mjs +3 -3
- package/variables/esm2022/service/variables.service.mjs +9 -8
- package/variables/esm2022/util/action/navigation-action.utils.mjs +4 -4
- package/variables/esm2022/util/variable/pagination.utils.mjs +30 -23
- package/variables/esm2022/util/variable/service-variable.utils.mjs +29 -28
- package/variables/esm2022/util/variable/variables.utils.mjs +75 -70
- package/variables/esm2022/variables.module.mjs +2 -2
- package/variables/fesm2022/index.mjs +174 -163
- package/variables/fesm2022/index.mjs.map +1 -1
- package/variables/util/variable/service-variable.utils.d.ts +1 -1
- package/build-task/package.json +0 -28
- package/components/advanced/carousel/package.json +0 -23
- package/components/advanced/login/package.json +0 -23
- package/components/advanced/marquee/package.json +0 -23
- package/components/base/package.json +0 -28
- package/components/basic/default/package.json +0 -23
- package/components/basic/progress/package.json +0 -23
- package/components/basic/rich-text-editor/package.json +0 -23
- package/components/basic/search/package.json +0 -23
- package/components/basic/tree/package.json +0 -23
- package/components/chart/package.json +0 -23
- package/components/containers/accordion/package.json +0 -23
- package/components/containers/layout-grid/package.json +0 -23
- package/components/containers/linear-layout/package.json +0 -23
- package/components/containers/panel/package.json +0 -23
- package/components/containers/tabs/package.json +0 -23
- package/components/containers/tile/package.json +0 -23
- package/components/containers/wizard/package.json +0 -23
- package/components/data/card/package.json +0 -23
- package/components/data/form/package.json +0 -23
- package/components/data/list/package.json +0 -23
- package/components/data/live-table/package.json +0 -23
- package/components/data/pagination/package.json +0 -23
- package/components/data/table/package.json +0 -23
- package/components/dialogs/alert-dialog/package.json +0 -23
- package/components/dialogs/confirm-dialog/package.json +0 -23
- package/components/dialogs/default/package.json +0 -23
- package/components/dialogs/design-dialog/package.json +0 -23
- package/components/dialogs/iframe-dialog/package.json +0 -23
- package/components/dialogs/login-dialog/package.json +0 -23
- package/components/dialogs/partial-dialog/package.json +0 -23
- package/components/input/calendar/package.json +0 -23
- package/components/input/chips/package.json +0 -23
- package/components/input/color-picker/package.json +0 -23
- package/components/input/currency/package.json +0 -23
- package/components/input/default/package.json +0 -23
- package/components/input/epoch/package.json +0 -23
- package/components/input/file-upload/package.json +0 -23
- package/components/input/rating/package.json +0 -23
- package/components/input/slider/package.json +0 -23
- package/components/navigation/breadcrumb/package.json +0 -23
- package/components/navigation/menu/package.json +0 -23
- package/components/navigation/navbar/package.json +0 -23
- package/components/navigation/popover/package.json +0 -23
- package/components/page/default/package.json +0 -23
- package/components/page/footer/package.json +0 -23
- package/components/page/header/package.json +0 -23
- package/components/page/left-panel/package.json +0 -23
- package/components/page/right-panel/package.json +0 -23
- package/components/page/top-nav/package.json +0 -23
- package/components/prefab/package.json +0 -23
- package/core/package.json +0 -29
- package/http/package.json +0 -28
- package/mobile/components/basic/default/package.json +0 -23
- package/mobile/components/basic/search/package.json +0 -23
- package/mobile/components/containers/segmented-control/package.json +0 -23
- package/mobile/components/data/media-list/package.json +0 -23
- package/mobile/components/device/barcode-scanner/package.json +0 -23
- package/mobile/components/device/camera/package.json +0 -23
- package/mobile/components/input/file-upload/package.json +0 -23
- package/mobile/components/page/default/package.json +0 -23
- package/mobile/components/page/left-panel/package.json +0 -23
- package/mobile/components/page/mobile-navbar/package.json +0 -23
- package/mobile/components/page/tab-bar/package.json +0 -23
- package/mobile/core/package.json +0 -28
- package/mobile/offline/package.json +0 -28
- package/mobile/placeholder/runtime/package.json +0 -27
- package/mobile/placeholder/runtime-dynamic/package.json +0 -23
- package/mobile/runtime/package.json +0 -28
- package/mobile/runtime-dynamic/package.json +0 -23
- package/mobile/variables/package.json +0 -28
- package/oAuth/package.json +0 -28
- package/runtime/base/package.json +0 -28
- package/runtime/dynamic/package.json +0 -28
- package/security/package.json +0 -28
- package/swipey/package.json +0 -28
- package/transpiler/package.json +0 -29
- package/variables/package.json +0 -28
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('@angular/forms'), require('ngx-bootstrap/tooltip'), require('ngx-bootstrap/dropdown'), require('@wm/components/base'), require('@wm/components/basic'), require('@wm/components/input'), require('@wm/components/navigation/menu'), require('@wm/components/data/list'), require('@wm/components/data/pagination'), require('@wm/core'), require('rxjs'), require('rxjs/operators')) :
|
|
3
|
-
typeof define === 'function' && define.amd ? define(['exports', '@angular/core', '@angular/common', '@angular/forms', 'ngx-bootstrap/tooltip', 'ngx-bootstrap/dropdown', '@wm/components/base', '@wm/components/basic', '@wm/components/input', '@wm/components/navigation/menu', '@wm/components/data/list', '@wm/components/data/pagination', '@wm/core', 'rxjs', 'rxjs/operators'], factory) :
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.wm = global.wm || {}, global.wm.components = global.wm.components || {}, global.wm.components.data = global.wm.components.data || {}, global.wm.components.data.table = {}), global.ng.core, global.ng.common, global.ng.forms, global.tooltip, global.dropdown, global.wm.components.base, global.wm.components.basic, global.wm.components.input, global.wm.components.navigation.menu, global.wm.components.data.list, global.wm.components.data.pagination, global.wm.core, global.rxjs, global.rxjs.operators));
|
|
5
|
-
})(this, (function (exports, i0, i7, i1, tooltip, i6, i4, i5, i8, i9, i3, i10, i2, rxjs, operators) { 'use strict';
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('@angular/forms'), require('ngx-bootstrap/tooltip'), require('ngx-bootstrap/dropdown'), require('@wm/components/base'), require('@wm/components/basic'), require('@wm/components/input'), require('@wm/components/navigation/menu'), require('@wm/components/data/list'), require('@wm/components/data/pagination'), require('@wm/core'), require('rxjs'), require('rxjs/operators'), require('lodash-es')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define(['exports', '@angular/core', '@angular/common', '@angular/forms', 'ngx-bootstrap/tooltip', 'ngx-bootstrap/dropdown', '@wm/components/base', '@wm/components/basic', '@wm/components/input', '@wm/components/navigation/menu', '@wm/components/data/list', '@wm/components/data/pagination', '@wm/core', 'rxjs', 'rxjs/operators', 'lodash-es'], factory) :
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.wm = global.wm || {}, global.wm.components = global.wm.components || {}, global.wm.components.data = global.wm.components.data || {}, global.wm.components.data.table = {}), global.ng.core, global.ng.common, global.ng.forms, global.tooltip, global.dropdown, global.wm.components.base, global.wm.components.basic, global.wm.components.input, global.wm.components.navigation.menu, global.wm.components.data.list, global.wm.components.data.pagination, global.wm.core, global.rxjs, global.rxjs.operators, global._));
|
|
5
|
+
})(this, (function (exports, i0, i7, i1, tooltip, i6, i4, i5, i8, i9, i3, i10, i2, rxjs, operators, lodashEs) { 'use strict';
|
|
6
6
|
|
|
7
7
|
function _interopNamespaceDefault(e) {
|
|
8
8
|
var n = Object.create(null);
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
['gridfirstrowselect', i4.PROP_BOOLEAN],
|
|
61
61
|
['iconclass', i4.PROP_STRING],
|
|
62
62
|
['insertmessage', { value: 'Record added successfully', ...i4.PROP_STRING }],
|
|
63
|
-
['isdynamictable', i4.PROP_BOOLEAN],
|
|
63
|
+
['isdynamictable', i4.PROP_BOOLEAN], // internal property to determine dynamic table
|
|
64
64
|
['isrowexpansionenabled', i4.PROP_BOOLEAN],
|
|
65
65
|
['loadingdatamsg', { value: 'Loading...', ...i4.PROP_STRING }],
|
|
66
66
|
['loadingicon', { value: 'fa fa-circle-o-notch fa-spin', ...i4.PROP_STRING }],
|
|
@@ -109,39 +109,40 @@
|
|
|
109
109
|
const _c14 = ["rowExpansionActionView"];
|
|
110
110
|
const _c15 = ["dynamicTable"];
|
|
111
111
|
const _c16 = ["wmTable", ""];
|
|
112
|
+
const _c17 = a0 => ({ btn: a0 });
|
|
113
|
+
const _c18 = (a0, a1) => ({ "btn-sm": a0, "disabled-new": a1 });
|
|
112
114
|
function TableComponent_div_0_i_3_Template(rf, ctx) { if (rf & 1) {
|
|
113
115
|
i0__namespace.ɵɵelement(0, "i");
|
|
114
116
|
} if (rf & 2) {
|
|
115
|
-
const
|
|
116
|
-
i0__namespace.ɵɵclassMapInterpolate1("app-icon panel-icon ",
|
|
117
|
+
const ctx_r0 = i0__namespace.ɵɵnextContext(2);
|
|
118
|
+
i0__namespace.ɵɵclassMapInterpolate1("app-icon panel-icon ", ctx_r0.iconclass, "");
|
|
117
119
|
} }
|
|
118
|
-
const _c17 = function (a0) { return { btn: a0 }; };
|
|
119
120
|
function TableComponent_div_0_div_7_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
120
121
|
i0__namespace.ɵɵelementContainer(0, 29);
|
|
121
122
|
} if (rf & 2) {
|
|
122
|
-
const
|
|
123
|
-
|
|
124
|
-
const
|
|
125
|
-
const
|
|
126
|
-
|
|
123
|
+
const btn_r2 = ctx.$implicit;
|
|
124
|
+
const index_r3 = ctx.index;
|
|
125
|
+
const ctx_r0 = i0__namespace.ɵɵnextContext(3);
|
|
126
|
+
const buttonRef_r4 = i0__namespace.ɵɵreference(8);
|
|
127
|
+
const anchorRef_r5 = i0__namespace.ɵɵreference(10);
|
|
128
|
+
i0__namespace.ɵɵproperty("ngTemplateOutlet", btn_r2.widgetType === "button" ? buttonRef_r4 : anchorRef_r5)("ngTemplateOutletContext", i0__namespace.ɵɵpureFunction1(3, _c17, btn_r2))("ngTemplateOutletInjector", ctx_r0.createCustomInjector("actions_header_" + index_r3, i0__namespace.ɵɵpureFunction1(5, _c17, btn_r2)));
|
|
127
129
|
} }
|
|
128
130
|
function TableComponent_div_0_div_7_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
129
131
|
i0__namespace.ɵɵelement(0, "div", 30);
|
|
130
132
|
} if (rf & 2) {
|
|
131
|
-
const
|
|
132
|
-
i0__namespace.ɵɵattributeInterpolate1("name", "",
|
|
133
|
+
const ctx_r0 = i0__namespace.ɵɵnextContext(3);
|
|
134
|
+
i0__namespace.ɵɵattributeInterpolate1("name", "", ctx_r0.name, "-export");
|
|
133
135
|
} }
|
|
134
136
|
function TableComponent_div_0_div_7_Template(rf, ctx) { if (rf & 1) {
|
|
135
137
|
i0__namespace.ɵɵelementStart(0, "div", 26);
|
|
136
|
-
i0__namespace.ɵɵtemplate(1, TableComponent_div_0_div_7_ng_container_1_Template, 1,
|
|
137
|
-
i0__namespace.ɵɵtemplate(2, TableComponent_div_0_div_7_div_2_Template, 1, 1, "div", 28);
|
|
138
|
+
i0__namespace.ɵɵtemplate(1, TableComponent_div_0_div_7_ng_container_1_Template, 1, 7, "ng-container", 27)(2, TableComponent_div_0_div_7_div_2_Template, 1, 2, "div", 28);
|
|
138
139
|
i0__namespace.ɵɵelementEnd();
|
|
139
140
|
} if (rf & 2) {
|
|
140
|
-
const
|
|
141
|
-
i0__namespace.ɵɵadvance(
|
|
142
|
-
i0__namespace.ɵɵproperty("ngForOf",
|
|
143
|
-
i0__namespace.ɵɵadvance(
|
|
144
|
-
i0__namespace.ɵɵproperty("ngIf",
|
|
141
|
+
const ctx_r0 = i0__namespace.ɵɵnextContext(2);
|
|
142
|
+
i0__namespace.ɵɵadvance();
|
|
143
|
+
i0__namespace.ɵɵproperty("ngForOf", ctx_r0._actions.header);
|
|
144
|
+
i0__namespace.ɵɵadvance();
|
|
145
|
+
i0__namespace.ɵɵproperty("ngIf", ctx_r0.exportOptions.length);
|
|
145
146
|
} }
|
|
146
147
|
function TableComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
147
148
|
i0__namespace.ɵɵelementStart(0, "div", 19)(1, "h3", 20)(2, "div", 21);
|
|
@@ -158,50 +159,50 @@
|
|
|
158
159
|
i0__namespace.ɵɵproperty("ngIf", ctx_r0.iconclass);
|
|
159
160
|
i0__namespace.ɵɵadvance(2);
|
|
160
161
|
i0__namespace.ɵɵproperty("innerHTML", ctx_r0.title, i0__namespace.ɵɵsanitizeHtml);
|
|
161
|
-
i0__namespace.ɵɵadvance(
|
|
162
|
+
i0__namespace.ɵɵadvance();
|
|
162
163
|
i0__namespace.ɵɵproperty("innerHTML", ctx_r0.subheading, i0__namespace.ɵɵsanitizeHtml);
|
|
163
|
-
i0__namespace.ɵɵadvance(
|
|
164
|
+
i0__namespace.ɵɵadvance();
|
|
164
165
|
i0__namespace.ɵɵproperty("ngIf", ctx_r0.exportOptions.length || ctx_r0._actions.header.length);
|
|
165
166
|
} }
|
|
166
167
|
function TableComponent_div_6_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
167
168
|
i0__namespace.ɵɵelementContainer(0, 29);
|
|
168
169
|
} if (rf & 2) {
|
|
169
|
-
const
|
|
170
|
-
|
|
171
|
-
const
|
|
172
|
-
const
|
|
173
|
-
|
|
170
|
+
const btn_r6 = ctx.$implicit;
|
|
171
|
+
const index_r7 = ctx.index;
|
|
172
|
+
const ctx_r0 = i0__namespace.ɵɵnextContext(2);
|
|
173
|
+
const buttonRef_r4 = i0__namespace.ɵɵreference(8);
|
|
174
|
+
const anchorRef_r5 = i0__namespace.ɵɵreference(10);
|
|
175
|
+
i0__namespace.ɵɵproperty("ngTemplateOutlet", btn_r6.widgetType === "button" ? buttonRef_r4 : anchorRef_r5)("ngTemplateOutletContext", i0__namespace.ɵɵpureFunction1(3, _c17, btn_r6))("ngTemplateOutletInjector", ctx_r0.createCustomInjector("actions_footer_" + index_r7, i0__namespace.ɵɵpureFunction1(5, _c17, btn_r6)));
|
|
174
176
|
} }
|
|
175
177
|
function TableComponent_div_6_Template(rf, ctx) { if (rf & 1) {
|
|
176
178
|
i0__namespace.ɵɵelementStart(0, "div", 31);
|
|
177
|
-
i0__namespace.ɵɵtemplate(1, TableComponent_div_6_ng_container_1_Template, 1,
|
|
179
|
+
i0__namespace.ɵɵtemplate(1, TableComponent_div_6_ng_container_1_Template, 1, 7, "ng-container", 27);
|
|
178
180
|
i0__namespace.ɵɵelementEnd();
|
|
179
181
|
} if (rf & 2) {
|
|
180
|
-
const
|
|
181
|
-
i0__namespace.ɵɵadvance(
|
|
182
|
-
i0__namespace.ɵɵproperty("ngForOf",
|
|
182
|
+
const ctx_r0 = i0__namespace.ɵɵnextContext();
|
|
183
|
+
i0__namespace.ɵɵadvance();
|
|
184
|
+
i0__namespace.ɵɵproperty("ngForOf", ctx_r0._actions.footer);
|
|
183
185
|
} }
|
|
184
|
-
const _c18 = function (a0, a1) { return { "btn-sm": a0, "disabled-new": a1 }; };
|
|
185
186
|
function TableComponent_ng_template_7_Template(rf, ctx) { if (rf & 1) {
|
|
186
|
-
const
|
|
187
|
+
const _r8 = i0__namespace.ɵɵgetCurrentView();
|
|
187
188
|
i0__namespace.ɵɵelementStart(0, "button", 32);
|
|
188
|
-
i0__namespace.ɵɵlistener("click", function TableComponent_ng_template_7_Template_button_click_0_listener($event) { const
|
|
189
|
+
i0__namespace.ɵɵlistener("click", function TableComponent_ng_template_7_Template_button_click_0_listener($event) { const btn_r9 = i0__namespace.ɵɵrestoreView(_r8).btn; const ctx_r0 = i0__namespace.ɵɵnextContext(); return i0__namespace.ɵɵresetView(ctx_r0.invokeActionEvent($event, btn_r9.action)); });
|
|
189
190
|
i0__namespace.ɵɵelementEnd();
|
|
190
191
|
} if (rf & 2) {
|
|
191
|
-
const
|
|
192
|
-
const
|
|
193
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction2(2, _c18,
|
|
194
|
-
i0__namespace.ɵɵattribute("aria-label",
|
|
192
|
+
const btn_r9 = ctx.btn;
|
|
193
|
+
const ctx_r0 = i0__namespace.ɵɵnextContext();
|
|
194
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction2(2, _c18, ctx_r0.spacing === "condensed", btn_r9.key === "addNewRow" && (ctx_r0.isGridEditMode || ctx_r0.isLoading)));
|
|
195
|
+
i0__namespace.ɵɵattribute("aria-label", btn_r9.displayName);
|
|
195
196
|
} }
|
|
196
197
|
function TableComponent_ng_template_9_Template(rf, ctx) { if (rf & 1) {
|
|
197
|
-
const
|
|
198
|
+
const _r10 = i0__namespace.ɵɵgetCurrentView();
|
|
198
199
|
i0__namespace.ɵɵelementStart(0, "a", 33);
|
|
199
|
-
i0__namespace.ɵɵlistener("click", function TableComponent_ng_template_9_Template_a_click_0_listener($event) { const
|
|
200
|
+
i0__namespace.ɵɵlistener("click", function TableComponent_ng_template_9_Template_a_click_0_listener($event) { const btn_r11 = i0__namespace.ɵɵrestoreView(_r10).btn; const ctx_r0 = i0__namespace.ɵɵnextContext(); return i0__namespace.ɵɵresetView(ctx_r0.invokeActionEvent($event, btn_r11.action)); });
|
|
200
201
|
i0__namespace.ɵɵelementEnd();
|
|
201
202
|
} if (rf & 2) {
|
|
202
|
-
const
|
|
203
|
-
const
|
|
204
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction2(1, _c18,
|
|
203
|
+
const btn_r11 = ctx.btn;
|
|
204
|
+
const ctx_r0 = i0__namespace.ɵɵnextContext();
|
|
205
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction2(1, _c18, ctx_r0.spacing === "condensed", btn_r11.key === "addNewRow" && (ctx_r0.isGridEditMode || ctx_r0.isLoading)));
|
|
205
206
|
} }
|
|
206
207
|
const DEFAULT_CLS = 'app-grid app-panel panel';
|
|
207
208
|
const WIDGET_CONFIG$5 = { widgetType: 'wm-table', hostClass: DEFAULT_CLS };
|
|
@@ -236,7 +237,7 @@
|
|
|
236
237
|
set gridData(newValue) {
|
|
237
238
|
this.isDataLoading = false;
|
|
238
239
|
// Fix for [WMS-24012]: hide no datafound msg when variableInflight is true and dataset is empty
|
|
239
|
-
if (this.variableInflight &&
|
|
240
|
+
if (this.variableInflight && lodashEs.isEmpty(newValue)) {
|
|
240
241
|
return;
|
|
241
242
|
}
|
|
242
243
|
this.variableInflight = false;
|
|
@@ -252,7 +253,7 @@
|
|
|
252
253
|
[this._gridData, this.currentPage] = this.paginationService.updateFieldsOnPagination(this, newValue);
|
|
253
254
|
// When edit action is performed on previous page, update the _gridData field with the modified row data
|
|
254
255
|
if (this.gridOptions.lastActionPerformed === this.gridOptions.ACTIONS.EDIT) {
|
|
255
|
-
const rowIndex =
|
|
256
|
+
const rowIndex = lodashEs.floor(this.actionRowIndex % this.pagesize);
|
|
256
257
|
this._gridData.splice(this.actionRowIndex, 1, newValue[rowIndex]);
|
|
257
258
|
}
|
|
258
259
|
this.setDataGridOption('isLastPage', !!(this.dataNavigator.isDisableNext));
|
|
@@ -290,7 +291,7 @@
|
|
|
290
291
|
this.setDataGridOption('colDefs', i2.getClonedObject(this.fieldDefs));
|
|
291
292
|
}
|
|
292
293
|
// If data and colDefs are present, call on before data render event
|
|
293
|
-
if (!this.isdynamictable && !
|
|
294
|
+
if (!this.isdynamictable && !lodashEs.isEmpty(newValue) && gridOptions.colDefs.length) {
|
|
294
295
|
this.invokeEventCallback('beforedatarender', { $data: this._gridData, $columns: this.columns, data: this._gridData, columns: this.columns });
|
|
295
296
|
}
|
|
296
297
|
this.setDataGridOption('data', i2.getClonedObject(this._gridData));
|
|
@@ -303,7 +304,7 @@
|
|
|
303
304
|
if (this.multiselect) {
|
|
304
305
|
return i2.getClonedObject(this.items);
|
|
305
306
|
}
|
|
306
|
-
if (
|
|
307
|
+
if (lodashEs.isEmpty(this.items)) {
|
|
307
308
|
return {};
|
|
308
309
|
}
|
|
309
310
|
return i2.getClonedObject(this.items[0]);
|
|
@@ -318,8 +319,8 @@
|
|
|
318
319
|
this.invokeEventCallback('enterkeypress', { $event, $data: this.gridData });
|
|
319
320
|
}
|
|
320
321
|
}
|
|
321
|
-
constructor(inj, fb, app, dynamicComponentProvider, statePersistence, paginationService, viewport, parentList, binddataset, binddatasource, readonlygrid, ngZone, trustAsPipe) {
|
|
322
|
-
super(inj, WIDGET_CONFIG$5);
|
|
322
|
+
constructor(inj, fb, app, dynamicComponentProvider, statePersistence, paginationService, viewport, parentList, binddataset, binddatasource, readonlygrid, ngZone, trustAsPipe, explicitContext) {
|
|
323
|
+
super(inj, WIDGET_CONFIG$5, explicitContext);
|
|
323
324
|
this.inj = inj;
|
|
324
325
|
this.fb = fb;
|
|
325
326
|
this.app = app;
|
|
@@ -369,8 +370,8 @@
|
|
|
369
370
|
this.fullFieldDefs = [];
|
|
370
371
|
this.variableInflight = true;
|
|
371
372
|
this.applyProps = new Map();
|
|
372
|
-
this.redraw =
|
|
373
|
-
this.debouncedHandleLoading =
|
|
373
|
+
this.redraw = lodashEs.debounce(this._redraw, 150);
|
|
374
|
+
this.debouncedHandleLoading = lodashEs.debounce(this.handleLoading, 350);
|
|
374
375
|
// Filter and Sort Methods
|
|
375
376
|
this.rowFilter = {};
|
|
376
377
|
this._searchSortHandler = noop;
|
|
@@ -435,11 +436,11 @@
|
|
|
435
436
|
isLastPage: false,
|
|
436
437
|
// get the current page number
|
|
437
438
|
getCurrentPage: () => {
|
|
438
|
-
return
|
|
439
|
+
return lodashEs.get(this.dataNavigator, 'dn.currentPage') || 1;
|
|
439
440
|
},
|
|
440
441
|
// set the page number
|
|
441
442
|
setCurrentPage: (pageNum) => {
|
|
442
|
-
|
|
443
|
+
lodashEs.set(this.dataNavigator, 'dn.currentPage', pageNum || 1);
|
|
443
444
|
},
|
|
444
445
|
getDataSource: () => {
|
|
445
446
|
return this.datasource;
|
|
@@ -511,8 +512,8 @@
|
|
|
511
512
|
if (this.selectedItems.length && rowData.$index && this.getConfiguredState() !== 'none' && this.dataNavigator && i4.unsupportedStatePersistenceTypes.indexOf(this.navigation) < 0) {
|
|
512
513
|
const obj = { page: this.dataNavigator.dn.currentPage, index: rowData.$index - 1 };
|
|
513
514
|
const widgetState = this.statePersistence.getWidgetState(this);
|
|
514
|
-
if (
|
|
515
|
-
if (!
|
|
515
|
+
if (lodashEs.get(widgetState, 'selectedItem') && this.multiselect) {
|
|
516
|
+
if (!lodashEs.some(widgetState.selectedItem, obj)) {
|
|
516
517
|
widgetState.selectedItem.push(obj);
|
|
517
518
|
}
|
|
518
519
|
this.statePersistence.setWidgetState(this, { 'selectedItem': widgetState.selectedItem });
|
|
@@ -536,7 +537,7 @@
|
|
|
536
537
|
*/
|
|
537
538
|
if (this.multiselect) {
|
|
538
539
|
//Fix for [WMS-25110]: Add row to items list only if the row is selected
|
|
539
|
-
if (
|
|
540
|
+
if (lodashEs.findIndex(this.items, row) === -1 && (rowInfo?._selected === undefined || rowInfo?._selected == true || (this.gridfirstrowselect && rowInfo?.rowId == 0 && !this.showFirstRow))) {
|
|
540
541
|
this.items.push(row);
|
|
541
542
|
if (rowInfo?.rowId == 0) {
|
|
542
543
|
this.showFirstRow = true;
|
|
@@ -556,16 +557,16 @@
|
|
|
556
557
|
onRowDeselect: (row, e) => {
|
|
557
558
|
if (this.multiselect) {
|
|
558
559
|
this.ngZone.run(() => {
|
|
559
|
-
this.items =
|
|
560
|
+
this.items = lodashEs.pullAllWith(this.items, [row], lodashEs.isEqual);
|
|
560
561
|
this.selectedItems = this.callDataGridMethod('getSelectedRows');
|
|
561
562
|
this.invokeEventCallback('rowdeselect', { $data: row, $event: e, row });
|
|
562
563
|
const rowData = this.addRowIndex(row);
|
|
563
564
|
if (this.getConfiguredState() !== 'none' && i4.unsupportedStatePersistenceTypes.indexOf(this.navigation) < 0) {
|
|
564
565
|
const obj = { page: this.dataNavigator.dn.currentPage, index: rowData.$index - 1 };
|
|
565
566
|
const widgetState = this.statePersistence.getWidgetState(this);
|
|
566
|
-
if (
|
|
567
|
-
|
|
568
|
-
return
|
|
567
|
+
if (lodashEs.get(widgetState, 'selectedItem')) {
|
|
568
|
+
lodashEs.remove(widgetState.selectedItem, function (selectedItem) {
|
|
569
|
+
return lodashEs.isEqual(selectedItem, obj);
|
|
569
570
|
});
|
|
570
571
|
this.statePersistence.removeWidgetState(this, 'selectedItem');
|
|
571
572
|
if (widgetState.selectedItem.length > 0) {
|
|
@@ -608,11 +609,16 @@
|
|
|
608
609
|
},
|
|
609
610
|
onRowDelete: (row, cancelRowDeleteCallback, e, callBack, options) => {
|
|
610
611
|
this.ngZone.run(() => {
|
|
611
|
-
this.deleteRecord(
|
|
612
|
+
this.deleteRecord(lodashEs.extend({}, options, {
|
|
613
|
+
row,
|
|
614
|
+
'cancelRowDeleteCallback': cancelRowDeleteCallback,
|
|
615
|
+
'evt': e,
|
|
616
|
+
'callBack': callBack
|
|
617
|
+
}));
|
|
612
618
|
});
|
|
613
619
|
},
|
|
614
620
|
onRowInsert: (row, e, callBack, options) => {
|
|
615
|
-
this.insertRecord(
|
|
621
|
+
this.insertRecord(lodashEs.extend({}, options, { row, event: e, 'callBack': callBack }));
|
|
616
622
|
},
|
|
617
623
|
beforeRowUpdate: (row, eventName) => {
|
|
618
624
|
if (this._liveTableParent) {
|
|
@@ -621,7 +627,7 @@
|
|
|
621
627
|
this.prevData = i2.getClonedObject(row);
|
|
622
628
|
},
|
|
623
629
|
afterRowUpdate: (row, e, callBack, options) => {
|
|
624
|
-
this.updateRecord(
|
|
630
|
+
this.updateRecord(lodashEs.extend({}, options, { row, 'prevData': this.prevData, 'event': e, 'callBack': callBack }));
|
|
625
631
|
},
|
|
626
632
|
onBeforeRowUpdate: (row, e, options) => {
|
|
627
633
|
return this.invokeEventCallback('beforerowupdate', { $event: e, $data: row, row, options: options });
|
|
@@ -702,7 +708,7 @@
|
|
|
702
708
|
const customExprView = this.customExprViewRef.createEmbeddedView(tmpl, context);
|
|
703
709
|
const rootNode = customExprView.rootNodes[0];
|
|
704
710
|
const fieldName = rootNode.getAttribute('data-col-identifier');
|
|
705
|
-
|
|
711
|
+
lodashEs.extend(colDef, this.columns[fieldName]);
|
|
706
712
|
if (!summaryRow) {
|
|
707
713
|
this.customExprCompiledTl[fieldName + index] = rootNode;
|
|
708
714
|
}
|
|
@@ -930,7 +936,7 @@
|
|
|
930
936
|
if (this.gridOptions.isNavTypeScrollOrOndemand()) {
|
|
931
937
|
this.actionRowIndex = parseInt(val);
|
|
932
938
|
this.setDataGridOption('actionRowIndex', this.actionRowIndex);
|
|
933
|
-
if (!
|
|
939
|
+
if (!lodashEs.isNaN(this.actionRowIndex)) {
|
|
934
940
|
this.actionRowPage = Math.floor(this.actionRowIndex / this.pagesize) + 1;
|
|
935
941
|
this.setDataGridOption('actionRowPage', this.actionRowPage || this.gridOptions.actionRowPage);
|
|
936
942
|
}
|
|
@@ -972,7 +978,7 @@
|
|
|
972
978
|
clearForm: this.clearForm.bind(this),
|
|
973
979
|
callLoadInlineWidgetData: () => {
|
|
974
980
|
this.fullFieldDefs.forEach(col => {
|
|
975
|
-
if (
|
|
981
|
+
if (lodashEs.isUndefined(col.isDataSetBound)) {
|
|
976
982
|
i2.triggerFn(col.loadInlineWidgetData && col.loadInlineWidgetData.bind(col));
|
|
977
983
|
}
|
|
978
984
|
});
|
|
@@ -1009,12 +1015,12 @@
|
|
|
1009
1015
|
const listenersToRemove = [
|
|
1010
1016
|
// Updates pagination, filter, sort etc options for service and crud variables
|
|
1011
1017
|
this.app.subscribe('check-state-persistence-options', options => {
|
|
1012
|
-
let dataSourceName =
|
|
1018
|
+
let dataSourceName = lodashEs.get(this.datasource, 'name');
|
|
1013
1019
|
// in Prefabs, this.datasource is not resolved at the time of variable invocation, so additional check is required.
|
|
1014
1020
|
if (!dataSourceName) {
|
|
1015
1021
|
dataSourceName = i4.extractDataSourceName(this.binddatasource);
|
|
1016
1022
|
}
|
|
1017
|
-
if (
|
|
1023
|
+
if (lodashEs.get(options, 'variable.name') !== dataSourceName) {
|
|
1018
1024
|
return;
|
|
1019
1025
|
}
|
|
1020
1026
|
if (this._pageLoad && this.getConfiguredState() !== 'none') {
|
|
@@ -1061,7 +1067,7 @@
|
|
|
1061
1067
|
ngAfterContentInit() {
|
|
1062
1068
|
super.ngAfterContentInit();
|
|
1063
1069
|
this.headerConfig = this.headerConfig.filter(this.filterEmptyValues.bind(this));
|
|
1064
|
-
|
|
1070
|
+
lodashEs.remove(this.fieldDefs, f => f === undefined);
|
|
1065
1071
|
const runModeInitialProperties = {
|
|
1066
1072
|
showrowindex: 'showRowIndex',
|
|
1067
1073
|
multiselect: 'multiselect',
|
|
@@ -1109,7 +1115,7 @@
|
|
|
1109
1115
|
this.gridOptions.loadingdatamsg = this.loadingdatamsg;
|
|
1110
1116
|
// 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
1117
|
// Because the griddata is setting before the datatable dom is rendered but we are sending empty data to the datatable.
|
|
1112
|
-
if (!
|
|
1118
|
+
if (!lodashEs.isEmpty(this.gridData)) {
|
|
1113
1119
|
this.gridOptions.data = i2.getClonedObject(this.gridData);
|
|
1114
1120
|
}
|
|
1115
1121
|
this.gridOptions.messages = {
|
|
@@ -1118,7 +1124,7 @@
|
|
|
1118
1124
|
this.datagridElement = $(this._tableElement.nativeElement);
|
|
1119
1125
|
this.gridElement = this.$element;
|
|
1120
1126
|
this.$element.css({ 'position': 'relative' });
|
|
1121
|
-
|
|
1127
|
+
lodashEs.forEach(runModeInitialProperties, (value, key) => {
|
|
1122
1128
|
if (i2.isDefined(this[key])) {
|
|
1123
1129
|
this.gridOptions[value] = (this[key] === 'true' || this[key] === true);
|
|
1124
1130
|
}
|
|
@@ -1146,17 +1152,17 @@
|
|
|
1146
1152
|
return mode && mode.toLowerCase();
|
|
1147
1153
|
}
|
|
1148
1154
|
handleStateParams(widgetState, options) {
|
|
1149
|
-
if (
|
|
1155
|
+
if (lodashEs.get(widgetState, 'selectedItem')) {
|
|
1150
1156
|
this._selectedItemsExist = true;
|
|
1151
1157
|
}
|
|
1152
1158
|
options.options = options.options || {};
|
|
1153
|
-
if (
|
|
1159
|
+
if (lodashEs.get(widgetState, 'pagination')) {
|
|
1154
1160
|
options.options.page = widgetState.pagination;
|
|
1155
|
-
if (
|
|
1161
|
+
if (lodashEs.get(widgetState, 'sort')) {
|
|
1156
1162
|
this.sortStateHandler(widgetState);
|
|
1157
|
-
options.options.orderBy =
|
|
1163
|
+
options.options.orderBy = lodashEs.get(widgetState, 'sort.field') + ' ' + lodashEs.get(widgetState, 'sort.direction');
|
|
1158
1164
|
}
|
|
1159
|
-
if (
|
|
1165
|
+
if (lodashEs.get(widgetState, 'search')) {
|
|
1160
1166
|
setTimeout(() => {
|
|
1161
1167
|
this.searchStateHandler(widgetState);
|
|
1162
1168
|
}, 500);
|
|
@@ -1165,15 +1171,15 @@
|
|
|
1165
1171
|
}
|
|
1166
1172
|
else {
|
|
1167
1173
|
options.options.page = 1;
|
|
1168
|
-
if (
|
|
1174
|
+
if (lodashEs.get(widgetState, 'search')) {
|
|
1169
1175
|
setTimeout(() => {
|
|
1170
1176
|
this.searchStateHandler(widgetState);
|
|
1171
1177
|
}, 500);
|
|
1172
1178
|
options.options.filterFields = this.getFilterFields(widgetState.search);
|
|
1173
1179
|
}
|
|
1174
|
-
if (
|
|
1180
|
+
if (lodashEs.get(widgetState, 'sort')) {
|
|
1175
1181
|
this.sortStateHandler(widgetState);
|
|
1176
|
-
options.options.orderBy =
|
|
1182
|
+
options.options.orderBy = lodashEs.get(widgetState, 'sort.field') + ' ' + lodashEs.get(widgetState, 'sort.direction');
|
|
1177
1183
|
}
|
|
1178
1184
|
}
|
|
1179
1185
|
return options;
|
|
@@ -1187,17 +1193,17 @@
|
|
|
1187
1193
|
}
|
|
1188
1194
|
sortStateHandler(widgetState) {
|
|
1189
1195
|
const $gridElement = this.datagridElement;
|
|
1190
|
-
const $sortIcon = $gridElement.find('th[data-col-field="' +
|
|
1191
|
-
if (
|
|
1196
|
+
const $sortIcon = $gridElement.find('th[data-col-field="' + lodashEs.get(widgetState, 'sort.field') + '"] .sort-icon');
|
|
1197
|
+
if (lodashEs.get(widgetState, 'sort.direction') === 'asc' && $sortIcon.length) {
|
|
1192
1198
|
$sortIcon.addClass('asc wi wi-long-arrow-up');
|
|
1193
1199
|
}
|
|
1194
|
-
else if (
|
|
1200
|
+
else if (lodashEs.get(widgetState, 'sort.direction') === 'desc' && $sortIcon.length) {
|
|
1195
1201
|
$sortIcon.addClass('desc wi wi-long-arrow-down');
|
|
1196
1202
|
}
|
|
1197
1203
|
}
|
|
1198
1204
|
searchStateHandler(widgetState) {
|
|
1199
|
-
if (
|
|
1200
|
-
|
|
1205
|
+
if (lodashEs.isArray(widgetState.search)) {
|
|
1206
|
+
lodashEs.forEach(widgetState.search, (filterObj) => {
|
|
1201
1207
|
if (this.rowFilter[filterObj.field]) {
|
|
1202
1208
|
this.rowFilter[filterObj.field].value = filterObj.value;
|
|
1203
1209
|
this.rowFilter[filterObj.field].matchMode = filterObj.matchMode;
|
|
@@ -1224,11 +1230,11 @@
|
|
|
1224
1230
|
}
|
|
1225
1231
|
// Compares the prevFilterCriteria Rules with the new rules
|
|
1226
1232
|
compareFilterExpressions(prevFilters, newFilters) {
|
|
1227
|
-
return !!((prevFilters.length === newFilters.length) && (
|
|
1233
|
+
return !!((prevFilters.length === newFilters.length) && (lodashEs.isEqual(prevFilters, newFilters)));
|
|
1228
1234
|
}
|
|
1229
1235
|
// Set the table lastActionPerformed to Filter Criteria and maintain the prevFilterExpression
|
|
1230
1236
|
setLastActionToFilterCriteria() {
|
|
1231
|
-
this.prevFilterExpression =
|
|
1237
|
+
this.prevFilterExpression = lodashEs.get(this.datasource, 'filterExpressions.rules') ? i2.getClonedObject(this.datasource.filterExpressions.rules) : i2.getClonedObject([].concat(this.datasource.dataBinding));
|
|
1232
1238
|
this.gridOptions.setLastActionPerformed(this.gridOptions.ACTIONS.FILTER_CRITERIA);
|
|
1233
1239
|
this.gridOptions.setIsSearchTrigerred(true);
|
|
1234
1240
|
}
|
|
@@ -1242,8 +1248,8 @@
|
|
|
1242
1248
|
}
|
|
1243
1249
|
// Update the lastActionPerformed to Filter_Criteria, when there is change in the Variable filter criteria rules
|
|
1244
1250
|
checkIfVarFiltersApplied() {
|
|
1245
|
-
if (!
|
|
1246
|
-
const currentFilterExpr =
|
|
1251
|
+
if (!lodashEs.isEmpty(lodashEs.get(this.datasource, 'filterExpressions.rules')) || !lodashEs.isEmpty(lodashEs.get(this.datasource, 'dataBinding'))) {
|
|
1252
|
+
const currentFilterExpr = lodashEs.get(this.datasource, 'filterExpressions.rules') ? this.datasource.filterExpressions.rules : [].concat(this.datasource.dataBinding);
|
|
1247
1253
|
const isEqual = this.compareFilterExpressions(this.prevFilterExpression, currentFilterExpr);
|
|
1248
1254
|
if (!isEqual) {
|
|
1249
1255
|
this.setLastActionToFilterCriteria();
|
|
@@ -1257,29 +1263,29 @@
|
|
|
1257
1263
|
this.checkIfVarFiltersApplied();
|
|
1258
1264
|
}
|
|
1259
1265
|
// State handling for static variables
|
|
1260
|
-
if (
|
|
1266
|
+
if (lodashEs.get(this.datasource, 'category') === 'wm.Variable' && this._pageLoad && this.getConfiguredState() !== 'none') {
|
|
1261
1267
|
const widgetState = this.statePersistence.getWidgetState(this);
|
|
1262
1268
|
this._pageLoad = false;
|
|
1263
|
-
if (
|
|
1269
|
+
if (lodashEs.get(widgetState, 'selectedItem')) {
|
|
1264
1270
|
this._selectedItemsExist = true;
|
|
1265
1271
|
}
|
|
1266
1272
|
else {
|
|
1267
1273
|
this.setDataGridOption('selectFirstRow', this.gridfirstrowselect);
|
|
1268
1274
|
}
|
|
1269
|
-
if (
|
|
1275
|
+
if (lodashEs.get(widgetState, 'search')) {
|
|
1270
1276
|
this.searchStateHandler(widgetState);
|
|
1271
1277
|
this.searchSortHandler(widgetState.search, undefined, 'search', true);
|
|
1272
1278
|
}
|
|
1273
|
-
if (
|
|
1279
|
+
if (lodashEs.get(widgetState, 'sort')) {
|
|
1274
1280
|
this.searchSortHandler(widgetState.sort, undefined, 'sort', true);
|
|
1275
1281
|
this.sortStateHandler(widgetState);
|
|
1276
1282
|
}
|
|
1277
|
-
if (
|
|
1283
|
+
if (lodashEs.get(widgetState, 'pagination')) {
|
|
1278
1284
|
this.dataNavigator.pageChanged({ page: widgetState.pagination }, true);
|
|
1279
1285
|
}
|
|
1280
1286
|
}
|
|
1281
1287
|
// After the setting the watch on navigator, dataset is triggered with undefined. In this case, return here.
|
|
1282
|
-
if (this.dataNavigatorWatched &&
|
|
1288
|
+
if (this.dataNavigatorWatched && lodashEs.isUndefined(newVal) && this.__fullData) {
|
|
1283
1289
|
return;
|
|
1284
1290
|
}
|
|
1285
1291
|
// If variable is in loading state, show loading icon
|
|
@@ -1313,7 +1319,7 @@
|
|
|
1313
1319
|
else {
|
|
1314
1320
|
this.resetPageNavigation();
|
|
1315
1321
|
// 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 ||
|
|
1322
|
+
if (newVal === '' || newVal === undefined || lodashEs.get(this.datasource, 'category') === 'wm.Variable') {
|
|
1317
1323
|
this.variableInflight = false;
|
|
1318
1324
|
}
|
|
1319
1325
|
/*for run mode, disabling the loader and showing no data found message if dataset is not valid*/
|
|
@@ -1325,7 +1331,8 @@
|
|
|
1325
1331
|
if (!this.isNavigationEnabled() && newVal) {
|
|
1326
1332
|
this.checkFiltersApplied(this.getSortExpr());
|
|
1327
1333
|
}
|
|
1328
|
-
|
|
1334
|
+
// @ts-ignore
|
|
1335
|
+
if (!lodashEs.isObject(newVal) || newVal === '' || (newVal && newVal.dataValue === '')) {
|
|
1329
1336
|
if (!this.variableInflight) {
|
|
1330
1337
|
// If variable has finished loading and resultSet is empty, ender empty data
|
|
1331
1338
|
this.setGridData([]);
|
|
@@ -1348,7 +1355,7 @@
|
|
|
1348
1355
|
}
|
|
1349
1356
|
addRowIndex(row) {
|
|
1350
1357
|
const rowData = i2.getClonedObject(row);
|
|
1351
|
-
const rowIndex =
|
|
1358
|
+
const rowIndex = lodashEs.indexOf(this.gridOptions.data, row);
|
|
1352
1359
|
if (rowIndex < 0) {
|
|
1353
1360
|
return row;
|
|
1354
1361
|
}
|
|
@@ -1374,7 +1381,7 @@
|
|
|
1374
1381
|
getClonedRowObject(rowData) {
|
|
1375
1382
|
const row = i2.getClonedObject(rowData);
|
|
1376
1383
|
row.getProperty = field => {
|
|
1377
|
-
return
|
|
1384
|
+
return lodashEs.get(row, field);
|
|
1378
1385
|
};
|
|
1379
1386
|
row.$isFirst = row.$index === 1;
|
|
1380
1387
|
row.$isLast = this.gridData.length === row.$index;
|
|
@@ -1390,7 +1397,7 @@
|
|
|
1390
1397
|
}
|
|
1391
1398
|
else {
|
|
1392
1399
|
// If grid is in edit mode or grid has data, dont show the no data message
|
|
1393
|
-
if (!this.isGridEditMode &&
|
|
1400
|
+
if (!this.isGridEditMode && lodashEs.isEmpty(this.dataset)) {
|
|
1394
1401
|
this.callDataGridMethod('setStatus', 'nodata', this.nodatamessage);
|
|
1395
1402
|
}
|
|
1396
1403
|
else {
|
|
@@ -1409,7 +1416,7 @@
|
|
|
1409
1416
|
}
|
|
1410
1417
|
clearForm(newRow) {
|
|
1411
1418
|
const ctrls = this.ngform.controls;
|
|
1412
|
-
|
|
1419
|
+
lodashEs.keys(this.ngform.controls).forEach(key => {
|
|
1413
1420
|
// If new row, clear the controls in the new row. Else, clear the controls in edit row
|
|
1414
1421
|
if (!key.endsWith('_filter') && ((key.endsWith('_new') && newRow) || (!key.endsWith('_new') && !newRow))) {
|
|
1415
1422
|
ctrls[key].setValue('');
|
|
@@ -1461,7 +1468,7 @@
|
|
|
1461
1468
|
const data = this.filternullrecords ? this.removeEmptyRecords(serverData) : serverData;
|
|
1462
1469
|
// fix for [WMS-24012] set variableinflight flag to false for static variables
|
|
1463
1470
|
// If the table is bound to some widget and not bound to any variable (ex: Table1.selectedItem) then set variableInflight to false
|
|
1464
|
-
if (
|
|
1471
|
+
if (lodashEs.get(this.datasource, 'category') === 'wm.Variable' || lodashEs.get(this.datasource, 'category') === undefined) {
|
|
1465
1472
|
this.variableInflight = false;
|
|
1466
1473
|
}
|
|
1467
1474
|
if (!this.variableInflight) {
|
|
@@ -1479,7 +1486,7 @@
|
|
|
1479
1486
|
return;
|
|
1480
1487
|
}
|
|
1481
1488
|
const option = {};
|
|
1482
|
-
if (i2.isDefined && (!
|
|
1489
|
+
if (i2.isDefined && (!lodashEs.isEqual(newVal, this.gridOptions[optionName]) || forceSet)) {
|
|
1483
1490
|
option[optionName] = newVal;
|
|
1484
1491
|
this.datagridElement.datatable('option', option);
|
|
1485
1492
|
this.gridOptions[optionName] = newVal;
|
|
@@ -1503,13 +1510,13 @@
|
|
|
1503
1510
|
if (!this.fieldDefs.length) {
|
|
1504
1511
|
return;
|
|
1505
1512
|
}
|
|
1506
|
-
rowActionCol =
|
|
1507
|
-
|
|
1508
|
-
|
|
1513
|
+
rowActionCol = lodashEs.find(this.fullFieldDefs, { 'field': ROW_OPS_FIELD, type: 'custom' }); // Check if column is fetched from markup
|
|
1514
|
+
lodashEs.remove(this.fieldDefs, { type: 'custom', field: ROW_OPS_FIELD }); // Removing operations column
|
|
1515
|
+
lodashEs.remove(this.headerConfig, { field: rowOperationsColumn.field });
|
|
1509
1516
|
/*Add the column for row operations only if at-least one operation has been enabled.*/
|
|
1510
1517
|
if (this.rowActions.length) {
|
|
1511
1518
|
if (rowActionCol) { // If column is present in markup, push the column or push the default column
|
|
1512
|
-
insertPosition = rowActionCol.rowactionsposition ?
|
|
1519
|
+
insertPosition = rowActionCol.rowactionsposition ? lodashEs.toNumber(rowActionCol.rowactionsposition) : this.fieldDefs.length;
|
|
1513
1520
|
this.fieldDefs.splice(insertPosition, 0, rowActionCol);
|
|
1514
1521
|
if (insertPosition === 0) {
|
|
1515
1522
|
this.headerConfig.unshift(config);
|
|
@@ -1538,15 +1545,15 @@
|
|
|
1538
1545
|
if (i2.isDefined(newVal)) {
|
|
1539
1546
|
// Watch will not be triggered if dataset and new value are equal. So trigger the property change handler manually
|
|
1540
1547
|
// This happens in case, if dataset is directly updated.
|
|
1541
|
-
if (
|
|
1548
|
+
if (lodashEs.isEqual(this.dataset, newVal)) {
|
|
1542
1549
|
this.watchVariableDataSet(newVal);
|
|
1543
1550
|
}
|
|
1544
1551
|
else {
|
|
1545
|
-
if (
|
|
1552
|
+
if (lodashEs.isArray(newVal)) {
|
|
1546
1553
|
this.widget.dataset = [].concat(newVal);
|
|
1547
1554
|
}
|
|
1548
|
-
else if (
|
|
1549
|
-
this.widget.dataset =
|
|
1555
|
+
else if (lodashEs.isObject(newVal)) {
|
|
1556
|
+
this.widget.dataset = lodashEs.extend({}, newVal);
|
|
1550
1557
|
}
|
|
1551
1558
|
else {
|
|
1552
1559
|
this.widget.dataset = newVal;
|
|
@@ -1626,7 +1633,7 @@
|
|
|
1626
1633
|
if (this.getConfiguredState() !== 'none' && this._selectedItemsExist && serviceData.length) {
|
|
1627
1634
|
const widgetState = this.statePersistence.getWidgetState(this);
|
|
1628
1635
|
let currentPageItems;
|
|
1629
|
-
if (
|
|
1636
|
+
if (lodashEs.get(widgetState, 'selectedItem')) {
|
|
1630
1637
|
currentPageItems = widgetState.selectedItem.filter(val => {
|
|
1631
1638
|
return val.page === this.dataNavigator.dn.currentPage;
|
|
1632
1639
|
});
|
|
@@ -1634,7 +1641,7 @@
|
|
|
1634
1641
|
// if an item is already selected, don't trigger onSelect event for it again
|
|
1635
1642
|
if (currentPageItems.length && this.selecteditem.length !== widgetState.selectedItem.length) {
|
|
1636
1643
|
// don't reassign this.selecteditem if selected items already exist.
|
|
1637
|
-
if (
|
|
1644
|
+
if (lodashEs.isArray(this.selecteditem)) {
|
|
1638
1645
|
currentPageItems.forEach((item) => {
|
|
1639
1646
|
this.selectItem(item.index, undefined);
|
|
1640
1647
|
});
|
|
@@ -1651,15 +1658,15 @@
|
|
|
1651
1658
|
this.fieldDefs = []; // empty the form fields
|
|
1652
1659
|
// empty the filter field template refs.
|
|
1653
1660
|
this.filterTmpl._results = [];
|
|
1654
|
-
if (
|
|
1661
|
+
if (lodashEs.isEmpty(columns)) {
|
|
1655
1662
|
return;
|
|
1656
1663
|
}
|
|
1657
1664
|
let tmpl = '';
|
|
1658
1665
|
columns.forEach(col => {
|
|
1659
1666
|
let attrsTmpl = '';
|
|
1660
1667
|
let customTmpl = '';
|
|
1661
|
-
|
|
1662
|
-
if (!
|
|
1668
|
+
lodashEs.forEach(col, (val, key) => {
|
|
1669
|
+
if (!lodashEs.isUndefined(val) && val !== '') {
|
|
1663
1670
|
// If custom expression is present, keep it inside table column. Else, keep as attribute
|
|
1664
1671
|
if (key === 'customExpression') {
|
|
1665
1672
|
customTmpl = val;
|
|
@@ -1698,7 +1705,7 @@
|
|
|
1698
1705
|
/*call utility function to prepare fieldDefs for grid against given data (A MAX OF 10 COLUMNS ONLY)*/
|
|
1699
1706
|
defaultFieldDefs = i4.prepareFieldDefs(properties);
|
|
1700
1707
|
/*append additional properties*/
|
|
1701
|
-
|
|
1708
|
+
lodashEs.forEach(defaultFieldDefs, columnDef => {
|
|
1702
1709
|
columnDef.binding = columnDef.field;
|
|
1703
1710
|
columnDef.caption = columnDef.displayName;
|
|
1704
1711
|
columnDef.pcDisplay = true;
|
|
@@ -1720,7 +1727,7 @@
|
|
|
1720
1727
|
this.invokeEventCallback('beforedatarender', { $data: data, $columns: this.columns, data: data, columns: this.columns });
|
|
1721
1728
|
defaultFieldDefs = [];
|
|
1722
1729
|
// Apply the changes made by the user
|
|
1723
|
-
|
|
1730
|
+
lodashEs.forEach(this.columns, val => {
|
|
1724
1731
|
defaultFieldDefs.push(val);
|
|
1725
1732
|
});
|
|
1726
1733
|
this.generateDynamicColumns(defaultFieldDefs);
|
|
@@ -1730,11 +1737,11 @@
|
|
|
1730
1737
|
/* check whether data is valid or not */
|
|
1731
1738
|
const dataValid = data && !data.error;
|
|
1732
1739
|
/*if the data is type json object, make it an array of the object*/
|
|
1733
|
-
if (dataValid && !
|
|
1740
|
+
if (dataValid && !lodashEs.isArray(data)) {
|
|
1734
1741
|
data = [data];
|
|
1735
1742
|
}
|
|
1736
1743
|
/* if the data is empty, show nodatamessage */
|
|
1737
|
-
if (
|
|
1744
|
+
if (lodashEs.isEmpty(data)) {
|
|
1738
1745
|
this.setGridData(data);
|
|
1739
1746
|
return;
|
|
1740
1747
|
}
|
|
@@ -1751,7 +1758,7 @@
|
|
|
1751
1758
|
let pagingOptions;
|
|
1752
1759
|
if (this.datasource && this.datasource.execute(i2.DataSource.Operation.IS_PAGEABLE)) {
|
|
1753
1760
|
pagingOptions = this.datasource.execute(i2.DataSource.Operation.GET_PAGING_OPTIONS);
|
|
1754
|
-
sortExp =
|
|
1761
|
+
sortExp = lodashEs.isEmpty(pagingOptions) ? '' : i4.getOrderByExpr(pagingOptions.sort);
|
|
1755
1762
|
}
|
|
1756
1763
|
return sortExp || '';
|
|
1757
1764
|
}
|
|
@@ -1777,7 +1784,7 @@
|
|
|
1777
1784
|
}
|
|
1778
1785
|
// if table is inside list then table dataset will be set as "item.XXX" and there is no datasource.
|
|
1779
1786
|
// So extracting datasource from the datset bound expression.
|
|
1780
|
-
if (this.parentList && !this.datasource &&
|
|
1787
|
+
if (this.parentList && !this.datasource && lodashEs.startsWith(this.binddataset, 'item')) {
|
|
1781
1788
|
this.datasource = i2.getDatasourceFromExpr(this.widget.$attrs.get('datasetboundexpr'), this);
|
|
1782
1789
|
}
|
|
1783
1790
|
if (this.gridOptions.isNavTypeScrollOrOndemand()) {
|
|
@@ -1794,7 +1801,7 @@
|
|
|
1794
1801
|
}
|
|
1795
1802
|
// for Static Variables with Retain State enabled, prevent Table from rendering more than once
|
|
1796
1803
|
// Fix for [WMS-25284]: Render table that is inside list widget and bound to static Variable
|
|
1797
|
-
if (!(
|
|
1804
|
+
if (!(lodashEs.get(this.datasource, 'category') === 'wm.Variable' && this._pageLoad && this.getConfiguredState() !== 'none') || (this.parentList && lodashEs.startsWith(this.binddataset, 'item'))) {
|
|
1798
1805
|
this.watchVariableDataSet(nv);
|
|
1799
1806
|
}
|
|
1800
1807
|
break;
|
|
@@ -1845,7 +1852,7 @@
|
|
|
1845
1852
|
this.exportOptions = [];
|
|
1846
1853
|
if (nv) {
|
|
1847
1854
|
// Populate options for export drop down menu
|
|
1848
|
-
|
|
1855
|
+
lodashEs.forEach(lodashEs.split(nv, ','), type => {
|
|
1849
1856
|
this.exportOptions.push({
|
|
1850
1857
|
label: type,
|
|
1851
1858
|
icon: exportIconMapping[type]
|
|
@@ -1855,7 +1862,7 @@
|
|
|
1855
1862
|
break;
|
|
1856
1863
|
case 'shownewrow':
|
|
1857
1864
|
// Enable new row if shownew is true or addNewRow buton is present
|
|
1858
|
-
enableNewRow = nv ||
|
|
1865
|
+
enableNewRow = nv || lodashEs.some(this.actions, act => lodashEs.includes(act.action, 'addNewRow()'));
|
|
1859
1866
|
this.callDataGridMethod('option', 'actionsEnabled.new', enableNewRow);
|
|
1860
1867
|
break;
|
|
1861
1868
|
case 'pagesize':
|
|
@@ -1910,11 +1917,11 @@
|
|
|
1910
1917
|
populateActions() {
|
|
1911
1918
|
this._actions.header = [];
|
|
1912
1919
|
this._actions.footer = [];
|
|
1913
|
-
|
|
1914
|
-
if (
|
|
1920
|
+
lodashEs.forEach(this.actions, (action) => {
|
|
1921
|
+
if (lodashEs.includes(action.position, 'header')) {
|
|
1915
1922
|
this._actions.header.push(action);
|
|
1916
1923
|
}
|
|
1917
|
-
if (
|
|
1924
|
+
if (lodashEs.includes(action.position, 'footer')) {
|
|
1918
1925
|
this._actions.footer.push(action);
|
|
1919
1926
|
}
|
|
1920
1927
|
});
|
|
@@ -1983,9 +1990,9 @@
|
|
|
1983
1990
|
if (data) {
|
|
1984
1991
|
this.serverData = data;
|
|
1985
1992
|
}
|
|
1986
|
-
if (
|
|
1987
|
-
item =
|
|
1988
|
-
return
|
|
1993
|
+
if (lodashEs.isObject(item)) {
|
|
1994
|
+
item = lodashEs.omitBy(item, (value) => {
|
|
1995
|
+
return lodashEs.isArray(value) && lodashEs.isEmpty(value);
|
|
1989
1996
|
});
|
|
1990
1997
|
}
|
|
1991
1998
|
this.callDataGridMethod('selectRow', item, true);
|
|
@@ -2000,7 +2007,7 @@
|
|
|
2000
2007
|
this.checkFiltersApplied(this.getSortExpr());
|
|
2001
2008
|
if (this._isClientSearch) {
|
|
2002
2009
|
data = i2.getClonedObject(this.__fullData);
|
|
2003
|
-
if (
|
|
2010
|
+
if (lodashEs.isObject(data) && !lodashEs.isArray(data)) {
|
|
2004
2011
|
data = [data];
|
|
2005
2012
|
}
|
|
2006
2013
|
data = this.getSearchResult(data, this.filterInfo);
|
|
@@ -2016,7 +2023,7 @@
|
|
|
2016
2023
|
}
|
|
2017
2024
|
export($item) {
|
|
2018
2025
|
let filterFields;
|
|
2019
|
-
const sortOptions =
|
|
2026
|
+
const sortOptions = lodashEs.isEmpty(this.sortInfo) ? '' : this.sortInfo.field + ' ' + this.sortInfo.direction;
|
|
2020
2027
|
const columns = {};
|
|
2021
2028
|
let isValid;
|
|
2022
2029
|
let requestData;
|
|
@@ -2052,7 +2059,7 @@
|
|
|
2052
2059
|
if (isValid === false) {
|
|
2053
2060
|
return;
|
|
2054
2061
|
}
|
|
2055
|
-
requestData.fields =
|
|
2062
|
+
requestData.fields = lodashEs.values(requestData.columns);
|
|
2056
2063
|
this.datasource.execute(i2.DataSource.Operation.DOWNLOAD, { data: requestData });
|
|
2057
2064
|
}
|
|
2058
2065
|
expandRow(rowId) {
|
|
@@ -2113,14 +2120,14 @@
|
|
|
2113
2120
|
}
|
|
2114
2121
|
ngOnDetach() {
|
|
2115
2122
|
super.ngOnDetach();
|
|
2116
|
-
if (
|
|
2123
|
+
if (lodashEs.get(this.datasource, 'category') === 'wm.Variable' && this.getConfiguredState() !== 'none') {
|
|
2117
2124
|
this._pageLoad = false;
|
|
2118
2125
|
}
|
|
2119
2126
|
else {
|
|
2120
2127
|
this._pageLoad = true;
|
|
2121
2128
|
}
|
|
2122
2129
|
}
|
|
2123
|
-
static { this.ɵfac = function TableComponent_Factory(t) { return new (t || TableComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵdirectiveInject(i1__namespace.FormBuilder), i0__namespace.ɵɵdirectiveInject(i2__namespace.App), i0__namespace.ɵɵdirectiveInject(i2__namespace.DynamicComponentRefProvider), i0__namespace.ɵɵdirectiveInject(i2__namespace.StatePersistence), i0__namespace.ɵɵdirectiveInject(i2__namespace.PaginationService), i0__namespace.ɵɵdirectiveInject(i2__namespace.Viewport), i0__namespace.ɵɵdirectiveInject(i3__namespace.ListComponent, 8), i0__namespace.ɵɵinjectAttribute('dataset.bind'), i0__namespace.ɵɵinjectAttribute('datasource.bind'), i0__namespace.ɵɵinjectAttribute('readonlygrid'), i0__namespace.ɵɵdirectiveInject(i0__namespace.NgZone), i0__namespace.ɵɵdirectiveInject(i4__namespace.TrustAsPipe)); }; }
|
|
2130
|
+
static { this.ɵfac = function TableComponent_Factory(t) { return new (t || TableComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵdirectiveInject(i1__namespace.FormBuilder), i0__namespace.ɵɵdirectiveInject(i2__namespace.App), i0__namespace.ɵɵdirectiveInject(i2__namespace.DynamicComponentRefProvider), i0__namespace.ɵɵdirectiveInject(i2__namespace.StatePersistence), i0__namespace.ɵɵdirectiveInject(i2__namespace.PaginationService), i0__namespace.ɵɵdirectiveInject(i2__namespace.Viewport), i0__namespace.ɵɵdirectiveInject(i3__namespace.ListComponent, 8), i0__namespace.ɵɵinjectAttribute('dataset.bind'), i0__namespace.ɵɵinjectAttribute('datasource.bind'), i0__namespace.ɵɵinjectAttribute('readonlygrid'), i0__namespace.ɵɵdirectiveInject(i0__namespace.NgZone), i0__namespace.ɵɵdirectiveInject(i4__namespace.TrustAsPipe), i0__namespace.ɵɵdirectiveInject('EXPLICIT_CONTEXT', 8)); }; }
|
|
2124
2131
|
static { this.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: TableComponent, selectors: [["", "wmTable", ""]], contentQueries: function TableComponent_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {
|
|
2125
2132
|
i0__namespace.ɵɵcontentQuery(dirIndex, _c0$1, 5);
|
|
2126
2133
|
i0__namespace.ɵɵcontentQuery(dirIndex, _c1$1, 5);
|
|
@@ -2166,37 +2173,36 @@
|
|
|
2166
2173
|
} }, features: [i0__namespace.ɵɵProvidersFeature([
|
|
2167
2174
|
i4.provideAs(TableComponent, i1.NG_VALUE_ACCESSOR, true),
|
|
2168
2175
|
i4.provideAsWidgetRef(TableComponent)
|
|
2169
|
-
]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c16, decls: 29, vars: 4, consts: [["
|
|
2170
|
-
i0__namespace.ɵɵtemplate(0, TableComponent_div_0_Template, 8, 4, "div",
|
|
2171
|
-
i0__namespace.ɵɵelement(1, "div",
|
|
2172
|
-
i0__namespace.ɵɵelementStart(3, "div",
|
|
2173
|
-
i0__namespace.ɵɵelement(5, "nav",
|
|
2176
|
+
]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c16, decls: 29, vars: 4, consts: [["datagridElement", ""], ["buttonRef", ""], ["anchorRef", ""], ["multiColumnFilterView", ""], ["inlineEditView", ""], ["inlineEditNewView", ""], ["rowActionsView", ""], ["rowExpansionActionView", ""], ["customExprView", ""], ["dynamicTable", ""], ["rowDetailView", ""], ["class", "panel-heading", 4, "ngIf"], [1, "app-datagrid"], [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"], ["hidden", ""], [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", "ngTemplateOutletInjector", 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", "ngTemplateOutletInjector"], ["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, "click", "ngClass"], ["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, "click", "ngClass"]], template: function TableComponent_Template(rf, ctx) { if (rf & 1) {
|
|
2177
|
+
i0__namespace.ɵɵtemplate(0, TableComponent_div_0_Template, 8, 4, "div", 11);
|
|
2178
|
+
i0__namespace.ɵɵelement(1, "div", 12, 0);
|
|
2179
|
+
i0__namespace.ɵɵelementStart(3, "div", 13)(4, "div", 14);
|
|
2180
|
+
i0__namespace.ɵɵelement(5, "nav", 15);
|
|
2174
2181
|
i0__namespace.ɵɵelementEnd();
|
|
2175
|
-
i0__namespace.ɵɵtemplate(6, TableComponent_div_6_Template, 2, 1, "div",
|
|
2182
|
+
i0__namespace.ɵɵtemplate(6, TableComponent_div_6_Template, 2, 1, "div", 16);
|
|
2176
2183
|
i0__namespace.ɵɵelementEnd();
|
|
2177
|
-
i0__namespace.ɵɵtemplate(7, TableComponent_ng_template_7_Template, 1, 5, "ng-template", null,
|
|
2178
|
-
i0__namespace.ɵɵ
|
|
2179
|
-
i0__namespace.ɵɵ
|
|
2180
|
-
i0__namespace.ɵɵ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);
|
|
2184
|
+
i0__namespace.ɵɵtemplate(7, TableComponent_ng_template_7_Template, 1, 5, "ng-template", null, 1, i0__namespace.ɵɵtemplateRefExtractor)(9, TableComponent_ng_template_9_Template, 1, 4, "ng-template", null, 2, i0__namespace.ɵɵtemplateRefExtractor);
|
|
2185
|
+
i0__namespace.ɵɵelementStart(11, "div", 17);
|
|
2186
|
+
i0__namespace.ɵɵelementContainer(12, null, 3)(14, null, 4)(16, null, 5)(18, null, 6)(20, null, 7)(22, null, 8)(24, null, 9)(26, null, 10);
|
|
2181
2187
|
i0__namespace.ɵɵelement(28, "div", 18);
|
|
2182
2188
|
i0__namespace.ɵɵelementEnd();
|
|
2183
2189
|
} if (rf & 2) {
|
|
2184
2190
|
i0__namespace.ɵɵproperty("ngIf", ctx.title || ctx.subheading || ctx.iconclass || ctx.exportOptions.length || ctx._actions.header.length);
|
|
2185
2191
|
i0__namespace.ɵɵadvance(3);
|
|
2186
2192
|
i0__namespace.ɵɵproperty("hidden", !ctx._actions.footer.length && (!ctx.shownavigation || ctx.onDemandLoad && ctx.dataNavigator.isDisableNext || (ctx.dataNavigator == null ? null : ctx.dataNavigator.dataSize) <= ctx.pagesize));
|
|
2187
|
-
i0__namespace.ɵɵadvance(
|
|
2193
|
+
i0__namespace.ɵɵadvance();
|
|
2188
2194
|
i0__namespace.ɵɵ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
2195
|
i0__namespace.ɵɵadvance(2);
|
|
2190
2196
|
i0__namespace.ɵɵproperty("ngIf", ctx._actions.footer.length);
|
|
2191
2197
|
} }, dependencies: [i5__namespace.AnchorComponent, i6__namespace.BsDropdownDirective, i7__namespace.NgClass, i7__namespace.NgForOf, i7__namespace.NgIf, i7__namespace.NgTemplateOutlet, i8__namespace.ButtonComponent, i9__namespace.MenuComponent, i10__namespace.PaginationComponent], encapsulation: 2 }); }
|
|
2192
2198
|
}
|
|
2193
|
-
(
|
|
2199
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(TableComponent, [{
|
|
2194
2200
|
type: i0.Component,
|
|
2195
2201
|
args: [{ selector: '[wmTable]', providers: [
|
|
2196
2202
|
i4.provideAs(TableComponent, i1.NG_VALUE_ACCESSOR, true),
|
|
2197
2203
|
i4.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
|
-
}],
|
|
2204
|
+
], 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; let index = index;\"\n [ngTemplateOutlet]=\"btn.widgetType === 'button' ? buttonRef : anchorRef\"\n [ngTemplateOutletContext]=\"{btn:btn}\"\n [ngTemplateOutletInjector]=\"createCustomInjector('actions_header_' + index, {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; let index = index;\"\n [ngTemplateOutlet]=\"btn.widgetType === 'button' ? buttonRef : anchorRef\"\n [ngTemplateOutletContext]=\"{btn:btn}\"\n [ngTemplateOutletInjector]=\"createCustomInjector('actions_footer_' + index, {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" }]
|
|
2205
|
+
}], () => [{ type: i0__namespace.Injector }, { type: i1__namespace.FormBuilder }, { type: i2__namespace.App }, { type: i2__namespace.DynamicComponentRefProvider }, { type: i2__namespace.StatePersistence }, { type: i2__namespace.PaginationService }, { type: i2__namespace.Viewport }, { type: i3__namespace.ListComponent, decorators: [{
|
|
2200
2206
|
type: i0.Optional
|
|
2201
2207
|
}] }, { type: undefined, decorators: [{
|
|
2202
2208
|
type: i0.Attribute,
|
|
@@ -2207,7 +2213,12 @@
|
|
|
2207
2213
|
}] }, { type: undefined, decorators: [{
|
|
2208
2214
|
type: i0.Attribute,
|
|
2209
2215
|
args: ['readonlygrid']
|
|
2210
|
-
}] }, { type: i0__namespace.NgZone }, { type: i4__namespace.TrustAsPipe }
|
|
2216
|
+
}] }, { type: i0__namespace.NgZone }, { type: i4__namespace.TrustAsPipe }, { type: undefined, decorators: [{
|
|
2217
|
+
type: i0.Inject,
|
|
2218
|
+
args: ['EXPLICIT_CONTEXT']
|
|
2219
|
+
}, {
|
|
2220
|
+
type: i0.Optional
|
|
2221
|
+
}] }], { dataNavigator: [{
|
|
2211
2222
|
type: i0.ViewChild,
|
|
2212
2223
|
args: [i10.PaginationComponent, { static: true }]
|
|
2213
2224
|
}], _tableElement: [{
|
|
@@ -2262,6 +2273,7 @@
|
|
|
2262
2273
|
type: i0.HostListener,
|
|
2263
2274
|
args: ['keypress', ['$event']]
|
|
2264
2275
|
}] }); })();
|
|
2276
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassDebugInfo(TableComponent, { className: "TableComponent", filePath: "table.component.ts", lineNumber: 122 }); })();
|
|
2265
2277
|
|
|
2266
2278
|
const OPERATION = {
|
|
2267
2279
|
'NEW': 'new',
|
|
@@ -2383,23 +2395,23 @@
|
|
|
2383
2395
|
generatePath(binddataset) {
|
|
2384
2396
|
let path, index;
|
|
2385
2397
|
let dataBoundExpr = this.table.widget.$attrs.get('datasetboundexpr');
|
|
2386
|
-
if (
|
|
2387
|
-
if (
|
|
2398
|
+
if (lodashEs.startsWith(binddataset, 'item') && dataBoundExpr) {
|
|
2399
|
+
if (lodashEs.startsWith(dataBoundExpr, 'Widgets.')) {
|
|
2388
2400
|
dataBoundExpr = i2.extractCurrentItemExpr(dataBoundExpr, this.table);
|
|
2389
2401
|
}
|
|
2390
2402
|
const parentListItems = this.table.$element.parents('.app-list-item');
|
|
2391
|
-
const indexArr =
|
|
2403
|
+
const indexArr = lodashEs.map(parentListItems, (item) => lodashEs.parseInt($(item).attr('listitemindex')));
|
|
2392
2404
|
for (let i = indexArr.length - 1; i >= 0; i--) {
|
|
2393
2405
|
dataBoundExpr = dataBoundExpr.replace('$i', indexArr[i]);
|
|
2394
2406
|
}
|
|
2395
|
-
index =
|
|
2407
|
+
index = lodashEs.last(indexArr);
|
|
2396
2408
|
path = dataBoundExpr.replace(/^Variables\..*\.dataSet([^.])*(\.|$)/g, '');
|
|
2397
2409
|
}
|
|
2398
2410
|
else {
|
|
2399
2411
|
// if we have dataset as "Variables.staticVar1.dataSet[1].details" then pass index as 1.
|
|
2400
2412
|
const regEx = /^Variables\..*\.dataSet([\[][0-9]])/g;
|
|
2401
2413
|
if (regEx.test(binddataset)) {
|
|
2402
|
-
index =
|
|
2414
|
+
index = lodashEs.parseInt(binddataset.replace(/^Variables\..*\.dataSet([\[])/g, ''));
|
|
2403
2415
|
}
|
|
2404
2416
|
path = binddataset.replace(/^Variables\..*\.dataSet([^.])*(\.|$)/g, '');
|
|
2405
2417
|
}
|
|
@@ -2721,17 +2733,17 @@
|
|
|
2721
2733
|
static { this.ɵfac = function TableCUDDirective_Factory(t) { return new (t || TableCUDDirective)(i0__namespace.ɵɵdirectiveInject(TableComponent, 2), i0__namespace.ɵɵdirectiveInject(i2__namespace.AbstractDialogService), i0__namespace.ɵɵdirectiveInject(i2__namespace.App)); }; }
|
|
2722
2734
|
static { this.ɵdir = /*@__PURE__*/ i0__namespace.ɵɵdefineDirective({ type: TableCUDDirective, selectors: [["", "wmTableCUD", ""]] }); }
|
|
2723
2735
|
}
|
|
2724
|
-
(
|
|
2736
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(TableCUDDirective, [{
|
|
2725
2737
|
type: i0.Directive,
|
|
2726
2738
|
args: [{
|
|
2727
2739
|
selector: '[wmTableCUD]'
|
|
2728
2740
|
}]
|
|
2729
|
-
}],
|
|
2741
|
+
}], () => [{ type: undefined, decorators: [{
|
|
2730
2742
|
type: i0.Self
|
|
2731
2743
|
}, {
|
|
2732
2744
|
type: i0.Inject,
|
|
2733
2745
|
args: [TableComponent]
|
|
2734
|
-
}] }, { type: i2__namespace.AbstractDialogService }, { type: i2__namespace.App }]
|
|
2746
|
+
}] }, { type: i2__namespace.AbstractDialogService }, { type: i2__namespace.App }], null); })();
|
|
2735
2747
|
|
|
2736
2748
|
const emptyMatchModes = ['null', 'empty', 'nullorempty', 'isnotnull', 'isnotempty'];
|
|
2737
2749
|
// Get search value based on the time
|
|
@@ -2740,12 +2752,12 @@
|
|
|
2740
2752
|
return undefined;
|
|
2741
2753
|
}
|
|
2742
2754
|
if (i2.isNumberType(type)) {
|
|
2743
|
-
return
|
|
2755
|
+
return lodashEs.toNumber(value);
|
|
2744
2756
|
}
|
|
2745
2757
|
if (type === i2.DataType.DATETIME) {
|
|
2746
2758
|
return moment(value).valueOf();
|
|
2747
2759
|
}
|
|
2748
|
-
return
|
|
2760
|
+
return lodashEs.toString(value).toLowerCase();
|
|
2749
2761
|
};
|
|
2750
2762
|
// Filter the data based on the search value and conditions
|
|
2751
2763
|
const getFilteredData = (data, searchObj, visibleCols = []) => {
|
|
@@ -2754,26 +2766,27 @@
|
|
|
2754
2766
|
// Return whole data if
|
|
2755
2767
|
// - search value is undefined and matchmode is not an empty matchmode type
|
|
2756
2768
|
// - search value is null and datatype is number. Null can not be compared with numeric values[WMS-19275].
|
|
2757
|
-
if ((!i2.isDefined(searchVal) && !
|
|
2769
|
+
if ((!i2.isDefined(searchVal) && !lodashEs.includes(emptyMatchModes, searchObj.matchMode)) || (i2.isNumberType(searchObj.type) && lodashEs.isNull(searchObj.value))) {
|
|
2758
2770
|
return data;
|
|
2759
2771
|
}
|
|
2760
2772
|
data = data.filter((obj) => {
|
|
2761
2773
|
let isExists;
|
|
2762
2774
|
if (searchObj.field) {
|
|
2763
|
-
currentVal = getSearchValue(
|
|
2775
|
+
currentVal = getSearchValue(lodashEs.get(obj, searchObj.field), searchObj.type);
|
|
2764
2776
|
}
|
|
2765
2777
|
else {
|
|
2766
2778
|
currentVal = [];
|
|
2767
|
-
|
|
2768
|
-
if ((
|
|
2779
|
+
lodashEs.forEach(obj, (val, key) => {
|
|
2780
|
+
if ((lodashEs.includes(visibleCols, key))) {
|
|
2769
2781
|
currentVal.push(val);
|
|
2770
2782
|
}
|
|
2771
2783
|
else {
|
|
2772
2784
|
// WMS-22271 If the key is in nested key format (dot format)
|
|
2773
2785
|
// Find all the indexes of the key in visiblecols and extract their values from obj
|
|
2774
|
-
const colIndex =
|
|
2775
|
-
|
|
2776
|
-
|
|
2786
|
+
const colIndex = lodashEs.filter(lodashEs.range(visibleCols.length), (i) => visibleCols[i].includes(key));
|
|
2787
|
+
lodashEs.forEach(colIndex, (index) => {
|
|
2788
|
+
// @ts-ignore
|
|
2789
|
+
const value = lodashEs.get(obj, visibleCols[index]);
|
|
2777
2790
|
if (currentVal.indexOf(value) < 0) {
|
|
2778
2791
|
currentVal.push(value);
|
|
2779
2792
|
}
|
|
@@ -2784,31 +2797,31 @@
|
|
|
2784
2797
|
}
|
|
2785
2798
|
switch (searchObj.matchMode) {
|
|
2786
2799
|
case 'start':
|
|
2787
|
-
isExists =
|
|
2800
|
+
isExists = lodashEs.startsWith(currentVal, searchVal);
|
|
2788
2801
|
break;
|
|
2789
2802
|
case 'end':
|
|
2790
|
-
isExists =
|
|
2803
|
+
isExists = lodashEs.endsWith(currentVal, searchVal);
|
|
2791
2804
|
break;
|
|
2792
2805
|
case 'exact':
|
|
2793
|
-
isExists =
|
|
2806
|
+
isExists = lodashEs.isEqual(currentVal, searchVal);
|
|
2794
2807
|
break;
|
|
2795
2808
|
case 'notequals':
|
|
2796
|
-
isExists = !
|
|
2809
|
+
isExists = !lodashEs.isEqual(currentVal, searchVal);
|
|
2797
2810
|
break;
|
|
2798
2811
|
case 'null':
|
|
2799
|
-
isExists =
|
|
2812
|
+
isExists = lodashEs.isNull(currentVal);
|
|
2800
2813
|
break;
|
|
2801
2814
|
case 'isnotnull':
|
|
2802
|
-
isExists = !
|
|
2815
|
+
isExists = !lodashEs.isNull(currentVal);
|
|
2803
2816
|
break;
|
|
2804
2817
|
case 'empty':
|
|
2805
|
-
isExists =
|
|
2818
|
+
isExists = lodashEs.isEmpty(currentVal);
|
|
2806
2819
|
break;
|
|
2807
2820
|
case 'isnotempty':
|
|
2808
|
-
isExists = !
|
|
2821
|
+
isExists = !lodashEs.isEmpty(currentVal);
|
|
2809
2822
|
break;
|
|
2810
2823
|
case 'nullorempty':
|
|
2811
|
-
isExists =
|
|
2824
|
+
isExists = lodashEs.isNull(currentVal) || lodashEs.isEmpty(currentVal);
|
|
2812
2825
|
break;
|
|
2813
2826
|
case 'lessthan':
|
|
2814
2827
|
isExists = currentVal < searchVal;
|
|
@@ -2823,7 +2836,7 @@
|
|
|
2823
2836
|
isExists = currentVal >= searchVal;
|
|
2824
2837
|
break;
|
|
2825
2838
|
default:
|
|
2826
|
-
isExists = i2.isNumberType(searchObj.type) ?
|
|
2839
|
+
isExists = i2.isNumberType(searchObj.type) ? lodashEs.isEqual(currentVal, searchVal) : lodashEs.includes(currentVal, searchVal);
|
|
2827
2840
|
break;
|
|
2828
2841
|
}
|
|
2829
2842
|
return isExists;
|
|
@@ -2908,13 +2921,13 @@
|
|
|
2908
2921
|
// Get first or last page based on sort info of primary key
|
|
2909
2922
|
getNavigationTargetBySortInfo() {
|
|
2910
2923
|
return this.table.sortInfo && this.table.sortInfo.direction === 'desc' &&
|
|
2911
|
-
|
|
2924
|
+
lodashEs.includes(this.table.primaryKey, this.table.sortInfo.field) ? 'first' : 'last';
|
|
2912
2925
|
}
|
|
2913
2926
|
// Returns all the columns of the table wherein, showinfilter is set to true
|
|
2914
2927
|
getTableVisibleCols() {
|
|
2915
2928
|
const visibleCols = [];
|
|
2916
|
-
|
|
2917
|
-
if (
|
|
2929
|
+
lodashEs.forEach(this.table.columns, (val, col) => {
|
|
2930
|
+
if (lodashEs.toLower(lodashEs.toString(val.showinfilter)) === 'true' && col !== 'rowOperations' && val.searchable) {
|
|
2918
2931
|
visibleCols.push(col);
|
|
2919
2932
|
}
|
|
2920
2933
|
});
|
|
@@ -2925,7 +2938,7 @@
|
|
|
2925
2938
|
if (searchObj.field) {
|
|
2926
2939
|
setFilterFields(filterFields, searchObj);
|
|
2927
2940
|
}
|
|
2928
|
-
else if (!
|
|
2941
|
+
else if (!lodashEs.isEmpty(searchObj)) {
|
|
2929
2942
|
const visibleCols = this.getTableVisibleCols();
|
|
2930
2943
|
setFilterFields(filterFields, searchObj, visibleCols);
|
|
2931
2944
|
}
|
|
@@ -2934,8 +2947,8 @@
|
|
|
2934
2947
|
getFilterFields(searchObj) {
|
|
2935
2948
|
searchObj = searchObj || {};
|
|
2936
2949
|
const filterFields = {};
|
|
2937
|
-
if (
|
|
2938
|
-
|
|
2950
|
+
if (lodashEs.isArray(searchObj)) {
|
|
2951
|
+
lodashEs.forEach(searchObj, obj => {
|
|
2939
2952
|
this.invokeSetFilterfieldBasedOnFieldval(obj, filterFields);
|
|
2940
2953
|
});
|
|
2941
2954
|
}
|
|
@@ -2956,11 +2969,11 @@
|
|
|
2956
2969
|
// Reset the sort based on sort returned by the call
|
|
2957
2970
|
resetSortStatus(variableSort) {
|
|
2958
2971
|
let gridSortString;
|
|
2959
|
-
if (!
|
|
2972
|
+
if (!lodashEs.isEmpty(this.table.sortInfo) && this.table.datasource) {
|
|
2960
2973
|
gridSortString = this.table.sortInfo.field + ' ' + this.table.sortInfo.direction;
|
|
2961
2974
|
variableSort = this.table.datasource.execute(i2.DataSource.Operation.GET_OPTIONS).orderBy || variableSort;
|
|
2962
2975
|
if (variableSort) { // If multiple order by fields are present, compare with the first one
|
|
2963
|
-
variableSort =
|
|
2976
|
+
variableSort = lodashEs.head(lodashEs.split(variableSort, ','));
|
|
2964
2977
|
}
|
|
2965
2978
|
if (gridSortString !== variableSort) {
|
|
2966
2979
|
this.table.callDataGridMethod('resetSortIcons');
|
|
@@ -2998,7 +3011,7 @@
|
|
|
2998
3011
|
return;
|
|
2999
3012
|
}
|
|
3000
3013
|
if (this.table.datasource.execute(i2.DataSource.Operation.SUPPORTS_SERVER_FILTER)) {
|
|
3001
|
-
if (
|
|
3014
|
+
if (lodashEs.isEmpty(this.table.datasource.execute(i2.DataSource.Operation.GET_OPTIONS).filterFields)) {
|
|
3002
3015
|
this.clearFilter(true);
|
|
3003
3016
|
}
|
|
3004
3017
|
this.resetSortStatus(variableSort);
|
|
@@ -3014,7 +3027,7 @@
|
|
|
3014
3027
|
if (!searchObj) {
|
|
3015
3028
|
return data;
|
|
3016
3029
|
}
|
|
3017
|
-
if (
|
|
3030
|
+
if (lodashEs.isArray(searchObj)) {
|
|
3018
3031
|
searchObj.forEach((obj) => {
|
|
3019
3032
|
data = getFilteredData(data, obj, visibleCols);
|
|
3020
3033
|
});
|
|
@@ -3027,7 +3040,7 @@
|
|
|
3027
3040
|
// Returns data sorted using sortObj
|
|
3028
3041
|
getSortResult(data, sortObj) {
|
|
3029
3042
|
if (sortObj && sortObj.direction) {
|
|
3030
|
-
data =
|
|
3043
|
+
data = lodashEs.orderBy(data, sortObj.field, sortObj.direction);
|
|
3031
3044
|
}
|
|
3032
3045
|
return data;
|
|
3033
3046
|
}
|
|
@@ -3042,7 +3055,7 @@
|
|
|
3042
3055
|
else {
|
|
3043
3056
|
this.table.sortInfo = searchSortObj;
|
|
3044
3057
|
}
|
|
3045
|
-
if (
|
|
3058
|
+
if (lodashEs.isObject(data) && !lodashEs.isArray(data)) {
|
|
3046
3059
|
data = [data];
|
|
3047
3060
|
}
|
|
3048
3061
|
/*Both the functions return same 'data' if arguments are undefined*/
|
|
@@ -3074,9 +3087,9 @@
|
|
|
3074
3087
|
this.table.filterInfo = searchObj;
|
|
3075
3088
|
data = this.getSearchResult(data, searchObj);
|
|
3076
3089
|
// Compared the filtered data and original data, to show or hide the rows
|
|
3077
|
-
|
|
3090
|
+
lodashEs.forEach(this.table.gridData, (value, index) => {
|
|
3078
3091
|
const $row = $($rows[index]);
|
|
3079
|
-
if (
|
|
3092
|
+
if (lodashEs.find(data, obj => lodashEs.isEqual(obj, value))) {
|
|
3080
3093
|
$row.show();
|
|
3081
3094
|
}
|
|
3082
3095
|
else {
|
|
@@ -3147,7 +3160,7 @@
|
|
|
3147
3160
|
}
|
|
3148
3161
|
searchHandler(searchSortObj, e, type, statePersistenceTriggered) {
|
|
3149
3162
|
let obj;
|
|
3150
|
-
if (
|
|
3163
|
+
if (lodashEs.isArray(searchSortObj)) {
|
|
3151
3164
|
obj = searchSortObj.filter(function (searchObject) {
|
|
3152
3165
|
return (searchObject.matchMode !== undefined && searchObject.value !== undefined) || (searchObject.value !== undefined && searchObject.field === '');
|
|
3153
3166
|
});
|
|
@@ -3156,7 +3169,7 @@
|
|
|
3156
3169
|
obj = { field: searchSortObj.field, value: searchSortObj.value, type: searchSortObj.type };
|
|
3157
3170
|
}
|
|
3158
3171
|
if (this.table.getConfiguredState() !== 'none' && i4.unsupportedStatePersistenceTypes.indexOf(this.table.navigation) < 0) {
|
|
3159
|
-
if ((
|
|
3172
|
+
if ((lodashEs.isArray(searchSortObj) && obj.length) || (searchSortObj.value)) {
|
|
3160
3173
|
this.table.statePersistence.removeWidgetState(this.table, 'search');
|
|
3161
3174
|
this.table.statePersistence.setWidgetState(this.table, { search: obj });
|
|
3162
3175
|
}
|
|
@@ -3179,7 +3192,7 @@
|
|
|
3179
3192
|
let output;
|
|
3180
3193
|
const userFilters = {};
|
|
3181
3194
|
// Transform filter fields from array to object having field names as keys
|
|
3182
|
-
if (
|
|
3195
|
+
if (lodashEs.isArray(filterFields)) {
|
|
3183
3196
|
filterFields.forEach(filterField => {
|
|
3184
3197
|
transformFilterField(userFilters, filterField);
|
|
3185
3198
|
});
|
|
@@ -3194,9 +3207,9 @@
|
|
|
3194
3207
|
}
|
|
3195
3208
|
filterFields = [];
|
|
3196
3209
|
// if the field is not selected in search filter dropdown, building the filter fields object
|
|
3197
|
-
if (
|
|
3198
|
-
if (
|
|
3199
|
-
|
|
3210
|
+
if (lodashEs.isEmpty(userFilters) && !lodashEs.isEmpty(obj)) {
|
|
3211
|
+
if (lodashEs.isArray(obj)) {
|
|
3212
|
+
lodashEs.forEach(obj, searchObj => {
|
|
3200
3213
|
addToFilterFields(filterFields, searchObj);
|
|
3201
3214
|
});
|
|
3202
3215
|
}
|
|
@@ -3206,13 +3219,9 @@
|
|
|
3206
3219
|
}
|
|
3207
3220
|
else {
|
|
3208
3221
|
// Transform back the filter fields from object to array
|
|
3209
|
-
|
|
3210
|
-
|
|
3211
|
-
|
|
3212
|
-
matchMode: val.matchMode,
|
|
3213
|
-
type: val.type,
|
|
3214
|
-
value: val.value
|
|
3215
|
-
});
|
|
3222
|
+
lodashEs.forEach(userFilters, (val, key) => {
|
|
3223
|
+
// @ts-ignore
|
|
3224
|
+
filterFields.push({ field: key, matchMode: val.matchMode, type: val.type, value: val.value });
|
|
3216
3225
|
});
|
|
3217
3226
|
}
|
|
3218
3227
|
if (dataSource && dataSource.execute(i2.DataSource.Operation.SUPPORTS_SERVER_FILTER)) {
|
|
@@ -3290,7 +3299,7 @@
|
|
|
3290
3299
|
this.table.rowFilter[fieldName] = this.table.rowFilter[fieldName] || {};
|
|
3291
3300
|
this.table.rowFilter[fieldName].matchMode = condition;
|
|
3292
3301
|
// For empty match modes, clear off the value and call filter
|
|
3293
|
-
if (
|
|
3302
|
+
if (lodashEs.includes(this.table.emptyMatchModes, condition)) {
|
|
3294
3303
|
this.table.columns[fieldName].resetFilter();
|
|
3295
3304
|
this.table.onRowFilterChange();
|
|
3296
3305
|
}
|
|
@@ -3313,10 +3322,10 @@
|
|
|
3313
3322
|
}
|
|
3314
3323
|
const fieldName = filterDef.field;
|
|
3315
3324
|
const formFields = this.table.fullFieldDefs;
|
|
3316
|
-
const filterOnFields =
|
|
3317
|
-
const newVal =
|
|
3325
|
+
const filterOnFields = lodashEs.filter(formFields, { 'filteronfilter': fieldName });
|
|
3326
|
+
const newVal = lodashEs.get(this.table.rowFilter, [fieldName, 'value']);
|
|
3318
3327
|
// Loop over the fields for which the current field is filter on field
|
|
3319
|
-
|
|
3328
|
+
lodashEs.forEach(filterOnFields, filterField => {
|
|
3320
3329
|
const filterOn = filterField.filteronfilter;
|
|
3321
3330
|
const filterKey = filterField.field;
|
|
3322
3331
|
const filterFields = {};
|
|
@@ -3341,13 +3350,13 @@
|
|
|
3341
3350
|
// This method is triggered on value change in multi column filter
|
|
3342
3351
|
onRowFilterChange(fieldName) {
|
|
3343
3352
|
const searchObj = [];
|
|
3344
|
-
const field =
|
|
3353
|
+
const field = lodashEs.find(this.table.fullFieldDefs, { 'field': fieldName });
|
|
3345
3354
|
// Convert row filters to a search object and call search handler
|
|
3346
|
-
|
|
3347
|
-
if ((i2.isDefined(value.value) && value.value !== '') ||
|
|
3355
|
+
lodashEs.forEach(this.table.rowFilter, (value, key) => {
|
|
3356
|
+
if ((i2.isDefined(value.value) && value.value !== '') || lodashEs.includes(this.table.emptyMatchModes, value.matchMode)) {
|
|
3348
3357
|
if (field && key === field.field) {
|
|
3349
3358
|
value.type = value.type || field.type;
|
|
3350
|
-
value.matchMode = value.matchMode ||
|
|
3359
|
+
value.matchMode = value.matchMode || lodashEs.get(this.table.matchModeTypesMap[value.type], 0);
|
|
3351
3360
|
}
|
|
3352
3361
|
searchObj.push({
|
|
3353
3362
|
field: key,
|
|
@@ -3382,17 +3391,17 @@
|
|
|
3382
3391
|
static { this.ɵfac = function TableFilterSortDirective_Factory(t) { return new (t || TableFilterSortDirective)(i0__namespace.ɵɵdirectiveInject(TableComponent, 2)); }; }
|
|
3383
3392
|
static { this.ɵdir = /*@__PURE__*/ i0__namespace.ɵɵdefineDirective({ type: TableFilterSortDirective, selectors: [["", "wmTableFilterSort", ""]] }); }
|
|
3384
3393
|
}
|
|
3385
|
-
(
|
|
3394
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(TableFilterSortDirective, [{
|
|
3386
3395
|
type: i0.Directive,
|
|
3387
3396
|
args: [{
|
|
3388
3397
|
selector: '[wmTableFilterSort]'
|
|
3389
3398
|
}]
|
|
3390
|
-
}],
|
|
3399
|
+
}], () => [{ type: undefined, decorators: [{
|
|
3391
3400
|
type: i0.Self
|
|
3392
3401
|
}, {
|
|
3393
3402
|
type: i0.Inject,
|
|
3394
3403
|
args: [TableComponent]
|
|
3395
|
-
}] }]
|
|
3404
|
+
}] }], null); })();
|
|
3396
3405
|
|
|
3397
3406
|
const registerProps$4 = () => {
|
|
3398
3407
|
i4.register('wm-table-action', new Map([
|
|
@@ -3421,8 +3430,8 @@
|
|
|
3421
3430
|
const WIDGET_CONFIG$4 = { widgetType: 'wm-table-action', hostClass: '' };
|
|
3422
3431
|
class TableActionDirective extends i4.BaseComponent {
|
|
3423
3432
|
static { this.initializeProps = registerProps$4(); }
|
|
3424
|
-
constructor(inj, table) {
|
|
3425
|
-
super(inj, WIDGET_CONFIG$4);
|
|
3433
|
+
constructor(inj, table, explicitContext) {
|
|
3434
|
+
super(inj, WIDGET_CONFIG$4, explicitContext);
|
|
3426
3435
|
this.table = table;
|
|
3427
3436
|
}
|
|
3428
3437
|
populateAction() {
|
|
@@ -3432,7 +3441,7 @@
|
|
|
3432
3441
|
show: this.show,
|
|
3433
3442
|
class: this.class || '',
|
|
3434
3443
|
iconclass: this.iconclass || '',
|
|
3435
|
-
title:
|
|
3444
|
+
title: lodashEs.isUndefined(this.title) ? (this['display-name'] || '') : this.title,
|
|
3436
3445
|
action: this.action,
|
|
3437
3446
|
accessroles: this.accessroles,
|
|
3438
3447
|
shortcutkey: this.shortcutkey,
|
|
@@ -3464,12 +3473,12 @@
|
|
|
3464
3473
|
this.buttonDef[key] = nv;
|
|
3465
3474
|
}
|
|
3466
3475
|
}
|
|
3467
|
-
static { this.ɵfac = function TableActionDirective_Factory(t) { return new (t || TableActionDirective)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵdirectiveInject(TableComponent, 8)); }; }
|
|
3476
|
+
static { this.ɵfac = function TableActionDirective_Factory(t) { return new (t || TableActionDirective)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵdirectiveInject(TableComponent, 8), i0__namespace.ɵɵdirectiveInject('EXPLICIT_CONTEXT', 8)); }; }
|
|
3468
3477
|
static { this.ɵdir = /*@__PURE__*/ i0__namespace.ɵɵdefineDirective({ type: TableActionDirective, selectors: [["", "wmTableAction", ""]], features: [i0__namespace.ɵɵProvidersFeature([
|
|
3469
3478
|
i4.provideAsWidgetRef(TableActionDirective)
|
|
3470
3479
|
]), i0__namespace.ɵɵInheritDefinitionFeature] }); }
|
|
3471
3480
|
}
|
|
3472
|
-
(
|
|
3481
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(TableActionDirective, [{
|
|
3473
3482
|
type: i0.Directive,
|
|
3474
3483
|
args: [{
|
|
3475
3484
|
selector: '[wmTableAction]',
|
|
@@ -3477,9 +3486,14 @@
|
|
|
3477
3486
|
i4.provideAsWidgetRef(TableActionDirective)
|
|
3478
3487
|
]
|
|
3479
3488
|
}]
|
|
3480
|
-
}],
|
|
3489
|
+
}], () => [{ type: i0__namespace.Injector }, { type: TableComponent, decorators: [{
|
|
3481
3490
|
type: i0.Optional
|
|
3482
|
-
}] }
|
|
3491
|
+
}] }, { type: undefined, decorators: [{
|
|
3492
|
+
type: i0.Inject,
|
|
3493
|
+
args: ['EXPLICIT_CONTEXT']
|
|
3494
|
+
}, {
|
|
3495
|
+
type: i0.Optional
|
|
3496
|
+
}] }], null); })();
|
|
3483
3497
|
|
|
3484
3498
|
const registerProps$3 = () => {
|
|
3485
3499
|
i4.register('wm-table-column', new Map([
|
|
@@ -3493,7 +3507,7 @@
|
|
|
3493
3507
|
['collapsible', i4.PROP_BOOLEAN],
|
|
3494
3508
|
['col-ng-class', i4.PROP_STRING],
|
|
3495
3509
|
['currencypattern', i4.PROP_STRING],
|
|
3496
|
-
['customExpression', i4.PROP_BOOLEAN],
|
|
3510
|
+
['customExpression', i4.PROP_BOOLEAN], // Internal property to check if column has custom expression
|
|
3497
3511
|
['dataentrymode', { value: 'default', ...i4.PROP_STRING }],
|
|
3498
3512
|
['datafield', i4.PROP_STRING],
|
|
3499
3513
|
['dataoptions', i4.PROP_ANY],
|
|
@@ -3584,8 +3598,8 @@
|
|
|
3584
3598
|
const WIDGET_CONFIG$3 = { widgetType: 'wm-table-column-group', hostClass: '' };
|
|
3585
3599
|
class TableColumnGroupDirective extends i4.BaseComponent {
|
|
3586
3600
|
static { this.initializeProps = registerProps$2(); }
|
|
3587
|
-
constructor(inj, group, table) {
|
|
3588
|
-
super(inj, WIDGET_CONFIG$3);
|
|
3601
|
+
constructor(inj, group, table, explicitContext) {
|
|
3602
|
+
super(inj, WIDGET_CONFIG$3, explicitContext);
|
|
3589
3603
|
this.group = group;
|
|
3590
3604
|
this.table = table;
|
|
3591
3605
|
this.config = {};
|
|
@@ -3620,12 +3634,12 @@
|
|
|
3620
3634
|
const fieldName = this.group && this.group.name;
|
|
3621
3635
|
i4.setHeaderConfigForTable(this.table.headerConfig, this.config, fieldName, fieldName ? colIndex : headerIndex);
|
|
3622
3636
|
}
|
|
3623
|
-
static { this.ɵfac = function TableColumnGroupDirective_Factory(t) { return new (t || TableColumnGroupDirective)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵdirectiveInject(TableColumnGroupDirective, 12), i0__namespace.ɵɵdirectiveInject(TableComponent, 8)); }; }
|
|
3637
|
+
static { this.ɵfac = function TableColumnGroupDirective_Factory(t) { return new (t || TableColumnGroupDirective)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵdirectiveInject(TableColumnGroupDirective, 12), i0__namespace.ɵɵdirectiveInject(TableComponent, 8), i0__namespace.ɵɵdirectiveInject('EXPLICIT_CONTEXT', 8)); }; }
|
|
3624
3638
|
static { this.ɵdir = /*@__PURE__*/ i0__namespace.ɵɵdefineDirective({ type: TableColumnGroupDirective, selectors: [["", "wmTableColumnGroup", ""]], features: [i0__namespace.ɵɵProvidersFeature([
|
|
3625
3639
|
i4.provideAsWidgetRef(TableColumnGroupDirective)
|
|
3626
3640
|
]), i0__namespace.ɵɵInheritDefinitionFeature] }); }
|
|
3627
3641
|
}
|
|
3628
|
-
(
|
|
3642
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(TableColumnGroupDirective, [{
|
|
3629
3643
|
type: i0.Directive,
|
|
3630
3644
|
args: [{
|
|
3631
3645
|
selector: '[wmTableColumnGroup]',
|
|
@@ -3633,13 +3647,18 @@
|
|
|
3633
3647
|
i4.provideAsWidgetRef(TableColumnGroupDirective)
|
|
3634
3648
|
]
|
|
3635
3649
|
}]
|
|
3636
|
-
}],
|
|
3650
|
+
}], () => [{ type: i0__namespace.Injector }, { type: TableColumnGroupDirective, decorators: [{
|
|
3637
3651
|
type: i0.SkipSelf
|
|
3638
3652
|
}, {
|
|
3639
3653
|
type: i0.Optional
|
|
3640
3654
|
}] }, { type: TableComponent, decorators: [{
|
|
3641
3655
|
type: i0.Optional
|
|
3642
|
-
}] }
|
|
3656
|
+
}] }, { type: undefined, decorators: [{
|
|
3657
|
+
type: i0.Inject,
|
|
3658
|
+
args: ['EXPLICIT_CONTEXT']
|
|
3659
|
+
}, {
|
|
3660
|
+
type: i0.Optional
|
|
3661
|
+
}] }], null); })();
|
|
3643
3662
|
|
|
3644
3663
|
const _c0 = ["customExprTmpl"];
|
|
3645
3664
|
const _c1 = ["inlineWidgetTmpl"];
|
|
@@ -3672,8 +3691,8 @@
|
|
|
3672
3691
|
}
|
|
3673
3692
|
class TableColumnDirective extends i4.BaseComponent {
|
|
3674
3693
|
static { this.initializeProps = registerProps$3(); }
|
|
3675
|
-
constructor(inj, appDefaults, table, group, bindfilterdataset, binddataset) {
|
|
3676
|
-
super(inj, WIDGET_CONFIG$2);
|
|
3694
|
+
constructor(inj, appDefaults, table, group, bindfilterdataset, binddataset, explicitContext) {
|
|
3695
|
+
super(inj, WIDGET_CONFIG$2, explicitContext);
|
|
3677
3696
|
this.appDefaults = appDefaults;
|
|
3678
3697
|
this.table = table;
|
|
3679
3698
|
this.group = group;
|
|
@@ -3684,22 +3703,22 @@
|
|
|
3684
3703
|
this.observeOnFields = [];
|
|
3685
3704
|
this.aggregate = {
|
|
3686
3705
|
sum: () => {
|
|
3687
|
-
return
|
|
3706
|
+
return lodashEs.sum(this._getColumnData());
|
|
3688
3707
|
},
|
|
3689
3708
|
average: (precision = 2) => {
|
|
3690
|
-
return
|
|
3709
|
+
return lodashEs.round(lodashEs.mean(this._getColumnData()), precision);
|
|
3691
3710
|
},
|
|
3692
3711
|
count: () => {
|
|
3693
3712
|
return this._getColumnData().length;
|
|
3694
3713
|
},
|
|
3695
3714
|
minimum: () => {
|
|
3696
|
-
return
|
|
3715
|
+
return lodashEs.min(this._getColumnData());
|
|
3697
3716
|
},
|
|
3698
3717
|
maximum: () => {
|
|
3699
|
-
return
|
|
3718
|
+
return lodashEs.max(this._getColumnData());
|
|
3700
3719
|
},
|
|
3701
3720
|
percent: (value, precision = 2) => {
|
|
3702
|
-
return
|
|
3721
|
+
return lodashEs.round((lodashEs.sum(this._getColumnData()) / value) * 100, precision);
|
|
3703
3722
|
}
|
|
3704
3723
|
};
|
|
3705
3724
|
this.notifyForFields = [];
|
|
@@ -3956,7 +3975,7 @@
|
|
|
3956
3975
|
if (this.relatedEntityName) {
|
|
3957
3976
|
this.widget['is-related'] = true;
|
|
3958
3977
|
this.widget['lookup-type'] = this.relatedEntityName;
|
|
3959
|
-
this.widget['lookup-field'] =
|
|
3978
|
+
this.widget['lookup-field'] = lodashEs.last(lodashEs.split(this.field, '.'));
|
|
3960
3979
|
}
|
|
3961
3980
|
if (this.filterwidget === i2.FormWidgetType.AUTOCOMPLETE) {
|
|
3962
3981
|
this.filterInstance.dataoptions = i4.getDistinctFieldProperties(this.table.datasource, this);
|
|
@@ -3983,11 +4002,11 @@
|
|
|
3983
4002
|
if (this['related-entity-name'] && this['primary-key']) {
|
|
3984
4003
|
// Fetch the data for the related fields
|
|
3985
4004
|
this.isDataSetBound = true;
|
|
3986
|
-
const bindings =
|
|
4005
|
+
const bindings = lodashEs.split(this.binding, '.');
|
|
3987
4006
|
this.showPendingSpinner = true;
|
|
3988
4007
|
i4.fetchRelatedFieldData(dataSource, this.widget, {
|
|
3989
|
-
relatedField:
|
|
3990
|
-
datafield:
|
|
4008
|
+
relatedField: lodashEs.head(bindings),
|
|
4009
|
+
datafield: lodashEs.last(bindings),
|
|
3991
4010
|
widget: 'edit-widget-type'
|
|
3992
4011
|
});
|
|
3993
4012
|
}
|
|
@@ -4016,7 +4035,7 @@
|
|
|
4016
4035
|
this.filterInstance.registerReadyStateListener(() => {
|
|
4017
4036
|
if (i4.isDataSetWidget(this.filterwidget)) {
|
|
4018
4037
|
// if binding is department.deptId then field will be deptId
|
|
4019
|
-
const field =
|
|
4038
|
+
const field = lodashEs.last(this.binding.split('.'));
|
|
4020
4039
|
this.filterInstance.dataset = this._filterDataSet;
|
|
4021
4040
|
this.filterInstance.datafield = this.filterdatafield || field;
|
|
4022
4041
|
this.filterInstance.displayfield = this.filterdisplayfield || field;
|
|
@@ -4033,7 +4052,7 @@
|
|
|
4033
4052
|
}
|
|
4034
4053
|
// Notifies all the dependent validation controls incase of any changes
|
|
4035
4054
|
notifyChanges(quickEdit) {
|
|
4036
|
-
|
|
4055
|
+
lodashEs.forEach(this.notifyForFields, field => {
|
|
4037
4056
|
if (quickEdit && this._isNewEditableRow) {
|
|
4038
4057
|
field.fieldValidations_new.validate();
|
|
4039
4058
|
}
|
|
@@ -4044,7 +4063,7 @@
|
|
|
4044
4063
|
}
|
|
4045
4064
|
// Watches control for dependent validation changes
|
|
4046
4065
|
observeOn(fields) {
|
|
4047
|
-
this.observeOnFields =
|
|
4066
|
+
this.observeOnFields = lodashEs.cloneDeep(fields);
|
|
4048
4067
|
}
|
|
4049
4068
|
// Sets the default validators inline and quickedit new row using props
|
|
4050
4069
|
setUpValidators() {
|
|
@@ -4055,11 +4074,11 @@
|
|
|
4055
4074
|
}
|
|
4056
4075
|
// Sets the Async validators on the inline and quickedit new row form control
|
|
4057
4076
|
setAsyncValidators(validators) {
|
|
4058
|
-
this.asyncValidators =
|
|
4077
|
+
this.asyncValidators = lodashEs.cloneDeep(validators);
|
|
4059
4078
|
}
|
|
4060
4079
|
// Sets the default/custom validators on the inline and quickedit new row form control
|
|
4061
4080
|
setValidators(validators) {
|
|
4062
|
-
this.syncValidators =
|
|
4081
|
+
this.syncValidators = lodashEs.cloneDeep(validators);
|
|
4063
4082
|
}
|
|
4064
4083
|
boundFn(fn) {
|
|
4065
4084
|
return fn();
|
|
@@ -4074,7 +4093,7 @@
|
|
|
4074
4093
|
this._invokeSummaryRowData(newData);
|
|
4075
4094
|
}
|
|
4076
4095
|
_invokeSummaryRowData(data) {
|
|
4077
|
-
|
|
4096
|
+
lodashEs.forEach(data, (item, index) => {
|
|
4078
4097
|
const content = item;
|
|
4079
4098
|
if (content instanceof Promise) {
|
|
4080
4099
|
content.then(res => {
|
|
@@ -4092,7 +4111,7 @@
|
|
|
4092
4111
|
});
|
|
4093
4112
|
}
|
|
4094
4113
|
_getColumnData() {
|
|
4095
|
-
return
|
|
4114
|
+
return lodashEs.map(this.table.dataset, this.binding);
|
|
4096
4115
|
}
|
|
4097
4116
|
/* Summary Row Logic end */
|
|
4098
4117
|
// Set the props on the inline edit widget
|
|
@@ -4142,7 +4161,7 @@
|
|
|
4142
4161
|
this.limit = this.limit ? +this.limit : undefined;
|
|
4143
4162
|
this.editWidgetType = this['edit-widget-type'] = this['edit-widget-type'] || i4.getEditModeWidget(this);
|
|
4144
4163
|
this.filterOn = this['filter-on'];
|
|
4145
|
-
this.readonly = i2.isDefined(this.getAttr('readonly')) ? this.getAttr('readonly') === 'true' : (this['related-entity-name'] ? !this['primary-key'] :
|
|
4164
|
+
this.readonly = i2.isDefined(this.getAttr('readonly')) ? this.getAttr('readonly') === 'true' : (this['related-entity-name'] ? !this['primary-key'] : lodashEs.includes(['identity', 'uniqueid', 'sequence'], this.generator));
|
|
4146
4165
|
this.filterwidget = this.filterwidget || i4.getDataTableFilterWidget(this.type || 'string');
|
|
4147
4166
|
this.isFilterDataSetBound = !!this.bindfilterdataset;
|
|
4148
4167
|
this.defaultvalue = i4.getDefaultValue(this.defaultvalue, this.type, this.editWidgetType);
|
|
@@ -4168,6 +4187,15 @@
|
|
|
4168
4187
|
case 'caption':
|
|
4169
4188
|
this.displayName = nv || '';
|
|
4170
4189
|
this.setProperty('displayName', this.displayName);
|
|
4190
|
+
// Fix for [WMS-25934]: update the headerConfig list when there is change in display name
|
|
4191
|
+
// when column is inside a group then consider the col index and not header index.
|
|
4192
|
+
const fieldName = this.group && this.group.name;
|
|
4193
|
+
const index = fieldName ? parseInt(this.getAttr('index'), 10) : parseInt(this.getAttr('headerIndex'), 10);
|
|
4194
|
+
// Register column with header config to create group structure
|
|
4195
|
+
i4.setHeaderConfigForTable(this.table.headerConfig, {
|
|
4196
|
+
field: this.field,
|
|
4197
|
+
displayName: this.displayName
|
|
4198
|
+
}, fieldName, index);
|
|
4171
4199
|
break;
|
|
4172
4200
|
case 'defaultvalue':
|
|
4173
4201
|
this.defaultvalue = i4.getDefaultValue(this.defaultvalue, this.type, this.editWidgetType);
|
|
@@ -4206,7 +4234,7 @@
|
|
|
4206
4234
|
this.table.redraw(true);
|
|
4207
4235
|
}
|
|
4208
4236
|
}
|
|
4209
|
-
static { this.ɵfac = function TableColumnDirective_Factory(t) { return new (t || TableColumnDirective)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵdirectiveInject(i2__namespace.AppDefaults), i0__namespace.ɵɵdirectiveInject(TableComponent, 8), i0__namespace.ɵɵdirectiveInject(TableColumnGroupDirective, 8), i0__namespace.ɵɵinjectAttribute('filterdataset.bind'), i0__namespace.ɵɵinjectAttribute('dataset.bind')); }; }
|
|
4237
|
+
static { this.ɵfac = function TableColumnDirective_Factory(t) { return new (t || TableColumnDirective)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵdirectiveInject(i2__namespace.AppDefaults), i0__namespace.ɵɵdirectiveInject(TableComponent, 8), i0__namespace.ɵɵdirectiveInject(TableColumnGroupDirective, 8), i0__namespace.ɵɵinjectAttribute('filterdataset.bind'), i0__namespace.ɵɵinjectAttribute('dataset.bind'), i0__namespace.ɵɵdirectiveInject('EXPLICIT_CONTEXT', 8)); }; }
|
|
4210
4238
|
static { this.ɵdir = /*@__PURE__*/ i0__namespace.ɵɵdefineDirective({ type: TableColumnDirective, selectors: [["", "wmTableColumn", ""]], contentQueries: function TableColumnDirective_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {
|
|
4211
4239
|
i0__namespace.ɵɵcontentQuery(dirIndex, _c0, 5);
|
|
4212
4240
|
i0__namespace.ɵɵcontentQuery(dirIndex, _c1, 5);
|
|
@@ -4226,7 +4254,7 @@
|
|
|
4226
4254
|
i4.provideAsWidgetRef(TableColumnDirective)
|
|
4227
4255
|
]), i0__namespace.ɵɵInheritDefinitionFeature] }); }
|
|
4228
4256
|
}
|
|
4229
|
-
(
|
|
4257
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(TableColumnDirective, [{
|
|
4230
4258
|
type: i0.Directive,
|
|
4231
4259
|
args: [{
|
|
4232
4260
|
selector: '[wmTableColumn]',
|
|
@@ -4234,7 +4262,7 @@
|
|
|
4234
4262
|
i4.provideAsWidgetRef(TableColumnDirective)
|
|
4235
4263
|
]
|
|
4236
4264
|
}]
|
|
4237
|
-
}],
|
|
4265
|
+
}], () => [{ type: i0__namespace.Injector }, { type: i2__namespace.AppDefaults }, { type: TableComponent, decorators: [{
|
|
4238
4266
|
type: i0.Optional
|
|
4239
4267
|
}] }, { type: TableColumnGroupDirective, decorators: [{
|
|
4240
4268
|
type: i0.Optional
|
|
@@ -4244,7 +4272,12 @@
|
|
|
4244
4272
|
}] }, { type: undefined, decorators: [{
|
|
4245
4273
|
type: i0.Attribute,
|
|
4246
4274
|
args: ['dataset.bind']
|
|
4247
|
-
}] }
|
|
4275
|
+
}] }, { type: undefined, decorators: [{
|
|
4276
|
+
type: i0.Inject,
|
|
4277
|
+
args: ['EXPLICIT_CONTEXT']
|
|
4278
|
+
}, {
|
|
4279
|
+
type: i0.Optional
|
|
4280
|
+
}] }], { _filterInstances: [{
|
|
4248
4281
|
type: i0.ContentChildren,
|
|
4249
4282
|
args: ['filterWidget', { descendants: true }]
|
|
4250
4283
|
}], _inlineInstances: [{
|
|
@@ -4280,8 +4313,8 @@
|
|
|
4280
4313
|
const WIDGET_CONFIG$1 = { widgetType: 'wm-table-row', hostClass: '' };
|
|
4281
4314
|
class TableRowDirective extends i4.BaseComponent {
|
|
4282
4315
|
static { this.initializeProps = registerProps$1(); }
|
|
4283
|
-
constructor(inj, table) {
|
|
4284
|
-
super(inj, WIDGET_CONFIG$1);
|
|
4316
|
+
constructor(inj, table, explicitContext) {
|
|
4317
|
+
super(inj, WIDGET_CONFIG$1, explicitContext);
|
|
4285
4318
|
this.table = table;
|
|
4286
4319
|
}
|
|
4287
4320
|
populateConfig() {
|
|
@@ -4305,12 +4338,12 @@
|
|
|
4305
4338
|
this.config.content = this.content;
|
|
4306
4339
|
}
|
|
4307
4340
|
}
|
|
4308
|
-
static { this.ɵfac = function TableRowDirective_Factory(t) { return new (t || TableRowDirective)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵdirectiveInject(TableComponent, 12)); }; }
|
|
4341
|
+
static { this.ɵfac = function TableRowDirective_Factory(t) { return new (t || TableRowDirective)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵdirectiveInject(TableComponent, 12), i0__namespace.ɵɵdirectiveInject('EXPLICIT_CONTEXT', 8)); }; }
|
|
4309
4342
|
static { this.ɵdir = /*@__PURE__*/ i0__namespace.ɵɵdefineDirective({ type: TableRowDirective, selectors: [["", "wmTableRow", ""]], features: [i0__namespace.ɵɵProvidersFeature([
|
|
4310
4343
|
i4.provideAsWidgetRef(TableRowDirective)
|
|
4311
4344
|
]), i0__namespace.ɵɵInheritDefinitionFeature] }); }
|
|
4312
4345
|
}
|
|
4313
|
-
(
|
|
4346
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(TableRowDirective, [{
|
|
4314
4347
|
type: i0.Directive,
|
|
4315
4348
|
args: [{
|
|
4316
4349
|
selector: '[wmTableRow]',
|
|
@@ -4318,11 +4351,16 @@
|
|
|
4318
4351
|
i4.provideAsWidgetRef(TableRowDirective)
|
|
4319
4352
|
]
|
|
4320
4353
|
}]
|
|
4321
|
-
}],
|
|
4354
|
+
}], () => [{ type: i0__namespace.Injector }, { type: TableComponent, decorators: [{
|
|
4322
4355
|
type: i0.Optional
|
|
4323
4356
|
}, {
|
|
4324
4357
|
type: i0.SkipSelf
|
|
4325
|
-
}] }
|
|
4358
|
+
}] }, { type: undefined, decorators: [{
|
|
4359
|
+
type: i0.Inject,
|
|
4360
|
+
args: ['EXPLICIT_CONTEXT']
|
|
4361
|
+
}, {
|
|
4362
|
+
type: i0.Optional
|
|
4363
|
+
}] }], null); })();
|
|
4326
4364
|
|
|
4327
4365
|
const registerProps = () => {
|
|
4328
4366
|
i4.register('wm-table-row-action', new Map([
|
|
@@ -4346,15 +4384,15 @@
|
|
|
4346
4384
|
const WIDGET_CONFIG = { widgetType: 'wm-table-row-action', hostClass: '' };
|
|
4347
4385
|
class TableRowActionDirective extends i4.BaseComponent {
|
|
4348
4386
|
static { this.initializeProps = registerProps(); }
|
|
4349
|
-
constructor(inj, table, contexts) {
|
|
4350
|
-
super(inj, WIDGET_CONFIG);
|
|
4387
|
+
constructor(inj, table, contexts, explicitContext) {
|
|
4388
|
+
super(inj, WIDGET_CONFIG, explicitContext);
|
|
4351
4389
|
this.table = table;
|
|
4352
4390
|
contexts[0].editRow = (evt) => this.table.editRow(evt);
|
|
4353
4391
|
contexts[0].deleteRow = (evt) => this.table.deleteRow(evt);
|
|
4354
4392
|
contexts[0].addNewRow = (evt) => this.table.addNewRow(evt);
|
|
4355
4393
|
}
|
|
4356
4394
|
getTitle() {
|
|
4357
|
-
return
|
|
4395
|
+
return lodashEs.isUndefined(this.title) ? (this['display-name'] || '') : this.title;
|
|
4358
4396
|
}
|
|
4359
4397
|
populateAction() {
|
|
4360
4398
|
this.buttonDef = {
|
|
@@ -4380,13 +4418,13 @@
|
|
|
4380
4418
|
this.populateAction();
|
|
4381
4419
|
this.table.registerRowActions(this.buttonDef);
|
|
4382
4420
|
}
|
|
4383
|
-
static { this.ɵfac = function TableRowActionDirective_Factory(t) { return new (t || TableRowActionDirective)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵdirectiveInject(TableComponent, 8), i0__namespace.ɵɵdirectiveInject(i4.Context, 2)); }; }
|
|
4421
|
+
static { this.ɵfac = function TableRowActionDirective_Factory(t) { return new (t || TableRowActionDirective)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵdirectiveInject(TableComponent, 8), i0__namespace.ɵɵdirectiveInject(i4.Context, 2), i0__namespace.ɵɵdirectiveInject('EXPLICIT_CONTEXT', 8)); }; }
|
|
4384
4422
|
static { this.ɵdir = /*@__PURE__*/ i0__namespace.ɵɵdefineDirective({ type: TableRowActionDirective, selectors: [["", "wmTableRowAction", ""]], features: [i0__namespace.ɵɵProvidersFeature([
|
|
4385
4423
|
i4.provideAsWidgetRef(TableRowActionDirective),
|
|
4386
4424
|
{ provide: i4.Context, useFactory: () => { return {}; }, multi: true }
|
|
4387
4425
|
]), i0__namespace.ɵɵInheritDefinitionFeature] }); }
|
|
4388
4426
|
}
|
|
4389
|
-
(
|
|
4427
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(TableRowActionDirective, [{
|
|
4390
4428
|
type: i0.Directive,
|
|
4391
4429
|
args: [{
|
|
4392
4430
|
selector: '[wmTableRowAction]',
|
|
@@ -4395,14 +4433,19 @@
|
|
|
4395
4433
|
{ provide: i4.Context, useFactory: () => { return {}; }, multi: true }
|
|
4396
4434
|
]
|
|
4397
4435
|
}]
|
|
4398
|
-
}],
|
|
4436
|
+
}], () => [{ type: i0__namespace.Injector }, { type: TableComponent, decorators: [{
|
|
4399
4437
|
type: i0.Optional
|
|
4400
4438
|
}] }, { type: Array, decorators: [{
|
|
4401
4439
|
type: i0.Self
|
|
4402
4440
|
}, {
|
|
4403
4441
|
type: i0.Inject,
|
|
4404
4442
|
args: [i4.Context]
|
|
4405
|
-
}] }
|
|
4443
|
+
}] }, { type: undefined, decorators: [{
|
|
4444
|
+
type: i0.Inject,
|
|
4445
|
+
args: ['EXPLICIT_CONTEXT']
|
|
4446
|
+
}, {
|
|
4447
|
+
type: i0.Optional
|
|
4448
|
+
}] }], null); })();
|
|
4406
4449
|
|
|
4407
4450
|
const components = [
|
|
4408
4451
|
TableComponent,
|
|
@@ -4429,7 +4472,7 @@
|
|
|
4429
4472
|
tooltip.TooltipModule,
|
|
4430
4473
|
i4.WmComponentsModule] }); }
|
|
4431
4474
|
}
|
|
4432
|
-
(
|
|
4475
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(TableModule, [{
|
|
4433
4476
|
type: i0.NgModule,
|
|
4434
4477
|
args: [{
|
|
4435
4478
|
imports: [
|