@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
|
@@ -220,7 +220,7 @@ export declare abstract class BaseDateTimeComponent extends BaseFormCustomCompon
|
|
|
220
220
|
getMobileInput(): HTMLElement;
|
|
221
221
|
onDateTimeInputBlur(): void;
|
|
222
222
|
onDateTimeInputFocus(skipFocus?: boolean): void;
|
|
223
|
-
getCordovaPluginDatePickerApi():
|
|
223
|
+
getCordovaPluginDatePickerApi(): undefined;
|
|
224
224
|
/**
|
|
225
225
|
* This method sets the mouse events to Datepicker popup. These events are required when we navigate date picker through mouse.
|
|
226
226
|
*/
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('@angular/forms'), require('ngx-bootstrap/datepicker'), require('ngx-bootstrap/dropdown'), require('ngx-bootstrap/timepicker'), require('@wm/components/base'), require('@wm/core'), require('@wm/components/input'), require('ngx-bootstrap/modal'), require('imask'), require('angular-imask')) :
|
|
3
|
-
typeof define === 'function' && define.amd ? define(['exports', '@angular/core', '@angular/common', '@angular/forms', 'ngx-bootstrap/datepicker', 'ngx-bootstrap/dropdown', 'ngx-bootstrap/timepicker', '@wm/components/base', '@wm/core', '@wm/components/input', 'ngx-bootstrap/modal', 'imask', 'angular-imask'], factory) :
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.wm = global.wm || {}, global.wm.components = global.wm.components || {}, global.wm.components.input = global.wm.components.input || {}, global.wm.components.input.epoch = {}), global.ng.core, global.ng.common, global.ng.forms, global.datepicker, global.dropdown, global.timepicker, global.wm.components.base, global.wm.core, global.wm.components.input, global.modal, global.IMask, global.angularIMask));
|
|
5
|
-
})(this, (function (exports, i0, i2, i5, i3, i4$1, i6, base, i1$1, input, i1, IMask, i4) { 'use strict';
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('@angular/forms'), require('ngx-bootstrap/datepicker'), require('ngx-bootstrap/dropdown'), require('ngx-bootstrap/timepicker'), require('@wm/components/base'), require('@wm/core'), require('@wm/components/input'), require('ngx-bootstrap/modal'), require('lodash-es'), require('imask'), require('angular-imask')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define(['exports', '@angular/core', '@angular/common', '@angular/forms', 'ngx-bootstrap/datepicker', 'ngx-bootstrap/dropdown', 'ngx-bootstrap/timepicker', '@wm/components/base', '@wm/core', '@wm/components/input', 'ngx-bootstrap/modal', 'lodash-es', 'imask', 'angular-imask'], factory) :
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.wm = global.wm || {}, global.wm.components = global.wm.components || {}, global.wm.components.input = global.wm.components.input || {}, global.wm.components.input.epoch = {}), global.ng.core, global.ng.common, global.ng.forms, global.datepicker, global.dropdown, global.timepicker, global.wm.components.base, global.wm.core, global.wm.components.input, global.modal, global._, global.IMask, global.angularIMask));
|
|
5
|
+
})(this, (function (exports, i0, i2, i5, i3, i4$1, i6, base, i1$1, input, i1, lodashEs, IMask, i4) { 'use strict';
|
|
6
6
|
|
|
7
7
|
function _interopNamespaceDefault(e) {
|
|
8
8
|
var n = Object.create(null);
|
|
@@ -351,7 +351,7 @@
|
|
|
351
351
|
*/
|
|
352
352
|
hightlightToday() {
|
|
353
353
|
const toDay = new Date().getDate().toString();
|
|
354
|
-
|
|
354
|
+
lodashEs.filter($(`body > modal-container .date-picker-modal span:contains(${toDay})`)
|
|
355
355
|
.not('.is-other-month,.current-date'), (obj) => {
|
|
356
356
|
if ($(obj).text() === toDay) {
|
|
357
357
|
$(obj).addClass('current-date text-info');
|
|
@@ -530,7 +530,7 @@
|
|
|
530
530
|
}], displayFormat: [{
|
|
531
531
|
type: i0.Input
|
|
532
532
|
}] }); })();
|
|
533
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassDebugInfo(DateTimePickerComponent, { className: "DateTimePickerComponent", filePath: "date-time/date-time-picker.component.ts", lineNumber:
|
|
533
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassDebugInfo(DateTimePickerComponent, { className: "DateTimePickerComponent", filePath: "date-time/date-time-picker.component.ts", lineNumber: 54 }); })();
|
|
534
534
|
class TimePickerComponent {
|
|
535
535
|
constructor(inj) {
|
|
536
536
|
this.inj = inj;
|
|
@@ -654,7 +654,7 @@
|
|
|
654
654
|
}], change: [{
|
|
655
655
|
type: i0.Output
|
|
656
656
|
}] }); })();
|
|
657
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassDebugInfo(TimePickerComponent, { className: "TimePickerComponent", filePath: "date-time/date-time-picker.component.ts", lineNumber:
|
|
657
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassDebugInfo(TimePickerComponent, { className: "TimePickerComponent", filePath: "date-time/date-time-picker.component.ts", lineNumber: 305 }); })();
|
|
658
658
|
|
|
659
659
|
const CURRENT_DATE$2 = 'CURRENT_DATE';
|
|
660
660
|
const months = ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'];
|
|
@@ -731,14 +731,14 @@
|
|
|
731
731
|
}
|
|
732
732
|
};
|
|
733
733
|
}
|
|
734
|
-
if (!
|
|
734
|
+
if (!lodashEs.isUndefined(this.dateNotInRange) && this.dateNotInRange) {
|
|
735
735
|
return {
|
|
736
736
|
dateNotInRange: {
|
|
737
737
|
valid: false
|
|
738
738
|
},
|
|
739
739
|
};
|
|
740
740
|
}
|
|
741
|
-
if (!
|
|
741
|
+
if (!lodashEs.isUndefined(this.timeNotInRange) && this.timeNotInRange) {
|
|
742
742
|
return {
|
|
743
743
|
timeNotInRange: {
|
|
744
744
|
valid: false
|
|
@@ -763,7 +763,7 @@
|
|
|
763
763
|
inputVal = inputVal.trim();
|
|
764
764
|
if (inputVal) {
|
|
765
765
|
if (pattern === 'timestamp') {
|
|
766
|
-
if (!
|
|
766
|
+
if (!lodashEs.isNaN(inputVal) && lodashEs.parseInt(inputVal) !== formattedDate) {
|
|
767
767
|
this.invalidDateTimeFormat = true;
|
|
768
768
|
this.validateType = 'incorrectformat';
|
|
769
769
|
this.invokeOnChange(this.datavalue, undefined, false);
|
|
@@ -818,8 +818,8 @@
|
|
|
818
818
|
}
|
|
819
819
|
if (this.excludedates) {
|
|
820
820
|
let excludeDatesArray;
|
|
821
|
-
if (
|
|
822
|
-
excludeDatesArray =
|
|
821
|
+
if (lodashEs.isString(this.excludedates)) {
|
|
822
|
+
excludeDatesArray = lodashEs.split(this.excludedates, ',');
|
|
823
823
|
}
|
|
824
824
|
else {
|
|
825
825
|
excludeDatesArray = this.excludedates;
|
|
@@ -833,8 +833,8 @@
|
|
|
833
833
|
}
|
|
834
834
|
}
|
|
835
835
|
if (this.excludedays) {
|
|
836
|
-
const excludeDaysArray =
|
|
837
|
-
const day =
|
|
836
|
+
const excludeDaysArray = lodashEs.split(this.excludedays, ',');
|
|
837
|
+
const day = lodashEs.get(dateTimeVal, 'getDay') ? dateTimeVal.getDay() : dateTimeVal;
|
|
838
838
|
if (excludeDaysArray.indexOf(day.toString()) > -1) {
|
|
839
839
|
this.dateNotInRange = true;
|
|
840
840
|
this.validateType = 'excludedays';
|
|
@@ -855,10 +855,10 @@
|
|
|
855
855
|
const activeMonth = $(`.bs-datepicker-head .current`).first().text();
|
|
856
856
|
const activeYear = $(".bs-datepicker-head .current").eq(1).text();
|
|
857
857
|
const month = new Date(newDate).toLocaleString('default', { month: 'long' });
|
|
858
|
-
|
|
859
|
-
if (activeMonth == month && activeYear ==
|
|
860
|
-
const toDay =
|
|
861
|
-
|
|
858
|
+
newDate.getFullYear().toString();
|
|
859
|
+
if (activeMonth == month && activeYear == new Date().getFullYear() && newDate.getDate() === new Date().getDate() && newDate.getMonth() === new Date().getMonth() && newDate.getFullYear() === new Date().getFullYear()) {
|
|
860
|
+
const toDay = new Date().getDate().toString();
|
|
861
|
+
lodashEs.filter($(`span:contains(${toDay})`).not('.is-other-month'), (obj) => {
|
|
862
862
|
if ($(obj).text() === toDay) {
|
|
863
863
|
$(obj).addClass('current-date text-info');
|
|
864
864
|
}
|
|
@@ -923,7 +923,7 @@
|
|
|
923
923
|
}
|
|
924
924
|
setTimeout(() => {
|
|
925
925
|
const newDay = newDate.getDate().toString();
|
|
926
|
-
|
|
926
|
+
lodashEs.filter($(`span:contains(${newDay})`).not('.is-other-month'), (obj) => {
|
|
927
927
|
const activeMonth = $(`.bs-datepicker-head .current`).first().text();
|
|
928
928
|
const activeYear = $(".bs-datepicker-head .current").eq(1).text();
|
|
929
929
|
const monthName = new Date().toLocaleString('default', { month: 'long' });
|
|
@@ -962,10 +962,10 @@
|
|
|
962
962
|
const activeMonthOrYear = $(`.bs-datepicker-head .current`).first().text();
|
|
963
963
|
const datePickerBody = $('.bs-datepicker-body');
|
|
964
964
|
if (datePickerBody.find('table.months').length > 0) {
|
|
965
|
-
if (
|
|
965
|
+
if (lodashEs.parseInt(activeMonthOrYear) !== this.activeDate.getFullYear()) {
|
|
966
966
|
this.loadMonths();
|
|
967
967
|
}
|
|
968
|
-
const newDate = new Date(
|
|
968
|
+
const newDate = new Date(lodashEs.parseInt(activeMonthOrYear), this.activeDate.getMonth(), this.activeDate.getDate());
|
|
969
969
|
this.setActiveMonthFocus(newDate, true);
|
|
970
970
|
}
|
|
971
971
|
else if (datePickerBody.find('table.days').length > 0) {
|
|
@@ -1004,7 +1004,7 @@
|
|
|
1004
1004
|
else if (datePickerBody.find('table.years').length > 0) {
|
|
1005
1005
|
this.loadYears();
|
|
1006
1006
|
const startYear = datePickerBody.find('table.years span').first().text();
|
|
1007
|
-
const newDate = new Date(
|
|
1007
|
+
const newDate = new Date(lodashEs.parseInt(startYear), this.activeDate.getMonth(), this.activeDate.getDate());
|
|
1008
1008
|
this.setActiveYearFocus(newDate, true);
|
|
1009
1009
|
}
|
|
1010
1010
|
else if (datePickerBody.find('table.days').length > 0) {
|
|
@@ -1236,10 +1236,10 @@
|
|
|
1236
1236
|
const endYear = datePickerYears.last().text();
|
|
1237
1237
|
// check for keyboard event
|
|
1238
1238
|
if (!isMouseEvent) {
|
|
1239
|
-
if (newDate.getFullYear() <
|
|
1239
|
+
if (newDate.getFullYear() < lodashEs.parseInt(startYear)) {
|
|
1240
1240
|
this.goToOtherMonthOryear('previous', 'year');
|
|
1241
1241
|
}
|
|
1242
|
-
else if (newDate.getFullYear() >
|
|
1242
|
+
else if (newDate.getFullYear() > lodashEs.parseInt(endYear)) {
|
|
1243
1243
|
this.goToOtherMonthOryear('next', 'year');
|
|
1244
1244
|
}
|
|
1245
1245
|
}
|
|
@@ -1321,7 +1321,8 @@
|
|
|
1321
1321
|
// WMS-19382: update minutes and seconds to 0 when we enter hour value
|
|
1322
1322
|
inputFields.first().on('keyup', evt => {
|
|
1323
1323
|
const hourValue = evt.target.value;
|
|
1324
|
-
|
|
1324
|
+
lodashEs.forEach(inputFields, (field, index) => {
|
|
1325
|
+
// @ts-ignore
|
|
1325
1326
|
if (evt.target !== field && field.value === '' && hourValue.length) {
|
|
1326
1327
|
const fieldName = index === 1 ? 'minutes' : 'seconds';
|
|
1327
1328
|
this.updateTimeValue($el, hourValue, fieldName);
|
|
@@ -1414,12 +1415,12 @@
|
|
|
1414
1415
|
updateFormat(pattern) {
|
|
1415
1416
|
if (pattern === 'datepattern') {
|
|
1416
1417
|
this._dateOptions.dateInputFormat = this.datepattern;
|
|
1417
|
-
this.showseconds =
|
|
1418
|
-
this.ismeridian =
|
|
1418
|
+
this.showseconds = lodashEs.includes(this.datepattern, 's');
|
|
1419
|
+
this.ismeridian = lodashEs.includes(this.datepattern, 'h');
|
|
1419
1420
|
}
|
|
1420
1421
|
else if (pattern === 'timepattern') {
|
|
1421
|
-
this.showseconds =
|
|
1422
|
-
this.ismeridian =
|
|
1422
|
+
this.showseconds = lodashEs.includes(this.timepattern, 's');
|
|
1423
|
+
this.ismeridian = lodashEs.includes(this.timepattern, 'h');
|
|
1423
1424
|
}
|
|
1424
1425
|
}
|
|
1425
1426
|
getMobileInput() {
|
|
@@ -1457,15 +1458,15 @@
|
|
|
1457
1458
|
}
|
|
1458
1459
|
getCordovaPluginDatePickerApi() {
|
|
1459
1460
|
if (i1$1.isIos()) {
|
|
1460
|
-
return
|
|
1461
|
+
return lodashEs.get(window, 'cordova.wavemaker.datePicker.selectDate');
|
|
1461
1462
|
}
|
|
1462
1463
|
}
|
|
1463
1464
|
/**
|
|
1464
1465
|
* This method sets the mouse events to Datepicker popup. These events are required when we navigate date picker through mouse.
|
|
1465
1466
|
*/
|
|
1466
1467
|
addDatepickerMouseEvents() {
|
|
1467
|
-
$(".bs-datepicker-head .previous span").attr("aria-hidden", true);
|
|
1468
|
-
$(".bs-datepicker-head .next span").attr("aria-hidden", true);
|
|
1468
|
+
$(".bs-datepicker-head .previous span").attr("aria-hidden", 'true');
|
|
1469
|
+
$(".bs-datepicker-head .next span").attr("aria-hidden", 'true');
|
|
1469
1470
|
$(".bs-datepicker-head").on("click", ".previous", (event) => {
|
|
1470
1471
|
this.next = this.getMonth(this.activeDate, 0);
|
|
1471
1472
|
this.prev = this.getMonth(this.activeDate, -2);
|
|
@@ -1476,8 +1477,8 @@
|
|
|
1476
1477
|
}
|
|
1477
1478
|
var prevMon = this.getMonth(this.activeDate, -1);
|
|
1478
1479
|
setTimeout(() => {
|
|
1479
|
-
$(".bs-datepicker-head .previous span").attr("aria-hidden", true);
|
|
1480
|
-
$(".bs-datepicker-head .next span").attr("aria-hidden", true);
|
|
1480
|
+
$(".bs-datepicker-head .previous span").attr("aria-hidden", 'true');
|
|
1481
|
+
$(".bs-datepicker-head .next span").attr("aria-hidden", 'true');
|
|
1481
1482
|
$(".bs-datepicker-head .next").attr('aria-label', `Next Month, ${this.next.fullMonth} ${this.next.date.getFullYear()}`);
|
|
1482
1483
|
$(".bs-datepicker-head .previous").attr('aria-label', `Previous Month, ${this.prev.fullMonth} ${this.prev.date.getFullYear()}`);
|
|
1483
1484
|
$('.bs-datepicker-head .current').first().append(`<h2 aria-hidden="false" aria-atomic="true" aria-live='polite' class="sr-only">Changed to Previous Month, ${prevMon.fullMonth} and year ${prevMon.date.getFullYear()}</h2>`);
|
|
@@ -1497,8 +1498,8 @@
|
|
|
1497
1498
|
}
|
|
1498
1499
|
var nextMon = this.getMonth(this.activeDate, 1);
|
|
1499
1500
|
setTimeout(() => {
|
|
1500
|
-
$(".bs-datepicker-head .previous span").attr("aria-hidden", true);
|
|
1501
|
-
$(".bs-datepicker-head .next span").attr("aria-hidden", true);
|
|
1501
|
+
$(".bs-datepicker-head .previous span").attr("aria-hidden", 'true');
|
|
1502
|
+
$(".bs-datepicker-head .next span").attr("aria-hidden", 'true');
|
|
1502
1503
|
$(".bs-datepicker-head .next").attr('aria-label', `Next Month, ${this.next.fullMonth} ${this.next.date.getFullYear()}`);
|
|
1503
1504
|
$(".bs-datepicker-head .previous").attr('aria-label', `Previous Month, ${this.prev.fullMonth} ${this.prev.date.getFullYear()}`);
|
|
1504
1505
|
$('.bs-datepicker-head .current').first().append(`<h2 aria-hidden="false" aria-atomic="true" aria-live='polite' class="sr-only">Changed to Next Month, ${nextMon.fullMonth} and year ${nextMon.date.getFullYear()}</h2>`);
|
|
@@ -1556,14 +1557,15 @@
|
|
|
1556
1557
|
}
|
|
1557
1558
|
else if (key === 'excludedates' || key === 'excludedays') {
|
|
1558
1559
|
if (this.excludedays) {
|
|
1559
|
-
this.excludedDaysToDisable =
|
|
1560
|
+
this.excludedDaysToDisable = lodashEs.split(this.excludedays, ',').map((day) => {
|
|
1560
1561
|
return +day;
|
|
1561
1562
|
});
|
|
1562
1563
|
}
|
|
1563
1564
|
if (this.excludedates) {
|
|
1564
1565
|
this.excludedDatesToDisable = this.excludedates;
|
|
1565
|
-
if (
|
|
1566
|
-
|
|
1566
|
+
if (lodashEs.isString(this.excludedates)) {
|
|
1567
|
+
// @ts-ignore
|
|
1568
|
+
this.excludedDatesToDisable = lodashEs.split(this.excludedates, ',');
|
|
1567
1569
|
}
|
|
1568
1570
|
this.excludedDatesToDisable = this.excludedDatesToDisable.map(d => i1$1.getDateObj(d));
|
|
1569
1571
|
}
|
|
@@ -1974,7 +1976,7 @@
|
|
|
1974
1976
|
}
|
|
1975
1977
|
// change and blur events are added from the template
|
|
1976
1978
|
handleEvent(node, eventName, callback, locals) {
|
|
1977
|
-
if (!
|
|
1979
|
+
if (!lodashEs.includes(['blur', 'focus', 'change', 'click'], eventName)) {
|
|
1978
1980
|
super.handleEvent(node, eventName, callback, locals);
|
|
1979
1981
|
}
|
|
1980
1982
|
}
|
|
@@ -2023,7 +2025,7 @@
|
|
|
2023
2025
|
const formattedDate = i1$1.getFormattedDate(this.datePipe, newVal, this.dateInputFormat, this.timeZone, null, this.isCurrentDate, this);
|
|
2024
2026
|
const inputVal = event.target.value.trim();
|
|
2025
2027
|
if (inputVal && this.datepattern === 'timestamp') {
|
|
2026
|
-
if (!
|
|
2028
|
+
if (!lodashEs.isNaN(inputVal) && lodashEs.parseInt(inputVal) !== formattedDate) {
|
|
2027
2029
|
this.invalidDateTimeFormat = true;
|
|
2028
2030
|
this.invokeOnChange(this.datavalue, event, false);
|
|
2029
2031
|
}
|
|
@@ -2137,7 +2139,7 @@
|
|
|
2137
2139
|
type: i0.ViewChild,
|
|
2138
2140
|
args: ['dateInput', { read: i4.IMaskDirective }]
|
|
2139
2141
|
}] }); })();
|
|
2140
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassDebugInfo(DateComponent, { className: "DateComponent", filePath: "date/date.component.ts", lineNumber:
|
|
2142
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassDebugInfo(DateComponent, { className: "DateComponent", filePath: "date/date.component.ts", lineNumber: 43 }); })();
|
|
2141
2143
|
|
|
2142
2144
|
const dateTimeProps = new Map([
|
|
2143
2145
|
['autofocus', base.PROP_BOOLEAN],
|
|
@@ -2276,7 +2278,7 @@
|
|
|
2276
2278
|
* This property is set to TRUE if the time component value is set to CURRENT_TIME; In this case the timer keeps changing the time value until the widget is available.
|
|
2277
2279
|
*/
|
|
2278
2280
|
this.isCurrentDate = false;
|
|
2279
|
-
this._debouncedOnChange =
|
|
2281
|
+
this._debouncedOnChange = lodashEs.debounce(this.invokeOnChange, 10);
|
|
2280
2282
|
this.registerDestroyListener(() => this.clearTimeInterval());
|
|
2281
2283
|
base.styler(this.nativeElement, this);
|
|
2282
2284
|
this.app = app;
|
|
@@ -2357,7 +2359,7 @@
|
|
|
2357
2359
|
onTimepickerOpen() {
|
|
2358
2360
|
// adding class for time widget dropdown menu
|
|
2359
2361
|
const tpElements = document.querySelectorAll('timepicker');
|
|
2360
|
-
|
|
2362
|
+
lodashEs.forEach(tpElements, (element) => {
|
|
2361
2363
|
i1$1.addClass(element.parentElement, 'app-datetime', true);
|
|
2362
2364
|
});
|
|
2363
2365
|
this.bsDatePickerDirective.hide();
|
|
@@ -2556,7 +2558,7 @@
|
|
|
2556
2558
|
const formattedDate = i1$1.getFormattedDate(this.datePipe, newVal, this.dateInputFormat, this.timeZone, this.key, this.isCurrentDate, this);
|
|
2557
2559
|
const inputVal = event.target.value.trim();
|
|
2558
2560
|
if (inputVal && this.datepattern === 'timestamp') {
|
|
2559
|
-
if (!
|
|
2561
|
+
if (!lodashEs.isNaN(inputVal) && lodashEs.parseInt(inputVal) !== formattedDate) {
|
|
2560
2562
|
this.invalidDateTimeFormat = true;
|
|
2561
2563
|
this.invokeOnChange(this.datavalue, event, false);
|
|
2562
2564
|
}
|
|
@@ -2593,7 +2595,7 @@
|
|
|
2593
2595
|
}
|
|
2594
2596
|
// change and blur events are added from the template
|
|
2595
2597
|
handleEvent(node, eventName, callback, locals) {
|
|
2596
|
-
if (!
|
|
2598
|
+
if (!lodashEs.includes(['blur', 'focus', 'change', 'click'], eventName)) {
|
|
2597
2599
|
super.handleEvent(node, eventName, callback, locals);
|
|
2598
2600
|
}
|
|
2599
2601
|
}
|
|
@@ -2670,7 +2672,7 @@
|
|
|
2670
2672
|
type: i0.ViewChild,
|
|
2671
2673
|
args: [i3.BsDatepickerDirective]
|
|
2672
2674
|
}] }); })();
|
|
2673
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassDebugInfo(DatetimeComponent, { className: "DatetimeComponent", filePath: "date-time/date-time.component.ts", lineNumber:
|
|
2675
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassDebugInfo(DatetimeComponent, { className: "DatetimeComponent", filePath: "date-time/date-time.component.ts", lineNumber: 56 }); })();
|
|
2674
2676
|
|
|
2675
2677
|
const timeProps = new Map([
|
|
2676
2678
|
['autofocus', base.PROP_BOOLEAN],
|
|
@@ -2978,7 +2980,7 @@
|
|
|
2978
2980
|
}
|
|
2979
2981
|
// Change event is registered from the template, Prevent the framework from registering one more event
|
|
2980
2982
|
handleEvent(node, eventName, eventCallback, locals) {
|
|
2981
|
-
if (!
|
|
2983
|
+
if (!lodashEs.includes(['blur', 'focus', 'change', 'click'], eventName)) {
|
|
2982
2984
|
super.handleEvent(node, eventName, eventCallback, locals);
|
|
2983
2985
|
}
|
|
2984
2986
|
}
|
|
@@ -3009,7 +3011,7 @@
|
|
|
3009
3011
|
*/
|
|
3010
3012
|
onShown() {
|
|
3011
3013
|
const tpElements = document.querySelectorAll('timepicker');
|
|
3012
|
-
|
|
3014
|
+
lodashEs.forEach(tpElements, element => {
|
|
3013
3015
|
i1$1.addClass(element.parentElement, 'app-datetime', true);
|
|
3014
3016
|
});
|
|
3015
3017
|
this.focusTimePickerPopover(this);
|
|
@@ -3020,7 +3022,7 @@
|
|
|
3020
3022
|
if (!this.displayInputElem) {
|
|
3021
3023
|
this.displayInputElem = this.getMobileInput();
|
|
3022
3024
|
}
|
|
3023
|
-
this.displayInputElem.value =
|
|
3025
|
+
this.displayInputElem.value = lodashEs.get(this, 'nativeDisplayValue');
|
|
3024
3026
|
}
|
|
3025
3027
|
static { this.ɵfac = function TimeComponent_Factory(t) { return new (t || TimeComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵdirectiveInject(i0__namespace.NgZone), i0__namespace.ɵɵdirectiveInject(i1$1__namespace.AppDefaults), i0__namespace.ɵɵdirectiveInject(i1$1__namespace.App), i0__namespace.ɵɵdirectiveInject('EXPLICIT_CONTEXT', 8)); }; }
|
|
3026
3028
|
static { this.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: TimeComponent, selectors: [["", "wmTime", ""]], features: [i0__namespace.ɵɵProvidersFeature([
|
|
@@ -3066,7 +3068,7 @@
|
|
|
3066
3068
|
}, {
|
|
3067
3069
|
type: i0.Optional
|
|
3068
3070
|
}] }], null); })();
|
|
3069
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassDebugInfo(TimeComponent, { className: "TimeComponent", filePath: "time/time.component.ts", lineNumber:
|
|
3071
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassDebugInfo(TimeComponent, { className: "TimeComponent", filePath: "time/time.component.ts", lineNumber: 42 }); })();
|
|
3070
3072
|
|
|
3071
3073
|
const components = [
|
|
3072
3074
|
DateComponent,
|