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