@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
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/router'), require('@angular/common'), require('@wm/core'), require('@wm/security'), require('@wm/variables'), require('@wm/components/page'), require('rxjs'), require('@wm/components/base'), require('tslib'), require('@wm/components/prefab'), require('@angular/common/http'), require('@angular/platform-browser'), require('@angular/forms'), require('ngx-toastr'), require('@wm/components/dialogs'), require('@wm/components/dialogs/confirm-dialog'), require('@wm/components/dialogs/design-dialog'), require('@wm/mobile/runtime'), require('@wm/http'), require('@wm/oAuth'), require('ngx-bootstrap/chronos'), require('ngx-bootstrap/datepicker'), require('ngx-bootstrap/utils'), require('@wm/components/dialogs/alert-dialog'), require('rxjs/operators'), require('@wm/transpiler'), require('@wm/build-task'), require('@wm/components/page/footer'), require('@wm/components/page/header'), require('@wm/components/page/left-panel'), require('@wm/components/page/right-panel'), require('@wm/components/page/top-nav'), require('@wm/components/basic'), require('@wm/components/basic/progress'), require('@wm/components/basic/rich-text-editor'), require('@wm/components/basic/search'), require('@wm/components/basic/tree'), require('@wm/components/input/calendar'), require('@wm/components/input/chips'), require('@wm/components/input/color-picker'), require('@wm/components/input/currency'), require('@wm/components/input/epoch'), require('@wm/components/input/file-upload'), require('@wm/components/input'), require('@wm/components/input/rating'), require('@wm/components/input/slider'), require('@wm/components/data/card'), require('@wm/components/data/form'), require('@wm/components/data/list'), require('@wm/components/data/live-table'), require('@wm/components/data/pagination'), require('@wm/components/data/table'), require('@wm/components/chart'), require('@wm/components/containers/accordion'), require('@wm/components/containers/linear-layout'), require('@wm/components/containers/layout-grid'), require('@wm/components/containers/panel'), require('@wm/components/containers/tabs'), require('@wm/components/containers/tile'), require('@wm/components/containers/wizard'), require('@wm/components/dialogs/iframe-dialog'), require('@wm/components/dialogs/login-dialog'), require('@wm/components/dialogs/partial-dialog'), require('@wm/components/navigation/breadcrumb'), require('@wm/components/navigation/menu'), require('@wm/components/navigation/navbar'), require('@wm/components/navigation/popover'), require('@wm/components/advanced/carousel'), require('@wm/components/advanced/login'), require('@wm/components/advanced/marquee'), require('ngx-bootstrap/timepicker'), require('ngx-bootstrap/dropdown'), require('ngx-bootstrap/pagination'), require('ngx-bootstrap/typeahead'), require('ngx-bootstrap/progressbar'), require('ngx-bootstrap/carousel'), require('ngx-bootstrap/popover'), require('ng-circle-progress'), require('ngx-bootstrap/tooltip')) :
|
|
3
|
-
typeof define === 'function' && define.amd ? define(['exports', '@angular/core', '@angular/router', '@angular/common', '@wm/core', '@wm/security', '@wm/variables', '@wm/components/page', 'rxjs', '@wm/components/base', 'tslib', '@wm/components/prefab', '@angular/common/http', '@angular/platform-browser', '@angular/forms', 'ngx-toastr', '@wm/components/dialogs', '@wm/components/dialogs/confirm-dialog', '@wm/components/dialogs/design-dialog', '@wm/mobile/runtime', '@wm/http', '@wm/oAuth', 'ngx-bootstrap/chronos', 'ngx-bootstrap/datepicker', 'ngx-bootstrap/utils', '@wm/components/dialogs/alert-dialog', 'rxjs/operators', '@wm/transpiler', '@wm/build-task', '@wm/components/page/footer', '@wm/components/page/header', '@wm/components/page/left-panel', '@wm/components/page/right-panel', '@wm/components/page/top-nav', '@wm/components/basic', '@wm/components/basic/progress', '@wm/components/basic/rich-text-editor', '@wm/components/basic/search', '@wm/components/basic/tree', '@wm/components/input/calendar', '@wm/components/input/chips', '@wm/components/input/color-picker', '@wm/components/input/currency', '@wm/components/input/epoch', '@wm/components/input/file-upload', '@wm/components/input', '@wm/components/input/rating', '@wm/components/input/slider', '@wm/components/data/card', '@wm/components/data/form', '@wm/components/data/list', '@wm/components/data/live-table', '@wm/components/data/pagination', '@wm/components/data/table', '@wm/components/chart', '@wm/components/containers/accordion', '@wm/components/containers/linear-layout', '@wm/components/containers/layout-grid', '@wm/components/containers/panel', '@wm/components/containers/tabs', '@wm/components/containers/tile', '@wm/components/containers/wizard', '@wm/components/dialogs/iframe-dialog', '@wm/components/dialogs/login-dialog', '@wm/components/dialogs/partial-dialog', '@wm/components/navigation/breadcrumb', '@wm/components/navigation/menu', '@wm/components/navigation/navbar', '@wm/components/navigation/popover', '@wm/components/advanced/carousel', '@wm/components/advanced/login', '@wm/components/advanced/marquee', 'ngx-bootstrap/timepicker', 'ngx-bootstrap/dropdown', 'ngx-bootstrap/pagination', 'ngx-bootstrap/typeahead', 'ngx-bootstrap/progressbar', 'ngx-bootstrap/carousel', 'ngx-bootstrap/popover', 'ng-circle-progress', 'ngx-bootstrap/tooltip'], factory) :
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.wm = global.wm || {}, global.wm.runtime = global.wm.runtime || {}, global.wm.runtime.base = {}), global.ng.core, global.ng.router, global.ng.common, global.wm.core, global.wm.security, global.wm.variables, global.wm.components.page, global.rxjs, global.wm.components.base, global.tslib, global.wm.components.prefab, global.ng.common.http, global.ng.platformBrowser, global.ng.forms, global.ngxToastr, global.wm.components.dialogs, global.wm.components.dialogs.confirmdialog, global.wm.components.dialogs.designdialog, global.wm.mobile.runtime, global.wm.http, global.wm.oAuth, global.chronos, global.datepicker, global.utils, global.wm.components.dialogs.alertdialog, global.rxjs.operators, global.wm.transpiler, global.wm.buildTask, global.wm.components.page.footer, global.wm.components.page.header, global.wm.components.page.leftpanel, global.wm.components.page.rightpanel, global.wm.components.page.topnav, global.wm.components.basic, global.wm.components.basic.progress, global.wm.components.basic.richtexteditor, global.wm.components.basic.search, global.wm.components.basic.tree, global.wm.components.input.calendar, global.wm.components.input.chips, global.wm.components.input.colorpicker, global.wm.components.input.currency, global.wm.components.input.epoch, global.wm.components.input.fileupload, global.wm.components.input, global.wm.components.input.rating, global.wm.components.input.slider, global.wm.components.data.card, global.wm.components.data.form, global.wm.components.data.list, global.wm.components.data.livetable, global.wm.components.data.pagination, global.wm.components.data.table, global.wm.components.chart, global.wm.components.containers.accordion, global.wm.components.containers.linearlayout, global.wm.components.containers.layoutgrid, global.wm.components.containers.panel, global.wm.components.containers.tabs, global.wm.components.containers.tile, global.wm.components.containers.wizard, global.wm.components.dialogs.iframedialog, global.wm.components.dialogs.logindialog, global.wm.components.dialogs.partialdialog, global.wm.components.navigation.breadcrumb, global.wm.components.navigation.menu, global.wm.components.navigation.navbar, global.wm.components.navigation.popover, global.wm.components.advanced.carousel, global.wm.components.advanced.login, global.wm.components.advanced.marquee, global.timepicker, global.dropdown, global.pagination, global.typeahead, global.progressbar, global.carousel, global.popover, global.ngCircleProgress, global.tooltip));
|
|
5
|
-
})(this, (function (exports, i0, i1$1, i1$2, i1, i2, i4, page, rxjs, i3, tslib, i2$3, i1$5, i1$4, forms, i1$3, dialogs, i9, i10, i1$6, http, i2$2, chronos, i2$1, utils, i11, operators, transpiler, buildTask, footer, header, leftPanel, rightPanel, topNav, basic, progress, richTextEditor, search, tree, calendar, chips, colorPicker, currency, epoch, fileUpload, input, rating, slider, card, form, list, liveTable, pagination$1, table, chart, accordion, linearLayout, layoutGrid, panel, tabs, tile, wizard, iframeDialog, loginDialog, partialDialog, breadcrumb, menu, navbar, popover$1, carousel$1, login, marquee, timepicker, dropdown, pagination, typeahead, progressbar, carousel, popover, ngCircleProgress, tooltip) { 'use strict';
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/router'), require('@angular/common'), require('@wm/core'), require('@wm/security'), require('@wm/variables'), require('lodash-es'), require('@wm/components/page'), require('rxjs'), require('@wm/components/base'), require('tslib'), require('@wm/components/prefab'), require('@angular/common/http'), require('@angular/platform-browser'), require('@angular/forms'), require('ngx-toastr'), require('@wm/components/dialogs'), require('@wm/components/dialogs/confirm-dialog'), require('@wm/components/dialogs/design-dialog'), require('@wm/mobile/runtime'), require('@wm/http'), require('@wm/oAuth'), require('ngx-bootstrap/chronos'), require('ngx-bootstrap/datepicker'), require('ngx-bootstrap/utils'), require('@wm/components/dialogs/alert-dialog'), require('rxjs/operators'), require('@wm/transpiler'), require('@wm/build-task'), require('@wm/components/page/footer'), require('@wm/components/page/header'), require('@wm/components/page/left-panel'), require('@wm/components/page/right-panel'), require('@wm/components/page/top-nav'), require('@wm/components/basic'), require('@wm/components/basic/progress'), require('@wm/components/basic/rich-text-editor'), require('@wm/components/basic/search'), require('@wm/components/basic/tree'), require('@wm/components/input/calendar'), require('@wm/components/input/chips'), require('@wm/components/input/color-picker'), require('@wm/components/input/currency'), require('@wm/components/input/epoch'), require('@wm/components/input/file-upload'), require('@wm/components/input'), require('@wm/components/input/rating'), require('@wm/components/input/slider'), require('@wm/components/data/card'), require('@wm/components/data/form'), require('@wm/components/data/list'), require('@wm/components/data/live-table'), require('@wm/components/data/pagination'), require('@wm/components/data/table'), require('@wm/components/chart'), require('@wm/components/containers/accordion'), require('@wm/components/containers/linear-layout'), require('@wm/components/containers/layout-grid'), require('@wm/components/containers/panel'), require('@wm/components/containers/tabs'), require('@wm/components/containers/tile'), require('@wm/components/containers/wizard'), require('@wm/components/dialogs/iframe-dialog'), require('@wm/components/dialogs/login-dialog'), require('@wm/components/dialogs/partial-dialog'), require('@wm/components/navigation/breadcrumb'), require('@wm/components/navigation/menu'), require('@wm/components/navigation/navbar'), require('@wm/components/navigation/popover'), require('@wm/components/advanced/carousel'), require('@wm/components/advanced/login'), require('@wm/components/advanced/marquee'), require('ngx-bootstrap/timepicker'), require('ngx-bootstrap/dropdown'), require('ngx-bootstrap/pagination'), require('ngx-bootstrap/typeahead'), require('ngx-bootstrap/progressbar'), require('ngx-bootstrap/carousel'), require('ngx-bootstrap/popover'), require('ng-circle-progress'), require('ngx-bootstrap/tooltip')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define(['exports', '@angular/core', '@angular/router', '@angular/common', '@wm/core', '@wm/security', '@wm/variables', 'lodash-es', '@wm/components/page', 'rxjs', '@wm/components/base', 'tslib', '@wm/components/prefab', '@angular/common/http', '@angular/platform-browser', '@angular/forms', 'ngx-toastr', '@wm/components/dialogs', '@wm/components/dialogs/confirm-dialog', '@wm/components/dialogs/design-dialog', '@wm/mobile/runtime', '@wm/http', '@wm/oAuth', 'ngx-bootstrap/chronos', 'ngx-bootstrap/datepicker', 'ngx-bootstrap/utils', '@wm/components/dialogs/alert-dialog', 'rxjs/operators', '@wm/transpiler', '@wm/build-task', '@wm/components/page/footer', '@wm/components/page/header', '@wm/components/page/left-panel', '@wm/components/page/right-panel', '@wm/components/page/top-nav', '@wm/components/basic', '@wm/components/basic/progress', '@wm/components/basic/rich-text-editor', '@wm/components/basic/search', '@wm/components/basic/tree', '@wm/components/input/calendar', '@wm/components/input/chips', '@wm/components/input/color-picker', '@wm/components/input/currency', '@wm/components/input/epoch', '@wm/components/input/file-upload', '@wm/components/input', '@wm/components/input/rating', '@wm/components/input/slider', '@wm/components/data/card', '@wm/components/data/form', '@wm/components/data/list', '@wm/components/data/live-table', '@wm/components/data/pagination', '@wm/components/data/table', '@wm/components/chart', '@wm/components/containers/accordion', '@wm/components/containers/linear-layout', '@wm/components/containers/layout-grid', '@wm/components/containers/panel', '@wm/components/containers/tabs', '@wm/components/containers/tile', '@wm/components/containers/wizard', '@wm/components/dialogs/iframe-dialog', '@wm/components/dialogs/login-dialog', '@wm/components/dialogs/partial-dialog', '@wm/components/navigation/breadcrumb', '@wm/components/navigation/menu', '@wm/components/navigation/navbar', '@wm/components/navigation/popover', '@wm/components/advanced/carousel', '@wm/components/advanced/login', '@wm/components/advanced/marquee', 'ngx-bootstrap/timepicker', 'ngx-bootstrap/dropdown', 'ngx-bootstrap/pagination', 'ngx-bootstrap/typeahead', 'ngx-bootstrap/progressbar', 'ngx-bootstrap/carousel', 'ngx-bootstrap/popover', 'ng-circle-progress', 'ngx-bootstrap/tooltip'], factory) :
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.wm = global.wm || {}, global.wm.runtime = global.wm.runtime || {}, global.wm.runtime.base = {}), global.ng.core, global.ng.router, global.ng.common, global.wm.core, global.wm.security, global.wm.variables, global._, global.wm.components.page, global.rxjs, global.wm.components.base, global.tslib, global.wm.components.prefab, global.ng.common.http, global.ng.platformBrowser, global.ng.forms, global.ngxToastr, global.wm.components.dialogs, global.wm.components.dialogs.confirmdialog, global.wm.components.dialogs.designdialog, global.wm.mobile.runtime, global.wm.http, global.wm.oAuth, global.chronos, global.datepicker, global.utils, global.wm.components.dialogs.alertdialog, global.rxjs.operators, global.wm.transpiler, global.wm.buildTask, global.wm.components.page.footer, global.wm.components.page.header, global.wm.components.page.leftpanel, global.wm.components.page.rightpanel, global.wm.components.page.topnav, global.wm.components.basic, global.wm.components.basic.progress, global.wm.components.basic.richtexteditor, global.wm.components.basic.search, global.wm.components.basic.tree, global.wm.components.input.calendar, global.wm.components.input.chips, global.wm.components.input.colorpicker, global.wm.components.input.currency, global.wm.components.input.epoch, global.wm.components.input.fileupload, global.wm.components.input, global.wm.components.input.rating, global.wm.components.input.slider, global.wm.components.data.card, global.wm.components.data.form, global.wm.components.data.list, global.wm.components.data.livetable, global.wm.components.data.pagination, global.wm.components.data.table, global.wm.components.chart, global.wm.components.containers.accordion, global.wm.components.containers.linearlayout, global.wm.components.containers.layoutgrid, global.wm.components.containers.panel, global.wm.components.containers.tabs, global.wm.components.containers.tile, global.wm.components.containers.wizard, global.wm.components.dialogs.iframedialog, global.wm.components.dialogs.logindialog, global.wm.components.dialogs.partialdialog, global.wm.components.navigation.breadcrumb, global.wm.components.navigation.menu, global.wm.components.navigation.navbar, global.wm.components.navigation.popover, global.wm.components.advanced.carousel, global.wm.components.advanced.login, global.wm.components.advanced.marquee, global.timepicker, global.dropdown, global.pagination, global.typeahead, global.progressbar, global.carousel, global.popover, global.ngCircleProgress, global.tooltip));
|
|
5
|
+
})(this, (function (exports, i0, i1$1, i1$2, i1, i2, i4, lodashEs, page, rxjs, i3, tslib, i2$3, i1$5, i1$4, forms, i1$3, dialogs, i9, i10, i1$6, http, i2$2, chronos, i2$1, utils, i11, operators, transpiler, buildTask, footer, header, leftPanel, rightPanel, topNav, basic, progress, richTextEditor, search, tree, calendar, chips, colorPicker, currency, epoch, fileUpload, input, rating, slider, card, form, list, liveTable, pagination$1, table, chart, accordion, linearLayout, layoutGrid, panel, tabs, tile, wizard, iframeDialog, loginDialog, partialDialog, breadcrumb, menu, navbar, popover$1, carousel$1, login, marquee, timepicker, dropdown, pagination, typeahead, progressbar, carousel, popover, ngCircleProgress, tooltip) { 'use strict';
|
|
6
6
|
|
|
7
7
|
function _interopNamespaceDefault(e) {
|
|
8
8
|
var n = Object.create(null);
|
|
@@ -88,12 +88,12 @@
|
|
|
88
88
|
this.$variables.registerDependency('appManager', this);
|
|
89
89
|
this.$app.subscribe('toggle-variable-state', (data) => {
|
|
90
90
|
const variable = data.variable, active = data.active;
|
|
91
|
-
if (!
|
|
91
|
+
if (!lodashEs.isEmpty(lodashEs.trim(variable.spinnerContext))) {
|
|
92
92
|
if (active) {
|
|
93
93
|
let spinnerExists;
|
|
94
94
|
// WMS-21117 : Do not trigger spinner, if the current variable is same as spinner which is in context
|
|
95
95
|
if (variable._spinnerId && variable._spinnerId.length) {
|
|
96
|
-
|
|
96
|
+
lodashEs.forEach(variable._spinnerId, (item) => {
|
|
97
97
|
if (item.slice(0, item.lastIndexOf('_')) === variable._id && this.$spinner.messagesByContext && this.$spinner.messagesByContext[variable.spinnerContext] &&
|
|
98
98
|
(variable.spinnerMessage === this.$spinner.messagesByContext[variable.spinnerContext]["finalMessage"] || variable.spinnerMessage === this.$spinner.messagesByContext[variable.spinnerContext][item])) {
|
|
99
99
|
spinnerExists = true;
|
|
@@ -161,8 +161,8 @@
|
|
|
161
161
|
const init = response => {
|
|
162
162
|
const data = this.$variables.register('app', response, this.$app);
|
|
163
163
|
// not assigning directly to this.$app to keep the reference in tact
|
|
164
|
-
|
|
165
|
-
|
|
164
|
+
lodashEs.extend(this.$app.Variables, data.Variables);
|
|
165
|
+
lodashEs.extend(this.$app.Actions, data.Actions);
|
|
166
166
|
this.updateLoggedInUserVariable();
|
|
167
167
|
this.updateSupportedLocaleVariable();
|
|
168
168
|
this.appVariablesLoaded = true;
|
|
@@ -195,7 +195,7 @@
|
|
|
195
195
|
variable.tenantId = undefined;
|
|
196
196
|
}
|
|
197
197
|
updateLoggedInUserVariable() {
|
|
198
|
-
const loggedInUser =
|
|
198
|
+
const loggedInUser = lodashEs.get(this.$app, 'Variables.loggedInUser.dataSet');
|
|
199
199
|
// sanity check
|
|
200
200
|
if (!loggedInUser) {
|
|
201
201
|
return;
|
|
@@ -234,7 +234,7 @@
|
|
|
234
234
|
*
|
|
235
235
|
*/
|
|
236
236
|
updateSupportedLocaleVariable() {
|
|
237
|
-
|
|
237
|
+
lodashEs.get(this.$app, 'Variables.supportedLocale');
|
|
238
238
|
}
|
|
239
239
|
handleSSOLogin(config) {
|
|
240
240
|
const SSO_URL = 'services/security/ssologin', PREVIEW_WINDOW_NAME = 'WM_PREVIEW_WINDOW';
|
|
@@ -244,11 +244,11 @@
|
|
|
244
244
|
page = this.$security.getRedirectPage(config);
|
|
245
245
|
if (i4.CONSTANTS.hasCordova) {
|
|
246
246
|
// get previously loggedInUser name (if any)
|
|
247
|
-
const lastLoggedInUsername =
|
|
247
|
+
const lastLoggedInUsername = lodashEs.get(this.$security.get(), 'userInfo.userName');
|
|
248
248
|
this.$security.authInBrowser()
|
|
249
249
|
.then(() => this.reloadAppData())
|
|
250
250
|
.then(() => {
|
|
251
|
-
const presentLoggedInUsername =
|
|
251
|
+
const presentLoggedInUsername = lodashEs.get(this.$security.get(), 'userInfo.userName');
|
|
252
252
|
if (presentLoggedInUsername && presentLoggedInUsername === lastLoggedInUsername) {
|
|
253
253
|
i4.routerService.navigate([page]);
|
|
254
254
|
}
|
|
@@ -262,7 +262,7 @@
|
|
|
262
262
|
pageParams = this.$security.getQueryString(this.$security.getRedirectedRouteQueryParams());
|
|
263
263
|
pageParams = pageParams ? '?' + pageParams : '';
|
|
264
264
|
// showing a redirecting message
|
|
265
|
-
document.body.textContent =
|
|
265
|
+
document.body.textContent = lodashEs.get(this.getAppLocale(), ['MESSAGE_LOGIN_REDIRECTION']) || 'Redirecting to sso login...';
|
|
266
266
|
// appending redirect to page and page params
|
|
267
267
|
const ssoUrl = this.getDeployedURL() + SSO_URL + page + pageParams;
|
|
268
268
|
/*
|
|
@@ -327,7 +327,7 @@
|
|
|
327
327
|
}
|
|
328
328
|
queryParamsObj['redirectTo'] = page;
|
|
329
329
|
// Adding query params(page params of page being redirected to) to the URL.
|
|
330
|
-
queryParamsObj =
|
|
330
|
+
queryParamsObj = lodashEs.merge(queryParamsObj, this.$security.getRedirectedRouteQueryParams());
|
|
331
331
|
// the redirect page should not be same as session timeout login page
|
|
332
332
|
if (page !== sessionTimeoutConfig.pageName) {
|
|
333
333
|
this.$router.navigate([sessionTimeoutConfig.pageName], { queryParams: queryParamsObj });
|
|
@@ -355,7 +355,7 @@
|
|
|
355
355
|
page = this.$security.getRedirectPage(config, page);
|
|
356
356
|
queryParamsObj['redirectTo'] = page;
|
|
357
357
|
const extraQueryParams = (options && options.queryParams) || this.$security.getRedirectedRouteQueryParams();
|
|
358
|
-
queryParamsObj =
|
|
358
|
+
queryParamsObj = lodashEs.merge(queryParamsObj, extraQueryParams);
|
|
359
359
|
this.$router.navigate([loginConfig.pageName], { queryParams: queryParamsObj });
|
|
360
360
|
this.$app.landingPageName = loginConfig.pageName;
|
|
361
361
|
break;
|
|
@@ -379,7 +379,7 @@
|
|
|
379
379
|
});
|
|
380
380
|
}
|
|
381
381
|
noRedirect(value) {
|
|
382
|
-
if (
|
|
382
|
+
if (lodashEs.isUndefined(value)) {
|
|
383
383
|
return this._noRedirect;
|
|
384
384
|
}
|
|
385
385
|
this._noRedirect = value;
|
|
@@ -494,15 +494,17 @@
|
|
|
494
494
|
postTemplateBundleInfo() {
|
|
495
495
|
window.onmessage = (evt) => {
|
|
496
496
|
const msgData = evt.data;
|
|
497
|
-
if (!
|
|
497
|
+
if (!lodashEs.isObject(msgData)) {
|
|
498
498
|
return;
|
|
499
499
|
}
|
|
500
|
+
// @ts-ignore
|
|
500
501
|
const key = msgData.key;
|
|
501
502
|
switch (key) {
|
|
502
503
|
case POST_MESSAGES.HIDE_TEMPLATES_SHOW_CASE:
|
|
503
504
|
// scope.hideShowCase = true;
|
|
504
505
|
break;
|
|
505
506
|
case POST_MESSAGES.SELECT_TEMPLATE:
|
|
507
|
+
// @ts-ignore
|
|
506
508
|
this.showTemplate(msgData.templateIndex);
|
|
507
509
|
break;
|
|
508
510
|
}
|
|
@@ -560,7 +562,7 @@
|
|
|
560
562
|
loadStyles(prefabName, { resources: { styles } } = { resources: { styles: [] } }) {
|
|
561
563
|
const baseUrl = getPrefabBaseUrl(prefabName);
|
|
562
564
|
const _styles = styles.map(url => {
|
|
563
|
-
if (!
|
|
565
|
+
if (!lodashEs.endsWith(url, '/pages/Main/Main.css')) {
|
|
564
566
|
return getPrefabResourceUrl(url, baseUrl);
|
|
565
567
|
}
|
|
566
568
|
return undefined;
|
|
@@ -760,7 +762,7 @@
|
|
|
760
762
|
*/
|
|
761
763
|
registerExpressions() {
|
|
762
764
|
const expressions = this.getExpressions();
|
|
763
|
-
|
|
765
|
+
lodashEs.each(expressions, (fn, expr) => {
|
|
764
766
|
i1.registerFnByExpr(expr, fn[0], fn[1]);
|
|
765
767
|
});
|
|
766
768
|
}
|
|
@@ -795,15 +797,15 @@
|
|
|
795
797
|
}
|
|
796
798
|
mute() {
|
|
797
799
|
const m = o => { o && o.mute && o.mute(); };
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
800
|
+
lodashEs.each(this.Widgets, m);
|
|
801
|
+
lodashEs.each(this.Variables, m);
|
|
802
|
+
lodashEs.each(this.Actions, m);
|
|
801
803
|
}
|
|
802
804
|
unmute() {
|
|
803
805
|
const um = o => { o && o.unmute && o.unmute(); };
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
806
|
+
lodashEs.each(this.Widgets, um);
|
|
807
|
+
lodashEs.each(this.Variables, um);
|
|
808
|
+
lodashEs.each(this.Actions, um);
|
|
807
809
|
}
|
|
808
810
|
// ngOnInit() {
|
|
809
811
|
// this.init();
|
|
@@ -824,14 +826,14 @@
|
|
|
824
826
|
this.unmute();
|
|
825
827
|
if (refreshData) {
|
|
826
828
|
const refresh = v => { v && v.startUpdate && v.invoke && v.invoke(); };
|
|
827
|
-
|
|
828
|
-
|
|
829
|
+
lodashEs.each(this.Variables, refresh);
|
|
830
|
+
lodashEs.each(this.Actions, refresh);
|
|
829
831
|
}
|
|
830
|
-
|
|
832
|
+
lodashEs.each(this.Widgets, w => w && w.ngOnAttach && w.ngOnAttach());
|
|
831
833
|
}
|
|
832
834
|
ngOnDetach() {
|
|
833
835
|
this.mute();
|
|
834
|
-
|
|
836
|
+
lodashEs.each(this.Widgets, w => w && w.ngOnDetach && w.ngOnDetach());
|
|
835
837
|
}
|
|
836
838
|
onReady(params) {
|
|
837
839
|
}
|
|
@@ -871,12 +873,10 @@
|
|
|
871
873
|
});
|
|
872
874
|
}
|
|
873
875
|
getKey(route) {
|
|
874
|
-
const queryParams =
|
|
875
|
-
.
|
|
876
|
-
.filter(k => !_.includes(this.paramsToIgnore, k))
|
|
877
|
-
.orderBy()
|
|
876
|
+
const queryParams = Object.keys(route.queryParams)
|
|
877
|
+
.filter(k => !this.paramsToIgnore.includes(k))
|
|
878
878
|
.map(k => k + '=' + route.queryParams[k])
|
|
879
|
-
.
|
|
879
|
+
.sort().join('&');
|
|
880
880
|
let pageName = route.params.pageName;
|
|
881
881
|
if (route.data.pageName && route.routeConfig.path === '') {
|
|
882
882
|
pageName = route.data.pageName;
|
|
@@ -903,7 +903,7 @@
|
|
|
903
903
|
}
|
|
904
904
|
isCacheEnabled(route, defaultValue) {
|
|
905
905
|
const canReuse = route.queryParams[CACHE_PAGE];
|
|
906
|
-
if (!
|
|
906
|
+
if (!lodashEs.isNil(canReuse)) {
|
|
907
907
|
return (canReuse === 'true' || canReuse === true);
|
|
908
908
|
}
|
|
909
909
|
return defaultValue;
|
|
@@ -1071,7 +1071,7 @@
|
|
|
1071
1071
|
}
|
|
1072
1072
|
}
|
|
1073
1073
|
registerPageParams() {
|
|
1074
|
-
const subscription = this.route.queryParams.subscribe(params => this.pageParams = this.App.pageParams =
|
|
1074
|
+
const subscription = this.route.queryParams.subscribe(params => this.pageParams = this.App.pageParams = lodashEs.extend({}, params));
|
|
1075
1075
|
this.registerDestroyListener(() => subscription.unsubscribe());
|
|
1076
1076
|
}
|
|
1077
1077
|
registerDestroyListener(fn) {
|
|
@@ -1123,7 +1123,7 @@
|
|
|
1123
1123
|
*/
|
|
1124
1124
|
registerExpressions() {
|
|
1125
1125
|
const expressions = this.getExpressions();
|
|
1126
|
-
|
|
1126
|
+
lodashEs.each(expressions, (fn, expr) => {
|
|
1127
1127
|
i1.registerFnByExpr(expr, fn[0], fn[1]);
|
|
1128
1128
|
});
|
|
1129
1129
|
}
|
|
@@ -1315,15 +1315,15 @@
|
|
|
1315
1315
|
}
|
|
1316
1316
|
mute() {
|
|
1317
1317
|
const m = o => { o && o.mute && o.mute(); };
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1318
|
+
lodashEs.each(this.Widgets, m);
|
|
1319
|
+
lodashEs.each(this.Variables, m);
|
|
1320
|
+
lodashEs.each(this.Actions, m);
|
|
1321
1321
|
}
|
|
1322
1322
|
unmute(c = this) {
|
|
1323
1323
|
const um = o => { o && o.unmute && o.unmute(); };
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1324
|
+
lodashEs.each(this.Widgets, um);
|
|
1325
|
+
lodashEs.each(this.Variables, um);
|
|
1326
|
+
lodashEs.each(this.Actions, um);
|
|
1327
1327
|
}
|
|
1328
1328
|
ngOnAttach() {
|
|
1329
1329
|
this.route.snapshot.data[CACHE_PAGE] = this.canReuse();
|
|
@@ -1338,12 +1338,12 @@
|
|
|
1338
1338
|
this.App.Widgets = Object.create(this.Widgets);
|
|
1339
1339
|
if (this.pageDirective && this.pageDirective.refreshdataonattach) {
|
|
1340
1340
|
const refresh = v => { v && v.startUpdate && v.invoke && v.invoke(); };
|
|
1341
|
-
|
|
1342
|
-
|
|
1341
|
+
lodashEs.each(this.Variables, refresh);
|
|
1342
|
+
lodashEs.each(this.Actions, refresh);
|
|
1343
1343
|
}
|
|
1344
1344
|
this.runPageTransition().then(() => {
|
|
1345
1345
|
setTimeout(() => this.restoreScrollPosition(), 100);
|
|
1346
|
-
|
|
1346
|
+
lodashEs.each(this.Widgets, w => w && w.ngOnAttach && w.ngOnAttach());
|
|
1347
1347
|
this.appManager.notify('pageAttach', { 'name': this.pageName, instance: this });
|
|
1348
1348
|
});
|
|
1349
1349
|
}
|
|
@@ -1351,7 +1351,7 @@
|
|
|
1351
1351
|
this.saveScrollPosition();
|
|
1352
1352
|
this.savePageSnapShot();
|
|
1353
1353
|
this.mute();
|
|
1354
|
-
|
|
1354
|
+
lodashEs.each(this.Widgets, w => w && w.ngOnDetach && w.ngOnDetach());
|
|
1355
1355
|
this.appManager.notify('pageDetach', { 'name': this.pageName, instance: this });
|
|
1356
1356
|
}
|
|
1357
1357
|
ngAfterContentInit() {
|
|
@@ -1455,8 +1455,8 @@
|
|
|
1455
1455
|
Object.entries((config.properties || {}))
|
|
1456
1456
|
.forEach(([key, prop]) => {
|
|
1457
1457
|
let expr;
|
|
1458
|
-
const value =
|
|
1459
|
-
if (
|
|
1458
|
+
const value = lodashEs.trim(prop.value);
|
|
1459
|
+
if (lodashEs.startsWith(value, 'bind:')) {
|
|
1460
1460
|
expr = value.replace('bind:', '');
|
|
1461
1461
|
}
|
|
1462
1462
|
Object.defineProperty(this, key, {
|
|
@@ -1521,7 +1521,7 @@
|
|
|
1521
1521
|
*/
|
|
1522
1522
|
registerExpressions() {
|
|
1523
1523
|
const expressions = this.getExpressions();
|
|
1524
|
-
|
|
1524
|
+
lodashEs.each(expressions, (fn, expr) => {
|
|
1525
1525
|
i1.registerFnByExpr(expr, fn[0], fn[1]);
|
|
1526
1526
|
});
|
|
1527
1527
|
}
|
|
@@ -1549,28 +1549,28 @@
|
|
|
1549
1549
|
}
|
|
1550
1550
|
mute() {
|
|
1551
1551
|
const m = o => { o && o.mute && o.mute(); };
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1552
|
+
lodashEs.each(this.Widgets, m);
|
|
1553
|
+
lodashEs.each(this.Variables, m);
|
|
1554
|
+
lodashEs.each(this.Actions, m);
|
|
1555
1555
|
}
|
|
1556
1556
|
unmute() {
|
|
1557
1557
|
const um = o => { o && o.unmute && o.unmute(); };
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1558
|
+
lodashEs.each(this.Widgets, um);
|
|
1559
|
+
lodashEs.each(this.Variables, um);
|
|
1560
|
+
lodashEs.each(this.Actions, um);
|
|
1561
1561
|
}
|
|
1562
1562
|
ngOnAttach(refreshData) {
|
|
1563
1563
|
this.unmute();
|
|
1564
1564
|
if (refreshData) {
|
|
1565
1565
|
const refresh = v => { v && v.startUpdate && v.invoke && v.invoke(); };
|
|
1566
|
-
|
|
1567
|
-
|
|
1566
|
+
lodashEs.each(this.Variables, refresh);
|
|
1567
|
+
lodashEs.each(this.Actions, refresh);
|
|
1568
1568
|
}
|
|
1569
|
-
|
|
1569
|
+
lodashEs.each(this.Widgets, w => w && w.ngOnAttach && w.ngOnAttach());
|
|
1570
1570
|
}
|
|
1571
1571
|
ngOnDetach() {
|
|
1572
1572
|
this.mute();
|
|
1573
|
-
|
|
1573
|
+
lodashEs.each(this.Widgets, w => w && w.ngOnDetach && w.ngOnDetach());
|
|
1574
1574
|
}
|
|
1575
1575
|
ngAfterViewInit() {
|
|
1576
1576
|
this.loadScripts().then(() => {
|
|
@@ -1612,7 +1612,7 @@
|
|
|
1612
1612
|
*/
|
|
1613
1613
|
registerExpressions() {
|
|
1614
1614
|
const expressions = this.getExpressions();
|
|
1615
|
-
|
|
1615
|
+
lodashEs.each(expressions, (fn, expr) => {
|
|
1616
1616
|
i1.registerFnByExpr(expr, fn[0], fn[1]);
|
|
1617
1617
|
});
|
|
1618
1618
|
}
|
|
@@ -1653,7 +1653,7 @@
|
|
|
1653
1653
|
// This will be called when child route (Page component in the layout) is activated
|
|
1654
1654
|
onActivate(pageComponent) {
|
|
1655
1655
|
//Add page component scope to layout component so that bindings and watchers in the layout will use the page scope
|
|
1656
|
-
|
|
1656
|
+
lodashEs.extend(this, pageComponent);
|
|
1657
1657
|
}
|
|
1658
1658
|
static { this.ɵfac = function BaseLayoutComponent_Factory(t) { return new (t || BaseLayoutComponent)(); }; }
|
|
1659
1659
|
static { this.ɵdir = /*@__PURE__*/ i0__namespace.ɵɵdefineDirective({ type: BaseLayoutComponent, viewQuery: function BaseLayoutComponent_Query(rf, ctx) { if (rf & 1) {
|
|
@@ -1724,7 +1724,7 @@
|
|
|
1724
1724
|
}
|
|
1725
1725
|
}
|
|
1726
1726
|
registerPageParams() {
|
|
1727
|
-
const subscription = this.route.queryParams.subscribe(params => this.pageParams = this.App.pageParams =
|
|
1727
|
+
const subscription = this.route.queryParams.subscribe(params => this.pageParams = this.App.pageParams = lodashEs.extend({}, params));
|
|
1728
1728
|
this.registerDestroyListener(() => subscription.unsubscribe());
|
|
1729
1729
|
}
|
|
1730
1730
|
registerDestroyListener(fn) {
|
|
@@ -1776,7 +1776,7 @@
|
|
|
1776
1776
|
*/
|
|
1777
1777
|
registerExpressions() {
|
|
1778
1778
|
const expressions = this.getExpressions();
|
|
1779
|
-
|
|
1779
|
+
lodashEs.each(expressions, (fn, expr) => {
|
|
1780
1780
|
i1.registerFnByExpr(expr, fn[0], fn[1]);
|
|
1781
1781
|
});
|
|
1782
1782
|
}
|
|
@@ -1940,15 +1940,15 @@
|
|
|
1940
1940
|
}
|
|
1941
1941
|
mute() {
|
|
1942
1942
|
const m = o => { o && o.mute && o.mute(); };
|
|
1943
|
-
|
|
1944
|
-
|
|
1945
|
-
|
|
1943
|
+
lodashEs.each(this.Widgets, m);
|
|
1944
|
+
lodashEs.each(this.Variables, m);
|
|
1945
|
+
lodashEs.each(this.Actions, m);
|
|
1946
1946
|
}
|
|
1947
1947
|
unmute(c = this) {
|
|
1948
1948
|
const um = o => { o && o.unmute && o.unmute(); };
|
|
1949
|
-
|
|
1950
|
-
|
|
1951
|
-
|
|
1949
|
+
lodashEs.each(this.Widgets, um);
|
|
1950
|
+
lodashEs.each(this.Variables, um);
|
|
1951
|
+
lodashEs.each(this.Actions, um);
|
|
1952
1952
|
}
|
|
1953
1953
|
ngOnAttach() {
|
|
1954
1954
|
this.route.snapshot.data[CACHE_PAGE] = this.canReuse();
|
|
@@ -1963,12 +1963,12 @@
|
|
|
1963
1963
|
this.App.Widgets = Object.create(this.Widgets);
|
|
1964
1964
|
if (this.spaPageDirective && this.spaPageDirective.refreshdataonattach) {
|
|
1965
1965
|
const refresh = v => { v && v.startUpdate && v.invoke && v.invoke(); };
|
|
1966
|
-
|
|
1967
|
-
|
|
1966
|
+
lodashEs.each(this.Variables, refresh);
|
|
1967
|
+
lodashEs.each(this.Actions, refresh);
|
|
1968
1968
|
}
|
|
1969
1969
|
this.runPageTransition().then(() => {
|
|
1970
1970
|
setTimeout(() => this.restoreScrollPosition(), 100);
|
|
1971
|
-
|
|
1971
|
+
lodashEs.each(this.Widgets, w => w && w.ngOnAttach && w.ngOnAttach());
|
|
1972
1972
|
this.appManager.notify('pageAttach', { 'name': this.pageName, instance: this });
|
|
1973
1973
|
});
|
|
1974
1974
|
this.appManager.notify('highlightActiveLink', { 'pageName': this.pageName });
|
|
@@ -1977,7 +1977,7 @@
|
|
|
1977
1977
|
this.saveScrollPosition();
|
|
1978
1978
|
this.savePageSnapShot();
|
|
1979
1979
|
this.mute();
|
|
1980
|
-
|
|
1980
|
+
lodashEs.each(this.Widgets, w => w && w.ngOnDetach && w.ngOnDetach());
|
|
1981
1981
|
this.appManager.notify('pageDetach', { 'name': this.pageName, instance: this });
|
|
1982
1982
|
}
|
|
1983
1983
|
ngAfterContentInit() {
|
|
@@ -2023,9 +2023,9 @@
|
|
|
2023
2023
|
this.inj = inj;
|
|
2024
2024
|
this.processed = false;
|
|
2025
2025
|
const securityConfig = this.securityService.get();
|
|
2026
|
-
this.securityEnabled =
|
|
2027
|
-
this.isUserAuthenticated =
|
|
2028
|
-
this.userRoles =
|
|
2026
|
+
this.securityEnabled = lodashEs.get(securityConfig, 'securityEnabled');
|
|
2027
|
+
this.isUserAuthenticated = lodashEs.get(securityConfig, 'authenticated');
|
|
2028
|
+
this.userRoles = lodashEs.get(securityConfig, 'userInfo.userRoles');
|
|
2029
2029
|
}
|
|
2030
2030
|
/**
|
|
2031
2031
|
* Returns array of roles from comma separated string of roles
|
|
@@ -2040,8 +2040,8 @@
|
|
|
2040
2040
|
return [];
|
|
2041
2041
|
}
|
|
2042
2042
|
// replace the unicode equivalent of comma with comma
|
|
2043
|
-
return
|
|
2044
|
-
return
|
|
2043
|
+
return lodashEs.split(val, ',').map(function (v) {
|
|
2044
|
+
return lodashEs.trim(v).replace(UNICODE_COMMA_REGEX, ',');
|
|
2045
2045
|
});
|
|
2046
2046
|
}
|
|
2047
2047
|
/**
|
|
@@ -2052,7 +2052,7 @@
|
|
|
2052
2052
|
*/
|
|
2053
2053
|
matchRoles(widgetRoles, userRoles) {
|
|
2054
2054
|
return widgetRoles.some(function (item) {
|
|
2055
|
-
return
|
|
2055
|
+
return lodashEs.includes(userRoles, item);
|
|
2056
2056
|
});
|
|
2057
2057
|
}
|
|
2058
2058
|
/**
|
|
@@ -2063,15 +2063,15 @@
|
|
|
2063
2063
|
*/
|
|
2064
2064
|
hasAccessToWidget(widgetRoles, userRoles) {
|
|
2065
2065
|
// access the widget when 'Everyone' is chosen
|
|
2066
|
-
if (
|
|
2066
|
+
if (lodashEs.includes(widgetRoles, USER_ROLE.EVERYONE)) {
|
|
2067
2067
|
return true;
|
|
2068
2068
|
}
|
|
2069
2069
|
// access the widget when 'Anonymous' is chosen and user is not authenticated
|
|
2070
|
-
if (
|
|
2070
|
+
if (lodashEs.includes(widgetRoles, USER_ROLE.ANONYMOUS) && !this.isUserAuthenticated) {
|
|
2071
2071
|
return true;
|
|
2072
2072
|
}
|
|
2073
2073
|
// access the widget when 'Only Authenticated Users' is chosen and user is authenticated
|
|
2074
|
-
if (
|
|
2074
|
+
if (lodashEs.includes(widgetRoles, USER_ROLE.AUTHENTICATED) && this.isUserAuthenticated) {
|
|
2075
2075
|
return true;
|
|
2076
2076
|
}
|
|
2077
2077
|
// access the widget when widget role and logged in user role matches
|
|
@@ -2190,8 +2190,8 @@
|
|
|
2190
2190
|
}
|
|
2191
2191
|
// Generate the params for partial page. If bound, watch the expression and set the value
|
|
2192
2192
|
generateParams() {
|
|
2193
|
-
|
|
2194
|
-
if (
|
|
2193
|
+
lodashEs.forEach(this.options.partialParams, (param) => {
|
|
2194
|
+
if (lodashEs.isString(param.value) && param.value.indexOf('bind:') === 0) {
|
|
2195
2195
|
//[Todo-CSP]: bind expr fn should be generated in the toaster action for this
|
|
2196
2196
|
this.watchers.push(i1.$watch(param.value.substr(5), this.options.context, {}, nv => {
|
|
2197
2197
|
this.params[param.name] = nv;
|
|
@@ -2212,7 +2212,7 @@
|
|
|
2212
2212
|
this.generateDynamicComponent();
|
|
2213
2213
|
}
|
|
2214
2214
|
ngOnDestroy() {
|
|
2215
|
-
|
|
2215
|
+
lodashEs.forEach(this.watchers, watcher => watcher());
|
|
2216
2216
|
super.ngOnDestroy();
|
|
2217
2217
|
}
|
|
2218
2218
|
static { this.ɵfac = function CustomToasterComponent_Factory(t) { return new (t || CustomToasterComponent)(i0__namespace.ɵɵdirectiveInject(i1$3__namespace.ToastrService), i0__namespace.ɵɵdirectiveInject(i1$3__namespace.ToastPackage)); }; }
|
|
@@ -2251,7 +2251,7 @@
|
|
|
2251
2251
|
type: i0.ViewChild,
|
|
2252
2252
|
args: ['customToastTmpl']
|
|
2253
2253
|
}] }); })();
|
|
2254
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassDebugInfo(CustomToasterComponent, { className: "CustomToasterComponent", filePath: "components/custom-toaster.component.ts", lineNumber:
|
|
2254
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassDebugInfo(CustomToasterComponent, { className: "CustomToasterComponent", filePath: "components/custom-toaster.component.ts", lineNumber: 23 }); })();
|
|
2255
2255
|
|
|
2256
2256
|
class EmptyPageComponent {
|
|
2257
2257
|
constructor(route, securityService, router, app, appManger) {
|
|
@@ -2540,7 +2540,7 @@
|
|
|
2540
2540
|
this._eventNotifier.notify.apply(this._eventNotifier, arguments);
|
|
2541
2541
|
}
|
|
2542
2542
|
getDependency(injToken) {
|
|
2543
|
-
if (
|
|
2543
|
+
if (lodashEs.isString(injToken)) {
|
|
2544
2544
|
if (injToken === 'HttpService') {
|
|
2545
2545
|
return getHttpDependency.call(this);
|
|
2546
2546
|
}
|
|
@@ -2563,9 +2563,9 @@
|
|
|
2563
2563
|
* triggers the onSessionTimeout callback in app.js
|
|
2564
2564
|
*/
|
|
2565
2565
|
on401() {
|
|
2566
|
-
const userInfo =
|
|
2566
|
+
const userInfo = lodashEs.get(this.securityService.get(), 'userInfo');
|
|
2567
2567
|
// if a previous user exists, a session time out triggered
|
|
2568
|
-
if (!
|
|
2568
|
+
if (!lodashEs.isEmpty(userInfo)) {
|
|
2569
2569
|
this.onSessionTimeout();
|
|
2570
2570
|
}
|
|
2571
2571
|
}
|
|
@@ -2573,7 +2573,7 @@
|
|
|
2573
2573
|
return this._eventNotifier.subscribe(eventName, callback);
|
|
2574
2574
|
}
|
|
2575
2575
|
notifyApp(template, type, title) {
|
|
2576
|
-
const notificationAction =
|
|
2576
|
+
const notificationAction = lodashEs.get(this, 'Actions.appNotification');
|
|
2577
2577
|
const EXCLUDE_NOTIFICATION_MESSAGES = ['PROCESS_REJECTED_IN_QUEUE'];
|
|
2578
2578
|
const skipDefaultNotification = EXCLUDE_NOTIFICATION_MESSAGES.indexOf(template) !== -1;
|
|
2579
2579
|
if (notificationAction) {
|
|
@@ -2602,7 +2602,7 @@
|
|
|
2602
2602
|
* @param expressions, map of bind expression vs generated function
|
|
2603
2603
|
*/
|
|
2604
2604
|
registerExpressions(expressions) {
|
|
2605
|
-
|
|
2605
|
+
lodashEs.each(expressions, (fn, expr) => {
|
|
2606
2606
|
i1.registerFnByExpr(expr, fn[0], fn[1]);
|
|
2607
2607
|
});
|
|
2608
2608
|
}
|
|
@@ -2620,7 +2620,7 @@
|
|
|
2620
2620
|
}
|
|
2621
2621
|
_showToaster(type, title, desc, options) {
|
|
2622
2622
|
// backward compatibility (in 9.x, 4th param is timeout value).
|
|
2623
|
-
if (
|
|
2623
|
+
if (lodashEs.isNumber(options)) {
|
|
2624
2624
|
options = { timeOut: options };
|
|
2625
2625
|
}
|
|
2626
2626
|
options = options || {};
|
|
@@ -2631,7 +2631,7 @@
|
|
|
2631
2631
|
// pop the toaster only if either title or description are defined
|
|
2632
2632
|
if (title || desc) {
|
|
2633
2633
|
// if the desc is an object, stringify it.
|
|
2634
|
-
if (!options.bodyOutputType &&
|
|
2634
|
+
if (!options.bodyOutputType && lodashEs.isObject(desc)) {
|
|
2635
2635
|
desc = JSON.stringify(desc);
|
|
2636
2636
|
}
|
|
2637
2637
|
const fn = this.toaster[type];
|
|
@@ -2682,8 +2682,8 @@
|
|
|
2682
2682
|
* @param {options} Object
|
|
2683
2683
|
*/
|
|
2684
2684
|
setToasterConfig(options) {
|
|
2685
|
-
if (
|
|
2686
|
-
|
|
2685
|
+
if (lodashEs.isObject(options)) {
|
|
2686
|
+
lodashEs.merge(this.toaster.toastrConfig, options);
|
|
2687
2687
|
}
|
|
2688
2688
|
else {
|
|
2689
2689
|
console.warn('Please pass a valid options object, For Example : {maxOpened: 1, autoDismiss: true}');
|
|
@@ -2842,7 +2842,7 @@
|
|
|
2842
2842
|
if (localeIndex > 0) {
|
|
2843
2843
|
locale = locale.substr(localeIndex);
|
|
2844
2844
|
}
|
|
2845
|
-
localeObj['timezone'] =
|
|
2845
|
+
localeObj['timezone'] = lodashEs.find(moment.tz.names(), (timezoneName) => {
|
|
2846
2846
|
return locale === moment.tz(timezoneName).format('Z');
|
|
2847
2847
|
});
|
|
2848
2848
|
}
|
|
@@ -2879,8 +2879,8 @@
|
|
|
2879
2879
|
this.loadMomentTimeZoneBundle(locale, compInstance);
|
|
2880
2880
|
}
|
|
2881
2881
|
getTimezone(compInstance) {
|
|
2882
|
-
const pageConfig =
|
|
2883
|
-
const compConfig =
|
|
2882
|
+
const pageConfig = lodashEs.get(this.app, 'activePage.formatsByLocale.timezone');
|
|
2883
|
+
const compConfig = lodashEs.get(compInstance, 'formatsByLocale.timezone');
|
|
2884
2884
|
if (compConfig) {
|
|
2885
2885
|
return compConfig;
|
|
2886
2886
|
}
|
|
@@ -2896,12 +2896,13 @@
|
|
|
2896
2896
|
}
|
|
2897
2897
|
setSelectedLocale(locale) {
|
|
2898
2898
|
// check if the event is propagated from the select or any such widget
|
|
2899
|
-
if (
|
|
2899
|
+
if (lodashEs.isObject(locale)) {
|
|
2900
|
+
// @ts-ignore
|
|
2900
2901
|
locale = locale.datavalue;
|
|
2901
2902
|
}
|
|
2902
2903
|
const libLocale = i1.getWmProjectProperties().supportedLanguages[locale];
|
|
2903
2904
|
const supportedLocale = Object.keys(i1.getWmProjectProperties().supportedLanguages);
|
|
2904
|
-
if (!
|
|
2905
|
+
if (!lodashEs.includes(supportedLocale, locale)) {
|
|
2905
2906
|
return Promise.resolve();
|
|
2906
2907
|
}
|
|
2907
2908
|
if (!locale || locale === this.selectedLocale) {
|
|
@@ -2947,8 +2948,8 @@
|
|
|
2947
2948
|
*/
|
|
2948
2949
|
if (i4.CONSTANTS.hasCordova) {
|
|
2949
2950
|
let supportedLang = [];
|
|
2950
|
-
|
|
2951
|
-
let matchedLang =
|
|
2951
|
+
lodashEs.forEach(_acceptLang, function (lang) {
|
|
2952
|
+
let matchedLang = lodashEs.find(_supportedLang, (val) => lang === val) || lodashEs.find(_supportedLang, (val) => lang.startsWith(val));
|
|
2952
2953
|
if (matchedLang) {
|
|
2953
2954
|
supportedLang.push(matchedLang);
|
|
2954
2955
|
}
|
|
@@ -2956,7 +2957,7 @@
|
|
|
2956
2957
|
_appSupportedLang = supportedLang[0];
|
|
2957
2958
|
}
|
|
2958
2959
|
// check for the session storage to load any pre-requested locale
|
|
2959
|
-
const _defaultLang = i1.getSessionStorageItem('selectedLocale') || _selectedDefaultLang || _appSupportedLang ||
|
|
2960
|
+
const _defaultLang = i1.getSessionStorageItem('selectedLocale') || _selectedDefaultLang || _appSupportedLang || lodashEs.intersection(_acceptLang, _supportedLang)[0] || this.defaultSupportedLocale;
|
|
2960
2961
|
// if the supportedLocale is not available set it to defaultLocale
|
|
2961
2962
|
_supportedLang = _supportedLang || [_defaultLang];
|
|
2962
2963
|
const defaultLanguage = _defaultLang || _supportedLang[0];
|
|
@@ -2989,7 +2990,7 @@
|
|
|
2989
2990
|
return locale.split(';')[0];
|
|
2990
2991
|
});
|
|
2991
2992
|
}
|
|
2992
|
-
return
|
|
2993
|
+
return lodashEs.map(languages, lodashEs.toLower);
|
|
2993
2994
|
}
|
|
2994
2995
|
initCalendarLocale() {
|
|
2995
2996
|
if (this.selectedLocale !== 'en') {
|
|
@@ -3075,7 +3076,7 @@
|
|
|
3075
3076
|
this.messageSource.next({
|
|
3076
3077
|
show: true,
|
|
3077
3078
|
message: msg,
|
|
3078
|
-
messages:
|
|
3079
|
+
messages: lodashEs.values(this.messagesByContext[ctx])
|
|
3079
3080
|
});
|
|
3080
3081
|
}
|
|
3081
3082
|
/**
|
|
@@ -3116,8 +3117,8 @@
|
|
|
3116
3117
|
*/
|
|
3117
3118
|
hide(id) {
|
|
3118
3119
|
// find the spinner context of the id from the messagesByContext
|
|
3119
|
-
const ctx =
|
|
3120
|
-
return
|
|
3120
|
+
const ctx = lodashEs.findKey(this.messagesByContext, function (obj) {
|
|
3121
|
+
return lodashEs.includes(lodashEs.keys(obj), id);
|
|
3121
3122
|
}) || 'page';
|
|
3122
3123
|
// if spinnerContext exists just remove the spinner from the reference and destroy the scope associated.
|
|
3123
3124
|
if (ctx !== 'page') {
|
|
@@ -3126,10 +3127,10 @@
|
|
|
3126
3127
|
}
|
|
3127
3128
|
if (id) {
|
|
3128
3129
|
delete this.messagesByContext[ctx][id];
|
|
3129
|
-
const messages =
|
|
3130
|
+
const messages = lodashEs.values(this.messagesByContext[ctx]);
|
|
3130
3131
|
this.messageSource.next({
|
|
3131
3132
|
show: messages.length ? true : false,
|
|
3132
|
-
messages:
|
|
3133
|
+
messages: lodashEs.values(this.messagesByContext[ctx])
|
|
3133
3134
|
});
|
|
3134
3135
|
}
|
|
3135
3136
|
else {
|
|
@@ -3190,7 +3191,7 @@
|
|
|
3190
3191
|
});
|
|
3191
3192
|
}
|
|
3192
3193
|
getPageTransition() {
|
|
3193
|
-
if (
|
|
3194
|
+
if (lodashEs.isEmpty(this.transition) || lodashEs.isEqual('none', this.transition)) {
|
|
3194
3195
|
return null;
|
|
3195
3196
|
}
|
|
3196
3197
|
return this.transition;
|
|
@@ -3223,7 +3224,7 @@
|
|
|
3223
3224
|
goToPrevious() {
|
|
3224
3225
|
if (this.history.getPagesCount()) {
|
|
3225
3226
|
this.transition = this.history.getCurrentPage().transition;
|
|
3226
|
-
if (!
|
|
3227
|
+
if (!lodashEs.isEmpty(this.transition)) {
|
|
3227
3228
|
this.transition += '-exit';
|
|
3228
3229
|
}
|
|
3229
3230
|
this.history.pop();
|
|
@@ -3330,8 +3331,8 @@
|
|
|
3330
3331
|
getViewElementInActivePage($el) {
|
|
3331
3332
|
let selector;
|
|
3332
3333
|
if ($el.length > 1) {
|
|
3333
|
-
selector =
|
|
3334
|
-
if (
|
|
3334
|
+
selector = lodashEs.filter($el, (childSelector) => {
|
|
3335
|
+
if (lodashEs.isEmpty($(childSelector).closest('[data-role = "partial"]')) && lodashEs.isEmpty($(childSelector).closest('[wmprefabcontainer]'))) {
|
|
3335
3336
|
return childSelector;
|
|
3336
3337
|
}
|
|
3337
3338
|
});
|
|
@@ -3408,10 +3409,10 @@
|
|
|
3408
3409
|
this.name = name;
|
|
3409
3410
|
this.urlParams = urlParams;
|
|
3410
3411
|
this.transition = transition;
|
|
3411
|
-
this.transition =
|
|
3412
|
+
this.transition = lodashEs.isEmpty(this.transition) ? null : this.transition;
|
|
3412
3413
|
}
|
|
3413
3414
|
isEqual(page1) {
|
|
3414
|
-
return page1 && page1.name === this.name &&
|
|
3415
|
+
return page1 && page1.name === this.name && lodashEs.isEqual(page1.urlParams, this.urlParams);
|
|
3415
3416
|
}
|
|
3416
3417
|
}
|
|
3417
3418
|
class History {
|
|
@@ -3513,7 +3514,7 @@
|
|
|
3513
3514
|
.then((isLoggedIn) => {
|
|
3514
3515
|
if (isLoggedIn) {
|
|
3515
3516
|
const userRoles = this.securityService.get().userInfo.userRoles;
|
|
3516
|
-
const hasAccess =
|
|
3517
|
+
const hasAccess = lodashEs.intersection(allowedRoles, userRoles).length > 0;
|
|
3517
3518
|
if (hasAccess) {
|
|
3518
3519
|
return Promise.resolve(true);
|
|
3519
3520
|
}
|
|
@@ -3885,7 +3886,7 @@
|
|
|
3885
3886
|
if (modifiedResp) {
|
|
3886
3887
|
// Convert the wm HttpResponse to angular HttpResponse
|
|
3887
3888
|
modifiedResp = this.wmHttpResponse.wmToAngularResponse(modifiedResp);
|
|
3888
|
-
|
|
3889
|
+
lodashEs.extend(response, modifiedResp);
|
|
3889
3890
|
}
|
|
3890
3891
|
}
|
|
3891
3892
|
}, error => {
|
|
@@ -3901,7 +3902,7 @@
|
|
|
3901
3902
|
if (modifiedResp) {
|
|
3902
3903
|
// Convert the wm HttpResponse to angular HttpResponse
|
|
3903
3904
|
modifiedResp = this.wmHttpResponse.wmToAngularResponse(modifiedResp);
|
|
3904
|
-
|
|
3905
|
+
lodashEs.extend(error, modifiedResp);
|
|
3905
3906
|
}
|
|
3906
3907
|
}
|
|
3907
3908
|
}));
|
|
@@ -4077,7 +4078,7 @@
|
|
|
4077
4078
|
options.noCache = i1.isDefined(options.noCache) ? options.noCache : true;
|
|
4078
4079
|
options.selector = i1.isDefined(options.selector) ? options.selector : 'wm-dynamic-component-' + this.counter++;
|
|
4079
4080
|
const componentFactoryRef = await this.getComponentFactoryRef(options.selector, markup, options);
|
|
4080
|
-
const component = this.app.dynamicComponentContainerRef.createComponent(componentFactoryRef, 0,
|
|
4081
|
+
const component = this.app.dynamicComponentContainerRef.createComponent(componentFactoryRef, 0, lodashEs.get(options, 'inj'));
|
|
4081
4082
|
i1.extendProto(component.instance, context);
|
|
4082
4083
|
target.appendChild(component.location.nativeElement);
|
|
4083
4084
|
}
|