@wavemaker/app-ng-runtime 12.0.0-next.45102 → 12.0.0-next.45127
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 +8 -2
- app-ng-runtime/components/base/esm2022/pipes/custom-pipes.mjs +3 -3
- app-ng-runtime/components/base/esm2022/utils/live-utils.mjs +8 -2
- app-ng-runtime/components/base/fesm2022/index.mjs +8 -2
- app-ng-runtime/components/base/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/base/pipes/custom-pipes.d.ts +1 -1
- app-ng-runtime/components/base/widgets/common/base/base-field-validations.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/containers/wizard/bundles/index.umd.js +17 -0
- app-ng-runtime/components/containers/wizard/esm2022/wizard.component.mjs +18 -1
- app-ng-runtime/components/containers/wizard/fesm2022/index.mjs +17 -0
- app-ng-runtime/components/containers/wizard/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/containers/wizard/wizard.component.d.ts +1 -0
- app-ng-runtime/components/data/form/bundles/index.umd.js +4 -0
- app-ng-runtime/components/data/form/esm2022/form-field/form-field.directive.mjs +5 -3
- app-ng-runtime/components/data/form/fesm2022/index.mjs +4 -2
- app-ng-runtime/components/data/form/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/data/form/form-field/form-field.directive.d.ts +1 -0
- 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 +44 -10
- 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 +30 -7
- app-ng-runtime/components/data/table/esm2022/table.props.mjs +3 -1
- app-ng-runtime/components/data/table/fesm2022/index.mjs +45 -11
- app-ng-runtime/components/data/table/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/data/table/table.component.d.ts +8 -1
- 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 +20 -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 +13 -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 +20 -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 +206 -110
- 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 +60 -30
- 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 +51 -14
- 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 +9 -6
- app-ng-runtime/components/input/default/esm2022/textarea/textarea.props.mjs +2 -1
- app-ng-runtime/components/input/default/fesm2022/index.mjs +206 -110
- 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 +4 -4
- 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 +4 -2
- app-ng-runtime/components/input/epoch/bundles/index.umd.js +15 -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 +10 -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 +15 -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 +208 -95
- app-ng-runtime/components/input/file-upload/esm2022/file-upload.component.mjs +206 -98
- app-ng-runtime/components/input/file-upload/esm2022/file-upload.props.mjs +6 -1
- app-ng-runtime/components/input/file-upload/fesm2022/index.mjs +209 -96
- 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 +17 -11
- 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 +10 -8
- app-ng-runtime/components/navigation/menu/esm2022/menu.component.mjs +9 -8
- app-ng-runtime/components/navigation/menu/esm2022/menu.props.mjs +2 -1
- app-ng-runtime/components/navigation/menu/esm2022/nav/nav.component.mjs +2 -2
- app-ng-runtime/components/navigation/menu/fesm2022/index.mjs +10 -8
- 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 +12 -9
- 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 +5 -4
- app-ng-runtime/core/fesm2022/index.mjs +12 -10
- 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 -0
- app-ng-runtime/locales/moment-timezone/moment-timezone-with-data.js +37 -37
- 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/mobile/core/bundles/index.umd.js +18 -2
- app-ng-runtime/mobile/core/esm2022/native.xhr.mjs +19 -3
- app-ng-runtime/mobile/core/fesm2022/index.mjs +18 -2
- app-ng-runtime/mobile/core/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/package.json +1 -1
- app-ng-runtime/runtime/base/bundles/index.umd.js +7 -5
- 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/esm2022/services/i18n.service.mjs +2 -2
- app-ng-runtime/runtime/base/fesm2022/index.mjs +7 -5
- 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/runtime/base/services/i18n.service.d.ts +1 -1
- app-ng-runtime/scripts/@wavemaker/nvd3/build/nv.d3.min.js +1 -1
- app-ng-runtime/scripts/datatable/datatable.js +29 -29
- app-ng-runtime/scripts/summernote/dist/summernote-lite.min.js +2 -3
@@ -44,7 +44,7 @@ export class CarouselAnimator extends SwipeAnimation {
|
|
44
44
|
if (this.interval) {
|
45
45
|
this.start();
|
46
46
|
}
|
47
|
-
|
47
|
+
$('carousel slide').removeAttr('aria-hidden');
|
48
48
|
}
|
49
49
|
bounds() {
|
50
50
|
this._width = this._items.width();
|
@@ -146,4 +146,4 @@ export class CarouselAnimator extends SwipeAnimation {
|
|
146
146
|
items.eq((items.length + right) % items.length).addClass('right-item').removeClass('left-item');
|
147
147
|
}
|
148
148
|
}
|
149
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2Fyb3VzZWwuYW5pbWF0b3IuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb21wb25lbnRzL3dpZGdldHMvYWR2YW5jZWQvY2Fyb3VzZWwvc3JjL2Nhcm91c2VsLmFuaW1hdG9yLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUVBLE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSxTQUFTLENBQUM7QUFHekMsT0FBTyxFQUFDLFNBQVMsRUFBQyxNQUFNLFdBQVcsQ0FBQztBQUdwQyxNQUFNLE9BQU8sZ0JBQWlCLFNBQVEsY0FBYztJQWFoRCxZQUEyQixRQUEyQixFQUFVLFFBQWdCLEVBQVUsTUFBYztRQUNwRyxLQUFLLEVBQUUsQ0FBQztRQURlLGFBQVEsR0FBUixRQUFRLENBQW1CO1FBQVUsYUFBUSxHQUFS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IHRoaXMuX3dpZHRoID0gdGhpcy5faXRlbXMud2lkdGgoKTtcbiAgICAgICAgdGhpcy5fc3dpcGluZyA9IHRydWU7XG4gICAgICAgIHJldHVybiB7XG4gICAgICAgICAgICAnbG93ZXInOiAtdGhpcy5fd2lkdGgsXG4gICAgICAgICAgICAnY2VudGVyJzogMCxcbiAgICAgICAgICAgICd1cHBlcic6IHRoaXMuX3dpZHRoXG4gICAgICAgIH07XG4gICAgfVxuXG4gICAgcHVibGljIGNvbnRleHQoKSB7XG4gICAgICAgIHJldHVybiB7XG4gICAgICAgICAgICAndyc6IHRoaXMuX3dpZHRoXG4gICAgICAgIH07XG4gICAgfVxuXG5cbiAgICBwdWJsaWMgYW5pbWF0aW9uKCkge1xuICAgICAgICByZXR1cm4gW3tcbiAgICAgICAgICAgICd0YXJnZXQnOiB0aGlzLmdldFRhcmdldC5iaW5kKHRoaXMpLFxuICAgICAgICAgICAgJ2Nzcyc6IHtcbiAgICAgICAgICAgICAgICAndHJhbnNmb3JtJzogJ3RyYW5zbGF0ZTNkKCR7eyAoKCREICsgJGQpIC8gdykgKiAxMDAgKyBcXCclXFwnfX0sIDAsIDApJyxcbiAgICAgICAgICAgICAgICAnLXdlYmtpdC10cmFuc2Zvcm0nOiAndHJhbnNsYXRlM2QoJHt7ICgoJEQgKyAkZCkgLyB3KSAqIDEwMCArIFxcJyVcXCd9fSwgMCwgMCknXG4gICAgICAgICAgICB9XG4gICAgICAgIH1dO1xuICAgIH1cblxuICAgIHB1YmxpYyBvblVwcGVyKCkge1xuICAgICAgICB0aGlzLnJlc2V0VHJhbnNpdGlvbigpO1xuICAgICAgICB0aGlzLl9hY3RpdmVJbmRleCAtPSAxO1xuICAgICAgICB0aGlzLnNldEFjdGl2ZUl0ZW0oKTtcbiAgICAgICAgdGhpcy5fc3dpcGluZyA9IGZhbHNlO1xuICAgIH1cblxuICAgIHB1YmxpYyBvbkxvd2VyKCkge1xuICAgICAgICB0aGlzLnJlc2V0VHJhbnNpdGl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cm9jZXNzIG90aGVyIGV2ZW50c1xuICAgICAgICAgICAgaWYgKHRoaXMuX3N3aXBpbmcpIHtcbiAgICAgICAgICAgICAgICByZXR1cm47XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICB0aGlzLl9wYXVzZUNhcm9zZWxUaWxsID0gRGF0ZS5ub3coKSArIHRoaXMuaW50ZXJ2YWw7XG4gICAgICAgICAgICB0aGlzLmdvVG9Mb3dlcigpO1xuICAgICAgICB9KTtcbiAgICAgICAgdGhpcy5zZXRBY3RpdmVJdGVtKCk7XG4gICAgICAgIGlmICh0aGlzLmludGVydmFsKSB7XG4gICAgICAgICAgICB0aGlzLnN0YXJ0KCk7XG4gICAgICAgIH1cbiAgICAgICAgJCgnY2Fyb3VzZWwgc2xpZGUnKS5yZW1vdmVBdHRyKCdhcmlhLWhpZGRlbicpO1xuICAgIH1cblxuICAgIHB1YmxpYyBib3VuZHMoKSB7XG4gICAgICAgIHRoaXMuX3dpZHRoID0gdGhpcy5faXRlbXMud2lkdGgoKTtcbiAgICAgICAgdGhpcy5fc3dpcGluZyA9IHRydWU7XG4gICAgICAgIHJldHVybiB7XG4gICAgICAgICAgICAnbG93ZXInOiAtdGhpcy5fd2lkdGgsXG4gICAgICAgICAgICAnY2VudGVyJzogMCxcbiAgICAgICAgICAgICd1cHBlcic6IHRoaXMuX3dpZHRoXG4gICAgICAgIH07XG4gICAgfVxuXG4gICAgcHVibGljIGNvbnRleHQoKSB7XG4gICAgICAgIHJldHVybiB7XG4gICAgICAgICAgICAndyc6IHRoaXMuX3dpZHRoXG4gICAgICAgIH07XG4gICAgfVxuXG5cbiAgICBwdWJsaWMgYW5pbWF0aW9uKCkge1xuICAgICAgICByZXR1cm4gW3tcbiAgICAgICAgICAgICd0YXJnZXQnOiB0aGlzLmdldFRhcmdldC5iaW5kKHRoaXMpLFxuICAgICAgICAgICAgJ2Nzcyc6IHtcbiAgICAgICAgICAgICAgICAndHJhbnNmb3JtJzogJ3RyYW5zbGF0ZTNk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ZScpLnJlbW92ZUNsYXNzKCdhY3RpdmUnKTtcbiAgICAgICAgaXRlbXMuYWRkQ2xhc3MoJ2xlZnQtaXRlbScpO1xuICAgICAgICBpdGVtcy5lcSgoaXRlbXMubGVuZ3RoICsgbGVmdCkgJSBpdGVtcy5sZW5ndGgpLmFkZENsYXNzKCdsZWZ0LWl0ZW0nKS5yZW1vdmVDbGFzcygncmlnaHQtaXRlbScpO1xuICAgICAgICBpdGVtcy5lcSgoaXRlbXMubGVuZ3RoICsgdGhpcy5fYWN0aXZlSW5kZXgpICUgaXRlbXMubGVuZ3RoKS5yZW1vdmVDbGFzcygnbGVmdC1pdGVtIHJpZ2h0LWl0ZW0nKS5hZGRDbGFzcygnYWN0aXZlJyk7XG4gICAgICAgIGl0ZW1zLmVxKChpdGVtcy5sZW5ndGggKyByaWdodCkgJSBpdGVtcy5sZW5ndGgpLmFkZENsYXNzKCdyaWdodC1pdGVtJykucmVtb3ZlQ2xhc3MoJ2xlZnQtaXRlbScpO1xuICAgIH1cbn1cbiJdfQ==
|
@@ -63,7 +63,7 @@ class CarouselAnimator extends SwipeAnimation {
|
|
63
63
|
if (this.interval) {
|
64
64
|
this.start();
|
65
65
|
}
|
66
|
-
|
66
|
+
$('carousel slide').removeAttr('aria-hidden');
|
67
67
|
}
|
68
68
|
bounds() {
|
69
69
|
this._width = this._items.width();
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":["../../../../../projects/components/widgets/advanced/carousel/src/carousel.props.ts","../../../../../projects/components/widgets/advanced/carousel/src/carousel.animator.ts","../../../../../projects/components/widgets/advanced/carousel/src/carousel.directive.ts","../../../../../projects/components/widgets/advanced/carousel/src/carousel-template/carousel-template.props.ts","../../../../../projects/components/widgets/advanced/carousel/src/carousel-template/carousel-template.directive.ts","../../../../../projects/components/widgets/advanced/carousel/src/carousel.module.ts","../../../../../projects/components/widgets/advanced/carousel/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-carousel',\n new Map(\n [\n ['animation', {value: 'auto', ... PROP_STRING}],\n ['animationinterval', {value: 3, ... PROP_NUMBER}],\n ['controls', {value: 'both', ... PROP_STRING}],\n ['dataset', PROP_ANY],\n ['name', PROP_STRING],\n ['nodatamessage', {value: 'No Data Found', ... PROP_STRING}],\n ['show', PROP_BOOLEAN]\n ]\n )\n );\n};\n","import { NgZone } from '@angular/core';\n\nimport { SwipeAnimation } from '@swipey';\n\nimport { CarouselDirective } from './carousel.directive';\nimport {findIndex} from \"lodash-es\";\ndeclare const $;\n\nexport class CarouselAnimator extends SwipeAnimation {\n\n private _$el;\n private _activeIndex = 0;\n private _animationPaused = false;\n private _indicators;\n private _items;\n private _intervalId;\n private _pauseCaroselTill = 0;\n private _swiping;\n private _width;\n private _oldIndex = 0;\n\n public constructor(private carousel: CarouselDirective, private interval: number, private ngZone: NgZone) {\n super();\n const self = this;\n this._$el = $(this.carousel.getNativeElement()).find('>.carousel');\n this.init(this._$el.find('>.carousel-inner'));\n this._items = this._$el.find('>.carousel-inner >.carousel-item');\n this._indicators = this._$el.find('>.carousel-indicators');\n this._indicators.find('li').each(function (i) {\n $(this).on('click', () => {\n self._activeIndex = i;\n self.setActiveItem();\n // WMS-17583: Triggering onChange event\n self.carousel.onChangeCB(self._activeIndex, self._oldIndex);\n self._oldIndex = self._activeIndex;\n });\n });\n this._$el.find('>.left.carousel-control').on('click', () => {\n // WMS-22278, If a swipe is already in process do not process other events\n if (this._swiping) {\n return;\n }\n this._pauseCaroselTill = Date.now() + this.interval;\n this.goToUpper();\n });\n this._$el.find('>.right.carousel-control').on('click', () => {\n // WMS-22278, If a swipe is already in process do not process other events\n if (this._swiping) {\n return;\n }\n this._pauseCaroselTill = Date.now() + this.interval;\n this.goToLower();\n });\n this.setActiveItem();\n if (this.interval) {\n this.start();\n }\n this._$el.find('>.left.carousel-control').append('<span class=\"sr-only\">Previous</span>');\n }\n\n public bounds() {\n this._width = this._items.width();\n this._swiping = true;\n return {\n 'lower': -this._width,\n 'center': 0,\n 'upper': this._width\n };\n }\n\n public context() {\n return {\n 'w': this._width\n };\n }\n\n\n public animation() {\n return [{\n 'target': this.getTarget.bind(this),\n 'css': {\n 'transform': 'translate3d(${{ (($D + $d) / w) * 100 + \\'%\\'}}, 0, 0)',\n '-webkit-transform': 'translate3d(${{ (($D + $d) / w) * 100 + \\'%\\'}}, 0, 0)'\n }\n }];\n }\n\n public onUpper() {\n this.resetTransition();\n this._activeIndex -= 1;\n this.setActiveItem();\n this._swiping = false;\n }\n\n public onLower() {\n this.resetTransition();\n this._activeIndex += 1;\n this.setActiveItem();\n this._swiping = false;\n }\n\n public onAnimation() {\n const newIndex = (this._items.length + this._activeIndex) % this._items.length;\n this.carousel.onChangeCB(newIndex, this._oldIndex);\n this._oldIndex = newIndex;\n const activeElementIndex = findIndex(this._items, this._$el.find('>.carousel-inner >.carousel-item.active')[0]);\n this._$el.find('>.left.carousel-control').attr('aria-label', (activeElementIndex === 0 ? this._items.length : activeElementIndex) + ' of ' + this._items.length);\n this._$el.find('>.right.carousel-control').attr('aria-label', (activeElementIndex === this._items.length - 1 ? 1 : activeElementIndex + 2) + ' of ' + this._items.length);\n }\n\n public start() {\n this.ngZone.runOutsideAngular(() => {\n this._intervalId = setInterval(() => {\n if (!this._swiping && this._pauseCaroselTill < Date.now()) {\n this.goToLower(600);\n }\n }, this.interval);\n });\n }\n\n public pause() {\n this._animationPaused = true;\n if (!this._intervalId) {\n this.start();\n }\n }\n\n public resume() {\n this._animationPaused = false;\n }\n\n public stop() {\n if (this._intervalId) {\n clearInterval(this._intervalId);\n this._intervalId = 0;\n }\n }\n\n public threshold() {\n return 5;\n }\n\n // Returns multiple elements as single jQuery element.\n private getTarget() {\n const noOfItems = this._items.length,\n activeItem = this._items.eq((noOfItems + this._activeIndex) % noOfItems),\n leftItem = this._items.eq((noOfItems + this._activeIndex - 1) % noOfItems),\n rightItem = this._items.eq((noOfItems + this._activeIndex + 1) % noOfItems);\n return activeItem.add(rightItem).add(leftItem);\n }\n\n private resetTransition() {\n this.getTarget().css({\n '-webkit-transition': 'none',\n '-webkit-transform': '',\n 'transition': 'none',\n 'transform': ''\n });\n }\n\n // Sets active item, leftItem, rightItem by removing / adding respective classes.\n private setActiveItem() {\n const items = this._items,\n left = this._activeIndex - 1,\n right = this._activeIndex + 1;\n // if there is only one carousel-item then there won't be any right or left-item.\n if (items.length === 1) {\n items.eq(0).removeClass('left-item right-item');\n return;\n }\n\n this._indicators.find('>.active').removeClass('active');\n this._indicators.find('> li').eq((items.length + this._activeIndex) % items.length).addClass('active');\n\n\n items.filter('.active').removeClass('active');\n items.addClass('left-item');\n items.eq((items.length + left) % items.length).addClass('left-item').removeClass('right-item');\n items.eq((items.length + this._activeIndex) % items.length).removeClass('left-item right-item').addClass('active');\n items.eq((items.length + right) % items.length).addClass('right-item').removeClass('left-item');\n }\n}\n","import {\n AfterContentInit,\n ContentChildren,\n Directive, Inject,\n Injector,\n NgZone,\n OnDestroy,\n OnInit,\n Optional,\n QueryList\n} from '@angular/core';\n\nimport { CarouselComponent, SlideComponent } from 'ngx-bootstrap/carousel';\n\nimport { createArrayFrom, IWidgetConfig, StylableComponent, styler } from '@wm/components/base';\n\nimport { registerProps } from './carousel.props';\nimport { CarouselAnimator } from './carousel.animator';\n\nconst WIDGET_CONFIG: IWidgetConfig = {\n widgetType: 'wm-carousel'\n};\n\nconst navigationClassMap = {\n indicators: 'hide-navs',\n navs: 'hide-indicators',\n none: 'hide-both'\n};\n\n@Directive({\n selector: '[wmCarousel]',\n exportAs: 'wmCarousel'\n})\nexport class CarouselDirective extends StylableComponent implements AfterContentInit, OnDestroy, OnInit {\n static initializeProps = registerProps();\n\n private animator;\n private navigationClass;\n private fieldDefs;\n private interval;\n\n public animationinterval;\n public animation;\n public controls;\n public currentslide;\n public previousslide;\n\n @ContentChildren(SlideComponent) slides: QueryList<SlideComponent>;\n\n constructor(public component: CarouselComponent, inj: Injector, private ngZone: NgZone, @Inject('EXPLICIT_CONTEXT') @Optional() explicitContext: any) {\n super(inj, WIDGET_CONFIG, explicitContext);\n styler(this.nativeElement, this);\n }\n\n private onDataChange(newVal) {\n this.fieldDefs = createArrayFrom(newVal);\n }\n\n private stopAnimation() {\n if (this.animator) {\n this.animator.stop();\n }\n }\n\n private startAnimation() {\n if (this.animator) {\n this.animator.interval = this.animationinterval * 1000;\n this.animator.start();\n }\n }\n\n private onSlidesRender(slides) {\n // if dynamic carousel, initialize the 'currentslide' property as the first object\n if (this.fieldDefs && this.fieldDefs.length) {\n this.currentslide = this.fieldDefs[0];\n }\n if (slides.length) {\n setTimeout(() => {\n this.animator = new CarouselAnimator(this, this.interval, this.ngZone);\n }, 50);\n }\n }\n\n private setupHandlers() {\n this.slides.changes.subscribe( slides => {\n this.triggerAnimation(slides);\n });\n this.slides.setDirty();\n }\n\n public onChangeCB(newIndex, oldIndex) {\n // assign current and previous slides on widget. In case of static carousel, fieldDefs will be undefined, hence the check\n this.currentslide = this.fieldDefs && this.fieldDefs[newIndex];\n this.previousslide = this.fieldDefs && this.fieldDefs[oldIndex];\n this.invokeEventCallback('change', {newIndex: newIndex, oldIndex: oldIndex});\n }\n\n ngAfterContentInit() {\n this.triggerAnimation(this.slides);\n this.setupHandlers();\n }\n\n ngOnDestroy() {\n this.stopAnimation();\n super.ngOnDestroy();\n }\n\n // Calculating animation interval if animation is enabled\n setanimationinterval() {\n this.interval = this.animation === 'auto' ? this.animationinterval * 1000 : 0 ;\n }\n\n triggerAnimation(slides) {\n this.stopAnimation();\n this.onSlidesRender(slides);\n }\n\n ngOnInit() {\n super.ngOnInit();\n this.setanimationinterval();\n // TODO transition is pending\n\n }\n\n // on property change handler\n onPropertyChange(key: string, nv: any, ov?: any) {\n if (key === 'dataset') {\n this.onDataChange(nv);\n } else if (key === 'controls') {\n // For showing controls\n this.navigationClass = navigationClassMap[this.controls];\n } else if (key === 'animation' || key === 'animationinterval') {\n if (key === 'animationinterval') {\n this.stopAnimation();\n this.setanimationinterval();\n }\n this.animation === 'none' ? this.stopAnimation() : this.startAnimation();\n } else {\n super.onPropertyChange(key, nv, ov);\n }\n }\n}\n","import { PROP_BOOLEAN, register } from '@wm/components/base';\n\nexport const registerProps = () => {\n register(\n 'wm-carousel-template',\n new Map(\n [\n ['show', PROP_BOOLEAN]\n ]\n )\n );\n};\n","import {Directive, Inject, Injector, Optional} from '@angular/core';\n\nimport {IWidgetConfig, StylableComponent, styler} from '@wm/components/base';\nimport {registerProps} from './carousel-template.props';\n\nconst DEFAULT_CLS = 'app-carousel-item';\nconst WIDGET_CONFIG: IWidgetConfig = {\n widgetType: 'wm-carousel-template',\n hostClass: DEFAULT_CLS\n};\n\n@Directive({\n selector: '[wmCarouselTemplate]',\n exportAs: 'carouselTemplateRef',\n})\nexport class CarouselTemplateDirective extends StylableComponent {\n static initializeProps = registerProps();\n\n constructor(inj: Injector, @Inject('EXPLICIT_CONTEXT') @Optional() explicitContext: any) {\n super(inj, WIDGET_CONFIG, explicitContext);\n styler(this.nativeElement, this);\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { CarouselModule as ngxCarouselModule } from 'ngx-bootstrap/carousel';\n\nimport { WmComponentsModule } from '@wm/components/base';\n\nimport { CarouselDirective } from './carousel.directive';\nimport { CarouselTemplateDirective } from './carousel-template/carousel-template.directive';\n\nconst components = [\n CarouselDirective,\n CarouselTemplateDirective\n];\n\n@NgModule({\n imports: [\n CommonModule,\n ngxCarouselModule,\n WmComponentsModule\n ],\n declarations: [...components],\n exports: [...components]\n})\nexport class CarouselModule {\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["registerProps","WIDGET_CONFIG","ngxCarouselModule"],"mappings":";;;;;;;;;AAEO,MAAMA,eAAa,GAAG,MAAK;AAC9B,IAAA,QAAQ,CACJ,aAAa,EACb,IAAI,GAAG,CACH;QACI,CAAC,W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src/carousel.props.ts","../../../../../projects/components/widgets/advanced/carousel/src/carousel.animator.ts","../../../../../projects/components/widgets/advanced/carousel/src/carousel.directive.ts","../../../../../projects/components/widgets/advanced/carousel/src/carousel-template/carousel-template.props.ts","../../../../../projects/components/widgets/advanced/carousel/src/carousel-template/carousel-template.directive.ts","../../../../../projects/components/widgets/advanced/carousel/src/carousel.module.ts","../../../../../projects/components/widgets/advanced/carousel/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-carousel',\n new Map(\n [\n ['animation', {value: 'auto', ... PROP_STRING}],\n ['animationinterval', {value: 3, ... PROP_NUMBER}],\n ['controls', {value: 'both', ... PROP_STRING}],\n ['dataset', PROP_ANY],\n ['name', PROP_STRING],\n ['nodatamessage', {value: 'No Data Found', ... PROP_STRING}],\n ['show', PROP_BOOLEAN]\n ]\n )\n );\n};\n","import {NgZone} from '@angular/core';\n\nimport {SwipeAnimation} from '@swipey';\n\nimport {CarouselDirective} from './carousel.directive';\nimport {findIndex} from \"lodash-es\";\n\ndeclare const $;\n\nexport class CarouselAnimator extends SwipeAnimation {\n\n private _$el;\n private _activeIndex = 0;\n private _animationPaused = false;\n private _indicators;\n private _items;\n private _intervalId;\n private _pauseCaroselTill = 0;\n private _swiping;\n private _width;\n private _oldIndex = 0;\n\n public constructor(private carousel: CarouselDirective, private interval: number, private ngZone: NgZone) {\n super();\n const self = this;\n this._$el = $(this.carousel.getNativeElement()).find('>.carousel');\n this.init(this._$el.find('>.carousel-inner'));\n this._items = this._$el.find('>.carousel-inner >.carousel-item');\n this._indicators = this._$el.find('>.carousel-indicators');\n this._indicators.find('li').each(function (i) {\n $(this).on('click', () => {\n self._activeIndex = i;\n self.setActiveItem();\n // WMS-17583: Triggering onChange event\n self.carousel.onChangeCB(self._activeIndex, self._oldIndex);\n self._oldIndex = self._activeIndex;\n });\n });\n this._$el.find('>.left.carousel-control').on('click', () => {\n // WMS-22278, If a swipe is already in process do not process other events\n if (this._swiping) {\n return;\n }\n this._pauseCaroselTill = Date.now() + this.interval;\n this.goToUpper();\n });\n this._$el.find('>.right.carousel-control').on('click', () => {\n // WMS-22278, If a swipe is already in process do not process other events\n if (this._swiping) {\n return;\n }\n this._pauseCaroselTill = Date.now() + this.interval;\n this.goToLower();\n });\n this.setActiveItem();\n if (this.interval) {\n this.start();\n }\n $('carousel slide').removeAttr('aria-hidden');\n }\n\n public bounds() {\n this._width = this._items.width();\n this._swiping = true;\n return {\n 'lower': -this._width,\n 'center': 0,\n 'upper': this._width\n };\n }\n\n public context() {\n return {\n 'w': this._width\n };\n }\n\n\n public animation() {\n return [{\n 'target': this.getTarget.bind(this),\n 'css': {\n 'transform': 'translate3d(${{ (($D + $d) / w) * 100 + \\'%\\'}}, 0, 0)',\n '-webkit-transform': 'translate3d(${{ (($D + $d) / w) * 100 + \\'%\\'}}, 0, 0)'\n }\n }];\n }\n\n public onUpper() {\n this.resetTransition();\n this._activeIndex -= 1;\n this.setActiveItem();\n this._swiping = false;\n }\n\n public onLower() {\n this.resetTransition();\n this._activeIndex += 1;\n this.setActiveItem();\n this._swiping = false;\n }\n\n public onAnimation() {\n const newIndex = (this._items.length + this._activeIndex) % this._items.length;\n this.carousel.onChangeCB(newIndex, this._oldIndex);\n this._oldIndex = newIndex;\n const activeElementIndex = findIndex(this._items, this._$el.find('>.carousel-inner >.carousel-item.active')[0]);\n this._$el.find('>.left.carousel-control').attr('aria-label', (activeElementIndex === 0 ? this._items.length : activeElementIndex) + ' of ' + this._items.length);\n this._$el.find('>.right.carousel-control').attr('aria-label', (activeElementIndex === this._items.length - 1 ? 1 : activeElementIndex + 2) + ' of ' + this._items.length);\n }\n\n public start() {\n this.ngZone.runOutsideAngular(() => {\n this._intervalId = setInterval(() => {\n if (!this._swiping && this._pauseCaroselTill < Date.now()) {\n this.goToLower(600);\n }\n }, this.interval);\n });\n }\n\n public pause() {\n this._animationPaused = true;\n if (!this._intervalId) {\n this.start();\n }\n }\n\n public resume() {\n this._animationPaused = false;\n }\n\n public stop() {\n if (this._intervalId) {\n clearInterval(this._intervalId);\n this._intervalId = 0;\n }\n }\n\n public threshold() {\n return 5;\n }\n\n // Returns multiple elements as single jQuery element.\n private getTarget() {\n const noOfItems = this._items.length,\n activeItem = this._items.eq((noOfItems + this._activeIndex) % noOfItems),\n leftItem = this._items.eq((noOfItems + this._activeIndex - 1) % noOfItems),\n rightItem = this._items.eq((noOfItems + this._activeIndex + 1) % noOfItems);\n return activeItem.add(rightItem).add(leftItem);\n }\n\n private resetTransition() {\n this.getTarget().css({\n '-webkit-transition': 'none',\n '-webkit-transform': '',\n 'transition': 'none',\n 'transform': ''\n });\n }\n\n // Sets active item, leftItem, rightItem by removing / adding respective classes.\n private setActiveItem() {\n const items = this._items,\n left = this._activeIndex - 1,\n right = this._activeIndex + 1;\n // if there is only one carousel-item then there won't be any right or left-item.\n if (items.length === 1) {\n items.eq(0).removeClass('left-item right-item');\n return;\n }\n\n this._indicators.find('>.active').removeClass('active');\n this._indicators.find('> li').eq((items.length + this._activeIndex) % items.length).addClass('active');\n\n\n items.filter('.active').removeClass('active');\n items.addClass('left-item');\n items.eq((items.length + left) % items.length).addClass('left-item').removeClass('right-item');\n items.eq((items.length + this._activeIndex) % items.length).removeClass('left-item right-item').addClass('active');\n items.eq((items.length + right) % items.length).addClass('right-item').removeClass('left-item');\n }\n}\n","import {\n AfterContentInit,\n ContentChildren,\n Directive, Inject,\n Injector,\n NgZone,\n OnDestroy,\n OnInit,\n Optional,\n QueryList\n} from '@angular/core';\n\nimport { CarouselComponent, SlideComponent } from 'ngx-bootstrap/carousel';\n\nimport { createArrayFrom, IWidgetConfig, StylableComponent, styler } from '@wm/components/base';\n\nimport { registerProps } from './carousel.props';\nimport { CarouselAnimator } from './carousel.animator';\n\nconst WIDGET_CONFIG: IWidgetConfig = {\n widgetType: 'wm-carousel'\n};\n\nconst navigationClassMap = {\n indicators: 'hide-navs',\n navs: 'hide-indicators',\n none: 'hide-both'\n};\n\n@Directive({\n selector: '[wmCarousel]',\n exportAs: 'wmCarousel'\n})\nexport class CarouselDirective extends StylableComponent implements AfterContentInit, OnDestroy, OnInit {\n static initializeProps = registerProps();\n\n private animator;\n private navigationClass;\n private fieldDefs;\n private interval;\n\n public animationinterval;\n public animation;\n public controls;\n public currentslide;\n public previousslide;\n\n @ContentChildren(SlideComponent) slides: QueryList<SlideComponent>;\n\n constructor(public component: CarouselComponent, inj: Injector, private ngZone: NgZone, @Inject('EXPLICIT_CONTEXT') @Optional() explicitContext: any) {\n super(inj, WIDGET_CONFIG, explicitContext);\n styler(this.nativeElement, this);\n }\n\n private onDataChange(newVal) {\n this.fieldDefs = createArrayFrom(newVal);\n }\n\n private stopAnimation() {\n if (this.animator) {\n this.animator.stop();\n }\n }\n\n private startAnimation() {\n if (this.animator) {\n this.animator.interval = this.animationinterval * 1000;\n this.animator.start();\n }\n }\n\n private onSlidesRender(slides) {\n // if dynamic carousel, initialize the 'currentslide' property as the first object\n if (this.fieldDefs && this.fieldDefs.length) {\n this.currentslide = this.fieldDefs[0];\n }\n if (slides.length) {\n setTimeout(() => {\n this.animator = new CarouselAnimator(this, this.interval, this.ngZone);\n }, 50);\n }\n }\n\n private setupHandlers() {\n this.slides.changes.subscribe( slides => {\n this.triggerAnimation(slides);\n });\n this.slides.setDirty();\n }\n\n public onChangeCB(newIndex, oldIndex) {\n // assign current and previous slides on widget. In case of static carousel, fieldDefs will be undefined, hence the check\n this.currentslide = this.fieldDefs && this.fieldDefs[newIndex];\n this.previousslide = this.fieldDefs && this.fieldDefs[oldIndex];\n this.invokeEventCallback('change', {newIndex: newIndex, oldIndex: oldIndex});\n }\n\n ngAfterContentInit() {\n this.triggerAnimation(this.slides);\n this.setupHandlers();\n }\n\n ngOnDestroy() {\n this.stopAnimation();\n super.ngOnDestroy();\n }\n\n // Calculating animation interval if animation is enabled\n setanimationinterval() {\n this.interval = this.animation === 'auto' ? this.animationinterval * 1000 : 0 ;\n }\n\n triggerAnimation(slides) {\n this.stopAnimation();\n this.onSlidesRender(slides);\n }\n\n ngOnInit() {\n super.ngOnInit();\n this.setanimationinterval();\n // TODO transition is pending\n\n }\n\n // on property change handler\n onPropertyChange(key: string, nv: any, ov?: any) {\n if (key === 'dataset') {\n this.onDataChange(nv);\n } else if (key === 'controls') {\n // For showing controls\n this.navigationClass = navigationClassMap[this.controls];\n } else if (key === 'animation' || key === 'animationinterval') {\n if (key === 'animationinterval') {\n this.stopAnimation();\n this.setanimationinterval();\n }\n this.animation === 'none' ? this.stopAnimation() : this.startAnimation();\n } else {\n super.onPropertyChange(key, nv, ov);\n }\n }\n}\n","import { PROP_BOOLEAN, register } from '@wm/components/base';\n\nexport const registerProps = () => {\n register(\n 'wm-carousel-template',\n new Map(\n [\n ['show', PROP_BOOLEAN]\n ]\n )\n );\n};\n","import {Directive, Inject, Injector, Optional} from '@angular/core';\n\nimport {IWidgetConfig, StylableComponent, styler} from '@wm/components/base';\nimport {registerProps} from './carousel-template.props';\n\nconst DEFAULT_CLS = 'app-carousel-item';\nconst WIDGET_CONFIG: IWidgetConfig = {\n widgetType: 'wm-carousel-template',\n hostClass: DEFAULT_CLS\n};\n\n@Directive({\n selector: '[wmCarouselTemplate]',\n exportAs: 'carouselTemplateRef',\n})\nexport class CarouselTemplateDirective extends StylableComponent {\n static initializeProps = registerProps();\n\n constructor(inj: Injector, @Inject('EXPLICIT_CONTEXT') @Optional() explicitContext: any) {\n super(inj, WIDGET_CONFIG, explicitContext);\n styler(this.nativeElement, this);\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { CarouselModule as ngxCarouselModule } from 'ngx-bootstrap/carousel';\n\nimport { WmComponentsModule } from '@wm/components/base';\n\nimport { CarouselDirective } from './carousel.directive';\nimport { CarouselTemplateDirective } from './carousel-template/carousel-template.directive';\n\nconst components = [\n CarouselDirective,\n CarouselTemplateDirective\n];\n\n@NgModule({\n imports: [\n CommonModule,\n ngxCarouselModule,\n WmComponentsModule\n ],\n declarations: [...components],\n exports: [...components]\n})\nexport class CarouselModule {\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["registerProps","WIDGET_CONFIG","ngxCarouselModule"],"mappings":";;;;;;;;;AAEO,MAAMA,eAAa,GAAG,MAAK;AAC9B,IAAA,QAAQ,CACJ,aAAa,EACb,IAAI,GAAG,CACH;QACI,CAAC,WAAW,EAAE,EAAC,KAAK,EAAE,MAAM,EAAE,GAAI,WAAW,EAAC,CAAC;QAC/C,CAAC,mBAAmB,EAAE,EAAC,KAAK,EAAE,CAAC,EAAE,GAAK,WAAW,EAAC,CAAC;QACnD,CAAC,UAAU,EAAE,EAAC,KAAK,EAAE,MAAM,EAAE,GAAI,WAAW,EAAC,CAAC;QAC9C,CAAC,SAAS,EAAE,QAAQ,CAAC;QACrB,CAAC,MAAM,EAAE,WAAW,CAAC;QACrB,CAAC,eAAe,EAAE,EAAC,KAAK,EAAE,eAAe,EAAE,GAAI,WAAW,EAAC,CAAC;QAC5D,CAAC,MAAM,EAAE,YAAY,CAAC;AACzB,KAAA,CACJ,CACJ,CAAC;AACN,CAAC;;ACRK,MAAO,gBAAiB,SAAQ,cAAc,CAAA;AAahD,IAAA,WAAA,CAA2B,QAA2B,EAAU,QAAgB,EAAU,MAAc,EAAA;AACpG,QAAA,KAAK,EAAE,CAAC;QADe,IAAQ,CAAA,QAAA,GAAR,QAAQ,CAAmB;QAAU,IAAQ,CAAA,QAAA,GAAR,QAAQ,CAAQ;QAAU,IAAM,CAAA,MAAA,GAAN,MAAM,CAAQ;QAVhG,IAAY,CAAA,YAAA,GAAG,CAAC,CAAC;QACjB,IAAgB,CAAA,gBAAA,GAAG,KAAK,CAAC;QAIzB,IAAiB,CAAA,iBAAA,GAAG,CAAC,CAAC;QAGtB,IAAS,CAAA,SAAA,GAAG,CAAC,CAAC;QAIlB,MAAM,IAAI,GAAG,IAAI,CAAC;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,CAAA,kBAAA,CAAA,cAAc,mBAbvB,iBAAiB;AACjB,QAAA,yBAAyB,aAKrB,YAAY;QACZA,gBAAiB;AACjB,QAAA,kBAAkB,aARtB,iBAAiB;QACjB,yBAAyB,CAAA,EAAA,CAAA,CAAA,EAAA,GAAA;;ACZ7B;;AAEG;;;;"}
|
@@ -2806,7 +2806,7 @@
|
|
2806
2806
|
class StateClassPipe {
|
2807
2807
|
transform(state) {
|
2808
2808
|
const stateClassMap = {
|
2809
|
-
'success': 'wi wi-
|
2809
|
+
'success': 'wi wi-check-circle text-success',
|
2810
2810
|
'error': 'wi wi-error text-danger'
|
2811
2811
|
};
|
2812
2812
|
return stateClassMap[state.toLowerCase()];
|
@@ -4313,7 +4313,13 @@
|
|
4313
4313
|
lodashEs.forEach(headerConfig, cols => {
|
4314
4314
|
if (lodashEs.get(cols, 'isGroup')) {
|
4315
4315
|
if (cols.field === field) {
|
4316
|
-
cols.columns
|
4316
|
+
const id = cols.columns?.findIndex((col) => col?.field === config.field);
|
4317
|
+
if (id == -1) {
|
4318
|
+
cols.columns[index] = config;
|
4319
|
+
}
|
4320
|
+
else {
|
4321
|
+
cols.columns[id] = config;
|
4322
|
+
}
|
4317
4323
|
}
|
4318
4324
|
else {
|
4319
4325
|
setHeaderConfig(cols.columns, config, field, index);
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { Inject, Pipe } from '@angular/core';
|
2
2
|
import { DatePipe, DecimalPipe } from '@angular/common';
|
3
|
-
import {
|
3
|
+
import { AbstractI18nService, CURRENCY_INFO, CustomPipeManager, hasOffsetStr, isDefined } from '@wm/core';
|
4
4
|
import { WmPipe } from "./wm-pipe";
|
5
5
|
import { filter, includes, isDate, isFunction, isObject, isUndefined, startsWith } from "lodash-es";
|
6
6
|
import * as i0 from "@angular/core";
|
@@ -340,7 +340,7 @@ export class FileIconClassPipe {
|
|
340
340
|
export class StateClassPipe {
|
341
341
|
transform(state) {
|
342
342
|
const stateClassMap = {
|
343
|
-
'success': 'wi wi-
|
343
|
+
'success': 'wi wi-check-circle text-success',
|
344
344
|
'error': 'wi wi-error text-danger'
|
345
345
|
};
|
346
346
|
return stateClassMap[state.toLowerCase()];
|
@@ -437,4 +437,4 @@ export class FileExtensionFromMimePipe {
|
|
437
437
|
name: 'fileExtensionFromMime'
|
438
438
|
}]
|
439
439
|
}], null, null); })();
|
440
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY3VzdG9tLXBpcGVzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29tcG9uZW50cy9iYXNlL3NyYy9waXBlcy9jdXN0b20tcGlwZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLE1BQU0sRUFBRSxJQUFJLEVBQWlCLE1BQU0sZUFBZSxDQUFDO0FBQzVELE9BQU8sRUFBRSxRQUFRLEVBQUUsV0FBVyxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDeEQsT0FBTyxFQUFFLGFBQWEsRUFBRSxTQUFTLEVBQU8saUJBQWlCLEVBQUUsbUJBQW1CLEVBQUUsWUFBWSxFQUFFLE1BQU0sVUFBVSxDQUFDO0FBQy9HLE9BQU8sRUFBRSxNQUFNLEVBQUUsTUFBTSxXQUFXLENBQUM7QUFDbkMsT0FBTyxFQUFDLE1BQU0sRUFBRSxRQUFRLEVBQUUsTUFBTSxFQUFFLFVBQVUsRUFBRSxRQUFRLEVBQUUsV0FBVyxFQUFFLFVBQVUsRUFBQyxNQUFNLFdBQVcsQ0FBQzs7OztBQUlsRyxNQUFNLGFBQWEsR0FBRyxJQUFJLENBQUMsRUFBRTtJQUN6QixJQUFJLEtBQUssQ0FBQztJQUNWLG9HQUFvRztJQUNwRyxJQUFJLENBQUMsTUFBTSxDQUFDLElBQUksQ0FBQyxJQUFJLENBQUMsS0FBSyxDQUFDLElBQUksQ0FBQyxFQ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GNsYXNzIEZpbGVTaXplUGlwZSBpbXBsZW1lbnRzIFBpcGVUcmFuc2Zvcm0ge1xuICAgIHRyYW5zZm9ybShieXRlczogbnVtYmVyLCBwcmVjaXNpb246IG51bWJlcikge1xuICAgICAgICBjb25zdCB1bml0cyA9IFtcbiAgICAgICAgICAgICdieXRlcycsXG4gICAgICAgICAgICAnS0InLFxuICAgICAgICAgICAgJ01CJyxcbiAgICAgICAgICAgICdHQicsXG4gICAgICAgICAgICAnVEInLFxuICAgICAgICAgICAgJ1BCJ1xuICAgICAgICBdO1xuXG4gICAgICAgIC8qVG9kb1tzaHViaGFtXVxuICAgICAgICBpZiAoaXNOYU4ocGFyc2VGbG9hdChieXRlcykpIHx8ICFpc0Zpbml0ZShieXRlcykpIHtcbiAgICAgICAgICAgIHJldHVybiBpc01vYmlsZSgpID8gJycgOiAnPyc7XG4gICAgICAgIH0qL1xuICAgICAgICBsZXQgdW5pdCA9IDA7XG4gICAgICAgIHdoaWxlIChieXRlcyA+PSAxMDI0KSB7XG4gICAgICAgICAgICBieXRlcyAvPSAxMDI0O1xuICAgICAgICAgICAgdW5pdCsrO1xuICAgICAgICB9XG4gICAgICAgIHJldHVybiBieXRlcy50b0ZpeGVkKCtwcmVjaXNpb24pICsgJyAnICsgdW5pdHNbdW5pdF07XG4gICAgfVxufVxuXG5AUGlwZSh7XG4gICAgbmFtZTogJ2ZpbGVJY29uQ2xhc3MnXG59KVxuZXhwb3J0IGNsYXNzIEZpbGVJY29uQ2xhc3NQaXBlIGltcGxlbWVudHMgUGlwZVRyYW5zZm9ybSB7XG4gICAgdHJhbnNmb3JtKGZpbGVFeHRlbnNpb246IGFueSkge1xuICAgICAgICBjb25zdCBmaWxlQ2xhc3NNYXBwaW5nID0ge1xuICAgICAgICAgICAgJ3ppcCcgICAgICAgOiAgICdmYS1maWxlLXppcC1vJyxcbiAgICAgICAgICAgICdwZGYnICAgICAgIDogICAnZmEtZmlsZS1wZGYtbycsXG4gICAgICAgICAgICAncmFyJyAgICAgICA6ICAgJ2ZhLWZpbGUtYXJjaGl2ZS1vJyxcbiAgICAgICAgICAgICd0eHQnICAgICAgIDogICAnZmEtZmlsZS10ZXh0LW8nLFxuICAgICAgICAgICAgJ3BwdCcgICAgICAgOiAgICdmYS1maWxlLXBvd2VycG9pbnQtbycsXG4gICAgICAgICAgICAncG90JyAgICAgICA6ICAgJ2ZhLWZpbGUtcG93ZXJwb2ludC1vJyxcbiAgICAgICAgICAgICdwcHMnICAgICAgIDogICAnZmEtZmlsZS1wb3dlcnBvaW50LW8nLFxuICAgICAgICAgICAgJ3BwdHgnICAgICAgOiAgICdmYS1maWxlLXBvd2VycG9pbnQtbycsXG4gICAgICAgICAgICAncG90eCcgICAgICA6ICAgJ2ZhLWZpbGUtcG93ZXJwb2ludC1vJyxcbiAgICAgICAgICAgICdwcHN4JyAgICAgIDogICAnZmEtZmlsZS1wb3dlcnBvaW50LW8nLFxuICAgICAgICAgICAgJ21wZycgICAgICAgOiAgICdmYS1maWxlLW1vdmllLW8nLFxuICAgICAgICAgICAgJ21wNCcgICAgICAgOiAgICdmYS1maWxlLW1vdmllLW8nLFxuICAgICAgICAgICAgJ21vdicgICAgICAgOiAgICdmYS1maWxlLW1vdmllLW8nLFxuICAgICAgICAgICAgJ2F2aScgICAgICAgOiAgICdmYS1maWxlLW1vdmllLW8nLFxuICAgICAgICAgICAgJ21wMycgICAgICAgOiAgICdmYS1maWxlLWF1ZGlvLW8nLFxuICAgICAgICAgICAgJ2RvY3gnICAgICAgOiAgICdmYS1maWxlLXdvcmQtbycsXG4gICAgICAgICAgICAnanMnICAgICAgICA6ICAgJ2ZhLWZpbGUtY29kZS1vJyxcbiAgICAgICAgICAgICdtZCcgICAgICAgIDogICAnZmEtZmlsZS1jb2RlLW8nLFxuICAgICAgICAgICAgJ2h0bWwnICAgICAgOiAgICdmYS1maWxlLWNvZGUtbycsXG4gICAgICAgICAgICAnY3NzJyAgICAgICA6ICAgJ2ZhLWZpbGUtY29kZS1vJ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2VjbWFzY3JpcHQnOiAnLmVzJyxcbiAgICAgICAgICAgICdpbWFnZS9naWYnOiAnLmdpZicsXG4gICAgICAgICAgICAndGV4dC9odG1sJzogJy5odG1sJyxcbiAgICAgICAgICAgICdpbWFnZS94LWljb24nOiAnLmljbycsXG4gICAgICAgICAgICAndGV4dC9jYWxlbmRhcic6ICcuaWNzJyxcbiAgICAgICAgICAgICdhcHBsaWNhdGlvbi9qYXZhLWFyY2hpdmUnOiAnLmphcicsXG4gICAgICAgICAgICAnaW1hZ2UvanBlZyc6IFsnLmpwZWcnLCAnLmpwZyddLFxuICAgICAgICAgICAgJ2FwcGxpY2F0aW9uL2phdmFzY3JpcHQnOiAnLmpzJyxcbiAgICAgICAgICAgICdhcHBsaWNhdGlvbi9qc29uJzogJy5qc29uJyxcbiAgICAgICAgICAgICdhdWRpby9taWRpJzogJy5taWQnLFxuICAgICAgICAgICAgJ2F1ZGlvL3gtbWlkaSc6ICcubWlkaScsXG4gICAgICAgICAgICAndmlkZW8vbXBlZyc6ICcubXBlZycsXG4gICAgICAgICAgICAnYXBwbGljYXRpb24vdm5kLmFwcGxlLmluc3RhbGxlcit4bWwnOiAnbXBrZycsXG4gICAgICAgICAgICAnYXBwbGljYXRpb24vdm5kLm9hc2lzLm9wZW5kb2N1bWVudC5wcmVzZW50YXRpb24nOiAnLm9kcCcsXG4gICAgICAgICAgICAnYXBwbGljYXRpb24vdm5kLm9hc2lzLm9wZW5kb2N1bWVudC5zcHJlYWRzaGVldCc6ICcub2RzJyxcbiAgICAgICAgICAgICdhcHBsaWNhdGlvbi92bmQub2FzaXMub3BlbmRvY3VtZW50LnRleHQnOiAnLm9kdCcsXG4gICAgICAgICAgICAnYXVkaW8vb2dnJzogJy5vZ2EnLFxuICAgICAgICAgICAgJ3ZpZGVvL29nZyc6ICcub2d2JyxcbiAgICAgICAgICAgICdhcHBsaWNhdGlvbi9vZ2cnOiAnLm9neCcsXG4gICAgICAgICAgICAnZm9udC9vdGYnOiAnLm90ZicsXG4gICAgICAgICAgICAnaW1hZ2UvcG5nJzogJy5wbmcnLFxuICAgICAgICAgICAgJ2FwcGxpY2F0aW9uL3BkZic6ICcucGRmJyxcbiAgICAgICAgICAgICdhcHBsaWNhdGlvbi92bmQubXMtcG93ZXJwb2ludCc6ICcucHB0JyxcbiAgICAgICAgICAgICdhcHBsaWNhdGlvbi92bmQub3BlbnhtbGZvcm1hdHMtb2ZmaWNlZG9jdW1lbnQucHJlc2VudGF0aW9ubWwucHJlc2VudGF0aW9uJzogJy5wcHR4JyxcbiAgICAgICAgICAgICdhcHBsaWNhdGlvbi94LXJhci1jb21wcmVzc2VkJzogJy5yYXInLFxuICAgICAgICAgICAgJ2FwcGxpY2F0aW9uL3J0Zic6ICcucnRmJyxcbiAgICAgICAgICAgICdhcHBsaWNhdGlvbi94LXNoJzogJy5zaCcsXG4gICAgICAgICAgICAnaW1hZ2Uvc3ZnK3htbCc6ICcuc3ZnJyxcbiAgICAgICAgICAgICdhcHBsaWNhdGlvbi94LXNob2Nrd2F2ZS1mbGFzaCc6ICcuc3dmJyxcbiAgICAgICAgICAgICdhcHBsaWNhdGlvbi94LXRhcic6ICcudGFyJyxcbiAgICAgICAgICAgICdpbWFnZS90aWZmJzogJy50aWZmJyxcbiAgICAgICAgICAgICdhcHBsaWNhdGlvbi90eXBlc2NyaXB0JzogJy50cycsXG4gICAgICAgICAgICAnZm9udC90dGYnOiAnLnR0ZicsXG4gICAgICAgICAgICAndGV4dC9wbGFpbic6ICcudHh0JyxcbiAgICAgICAgICAgICdhcHBsaWNhdGlvbi92bmQudmlzaW8nOiAnLnZzZCcsXG4gICAgICAgICAgICAnYXVkaW8vd2F2JzogJy53YXYnLFxuICAgICAgICAgICAgJ2F1ZGlvL3dlYm0nOiAnLndlYmEnLFxuICAgICAgICAgICAgJ3ZpZGVvL3dlYm0nOiAnLndlYm0nLFxuICAgICAgICAgICAgJ2ltYWdlL3dlYnAnOiAnLndlYnAnLFxuICAgICAgICAgICAgJ2ZvbnQvd29mZic6ICcud29mZicsXG4gICAgICAgICAgICAnZm9udC93b2ZmMic6ICcud29mZjInLFxuICAgICAgICAgICAgJ2FwcGxpY2F0aW9uL3hodG1sK3htbCc6ICcueGh0bWwnLFxuICAgICAgICAgICAgJ2FwcGxpY2F0aW9uL3ZuZC5tcy1leGNlbCc6ICcueGxzJyxcbiAgICAgICAgICAgICdhcHBsaWNhdGlvbi92bmQub3BlbnhtbGZvcm1hdHMtb2ZmaWNlZG9jdW1lbnQuc3ByZWFkc2hlZXRtbC5zaGVldCc6ICcueGxzeCcsXG4gICAgICAgICAgICAnYXBwbGljYXRpb24veG1sJzogJy54bWwnLFxuICAgICAgICAgICAgJ2FwcGxpY2F0aW9uL3ZuZC5tb3ppbGxhLnh1bCt4bWwnOiAnLnh1bCcsXG4gICAgICAgICAgICAnYXBwbGljYXRpb24vemlwJzogJy56aXAnLFxuICAgICAgICAgICAgJ3ZpZGVvLzNncHAnOiAnLjNncCcsXG4gICAgICAgICAgICAnYXVkaW8vM2dwcCc6ICcuM2dwJyxcbiAgICAgICAgICAgICd2aWRlby8zZ3BwMic6ICcuM2cyJyxcbiAgICAgICAgICAgICdhdWRpby8zZ3BwMic6ICcuM2cyJyxcbiAgICAgICAgICAgICdhcHBsaWNhdGlvbi94LTd6LWNvbXByZXNzZWQnOiAnLjd6J1xuICAgICAgICB9O1xuXG4gICAgICAgIHJldHVybiB0eXBlTWFwcGluZ1ttaW1lVHlwZV07XG4gICAgfVxufVxuXG5cbiJdfQ==
|
440
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY3VzdG9tLXBpcGVzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29tcG9uZW50cy9iYXNlL3NyYy9waXBlcy9jdXN0b20tcGlwZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLE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c3BlY2lhbCBjYXNlLCBJZiB1c2VyIHdhbnRzIHRvIGVudGVyIG51bGwgdmFsdWUsIGVtcHR5IHN0cmluZyB3aWxsIGJlIHBhc3NlZCB0byB0aGUgYmFja2VuZFxuICAgICAgICBpZiAoZGF0YSA9PT0gJ251bGwnIHx8IGRhdGEgPT09ICcnKSB7XG4gICAgICAgICAgICByZXR1cm4gdGhpcy5yZXR1cm5GbignJywgYXJndW1lbnRzKTtcbiAgICAgICAgfVxuICAgICAgICBpZiAoIWlzRGVmaW5lZChkYXRhKSkge1xuICAgICAgICAgICAgcmV0dXJuIHRoaXMucmV0dXJuRm4oJycsYXJndW1lbnRzKTtcbiAgICAgICAgfVxuICAgICAgICB0aW1lc3RhbXAgPSBnZXRFcG9jaFZhbHVlKGRhdGEpO1xuICAgICAgICBpZiAodGltZXN0YW1wKSB7XG4gICAgICAgICAgICBpZiAoZm9ybWF0ID09PSAndGltZXN0YW1wJykge1xuICAgICAgICAgICAgICAgIHJldHVybiB0aGlzLnJldHVybkZuKHRpbWVzdGFtcCwgYXJndW1lbnRzKTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIGlmIChmb3JtYXQgPT09ICdVVEMnKSB7XG4gICAgICAgICAgICAgICAgcmV0dXJuIHRoaXMucmV0dXJuRm4obmV3IERhdGUodGltZXN0YW1wKS50b0lTT1N0cmluZygpLCBhcmd1bWVudHMpO1xuICAgICAgICAgICAgfVxuICAgICAgICAgICAgbGV0IGZvcm1hdHRlZFZhbDtcbiAgICAgICAgICAgIGNvbnN0IHRpbWVab25lID0gdGhpcy5pMThuU2VydmljZSA/IHRoaXMuaTE4blNlcnZpY2UuZ2V0VGltZXpvbmUoY29tcEluc3RhbmNlKSA6IHRpbWV6b25lO1xuICAgICAgICAgICAgaWYgKHRpbWVab25lICYmIChkYXRhID09PSB0aW1lc3RhbXAgfHwgaGFzT2Zmc2V0U3RyKGRhdGEpKSkge1xuICAgICAgICAgICAgICAgIGZvcm1hdHRlZFZhbCA9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JyA6ICc/JztcbiAgICAgICAgfSovXG4gICAgICAgIGxldCB1bml0ID0gMDtcbiAgICAgICAgd2hpbGUgKGJ5dGVzID49IDEwMjQpIHtcbiAgICAgICAgICAgIGJ5dGVzIC89IDEwMjQ7XG4gICAgICAgICAgICB1bml0Kys7XG4gICAgICAgIH1cbiAgICAgICAgcmV0dXJuIGJ5dGVzLnRvRml4ZWQoK3ByZWNpc2lvbikgKyAnICcgKyB1bml0c1t1bml0XTtcbiAgICB9XG59XG5cbkBQaXBlKHtcbiAgICBuYW1lOiAnZmlsZUljb25DbGFzcydcbn0pXG5leHBvcnQgY2xhc3MgRmlsZUljb25DbGFzc1BpcGUgaW1wbGVtZW50cyBQaXBlVHJhbnNmb3JtIHtcbiAgICB0cmFuc2Zvcm0oZmlsZUV4dGVuc2lvbjogYW55KSB7XG4gICAgICAgIGNvbnN0IGZpbGVDbGFzc01hcHBpbmcgPSB7XG4gICAgICAgICAgICAnemlwJyAgICAgICA6ICAgJ2ZhLWZpbGUtemlwLW8nLFxuICAgICAgICAgICAgJ3BkZicgICAgICAgOiAgICdmYS1maWxlLXBkZi1vJyxcbiAgICAgICAgICAgICdyYXInICAgICAgIDogICAnZmEtZmlsZS1hcmNoaXZlLW8nLFxuICAgICAgICAgICAgJ3R4dCcgICAgICAgOiAgICdmYS1maWxlLXRleHQtbycsXG4gICAgICAgICAgICAncHB0JyAgICAgICA6ICAgJ2ZhLWZpbGUtcG93ZXJwb2ludC1vJyxcbiAgICAgICAgICAgICdwb3QnICAgICAgIDogICAnZmEtZmlsZS1wb3dlcnBvaW50LW8nLFxuICAgICAgICAgICAgJ3BwcycgICAgICAgOiAgICdmYS1maWxlLXBvd2VycG9pbnQtbycsXG4gICAgICAgICAgICAncHB0eCcgICAgICA6ICAgJ2ZhLWZpbGUtcG93ZXJwb2ludC1vJyxcbiAgICAgICAgICAgICdwb3R4JyAgICAgIDogICAnZmEtZmlsZS1wb3dlcnBvaW50LW8nLFxuICAgICAgICAgICAgJ3Bwc3gnICAgICAgOiAgICdmYS1maWxlLXBvd2VycG9pbnQtbycsXG4gICAgICAgICAgICAnbXBnJyAgICAgICA6ICAgJ2ZhLWZpbGUtbW92aWUtbycsXG4gICAgICAgICAgICAnbXA0JyAgICAgICA6ICAgJ2ZhLWZpbGUtbW92aWUtbycsXG4gICAgICAgICAgICAnbW92JyAgICAgICA6ICAgJ2ZhLWZpbGUtbW92aWUtbycsXG4gICAgICAgICAgICAnYXZpJyAgICAgICA6ICAgJ2ZhLWZpbGUtbW92aWUtbycsXG4gICAgICAgICAgICAnbXAzJyAgICAgICA6ICAgJ2ZhLWZpbGUtYXVkaW8tbycsXG4gICAgICAgICAgICAnZG9jeCcgICAgICA6ICAgJ2ZhLWZpbGUtd29yZC1vJyxcbiAgICAgICAgICAgICdqcycgICAgICAgIDogICAnZmEtZmlsZS1jb2RlLW8nLFxuICAgICAgICAgICAgJ21kJyAgICAgICAgOiAgICdmYS1maWxlLWNvZGUtbycsXG4gICAgICAgICAgICAnaHRtbCcgICAgICA6ICAgJ2ZhLWZpbGUtY29kZS1vJyxcbiAgICAgICAgICAgICdjc3MnICAgICAgIDogICAnZmEtZmlsZS1jb2RlLW8nLFxuICAgICAgICAgICAgJ3hsc3gnICAgICAgOiAgICdmYS1maWxlLWV4Y2VsLW8nLFxuICAgICAgICAgICAgJ3BuZycgICAgICAgOiAgICdmYS1maWxlLWltYWdlLW8nLFxuICAgICAgICAgICAgJ2pwZycgICAgICAgOiAgICdmYS1maWxlLWltYWdlLW8nLFxuICAgICAgICAgICAgJ2pwZWcnICAgICAgOiAgICdmYS1maWxlLWltYWdlLW8nLFxuICAgICAgICAgICAgJ2ZpbGUnICAgICAgOiAgICdmYS1maWxlLW8nLFxuICAgICAgICAgICAgJ2RlZmF1bHQnICAgOiAgICdmYS1maWxlLW8nXG4gICAgICAgIH07XG5cbiAgICAgICAgcmV0dXJuICdmYSAnICsgKGZpbGVDbGFzc01hcHBpbmdbZmlsZUV4dGVuc2lvbl0gf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Sc6ICcuYmluJyxcbiAgICAgICAgICAgICdpbWFnZS9ibXAnOiAnLmJtcCcsXG4gICAgICAgICAgICAnYXBwbGljYXRpb24veC1iemlwJzogJy5ieicsXG4gICAgICAgICAgICAnYXBwbGljYXRpb24veC1iemlwMic6ICcuYnoyJyxcbiAgICAgICAgICAgICdhcHBsaWNhdGlvbi94LWNzaCc6ICcuY3NoJyxcbiAgICAgICAgICAgICd0ZXh0L2Nzcyc6ICcuY3NzJyxcbiAgICAgICAgICAgICd0ZXh0L2Nzdic6ICcuY3N2JyxcbiAgICAgICAgICAgICdhcHBsaWNhdGlvbi9tc3dvcmQnOiAnLmRvYycsXG4gICAgICAgICAgICAnYXBwbGljYXRpb24vdm5kLm9wZW54bWxmb3JtYXRzLW9mZmljZWRvY3VtZW50LndvcmRwcm9jZXNzaW5nbWwuZG9jdW1lbnQnOiAnLmRvY3gnLFxuICAgICAgICAgICAgJ2FwcGxpY2F0aW9uL3ZuZC5tcy1mb250b2JqZWN0JzogJy5lb3QnLFxuICAgICAgICAgICAgJ2FwcGxpY2F0aW9uL2VwdWIremlwJzogJy5lcHViJyxcbiAgICAgICAgICAgICdhcHBsaWNhdGlvbi9lY21hc2NyaXB0JzogJy5lcycsXG4gICAgICAgICAgICAnaW1hZ2UvZ2lmJzogJy5naWYnLFxuICAgICAgICAgICAgJ3RleHQvaHRtbCc6ICcuaHRtbCcsXG4gICAgICAgICAgICAnaW1hZ2UveC1pY29uJzogJy5pY28nLFxuICAgICAgICAgICAgJ3RleHQvY2FsZW5kYXInOiAnLmljcycsXG4gICAgICAgICAgICAnYXBwbGljYXRpb24vamF2YS1hcmNoaXZlJzogJy5qYXInLFxuICAgICAgICAgICAgJ2ltYWdlL2pwZWcnOiBbJy5qcGVnJywgJy5qcGcnXSxcbiAgICAgICAgICAgICdhcHBsaWNhdGlvbi9qYXZhc2NyaXB0JzogJy5qcycsXG4gICAgICAgICAgICAnYXBwbGljYXRpb24vanNvbic6ICcuanNvbicsXG4gICAgIC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gICAnYXBwbGljYXRpb24veC1zaCc6ICcuc2gnLFxuICAgICAgICAgICAgJ2ltYWdlL3N2Zyt4bWwnOiAnLnN2ZycsXG4gICAgICAgICAgICAnYXBwbGljYXRpb24veC1zaG9ja3dhdmUtZmxhc2gnOiAnLnN3ZicsXG4gICAgICAgICAgICAnYXBwbGljYXRpb24veC10YXInOiAnLnRhcicsXG4gICAgICAgICAgICAnaW1hZ2UvdGlmZic6ICcudGlmZicsXG4gICAgICAgICAgICAnYXBwbGljYXRpb24vdHlwZXNjcmlwdCc6ICcudHMnLFxuICAgICAgICAgICAgJ2ZvbnQvdHRmJzogJy50dGYnLFxuICAgICAgICAgICAgJ3RleHQvcGxhaW4nOiAnLnR4dCcsXG4gICAgICAgICAgICAnYXBwbGljYXRpb24vdm5kLnZpc2lvJzogJy52c2QnLFxuICAgICAgICAgICAgJ2F1ZGlvL3dhdic6ICcud2F2JyxcbiAgICAgICAgICAgICdhdWRpby93ZWJtJzogJy53ZWJhJyxcbiAgICAgICAgICAgICd2aWRlby93ZWJtJzogJy53ZWJtJyxcbiAgICAgICAgICAgICdpbWFnZS93ZWJwJzogJy53ZWJwJyxcbiAgICAgICAgICAgICdmb250L3dvZmYnOiAnLndvZmYnLFxuICAgICAgICAgICAgJ2ZvbnQvd29mZjInOiAnLndvZmYyJyxcbiAgICAgICAgICAgICdhcHBsaWNhdGlvbi94aHRtbCt4bWwnOiAnLnhodG1sJyxcbiAgICAgICAgICAgICdhcHBsaWNhdGlvbi92bmQubXMtZXhjZWwnOiAnLnhscycsXG4gICAgICAgICAgICAnYXBwbGljYXRpb24vdm5kLm9wZW54bWxmb3JtYXRzLW9mZmljZWRvY3VtZW50LnNwcmVhZHNoZWV0bWwuc2hlZXQnOiAnLnhsc3gnLFxuICAgICAgICAgICAgJ2FwcGxpY2F0aW9uL3htbCc6ICcueG1sJyxcbiAgICAgICAgICAgICdhcHBsaWNhdGlvbi92bmQubW96aWxsYS54dWwreG1sJzogJy54dWwnLFxuICAgICAgICAgICAgJ2FwcGxpY2F0aW9uL3ppcCc6ICcuemlwJyxcbiAgICAgICAgICAgICd2aWRlby8zZ3BwJzogJy4zZ3AnLFxuICAgICAgICAgICAgJ2F1ZGlvLzNncHAnOiAnLjNncCcsXG4gICAgICAgICAgICAndmlkZW8vM2dwcDInOiAnLjNnMicsXG4gICAgICAgICAgICAnYXVkaW8vM2dwcDInOiAnLjNnMicsXG4gICAgICAgICAgICAnYXBwbGljYXRpb24veC03ei1jb21wcmVzc2VkJzogJy43eidcbiAgICAgICAgfTtcblxuICAgICAgICByZXR1cm4gdHlwZU1hcHBpbmdbbWltZVR5cGVdO1xuICAgIH1cbn1cblxuXG4iXX0=
|
@@ -15,7 +15,13 @@ export const setHeaderConfig = (headerConfig, config, field, index) => {
|
|
15
15
|
forEach(headerConfig, cols => {
|
16
16
|
if (get(cols, 'isGroup')) {
|
17
17
|
if (cols.field === field) {
|
18
|
-
cols.columns
|
18
|
+
const id = cols.columns?.findIndex((col) => col?.field === config.field);
|
19
|
+
if (id == -1) {
|
20
|
+
cols.columns[index] = config;
|
21
|
+
}
|
22
|
+
else {
|
23
|
+
cols.columns[id] = config;
|
24
|
+
}
|
19
25
|
}
|
20
26
|
else {
|
21
27
|
setHeaderConfig(cols.columns, config, field, index);
|
@@ -208,4 +214,4 @@ export const getDefaultValue = (value, type, widget) => {
|
|
208
214
|
}
|
209
215
|
return value;
|
210
216
|
};
|
211
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGl2ZS11dGlscy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvbXBvbmVudHMvYmFzZS9zcmMvdXRpbHMvbGl2ZS11dGlscy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsWUFBWSxFQUFFLGNBQWMsRUFBRSxRQUFRLEVBQUUsV0FBVyxF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GhlYWRlckNvbmZpZywgY29scyA9PiB7XG4gICAgICAgIGlmIChnZXQoY29scywgJ2lzR3JvdXAnKSkge1xuICAgICAgICAgICAgaWYgKGNvbHMuZmllbGQgPT09IGZpZWxkKSB7XG4gICAgICAgICAgICAgICAgY29scy5jb2x1bW5zW2luZGV4XSA9IGNvbmZpZztcbiAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgc2V0SGVhZGVyQ29uZmlnKGNvbHMuY29sdW1ucywgY29uZmlnLCBmaWVsZCwgaW5kZXgpO1xuICAgICAgICAgICAgfVxuICAgICAgICB9XG4gICAgfSk7XG59O1xuXG5leHBvcnQgY29uc3Qgc2V0SGVhZGVyQ29uZmlnRm9yVGFibGUgPSAoaGVhZGVyQ29uZmlnOiBhbnksIGNvbmZpZzogYW55LCBmaWVsZE5hbWU6IHN0cmluZywgaW5kZXg/OiBudW1iZXIpOiB2b2lkID0+IHtcbiAgICBpZiAoZmllbGROYW1lKSB7XG4gICAgICAgIHNldEhlYWRlckNvbmZpZyhoZWFkZXJDb25maWcsIGNvbmZpZywgZmllbGROYW1lLCBpbmRleCk7XG4gICAgfSBlbHNlIHtcbiAgICAgICAgaGVhZGVyQ29uZmlnW2luZGV4XSA9IGNvbmZpZztcbiAgICB9XG59O1xuXG5leHBvcnQgY29uc3QgZ2V0Um93T3BlcmF0aW9uc0NvbHVtbiA9ICgpOiBhbnkgPT4ge1xuICAgIHJldHVybiB7XG4gICAgICAgICdmaWVsZCcgICAgICAgICA6ICdyb3dPcGVyYXRpb25zJyxcbiAgICAgICAgJ3R5cGUnICAgICAgICAgIDogJ2N1c3RvbScsXG4gICAgICAgICdkaXNwbGF5TmFtZScgICA6ICdBY3Rpb25zJyxcbiAgICAgICAgJ3dpZHRoJyAgICAgICAgIDogJzEyMHB4JyxcbiAgICAgICAgJ3JlYWRvbmx5JyAgICAgIDogdHJ1ZSxcbiAgICAgICAgJ3NvcnRhYmxlJyAgICAgIDogZmFsc2UsXG4gIC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AgICAgICAgY2FwdGlvbkNscyA9IHdpZGdldENscyA9ICdjb2wteHMtMTInO1xuICAgICAgICB9IGVsc2UgaWYgKGlzTW9iaWxlQXBwKCkpIHsgLy8gSXMgYSBtb2JpbGUgYXBwbGljYXRpb24gYW5kIG5vdCBhbmRyb2lkXG4gICAgICAgICAgICBjYXB0aW9uQ2xzID0gJ2NvbC14cy00JztcbiAgICAgICAgICAgIHdpZGdldENscyA9ICdjb2wteHMtOCc7XG4gICAgICAgIH1cbiAgICB9IGVsc2UgaWYgKGNhcHRpb25XaWR0aCkge1xuICAgICAgICAvLyBoYW5kbGluZyBpdGVtc3BlcnJvdyBjb250YWluaW5nIHN0cmluZyBvZiBjbGFzc2VzXG4gICAgICAgIGZvckVhY2goc3BsaXQoY2FwdGlvbldpZHRoLCAnICcpLCBmdW5jdGlvbiAoY2xzKSB7XG4gICAgICAgICAgICBjb25zdCBrZXlzID0gc3BsaXQoY2xzLCAnLScpLFxuICAgICAgICAgICAgICAgIHRpZXIgPSBrZXlzWzBdO1xuICAgICAgICAgICAgbGV0IF9jYXB0aW9uV2lkdGgsXG4gICAgICAgICAgICAgICAgd2lkZ2V0V2lkdGg7XG4gICAgICAgICAgICBfY2FwdGlvbldpZHRoID0gcGFyc2VJbnQoa2V5c1sxXSwgMTApO1xuICAgICAgICAgICAgd2lkZ2V0V2lkdGggID0gMTIgLSBfY2FwdGlvbldpZHRoO1xuICAgICAgICAgICAgd2lkZ2V0V2lkdGggID0gd2lkZ2V0V2lkdGggPD0gMCA/IDEyIDogd2lkZ2V0V2lkdGg7XG4gICAgICAgICAgICBjYXB0aW9uQ2xzICs9ICcgJyArICdjb2wtJyArIHRpZXIgKyAnLScgKyBfY2FwdGlvbldpZHRoO1xuICAgICAgICAgICAgd2lkZ2V0Q2xzICArPSAnICcgKyAnY29sLScgKyB0aWVyICsgJy0nICsgd2lkZ2V0V2lkdGg7XG4gICAgICAgIH0pO1xuICAgIH1cbiAgICByZXR1cm4ge1xuICAgICAgIC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cbi8vIE1ldGhvZCB0byBzZXQgdGhlIGhlYWRlciBjb25maWcgb2YgdGhlIGRhdGEgdGFibGVcbmV4cG9ydCBjb25zdCBzZXRIZWFkZXJDb25maWcgPSAoaGVhZGVyQ29uZmlnLCBjb25maWcsIGZpZWxkLCBpbmRleD86IG51bWJlcik6IHZvaWQgPT4ge1xuICAgIGZvckVhY2goaGVhZGVyQ29uZmlnLCBjb2xzID0+IHtcbiAgICAgICAgaWYgKGdldChjb2xzLCAnaXNHcm91cCcpKSB7XG4gICAgICAgICAgICBpZiAoY29scy5maWVsZCA9PT0gZmllbGQpIHtcbiAgICAgICAgICAgICAgICBjb25zdCBpZCA9IGNvbHMuY29sdW1ucz8uZmluZEluZGV4KChjb2wpID0+IGNvbD8uZmllbGQgPT09IGNvbmZpZy5maWVsZCk7XG4gICAgICAgICAgICAgICAgaWYgKGlkID09IC0xKSB7XG4gICAgICAgICAgICAgICAgICAgIGNvbHMuY29sdW1uc1tpbmRleF0gPSBjb25maWc7XG4gICAgICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICAgICAgY29scy5jb2x1bW5zW2lkXSA9IGNvbmZpZztcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgIHNldEhlYWRlckNvbmZpZyhjb2xzLmNvbHVtbnMsIGNvbmZpZywgZmllbGQsIGluZGV4KTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgIH0pO1xufTtcblxuZXhwb3J0IGNvbnN0IHNldEhlYWRlckNvbmZpZ0ZvclRhYmxlID0gKGhlYWRlckNvbmZpZzogYW55LCBjb25maWc6IGFueSwgZmllbGROYW1lOiBzdHJpbmcsIGluZGV4PzogbnVtYmVyKTogdm9pZCA9PiB7XG4gICAgaWYgKGZpZWxkTmFtZSkge1xuICAgICAgICBzZXRIZWFkZXJDb25maWcoaGVhZGVyQ29uZmlnLCBjb25maWcsIGZpZWxkTmFtZSwgaW5kZXgpO1xuICAgIH0gZWxzZSB7XG4gICAgICAgIGhlYWRlckNvbmZpZ1tpbmRleF0gPSBjb25maWc7XG4gICAgfVxufTtcblxuZXhwb3J0IGNvbnN0IGdldFJvd09wZXJhdGlvbnNDb2x1bW4gPSAoKTogYW55ID0+IHtcbiAgICByZXR1cm4ge1xuICAgICAgICAnZmllbGQnICAgICAgICAgOiAncm93T3BlcmF0aW9ucycsXG4gICAgICAgICd0eXBlJyAgICAgICAgICA6ICdjdXN0b20nLFxuICAgICAgICAnZGlzcGxheU5hbWUnICAgOiAnQWN0aW9ucycsXG4gICAgICAgICd3aWR0aCcgICAgICAgICA6ICcxMjBweCcsXG4gICAgICAgICdyZWFkb25seScgICAgICA6IHRydWUsXG4gICAgICAgICdzb3J0YWJsZScgICAgICA6IGZhbHNlLFxuICAgICAgICAnc2VhcmNoYWJsZScgICAgOiBmYWxzZSxcbiAgICAgICAgJ3Jlc2l6YWJsZScgICAgIDogZmFsc2UsXG4gICAgICAgICdzZWxlY3RhYmxlJyAgICA6IGZhbHNlLFxuICAgICAgICAnc2hvdycgICAgICAgICAgOiB0cnVlLFxuICAgICAgICAnb3BlcmF0aW9ucycgICAgOiBbXSxcbiAgICAgICAgJ29wQ29uZmlnJyAgICAgIDoge30sXG4gICAgICAgICdwY0Rpc3BsYXknICAgICA6IHRydWUsXG4gICAgICAgICdtb2JpbGVEaXNwbGF5JyA6IHRydWUsXG4gICAgICAgICd0YWJsZXREaXNwbGF5JyA6IHRydWUsXG4gICAgICAgICdpbmNsdWRlJyAgICAgICA6IHRydWUsXG4gICAgICAgICdpc1Jvd09wZXJhdGlvbic6IHRydWVcbiAgICB9O1xufTtcblxuLyoqXG4gKiBSZXR1cm5zIGNhcHRpb24gYW5kIHdpZGdldCBib290c3RyYXAgY2xhc3NlcyBmb3IgdGhlIGZpZWxkXG4gKi9cbmV4cG9ydCBjb25zdCBnZXRGaWVsZExheW91dENvbmZpZyA9IChjYXB0aW9uV2lkdGgsIGNhcHRpb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class StateClassPipe {
|
2802
2802
|
transform(state) {
|
2803
2803
|
const stateClassMap = {
|
2804
|
-
'success': 'wi wi-
|
2804
|
+
'success': 'wi wi-check-circle text-success',
|
2805
2805
|
'error': 'wi wi-error text-danger'
|
2806
2806
|
};
|
2807
2807
|
return stateClassMap[state.toLowerCase()];
|
@@ -4309,7 +4309,13 @@ const setHeaderConfig = (headerConfig, config, field, index) => {
|
|
4309
4309
|
forEach(headerConfig, cols => {
|
4310
4310
|
if (get(cols, 'isGroup')) {
|
4311
4311
|
if (cols.field === field) {
|
4312
|
-
cols.columns
|
4312
|
+
const id = cols.columns?.findIndex((col) => col?.field === config.field);
|
4313
|
+
if (id == -1) {
|
4314
|
+
cols.columns[index] = config;
|
4315
|
+
}
|
4316
|
+
else {
|
4317
|
+
cols.columns[id] = config;
|
4318
|
+
}
|
4313
4319
|
}
|
4314
4320
|
else {
|
4315
4321
|
setHeaderConfig(cols.columns, config, field, index);
|