@wavemaker/app-ng-runtime 11.8.0-rc.5684 → 11.8.1-next.45204
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- app-ng-runtime/build-task/bundles/index.umd.js +11 -35
- app-ng-runtime/build-task/esm2022/advanced/carousel/carousel-template/carousel-template.build.mjs +3 -5
- app-ng-runtime/build-task/esm2022/advanced/carousel/carousel.build.mjs +1 -1
- app-ng-runtime/build-task/esm2022/basic/default/label/label.build.mjs +1 -1
- app-ng-runtime/build-task/esm2022/basic/progress/progress-bar/progress-bar.build.mjs +1 -1
- app-ng-runtime/build-task/esm2022/containers/accordion/accordion.build.mjs +1 -1
- app-ng-runtime/build-task/esm2022/containers/repeat-template.build.mjs +3 -5
- app-ng-runtime/build-task/esm2022/containers/tabs/tabs.build.mjs +1 -1
- app-ng-runtime/build-task/esm2022/data/form/form-field/form-field.build.mjs +1 -1
- app-ng-runtime/build-task/esm2022/data/form/form.build.mjs +2 -5
- app-ng-runtime/build-task/esm2022/data/list/list.build.mjs +1 -1
- app-ng-runtime/build-task/esm2022/data/media-list/media-list.build.mjs +1 -1
- app-ng-runtime/build-task/esm2022/data/table/table-column/table-column.build.mjs +1 -1
- app-ng-runtime/build-task/esm2022/data/table/table.build.mjs +1 -1
- app-ng-runtime/build-task/esm2022/dialogs/partial-dialog/partial-dialog.build.mjs +1 -1
- app-ng-runtime/build-task/esm2022/input/file-upload/file-upload.build.mjs +1 -1
- app-ng-runtime/build-task/esm2022/navigation/menu/menu.build.mjs +2 -19
- app-ng-runtime/build-task/esm2022/navigation/popover/popover.build.mjs +1 -1
- app-ng-runtime/build-task/esm2022/page/page-content/page-content.build.mjs +1 -1
- app-ng-runtime/build-task/esm2022/page/page.build.mjs +2 -3
- app-ng-runtime/build-task/esm2022/utils/utils.mjs +1 -1
- app-ng-runtime/build-task/fesm2022/index.mjs +8 -33
- app-ng-runtime/build-task/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/advanced/carousel/bundles/index.umd.js +18 -29
- app-ng-runtime/components/advanced/carousel/carousel-template/carousel-template.directive.d.ts +3 -3
- app-ng-runtime/components/advanced/carousel/carousel.directive.d.ts +2 -2
- app-ng-runtime/components/advanced/carousel/esm2022/carousel-template/carousel-template.directive.mjs +9 -15
- app-ng-runtime/components/advanced/carousel/esm2022/carousel.animator.mjs +2 -3
- app-ng-runtime/components/advanced/carousel/esm2022/carousel.directive.mjs +7 -12
- app-ng-runtime/components/advanced/carousel/esm2022/carousel.module.mjs +2 -2
- app-ng-runtime/components/advanced/carousel/fesm2022/index.mjs +16 -28
- app-ng-runtime/components/advanced/carousel/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/advanced/login/bundles/index.umd.js +13 -19
- app-ng-runtime/components/advanced/login/esm2022/login.component.mjs +10 -17
- app-ng-runtime/components/advanced/login/esm2022/login.module.mjs +2 -2
- app-ng-runtime/components/advanced/login/fesm2022/index.mjs +11 -18
- app-ng-runtime/components/advanced/login/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/advanced/login/login.component.d.ts +2 -2
- app-ng-runtime/components/advanced/marquee/bundles/index.umd.js +6 -11
- app-ng-runtime/components/advanced/marquee/esm2022/marquee.directive.mjs +7 -12
- app-ng-runtime/components/advanced/marquee/esm2022/marquee.module.mjs +2 -2
- app-ng-runtime/components/advanced/marquee/fesm2022/index.mjs +8 -13
- app-ng-runtime/components/advanced/marquee/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/advanced/marquee/marquee.directive.d.ts +2 -2
- app-ng-runtime/components/base/bundles/index.umd.js +284 -384
- app-ng-runtime/components/base/directives/show-in-device.directive.d.ts +6 -3
- app-ng-runtime/components/base/esm2022/components.module.mjs +2 -2
- app-ng-runtime/components/base/esm2022/directives/show-in-device.directive.mjs +15 -13
- app-ng-runtime/components/base/esm2022/pipes/custom-pipes.mjs +34 -35
- app-ng-runtime/components/base/esm2022/pipes/image.pipe.mjs +2 -2
- app-ng-runtime/components/base/esm2022/pipes/sanitize.pipe.mjs +3 -3
- app-ng-runtime/components/base/esm2022/pipes/trust-as.pipe.mjs +3 -3
- app-ng-runtime/components/base/esm2022/pipes/wm-pipe.mjs +2 -3
- app-ng-runtime/components/base/esm2022/public_api.mjs +1 -2
- app-ng-runtime/components/base/esm2022/utils/data-utils.mjs +29 -30
- app-ng-runtime/components/base/esm2022/utils/form-utils.mjs +42 -48
- app-ng-runtime/components/base/esm2022/utils/live-utils.mjs +7 -8
- app-ng-runtime/components/base/esm2022/utils/widget-utils.mjs +27 -28
- app-ng-runtime/components/base/esm2022/widgets/common/base/base-container.component.mjs +7 -8
- app-ng-runtime/components/base/esm2022/widgets/common/base/base-field-validations.mjs +22 -23
- app-ng-runtime/components/base/esm2022/widgets/common/base/base.component.mjs +17 -50
- app-ng-runtime/components/base/esm2022/widgets/common/base/dataset-aware-nav.component.mjs +18 -52
- app-ng-runtime/components/base/esm2022/widgets/common/base/partial-container.directive.mjs +5 -6
- app-ng-runtime/components/base/esm2022/widgets/common/base/stylable.component.mjs +3 -3
- app-ng-runtime/components/base/esm2022/widgets/common/base/text-content.directive.mjs +3 -3
- app-ng-runtime/components/base/esm2022/widgets/common/container/container.directive.mjs +7 -12
- app-ng-runtime/components/base/esm2022/widgets/common/dialog/dialog.service.mjs +4 -5
- app-ng-runtime/components/base/esm2022/widgets/common/item-template/item-template.directive.mjs +7 -12
- app-ng-runtime/components/base/esm2022/widgets/common/lazy-load/lazy-load.directive.mjs +7 -14
- app-ng-runtime/components/base/esm2022/widgets/common/message/message.component.mjs +10 -16
- app-ng-runtime/components/base/esm2022/widgets/common/partial/partial.directive.mjs +8 -14
- app-ng-runtime/components/base/esm2022/widgets/common/partial-param/partial-param.directive.mjs +8 -9
- app-ng-runtime/components/base/esm2022/widgets/common/pull-to-refresh/pull-to-refresh.mjs +1 -1
- app-ng-runtime/components/base/esm2022/widgets/common/redraw/redrawable.directive.mjs +4 -4
- app-ng-runtime/components/base/esm2022/widgets/common/repeat-template/repeat-template.directive.mjs +9 -15
- app-ng-runtime/components/base/esm2022/widgets/common/smooth-scroll/smooth-scroll.directive.mjs +10 -11
- app-ng-runtime/components/base/esm2022/widgets/framework/deviceview.mjs +1 -1
- app-ng-runtime/components/base/esm2022/widgets/framework/property-change-handler.mjs +2 -3
- app-ng-runtime/components/base/esm2022/widgets/framework/styler.mjs +1 -1
- app-ng-runtime/components/base/esm2022/widgets/framework/widget-props.mjs +1 -1
- app-ng-runtime/components/base/esm2022/widgets/framework/widget-proxy-provider.mjs +3 -4
- app-ng-runtime/components/base/esm2022/widgets/framework/widget-registry.mjs +1 -1
- app-ng-runtime/components/base/fesm2022/index.mjs +287 -389
- app-ng-runtime/components/base/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/base/pipes/custom-pipes.d.ts +1 -1
- app-ng-runtime/components/base/public_api.d.ts +0 -1
- app-ng-runtime/components/base/utils/data-utils.d.ts +0 -1
- app-ng-runtime/components/base/utils/widget-utils.d.ts +2 -2
- app-ng-runtime/components/base/widgets/common/base/base-container.component.d.ts +1 -1
- app-ng-runtime/components/base/widgets/common/base/base-field-validations.d.ts +1 -1
- app-ng-runtime/components/base/widgets/common/base/base.component.d.ts +2 -21
- app-ng-runtime/components/base/widgets/common/base/dataset-aware-nav.component.d.ts +1 -1
- app-ng-runtime/components/base/widgets/common/base/partial-container.directive.d.ts +1 -1
- app-ng-runtime/components/base/widgets/common/container/container.directive.d.ts +2 -2
- app-ng-runtime/components/base/widgets/common/item-template/item-template.directive.d.ts +2 -2
- app-ng-runtime/components/base/widgets/common/lazy-load/lazy-load.directive.d.ts +2 -2
- app-ng-runtime/components/base/widgets/common/message/message.component.d.ts +2 -2
- app-ng-runtime/components/base/widgets/common/partial/partial.directive.d.ts +2 -2
- app-ng-runtime/components/base/widgets/common/repeat-template/repeat-template.directive.d.ts +3 -3
- app-ng-runtime/components/basic/default/anchor/anchor.component.d.ts +2 -2
- app-ng-runtime/components/basic/default/audio/audio.component.d.ts +2 -3
- app-ng-runtime/components/basic/default/bundles/index.umd.js +119 -163
- app-ng-runtime/components/basic/default/esm2022/anchor/anchor.component.mjs +27 -31
- app-ng-runtime/components/basic/default/esm2022/audio/audio.component.mjs +11 -18
- app-ng-runtime/components/basic/default/esm2022/basic.module.mjs +2 -2
- app-ng-runtime/components/basic/default/esm2022/html/html.directive.mjs +8 -13
- app-ng-runtime/components/basic/default/esm2022/icon/icon.component.mjs +14 -19
- app-ng-runtime/components/basic/default/esm2022/iframe/iframe.component.mjs +9 -15
- app-ng-runtime/components/basic/default/esm2022/label/label.directive.mjs +9 -15
- app-ng-runtime/components/basic/default/esm2022/picture/picture.directive.mjs +7 -12
- app-ng-runtime/components/basic/default/esm2022/picture/picture.props.mjs +1 -1
- app-ng-runtime/components/basic/default/esm2022/spinner/spinner.component.mjs +30 -34
- app-ng-runtime/components/basic/default/esm2022/video/video.component.mjs +17 -21
- app-ng-runtime/components/basic/default/fesm2022/index.mjs +117 -162
- app-ng-runtime/components/basic/default/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/basic/default/html/html.directive.d.ts +2 -2
- app-ng-runtime/components/basic/default/icon/icon.component.d.ts +2 -2
- app-ng-runtime/components/basic/default/iframe/iframe.component.d.ts +2 -2
- app-ng-runtime/components/basic/default/label/label.directive.d.ts +2 -2
- app-ng-runtime/components/basic/default/picture/picture.directive.d.ts +2 -2
- app-ng-runtime/components/basic/default/spinner/spinner.component.d.ts +2 -2
- app-ng-runtime/components/basic/default/video/video.component.d.ts +2 -2
- app-ng-runtime/components/basic/progress/bundles/index.umd.js +30 -43
- app-ng-runtime/components/basic/progress/esm2022/progress-bar/progress-bar.component.mjs +15 -22
- app-ng-runtime/components/basic/progress/esm2022/progress-circle/progress-circle.component.mjs +12 -20
- app-ng-runtime/components/basic/progress/esm2022/progress.module.mjs +2 -2
- app-ng-runtime/components/basic/progress/esm2022/utils.mjs +3 -3
- app-ng-runtime/components/basic/progress/fesm2022/index.mjs +28 -42
- app-ng-runtime/components/basic/progress/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/basic/progress/progress-bar/progress-bar.component.d.ts +2 -2
- app-ng-runtime/components/basic/progress/progress-circle/progress-circle.component.d.ts +2 -3
- app-ng-runtime/components/basic/rich-text-editor/bundles/index.umd.js +13 -19
- app-ng-runtime/components/basic/rich-text-editor/esm2022/rich-text-editor.component.mjs +10 -17
- app-ng-runtime/components/basic/rich-text-editor/esm2022/rich-text-editor.module.mjs +2 -2
- app-ng-runtime/components/basic/rich-text-editor/fesm2022/index.mjs +11 -18
- app-ng-runtime/components/basic/rich-text-editor/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/basic/rich-text-editor/rich-text-editor.component.d.ts +2 -2
- app-ng-runtime/components/basic/search/bundles/index.umd.js +175 -186
- app-ng-runtime/components/basic/search/esm2022/data-provider/data-provider.mjs +1 -1
- app-ng-runtime/components/basic/search/esm2022/data-provider/local-data-provider.mjs +23 -26
- app-ng-runtime/components/basic/search/esm2022/data-provider/remote-data-provider.mjs +11 -12
- app-ng-runtime/components/basic/search/esm2022/scrollable.directive.mjs +3 -3
- app-ng-runtime/components/basic/search/esm2022/search.component.mjs +138 -148
- app-ng-runtime/components/basic/search/esm2022/search.module.mjs +2 -2
- app-ng-runtime/components/basic/search/fesm2022/index.mjs +174 -186
- app-ng-runtime/components/basic/search/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/basic/search/search.component.d.ts +2 -2
- app-ng-runtime/components/basic/tree/bundles/index.umd.js +17 -23
- app-ng-runtime/components/basic/tree/esm2022/tree.component.mjs +14 -21
- app-ng-runtime/components/basic/tree/esm2022/tree.module.mjs +2 -2
- app-ng-runtime/components/basic/tree/fesm2022/index.mjs +15 -22
- app-ng-runtime/components/basic/tree/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/basic/tree/tree.component.d.ts +2 -2
- app-ng-runtime/components/chart/bundles/index.umd.js +84 -97
- app-ng-runtime/components/chart/chart.component.d.ts +3 -3
- app-ng-runtime/components/chart/chart.utils.d.ts +3 -3
- app-ng-runtime/components/chart/esm2022/chart.component.mjs +68 -82
- app-ng-runtime/components/chart/esm2022/chart.module.mjs +2 -2
- app-ng-runtime/components/chart/esm2022/chart.utils.mjs +13 -14
- app-ng-runtime/components/chart/fesm2022/index.mjs +81 -95
- app-ng-runtime/components/chart/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/containers/accordion/accordion-pane/accordion-pane.component.d.ts +2 -2
- app-ng-runtime/components/containers/accordion/accordion.directive.d.ts +2 -2
- app-ng-runtime/components/containers/accordion/bundles/index.umd.js +40 -51
- app-ng-runtime/components/containers/accordion/esm2022/accordion-pane/accordion-pane.component.mjs +17 -23
- app-ng-runtime/components/containers/accordion/esm2022/accordion-pane/accordion-pane.props.mjs +4 -4
- app-ng-runtime/components/containers/accordion/esm2022/accordion.directive.mjs +19 -25
- app-ng-runtime/components/containers/accordion/esm2022/accordion.module.mjs +2 -2
- app-ng-runtime/components/containers/accordion/fesm2022/index.mjs +38 -50
- app-ng-runtime/components/containers/accordion/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/containers/layout-grid/bundles/index.umd.js +17 -32
- app-ng-runtime/components/containers/layout-grid/esm2022/layout-grid-column/layout-grid-column.directive.mjs +8 -13
- app-ng-runtime/components/containers/layout-grid/esm2022/layout-grid-row/layout-grid-row.directive.mjs +7 -12
- app-ng-runtime/components/containers/layout-grid/esm2022/layout-grid.directive.mjs +7 -12
- app-ng-runtime/components/containers/layout-grid/esm2022/layout-grid.module.mjs +2 -2
- app-ng-runtime/components/containers/layout-grid/fesm2022/index.mjs +19 -34
- app-ng-runtime/components/containers/layout-grid/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/containers/layout-grid/layout-grid-column/layout-grid-column.directive.d.ts +2 -2
- app-ng-runtime/components/containers/layout-grid/layout-grid-row/layout-grid-row.directive.d.ts +2 -2
- app-ng-runtime/components/containers/layout-grid/layout-grid.directive.d.ts +2 -2
- app-ng-runtime/components/containers/linear-layout/bundles/index.umd.js +11 -21
- app-ng-runtime/components/containers/linear-layout/esm2022/linear-layout-item/linear-layout-item.directive.mjs +7 -12
- app-ng-runtime/components/containers/linear-layout/esm2022/linear-layout.directive.mjs +7 -12
- app-ng-runtime/components/containers/linear-layout/esm2022/linear-layout.module.mjs +2 -2
- app-ng-runtime/components/containers/linear-layout/fesm2022/index.mjs +13 -23
- app-ng-runtime/components/containers/linear-layout/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/containers/linear-layout/linear-layout-item/linear-layout-item.directive.d.ts +2 -2
- app-ng-runtime/components/containers/linear-layout/linear-layout.directive.d.ts +2 -2
- app-ng-runtime/components/containers/panel/bundles/index.umd.js +85 -85
- app-ng-runtime/components/containers/panel/esm2022/panel.component.mjs +82 -83
- app-ng-runtime/components/containers/panel/esm2022/panel.module.mjs +2 -2
- app-ng-runtime/components/containers/panel/fesm2022/index.mjs +83 -84
- app-ng-runtime/components/containers/panel/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/containers/panel/panel.component.d.ts +3 -3
- app-ng-runtime/components/containers/tabs/bundles/index.umd.js +63 -74
- app-ng-runtime/components/containers/tabs/esm2022/tab-pane/tab-pane.component.mjs +8 -14
- app-ng-runtime/components/containers/tabs/esm2022/tab-pane/tab-pane.props.mjs +4 -4
- app-ng-runtime/components/containers/tabs/esm2022/tabs.animator.mjs +1 -1
- app-ng-runtime/components/containers/tabs/esm2022/tabs.component.mjs +51 -57
- app-ng-runtime/components/containers/tabs/esm2022/tabs.module.mjs +2 -2
- app-ng-runtime/components/containers/tabs/esm2022/tabs.props.mjs +1 -1
- app-ng-runtime/components/containers/tabs/fesm2022/index.mjs +61 -73
- app-ng-runtime/components/containers/tabs/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/containers/tabs/tab-pane/tab-pane.component.d.ts +2 -2
- app-ng-runtime/components/containers/tabs/tabs.component.d.ts +2 -2
- app-ng-runtime/components/containers/tile/bundles/index.umd.js +6 -11
- app-ng-runtime/components/containers/tile/esm2022/tile.directive.mjs +7 -12
- app-ng-runtime/components/containers/tile/esm2022/tile.module.mjs +2 -2
- app-ng-runtime/components/containers/tile/fesm2022/index.mjs +8 -13
- app-ng-runtime/components/containers/tile/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/containers/tile/tile.directive.d.ts +2 -2
- app-ng-runtime/components/containers/wizard/bundles/index.umd.js +98 -102
- app-ng-runtime/components/containers/wizard/esm2022/wizard-step/wizard-step.directive.mjs +8 -13
- app-ng-runtime/components/containers/wizard/esm2022/wizard.component.mjs +93 -92
- app-ng-runtime/components/containers/wizard/esm2022/wizard.module.mjs +2 -2
- app-ng-runtime/components/containers/wizard/fesm2022/index.mjs +100 -104
- app-ng-runtime/components/containers/wizard/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/containers/wizard/wizard-step/wizard-step.directive.d.ts +2 -2
- app-ng-runtime/components/containers/wizard/wizard.component.d.ts +2 -2
- app-ng-runtime/components/data/card/bundles/index.umd.js +50 -70
- app-ng-runtime/components/data/card/card-actions/card-actions.directive.d.ts +2 -2
- app-ng-runtime/components/data/card/card-content/card-content.component.d.ts +2 -2
- app-ng-runtime/components/data/card/card-footer/card-footer.directive.d.ts +2 -2
- app-ng-runtime/components/data/card/card.component.d.ts +2 -2
- app-ng-runtime/components/data/card/esm2022/card-actions/card-actions.directive.mjs +7 -12
- app-ng-runtime/components/data/card/esm2022/card-content/card-content.component.mjs +9 -15
- app-ng-runtime/components/data/card/esm2022/card-footer/card-footer.directive.mjs +7 -12
- app-ng-runtime/components/data/card/esm2022/card.component.mjs +34 -38
- app-ng-runtime/components/data/card/esm2022/card.module.mjs +2 -2
- app-ng-runtime/components/data/card/fesm2022/index.mjs +52 -72
- app-ng-runtime/components/data/card/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/data/form/bundles/index.umd.js +187 -201
- app-ng-runtime/components/data/form/esm2022/form-action/form-action.directive.mjs +9 -15
- app-ng-runtime/components/data/form/esm2022/form-field/form-field.directive.mjs +16 -21
- app-ng-runtime/components/data/form/esm2022/form-field/form-field.props.mjs +1 -1
- app-ng-runtime/components/data/form/esm2022/form-widget.directive.mjs +4 -4
- app-ng-runtime/components/data/form/esm2022/form.component.mjs +134 -138
- app-ng-runtime/components/data/form/esm2022/form.module.mjs +2 -2
- app-ng-runtime/components/data/form/esm2022/form.props.mjs +1 -1
- app-ng-runtime/components/data/form/esm2022/live-actions/dependson.directive.mjs +4 -4
- app-ng-runtime/components/data/form/esm2022/live-actions/live-actions.directive.mjs +4 -4
- app-ng-runtime/components/data/form/esm2022/live-filter/live-filter.directive.mjs +6 -7
- app-ng-runtime/components/data/form/esm2022/live-form/live-form.directive.mjs +15 -18
- app-ng-runtime/components/data/form/fesm2022/index.mjs +190 -205
- app-ng-runtime/components/data/form/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/data/form/form-action/form-action.directive.d.ts +2 -2
- app-ng-runtime/components/data/form/form-field/form-field.directive.d.ts +2 -2
- app-ng-runtime/components/data/form/form.component.d.ts +4 -4
- app-ng-runtime/components/data/form/live-form/live-form.directive.d.ts +1 -1
- app-ng-runtime/components/data/list/bundles/index.umd.js +772 -783
- app-ng-runtime/components/data/list/esm2022/list-item.directive.mjs +4 -9
- app-ng-runtime/components/data/list/esm2022/list.animator.mjs +3 -5
- app-ng-runtime/components/data/list/esm2022/list.component.mjs +764 -771
- app-ng-runtime/components/data/list/esm2022/list.module.mjs +2 -2
- app-ng-runtime/components/data/list/fesm2022/index.mjs +770 -782
- app-ng-runtime/components/data/list/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/data/list/list-item.directive.d.ts +0 -4
- app-ng-runtime/components/data/list/list.component.d.ts +54 -55
- app-ng-runtime/components/data/live-table/bundles/index.umd.js +7 -13
- app-ng-runtime/components/data/live-table/esm2022/live-table.component.mjs +8 -14
- app-ng-runtime/components/data/live-table/esm2022/live-table.module.mjs +2 -2
- app-ng-runtime/components/data/live-table/fesm2022/index.mjs +9 -15
- app-ng-runtime/components/data/live-table/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/data/live-table/live-table.component.d.ts +2 -2
- app-ng-runtime/components/data/pagination/bundles/index.umd.js +110 -113
- app-ng-runtime/components/data/pagination/esm2022/pagination.component.mjs +107 -111
- app-ng-runtime/components/data/pagination/esm2022/pagination.module.mjs +2 -2
- app-ng-runtime/components/data/pagination/fesm2022/index.mjs +108 -112
- app-ng-runtime/components/data/pagination/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/data/pagination/pagination.component.d.ts +2 -2
- app-ng-runtime/components/data/table/bundles/index.umd.js +269 -314
- app-ng-runtime/components/data/table/esm2022/table-action/table-action.directive.mjs +9 -15
- app-ng-runtime/components/data/table/esm2022/table-column/table-column.directive.mjs +25 -40
- app-ng-runtime/components/data/table/esm2022/table-column/table-column.props.mjs +2 -2
- app-ng-runtime/components/data/table/esm2022/table-column-group/table-column-group.directive.mjs +8 -13
- app-ng-runtime/components/data/table/esm2022/table-cud.directive.mjs +9 -10
- app-ng-runtime/components/data/table/esm2022/table-filter.directive.mjs +58 -56
- app-ng-runtime/components/data/table/esm2022/table-row/table-row.directive.mjs +8 -13
- app-ng-runtime/components/data/table/esm2022/table-row-action/table-row-action.directive.mjs +8 -14
- app-ng-runtime/components/data/table/esm2022/table.component.mjs +150 -165
- app-ng-runtime/components/data/table/esm2022/table.module.mjs +2 -2
- app-ng-runtime/components/data/table/esm2022/table.props.mjs +2 -2
- app-ng-runtime/components/data/table/fesm2022/index.mjs +267 -313
- app-ng-runtime/components/data/table/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/data/table/table-action/table-action.directive.d.ts +2 -2
- app-ng-runtime/components/data/table/table-column/table-column.directive.d.ts +8 -8
- app-ng-runtime/components/data/table/table-column-group/table-column-group.directive.d.ts +2 -2
- app-ng-runtime/components/data/table/table-row/table-row.directive.d.ts +2 -2
- app-ng-runtime/components/data/table/table-row-action/table-row-action.directive.d.ts +2 -2
- app-ng-runtime/components/data/table/table.component.d.ts +4 -4
- app-ng-runtime/components/dialogs/alert-dialog/alert-dialog.component.d.ts +2 -2
- app-ng-runtime/components/dialogs/alert-dialog/bundles/index.umd.js +9 -15
- app-ng-runtime/components/dialogs/alert-dialog/esm2022/alert-dialog.component.mjs +10 -16
- app-ng-runtime/components/dialogs/alert-dialog/esm2022/alert-dialog.module.mjs +2 -2
- app-ng-runtime/components/dialogs/alert-dialog/fesm2022/index.mjs +11 -17
- app-ng-runtime/components/dialogs/alert-dialog/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/confirm-dialog/bundles/index.umd.js +11 -17
- app-ng-runtime/components/dialogs/confirm-dialog/confirm-dialog.component.d.ts +2 -2
- app-ng-runtime/components/dialogs/confirm-dialog/esm2022/confirm-dialog.component.mjs +12 -18
- app-ng-runtime/components/dialogs/confirm-dialog/esm2022/confirm-dialog.module.mjs +2 -2
- app-ng-runtime/components/dialogs/confirm-dialog/fesm2022/index.mjs +13 -19
- app-ng-runtime/components/dialogs/confirm-dialog/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/default/base-dialog.d.ts +2 -2
- app-ng-runtime/components/dialogs/default/bundles/index.umd.js +71 -75
- app-ng-runtime/components/dialogs/default/dialog-footer/dialog-footer.directive.d.ts +2 -2
- app-ng-runtime/components/dialogs/default/esm2022/base-dialog.mjs +9 -14
- app-ng-runtime/components/dialogs/default/esm2022/dialog-body/dialog-body.directive.mjs +4 -4
- app-ng-runtime/components/dialogs/default/esm2022/dialog-footer/dialog-footer.directive.mjs +7 -12
- app-ng-runtime/components/dialogs/default/esm2022/dialog-header/dialog-header.component.mjs +55 -49
- app-ng-runtime/components/dialogs/default/esm2022/dialog.module.mjs +2 -2
- app-ng-runtime/components/dialogs/default/fesm2022/index.mjs +72 -76
- app-ng-runtime/components/dialogs/default/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/design-dialog/bundles/index.umd.js +14 -20
- app-ng-runtime/components/dialogs/design-dialog/dialog.component.d.ts +2 -2
- app-ng-runtime/components/dialogs/design-dialog/esm2022/design-dialog.module.mjs +2 -2
- app-ng-runtime/components/dialogs/design-dialog/esm2022/dialog.component.mjs +15 -21
- app-ng-runtime/components/dialogs/design-dialog/fesm2022/index.mjs +16 -22
- app-ng-runtime/components/dialogs/design-dialog/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/iframe-dialog/bundles/index.umd.js +14 -20
- app-ng-runtime/components/dialogs/iframe-dialog/esm2022/iframe-dialog.component.mjs +15 -21
- app-ng-runtime/components/dialogs/iframe-dialog/esm2022/iframe-dialog.module.mjs +2 -2
- app-ng-runtime/components/dialogs/iframe-dialog/fesm2022/index.mjs +16 -22
- app-ng-runtime/components/dialogs/iframe-dialog/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/iframe-dialog/iframe-dialog.component.d.ts +2 -2
- app-ng-runtime/components/dialogs/login-dialog/bundles/index.umd.js +4 -4
- app-ng-runtime/components/dialogs/login-dialog/esm2022/login-dialog.directive.mjs +4 -4
- app-ng-runtime/components/dialogs/login-dialog/esm2022/login-dialog.module.mjs +2 -2
- app-ng-runtime/components/dialogs/login-dialog/fesm2022/index.mjs +4 -4
- app-ng-runtime/components/dialogs/login-dialog/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/partial-dialog/bundles/index.umd.js +10 -16
- app-ng-runtime/components/dialogs/partial-dialog/esm2022/partial-dialog.component.mjs +11 -17
- app-ng-runtime/components/dialogs/partial-dialog/esm2022/partial-dialog.module.mjs +2 -2
- app-ng-runtime/components/dialogs/partial-dialog/fesm2022/index.mjs +12 -18
- app-ng-runtime/components/dialogs/partial-dialog/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/partial-dialog/partial-dialog.component.d.ts +2 -2
- app-ng-runtime/components/input/calendar/bundles/index.umd.js +38 -46
- app-ng-runtime/components/input/calendar/calendar.component.d.ts +2 -2
- app-ng-runtime/components/input/calendar/esm2022/calendar.component.mjs +35 -44
- app-ng-runtime/components/input/calendar/esm2022/calendar.module.mjs +2 -2
- app-ng-runtime/components/input/calendar/fesm2022/index.mjs +36 -45
- app-ng-runtime/components/input/calendar/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/chips/bundles/index.umd.js +61 -69
- app-ng-runtime/components/input/chips/chips.component.d.ts +3 -3
- app-ng-runtime/components/input/chips/esm2022/chips.component.mjs +58 -67
- app-ng-runtime/components/input/chips/esm2022/chips.module.mjs +2 -2
- app-ng-runtime/components/input/chips/fesm2022/index.mjs +58 -67
- app-ng-runtime/components/input/chips/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/color-picker/bundles/index.umd.js +12 -25
- app-ng-runtime/components/input/color-picker/color-picker.component.d.ts +2 -2
- app-ng-runtime/components/input/color-picker/esm2022/color-picker.component.mjs +13 -26
- app-ng-runtime/components/input/color-picker/esm2022/color-picker.module.mjs +2 -2
- app-ng-runtime/components/input/color-picker/fesm2022/index.mjs +13 -26
- app-ng-runtime/components/input/color-picker/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/currency/bundles/index.umd.js +11 -18
- app-ng-runtime/components/input/currency/currency.component.d.ts +2 -2
- app-ng-runtime/components/input/currency/esm2022/currency.component.mjs +12 -19
- app-ng-runtime/components/input/currency/esm2022/currency.module.mjs +2 -2
- app-ng-runtime/components/input/currency/fesm2022/index.mjs +12 -19
- app-ng-runtime/components/input/currency/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/default/base-form.component.d.ts +3 -3
- app-ng-runtime/components/input/default/bundles/index.umd.js +487 -610
- app-ng-runtime/components/input/default/button/button.component.d.ts +2 -2
- app-ng-runtime/components/input/default/button-group/button-group.directive.d.ts +2 -2
- app-ng-runtime/components/input/default/checkbox/checkbox.component.d.ts +2 -3
- app-ng-runtime/components/input/default/checkboxset/checkboxset.component.d.ts +2 -2
- app-ng-runtime/components/input/default/composite/composite.directive.d.ts +2 -2
- app-ng-runtime/components/input/default/dataset-aware-form.component.d.ts +4 -4
- app-ng-runtime/components/input/default/esm2022/base-form-custom.component.mjs +3 -3
- app-ng-runtime/components/input/default/esm2022/base-form.component.mjs +11 -17
- app-ng-runtime/components/input/default/esm2022/button/button.component.mjs +28 -32
- app-ng-runtime/components/input/default/esm2022/button-group/button-group.directive.mjs +7 -12
- app-ng-runtime/components/input/default/esm2022/caption-position.directive.mjs +6 -6
- app-ng-runtime/components/input/default/esm2022/checkbox/checkbox.component.mjs +17 -27
- app-ng-runtime/components/input/default/esm2022/checkboxset/checkboxset.component.mjs +103 -107
- app-ng-runtime/components/input/default/esm2022/composite/composite.directive.mjs +7 -12
- app-ng-runtime/components/input/default/esm2022/dataset-aware-form.component.mjs +26 -32
- app-ng-runtime/components/input/default/esm2022/input.module.mjs +2 -2
- app-ng-runtime/components/input/default/esm2022/number/number.component.mjs +10 -17
- app-ng-runtime/components/input/default/esm2022/radioset/radioset.component.mjs +102 -105
- app-ng-runtime/components/input/default/esm2022/select/select.component.mjs +68 -70
- app-ng-runtime/components/input/default/esm2022/switch/switch.component.mjs +31 -38
- app-ng-runtime/components/input/default/esm2022/text/base/base-input.mjs +11 -18
- app-ng-runtime/components/input/default/esm2022/text/calendar/input-calendar.component.mjs +12 -23
- app-ng-runtime/components/input/default/esm2022/text/color/input-color.component.mjs +12 -23
- app-ng-runtime/components/input/default/esm2022/text/email/input-email.component.mjs +11 -20
- app-ng-runtime/components/input/default/esm2022/text/locale/number-locale.mjs +24 -35
- app-ng-runtime/components/input/default/esm2022/text/number/input-number.component.mjs +12 -21
- app-ng-runtime/components/input/default/esm2022/text/text/input-text.component.mjs +11 -20
- app-ng-runtime/components/input/default/esm2022/textarea/textarea.component.mjs +12 -21
- app-ng-runtime/components/input/default/fesm2022/index.mjs +488 -613
- app-ng-runtime/components/input/default/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/default/number/number.component.d.ts +2 -2
- app-ng-runtime/components/input/default/radioset/radioset.component.d.ts +2 -2
- app-ng-runtime/components/input/default/select/select.component.d.ts +4 -3
- app-ng-runtime/components/input/default/switch/switch.component.d.ts +2 -2
- app-ng-runtime/components/input/default/text/base/base-input.d.ts +2 -3
- app-ng-runtime/components/input/default/text/calendar/input-calendar.component.d.ts +2 -2
- app-ng-runtime/components/input/default/text/color/input-color.component.d.ts +2 -2
- app-ng-runtime/components/input/default/text/email/input-email.component.d.ts +2 -2
- app-ng-runtime/components/input/default/text/locale/number-locale.d.ts +1 -1
- app-ng-runtime/components/input/default/text/number/input-number.component.d.ts +2 -2
- app-ng-runtime/components/input/default/text/text/input-text.component.d.ts +2 -2
- app-ng-runtime/components/input/default/textarea/textarea.component.d.ts +2 -2
- app-ng-runtime/components/input/epoch/base-date-time.component.d.ts +2 -2
- app-ng-runtime/components/input/epoch/bundles/index.umd.js +165 -214
- app-ng-runtime/components/input/epoch/date/date.component.d.ts +2 -3
- app-ng-runtime/components/input/epoch/date-time/date-time.component.d.ts +2 -2
- app-ng-runtime/components/input/epoch/esm2022/base-date-time.component.mjs +36 -44
- app-ng-runtime/components/input/epoch/esm2022/date/date.component.mjs +22 -36
- app-ng-runtime/components/input/epoch/esm2022/date/date.props.mjs +2 -2
- app-ng-runtime/components/input/epoch/esm2022/date/imaskUtil.mjs +2 -8
- app-ng-runtime/components/input/epoch/esm2022/date-time/date-time-picker.component.mjs +41 -42
- app-ng-runtime/components/input/epoch/esm2022/date-time/date-time.component.mjs +37 -49
- app-ng-runtime/components/input/epoch/esm2022/epoch.module.mjs +2 -2
- app-ng-runtime/components/input/epoch/esm2022/picker/picker.component.mjs +5 -7
- app-ng-runtime/components/input/epoch/esm2022/time/time.component.mjs +24 -35
- app-ng-runtime/components/input/epoch/fesm2022/index.mjs +161 -211
- app-ng-runtime/components/input/epoch/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/epoch/time/time.component.d.ts +2 -2
- app-ng-runtime/components/input/file-upload/bundles/index.umd.js +135 -133
- app-ng-runtime/components/input/file-upload/esm2022/file-upload.component.mjs +132 -131
- app-ng-runtime/components/input/file-upload/esm2022/file-upload.module.mjs +2 -2
- app-ng-runtime/components/input/file-upload/fesm2022/index.mjs +133 -132
- app-ng-runtime/components/input/file-upload/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/file-upload/file-upload.component.d.ts +2 -2
- app-ng-runtime/components/input/rating/bundles/index.umd.js +51 -60
- app-ng-runtime/components/input/rating/esm2022/rating.component.mjs +48 -58
- app-ng-runtime/components/input/rating/esm2022/rating.module.mjs +2 -2
- app-ng-runtime/components/input/rating/fesm2022/index.mjs +48 -58
- app-ng-runtime/components/input/rating/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/rating/rating.component.d.ts +2 -2
- app-ng-runtime/components/input/slider/bundles/index.umd.js +13 -23
- app-ng-runtime/components/input/slider/esm2022/slider.component.mjs +14 -24
- app-ng-runtime/components/input/slider/esm2022/slider.module.mjs +2 -2
- app-ng-runtime/components/input/slider/fesm2022/index.mjs +14 -24
- app-ng-runtime/components/input/slider/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/slider/slider.component.d.ts +2 -2
- app-ng-runtime/components/navigation/breadcrumb/breadcrumb.component.d.ts +2 -2
- app-ng-runtime/components/navigation/breadcrumb/bundles/index.umd.js +28 -33
- app-ng-runtime/components/navigation/breadcrumb/esm2022/breadcrumb.component.mjs +29 -34
- app-ng-runtime/components/navigation/breadcrumb/esm2022/breadcrumb.module.mjs +2 -2
- app-ng-runtime/components/navigation/breadcrumb/fesm2022/index.mjs +30 -35
- app-ng-runtime/components/navigation/breadcrumb/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/navigation/menu/bundles/index.umd.js +145 -160
- app-ng-runtime/components/navigation/menu/esm2022/menu-adapator.component.mjs +7 -13
- app-ng-runtime/components/navigation/menu/esm2022/menu-dropdown/menu-dropdown.component.mjs +4 -5
- app-ng-runtime/components/navigation/menu/esm2022/menu-dropdown-item/menu-dropdown-item.component.mjs +26 -27
- app-ng-runtime/components/navigation/menu/esm2022/menu.component.mjs +40 -44
- app-ng-runtime/components/navigation/menu/esm2022/menu.module.mjs +3 -4
- app-ng-runtime/components/navigation/menu/esm2022/nav/nav-item/nav-item.directive.mjs +8 -14
- app-ng-runtime/components/navigation/menu/esm2022/nav/nav.component.mjs +63 -63
- app-ng-runtime/components/navigation/menu/esm2022/nav/navigation-control.directive.mjs +3 -3
- app-ng-runtime/components/navigation/menu/fesm2022/index.mjs +144 -160
- app-ng-runtime/components/navigation/menu/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/navigation/menu/menu-adapator.component.d.ts +1 -1
- app-ng-runtime/components/navigation/menu/menu-dropdown-item/menu-dropdown-item.component.d.ts +1 -12
- app-ng-runtime/components/navigation/menu/menu.component.d.ts +2 -2
- app-ng-runtime/components/navigation/menu/nav/nav-item/nav-item.directive.d.ts +3 -3
- app-ng-runtime/components/navigation/menu/nav/nav.component.d.ts +4 -3
- app-ng-runtime/components/navigation/navbar/bundles/index.umd.js +22 -29
- app-ng-runtime/components/navigation/navbar/esm2022/navbar.component.mjs +23 -30
- app-ng-runtime/components/navigation/navbar/esm2022/navbar.module.mjs +2 -2
- app-ng-runtime/components/navigation/navbar/fesm2022/index.mjs +24 -31
- app-ng-runtime/components/navigation/navbar/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/navigation/navbar/navbar.component.d.ts +2 -2
- app-ng-runtime/components/navigation/popover/bundles/index.umd.js +11 -18
- app-ng-runtime/components/navigation/popover/esm2022/popover.component.mjs +12 -19
- app-ng-runtime/components/navigation/popover/esm2022/popover.module.mjs +2 -2
- app-ng-runtime/components/navigation/popover/fesm2022/index.mjs +13 -20
- app-ng-runtime/components/navigation/popover/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/navigation/popover/popover.component.d.ts +2 -2
- app-ng-runtime/components/page/default/bundles/index.umd.js +31 -63
- app-ng-runtime/components/page/default/content/content.component.d.ts +2 -2
- app-ng-runtime/components/page/default/esm2022/content/content.component.mjs +7 -13
- app-ng-runtime/components/page/default/esm2022/layout.directive.mjs +7 -12
- app-ng-runtime/components/page/default/esm2022/page-content/page-content.component.mjs +7 -13
- app-ng-runtime/components/page/default/esm2022/page.directive.mjs +7 -12
- app-ng-runtime/components/page/default/esm2022/page.module.mjs +2 -2
- app-ng-runtime/components/page/default/esm2022/router-outlet.directive.mjs +7 -12
- app-ng-runtime/components/page/default/esm2022/spa-page.directive.mjs +7 -12
- app-ng-runtime/components/page/default/fesm2022/index.mjs +33 -65
- app-ng-runtime/components/page/default/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/page/default/layout.directive.d.ts +2 -2
- app-ng-runtime/components/page/default/page-content/page-content.component.d.ts +2 -2
- app-ng-runtime/components/page/default/page.directive.d.ts +2 -2
- app-ng-runtime/components/page/default/router-outlet.directive.d.ts +2 -2
- app-ng-runtime/components/page/default/spa-page.directive.d.ts +2 -2
- app-ng-runtime/components/page/footer/bundles/index.umd.js +6 -11
- app-ng-runtime/components/page/footer/esm2022/footer.directive.mjs +7 -12
- app-ng-runtime/components/page/footer/esm2022/footer.module.mjs +2 -2
- app-ng-runtime/components/page/footer/fesm2022/index.mjs +8 -13
- app-ng-runtime/components/page/footer/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/page/footer/footer.directive.d.ts +2 -2
- app-ng-runtime/components/page/header/bundles/index.umd.js +6 -12
- app-ng-runtime/components/page/header/esm2022/header.component.mjs +7 -13
- app-ng-runtime/components/page/header/esm2022/header.module.mjs +2 -2
- app-ng-runtime/components/page/header/fesm2022/index.mjs +8 -14
- app-ng-runtime/components/page/header/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/page/header/header.component.d.ts +2 -2
- app-ng-runtime/components/page/left-panel/bundles/index.umd.js +7 -12
- app-ng-runtime/components/page/left-panel/esm2022/left-panel.animator.mjs +1 -1
- app-ng-runtime/components/page/left-panel/esm2022/left-panel.directive.mjs +8 -13
- app-ng-runtime/components/page/left-panel/esm2022/left-panel.module.mjs +2 -2
- app-ng-runtime/components/page/left-panel/fesm2022/index.mjs +9 -14
- app-ng-runtime/components/page/left-panel/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/page/left-panel/left-panel.directive.d.ts +2 -2
- app-ng-runtime/components/page/right-panel/bundles/index.umd.js +6 -11
- app-ng-runtime/components/page/right-panel/esm2022/right-panel.directive.mjs +7 -12
- app-ng-runtime/components/page/right-panel/esm2022/right-panel.module.mjs +2 -2
- app-ng-runtime/components/page/right-panel/fesm2022/index.mjs +8 -13
- app-ng-runtime/components/page/right-panel/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/page/right-panel/right-panel.directive.d.ts +2 -2
- app-ng-runtime/components/page/top-nav/bundles/index.umd.js +6 -11
- app-ng-runtime/components/page/top-nav/esm2022/top-nav.directive.mjs +7 -12
- app-ng-runtime/components/page/top-nav/esm2022/top-nav.module.mjs +2 -2
- app-ng-runtime/components/page/top-nav/fesm2022/index.mjs +8 -13
- app-ng-runtime/components/page/top-nav/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/page/top-nav/top-nav.directive.d.ts +2 -2
- app-ng-runtime/components/prefab/bundles/index.umd.js +18 -28
- app-ng-runtime/components/prefab/esm2022/prefab-container/prefab-container.directive.mjs +8 -14
- app-ng-runtime/components/prefab/esm2022/prefab.directive.mjs +9 -15
- app-ng-runtime/components/prefab/esm2022/prefab.module.mjs +2 -2
- app-ng-runtime/components/prefab/fesm2022/index.mjs +15 -26
- app-ng-runtime/components/prefab/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/prefab/prefab-container/prefab-container.directive.d.ts +2 -2
- app-ng-runtime/components/prefab/prefab.directive.d.ts +2 -2
- app-ng-runtime/core/bundles/index.umd.js +146 -158
- app-ng-runtime/core/esm2022/core.module.mjs +2 -2
- app-ng-runtime/core/esm2022/public_api.mjs +2 -3
- app-ng-runtime/core/esm2022/services/constant.service.mjs +2 -2
- app-ng-runtime/core/esm2022/services/field-type.service.mjs +4 -5
- app-ng-runtime/core/esm2022/services/field-widget.service.mjs +4 -5
- app-ng-runtime/core/esm2022/services/pagination.service.mjs +7 -8
- app-ng-runtime/core/esm2022/services/script-loader.service.mjs +3 -3
- app-ng-runtime/core/esm2022/services/state-persistence.service.mjs +17 -18
- app-ng-runtime/core/esm2022/services/user-custom-pipe-manager.service.mjs +2 -2
- app-ng-runtime/core/esm2022/services/utils.service.mjs +4 -5
- app-ng-runtime/core/esm2022/services/viewport.service.mjs +4 -5
- app-ng-runtime/core/esm2022/utils/build-utils.mjs +4 -5
- app-ng-runtime/core/esm2022/utils/dom.mjs +1 -1
- app-ng-runtime/core/esm2022/utils/event-notifier.mjs +1 -1
- app-ng-runtime/core/esm2022/utils/expression-parser.mjs +5 -6
- app-ng-runtime/core/esm2022/utils/id-generator.mjs +1 -1
- app-ng-runtime/core/esm2022/utils/lru-cache.mjs +2 -3
- app-ng-runtime/core/esm2022/utils/utils.mjs +82 -79
- app-ng-runtime/core/esm2022/utils/watcher.mjs +7 -9
- app-ng-runtime/core/esm2022/utils/wm-project-properties.mjs +1 -1
- app-ng-runtime/core/fesm2022/index.mjs +142 -158
- app-ng-runtime/core/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/core/public_api.d.ts +1 -2
- app-ng-runtime/core/services/pagination.service.d.ts +1 -1
- app-ng-runtime/core/utils/utils.d.ts +9 -5
- app-ng-runtime/http/bundles/index.umd.js +10 -10
- app-ng-runtime/http/esm2022/http-service.module.mjs +2 -2
- app-ng-runtime/http/esm2022/http.service.mjs +6 -7
- app-ng-runtime/http/esm2022/wm-http-request.mjs +1 -1
- app-ng-runtime/http/esm2022/wm-http-response.mjs +1 -1
- app-ng-runtime/http/fesm2022/index.mjs +6 -7
- app-ng-runtime/http/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/locales/angular/global/af-na.js +4 -4
- app-ng-runtime/locales/angular/global/af.js +4 -4
- app-ng-runtime/locales/angular/global/agq.js +4 -4
- app-ng-runtime/locales/angular/global/ak.js +4 -4
- app-ng-runtime/locales/angular/global/am.js +4 -4
- app-ng-runtime/locales/angular/global/ar-ae.js +4 -4
- app-ng-runtime/locales/angular/global/ar-bh.js +4 -4
- app-ng-runtime/locales/angular/global/ar-dj.js +4 -4
- app-ng-runtime/locales/angular/global/ar-dz.js +4 -4
- app-ng-runtime/locales/angular/global/ar-eg.js +4 -4
- app-ng-runtime/locales/angular/global/ar-eh.js +4 -4
- app-ng-runtime/locales/angular/global/ar-er.js +4 -4
- app-ng-runtime/locales/angular/global/ar-il.js +4 -4
- app-ng-runtime/locales/angular/global/ar-iq.js +4 -4
- app-ng-runtime/locales/angular/global/ar-jo.js +4 -4
- app-ng-runtime/locales/angular/global/ar-km.js +4 -4
- app-ng-runtime/locales/angular/global/ar-kw.js +4 -4
- app-ng-runtime/locales/angular/global/ar-lb.js +4 -4
- app-ng-runtime/locales/angular/global/ar-ly.js +4 -4
- app-ng-runtime/locales/angular/global/ar-ma.js +4 -4
- app-ng-runtime/locales/angular/global/ar-mr.js +4 -4
- app-ng-runtime/locales/angular/global/ar-om.js +4 -4
- app-ng-runtime/locales/angular/global/ar-ps.js +4 -4
- app-ng-runtime/locales/angular/global/ar-qa.js +4 -4
- app-ng-runtime/locales/angular/global/ar-sa.js +4 -4
- app-ng-runtime/locales/angular/global/ar-sd.js +4 -4
- app-ng-runtime/locales/angular/global/ar-so.js +4 -4
- app-ng-runtime/locales/angular/global/ar-ss.js +4 -4
- app-ng-runtime/locales/angular/global/ar-sy.js +4 -4
- app-ng-runtime/locales/angular/global/ar-td.js +4 -4
- app-ng-runtime/locales/angular/global/ar-tn.js +4 -4
- app-ng-runtime/locales/angular/global/ar-ye.js +4 -4
- app-ng-runtime/locales/angular/global/ar.js +4 -4
- app-ng-runtime/locales/angular/global/as.js +4 -4
- app-ng-runtime/locales/angular/global/asa.js +4 -4
- app-ng-runtime/locales/angular/global/ast.js +4 -4
- app-ng-runtime/locales/angular/global/az-cyrl.js +4 -4
- app-ng-runtime/locales/angular/global/az-latn.js +4 -4
- app-ng-runtime/locales/angular/global/az.js +4 -4
- app-ng-runtime/locales/angular/global/bas.js +4 -4
- app-ng-runtime/locales/angular/global/be-tarask.js +4 -4
- app-ng-runtime/locales/angular/global/be.js +4 -4
- app-ng-runtime/locales/angular/global/bem.js +4 -4
- app-ng-runtime/locales/angular/global/bez.js +4 -4
- app-ng-runtime/locales/angular/global/bg.js +4 -4
- app-ng-runtime/locales/angular/global/bm.js +4 -4
- app-ng-runtime/locales/angular/global/bn-in.js +4 -4
- app-ng-runtime/locales/angular/global/bn.js +4 -4
- app-ng-runtime/locales/angular/global/bo-in.js +4 -4
- app-ng-runtime/locales/angular/global/bo.js +4 -4
- app-ng-runtime/locales/angular/global/br.js +4 -4
- app-ng-runtime/locales/angular/global/brx.js +4 -4
- app-ng-runtime/locales/angular/global/bs-cyrl.js +4 -4
- app-ng-runtime/locales/angular/global/bs-latn.js +4 -4
- app-ng-runtime/locales/angular/global/bs.js +4 -4
- app-ng-runtime/locales/angular/global/ca-ad.js +4 -4
- app-ng-runtime/locales/angular/global/ca-es-valencia.js +4 -4
- app-ng-runtime/locales/angular/global/ca-fr.js +4 -4
- app-ng-runtime/locales/angular/global/ca-it.js +4 -4
- app-ng-runtime/locales/angular/global/ca.js +4 -4
- app-ng-runtime/locales/angular/global/ccp-in.js +4 -4
- app-ng-runtime/locales/angular/global/ccp.js +4 -4
- app-ng-runtime/locales/angular/global/ce.js +4 -4
- app-ng-runtime/locales/angular/global/ceb.js +4 -4
- app-ng-runtime/locales/angular/global/cgg.js +4 -4
- app-ng-runtime/locales/angular/global/chr.js +4 -4
- app-ng-runtime/locales/angular/global/ckb-ir.js +4 -4
- app-ng-runtime/locales/angular/global/ckb.js +4 -4
- app-ng-runtime/locales/angular/global/cs.js +4 -4
- app-ng-runtime/locales/angular/global/cy.js +4 -4
- app-ng-runtime/locales/angular/global/da-gl.js +4 -4
- app-ng-runtime/locales/angular/global/da.js +4 -4
- app-ng-runtime/locales/angular/global/dav.js +4 -4
- app-ng-runtime/locales/angular/global/de-at.js +4 -4
- app-ng-runtime/locales/angular/global/de-be.js +4 -4
- app-ng-runtime/locales/angular/global/de-ch.js +4 -4
- app-ng-runtime/locales/angular/global/de-it.js +4 -4
- app-ng-runtime/locales/angular/global/de-li.js +4 -4
- app-ng-runtime/locales/angular/global/de-lu.js +4 -4
- app-ng-runtime/locales/angular/global/de.js +4 -4
- app-ng-runtime/locales/angular/global/dje.js +4 -4
- app-ng-runtime/locales/angular/global/doi.js +4 -4
- app-ng-runtime/locales/angular/global/dsb.js +4 -4
- app-ng-runtime/locales/angular/global/dua.js +4 -4
- app-ng-runtime/locales/angular/global/dyo.js +4 -4
- app-ng-runtime/locales/angular/global/dz.js +4 -4
- app-ng-runtime/locales/angular/global/ebu.js +4 -4
- app-ng-runtime/locales/angular/global/ee-tg.js +4 -4
- app-ng-runtime/locales/angular/global/ee.js +4 -4
- app-ng-runtime/locales/angular/global/el-cy.js +4 -4
- app-ng-runtime/locales/angular/global/el.js +4 -4
- app-ng-runtime/locales/angular/global/en-001.js +4 -4
- app-ng-runtime/locales/angular/global/en-150.js +4 -4
- app-ng-runtime/locales/angular/global/en-ae.js +4 -4
- app-ng-runtime/locales/angular/global/en-ag.js +4 -4
- app-ng-runtime/locales/angular/global/en-ai.js +4 -4
- app-ng-runtime/locales/angular/global/en-as.js +4 -4
- app-ng-runtime/locales/angular/global/en-at.js +4 -4
- app-ng-runtime/locales/angular/global/en-au.js +4 -4
- app-ng-runtime/locales/angular/global/en-bb.js +4 -4
- app-ng-runtime/locales/angular/global/en-be.js +4 -4
- app-ng-runtime/locales/angular/global/en-bi.js +4 -4
- app-ng-runtime/locales/angular/global/en-bm.js +4 -4
- app-ng-runtime/locales/angular/global/en-bs.js +4 -4
- app-ng-runtime/locales/angular/global/en-bw.js +4 -4
- app-ng-runtime/locales/angular/global/en-bz.js +4 -4
- app-ng-runtime/locales/angular/global/en-ca.js +4 -4
- app-ng-runtime/locales/angular/global/en-cc.js +4 -4
- app-ng-runtime/locales/angular/global/en-ch.js +4 -4
- app-ng-runtime/locales/angular/global/en-ck.js +4 -4
- app-ng-runtime/locales/angular/global/en-cm.js +4 -4
- app-ng-runtime/locales/angular/global/en-cx.js +4 -4
- app-ng-runtime/locales/angular/global/en-cy.js +4 -4
- app-ng-runtime/locales/angular/global/en-de.js +4 -4
- app-ng-runtime/locales/angular/global/en-dg.js +4 -4
- app-ng-runtime/locales/angular/global/en-dk.js +4 -4
- app-ng-runtime/locales/angular/global/en-dm.js +4 -4
- app-ng-runtime/locales/angular/global/en-er.js +4 -4
- app-ng-runtime/locales/angular/global/en-fi.js +4 -4
- app-ng-runtime/locales/angular/global/en-fj.js +4 -4
- app-ng-runtime/locales/angular/global/en-fk.js +4 -4
- app-ng-runtime/locales/angular/global/en-fm.js +4 -4
- app-ng-runtime/locales/angular/global/en-gb.js +4 -4
- app-ng-runtime/locales/angular/global/en-gd.js +4 -4
- app-ng-runtime/locales/angular/global/en-gg.js +4 -4
- app-ng-runtime/locales/angular/global/en-gh.js +4 -4
- app-ng-runtime/locales/angular/global/en-gi.js +4 -4
- app-ng-runtime/locales/angular/global/en-gm.js +4 -4
- app-ng-runtime/locales/angular/global/en-gu.js +4 -4
- app-ng-runtime/locales/angular/global/en-gy.js +4 -4
- app-ng-runtime/locales/angular/global/en-hk.js +4 -4
- app-ng-runtime/locales/angular/global/en-ie.js +4 -4
- app-ng-runtime/locales/angular/global/en-il.js +4 -4
- app-ng-runtime/locales/angular/global/en-im.js +4 -4
- app-ng-runtime/locales/angular/global/en-in.js +4 -4
- app-ng-runtime/locales/angular/global/en-io.js +4 -4
- app-ng-runtime/locales/angular/global/en-je.js +4 -4
- app-ng-runtime/locales/angular/global/en-jm.js +4 -4
- app-ng-runtime/locales/angular/global/en-ke.js +4 -4
- app-ng-runtime/locales/angular/global/en-ki.js +4 -4
- app-ng-runtime/locales/angular/global/en-kn.js +4 -4
- app-ng-runtime/locales/angular/global/en-ky.js +4 -4
- app-ng-runtime/locales/angular/global/en-lc.js +4 -4
- app-ng-runtime/locales/angular/global/en-lr.js +4 -4
- app-ng-runtime/locales/angular/global/en-ls.js +4 -4
- app-ng-runtime/locales/angular/global/en-mg.js +4 -4
- app-ng-runtime/locales/angular/global/en-mh.js +4 -4
- app-ng-runtime/locales/angular/global/en-mo.js +4 -4
- app-ng-runtime/locales/angular/global/en-mp.js +4 -4
- app-ng-runtime/locales/angular/global/en-ms.js +4 -4
- app-ng-runtime/locales/angular/global/en-mt.js +4 -4
- app-ng-runtime/locales/angular/global/en-mu.js +4 -4
- app-ng-runtime/locales/angular/global/en-mv.js +4 -4
- app-ng-runtime/locales/angular/global/en-mw.js +4 -4
- app-ng-runtime/locales/angular/global/en-my.js +4 -4
- app-ng-runtime/locales/angular/global/en-na.js +4 -4
- app-ng-runtime/locales/angular/global/en-nf.js +4 -4
- app-ng-runtime/locales/angular/global/en-ng.js +4 -4
- app-ng-runtime/locales/angular/global/en-nl.js +4 -4
- app-ng-runtime/locales/angular/global/en-nr.js +4 -4
- app-ng-runtime/locales/angular/global/en-nu.js +4 -4
- app-ng-runtime/locales/angular/global/en-nz.js +4 -4
- app-ng-runtime/locales/angular/global/en-pg.js +4 -4
- app-ng-runtime/locales/angular/global/en-ph.js +4 -4
- app-ng-runtime/locales/angular/global/en-pk.js +4 -4
- app-ng-runtime/locales/angular/global/en-pn.js +4 -4
- app-ng-runtime/locales/angular/global/en-pr.js +4 -4
- app-ng-runtime/locales/angular/global/en-pw.js +4 -4
- app-ng-runtime/locales/angular/global/en-rw.js +4 -4
- app-ng-runtime/locales/angular/global/en-sb.js +4 -4
- app-ng-runtime/locales/angular/global/en-sc.js +4 -4
- app-ng-runtime/locales/angular/global/en-sd.js +4 -4
- app-ng-runtime/locales/angular/global/en-se.js +4 -4
- app-ng-runtime/locales/angular/global/en-sg.js +4 -4
- app-ng-runtime/locales/angular/global/en-sh.js +4 -4
- app-ng-runtime/locales/angular/global/en-si.js +4 -4
- app-ng-runtime/locales/angular/global/en-sl.js +4 -4
- app-ng-runtime/locales/angular/global/en-ss.js +4 -4
- app-ng-runtime/locales/angular/global/en-sx.js +4 -4
- app-ng-runtime/locales/angular/global/en-sz.js +4 -4
- app-ng-runtime/locales/angular/global/en-tc.js +4 -4
- app-ng-runtime/locales/angular/global/en-tk.js +4 -4
- app-ng-runtime/locales/angular/global/en-to.js +4 -4
- app-ng-runtime/locales/angular/global/en-tt.js +4 -4
- app-ng-runtime/locales/angular/global/en-tv.js +4 -4
- app-ng-runtime/locales/angular/global/en-tz.js +4 -4
- app-ng-runtime/locales/angular/global/en-ug.js +4 -4
- app-ng-runtime/locales/angular/global/en-um.js +4 -4
- app-ng-runtime/locales/angular/global/en-vc.js +4 -4
- app-ng-runtime/locales/angular/global/en-vg.js +4 -4
- app-ng-runtime/locales/angular/global/en-vi.js +4 -4
- app-ng-runtime/locales/angular/global/en-vu.js +4 -4
- app-ng-runtime/locales/angular/global/en-ws.js +4 -4
- app-ng-runtime/locales/angular/global/en-za.js +4 -4
- app-ng-runtime/locales/angular/global/en-zm.js +4 -4
- app-ng-runtime/locales/angular/global/en-zw.js +4 -4
- app-ng-runtime/locales/angular/global/en.js +4 -4
- app-ng-runtime/locales/angular/global/eo.js +4 -4
- app-ng-runtime/locales/angular/global/es-419.js +4 -4
- app-ng-runtime/locales/angular/global/es-ar.js +4 -4
- app-ng-runtime/locales/angular/global/es-bo.js +4 -4
- app-ng-runtime/locales/angular/global/es-br.js +4 -4
- app-ng-runtime/locales/angular/global/es-bz.js +4 -4
- app-ng-runtime/locales/angular/global/es-cl.js +4 -4
- app-ng-runtime/locales/angular/global/es-co.js +4 -4
- app-ng-runtime/locales/angular/global/es-cr.js +4 -4
- app-ng-runtime/locales/angular/global/es-cu.js +4 -4
- app-ng-runtime/locales/angular/global/es-do.js +4 -4
- app-ng-runtime/locales/angular/global/es-ea.js +4 -4
- app-ng-runtime/locales/angular/global/es-ec.js +4 -4
- app-ng-runtime/locales/angular/global/es-gq.js +4 -4
- app-ng-runtime/locales/angular/global/es-gt.js +4 -4
- app-ng-runtime/locales/angular/global/es-hn.js +4 -4
- app-ng-runtime/locales/angular/global/es-ic.js +4 -4
- app-ng-runtime/locales/angular/global/es-mx.js +4 -4
- app-ng-runtime/locales/angular/global/es-ni.js +4 -4
- app-ng-runtime/locales/angular/global/es-pa.js +4 -4
- app-ng-runtime/locales/angular/global/es-pe.js +4 -4
- app-ng-runtime/locales/angular/global/es-ph.js +4 -4
- app-ng-runtime/locales/angular/global/es-pr.js +4 -4
- app-ng-runtime/locales/angular/global/es-py.js +4 -4
- app-ng-runtime/locales/angular/global/es-sv.js +4 -4
- app-ng-runtime/locales/angular/global/es-us.js +4 -4
- app-ng-runtime/locales/angular/global/es-uy.js +4 -4
- app-ng-runtime/locales/angular/global/es-ve.js +4 -4
- app-ng-runtime/locales/angular/global/es.js +4 -4
- app-ng-runtime/locales/angular/global/et.js +4 -4
- app-ng-runtime/locales/angular/global/eu.js +4 -4
- app-ng-runtime/locales/angular/global/ewo.js +4 -4
- app-ng-runtime/locales/angular/global/fa-af.js +4 -4
- app-ng-runtime/locales/angular/global/fa.js +4 -4
- app-ng-runtime/locales/angular/global/ff-adlm-bf.js +4 -4
- app-ng-runtime/locales/angular/global/ff-adlm-cm.js +4 -4
- app-ng-runtime/locales/angular/global/ff-adlm-gh.js +4 -4
- app-ng-runtime/locales/angular/global/ff-adlm-gm.js +4 -4
- app-ng-runtime/locales/angular/global/ff-adlm-gw.js +4 -4
- app-ng-runtime/locales/angular/global/ff-adlm-lr.js +4 -4
- app-ng-runtime/locales/angular/global/ff-adlm-mr.js +4 -4
- app-ng-runtime/locales/angular/global/ff-adlm-ne.js +4 -4
- app-ng-runtime/locales/angular/global/ff-adlm-ng.js +4 -4
- app-ng-runtime/locales/angular/global/ff-adlm-sl.js +4 -4
- app-ng-runtime/locales/angular/global/ff-adlm-sn.js +4 -4
- app-ng-runtime/locales/angular/global/ff-adlm.js +4 -4
- app-ng-runtime/locales/angular/global/ff-cm.js +44 -58
- app-ng-runtime/locales/angular/global/ff-gn.js +44 -58
- app-ng-runtime/locales/angular/global/ff-latn-bf.js +4 -4
- app-ng-runtime/locales/angular/global/ff-latn-cm.js +4 -4
- app-ng-runtime/locales/angular/global/ff-latn-gh.js +4 -4
- app-ng-runtime/locales/angular/global/ff-latn-gm.js +4 -4
- app-ng-runtime/locales/angular/global/ff-latn-gn.js +4 -4
- app-ng-runtime/locales/angular/global/ff-latn-gw.js +4 -4
- app-ng-runtime/locales/angular/global/ff-latn-lr.js +4 -4
- app-ng-runtime/locales/angular/global/ff-latn-mr.js +4 -4
- app-ng-runtime/locales/angular/global/ff-latn-ne.js +4 -4
- app-ng-runtime/locales/angular/global/ff-latn-ng.js +4 -4
- app-ng-runtime/locales/angular/global/ff-latn-sl.js +4 -4
- app-ng-runtime/locales/angular/global/ff-latn.js +4 -4
- app-ng-runtime/locales/angular/global/ff-mr.js +44 -58
- app-ng-runtime/locales/angular/global/ff.js +4 -4
- app-ng-runtime/locales/angular/global/fi.js +4 -4
- app-ng-runtime/locales/angular/global/fil.js +4 -4
- app-ng-runtime/locales/angular/global/fo-dk.js +4 -4
- app-ng-runtime/locales/angular/global/fo.js +4 -4
- app-ng-runtime/locales/angular/global/fr-be.js +4 -4
- app-ng-runtime/locales/angular/global/fr-bf.js +4 -4
- app-ng-runtime/locales/angular/global/fr-bi.js +4 -4
- app-ng-runtime/locales/angular/global/fr-bj.js +4 -4
- app-ng-runtime/locales/angular/global/fr-bl.js +4 -4
- app-ng-runtime/locales/angular/global/fr-ca.js +4 -4
- app-ng-runtime/locales/angular/global/fr-cd.js +4 -4
- app-ng-runtime/locales/angular/global/fr-cf.js +4 -4
- app-ng-runtime/locales/angular/global/fr-cg.js +4 -4
- app-ng-runtime/locales/angular/global/fr-ch.js +4 -4
- app-ng-runtime/locales/angular/global/fr-ci.js +4 -4
- app-ng-runtime/locales/angular/global/fr-cm.js +4 -4
- app-ng-runtime/locales/angular/global/fr-dj.js +4 -4
- app-ng-runtime/locales/angular/global/fr-dz.js +4 -4
- app-ng-runtime/locales/angular/global/fr-ga.js +4 -4
- app-ng-runtime/locales/angular/global/fr-gf.js +4 -4
- app-ng-runtime/locales/angular/global/fr-gn.js +4 -4
- app-ng-runtime/locales/angular/global/fr-gp.js +4 -4
- app-ng-runtime/locales/angular/global/fr-gq.js +4 -4
- app-ng-runtime/locales/angular/global/fr-ht.js +4 -4
- app-ng-runtime/locales/angular/global/fr-km.js +4 -4
- app-ng-runtime/locales/angular/global/fr-lu.js +4 -4
- app-ng-runtime/locales/angular/global/fr-ma.js +4 -4
- app-ng-runtime/locales/angular/global/fr-mc.js +4 -4
- app-ng-runtime/locales/angular/global/fr-mf.js +4 -4
- app-ng-runtime/locales/angular/global/fr-mg.js +4 -4
- app-ng-runtime/locales/angular/global/fr-ml.js +4 -4
- app-ng-runtime/locales/angular/global/fr-mq.js +4 -4
- app-ng-runtime/locales/angular/global/fr-mr.js +4 -4
- app-ng-runtime/locales/angular/global/fr-mu.js +4 -4
- app-ng-runtime/locales/angular/global/fr-nc.js +4 -4
- app-ng-runtime/locales/angular/global/fr-ne.js +4 -4
- app-ng-runtime/locales/angular/global/fr-pf.js +4 -4
- app-ng-runtime/locales/angular/global/fr-pm.js +4 -4
- app-ng-runtime/locales/angular/global/fr-re.js +4 -4
- app-ng-runtime/locales/angular/global/fr-rw.js +4 -4
- app-ng-runtime/locales/angular/global/fr-sc.js +4 -4
- app-ng-runtime/locales/angular/global/fr-sn.js +4 -4
- app-ng-runtime/locales/angular/global/fr-sy.js +4 -4
- app-ng-runtime/locales/angular/global/fr-td.js +4 -4
- app-ng-runtime/locales/angular/global/fr-tg.js +4 -4
- app-ng-runtime/locales/angular/global/fr-tn.js +4 -4
- app-ng-runtime/locales/angular/global/fr-vu.js +4 -4
- app-ng-runtime/locales/angular/global/fr-wf.js +4 -4
- app-ng-runtime/locales/angular/global/fr-yt.js +4 -4
- app-ng-runtime/locales/angular/global/fr.js +4 -4
- app-ng-runtime/locales/angular/global/fur.js +4 -4
- app-ng-runtime/locales/angular/global/fy.js +4 -4
- app-ng-runtime/locales/angular/global/ga-gb.js +4 -4
- app-ng-runtime/locales/angular/global/ga.js +4 -4
- app-ng-runtime/locales/angular/global/gd.js +4 -4
- app-ng-runtime/locales/angular/global/gl.js +4 -4
- app-ng-runtime/locales/angular/global/gsw-fr.js +4 -4
- app-ng-runtime/locales/angular/global/gsw-li.js +4 -4
- app-ng-runtime/locales/angular/global/gsw.js +4 -4
- app-ng-runtime/locales/angular/global/gu.js +4 -4
- app-ng-runtime/locales/angular/global/guz.js +4 -4
- app-ng-runtime/locales/angular/global/gv.js +4 -4
- app-ng-runtime/locales/angular/global/ha-gh.js +4 -4
- app-ng-runtime/locales/angular/global/ha-ne.js +4 -4
- app-ng-runtime/locales/angular/global/ha.js +4 -4
- app-ng-runtime/locales/angular/global/haw.js +4 -4
- app-ng-runtime/locales/angular/global/he.js +4 -4
- app-ng-runtime/locales/angular/global/hi-latn.js +4 -4
- app-ng-runtime/locales/angular/global/hi.js +4 -4
- app-ng-runtime/locales/angular/global/hr-ba.js +4 -4
- app-ng-runtime/locales/angular/global/hr.js +4 -4
- app-ng-runtime/locales/angular/global/hsb.js +4 -4
- app-ng-runtime/locales/angular/global/hu.js +4 -4
- app-ng-runtime/locales/angular/global/hy.js +4 -4
- app-ng-runtime/locales/angular/global/ia.js +4 -4
- app-ng-runtime/locales/angular/global/id.js +4 -4
- app-ng-runtime/locales/angular/global/ig.js +4 -4
- app-ng-runtime/locales/angular/global/ii.js +4 -4
- app-ng-runtime/locales/angular/global/is.js +4 -4
- app-ng-runtime/locales/angular/global/it-ch.js +4 -4
- app-ng-runtime/locales/angular/global/it-sm.js +4 -4
- app-ng-runtime/locales/angular/global/it-va.js +4 -4
- app-ng-runtime/locales/angular/global/it.js +4 -4
- app-ng-runtime/locales/angular/global/ja.js +4 -4
- app-ng-runtime/locales/angular/global/jgo.js +4 -4
- app-ng-runtime/locales/angular/global/jmc.js +4 -4
- app-ng-runtime/locales/angular/global/jv.js +4 -4
- app-ng-runtime/locales/angular/global/ka.js +4 -4
- app-ng-runtime/locales/angular/global/kab.js +4 -4
- app-ng-runtime/locales/angular/global/kam.js +4 -4
- app-ng-runtime/locales/angular/global/kde.js +4 -4
- app-ng-runtime/locales/angular/global/kea.js +4 -4
- app-ng-runtime/locales/angular/global/kgp.js +4 -4
- app-ng-runtime/locales/angular/global/khq.js +4 -4
- app-ng-runtime/locales/angular/global/ki.js +4 -4
- app-ng-runtime/locales/angular/global/kk.js +4 -4
- app-ng-runtime/locales/angular/global/kkj.js +4 -4
- app-ng-runtime/locales/angular/global/kl.js +4 -4
- app-ng-runtime/locales/angular/global/kln.js +4 -4
- app-ng-runtime/locales/angular/global/km.js +4 -4
- app-ng-runtime/locales/angular/global/kn.js +4 -4
- app-ng-runtime/locales/angular/global/ko-kp.js +4 -4
- app-ng-runtime/locales/angular/global/ko.js +4 -4
- app-ng-runtime/locales/angular/global/kok.js +4 -4
- app-ng-runtime/locales/angular/global/ks-arab.js +4 -4
- app-ng-runtime/locales/angular/global/ks-deva.js +4 -4
- app-ng-runtime/locales/angular/global/ks.js +4 -4
- app-ng-runtime/locales/angular/global/ksb.js +4 -4
- app-ng-runtime/locales/angular/global/ksf.js +4 -4
- app-ng-runtime/locales/angular/global/ksh.js +4 -4
- app-ng-runtime/locales/angular/global/ku.js +4 -4
- app-ng-runtime/locales/angular/global/kw.js +4 -4
- app-ng-runtime/locales/angular/global/ky.js +4 -4
- app-ng-runtime/locales/angular/global/lag.js +4 -4
- app-ng-runtime/locales/angular/global/lb.js +4 -4
- app-ng-runtime/locales/angular/global/lg.js +4 -4
- app-ng-runtime/locales/angular/global/lkt.js +4 -4
- app-ng-runtime/locales/angular/global/ln-ao.js +4 -4
- app-ng-runtime/locales/angular/global/ln-cf.js +4 -4
- app-ng-runtime/locales/angular/global/ln-cg.js +4 -4
- app-ng-runtime/locales/angular/global/ln.js +4 -4
- app-ng-runtime/locales/angular/global/lo.js +4 -4
- app-ng-runtime/locales/angular/global/lrc-iq.js +4 -4
- app-ng-runtime/locales/angular/global/lrc.js +4 -4
- app-ng-runtime/locales/angular/global/lt.js +4 -4
- app-ng-runtime/locales/angular/global/lu.js +4 -4
- app-ng-runtime/locales/angular/global/luo.js +4 -4
- app-ng-runtime/locales/angular/global/luy.js +4 -4
- app-ng-runtime/locales/angular/global/lv.js +4 -4
- app-ng-runtime/locales/angular/global/mai.js +4 -4
- app-ng-runtime/locales/angular/global/mas-tz.js +4 -4
- app-ng-runtime/locales/angular/global/mas.js +4 -4
- app-ng-runtime/locales/angular/global/mer.js +4 -4
- app-ng-runtime/locales/angular/global/mfe.js +4 -4
- app-ng-runtime/locales/angular/global/mg.js +4 -4
- app-ng-runtime/locales/angular/global/mgh.js +4 -4
- app-ng-runtime/locales/angular/global/mgo.js +4 -4
- app-ng-runtime/locales/angular/global/mi.js +4 -4
- app-ng-runtime/locales/angular/global/mk.js +4 -4
- app-ng-runtime/locales/angular/global/ml.js +4 -4
- app-ng-runtime/locales/angular/global/mn.js +4 -4
- app-ng-runtime/locales/angular/global/mni-beng.js +4 -4
- app-ng-runtime/locales/angular/global/mni.js +4 -4
- app-ng-runtime/locales/angular/global/mr.js +4 -4
- app-ng-runtime/locales/angular/global/ms-bn.js +4 -4
- app-ng-runtime/locales/angular/global/ms-id.js +4 -4
- app-ng-runtime/locales/angular/global/ms-sg.js +4 -4
- app-ng-runtime/locales/angular/global/ms.js +4 -4
- app-ng-runtime/locales/angular/global/mt.js +4 -4
- app-ng-runtime/locales/angular/global/mua.js +4 -4
- app-ng-runtime/locales/angular/global/my.js +4 -4
- app-ng-runtime/locales/angular/global/mzn.js +4 -4
- app-ng-runtime/locales/angular/global/naq.js +4 -4
- app-ng-runtime/locales/angular/global/nb-sj.js +4 -4
- app-ng-runtime/locales/angular/global/nb.js +4 -4
- app-ng-runtime/locales/angular/global/nd.js +4 -4
- app-ng-runtime/locales/angular/global/nds-nl.js +4 -4
- app-ng-runtime/locales/angular/global/nds.js +4 -4
- app-ng-runtime/locales/angular/global/ne-in.js +4 -4
- app-ng-runtime/locales/angular/global/ne.js +4 -4
- app-ng-runtime/locales/angular/global/nl-aw.js +4 -4
- app-ng-runtime/locales/angular/global/nl-be.js +4 -4
- app-ng-runtime/locales/angular/global/nl-bq.js +4 -4
- app-ng-runtime/locales/angular/global/nl-cw.js +4 -4
- app-ng-runtime/locales/angular/global/nl-sr.js +4 -4
- app-ng-runtime/locales/angular/global/nl-sx.js +4 -4
- app-ng-runtime/locales/angular/global/nl.js +4 -4
- app-ng-runtime/locales/angular/global/nmg.js +4 -4
- app-ng-runtime/locales/angular/global/nn.js +4 -4
- app-ng-runtime/locales/angular/global/nnh.js +4 -4
- app-ng-runtime/locales/angular/global/no.js +4 -4
- app-ng-runtime/locales/angular/global/nus.js +4 -4
- app-ng-runtime/locales/angular/global/nyn.js +4 -4
- app-ng-runtime/locales/angular/global/om-ke.js +4 -4
- app-ng-runtime/locales/angular/global/om.js +4 -4
- app-ng-runtime/locales/angular/global/or.js +4 -4
- app-ng-runtime/locales/angular/global/os-ru.js +4 -4
- app-ng-runtime/locales/angular/global/os.js +4 -4
- app-ng-runtime/locales/angular/global/pa-arab.js +4 -4
- app-ng-runtime/locales/angular/global/pa-guru.js +4 -4
- app-ng-runtime/locales/angular/global/pa.js +4 -4
- app-ng-runtime/locales/angular/global/pcm.js +4 -4
- app-ng-runtime/locales/angular/global/pl.js +4 -4
- app-ng-runtime/locales/angular/global/ps-pk.js +4 -4
- app-ng-runtime/locales/angular/global/ps.js +4 -4
- app-ng-runtime/locales/angular/global/pt-ao.js +4 -4
- app-ng-runtime/locales/angular/global/pt-ch.js +4 -4
- app-ng-runtime/locales/angular/global/pt-cv.js +4 -4
- app-ng-runtime/locales/angular/global/pt-gq.js +4 -4
- app-ng-runtime/locales/angular/global/pt-gw.js +4 -4
- app-ng-runtime/locales/angular/global/pt-lu.js +4 -4
- app-ng-runtime/locales/angular/global/pt-mo.js +4 -4
- app-ng-runtime/locales/angular/global/pt-mz.js +4 -4
- app-ng-runtime/locales/angular/global/pt-pt.js +4 -4
- app-ng-runtime/locales/angular/global/pt-st.js +4 -4
- app-ng-runtime/locales/angular/global/pt-tl.js +4 -4
- app-ng-runtime/locales/angular/global/pt.js +4 -4
- app-ng-runtime/locales/angular/global/qu-bo.js +4 -4
- app-ng-runtime/locales/angular/global/qu-ec.js +4 -4
- app-ng-runtime/locales/angular/global/qu.js +4 -4
- app-ng-runtime/locales/angular/global/rm.js +4 -4
- app-ng-runtime/locales/angular/global/rn.js +4 -4
- app-ng-runtime/locales/angular/global/ro-md.js +4 -4
- app-ng-runtime/locales/angular/global/ro.js +4 -4
- app-ng-runtime/locales/angular/global/rof.js +4 -4
- app-ng-runtime/locales/angular/global/ru-by.js +4 -4
- app-ng-runtime/locales/angular/global/ru-kg.js +4 -4
- app-ng-runtime/locales/angular/global/ru-kz.js +4 -4
- app-ng-runtime/locales/angular/global/ru-md.js +4 -4
- app-ng-runtime/locales/angular/global/ru-ua.js +4 -4
- app-ng-runtime/locales/angular/global/ru.js +4 -4
- app-ng-runtime/locales/angular/global/rw.js +4 -4
- app-ng-runtime/locales/angular/global/rwk.js +4 -4
- app-ng-runtime/locales/angular/global/sa.js +4 -4
- app-ng-runtime/locales/angular/global/sah.js +4 -4
- app-ng-runtime/locales/angular/global/saq.js +4 -4
- app-ng-runtime/locales/angular/global/sat-olck.js +4 -4
- app-ng-runtime/locales/angular/global/sat.js +4 -4
- app-ng-runtime/locales/angular/global/sbp.js +4 -4
- app-ng-runtime/locales/angular/global/sc.js +4 -4
- app-ng-runtime/locales/angular/global/sd-arab.js +4 -4
- app-ng-runtime/locales/angular/global/sd-deva.js +4 -4
- app-ng-runtime/locales/angular/global/sd.js +4 -4
- app-ng-runtime/locales/angular/global/se-fi.js +4 -4
- app-ng-runtime/locales/angular/global/se-se.js +4 -4
- app-ng-runtime/locales/angular/global/se.js +4 -4
- app-ng-runtime/locales/angular/global/seh.js +4 -4
- app-ng-runtime/locales/angular/global/ses.js +4 -4
- app-ng-runtime/locales/angular/global/sg.js +4 -4
- app-ng-runtime/locales/angular/global/shi-latn.js +4 -4
- app-ng-runtime/locales/angular/global/shi-tfng.js +4 -4
- app-ng-runtime/locales/angular/global/shi.js +4 -4
- app-ng-runtime/locales/angular/global/si.js +4 -4
- app-ng-runtime/locales/angular/global/sk.js +4 -4
- app-ng-runtime/locales/angular/global/sl.js +4 -4
- app-ng-runtime/locales/angular/global/smn.js +4 -4
- app-ng-runtime/locales/angular/global/sn.js +4 -4
- app-ng-runtime/locales/angular/global/so-dj.js +4 -4
- app-ng-runtime/locales/angular/global/so-et.js +4 -4
- app-ng-runtime/locales/angular/global/so-ke.js +4 -4
- app-ng-runtime/locales/angular/global/so.js +4 -4
- app-ng-runtime/locales/angular/global/sq-mk.js +4 -4
- app-ng-runtime/locales/angular/global/sq-xk.js +4 -4
- app-ng-runtime/locales/angular/global/sq.js +4 -4
- app-ng-runtime/locales/angular/global/sr-cyrl-ba.js +4 -4
- app-ng-runtime/locales/angular/global/sr-cyrl-me.js +4 -4
- app-ng-runtime/locales/angular/global/sr-cyrl-xk.js +4 -4
- app-ng-runtime/locales/angular/global/sr-cyrl.js +4 -4
- app-ng-runtime/locales/angular/global/sr-latn-ba.js +4 -4
- app-ng-runtime/locales/angular/global/sr-latn-me.js +4 -4
- app-ng-runtime/locales/angular/global/sr-latn-xk.js +4 -4
- app-ng-runtime/locales/angular/global/sr-latn.js +4 -4
- app-ng-runtime/locales/angular/global/sr.js +4 -4
- app-ng-runtime/locales/angular/global/su-latn.js +4 -4
- app-ng-runtime/locales/angular/global/su.js +4 -4
- app-ng-runtime/locales/angular/global/sv-ax.js +4 -4
- app-ng-runtime/locales/angular/global/sv-fi.js +4 -4
- app-ng-runtime/locales/angular/global/sv.js +4 -4
- app-ng-runtime/locales/angular/global/sw-cd.js +4 -4
- app-ng-runtime/locales/angular/global/sw-ke.js +4 -4
- app-ng-runtime/locales/angular/global/sw-ug.js +4 -4
- app-ng-runtime/locales/angular/global/sw.js +4 -4
- app-ng-runtime/locales/angular/global/ta-lk.js +4 -4
- app-ng-runtime/locales/angular/global/ta-my.js +4 -4
- app-ng-runtime/locales/angular/global/ta-sg.js +4 -4
- app-ng-runtime/locales/angular/global/ta.js +4 -4
- app-ng-runtime/locales/angular/global/te.js +4 -4
- app-ng-runtime/locales/angular/global/teo-ke.js +4 -4
- app-ng-runtime/locales/angular/global/teo.js +4 -4
- app-ng-runtime/locales/angular/global/tg.js +4 -4
- app-ng-runtime/locales/angular/global/th.js +4 -4
- app-ng-runtime/locales/angular/global/ti-er.js +4 -4
- app-ng-runtime/locales/angular/global/ti.js +4 -4
- app-ng-runtime/locales/angular/global/tk.js +4 -4
- app-ng-runtime/locales/angular/global/to.js +4 -4
- app-ng-runtime/locales/angular/global/tr-cy.js +4 -4
- app-ng-runtime/locales/angular/global/tr.js +4 -4
- app-ng-runtime/locales/angular/global/tt.js +4 -4
- app-ng-runtime/locales/angular/global/twq.js +4 -4
- app-ng-runtime/locales/angular/global/tzm.js +4 -4
- app-ng-runtime/locales/angular/global/ug.js +4 -4
- app-ng-runtime/locales/angular/global/uk.js +4 -4
- app-ng-runtime/locales/angular/global/und.js +4 -4
- app-ng-runtime/locales/angular/global/ur-in.js +4 -4
- app-ng-runtime/locales/angular/global/ur.js +4 -4
- app-ng-runtime/locales/angular/global/uz-arab.js +4 -4
- app-ng-runtime/locales/angular/global/uz-cyrl.js +4 -4
- app-ng-runtime/locales/angular/global/uz-latn.js +4 -4
- app-ng-runtime/locales/angular/global/uz.js +4 -4
- app-ng-runtime/locales/angular/global/vai-latn.js +4 -4
- app-ng-runtime/locales/angular/global/vai-vaii.js +4 -4
- app-ng-runtime/locales/angular/global/vai.js +4 -4
- app-ng-runtime/locales/angular/global/vi.js +4 -4
- app-ng-runtime/locales/angular/global/vun.js +4 -4
- app-ng-runtime/locales/angular/global/wae.js +4 -4
- app-ng-runtime/locales/angular/global/wo.js +4 -4
- app-ng-runtime/locales/angular/global/xh.js +4 -4
- app-ng-runtime/locales/angular/global/xog.js +4 -4
- app-ng-runtime/locales/angular/global/yav.js +4 -4
- app-ng-runtime/locales/angular/global/yi.js +4 -4
- app-ng-runtime/locales/angular/global/yo-bj.js +4 -4
- app-ng-runtime/locales/angular/global/yo.js +4 -4
- app-ng-runtime/locales/angular/global/yrl-co.js +4 -4
- app-ng-runtime/locales/angular/global/yrl-ve.js +4 -4
- app-ng-runtime/locales/angular/global/yrl.js +4 -4
- app-ng-runtime/locales/angular/global/yue-hans.js +4 -4
- app-ng-runtime/locales/angular/global/yue-hant.js +4 -4
- app-ng-runtime/locales/angular/global/yue.js +4 -4
- app-ng-runtime/locales/angular/global/zgh.js +4 -4
- app-ng-runtime/locales/angular/global/zh-hans-hk.js +4 -4
- app-ng-runtime/locales/angular/global/zh-hans-mo.js +4 -4
- app-ng-runtime/locales/angular/global/zh-hans-sg.js +4 -4
- app-ng-runtime/locales/angular/global/zh-hans.js +4 -4
- app-ng-runtime/locales/angular/global/zh-hant-hk.js +4 -4
- app-ng-runtime/locales/angular/global/zh-hant-mo.js +4 -4
- app-ng-runtime/locales/angular/global/zh-hant.js +4 -4
- app-ng-runtime/locales/angular/global/zh.js +4 -4
- app-ng-runtime/locales/angular/global/zu.js +4 -4
- app-ng-runtime/mobile/components/basic/default/bundles/index.umd.js +143 -148
- app-ng-runtime/mobile/components/basic/default/esm2022/anchor/anchor.directive.mjs +7 -8
- app-ng-runtime/mobile/components/basic/default/esm2022/app-update/app-update.component.mjs +6 -7
- app-ng-runtime/mobile/components/basic/default/esm2022/basic.module.mjs +2 -2
- app-ng-runtime/mobile/components/basic/default/esm2022/file-browser/file-browser.component.mjs +43 -47
- app-ng-runtime/mobile/components/basic/default/esm2022/file-browser/file-selector.service.mjs +5 -7
- app-ng-runtime/mobile/components/basic/default/esm2022/image-cache/image-cache.directive.mjs +5 -6
- app-ng-runtime/mobile/components/basic/default/esm2022/network-info-toaster/network-info-toaster.component.mjs +47 -49
- app-ng-runtime/mobile/components/basic/default/esm2022/process-manager/process-management.service.mjs +2 -2
- app-ng-runtime/mobile/components/basic/default/esm2022/process-manager/process-manager.component.mjs +32 -31
- app-ng-runtime/mobile/components/basic/default/fesm2022/index.mjs +140 -146
- app-ng-runtime/mobile/components/basic/default/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/basic/default/network-info-toaster/network-info-toaster.component.d.ts +2 -2
- app-ng-runtime/mobile/components/basic/search/bundles/index.umd.js +3 -3
- app-ng-runtime/mobile/components/basic/search/esm2022/search.directive.mjs +3 -3
- app-ng-runtime/mobile/components/basic/search/esm2022/search.module.mjs +2 -2
- app-ng-runtime/mobile/components/basic/search/fesm2022/index.mjs +3 -3
- app-ng-runtime/mobile/components/basic/search/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/containers/segmented-control/bundles/index.umd.js +30 -42
- app-ng-runtime/mobile/components/containers/segmented-control/esm2022/segment-content/segment-content.component.mjs +8 -14
- app-ng-runtime/mobile/components/containers/segmented-control/esm2022/segmented-control.component.mjs +21 -28
- app-ng-runtime/mobile/components/containers/segmented-control/esm2022/segmented-control.module.mjs +2 -2
- app-ng-runtime/mobile/components/containers/segmented-control/fesm2022/index.mjs +28 -41
- app-ng-runtime/mobile/components/containers/segmented-control/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/containers/segmented-control/segment-content/segment-content.component.d.ts +2 -2
- app-ng-runtime/mobile/components/containers/segmented-control/segmented-control.component.d.ts +2 -2
- app-ng-runtime/mobile/components/data/media-list/bundles/index.umd.js +48 -53
- app-ng-runtime/mobile/components/data/media-list/esm2022/media-list-item/media-list-item.directive.mjs +2 -2
- app-ng-runtime/mobile/components/data/media-list/esm2022/media-list.component.mjs +42 -48
- app-ng-runtime/mobile/components/data/media-list/esm2022/media-list.module.mjs +2 -2
- app-ng-runtime/mobile/components/data/media-list/fesm2022/index.mjs +44 -50
- app-ng-runtime/mobile/components/data/media-list/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/data/media-list/media-list.component.d.ts +2 -2
- app-ng-runtime/mobile/components/device/barcode-scanner/barcode-scanner.component.d.ts +2 -2
- app-ng-runtime/mobile/components/device/barcode-scanner/bundles/index.umd.js +8 -14
- app-ng-runtime/mobile/components/device/barcode-scanner/esm2022/barcode-scanner.component.mjs +9 -15
- app-ng-runtime/mobile/components/device/barcode-scanner/esm2022/barcode-scanner.module.mjs +2 -2
- app-ng-runtime/mobile/components/device/barcode-scanner/fesm2022/index.mjs +10 -16
- app-ng-runtime/mobile/components/device/barcode-scanner/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/device/camera/bundles/index.umd.js +9 -15
- app-ng-runtime/mobile/components/device/camera/camera.component.d.ts +2 -2
- app-ng-runtime/mobile/components/device/camera/esm2022/camera.component.mjs +10 -16
- app-ng-runtime/mobile/components/device/camera/esm2022/camera.module.mjs +2 -2
- app-ng-runtime/mobile/components/device/camera/fesm2022/index.mjs +11 -17
- app-ng-runtime/mobile/components/device/camera/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/input/file-upload/bundles/index.umd.js +3 -3
- app-ng-runtime/mobile/components/input/file-upload/esm2022/file-upload.directive.mjs +3 -3
- app-ng-runtime/mobile/components/input/file-upload/esm2022/file-upload.module.mjs +2 -2
- app-ng-runtime/mobile/components/input/file-upload/fesm2022/index.mjs +3 -3
- app-ng-runtime/mobile/components/input/file-upload/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/page/default/bundles/index.umd.js +10 -11
- app-ng-runtime/mobile/components/page/default/esm2022/page-content-loader/page-content-loader.component.mjs +3 -4
- app-ng-runtime/mobile/components/page/default/esm2022/page.directive.mjs +4 -5
- app-ng-runtime/mobile/components/page/default/esm2022/page.module.mjs +2 -2
- app-ng-runtime/mobile/components/page/default/fesm2022/index.mjs +6 -8
- app-ng-runtime/mobile/components/page/default/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/page/left-panel/bundles/index.umd.js +3 -3
- app-ng-runtime/mobile/components/page/left-panel/esm2022/left-panel.directive.mjs +3 -3
- app-ng-runtime/mobile/components/page/left-panel/esm2022/left-panel.module.mjs +2 -2
- app-ng-runtime/mobile/components/page/left-panel/fesm2022/index.mjs +3 -3
- app-ng-runtime/mobile/components/page/left-panel/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/page/mobile-navbar/bundles/index.umd.js +35 -40
- app-ng-runtime/mobile/components/page/mobile-navbar/esm2022/mobile-navbar.component.mjs +36 -41
- app-ng-runtime/mobile/components/page/mobile-navbar/esm2022/mobile-navbar.module.mjs +2 -2
- app-ng-runtime/mobile/components/page/mobile-navbar/fesm2022/index.mjs +36 -41
- app-ng-runtime/mobile/components/page/mobile-navbar/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/page/mobile-navbar/mobile-navbar.component.d.ts +2 -2
- app-ng-runtime/mobile/components/page/tab-bar/bundles/index.umd.js +46 -52
- app-ng-runtime/mobile/components/page/tab-bar/esm2022/tab-bar.module.mjs +2 -2
- app-ng-runtime/mobile/components/page/tab-bar/esm2022/tabbar.component.mjs +43 -50
- app-ng-runtime/mobile/components/page/tab-bar/fesm2022/index.mjs +44 -51
- app-ng-runtime/mobile/components/page/tab-bar/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/page/tab-bar/tabbar.component.d.ts +2 -2
- app-ng-runtime/mobile/core/bundles/index.umd.js +43 -43
- app-ng-runtime/mobile/core/esm2022/core.module.mjs +3 -3
- app-ng-runtime/mobile/core/esm2022/native.xhr.mjs +1 -1
- app-ng-runtime/mobile/core/esm2022/services/device-file-cache.service.mjs +3 -3
- app-ng-runtime/mobile/core/esm2022/services/device-file-download.service.mjs +6 -7
- app-ng-runtime/mobile/core/esm2022/services/device-file-opener.service.mjs +4 -5
- app-ng-runtime/mobile/core/esm2022/services/device-file-upload.service.mjs +5 -6
- app-ng-runtime/mobile/core/esm2022/services/device-file.service.mjs +7 -8
- app-ng-runtime/mobile/core/esm2022/services/device.service.mjs +4 -5
- app-ng-runtime/mobile/core/esm2022/services/ext-app-message.service.mjs +6 -7
- app-ng-runtime/mobile/core/esm2022/services/network.service.mjs +10 -11
- app-ng-runtime/mobile/core/fesm2022/index.mjs +39 -40
- app-ng-runtime/mobile/core/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/core/services/ext-app-message.service.d.ts +1 -1
- app-ng-runtime/mobile/core/services/network.service.d.ts +1 -7
- app-ng-runtime/mobile/offline/bundles/index.umd.js +159 -176
- app-ng-runtime/mobile/offline/esm2022/models/local-db-store.mjs +21 -23
- app-ng-runtime/mobile/offline/esm2022/offline.module.mjs +3 -3
- app-ng-runtime/mobile/offline/esm2022/services/change-log.service.mjs +8 -9
- app-ng-runtime/mobile/offline/esm2022/services/local-db-data-pull.service.mjs +37 -39
- app-ng-runtime/mobile/offline/esm2022/services/local-db-management.service.mjs +47 -56
- app-ng-runtime/mobile/offline/esm2022/services/local-db.service.mjs +6 -7
- app-ng-runtime/mobile/offline/esm2022/services/local-key-value.service.mjs +2 -2
- app-ng-runtime/mobile/offline/esm2022/services/push.service.mjs +3 -3
- app-ng-runtime/mobile/offline/esm2022/services/workers/error-blocker.mjs +3 -4
- app-ng-runtime/mobile/offline/esm2022/services/workers/file-handler.mjs +13 -18
- app-ng-runtime/mobile/offline/esm2022/services/workers/id-resolver.mjs +3 -3
- app-ng-runtime/mobile/offline/esm2022/services/workers/multi-part-param-transformer.mjs +5 -9
- app-ng-runtime/mobile/offline/esm2022/utils/file-upload.utils.mjs +1 -1
- app-ng-runtime/mobile/offline/esm2022/utils/live-variable.utils.mjs +11 -12
- app-ng-runtime/mobile/offline/esm2022/utils/query-executor.utils.mjs +4 -5
- app-ng-runtime/mobile/offline/esm2022/utils/security.utils.mjs +2 -3
- app-ng-runtime/mobile/offline/esm2022/utils/utils.mjs +1 -1
- app-ng-runtime/mobile/offline/fesm2022/index.mjs +153 -171
- app-ng-runtime/mobile/offline/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/placeholder/runtime/bundles/index.umd.js +2 -3
- app-ng-runtime/mobile/placeholder/runtime/esm2022/components/app-ext.component.mjs +2 -3
- app-ng-runtime/mobile/placeholder/runtime/esm2022/mobile-runtime.module.mjs +2 -2
- app-ng-runtime/mobile/placeholder/runtime/fesm2022/index.mjs +2 -3
- app-ng-runtime/mobile/placeholder/runtime/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/placeholder/runtime-dynamic/bundles/index.umd.js +1 -1
- app-ng-runtime/mobile/placeholder/runtime-dynamic/esm2022/mobile-runtime-dynamic.module.mjs +2 -2
- app-ng-runtime/mobile/placeholder/runtime-dynamic/fesm2022/index.mjs +1 -1
- app-ng-runtime/mobile/placeholder/runtime-dynamic/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/runtime/bundles/index.umd.js +17 -21
- app-ng-runtime/mobile/runtime/esm2022/components/app-ext.component.mjs +3 -4
- app-ng-runtime/mobile/runtime/esm2022/mobile-runtime.module.mjs +4 -5
- app-ng-runtime/mobile/runtime/esm2022/services/cookie.service.mjs +3 -7
- app-ng-runtime/mobile/runtime/esm2022/services/http-interceptor.service.mjs +5 -6
- app-ng-runtime/mobile/runtime/esm2022/services/webprocess.service.mjs +3 -3
- app-ng-runtime/mobile/runtime/fesm2022/index.mjs +13 -18
- app-ng-runtime/mobile/runtime/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/runtime-dynamic/bundles/index.umd.js +5 -5
- app-ng-runtime/mobile/runtime-dynamic/esm2022/mobile-runtime-dynamic.module.mjs +2 -2
- app-ng-runtime/mobile/runtime-dynamic/esm2022/services/live-sync.service.mjs +5 -5
- app-ng-runtime/mobile/runtime-dynamic/fesm2022/index.mjs +5 -5
- app-ng-runtime/mobile/runtime-dynamic/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/variables/bundles/index.umd.js +21 -28
- app-ng-runtime/mobile/variables/esm2022/services/camera-service.mjs +5 -5
- app-ng-runtime/mobile/variables/esm2022/services/contacts-service.mjs +1 -1
- app-ng-runtime/mobile/variables/esm2022/services/datasync-service.mjs +9 -10
- app-ng-runtime/mobile/variables/esm2022/services/device-service/device-service.mjs +1 -1
- app-ng-runtime/mobile/variables/esm2022/services/device-service/location-service.mjs +1 -1
- app-ng-runtime/mobile/variables/esm2022/services/file-service.mjs +3 -11
- app-ng-runtime/mobile/variables/esm2022/services/scan-service.mjs +1 -1
- app-ng-runtime/mobile/variables/esm2022/variables.module.mjs +3 -3
- app-ng-runtime/mobile/variables/fesm2022/index.mjs +16 -24
- app-ng-runtime/mobile/variables/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/oAuth/bundles/index.umd.js +15 -15
- app-ng-runtime/oAuth/esm2022/oAuth.module.mjs +2 -2
- app-ng-runtime/oAuth/esm2022/oAuth.service.mjs +5 -6
- app-ng-runtime/oAuth/esm2022/oAuth.utils.mjs +7 -8
- app-ng-runtime/oAuth/fesm2022/index.mjs +11 -12
- app-ng-runtime/oAuth/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/package.json +1 -1
- app-ng-runtime/runtime/base/bundles/index.umd.js +243 -259
- app-ng-runtime/runtime/base/components/app-component/app.component.d.ts +1 -3
- app-ng-runtime/runtime/base/directives/accessroles.directive.d.ts +3 -4
- app-ng-runtime/runtime/base/esm2022/components/app-component/app.component.mjs +30 -34
- app-ng-runtime/runtime/base/esm2022/components/app-spinner.component.mjs +8 -9
- app-ng-runtime/runtime/base/esm2022/components/base-layout.component.mjs +4 -5
- app-ng-runtime/runtime/base/esm2022/components/base-page.component.mjs +15 -16
- app-ng-runtime/runtime/base/esm2022/components/base-partial.component.mjs +14 -15
- app-ng-runtime/runtime/base/esm2022/components/base-prefab.component.mjs +16 -17
- app-ng-runtime/runtime/base/esm2022/components/base-spa-page.component.mjs +15 -16
- app-ng-runtime/runtime/base/esm2022/components/custom-toaster.component.mjs +15 -17
- app-ng-runtime/runtime/base/esm2022/components/empty-component/empty-page.component.mjs +3 -4
- app-ng-runtime/runtime/base/esm2022/components/prefab-preview.component.mjs +3 -4
- app-ng-runtime/runtime/base/esm2022/directives/accessroles.directive.mjs +16 -24
- app-ng-runtime/runtime/base/esm2022/directives/prefab.directive.mjs +4 -4
- app-ng-runtime/runtime/base/esm2022/guards/auth.guard.mjs +3 -3
- app-ng-runtime/runtime/base/esm2022/guards/can-deactivate-page.guard.mjs +3 -3
- app-ng-runtime/runtime/base/esm2022/guards/page-not-found.guard.mjs +3 -3
- app-ng-runtime/runtime/base/esm2022/guards/role.guard.mjs +4 -5
- app-ng-runtime/runtime/base/esm2022/overrides/wm_dom_renderer.mjs +4 -4
- app-ng-runtime/runtime/base/esm2022/overrides/wm_shared_styles_host.mjs +5 -5
- app-ng-runtime/runtime/base/esm2022/resolves/app-extension.resolve.mjs +3 -3
- app-ng-runtime/runtime/base/esm2022/resolves/app-js.resolve.mjs +3 -3
- app-ng-runtime/runtime/base/esm2022/resolves/app-variables.resolve.mjs +3 -3
- app-ng-runtime/runtime/base/esm2022/resolves/i18n.resolve.mjs +3 -3
- app-ng-runtime/runtime/base/esm2022/resolves/metadata.resolve.mjs +3 -3
- app-ng-runtime/runtime/base/esm2022/resolves/security-config.resolve.mjs +3 -3
- app-ng-runtime/runtime/base/esm2022/runtime-base.module.mjs +3 -3
- app-ng-runtime/runtime/base/esm2022/services/app-defaults.service.mjs +3 -3
- app-ng-runtime/runtime/base/esm2022/services/app.manager.service.mjs +16 -19
- app-ng-runtime/runtime/base/esm2022/services/app.service.mjs +8 -9
- app-ng-runtime/runtime/base/esm2022/services/dynamic-component-ref-provider.service.mjs +4 -5
- app-ng-runtime/runtime/base/esm2022/services/http-interceptor.services.mjs +5 -6
- app-ng-runtime/runtime/base/esm2022/services/i18n.service.mjs +13 -15
- app-ng-runtime/runtime/base/esm2022/services/navigation.service.mjs +9 -10
- app-ng-runtime/runtime/base/esm2022/services/pipe-provider.service.mjs +3 -3
- app-ng-runtime/runtime/base/esm2022/services/pipe.service.mjs +3 -3
- app-ng-runtime/runtime/base/esm2022/services/prefab-manager.service.mjs +4 -5
- app-ng-runtime/runtime/base/esm2022/services/spinner.service.mjs +8 -9
- app-ng-runtime/runtime/base/esm2022/services/toaster.service.mjs +7 -8
- app-ng-runtime/runtime/base/esm2022/util/fragment-monitor.mjs +3 -3
- app-ng-runtime/runtime/base/esm2022/util/wm-route-reuse-strategy.mjs +8 -7
- app-ng-runtime/runtime/base/fesm2022/index.mjs +252 -269
- app-ng-runtime/runtime/base/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/runtime/base/overrides/wm_dom_renderer.d.ts +2 -2
- app-ng-runtime/runtime/base/services/i18n.service.d.ts +1 -1
- app-ng-runtime/runtime/dynamic/bundles/index.umd.js +21 -22
- app-ng-runtime/runtime/dynamic/esm2022/app/app.module.mjs +1 -1
- app-ng-runtime/runtime/dynamic/esm2022/app/components/page-wrapper.component.mjs +3 -4
- app-ng-runtime/runtime/dynamic/esm2022/app/services/app-extension.service.mjs +3 -3
- app-ng-runtime/runtime/dynamic/esm2022/app/services/app-js-provider.service.mjs +3 -3
- app-ng-runtime/runtime/dynamic/esm2022/app/services/app-resource-manager.service.mjs +3 -3
- app-ng-runtime/runtime/dynamic/esm2022/app/services/app-variables-provider.service.mjs +3 -3
- app-ng-runtime/runtime/dynamic/esm2022/app/services/component-ref-provider.service.mjs +5 -6
- app-ng-runtime/runtime/dynamic/esm2022/app/services/prefab-config-provider.service.mjs +3 -3
- app-ng-runtime/runtime/dynamic/esm2022/main.mjs +2 -3
- app-ng-runtime/runtime/dynamic/fesm2022/index.mjs +19 -21
- app-ng-runtime/runtime/dynamic/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/scripts/datatable/datatable.js +2 -3
- app-ng-runtime/scripts/jquery-ui/ui/widgets/droppable.js +7 -7
- app-ng-runtime/scripts/jquery-ui/ui/widgets/resizable.js +10 -13
- app-ng-runtime/scripts/jquery-ui/ui/widgets/sortable.js +7 -7
- app-ng-runtime/security/bundles/index.umd.js +17 -17
- app-ng-runtime/security/esm2022/security.module.mjs +2 -2
- app-ng-runtime/security/esm2022/security.service.mjs +13 -14
- app-ng-runtime/security/fesm2022/index.mjs +13 -14
- app-ng-runtime/security/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/security/security.service.d.ts +1 -1
- app-ng-runtime/swipey/esm2022/swipe.animation.mjs +1 -1
- app-ng-runtime/swipey/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/transpiler/bundles/index.umd.js +9 -10
- app-ng-runtime/transpiler/esm2022/build.mjs +6 -8
- app-ng-runtime/transpiler/fesm2022/index.mjs +5 -7
- app-ng-runtime/transpiler/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/variables/bundles/index.umd.js +150 -160
- app-ng-runtime/variables/esm2022/factory/variable.factory.mjs +1 -1
- app-ng-runtime/variables/esm2022/manager/action/login-action.manager.mjs +14 -15
- app-ng-runtime/variables/esm2022/manager/action/logout-action.manager.mjs +1 -1
- app-ng-runtime/variables/esm2022/manager/action/notification-action.manager.mjs +8 -9
- app-ng-runtime/variables/esm2022/manager/variable/base-variable.manager.mjs +2 -3
- app-ng-runtime/variables/esm2022/manager/variable/device-variable-manager.mjs +1 -1
- app-ng-runtime/variables/esm2022/manager/variable/device-variable-service.mjs +1 -1
- app-ng-runtime/variables/esm2022/manager/variable/web-socket-variable.manager.mjs +10 -11
- app-ng-runtime/variables/esm2022/model/action/notification-action.mjs +1 -1
- app-ng-runtime/variables/esm2022/service/metadata-service/metadata.service.mjs +3 -3
- app-ng-runtime/variables/esm2022/service/variables.service.mjs +8 -9
- app-ng-runtime/variables/esm2022/util/action/navigation-action.utils.mjs +4 -4
- app-ng-runtime/variables/esm2022/util/variable/pagination.utils.mjs +23 -30
- app-ng-runtime/variables/esm2022/util/variable/service-variable.utils.mjs +28 -29
- app-ng-runtime/variables/esm2022/util/variable/variables.utils.mjs +70 -75
- app-ng-runtime/variables/esm2022/variables.module.mjs +2 -2
- app-ng-runtime/variables/fesm2022/index.mjs +163 -174
- app-ng-runtime/variables/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/variables/util/variable/service-variable.utils.d.ts +1 -1
- app-ng-runtime/build-task/.npmignore +0 -2
- app-ng-runtime/components/advanced/carousel/.npmignore +0 -2
- app-ng-runtime/components/advanced/login/.npmignore +0 -2
- app-ng-runtime/components/advanced/marquee/.npmignore +0 -2
- app-ng-runtime/components/base/.npmignore +0 -2
- app-ng-runtime/components/basic/default/.npmignore +0 -2
- app-ng-runtime/components/basic/progress/.npmignore +0 -2
- app-ng-runtime/components/basic/rich-text-editor/.npmignore +0 -2
- app-ng-runtime/components/basic/search/.npmignore +0 -2
- app-ng-runtime/components/basic/tree/.npmignore +0 -2
- app-ng-runtime/components/chart/.npmignore +0 -2
- app-ng-runtime/components/containers/accordion/.npmignore +0 -2
- app-ng-runtime/components/containers/layout-grid/.npmignore +0 -2
- app-ng-runtime/components/containers/linear-layout/.npmignore +0 -2
- app-ng-runtime/components/containers/panel/.npmignore +0 -2
- app-ng-runtime/components/containers/tabs/.npmignore +0 -2
- app-ng-runtime/components/containers/tile/.npmignore +0 -2
- app-ng-runtime/components/containers/wizard/.npmignore +0 -2
- app-ng-runtime/components/data/card/.npmignore +0 -2
- app-ng-runtime/components/data/form/.npmignore +0 -2
- app-ng-runtime/components/data/list/.npmignore +0 -2
- app-ng-runtime/components/data/live-table/.npmignore +0 -2
- app-ng-runtime/components/data/pagination/.npmignore +0 -2
- app-ng-runtime/components/data/table/.npmignore +0 -2
- app-ng-runtime/components/dialogs/alert-dialog/.npmignore +0 -2
- app-ng-runtime/components/dialogs/confirm-dialog/.npmignore +0 -2
- app-ng-runtime/components/dialogs/default/.npmignore +0 -2
- app-ng-runtime/components/dialogs/design-dialog/.npmignore +0 -2
- app-ng-runtime/components/dialogs/iframe-dialog/.npmignore +0 -2
- app-ng-runtime/components/dialogs/login-dialog/.npmignore +0 -2
- app-ng-runtime/components/dialogs/partial-dialog/.npmignore +0 -2
- app-ng-runtime/components/input/calendar/.npmignore +0 -2
- app-ng-runtime/components/input/chips/.npmignore +0 -2
- app-ng-runtime/components/input/color-picker/.npmignore +0 -2
- app-ng-runtime/components/input/currency/.npmignore +0 -2
- app-ng-runtime/components/input/default/.npmignore +0 -2
- app-ng-runtime/components/input/epoch/.npmignore +0 -2
- app-ng-runtime/components/input/file-upload/.npmignore +0 -2
- app-ng-runtime/components/input/rating/.npmignore +0 -2
- app-ng-runtime/components/input/slider/.npmignore +0 -2
- app-ng-runtime/components/navigation/breadcrumb/.npmignore +0 -2
- app-ng-runtime/components/navigation/menu/.npmignore +0 -2
- app-ng-runtime/components/navigation/navbar/.npmignore +0 -2
- app-ng-runtime/components/navigation/popover/.npmignore +0 -2
- app-ng-runtime/components/page/default/.npmignore +0 -2
- app-ng-runtime/components/page/footer/.npmignore +0 -2
- app-ng-runtime/components/page/header/.npmignore +0 -2
- app-ng-runtime/components/page/left-panel/.npmignore +0 -2
- app-ng-runtime/components/page/right-panel/.npmignore +0 -2
- app-ng-runtime/components/page/top-nav/.npmignore +0 -2
- app-ng-runtime/components/prefab/.npmignore +0 -2
- app-ng-runtime/core/.npmignore +0 -2
- app-ng-runtime/core/esm2022/services/custom-icons-loader.service.mjs +0 -26
- app-ng-runtime/core/services/custom-icons-loader.service.d.ts +0 -7
- app-ng-runtime/http/.npmignore +0 -2
- app-ng-runtime/mobile/components/basic/default/.npmignore +0 -2
- app-ng-runtime/mobile/components/basic/search/.npmignore +0 -2
- app-ng-runtime/mobile/components/containers/segmented-control/.npmignore +0 -2
- app-ng-runtime/mobile/components/data/media-list/.npmignore +0 -2
- app-ng-runtime/mobile/components/device/barcode-scanner/.npmignore +0 -2
- app-ng-runtime/mobile/components/device/camera/.npmignore +0 -2
- app-ng-runtime/mobile/components/input/file-upload/.npmignore +0 -2
- app-ng-runtime/mobile/components/page/default/.npmignore +0 -2
- app-ng-runtime/mobile/components/page/left-panel/.npmignore +0 -2
- app-ng-runtime/mobile/components/page/mobile-navbar/.npmignore +0 -2
- app-ng-runtime/mobile/components/page/tab-bar/.npmignore +0 -2
- app-ng-runtime/mobile/core/.npmignore +0 -2
- app-ng-runtime/mobile/offline/.npmignore +0 -2
- app-ng-runtime/mobile/placeholder/runtime/.npmignore +0 -2
- app-ng-runtime/mobile/placeholder/runtime-dynamic/.npmignore +0 -2
- app-ng-runtime/mobile/runtime/.npmignore +0 -2
- app-ng-runtime/mobile/runtime-dynamic/.npmignore +0 -2
- app-ng-runtime/mobile/variables/.npmignore +0 -2
- app-ng-runtime/oAuth/.npmignore +0 -2
- app-ng-runtime/runtime/base/.npmignore +0 -2
- app-ng-runtime/runtime/dynamic/.npmignore +0 -2
- app-ng-runtime/security/.npmignore +0 -2
- app-ng-runtime/swipey/.npmignore +0 -2
- app-ng-runtime/transpiler/.npmignore +0 -2
- app-ng-runtime/variables/.npmignore +0 -2
|
@@ -1,17 +1,16 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { ViewContainerRef, Directive, Optional, HostBinding, HostListener, Input, Component, Attribute,
|
|
2
|
+
import { ViewContainerRef, Directive, Optional, HostBinding, HostListener, Input, Component, Attribute, ContentChild, ContentChildren, ViewChild, ViewChildren, NgModule } from '@angular/core';
|
|
3
3
|
import * as i1$1 from '@angular/common';
|
|
4
4
|
import { CommonModule } from '@angular/common';
|
|
5
5
|
import * as i1 from '@wm/components/base';
|
|
6
|
-
import { PROP_BOOLEAN, PROP_STRING, PROP_ANY, PROP_NUMBER,
|
|
6
|
+
import { register, PROP_BOOLEAN, PROP_STRING, PROP_ANY, PROP_NUMBER, StylableComponent, styler, APPLY_STYLES_TYPE, extractDataSourceName, NAVIGATION_TYPE, getOrderedDataset, groupData, unsupportedStatePersistenceTypes, DEBOUNCE_TIMES, configureDnD, handleHeaderClick, toggleAllHeaders, provideAsWidgetRef, WmComponentsModule } from '@wm/components/base';
|
|
7
7
|
import * as i2$1 from '@wm/components/data/pagination';
|
|
8
8
|
import { PaginationComponent, PaginationModule } from '@wm/components/data/pagination';
|
|
9
9
|
import * as i2 from '@wm/core';
|
|
10
|
-
import { isMobileApp, $watch,
|
|
10
|
+
import { isMobileApp, $watch, getClonedObject, isDefined, $appDigest, noop, generateGUId, $invokeWatchers, DataSource, isDataSourceEqual, isObject, isMobile, switchClass, setListClass, isNumber } from '@wm/core';
|
|
11
11
|
import { ButtonComponent } from '@wm/components/input';
|
|
12
12
|
import { Subject } from 'rxjs';
|
|
13
13
|
import { SwipeAnimation } from '@swipey';
|
|
14
|
-
import { reduce, map, get, isEmpty, isArray, forEach, isEqual, isUndefined, includes, last, cloneDeep, isString, has, clone, remove, some, pullAllWith, toNumber, min, max, pullAt, isNumber } from 'lodash-es';
|
|
15
14
|
|
|
16
15
|
const registerProps = () => {
|
|
17
16
|
register('wm-list', new Map([
|
|
@@ -95,10 +94,6 @@ class ListItemDirective {
|
|
|
95
94
|
this.destroy$ = this.destroy.asObservable();
|
|
96
95
|
this.itemClass = '';
|
|
97
96
|
this._currentItemWidgets = {};
|
|
98
|
-
/**
|
|
99
|
-
* To avoid re-rendering of widget, passing unique id as contextKey to createCustomInjector
|
|
100
|
-
*/
|
|
101
|
-
this.trackId = widgetIdGenerator.nextUid();
|
|
102
97
|
this.isActive = false;
|
|
103
98
|
this.disableItem = false;
|
|
104
99
|
this.viewContainerRef = inj.get(ViewContainerRef);
|
|
@@ -173,15 +168,15 @@ class ListItemDirective {
|
|
|
173
168
|
i0.ɵɵclassProp("active", ctx.isActive)("disable-item", ctx.disableItem);
|
|
174
169
|
} }, inputs: { wmListItem: "wmListItem" }, exportAs: ["listItemRef"] }); }
|
|
175
170
|
}
|
|
176
|
-
(()
|
|
171
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ListItemDirective, [{
|
|
177
172
|
type: Directive,
|
|
178
173
|
args: [{
|
|
179
174
|
selector: '[wmListItem]',
|
|
180
175
|
exportAs: 'listItemRef'
|
|
181
176
|
}]
|
|
182
|
-
}], ()
|
|
177
|
+
}], function () { return [{ type: i0.Injector }, { type: i0.ElementRef }, { type: i2.App }, { type: ListComponent, decorators: [{
|
|
183
178
|
type: Optional
|
|
184
|
-
}] }], { isActive: [{
|
|
179
|
+
}] }]; }, { isActive: [{
|
|
185
180
|
type: HostBinding,
|
|
186
181
|
args: ['class.active']
|
|
187
182
|
}], disableItem: [{
|
|
@@ -223,7 +218,7 @@ class ListAnimator extends SwipeAnimation {
|
|
|
223
218
|
}
|
|
224
219
|
// Returns the total width occupied by all the children inside the element
|
|
225
220
|
computeTotalChildrenWidth($ele) {
|
|
226
|
-
return reduce($ele.children(), (totalWidth, el) => {
|
|
221
|
+
return _.reduce($ele.children(), (totalWidth, el) => {
|
|
227
222
|
return totalWidth + $(el).outerWidth();
|
|
228
223
|
}, 0);
|
|
229
224
|
}
|
|
@@ -232,8 +227,7 @@ class ListAnimator extends SwipeAnimation {
|
|
|
232
227
|
const totalWidth = this.computeTotalChildrenWidth($ele);
|
|
233
228
|
const reverse = this.position === 'right';
|
|
234
229
|
let d = 0;
|
|
235
|
-
|
|
236
|
-
return map($ele.children(), e => {
|
|
230
|
+
return _.map($ele.children(), e => {
|
|
237
231
|
const f = (totalWidth - d) / totalWidth;
|
|
238
232
|
d += $(e).outerWidth();
|
|
239
233
|
return reverse ? f : (d / totalWidth);
|
|
@@ -429,32 +423,30 @@ const _c0 = ["listTemplate"];
|
|
|
429
423
|
const _c1 = ["listLeftActionTemplate"];
|
|
430
424
|
const _c2 = ["listRightActionTemplate"];
|
|
431
425
|
const _c3 = ["wmList", ""];
|
|
432
|
-
const _c4 = a0 => ({ "disabled": a0 });
|
|
433
|
-
const _c5 = (a0, a1, a2, a3, a4, a5) => ({ item: a0, $index: a1, itemRef: a2, $first: a3, $last: a4, currentItemWidgets: a5 });
|
|
434
|
-
const _c6 = a0 => ({ "collapsible-content": a0 });
|
|
435
426
|
function ListComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
436
|
-
i0.ɵɵelementStart(0, "div",
|
|
437
|
-
i0.ɵɵelement(3, "i",
|
|
427
|
+
i0.ɵɵelementStart(0, "div", 13)(1, "h3", 14)(2, "div", 15);
|
|
428
|
+
i0.ɵɵelement(3, "i", 16);
|
|
438
429
|
i0.ɵɵelementEnd();
|
|
439
|
-
i0.ɵɵelementStart(4, "div",
|
|
440
|
-
i0.ɵɵelement(5, "div",
|
|
430
|
+
i0.ɵɵelementStart(4, "div", 15);
|
|
431
|
+
i0.ɵɵelement(5, "div", 17)(6, "div", 18);
|
|
441
432
|
i0.ɵɵelementEnd()()();
|
|
442
433
|
} if (rf & 2) {
|
|
443
|
-
const
|
|
434
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
444
435
|
i0.ɵɵadvance(3);
|
|
445
|
-
i0.ɵɵclassMapInterpolate1("app-icon panel-icon ",
|
|
446
|
-
i0.ɵɵproperty("hidden", !
|
|
436
|
+
i0.ɵɵclassMapInterpolate1("app-icon panel-icon ", ctx_r0.iconclass, "");
|
|
437
|
+
i0.ɵɵproperty("hidden", !ctx_r0.iconclass);
|
|
447
438
|
i0.ɵɵadvance(2);
|
|
448
|
-
i0.ɵɵproperty("innerHTML",
|
|
449
|
-
i0.ɵɵadvance();
|
|
450
|
-
i0.ɵɵproperty("innerHTML",
|
|
439
|
+
i0.ɵɵproperty("innerHTML", ctx_r0.title, i0.ɵɵsanitizeHtml);
|
|
440
|
+
i0.ɵɵadvance(1);
|
|
441
|
+
i0.ɵɵproperty("innerHTML", ctx_r0.subheading, i0.ɵɵsanitizeHtml);
|
|
451
442
|
} }
|
|
443
|
+
const _c4 = function (a0) { return { "disabled": a0 }; };
|
|
452
444
|
function ListComponent_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
453
|
-
const
|
|
454
|
-
i0.ɵɵelementStart(0, "div",
|
|
455
|
-
i0.ɵɵlistener("click", function ListComponent_div_1_Template_a_click_3_listener($event) { i0.ɵɵrestoreView(
|
|
456
|
-
i0.ɵɵelement(4, "i",
|
|
457
|
-
i0.ɵɵelementStart(5, "span",
|
|
445
|
+
const _r13 = i0.ɵɵgetCurrentView();
|
|
446
|
+
i0.ɵɵelementStart(0, "div", 19)(1, "ul", 20)(2, "li", 21)(3, "a", 22);
|
|
447
|
+
i0.ɵɵlistener("click", function ListComponent_div_1_Template_a_click_3_listener($event) { i0.ɵɵrestoreView(_r13); const ctx_r12 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r12.dataNavigator.navigatePage("prev", $event)); });
|
|
448
|
+
i0.ɵɵelement(4, "i", 23);
|
|
449
|
+
i0.ɵɵelementStart(5, "span", 24);
|
|
458
450
|
i0.ɵɵtext(6);
|
|
459
451
|
i0.ɵɵelementEnd()()()()();
|
|
460
452
|
} if (rf & 2) {
|
|
@@ -462,107 +454,108 @@ function ListComponent_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
462
454
|
i0.ɵɵattribute("aria-disabled", ctx_r1.dataNavigator.isDisablePrevious);
|
|
463
455
|
i0.ɵɵadvance(2);
|
|
464
456
|
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c4, ctx_r1.dataNavigator ? ctx_r1.dataNavigator.isDisablePrevious : true));
|
|
465
|
-
i0.ɵɵadvance();
|
|
457
|
+
i0.ɵɵadvance(1);
|
|
466
458
|
i0.ɵɵattribute("aria-disabled", ctx_r1.dataNavigator.isDisablePrevious);
|
|
467
459
|
i0.ɵɵadvance(3);
|
|
468
460
|
i0.ɵɵtextInterpolate1("Go to Previous page ", ctx_r1.dataNavigator.isDisablePrevious ? ", Disabled" : "", "");
|
|
469
461
|
} }
|
|
470
462
|
function ListComponent_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
471
|
-
i0.ɵɵelementStart(0, "div",
|
|
463
|
+
i0.ɵɵelementStart(0, "div", 25);
|
|
472
464
|
i0.ɵɵtext(1);
|
|
473
465
|
i0.ɵɵelementEnd();
|
|
474
466
|
} if (rf & 2) {
|
|
475
|
-
const
|
|
476
|
-
i0.ɵɵadvance();
|
|
477
|
-
i0.ɵɵtextInterpolate1(" ", "Page " +
|
|
467
|
+
const ctx_r2 = i0.ɵɵnextContext();
|
|
468
|
+
i0.ɵɵadvance(1);
|
|
469
|
+
i0.ɵɵtextInterpolate1(" ", "Page " + ctx_r2.dataNavigator.dn.currentPage + " of " + ctx_r2.dataNavigator.pageCount, "");
|
|
478
470
|
} }
|
|
479
471
|
function ListComponent_div_4_Template(rf, ctx) { if (rf & 1) {
|
|
480
|
-
i0.ɵɵelementStart(0, "div",
|
|
472
|
+
i0.ɵɵelementStart(0, "div", 26);
|
|
481
473
|
i0.ɵɵtext(1, " Press space bar to toggle drag drop mode, use arrow keys to move selected elements. ");
|
|
482
474
|
i0.ɵɵelementEnd();
|
|
483
475
|
} if (rf & 2) {
|
|
484
|
-
const
|
|
485
|
-
i0.ɵɵpropertyInterpolate("id",
|
|
476
|
+
const ctx_r3 = i0.ɵɵnextContext();
|
|
477
|
+
i0.ɵɵpropertyInterpolate("id", ctx_r3.titleId);
|
|
486
478
|
} }
|
|
487
479
|
function ListComponent_div_5_Template(rf, ctx) { if (rf & 1) {
|
|
488
|
-
i0.ɵɵelementStart(0, "div",
|
|
480
|
+
i0.ɵɵelementStart(0, "div", 27);
|
|
489
481
|
i0.ɵɵtext(1);
|
|
490
482
|
i0.ɵɵelementEnd();
|
|
491
483
|
} if (rf & 2) {
|
|
492
|
-
const
|
|
493
|
-
i0.ɵɵadvance();
|
|
494
|
-
i0.ɵɵtextInterpolate1(" ",
|
|
484
|
+
const ctx_r4 = i0.ɵɵnextContext();
|
|
485
|
+
i0.ɵɵadvance(1);
|
|
486
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r4.ariaText + ctx_r4.currentIndex + " of " + ctx_r4.listItems.length, " ");
|
|
495
487
|
} }
|
|
488
|
+
const _c5 = function (a0, a1, a2, a3, a4, a5) { return { item: a0, $index: a1, itemRef: a2, $first: a3, $last: a4, currentItemWidgets: a5 }; };
|
|
496
489
|
function ListComponent_ng_template_7_li_0_Template(rf, ctx) { if (rf & 1) {
|
|
497
|
-
i0.ɵɵelementStart(0, "li",
|
|
490
|
+
i0.ɵɵelementStart(0, "li", 29, 30);
|
|
498
491
|
i0.ɵɵelementContainer(2, 31);
|
|
499
492
|
i0.ɵɵelementEnd();
|
|
500
493
|
} if (rf & 2) {
|
|
501
|
-
const
|
|
502
|
-
const $
|
|
503
|
-
const $
|
|
504
|
-
const $
|
|
505
|
-
const
|
|
506
|
-
const
|
|
507
|
-
i0.ɵɵclassMapInterpolate1("app-list-item ",
|
|
508
|
-
i0.ɵɵproperty("ngClass",
|
|
509
|
-
i0.ɵɵattribute("tabindex",
|
|
494
|
+
const item_r15 = ctx.$implicit;
|
|
495
|
+
const $index_r16 = ctx.index;
|
|
496
|
+
const $first_r17 = ctx.first;
|
|
497
|
+
const $last_r18 = ctx.last;
|
|
498
|
+
const _r19 = i0.ɵɵreference(1);
|
|
499
|
+
const ctx_r14 = i0.ɵɵnextContext(2);
|
|
500
|
+
i0.ɵɵclassMapInterpolate1("app-list-item ", ctx_r14.direction === "horizontal" ? "" : ctx_r14.itemsPerRowClass, "");
|
|
501
|
+
i0.ɵɵproperty("ngClass", _r19.itemClass)("wmListItem", item_r15);
|
|
502
|
+
i0.ɵɵattribute("tabindex", ctx_r14.tabindex);
|
|
510
503
|
i0.ɵɵadvance(2);
|
|
511
|
-
i0.ɵɵproperty("ngTemplateOutlet",
|
|
504
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r14.listTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction6(8, _c5, item_r15, $index_r16, _r19, $first_r17, $last_r18, _r19.currentItemWidgets));
|
|
512
505
|
} }
|
|
513
506
|
function ListComponent_ng_template_7_Template(rf, ctx) { if (rf & 1) {
|
|
514
|
-
i0.ɵɵtemplate(0, ListComponent_ng_template_7_li_0_Template, 3,
|
|
507
|
+
i0.ɵɵtemplate(0, ListComponent_ng_template_7_li_0_Template, 3, 15, "li", 28);
|
|
515
508
|
} if (rf & 2) {
|
|
516
|
-
const
|
|
517
|
-
i0.ɵɵproperty("ngForOf",
|
|
509
|
+
const ctx_r5 = i0.ɵɵnextContext();
|
|
510
|
+
i0.ɵɵproperty("ngForOf", ctx_r5.fieldDefs);
|
|
518
511
|
} }
|
|
519
512
|
function ListComponent_div_10_Template(rf, ctx) { if (rf & 1) {
|
|
520
513
|
i0.ɵɵelement(0, "div", 32);
|
|
521
514
|
} if (rf & 2) {
|
|
522
|
-
const
|
|
523
|
-
i0.ɵɵproperty("textContent",
|
|
515
|
+
const ctx_r6 = i0.ɵɵnextContext();
|
|
516
|
+
i0.ɵɵproperty("textContent", ctx_r6.nodatamessage);
|
|
524
517
|
} }
|
|
525
518
|
function ListComponent_div_11_Template(rf, ctx) { if (rf & 1) {
|
|
526
519
|
i0.ɵɵelementStart(0, "div", 33)(1, "span");
|
|
527
520
|
i0.ɵɵelement(2, "i", 34);
|
|
528
|
-
i0.ɵɵelementStart(3, "span",
|
|
521
|
+
i0.ɵɵelementStart(3, "span", 24);
|
|
529
522
|
i0.ɵɵtext(4, "Loading");
|
|
530
523
|
i0.ɵɵelementEnd();
|
|
531
524
|
i0.ɵɵelement(5, "span", 35);
|
|
532
525
|
i0.ɵɵelementEnd()();
|
|
533
526
|
} if (rf & 2) {
|
|
534
|
-
const
|
|
527
|
+
const ctx_r7 = i0.ɵɵnextContext();
|
|
535
528
|
i0.ɵɵadvance(2);
|
|
536
|
-
i0.ɵɵproperty("ngClass",
|
|
529
|
+
i0.ɵɵproperty("ngClass", ctx_r7.loadingicon);
|
|
537
530
|
i0.ɵɵadvance(3);
|
|
538
|
-
i0.ɵɵproperty("textContent",
|
|
531
|
+
i0.ɵɵproperty("textContent", ctx_r7.loadingdatamsg);
|
|
539
532
|
} }
|
|
540
533
|
function ListComponent_div_12_Template(rf, ctx) { if (rf & 1) {
|
|
541
|
-
const
|
|
542
|
-
i0.ɵɵelementStart(0, "div", 36)(1, "ul",
|
|
543
|
-
i0.ɵɵlistener("click", function ListComponent_div_12_Template_a_click_3_listener($event) { i0.ɵɵrestoreView(
|
|
534
|
+
const _r21 = i0.ɵɵgetCurrentView();
|
|
535
|
+
i0.ɵɵelementStart(0, "div", 36)(1, "ul", 20)(2, "li", 37)(3, "a", 22);
|
|
536
|
+
i0.ɵɵlistener("click", function ListComponent_div_12_Template_a_click_3_listener($event) { i0.ɵɵrestoreView(_r21); const ctx_r20 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r20.dataNavigator.navigatePage("next", $event)); });
|
|
544
537
|
i0.ɵɵelement(4, "i", 38);
|
|
545
|
-
i0.ɵɵelementStart(5, "span",
|
|
538
|
+
i0.ɵɵelementStart(5, "span", 24);
|
|
546
539
|
i0.ɵɵtext(6);
|
|
547
540
|
i0.ɵɵelementEnd()()()()();
|
|
548
541
|
} if (rf & 2) {
|
|
549
|
-
const
|
|
550
|
-
i0.ɵɵattribute("aria-disabled",
|
|
542
|
+
const ctx_r8 = i0.ɵɵnextContext();
|
|
543
|
+
i0.ɵɵattribute("aria-disabled", ctx_r8.dataNavigator.isDisableNext);
|
|
551
544
|
i0.ɵɵadvance(2);
|
|
552
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c4,
|
|
553
|
-
i0.ɵɵadvance();
|
|
554
|
-
i0.ɵɵattribute("aria-disabled",
|
|
545
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c4, ctx_r8.dataNavigator ? ctx_r8.dataNavigator.isDisableNext : true));
|
|
546
|
+
i0.ɵɵadvance(1);
|
|
547
|
+
i0.ɵɵattribute("aria-disabled", ctx_r8.dataNavigator.isDisableNext);
|
|
555
548
|
i0.ɵɵadvance(3);
|
|
556
|
-
i0.ɵɵtextInterpolate1("Go to Next page ",
|
|
549
|
+
i0.ɵɵtextInterpolate1("Go to Next page ", ctx_r8.dataNavigator.isDisableNext ? ", Disabled" : "", "");
|
|
557
550
|
} }
|
|
558
551
|
function ListComponent_div_13_a_2_Template(rf, ctx) { if (rf & 1) {
|
|
559
|
-
const
|
|
552
|
+
const _r24 = i0.ɵɵgetCurrentView();
|
|
560
553
|
i0.ɵɵelementStart(0, "a", 42);
|
|
561
|
-
i0.ɵɵlistener("click", function ListComponent_div_13_a_2_Template_a_click_0_listener($event) { i0.ɵɵrestoreView(
|
|
554
|
+
i0.ɵɵlistener("click", function ListComponent_div_13_a_2_Template_a_click_0_listener($event) { i0.ɵɵrestoreView(_r24); const ctx_r23 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r23.dataNavigator.navigatePage("next", $event)); });
|
|
562
555
|
i0.ɵɵelementEnd();
|
|
563
556
|
} if (rf & 2) {
|
|
564
|
-
const
|
|
565
|
-
i0.ɵɵproperty("ngClass",
|
|
557
|
+
const ctx_r22 = i0.ɵɵnextContext(2);
|
|
558
|
+
i0.ɵɵproperty("ngClass", ctx_r22.paginationclass)("textContent", ctx_r22.ondemandmessage);
|
|
566
559
|
} }
|
|
567
560
|
function ListComponent_div_13_Template(rf, ctx) { if (rf & 1) {
|
|
568
561
|
i0.ɵɵelementStart(0, "div", 39);
|
|
@@ -570,10 +563,10 @@ function ListComponent_div_13_Template(rf, ctx) { if (rf & 1) {
|
|
|
570
563
|
i0.ɵɵtemplate(2, ListComponent_div_13_a_2_Template, 1, 2, "a", 41);
|
|
571
564
|
i0.ɵɵelementEnd();
|
|
572
565
|
} if (rf & 2) {
|
|
573
|
-
const
|
|
574
|
-
i0.ɵɵproperty("hidden", !
|
|
566
|
+
const ctx_r9 = i0.ɵɵnextContext();
|
|
567
|
+
i0.ɵɵproperty("hidden", !ctx_r9.showNavigation || ctx_r9.onDemandLoad && ctx_r9.dataNavigator.isDisableNext || ctx_r9.dataNavigator.dataSize <= ctx_r9.pagesize || !ctx_r9.dataNavigator.dataSize && !(ctx_r9.dataNavigator.datasource == null ? null : ctx_r9.dataNavigator.datasource.pagination == null ? null : ctx_r9.dataNavigator.datasource.pagination.next));
|
|
575
568
|
i0.ɵɵadvance(2);
|
|
576
|
-
i0.ɵɵproperty("ngIf",
|
|
569
|
+
i0.ɵɵproperty("ngIf", ctx_r9.onDemandLoad);
|
|
577
570
|
} }
|
|
578
571
|
function ListComponent_ng_template_14_li_0_i_6_Template(rf, ctx) { if (rf & 1) {
|
|
579
572
|
i0.ɵɵelement(0, "i", 51);
|
|
@@ -583,72 +576,138 @@ function ListComponent_ng_template_14_li_0_span_7_Template(rf, ctx) { if (rf & 1
|
|
|
583
576
|
i0.ɵɵtext(1);
|
|
584
577
|
i0.ɵɵelementEnd();
|
|
585
578
|
} if (rf & 2) {
|
|
586
|
-
const
|
|
587
|
-
i0.ɵɵadvance();
|
|
588
|
-
i0.ɵɵtextInterpolate(
|
|
579
|
+
const groupObj_r26 = i0.ɵɵnextContext().$implicit;
|
|
580
|
+
i0.ɵɵadvance(1);
|
|
581
|
+
i0.ɵɵtextInterpolate(groupObj_r26.data.length);
|
|
589
582
|
} }
|
|
590
583
|
function ListComponent_ng_template_14_li_0_li_9_Template(rf, ctx) { if (rf & 1) {
|
|
591
|
-
i0.ɵɵelementStart(0, "li", 53,
|
|
584
|
+
i0.ɵɵelementStart(0, "li", 53, 30);
|
|
592
585
|
i0.ɵɵelementContainer(2, 31);
|
|
593
586
|
i0.ɵɵelementEnd();
|
|
594
587
|
} if (rf & 2) {
|
|
595
|
-
const
|
|
596
|
-
const $
|
|
597
|
-
const $
|
|
598
|
-
const $
|
|
599
|
-
const
|
|
600
|
-
const
|
|
601
|
-
i0.ɵɵclassMapInterpolate1("app-list-item group-list-item ",
|
|
602
|
-
i0.ɵɵproperty("ngClass",
|
|
603
|
-
i0.ɵɵattribute("tabindex",
|
|
588
|
+
const item_r31 = ctx.$implicit;
|
|
589
|
+
const $index_r32 = ctx.index;
|
|
590
|
+
const $first_r33 = ctx.first;
|
|
591
|
+
const $last_r34 = ctx.last;
|
|
592
|
+
const _r35 = i0.ɵɵreference(1);
|
|
593
|
+
const ctx_r29 = i0.ɵɵnextContext(3);
|
|
594
|
+
i0.ɵɵclassMapInterpolate1("app-list-item group-list-item ", ctx_r29.itemsPerRowClass, "");
|
|
595
|
+
i0.ɵɵproperty("ngClass", _r35.itemClass)("wmListItem", item_r31);
|
|
596
|
+
i0.ɵɵattribute("tabindex", ctx_r29.tabindex);
|
|
604
597
|
i0.ɵɵadvance(2);
|
|
605
|
-
i0.ɵɵproperty("ngTemplateOutlet",
|
|
598
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r29.listTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction6(8, _c5, item_r31, $index_r32, _r35, $first_r33, $last_r34, _r35.currentItemWidgets));
|
|
606
599
|
} }
|
|
600
|
+
const _c6 = function (a0) { return { "collapsible-content": a0 }; };
|
|
607
601
|
function ListComponent_ng_template_14_li_0_Template(rf, ctx) { if (rf & 1) {
|
|
608
|
-
const
|
|
602
|
+
const _r37 = i0.ɵɵgetCurrentView();
|
|
609
603
|
i0.ɵɵelementStart(0, "li", 44)(1, "ul", 45)(2, "li", 46);
|
|
610
|
-
i0.ɵɵlistener("click", function ListComponent_ng_template_14_li_0_Template_li_click_2_listener($event) { i0.ɵɵrestoreView(
|
|
604
|
+
i0.ɵɵlistener("click", function ListComponent_ng_template_14_li_0_Template_li_click_2_listener($event) { i0.ɵɵrestoreView(_r37); const ctx_r36 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r36.handleHeaderClick($event)); });
|
|
611
605
|
i0.ɵɵelementStart(3, "h4");
|
|
612
606
|
i0.ɵɵtext(4);
|
|
613
607
|
i0.ɵɵelementStart(5, "div", 47);
|
|
614
|
-
i0.ɵɵtemplate(6, ListComponent_ng_template_14_li_0_i_6_Template, 1, 0, "i", 48)
|
|
608
|
+
i0.ɵɵtemplate(6, ListComponent_ng_template_14_li_0_i_6_Template, 1, 0, "i", 48);
|
|
609
|
+
i0.ɵɵtemplate(7, ListComponent_ng_template_14_li_0_span_7_Template, 2, 1, "span", 49);
|
|
615
610
|
i0.ɵɵelementEnd()()();
|
|
616
611
|
i0.ɵɵelementStart(8, "ul");
|
|
617
|
-
i0.ɵɵtemplate(9, ListComponent_ng_template_14_li_0_li_9_Template, 3,
|
|
612
|
+
i0.ɵɵtemplate(9, ListComponent_ng_template_14_li_0_li_9_Template, 3, 15, "li", 50);
|
|
618
613
|
i0.ɵɵelementEnd()()();
|
|
619
614
|
} if (rf & 2) {
|
|
620
|
-
const
|
|
621
|
-
const
|
|
622
|
-
i0.ɵɵadvance();
|
|
623
|
-
i0.ɵɵproperty("ngClass",
|
|
624
|
-
i0.ɵɵattribute("tabindex",
|
|
625
|
-
i0.ɵɵadvance();
|
|
626
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(
|
|
615
|
+
const groupObj_r26 = ctx.$implicit;
|
|
616
|
+
const ctx_r25 = i0.ɵɵnextContext(2);
|
|
617
|
+
i0.ɵɵadvance(1);
|
|
618
|
+
i0.ɵɵproperty("ngClass", ctx_r25.listclass);
|
|
619
|
+
i0.ɵɵattribute("tabindex", ctx_r25.tabindex);
|
|
620
|
+
i0.ɵɵadvance(1);
|
|
621
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c6, ctx_r25.collapsible));
|
|
627
622
|
i0.ɵɵadvance(2);
|
|
628
|
-
i0.ɵɵtextInterpolate1("",
|
|
623
|
+
i0.ɵɵtextInterpolate1("", groupObj_r26.key, " ");
|
|
629
624
|
i0.ɵɵadvance(2);
|
|
630
|
-
i0.ɵɵproperty("ngIf",
|
|
631
|
-
i0.ɵɵadvance();
|
|
632
|
-
i0.ɵɵproperty("ngIf",
|
|
633
|
-
i0.ɵɵadvance();
|
|
634
|
-
i0.ɵɵclassMapInterpolate1("list-group clearfix ",
|
|
635
|
-
i0.ɵɵadvance();
|
|
636
|
-
i0.ɵɵproperty("ngForOf",
|
|
625
|
+
i0.ɵɵproperty("ngIf", ctx_r25.collapsible);
|
|
626
|
+
i0.ɵɵadvance(1);
|
|
627
|
+
i0.ɵɵproperty("ngIf", ctx_r25.showcount);
|
|
628
|
+
i0.ɵɵadvance(1);
|
|
629
|
+
i0.ɵɵclassMapInterpolate1("list-group clearfix ", ctx_r25.direction === "horizontal" ? "app-horizontal-list" : "", "");
|
|
630
|
+
i0.ɵɵadvance(1);
|
|
631
|
+
i0.ɵɵproperty("ngForOf", groupObj_r26.data);
|
|
637
632
|
} }
|
|
638
633
|
function ListComponent_ng_template_14_Template(rf, ctx) { if (rf & 1) {
|
|
639
|
-
i0.ɵɵtemplate(0, ListComponent_ng_template_14_li_0_Template, 10,
|
|
634
|
+
i0.ɵɵtemplate(0, ListComponent_ng_template_14_li_0_Template, 10, 12, "li", 43);
|
|
640
635
|
} if (rf & 2) {
|
|
641
|
-
const
|
|
642
|
-
i0.ɵɵproperty("ngForOf",
|
|
636
|
+
const ctx_r11 = i0.ɵɵnextContext();
|
|
637
|
+
i0.ɵɵproperty("ngForOf", ctx_r11.groupedData);
|
|
643
638
|
} }
|
|
644
639
|
const DEFAULT_CLS = 'app-livelist app-panel';
|
|
645
640
|
const WIDGET_CONFIG = { widgetType: 'wm-list', hostClass: DEFAULT_CLS };
|
|
646
641
|
class ListComponent extends StylableComponent {
|
|
647
642
|
static { this.initializeProps = registerProps(); }
|
|
648
|
-
|
|
643
|
+
get selecteditem() {
|
|
644
|
+
if (this.multiselect) {
|
|
645
|
+
return getClonedObject(this._items);
|
|
646
|
+
}
|
|
647
|
+
if (_.isEmpty(this._items)) {
|
|
648
|
+
return {};
|
|
649
|
+
}
|
|
650
|
+
return getClonedObject(this._items[0]);
|
|
651
|
+
}
|
|
652
|
+
/**
|
|
653
|
+
* Returns list of widgets present on list item by considering name and index of the widget.
|
|
654
|
+
* If we did'nt pass index, it returns array of all the widgets which are matching to widget name
|
|
655
|
+
* @param widgteName: Name of the widget
|
|
656
|
+
* @param index: Index of the widget
|
|
657
|
+
*/
|
|
658
|
+
getWidgets(widgteName, index) {
|
|
659
|
+
let $target;
|
|
660
|
+
const retVal = [];
|
|
661
|
+
if (!widgteName) {
|
|
662
|
+
return;
|
|
663
|
+
}
|
|
664
|
+
if (!isDefined(index)) {
|
|
665
|
+
_.forEach(this.listItems.toArray(), (el) => {
|
|
666
|
+
$target = _.get(el.currentItemWidgets, widgteName);
|
|
667
|
+
if ($target) {
|
|
668
|
+
retVal.push($target);
|
|
669
|
+
}
|
|
670
|
+
});
|
|
671
|
+
return retVal;
|
|
672
|
+
}
|
|
673
|
+
index = +index || 0;
|
|
674
|
+
$target = _.get(this.listItems.toArray(), index);
|
|
675
|
+
if ($target) {
|
|
676
|
+
return [_.get($target.currentItemWidgets, widgteName)];
|
|
677
|
+
}
|
|
678
|
+
}
|
|
679
|
+
// returns listitem reference by index value. This refers to the same method getListItemByIndex.
|
|
680
|
+
getItem(index) {
|
|
681
|
+
return this.getListItemByIndex(index);
|
|
682
|
+
}
|
|
683
|
+
/**
|
|
684
|
+
* Returns index of listItem(listItemDirective / listItemObject)
|
|
685
|
+
* If item is a directive, index is fetched from listItems
|
|
686
|
+
* If item is an object, index is fetched from fieldDefs
|
|
687
|
+
*/
|
|
688
|
+
getIndex(item) {
|
|
689
|
+
if (item instanceof ListItemDirective) {
|
|
690
|
+
return this.getListItemIndex(item);
|
|
691
|
+
}
|
|
692
|
+
else if (item) {
|
|
693
|
+
return this.fieldDefs.findIndex((obj) => _.isEqual(obj, item));
|
|
694
|
+
}
|
|
695
|
+
}
|
|
696
|
+
set selecteditem(items) {
|
|
697
|
+
this._items.length = 0;
|
|
698
|
+
this.deselectListItems();
|
|
699
|
+
if (_.isArray(items)) {
|
|
700
|
+
items.forEach(item => this.selectItem(item));
|
|
701
|
+
}
|
|
702
|
+
else {
|
|
703
|
+
this.selectItem(items);
|
|
704
|
+
}
|
|
705
|
+
$appDigest();
|
|
706
|
+
}
|
|
707
|
+
constructor(inj, cdRef, datePipe, app, appDefaults, ngZone, binditemclass, binddisableitem, binddataset, binddatasource, mouseEnterCB, mouseLeaveCB, statePersistence, paginationService) {
|
|
649
708
|
let resolveFn = noop;
|
|
650
709
|
const propsInitPromise = new Promise(res => resolveFn = res);
|
|
651
|
-
super(inj, WIDGET_CONFIG,
|
|
710
|
+
super(inj, WIDGET_CONFIG, propsInitPromise);
|
|
652
711
|
this.propsInitPromise = propsInitPromise;
|
|
653
712
|
this.promiseResolverFn = resolveFn;
|
|
654
713
|
styler(this.nativeElement, this, APPLY_STYLES_TYPE.SHELL);
|
|
@@ -672,12 +731,12 @@ class ListComponent extends StylableComponent {
|
|
|
672
731
|
// Updates pagination, filter, sort etc options for service and crud variables
|
|
673
732
|
this._listenerDestroyers = [
|
|
674
733
|
this.app.subscribe('check-state-persistence-options', options => {
|
|
675
|
-
let dataSourceName = get(this.datasource, 'name');
|
|
734
|
+
let dataSourceName = _.get(this.datasource, 'name');
|
|
676
735
|
// in Prefabs, this.datasource is not resolved at the time of variable invocation, so additional check is required.
|
|
677
736
|
if (!dataSourceName) {
|
|
678
737
|
dataSourceName = extractDataSourceName(this.binddatasource);
|
|
679
738
|
}
|
|
680
|
-
if (get(options, 'variable.name') !== dataSourceName) {
|
|
739
|
+
if (_.get(options, 'variable.name') !== dataSourceName) {
|
|
681
740
|
return;
|
|
682
741
|
}
|
|
683
742
|
this.handleStateParams(options);
|
|
@@ -692,69 +751,31 @@ class ListComponent extends StylableComponent {
|
|
|
692
751
|
})
|
|
693
752
|
];
|
|
694
753
|
}
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
}
|
|
699
|
-
if (isEmpty(this._items)) {
|
|
700
|
-
return {};
|
|
701
|
-
}
|
|
702
|
-
return getClonedObject(this._items[0]);
|
|
703
|
-
}
|
|
704
|
-
set selecteditem(items) {
|
|
705
|
-
this._items.length = 0;
|
|
706
|
-
this.deselectListItems();
|
|
707
|
-
if (isArray(items)) {
|
|
708
|
-
items.forEach(item => this.selectItem(item));
|
|
709
|
-
}
|
|
710
|
-
else {
|
|
711
|
-
this.selectItem(items);
|
|
712
|
-
}
|
|
713
|
-
$appDigest();
|
|
754
|
+
getConfiguredState() {
|
|
755
|
+
const mode = this.statePersistence.computeMode(this.statehandler);
|
|
756
|
+
return mode && mode.toLowerCase();
|
|
714
757
|
}
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
}
|
|
727
|
-
if (!isDefined(index)) {
|
|
728
|
-
forEach(this.listItems.toArray(), (el) => {
|
|
729
|
-
$target = get(el.currentItemWidgets, widgteName);
|
|
730
|
-
if ($target) {
|
|
731
|
-
retVal.push($target);
|
|
732
|
-
}
|
|
733
|
-
});
|
|
734
|
-
return retVal;
|
|
735
|
-
}
|
|
736
|
-
index = +index || 0;
|
|
737
|
-
$target = get(this.listItems.toArray(), index);
|
|
738
|
-
if ($target) {
|
|
739
|
-
return [get($target.currentItemWidgets, widgteName)];
|
|
758
|
+
handleStateParams(options) {
|
|
759
|
+
if (this._pageLoad && this.getConfiguredState() !== 'none') {
|
|
760
|
+
this._pageLoad = false;
|
|
761
|
+
const widgetState = this.statePersistence.getWidgetState(this);
|
|
762
|
+
if (_.get(widgetState, 'pagination')) {
|
|
763
|
+
options.options = options.options || {};
|
|
764
|
+
options.options.page = widgetState.pagination;
|
|
765
|
+
}
|
|
766
|
+
if (_.get(widgetState, 'selectedItem')) {
|
|
767
|
+
this._selectedItemsExist = true;
|
|
768
|
+
}
|
|
740
769
|
}
|
|
741
770
|
}
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
* If item is a directive, index is fetched from listItems
|
|
749
|
-
* If item is an object, index is fetched from fieldDefs
|
|
750
|
-
*/
|
|
751
|
-
getIndex(item) {
|
|
752
|
-
if (item instanceof ListItemDirective) {
|
|
753
|
-
return this.getListItemIndex(item);
|
|
754
|
-
}
|
|
755
|
-
else if (item) {
|
|
756
|
-
return this.fieldDefs.findIndex((obj) => isEqual(obj, item));
|
|
771
|
+
triggerWMEvent(eventName, item) {
|
|
772
|
+
$invokeWatchers(true);
|
|
773
|
+
// If we have multiselect for the livelist(List with form template), in run mode deleting a record is getting failed. Becuase the selecteditem will be array of objects. So consider the last object.
|
|
774
|
+
let row = this.multiselect ? _.last(this.selecteditem) : this.selecteditem;
|
|
775
|
+
if (item) {
|
|
776
|
+
row = item;
|
|
757
777
|
}
|
|
778
|
+
this.app.notify('wm-event', { eventName, widgetName: this.name, row: row });
|
|
758
779
|
}
|
|
759
780
|
create() {
|
|
760
781
|
if (this._isDependent) {
|
|
@@ -793,478 +814,86 @@ class ListComponent extends StylableComponent {
|
|
|
793
814
|
this.variableInflight = data.active;
|
|
794
815
|
// Fix for [WMS-23772] Update nodatafound flag once the response is recieved from the server
|
|
795
816
|
const totalEle = data.data?.pagination?.totalElements;
|
|
796
|
-
if (!isUndefined(totalEle)) {
|
|
817
|
+
if (!_.isUndefined(totalEle)) {
|
|
797
818
|
this.noDataFound = totalEle === 0 ? true : false;
|
|
798
819
|
}
|
|
799
820
|
else { // totalelements is undefined
|
|
800
|
-
this.noDataFound = isEmpty(data.data?.data);
|
|
821
|
+
this.noDataFound = _.isEmpty(data.data?.data);
|
|
801
822
|
}
|
|
802
823
|
});
|
|
803
824
|
}
|
|
804
825
|
}
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
this.onItemClick($event, listItemContext);
|
|
811
|
-
}
|
|
812
|
-
}
|
|
826
|
+
resetNavigation() {
|
|
827
|
+
this.showNavigation = false;
|
|
828
|
+
this.navControls = undefined;
|
|
829
|
+
this.infScroll = false;
|
|
830
|
+
this.onDemandLoad = false;
|
|
813
831
|
}
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
832
|
+
enableBasicNavigation() {
|
|
833
|
+
this.navControls = NAVIGATION_TYPE.BASIC;
|
|
834
|
+
this.showNavigation = true;
|
|
835
|
+
}
|
|
836
|
+
enableInlineNavigation() {
|
|
837
|
+
this.navControls = NAVIGATION_TYPE.INLINE;
|
|
838
|
+
}
|
|
839
|
+
enableClassicNavigation() {
|
|
840
|
+
this.navControls = NAVIGATION_TYPE.CLASSIC;
|
|
841
|
+
this.showNavigation = true;
|
|
842
|
+
}
|
|
843
|
+
enablePagerNavigation() {
|
|
844
|
+
this.navControls = NAVIGATION_TYPE.PAGER;
|
|
845
|
+
this.showNavigation = true;
|
|
846
|
+
}
|
|
847
|
+
setNavigationTypeNone() {
|
|
848
|
+
this.navControls = NAVIGATION_TYPE.NONE;
|
|
849
|
+
this.showNavigation = false;
|
|
850
|
+
}
|
|
851
|
+
enableInfiniteScroll() {
|
|
852
|
+
this.infScroll = true;
|
|
853
|
+
}
|
|
854
|
+
enableOnDemandLoad() {
|
|
855
|
+
this.onDemandLoad = true;
|
|
856
|
+
this.showNavigation = true;
|
|
857
|
+
}
|
|
858
|
+
/**
|
|
859
|
+
* Sets Navigation type for the list.
|
|
860
|
+
* @param type
|
|
861
|
+
*/
|
|
862
|
+
onNavigationTypeChange(type) {
|
|
863
|
+
this.resetNavigation();
|
|
864
|
+
switch (type) {
|
|
865
|
+
case NAVIGATION_TYPE.BASIC:
|
|
866
|
+
this.enableBasicNavigation();
|
|
867
|
+
break;
|
|
868
|
+
case NAVIGATION_TYPE.INLINE:
|
|
869
|
+
this.enableInlineNavigation();
|
|
870
|
+
break;
|
|
871
|
+
case NAVIGATION_TYPE.ADVANCED:
|
|
872
|
+
case NAVIGATION_TYPE.CLASSIC:
|
|
873
|
+
this.enableClassicNavigation();
|
|
874
|
+
break;
|
|
875
|
+
case NAVIGATION_TYPE.PAGER:
|
|
876
|
+
this.enablePagerNavigation();
|
|
877
|
+
break;
|
|
878
|
+
case NAVIGATION_TYPE.NONE:
|
|
879
|
+
this.setNavigationTypeNone();
|
|
880
|
+
break;
|
|
881
|
+
case NAVIGATION_TYPE.SCROLL:
|
|
882
|
+
this.enableInfiniteScroll();
|
|
883
|
+
break;
|
|
884
|
+
case NAVIGATION_TYPE.ONDEMAND:
|
|
885
|
+
this.enableOnDemandLoad();
|
|
886
|
+
break;
|
|
818
887
|
}
|
|
819
|
-
return this.datasource.execute(operation, options);
|
|
820
888
|
}
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
const firstIndex = this.getListItemIndex(this.firstSelectedItem);
|
|
830
|
-
const selectCount = isArray(this.selecteditem) ? this.selecteditem.length : (isObject(this.selecteditem) ? 1 : 0);
|
|
831
|
-
if (action === 'selectPrev') {
|
|
832
|
-
if (presentIndex > 0) {
|
|
833
|
-
if ((presentIndex <= firstIndex) && this.checkSelectionLimit(selectCount)) {
|
|
834
|
-
this.lastSelectedItem = this.getListItemByIndex(presentIndex - 1);
|
|
835
|
-
this.toggleListItemSelection(this.lastSelectedItem);
|
|
836
|
-
}
|
|
837
|
-
else if (presentIndex > firstIndex) {
|
|
838
|
-
this.toggleListItemSelection(this.getListItemByIndex(presentIndex));
|
|
839
|
-
this.lastSelectedItem = this.getListItemByIndex(presentIndex - 1);
|
|
840
|
-
}
|
|
841
|
-
else {
|
|
842
|
-
this.invokeEventCallback('selectionlimitexceed', { $event });
|
|
843
|
-
}
|
|
844
|
-
}
|
|
845
|
-
}
|
|
846
|
-
else if (action === 'selectNext') {
|
|
847
|
-
if (presentIndex < listItems.length - 1) {
|
|
848
|
-
if ((presentIndex >= firstIndex) && this.checkSelectionLimit(selectCount)) {
|
|
849
|
-
this.lastSelectedItem = this.getListItemByIndex(presentIndex + 1);
|
|
850
|
-
this.toggleListItemSelection(this.lastSelectedItem);
|
|
851
|
-
}
|
|
852
|
-
else if (presentIndex < firstIndex) {
|
|
853
|
-
this.toggleListItemSelection(this.getListItemByIndex(presentIndex));
|
|
854
|
-
this.lastSelectedItem = this.getListItemByIndex(presentIndex + 1);
|
|
855
|
-
}
|
|
856
|
-
else {
|
|
857
|
-
this.invokeEventCallback('selectionlimitexceed', { $event });
|
|
858
|
-
}
|
|
859
|
-
}
|
|
860
|
-
}
|
|
861
|
-
}
|
|
862
|
-
if (action === 'focusPrev') {
|
|
863
|
-
if (this.isListElementMovable) {
|
|
864
|
-
presentIndex = presentIndex <= 0 ? 0 : (presentIndex);
|
|
865
|
-
if (presentIndex === 0) {
|
|
866
|
-
return;
|
|
867
|
-
}
|
|
868
|
-
this.lastSelectedItem = this.getListItemByIndex(presentIndex);
|
|
869
|
-
const prevElt = this.getListItemByIndex(presentIndex - 1);
|
|
870
|
-
prevElt.nativeElement.before(this.lastSelectedItem.nativeElement);
|
|
871
|
-
this.lastSelectedItem.nativeElement.focus();
|
|
872
|
-
this.statePersistence.removeWidgetState(this, 'selectedItem');
|
|
873
|
-
const arr = this.listItems.toArray();
|
|
874
|
-
[arr[presentIndex - 1], arr[presentIndex]] = [arr[presentIndex], arr[presentIndex - 1]];
|
|
875
|
-
this.listItems.reset(arr);
|
|
876
|
-
this.currentIndex = presentIndex;
|
|
877
|
-
this.ariaText = "selected ";
|
|
878
|
-
}
|
|
879
|
-
else {
|
|
880
|
-
presentIndex = presentIndex <= 0 ? 0 : (presentIndex - 1);
|
|
881
|
-
this.lastSelectedItem = this.getListItemByIndex(presentIndex);
|
|
882
|
-
this.lastSelectedItem.nativeElement.focus();
|
|
883
|
-
this.currentIndex = presentIndex + 1;
|
|
884
|
-
this.ariaText = "selected ";
|
|
885
|
-
}
|
|
886
|
-
}
|
|
887
|
-
else if (action === 'focusNext') {
|
|
888
|
-
if (this.isListElementMovable) {
|
|
889
|
-
presentIndex = presentIndex < (listItems.length - 1) ? (presentIndex) : (listItems.length - 1);
|
|
890
|
-
if (presentIndex === this.listItems.length - 1) {
|
|
891
|
-
return;
|
|
892
|
-
}
|
|
893
|
-
this.lastSelectedItem = this.getListItemByIndex(presentIndex);
|
|
894
|
-
const nextElt = this.getListItemByIndex(presentIndex + 1);
|
|
895
|
-
nextElt.nativeElement.after(this.lastSelectedItem.nativeElement);
|
|
896
|
-
this.lastSelectedItem.nativeElement.focus();
|
|
897
|
-
this.statePersistence.removeWidgetState(this, 'selectedItem');
|
|
898
|
-
const arr = this.listItems.toArray();
|
|
899
|
-
[arr[presentIndex], arr[presentIndex + 1]] = [arr[presentIndex + 1], arr[presentIndex]];
|
|
900
|
-
this.listItems.reset(arr);
|
|
901
|
-
this.currentIndex = presentIndex + 2;
|
|
902
|
-
this.ariaText = "selected ";
|
|
903
|
-
}
|
|
904
|
-
else {
|
|
905
|
-
presentIndex = presentIndex < (listItems.length - 1) ? (presentIndex + 1) : (listItems.length - 1);
|
|
906
|
-
this.lastSelectedItem = this.getListItemByIndex(presentIndex);
|
|
907
|
-
this.lastSelectedItem.nativeElement.focus();
|
|
908
|
-
this.currentIndex = presentIndex + 1;
|
|
909
|
-
this.ariaText = "selected ";
|
|
910
|
-
}
|
|
911
|
-
}
|
|
912
|
-
else if (action === 'select') {
|
|
913
|
-
// if the enter click is pressed on the item which is not the last selected item, the find the item from which the event is originated.
|
|
914
|
-
if (presentIndex === -1 || !$($event.target).closest(this.lastSelectedItem.nativeElement)) {
|
|
915
|
-
const $li = $($event.target).closest('li.app-list-item');
|
|
916
|
-
const $ul = $li.closest('ul.app-livelist-container');
|
|
917
|
-
presentIndex = $ul.find('li.app-list-item').index($li);
|
|
918
|
-
}
|
|
919
|
-
this.onItemClick($event, this.getListItemByIndex(presentIndex));
|
|
920
|
-
}
|
|
921
|
-
else if (action === 'space') {
|
|
922
|
-
if (!this.enablereorder) {
|
|
923
|
-
return;
|
|
924
|
-
}
|
|
925
|
-
this.isListElementMovable = !this.isListElementMovable;
|
|
926
|
-
this.onItemClick($event, this.getListItemByIndex(presentIndex));
|
|
927
|
-
this.currentIndex = presentIndex + 1;
|
|
928
|
-
if (this.isListElementMovable) {
|
|
929
|
-
this.ariaText = `Item ${this.currentIndex} grabbed, current position `;
|
|
930
|
-
this.$ulEle.data('oldIndex', presentIndex);
|
|
931
|
-
}
|
|
932
|
-
else {
|
|
933
|
-
this.ariaText = `Item ${this.currentIndex} dropped, final position `;
|
|
934
|
-
this.onUpdate($event, undefined, presentIndex);
|
|
935
|
-
}
|
|
936
|
-
}
|
|
937
|
-
}
|
|
938
|
-
onPropertyChange(key, nv, ov) {
|
|
939
|
-
if (key === 'dataset') {
|
|
940
|
-
if (!nv && this.binddatasource && !this.datasource) {
|
|
941
|
-
return;
|
|
942
|
-
}
|
|
943
|
-
this.onDataSetChange(nv);
|
|
944
|
-
}
|
|
945
|
-
else if (key === 'datasource') {
|
|
946
|
-
if (this.dataset) {
|
|
947
|
-
this.onDataSetChange(this.dataset);
|
|
948
|
-
}
|
|
949
|
-
}
|
|
950
|
-
else if (key === 'navigation') {
|
|
951
|
-
// Support for older projects where navigation type was advanced instead of classic
|
|
952
|
-
if (nv === 'Advanced') {
|
|
953
|
-
this.navigation = 'Classic';
|
|
954
|
-
return;
|
|
955
|
-
}
|
|
956
|
-
switchClass(this.nativeElement, nv, ov);
|
|
957
|
-
this.onNavigationTypeChange(nv);
|
|
958
|
-
if (this.dataNavigator) {
|
|
959
|
-
this.dataNavigator.navigationClass = this.paginationclass;
|
|
960
|
-
}
|
|
961
|
-
}
|
|
962
|
-
else if (key === 'itemsperrow') {
|
|
963
|
-
setListClass(this);
|
|
964
|
-
}
|
|
965
|
-
else if (key === 'tabindex') {
|
|
966
|
-
return;
|
|
967
|
-
}
|
|
968
|
-
else if (key === 'pulltorefresh' && nv) {
|
|
969
|
-
this.app.notify('pullToRefresh:enable');
|
|
970
|
-
this.subscribeToPullToRefresh();
|
|
971
|
-
}
|
|
972
|
-
else if (key === 'paginationclass') {
|
|
973
|
-
if (this.dataNavigator) {
|
|
974
|
-
// Adding setTimeout because in pagination component updateNavSize method is overriding navigationclass
|
|
975
|
-
setTimeout(() => this.dataNavigator.navigationClass = nv);
|
|
976
|
-
}
|
|
977
|
-
}
|
|
978
|
-
else if (key === 'pagesize') {
|
|
979
|
-
this.dataNavigator.options = {
|
|
980
|
-
maxResults: nv
|
|
981
|
-
};
|
|
982
|
-
this.dataNavigator.widget.maxResults = nv;
|
|
983
|
-
this.dataNavigator.maxResults = nv;
|
|
984
|
-
}
|
|
985
|
-
else if (key === 'enablereorder') {
|
|
986
|
-
if (nv && this.$ulEle) {
|
|
987
|
-
this.$ulEle.attr('aria-describedby', this.titleId);
|
|
988
|
-
this.configureDnD();
|
|
989
|
-
this.$ulEle.sortable('enable');
|
|
990
|
-
}
|
|
991
|
-
else if (this.$ulEle && !nv) {
|
|
992
|
-
this.$ulEle.removeAttr('aria-describedby');
|
|
993
|
-
this.$ulEle.sortable('disable');
|
|
994
|
-
}
|
|
995
|
-
}
|
|
996
|
-
else {
|
|
997
|
-
super.onPropertyChange(key, nv, ov);
|
|
998
|
-
}
|
|
999
|
-
}
|
|
1000
|
-
onItemClick(evt, $listItem) {
|
|
1001
|
-
let selectCount;
|
|
1002
|
-
if (!$listItem.disableItem) {
|
|
1003
|
-
this.firstSelectedItem = this.firstSelectedItem || $listItem;
|
|
1004
|
-
// Setting selectCount value based number of items selected.
|
|
1005
|
-
selectCount = isArray(this.selecteditem) ? this.selecteditem.length : (isObject(this.selecteditem) ? 1 : 0);
|
|
1006
|
-
// Handling multiselect for mobile device
|
|
1007
|
-
if (this.multiselect && isMobile()) {
|
|
1008
|
-
if (this.checkSelectionLimit(selectCount) || $listItem.isActive) {
|
|
1009
|
-
this.toggleListItemSelection($listItem);
|
|
1010
|
-
}
|
|
1011
|
-
else {
|
|
1012
|
-
this.invokeEventCallback('selectionlimitexceed', { $event: evt });
|
|
1013
|
-
}
|
|
1014
|
-
}
|
|
1015
|
-
else if ((evt.ctrlKey || evt.metaKey) && this.multiselect) {
|
|
1016
|
-
if (this.checkSelectionLimit(selectCount) || $listItem.isActive) {
|
|
1017
|
-
this.firstSelectedItem = this.lastSelectedItem = $listItem;
|
|
1018
|
-
this.toggleListItemSelection($listItem);
|
|
1019
|
-
}
|
|
1020
|
-
else {
|
|
1021
|
-
this.invokeEventCallback('selectionlimitexceed', { $event: evt });
|
|
1022
|
-
}
|
|
1023
|
-
}
|
|
1024
|
-
else if (evt.shiftKey && this.multiselect) {
|
|
1025
|
-
let first = $listItem.context.index;
|
|
1026
|
-
let last = this.firstSelectedItem.context.index;
|
|
1027
|
-
// if first is greater than last, then swap values
|
|
1028
|
-
if (first > last) {
|
|
1029
|
-
last = [first, first = last][0];
|
|
1030
|
-
}
|
|
1031
|
-
if (this.checkSelectionLimit(last - first)) {
|
|
1032
|
-
this.clearSelectedItems();
|
|
1033
|
-
this.listItems.forEach(($liItem) => {
|
|
1034
|
-
const index = $liItem.context.index;
|
|
1035
|
-
if (index >= first && index <= last) {
|
|
1036
|
-
this.toggleListItemSelection($liItem);
|
|
1037
|
-
}
|
|
1038
|
-
});
|
|
1039
|
-
this.lastSelectedItem = $listItem;
|
|
1040
|
-
}
|
|
1041
|
-
else {
|
|
1042
|
-
this.invokeEventCallback('selectionlimitexceed', { $event: evt });
|
|
1043
|
-
}
|
|
1044
|
-
}
|
|
1045
|
-
else {
|
|
1046
|
-
if (!$listItem.isActive || selectCount > 1) {
|
|
1047
|
-
this.clearSelectedItems();
|
|
1048
|
-
this.toggleListItemSelection($listItem);
|
|
1049
|
-
this.firstSelectedItem = this.lastSelectedItem = $listItem;
|
|
1050
|
-
}
|
|
1051
|
-
}
|
|
1052
|
-
$appDigest();
|
|
1053
|
-
}
|
|
1054
|
-
}
|
|
1055
|
-
// Empty the list content on clear
|
|
1056
|
-
clear() {
|
|
1057
|
-
this.updateFieldDefs([]);
|
|
1058
|
-
}
|
|
1059
|
-
/**
|
|
1060
|
-
* deselects item in the list.
|
|
1061
|
-
* @param val: index | model of the list item.
|
|
1062
|
-
*/
|
|
1063
|
-
deselectItem(val) {
|
|
1064
|
-
const listItem = this.getItemRefByIndexOrModel(val);
|
|
1065
|
-
if (listItem && listItem.isActive) {
|
|
1066
|
-
this.toggleListItemSelection(listItem);
|
|
1067
|
-
}
|
|
1068
|
-
}
|
|
1069
|
-
/**
|
|
1070
|
-
* selects item in the list.
|
|
1071
|
-
* @param val: index | model of the list item.
|
|
1072
|
-
*/
|
|
1073
|
-
selectItem(val, statePersistenceTriggered) {
|
|
1074
|
-
const listItem = this.getItemRefByIndexOrModel(val);
|
|
1075
|
-
if (!listItem) {
|
|
1076
|
-
return;
|
|
1077
|
-
}
|
|
1078
|
-
if (!listItem.isActive) {
|
|
1079
|
-
this.toggleListItemSelection(listItem, statePersistenceTriggered);
|
|
1080
|
-
}
|
|
1081
|
-
// focus the element.
|
|
1082
|
-
listItem.nativeElement.focus();
|
|
1083
|
-
}
|
|
1084
|
-
ngOnInit() {
|
|
1085
|
-
super.ngOnInit();
|
|
1086
|
-
this.handleHeaderClick = noop;
|
|
1087
|
-
setTimeout(() => {
|
|
1088
|
-
this.debouncedFetchNextDatasetOnScroll = this.paginationService.debouncedFetchNextDatasetOnScroll(this.dataNavigator, DEBOUNCE_TIMES.PAGINATION_DEBOUNCE_TIME, this);
|
|
1089
|
-
}, 0);
|
|
1090
|
-
this._items = [];
|
|
1091
|
-
this.fieldDefs = [];
|
|
1092
|
-
this.reorderProps = {
|
|
1093
|
-
minIndex: null,
|
|
1094
|
-
maxIndex: null
|
|
1095
|
-
};
|
|
1096
|
-
}
|
|
1097
|
-
ngAfterViewInit() {
|
|
1098
|
-
this.promiseResolverFn();
|
|
1099
|
-
this.propsInitPromise.then(() => {
|
|
1100
|
-
super.ngAfterViewInit();
|
|
1101
|
-
this.setUpCUDHandlers();
|
|
1102
|
-
this.selectedItemWidgets = this.multiselect ? [] : {};
|
|
1103
|
-
var ele = $(this.nativeElement).find('.app-livelist-container');
|
|
1104
|
-
if (this.enablereorder && !this.groupby) {
|
|
1105
|
-
if (ele) {
|
|
1106
|
-
ele.attr('aria-describedby', this.titleId);
|
|
1107
|
-
}
|
|
1108
|
-
this.configureDnD();
|
|
1109
|
-
}
|
|
1110
|
-
if (!this.enablereorder) {
|
|
1111
|
-
if (ele) {
|
|
1112
|
-
ele.removeAttr('aria-describedby');
|
|
1113
|
-
}
|
|
1114
|
-
}
|
|
1115
|
-
if (this.groupby && this.collapsible) {
|
|
1116
|
-
this.handleHeaderClick = handleHeaderClick;
|
|
1117
|
-
this.toggleAllHeaders = toggleAllHeaders.bind(undefined, this);
|
|
1118
|
-
}
|
|
1119
|
-
setListClass(this);
|
|
1120
|
-
});
|
|
1121
|
-
this.setupHandlers();
|
|
1122
|
-
const $ul = this.nativeElement.querySelector('ul.app-livelist-container');
|
|
1123
|
-
styler($ul, this, APPLY_STYLES_TYPE.SCROLLABLE_CONTAINER);
|
|
1124
|
-
if (this.enablereorder) {
|
|
1125
|
-
if ($ul) {
|
|
1126
|
-
$ul.setAttribute('aria-describedby', this.titleId);
|
|
1127
|
-
}
|
|
1128
|
-
}
|
|
1129
|
-
if (!this.enablereorder) {
|
|
1130
|
-
if ($ul) {
|
|
1131
|
-
$ul.removeAttribute('aria-describedby');
|
|
1132
|
-
}
|
|
1133
|
-
}
|
|
1134
|
-
if (isMobileApp() && $ul.querySelector('.app-list-item-action-panel')) {
|
|
1135
|
-
this._listAnimator = new ListAnimator(this);
|
|
1136
|
-
}
|
|
1137
|
-
}
|
|
1138
|
-
ngOnDestroy() {
|
|
1139
|
-
if (this._listAnimator && this._listAnimator.$btnSubscription) {
|
|
1140
|
-
this._listAnimator.$btnSubscription.unsubscribe();
|
|
1141
|
-
}
|
|
1142
|
-
this._listenerDestroyers.forEach(d => d && d());
|
|
1143
|
-
super.ngOnDestroy();
|
|
1144
|
-
}
|
|
1145
|
-
ngOnDetach() {
|
|
1146
|
-
super.ngOnDetach();
|
|
1147
|
-
this._pageLoad = true;
|
|
1148
|
-
}
|
|
1149
|
-
handleEvent(node, eventName, eventCallback, locals) {
|
|
1150
|
-
// tap and doubleTap events are not getting propagated.So, using mouse events instead.
|
|
1151
|
-
const touchToMouse = {
|
|
1152
|
-
tap: 'click',
|
|
1153
|
-
doubletap: 'dblclick'
|
|
1154
|
-
};
|
|
1155
|
-
if (includes(['click', 'tap', 'dblclick', 'doubletap'], eventName)) {
|
|
1156
|
-
this.eventManager.addEventListener(this.nativeElement, touchToMouse[eventName] || eventName, (evt) => {
|
|
1157
|
-
const target = $(evt.target).closest('.app-list-item');
|
|
1158
|
-
if (target.length) {
|
|
1159
|
-
const listItemContext = target.data('listItemContext');
|
|
1160
|
-
if (!listItemContext.disableItem) {
|
|
1161
|
-
this.invokeEventCallback(eventName, {
|
|
1162
|
-
widget: listItemContext,
|
|
1163
|
-
$event: evt,
|
|
1164
|
-
item: listItemContext.item
|
|
1165
|
-
});
|
|
1166
|
-
}
|
|
1167
|
-
}
|
|
1168
|
-
});
|
|
1169
|
-
}
|
|
1170
|
-
}
|
|
1171
|
-
getConfiguredState() {
|
|
1172
|
-
const mode = this.statePersistence.computeMode(this.statehandler);
|
|
1173
|
-
return mode && mode.toLowerCase();
|
|
1174
|
-
}
|
|
1175
|
-
handleStateParams(options) {
|
|
1176
|
-
if (this._pageLoad && this.getConfiguredState() !== 'none') {
|
|
1177
|
-
this._pageLoad = false;
|
|
1178
|
-
const widgetState = this.statePersistence.getWidgetState(this);
|
|
1179
|
-
if (get(widgetState, 'pagination')) {
|
|
1180
|
-
options.options = options.options || {};
|
|
1181
|
-
options.options.page = widgetState.pagination;
|
|
1182
|
-
}
|
|
1183
|
-
if (get(widgetState, 'selectedItem')) {
|
|
1184
|
-
this._selectedItemsExist = true;
|
|
1185
|
-
}
|
|
1186
|
-
}
|
|
1187
|
-
}
|
|
1188
|
-
triggerWMEvent(eventName, item) {
|
|
1189
|
-
$invokeWatchers(true);
|
|
1190
|
-
// If we have multiselect for the livelist(List with form template), in run mode deleting a record is getting failed. Becuase the selecteditem will be array of objects. So consider the last object.
|
|
1191
|
-
let row = this.multiselect ? last(this.selecteditem) : this.selecteditem;
|
|
1192
|
-
if (item) {
|
|
1193
|
-
row = item;
|
|
1194
|
-
}
|
|
1195
|
-
this.app.notify('wm-event', { eventName, widgetName: this.name, row: row });
|
|
1196
|
-
}
|
|
1197
|
-
resetNavigation() {
|
|
1198
|
-
this.showNavigation = false;
|
|
1199
|
-
this.navControls = undefined;
|
|
1200
|
-
this.infScroll = false;
|
|
1201
|
-
this.onDemandLoad = false;
|
|
1202
|
-
}
|
|
1203
|
-
enableBasicNavigation() {
|
|
1204
|
-
this.navControls = NAVIGATION_TYPE.BASIC;
|
|
1205
|
-
this.showNavigation = true;
|
|
1206
|
-
}
|
|
1207
|
-
enableInlineNavigation() {
|
|
1208
|
-
this.navControls = NAVIGATION_TYPE.INLINE;
|
|
1209
|
-
}
|
|
1210
|
-
enableClassicNavigation() {
|
|
1211
|
-
this.navControls = NAVIGATION_TYPE.CLASSIC;
|
|
1212
|
-
this.showNavigation = true;
|
|
1213
|
-
}
|
|
1214
|
-
enablePagerNavigation() {
|
|
1215
|
-
this.navControls = NAVIGATION_TYPE.PAGER;
|
|
1216
|
-
this.showNavigation = true;
|
|
1217
|
-
}
|
|
1218
|
-
setNavigationTypeNone() {
|
|
1219
|
-
this.navControls = NAVIGATION_TYPE.NONE;
|
|
1220
|
-
this.showNavigation = false;
|
|
1221
|
-
}
|
|
1222
|
-
enableInfiniteScroll() {
|
|
1223
|
-
this.infScroll = true;
|
|
1224
|
-
}
|
|
1225
|
-
enableOnDemandLoad() {
|
|
1226
|
-
this.onDemandLoad = true;
|
|
1227
|
-
this.showNavigation = true;
|
|
1228
|
-
}
|
|
1229
|
-
/**
|
|
1230
|
-
* Sets Navigation type for the list.
|
|
1231
|
-
* @param type
|
|
1232
|
-
*/
|
|
1233
|
-
onNavigationTypeChange(type) {
|
|
1234
|
-
this.resetNavigation();
|
|
1235
|
-
switch (type) {
|
|
1236
|
-
case NAVIGATION_TYPE.BASIC:
|
|
1237
|
-
this.enableBasicNavigation();
|
|
1238
|
-
break;
|
|
1239
|
-
case NAVIGATION_TYPE.INLINE:
|
|
1240
|
-
this.enableInlineNavigation();
|
|
1241
|
-
break;
|
|
1242
|
-
case NAVIGATION_TYPE.ADVANCED:
|
|
1243
|
-
case NAVIGATION_TYPE.CLASSIC:
|
|
1244
|
-
this.enableClassicNavigation();
|
|
1245
|
-
break;
|
|
1246
|
-
case NAVIGATION_TYPE.PAGER:
|
|
1247
|
-
this.enablePagerNavigation();
|
|
1248
|
-
break;
|
|
1249
|
-
case NAVIGATION_TYPE.NONE:
|
|
1250
|
-
this.setNavigationTypeNone();
|
|
1251
|
-
break;
|
|
1252
|
-
case NAVIGATION_TYPE.SCROLL:
|
|
1253
|
-
this.enableInfiniteScroll();
|
|
1254
|
-
break;
|
|
1255
|
-
case NAVIGATION_TYPE.ONDEMAND:
|
|
1256
|
-
this.enableOnDemandLoad();
|
|
1257
|
-
break;
|
|
1258
|
-
}
|
|
1259
|
-
}
|
|
1260
|
-
/**
|
|
1261
|
-
* Update fieldDefs property, fieldDefs is the model of the List Component.
|
|
1262
|
-
* fieldDefs is an Array type.
|
|
1263
|
-
* @param newVal
|
|
1264
|
-
*/
|
|
1265
|
-
updateFieldDefs(newVal) {
|
|
1266
|
-
if (this.infScroll || this.onDemandLoad) {
|
|
1267
|
-
[this.fieldDefs, this.currentPage] = this.paginationService.updateFieldsOnPagination(this, newVal);
|
|
889
|
+
/**
|
|
890
|
+
* Update fieldDefs property, fieldDefs is the model of the List Component.
|
|
891
|
+
* fieldDefs is an Array type.
|
|
892
|
+
* @param newVal
|
|
893
|
+
*/
|
|
894
|
+
updateFieldDefs(newVal) {
|
|
895
|
+
if (this.infScroll || this.onDemandLoad) {
|
|
896
|
+
[this.fieldDefs, this.currentPage] = this.paginationService.updateFieldsOnPagination(this, newVal);
|
|
1268
897
|
}
|
|
1269
898
|
else {
|
|
1270
899
|
this.fieldDefs = newVal;
|
|
@@ -1284,17 +913,17 @@ class ListComponent extends StylableComponent {
|
|
|
1284
913
|
}
|
|
1285
914
|
onDataChange(newVal) {
|
|
1286
915
|
// Check for newVal is not empty
|
|
1287
|
-
if (!isEmpty(newVal)) {
|
|
916
|
+
if (!_.isEmpty(newVal)) {
|
|
1288
917
|
this.noDataFound = false;
|
|
1289
918
|
this.isDataChanged = true;
|
|
1290
919
|
if (this.datasource && this.datasource.execute(DataSource.Operation.IS_API_AWARE)) {
|
|
1291
920
|
// clone the the data in case of live and service variables to prevent the two-way binding for these variables.
|
|
1292
|
-
newVal = cloneDeep(newVal);
|
|
921
|
+
newVal = _.cloneDeep(newVal);
|
|
1293
922
|
}
|
|
1294
|
-
if (isObject(newVal) && !isArray(newVal)) {
|
|
1295
|
-
newVal = isEmpty(newVal) ? [] : [newVal];
|
|
923
|
+
if (isObject(newVal) && !_.isArray(newVal)) {
|
|
924
|
+
newVal = _.isEmpty(newVal) ? [] : [newVal];
|
|
1296
925
|
}
|
|
1297
|
-
if (isString(newVal)) {
|
|
926
|
+
if (_.isString(newVal)) {
|
|
1298
927
|
newVal = newVal.split(',');
|
|
1299
928
|
}
|
|
1300
929
|
// if the page number is greater than 1 on initial load then we render the first page.
|
|
@@ -1303,7 +932,7 @@ class ListComponent extends StylableComponent {
|
|
|
1303
932
|
'page': 1
|
|
1304
933
|
});
|
|
1305
934
|
}
|
|
1306
|
-
if (isArray(newVal)) {
|
|
935
|
+
if (_.isArray(newVal)) {
|
|
1307
936
|
if (newVal.length) {
|
|
1308
937
|
this.invokeEventCallback('beforedatarender', { $data: newVal });
|
|
1309
938
|
}
|
|
@@ -1344,13 +973,13 @@ class ListComponent extends StylableComponent {
|
|
|
1344
973
|
this.dataNavigator.setBindDataSet(this.binddataset, this.viewParent, datasetBoundExpr ? this.context : this.datasource, this.dataset, this.binddatasource, datasetBoundExpr, this.statehandler);
|
|
1345
974
|
}
|
|
1346
975
|
onDataSetChange(newVal) {
|
|
1347
|
-
if (get(this.datasource, 'category') === 'wm.Variable' && this.getConfiguredState() !== 'none' && this._pageLoad) {
|
|
976
|
+
if (_.get(this.datasource, 'category') === 'wm.Variable' && this.getConfiguredState() !== 'none' && this._pageLoad) {
|
|
1348
977
|
const widgetState = this.statePersistence.getWidgetState(this);
|
|
1349
978
|
this._pageLoad = false;
|
|
1350
|
-
if (get(widgetState, 'pagination')) {
|
|
979
|
+
if (_.get(widgetState, 'pagination')) {
|
|
1351
980
|
this.dataNavigator.pageChanged({ page: widgetState.pagination }, true);
|
|
1352
981
|
}
|
|
1353
|
-
if (get(widgetState, 'selectedItem')) {
|
|
982
|
+
if (_.get(widgetState, 'selectedItem')) {
|
|
1354
983
|
this._selectedItemsExist = true;
|
|
1355
984
|
}
|
|
1356
985
|
}
|
|
@@ -1385,29 +1014,29 @@ class ListComponent extends StylableComponent {
|
|
|
1385
1014
|
getListItemByModel(listModel) {
|
|
1386
1015
|
return this.listItems.find((listItem) => {
|
|
1387
1016
|
let itemObj = listItem.item;
|
|
1388
|
-
if (this.groupby && !has(listModel, '_groupIndex')) {
|
|
1017
|
+
if (this.groupby && !_.has(listModel, '_groupIndex')) {
|
|
1389
1018
|
// If groupby is enabled, item contains _groupIndex property which should be excluded while comparing model.
|
|
1390
|
-
itemObj = clone(itemObj);
|
|
1019
|
+
itemObj = _.clone(itemObj);
|
|
1391
1020
|
delete itemObj._groupIndex;
|
|
1392
1021
|
}
|
|
1393
|
-
if (isEqual(itemObj, listModel)) {
|
|
1022
|
+
if (_.isEqual(itemObj, listModel)) {
|
|
1394
1023
|
return true;
|
|
1395
1024
|
}
|
|
1396
1025
|
}) || null;
|
|
1397
1026
|
}
|
|
1398
1027
|
updateSelectedItemsWidgets(statePersistenceTriggered) {
|
|
1399
1028
|
let obj = {}, widgetState;
|
|
1400
|
-
const pageNum = get(this.dataNavigator, 'dn.currentPage') || 1;
|
|
1029
|
+
const pageNum = _.get(this.dataNavigator, 'dn.currentPage') || 1;
|
|
1401
1030
|
if (this.getConfiguredState() !== 'none') {
|
|
1402
1031
|
// remove previously configured selected items for current page and construct new ones later below.
|
|
1403
1032
|
widgetState = this.statePersistence.getWidgetState(this) || {};
|
|
1404
|
-
if (get(widgetState, 'selectedItem')) {
|
|
1033
|
+
if (_.get(widgetState, 'selectedItem')) {
|
|
1405
1034
|
// when multiselect is on and an item is selected without pressing CTRL, previously selected items in state should be empty.
|
|
1406
1035
|
if (this.multiselect && this.selecteditem.length === 1) {
|
|
1407
1036
|
widgetState.selectedItem = [];
|
|
1408
1037
|
}
|
|
1409
1038
|
else {
|
|
1410
|
-
remove(widgetState.selectedItem, function (selectedItem) {
|
|
1039
|
+
_.remove(widgetState.selectedItem, function (selectedItem) {
|
|
1411
1040
|
return selectedItem.page === pageNum;
|
|
1412
1041
|
});
|
|
1413
1042
|
}
|
|
@@ -1425,8 +1054,8 @@ class ListComponent extends StylableComponent {
|
|
|
1425
1054
|
this.selectedItemWidgets = item.currentItemWidgets;
|
|
1426
1055
|
}
|
|
1427
1056
|
obj = { page: pageNum, index: index };
|
|
1428
|
-
if (get(widgetState, 'selectedItem') && this.multiselect) {
|
|
1429
|
-
if (!some(widgetState.selectedItem, obj)) {
|
|
1057
|
+
if (_.get(widgetState, 'selectedItem') && this.multiselect) {
|
|
1058
|
+
if (!_.some(widgetState.selectedItem, obj)) {
|
|
1430
1059
|
widgetState.selectedItem.push(obj);
|
|
1431
1060
|
}
|
|
1432
1061
|
}
|
|
@@ -1454,13 +1083,13 @@ class ListComponent extends StylableComponent {
|
|
|
1454
1083
|
// item is not allowed to get selected if it is disabled.
|
|
1455
1084
|
if ($listItem && !$listItem.disableItem) {
|
|
1456
1085
|
let item = $listItem.item;
|
|
1457
|
-
if (this.groupby && has(item, '_groupIndex')) {
|
|
1086
|
+
if (this.groupby && _.has(item, '_groupIndex')) {
|
|
1458
1087
|
// If groupby is enabled, item contains _groupIndex property which should be excluded from selecteditem.
|
|
1459
|
-
item = clone(item);
|
|
1088
|
+
item = _.clone(item);
|
|
1460
1089
|
delete item._groupIndex;
|
|
1461
1090
|
}
|
|
1462
1091
|
if ($listItem.isActive) {
|
|
1463
|
-
this._items = pullAllWith(this._items, [item], isEqual);
|
|
1092
|
+
this._items = _.pullAllWith(this._items, [item], _.isEqual);
|
|
1464
1093
|
$listItem.isActive = false;
|
|
1465
1094
|
}
|
|
1466
1095
|
else {
|
|
@@ -1488,10 +1117,10 @@ class ListComponent extends StylableComponent {
|
|
|
1488
1117
|
}
|
|
1489
1118
|
if (this.isDataChanged && this.getConfiguredState() !== 'none' && listItems.length && this._selectedItemsExist) {
|
|
1490
1119
|
const widgetState = this.statePersistence.getWidgetState(this);
|
|
1491
|
-
if (get(widgetState, 'selectedItem')) {
|
|
1120
|
+
if (_.get(widgetState, 'selectedItem')) {
|
|
1492
1121
|
this._selectedItemsExist = false;
|
|
1493
|
-
const selectedItemsLength = isArray(this.selecteditem) ? this.selecteditem.length : toNumber(!isEmpty(this.selecteditem));
|
|
1494
|
-
const currentPage = get(this.dataNavigator, 'dn.currentPage') || 1;
|
|
1122
|
+
const selectedItemsLength = _.isArray(this.selecteditem) ? this.selecteditem.length : _.toNumber(!_.isEmpty(this.selecteditem));
|
|
1123
|
+
const currentPage = _.get(this.dataNavigator, 'dn.currentPage') || 1;
|
|
1495
1124
|
widgetState.pagination = widgetState.pagination || 1;
|
|
1496
1125
|
// to prevent item selection from being triggered more than once
|
|
1497
1126
|
if (selectedItemsLength !== widgetState.selectedItem.length && widgetState.pagination === currentPage) {
|
|
@@ -1503,7 +1132,7 @@ class ListComponent extends StylableComponent {
|
|
|
1503
1132
|
}
|
|
1504
1133
|
}
|
|
1505
1134
|
}
|
|
1506
|
-
const selectedItems = isArray(this.selecteditem) ? this.selecteditem : [this.selecteditem];
|
|
1135
|
+
const selectedItems = _.isArray(this.selecteditem) ? this.selecteditem : [this.selecteditem];
|
|
1507
1136
|
this.firstSelectedItem = this.lastSelectedItem = null;
|
|
1508
1137
|
// don't select first item if multi-select is enabled and at least item is already selected in the list.
|
|
1509
1138
|
// don't select first item if state information has selected items
|
|
@@ -1552,6 +1181,15 @@ class ListComponent extends StylableComponent {
|
|
|
1552
1181
|
}
|
|
1553
1182
|
this.isDataChanged = false;
|
|
1554
1183
|
}
|
|
1184
|
+
triggerListItemSelection($el, $event) {
|
|
1185
|
+
if ($el && $el[0]) {
|
|
1186
|
+
const listItemContext = $el.data('listItemContext');
|
|
1187
|
+
// Trigger click event only if the list item is from the corresponding list.
|
|
1188
|
+
if (listItemContext.listComponent === this) {
|
|
1189
|
+
this.onItemClick($event, listItemContext);
|
|
1190
|
+
}
|
|
1191
|
+
}
|
|
1192
|
+
}
|
|
1555
1193
|
setupHandlers() {
|
|
1556
1194
|
this.listItems.changes.subscribe(listItems => {
|
|
1557
1195
|
this.onListRender(listItems);
|
|
@@ -1590,99 +1228,344 @@ class ListComponent extends StylableComponent {
|
|
|
1590
1228
|
// If ui is not present then it is called from drag and drop using keyboard
|
|
1591
1229
|
const newIndex = ui === undefined ? presentIndex : ui.item.index();
|
|
1592
1230
|
const oldIndex = this.$ulEle.data('oldIndex');
|
|
1593
|
-
const minIndex = min([newIndex, oldIndex]);
|
|
1594
|
-
const maxIndex = max([newIndex, oldIndex]);
|
|
1595
|
-
const draggedItem = pullAt(data, oldIndex)[0];
|
|
1231
|
+
const minIndex = _.min([newIndex, oldIndex]);
|
|
1232
|
+
const maxIndex = _.max([newIndex, oldIndex]);
|
|
1233
|
+
const draggedItem = _.pullAt(data, oldIndex)[0];
|
|
1596
1234
|
// Modify the data list only if we find a draggedItem
|
|
1597
1235
|
if (draggedItem) {
|
|
1598
1236
|
if (this.getConfiguredState() !== 'none') {
|
|
1599
1237
|
this.statePersistence.removeWidgetState(this, 'selectedItem');
|
|
1600
1238
|
}
|
|
1601
|
-
this.reorderProps.minIndex = min([minIndex, this.reorderProps.minIndex]);
|
|
1602
|
-
this.reorderProps.maxIndex = max([maxIndex, this.reorderProps.maxIndex]);
|
|
1603
|
-
data.splice(newIndex, 0, draggedItem);
|
|
1604
|
-
this.cdRef.markForCheck();
|
|
1605
|
-
this.cdRef.detectChanges();
|
|
1606
|
-
const $changedItem = {
|
|
1607
|
-
oldIndex: oldIndex,
|
|
1608
|
-
newIndex: newIndex,
|
|
1609
|
-
item: data[newIndex]
|
|
1610
|
-
};
|
|
1611
|
-
this.invokeEventCallback('reorder', { $event: evt, $data: data, $changedItem });
|
|
1612
|
-
this.$ulEle.removeData('oldIndex');
|
|
1239
|
+
this.reorderProps.minIndex = _.min([minIndex, this.reorderProps.minIndex]);
|
|
1240
|
+
this.reorderProps.maxIndex = _.max([maxIndex, this.reorderProps.maxIndex]);
|
|
1241
|
+
data.splice(newIndex, 0, draggedItem);
|
|
1242
|
+
this.cdRef.markForCheck();
|
|
1243
|
+
this.cdRef.detectChanges();
|
|
1244
|
+
const $changedItem = {
|
|
1245
|
+
oldIndex: oldIndex,
|
|
1246
|
+
newIndex: newIndex,
|
|
1247
|
+
item: data[newIndex]
|
|
1248
|
+
};
|
|
1249
|
+
this.invokeEventCallback('reorder', { $event: evt, $data: data, $changedItem });
|
|
1250
|
+
this.$ulEle.removeData('oldIndex');
|
|
1251
|
+
}
|
|
1252
|
+
}
|
|
1253
|
+
// configures reordering the list items.
|
|
1254
|
+
configureDnD() {
|
|
1255
|
+
let appendTo;
|
|
1256
|
+
const modalEl = $(document).find('.modal');
|
|
1257
|
+
if (this.getAttr('height')) { // when height is applied to the list, append should be the ul's parent as scroll is applied to the parent
|
|
1258
|
+
appendTo = 'parent';
|
|
1259
|
+
}
|
|
1260
|
+
else if (modalEl.length) { // In case of dialog, appendTo should be the modal ele
|
|
1261
|
+
appendTo = modalEl[modalEl.length - 1];
|
|
1262
|
+
}
|
|
1263
|
+
else { // As default append to should be body
|
|
1264
|
+
appendTo = 'body';
|
|
1265
|
+
}
|
|
1266
|
+
const options = isMobileApp() ? {} : {
|
|
1267
|
+
appendTo: appendTo,
|
|
1268
|
+
};
|
|
1269
|
+
const $el = $(this.nativeElement);
|
|
1270
|
+
this.$ulEle = $el.find('.app-livelist-container');
|
|
1271
|
+
configureDnD(this.$ulEle, options, this.onReorderStart.bind(this), this.onUpdate.bind(this), this.onSort.bind(this));
|
|
1272
|
+
this.$ulEle.droppable({ 'accept': '.app-list-item' });
|
|
1273
|
+
if (isMobileApp()) {
|
|
1274
|
+
this.$ulEle.sortable('disable');
|
|
1275
|
+
this.$ulEle.on('touchstart', function (event) {
|
|
1276
|
+
let self = this;
|
|
1277
|
+
if (!self.touching) {
|
|
1278
|
+
if (self.touched) {
|
|
1279
|
+
clearTimeout(self.touched);
|
|
1280
|
+
}
|
|
1281
|
+
setTimeout(() => {
|
|
1282
|
+
//Prevent context menu on mobile (IOS/ANDROID)
|
|
1283
|
+
if (event.cancelable) {
|
|
1284
|
+
event.preventDefault();
|
|
1285
|
+
}
|
|
1286
|
+
}, 50);
|
|
1287
|
+
self.touched = setTimeout(() => {
|
|
1288
|
+
$(event.currentTarget).addClass('no-selection');
|
|
1289
|
+
//Enable draggable
|
|
1290
|
+
$(event.currentTarget).sortable('enable');
|
|
1291
|
+
//Set internal flag
|
|
1292
|
+
self.touching = true;
|
|
1293
|
+
//trigger touchstart again to enable draggable through touch punch
|
|
1294
|
+
$(self).trigger(event);
|
|
1295
|
+
//Choose preferred duration for taphold
|
|
1296
|
+
}, 350);
|
|
1297
|
+
}
|
|
1298
|
+
}).on('touchend', function (event) {
|
|
1299
|
+
this.touching = false;
|
|
1300
|
+
$(event.currentTarget).removeClass('no-selection');
|
|
1301
|
+
//Disable draggable to enable default behaviour
|
|
1302
|
+
$(event.currentTarget).sortable('disable');
|
|
1303
|
+
clearTimeout(this.touched);
|
|
1304
|
+
}).on('touchmove', function () {
|
|
1305
|
+
clearTimeout(this.touched);
|
|
1306
|
+
});
|
|
1307
|
+
}
|
|
1308
|
+
}
|
|
1309
|
+
// returns true if the selection limit is reached.
|
|
1310
|
+
checkSelectionLimit(count) {
|
|
1311
|
+
return (!this.selectionlimit || count < this.selectionlimit);
|
|
1312
|
+
}
|
|
1313
|
+
// returns listitem reference by index value.
|
|
1314
|
+
getListItemByIndex(index) {
|
|
1315
|
+
return this.listItems.toArray()[index];
|
|
1316
|
+
}
|
|
1317
|
+
/**
|
|
1318
|
+
* return index of an (listItemDirective) in the listItem
|
|
1319
|
+
* @param {ListItemDirective} item
|
|
1320
|
+
* @returns {number}
|
|
1321
|
+
*/
|
|
1322
|
+
getListItemIndex(item) {
|
|
1323
|
+
return this.listItems.toArray().indexOf(item);
|
|
1324
|
+
}
|
|
1325
|
+
// this method is called form other data widgets like table.
|
|
1326
|
+
execute(operation, options) {
|
|
1327
|
+
if ([DataSource.Operation.IS_API_AWARE, DataSource.Operation.IS_PAGEABLE, DataSource.Operation.SUPPORTS_SERVER_FILTER].includes(operation)) {
|
|
1328
|
+
return false;
|
|
1329
|
+
}
|
|
1330
|
+
return this.datasource.execute(operation, options);
|
|
1331
|
+
}
|
|
1332
|
+
handleKeyDown($event, action) {
|
|
1333
|
+
$event.stopPropagation();
|
|
1334
|
+
if ($event.keyCode !== 13 && $event.keyCode !== 9 && !(($event.target.classList.contains('form-control') || $event.target.classList.contains('note-editable')) && $event.keyCode === 32)) {
|
|
1335
|
+
$event.preventDefault();
|
|
1336
|
+
}
|
|
1337
|
+
const listItems = this.listItems;
|
|
1338
|
+
let presentIndex = this.getListItemIndex(this.lastSelectedItem);
|
|
1339
|
+
if (this.multiselect) {
|
|
1340
|
+
const firstIndex = this.getListItemIndex(this.firstSelectedItem);
|
|
1341
|
+
const selectCount = _.isArray(this.selecteditem) ? this.selecteditem.length : (_.isObject(this.selecteditem) ? 1 : 0);
|
|
1342
|
+
if (action === 'selectPrev') {
|
|
1343
|
+
if (presentIndex > 0) {
|
|
1344
|
+
if ((presentIndex <= firstIndex) && this.checkSelectionLimit(selectCount)) {
|
|
1345
|
+
this.lastSelectedItem = this.getListItemByIndex(presentIndex - 1);
|
|
1346
|
+
this.toggleListItemSelection(this.lastSelectedItem);
|
|
1347
|
+
}
|
|
1348
|
+
else if (presentIndex > firstIndex) {
|
|
1349
|
+
this.toggleListItemSelection(this.getListItemByIndex(presentIndex));
|
|
1350
|
+
this.lastSelectedItem = this.getListItemByIndex(presentIndex - 1);
|
|
1351
|
+
}
|
|
1352
|
+
else {
|
|
1353
|
+
this.invokeEventCallback('selectionlimitexceed', { $event });
|
|
1354
|
+
}
|
|
1355
|
+
}
|
|
1356
|
+
}
|
|
1357
|
+
else if (action === 'selectNext') {
|
|
1358
|
+
if (presentIndex < listItems.length - 1) {
|
|
1359
|
+
if ((presentIndex >= firstIndex) && this.checkSelectionLimit(selectCount)) {
|
|
1360
|
+
this.lastSelectedItem = this.getListItemByIndex(presentIndex + 1);
|
|
1361
|
+
this.toggleListItemSelection(this.lastSelectedItem);
|
|
1362
|
+
}
|
|
1363
|
+
else if (presentIndex < firstIndex) {
|
|
1364
|
+
this.toggleListItemSelection(this.getListItemByIndex(presentIndex));
|
|
1365
|
+
this.lastSelectedItem = this.getListItemByIndex(presentIndex + 1);
|
|
1366
|
+
}
|
|
1367
|
+
else {
|
|
1368
|
+
this.invokeEventCallback('selectionlimitexceed', { $event });
|
|
1369
|
+
}
|
|
1370
|
+
}
|
|
1371
|
+
}
|
|
1372
|
+
}
|
|
1373
|
+
if (action === 'focusPrev') {
|
|
1374
|
+
if (this.isListElementMovable) {
|
|
1375
|
+
presentIndex = presentIndex <= 0 ? 0 : (presentIndex);
|
|
1376
|
+
if (presentIndex === 0) {
|
|
1377
|
+
return;
|
|
1378
|
+
}
|
|
1379
|
+
this.lastSelectedItem = this.getListItemByIndex(presentIndex);
|
|
1380
|
+
const prevElt = this.getListItemByIndex(presentIndex - 1);
|
|
1381
|
+
prevElt.nativeElement.before(this.lastSelectedItem.nativeElement);
|
|
1382
|
+
this.lastSelectedItem.nativeElement.focus();
|
|
1383
|
+
this.statePersistence.removeWidgetState(this, 'selectedItem');
|
|
1384
|
+
const arr = this.listItems.toArray();
|
|
1385
|
+
[arr[presentIndex - 1], arr[presentIndex]] = [arr[presentIndex], arr[presentIndex - 1]];
|
|
1386
|
+
this.listItems.reset(arr);
|
|
1387
|
+
this.currentIndex = presentIndex;
|
|
1388
|
+
this.ariaText = "selected ";
|
|
1389
|
+
}
|
|
1390
|
+
else {
|
|
1391
|
+
presentIndex = presentIndex <= 0 ? 0 : (presentIndex - 1);
|
|
1392
|
+
this.lastSelectedItem = this.getListItemByIndex(presentIndex);
|
|
1393
|
+
this.lastSelectedItem.nativeElement.focus();
|
|
1394
|
+
this.currentIndex = presentIndex + 1;
|
|
1395
|
+
this.ariaText = "selected ";
|
|
1396
|
+
}
|
|
1397
|
+
}
|
|
1398
|
+
else if (action === 'focusNext') {
|
|
1399
|
+
if (this.isListElementMovable) {
|
|
1400
|
+
presentIndex = presentIndex < (listItems.length - 1) ? (presentIndex) : (listItems.length - 1);
|
|
1401
|
+
if (presentIndex === this.listItems.length - 1) {
|
|
1402
|
+
return;
|
|
1403
|
+
}
|
|
1404
|
+
this.lastSelectedItem = this.getListItemByIndex(presentIndex);
|
|
1405
|
+
const nextElt = this.getListItemByIndex(presentIndex + 1);
|
|
1406
|
+
nextElt.nativeElement.after(this.lastSelectedItem.nativeElement);
|
|
1407
|
+
this.lastSelectedItem.nativeElement.focus();
|
|
1408
|
+
this.statePersistence.removeWidgetState(this, 'selectedItem');
|
|
1409
|
+
const arr = this.listItems.toArray();
|
|
1410
|
+
[arr[presentIndex], arr[presentIndex + 1]] = [arr[presentIndex + 1], arr[presentIndex]];
|
|
1411
|
+
this.listItems.reset(arr);
|
|
1412
|
+
this.currentIndex = presentIndex + 2;
|
|
1413
|
+
this.ariaText = "selected ";
|
|
1414
|
+
}
|
|
1415
|
+
else {
|
|
1416
|
+
presentIndex = presentIndex < (listItems.length - 1) ? (presentIndex + 1) : (listItems.length - 1);
|
|
1417
|
+
this.lastSelectedItem = this.getListItemByIndex(presentIndex);
|
|
1418
|
+
this.lastSelectedItem.nativeElement.focus();
|
|
1419
|
+
this.currentIndex = presentIndex + 1;
|
|
1420
|
+
this.ariaText = "selected ";
|
|
1421
|
+
}
|
|
1422
|
+
}
|
|
1423
|
+
else if (action === 'select') {
|
|
1424
|
+
// if the enter click is pressed on the item which is not the last selected item, the find the item from which the event is originated.
|
|
1425
|
+
if (presentIndex === -1 || !$($event.target).closest(this.lastSelectedItem.nativeElement)) {
|
|
1426
|
+
const $li = $($event.target).closest('li.app-list-item');
|
|
1427
|
+
const $ul = $li.closest('ul.app-livelist-container');
|
|
1428
|
+
presentIndex = $ul.find('li.app-list-item').index($li);
|
|
1429
|
+
}
|
|
1430
|
+
this.onItemClick($event, this.getListItemByIndex(presentIndex));
|
|
1431
|
+
}
|
|
1432
|
+
else if (action === 'space') {
|
|
1433
|
+
if (!this.enablereorder) {
|
|
1434
|
+
return;
|
|
1435
|
+
}
|
|
1436
|
+
this.isListElementMovable = !this.isListElementMovable;
|
|
1437
|
+
this.onItemClick($event, this.getListItemByIndex(presentIndex));
|
|
1438
|
+
this.currentIndex = presentIndex + 1;
|
|
1439
|
+
if (this.isListElementMovable) {
|
|
1440
|
+
this.ariaText = `Item ${this.currentIndex} grabbed, current position `;
|
|
1441
|
+
this.$ulEle.data('oldIndex', presentIndex);
|
|
1442
|
+
}
|
|
1443
|
+
else {
|
|
1444
|
+
this.ariaText = `Item ${this.currentIndex} dropped, final position `;
|
|
1445
|
+
this.onUpdate($event, undefined, presentIndex);
|
|
1446
|
+
}
|
|
1447
|
+
}
|
|
1448
|
+
}
|
|
1449
|
+
onPropertyChange(key, nv, ov) {
|
|
1450
|
+
if (key === 'dataset') {
|
|
1451
|
+
if (!nv && this.binddatasource && !this.datasource) {
|
|
1452
|
+
return;
|
|
1453
|
+
}
|
|
1454
|
+
this.onDataSetChange(nv);
|
|
1455
|
+
}
|
|
1456
|
+
else if (key === 'datasource') {
|
|
1457
|
+
if (this.dataset) {
|
|
1458
|
+
this.onDataSetChange(this.dataset);
|
|
1459
|
+
}
|
|
1460
|
+
}
|
|
1461
|
+
else if (key === 'navigation') {
|
|
1462
|
+
// Support for older projects where navigation type was advanced instead of classic
|
|
1463
|
+
if (nv === 'Advanced') {
|
|
1464
|
+
this.navigation = 'Classic';
|
|
1465
|
+
return;
|
|
1466
|
+
}
|
|
1467
|
+
switchClass(this.nativeElement, nv, ov);
|
|
1468
|
+
this.onNavigationTypeChange(nv);
|
|
1469
|
+
if (this.dataNavigator) {
|
|
1470
|
+
this.dataNavigator.navigationClass = this.paginationclass;
|
|
1471
|
+
}
|
|
1472
|
+
}
|
|
1473
|
+
else if (key === 'itemsperrow') {
|
|
1474
|
+
setListClass(this);
|
|
1475
|
+
}
|
|
1476
|
+
else if (key === 'tabindex') {
|
|
1477
|
+
return;
|
|
1478
|
+
}
|
|
1479
|
+
else if (key === 'pulltorefresh' && nv) {
|
|
1480
|
+
this.app.notify('pullToRefresh:enable');
|
|
1481
|
+
this.subscribeToPullToRefresh();
|
|
1482
|
+
}
|
|
1483
|
+
else if (key === 'paginationclass') {
|
|
1484
|
+
if (this.dataNavigator) {
|
|
1485
|
+
// Adding setTimeout because in pagination component updateNavSize method is overriding navigationclass
|
|
1486
|
+
setTimeout(() => this.dataNavigator.navigationClass = nv);
|
|
1487
|
+
}
|
|
1613
1488
|
}
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
appendTo = 'parent';
|
|
1489
|
+
else if (key === 'pagesize') {
|
|
1490
|
+
this.dataNavigator.options = {
|
|
1491
|
+
maxResults: nv
|
|
1492
|
+
};
|
|
1493
|
+
this.dataNavigator.widget.maxResults = nv;
|
|
1494
|
+
this.dataNavigator.maxResults = nv;
|
|
1621
1495
|
}
|
|
1622
|
-
else if (
|
|
1623
|
-
|
|
1496
|
+
else if (key === 'enablereorder') {
|
|
1497
|
+
if (nv && this.$ulEle) {
|
|
1498
|
+
this.$ulEle.attr('aria-describedby', this.titleId);
|
|
1499
|
+
this.configureDnD();
|
|
1500
|
+
this.$ulEle.sortable('enable');
|
|
1501
|
+
}
|
|
1502
|
+
else if (this.$ulEle && !nv) {
|
|
1503
|
+
this.$ulEle.removeAttr('aria-describedby');
|
|
1504
|
+
this.$ulEle.sortable('disable');
|
|
1505
|
+
}
|
|
1624
1506
|
}
|
|
1625
|
-
else {
|
|
1626
|
-
|
|
1507
|
+
else {
|
|
1508
|
+
super.onPropertyChange(key, nv, ov);
|
|
1627
1509
|
}
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
this
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1510
|
+
}
|
|
1511
|
+
onItemClick(evt, $listItem) {
|
|
1512
|
+
let selectCount;
|
|
1513
|
+
if (!$listItem.disableItem) {
|
|
1514
|
+
this.firstSelectedItem = this.firstSelectedItem || $listItem;
|
|
1515
|
+
// Setting selectCount value based number of items selected.
|
|
1516
|
+
selectCount = _.isArray(this.selecteditem) ? this.selecteditem.length : (_.isObject(this.selecteditem) ? 1 : 0);
|
|
1517
|
+
// Handling multiselect for mobile device
|
|
1518
|
+
if (this.multiselect && isMobile()) {
|
|
1519
|
+
if (this.checkSelectionLimit(selectCount) || $listItem.isActive) {
|
|
1520
|
+
this.toggleListItemSelection($listItem);
|
|
1521
|
+
}
|
|
1522
|
+
else {
|
|
1523
|
+
this.invokeEventCallback('selectionlimitexceed', { $event: evt });
|
|
1524
|
+
}
|
|
1525
|
+
}
|
|
1526
|
+
else if ((evt.ctrlKey || evt.metaKey) && this.multiselect) {
|
|
1527
|
+
if (this.checkSelectionLimit(selectCount) || $listItem.isActive) {
|
|
1528
|
+
this.firstSelectedItem = this.lastSelectedItem = $listItem;
|
|
1529
|
+
this.toggleListItemSelection($listItem);
|
|
1530
|
+
}
|
|
1531
|
+
else {
|
|
1532
|
+
this.invokeEventCallback('selectionlimitexceed', { $event: evt });
|
|
1533
|
+
}
|
|
1534
|
+
}
|
|
1535
|
+
else if (evt.shiftKey && this.multiselect) {
|
|
1536
|
+
let first = $listItem.context.index;
|
|
1537
|
+
let last = this.firstSelectedItem.context.index;
|
|
1538
|
+
// if first is greater than last, then swap values
|
|
1539
|
+
if (first > last) {
|
|
1540
|
+
last = [first, first = last][0];
|
|
1541
|
+
}
|
|
1542
|
+
if (this.checkSelectionLimit(last - first)) {
|
|
1543
|
+
this.clearSelectedItems();
|
|
1544
|
+
this.listItems.forEach(($liItem) => {
|
|
1545
|
+
const index = $liItem.context.index;
|
|
1546
|
+
if (index >= first && index <= last) {
|
|
1547
|
+
this.toggleListItemSelection($liItem);
|
|
1647
1548
|
}
|
|
1648
|
-
}
|
|
1649
|
-
|
|
1650
|
-
$(event.currentTarget).addClass('no-selection');
|
|
1651
|
-
//Enable draggable
|
|
1652
|
-
$(event.currentTarget).sortable('enable');
|
|
1653
|
-
//Set internal flag
|
|
1654
|
-
self.touching = true;
|
|
1655
|
-
//trigger touchstart again to enable draggable through touch punch
|
|
1656
|
-
$(self).trigger(event);
|
|
1657
|
-
//Choose preferred duration for taphold
|
|
1658
|
-
}, 350);
|
|
1549
|
+
});
|
|
1550
|
+
this.lastSelectedItem = $listItem;
|
|
1659
1551
|
}
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1552
|
+
else {
|
|
1553
|
+
this.invokeEventCallback('selectionlimitexceed', { $event: evt });
|
|
1554
|
+
}
|
|
1555
|
+
}
|
|
1556
|
+
else {
|
|
1557
|
+
if (!$listItem.isActive || selectCount > 1) {
|
|
1558
|
+
this.clearSelectedItems();
|
|
1559
|
+
this.toggleListItemSelection($listItem);
|
|
1560
|
+
this.firstSelectedItem = this.lastSelectedItem = $listItem;
|
|
1561
|
+
}
|
|
1562
|
+
}
|
|
1563
|
+
$appDigest();
|
|
1669
1564
|
}
|
|
1670
1565
|
}
|
|
1671
|
-
//
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
}
|
|
1675
|
-
// returns listitem reference by index value.
|
|
1676
|
-
getListItemByIndex(index) {
|
|
1677
|
-
return this.listItems.toArray()[index];
|
|
1678
|
-
}
|
|
1679
|
-
/**
|
|
1680
|
-
* return index of an (listItemDirective) in the listItem
|
|
1681
|
-
* @param {ListItemDirective} item
|
|
1682
|
-
* @returns {number}
|
|
1683
|
-
*/
|
|
1684
|
-
getListItemIndex(item) {
|
|
1685
|
-
return this.listItems.toArray().indexOf(item);
|
|
1566
|
+
// Empty the list content on clear
|
|
1567
|
+
clear() {
|
|
1568
|
+
this.updateFieldDefs([]);
|
|
1686
1569
|
}
|
|
1687
1570
|
/**
|
|
1688
1571
|
* Returns ListItem Reference based on the input provided.
|
|
@@ -1699,11 +1582,51 @@ class ListComponent extends StylableComponent {
|
|
|
1699
1582
|
}
|
|
1700
1583
|
return listItem;
|
|
1701
1584
|
}
|
|
1585
|
+
/**
|
|
1586
|
+
* deselects item in the list.
|
|
1587
|
+
* @param val: index | model of the list item.
|
|
1588
|
+
*/
|
|
1589
|
+
deselectItem(val) {
|
|
1590
|
+
const listItem = this.getItemRefByIndexOrModel(val);
|
|
1591
|
+
if (listItem && listItem.isActive) {
|
|
1592
|
+
this.toggleListItemSelection(listItem);
|
|
1593
|
+
}
|
|
1594
|
+
}
|
|
1595
|
+
/**
|
|
1596
|
+
* selects item in the list.
|
|
1597
|
+
* @param val: index | model of the list item.
|
|
1598
|
+
*/
|
|
1599
|
+
selectItem(val, statePersistenceTriggered) {
|
|
1600
|
+
const listItem = this.getItemRefByIndexOrModel(val);
|
|
1601
|
+
if (!listItem) {
|
|
1602
|
+
return;
|
|
1603
|
+
}
|
|
1604
|
+
if (!listItem.isActive) {
|
|
1605
|
+
this.toggleListItemSelection(listItem, statePersistenceTriggered);
|
|
1606
|
+
}
|
|
1607
|
+
// focus the element.
|
|
1608
|
+
listItem.nativeElement.focus();
|
|
1609
|
+
}
|
|
1702
1610
|
beforePaginationChange($event, $index) {
|
|
1703
1611
|
this.invokeEventCallback('paginationchange', { $event, $index });
|
|
1704
1612
|
}
|
|
1705
|
-
|
|
1706
|
-
|
|
1613
|
+
handleEvent(node, eventName, eventCallback, locals) {
|
|
1614
|
+
// tap and doubleTap events are not getting propagated.So, using mouse events instead.
|
|
1615
|
+
const touchToMouse = {
|
|
1616
|
+
tap: 'click',
|
|
1617
|
+
doubletap: 'dblclick'
|
|
1618
|
+
};
|
|
1619
|
+
if (_.includes(['click', 'tap', 'dblclick', 'doubletap'], eventName)) {
|
|
1620
|
+
this.eventManager.addEventListener(this.nativeElement, touchToMouse[eventName] || eventName, (evt) => {
|
|
1621
|
+
const target = $(evt.target).closest('.app-list-item');
|
|
1622
|
+
if (target.length) {
|
|
1623
|
+
const listItemContext = target.data('listItemContext');
|
|
1624
|
+
if (!listItemContext.disableItem) {
|
|
1625
|
+
this.invokeEventCallback(eventName, { widget: listItemContext, $event: evt, item: listItemContext.item });
|
|
1626
|
+
}
|
|
1627
|
+
}
|
|
1628
|
+
});
|
|
1629
|
+
}
|
|
1707
1630
|
}
|
|
1708
1631
|
// Invoke the datasource variable by default when pulltorefresh event is not specified.
|
|
1709
1632
|
subscribeToPullToRefresh() {
|
|
@@ -1713,6 +1636,19 @@ class ListComponent extends StylableComponent {
|
|
|
1713
1636
|
}
|
|
1714
1637
|
}));
|
|
1715
1638
|
}
|
|
1639
|
+
ngOnInit() {
|
|
1640
|
+
super.ngOnInit();
|
|
1641
|
+
this.handleHeaderClick = noop;
|
|
1642
|
+
setTimeout(() => {
|
|
1643
|
+
this.debouncedFetchNextDatasetOnScroll = this.paginationService.debouncedFetchNextDatasetOnScroll(this.dataNavigator, DEBOUNCE_TIMES.PAGINATION_DEBOUNCE_TIME, this);
|
|
1644
|
+
}, 0);
|
|
1645
|
+
this._items = [];
|
|
1646
|
+
this.fieldDefs = [];
|
|
1647
|
+
this.reorderProps = {
|
|
1648
|
+
minIndex: null,
|
|
1649
|
+
maxIndex: null
|
|
1650
|
+
};
|
|
1651
|
+
}
|
|
1716
1652
|
setUpCUDHandlers() {
|
|
1717
1653
|
const $addItem = document.getElementsByClassName("add-list-item")[0];
|
|
1718
1654
|
if ($addItem) {
|
|
@@ -1722,7 +1658,59 @@ class ListComponent extends StylableComponent {
|
|
|
1722
1658
|
});
|
|
1723
1659
|
}
|
|
1724
1660
|
}
|
|
1725
|
-
|
|
1661
|
+
ngAfterViewInit() {
|
|
1662
|
+
this.promiseResolverFn();
|
|
1663
|
+
this.propsInitPromise.then(() => {
|
|
1664
|
+
super.ngAfterViewInit();
|
|
1665
|
+
this.setUpCUDHandlers();
|
|
1666
|
+
this.selectedItemWidgets = this.multiselect ? [] : {};
|
|
1667
|
+
var ele = $(this.nativeElement).find('.app-livelist-container');
|
|
1668
|
+
if (this.enablereorder && !this.groupby) {
|
|
1669
|
+
if (ele) {
|
|
1670
|
+
ele.attr('aria-describedby', this.titleId);
|
|
1671
|
+
}
|
|
1672
|
+
this.configureDnD();
|
|
1673
|
+
}
|
|
1674
|
+
if (!this.enablereorder) {
|
|
1675
|
+
if (ele) {
|
|
1676
|
+
ele.removeAttr('aria-describedby');
|
|
1677
|
+
}
|
|
1678
|
+
}
|
|
1679
|
+
if (this.groupby && this.collapsible) {
|
|
1680
|
+
this.handleHeaderClick = handleHeaderClick;
|
|
1681
|
+
this.toggleAllHeaders = toggleAllHeaders.bind(undefined, this);
|
|
1682
|
+
}
|
|
1683
|
+
setListClass(this);
|
|
1684
|
+
});
|
|
1685
|
+
this.setupHandlers();
|
|
1686
|
+
const $ul = this.nativeElement.querySelector('ul.app-livelist-container');
|
|
1687
|
+
styler($ul, this, APPLY_STYLES_TYPE.SCROLLABLE_CONTAINER);
|
|
1688
|
+
if (this.enablereorder) {
|
|
1689
|
+
if ($ul) {
|
|
1690
|
+
$ul.setAttribute('aria-describedby', this.titleId);
|
|
1691
|
+
}
|
|
1692
|
+
}
|
|
1693
|
+
if (!this.enablereorder) {
|
|
1694
|
+
if ($ul) {
|
|
1695
|
+
$ul.removeAttribute('aria-describedby');
|
|
1696
|
+
}
|
|
1697
|
+
}
|
|
1698
|
+
if (isMobileApp() && $ul.querySelector('.app-list-item-action-panel')) {
|
|
1699
|
+
this._listAnimator = new ListAnimator(this);
|
|
1700
|
+
}
|
|
1701
|
+
}
|
|
1702
|
+
ngOnDestroy() {
|
|
1703
|
+
if (this._listAnimator && this._listAnimator.$btnSubscription) {
|
|
1704
|
+
this._listAnimator.$btnSubscription.unsubscribe();
|
|
1705
|
+
}
|
|
1706
|
+
this._listenerDestroyers.forEach(d => d && d());
|
|
1707
|
+
super.ngOnDestroy();
|
|
1708
|
+
}
|
|
1709
|
+
ngOnDetach() {
|
|
1710
|
+
super.ngOnDetach();
|
|
1711
|
+
this._pageLoad = true;
|
|
1712
|
+
}
|
|
1713
|
+
static { this.ɵfac = function ListComponent_Factory(t) { return new (t || ListComponent)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i1.ToDatePipe), i0.ɵɵdirectiveInject(i2.App), i0.ɵɵdirectiveInject(i2.AppDefaults), i0.ɵɵdirectiveInject(i0.NgZone), i0.ɵɵinjectAttribute('itemclass.bind'), i0.ɵɵinjectAttribute('disableitem.bind'), i0.ɵɵinjectAttribute('dataset.bind'), i0.ɵɵinjectAttribute('datasource.bind'), i0.ɵɵinjectAttribute('mouseenter.event'), i0.ɵɵinjectAttribute('mouseleave.event'), i0.ɵɵdirectiveInject(i2.StatePersistence), i0.ɵɵdirectiveInject(i2.PaginationService)); }; }
|
|
1726
1714
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ListComponent, selectors: [["div", "wmList", ""]], contentQueries: function ListComponent_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {
|
|
1727
1715
|
i0.ɵɵcontentQuery(dirIndex, _c0, 5);
|
|
1728
1716
|
i0.ɵɵcontentQuery(dirIndex, _c1, 5);
|
|
@@ -1743,55 +1731,61 @@ class ListComponent extends StylableComponent {
|
|
|
1743
1731
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.listItems = _t);
|
|
1744
1732
|
} }, features: [i0.ɵɵProvidersFeature([
|
|
1745
1733
|
provideAsWidgetRef(ListComponent)
|
|
1746
|
-
]), i0.ɵɵInheritDefinitionFeature], attrs: _c3, decls: 16, vars: 19, consts: [["
|
|
1747
|
-
|
|
1748
|
-
i0.ɵɵtemplate(
|
|
1734
|
+
]), i0.ɵɵInheritDefinitionFeature], attrs: _c3, decls: 16, vars: 19, consts: [["class", "panel-heading", 4, "ngIf"], ["class", "app-datanavigator", "aria-label", "Page navigation", 4, "ngIf"], ["aria-live", "polite", "aria-atomic", "true", "class", "sr-only", 4, "ngIf"], ["class", "sr-only", 3, "id", 4, "ngIf"], ["aria-live", "assertive", "class", "sr-only", 4, "ngIf"], ["role", "list", 3, "hidden", "keydown.enter", "keydown.space", "keydown.arrowup", "keydown.arrowdown", "keydown.arrowleft", "keydown.arrowright", "keydown.shift.arrowup", "keydown.shift.arrowdown", "keydown.shift.arrowleft", "keydown.shift.arrowright"], [3, "ngIf", "ngIfElse"], [3, "ngTemplateOutlet"], ["class", "no-data-msg", 3, "textContent", 4, "ngIf"], ["class", "loading-data-msg", 4, "ngIf"], ["class", "app-datanavigator", 4, "ngIf"], ["class", "panel-footer", 3, "hidden", 4, "ngIf"], ["groupedListTemplate", ""], [1, "panel-heading"], [1, "panel-title"], [1, "pull-left"], ["aria-hidden", "true", 3, "hidden"], [1, "heading", 3, "innerHTML"], [1, "description", 3, "innerHTML"], ["aria-label", "Page navigation", 1, "app-datanavigator"], [1, "pager"], [1, "previous", 3, "ngClass"], ["href", "javascript:void(0);", 3, "click"], ["aria-hidden", "true", 1, "wi", "wi-chevron-left"], [1, "sr-only"], ["aria-live", "polite", "aria-atomic", "true", 1, "sr-only"], [1, "sr-only", 3, "id"], ["aria-live", "assertive", 1, "sr-only"], ["role", "listitem", 3, "class", "ngClass", "wmListItem", 4, "ngFor", "ngForOf"], ["role", "listitem", 3, "ngClass", "wmListItem"], ["listItemRef", "listItemRef"], [3, "ngTemplateOutlet", "ngTemplateOutletContext"], [1, "no-data-msg", 3, "textContent"], [1, "loading-data-msg"], ["aria-hidden", "true", 1, "app-icon", "panel-icon", "fa-spin", 3, "ngClass"], [1, "loading-text", 3, "textContent"], [1, "app-datanavigator"], [1, "next", 3, "ngClass"], ["aria-hidden", "true", 1, "wi", "wi-chevron-right"], [1, "panel-footer", 3, "hidden"], ["wmPagination", "", "navigationalign.bind", "navigationalign", "navigation.bind", "navControls", "showrecordcount.bind", "showrecordcount", "maxsize.bind", "maxsize", "boundarylinks.bind", "boundarylinks", "forceellipses.bind", "forceellipses", "directionlinks.bind", "directionlinks", "show.bind", "!onDemandLoad", "paginationchange.event", "beforePaginationChange($event, $index)"], ["href", "javascript:void(0);", "class", "app-button btn btn-block", 3, "ngClass", "textContent", "click", 4, "ngIf"], ["href", "javascript:void(0);", 1, "app-button", "btn", "btn-block", 3, "ngClass", "textContent", "click"], ["class", "app-list-item-group clearfix", 4, "ngFor", "ngForOf"], [1, "app-list-item-group", "clearfix"], [1, "list-group", "item-group", 3, "ngClass"], [1, "app-list-item-header", "list-item", "list-group-header", 3, "ngClass", "click"], [1, "header-action"], ["class", "app-icon wi action wi-chevron-up", 4, "ngIf"], ["class", "label label-default", 4, "ngIf"], [3, "class", "ngClass", "wmListItem", 4, "ngFor", "ngForOf"], [1, "app-icon", "wi", "action", "wi-chevron-up"], [1, "label", "label-default"], [3, "ngClass", "wmListItem"]], template: function ListComponent_Template(rf, ctx) { if (rf & 1) {
|
|
1735
|
+
i0.ɵɵtemplate(0, ListComponent_div_0_Template, 7, 6, "div", 0);
|
|
1736
|
+
i0.ɵɵtemplate(1, ListComponent_div_1_Template, 7, 6, "div", 1);
|
|
1737
|
+
i0.ɵɵtemplate(2, ListComponent_div_2_Template, 2, 1, "div", 2);
|
|
1749
1738
|
i0.ɵɵelementStart(3, "div");
|
|
1750
|
-
i0.ɵɵtemplate(4, ListComponent_div_4_Template, 2, 1, "div",
|
|
1739
|
+
i0.ɵɵtemplate(4, ListComponent_div_4_Template, 2, 1, "div", 3);
|
|
1740
|
+
i0.ɵɵtemplate(5, ListComponent_div_5_Template, 2, 1, "div", 4);
|
|
1751
1741
|
i0.ɵɵelementEnd();
|
|
1752
|
-
i0.ɵɵelementStart(6, "ul",
|
|
1753
|
-
i0.ɵɵlistener("keydown.enter", function ListComponent_Template_ul_keydown_enter_6_listener($event) {
|
|
1754
|
-
i0.ɵɵtemplate(7, ListComponent_ng_template_7_Template, 1, 1, "ng-template",
|
|
1755
|
-
i0.ɵɵelementContainer(8,
|
|
1742
|
+
i0.ɵɵelementStart(6, "ul", 5);
|
|
1743
|
+
i0.ɵɵlistener("keydown.enter", function ListComponent_Template_ul_keydown_enter_6_listener($event) { return ctx.handleKeyDown($event, "select"); })("keydown.space", function ListComponent_Template_ul_keydown_space_6_listener($event) { return ctx.handleKeyDown($event, "space"); })("keydown.arrowup", function ListComponent_Template_ul_keydown_arrowup_6_listener($event) { return ctx.handleKeyDown($event, "focusPrev"); })("keydown.arrowdown", function ListComponent_Template_ul_keydown_arrowdown_6_listener($event) { return ctx.handleKeyDown($event, "focusNext"); })("keydown.arrowleft", function ListComponent_Template_ul_keydown_arrowleft_6_listener($event) { return ctx.handleKeyDown($event, "focusPrev"); })("keydown.arrowright", function ListComponent_Template_ul_keydown_arrowright_6_listener($event) { return ctx.handleKeyDown($event, "focusNext"); })("keydown.shift.arrowup", function ListComponent_Template_ul_keydown_shift_arrowup_6_listener($event) { return ctx.handleKeyDown($event, "selectPrev"); })("keydown.shift.arrowdown", function ListComponent_Template_ul_keydown_shift_arrowdown_6_listener($event) { return ctx.handleKeyDown($event, "selectNext"); })("keydown.shift.arrowleft", function ListComponent_Template_ul_keydown_shift_arrowleft_6_listener($event) { return ctx.handleKeyDown($event, "selectPrev"); })("keydown.shift.arrowright", function ListComponent_Template_ul_keydown_shift_arrowright_6_listener($event) { return ctx.handleKeyDown($event, "selectNext"); });
|
|
1744
|
+
i0.ɵɵtemplate(7, ListComponent_ng_template_7_Template, 1, 1, "ng-template", 6);
|
|
1745
|
+
i0.ɵɵelementContainer(8, 7)(9, 7);
|
|
1756
1746
|
i0.ɵɵelementEnd();
|
|
1757
|
-
i0.ɵɵtemplate(10, ListComponent_div_10_Template, 1, 1, "div",
|
|
1747
|
+
i0.ɵɵtemplate(10, ListComponent_div_10_Template, 1, 1, "div", 8);
|
|
1748
|
+
i0.ɵɵtemplate(11, ListComponent_div_11_Template, 6, 2, "div", 9);
|
|
1749
|
+
i0.ɵɵtemplate(12, ListComponent_div_12_Template, 7, 6, "div", 10);
|
|
1750
|
+
i0.ɵɵtemplate(13, ListComponent_div_13_Template, 3, 2, "div", 11);
|
|
1751
|
+
i0.ɵɵtemplate(14, ListComponent_ng_template_14_Template, 1, 1, "ng-template", null, 12, i0.ɵɵtemplateRefExtractor);
|
|
1758
1752
|
} if (rf & 2) {
|
|
1759
|
-
const
|
|
1753
|
+
const _r10 = i0.ɵɵreference(15);
|
|
1760
1754
|
i0.ɵɵproperty("ngIf", ctx.title || ctx.subheading || ctx.iconclass);
|
|
1761
|
-
i0.ɵɵadvance();
|
|
1755
|
+
i0.ɵɵadvance(1);
|
|
1762
1756
|
i0.ɵɵproperty("ngIf", ctx.navigation === "Inline" && !ctx.noDataFound);
|
|
1763
|
-
i0.ɵɵadvance();
|
|
1757
|
+
i0.ɵɵadvance(1);
|
|
1764
1758
|
i0.ɵɵproperty("ngIf", ctx.navigation === "Inline" && !ctx.noDataFound);
|
|
1765
1759
|
i0.ɵɵadvance(2);
|
|
1766
1760
|
i0.ɵɵproperty("ngIf", ctx.enablereorder);
|
|
1767
|
-
i0.ɵɵadvance();
|
|
1761
|
+
i0.ɵɵadvance(1);
|
|
1768
1762
|
i0.ɵɵproperty("ngIf", ctx.listItems && ctx.enablereorder && ctx.currentIndex);
|
|
1769
|
-
i0.ɵɵadvance();
|
|
1763
|
+
i0.ɵɵadvance(1);
|
|
1770
1764
|
i0.ɵɵclassMapInterpolate2("app-livelist-container clearfix ", ctx.direction === "horizontal" ? "app-horizontal-list" : "", " ", ctx.listclass, "");
|
|
1771
1765
|
i0.ɵɵproperty("hidden", ctx.noDataFound && !ctx.variableInflight);
|
|
1772
1766
|
i0.ɵɵattribute("tabindex", ctx.tabindex);
|
|
1773
|
-
i0.ɵɵadvance();
|
|
1774
|
-
i0.ɵɵproperty("ngIf", !ctx.groupby)("ngIfElse",
|
|
1775
|
-
i0.ɵɵadvance();
|
|
1767
|
+
i0.ɵɵadvance(1);
|
|
1768
|
+
i0.ɵɵproperty("ngIf", !ctx.groupby)("ngIfElse", _r10);
|
|
1769
|
+
i0.ɵɵadvance(1);
|
|
1776
1770
|
i0.ɵɵproperty("ngTemplateOutlet", ctx.listLeftActionTemplate);
|
|
1777
|
-
i0.ɵɵadvance();
|
|
1771
|
+
i0.ɵɵadvance(1);
|
|
1778
1772
|
i0.ɵɵproperty("ngTemplateOutlet", ctx.listRightActionTemplate);
|
|
1779
|
-
i0.ɵɵadvance();
|
|
1773
|
+
i0.ɵɵadvance(1);
|
|
1780
1774
|
i0.ɵɵproperty("ngIf", ctx.noDataFound && !ctx.variableInflight);
|
|
1781
|
-
i0.ɵɵadvance();
|
|
1775
|
+
i0.ɵɵadvance(1);
|
|
1782
1776
|
i0.ɵɵproperty("ngIf", ctx.variableInflight && !ctx.pulltorefresh);
|
|
1783
|
-
i0.ɵɵadvance();
|
|
1777
|
+
i0.ɵɵadvance(1);
|
|
1784
1778
|
i0.ɵɵproperty("ngIf", ctx.navigation === "Inline" && !ctx.noDataFound);
|
|
1785
|
-
i0.ɵɵadvance();
|
|
1779
|
+
i0.ɵɵadvance(1);
|
|
1786
1780
|
i0.ɵɵproperty("ngIf", ctx.navigation !== "None");
|
|
1787
1781
|
} }, encapsulation: 2 }); }
|
|
1788
1782
|
}
|
|
1789
|
-
(()
|
|
1783
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ListComponent, [{
|
|
1790
1784
|
type: Component,
|
|
1791
1785
|
args: [{ selector: 'div[wmList]', providers: [
|
|
1792
1786
|
provideAsWidgetRef(ListComponent)
|
|
1793
|
-
], template: "<div class=\"panel-heading\" *ngIf=\"title || subheading || iconclass\">\n <h3 class=\"panel-title\">\n <div class=\"pull-left\">\n <i class=\"app-icon panel-icon {{iconclass}}\" aria-hidden=\"true\" [hidden]=\"!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 </h3>\n</div>\n\n<div class=\"app-datanavigator\" [attr.aria-disabled]=\"dataNavigator.isDisablePrevious\" aria-label=\"Page navigation\" *ngIf=\"navigation === 'Inline' && !noDataFound\">\n <ul class=\"pager\">\n <li class=\"previous\" [ngClass]=\"{'disabled': (dataNavigator ? dataNavigator.isDisablePrevious : true)}\">\n <a href=\"javascript:void(0);\" (click)=\"dataNavigator.navigatePage('prev', $event)\"\n [attr.aria-disabled]=\"dataNavigator.isDisablePrevious\">\n <i class=\"wi wi-chevron-left\" aria-hidden=\"true\"></i>\n <span class=\"sr-only\">Go to Previous page {{dataNavigator.isDisablePrevious ? ', Disabled' : ''}}</span>\n </a>\n </li>\n </ul>\n</div>\n<div *ngIf=\"navigation === 'Inline' && !noDataFound\" aria-live=\"polite\" aria-atomic=\"true\" class=\"sr-only\"> {{'Page ' + dataNavigator.dn.currentPage + ' of ' + dataNavigator.pageCount }}</div>\n\n<div>\n <div id={{titleId}} class=\"sr-only\" *ngIf=\"enablereorder\">\n Press space bar to toggle drag drop mode, use arrow keys to move selected elements.\n </div>\n\n <div aria-live=\"assertive\" *ngIf=\"listItems && enablereorder && currentIndex\" class=\"sr-only\" >\n {{ariaText + currentIndex + ' of ' + listItems.length}}\n </div>\n</div>\n\n<ul [attr.tabindex]=\"tabindex\" class=\"app-livelist-container clearfix {{direction === 'horizontal' ? 'app-horizontal-list': ''}} {{listclass}}\" role=\"list\"\n (keydown.enter)=\"handleKeyDown($event, 'select')\"\n\n (keydown.space)=\"handleKeyDown($event, 'space')\"\n\n (keydown.arrowup)=\"handleKeyDown($event, 'focusPrev')\"\n (keydown.arrowdown)=\"handleKeyDown($event, 'focusNext')\"\n (keydown.arrowleft)=\"handleKeyDown($event, 'focusPrev')\"\n (keydown.arrowright)=\"handleKeyDown($event, 'focusNext')\"\n\n (keydown.shift.arrowup)=\"handleKeyDown($event, 'selectPrev')\"\n (keydown.shift.arrowdown)=\"handleKeyDown($event, 'selectNext')\"\n (keydown.shift.arrowleft)=\"handleKeyDown($event, 'selectPrev')\"\n (keydown.shift.arrowright)=\"handleKeyDown($event, 'selectNext')\"\n [hidden]=\"noDataFound && !variableInflight\"\n>\n <ng-template [ngIf]=\"!groupby\" [ngIfElse]=\"groupedListTemplate\">\n <li *ngFor=\"let item of fieldDefs; index as $index; first as $first; last as $last;\" class=\"app-list-item {{direction === 'horizontal' ? '' : itemsPerRowClass}}\" [ngClass]=\"listItemRef.itemClass\"\n [wmListItem]=\"item\"\n #listItemRef=\"listItemRef\"\n [attr.tabindex]=\"tabindex\"\n role=\"listitem\">\n <ng-container [ngTemplateOutlet]=\"listTemplate\"
|
|
1794
|
-
}], ()
|
|
1787
|
+
], template: "<div class=\"panel-heading\" *ngIf=\"title || subheading || iconclass\">\n <h3 class=\"panel-title\">\n <div class=\"pull-left\">\n <i class=\"app-icon panel-icon {{iconclass}}\" aria-hidden=\"true\" [hidden]=\"!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 </h3>\n</div>\n\n<div class=\"app-datanavigator\" [attr.aria-disabled]=\"dataNavigator.isDisablePrevious\" aria-label=\"Page navigation\" *ngIf=\"navigation === 'Inline' && !noDataFound\">\n <ul class=\"pager\">\n <li class=\"previous\" [ngClass]=\"{'disabled': (dataNavigator ? dataNavigator.isDisablePrevious : true)}\">\n <a href=\"javascript:void(0);\" (click)=\"dataNavigator.navigatePage('prev', $event)\"\n [attr.aria-disabled]=\"dataNavigator.isDisablePrevious\">\n <i class=\"wi wi-chevron-left\" aria-hidden=\"true\"></i>\n <span class=\"sr-only\">Go to Previous page {{dataNavigator.isDisablePrevious ? ', Disabled' : ''}}</span>\n </a>\n </li>\n </ul>\n</div>\n<div *ngIf=\"navigation === 'Inline' && !noDataFound\" aria-live=\"polite\" aria-atomic=\"true\" class=\"sr-only\"> {{'Page ' + dataNavigator.dn.currentPage + ' of ' + dataNavigator.pageCount }}</div>\n\n<div>\n <div id={{titleId}} class=\"sr-only\" *ngIf=\"enablereorder\">\n Press space bar to toggle drag drop mode, use arrow keys to move selected elements.\n </div>\n\n <div aria-live=\"assertive\" *ngIf=\"listItems && enablereorder && currentIndex\" class=\"sr-only\" >\n {{ariaText + currentIndex + ' of ' + listItems.length}}\n </div>\n</div>\n\n<ul [attr.tabindex]=\"tabindex\" class=\"app-livelist-container clearfix {{direction === 'horizontal' ? 'app-horizontal-list': ''}} {{listclass}}\" role=\"list\"\n (keydown.enter)=\"handleKeyDown($event, 'select')\"\n\n (keydown.space)=\"handleKeyDown($event, 'space')\"\n\n (keydown.arrowup)=\"handleKeyDown($event, 'focusPrev')\"\n (keydown.arrowdown)=\"handleKeyDown($event, 'focusNext')\"\n (keydown.arrowleft)=\"handleKeyDown($event, 'focusPrev')\"\n (keydown.arrowright)=\"handleKeyDown($event, 'focusNext')\"\n\n (keydown.shift.arrowup)=\"handleKeyDown($event, 'selectPrev')\"\n (keydown.shift.arrowdown)=\"handleKeyDown($event, 'selectNext')\"\n (keydown.shift.arrowleft)=\"handleKeyDown($event, 'selectPrev')\"\n (keydown.shift.arrowright)=\"handleKeyDown($event, 'selectNext')\"\n [hidden]=\"noDataFound && !variableInflight\"\n>\n <ng-template [ngIf]=\"!groupby\" [ngIfElse]=\"groupedListTemplate\">\n <li *ngFor=\"let item of fieldDefs; index as $index; first as $first; last as $last;\" class=\"app-list-item {{direction === 'horizontal' ? '' : itemsPerRowClass}}\" [ngClass]=\"listItemRef.itemClass\"\n [wmListItem]=\"item\"\n #listItemRef=\"listItemRef\"\n [attr.tabindex]=\"tabindex\"\n role=\"listitem\">\n <ng-container [ngTemplateOutlet]=\"listTemplate\" [ngTemplateOutletContext]=\"{item: item, $index: $index, itemRef: listItemRef, $first: $first, $last: $last, currentItemWidgets: listItemRef.currentItemWidgets}\"></ng-container>\n </li>\n </ng-template>\n <ng-container [ngTemplateOutlet]=\"listLeftActionTemplate\"></ng-container>\n <ng-container [ngTemplateOutlet]=\"listRightActionTemplate\"></ng-container>\n</ul>\n\n<div class=\"no-data-msg\" *ngIf=\"noDataFound && !variableInflight\" [textContent]=\"nodatamessage\"></div>\n\n<div class=\"loading-data-msg\" *ngIf=\"variableInflight && !pulltorefresh\">\n <span>\n <i class=\"app-icon panel-icon fa-spin\" aria-hidden=\"true\" [ngClass]=\"loadingicon\"></i>\n <span class=\"sr-only\">Loading</span>\n <span class=\"loading-text\" [textContent]=\"loadingdatamsg\"></span>\n </span>\n</div>\n\n<div class=\"app-datanavigator\" [attr.aria-disabled]=\"dataNavigator.isDisableNext\" *ngIf=\"navigation === 'Inline' && !noDataFound\">\n <ul class=\"pager\">\n <li class=\"next\" [ngClass]=\"{'disabled': (dataNavigator ? dataNavigator.isDisableNext : true)}\">\n <a href=\"javascript:void(0);\" (click)=\"dataNavigator.navigatePage('next', $event)\"\n [attr.aria-disabled]=\"dataNavigator.isDisableNext\">\n <i class=\"wi wi-chevron-right\" aria-hidden=\"true\"></i>\n <span class=\"sr-only\">Go to Next page {{dataNavigator.isDisableNext ? ', Disabled' : ''}}</span>\n </a>\n </li>\n </ul>\n</div>\n\n<div class=\"panel-footer\" *ngIf=\"navigation !== 'None'\" [hidden]=\"!showNavigation || (onDemandLoad && dataNavigator.isDisableNext) || (dataNavigator.dataSize <= pagesize) || (!dataNavigator.dataSize && !dataNavigator.datasource?.pagination?.next)\">\n <nav wmPagination\n navigationalign.bind=\"navigationalign\"\n navigation.bind=\"navControls\"\n showrecordcount.bind=\"showrecordcount\"\n maxsize.bind=\"maxsize\"\n boundarylinks.bind=\"boundarylinks\"\n forceellipses.bind=\"forceellipses\"\n directionlinks.bind=\"directionlinks\"\n show.bind=\"!onDemandLoad\"\n paginationchange.event=\"beforePaginationChange($event, $index)\"\n ></nav>\n <a *ngIf=\"onDemandLoad\" href=\"javascript:void(0);\"\n (click)=\"dataNavigator.navigatePage('next', $event)\"\n class=\"app-button btn btn-block\"\n [ngClass]=\"paginationclass\"\n [textContent]=\"ondemandmessage\"\n ></a>\n</div>\n\n<!--This template will be displayed when groupby is specified-->\n<ng-template #groupedListTemplate>\n <li *ngFor=\"let groupObj of groupedData\" class=\"app-list-item-group clearfix\">\n <ul [attr.tabindex]=\"tabindex\" class=\"list-group item-group\" [ngClass]=\"listclass\">\n <li class=\"app-list-item-header list-item list-group-header\" (click)=\"handleHeaderClick($event)\" [ngClass]=\"{'collapsible-content': collapsible}\">\n <h4>{{groupObj.key}}\n <div class=\"header-action\">\n <i class=\"app-icon wi action wi-chevron-up\" *ngIf=\"collapsible\"></i>\n <span *ngIf=\"showcount\" class=\"label label-default\">{{groupObj.data.length}}</span>\n </div>\n </h4>\n </li>\n <ul class=\"list-group clearfix {{direction === 'horizontal' ? 'app-horizontal-list': ''}}\">\n <li *ngFor=\"let item of groupObj.data; index as $index; first as $first; last as $last;\" [attr.tabindex]=\"tabindex\"\n class=\"app-list-item group-list-item {{itemsPerRowClass}}\"\n [ngClass]=\"listItemRef.itemClass\"\n [wmListItem]=\"item\" #listItemRef=\"listItemRef\">\n <ng-container [ngTemplateOutlet]=\"listTemplate\" [ngTemplateOutletContext]=\"{item: item, $index: $index, itemRef: listItemRef, $first: $first, $last: $last, currentItemWidgets: listItemRef.currentItemWidgets}\"></ng-container>\n </li>\n </ul>\n </ul>\n </li>\n</ng-template>\n" }]
|
|
1788
|
+
}], function () { return [{ type: i0.Injector }, { type: i0.ChangeDetectorRef }, { type: i1.ToDatePipe }, { type: i2.App }, { type: i2.AppDefaults }, { type: i0.NgZone }, { type: undefined, decorators: [{
|
|
1795
1789
|
type: Attribute,
|
|
1796
1790
|
args: ['itemclass.bind']
|
|
1797
1791
|
}] }, { type: undefined, decorators: [{
|
|
@@ -1809,12 +1803,7 @@ class ListComponent extends StylableComponent {
|
|
|
1809
1803
|
}] }, { type: undefined, decorators: [{
|
|
1810
1804
|
type: Attribute,
|
|
1811
1805
|
args: ['mouseleave.event']
|
|
1812
|
-
}] }, { type: i2.StatePersistence }, { type: i2.PaginationService }, {
|
|
1813
|
-
type: Inject,
|
|
1814
|
-
args: ['EXPLICIT_CONTEXT']
|
|
1815
|
-
}, {
|
|
1816
|
-
type: Optional
|
|
1817
|
-
}] }], { listTemplate: [{
|
|
1806
|
+
}] }, { type: i2.StatePersistence }, { type: i2.PaginationService }]; }, { listTemplate: [{
|
|
1818
1807
|
type: ContentChild,
|
|
1819
1808
|
args: ['listTemplate']
|
|
1820
1809
|
}], listLeftActionTemplate: [{
|
|
@@ -1833,7 +1822,6 @@ class ListComponent extends StylableComponent {
|
|
|
1833
1822
|
type: ViewChildren,
|
|
1834
1823
|
args: [ListItemDirective]
|
|
1835
1824
|
}] }); })();
|
|
1836
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ListComponent, { className: "ListComponent", filePath: "list.component.ts", lineNumber: 91 }); })();
|
|
1837
1825
|
|
|
1838
1826
|
const components = [
|
|
1839
1827
|
ListComponent,
|
|
@@ -1846,7 +1834,7 @@ class ListModule {
|
|
|
1846
1834
|
PaginationModule,
|
|
1847
1835
|
WmComponentsModule] }); }
|
|
1848
1836
|
}
|
|
1849
|
-
(()
|
|
1837
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ListModule, [{
|
|
1850
1838
|
type: NgModule,
|
|
1851
1839
|
args: [{
|
|
1852
1840
|
imports: [
|