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