@wavemaker/app-ng-runtime 11.8.0-next.24904 → 11.8.0-next.27301
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- app-ng-runtime/build-task/bundles/index.umd.js +5 -5
- app-ng-runtime/build-task/esm2022/basic/progress/progress-bar/progress-bar.build.mjs +1 -1
- app-ng-runtime/build-task/esm2022/page/page.build.mjs +3 -2
- app-ng-runtime/build-task/fesm2022/index.mjs +2 -1
- app-ng-runtime/build-task/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/advanced/carousel/bundles/index.umd.js +5 -5
- app-ng-runtime/components/advanced/carousel/esm2022/carousel.animator.mjs +3 -2
- app-ng-runtime/components/advanced/carousel/esm2022/carousel.directive.mjs +1 -1
- app-ng-runtime/components/advanced/carousel/fesm2022/index.mjs +2 -1
- app-ng-runtime/components/advanced/carousel/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/advanced/login/bundles/index.umd.js +6 -6
- app-ng-runtime/components/advanced/login/esm2022/login.component.mjs +4 -3
- app-ng-runtime/components/advanced/login/fesm2022/index.mjs +3 -2
- app-ng-runtime/components/advanced/login/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/base/bundles/index.umd.js +203 -171
- app-ng-runtime/components/base/esm2022/directives/show-in-device.directive.mjs +1 -1
- app-ng-runtime/components/base/esm2022/pipes/custom-pipes.mjs +12 -11
- app-ng-runtime/components/base/esm2022/pipes/wm-pipe.mjs +3 -2
- app-ng-runtime/components/base/esm2022/utils/data-utils.mjs +30 -29
- app-ng-runtime/components/base/esm2022/utils/form-utils.mjs +47 -41
- app-ng-runtime/components/base/esm2022/utils/live-utils.mjs +8 -7
- app-ng-runtime/components/base/esm2022/utils/widget-utils.mjs +28 -27
- app-ng-runtime/components/base/esm2022/widgets/common/base/base-container.component.mjs +4 -3
- app-ng-runtime/components/base/esm2022/widgets/common/base/base-field-validations.mjs +24 -21
- app-ng-runtime/components/base/esm2022/widgets/common/base/base.component.mjs +12 -11
- app-ng-runtime/components/base/esm2022/widgets/common/base/dataset-aware-nav.component.mjs +40 -14
- app-ng-runtime/components/base/esm2022/widgets/common/base/partial-container.directive.mjs +3 -2
- app-ng-runtime/components/base/esm2022/widgets/common/dialog/dialog.service.mjs +3 -2
- app-ng-runtime/components/base/esm2022/widgets/common/lazy-load/lazy-load.directive.mjs +1 -1
- app-ng-runtime/components/base/esm2022/widgets/common/partial/partial.directive.mjs +3 -2
- app-ng-runtime/components/base/esm2022/widgets/common/partial-param/partial-param.directive.mjs +3 -2
- app-ng-runtime/components/base/esm2022/widgets/common/smooth-scroll/smooth-scroll.directive.mjs +6 -5
- app-ng-runtime/components/base/esm2022/widgets/framework/deviceview.mjs +1 -1
- app-ng-runtime/components/base/esm2022/widgets/framework/property-change-handler.mjs +3 -2
- app-ng-runtime/components/base/esm2022/widgets/framework/widget-proxy-provider.mjs +4 -3
- app-ng-runtime/components/base/fesm2022/index.mjs +206 -173
- app-ng-runtime/components/base/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/base/pipes/custom-pipes.d.ts +1 -1
- app-ng-runtime/components/base/utils/data-utils.d.ts +0 -1
- app-ng-runtime/components/base/utils/widget-utils.d.ts +2 -2
- app-ng-runtime/components/base/widgets/common/base/base-field-validations.d.ts +1 -1
- app-ng-runtime/components/base/widgets/common/base/partial-container.directive.d.ts +1 -1
- app-ng-runtime/components/basic/default/bundles/index.umd.js +10 -10
- app-ng-runtime/components/basic/default/esm2022/label/label.directive.mjs +4 -3
- app-ng-runtime/components/basic/default/esm2022/spinner/spinner.component.mjs +6 -5
- app-ng-runtime/components/basic/default/fesm2022/index.mjs +7 -6
- app-ng-runtime/components/basic/default/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/basic/progress/bundles/index.umd.js +13 -13
- app-ng-runtime/components/basic/progress/esm2022/progress-bar/progress-bar.component.mjs +5 -4
- app-ng-runtime/components/basic/progress/esm2022/progress-circle/progress-circle.component.mjs +6 -5
- app-ng-runtime/components/basic/progress/esm2022/utils.mjs +3 -3
- app-ng-runtime/components/basic/progress/fesm2022/index.mjs +10 -9
- app-ng-runtime/components/basic/progress/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/basic/rich-text-editor/bundles/index.umd.js +15 -10
- app-ng-runtime/components/basic/rich-text-editor/esm2022/rich-text-editor.component.mjs +14 -8
- app-ng-runtime/components/basic/rich-text-editor/fesm2022/index.mjs +13 -7
- app-ng-runtime/components/basic/rich-text-editor/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/basic/rich-text-editor/rich-text-editor.component.d.ts +2 -2
- app-ng-runtime/components/basic/search/bundles/index.umd.js +67 -65
- app-ng-runtime/components/basic/search/esm2022/data-provider/data-provider.mjs +1 -1
- app-ng-runtime/components/basic/search/esm2022/data-provider/local-data-provider.mjs +26 -23
- app-ng-runtime/components/basic/search/esm2022/data-provider/remote-data-provider.mjs +12 -11
- app-ng-runtime/components/basic/search/esm2022/search.component.mjs +31 -30
- app-ng-runtime/components/basic/search/fesm2022/index.mjs +66 -63
- app-ng-runtime/components/basic/search/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/basic/tree/bundles/index.umd.js +9 -9
- app-ng-runtime/components/basic/tree/esm2022/tree.component.mjs +7 -6
- app-ng-runtime/components/basic/tree/fesm2022/index.mjs +6 -5
- app-ng-runtime/components/basic/tree/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/chart/bundles/index.umd.js +72 -63
- app-ng-runtime/components/chart/chart.component.d.ts +1 -1
- app-ng-runtime/components/chart/chart.utils.d.ts +3 -3
- app-ng-runtime/components/chart/esm2022/chart.component.mjs +58 -48
- app-ng-runtime/components/chart/esm2022/chart.utils.mjs +14 -13
- app-ng-runtime/components/chart/fesm2022/index.mjs +69 -59
- app-ng-runtime/components/chart/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/containers/accordion/bundles/index.umd.js +16 -16
- app-ng-runtime/components/containers/accordion/esm2022/accordion.directive.mjs +14 -13
- app-ng-runtime/components/containers/accordion/fesm2022/index.mjs +13 -12
- app-ng-runtime/components/containers/accordion/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/containers/panel/bundles/index.umd.js +5 -5
- app-ng-runtime/components/containers/panel/esm2022/panel.component.mjs +3 -2
- app-ng-runtime/components/containers/panel/fesm2022/index.mjs +2 -1
- app-ng-runtime/components/containers/panel/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/containers/panel/panel.component.d.ts +1 -1
- app-ng-runtime/components/containers/tabs/bundles/index.umd.js +17 -17
- app-ng-runtime/components/containers/tabs/esm2022/tabs.component.mjs +15 -14
- app-ng-runtime/components/containers/tabs/fesm2022/index.mjs +14 -13
- app-ng-runtime/components/containers/tabs/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/data/form/bundles/index.umd.js +75 -75
- app-ng-runtime/components/data/form/esm2022/form-action/form-action.directive.mjs +3 -2
- app-ng-runtime/components/data/form/esm2022/form-field/form-field.directive.mjs +10 -9
- app-ng-runtime/components/data/form/esm2022/form.component.mjs +54 -53
- app-ng-runtime/components/data/form/esm2022/live-filter/live-filter.directive.mjs +3 -2
- app-ng-runtime/components/data/form/esm2022/live-form/live-form.directive.mjs +11 -10
- app-ng-runtime/components/data/form/fesm2022/index.mjs +77 -76
- app-ng-runtime/components/data/form/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/data/form/form.component.d.ts +2 -2
- app-ng-runtime/components/data/form/live-form/live-form.directive.d.ts +1 -1
- app-ng-runtime/components/data/list/bundles/index.umd.js +692 -687
- app-ng-runtime/components/data/list/esm2022/list-item.directive.mjs +1 -1
- app-ng-runtime/components/data/list/esm2022/list.animator.mjs +5 -3
- app-ng-runtime/components/data/list/esm2022/list.component.mjs +687 -682
- app-ng-runtime/components/data/list/fesm2022/index.mjs +690 -684
- app-ng-runtime/components/data/list/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/data/list/list.component.d.ts +53 -53
- app-ng-runtime/components/data/live-table/bundles/index.umd.js +1 -1
- app-ng-runtime/components/data/live-table/esm2022/live-table.component.mjs +2 -2
- app-ng-runtime/components/data/live-table/fesm2022/index.mjs +1 -1
- app-ng-runtime/components/data/live-table/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/data/pagination/bundles/index.umd.js +14 -14
- app-ng-runtime/components/data/pagination/esm2022/pagination.component.mjs +12 -11
- app-ng-runtime/components/data/pagination/fesm2022/index.mjs +11 -10
- app-ng-runtime/components/data/pagination/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/data/table/bundles/index.umd.js +175 -172
- app-ng-runtime/components/data/table/esm2022/table-action/table-action.directive.mjs +3 -2
- app-ng-runtime/components/data/table/esm2022/table-column/table-column.directive.mjs +19 -18
- app-ng-runtime/components/data/table/esm2022/table-cud.directive.mjs +7 -6
- app-ng-runtime/components/data/table/esm2022/table-filter.directive.mjs +53 -55
- app-ng-runtime/components/data/table/esm2022/table-row-action/table-row-action.directive.mjs +3 -2
- app-ng-runtime/components/data/table/esm2022/table.component.mjs +98 -91
- app-ng-runtime/components/data/table/fesm2022/index.mjs +172 -168
- app-ng-runtime/components/data/table/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/data/table/table-column/table-column.directive.d.ts +6 -6
- app-ng-runtime/components/data/table/table.component.d.ts +2 -2
- app-ng-runtime/components/dialogs/default/bundles/index.umd.js +2 -2
- app-ng-runtime/components/dialogs/default/esm2022/base-dialog.mjs +3 -3
- app-ng-runtime/components/dialogs/default/esm2022/dialog-body/dialog-body.directive.mjs +1 -1
- app-ng-runtime/components/dialogs/default/fesm2022/index.mjs +1 -1
- app-ng-runtime/components/dialogs/default/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/calendar/bundles/index.umd.js +33 -31
- app-ng-runtime/components/input/calendar/esm2022/calendar.component.mjs +31 -28
- app-ng-runtime/components/input/calendar/fesm2022/index.mjs +30 -27
- app-ng-runtime/components/input/calendar/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/chips/bundles/index.umd.js +29 -28
- app-ng-runtime/components/input/chips/chips.component.d.ts +1 -1
- app-ng-runtime/components/input/chips/esm2022/chips.component.mjs +27 -25
- app-ng-runtime/components/input/chips/fesm2022/index.mjs +26 -24
- app-ng-runtime/components/input/chips/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/default/base-form.component.d.ts +3 -3
- app-ng-runtime/components/input/default/bundles/index.umd.js +75 -62
- app-ng-runtime/components/input/default/checkbox/checkbox.component.d.ts +1 -0
- app-ng-runtime/components/input/default/dataset-aware-form.component.d.ts +4 -4
- app-ng-runtime/components/input/default/esm2022/base-form.component.mjs +14 -8
- app-ng-runtime/components/input/default/esm2022/caption-position.directive.mjs +3 -2
- app-ng-runtime/components/input/default/esm2022/checkbox/checkbox.component.mjs +2 -2
- app-ng-runtime/components/input/default/esm2022/checkboxset/checkboxset.component.mjs +6 -4
- app-ng-runtime/components/input/default/esm2022/dataset-aware-form.component.mjs +29 -23
- app-ng-runtime/components/input/default/esm2022/radioset/radioset.component.mjs +4 -3
- app-ng-runtime/components/input/default/esm2022/select/select.component.mjs +4 -3
- app-ng-runtime/components/input/default/esm2022/switch/switch.component.mjs +6 -5
- app-ng-runtime/components/input/default/esm2022/text/base/base-input.mjs +4 -3
- app-ng-runtime/components/input/default/esm2022/text/locale/number-locale.mjs +20 -18
- app-ng-runtime/components/input/default/esm2022/text/text/input-text.component.mjs +2 -2
- app-ng-runtime/components/input/default/fesm2022/index.mjs +75 -62
- app-ng-runtime/components/input/default/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/epoch/base-date-time.component.d.ts +1 -1
- app-ng-runtime/components/input/epoch/bundles/index.umd.js +53 -51
- app-ng-runtime/components/input/epoch/esm2022/base-date-time.component.mjs +34 -31
- app-ng-runtime/components/input/epoch/esm2022/date/date.component.mjs +5 -4
- app-ng-runtime/components/input/epoch/esm2022/date-time/date-time-picker.component.mjs +5 -4
- app-ng-runtime/components/input/epoch/esm2022/date-time/date-time.component.mjs +7 -6
- app-ng-runtime/components/input/epoch/esm2022/picker/picker.component.mjs +1 -1
- app-ng-runtime/components/input/epoch/esm2022/time/time.component.mjs +6 -5
- app-ng-runtime/components/input/epoch/fesm2022/index.mjs +48 -45
- app-ng-runtime/components/input/epoch/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/file-upload/bundles/index.umd.js +15 -15
- app-ng-runtime/components/input/file-upload/esm2022/file-upload.component.mjs +13 -12
- app-ng-runtime/components/input/file-upload/fesm2022/index.mjs +12 -11
- app-ng-runtime/components/input/file-upload/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/rating/bundles/index.umd.js +12 -12
- app-ng-runtime/components/input/rating/esm2022/rating.component.mjs +10 -9
- app-ng-runtime/components/input/rating/fesm2022/index.mjs +9 -8
- app-ng-runtime/components/input/rating/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/navigation/breadcrumb/bundles/index.umd.js +1 -1
- app-ng-runtime/components/navigation/breadcrumb/esm2022/breadcrumb.component.mjs +2 -2
- app-ng-runtime/components/navigation/breadcrumb/fesm2022/index.mjs +1 -1
- app-ng-runtime/components/navigation/breadcrumb/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/navigation/menu/bundles/index.umd.js +23 -22
- app-ng-runtime/components/navigation/menu/esm2022/menu-adapator.component.mjs +3 -2
- app-ng-runtime/components/navigation/menu/esm2022/menu-dropdown-item/menu-dropdown-item.component.mjs +6 -5
- app-ng-runtime/components/navigation/menu/esm2022/menu.component.mjs +8 -7
- app-ng-runtime/components/navigation/menu/esm2022/nav/nav.component.mjs +10 -8
- app-ng-runtime/components/navigation/menu/fesm2022/index.mjs +20 -18
- app-ng-runtime/components/navigation/menu/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/navigation/menu/menu-dropdown-item/menu-dropdown-item.component.d.ts +12 -1
- app-ng-runtime/components/navigation/popover/esm2022/popover.component.mjs +1 -1
- app-ng-runtime/components/navigation/popover/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/prefab/bundles/index.umd.js +6 -6
- app-ng-runtime/components/prefab/esm2022/prefab-container/prefab-container.directive.mjs +3 -2
- app-ng-runtime/components/prefab/esm2022/prefab.directive.mjs +3 -2
- app-ng-runtime/components/prefab/fesm2022/index.mjs +3 -2
- app-ng-runtime/components/prefab/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/core/bundles/index.umd.js +119 -130
- app-ng-runtime/core/esm2022/public_api.mjs +2 -2
- app-ng-runtime/core/esm2022/services/field-type.service.mjs +3 -2
- app-ng-runtime/core/esm2022/services/field-widget.service.mjs +3 -2
- app-ng-runtime/core/esm2022/services/pagination.service.mjs +7 -6
- app-ng-runtime/core/esm2022/services/state-persistence.service.mjs +17 -16
- app-ng-runtime/core/esm2022/services/utils.service.mjs +3 -2
- app-ng-runtime/core/esm2022/services/viewport.service.mjs +3 -2
- app-ng-runtime/core/esm2022/utils/build-utils.mjs +5 -4
- app-ng-runtime/core/esm2022/utils/expression-parser.mjs +5 -4
- app-ng-runtime/core/esm2022/utils/lru-cache.mjs +3 -2
- app-ng-runtime/core/esm2022/utils/utils.mjs +79 -82
- app-ng-runtime/core/esm2022/utils/watcher.mjs +9 -7
- app-ng-runtime/core/fesm2022/index.mjs +117 -123
- app-ng-runtime/core/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/core/public_api.d.ts +1 -1
- app-ng-runtime/core/services/pagination.service.d.ts +1 -1
- app-ng-runtime/core/utils/utils.d.ts +5 -9
- app-ng-runtime/http/bundles/index.umd.js +7 -7
- app-ng-runtime/http/esm2022/http.service.mjs +5 -4
- app-ng-runtime/http/esm2022/wm-http-request.mjs +1 -1
- app-ng-runtime/http/esm2022/wm-http-response.mjs +1 -1
- app-ng-runtime/http/fesm2022/index.mjs +4 -3
- app-ng-runtime/http/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/basic/default/bundles/index.umd.js +24 -20
- app-ng-runtime/mobile/components/basic/default/esm2022/anchor/anchor.directive.mjs +5 -4
- app-ng-runtime/mobile/components/basic/default/esm2022/file-browser/file-browser.component.mjs +12 -8
- app-ng-runtime/mobile/components/basic/default/esm2022/file-browser/file-selector.service.mjs +5 -3
- app-ng-runtime/mobile/components/basic/default/esm2022/image-cache/image-cache.directive.mjs +3 -2
- app-ng-runtime/mobile/components/basic/default/esm2022/process-manager/process-manager.component.mjs +5 -4
- app-ng-runtime/mobile/components/basic/default/fesm2022/index.mjs +21 -16
- app-ng-runtime/mobile/components/basic/default/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/containers/segmented-control/bundles/index.umd.js +7 -7
- app-ng-runtime/mobile/components/containers/segmented-control/esm2022/segment-content/segment-content.component.mjs +2 -2
- app-ng-runtime/mobile/components/containers/segmented-control/esm2022/segmented-control.component.mjs +4 -3
- app-ng-runtime/mobile/components/containers/segmented-control/fesm2022/index.mjs +4 -3
- app-ng-runtime/mobile/components/containers/segmented-control/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/data/media-list/bundles/index.umd.js +8 -8
- app-ng-runtime/mobile/components/data/media-list/esm2022/media-list.component.mjs +4 -3
- app-ng-runtime/mobile/components/data/media-list/fesm2022/index.mjs +3 -2
- app-ng-runtime/mobile/components/data/media-list/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/page/default/bundles/index.umd.js +5 -5
- app-ng-runtime/mobile/components/page/default/esm2022/page.directive.mjs +3 -2
- app-ng-runtime/mobile/components/page/default/fesm2022/index.mjs +2 -1
- app-ng-runtime/mobile/components/page/default/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/page/tab-bar/bundles/index.umd.js +9 -9
- app-ng-runtime/mobile/components/page/tab-bar/esm2022/tabbar.component.mjs +7 -6
- app-ng-runtime/mobile/components/page/tab-bar/fesm2022/index.mjs +6 -5
- app-ng-runtime/mobile/components/page/tab-bar/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/core/bundles/index.umd.js +25 -25
- app-ng-runtime/mobile/core/esm2022/services/device-file-download.service.mjs +5 -4
- app-ng-runtime/mobile/core/esm2022/services/device-file-opener.service.mjs +3 -2
- app-ng-runtime/mobile/core/esm2022/services/device-file-upload.service.mjs +4 -3
- app-ng-runtime/mobile/core/esm2022/services/device-file.service.mjs +6 -5
- app-ng-runtime/mobile/core/esm2022/services/device.service.mjs +3 -2
- app-ng-runtime/mobile/core/esm2022/services/ext-app-message.service.mjs +5 -4
- app-ng-runtime/mobile/core/esm2022/services/network.service.mjs +9 -8
- app-ng-runtime/mobile/core/fesm2022/index.mjs +22 -21
- app-ng-runtime/mobile/core/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/core/services/ext-app-message.service.d.ts +1 -1
- app-ng-runtime/mobile/core/services/network.service.d.ts +7 -1
- app-ng-runtime/mobile/offline/bundles/index.umd.js +161 -144
- app-ng-runtime/mobile/offline/esm2022/models/local-db-store.mjs +23 -21
- app-ng-runtime/mobile/offline/esm2022/services/change-log.service.mjs +7 -6
- app-ng-runtime/mobile/offline/esm2022/services/local-db-data-pull.service.mjs +37 -35
- app-ng-runtime/mobile/offline/esm2022/services/local-db-management.service.mjs +54 -45
- app-ng-runtime/mobile/offline/esm2022/services/local-db.service.mjs +5 -4
- app-ng-runtime/mobile/offline/esm2022/services/workers/error-blocker.mjs +4 -3
- app-ng-runtime/mobile/offline/esm2022/services/workers/file-handler.mjs +18 -13
- app-ng-runtime/mobile/offline/esm2022/services/workers/multi-part-param-transformer.mjs +9 -5
- app-ng-runtime/mobile/offline/esm2022/utils/live-variable.utils.mjs +12 -11
- app-ng-runtime/mobile/offline/esm2022/utils/query-executor.utils.mjs +5 -4
- app-ng-runtime/mobile/offline/esm2022/utils/security.utils.mjs +3 -2
- app-ng-runtime/mobile/offline/fesm2022/index.mjs +156 -138
- app-ng-runtime/mobile/offline/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/runtime/bundles/index.umd.js +11 -8
- app-ng-runtime/mobile/runtime/esm2022/mobile-runtime.module.mjs +3 -2
- app-ng-runtime/mobile/runtime/esm2022/services/cookie.service.mjs +6 -2
- app-ng-runtime/mobile/runtime/esm2022/services/http-interceptor.service.mjs +4 -3
- app-ng-runtime/mobile/runtime/fesm2022/index.mjs +8 -4
- app-ng-runtime/mobile/runtime/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/runtime-dynamic/bundles/index.umd.js +2 -2
- app-ng-runtime/mobile/runtime-dynamic/esm2022/services/live-sync.service.mjs +3 -3
- app-ng-runtime/mobile/runtime-dynamic/fesm2022/index.mjs +2 -2
- app-ng-runtime/mobile/runtime-dynamic/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/variables/bundles/index.umd.js +23 -16
- app-ng-runtime/mobile/variables/esm2022/services/camera-service.mjs +2 -2
- app-ng-runtime/mobile/variables/esm2022/services/datasync-service.mjs +10 -9
- app-ng-runtime/mobile/variables/esm2022/services/file-service.mjs +11 -3
- app-ng-runtime/mobile/variables/fesm2022/index.mjs +19 -11
- app-ng-runtime/mobile/variables/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/oAuth/bundles/index.umd.js +12 -12
- app-ng-runtime/oAuth/esm2022/oAuth.service.mjs +4 -3
- app-ng-runtime/oAuth/esm2022/oAuth.utils.mjs +8 -7
- app-ng-runtime/oAuth/fesm2022/index.mjs +9 -8
- app-ng-runtime/oAuth/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/package.json +1 -1
- app-ng-runtime/runtime/base/bundles/index.umd.js +121 -120
- app-ng-runtime/runtime/base/esm2022/components/base-layout.component.mjs +4 -3
- app-ng-runtime/runtime/base/esm2022/components/base-page.component.mjs +14 -13
- app-ng-runtime/runtime/base/esm2022/components/base-partial.component.mjs +13 -12
- app-ng-runtime/runtime/base/esm2022/components/base-prefab.component.mjs +15 -14
- app-ng-runtime/runtime/base/esm2022/components/base-spa-page.component.mjs +14 -13
- app-ng-runtime/runtime/base/esm2022/components/custom-toaster.component.mjs +6 -5
- app-ng-runtime/runtime/base/esm2022/directives/accessroles.directive.mjs +11 -10
- app-ng-runtime/runtime/base/esm2022/guards/page-not-found.guard.mjs +1 -1
- app-ng-runtime/runtime/base/esm2022/guards/role.guard.mjs +3 -2
- app-ng-runtime/runtime/base/esm2022/services/app-defaults.service.mjs +1 -1
- app-ng-runtime/runtime/base/esm2022/services/app.manager.service.mjs +17 -14
- app-ng-runtime/runtime/base/esm2022/services/app.service.mjs +7 -6
- app-ng-runtime/runtime/base/esm2022/services/dynamic-component-ref-provider.service.mjs +3 -2
- app-ng-runtime/runtime/base/esm2022/services/http-interceptor.services.mjs +4 -3
- app-ng-runtime/runtime/base/esm2022/services/i18n.service.mjs +12 -10
- app-ng-runtime/runtime/base/esm2022/services/navigation.service.mjs +8 -7
- app-ng-runtime/runtime/base/esm2022/services/prefab-manager.service.mjs +3 -2
- app-ng-runtime/runtime/base/esm2022/services/spinner.service.mjs +7 -6
- app-ng-runtime/runtime/base/esm2022/services/toaster.service.mjs +6 -5
- app-ng-runtime/runtime/base/esm2022/util/wm-route-reuse-strategy.mjs +6 -7
- app-ng-runtime/runtime/base/fesm2022/index.mjs +119 -117
- app-ng-runtime/runtime/base/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/runtime/base/services/i18n.service.d.ts +1 -1
- app-ng-runtime/runtime/dynamic/bundles/index.umd.js +7 -7
- app-ng-runtime/runtime/dynamic/esm2022/app/services/component-ref-provider.service.mjs +4 -3
- app-ng-runtime/runtime/dynamic/esm2022/main.mjs +3 -2
- app-ng-runtime/runtime/dynamic/fesm2022/index.mjs +4 -3
- app-ng-runtime/runtime/dynamic/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/scripts/jquery-ui/ui/widgets/droppable.js +7 -7
- app-ng-runtime/scripts/jquery-ui/ui/widgets/resizable.js +13 -10
- app-ng-runtime/scripts/jquery-ui/ui/widgets/sortable.js +7 -7
- app-ng-runtime/security/bundles/index.umd.js +14 -14
- app-ng-runtime/security/esm2022/security.service.mjs +12 -11
- app-ng-runtime/security/fesm2022/index.mjs +11 -10
- app-ng-runtime/security/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/security/security.service.d.ts +1 -1
- app-ng-runtime/swipey/esm2022/swipe.animation.mjs +1 -1
- app-ng-runtime/swipey/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/transpiler/bundles/index.umd.js +10 -9
- app-ng-runtime/transpiler/esm2022/build.mjs +8 -6
- app-ng-runtime/transpiler/fesm2022/index.mjs +7 -5
- app-ng-runtime/transpiler/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/variables/bundles/index.umd.js +155 -145
- app-ng-runtime/variables/esm2022/manager/action/login-action.manager.mjs +15 -14
- app-ng-runtime/variables/esm2022/manager/action/notification-action.manager.mjs +9 -8
- app-ng-runtime/variables/esm2022/manager/variable/base-variable.manager.mjs +3 -2
- app-ng-runtime/variables/esm2022/manager/variable/web-socket-variable.manager.mjs +11 -10
- app-ng-runtime/variables/esm2022/service/variables.service.mjs +7 -6
- app-ng-runtime/variables/esm2022/util/action/navigation-action.utils.mjs +4 -4
- app-ng-runtime/variables/esm2022/util/variable/pagination.utils.mjs +30 -23
- app-ng-runtime/variables/esm2022/util/variable/service-variable.utils.mjs +29 -28
- app-ng-runtime/variables/esm2022/util/variable/variables.utils.mjs +75 -70
- app-ng-runtime/variables/fesm2022/index.mjs +169 -158
- app-ng-runtime/variables/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/variables/util/variable/service-variable.utils.d.ts +1 -1
|
@@ -137,5 +137,5 @@ export class InputTextComponent extends BaseInput {
|
|
|
137
137
|
type: ViewChild,
|
|
138
138
|
args: ['input', { read: IMaskDirective }]
|
|
139
139
|
}] }); })();
|
|
140
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(InputTextComponent, { className: "InputTextComponent", filePath: "text/text/input-text.component.ts", lineNumber:
|
|
141
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5wdXQtdGV4d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8qTW9uaXRvcmluZyBjaGFuZ2VzIGZvciBzdHlsZXMgb3IgcHJvcGVydGllcyBhbmQgYWNjb3JkaW5nbHkgaGFuZGxpbmcgcmVzcGVjdGl2ZSBjaGFuZ2VzLiovXG4gICAgICAgIHN3aXRjaCAoa2V5KSB7XG4gICAgICAgICAgICBjYXNlICdkaXNwbGF5Zm9ybWF0JzpcbiAgICAgICAgICAgICAgICB0aGlzLm1hc2tWYWwgPSB0aGlzLmRpc3BsYXlmb3JtYXQ7XG4gICAgICAgICAgICAgICAgdGhpcy5jaGVja0ZvckRpc3BsYXlGb3JtYXQoKTtcbiAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgICAgIGNhc2UgJ3Nob3dkaXNwbGF5Zm9ybWF0b24nOlxuICAgICAgICAgICAgICAgIHRoaXMubGF6eSA9IG52ID09PSAna2V5cHJlc3MnID8gdHJ1ZSA6IGZhbHNlO1xuICAgICAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgICAgZGVmYXVsdDpcbiAgICAgICAgICAgICAgICBzdXBlci5vblByb3BlcnR5Q2hhbmdlKGtleSwgbnYsIG92KTtcbiAgICAgICAgfVxuICAgIH1cblxuICAgIGdldCBtYXNrKCkge1xuICAgICAgICBpZiAodGhpcy5kaXNwbGF5Zm9ybWF0ICYmICghdGhpcy5wbGFjZWhvbGRlciB8fCAodGhpcy5wbGFjZWhvbGRlciAmJiB0aGlzLmlzRm9jdXNlZCkpKSB7XG4gICAgICAgICAgICByZXR1cm4ge1xuICAgICAgICAgICAgICAgIG1hc2s6IHRoaXMubWFza1ZhbCxcbiAgICAgICAgICAgICAgICBsYXp5OiB0aGlzLmxhenksXG4gICAgICAgICAgICAgICAgZGVmaW5pdGlvbnM6IHtcbiAgICAgICAgICAgICAgICAgICAgJzknOiAvXFxkLyxcbiAgICAgICAgICAgICAgICAgICAgJ0EnOiAvW2EtekEtWl0vLFxuICAgICAgICAgICAgICAgICAgICAnYSc6IC9bYS16XS8sXG4gICAgICAg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sdXNoVmlld0NoYW5nZXMoaW5wdXQudmFsdWUpXCJcbiAgICAgICAjaW5wdXQ+XG4iXX0=
|
|
140
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(InputTextComponent, { className: "InputTextComponent", filePath: "text/text/input-text.component.ts", lineNumber: 23 }); })();
|
|
141
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5wdXQtdGV4dC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb21wb25lbnRzL3dpZGdldHMvaW5wdXQvZGVmYXVsdC9zcmMvdGV4dC90ZXh0L2lucHV0LXRleHQuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29tcG9uZW50cy93aWRnZXRzL2lucHV0L2RlZmF1bHQvc3JjL3RleHQvdGV4dC9pbnB1dC10ZXh0LmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxTQUFTLEVBQUUsVUFBVSxFQUFFLE1BQU0sRUFBRSxRQUFRLEVBQVUsUUFBUSxFQUFFLFNBQVMsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUNuRyxPQUFPLEVBQUMsT0FBTyxFQUFFLGlCQUFpQixFQUFFLGFBQWEsRUFBQyxNQUFNLGdCQUFnQixDQUFDO0FBRXpFLE9BQU8sRUFBZ0IsU0FBUyxFQUFFLGtCQUFrQixFQUFDLE1BQU0scUJBQXFCLENBQUM7QUFDakYsT0FBTyxFQUFDLGFBQWEsRUFBQyxNQUFNLG9CQUFvQixDQUFDO0FBQ2pELE9BQU8sRUFBQyxTQUFTLEVBQUMsTUFBTSxvQkFBb0IsQ0FBQztBQUM3QyxPQUFPLEVBQUUsY0FBYyxFQUFFLE1BQU0sZUFB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gICAgICAgICBtYXNrOiB0aGlzLm1hc2tWYWwsXG4gICAgICAgICAgICAgICAgbGF6eTogdGhpcy5sYXp5LFxuICAgICAgICAgICAgICAgIGRlZmluaXRpb25zOiB7XG4gICAgICAgICAgICAgICAgICAgICc5JzogL1xcZC8sXG4gICAgICAgICAgICAgICAgICAgICdBJzogL1thLXpBLVpdLyxcbiAgICAgICAgICAgICAgICAgICAgJ2EnOiAvW2Etel0vLFxuICAgICAgICAgICAgICAgICAgICAnKic6IC9cXHcvXG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfTtcbiAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgIHJldHVybiBmYWxzZTtcbiAgICAgICAgfVxuICAgIH1cblxuICAgIC8vIHNob3cgZGlzcGxheSBmb3JtYXQgb24gZm9jdXMgb3Igd2hlbiBpdCBoYXMgYSBkYXRhIHZhbHVlIHByZXNlbnQuIEVsc2Ugc2hvdyB0aGUgcGxhY2Vob2xkZXJcbiAgICBwdWJsaWMgY2hlY2tGb3JEaXNwbGF5Rm9ybWF0KCRldmVudD8pIHtcbiAgICAgICAgaWYgKHRoaXMuZGlzcGxheWZvcm1hdCkge1xuICAgICAgICAgICAgdGhpcy5pc0ZvY3VzZWQgPSAoKCRldmVudCAmJiAkZXZlbnQudHlwZSA9PT0gJ2ZvY3VzJykgfHwgdGhpcy5kYXRhdmFsdWUpID8gdHJ1ZSA6IGZhbHNlO1xuICAgICAgICAgICAgLy8gRG8gbm90IHNob3cgZm9ybWF0IHBsYWNlaG9sZGVyIHdoZW4gbm8gdmFsdWUgaXMgcHJlc2VudCBvbiBibHVyXG4gICAgICAgICAgICBpZiAoIXRoaXMuaXNGb2N1c2VkICYmIHRoaXMuaW1hc2sgJiYgdGhpcy5pbWFzay5tYXNrUmVmKSB7XG4gICAgICAgICAgICAgICAgdGhpcy5pbWFzay5tYXNrUmVmLnVwZGF0ZU9wdGlvbnMoeyBsYXp5OiB0cnVlIH0pO1xuICAgICAgICAgICA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udClcIlxuICAgICAgIChibHVyKT1cImhhbmRsZUJsdXIoJGV2ZW50KTsgY2hlY2tGb3JEaXNwbGF5Rm9ybWF0KCRldmVudClcIlxuICAgICAgIChmb2N1cyk9XCJjaGVja0ZvckRpc3BsYXlGb3JtYXQoJGV2ZW50KVwiXG4gICAgICAgW2F1dG9jb21wbGV0ZV09XCJhdXRvY29tcGxldGUgPyAnb24nIDogJ29mZidcIlxuICAgICAgIChrZXl1cC5lbnRlcik9XCJmbHVzaFZpZXdDaGFuZ2VzKGlucHV0LnZhbHVlKVwiXG4gICAgICAgI2lucHV0PlxuIl19
|
|
@@ -9,7 +9,8 @@ import { IMaskDirective, IMaskModule } from 'angular-imask';
|
|
|
9
9
|
import * as i2 from '@wm/components/base';
|
|
10
10
|
import { PROP_STRING, PROP_ANY, PROP_BOOLEAN, PROP_NUMBER, register, DISPLAY_TYPE, StylableComponent, styler, provideAsWidgetRef, APPLY_STYLES_TYPE, WidgetConfig, registerFormWidget, provideAs, extractDataAsArray, ToDatePipe, ALLFIELDS, convertDataToObject, getOrderedDataset, transformDataWithKeys, transformFormData, getUniqObjsByDataField, groupData, handleHeaderClick, toggleAllHeaders, WidgetRef, INPUTMODE, TrailingZeroDecimalPipe, WmComponentsModule } from '@wm/components/base';
|
|
11
11
|
import * as i1$1 from '@wm/core';
|
|
12
|
-
import { DataSource, FormWidgetType, isDefined, toggleClass, AppDefaults, $appDigest, debounce, noop, isEqualWithFields, toBoolean, setListClass, switchClass, addForIdAttributes, addClass, AbstractI18nService, setAttr, removeAttr, setCSS } from '@wm/core';
|
|
12
|
+
import { DataSource, FormWidgetType, isDefined, toggleClass, AppDefaults, $appDigest, debounce as debounce$1, noop, isEqualWithFields, toBoolean, setListClass, switchClass, addForIdAttributes, addClass, AbstractI18nService, setAttr, removeAttr, setCSS } from '@wm/core';
|
|
13
|
+
import { has, set, isArray, debounce, toString, find, isNull, isObject, isEqual, isEmpty, forEach, includes, isString, get, isUndefined, round, toArray, intersection, findIndex } from 'lodash-es';
|
|
13
14
|
import { Subject } from 'rxjs';
|
|
14
15
|
import { __param, __metadata, __decorate } from 'tslib';
|
|
15
16
|
|
|
@@ -191,8 +192,8 @@ class ButtonGroupDirective extends StylableComponent {
|
|
|
191
192
|
}] }); })();
|
|
192
193
|
|
|
193
194
|
class BaseFormComponent extends StylableComponent {
|
|
194
|
-
constructor(inj, config, initPromise) {
|
|
195
|
-
super(inj, config, initPromise);
|
|
195
|
+
constructor(inj, config, explicitContext, initPromise) {
|
|
196
|
+
super(inj, config, explicitContext, initPromise);
|
|
196
197
|
this.inj = inj;
|
|
197
198
|
this.binddatavalue = this.$element.attr('datavalue.bind');
|
|
198
199
|
}
|
|
@@ -221,11 +222,11 @@ class BaseFormComponent extends StylableComponent {
|
|
|
221
222
|
}
|
|
222
223
|
binddatavalue = binddatavalue.replace(/\[\$i\]/g, '[0]');
|
|
223
224
|
// In case of list widget context will be the listItem.
|
|
224
|
-
if (
|
|
225
|
-
|
|
225
|
+
if (has(this.context, binddatavalue.split('.')[0])) {
|
|
226
|
+
set(this.context, binddatavalue, value);
|
|
226
227
|
}
|
|
227
228
|
else {
|
|
228
|
-
|
|
229
|
+
set(this.viewParent, binddatavalue, value);
|
|
229
230
|
}
|
|
230
231
|
}
|
|
231
232
|
invokeOnChange(value, $event) {
|
|
@@ -258,7 +259,7 @@ class BaseFormComponent extends StylableComponent {
|
|
|
258
259
|
});
|
|
259
260
|
}
|
|
260
261
|
}
|
|
261
|
-
static { this.ɵfac = function BaseFormComponent_Factory(t) { return new (t || BaseFormComponent)(i0.ɵɵinject(i0.Injector), i0.ɵɵinject(WidgetConfig), i0.ɵɵinject(Promise)); }; }
|
|
262
|
+
static { this.ɵfac = function BaseFormComponent_Factory(t) { return new (t || BaseFormComponent)(i0.ɵɵinject(i0.Injector), i0.ɵɵinject(WidgetConfig), i0.ɵɵinject('EXPLICIT_CONTEXT', 8), i0.ɵɵinject(Promise)); }; }
|
|
262
263
|
static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: BaseFormComponent, factory: BaseFormComponent.ɵfac }); }
|
|
263
264
|
}
|
|
264
265
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(BaseFormComponent, [{
|
|
@@ -266,6 +267,11 @@ class BaseFormComponent extends StylableComponent {
|
|
|
266
267
|
}], () => [{ type: i0.Injector }, { type: undefined, decorators: [{
|
|
267
268
|
type: Inject,
|
|
268
269
|
args: [WidgetConfig]
|
|
270
|
+
}] }, { type: undefined, decorators: [{
|
|
271
|
+
type: Inject,
|
|
272
|
+
args: ['EXPLICIT_CONTEXT']
|
|
273
|
+
}, {
|
|
274
|
+
type: Optional
|
|
269
275
|
}] }, { type: Promise }], null); })();
|
|
270
276
|
|
|
271
277
|
/*
|
|
@@ -570,17 +576,17 @@ class DatasetAwareFormComponent extends BaseFormCustomComponent {
|
|
|
570
576
|
// invoke on datavalue change.
|
|
571
577
|
this.invokeOnChange(val, undefined, true);
|
|
572
578
|
}
|
|
573
|
-
constructor(inj, config, groupby) {
|
|
574
|
-
super(inj, config);
|
|
579
|
+
constructor(inj, config, explicitContext, groupby) {
|
|
580
|
+
super(inj, config, explicitContext);
|
|
575
581
|
this.groupby = groupby;
|
|
576
582
|
this.datasetItems = [];
|
|
577
583
|
this.acceptsArray = false; // set to true if proxyModel on widget accepts array type.
|
|
578
584
|
this.dataset$ = new Subject();
|
|
579
585
|
this.datavalue$ = new Subject();
|
|
580
586
|
this.allowempty = true;
|
|
581
|
-
this._debounceDatavalueUpdation =
|
|
587
|
+
this._debounceDatavalueUpdation = debounce((values) => {
|
|
582
588
|
// if no item is found in datasetItems, wait untill the dataset updates by preserving the datavalue in toBeProcessedDatavalue.
|
|
583
|
-
if (!isDefined(this._modelByKey) || (
|
|
589
|
+
if (!isDefined(this._modelByKey) || (isArray(this._modelByKey) && !this._modelByKey.length)) {
|
|
584
590
|
this.toBeProcessedDatavalue = values;
|
|
585
591
|
this._modelByValue = '';
|
|
586
592
|
}
|
|
@@ -588,7 +594,7 @@ class DatasetAwareFormComponent extends BaseFormCustomComponent {
|
|
|
588
594
|
// obtain the first array value when multiple is set to false.
|
|
589
595
|
// set the modelByValue only when undefined.
|
|
590
596
|
if (!isDefined(this._modelByValue)) {
|
|
591
|
-
this._modelByValue = (!this.multiple &&
|
|
597
|
+
this._modelByValue = (!this.multiple && isArray(this.toBeProcessedDatavalue)) ? this.toBeProcessedDatavalue[0] : this.toBeProcessedDatavalue;
|
|
592
598
|
}
|
|
593
599
|
this.toBeProcessedDatavalue = undefined;
|
|
594
600
|
}
|
|
@@ -599,7 +605,7 @@ class DatasetAwareFormComponent extends BaseFormCustomComponent {
|
|
|
599
605
|
this.binddisplayexpression = this.nativeElement.getAttribute('displayexpression.bind');
|
|
600
606
|
this.binddisplayimagesrc = this.nativeElement.getAttribute('displayimagesrc.bind');
|
|
601
607
|
this.binddisplaylabel = this.nativeElement.getAttribute('displaylabel.bind');
|
|
602
|
-
this._debouncedInitDatasetItems = debounce(() => {
|
|
608
|
+
this._debouncedInitDatasetItems = debounce$1(() => {
|
|
603
609
|
this.initDatasetItems();
|
|
604
610
|
$appDigest();
|
|
605
611
|
}, 150);
|
|
@@ -618,7 +624,7 @@ class DatasetAwareFormComponent extends BaseFormCustomComponent {
|
|
|
618
624
|
if (!this.datasetItems.length) {
|
|
619
625
|
return;
|
|
620
626
|
}
|
|
621
|
-
if (this.multiple && !
|
|
627
|
+
if (this.multiple && !isArray(keys)) {
|
|
622
628
|
keys = [keys];
|
|
623
629
|
}
|
|
624
630
|
// Set the _modelByKey to the modified keys.
|
|
@@ -626,10 +632,10 @@ class DatasetAwareFormComponent extends BaseFormCustomComponent {
|
|
|
626
632
|
if (this.multiple) {
|
|
627
633
|
this._modelByValue = [];
|
|
628
634
|
keys.forEach(key => {
|
|
629
|
-
const itemByKey =
|
|
635
|
+
const itemByKey = find(this.datasetItems, item => {
|
|
630
636
|
// not triple equal, as the instance type can be different.
|
|
631
637
|
// only value comparison should be done.
|
|
632
|
-
return
|
|
638
|
+
return toString(item.key) === toString(key);
|
|
633
639
|
});
|
|
634
640
|
if (itemByKey) {
|
|
635
641
|
itemByKey.selected = true;
|
|
@@ -639,10 +645,10 @@ class DatasetAwareFormComponent extends BaseFormCustomComponent {
|
|
|
639
645
|
}
|
|
640
646
|
else {
|
|
641
647
|
this._modelByValue = '';
|
|
642
|
-
const itemByKey =
|
|
648
|
+
const itemByKey = find(this.datasetItems, item => {
|
|
643
649
|
// not triple equal, as the instance type can be different.
|
|
644
650
|
// only value comparison should be done.
|
|
645
|
-
return
|
|
651
|
+
return toString(item.key) === toString(keys);
|
|
646
652
|
});
|
|
647
653
|
if (itemByKey) {
|
|
648
654
|
itemByKey.selected = true;
|
|
@@ -661,14 +667,14 @@ class DatasetAwareFormComponent extends BaseFormCustomComponent {
|
|
|
661
667
|
selectByValue(values) {
|
|
662
668
|
this.resetDatasetItems();
|
|
663
669
|
// if datavalue is not defined or empty then set the model as undefined.
|
|
664
|
-
if (!isDefined(values) || values === '' ||
|
|
670
|
+
if (!isDefined(values) || values === '' || isNull(values) || (values instanceof Array && !values.length)) {
|
|
665
671
|
this._modelByKey = undefined;
|
|
666
672
|
// do not return when allowempty is set to true.
|
|
667
673
|
if (!this.allowempty || !isDefined(values)) {
|
|
668
674
|
return;
|
|
669
675
|
}
|
|
670
676
|
}
|
|
671
|
-
if (this.acceptsArray && !
|
|
677
|
+
if (this.acceptsArray && !isArray(values)) {
|
|
672
678
|
values = this.allowempty ? [values] : extractDataAsArray(values);
|
|
673
679
|
}
|
|
674
680
|
// preserve the datavalue if datasetItems are empty.
|
|
@@ -677,16 +683,16 @@ class DatasetAwareFormComponent extends BaseFormCustomComponent {
|
|
|
677
683
|
return;
|
|
678
684
|
}
|
|
679
685
|
const filterField = this.datafield === ALLFIELDS ? 'dataObject' : 'key';
|
|
680
|
-
if (
|
|
686
|
+
if (isArray(values)) {
|
|
681
687
|
this._modelByKey = [];
|
|
682
688
|
values.forEach(val => {
|
|
683
|
-
const itemByValue =
|
|
689
|
+
const itemByValue = find(this.datasetItems, item => {
|
|
684
690
|
if (filterField === 'dataObject') {
|
|
685
691
|
if (this.compareby && this.compareby.length) {
|
|
686
692
|
return isEqualWithFields(item[filterField], val, this.compareby);
|
|
687
693
|
}
|
|
688
694
|
}
|
|
689
|
-
return (
|
|
695
|
+
return (isObject(item.value) ? isEqual(item.value, val) : (toString(item.value)).toLowerCase() === (toString(val)).toLowerCase());
|
|
690
696
|
});
|
|
691
697
|
if (itemByValue) {
|
|
692
698
|
itemByValue.selected = true;
|
|
@@ -696,13 +702,13 @@ class DatasetAwareFormComponent extends BaseFormCustomComponent {
|
|
|
696
702
|
}
|
|
697
703
|
else {
|
|
698
704
|
this._modelByKey = undefined;
|
|
699
|
-
const itemByValue =
|
|
705
|
+
const itemByValue = find(this.datasetItems, item => {
|
|
700
706
|
if (filterField === 'dataObject') {
|
|
701
707
|
if (this.compareby && this.compareby.length) {
|
|
702
708
|
return isEqualWithFields(item[filterField], values, this.compareby);
|
|
703
709
|
}
|
|
704
710
|
}
|
|
705
|
-
return (
|
|
711
|
+
return (isObject(item.value) ? isEqual(item.value, values) : (toString(item.value)).toLowerCase() === (toString(values)).toLowerCase());
|
|
706
712
|
});
|
|
707
713
|
if (itemByValue) {
|
|
708
714
|
itemByValue.selected = true;
|
|
@@ -725,7 +731,7 @@ class DatasetAwareFormComponent extends BaseFormCustomComponent {
|
|
|
725
731
|
}
|
|
726
732
|
// This function parses the dataset and extracts the displayOptions from parsed dataset.
|
|
727
733
|
initDatasetItems() {
|
|
728
|
-
if (!this.dataset ||
|
|
734
|
+
if (!this.dataset || isEmpty(this.dataset)) {
|
|
729
735
|
this.datasetItems = [];
|
|
730
736
|
// notify the dataset listeners
|
|
731
737
|
this.dataset$.next(this.datasetItems);
|
|
@@ -753,7 +759,7 @@ class DatasetAwareFormComponent extends BaseFormCustomComponent {
|
|
|
753
759
|
postDatasetItemsInit() {
|
|
754
760
|
if (this.datasetItems.length && !this._defaultQueryInvoked) {
|
|
755
761
|
// use the latest of toBeProcessedDatavalue, datavalue
|
|
756
|
-
const _datavalue =
|
|
762
|
+
const _datavalue = isEmpty(this.toBeProcessedDatavalue) ? this.datavalue : this.toBeProcessedDatavalue;
|
|
757
763
|
this.selectByValue(_datavalue);
|
|
758
764
|
}
|
|
759
765
|
// notify the dataset listeners
|
|
@@ -823,7 +829,7 @@ class DatasetAwareFormComponent extends BaseFormCustomComponent {
|
|
|
823
829
|
this.cancelLocaleChangeSubscription();
|
|
824
830
|
}
|
|
825
831
|
}
|
|
826
|
-
static { this.ɵfac = function DatasetAwareFormComponent_Factory(t) { return new (t || DatasetAwareFormComponent)(i0.ɵɵinject(i0.Injector), i0.ɵɵinject(WidgetConfig), i0.ɵɵinjectAttribute('groupby')); }; }
|
|
832
|
+
static { this.ɵfac = function DatasetAwareFormComponent_Factory(t) { return new (t || DatasetAwareFormComponent)(i0.ɵɵinject(i0.Injector), i0.ɵɵinject(WidgetConfig), i0.ɵɵinject('EXPLICIT_CONTEXT', 8), i0.ɵɵinjectAttribute('groupby')); }; }
|
|
827
833
|
static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: DatasetAwareFormComponent, factory: DatasetAwareFormComponent.ɵfac }); }
|
|
828
834
|
}
|
|
829
835
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DatasetAwareFormComponent, [{
|
|
@@ -831,6 +837,11 @@ class DatasetAwareFormComponent extends BaseFormCustomComponent {
|
|
|
831
837
|
}], () => [{ type: i0.Injector }, { type: undefined, decorators: [{
|
|
832
838
|
type: Inject,
|
|
833
839
|
args: [WidgetConfig]
|
|
840
|
+
}] }, { type: undefined, decorators: [{
|
|
841
|
+
type: Inject,
|
|
842
|
+
args: ['EXPLICIT_CONTEXT']
|
|
843
|
+
}, {
|
|
844
|
+
type: Optional
|
|
834
845
|
}] }, { type: undefined, decorators: [{
|
|
835
846
|
type: Attribute,
|
|
836
847
|
args: ['groupby']
|
|
@@ -1035,7 +1046,8 @@ class CheckboxsetComponent extends DatasetAwareFormComponent {
|
|
|
1035
1046
|
// construct the _model from the checked elements.
|
|
1036
1047
|
const inputElements = this.nativeElement.querySelectorAll('input:checked');
|
|
1037
1048
|
const keys = [];
|
|
1038
|
-
|
|
1049
|
+
forEach(inputElements, ($el) => {
|
|
1050
|
+
// @ts-ignore
|
|
1039
1051
|
keys.push($el.value);
|
|
1040
1052
|
});
|
|
1041
1053
|
this.modelByKey = keys;
|
|
@@ -1054,7 +1066,7 @@ class CheckboxsetComponent extends DatasetAwareFormComponent {
|
|
|
1054
1066
|
return callback();
|
|
1055
1067
|
});
|
|
1056
1068
|
}
|
|
1057
|
-
else if (!
|
|
1069
|
+
else if (!includes(['change'], eventName)) {
|
|
1058
1070
|
super.handleEvent(node, eventName, callback, locals);
|
|
1059
1071
|
}
|
|
1060
1072
|
}
|
|
@@ -1113,7 +1125,7 @@ class CheckboxsetComponent extends DatasetAwareFormComponent {
|
|
|
1113
1125
|
type: HostListener,
|
|
1114
1126
|
args: ['keydown.enter', ['$event', '"ENTER"']]
|
|
1115
1127
|
}] }); })();
|
|
1116
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CheckboxsetComponent, { className: "CheckboxsetComponent", filePath: "checkboxset/checkboxset.component.ts", lineNumber:
|
|
1128
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CheckboxsetComponent, { className: "CheckboxsetComponent", filePath: "checkboxset/checkboxset.component.ts", lineNumber: 27 }); })();
|
|
1117
1129
|
|
|
1118
1130
|
const registerProps$a = () => {
|
|
1119
1131
|
register('wm-form-group', new Map([
|
|
@@ -1259,7 +1271,7 @@ class BaseInput extends BaseFormCustomComponent {
|
|
|
1259
1271
|
}
|
|
1260
1272
|
// invoke the change callback
|
|
1261
1273
|
handleChange(newValue) {
|
|
1262
|
-
if (this.autotrim && this.datavalue &&
|
|
1274
|
+
if (this.autotrim && this.datavalue && isString(this.datavalue)) {
|
|
1263
1275
|
this.datavalue = this.datavalue.trim();
|
|
1264
1276
|
}
|
|
1265
1277
|
this.invokeOnChange(this.datavalue, { type: 'change' }, this.ngModel.valid);
|
|
@@ -1277,7 +1289,7 @@ class BaseInput extends BaseFormCustomComponent {
|
|
|
1277
1289
|
// Update the model on enter key press
|
|
1278
1290
|
flushViewChanges(val) {
|
|
1279
1291
|
// when val contains masked value, update the model with unmasked value
|
|
1280
|
-
const unMaskedVal =
|
|
1292
|
+
const unMaskedVal = get(this.imask, 'maskRef.unmaskedValue');
|
|
1281
1293
|
val = unMaskedVal ? unMaskedVal : val;
|
|
1282
1294
|
this.ngModel.update.next(val);
|
|
1283
1295
|
$appDigest();
|
|
@@ -1334,7 +1346,8 @@ let NumberLocale = class NumberLocale extends BaseInput {
|
|
|
1334
1346
|
set datavalue(value) {
|
|
1335
1347
|
this.lastValIsDecimal = false;
|
|
1336
1348
|
// set text value to null if data value is empty.
|
|
1337
|
-
|
|
1349
|
+
// @ts-ignore
|
|
1350
|
+
if (includes([null, undefined, ''], value)) {
|
|
1338
1351
|
const input = this.inputEl.nativeElement;
|
|
1339
1352
|
const prevDataValue = this.prevDatavalue;
|
|
1340
1353
|
this.displayValue = input.value = this.proxyModel = null;
|
|
@@ -1347,8 +1360,8 @@ let NumberLocale = class NumberLocale extends BaseInput {
|
|
|
1347
1360
|
}
|
|
1348
1361
|
// if the widget has default value and if we change the locale, the value should be in selected locale format.
|
|
1349
1362
|
if (this.isDefaultQuery) {
|
|
1350
|
-
const isLocalizedNumber =
|
|
1351
|
-
const parts = isLocalizedNumber ? value.split(this.DECIMAL) :
|
|
1363
|
+
const isLocalizedNumber = isString(value) && includes(value, this.DECIMAL);
|
|
1364
|
+
const parts = isLocalizedNumber ? value.split(this.DECIMAL) : isString(value) && value.split('.');
|
|
1352
1365
|
this.decimalValue = parts[1] || '';
|
|
1353
1366
|
value = isLocalizedNumber ? value : this.transformNumber(value);
|
|
1354
1367
|
}
|
|
@@ -1363,7 +1376,7 @@ let NumberLocale = class NumberLocale extends BaseInput {
|
|
|
1363
1376
|
model = NaN;
|
|
1364
1377
|
}
|
|
1365
1378
|
// On keypress, if the user types a decimal and is still active on the input do not throw error.
|
|
1366
|
-
if (
|
|
1379
|
+
if (isNaN(model) && strVal[strVal.length - 1] === this.DECIMAL && this.ngModelOptions.updateOn === 'change' && this.$element.find('input:focus').length) {
|
|
1367
1380
|
this.lastValIsDecimal = true;
|
|
1368
1381
|
}
|
|
1369
1382
|
// get a valid number form the text.
|
|
@@ -1399,7 +1412,7 @@ let NumberLocale = class NumberLocale extends BaseInput {
|
|
|
1399
1412
|
*/
|
|
1400
1413
|
isValid(val) {
|
|
1401
1414
|
// id number is infinite then consider it as invalid value
|
|
1402
|
-
if (
|
|
1415
|
+
if (isNaN(val) || !isFinite(val) || (!Number.isInteger(this.step) &&
|
|
1403
1416
|
this.countDecimals(val) > this.countDecimals(this.step))) {
|
|
1404
1417
|
this.isInvalidNumber = true;
|
|
1405
1418
|
return false;
|
|
@@ -1417,11 +1430,11 @@ let NumberLocale = class NumberLocale extends BaseInput {
|
|
|
1417
1430
|
* @returns {number}
|
|
1418
1431
|
*/
|
|
1419
1432
|
getValueInRange(value) {
|
|
1420
|
-
if (!
|
|
1433
|
+
if (!isNaN(this.minvalue) && value < this.minvalue) {
|
|
1421
1434
|
this.validateType = 'minvalue';
|
|
1422
1435
|
return this.minvalue;
|
|
1423
1436
|
}
|
|
1424
|
-
if (!
|
|
1437
|
+
if (!isNaN(this.maxvalue) && value > this.maxvalue) {
|
|
1425
1438
|
this.validateType = 'maxvalue';
|
|
1426
1439
|
return this.maxvalue;
|
|
1427
1440
|
}
|
|
@@ -1550,7 +1563,7 @@ let NumberLocale = class NumberLocale extends BaseInput {
|
|
|
1550
1563
|
const valInWholeNum = parseInt(value.toString().replace(/\D/g, ''));
|
|
1551
1564
|
financialVal = valInWholeNum * this.step;
|
|
1552
1565
|
}
|
|
1553
|
-
if (!
|
|
1566
|
+
if (!isNaN(financialVal)) {
|
|
1554
1567
|
// When update on key is set keypress, update the datavalue else update only the display value
|
|
1555
1568
|
if (this.ngModelOptions.updateOn === 'change') {
|
|
1556
1569
|
this.datavalue = parseFloat(financialVal.toFixed(stepVal));
|
|
@@ -1610,7 +1623,7 @@ let NumberLocale = class NumberLocale extends BaseInput {
|
|
|
1610
1623
|
const targetVal = $event.target.value.replace(/,/g, '');
|
|
1611
1624
|
// proxyModel to be updated from $event.target.value if present to support arrow keys when input changes else pick up from this.proxymodel
|
|
1612
1625
|
let proxyModel;
|
|
1613
|
-
if (targetVal && !
|
|
1626
|
+
if (targetVal && !isNaN(parseFloat(targetVal))) {
|
|
1614
1627
|
proxyModel = parseFloat(targetVal);
|
|
1615
1628
|
}
|
|
1616
1629
|
else {
|
|
@@ -1621,14 +1634,14 @@ let NumberLocale = class NumberLocale extends BaseInput {
|
|
|
1621
1634
|
if (this.numberNotInRange) {
|
|
1622
1635
|
const inputValue = this.parseNumber(this.inputEl.nativeElement.value);
|
|
1623
1636
|
// take the textbox value as current model if the value is valid.
|
|
1624
|
-
if (!
|
|
1637
|
+
if (!isNaN(inputValue)) {
|
|
1625
1638
|
value = this.getValueInRange(inputValue);
|
|
1626
1639
|
proxyModel = inputValue;
|
|
1627
1640
|
this.resetValidations();
|
|
1628
1641
|
}
|
|
1629
1642
|
}
|
|
1630
1643
|
else {
|
|
1631
|
-
if (
|
|
1644
|
+
if (isUndefined(proxyModel) || isNull(proxyModel)) {
|
|
1632
1645
|
proxyModel = value = this.getValueInRange((this.minvalue || 0));
|
|
1633
1646
|
this.resetValidations();
|
|
1634
1647
|
}
|
|
@@ -1639,7 +1652,7 @@ let NumberLocale = class NumberLocale extends BaseInput {
|
|
|
1639
1652
|
if ((key === 'UP' && proxyModel <= value) || (key === 'DOWN' && proxyModel >= value)) {
|
|
1640
1653
|
const decimalRoundValue = Math.max(this.countDecimals(proxyModel), this.countDecimals(this.step));
|
|
1641
1654
|
// update the modelProxy.
|
|
1642
|
-
this.proxyModel =
|
|
1655
|
+
this.proxyModel = round(value, decimalRoundValue);
|
|
1643
1656
|
this.updateDisplayText();
|
|
1644
1657
|
this.handleChange(this.proxyModel);
|
|
1645
1658
|
}
|
|
@@ -1674,7 +1687,7 @@ let NumberLocale = class NumberLocale extends BaseInput {
|
|
|
1674
1687
|
validateInputEntry($event) {
|
|
1675
1688
|
this.isDefaultQuery = false;
|
|
1676
1689
|
// allow actions if control key is pressed or if backspace is pressed. (for Mozilla).
|
|
1677
|
-
if ($event.ctrlKey ||
|
|
1690
|
+
if ($event.ctrlKey || includes(['Backspace', 'ArrowRight', 'ArrowLeft', 'Tab', 'Enter', 'Delete'], $event.key)) {
|
|
1678
1691
|
return;
|
|
1679
1692
|
}
|
|
1680
1693
|
const validity = new RegExp(`^[\\d\\s-,.e+${this.GROUP}${this.DECIMAL}]$`, 'i');
|
|
@@ -1705,18 +1718,18 @@ let NumberLocale = class NumberLocale extends BaseInput {
|
|
|
1705
1718
|
return false;
|
|
1706
1719
|
}
|
|
1707
1720
|
// comma cannot be entered consecutively
|
|
1708
|
-
if (
|
|
1721
|
+
if (includes(inputValue, ',') && inputValue[inputValue.length - 1] === ',' && $event.key === ',') {
|
|
1709
1722
|
return false;
|
|
1710
1723
|
}
|
|
1711
1724
|
// a decimal value can be entered only once in the input.
|
|
1712
|
-
if (
|
|
1725
|
+
if (includes(inputValue, this.DECIMAL) && $event.key === this.DECIMAL) {
|
|
1713
1726
|
return false;
|
|
1714
1727
|
}
|
|
1715
1728
|
// 'e' can be entered only once in the input.
|
|
1716
|
-
if (
|
|
1729
|
+
if (intersection(toArray(inputValue), ['e', 'E']).length && includes('eE', $event.key)) {
|
|
1717
1730
|
return false;
|
|
1718
1731
|
}
|
|
1719
|
-
if ((
|
|
1732
|
+
if ((includes(inputValue, '+') || includes(inputValue, '-')) && ($event.key === '+' || $event.key === '-')) {
|
|
1720
1733
|
return false;
|
|
1721
1734
|
}
|
|
1722
1735
|
// Do not allow user to enter only space without any input value
|
|
@@ -2028,7 +2041,7 @@ class RadiosetComponent extends DatasetAwareFormComponent {
|
|
|
2028
2041
|
return callback();
|
|
2029
2042
|
});
|
|
2030
2043
|
}
|
|
2031
|
-
else if (!
|
|
2044
|
+
else if (!includes(['change'], eventName)) {
|
|
2032
2045
|
super.handleEvent(node, eventName, callback, locals);
|
|
2033
2046
|
}
|
|
2034
2047
|
}
|
|
@@ -2074,7 +2087,7 @@ class RadiosetComponent extends DatasetAwareFormComponent {
|
|
|
2074
2087
|
}, {
|
|
2075
2088
|
type: Optional
|
|
2076
2089
|
}] }], null); })();
|
|
2077
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(RadiosetComponent, { className: "RadiosetComponent", filePath: "radioset/radioset.component.ts", lineNumber:
|
|
2090
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(RadiosetComponent, { className: "RadiosetComponent", filePath: "radioset/radioset.component.ts", lineNumber: 26 }); })();
|
|
2078
2091
|
|
|
2079
2092
|
const selectProps = new Map([
|
|
2080
2093
|
['autofocus', PROP_BOOLEAN],
|
|
@@ -2170,7 +2183,7 @@ class SelectComponent extends DatasetAwareFormComponent {
|
|
|
2170
2183
|
}
|
|
2171
2184
|
// Change event is registered from the template, Prevent the framework from registering one more event
|
|
2172
2185
|
handleEvent(node, eventName, eventCallback, locals) {
|
|
2173
|
-
if (!
|
|
2186
|
+
if (!includes(['blur', 'change'], eventName)) {
|
|
2174
2187
|
super.handleEvent(this.selectEl.nativeElement, eventName, eventCallback, locals);
|
|
2175
2188
|
}
|
|
2176
2189
|
}
|
|
@@ -2297,7 +2310,7 @@ class SelectComponent extends DatasetAwareFormComponent {
|
|
|
2297
2310
|
type: ViewChild,
|
|
2298
2311
|
args: ['select', { static: true, read: ElementRef }]
|
|
2299
2312
|
}] }); })();
|
|
2300
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SelectComponent, { className: "SelectComponent", filePath: "select/select.component.ts", lineNumber:
|
|
2313
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SelectComponent, { className: "SelectComponent", filePath: "select/select.component.ts", lineNumber: 22 }); })();
|
|
2301
2314
|
|
|
2302
2315
|
const switchProps = new Map([
|
|
2303
2316
|
['class', PROP_STRING],
|
|
@@ -2362,7 +2375,7 @@ class SwitchComponent extends DatasetAwareFormComponent {
|
|
|
2362
2375
|
constructor(inj, explicitContext) {
|
|
2363
2376
|
super(inj, WIDGET_CONFIG$6, explicitContext);
|
|
2364
2377
|
this.options = [];
|
|
2365
|
-
this._debounceSetSelectedValue = debounce((val) => {
|
|
2378
|
+
this._debounceSetSelectedValue = debounce$1((val) => {
|
|
2366
2379
|
this.setSelectedValue();
|
|
2367
2380
|
this.updateHighlighter(val);
|
|
2368
2381
|
// only for default value trigger app digest to apply the selectedItem
|
|
@@ -2392,7 +2405,7 @@ class SwitchComponent extends DatasetAwareFormComponent {
|
|
|
2392
2405
|
// This function sets the selectedItem by either using compareby fields or selected flag on datasetItems.
|
|
2393
2406
|
setSelectedValue() {
|
|
2394
2407
|
if (isDefined(this.datavalue) || isDefined(this.toBeProcessedDatavalue)) {
|
|
2395
|
-
this.selectedItem =
|
|
2408
|
+
this.selectedItem = find(this.datasetItems, { selected: true });
|
|
2396
2409
|
return;
|
|
2397
2410
|
}
|
|
2398
2411
|
// If no value is provided, set first value as default if options are available else set -1 ie no selection
|
|
@@ -2411,7 +2424,7 @@ class SwitchComponent extends DatasetAwareFormComponent {
|
|
|
2411
2424
|
updateHighlighter(skipAnimation) {
|
|
2412
2425
|
const handler = $(this.nativeElement).find('span.app-switch-overlay');
|
|
2413
2426
|
this.setSelectedValue();
|
|
2414
|
-
let left, index = this.selectedItem ?
|
|
2427
|
+
let left, index = this.selectedItem ? findIndex(this.datasetItems, { key: this.selectedItem.key }) : -1;
|
|
2415
2428
|
if (index === undefined || index === null) {
|
|
2416
2429
|
index = -1;
|
|
2417
2430
|
}
|
|
@@ -2441,7 +2454,7 @@ class SwitchComponent extends DatasetAwareFormComponent {
|
|
|
2441
2454
|
}
|
|
2442
2455
|
this.modelByKey = option.key;
|
|
2443
2456
|
this.invokeOnTouched();
|
|
2444
|
-
if (this.selectedItem && $index ===
|
|
2457
|
+
if (this.selectedItem && $index === findIndex(this.datasetItems, { key: this.selectedItem.key })) {
|
|
2445
2458
|
if (this.datasetItems.length === 2) {
|
|
2446
2459
|
$index = $index === 1 ? 0 : 1;
|
|
2447
2460
|
}
|
|
@@ -2501,7 +2514,7 @@ class SwitchComponent extends DatasetAwareFormComponent {
|
|
|
2501
2514
|
}, {
|
|
2502
2515
|
type: Optional
|
|
2503
2516
|
}] }], null); })();
|
|
2504
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SwitchComponent, { className: "SwitchComponent", filePath: "switch/switch.component.ts", lineNumber:
|
|
2517
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SwitchComponent, { className: "SwitchComponent", filePath: "switch/switch.component.ts", lineNumber: 25 }); })();
|
|
2505
2518
|
|
|
2506
2519
|
const inputCalendarTypeProps = new Map([
|
|
2507
2520
|
['autocomplete', { value: true, ...PROP_BOOLEAN }],
|
|
@@ -3020,7 +3033,7 @@ class InputTextComponent extends BaseInput {
|
|
|
3020
3033
|
type: ViewChild,
|
|
3021
3034
|
args: ['input', { read: IMaskDirective }]
|
|
3022
3035
|
}] }); })();
|
|
3023
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(InputTextComponent, { className: "InputTextComponent", filePath: "text/text/input-text.component.ts", lineNumber:
|
|
3036
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(InputTextComponent, { className: "InputTextComponent", filePath: "text/text/input-text.component.ts", lineNumber: 23 }); })();
|
|
3024
3037
|
|
|
3025
3038
|
const textareaProps = new Map([
|
|
3026
3039
|
['autofocus', PROP_BOOLEAN],
|
|
@@ -3132,7 +3145,7 @@ class CaptionPositionDirective {
|
|
|
3132
3145
|
let mobileInputVal;
|
|
3133
3146
|
// In case of mobile date / time picker check for input element's value which has 'mobile-input' class
|
|
3134
3147
|
if (this.inputEl.length > 1 && this.inputEl.hasClass('mobile-input')) {
|
|
3135
|
-
|
|
3148
|
+
forEach(this.inputEl, (el) => {
|
|
3136
3149
|
if ($(el).hasClass('mobile-input') && el.value) {
|
|
3137
3150
|
mobileInputVal = el.value;
|
|
3138
3151
|
}
|
|
@@ -3363,5 +3376,5 @@ class InputModule {
|
|
|
3363
3376
|
* Generated bundle index. Do not edit.
|
|
3364
3377
|
*/
|
|
3365
3378
|
|
|
3366
|
-
export { BaseFormComponent, BaseFormCustomComponent, ButtonComponent, ButtonGroupDirective, CaptionPositionDirective, CheckboxComponent, CheckboxsetComponent, CompositeDirective, DatasetAwareFormComponent, InputCalendarComponent, InputColorComponent, InputEmailComponent, InputModule, InputNumberComponent, InputTextComponent, NumberComponent, NumberLocale, RadiosetComponent, SelectComponent, SwitchComponent, TextareaComponent };
|
|
3379
|
+
export { BaseFormComponent, BaseFormCustomComponent, ButtonComponent, ButtonGroupDirective, CaptionPositionDirective, CheckboxComponent, CheckboxsetComponent, CompositeDirective, DatasetAwareFormComponent, InputCalendarComponent, InputColorComponent, InputEmailComponent, InputModule, InputNumberComponent, InputTextComponent, NumberComponent, NumberLocale, RadiosetComponent, SelectComponent, SwitchComponent, TextareaComponent, unStringify };
|
|
3367
3380
|
//# sourceMappingURL=index.mjs.map
|