@wavemaker/app-ng-runtime 12.0.0-next.45752 → 12.0.0-rc.5849
Sign up to get free protection for your applications and to get access to all the features.
- app-ng-runtime/build-task/bundles/index.umd.js +46 -38
- app-ng-runtime/build-task/esm2022/basic/default/anchor/anchor.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/basic/default/html/html.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/basic/default/icon/icon.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/basic/default/label/label.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/basic/default/picture/picture.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/basic/default/spinner/spinner.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/basic/progress/progress-circle/progress-circle.build.mjs +7 -2
- app-ng-runtime/build-task/esm2022/basic/rich-text-editor/rich-text-editor.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/containers/tile/tile.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/data/form/form-field/form-field.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/device/barcode-scanner/barcode-scanner.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/device/camera/camera.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/dialogs/alert-dialog/alert-dialog.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/input/calendar/calendar.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/input/color-picker/color-picker.build.mjs +3 -3
- app-ng-runtime/build-task/esm2022/input/currency/currency.build.mjs +3 -3
- app-ng-runtime/build-task/esm2022/input/default/button/button.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/input/default/button-group/button-group.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/input/default/switch/switch.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/input/file-upload/file-upload.build.mjs +5 -1
- app-ng-runtime/build-task/esm2022/page/footer/footer.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/page/header/header.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/page/layout.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/page/left-panel/left-panel.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/page/page.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/page/right-panel/right-panel.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/page/top-nav/top-nav.build.mjs +2 -2
- app-ng-runtime/build-task/fesm2022/index.mjs +46 -38
- app-ng-runtime/build-task/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/advanced/carousel/bundles/index.umd.js +1 -1
- app-ng-runtime/components/advanced/carousel/esm2022/carousel.animator.mjs +2 -2
- app-ng-runtime/components/advanced/carousel/fesm2022/index.mjs +1 -1
- app-ng-runtime/components/advanced/carousel/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/base/bundles/index.umd.js +1 -1
- app-ng-runtime/components/base/esm2022/pipes/custom-pipes.mjs +3 -3
- app-ng-runtime/components/base/fesm2022/index.mjs +1 -1
- app-ng-runtime/components/base/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/base/pipes/custom-pipes.d.ts +1 -1
- app-ng-runtime/components/basic/default/anchor/anchor.component.d.ts +1 -0
- app-ng-runtime/components/basic/default/audio/audio.component.d.ts +1 -0
- app-ng-runtime/components/basic/default/bundles/index.umd.js +27 -18
- app-ng-runtime/components/basic/default/esm2022/anchor/anchor.component.mjs +4 -4
- app-ng-runtime/components/basic/default/esm2022/anchor/anchor.props.mjs +2 -1
- app-ng-runtime/components/basic/default/esm2022/audio/audio.component.mjs +5 -5
- app-ng-runtime/components/basic/default/esm2022/audio/audio.props.mjs +2 -1
- app-ng-runtime/components/basic/default/esm2022/html/html.props.mjs +2 -1
- app-ng-runtime/components/basic/default/esm2022/icon/icon.component.mjs +6 -7
- app-ng-runtime/components/basic/default/esm2022/icon/icon.props.mjs +2 -1
- app-ng-runtime/components/basic/default/esm2022/iframe/iframe.component.mjs +3 -3
- app-ng-runtime/components/basic/default/esm2022/iframe/iframe.props.mjs +3 -2
- app-ng-runtime/components/basic/default/esm2022/label/label.props.mjs +1 -1
- app-ng-runtime/components/basic/default/esm2022/picture/picture.directive.mjs +2 -2
- app-ng-runtime/components/basic/default/esm2022/picture/picture.props.mjs +3 -1
- app-ng-runtime/components/basic/default/esm2022/spinner/spinner.props.mjs +3 -2
- app-ng-runtime/components/basic/default/esm2022/video/video.component.mjs +5 -4
- app-ng-runtime/components/basic/default/esm2022/video/video.props.mjs +2 -1
- app-ng-runtime/components/basic/default/fesm2022/index.mjs +27 -18
- app-ng-runtime/components/basic/default/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/basic/default/icon/icon.component.d.ts +1 -0
- app-ng-runtime/components/basic/default/iframe/iframe.component.d.ts +1 -0
- app-ng-runtime/components/basic/default/picture/picture.directive.d.ts +2 -1
- app-ng-runtime/components/basic/default/video/video.component.d.ts +1 -0
- app-ng-runtime/components/basic/progress/bundles/index.umd.js +12 -8
- app-ng-runtime/components/basic/progress/esm2022/progress-bar/progress-bar.component.mjs +4 -4
- app-ng-runtime/components/basic/progress/esm2022/progress-bar/progress-bar.props.mjs +2 -1
- app-ng-runtime/components/basic/progress/esm2022/progress-circle/progress-circle.component.mjs +8 -6
- app-ng-runtime/components/basic/progress/esm2022/progress-circle/progress-circle.props.mjs +2 -1
- app-ng-runtime/components/basic/progress/fesm2022/index.mjs +12 -8
- app-ng-runtime/components/basic/progress/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/basic/progress/progress-bar/progress-bar.component.d.ts +1 -0
- app-ng-runtime/components/basic/progress/progress-circle/progress-circle.component.d.ts +3 -1
- app-ng-runtime/components/basic/rich-text-editor/bundles/index.umd.js +2 -0
- app-ng-runtime/components/basic/rich-text-editor/esm2022/rich-text-editor.component.mjs +2 -1
- app-ng-runtime/components/basic/rich-text-editor/esm2022/rich-text-editor.props.mjs +2 -1
- app-ng-runtime/components/basic/rich-text-editor/fesm2022/index.mjs +2 -0
- app-ng-runtime/components/basic/rich-text-editor/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/basic/search/bundles/index.umd.js +11 -9
- app-ng-runtime/components/basic/search/esm2022/search.component.mjs +14 -13
- app-ng-runtime/components/basic/search/esm2022/search.props.mjs +2 -1
- app-ng-runtime/components/basic/search/fesm2022/index.mjs +11 -9
- app-ng-runtime/components/basic/search/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/basic/search/search.component.d.ts +1 -0
- app-ng-runtime/components/containers/accordion/bundles/index.umd.js +3 -3
- app-ng-runtime/components/containers/accordion/esm2022/accordion-pane/accordion-pane.component.mjs +4 -4
- app-ng-runtime/components/containers/accordion/fesm2022/index.mjs +3 -3
- app-ng-runtime/components/containers/accordion/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/containers/panel/bundles/index.umd.js +14 -14
- app-ng-runtime/components/containers/panel/esm2022/panel.component.mjs +15 -15
- app-ng-runtime/components/containers/panel/fesm2022/index.mjs +14 -14
- app-ng-runtime/components/containers/panel/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/containers/tabs/bundles/index.umd.js +2 -2
- app-ng-runtime/components/containers/tabs/esm2022/tabs.component.mjs +3 -3
- app-ng-runtime/components/containers/tabs/fesm2022/index.mjs +2 -2
- app-ng-runtime/components/containers/tabs/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/data/live-table/bundles/index.umd.js +2 -2
- app-ng-runtime/components/data/live-table/esm2022/live-table.component.mjs +3 -3
- app-ng-runtime/components/data/live-table/fesm2022/index.mjs +2 -2
- app-ng-runtime/components/data/live-table/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/data/pagination/bundles/index.umd.js +2 -0
- app-ng-runtime/components/data/pagination/esm2022/pagination.component.mjs +3 -1
- app-ng-runtime/components/data/pagination/fesm2022/index.mjs +2 -0
- app-ng-runtime/components/data/pagination/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/data/table/bundles/index.umd.js +42 -8
- app-ng-runtime/components/data/table/esm2022/table-column/table-column.directive.mjs +14 -5
- app-ng-runtime/components/data/table/esm2022/table.component.mjs +28 -5
- app-ng-runtime/components/data/table/esm2022/table.props.mjs +3 -1
- app-ng-runtime/components/data/table/fesm2022/index.mjs +43 -9
- app-ng-runtime/components/data/table/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/data/table/table.component.d.ts +7 -0
- app-ng-runtime/components/dialogs/alert-dialog/bundles/index.umd.js +6 -4
- app-ng-runtime/components/dialogs/alert-dialog/esm2022/alert-dialog.component.mjs +7 -5
- app-ng-runtime/components/dialogs/alert-dialog/fesm2022/index.mjs +6 -4
- app-ng-runtime/components/dialogs/alert-dialog/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/confirm-dialog/bundles/index.umd.js +8 -5
- app-ng-runtime/components/dialogs/confirm-dialog/esm2022/confirm-dialog.component.mjs +9 -6
- app-ng-runtime/components/dialogs/confirm-dialog/fesm2022/index.mjs +8 -5
- app-ng-runtime/components/dialogs/confirm-dialog/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/default/bundles/index.umd.js +9 -3
- app-ng-runtime/components/dialogs/default/dialog-header/dialog-header.component.d.ts +2 -1
- app-ng-runtime/components/dialogs/default/esm2022/base-dialog.mjs +2 -1
- app-ng-runtime/components/dialogs/default/esm2022/dialog-header/dialog-header.component.mjs +9 -4
- app-ng-runtime/components/dialogs/default/fesm2022/index.mjs +9 -3
- app-ng-runtime/components/dialogs/default/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/design-dialog/bundles/index.umd.js +4 -4
- app-ng-runtime/components/dialogs/design-dialog/esm2022/dialog.component.mjs +5 -5
- app-ng-runtime/components/dialogs/design-dialog/fesm2022/index.mjs +4 -4
- app-ng-runtime/components/dialogs/design-dialog/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/iframe-dialog/bundles/index.umd.js +9 -5
- app-ng-runtime/components/dialogs/iframe-dialog/esm2022/iframe-dialog.component.mjs +10 -6
- app-ng-runtime/components/dialogs/iframe-dialog/fesm2022/index.mjs +9 -5
- app-ng-runtime/components/dialogs/iframe-dialog/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/partial-dialog/bundles/index.umd.js +9 -5
- app-ng-runtime/components/dialogs/partial-dialog/esm2022/partial-dialog.component.mjs +10 -6
- app-ng-runtime/components/dialogs/partial-dialog/fesm2022/index.mjs +9 -5
- app-ng-runtime/components/dialogs/partial-dialog/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/calendar/bundles/index.umd.js +2 -4
- app-ng-runtime/components/input/calendar/esm2022/calendar.component.mjs +3 -5
- app-ng-runtime/components/input/calendar/fesm2022/index.mjs +2 -4
- app-ng-runtime/components/input/calendar/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/chips/bundles/index.umd.js +3 -2
- app-ng-runtime/components/input/chips/esm2022/chips.component.mjs +3 -3
- app-ng-runtime/components/input/chips/esm2022/chips.props.mjs +2 -1
- app-ng-runtime/components/input/chips/fesm2022/index.mjs +3 -2
- app-ng-runtime/components/input/chips/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/color-picker/bundles/index.umd.js +5 -3
- app-ng-runtime/components/input/color-picker/color-picker.component.d.ts +1 -0
- app-ng-runtime/components/input/color-picker/esm2022/color-picker.component.mjs +6 -5
- app-ng-runtime/components/input/color-picker/esm2022/color-picker.props.mjs +2 -1
- app-ng-runtime/components/input/color-picker/fesm2022/index.mjs +5 -3
- app-ng-runtime/components/input/color-picker/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/currency/bundles/index.umd.js +4 -3
- app-ng-runtime/components/input/currency/currency.component.d.ts +1 -0
- app-ng-runtime/components/input/currency/esm2022/currency.component.mjs +6 -6
- app-ng-runtime/components/input/currency/esm2022/currency.props.mjs +2 -1
- app-ng-runtime/components/input/currency/fesm2022/index.mjs +4 -3
- app-ng-runtime/components/input/currency/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/default/bundles/index.umd.js +153 -92
- app-ng-runtime/components/input/default/button/button.component.d.ts +1 -0
- app-ng-runtime/components/input/default/checkbox/checkbox.component.d.ts +1 -0
- app-ng-runtime/components/input/default/esm2022/button/button.component.mjs +1 -1
- app-ng-runtime/components/input/default/esm2022/button/button.props.mjs +2 -1
- app-ng-runtime/components/input/default/esm2022/caption-position.directive.mjs +8 -7
- app-ng-runtime/components/input/default/esm2022/checkbox/checkbox.component.mjs +7 -7
- app-ng-runtime/components/input/default/esm2022/checkbox/checkbox.props.mjs +2 -1
- app-ng-runtime/components/input/default/esm2022/checkboxset/checkboxset.component.mjs +21 -16
- app-ng-runtime/components/input/default/esm2022/number/number.component.mjs +5 -5
- app-ng-runtime/components/input/default/esm2022/number/number.props.mjs +3 -1
- app-ng-runtime/components/input/default/esm2022/radioset/radioset.component.mjs +28 -23
- app-ng-runtime/components/input/default/esm2022/select/select.component.mjs +7 -7
- app-ng-runtime/components/input/default/esm2022/select/select.props.mjs +2 -1
- app-ng-runtime/components/input/default/esm2022/switch/switch.component.mjs +6 -5
- app-ng-runtime/components/input/default/esm2022/switch/switch.props.mjs +2 -1
- app-ng-runtime/components/input/default/esm2022/text/calendar/input-calendar.component.mjs +5 -5
- app-ng-runtime/components/input/default/esm2022/text/calendar/input-calendar.props.mjs +2 -1
- app-ng-runtime/components/input/default/esm2022/text/color/input-color.component.mjs +5 -5
- app-ng-runtime/components/input/default/esm2022/text/color/input-color.props.mjs +2 -1
- app-ng-runtime/components/input/default/esm2022/text/email/input-email.component.mjs +5 -5
- app-ng-runtime/components/input/default/esm2022/text/email/input-email.props.mjs +2 -1
- app-ng-runtime/components/input/default/esm2022/text/locale/number-locale.mjs +50 -13
- app-ng-runtime/components/input/default/esm2022/text/number/input-number.component.mjs +5 -5
- app-ng-runtime/components/input/default/esm2022/text/number/input-number.props.mjs +2 -1
- app-ng-runtime/components/input/default/esm2022/text/text/input-text.component.mjs +5 -5
- app-ng-runtime/components/input/default/esm2022/text/text/input-text.props.mjs +2 -1
- app-ng-runtime/components/input/default/esm2022/textarea/textarea.component.mjs +6 -6
- app-ng-runtime/components/input/default/esm2022/textarea/textarea.props.mjs +2 -1
- app-ng-runtime/components/input/default/fesm2022/index.mjs +153 -92
- app-ng-runtime/components/input/default/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/default/number/number.component.d.ts +1 -0
- app-ng-runtime/components/input/default/select/select.component.d.ts +2 -0
- app-ng-runtime/components/input/default/text/calendar/input-calendar.component.d.ts +1 -0
- app-ng-runtime/components/input/default/text/color/input-color.component.d.ts +1 -0
- app-ng-runtime/components/input/default/text/email/input-email.component.d.ts +1 -0
- app-ng-runtime/components/input/default/text/locale/number-locale.d.ts +1 -0
- app-ng-runtime/components/input/default/text/number/input-number.component.d.ts +1 -0
- app-ng-runtime/components/input/default/text/text/input-text.component.d.ts +1 -0
- app-ng-runtime/components/input/default/textarea/textarea.component.d.ts +1 -0
- app-ng-runtime/components/input/epoch/bundles/index.umd.js +12 -9
- app-ng-runtime/components/input/epoch/date/date.component.d.ts +1 -0
- app-ng-runtime/components/input/epoch/date-time/date-time.component.d.ts +2 -1
- app-ng-runtime/components/input/epoch/esm2022/date/date.component.mjs +6 -6
- app-ng-runtime/components/input/epoch/esm2022/date/date.props.mjs +2 -1
- app-ng-runtime/components/input/epoch/esm2022/date-time/date-time.component.mjs +7 -7
- app-ng-runtime/components/input/epoch/esm2022/date-time/date-time.props.mjs +2 -1
- app-ng-runtime/components/input/epoch/esm2022/time/time.component.mjs +7 -7
- app-ng-runtime/components/input/epoch/esm2022/time/time.props.mjs +2 -1
- app-ng-runtime/components/input/epoch/fesm2022/index.mjs +12 -9
- app-ng-runtime/components/input/epoch/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/epoch/time/time.component.d.ts +1 -0
- app-ng-runtime/components/input/file-upload/bundles/index.umd.js +187 -100
- app-ng-runtime/components/input/file-upload/esm2022/file-upload.component.mjs +184 -102
- app-ng-runtime/components/input/file-upload/esm2022/file-upload.props.mjs +6 -1
- app-ng-runtime/components/input/file-upload/fesm2022/index.mjs +187 -100
- app-ng-runtime/components/input/file-upload/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/file-upload/file-upload.component.d.ts +12 -10
- app-ng-runtime/components/input/slider/bundles/index.umd.js +5 -6
- app-ng-runtime/components/input/slider/esm2022/slider.component.mjs +6 -8
- app-ng-runtime/components/input/slider/esm2022/slider.props.mjs +2 -1
- app-ng-runtime/components/input/slider/fesm2022/index.mjs +5 -6
- app-ng-runtime/components/input/slider/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/slider/slider.component.d.ts +1 -0
- app-ng-runtime/components/navigation/menu/bundles/index.umd.js +8 -6
- app-ng-runtime/components/navigation/menu/esm2022/menu.component.mjs +8 -7
- app-ng-runtime/components/navigation/menu/esm2022/menu.props.mjs +2 -1
- app-ng-runtime/components/navigation/menu/fesm2022/index.mjs +8 -6
- app-ng-runtime/components/navigation/menu/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/navigation/menu/menu.component.d.ts +1 -0
- app-ng-runtime/components/navigation/popover/bundles/index.umd.js +121 -13
- app-ng-runtime/components/navigation/popover/esm2022/popover.component.mjs +122 -15
- app-ng-runtime/components/navigation/popover/esm2022/popover.props.mjs +2 -1
- app-ng-runtime/components/navigation/popover/fesm2022/index.mjs +121 -13
- app-ng-runtime/components/navigation/popover/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/navigation/popover/popover.component.d.ts +15 -3
- app-ng-runtime/components/page/default/bundles/index.umd.js +2 -1
- app-ng-runtime/components/page/default/esm2022/page.props.mjs +4 -3
- app-ng-runtime/components/page/default/fesm2022/index.mjs +2 -1
- app-ng-runtime/components/page/default/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/page/footer/bundles/index.umd.js +2 -1
- app-ng-runtime/components/page/footer/esm2022/footer.props.mjs +3 -2
- app-ng-runtime/components/page/footer/fesm2022/index.mjs +2 -1
- app-ng-runtime/components/page/footer/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/page/header/bundles/index.umd.js +2 -1
- app-ng-runtime/components/page/header/esm2022/header.props.mjs +3 -2
- app-ng-runtime/components/page/header/fesm2022/index.mjs +2 -1
- app-ng-runtime/components/page/header/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/page/left-panel/bundles/index.umd.js +2 -1
- app-ng-runtime/components/page/left-panel/esm2022/left-panel.props.mjs +3 -2
- app-ng-runtime/components/page/left-panel/fesm2022/index.mjs +2 -1
- app-ng-runtime/components/page/left-panel/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/page/right-panel/bundles/index.umd.js +2 -1
- app-ng-runtime/components/page/right-panel/esm2022/right-panel.props.mjs +3 -2
- app-ng-runtime/components/page/right-panel/fesm2022/index.mjs +2 -1
- app-ng-runtime/components/page/right-panel/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/page/top-nav/bundles/index.umd.js +2 -1
- app-ng-runtime/components/page/top-nav/esm2022/top-nav.props.mjs +3 -2
- app-ng-runtime/components/page/top-nav/fesm2022/index.mjs +2 -1
- app-ng-runtime/components/page/top-nav/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/core/bundles/index.umd.js +15 -13
- app-ng-runtime/core/esm2022/public_api.mjs +2 -2
- app-ng-runtime/core/esm2022/utils/build-utils.mjs +7 -7
- app-ng-runtime/core/esm2022/utils/utils.mjs +4 -5
- app-ng-runtime/core/fesm2022/index.mjs +11 -11
- app-ng-runtime/core/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/core/public_api.d.ts +1 -1
- app-ng-runtime/core/utils/utils.d.ts +1 -1
- app-ng-runtime/mobile/components/device/barcode-scanner/bundles/index.umd.js +2 -1
- app-ng-runtime/mobile/components/device/barcode-scanner/esm2022/barcode-scanner.props.mjs +3 -2
- app-ng-runtime/mobile/components/device/barcode-scanner/fesm2022/index.mjs +2 -1
- app-ng-runtime/mobile/components/device/barcode-scanner/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/device/camera/bundles/index.umd.js +2 -1
- app-ng-runtime/mobile/components/device/camera/esm2022/camera.props.mjs +3 -2
- app-ng-runtime/mobile/components/device/camera/fesm2022/index.mjs +2 -1
- app-ng-runtime/mobile/components/device/camera/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/package.json +1 -1
- app-ng-runtime/runtime/base/bundles/index.umd.js +6 -4
- app-ng-runtime/runtime/base/components/app-component/app.component.d.ts +2 -3
- app-ng-runtime/runtime/base/esm2022/components/app-component/app.component.mjs +5 -5
- app-ng-runtime/runtime/base/esm2022/guards/can-deactivate-page.guard.mjs +5 -4
- app-ng-runtime/runtime/base/fesm2022/index.mjs +6 -4
- app-ng-runtime/runtime/base/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/runtime/base/guards/can-deactivate-page.guard.d.ts +2 -1
- app-ng-runtime/scripts/datatable/datatable.js +23 -26
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":["../../../../../projects/components/widgets/data/pagination/src/pagination.props.ts","../../../../../projects/components/widgets/data/pagination/src/pagination.component.html","../../../../../projects/components/widgets/data/pagination/src/pagination.component.ts","../../../../../projects/components/widgets/data/pagination/src/pagination.module.ts","../../../../../projects/components/widgets/data/pagination/src/index.ts"],"sourcesContent":["import { PROP_ANY, PROP_BOOLEAN, PROP_NUMBER, PROP_STRING, register } from '@wm/components/base';\n\nexport const registerProps = () => {\n register(\n 'wm-pagination',\n new Map(\n [\n ['boundarylinks', {value: false, ...PROP_BOOLEAN}],\n ['class', PROP_STRING],\n ['dataset', PROP_ANY],\n ['directionlinks', {value: true, ...PROP_BOOLEAN}],\n ['forceellipses', {value: true, ...PROP_BOOLEAN}],\n ['maxResults', PROP_NUMBER],\n ['maxsize', {value: 5, ...PROP_NUMBER}],\n ['name', PROP_STRING],\n ['navigation', {value: 'Basic', ...PROP_STRING}],\n ['navigationalign', {value: 'left', ...PROP_STRING}],\n ['navigationsize', PROP_STRING],\n ['show', {value: true, ...PROP_BOOLEAN}],\n ['showrecordcount', PROP_BOOLEAN],\n ['tabindex', {value: 0, ...PROP_NUMBER}]\n ]\n )\n );\n};\n","\n<ul class=\"pagination advanced {{navigationClass}}\" *ngIf=\"navcontrols === 'Classic'\">\n <li [ngClass]=\"{'disabled':isDisableFirst}\">\n <a [title]=\"appLocale.LABEL_FIRST\" name=\"first\" href=\"javascript:void(0);\"\n [attr.aria-disabled]=\"isDisableFirst\"\n (click)=\"navigatePage('first', $event)\">\n <span aria-hidden=\"true\"><i class=\"wi wi-first-page\"></i></span>\n <span class=\"sr-only\">Go to first page {{ isDisableFirst ? ' , Disabled' : ''}}</span>\n </a>\n </li>\n <li [ngClass]=\"{'disabled':isDisablePrevious}\">\n <a [title]=\"appLocale.LABEL_PREVIOUS\" name=\"prev\" href=\"javascript:void(0);\"\n [attr.aria-disabled]=\"isDisablePrevious\"\n (click)=\"navigatePage('prev', $event)\">\n <span aria-hidden=\"true\"><i class=\"wi wi-chevron-left\"></i></span>\n <span class=\"sr-only\">Go to previous page {{ isDisablePrevious ? ', Disabled' : ''}}</span>\n </a>\n </li>\n <li class=\"pagecount disabled\">\n <a href=\"javascript:void(0);\">\n <input [(ngModel)]=\"dn.currentPage\" [attr.aria-label]=\"'Showing Page ' + dn.currentPage + ' of ' + pageCount\" [disabled]=\"isDisableCurrent\"\n [ngModelOptions]=\"{standalone: true}\"\n type=\"number\"\n (keydown)=\"onKeyDown($event)\" (change)=\"onModelChange($event)\" class=\"form-control\"/>\n </a>\n </li>\n <li class=\"disabled\">\n <a [hidden]=\"isDisableCount\"> / {{pageCount}}</a>\n </li>\n <li [ngClass]=\"{'disabled':isDisableNext}\">\n <a [title]=\"appLocale.LABEL_NEXT\" name=\"next\" href=\"javascript:void(0);\"\n [attr.aria-disabled]=\"isDisableNext\"\n (click)=\"navigatePage('next', $event)\">\n <span aria-hidden=\"true\"><i class=\"wi wi-chevron-right\"></i></span>\n <span class=\"sr-only\">Go to next page {{ isDisableNext ? ' , Disabled' : ''}}</span>\n </a>\n </li>\n <li [ngClass]=\"{'disabled':isDisableLast}\">\n <a [title]=\"appLocale.LABEL_LAST\" name=\"last\" href=\"javascript:void(0);\"\n [attr.aria-disabled]=\"isDisableLast\"\n (click)=\"navigatePage('last', $event)\">\n <span aria-hidden=\"true\"><i class=\"wi wi-last-page\"></i></span>\n <span class=\"sr-only\">Go to last page {{ isDisableLast ? ' , Disabled' : ''}}</span>\n </a>\n </li>\n <li *ngIf=\"showrecordcount\" class=\"totalcount disabled\">\n <a href=\"javascript:void(0);\" tabindex=\"-1\" aria-disabled=\"true\">{{appLocale.LABEL_TOTAL_RECORDS}}: {{dataSize}}</a>\n </li>\n</ul>\n<ul class=\"pager {{navigationClass}}\" *ngIf=\"navcontrols === 'Pager'\">\n <li class=\"previous\" [ngClass]=\"{'disabled':isDisablePrevious}\">\n <a href=\"javascript:void(0);\" (click)=\"navigatePage('prev', $event)\"\n [attr.aria-disabled]=\"isDisablePrevious\">\n <span aria-hidden=\"true\"><i class=\"wi wi-chevron-left\"></i></span>\n {{appLocale.LABEL_PREVIOUS}}\n <span class=\"sr-only\">{{ isDisablePrevious ? ' , Disabled' : ''}}</span>\n </a>\n </li>\n <li class=\"next\" [ngClass]=\"{'disabled':isDisableNext}\">\n <a href=\"javascript:void(0);\" (click)=\"navigatePage('next', $event)\"\n [attr.aria-disabled]=\"isDisableNext\">\n <span aria-hidden=\"true\"><i class=\"wi wi-chevron-right\"></i></span>\n {{appLocale.LABEL_NEXT}}\n <span class=\"sr-only\">{{ isDisableNext ? ' , Disabled' : ''}}</span>\n </a>\n </li>\n</ul>\n\n<pagination class=\"pagination basic\" [ngClass]=\"navigationClass\" *ngIf=\"navcontrols === 'Basic'\" role=\"navigation\"\n [itemsPerPage]=\"maxResults\" [totalItems]=\"dataSize\"\n (pageChanged)=\"pageChanged($event)\" [ngModelOptions]=\"{standalone:true}\" [ngModel]=\"dn.currentPage\"\n [attr.aria-label]=\"'Showing Page ' + dn.currentPage + ' of ' + pageCount + ' pages'\"\n [boundaryLinks]=\"boundarylinks\" [maxSize]=\"maxsize\"\n [directionLinks]=\"directionlinks\"\n firstText=\"Firtst\" lastText=\"Last\"\n [customPreviousTemplate]=\"prevTemplate\"\n [customNextTemplate]=\"nextTemplate\"\n [customPageTemplate]=\"pageTemplate\"></pagination>\n\n<ul *ngIf=\"navcontrols === 'Basic' && showrecordcount\" class=\"pagination\">\n <li class=\"totalcount disabled basiccount\">\n <a href=\"javascript:void(0);\" tabindex=\"-1\" aria-disabled=\"true\">{{appLocale.LABEL_TOTAL_RECORDS}}: {{dataSize}}</a>\n </li>\n</ul>\n\n<ng-template #pageTemplate let-page>\n <span class=\"sr-only\" [attr.data-isacitvepage]=\"page.active\">{{'Page '}}</span>\n {{page.number}}\n <span class=\"sr-only\" *ngIf=\"page.active\"> {{', Showing page ' + page.number + ' of ' + pageCount}}</span>\n</ng-template>\n<ng-template #prevTemplate let-disabled=\"disabled\">\n <span class=\"sr-only\" [attr.data-isdisabled]=\"disabled\">Go to Previous page {{disabled ? ', Disabled' : ''}}</span>\n</ng-template>\n<ng-template #nextTemplate let-disabled=\"disabled\">\n <span class=\"sr-only\" [attr.data-isdisabled]=\"disabled\">Go to Next page {{disabled ? ', Disabled' : ''}}</span>\n</ng-template>\n","import {Component, EventEmitter, Inject, Injector, Output, SkipSelf, AfterViewInit, Optional} from '@angular/core';\n\nimport {\n $appDigest,\n $watch,\n AppConstants,\n DataSource,\n debounce,\n isDefined,\n switchClass,\n triggerFn\n} from '@wm/core';\nimport { DEBOUNCE_TIMES, getOrderByExpr, provideAsWidgetRef, StylableComponent, styler, WidgetRef, unsupportedStatePersistenceTypes} from '@wm/components/base';\nimport { registerProps } from './pagination.props';\nimport {forEach, get, isArray, isEmpty, isNull, isString} from \"lodash-es\";\n\nconst DEFAULT_CLS = 'app-datanavigator clearfix';\nconst WIDGET_CONFIG = {widgetType: 'wm-pagination', hostClass: DEFAULT_CLS};\n\nconst sizeClasses = {\n 'Pager': {\n 'small': 'pager-sm',\n 'large': 'pager-lg'\n },\n 'Basic': {\n 'small': 'pagination-sm',\n 'large': 'pagination-lg'\n },\n 'Classic': {\n 'small': 'pagination-sm',\n 'large': 'pagination-lg'\n }\n};\n@Component({\n selector: '[wmPagination]',\n templateUrl: './pagination.component.html',\n providers: [\n provideAsWidgetRef(PaginationComponent)\n ]\n})\nexport class PaginationComponent extends StylableComponent implements AfterViewInit {\n static initializeProps = registerProps();\n @Output() resultEmitter: EventEmitter<any> = new EventEmitter();\n @Output() maxResultsEmitter: EventEmitter<any> = new EventEmitter();\n\n datasource;\n maxResults;\n navigationsize;\n showrecordcount;\n\n navcontrols;\n navigation;\n\n boundarylinks;\n directionlinks;\n\n navigationClass;\n dn = {\n currentPage: 1\n };\n\n pageCount = 0;\n isDisableNext = true;\n isDisablePrevious = true;\n isDisableFirst = true;\n isDisableLast = true;\n isDisableCurrent;\n dataSize;\n prevshowrecordcount;\n isDisableCount;\n firstRow;\n result;\n __fullData;\n dataset;\n options;\n statehandler;\n filterFields;\n sortOptions;\n binddataset;\n pagination;\n logicalOp;\n\n private _debouncedApplyDataset = debounce(() => this.widget.dataset = this.dataset, DEBOUNCE_TIMES.PAGINATION_DEBOUNCE_TIME);\n private _debouncedPageChanged = debounce(event => {\n const currentPage = event && event.page;\n // Do not call goToPage if page has not changed\n if (currentPage !== this.dn.currentPage) {\n const inst = (this as any).parent || this;\n this.dn.currentPage = currentPage;\n inst.invokeEventCallback('paginationchange', {$event: undefined, $index: this.dn.currentPage});\n this.goToPage();\n if (this.navigation === 'Basic') {\n this._setAriaForBasicNavigation();\n }\n }\n }, DEBOUNCE_TIMES.PAGINATION_DEBOUNCE_TIME);\n\n private _setAriaForBasicNavigation() {\n forEach(this.nativeElement.getElementsByTagName('a'), (item) => {\n item.setAttribute('href', 'javascript:void(0);');\n const childNode = item.querySelector('span');\n if (childNode?.dataset.isacitvepage === \"true\") {\n item.setAttribute('aria-current', 'true');\n }\n if(childNode?.dataset.isdisabled === \"true\") {\n item.setAttribute('aria-disabled', 'true');\n } else {\n item.removeAttribute('aria-disabled');\n }\n });\n }\n\n constructor(inj: Injector, @SkipSelf() @Inject(WidgetRef) public parent, @Inject('EXPLICIT_CONTEXT') @Optional() explicitContext: any) {\n super(inj, WIDGET_CONFIG, explicitContext);\n styler(this.nativeElement, this);\n }\n\n setResult(result) {\n // TODO: Emit event only if result is changed\n this.result = result;\n this.resultEmitter.emit(this.result);\n }\n\n // Update navigationClass based on navigation and navigationSize props\n private updateNavSize() {\n const sizeCls = sizeClasses[this.navcontrols];\n if (sizeCls && this.navigationsize) {\n this.navigationClass = sizeCls[this.navigationsize];\n } else {\n this.navigationClass = '';\n }\n }\n\n // Function to reset the paging values to default.\n resetPageNavigation() {\n this.pageCount = 0;\n this.dn.currentPage = 1;\n this.dataSize = 0;\n }\n\n /*Function to calculate the paging values.*/\n calculatePagingValues() {\n this.pageCount = (this.dataSize > this.maxResults) ? (Math.ceil(this.dataSize / this.maxResults)) : (this.dataSize < 0 ? 0 : 1);\n this.dn.currentPage = this.dn.currentPage || 1;\n }\n\n /*Function to set default values to the paging parameters*/\n setDefaultPagingValues(dataSize, maxResults, currentPage) {\n /*If neither 'dataSize' nor 'maxResults' is set, then set default values to the paging parameters.*/\n if (!dataSize && !maxResults) {\n this.pageCount = 1;\n this.dn.currentPage = 1;\n this.maxResults = dataSize;\n this.dataSize = dataSize;\n } else { /*Else, set the specified values and recalculate paging parameters.*/\n this.maxResults = maxResults || this.maxResults;\n this.dataSize = isDefined(dataSize) ? dataSize : this.dataSize;\n this.dn.currentPage = currentPage || this.dn.currentPage;\n this.calculatePagingValues();\n }\n this.maxResultsEmitter.emit(this.maxResults);\n }\n\n /*Function to check the dataSize and manipulate the navigator accordingly.*/\n checkDataSize(dataSize, numberOfElements?, size?) {\n /*If the dataSize is -1 or Integer.MAX_VALUE( which is 2147483647), then the total number of records is not known.\n * Hence,\n * 1. Hide the 'Total Record Count'.\n * 2. Disable the 'GoToLastPage' link as the page number of the last page is not known.*/\n if (dataSize === -1 || dataSize === AppConstants.INT_MAX_VALUE) {\n this.prevshowrecordcount = this.showrecordcount;\n this.isDisableLast = true;\n this.isDisableCount = true;\n this.showrecordcount = false;\n // If number of records in current page is less than the max records size, this is the last page. So disable next button.\n if (numberOfElements < size) {\n this.isDisableNext = true;\n }\n } else {\n this.isDisableCount = false;\n this.showrecordcount = this.prevshowrecordcount || this.showrecordcount;\n }\n }\n\n /*Function to disable navigation based on the current and total pages.*/\n disableNavigation() {\n const isCurrentPageFirst = (this.dn.currentPage === 1),\n isCurrentPageLast = (this.dn.currentPage === this.pageCount);\n if (!this.pagination?.next) {\n this.isDisableFirst = this.isDisablePrevious = isCurrentPageFirst;\n this.isDisableNext = this.isDisableLast = isCurrentPageLast;\n } else {\n // WMS-18867: In case of server side pagination, for pager type pagination depend on prev and next flags which are set by developer\n this.isDisableFirst = this.isDisablePrevious = !this.pagination.prev;\n this.isDisableNext = this.isDisableLast = !this.pagination.next;\n }\n this.isDisableCurrent = isCurrentPageFirst && isCurrentPageLast;\n // In case of client side pagination, when load more reaches last page hide the on-demand grid ele\n if (this.dataset && this.dataset.length && this.isDisableNext && this.parent.onDemandLoad && this.parent.widgetType === 'wm-table') {\n this.parent.callDataGridMethod('hideLoadingIndicator', this.isDisableNext, this.parent.infScroll);\n }\n }\n\n /*Function to check if the variable bound to the data-navigator has paging.*/\n isDataSourceHasPaging() {\n return this.datasource && this.datasource.execute(DataSource.Operation.IS_PAGEABLE);\n }\n\n // Set the result for client side pagination\n setNonPageableData(newVal) {\n let dataSize,\n maxResults,\n currentPage,\n startIndex;\n dataSize = isArray(newVal) ? newVal.length : (isEmpty(newVal) ? 0 : 1);\n maxResults = (this.options && this.options.maxResults) || dataSize;\n\n // For static variable, keep the current page. For other variables without pagination reset the page to 1\n // Fix for [WMS-23263]: gridOptions.isNextPageData flag is false when dataset is changed from script, so setting current page to 1\n if (this.datasource && (this.datasource.execute(DataSource.Operation.IS_API_AWARE) || (this.parent.widgetType === 'wm-table' && (this.parent.gridOptions.isNavTypeScrollOrOndemand() && (get(this.parent, 'gridOptions.lastActionPerformed') === this.parent.gridOptions.ACTIONS.DATASET_UPDATE || !get(this.parent, 'gridOptions.isNextPageData')))))) {\n currentPage = 1;\n } else {\n currentPage = this.dn.currentPage || 1;\n }\n\n this.setDefaultPagingValues(dataSize, maxResults, currentPage);\n this.disableNavigation();\n\n startIndex = (this.dn.currentPage - 1) * this.maxResults;\n this.setResult(isArray(newVal) ? newVal.slice(startIndex, startIndex + this.maxResults) : newVal);\n }\n\n /*Function to set the values needed for pagination*/\n private setPagingValues(newVal) {\n let dataSize,\n maxResults,\n currentPage,\n dataSource;\n let variableOptions: any = {};\n // Store the data in __fullData. This is used for client side searching witvah out modifying the actual dataset.\n this.__fullData = newVal;\n /*Check for sanity*/\n if (this.binddataset) {\n dataSource = this.datasource || {};\n variableOptions = dataSource._options || {};\n /*Check for number of elements in the data set*/\n if (newVal) {\n if (this.isDataSourceHasPaging()) {\n this.pagination = this.datasource.execute(DataSource.Operation.GET_PAGING_OPTIONS) || {};\n // If \"filterFields\" and \"sortOptions\" have been set, then set them so that the filters can be retained while fetching data upon page navigation.\n this.filterFields = variableOptions.filterFields || {};\n this.logicalOp = variableOptions.logicalOp || '';\n this.sortOptions = variableOptions.orderBy ||\n (isArray(this.pagination.sort) ? getOrderByExpr(this.pagination.sort) : '');\n dataSize = this.pagination.totalElements;\n maxResults = this.pagination.size;\n if (this.pagination.numberOfElements > 0) {\n if (isDefined(this.pagination.number)) { // number is page number received from backend\n this.dn.currentPage = this.pagination.number + 1;\n }\n currentPage = this.dn.currentPage || 1;\n } else {\n currentPage = 1;\n }\n /* Sending pageCount undefined to calculate it again for query.*/\n this.setDefaultPagingValues(dataSize, maxResults, currentPage);\n this.disableNavigation();\n this.checkDataSize(dataSize, this.pagination.numberOfElements, this.pagination.size);\n this.setResult(newVal);\n } else if (!isString(newVal)) {\n this.setNonPageableData(newVal);\n }\n } else {\n this.setResult(newVal);\n this.resetPageNavigation();\n }\n if (this.navigation === 'Basic') {\n this._setAriaForBasicNavigation();\n }\n } else {\n if (newVal && !isString(newVal)) {\n this.setNonPageableData(newVal);\n }\n }\n }\n\n /*Function to check if the current page is the first page*/\n isFirstPage() {\n return (this.dn.currentPage === 1 || !this.dn.currentPage);\n }\n\n /*Function to check if the current page is the last page*/\n isLastPage() {\n return (this.dn.currentPage === this.pageCount);\n }\n\n /*Function to navigate to the last page*/\n goToLastPage(isRefresh, event, callback) {\n if (!this.isLastPage()) {\n this.dn.currentPage = this.pageCount;\n this.goToPage(event, callback);\n } else if (isRefresh) {\n this.goToPage(event, callback);\n }\n }\n\n /*Function to navigate to the first page*/\n goToFirstPage(isRefresh, event, callback) {\n if (!this.isFirstPage()) {\n this.dn.currentPage = 1;\n this.goToPage(event, callback);\n } else if (isRefresh) {\n this.goToPage(event, callback);\n }\n }\n\n /*Function to navigate to the current page*/\n goToPage(event?, callback?) {\n this.firstRow = (this.dn.currentPage - 1) * this.maxResults;\n const mode = this.parent.statePersistence.computeMode(this.statehandler);\n if (mode && mode.toLowerCase() !== 'none' && (this.parent.widgetType === 'wm-table' || this.parent.widgetType === 'wm-list')) {\n this.parent._selectedItemsExist = true;\n if (this.isFirstPage()) {\n this.parent.statePersistence.removeWidgetState(this.parent, 'pagination');\n } else {\n if (unsupportedStatePersistenceTypes.indexOf(this.parent.navigation) < 0) {\n this.parent.statePersistence.setWidgetState(this.parent, {pagination: this.dn.currentPage});\n } else if (this.parent.widgetType === 'wm-list' ||this.parent.widgetType === 'wm-table' ) {\n console.warn('Retain State handling on Widget ' + this.parent.name + ' is not supported for current pagination type.');\n }\n }\n }\n // call getPageData after checking state config so that Static Variables can use it\n this.getPageData(event, callback);\n }\n\n /*Function to be invoked after the data of the page has been fetched.*/\n onPageDataReady(event, data, callback) {\n this.disableNavigation();\n this.invokeSetRecord(event, data);\n triggerFn(callback);\n }\n\n /*Function to get data for the current page*/\n getPageData(event, callback) {\n let data,\n startIndex;\n\n if (this.isDataSourceHasPaging()) {\n /**\n * In table component, in case of on demand and scroll pagination\n * When there is a change in data item which is not in current page\n * Fetch the items of the page where the change is made\n * */\n let pageIndex = this.dn.currentPage;\n if (this.isEditNotInCurrentPage() && this.parent.gridOptions.lastActionPerformed !== 'delete') {\n pageIndex = this.parent.actionRowPage;\n }\n this.datasource.execute(DataSource.Operation.LIST_RECORDS, {\n 'page': pageIndex,\n 'filterFields': this.filterFields,\n 'orderBy': this.sortOptions,\n 'logicalOp': this.logicalOp,\n 'matchMode': 'anywhereignorecase'\n }).then(response => {\n this.onPageDataReady(event, response && response.data, callback);\n $appDigest();\n }, error => {\n // If error is undefined, do not show any message as this may be discarded request\n if (error) {\n // TODO: Handle Error\n // wmToaster.show('error', 'ERROR', 'Unable to get data of page -' + this.dn.currentPage + ':' + error);\n }\n });\n } else {\n if (this.isEditNotInCurrentPage()) {\n startIndex = (this.parent.actionRowPage - 1) * this.maxResults;\n } else {\n startIndex = (this.dn.currentPage - 1) * this.maxResults;\n }\n data = isArray(this.__fullData) ? this.__fullData.slice(startIndex, startIndex + this.maxResults) : this.__fullData;\n this.setResult(data);\n this.onPageDataReady(event, data, callback);\n }\n }\n\n /*\n Function to check if the edit action is performed on the previous page data of the table\n */\n isEditNotInCurrentPage() {\n const pageIndex = this.dn.currentPage;\n return this.parent.widgetType === 'wm-table' && pageIndex === this.parent.currentPage &&\n this.parent.actionRowPage && this.parent.actionRowPage < pageIndex;\n }\n\n invokeSetRecord(event, data) {\n // Trigger the event handler if exists.\n const pageInfo = {\n currentPage: this.dn.currentPage,\n size: this.maxResults,\n totalElements: this.dataSize,\n totalPages: this.pageCount\n };\n if (this.parent) {\n this.parent.invokeEventCallback('setrecord', {$event: event, $data: data, $index: this.dn.currentPage, pageInfo, data});\n } else {\n this.invokeEventCallback('setrecord', {$event: event, $data: data, $index: this.dn.currentPage, pageInfo, data});\n }\n }\n\n /*Function to validate the page input.\n In case of invalid input, navigate to the appropriate page; also return false.\n In case of valid input, return true.*/\n validateCurrentPage(event, callback?) {\n /*If the value entered is greater than the last page number or invalid value, then highlighting the field showing error.*/\n if (event && (isNaN(this.dn.currentPage) || this.dn.currentPage <= 0 || (this.pageCount && (this.dn.currentPage > this.pageCount || isNull(this.dn.currentPage))))) {\n if (this.dn.currentPage <= 0) {\n this.dn.currentPage = 1;\n } else if (this.dn.currentPage > this.pageCount) {\n this.dn.currentPage = this.pageCount;\n }\n return false;\n }\n return true;\n }\n\n onModelChange(event) {\n if (!this.validateCurrentPage(event)) {\n return;\n }\n this.goToPage(event);\n }\n\n onKeyDown(event) {\n const targetEle = $(event.target).closest('a');\n if (event.code === 'KeyE') {\n targetEle.addClass('ng-invalid');\n return false;\n }\n targetEle.removeClass('ng-invalid');\n return true;\n }\n\n pageChanged(event: any) {\n this._debouncedPageChanged(event);\n }\n\n /*Function to navigate to the respective pages.*/\n navigatePage(index, event, isRefresh, callback) {\n // when navigated to next page turn on the isDataLoading flag to show the loading indicator\n if (isDefined(this.parent.isDataLoading) && !this.isDisableNext) {\n this.parent.isDataLoading = true;\n // In case of infinite scroll calling the showLoadingIndicator method to update the loading message immediately when navigated to next page\n if (this.parent.infScroll) {\n this.parent.variableInflight = true;\n this.parent.callDataGridMethod('showLoadingIndicator', this.parent.loadingdatamsg, true);\n }\n }\n // reset the last action performed to \"scroll\" and isDatasetUpdated to false\n if (this.parent.widgetType === 'wm-table' && this.parent.gridOptions.isNavTypeScrollOrOndemand()) {\n this.parent.gridOptions.setLastActionPerformed(this.parent.gridOptions.ACTIONS.DEFAULT);\n this.parent.gridOptions.setIsDatasetUpdated(false);\n }\n this.invokeEventCallback('paginationchange', {$event: undefined, $index: this.dn.currentPage});\n\n // Convert the current page to a valid page number.\n this.dn.currentPage = +this.dn.currentPage;\n\n switch (index) {\n case 'first':\n this.goToFirstPage(isRefresh, event, callback);\n return;\n case 'prev':\n /*Return if already on the first page.*/\n if (!this.pagination?.next && (this.isFirstPage() || !this.validateCurrentPage(event, callback))) {\n return;\n } else if (this.pagination?.next) { // WMS-18867: For server side pagination, skipping the regular flow and enabling isNext flag in pagination metadata\n this.datasource.pagination.isNext = false;\n this.datasource.pagination.isPrev = true;\n }\n /*Decrement the current page by 1.*/\n this.dn.currentPage -= 1;\n break;\n case 'next':\n /*Return if already on the last page.*/\n if (!this.pagination?.next && (this.isLastPage() || !this.validateCurrentPage(event, callback))) {\n return;\n } else if (this.pagination?.next) { // WMS-18867: For server side pagination, skipping the regular flow and enabling isPrev flag in pagination metadata\n this.datasource.pagination.isNext = true;\n this.datasource.pagination.isPrev = false;\n }\n /*Increment the current page by 1.*/\n this.dn.currentPage += 1;\n break;\n case 'last':\n this.goToLastPage(isRefresh, event, callback);\n return;\n default:\n break;\n }\n\n /*Navigate to the current page.*/\n this.goToPage(event, callback);\n }\n\n setBindDataSet(binddataset, parent, dataSource, dataset?, binddatasource?, datasetBoundExpr?, statehandler?) {\n const parts = binddataset.split('.');\n let bindPagingOptions;\n this.statehandler = statehandler;\n if (parts[0] === 'Variables' || parts[0] === 'Widgets') {\n bindPagingOptions = `${parts[0]}.${parts[1]}.pagination`;\n }\n if (!binddatasource && dataset && !datasetBoundExpr) {\n this.dataset = dataset;\n this._debouncedApplyDataset();\n return;\n }\n this.binddataset = binddataset;\n setTimeout(() => {\n // watching for dataset changes even when dataset is bound to \"item.\" (i.e. by checking for datasetBoundExpr)\n // item context is passed as dataSource here\n // [Todo-CSP]: check if same expr fn is generated by parent widget (list, table)\n this.registerDestroyListener(\n $watch(\n binddataset,\n parent,\n datasetBoundExpr ? dataSource : {},\n nv => {\n if (nv) {\n this.dataset = nv;\n this._debouncedApplyDataset();\n } else {\n // WMS-19285: Setting dataset on proxy only to handle propertychange handler call for undefined cases\n this.widget.dataset = nv;\n }\n }\n )\n );\n\n // Register a watch on paging options. Call dataset property change handler even if paging options changes to reflect pagination state\n if (!bindPagingOptions) {\n return;\n }\n //[Todo-CSP]: either generate watch expr fn or register an event from the datasource itself\n this.registerDestroyListener(\n $watch(\n bindPagingOptions,\n parent,\n {},\n () => this._debouncedApplyDataset()\n )\n );\n });\n // apply datasource only when dataset is not bound to \"item.FIELD\"\n if (!datasetBoundExpr) {\n this.datasource = dataSource;\n }\n }\n\n // Set the datasource of pagination from the parent widget\n setDataSource(dataSource) {\n this.datasource = dataSource;\n }\n\n onPropertyChange(key: string, nv, ov) {\n if (key === 'dataset') {\n let data;\n if (this.parent && this.parent.onDataNavigatorDataSetChange) {\n data = this.parent.onDataNavigatorDataSetChange(nv);\n } else {\n data = nv;\n }\n // Set last action performed to \"dataset_update\" whenever dataset is changed in table component\n if (this.parent.widgetType === 'wm-table') {\n this.parent._triggeredByUser = false;\n }\n // When the dataset is not in current page, but in previous ones directly set the result without setting page values\n if (this.isEditNotInCurrentPage()) {\n this.setResult(data);\n } else {\n this.setPagingValues(data);\n }\n } else if (key === 'navigation') {\n if (nv === 'Advanced') { // Support for older projects where navigation type was advanced instead of clasic\n this.navigation = 'Classic';\n }\n this.updateNavSize();\n this.navcontrols = nv;\n } else if (key === 'navigationsize') {\n this.updateNavSize();\n } else if (key === 'navigationalign') {\n switchClass(this.nativeElement, `text-${nv}`, `text-${ov}`);\n } else if (key === 'maxResults') {\n this.setPagingValues(this.dataset);\n } else {\n super.onPropertyChange(key, nv, ov);\n }\n }\n\n ngAfterViewInit() {\n const paginationElem = this.nativeElement as HTMLElement;\n paginationElem.onclick = (event) => {\n event.stopPropagation();\n };\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormsModule } from '@angular/forms';\n\nimport { PaginationModule as ngxPaginationModule } from 'ngx-bootstrap/pagination';\n\nimport { WmComponentsModule } from '@wm/components/base';\n\nimport { PaginationComponent } from './pagination.component';\n\nconst components = [\n PaginationComponent\n];\n\n@NgModule({\n imports: [\n CommonModule,\n FormsModule,\n ngxPaginationModule,\n WmComponentsModule\n ],\n declarations: [...components],\n exports: [...components]\n})\nexport class PaginationModule {\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],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A,EAAA,CAAA;;sBA0E2B,QAAQ;;sBAAI,MAAM;uBAAC,SAAS,CAAA;;sBAAkB,MAAM;uBAAC,kBAAkB,CAAA;;sBAAG,QAAQ;qBAtEpG,aAAa,EAAA,CAAA;kBAAtB,MAAM;YACG,iBAAiB,EAAA,CAAA;kBAA1B,MAAM;;kFAHE,mBAAmB,EAAA,EAAA,SAAA,EAAA,qBAAA,EAAA,QAAA,EAAA,yBAAA,EAAA,UAAA,EAAA,EAAA,EAAA,CAAA,CAAA,EAAA,GAAA;;AC9BhC,MAAM,UAAU,GAAG;IACf,mBAAmB;CACtB,CAAC;MAYW,gBAAgB,CAAA;iFAAhB,gBAAgB,GAAA,CAAA,EAAA,CAAA,EAAA;mEAAhB,gBAAgB,EAAA,CAAA,CAAA,EAAA;uEARrB,YAAY;YACZ,WAAW;YACXA,kBAAmB;YACnB,kBAAkB,CAAA,EAAA,CAAA,CAAA,EAAA;;iFAKb,gBAAgB,EAAA,CAAA;cAV5B,QAAQ;AAAC,QAAA,IAAA,EAAA,CAAA;AACN,gBAAA,OAAO,EAAE;oBACL,YAAY;oBACZ,WAAW;oBACXA,kBAAmB;oBACnB,kBAAkB;AACrB,iBAAA;AACD,gBAAA,YAAY,EAAE,CAAC,GAAG,UAAU,CAAC;AAC7B,gBAAA,OAAO,EAAE,CAAC,GAAG,UAAU,CAAC;AAC3B,aAAA,CAAA;;wFACY,gBAAgB,EAAA,EAAA,YAAA,EAAA,CAbzB,mBAAmB,CAAA,EAAA,OAAA,EAAA,CAKf,YAAY;QACZ,WAAW;QACXA,kBAAmB;AACnB,QAAA,kBAAkB,aARtB,mBAAmB,CAAA,EAAA,CAAA,CAAA,EAAA,GAAA;;ACXvB;;AAEG;;;;"}
|
1
|
+
{"version":3,"file":"index.mjs","sources":["../../../../../projects/components/widgets/data/pagination/src/pagination.props.ts","../../../../../projects/components/widgets/data/pagination/src/pagination.component.html","../../../../../projects/components/widgets/data/pagination/src/pagination.component.ts","../../../../../projects/components/widgets/data/pagination/src/pagination.module.ts","../../../../../projects/components/widgets/data/pagination/src/index.ts"],"sourcesContent":["import { PROP_ANY, PROP_BOOLEAN, PROP_NUMBER, PROP_STRING, register } from '@wm/components/base';\n\nexport const registerProps = () => {\n register(\n 'wm-pagination',\n new Map(\n [\n ['boundarylinks', {value: false, ...PROP_BOOLEAN}],\n ['class', PROP_STRING],\n ['dataset', PROP_ANY],\n ['directionlinks', {value: true, ...PROP_BOOLEAN}],\n ['forceellipses', {value: true, ...PROP_BOOLEAN}],\n ['maxResults', PROP_NUMBER],\n ['maxsize', {value: 5, ...PROP_NUMBER}],\n ['name', PROP_STRING],\n ['navigation', {value: 'Basic', ...PROP_STRING}],\n ['navigationalign', {value: 'left', ...PROP_STRING}],\n ['navigationsize', PROP_STRING],\n ['show', {value: true, ...PROP_BOOLEAN}],\n ['showrecordcount', PROP_BOOLEAN],\n ['tabindex', {value: 0, ...PROP_NUMBER}]\n ]\n )\n );\n};\n","\n<ul class=\"pagination advanced {{navigationClass}}\" *ngIf=\"navcontrols === 'Classic'\">\n <li [ngClass]=\"{'disabled':isDisableFirst}\">\n <a [title]=\"appLocale.LABEL_FIRST\" name=\"first\" href=\"javascript:void(0);\"\n [attr.aria-disabled]=\"isDisableFirst\"\n (click)=\"navigatePage('first', $event)\">\n <span aria-hidden=\"true\"><i class=\"wi wi-first-page\"></i></span>\n <span class=\"sr-only\">Go to first page {{ isDisableFirst ? ' , Disabled' : ''}}</span>\n </a>\n </li>\n <li [ngClass]=\"{'disabled':isDisablePrevious}\">\n <a [title]=\"appLocale.LABEL_PREVIOUS\" name=\"prev\" href=\"javascript:void(0);\"\n [attr.aria-disabled]=\"isDisablePrevious\"\n (click)=\"navigatePage('prev', $event)\">\n <span aria-hidden=\"true\"><i class=\"wi wi-chevron-left\"></i></span>\n <span class=\"sr-only\">Go to previous page {{ isDisablePrevious ? ', Disabled' : ''}}</span>\n </a>\n </li>\n <li class=\"pagecount disabled\">\n <a href=\"javascript:void(0);\">\n <input [(ngModel)]=\"dn.currentPage\" [attr.aria-label]=\"'Showing Page ' + dn.currentPage + ' of ' + pageCount\" [disabled]=\"isDisableCurrent\"\n [ngModelOptions]=\"{standalone: true}\"\n type=\"number\"\n (keydown)=\"onKeyDown($event)\" (change)=\"onModelChange($event)\" class=\"form-control\"/>\n </a>\n </li>\n <li class=\"disabled\">\n <a [hidden]=\"isDisableCount\"> / {{pageCount}}</a>\n </li>\n <li [ngClass]=\"{'disabled':isDisableNext}\">\n <a [title]=\"appLocale.LABEL_NEXT\" name=\"next\" href=\"javascript:void(0);\"\n [attr.aria-disabled]=\"isDisableNext\"\n (click)=\"navigatePage('next', $event)\">\n <span aria-hidden=\"true\"><i class=\"wi wi-chevron-right\"></i></span>\n <span class=\"sr-only\">Go to next page {{ isDisableNext ? ' , Disabled' : ''}}</span>\n </a>\n </li>\n <li [ngClass]=\"{'disabled':isDisableLast}\">\n <a [title]=\"appLocale.LABEL_LAST\" name=\"last\" href=\"javascript:void(0);\"\n [attr.aria-disabled]=\"isDisableLast\"\n (click)=\"navigatePage('last', $event)\">\n <span aria-hidden=\"true\"><i class=\"wi wi-last-page\"></i></span>\n <span class=\"sr-only\">Go to last page {{ isDisableLast ? ' , Disabled' : ''}}</span>\n </a>\n </li>\n <li *ngIf=\"showrecordcount\" class=\"totalcount disabled\">\n <a href=\"javascript:void(0);\" tabindex=\"-1\" aria-disabled=\"true\">{{appLocale.LABEL_TOTAL_RECORDS}}: {{dataSize}}</a>\n </li>\n</ul>\n<ul class=\"pager {{navigationClass}}\" *ngIf=\"navcontrols === 'Pager'\">\n <li class=\"previous\" [ngClass]=\"{'disabled':isDisablePrevious}\">\n <a href=\"javascript:void(0);\" (click)=\"navigatePage('prev', $event)\"\n [attr.aria-disabled]=\"isDisablePrevious\">\n <span aria-hidden=\"true\"><i class=\"wi wi-chevron-left\"></i></span>\n {{appLocale.LABEL_PREVIOUS}}\n <span class=\"sr-only\">{{ isDisablePrevious ? ' , Disabled' : ''}}</span>\n </a>\n </li>\n <li class=\"next\" [ngClass]=\"{'disabled':isDisableNext}\">\n <a href=\"javascript:void(0);\" (click)=\"navigatePage('next', $event)\"\n [attr.aria-disabled]=\"isDisableNext\">\n <span aria-hidden=\"true\"><i class=\"wi wi-chevron-right\"></i></span>\n {{appLocale.LABEL_NEXT}}\n <span class=\"sr-only\">{{ isDisableNext ? ' , Disabled' : ''}}</span>\n </a>\n </li>\n</ul>\n\n<pagination class=\"pagination basic\" [ngClass]=\"navigationClass\" *ngIf=\"navcontrols === 'Basic'\" role=\"navigation\"\n [itemsPerPage]=\"maxResults\" [totalItems]=\"dataSize\"\n (pageChanged)=\"pageChanged($event)\" [ngModelOptions]=\"{standalone:true}\" [ngModel]=\"dn.currentPage\"\n [attr.aria-label]=\"'Showing Page ' + dn.currentPage + ' of ' + pageCount + ' pages'\"\n [boundaryLinks]=\"boundarylinks\" [maxSize]=\"maxsize\"\n [directionLinks]=\"directionlinks\"\n firstText=\"Firtst\" lastText=\"Last\"\n [customPreviousTemplate]=\"prevTemplate\"\n [customNextTemplate]=\"nextTemplate\"\n [customPageTemplate]=\"pageTemplate\"></pagination>\n\n<ul *ngIf=\"navcontrols === 'Basic' && showrecordcount\" class=\"pagination\">\n <li class=\"totalcount disabled basiccount\">\n <a href=\"javascript:void(0);\" tabindex=\"-1\" aria-disabled=\"true\">{{appLocale.LABEL_TOTAL_RECORDS}}: {{dataSize}}</a>\n </li>\n</ul>\n\n<ng-template #pageTemplate let-page>\n <span class=\"sr-only\" [attr.data-isacitvepage]=\"page.active\">{{'Page '}}</span>\n {{page.number}}\n <span class=\"sr-only\" *ngIf=\"page.active\"> {{', Showing page ' + page.number + ' of ' + pageCount}}</span>\n</ng-template>\n<ng-template #prevTemplate let-disabled=\"disabled\">\n <span class=\"sr-only\" [attr.data-isdisabled]=\"disabled\">Go to Previous page {{disabled ? ', Disabled' : ''}}</span>\n</ng-template>\n<ng-template #nextTemplate let-disabled=\"disabled\">\n <span class=\"sr-only\" [attr.data-isdisabled]=\"disabled\">Go to Next page {{disabled ? ', Disabled' : ''}}</span>\n</ng-template>\n","import {Component, EventEmitter, Inject, Injector, Output, SkipSelf, AfterViewInit, Optional} from '@angular/core';\n\nimport {\n $appDigest,\n $watch,\n AppConstants,\n DataSource,\n debounce,\n isDefined,\n switchClass,\n triggerFn\n} from '@wm/core';\nimport { DEBOUNCE_TIMES, getOrderByExpr, provideAsWidgetRef, StylableComponent, styler, WidgetRef, unsupportedStatePersistenceTypes} from '@wm/components/base';\nimport { registerProps } from './pagination.props';\nimport {forEach, get, isArray, isEmpty, isNull, isString} from \"lodash-es\";\n\nconst DEFAULT_CLS = 'app-datanavigator clearfix';\nconst WIDGET_CONFIG = {widgetType: 'wm-pagination', hostClass: DEFAULT_CLS};\n\nconst sizeClasses = {\n 'Pager': {\n 'small': 'pager-sm',\n 'large': 'pager-lg'\n },\n 'Basic': {\n 'small': 'pagination-sm',\n 'large': 'pagination-lg'\n },\n 'Classic': {\n 'small': 'pagination-sm',\n 'large': 'pagination-lg'\n }\n};\n@Component({\n selector: '[wmPagination]',\n templateUrl: './pagination.component.html',\n providers: [\n provideAsWidgetRef(PaginationComponent)\n ]\n})\nexport class PaginationComponent extends StylableComponent implements AfterViewInit {\n static initializeProps = registerProps();\n @Output() resultEmitter: EventEmitter<any> = new EventEmitter();\n @Output() maxResultsEmitter: EventEmitter<any> = new EventEmitter();\n\n datasource;\n maxResults;\n navigationsize;\n showrecordcount;\n\n navcontrols;\n navigation;\n\n boundarylinks;\n directionlinks;\n\n navigationClass;\n dn = {\n currentPage: 1\n };\n\n pageCount = 0;\n isDisableNext = true;\n isDisablePrevious = true;\n isDisableFirst = true;\n isDisableLast = true;\n isDisableCurrent;\n dataSize;\n prevshowrecordcount;\n isDisableCount;\n firstRow;\n result;\n __fullData;\n dataset;\n options;\n statehandler;\n filterFields;\n sortOptions;\n binddataset;\n pagination;\n logicalOp;\n\n private _debouncedApplyDataset = debounce(() => this.widget.dataset = this.dataset, DEBOUNCE_TIMES.PAGINATION_DEBOUNCE_TIME);\n private _debouncedPageChanged = debounce(event => {\n const currentPage = event && event.page;\n // Do not call goToPage if page has not changed\n if (currentPage !== this.dn.currentPage) {\n const inst = (this as any).parent || this;\n this.dn.currentPage = currentPage;\n inst.invokeEventCallback('paginationchange', {$event: undefined, $index: this.dn.currentPage});\n this.goToPage();\n if (this.navigation === 'Basic') {\n this._setAriaForBasicNavigation();\n }\n }\n }, DEBOUNCE_TIMES.PAGINATION_DEBOUNCE_TIME);\n\n private _setAriaForBasicNavigation() {\n forEach(this.nativeElement.getElementsByTagName('a'), (item) => {\n item.setAttribute('href', 'javascript:void(0);');\n const childNode = item.querySelector('span');\n if (childNode?.dataset.isacitvepage === \"true\") {\n item.setAttribute('aria-current', 'true');\n }\n if(childNode?.dataset.isdisabled === \"true\") {\n item.setAttribute('aria-disabled', 'true');\n } else {\n item.removeAttribute('aria-disabled');\n }\n });\n }\n\n constructor(inj: Injector, @SkipSelf() @Inject(WidgetRef) public parent, @Inject('EXPLICIT_CONTEXT') @Optional() explicitContext: any) {\n super(inj, WIDGET_CONFIG, explicitContext);\n styler(this.nativeElement, this);\n }\n\n setResult(result) {\n // TODO: Emit event only if result is changed\n this.result = result;\n this.resultEmitter.emit(this.result);\n }\n\n // Update navigationClass based on navigation and navigationSize props\n private updateNavSize() {\n const sizeCls = sizeClasses[this.navcontrols];\n if (sizeCls && this.navigationsize) {\n this.navigationClass = sizeCls[this.navigationsize];\n } else {\n this.navigationClass = '';\n }\n }\n\n // Function to reset the paging values to default.\n resetPageNavigation() {\n this.pageCount = 0;\n this.dn.currentPage = 1;\n this.dataSize = 0;\n }\n\n /*Function to calculate the paging values.*/\n calculatePagingValues() {\n this.pageCount = (this.dataSize > this.maxResults) ? (Math.ceil(this.dataSize / this.maxResults)) : (this.dataSize < 0 ? 0 : 1);\n this.dn.currentPage = this.dn.currentPage || 1;\n }\n\n /*Function to set default values to the paging parameters*/\n setDefaultPagingValues(dataSize, maxResults, currentPage) {\n /*If neither 'dataSize' nor 'maxResults' is set, then set default values to the paging parameters.*/\n if (!dataSize && !maxResults) {\n this.pageCount = 1;\n this.dn.currentPage = 1;\n this.maxResults = dataSize;\n this.dataSize = dataSize;\n } else { /*Else, set the specified values and recalculate paging parameters.*/\n this.maxResults = maxResults || this.maxResults;\n this.dataSize = isDefined(dataSize) ? dataSize : this.dataSize;\n this.dn.currentPage = currentPage || this.dn.currentPage;\n this.calculatePagingValues();\n }\n this.maxResultsEmitter.emit(this.maxResults);\n }\n\n /*Function to check the dataSize and manipulate the navigator accordingly.*/\n checkDataSize(dataSize, numberOfElements?, size?) {\n /*If the dataSize is -1 or Integer.MAX_VALUE( which is 2147483647), then the total number of records is not known.\n * Hence,\n * 1. Hide the 'Total Record Count'.\n * 2. Disable the 'GoToLastPage' link as the page number of the last page is not known.*/\n if (dataSize === -1 || dataSize === AppConstants.INT_MAX_VALUE) {\n this.prevshowrecordcount = this.showrecordcount;\n this.isDisableLast = true;\n this.isDisableCount = true;\n this.showrecordcount = false;\n // If number of records in current page is less than the max records size, this is the last page. So disable next button.\n if (numberOfElements < size) {\n this.isDisableNext = true;\n }\n } else {\n this.isDisableCount = false;\n this.showrecordcount = this.prevshowrecordcount || this.showrecordcount;\n }\n }\n\n /*Function to disable navigation based on the current and total pages.*/\n disableNavigation() {\n const isCurrentPageFirst = (this.dn.currentPage === 1),\n isCurrentPageLast = (this.dn.currentPage === this.pageCount);\n if (!this.pagination?.next) {\n this.isDisableFirst = this.isDisablePrevious = isCurrentPageFirst;\n this.isDisableNext = this.isDisableLast = isCurrentPageLast;\n } else {\n // WMS-18867: In case of server side pagination, for pager type pagination depend on prev and next flags which are set by developer\n this.isDisableFirst = this.isDisablePrevious = !this.pagination.prev;\n this.isDisableNext = this.isDisableLast = !this.pagination.next;\n }\n this.isDisableCurrent = isCurrentPageFirst && isCurrentPageLast;\n // In case of client side pagination, when load more reaches last page hide the on-demand grid ele\n if (this.dataset && this.dataset.length && this.isDisableNext && this.parent.onDemandLoad && this.parent.widgetType === 'wm-table') {\n this.parent.callDataGridMethod('hideLoadingIndicator', this.isDisableNext, this.parent.infScroll);\n }\n }\n\n /*Function to check if the variable bound to the data-navigator has paging.*/\n isDataSourceHasPaging() {\n return this.datasource && this.datasource.execute(DataSource.Operation.IS_PAGEABLE);\n }\n\n // Set the result for client side pagination\n setNonPageableData(newVal) {\n let dataSize,\n maxResults,\n currentPage,\n startIndex;\n dataSize = isArray(newVal) ? newVal.length : (isEmpty(newVal) ? 0 : 1);\n maxResults = (this.options && this.options.maxResults) || dataSize;\n\n // For static variable, keep the current page. For other variables without pagination reset the page to 1\n // Fix for [WMS-23263]: gridOptions.isNextPageData flag is false when dataset is changed from script, so setting current page to 1\n if (this.datasource && (this.datasource.execute(DataSource.Operation.IS_API_AWARE) || (this.parent.widgetType === 'wm-table' && (this.parent.gridOptions.isNavTypeScrollOrOndemand() && (get(this.parent, 'gridOptions.lastActionPerformed') === this.parent.gridOptions.ACTIONS.DATASET_UPDATE || !get(this.parent, 'gridOptions.isNextPageData')))))) {\n currentPage = 1;\n } else {\n currentPage = this.dn.currentPage || 1;\n }\n\n this.setDefaultPagingValues(dataSize, maxResults, currentPage);\n this.disableNavigation();\n\n startIndex = (this.dn.currentPage - 1) * this.maxResults;\n this.setResult(isArray(newVal) ? newVal.slice(startIndex, startIndex + this.maxResults) : newVal);\n }\n\n /*Function to set the values needed for pagination*/\n private setPagingValues(newVal) {\n let dataSize,\n maxResults,\n currentPage,\n dataSource;\n let variableOptions: any = {};\n // Store the data in __fullData. This is used for client side searching witvah out modifying the actual dataset.\n this.__fullData = newVal;\n /*Check for sanity*/\n if (this.binddataset) {\n dataSource = this.datasource || {};\n variableOptions = dataSource._options || {};\n /*Check for number of elements in the data set*/\n if (newVal) {\n if (this.isDataSourceHasPaging()) {\n this.pagination = this.datasource.execute(DataSource.Operation.GET_PAGING_OPTIONS) || {};\n // If \"filterFields\" and \"sortOptions\" have been set, then set them so that the filters can be retained while fetching data upon page navigation.\n this.filterFields = variableOptions.filterFields || {};\n this.logicalOp = variableOptions.logicalOp || '';\n this.sortOptions = variableOptions.orderBy ||\n (isArray(this.pagination.sort) ? getOrderByExpr(this.pagination.sort) : '');\n dataSize = this.pagination.totalElements;\n maxResults = this.pagination.size;\n if (this.pagination.numberOfElements > 0) {\n if (isDefined(this.pagination.number)) { // number is page number received from backend\n this.dn.currentPage = this.pagination.number + 1;\n }\n currentPage = this.dn.currentPage || 1;\n } else {\n currentPage = 1;\n }\n /* Sending pageCount undefined to calculate it again for query.*/\n this.setDefaultPagingValues(dataSize, maxResults, currentPage);\n this.disableNavigation();\n this.checkDataSize(dataSize, this.pagination.numberOfElements, this.pagination.size);\n this.setResult(newVal);\n } else if (!isString(newVal)) {\n this.setNonPageableData(newVal);\n }\n } else {\n this.setResult(newVal);\n this.resetPageNavigation();\n }\n if (this.navigation === 'Basic') {\n this._setAriaForBasicNavigation();\n }\n } else {\n if (newVal && !isString(newVal)) {\n this.setNonPageableData(newVal);\n }\n }\n }\n\n /*Function to check if the current page is the first page*/\n isFirstPage() {\n return (this.dn.currentPage === 1 || !this.dn.currentPage);\n }\n\n /*Function to check if the current page is the last page*/\n isLastPage() {\n return (this.dn.currentPage === this.pageCount);\n }\n\n /*Function to navigate to the last page*/\n goToLastPage(isRefresh, event, callback) {\n if (!this.isLastPage()) {\n this.dn.currentPage = this.pageCount;\n this.goToPage(event, callback);\n } else if (isRefresh) {\n this.goToPage(event, callback);\n }\n }\n\n /*Function to navigate to the first page*/\n goToFirstPage(isRefresh, event, callback) {\n if (!this.isFirstPage()) {\n this.dn.currentPage = 1;\n this.goToPage(event, callback);\n } else if (isRefresh) {\n this.goToPage(event, callback);\n }\n }\n\n /*Function to navigate to the current page*/\n goToPage(event?, callback?) {\n this.firstRow = (this.dn.currentPage - 1) * this.maxResults;\n const mode = this.parent.statePersistence.computeMode(this.statehandler);\n if (mode && mode.toLowerCase() !== 'none' && (this.parent.widgetType === 'wm-table' || this.parent.widgetType === 'wm-list')) {\n this.parent._selectedItemsExist = true;\n if (this.isFirstPage()) {\n this.parent.statePersistence.removeWidgetState(this.parent, 'pagination');\n } else {\n if (unsupportedStatePersistenceTypes.indexOf(this.parent.navigation) < 0) {\n this.parent.statePersistence.setWidgetState(this.parent, {pagination: this.dn.currentPage});\n } else if (this.parent.widgetType === 'wm-list' ||this.parent.widgetType === 'wm-table' ) {\n console.warn('Retain State handling on Widget ' + this.parent.name + ' is not supported for current pagination type.');\n }\n }\n this.parent.currentpage = this.dn.currentPage;\n this.parent.nativeElement?.setAttribute('currentpage', this.dn.currentPage);\n }\n // call getPageData after checking state config so that Static Variables can use it\n this.getPageData(event, callback);\n }\n\n /*Function to be invoked after the data of the page has been fetched.*/\n onPageDataReady(event, data, callback) {\n this.disableNavigation();\n this.invokeSetRecord(event, data);\n triggerFn(callback);\n }\n\n /*Function to get data for the current page*/\n getPageData(event, callback) {\n let data,\n startIndex;\n\n if (this.isDataSourceHasPaging()) {\n /**\n * In table component, in case of on demand and scroll pagination\n * When there is a change in data item which is not in current page\n * Fetch the items of the page where the change is made\n * */\n let pageIndex = this.dn.currentPage;\n if (this.isEditNotInCurrentPage() && this.parent.gridOptions.lastActionPerformed !== 'delete') {\n pageIndex = this.parent.actionRowPage;\n }\n this.datasource.execute(DataSource.Operation.LIST_RECORDS, {\n 'page': pageIndex,\n 'filterFields': this.filterFields,\n 'orderBy': this.sortOptions,\n 'logicalOp': this.logicalOp,\n 'matchMode': 'anywhereignorecase'\n }).then(response => {\n this.onPageDataReady(event, response && response.data, callback);\n $appDigest();\n }, error => {\n // If error is undefined, do not show any message as this may be discarded request\n if (error) {\n // TODO: Handle Error\n // wmToaster.show('error', 'ERROR', 'Unable to get data of page -' + this.dn.currentPage + ':' + error);\n }\n });\n } else {\n if (this.isEditNotInCurrentPage()) {\n startIndex = (this.parent.actionRowPage - 1) * this.maxResults;\n } else {\n startIndex = (this.dn.currentPage - 1) * this.maxResults;\n }\n data = isArray(this.__fullData) ? this.__fullData.slice(startIndex, startIndex + this.maxResults) : this.__fullData;\n this.setResult(data);\n this.onPageDataReady(event, data, callback);\n }\n }\n\n /*\n Function to check if the edit action is performed on the previous page data of the table\n */\n isEditNotInCurrentPage() {\n const pageIndex = this.dn.currentPage;\n return this.parent.widgetType === 'wm-table' && pageIndex === this.parent.currentPage &&\n this.parent.actionRowPage && this.parent.actionRowPage < pageIndex;\n }\n\n invokeSetRecord(event, data) {\n // Trigger the event handler if exists.\n const pageInfo = {\n currentPage: this.dn.currentPage,\n size: this.maxResults,\n totalElements: this.dataSize,\n totalPages: this.pageCount\n };\n if (this.parent) {\n this.parent.invokeEventCallback('setrecord', {$event: event, $data: data, $index: this.dn.currentPage, pageInfo, data});\n } else {\n this.invokeEventCallback('setrecord', {$event: event, $data: data, $index: this.dn.currentPage, pageInfo, data});\n }\n }\n\n /*Function to validate the page input.\n In case of invalid input, navigate to the appropriate page; also return false.\n In case of valid input, return true.*/\n validateCurrentPage(event, callback?) {\n /*If the value entered is greater than the last page number or invalid value, then highlighting the field showing error.*/\n if (event && (isNaN(this.dn.currentPage) || this.dn.currentPage <= 0 || (this.pageCount && (this.dn.currentPage > this.pageCount || isNull(this.dn.currentPage))))) {\n if (this.dn.currentPage <= 0) {\n this.dn.currentPage = 1;\n } else if (this.dn.currentPage > this.pageCount) {\n this.dn.currentPage = this.pageCount;\n }\n return false;\n }\n return true;\n }\n\n onModelChange(event) {\n if (!this.validateCurrentPage(event)) {\n return;\n }\n this.goToPage(event);\n }\n\n onKeyDown(event) {\n const targetEle = $(event.target).closest('a');\n if (event.code === 'KeyE') {\n targetEle.addClass('ng-invalid');\n return false;\n }\n targetEle.removeClass('ng-invalid');\n return true;\n }\n\n pageChanged(event: any) {\n this._debouncedPageChanged(event);\n }\n\n /*Function to navigate to the respective pages.*/\n navigatePage(index, event, isRefresh, callback) {\n // when navigated to next page turn on the isDataLoading flag to show the loading indicator\n if (isDefined(this.parent.isDataLoading) && !this.isDisableNext) {\n this.parent.isDataLoading = true;\n // In case of infinite scroll calling the showLoadingIndicator method to update the loading message immediately when navigated to next page\n if (this.parent.infScroll) {\n this.parent.variableInflight = true;\n this.parent.callDataGridMethod('showLoadingIndicator', this.parent.loadingdatamsg, true);\n }\n }\n // reset the last action performed to \"scroll\" and isDatasetUpdated to false\n if (this.parent.widgetType === 'wm-table' && this.parent.gridOptions.isNavTypeScrollOrOndemand()) {\n this.parent.gridOptions.setLastActionPerformed(this.parent.gridOptions.ACTIONS.DEFAULT);\n this.parent.gridOptions.setIsDatasetUpdated(false);\n }\n this.invokeEventCallback('paginationchange', {$event: undefined, $index: this.dn.currentPage});\n\n // Convert the current page to a valid page number.\n this.dn.currentPage = +this.dn.currentPage;\n\n switch (index) {\n case 'first':\n this.goToFirstPage(isRefresh, event, callback);\n return;\n case 'prev':\n /*Return if already on the first page.*/\n if (!this.pagination?.next && (this.isFirstPage() || !this.validateCurrentPage(event, callback))) {\n return;\n } else if (this.pagination?.next) { // WMS-18867: For server side pagination, skipping the regular flow and enabling isNext flag in pagination metadata\n this.datasource.pagination.isNext = false;\n this.datasource.pagination.isPrev = true;\n }\n /*Decrement the current page by 1.*/\n this.dn.currentPage -= 1;\n break;\n case 'next':\n /*Return if already on the last page.*/\n if (!this.pagination?.next && (this.isLastPage() || !this.validateCurrentPage(event, callback))) {\n return;\n } else if (this.pagination?.next) { // WMS-18867: For server side pagination, skipping the regular flow and enabling isPrev flag in pagination metadata\n this.datasource.pagination.isNext = true;\n this.datasource.pagination.isPrev = false;\n }\n /*Increment the current page by 1.*/\n this.dn.currentPage += 1;\n break;\n case 'last':\n this.goToLastPage(isRefresh, event, callback);\n return;\n default:\n break;\n }\n\n /*Navigate to the current page.*/\n this.goToPage(event, callback);\n }\n\n setBindDataSet(binddataset, parent, dataSource, dataset?, binddatasource?, datasetBoundExpr?, statehandler?) {\n const parts = binddataset.split('.');\n let bindPagingOptions;\n this.statehandler = statehandler;\n if (parts[0] === 'Variables' || parts[0] === 'Widgets') {\n bindPagingOptions = `${parts[0]}.${parts[1]}.pagination`;\n }\n if (!binddatasource && dataset && !datasetBoundExpr) {\n this.dataset = dataset;\n this._debouncedApplyDataset();\n return;\n }\n this.binddataset = binddataset;\n setTimeout(() => {\n // watching for dataset changes even when dataset is bound to \"item.\" (i.e. by checking for datasetBoundExpr)\n // item context is passed as dataSource here\n // [Todo-CSP]: check if same expr fn is generated by parent widget (list, table)\n this.registerDestroyListener(\n $watch(\n binddataset,\n parent,\n datasetBoundExpr ? dataSource : {},\n nv => {\n if (nv) {\n this.dataset = nv;\n this._debouncedApplyDataset();\n } else {\n // WMS-19285: Setting dataset on proxy only to handle propertychange handler call for undefined cases\n this.widget.dataset = nv;\n }\n }\n )\n );\n\n // Register a watch on paging options. Call dataset property change handler even if paging options changes to reflect pagination state\n if (!bindPagingOptions) {\n return;\n }\n //[Todo-CSP]: either generate watch expr fn or register an event from the datasource itself\n this.registerDestroyListener(\n $watch(\n bindPagingOptions,\n parent,\n {},\n () => this._debouncedApplyDataset()\n )\n );\n });\n // apply datasource only when dataset is not bound to \"item.FIELD\"\n if (!datasetBoundExpr) {\n this.datasource = dataSource;\n }\n }\n\n // Set the datasource of pagination from the parent widget\n setDataSource(dataSource) {\n this.datasource = dataSource;\n }\n\n onPropertyChange(key: string, nv, ov) {\n if (key === 'dataset') {\n let data;\n if (this.parent && this.parent.onDataNavigatorDataSetChange) {\n data = this.parent.onDataNavigatorDataSetChange(nv);\n } else {\n data = nv;\n }\n // Set last action performed to \"dataset_update\" whenever dataset is changed in table component\n if (this.parent.widgetType === 'wm-table') {\n this.parent._triggeredByUser = false;\n }\n // When the dataset is not in current page, but in previous ones directly set the result without setting page values\n if (this.isEditNotInCurrentPage()) {\n this.setResult(data);\n } else {\n this.setPagingValues(data);\n }\n } else if (key === 'navigation') {\n if (nv === 'Advanced') { // Support for older projects where navigation type was advanced instead of clasic\n this.navigation = 'Classic';\n }\n this.updateNavSize();\n this.navcontrols = nv;\n } else if (key === 'navigationsize') {\n this.updateNavSize();\n } else if (key === 'navigationalign') {\n switchClass(this.nativeElement, `text-${nv}`, `text-${ov}`);\n } else if (key === 'maxResults') {\n this.setPagingValues(this.dataset);\n } else {\n super.onPropertyChange(key, nv, ov);\n }\n }\n\n ngAfterViewInit() {\n const paginationElem = this.nativeElement as HTMLElement;\n paginationElem.onclick = (event) => {\n event.stopPropagation();\n };\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormsModule } from '@angular/forms';\n\nimport { PaginationModule as ngxPaginationModule } from 'ngx-bootstrap/pagination';\n\nimport { WmComponentsModule } from '@wm/components/base';\n\nimport { PaginationComponent } from './pagination.component';\n\nconst components = [\n PaginationComponent\n];\n\n@NgModule({\n imports: [\n CommonModule,\n FormsModule,\n ngxPaginationModule,\n WmComponentsModule\n ],\n declarations: [...components],\n exports: [...components]\n})\nexport class PaginationModule {\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["ngxPaginationModule"],"mappings":";;;;;;;;;;;;AAEO,MAAM,aAAa,GAAG,MAAK;AAC9B,IAAA,QAAQ,CACJ,eAAe,EACf,IAAI,GAAG,CACH;QACI,CAAC,eAAe,EAAE,EAAC,KAAK,EAAE,KAAK,EAAE,GAAG,YAAY,EAAC,CAAC;QAClD,CAAC,OAAO,EAAE,WAAW,CAAC;QACtB,CAAC,SAAS,EAAE,QAAQ,CAAC;QACrB,CAAC,gBAAgB,EAAE,EAAC,KAAK,EAAE,IAAI,EAAE,GAAG,YAAY,EAAC,CAAC;QAClD,CAAC,eAAe,EAAE,EAAC,KAAK,EAAE,IAAI,EAAE,GAAG,YAAY,EAAC,CAAC;QACjD,CAAC,YAAY,EAAE,WAAW,CAAC;QAC3B,CAAC,SAAS,EAAE,EAAC,KAAK,EAAE,CAAC,EAAE,GAAG,WAAW,EAAC,CAAC;QACvC,CAAC,MAAM,EAAE,WAAW,CAAC;QACrB,CAAC,YAAY,EAAE,EAAC,KAAK,EAAE,OAAO,EAAE,G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AAA;mEAAhB,gBAAgB,EAAA,CAAA,CAAA,EAAA;uEARrB,YAAY;YACZ,WAAW;YACXA,kBAAmB;YACnB,kBAAkB,CAAA,EAAA,CAAA,CAAA,EAAA;;iFAKb,gBAAgB,EAAA,CAAA;cAV5B,QAAQ;AAAC,QAAA,IAAA,EAAA,CAAA;AACN,gBAAA,OAAO,EAAE;oBACL,YAAY;oBACZ,WAAW;oBACXA,kBAAmB;oBACnB,kBAAkB;AACrB,iBAAA;AACD,gBAAA,YAAY,EAAE,CAAC,GAAG,UAAU,CAAC;AAC7B,gBAAA,OAAO,EAAE,CAAC,GAAG,UAAU,CAAC;AAC3B,aAAA,CAAA;;wFACY,gBAAgB,EAAA,EAAA,YAAA,EAAA,CAbzB,mBAAmB,CAAA,EAAA,OAAA,EAAA,CAKf,YAAY;QACZ,WAAW;QACXA,kBAAmB;AACnB,QAAA,kBAAkB,aARtB,mBAAmB,CAAA,EAAA,CAAA,CAAA,EAAA,GAAA;;ACXvB;;AAEG;;;;"}
|
@@ -38,6 +38,7 @@
|
|
38
38
|
['boundarylinks', { value: false, ...i4.PROP_BOOLEAN }],
|
39
39
|
['class', i4.PROP_STRING],
|
40
40
|
['confirmdelete', { value: 'Are you sure you want to delete this?', ...i4.PROP_STRING }],
|
41
|
+
['currentpage', { value: 1, ...i4.PROP_NUMBER }],
|
41
42
|
['datasource', i4.PROP_STRING],
|
42
43
|
['dataset', i4.PROP_ANY],
|
43
44
|
['deletecanceltext', i4.PROP_STRING],
|
@@ -62,6 +63,7 @@
|
|
62
63
|
['insertmessage', { value: 'Record added successfully', ...i4.PROP_STRING }],
|
63
64
|
['isdynamictable', i4.PROP_BOOLEAN], // internal property to determine dynamic table
|
64
65
|
['isrowexpansionenabled', i4.PROP_BOOLEAN],
|
66
|
+
['isrowselectable', { value: false, ...i4.PROP_BOOLEAN }],
|
65
67
|
['loadingdatamsg', { value: 'Loading...', ...i4.PROP_STRING }],
|
66
68
|
['loadingicon', { value: 'fa fa-circle-o-notch fa-spin', ...i4.PROP_STRING }],
|
67
69
|
['maxsize', { value: 5, ...i4.PROP_NUMBER }],
|
@@ -393,6 +395,7 @@
|
|
393
395
|
},
|
394
396
|
filtermode: '',
|
395
397
|
filteronkeypress: false,
|
398
|
+
isrowselectable: false,
|
396
399
|
searchLabel: '',
|
397
400
|
rowActions: [],
|
398
401
|
headerConfig: [],
|
@@ -504,6 +507,15 @@
|
|
504
507
|
}
|
505
508
|
});
|
506
509
|
},
|
510
|
+
getParentTableData: () => {
|
511
|
+
// Function to get the row index and current page of parent table in row expansion (nested table) scenario
|
512
|
+
const parentTrElement = $(this.nativeElement).closest('tr');
|
513
|
+
const parentObj = {
|
514
|
+
'parentId': parentTrElement.prev('tr.app-datagrid-row')?.attr('data-row-id'),
|
515
|
+
'parentPage': parentTrElement.closest('div.app-grid.app-panel.panel')?.attr('currentpage') || 1
|
516
|
+
};
|
517
|
+
return parentObj;
|
518
|
+
},
|
507
519
|
onRowSelect: (row, e) => {
|
508
520
|
this.ngZone.run(() => {
|
509
521
|
this.selectedItems = this.callDataGridMethod('getSelectedRows');
|
@@ -512,7 +524,9 @@
|
|
512
524
|
}
|
513
525
|
const rowData = this.addRowIndex(row);
|
514
526
|
if (this.selectedItems.length && rowData.$index && this.getConfiguredState() !== 'none' && this.dataNavigator && i4.unsupportedStatePersistenceTypes.indexOf(this.navigation) < 0) {
|
515
|
-
|
527
|
+
// check if table has a parent table
|
528
|
+
const parentObj = this.gridOptions.getParentTableData();
|
529
|
+
const obj = parentObj.parentId ? { page: this.dataNavigator.dn.currentPage, index: rowData.$index - 1, parentRowIndex: parentObj.parentId, parentCurrentPage: parentObj.parentPage } : { page: this.dataNavigator.dn.currentPage, index: rowData.$index - 1 };
|
516
530
|
const widgetState = this.statePersistence.getWidgetState(this);
|
517
531
|
if (lodashEs.get(widgetState, 'selectedItem') && this.multiselect) {
|
518
532
|
if (!lodashEs.some(widgetState.selectedItem, obj)) {
|
@@ -564,7 +578,8 @@
|
|
564
578
|
this.invokeEventCallback('rowdeselect', { $data: row, $event: e, row });
|
565
579
|
const rowData = this.addRowIndex(row);
|
566
580
|
if (this.getConfiguredState() !== 'none' && i4.unsupportedStatePersistenceTypes.indexOf(this.navigation) < 0) {
|
567
|
-
const
|
581
|
+
const parentObj = this.gridOptions.getParentTableData();
|
582
|
+
const obj = parentObj.parentId ? { page: this.dataNavigator.dn.currentPage, index: rowData.$index - 1, parentRowIndex: parentObj.parentId, parentCurrentPage: parentObj.parentPage } : { page: this.dataNavigator.dn.currentPage, index: rowData.$index - 1 };
|
568
583
|
const widgetState = this.statePersistence.getWidgetState(this);
|
569
584
|
if (lodashEs.get(widgetState, 'selectedItem')) {
|
570
585
|
lodashEs.remove(widgetState.selectedItem, function (selectedItem) {
|
@@ -1079,7 +1094,8 @@
|
|
1079
1094
|
showheader: 'showHeader',
|
1080
1095
|
enablecolumnselection: 'enableColumnSelection',
|
1081
1096
|
shownewrow: 'showNewRow',
|
1082
|
-
gridfirstrowselect: 'selectFirstRow'
|
1097
|
+
gridfirstrowselect: 'selectFirstRow',
|
1098
|
+
isrowselectable: 'isrowselectable'
|
1083
1099
|
};
|
1084
1100
|
if (this._liveTableParent) {
|
1085
1101
|
this.isPartOfLiveGrid = true;
|
@@ -1105,6 +1121,7 @@
|
|
1105
1121
|
this.gridOptions.formPosition = this.formposition;
|
1106
1122
|
this.gridOptions.filtermode = this.filtermode;
|
1107
1123
|
this.gridOptions.filteronkeypress = this.filteronkeypress;
|
1124
|
+
this.gridOptions.isrowselectable = this.isrowselectable;
|
1108
1125
|
this.gridOptions.searchLabel = this.searchlabel;
|
1109
1126
|
this.gridOptions.isMobile = i2.isMobile();
|
1110
1127
|
this.gridOptions.name = this.name;
|
@@ -1636,6 +1653,8 @@
|
|
1636
1653
|
const widgetState = this.statePersistence.getWidgetState(this);
|
1637
1654
|
let currentPageItems;
|
1638
1655
|
if (lodashEs.get(widgetState, 'selectedItem')) {
|
1656
|
+
// check if table has a parent table
|
1657
|
+
const parentObj = this.gridOptions.getParentTableData();
|
1639
1658
|
currentPageItems = widgetState.selectedItem.filter(val => {
|
1640
1659
|
return val.page === this.dataNavigator.dn.currentPage;
|
1641
1660
|
});
|
@@ -1645,7 +1664,10 @@
|
|
1645
1664
|
// don't reassign this.selecteditem if selected items already exist.
|
1646
1665
|
if (lodashEs.isArray(this.selecteditem)) {
|
1647
1666
|
currentPageItems.forEach((item) => {
|
1648
|
-
|
1667
|
+
// select a row only if it's respective parent row index and parent's current page matches with statepersistence url
|
1668
|
+
if (!parentObj.parentId || (parentObj.parentId && item.parentRowIndex === parentObj.parentId && item.parentCurrentPage === parentObj.parentPage)) {
|
1669
|
+
this.selectItem(item.index, undefined);
|
1670
|
+
}
|
1649
1671
|
});
|
1650
1672
|
}
|
1651
1673
|
else {
|
@@ -1874,6 +1896,9 @@
|
|
1874
1896
|
this.dataNavigator.widget.maxResults = nv;
|
1875
1897
|
this.dataNavigator.maxResults = nv;
|
1876
1898
|
break;
|
1899
|
+
case 'currentpage':
|
1900
|
+
this.nativeElement?.setAttribute('currentpage', nv);
|
1901
|
+
break;
|
1877
1902
|
case 'ondemandmessage':
|
1878
1903
|
if (nv) {
|
1879
1904
|
this.$element.find('.on-demand-datagrid > a').text(nv);
|
@@ -4194,10 +4219,19 @@
|
|
4194
4219
|
const fieldName = this.group && this.group.name;
|
4195
4220
|
const index = fieldName ? parseInt(this.getAttr('index'), 10) : parseInt(this.getAttr('headerIndex'), 10);
|
4196
4221
|
// Register column with header config to create group structure
|
4197
|
-
|
4198
|
-
|
4199
|
-
|
4200
|
-
|
4222
|
+
if (!this.table.headerConfig.some(value => this.field == value.field)) {
|
4223
|
+
i4.setHeaderConfigForTable(this.table.headerConfig, {
|
4224
|
+
field: this.field,
|
4225
|
+
displayName: this.displayName
|
4226
|
+
}, fieldName, index);
|
4227
|
+
}
|
4228
|
+
else {
|
4229
|
+
this.table.headerConfig.map(value => {
|
4230
|
+
if (this.field == value.field) {
|
4231
|
+
value.displayName = this.displayName;
|
4232
|
+
}
|
4233
|
+
});
|
4234
|
+
}
|
4201
4235
|
break;
|
4202
4236
|
case 'defaultvalue':
|
4203
4237
|
this.defaultvalue = i4.getDefaultValue(this.defaultvalue, this.type, this.editWidgetType);
|