@wavemaker/app-ng-runtime 12.0.0-next.140479 → 12.0.0-next.140481
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/.npmignore +2 -0
- app-ng-runtime/build-task/bundles/index.umd.js +35 -11
- app-ng-runtime/build-task/esm2022/advanced/carousel/carousel-template/carousel-template.build.mjs +5 -3
- app-ng-runtime/build-task/esm2022/advanced/carousel/carousel.build.mjs +1 -1
- app-ng-runtime/build-task/esm2022/basic/default/label/label.build.mjs +1 -1
- app-ng-runtime/build-task/esm2022/basic/progress/progress-bar/progress-bar.build.mjs +1 -1
- app-ng-runtime/build-task/esm2022/containers/accordion/accordion.build.mjs +1 -1
- app-ng-runtime/build-task/esm2022/containers/repeat-template.build.mjs +5 -3
- app-ng-runtime/build-task/esm2022/containers/tabs/tabs.build.mjs +1 -1
- app-ng-runtime/build-task/esm2022/data/form/form-field/form-field.build.mjs +1 -1
- app-ng-runtime/build-task/esm2022/data/form/form.build.mjs +5 -2
- app-ng-runtime/build-task/esm2022/data/list/list.build.mjs +1 -1
- app-ng-runtime/build-task/esm2022/data/media-list/media-list.build.mjs +1 -1
- app-ng-runtime/build-task/esm2022/data/table/table-column/table-column.build.mjs +1 -1
- app-ng-runtime/build-task/esm2022/data/table/table.build.mjs +1 -1
- app-ng-runtime/build-task/esm2022/dialogs/partial-dialog/partial-dialog.build.mjs +1 -1
- app-ng-runtime/build-task/esm2022/input/file-upload/file-upload.build.mjs +1 -1
- app-ng-runtime/build-task/esm2022/navigation/menu/menu.build.mjs +19 -2
- app-ng-runtime/build-task/esm2022/navigation/popover/popover.build.mjs +1 -1
- app-ng-runtime/build-task/esm2022/page/page-content/page-content.build.mjs +1 -1
- app-ng-runtime/build-task/esm2022/page/page.build.mjs +3 -2
- app-ng-runtime/build-task/esm2022/utils/utils.mjs +1 -1
- app-ng-runtime/build-task/fesm2022/index.mjs +33 -8
- app-ng-runtime/build-task/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/advanced/carousel/.npmignore +2 -0
- app-ng-runtime/components/advanced/carousel/bundles/index.umd.js +29 -18
- app-ng-runtime/components/advanced/carousel/carousel-template/carousel-template.directive.d.ts +3 -3
- app-ng-runtime/components/advanced/carousel/carousel.directive.d.ts +2 -2
- app-ng-runtime/components/advanced/carousel/esm2022/carousel-template/carousel-template.directive.mjs +15 -9
- app-ng-runtime/components/advanced/carousel/esm2022/carousel.animator.mjs +3 -2
- app-ng-runtime/components/advanced/carousel/esm2022/carousel.directive.mjs +12 -7
- app-ng-runtime/components/advanced/carousel/esm2022/carousel.module.mjs +2 -2
- app-ng-runtime/components/advanced/carousel/fesm2022/index.mjs +28 -16
- app-ng-runtime/components/advanced/carousel/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/advanced/login/.npmignore +2 -0
- app-ng-runtime/components/advanced/login/bundles/index.umd.js +19 -13
- app-ng-runtime/components/advanced/login/esm2022/login.component.mjs +17 -10
- app-ng-runtime/components/advanced/login/esm2022/login.module.mjs +2 -2
- app-ng-runtime/components/advanced/login/fesm2022/index.mjs +18 -11
- app-ng-runtime/components/advanced/login/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/advanced/login/login.component.d.ts +2 -2
- app-ng-runtime/components/advanced/marquee/.npmignore +2 -0
- app-ng-runtime/components/advanced/marquee/bundles/index.umd.js +11 -6
- app-ng-runtime/components/advanced/marquee/esm2022/marquee.directive.mjs +12 -7
- app-ng-runtime/components/advanced/marquee/esm2022/marquee.module.mjs +2 -2
- app-ng-runtime/components/advanced/marquee/fesm2022/index.mjs +13 -8
- app-ng-runtime/components/advanced/marquee/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/advanced/marquee/marquee.directive.d.ts +2 -2
- app-ng-runtime/components/base/.npmignore +2 -0
- app-ng-runtime/components/base/bundles/index.umd.js +384 -284
- app-ng-runtime/components/base/directives/show-in-device.directive.d.ts +3 -6
- app-ng-runtime/components/base/esm2022/components.module.mjs +2 -2
- app-ng-runtime/components/base/esm2022/directives/show-in-device.directive.mjs +13 -15
- app-ng-runtime/components/base/esm2022/pipes/custom-pipes.mjs +35 -34
- app-ng-runtime/components/base/esm2022/pipes/image.pipe.mjs +2 -2
- app-ng-runtime/components/base/esm2022/pipes/sanitize.pipe.mjs +3 -3
- app-ng-runtime/components/base/esm2022/pipes/trust-as.pipe.mjs +3 -3
- app-ng-runtime/components/base/esm2022/pipes/wm-pipe.mjs +3 -2
- app-ng-runtime/components/base/esm2022/public_api.mjs +2 -1
- app-ng-runtime/components/base/esm2022/utils/data-utils.mjs +30 -29
- app-ng-runtime/components/base/esm2022/utils/form-utils.mjs +48 -42
- 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 +8 -7
- app-ng-runtime/components/base/esm2022/widgets/common/base/base-field-validations.mjs +23 -22
- app-ng-runtime/components/base/esm2022/widgets/common/base/base.component.mjs +50 -17
- app-ng-runtime/components/base/esm2022/widgets/common/base/dataset-aware-nav.component.mjs +52 -18
- app-ng-runtime/components/base/esm2022/widgets/common/base/partial-container.directive.mjs +6 -5
- app-ng-runtime/components/base/esm2022/widgets/common/base/stylable.component.mjs +3 -3
- app-ng-runtime/components/base/esm2022/widgets/common/base/text-content.directive.mjs +3 -3
- app-ng-runtime/components/base/esm2022/widgets/common/container/container.directive.mjs +12 -7
- app-ng-runtime/components/base/esm2022/widgets/common/dialog/dialog.service.mjs +5 -4
- app-ng-runtime/components/base/esm2022/widgets/common/item-template/item-template.directive.mjs +12 -7
- app-ng-runtime/components/base/esm2022/widgets/common/lazy-load/lazy-load.directive.mjs +14 -7
- app-ng-runtime/components/base/esm2022/widgets/common/message/message.component.mjs +16 -10
- app-ng-runtime/components/base/esm2022/widgets/common/partial/partial.directive.mjs +14 -8
- app-ng-runtime/components/base/esm2022/widgets/common/partial-param/partial-param.directive.mjs +9 -8
- app-ng-runtime/components/base/esm2022/widgets/common/pull-to-refresh/pull-to-refresh.mjs +1 -1
- app-ng-runtime/components/base/esm2022/widgets/common/redraw/redrawable.directive.mjs +4 -4
- app-ng-runtime/components/base/esm2022/widgets/common/repeat-template/repeat-template.directive.mjs +15 -9
- app-ng-runtime/components/base/esm2022/widgets/common/smooth-scroll/smooth-scroll.directive.mjs +11 -10
- 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/styler.mjs +1 -1
- app-ng-runtime/components/base/esm2022/widgets/framework/widget-props.mjs +1 -1
- app-ng-runtime/components/base/esm2022/widgets/framework/widget-proxy-provider.mjs +4 -3
- app-ng-runtime/components/base/esm2022/widgets/framework/widget-registry.mjs +1 -1
- app-ng-runtime/components/base/fesm2022/index.mjs +389 -287
- 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/public_api.d.ts +1 -0
- app-ng-runtime/components/base/utils/data-utils.d.ts +1 -0
- app-ng-runtime/components/base/utils/widget-utils.d.ts +2 -2
- app-ng-runtime/components/base/widgets/common/base/base-container.component.d.ts +1 -1
- app-ng-runtime/components/base/widgets/common/base/base-field-validations.d.ts +1 -1
- app-ng-runtime/components/base/widgets/common/base/base.component.d.ts +21 -2
- app-ng-runtime/components/base/widgets/common/base/dataset-aware-nav.component.d.ts +1 -1
- app-ng-runtime/components/base/widgets/common/base/partial-container.directive.d.ts +1 -1
- app-ng-runtime/components/base/widgets/common/container/container.directive.d.ts +2 -2
- app-ng-runtime/components/base/widgets/common/item-template/item-template.directive.d.ts +2 -2
- app-ng-runtime/components/base/widgets/common/lazy-load/lazy-load.directive.d.ts +2 -2
- app-ng-runtime/components/base/widgets/common/message/message.component.d.ts +2 -2
- app-ng-runtime/components/base/widgets/common/partial/partial.directive.d.ts +2 -2
- app-ng-runtime/components/base/widgets/common/repeat-template/repeat-template.directive.d.ts +3 -3
- app-ng-runtime/components/basic/default/.npmignore +2 -0
- app-ng-runtime/components/basic/default/anchor/anchor.component.d.ts +2 -2
- app-ng-runtime/components/basic/default/audio/audio.component.d.ts +3 -2
- app-ng-runtime/components/basic/default/bundles/index.umd.js +163 -119
- app-ng-runtime/components/basic/default/esm2022/anchor/anchor.component.mjs +31 -27
- app-ng-runtime/components/basic/default/esm2022/audio/audio.component.mjs +18 -11
- app-ng-runtime/components/basic/default/esm2022/basic.module.mjs +2 -2
- app-ng-runtime/components/basic/default/esm2022/html/html.directive.mjs +13 -8
- app-ng-runtime/components/basic/default/esm2022/icon/icon.component.mjs +19 -14
- app-ng-runtime/components/basic/default/esm2022/iframe/iframe.component.mjs +15 -9
- app-ng-runtime/components/basic/default/esm2022/label/label.directive.mjs +15 -9
- app-ng-runtime/components/basic/default/esm2022/picture/picture.directive.mjs +12 -7
- app-ng-runtime/components/basic/default/esm2022/picture/picture.props.mjs +1 -1
- app-ng-runtime/components/basic/default/esm2022/spinner/spinner.component.mjs +34 -30
- app-ng-runtime/components/basic/default/esm2022/video/video.component.mjs +21 -17
- app-ng-runtime/components/basic/default/fesm2022/index.mjs +162 -117
- app-ng-runtime/components/basic/default/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/basic/default/html/html.directive.d.ts +2 -2
- app-ng-runtime/components/basic/default/icon/icon.component.d.ts +2 -2
- app-ng-runtime/components/basic/default/iframe/iframe.component.d.ts +2 -2
- app-ng-runtime/components/basic/default/label/label.directive.d.ts +2 -2
- app-ng-runtime/components/basic/default/picture/picture.directive.d.ts +2 -2
- app-ng-runtime/components/basic/default/spinner/spinner.component.d.ts +2 -2
- app-ng-runtime/components/basic/default/video/video.component.d.ts +2 -2
- app-ng-runtime/components/basic/progress/.npmignore +2 -0
- app-ng-runtime/components/basic/progress/bundles/index.umd.js +43 -30
- app-ng-runtime/components/basic/progress/esm2022/progress-bar/progress-bar.component.mjs +22 -15
- app-ng-runtime/components/basic/progress/esm2022/progress-circle/progress-circle.component.mjs +20 -12
- app-ng-runtime/components/basic/progress/esm2022/progress.module.mjs +2 -2
- app-ng-runtime/components/basic/progress/esm2022/utils.mjs +3 -3
- app-ng-runtime/components/basic/progress/fesm2022/index.mjs +42 -28
- app-ng-runtime/components/basic/progress/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/basic/progress/progress-bar/progress-bar.component.d.ts +2 -2
- app-ng-runtime/components/basic/progress/progress-circle/progress-circle.component.d.ts +3 -2
- app-ng-runtime/components/basic/rich-text-editor/.npmignore +2 -0
- app-ng-runtime/components/basic/rich-text-editor/bundles/index.umd.js +19 -13
- app-ng-runtime/components/basic/rich-text-editor/esm2022/rich-text-editor.component.mjs +17 -10
- app-ng-runtime/components/basic/rich-text-editor/esm2022/rich-text-editor.module.mjs +2 -2
- app-ng-runtime/components/basic/rich-text-editor/fesm2022/index.mjs +18 -11
- 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/.npmignore +2 -0
- app-ng-runtime/components/basic/search/bundles/index.umd.js +186 -175
- 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/scrollable.directive.mjs +3 -3
- app-ng-runtime/components/basic/search/esm2022/search.component.mjs +148 -138
- app-ng-runtime/components/basic/search/esm2022/search.module.mjs +2 -2
- app-ng-runtime/components/basic/search/fesm2022/index.mjs +186 -174
- app-ng-runtime/components/basic/search/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/basic/search/search.component.d.ts +2 -2
- app-ng-runtime/components/basic/tree/.npmignore +2 -0
- app-ng-runtime/components/basic/tree/bundles/index.umd.js +23 -17
- app-ng-runtime/components/basic/tree/esm2022/tree.component.mjs +21 -14
- app-ng-runtime/components/basic/tree/esm2022/tree.module.mjs +2 -2
- app-ng-runtime/components/basic/tree/fesm2022/index.mjs +22 -15
- app-ng-runtime/components/basic/tree/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/basic/tree/tree.component.d.ts +2 -2
- app-ng-runtime/components/chart/.npmignore +2 -0
- app-ng-runtime/components/chart/bundles/index.umd.js +97 -84
- app-ng-runtime/components/chart/chart.component.d.ts +3 -3
- app-ng-runtime/components/chart/chart.utils.d.ts +3 -3
- app-ng-runtime/components/chart/esm2022/chart.component.mjs +82 -68
- app-ng-runtime/components/chart/esm2022/chart.module.mjs +2 -2
- app-ng-runtime/components/chart/esm2022/chart.utils.mjs +14 -13
- app-ng-runtime/components/chart/fesm2022/index.mjs +95 -81
- app-ng-runtime/components/chart/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/containers/accordion/.npmignore +2 -0
- app-ng-runtime/components/containers/accordion/accordion-pane/accordion-pane.component.d.ts +2 -2
- app-ng-runtime/components/containers/accordion/accordion.directive.d.ts +2 -2
- app-ng-runtime/components/containers/accordion/bundles/index.umd.js +51 -40
- app-ng-runtime/components/containers/accordion/esm2022/accordion-pane/accordion-pane.component.mjs +23 -17
- app-ng-runtime/components/containers/accordion/esm2022/accordion-pane/accordion-pane.props.mjs +4 -4
- app-ng-runtime/components/containers/accordion/esm2022/accordion.directive.mjs +25 -19
- app-ng-runtime/components/containers/accordion/esm2022/accordion.module.mjs +2 -2
- app-ng-runtime/components/containers/accordion/fesm2022/index.mjs +50 -38
- app-ng-runtime/components/containers/accordion/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/containers/layout-grid/.npmignore +2 -0
- app-ng-runtime/components/containers/layout-grid/bundles/index.umd.js +32 -17
- app-ng-runtime/components/containers/layout-grid/esm2022/layout-grid-column/layout-grid-column.directive.mjs +13 -8
- app-ng-runtime/components/containers/layout-grid/esm2022/layout-grid-row/layout-grid-row.directive.mjs +12 -7
- app-ng-runtime/components/containers/layout-grid/esm2022/layout-grid.directive.mjs +12 -7
- app-ng-runtime/components/containers/layout-grid/esm2022/layout-grid.module.mjs +2 -2
- app-ng-runtime/components/containers/layout-grid/fesm2022/index.mjs +34 -19
- app-ng-runtime/components/containers/layout-grid/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/containers/layout-grid/layout-grid-column/layout-grid-column.directive.d.ts +2 -2
- app-ng-runtime/components/containers/layout-grid/layout-grid-row/layout-grid-row.directive.d.ts +2 -2
- app-ng-runtime/components/containers/layout-grid/layout-grid.directive.d.ts +2 -2
- app-ng-runtime/components/containers/linear-layout/.npmignore +2 -0
- app-ng-runtime/components/containers/linear-layout/bundles/index.umd.js +21 -11
- app-ng-runtime/components/containers/linear-layout/esm2022/linear-layout-item/linear-layout-item.directive.mjs +12 -7
- app-ng-runtime/components/containers/linear-layout/esm2022/linear-layout.directive.mjs +12 -7
- app-ng-runtime/components/containers/linear-layout/esm2022/linear-layout.module.mjs +2 -2
- app-ng-runtime/components/containers/linear-layout/fesm2022/index.mjs +23 -13
- app-ng-runtime/components/containers/linear-layout/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/containers/linear-layout/linear-layout-item/linear-layout-item.directive.d.ts +2 -2
- app-ng-runtime/components/containers/linear-layout/linear-layout.directive.d.ts +2 -2
- app-ng-runtime/components/containers/panel/.npmignore +2 -0
- app-ng-runtime/components/containers/panel/bundles/index.umd.js +85 -85
- app-ng-runtime/components/containers/panel/esm2022/panel.component.mjs +83 -82
- app-ng-runtime/components/containers/panel/esm2022/panel.module.mjs +2 -2
- app-ng-runtime/components/containers/panel/fesm2022/index.mjs +84 -83
- app-ng-runtime/components/containers/panel/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/containers/panel/panel.component.d.ts +3 -3
- app-ng-runtime/components/containers/tabs/.npmignore +2 -0
- app-ng-runtime/components/containers/tabs/bundles/index.umd.js +74 -63
- app-ng-runtime/components/containers/tabs/esm2022/tab-pane/tab-pane.component.mjs +14 -8
- app-ng-runtime/components/containers/tabs/esm2022/tab-pane/tab-pane.props.mjs +4 -4
- app-ng-runtime/components/containers/tabs/esm2022/tabs.animator.mjs +1 -1
- app-ng-runtime/components/containers/tabs/esm2022/tabs.component.mjs +57 -51
- app-ng-runtime/components/containers/tabs/esm2022/tabs.module.mjs +2 -2
- app-ng-runtime/components/containers/tabs/esm2022/tabs.props.mjs +1 -1
- app-ng-runtime/components/containers/tabs/fesm2022/index.mjs +73 -61
- app-ng-runtime/components/containers/tabs/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/containers/tabs/tab-pane/tab-pane.component.d.ts +2 -2
- app-ng-runtime/components/containers/tabs/tabs.component.d.ts +2 -2
- app-ng-runtime/components/containers/tile/.npmignore +2 -0
- app-ng-runtime/components/containers/tile/bundles/index.umd.js +11 -6
- app-ng-runtime/components/containers/tile/esm2022/tile.directive.mjs +12 -7
- app-ng-runtime/components/containers/tile/esm2022/tile.module.mjs +2 -2
- app-ng-runtime/components/containers/tile/fesm2022/index.mjs +13 -8
- app-ng-runtime/components/containers/tile/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/containers/tile/tile.directive.d.ts +2 -2
- app-ng-runtime/components/containers/wizard/.npmignore +2 -0
- app-ng-runtime/components/containers/wizard/bundles/index.umd.js +102 -98
- app-ng-runtime/components/containers/wizard/esm2022/wizard-step/wizard-step.directive.mjs +13 -8
- app-ng-runtime/components/containers/wizard/esm2022/wizard.component.mjs +92 -93
- app-ng-runtime/components/containers/wizard/esm2022/wizard.module.mjs +2 -2
- app-ng-runtime/components/containers/wizard/fesm2022/index.mjs +104 -100
- app-ng-runtime/components/containers/wizard/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/containers/wizard/wizard-step/wizard-step.directive.d.ts +2 -2
- app-ng-runtime/components/containers/wizard/wizard.component.d.ts +2 -2
- app-ng-runtime/components/data/card/.npmignore +2 -0
- app-ng-runtime/components/data/card/bundles/index.umd.js +70 -50
- app-ng-runtime/components/data/card/card-actions/card-actions.directive.d.ts +2 -2
- app-ng-runtime/components/data/card/card-content/card-content.component.d.ts +2 -2
- app-ng-runtime/components/data/card/card-footer/card-footer.directive.d.ts +2 -2
- app-ng-runtime/components/data/card/card.component.d.ts +2 -2
- app-ng-runtime/components/data/card/esm2022/card-actions/card-actions.directive.mjs +12 -7
- app-ng-runtime/components/data/card/esm2022/card-content/card-content.component.mjs +15 -9
- app-ng-runtime/components/data/card/esm2022/card-footer/card-footer.directive.mjs +12 -7
- app-ng-runtime/components/data/card/esm2022/card.component.mjs +38 -34
- app-ng-runtime/components/data/card/esm2022/card.module.mjs +2 -2
- app-ng-runtime/components/data/card/fesm2022/index.mjs +72 -52
- app-ng-runtime/components/data/card/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/data/form/.npmignore +2 -0
- app-ng-runtime/components/data/form/bundles/index.umd.js +201 -187
- app-ng-runtime/components/data/form/esm2022/form-action/form-action.directive.mjs +15 -9
- app-ng-runtime/components/data/form/esm2022/form-field/form-field.directive.mjs +21 -18
- app-ng-runtime/components/data/form/esm2022/form-field/form-field.props.mjs +1 -1
- app-ng-runtime/components/data/form/esm2022/form-widget.directive.mjs +4 -4
- app-ng-runtime/components/data/form/esm2022/form.component.mjs +138 -134
- app-ng-runtime/components/data/form/esm2022/form.module.mjs +2 -2
- app-ng-runtime/components/data/form/esm2022/form.props.mjs +1 -1
- app-ng-runtime/components/data/form/esm2022/live-actions/dependson.directive.mjs +4 -4
- app-ng-runtime/components/data/form/esm2022/live-actions/live-actions.directive.mjs +4 -4
- app-ng-runtime/components/data/form/esm2022/live-filter/live-filter.directive.mjs +7 -6
- app-ng-runtime/components/data/form/esm2022/live-form/live-form.directive.mjs +18 -15
- app-ng-runtime/components/data/form/fesm2022/index.mjs +205 -192
- app-ng-runtime/components/data/form/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/data/form/form-action/form-action.directive.d.ts +2 -2
- app-ng-runtime/components/data/form/form-field/form-field.directive.d.ts +2 -2
- app-ng-runtime/components/data/form/form.component.d.ts +4 -4
- app-ng-runtime/components/data/form/live-form/live-form.directive.d.ts +1 -1
- app-ng-runtime/components/data/list/.npmignore +2 -0
- app-ng-runtime/components/data/list/bundles/index.umd.js +829 -818
- app-ng-runtime/components/data/list/esm2022/list-item.directive.mjs +9 -4
- app-ng-runtime/components/data/list/esm2022/list.animator.mjs +5 -3
- app-ng-runtime/components/data/list/esm2022/list.component.mjs +817 -810
- app-ng-runtime/components/data/list/esm2022/list.module.mjs +2 -2
- app-ng-runtime/components/data/list/fesm2022/index.mjs +828 -816
- app-ng-runtime/components/data/list/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/data/list/list-item.directive.d.ts +4 -0
- app-ng-runtime/components/data/list/list.component.d.ts +55 -54
- app-ng-runtime/components/data/live-table/.npmignore +2 -0
- app-ng-runtime/components/data/live-table/bundles/index.umd.js +13 -7
- app-ng-runtime/components/data/live-table/esm2022/live-table.component.mjs +14 -8
- app-ng-runtime/components/data/live-table/esm2022/live-table.module.mjs +2 -2
- app-ng-runtime/components/data/live-table/fesm2022/index.mjs +15 -9
- app-ng-runtime/components/data/live-table/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/data/live-table/live-table.component.d.ts +2 -2
- app-ng-runtime/components/data/pagination/.npmignore +2 -0
- app-ng-runtime/components/data/pagination/bundles/index.umd.js +113 -110
- app-ng-runtime/components/data/pagination/esm2022/pagination.component.mjs +111 -107
- app-ng-runtime/components/data/pagination/esm2022/pagination.module.mjs +2 -2
- app-ng-runtime/components/data/pagination/fesm2022/index.mjs +112 -108
- app-ng-runtime/components/data/pagination/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/data/pagination/pagination.component.d.ts +2 -2
- app-ng-runtime/components/data/table/.npmignore +2 -0
- app-ng-runtime/components/data/table/bundles/index.umd.js +314 -269
- app-ng-runtime/components/data/table/esm2022/table-action/table-action.directive.mjs +15 -9
- app-ng-runtime/components/data/table/esm2022/table-column/table-column.directive.mjs +40 -25
- app-ng-runtime/components/data/table/esm2022/table-column/table-column.props.mjs +2 -2
- app-ng-runtime/components/data/table/esm2022/table-column-group/table-column-group.directive.mjs +13 -8
- app-ng-runtime/components/data/table/esm2022/table-cud.directive.mjs +10 -9
- app-ng-runtime/components/data/table/esm2022/table-filter.directive.mjs +56 -58
- app-ng-runtime/components/data/table/esm2022/table-row/table-row.directive.mjs +13 -8
- app-ng-runtime/components/data/table/esm2022/table-row-action/table-row-action.directive.mjs +14 -8
- app-ng-runtime/components/data/table/esm2022/table.component.mjs +165 -150
- app-ng-runtime/components/data/table/esm2022/table.module.mjs +2 -2
- app-ng-runtime/components/data/table/esm2022/table.props.mjs +2 -2
- app-ng-runtime/components/data/table/fesm2022/index.mjs +313 -267
- app-ng-runtime/components/data/table/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/data/table/table-action/table-action.directive.d.ts +2 -2
- app-ng-runtime/components/data/table/table-column/table-column.directive.d.ts +8 -8
- app-ng-runtime/components/data/table/table-column-group/table-column-group.directive.d.ts +2 -2
- app-ng-runtime/components/data/table/table-row/table-row.directive.d.ts +2 -2
- app-ng-runtime/components/data/table/table-row-action/table-row-action.directive.d.ts +2 -2
- app-ng-runtime/components/data/table/table.component.d.ts +4 -4
- app-ng-runtime/components/dialogs/alert-dialog/.npmignore +2 -0
- app-ng-runtime/components/dialogs/alert-dialog/alert-dialog.component.d.ts +2 -2
- app-ng-runtime/components/dialogs/alert-dialog/bundles/index.umd.js +15 -9
- app-ng-runtime/components/dialogs/alert-dialog/esm2022/alert-dialog.component.mjs +16 -10
- app-ng-runtime/components/dialogs/alert-dialog/esm2022/alert-dialog.module.mjs +2 -2
- app-ng-runtime/components/dialogs/alert-dialog/fesm2022/index.mjs +17 -11
- app-ng-runtime/components/dialogs/alert-dialog/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/confirm-dialog/.npmignore +2 -0
- app-ng-runtime/components/dialogs/confirm-dialog/bundles/index.umd.js +17 -11
- app-ng-runtime/components/dialogs/confirm-dialog/confirm-dialog.component.d.ts +2 -2
- app-ng-runtime/components/dialogs/confirm-dialog/esm2022/confirm-dialog.component.mjs +18 -12
- app-ng-runtime/components/dialogs/confirm-dialog/esm2022/confirm-dialog.module.mjs +2 -2
- app-ng-runtime/components/dialogs/confirm-dialog/fesm2022/index.mjs +19 -13
- app-ng-runtime/components/dialogs/confirm-dialog/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/default/.npmignore +2 -0
- app-ng-runtime/components/dialogs/default/base-dialog.d.ts +2 -2
- app-ng-runtime/components/dialogs/default/bundles/index.umd.js +75 -71
- app-ng-runtime/components/dialogs/default/dialog-footer/dialog-footer.directive.d.ts +2 -2
- app-ng-runtime/components/dialogs/default/esm2022/base-dialog.mjs +14 -9
- app-ng-runtime/components/dialogs/default/esm2022/dialog-body/dialog-body.directive.mjs +4 -4
- app-ng-runtime/components/dialogs/default/esm2022/dialog-footer/dialog-footer.directive.mjs +12 -7
- app-ng-runtime/components/dialogs/default/esm2022/dialog-header/dialog-header.component.mjs +49 -55
- app-ng-runtime/components/dialogs/default/esm2022/dialog.module.mjs +2 -2
- app-ng-runtime/components/dialogs/default/fesm2022/index.mjs +76 -72
- app-ng-runtime/components/dialogs/default/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/design-dialog/.npmignore +2 -0
- app-ng-runtime/components/dialogs/design-dialog/bundles/index.umd.js +20 -14
- app-ng-runtime/components/dialogs/design-dialog/dialog.component.d.ts +2 -2
- app-ng-runtime/components/dialogs/design-dialog/esm2022/design-dialog.module.mjs +2 -2
- app-ng-runtime/components/dialogs/design-dialog/esm2022/dialog.component.mjs +21 -15
- app-ng-runtime/components/dialogs/design-dialog/fesm2022/index.mjs +22 -16
- app-ng-runtime/components/dialogs/design-dialog/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/iframe-dialog/.npmignore +2 -0
- app-ng-runtime/components/dialogs/iframe-dialog/bundles/index.umd.js +20 -14
- app-ng-runtime/components/dialogs/iframe-dialog/esm2022/iframe-dialog.component.mjs +21 -15
- app-ng-runtime/components/dialogs/iframe-dialog/esm2022/iframe-dialog.module.mjs +2 -2
- app-ng-runtime/components/dialogs/iframe-dialog/fesm2022/index.mjs +22 -16
- app-ng-runtime/components/dialogs/iframe-dialog/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/iframe-dialog/iframe-dialog.component.d.ts +2 -2
- app-ng-runtime/components/dialogs/login-dialog/.npmignore +2 -0
- app-ng-runtime/components/dialogs/login-dialog/bundles/index.umd.js +4 -4
- app-ng-runtime/components/dialogs/login-dialog/esm2022/login-dialog.directive.mjs +4 -4
- app-ng-runtime/components/dialogs/login-dialog/esm2022/login-dialog.module.mjs +2 -2
- app-ng-runtime/components/dialogs/login-dialog/fesm2022/index.mjs +4 -4
- app-ng-runtime/components/dialogs/login-dialog/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/partial-dialog/.npmignore +2 -0
- app-ng-runtime/components/dialogs/partial-dialog/bundles/index.umd.js +16 -10
- app-ng-runtime/components/dialogs/partial-dialog/esm2022/partial-dialog.component.mjs +17 -11
- app-ng-runtime/components/dialogs/partial-dialog/esm2022/partial-dialog.module.mjs +2 -2
- app-ng-runtime/components/dialogs/partial-dialog/fesm2022/index.mjs +18 -12
- app-ng-runtime/components/dialogs/partial-dialog/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/partial-dialog/partial-dialog.component.d.ts +2 -2
- app-ng-runtime/components/input/calendar/.npmignore +2 -0
- app-ng-runtime/components/input/calendar/bundles/index.umd.js +46 -38
- app-ng-runtime/components/input/calendar/calendar.component.d.ts +2 -2
- app-ng-runtime/components/input/calendar/esm2022/calendar.component.mjs +44 -35
- app-ng-runtime/components/input/calendar/esm2022/calendar.module.mjs +2 -2
- app-ng-runtime/components/input/calendar/fesm2022/index.mjs +45 -36
- app-ng-runtime/components/input/calendar/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/chips/.npmignore +2 -0
- app-ng-runtime/components/input/chips/bundles/index.umd.js +69 -61
- app-ng-runtime/components/input/chips/chips.component.d.ts +3 -3
- app-ng-runtime/components/input/chips/esm2022/chips.component.mjs +67 -58
- app-ng-runtime/components/input/chips/esm2022/chips.module.mjs +2 -2
- app-ng-runtime/components/input/chips/fesm2022/index.mjs +67 -58
- app-ng-runtime/components/input/chips/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/color-picker/.npmignore +2 -0
- app-ng-runtime/components/input/color-picker/bundles/index.umd.js +25 -12
- app-ng-runtime/components/input/color-picker/color-picker.component.d.ts +2 -2
- app-ng-runtime/components/input/color-picker/esm2022/color-picker.component.mjs +26 -13
- app-ng-runtime/components/input/color-picker/esm2022/color-picker.module.mjs +2 -2
- app-ng-runtime/components/input/color-picker/fesm2022/index.mjs +26 -13
- app-ng-runtime/components/input/color-picker/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/currency/.npmignore +2 -0
- app-ng-runtime/components/input/currency/bundles/index.umd.js +18 -11
- app-ng-runtime/components/input/currency/currency.component.d.ts +2 -2
- app-ng-runtime/components/input/currency/esm2022/currency.component.mjs +19 -12
- app-ng-runtime/components/input/currency/esm2022/currency.module.mjs +2 -2
- app-ng-runtime/components/input/currency/fesm2022/index.mjs +19 -12
- app-ng-runtime/components/input/currency/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/default/.npmignore +2 -0
- app-ng-runtime/components/input/default/base-form.component.d.ts +3 -3
- app-ng-runtime/components/input/default/bundles/index.umd.js +629 -488
- app-ng-runtime/components/input/default/button/button.component.d.ts +2 -2
- app-ng-runtime/components/input/default/button-group/button-group.directive.d.ts +2 -2
- app-ng-runtime/components/input/default/checkbox/checkbox.component.d.ts +3 -2
- app-ng-runtime/components/input/default/checkboxset/checkboxset.component.d.ts +2 -2
- app-ng-runtime/components/input/default/composite/composite.directive.d.ts +2 -2
- app-ng-runtime/components/input/default/dataset-aware-form.component.d.ts +4 -4
- app-ng-runtime/components/input/default/esm2022/base-form-custom.component.mjs +3 -3
- app-ng-runtime/components/input/default/esm2022/base-form.component.mjs +17 -11
- app-ng-runtime/components/input/default/esm2022/button/button.component.mjs +32 -28
- app-ng-runtime/components/input/default/esm2022/button-group/button-group.directive.mjs +12 -7
- app-ng-runtime/components/input/default/esm2022/caption-position.directive.mjs +6 -6
- app-ng-runtime/components/input/default/esm2022/checkbox/checkbox.component.mjs +27 -17
- app-ng-runtime/components/input/default/esm2022/checkboxset/checkboxset.component.mjs +107 -103
- app-ng-runtime/components/input/default/esm2022/composite/composite.directive.mjs +12 -7
- app-ng-runtime/components/input/default/esm2022/dataset-aware-form.component.mjs +32 -26
- app-ng-runtime/components/input/default/esm2022/input.module.mjs +2 -2
- app-ng-runtime/components/input/default/esm2022/number/number.component.mjs +17 -10
- app-ng-runtime/components/input/default/esm2022/radioset/radioset.component.mjs +105 -102
- app-ng-runtime/components/input/default/esm2022/select/select.component.mjs +92 -74
- app-ng-runtime/components/input/default/esm2022/switch/switch.component.mjs +38 -31
- app-ng-runtime/components/input/default/esm2022/text/base/base-input.mjs +18 -11
- app-ng-runtime/components/input/default/esm2022/text/calendar/input-calendar.component.mjs +23 -12
- app-ng-runtime/components/input/default/esm2022/text/color/input-color.component.mjs +23 -12
- app-ng-runtime/components/input/default/esm2022/text/email/input-email.component.mjs +20 -11
- app-ng-runtime/components/input/default/esm2022/text/locale/number-locale.mjs +35 -24
- app-ng-runtime/components/input/default/esm2022/text/number/input-number.component.mjs +21 -12
- app-ng-runtime/components/input/default/esm2022/text/text/input-text.component.mjs +20 -11
- app-ng-runtime/components/input/default/esm2022/textarea/textarea.component.mjs +21 -12
- app-ng-runtime/components/input/default/fesm2022/index.mjs +632 -489
- app-ng-runtime/components/input/default/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/default/number/number.component.d.ts +2 -2
- app-ng-runtime/components/input/default/radioset/radioset.component.d.ts +2 -2
- app-ng-runtime/components/input/default/select/select.component.d.ts +3 -6
- app-ng-runtime/components/input/default/switch/switch.component.d.ts +2 -2
- app-ng-runtime/components/input/default/text/base/base-input.d.ts +3 -2
- app-ng-runtime/components/input/default/text/calendar/input-calendar.component.d.ts +2 -2
- app-ng-runtime/components/input/default/text/color/input-color.component.d.ts +2 -2
- app-ng-runtime/components/input/default/text/email/input-email.component.d.ts +2 -2
- app-ng-runtime/components/input/default/text/locale/number-locale.d.ts +1 -1
- app-ng-runtime/components/input/default/text/number/input-number.component.d.ts +2 -2
- app-ng-runtime/components/input/default/text/text/input-text.component.d.ts +2 -2
- app-ng-runtime/components/input/default/textarea/textarea.component.d.ts +2 -2
- app-ng-runtime/components/input/epoch/.npmignore +2 -0
- app-ng-runtime/components/input/epoch/base-date-time.component.d.ts +2 -2
- app-ng-runtime/components/input/epoch/bundles/index.umd.js +214 -165
- app-ng-runtime/components/input/epoch/date/date.component.d.ts +3 -2
- app-ng-runtime/components/input/epoch/date-time/date-time.component.d.ts +2 -2
- app-ng-runtime/components/input/epoch/esm2022/base-date-time.component.mjs +44 -36
- app-ng-runtime/components/input/epoch/esm2022/date/date.component.mjs +36 -22
- app-ng-runtime/components/input/epoch/esm2022/date/date.props.mjs +2 -2
- app-ng-runtime/components/input/epoch/esm2022/date/imaskUtil.mjs +8 -2
- app-ng-runtime/components/input/epoch/esm2022/date-time/date-time-picker.component.mjs +42 -41
- app-ng-runtime/components/input/epoch/esm2022/date-time/date-time.component.mjs +49 -37
- app-ng-runtime/components/input/epoch/esm2022/epoch.module.mjs +2 -2
- app-ng-runtime/components/input/epoch/esm2022/picker/picker.component.mjs +7 -5
- app-ng-runtime/components/input/epoch/esm2022/time/time.component.mjs +35 -24
- app-ng-runtime/components/input/epoch/fesm2022/index.mjs +211 -161
- app-ng-runtime/components/input/epoch/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/epoch/time/time.component.d.ts +2 -2
- app-ng-runtime/components/input/file-upload/.npmignore +2 -0
- app-ng-runtime/components/input/file-upload/bundles/index.umd.js +133 -135
- app-ng-runtime/components/input/file-upload/esm2022/file-upload.component.mjs +131 -132
- app-ng-runtime/components/input/file-upload/esm2022/file-upload.module.mjs +2 -2
- app-ng-runtime/components/input/file-upload/fesm2022/index.mjs +132 -133
- app-ng-runtime/components/input/file-upload/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/file-upload/file-upload.component.d.ts +2 -2
- app-ng-runtime/components/input/rating/.npmignore +2 -0
- app-ng-runtime/components/input/rating/bundles/index.umd.js +60 -51
- app-ng-runtime/components/input/rating/esm2022/rating.component.mjs +58 -48
- app-ng-runtime/components/input/rating/esm2022/rating.module.mjs +2 -2
- app-ng-runtime/components/input/rating/fesm2022/index.mjs +58 -48
- app-ng-runtime/components/input/rating/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/rating/rating.component.d.ts +2 -2
- app-ng-runtime/components/input/slider/.npmignore +2 -0
- app-ng-runtime/components/input/slider/bundles/index.umd.js +23 -13
- app-ng-runtime/components/input/slider/esm2022/slider.component.mjs +24 -14
- app-ng-runtime/components/input/slider/esm2022/slider.module.mjs +2 -2
- app-ng-runtime/components/input/slider/fesm2022/index.mjs +24 -14
- app-ng-runtime/components/input/slider/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/slider/slider.component.d.ts +2 -2
- app-ng-runtime/components/navigation/breadcrumb/.npmignore +2 -0
- app-ng-runtime/components/navigation/breadcrumb/breadcrumb.component.d.ts +2 -2
- app-ng-runtime/components/navigation/breadcrumb/bundles/index.umd.js +33 -28
- app-ng-runtime/components/navigation/breadcrumb/esm2022/breadcrumb.component.mjs +34 -29
- app-ng-runtime/components/navigation/breadcrumb/esm2022/breadcrumb.module.mjs +2 -2
- app-ng-runtime/components/navigation/breadcrumb/fesm2022/index.mjs +35 -30
- app-ng-runtime/components/navigation/breadcrumb/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/navigation/menu/.npmignore +2 -0
- app-ng-runtime/components/navigation/menu/bundles/index.umd.js +161 -146
- app-ng-runtime/components/navigation/menu/esm2022/menu-adapator.component.mjs +13 -7
- app-ng-runtime/components/navigation/menu/esm2022/menu-dropdown/menu-dropdown.component.mjs +5 -4
- app-ng-runtime/components/navigation/menu/esm2022/menu-dropdown-item/menu-dropdown-item.component.mjs +27 -26
- app-ng-runtime/components/navigation/menu/esm2022/menu.component.mjs +44 -40
- app-ng-runtime/components/navigation/menu/esm2022/menu.module.mjs +4 -3
- app-ng-runtime/components/navigation/menu/esm2022/nav/nav-item/nav-item.directive.mjs +14 -8
- app-ng-runtime/components/navigation/menu/esm2022/nav/nav.component.mjs +64 -64
- app-ng-runtime/components/navigation/menu/esm2022/nav/navigation-control.directive.mjs +3 -3
- app-ng-runtime/components/navigation/menu/fesm2022/index.mjs +161 -145
- app-ng-runtime/components/navigation/menu/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/navigation/menu/menu-adapator.component.d.ts +1 -1
- app-ng-runtime/components/navigation/menu/menu-dropdown-item/menu-dropdown-item.component.d.ts +12 -1
- app-ng-runtime/components/navigation/menu/menu.component.d.ts +2 -2
- app-ng-runtime/components/navigation/menu/nav/nav-item/nav-item.directive.d.ts +3 -3
- app-ng-runtime/components/navigation/menu/nav/nav.component.d.ts +3 -4
- app-ng-runtime/components/navigation/navbar/.npmignore +2 -0
- app-ng-runtime/components/navigation/navbar/bundles/index.umd.js +29 -22
- app-ng-runtime/components/navigation/navbar/esm2022/navbar.component.mjs +30 -23
- app-ng-runtime/components/navigation/navbar/esm2022/navbar.module.mjs +2 -2
- app-ng-runtime/components/navigation/navbar/fesm2022/index.mjs +31 -24
- app-ng-runtime/components/navigation/navbar/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/navigation/navbar/navbar.component.d.ts +2 -2
- app-ng-runtime/components/navigation/popover/.npmignore +2 -0
- app-ng-runtime/components/navigation/popover/bundles/index.umd.js +18 -11
- app-ng-runtime/components/navigation/popover/esm2022/popover.component.mjs +19 -12
- app-ng-runtime/components/navigation/popover/esm2022/popover.module.mjs +2 -2
- app-ng-runtime/components/navigation/popover/fesm2022/index.mjs +20 -13
- app-ng-runtime/components/navigation/popover/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/navigation/popover/popover.component.d.ts +2 -2
- app-ng-runtime/components/page/default/.npmignore +2 -0
- app-ng-runtime/components/page/default/bundles/index.umd.js +63 -31
- app-ng-runtime/components/page/default/content/content.component.d.ts +2 -2
- app-ng-runtime/components/page/default/esm2022/content/content.component.mjs +13 -7
- app-ng-runtime/components/page/default/esm2022/layout.directive.mjs +12 -7
- app-ng-runtime/components/page/default/esm2022/page-content/page-content.component.mjs +13 -7
- app-ng-runtime/components/page/default/esm2022/page.directive.mjs +12 -7
- app-ng-runtime/components/page/default/esm2022/page.module.mjs +2 -2
- app-ng-runtime/components/page/default/esm2022/router-outlet.directive.mjs +12 -7
- app-ng-runtime/components/page/default/esm2022/spa-page.directive.mjs +12 -7
- app-ng-runtime/components/page/default/fesm2022/index.mjs +65 -33
- app-ng-runtime/components/page/default/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/page/default/layout.directive.d.ts +2 -2
- app-ng-runtime/components/page/default/page-content/page-content.component.d.ts +2 -2
- app-ng-runtime/components/page/default/page.directive.d.ts +2 -2
- app-ng-runtime/components/page/default/router-outlet.directive.d.ts +2 -2
- app-ng-runtime/components/page/default/spa-page.directive.d.ts +2 -2
- app-ng-runtime/components/page/footer/.npmignore +2 -0
- app-ng-runtime/components/page/footer/bundles/index.umd.js +11 -6
- app-ng-runtime/components/page/footer/esm2022/footer.directive.mjs +12 -7
- app-ng-runtime/components/page/footer/esm2022/footer.module.mjs +2 -2
- app-ng-runtime/components/page/footer/fesm2022/index.mjs +13 -8
- app-ng-runtime/components/page/footer/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/page/footer/footer.directive.d.ts +2 -2
- app-ng-runtime/components/page/header/.npmignore +2 -0
- app-ng-runtime/components/page/header/bundles/index.umd.js +12 -6
- app-ng-runtime/components/page/header/esm2022/header.component.mjs +13 -7
- app-ng-runtime/components/page/header/esm2022/header.module.mjs +2 -2
- app-ng-runtime/components/page/header/fesm2022/index.mjs +14 -8
- app-ng-runtime/components/page/header/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/page/header/header.component.d.ts +2 -2
- app-ng-runtime/components/page/left-panel/.npmignore +2 -0
- app-ng-runtime/components/page/left-panel/bundles/index.umd.js +12 -7
- app-ng-runtime/components/page/left-panel/esm2022/left-panel.animator.mjs +1 -1
- app-ng-runtime/components/page/left-panel/esm2022/left-panel.directive.mjs +13 -8
- app-ng-runtime/components/page/left-panel/esm2022/left-panel.module.mjs +2 -2
- app-ng-runtime/components/page/left-panel/fesm2022/index.mjs +14 -9
- app-ng-runtime/components/page/left-panel/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/page/left-panel/left-panel.directive.d.ts +2 -2
- app-ng-runtime/components/page/right-panel/.npmignore +2 -0
- app-ng-runtime/components/page/right-panel/bundles/index.umd.js +11 -6
- app-ng-runtime/components/page/right-panel/esm2022/right-panel.directive.mjs +12 -7
- app-ng-runtime/components/page/right-panel/esm2022/right-panel.module.mjs +2 -2
- app-ng-runtime/components/page/right-panel/fesm2022/index.mjs +13 -8
- app-ng-runtime/components/page/right-panel/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/page/right-panel/right-panel.directive.d.ts +2 -2
- app-ng-runtime/components/page/top-nav/.npmignore +2 -0
- app-ng-runtime/components/page/top-nav/bundles/index.umd.js +11 -6
- app-ng-runtime/components/page/top-nav/esm2022/top-nav.directive.mjs +12 -7
- app-ng-runtime/components/page/top-nav/esm2022/top-nav.module.mjs +2 -2
- app-ng-runtime/components/page/top-nav/fesm2022/index.mjs +13 -8
- app-ng-runtime/components/page/top-nav/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/page/top-nav/top-nav.directive.d.ts +2 -2
- app-ng-runtime/components/prefab/.npmignore +2 -0
- app-ng-runtime/components/prefab/bundles/index.umd.js +28 -18
- app-ng-runtime/components/prefab/esm2022/prefab-container/prefab-container.directive.mjs +14 -8
- app-ng-runtime/components/prefab/esm2022/prefab.directive.mjs +15 -9
- app-ng-runtime/components/prefab/esm2022/prefab.module.mjs +2 -2
- app-ng-runtime/components/prefab/fesm2022/index.mjs +26 -15
- app-ng-runtime/components/prefab/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/prefab/prefab-container/prefab-container.directive.d.ts +2 -2
- app-ng-runtime/components/prefab/prefab.directive.d.ts +2 -2
- app-ng-runtime/core/.npmignore +2 -0
- app-ng-runtime/core/bundles/index.umd.js +158 -146
- app-ng-runtime/core/esm2022/core.module.mjs +2 -2
- app-ng-runtime/core/esm2022/public_api.mjs +3 -2
- app-ng-runtime/core/esm2022/services/constant.service.mjs +2 -2
- app-ng-runtime/core/esm2022/services/custom-icons-loader.service.mjs +26 -0
- app-ng-runtime/core/esm2022/services/field-type.service.mjs +5 -4
- app-ng-runtime/core/esm2022/services/field-widget.service.mjs +5 -4
- app-ng-runtime/core/esm2022/services/pagination.service.mjs +8 -7
- app-ng-runtime/core/esm2022/services/script-loader.service.mjs +3 -3
- app-ng-runtime/core/esm2022/services/state-persistence.service.mjs +18 -17
- app-ng-runtime/core/esm2022/services/user-custom-pipe-manager.service.mjs +2 -2
- app-ng-runtime/core/esm2022/services/utils.service.mjs +5 -4
- app-ng-runtime/core/esm2022/services/viewport.service.mjs +5 -4
- app-ng-runtime/core/esm2022/utils/build-utils.mjs +5 -4
- app-ng-runtime/core/esm2022/utils/dom.mjs +1 -1
- app-ng-runtime/core/esm2022/utils/event-notifier.mjs +1 -1
- app-ng-runtime/core/esm2022/utils/expression-parser.mjs +6 -5
- app-ng-runtime/core/esm2022/utils/id-generator.mjs +1 -1
- 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/esm2022/utils/wm-project-properties.mjs +1 -1
- app-ng-runtime/core/fesm2022/index.mjs +158 -142
- app-ng-runtime/core/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/core/public_api.d.ts +2 -1
- app-ng-runtime/core/services/custom-icons-loader.service.d.ts +7 -0
- 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/.npmignore +2 -0
- app-ng-runtime/http/bundles/index.umd.js +10 -10
- app-ng-runtime/http/esm2022/http-service.module.mjs +2 -2
- app-ng-runtime/http/esm2022/http.service.mjs +7 -6
- 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 +7 -6
- app-ng-runtime/http/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/locales/angular/global/af-na.js +4 -4
- app-ng-runtime/locales/angular/global/af.js +4 -4
- app-ng-runtime/locales/angular/global/agq.js +4 -4
- app-ng-runtime/locales/angular/global/ak.js +4 -4
- app-ng-runtime/locales/angular/global/am.js +4 -4
- app-ng-runtime/locales/angular/global/ar-ae.js +4 -4
- app-ng-runtime/locales/angular/global/ar-bh.js +4 -4
- app-ng-runtime/locales/angular/global/ar-dj.js +4 -4
- app-ng-runtime/locales/angular/global/ar-dz.js +4 -4
- app-ng-runtime/locales/angular/global/ar-eg.js +4 -4
- app-ng-runtime/locales/angular/global/ar-eh.js +4 -4
- app-ng-runtime/locales/angular/global/ar-er.js +4 -4
- app-ng-runtime/locales/angular/global/ar-il.js +4 -4
- app-ng-runtime/locales/angular/global/ar-iq.js +4 -4
- app-ng-runtime/locales/angular/global/ar-jo.js +4 -4
- app-ng-runtime/locales/angular/global/ar-km.js +4 -4
- app-ng-runtime/locales/angular/global/ar-kw.js +4 -4
- app-ng-runtime/locales/angular/global/ar-lb.js +4 -4
- app-ng-runtime/locales/angular/global/ar-ly.js +4 -4
- app-ng-runtime/locales/angular/global/ar-ma.js +4 -4
- app-ng-runtime/locales/angular/global/ar-mr.js +4 -4
- app-ng-runtime/locales/angular/global/ar-om.js +4 -4
- app-ng-runtime/locales/angular/global/ar-ps.js +4 -4
- app-ng-runtime/locales/angular/global/ar-qa.js +4 -4
- app-ng-runtime/locales/angular/global/ar-sa.js +4 -4
- app-ng-runtime/locales/angular/global/ar-sd.js +4 -4
- app-ng-runtime/locales/angular/global/ar-so.js +4 -4
- app-ng-runtime/locales/angular/global/ar-ss.js +4 -4
- app-ng-runtime/locales/angular/global/ar-sy.js +4 -4
- app-ng-runtime/locales/angular/global/ar-td.js +4 -4
- app-ng-runtime/locales/angular/global/ar-tn.js +4 -4
- app-ng-runtime/locales/angular/global/ar-ye.js +4 -4
- app-ng-runtime/locales/angular/global/ar.js +4 -4
- app-ng-runtime/locales/angular/global/as.js +4 -4
- app-ng-runtime/locales/angular/global/asa.js +4 -4
- app-ng-runtime/locales/angular/global/ast.js +4 -4
- app-ng-runtime/locales/angular/global/az-cyrl.js +4 -4
- app-ng-runtime/locales/angular/global/az-latn.js +4 -4
- app-ng-runtime/locales/angular/global/az.js +4 -4
- app-ng-runtime/locales/angular/global/bas.js +4 -4
- app-ng-runtime/locales/angular/global/be-tarask.js +4 -4
- app-ng-runtime/locales/angular/global/be.js +4 -4
- app-ng-runtime/locales/angular/global/bem.js +4 -4
- app-ng-runtime/locales/angular/global/bez.js +4 -4
- app-ng-runtime/locales/angular/global/bg.js +4 -4
- app-ng-runtime/locales/angular/global/bm.js +4 -4
- app-ng-runtime/locales/angular/global/bn-in.js +4 -4
- app-ng-runtime/locales/angular/global/bn.js +4 -4
- app-ng-runtime/locales/angular/global/bo-in.js +4 -4
- app-ng-runtime/locales/angular/global/bo.js +4 -4
- app-ng-runtime/locales/angular/global/br.js +4 -4
- app-ng-runtime/locales/angular/global/brx.js +4 -4
- app-ng-runtime/locales/angular/global/bs-cyrl.js +4 -4
- app-ng-runtime/locales/angular/global/bs-latn.js +4 -4
- app-ng-runtime/locales/angular/global/bs.js +4 -4
- app-ng-runtime/locales/angular/global/ca-ad.js +4 -4
- app-ng-runtime/locales/angular/global/ca-es-valencia.js +4 -4
- app-ng-runtime/locales/angular/global/ca-fr.js +4 -4
- app-ng-runtime/locales/angular/global/ca-it.js +4 -4
- app-ng-runtime/locales/angular/global/ca.js +4 -4
- app-ng-runtime/locales/angular/global/ccp-in.js +4 -4
- app-ng-runtime/locales/angular/global/ccp.js +4 -4
- app-ng-runtime/locales/angular/global/ce.js +4 -4
- app-ng-runtime/locales/angular/global/ceb.js +4 -4
- app-ng-runtime/locales/angular/global/cgg.js +4 -4
- app-ng-runtime/locales/angular/global/chr.js +4 -4
- app-ng-runtime/locales/angular/global/ckb-ir.js +4 -4
- app-ng-runtime/locales/angular/global/ckb.js +4 -4
- app-ng-runtime/locales/angular/global/cs.js +4 -4
- app-ng-runtime/locales/angular/global/cy.js +4 -4
- app-ng-runtime/locales/angular/global/da-gl.js +4 -4
- app-ng-runtime/locales/angular/global/da.js +4 -4
- app-ng-runtime/locales/angular/global/dav.js +4 -4
- app-ng-runtime/locales/angular/global/de-at.js +4 -4
- app-ng-runtime/locales/angular/global/de-be.js +4 -4
- app-ng-runtime/locales/angular/global/de-ch.js +4 -4
- app-ng-runtime/locales/angular/global/de-it.js +4 -4
- app-ng-runtime/locales/angular/global/de-li.js +4 -4
- app-ng-runtime/locales/angular/global/de-lu.js +4 -4
- app-ng-runtime/locales/angular/global/de.js +4 -4
- app-ng-runtime/locales/angular/global/dje.js +4 -4
- app-ng-runtime/locales/angular/global/doi.js +4 -4
- app-ng-runtime/locales/angular/global/dsb.js +4 -4
- app-ng-runtime/locales/angular/global/dua.js +4 -4
- app-ng-runtime/locales/angular/global/dyo.js +4 -4
- app-ng-runtime/locales/angular/global/dz.js +4 -4
- app-ng-runtime/locales/angular/global/ebu.js +4 -4
- app-ng-runtime/locales/angular/global/ee-tg.js +4 -4
- app-ng-runtime/locales/angular/global/ee.js +4 -4
- app-ng-runtime/locales/angular/global/el-cy.js +4 -4
- app-ng-runtime/locales/angular/global/el.js +4 -4
- app-ng-runtime/locales/angular/global/en-001.js +4 -4
- app-ng-runtime/locales/angular/global/en-150.js +4 -4
- app-ng-runtime/locales/angular/global/en-ae.js +4 -4
- app-ng-runtime/locales/angular/global/en-ag.js +4 -4
- app-ng-runtime/locales/angular/global/en-ai.js +4 -4
- app-ng-runtime/locales/angular/global/en-as.js +4 -4
- app-ng-runtime/locales/angular/global/en-at.js +4 -4
- app-ng-runtime/locales/angular/global/en-au.js +4 -4
- app-ng-runtime/locales/angular/global/en-bb.js +4 -4
- app-ng-runtime/locales/angular/global/en-be.js +4 -4
- app-ng-runtime/locales/angular/global/en-bi.js +4 -4
- app-ng-runtime/locales/angular/global/en-bm.js +4 -4
- app-ng-runtime/locales/angular/global/en-bs.js +4 -4
- app-ng-runtime/locales/angular/global/en-bw.js +4 -4
- app-ng-runtime/locales/angular/global/en-bz.js +4 -4
- app-ng-runtime/locales/angular/global/en-ca.js +4 -4
- app-ng-runtime/locales/angular/global/en-cc.js +4 -4
- app-ng-runtime/locales/angular/global/en-ch.js +4 -4
- app-ng-runtime/locales/angular/global/en-ck.js +4 -4
- app-ng-runtime/locales/angular/global/en-cm.js +4 -4
- app-ng-runtime/locales/angular/global/en-cx.js +4 -4
- app-ng-runtime/locales/angular/global/en-cy.js +4 -4
- app-ng-runtime/locales/angular/global/en-de.js +4 -4
- app-ng-runtime/locales/angular/global/en-dg.js +4 -4
- app-ng-runtime/locales/angular/global/en-dk.js +4 -4
- app-ng-runtime/locales/angular/global/en-dm.js +4 -4
- app-ng-runtime/locales/angular/global/en-er.js +4 -4
- app-ng-runtime/locales/angular/global/en-fi.js +4 -4
- app-ng-runtime/locales/angular/global/en-fj.js +4 -4
- app-ng-runtime/locales/angular/global/en-fk.js +4 -4
- app-ng-runtime/locales/angular/global/en-fm.js +4 -4
- app-ng-runtime/locales/angular/global/en-gb.js +4 -4
- app-ng-runtime/locales/angular/global/en-gd.js +4 -4
- app-ng-runtime/locales/angular/global/en-gg.js +4 -4
- app-ng-runtime/locales/angular/global/en-gh.js +4 -4
- app-ng-runtime/locales/angular/global/en-gi.js +4 -4
- app-ng-runtime/locales/angular/global/en-gm.js +4 -4
- app-ng-runtime/locales/angular/global/en-gu.js +4 -4
- app-ng-runtime/locales/angular/global/en-gy.js +4 -4
- app-ng-runtime/locales/angular/global/en-hk.js +4 -4
- app-ng-runtime/locales/angular/global/en-ie.js +4 -4
- app-ng-runtime/locales/angular/global/en-il.js +4 -4
- app-ng-runtime/locales/angular/global/en-im.js +4 -4
- app-ng-runtime/locales/angular/global/en-in.js +4 -4
- app-ng-runtime/locales/angular/global/en-io.js +4 -4
- app-ng-runtime/locales/angular/global/en-je.js +4 -4
- app-ng-runtime/locales/angular/global/en-jm.js +4 -4
- app-ng-runtime/locales/angular/global/en-ke.js +4 -4
- app-ng-runtime/locales/angular/global/en-ki.js +4 -4
- app-ng-runtime/locales/angular/global/en-kn.js +4 -4
- app-ng-runtime/locales/angular/global/en-ky.js +4 -4
- app-ng-runtime/locales/angular/global/en-lc.js +4 -4
- app-ng-runtime/locales/angular/global/en-lr.js +4 -4
- app-ng-runtime/locales/angular/global/en-ls.js +4 -4
- app-ng-runtime/locales/angular/global/en-mg.js +4 -4
- app-ng-runtime/locales/angular/global/en-mh.js +4 -4
- app-ng-runtime/locales/angular/global/en-mo.js +4 -4
- app-ng-runtime/locales/angular/global/en-mp.js +4 -4
- app-ng-runtime/locales/angular/global/en-ms.js +4 -4
- app-ng-runtime/locales/angular/global/en-mt.js +4 -4
- app-ng-runtime/locales/angular/global/en-mu.js +4 -4
- app-ng-runtime/locales/angular/global/en-mv.js +4 -4
- app-ng-runtime/locales/angular/global/en-mw.js +4 -4
- app-ng-runtime/locales/angular/global/en-my.js +4 -4
- app-ng-runtime/locales/angular/global/en-na.js +4 -4
- app-ng-runtime/locales/angular/global/en-nf.js +4 -4
- app-ng-runtime/locales/angular/global/en-ng.js +4 -4
- app-ng-runtime/locales/angular/global/en-nl.js +4 -4
- app-ng-runtime/locales/angular/global/en-nr.js +4 -4
- app-ng-runtime/locales/angular/global/en-nu.js +4 -4
- app-ng-runtime/locales/angular/global/en-nz.js +4 -4
- app-ng-runtime/locales/angular/global/en-pg.js +4 -4
- app-ng-runtime/locales/angular/global/en-ph.js +4 -4
- app-ng-runtime/locales/angular/global/en-pk.js +4 -4
- app-ng-runtime/locales/angular/global/en-pn.js +4 -4
- app-ng-runtime/locales/angular/global/en-pr.js +4 -4
- app-ng-runtime/locales/angular/global/en-pw.js +4 -4
- app-ng-runtime/locales/angular/global/en-rw.js +4 -4
- app-ng-runtime/locales/angular/global/en-sb.js +4 -4
- app-ng-runtime/locales/angular/global/en-sc.js +4 -4
- app-ng-runtime/locales/angular/global/en-sd.js +4 -4
- app-ng-runtime/locales/angular/global/en-se.js +4 -4
- app-ng-runtime/locales/angular/global/en-sg.js +4 -4
- app-ng-runtime/locales/angular/global/en-sh.js +4 -4
- app-ng-runtime/locales/angular/global/en-si.js +4 -4
- app-ng-runtime/locales/angular/global/en-sl.js +4 -4
- app-ng-runtime/locales/angular/global/en-ss.js +4 -4
- app-ng-runtime/locales/angular/global/en-sx.js +4 -4
- app-ng-runtime/locales/angular/global/en-sz.js +4 -4
- app-ng-runtime/locales/angular/global/en-tc.js +4 -4
- app-ng-runtime/locales/angular/global/en-tk.js +4 -4
- app-ng-runtime/locales/angular/global/en-to.js +4 -4
- app-ng-runtime/locales/angular/global/en-tt.js +4 -4
- app-ng-runtime/locales/angular/global/en-tv.js +4 -4
- app-ng-runtime/locales/angular/global/en-tz.js +4 -4
- app-ng-runtime/locales/angular/global/en-ug.js +4 -4
- app-ng-runtime/locales/angular/global/en-um.js +4 -4
- app-ng-runtime/locales/angular/global/en-vc.js +4 -4
- app-ng-runtime/locales/angular/global/en-vg.js +4 -4
- app-ng-runtime/locales/angular/global/en-vi.js +4 -4
- app-ng-runtime/locales/angular/global/en-vu.js +4 -4
- app-ng-runtime/locales/angular/global/en-ws.js +4 -4
- app-ng-runtime/locales/angular/global/en-za.js +4 -4
- app-ng-runtime/locales/angular/global/en-zm.js +4 -4
- app-ng-runtime/locales/angular/global/en-zw.js +4 -4
- app-ng-runtime/locales/angular/global/en.js +4 -4
- app-ng-runtime/locales/angular/global/eo.js +4 -4
- app-ng-runtime/locales/angular/global/es-419.js +4 -4
- app-ng-runtime/locales/angular/global/es-ar.js +4 -4
- app-ng-runtime/locales/angular/global/es-bo.js +4 -4
- app-ng-runtime/locales/angular/global/es-br.js +4 -4
- app-ng-runtime/locales/angular/global/es-bz.js +4 -4
- app-ng-runtime/locales/angular/global/es-cl.js +4 -4
- app-ng-runtime/locales/angular/global/es-co.js +4 -4
- app-ng-runtime/locales/angular/global/es-cr.js +4 -4
- app-ng-runtime/locales/angular/global/es-cu.js +4 -4
- app-ng-runtime/locales/angular/global/es-do.js +4 -4
- app-ng-runtime/locales/angular/global/es-ea.js +4 -4
- app-ng-runtime/locales/angular/global/es-ec.js +4 -4
- app-ng-runtime/locales/angular/global/es-gq.js +4 -4
- app-ng-runtime/locales/angular/global/es-gt.js +4 -4
- app-ng-runtime/locales/angular/global/es-hn.js +4 -4
- app-ng-runtime/locales/angular/global/es-ic.js +4 -4
- app-ng-runtime/locales/angular/global/es-mx.js +4 -4
- app-ng-runtime/locales/angular/global/es-ni.js +4 -4
- app-ng-runtime/locales/angular/global/es-pa.js +4 -4
- app-ng-runtime/locales/angular/global/es-pe.js +4 -4
- app-ng-runtime/locales/angular/global/es-ph.js +4 -4
- app-ng-runtime/locales/angular/global/es-pr.js +4 -4
- app-ng-runtime/locales/angular/global/es-py.js +4 -4
- app-ng-runtime/locales/angular/global/es-sv.js +4 -4
- app-ng-runtime/locales/angular/global/es-us.js +4 -4
- app-ng-runtime/locales/angular/global/es-uy.js +4 -4
- app-ng-runtime/locales/angular/global/es-ve.js +4 -4
- app-ng-runtime/locales/angular/global/es.js +4 -4
- app-ng-runtime/locales/angular/global/et.js +4 -4
- app-ng-runtime/locales/angular/global/eu.js +4 -4
- app-ng-runtime/locales/angular/global/ewo.js +4 -4
- app-ng-runtime/locales/angular/global/fa-af.js +4 -4
- app-ng-runtime/locales/angular/global/fa.js +4 -4
- app-ng-runtime/locales/angular/global/ff-adlm-bf.js +4 -4
- app-ng-runtime/locales/angular/global/ff-adlm-cm.js +4 -4
- app-ng-runtime/locales/angular/global/ff-adlm-gh.js +4 -4
- app-ng-runtime/locales/angular/global/ff-adlm-gm.js +4 -4
- app-ng-runtime/locales/angular/global/ff-adlm-gw.js +4 -4
- app-ng-runtime/locales/angular/global/ff-adlm-lr.js +4 -4
- app-ng-runtime/locales/angular/global/ff-adlm-mr.js +4 -4
- app-ng-runtime/locales/angular/global/ff-adlm-ne.js +4 -4
- app-ng-runtime/locales/angular/global/ff-adlm-ng.js +4 -4
- app-ng-runtime/locales/angular/global/ff-adlm-sl.js +4 -4
- app-ng-runtime/locales/angular/global/ff-adlm-sn.js +4 -4
- app-ng-runtime/locales/angular/global/ff-adlm.js +4 -4
- app-ng-runtime/locales/angular/global/ff-cm.js +58 -44
- app-ng-runtime/locales/angular/global/ff-gn.js +58 -44
- app-ng-runtime/locales/angular/global/ff-latn-bf.js +4 -4
- app-ng-runtime/locales/angular/global/ff-latn-cm.js +4 -4
- app-ng-runtime/locales/angular/global/ff-latn-gh.js +4 -4
- app-ng-runtime/locales/angular/global/ff-latn-gm.js +4 -4
- app-ng-runtime/locales/angular/global/ff-latn-gn.js +4 -4
- app-ng-runtime/locales/angular/global/ff-latn-gw.js +4 -4
- app-ng-runtime/locales/angular/global/ff-latn-lr.js +4 -4
- app-ng-runtime/locales/angular/global/ff-latn-mr.js +4 -4
- app-ng-runtime/locales/angular/global/ff-latn-ne.js +4 -4
- app-ng-runtime/locales/angular/global/ff-latn-ng.js +4 -4
- app-ng-runtime/locales/angular/global/ff-latn-sl.js +4 -4
- app-ng-runtime/locales/angular/global/ff-latn.js +4 -4
- app-ng-runtime/locales/angular/global/ff-mr.js +58 -44
- app-ng-runtime/locales/angular/global/ff.js +4 -4
- app-ng-runtime/locales/angular/global/fi.js +4 -4
- app-ng-runtime/locales/angular/global/fil.js +4 -4
- app-ng-runtime/locales/angular/global/fo-dk.js +4 -4
- app-ng-runtime/locales/angular/global/fo.js +4 -4
- app-ng-runtime/locales/angular/global/fr-be.js +4 -4
- app-ng-runtime/locales/angular/global/fr-bf.js +4 -4
- app-ng-runtime/locales/angular/global/fr-bi.js +4 -4
- app-ng-runtime/locales/angular/global/fr-bj.js +4 -4
- app-ng-runtime/locales/angular/global/fr-bl.js +4 -4
- app-ng-runtime/locales/angular/global/fr-ca.js +4 -4
- app-ng-runtime/locales/angular/global/fr-cd.js +4 -4
- app-ng-runtime/locales/angular/global/fr-cf.js +4 -4
- app-ng-runtime/locales/angular/global/fr-cg.js +4 -4
- app-ng-runtime/locales/angular/global/fr-ch.js +4 -4
- app-ng-runtime/locales/angular/global/fr-ci.js +4 -4
- app-ng-runtime/locales/angular/global/fr-cm.js +4 -4
- app-ng-runtime/locales/angular/global/fr-dj.js +4 -4
- app-ng-runtime/locales/angular/global/fr-dz.js +4 -4
- app-ng-runtime/locales/angular/global/fr-ga.js +4 -4
- app-ng-runtime/locales/angular/global/fr-gf.js +4 -4
- app-ng-runtime/locales/angular/global/fr-gn.js +4 -4
- app-ng-runtime/locales/angular/global/fr-gp.js +4 -4
- app-ng-runtime/locales/angular/global/fr-gq.js +4 -4
- app-ng-runtime/locales/angular/global/fr-ht.js +4 -4
- app-ng-runtime/locales/angular/global/fr-km.js +4 -4
- app-ng-runtime/locales/angular/global/fr-lu.js +4 -4
- app-ng-runtime/locales/angular/global/fr-ma.js +4 -4
- app-ng-runtime/locales/angular/global/fr-mc.js +4 -4
- app-ng-runtime/locales/angular/global/fr-mf.js +4 -4
- app-ng-runtime/locales/angular/global/fr-mg.js +4 -4
- app-ng-runtime/locales/angular/global/fr-ml.js +4 -4
- app-ng-runtime/locales/angular/global/fr-mq.js +4 -4
- app-ng-runtime/locales/angular/global/fr-mr.js +4 -4
- app-ng-runtime/locales/angular/global/fr-mu.js +4 -4
- app-ng-runtime/locales/angular/global/fr-nc.js +4 -4
- app-ng-runtime/locales/angular/global/fr-ne.js +4 -4
- app-ng-runtime/locales/angular/global/fr-pf.js +4 -4
- app-ng-runtime/locales/angular/global/fr-pm.js +4 -4
- app-ng-runtime/locales/angular/global/fr-re.js +4 -4
- app-ng-runtime/locales/angular/global/fr-rw.js +4 -4
- app-ng-runtime/locales/angular/global/fr-sc.js +4 -4
- app-ng-runtime/locales/angular/global/fr-sn.js +4 -4
- app-ng-runtime/locales/angular/global/fr-sy.js +4 -4
- app-ng-runtime/locales/angular/global/fr-td.js +4 -4
- app-ng-runtime/locales/angular/global/fr-tg.js +4 -4
- app-ng-runtime/locales/angular/global/fr-tn.js +4 -4
- app-ng-runtime/locales/angular/global/fr-vu.js +4 -4
- app-ng-runtime/locales/angular/global/fr-wf.js +4 -4
- app-ng-runtime/locales/angular/global/fr-yt.js +4 -4
- app-ng-runtime/locales/angular/global/fr.js +4 -4
- app-ng-runtime/locales/angular/global/fur.js +4 -4
- app-ng-runtime/locales/angular/global/fy.js +4 -4
- app-ng-runtime/locales/angular/global/ga-gb.js +4 -4
- app-ng-runtime/locales/angular/global/ga.js +4 -4
- app-ng-runtime/locales/angular/global/gd.js +4 -4
- app-ng-runtime/locales/angular/global/gl.js +4 -4
- app-ng-runtime/locales/angular/global/gsw-fr.js +4 -4
- app-ng-runtime/locales/angular/global/gsw-li.js +4 -4
- app-ng-runtime/locales/angular/global/gsw.js +4 -4
- app-ng-runtime/locales/angular/global/gu.js +4 -4
- app-ng-runtime/locales/angular/global/guz.js +4 -4
- app-ng-runtime/locales/angular/global/gv.js +4 -4
- app-ng-runtime/locales/angular/global/ha-gh.js +4 -4
- app-ng-runtime/locales/angular/global/ha-ne.js +4 -4
- app-ng-runtime/locales/angular/global/ha.js +4 -4
- app-ng-runtime/locales/angular/global/haw.js +4 -4
- app-ng-runtime/locales/angular/global/he.js +4 -4
- app-ng-runtime/locales/angular/global/hi-latn.js +4 -4
- app-ng-runtime/locales/angular/global/hi.js +4 -4
- app-ng-runtime/locales/angular/global/hr-ba.js +4 -4
- app-ng-runtime/locales/angular/global/hr.js +4 -4
- app-ng-runtime/locales/angular/global/hsb.js +4 -4
- app-ng-runtime/locales/angular/global/hu.js +4 -4
- app-ng-runtime/locales/angular/global/hy.js +4 -4
- app-ng-runtime/locales/angular/global/ia.js +4 -4
- app-ng-runtime/locales/angular/global/id.js +4 -4
- app-ng-runtime/locales/angular/global/ig.js +4 -4
- app-ng-runtime/locales/angular/global/ii.js +4 -4
- app-ng-runtime/locales/angular/global/is.js +4 -4
- app-ng-runtime/locales/angular/global/it-ch.js +4 -4
- app-ng-runtime/locales/angular/global/it-sm.js +4 -4
- app-ng-runtime/locales/angular/global/it-va.js +4 -4
- app-ng-runtime/locales/angular/global/it.js +4 -4
- app-ng-runtime/locales/angular/global/ja.js +4 -4
- app-ng-runtime/locales/angular/global/jgo.js +4 -4
- app-ng-runtime/locales/angular/global/jmc.js +4 -4
- app-ng-runtime/locales/angular/global/jv.js +4 -4
- app-ng-runtime/locales/angular/global/ka.js +4 -4
- app-ng-runtime/locales/angular/global/kab.js +4 -4
- app-ng-runtime/locales/angular/global/kam.js +4 -4
- app-ng-runtime/locales/angular/global/kde.js +4 -4
- app-ng-runtime/locales/angular/global/kea.js +4 -4
- app-ng-runtime/locales/angular/global/kgp.js +4 -4
- app-ng-runtime/locales/angular/global/khq.js +4 -4
- app-ng-runtime/locales/angular/global/ki.js +4 -4
- app-ng-runtime/locales/angular/global/kk.js +4 -4
- app-ng-runtime/locales/angular/global/kkj.js +4 -4
- app-ng-runtime/locales/angular/global/kl.js +4 -4
- app-ng-runtime/locales/angular/global/kln.js +4 -4
- app-ng-runtime/locales/angular/global/km.js +4 -4
- app-ng-runtime/locales/angular/global/kn.js +4 -4
- app-ng-runtime/locales/angular/global/ko-kp.js +4 -4
- app-ng-runtime/locales/angular/global/ko.js +4 -4
- app-ng-runtime/locales/angular/global/kok.js +4 -4
- app-ng-runtime/locales/angular/global/ks-arab.js +4 -4
- app-ng-runtime/locales/angular/global/ks-deva.js +4 -4
- app-ng-runtime/locales/angular/global/ks.js +4 -4
- app-ng-runtime/locales/angular/global/ksb.js +4 -4
- app-ng-runtime/locales/angular/global/ksf.js +4 -4
- app-ng-runtime/locales/angular/global/ksh.js +4 -4
- app-ng-runtime/locales/angular/global/ku.js +4 -4
- app-ng-runtime/locales/angular/global/kw.js +4 -4
- app-ng-runtime/locales/angular/global/ky.js +4 -4
- app-ng-runtime/locales/angular/global/lag.js +4 -4
- app-ng-runtime/locales/angular/global/lb.js +4 -4
- app-ng-runtime/locales/angular/global/lg.js +4 -4
- app-ng-runtime/locales/angular/global/lkt.js +4 -4
- app-ng-runtime/locales/angular/global/ln-ao.js +4 -4
- app-ng-runtime/locales/angular/global/ln-cf.js +4 -4
- app-ng-runtime/locales/angular/global/ln-cg.js +4 -4
- app-ng-runtime/locales/angular/global/ln.js +4 -4
- app-ng-runtime/locales/angular/global/lo.js +4 -4
- app-ng-runtime/locales/angular/global/lrc-iq.js +4 -4
- app-ng-runtime/locales/angular/global/lrc.js +4 -4
- app-ng-runtime/locales/angular/global/lt.js +4 -4
- app-ng-runtime/locales/angular/global/lu.js +4 -4
- app-ng-runtime/locales/angular/global/luo.js +4 -4
- app-ng-runtime/locales/angular/global/luy.js +4 -4
- app-ng-runtime/locales/angular/global/lv.js +4 -4
- app-ng-runtime/locales/angular/global/mai.js +4 -4
- app-ng-runtime/locales/angular/global/mas-tz.js +4 -4
- app-ng-runtime/locales/angular/global/mas.js +4 -4
- app-ng-runtime/locales/angular/global/mer.js +4 -4
- app-ng-runtime/locales/angular/global/mfe.js +4 -4
- app-ng-runtime/locales/angular/global/mg.js +4 -4
- app-ng-runtime/locales/angular/global/mgh.js +4 -4
- app-ng-runtime/locales/angular/global/mgo.js +4 -4
- app-ng-runtime/locales/angular/global/mi.js +4 -4
- app-ng-runtime/locales/angular/global/mk.js +4 -4
- app-ng-runtime/locales/angular/global/ml.js +4 -4
- app-ng-runtime/locales/angular/global/mn.js +4 -4
- app-ng-runtime/locales/angular/global/mni-beng.js +4 -4
- app-ng-runtime/locales/angular/global/mni.js +4 -4
- app-ng-runtime/locales/angular/global/mr.js +4 -4
- app-ng-runtime/locales/angular/global/ms-bn.js +4 -4
- app-ng-runtime/locales/angular/global/ms-id.js +4 -4
- app-ng-runtime/locales/angular/global/ms-sg.js +4 -4
- app-ng-runtime/locales/angular/global/ms.js +4 -4
- app-ng-runtime/locales/angular/global/mt.js +4 -4
- app-ng-runtime/locales/angular/global/mua.js +4 -4
- app-ng-runtime/locales/angular/global/my.js +4 -4
- app-ng-runtime/locales/angular/global/mzn.js +4 -4
- app-ng-runtime/locales/angular/global/naq.js +4 -4
- app-ng-runtime/locales/angular/global/nb-sj.js +4 -4
- app-ng-runtime/locales/angular/global/nb.js +4 -4
- app-ng-runtime/locales/angular/global/nd.js +4 -4
- app-ng-runtime/locales/angular/global/nds-nl.js +4 -4
- app-ng-runtime/locales/angular/global/nds.js +4 -4
- app-ng-runtime/locales/angular/global/ne-in.js +4 -4
- app-ng-runtime/locales/angular/global/ne.js +4 -4
- app-ng-runtime/locales/angular/global/nl-aw.js +4 -4
- app-ng-runtime/locales/angular/global/nl-be.js +4 -4
- app-ng-runtime/locales/angular/global/nl-bq.js +4 -4
- app-ng-runtime/locales/angular/global/nl-cw.js +4 -4
- app-ng-runtime/locales/angular/global/nl-sr.js +4 -4
- app-ng-runtime/locales/angular/global/nl-sx.js +4 -4
- app-ng-runtime/locales/angular/global/nl.js +4 -4
- app-ng-runtime/locales/angular/global/nmg.js +4 -4
- app-ng-runtime/locales/angular/global/nn.js +4 -4
- app-ng-runtime/locales/angular/global/nnh.js +4 -4
- app-ng-runtime/locales/angular/global/no.js +4 -4
- app-ng-runtime/locales/angular/global/nus.js +4 -4
- app-ng-runtime/locales/angular/global/nyn.js +4 -4
- app-ng-runtime/locales/angular/global/om-ke.js +4 -4
- app-ng-runtime/locales/angular/global/om.js +4 -4
- app-ng-runtime/locales/angular/global/or.js +4 -4
- app-ng-runtime/locales/angular/global/os-ru.js +4 -4
- app-ng-runtime/locales/angular/global/os.js +4 -4
- app-ng-runtime/locales/angular/global/pa-arab.js +4 -4
- app-ng-runtime/locales/angular/global/pa-guru.js +4 -4
- app-ng-runtime/locales/angular/global/pa.js +4 -4
- app-ng-runtime/locales/angular/global/pcm.js +4 -4
- app-ng-runtime/locales/angular/global/pl.js +4 -4
- app-ng-runtime/locales/angular/global/ps-pk.js +4 -4
- app-ng-runtime/locales/angular/global/ps.js +4 -4
- app-ng-runtime/locales/angular/global/pt-ao.js +4 -4
- app-ng-runtime/locales/angular/global/pt-ch.js +4 -4
- app-ng-runtime/locales/angular/global/pt-cv.js +4 -4
- app-ng-runtime/locales/angular/global/pt-gq.js +4 -4
- app-ng-runtime/locales/angular/global/pt-gw.js +4 -4
- app-ng-runtime/locales/angular/global/pt-lu.js +4 -4
- app-ng-runtime/locales/angular/global/pt-mo.js +4 -4
- app-ng-runtime/locales/angular/global/pt-mz.js +4 -4
- app-ng-runtime/locales/angular/global/pt-pt.js +4 -4
- app-ng-runtime/locales/angular/global/pt-st.js +4 -4
- app-ng-runtime/locales/angular/global/pt-tl.js +4 -4
- app-ng-runtime/locales/angular/global/pt.js +4 -4
- app-ng-runtime/locales/angular/global/qu-bo.js +4 -4
- app-ng-runtime/locales/angular/global/qu-ec.js +4 -4
- app-ng-runtime/locales/angular/global/qu.js +4 -4
- app-ng-runtime/locales/angular/global/rm.js +4 -4
- app-ng-runtime/locales/angular/global/rn.js +4 -4
- app-ng-runtime/locales/angular/global/ro-md.js +4 -4
- app-ng-runtime/locales/angular/global/ro.js +4 -4
- app-ng-runtime/locales/angular/global/rof.js +4 -4
- app-ng-runtime/locales/angular/global/ru-by.js +4 -4
- app-ng-runtime/locales/angular/global/ru-kg.js +4 -4
- app-ng-runtime/locales/angular/global/ru-kz.js +4 -4
- app-ng-runtime/locales/angular/global/ru-md.js +4 -4
- app-ng-runtime/locales/angular/global/ru-ua.js +4 -4
- app-ng-runtime/locales/angular/global/ru.js +4 -4
- app-ng-runtime/locales/angular/global/rw.js +4 -4
- app-ng-runtime/locales/angular/global/rwk.js +4 -4
- app-ng-runtime/locales/angular/global/sa.js +4 -4
- app-ng-runtime/locales/angular/global/sah.js +4 -4
- app-ng-runtime/locales/angular/global/saq.js +4 -4
- app-ng-runtime/locales/angular/global/sat-olck.js +4 -4
- app-ng-runtime/locales/angular/global/sat.js +4 -4
- app-ng-runtime/locales/angular/global/sbp.js +4 -4
- app-ng-runtime/locales/angular/global/sc.js +4 -4
- app-ng-runtime/locales/angular/global/sd-arab.js +4 -4
- app-ng-runtime/locales/angular/global/sd-deva.js +4 -4
- app-ng-runtime/locales/angular/global/sd.js +4 -4
- app-ng-runtime/locales/angular/global/se-fi.js +4 -4
- app-ng-runtime/locales/angular/global/se-se.js +4 -4
- app-ng-runtime/locales/angular/global/se.js +4 -4
- app-ng-runtime/locales/angular/global/seh.js +4 -4
- app-ng-runtime/locales/angular/global/ses.js +4 -4
- app-ng-runtime/locales/angular/global/sg.js +4 -4
- app-ng-runtime/locales/angular/global/shi-latn.js +4 -4
- app-ng-runtime/locales/angular/global/shi-tfng.js +4 -4
- app-ng-runtime/locales/angular/global/shi.js +4 -4
- app-ng-runtime/locales/angular/global/si.js +4 -4
- app-ng-runtime/locales/angular/global/sk.js +4 -4
- app-ng-runtime/locales/angular/global/sl.js +4 -4
- app-ng-runtime/locales/angular/global/smn.js +4 -4
- app-ng-runtime/locales/angular/global/sn.js +4 -4
- app-ng-runtime/locales/angular/global/so-dj.js +4 -4
- app-ng-runtime/locales/angular/global/so-et.js +4 -4
- app-ng-runtime/locales/angular/global/so-ke.js +4 -4
- app-ng-runtime/locales/angular/global/so.js +4 -4
- app-ng-runtime/locales/angular/global/sq-mk.js +4 -4
- app-ng-runtime/locales/angular/global/sq-xk.js +4 -4
- app-ng-runtime/locales/angular/global/sq.js +4 -4
- app-ng-runtime/locales/angular/global/sr-cyrl-ba.js +4 -4
- app-ng-runtime/locales/angular/global/sr-cyrl-me.js +4 -4
- app-ng-runtime/locales/angular/global/sr-cyrl-xk.js +4 -4
- app-ng-runtime/locales/angular/global/sr-cyrl.js +4 -4
- app-ng-runtime/locales/angular/global/sr-latn-ba.js +4 -4
- app-ng-runtime/locales/angular/global/sr-latn-me.js +4 -4
- app-ng-runtime/locales/angular/global/sr-latn-xk.js +4 -4
- app-ng-runtime/locales/angular/global/sr-latn.js +4 -4
- app-ng-runtime/locales/angular/global/sr.js +4 -4
- app-ng-runtime/locales/angular/global/su-latn.js +4 -4
- app-ng-runtime/locales/angular/global/su.js +4 -4
- app-ng-runtime/locales/angular/global/sv-ax.js +4 -4
- app-ng-runtime/locales/angular/global/sv-fi.js +4 -4
- app-ng-runtime/locales/angular/global/sv.js +4 -4
- app-ng-runtime/locales/angular/global/sw-cd.js +4 -4
- app-ng-runtime/locales/angular/global/sw-ke.js +4 -4
- app-ng-runtime/locales/angular/global/sw-ug.js +4 -4
- app-ng-runtime/locales/angular/global/sw.js +4 -4
- app-ng-runtime/locales/angular/global/ta-lk.js +4 -4
- app-ng-runtime/locales/angular/global/ta-my.js +4 -4
- app-ng-runtime/locales/angular/global/ta-sg.js +4 -4
- app-ng-runtime/locales/angular/global/ta.js +4 -4
- app-ng-runtime/locales/angular/global/te.js +4 -4
- app-ng-runtime/locales/angular/global/teo-ke.js +4 -4
- app-ng-runtime/locales/angular/global/teo.js +4 -4
- app-ng-runtime/locales/angular/global/tg.js +4 -4
- app-ng-runtime/locales/angular/global/th.js +4 -4
- app-ng-runtime/locales/angular/global/ti-er.js +4 -4
- app-ng-runtime/locales/angular/global/ti.js +4 -4
- app-ng-runtime/locales/angular/global/tk.js +4 -4
- app-ng-runtime/locales/angular/global/to.js +4 -4
- app-ng-runtime/locales/angular/global/tr-cy.js +4 -4
- app-ng-runtime/locales/angular/global/tr.js +4 -4
- app-ng-runtime/locales/angular/global/tt.js +4 -4
- app-ng-runtime/locales/angular/global/twq.js +4 -4
- app-ng-runtime/locales/angular/global/tzm.js +4 -4
- app-ng-runtime/locales/angular/global/ug.js +4 -4
- app-ng-runtime/locales/angular/global/uk.js +4 -4
- app-ng-runtime/locales/angular/global/und.js +4 -4
- app-ng-runtime/locales/angular/global/ur-in.js +4 -4
- app-ng-runtime/locales/angular/global/ur.js +4 -4
- app-ng-runtime/locales/angular/global/uz-arab.js +4 -4
- app-ng-runtime/locales/angular/global/uz-cyrl.js +4 -4
- app-ng-runtime/locales/angular/global/uz-latn.js +4 -4
- app-ng-runtime/locales/angular/global/uz.js +4 -4
- app-ng-runtime/locales/angular/global/vai-latn.js +4 -4
- app-ng-runtime/locales/angular/global/vai-vaii.js +4 -4
- app-ng-runtime/locales/angular/global/vai.js +4 -4
- app-ng-runtime/locales/angular/global/vi.js +4 -4
- app-ng-runtime/locales/angular/global/vun.js +4 -4
- app-ng-runtime/locales/angular/global/wae.js +4 -4
- app-ng-runtime/locales/angular/global/wo.js +4 -4
- app-ng-runtime/locales/angular/global/xh.js +4 -4
- app-ng-runtime/locales/angular/global/xog.js +4 -4
- app-ng-runtime/locales/angular/global/yav.js +4 -4
- app-ng-runtime/locales/angular/global/yi.js +4 -4
- app-ng-runtime/locales/angular/global/yo-bj.js +4 -4
- app-ng-runtime/locales/angular/global/yo.js +4 -4
- app-ng-runtime/locales/angular/global/yrl-co.js +4 -4
- app-ng-runtime/locales/angular/global/yrl-ve.js +4 -4
- app-ng-runtime/locales/angular/global/yrl.js +4 -4
- app-ng-runtime/locales/angular/global/yue-hans.js +4 -4
- app-ng-runtime/locales/angular/global/yue-hant.js +4 -4
- app-ng-runtime/locales/angular/global/yue.js +4 -4
- app-ng-runtime/locales/angular/global/zgh.js +4 -4
- app-ng-runtime/locales/angular/global/zh-hans-hk.js +4 -4
- app-ng-runtime/locales/angular/global/zh-hans-mo.js +4 -4
- app-ng-runtime/locales/angular/global/zh-hans-sg.js +4 -4
- app-ng-runtime/locales/angular/global/zh-hans.js +4 -4
- app-ng-runtime/locales/angular/global/zh-hant-hk.js +4 -4
- app-ng-runtime/locales/angular/global/zh-hant-mo.js +4 -4
- app-ng-runtime/locales/angular/global/zh-hant.js +4 -4
- app-ng-runtime/locales/angular/global/zh.js +4 -4
- app-ng-runtime/locales/angular/global/zu.js +4 -4
- app-ng-runtime/mobile/components/basic/default/.npmignore +2 -0
- app-ng-runtime/mobile/components/basic/default/bundles/index.umd.js +148 -143
- app-ng-runtime/mobile/components/basic/default/esm2022/anchor/anchor.directive.mjs +8 -7
- app-ng-runtime/mobile/components/basic/default/esm2022/app-update/app-update.component.mjs +7 -6
- app-ng-runtime/mobile/components/basic/default/esm2022/basic.module.mjs +2 -2
- app-ng-runtime/mobile/components/basic/default/esm2022/file-browser/file-browser.component.mjs +47 -43
- app-ng-runtime/mobile/components/basic/default/esm2022/file-browser/file-selector.service.mjs +7 -5
- app-ng-runtime/mobile/components/basic/default/esm2022/image-cache/image-cache.directive.mjs +6 -5
- app-ng-runtime/mobile/components/basic/default/esm2022/network-info-toaster/network-info-toaster.component.mjs +49 -47
- app-ng-runtime/mobile/components/basic/default/esm2022/process-manager/process-management.service.mjs +2 -2
- app-ng-runtime/mobile/components/basic/default/esm2022/process-manager/process-manager.component.mjs +31 -32
- app-ng-runtime/mobile/components/basic/default/fesm2022/index.mjs +146 -140
- app-ng-runtime/mobile/components/basic/default/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/basic/default/network-info-toaster/network-info-toaster.component.d.ts +2 -2
- app-ng-runtime/mobile/components/basic/search/.npmignore +2 -0
- app-ng-runtime/mobile/components/basic/search/bundles/index.umd.js +3 -3
- app-ng-runtime/mobile/components/basic/search/esm2022/search.directive.mjs +3 -3
- app-ng-runtime/mobile/components/basic/search/esm2022/search.module.mjs +2 -2
- app-ng-runtime/mobile/components/basic/search/fesm2022/index.mjs +3 -3
- app-ng-runtime/mobile/components/basic/search/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/containers/segmented-control/.npmignore +2 -0
- app-ng-runtime/mobile/components/containers/segmented-control/bundles/index.umd.js +42 -30
- app-ng-runtime/mobile/components/containers/segmented-control/esm2022/segment-content/segment-content.component.mjs +14 -8
- app-ng-runtime/mobile/components/containers/segmented-control/esm2022/segmented-control.component.mjs +28 -21
- app-ng-runtime/mobile/components/containers/segmented-control/esm2022/segmented-control.module.mjs +2 -2
- app-ng-runtime/mobile/components/containers/segmented-control/fesm2022/index.mjs +41 -28
- app-ng-runtime/mobile/components/containers/segmented-control/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/containers/segmented-control/segment-content/segment-content.component.d.ts +2 -2
- app-ng-runtime/mobile/components/containers/segmented-control/segmented-control.component.d.ts +2 -2
- app-ng-runtime/mobile/components/data/media-list/.npmignore +2 -0
- app-ng-runtime/mobile/components/data/media-list/bundles/index.umd.js +53 -48
- app-ng-runtime/mobile/components/data/media-list/esm2022/media-list-item/media-list-item.directive.mjs +2 -2
- app-ng-runtime/mobile/components/data/media-list/esm2022/media-list.component.mjs +48 -42
- app-ng-runtime/mobile/components/data/media-list/esm2022/media-list.module.mjs +2 -2
- app-ng-runtime/mobile/components/data/media-list/fesm2022/index.mjs +50 -44
- app-ng-runtime/mobile/components/data/media-list/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/data/media-list/media-list.component.d.ts +2 -2
- app-ng-runtime/mobile/components/device/barcode-scanner/.npmignore +2 -0
- app-ng-runtime/mobile/components/device/barcode-scanner/barcode-scanner.component.d.ts +2 -2
- app-ng-runtime/mobile/components/device/barcode-scanner/bundles/index.umd.js +14 -8
- app-ng-runtime/mobile/components/device/barcode-scanner/esm2022/barcode-scanner.component.mjs +15 -9
- app-ng-runtime/mobile/components/device/barcode-scanner/esm2022/barcode-scanner.module.mjs +2 -2
- app-ng-runtime/mobile/components/device/barcode-scanner/fesm2022/index.mjs +16 -10
- app-ng-runtime/mobile/components/device/barcode-scanner/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/device/camera/.npmignore +2 -0
- app-ng-runtime/mobile/components/device/camera/bundles/index.umd.js +15 -9
- app-ng-runtime/mobile/components/device/camera/camera.component.d.ts +2 -2
- app-ng-runtime/mobile/components/device/camera/esm2022/camera.component.mjs +16 -10
- app-ng-runtime/mobile/components/device/camera/esm2022/camera.module.mjs +2 -2
- app-ng-runtime/mobile/components/device/camera/fesm2022/index.mjs +17 -11
- app-ng-runtime/mobile/components/device/camera/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/input/file-upload/.npmignore +2 -0
- app-ng-runtime/mobile/components/input/file-upload/bundles/index.umd.js +3 -3
- app-ng-runtime/mobile/components/input/file-upload/esm2022/file-upload.directive.mjs +3 -3
- app-ng-runtime/mobile/components/input/file-upload/esm2022/file-upload.module.mjs +2 -2
- app-ng-runtime/mobile/components/input/file-upload/fesm2022/index.mjs +3 -3
- app-ng-runtime/mobile/components/input/file-upload/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/page/default/.npmignore +2 -0
- app-ng-runtime/mobile/components/page/default/bundles/index.umd.js +11 -10
- app-ng-runtime/mobile/components/page/default/esm2022/page-content-loader/page-content-loader.component.mjs +4 -3
- app-ng-runtime/mobile/components/page/default/esm2022/page.directive.mjs +5 -4
- app-ng-runtime/mobile/components/page/default/esm2022/page.module.mjs +2 -2
- app-ng-runtime/mobile/components/page/default/fesm2022/index.mjs +8 -6
- app-ng-runtime/mobile/components/page/default/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/page/left-panel/.npmignore +2 -0
- app-ng-runtime/mobile/components/page/left-panel/bundles/index.umd.js +3 -3
- app-ng-runtime/mobile/components/page/left-panel/esm2022/left-panel.directive.mjs +3 -3
- app-ng-runtime/mobile/components/page/left-panel/esm2022/left-panel.module.mjs +2 -2
- app-ng-runtime/mobile/components/page/left-panel/fesm2022/index.mjs +3 -3
- app-ng-runtime/mobile/components/page/left-panel/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/page/mobile-navbar/.npmignore +2 -0
- app-ng-runtime/mobile/components/page/mobile-navbar/bundles/index.umd.js +40 -35
- app-ng-runtime/mobile/components/page/mobile-navbar/esm2022/mobile-navbar.component.mjs +41 -36
- app-ng-runtime/mobile/components/page/mobile-navbar/esm2022/mobile-navbar.module.mjs +2 -2
- app-ng-runtime/mobile/components/page/mobile-navbar/fesm2022/index.mjs +41 -36
- app-ng-runtime/mobile/components/page/mobile-navbar/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/page/mobile-navbar/mobile-navbar.component.d.ts +2 -2
- app-ng-runtime/mobile/components/page/tab-bar/.npmignore +2 -0
- app-ng-runtime/mobile/components/page/tab-bar/bundles/index.umd.js +52 -46
- app-ng-runtime/mobile/components/page/tab-bar/esm2022/tab-bar.module.mjs +2 -2
- app-ng-runtime/mobile/components/page/tab-bar/esm2022/tabbar.component.mjs +50 -43
- app-ng-runtime/mobile/components/page/tab-bar/fesm2022/index.mjs +51 -44
- app-ng-runtime/mobile/components/page/tab-bar/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/page/tab-bar/tabbar.component.d.ts +2 -2
- app-ng-runtime/mobile/core/.npmignore +2 -0
- app-ng-runtime/mobile/core/bundles/index.umd.js +61 -45
- app-ng-runtime/mobile/core/esm2022/core.module.mjs +3 -3
- app-ng-runtime/mobile/core/esm2022/native.xhr.mjs +19 -3
- app-ng-runtime/mobile/core/esm2022/services/device-file-cache.service.mjs +3 -3
- app-ng-runtime/mobile/core/esm2022/services/device-file-download.service.mjs +7 -6
- app-ng-runtime/mobile/core/esm2022/services/device-file-opener.service.mjs +5 -4
- app-ng-runtime/mobile/core/esm2022/services/device-file-upload.service.mjs +6 -5
- app-ng-runtime/mobile/core/esm2022/services/device-file.service.mjs +8 -7
- app-ng-runtime/mobile/core/esm2022/services/device.service.mjs +5 -4
- app-ng-runtime/mobile/core/esm2022/services/ext-app-message.service.mjs +7 -6
- app-ng-runtime/mobile/core/esm2022/services/network.service.mjs +11 -10
- app-ng-runtime/mobile/core/fesm2022/index.mjs +58 -41
- 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/.npmignore +2 -0
- app-ng-runtime/mobile/offline/bundles/index.umd.js +176 -159
- app-ng-runtime/mobile/offline/esm2022/models/local-db-store.mjs +23 -21
- app-ng-runtime/mobile/offline/esm2022/offline.module.mjs +3 -3
- app-ng-runtime/mobile/offline/esm2022/services/change-log.service.mjs +9 -8
- app-ng-runtime/mobile/offline/esm2022/services/local-db-data-pull.service.mjs +39 -37
- app-ng-runtime/mobile/offline/esm2022/services/local-db-management.service.mjs +56 -47
- app-ng-runtime/mobile/offline/esm2022/services/local-db.service.mjs +7 -6
- app-ng-runtime/mobile/offline/esm2022/services/local-key-value.service.mjs +2 -2
- app-ng-runtime/mobile/offline/esm2022/services/push.service.mjs +3 -3
- 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/id-resolver.mjs +3 -3
- app-ng-runtime/mobile/offline/esm2022/services/workers/multi-part-param-transformer.mjs +9 -5
- app-ng-runtime/mobile/offline/esm2022/utils/file-upload.utils.mjs +1 -1
- 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/esm2022/utils/utils.mjs +1 -1
- app-ng-runtime/mobile/offline/fesm2022/index.mjs +171 -153
- app-ng-runtime/mobile/offline/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/placeholder/runtime/.npmignore +2 -0
- app-ng-runtime/mobile/placeholder/runtime/bundles/index.umd.js +3 -2
- app-ng-runtime/mobile/placeholder/runtime/esm2022/components/app-ext.component.mjs +3 -2
- app-ng-runtime/mobile/placeholder/runtime/esm2022/mobile-runtime.module.mjs +2 -2
- app-ng-runtime/mobile/placeholder/runtime/fesm2022/index.mjs +3 -2
- app-ng-runtime/mobile/placeholder/runtime/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/placeholder/runtime-dynamic/.npmignore +2 -0
- app-ng-runtime/mobile/placeholder/runtime-dynamic/bundles/index.umd.js +1 -1
- app-ng-runtime/mobile/placeholder/runtime-dynamic/esm2022/mobile-runtime-dynamic.module.mjs +2 -2
- app-ng-runtime/mobile/placeholder/runtime-dynamic/fesm2022/index.mjs +1 -1
- app-ng-runtime/mobile/placeholder/runtime-dynamic/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/runtime/.npmignore +2 -0
- app-ng-runtime/mobile/runtime/bundles/index.umd.js +21 -17
- app-ng-runtime/mobile/runtime/esm2022/components/app-ext.component.mjs +4 -3
- app-ng-runtime/mobile/runtime/esm2022/mobile-runtime.module.mjs +5 -4
- app-ng-runtime/mobile/runtime/esm2022/services/cookie.service.mjs +7 -3
- app-ng-runtime/mobile/runtime/esm2022/services/http-interceptor.service.mjs +6 -5
- app-ng-runtime/mobile/runtime/esm2022/services/webprocess.service.mjs +3 -3
- app-ng-runtime/mobile/runtime/fesm2022/index.mjs +18 -13
- app-ng-runtime/mobile/runtime/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/runtime-dynamic/.npmignore +2 -0
- app-ng-runtime/mobile/runtime-dynamic/bundles/index.umd.js +5 -5
- app-ng-runtime/mobile/runtime-dynamic/esm2022/mobile-runtime-dynamic.module.mjs +2 -2
- app-ng-runtime/mobile/runtime-dynamic/esm2022/services/live-sync.service.mjs +5 -5
- app-ng-runtime/mobile/runtime-dynamic/fesm2022/index.mjs +5 -5
- app-ng-runtime/mobile/runtime-dynamic/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/variables/.npmignore +2 -0
- app-ng-runtime/mobile/variables/bundles/index.umd.js +28 -21
- app-ng-runtime/mobile/variables/esm2022/services/camera-service.mjs +5 -5
- app-ng-runtime/mobile/variables/esm2022/services/contacts-service.mjs +1 -1
- app-ng-runtime/mobile/variables/esm2022/services/datasync-service.mjs +10 -9
- app-ng-runtime/mobile/variables/esm2022/services/device-service/device-service.mjs +1 -1
- app-ng-runtime/mobile/variables/esm2022/services/device-service/location-service.mjs +1 -1
- app-ng-runtime/mobile/variables/esm2022/services/file-service.mjs +11 -3
- app-ng-runtime/mobile/variables/esm2022/services/scan-service.mjs +1 -1
- app-ng-runtime/mobile/variables/esm2022/variables.module.mjs +3 -3
- app-ng-runtime/mobile/variables/fesm2022/index.mjs +24 -16
- app-ng-runtime/mobile/variables/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/oAuth/.npmignore +2 -0
- app-ng-runtime/oAuth/bundles/index.umd.js +15 -15
- app-ng-runtime/oAuth/esm2022/oAuth.module.mjs +2 -2
- app-ng-runtime/oAuth/esm2022/oAuth.service.mjs +6 -5
- app-ng-runtime/oAuth/esm2022/oAuth.utils.mjs +8 -7
- app-ng-runtime/oAuth/fesm2022/index.mjs +12 -11
- app-ng-runtime/oAuth/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/package.json +1 -1
- app-ng-runtime/runtime/base/.npmignore +2 -0
- app-ng-runtime/runtime/base/bundles/index.umd.js +259 -243
- app-ng-runtime/runtime/base/components/app-component/app.component.d.ts +3 -1
- app-ng-runtime/runtime/base/directives/accessroles.directive.d.ts +4 -3
- app-ng-runtime/runtime/base/esm2022/components/app-component/app.component.mjs +34 -30
- app-ng-runtime/runtime/base/esm2022/components/app-spinner.component.mjs +9 -8
- app-ng-runtime/runtime/base/esm2022/components/base-layout.component.mjs +5 -4
- app-ng-runtime/runtime/base/esm2022/components/base-page.component.mjs +16 -15
- app-ng-runtime/runtime/base/esm2022/components/base-partial.component.mjs +15 -14
- app-ng-runtime/runtime/base/esm2022/components/base-prefab.component.mjs +17 -16
- app-ng-runtime/runtime/base/esm2022/components/base-spa-page.component.mjs +16 -15
- app-ng-runtime/runtime/base/esm2022/components/custom-toaster.component.mjs +17 -15
- app-ng-runtime/runtime/base/esm2022/components/empty-component/empty-page.component.mjs +4 -3
- app-ng-runtime/runtime/base/esm2022/components/prefab-preview.component.mjs +4 -3
- app-ng-runtime/runtime/base/esm2022/directives/accessroles.directive.mjs +24 -16
- app-ng-runtime/runtime/base/esm2022/directives/prefab.directive.mjs +4 -4
- app-ng-runtime/runtime/base/esm2022/guards/auth.guard.mjs +3 -3
- app-ng-runtime/runtime/base/esm2022/guards/can-deactivate-page.guard.mjs +3 -3
- app-ng-runtime/runtime/base/esm2022/guards/page-not-found.guard.mjs +3 -3
- app-ng-runtime/runtime/base/esm2022/guards/role.guard.mjs +5 -4
- app-ng-runtime/runtime/base/esm2022/overrides/wm_dom_renderer.mjs +4 -4
- app-ng-runtime/runtime/base/esm2022/overrides/wm_shared_styles_host.mjs +5 -5
- app-ng-runtime/runtime/base/esm2022/resolves/app-extension.resolve.mjs +3 -3
- app-ng-runtime/runtime/base/esm2022/resolves/app-js.resolve.mjs +3 -3
- app-ng-runtime/runtime/base/esm2022/resolves/app-variables.resolve.mjs +3 -3
- app-ng-runtime/runtime/base/esm2022/resolves/i18n.resolve.mjs +3 -3
- app-ng-runtime/runtime/base/esm2022/resolves/metadata.resolve.mjs +3 -3
- app-ng-runtime/runtime/base/esm2022/resolves/security-config.resolve.mjs +3 -3
- app-ng-runtime/runtime/base/esm2022/runtime-base.module.mjs +3 -3
- app-ng-runtime/runtime/base/esm2022/services/app-defaults.service.mjs +3 -3
- app-ng-runtime/runtime/base/esm2022/services/app.manager.service.mjs +19 -16
- app-ng-runtime/runtime/base/esm2022/services/app.service.mjs +9 -8
- app-ng-runtime/runtime/base/esm2022/services/dynamic-component-ref-provider.service.mjs +5 -4
- app-ng-runtime/runtime/base/esm2022/services/http-interceptor.services.mjs +6 -5
- app-ng-runtime/runtime/base/esm2022/services/i18n.service.mjs +15 -13
- app-ng-runtime/runtime/base/esm2022/services/navigation.service.mjs +10 -9
- app-ng-runtime/runtime/base/esm2022/services/pipe-provider.service.mjs +3 -3
- app-ng-runtime/runtime/base/esm2022/services/pipe.service.mjs +3 -3
- app-ng-runtime/runtime/base/esm2022/services/prefab-manager.service.mjs +5 -4
- app-ng-runtime/runtime/base/esm2022/services/spinner.service.mjs +9 -8
- app-ng-runtime/runtime/base/esm2022/services/toaster.service.mjs +8 -7
- app-ng-runtime/runtime/base/esm2022/util/fragment-monitor.mjs +3 -3
- app-ng-runtime/runtime/base/esm2022/util/wm-route-reuse-strategy.mjs +7 -8
- app-ng-runtime/runtime/base/fesm2022/index.mjs +269 -252
- app-ng-runtime/runtime/base/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/runtime/base/overrides/wm_dom_renderer.d.ts +2 -2
- app-ng-runtime/runtime/base/services/i18n.service.d.ts +1 -1
- app-ng-runtime/runtime/dynamic/.npmignore +2 -0
- app-ng-runtime/runtime/dynamic/bundles/index.umd.js +22 -21
- app-ng-runtime/runtime/dynamic/esm2022/app/app.module.mjs +1 -1
- app-ng-runtime/runtime/dynamic/esm2022/app/components/page-wrapper.component.mjs +4 -3
- app-ng-runtime/runtime/dynamic/esm2022/app/services/app-extension.service.mjs +3 -3
- app-ng-runtime/runtime/dynamic/esm2022/app/services/app-js-provider.service.mjs +3 -3
- app-ng-runtime/runtime/dynamic/esm2022/app/services/app-resource-manager.service.mjs +3 -3
- app-ng-runtime/runtime/dynamic/esm2022/app/services/app-variables-provider.service.mjs +3 -3
- app-ng-runtime/runtime/dynamic/esm2022/app/services/component-ref-provider.service.mjs +6 -5
- app-ng-runtime/runtime/dynamic/esm2022/app/services/prefab-config-provider.service.mjs +3 -3
- app-ng-runtime/runtime/dynamic/esm2022/main.mjs +3 -2
- app-ng-runtime/runtime/dynamic/fesm2022/index.mjs +21 -19
- app-ng-runtime/runtime/dynamic/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/scripts/datatable/datatable.js +8 -4
- 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/scripts/summernote/dist/summernote-lite.min.js +2 -3
- app-ng-runtime/security/.npmignore +2 -0
- app-ng-runtime/security/bundles/index.umd.js +17 -17
- app-ng-runtime/security/esm2022/security.module.mjs +2 -2
- app-ng-runtime/security/esm2022/security.service.mjs +14 -13
- app-ng-runtime/security/fesm2022/index.mjs +14 -13
- app-ng-runtime/security/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/security/security.service.d.ts +1 -1
- app-ng-runtime/swipey/.npmignore +2 -0
- app-ng-runtime/swipey/esm2022/swipe.animation.mjs +1 -1
- app-ng-runtime/swipey/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/transpiler/.npmignore +2 -0
- 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/.npmignore +2 -0
- app-ng-runtime/variables/bundles/index.umd.js +160 -150
- app-ng-runtime/variables/esm2022/factory/variable.factory.mjs +1 -1
- app-ng-runtime/variables/esm2022/manager/action/login-action.manager.mjs +15 -14
- app-ng-runtime/variables/esm2022/manager/action/logout-action.manager.mjs +1 -1
- 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/device-variable-manager.mjs +1 -1
- app-ng-runtime/variables/esm2022/manager/variable/device-variable-service.mjs +1 -1
- app-ng-runtime/variables/esm2022/manager/variable/web-socket-variable.manager.mjs +11 -10
- app-ng-runtime/variables/esm2022/model/action/notification-action.mjs +1 -1
- app-ng-runtime/variables/esm2022/service/metadata-service/metadata.service.mjs +3 -3
- app-ng-runtime/variables/esm2022/service/variables.service.mjs +9 -8
- 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/esm2022/variables.module.mjs +2 -2
- app-ng-runtime/variables/fesm2022/index.mjs +174 -163
- app-ng-runtime/variables/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/variables/util/variable/service-variable.utils.d.ts +1 -1
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { InjectionToken, forwardRef, ElementRef, inject, ViewContainerRef, Injectable, Inject, Directive, Self, ContentChildren, Pipe, Input, Component, Attribute, SecurityContext, NgModule } from '@angular/core';
|
|
2
|
+
import { InjectionToken, forwardRef, ElementRef, inject, ViewContainerRef, Injector, Injectable, Inject, Optional, Directive, Self, ContentChildren, Pipe, Input, Component, Attribute, SecurityContext, NgModule } from '@angular/core';
|
|
3
3
|
import * as i1$1 from '@angular/common';
|
|
4
4
|
import { Location, CommonModule } from '@angular/common';
|
|
5
5
|
import * as i1 from '@wm/core';
|
|
6
|
-
import { FormWidgetType, checkIsCustomPipeExpression, $parseExpr, isValidWebURL, encodeUrl, stringStartsWith, prettifyLabel, deHyphenate, initCaps, getClonedObject, setCSS, isDefined, IDGenerator, toBoolean, isChangeFromWatch, $unwatch, resetChangeFromWatch, isObject, toDimension, $appDigest, removeClass, addClass, setCSSFromObj, App, findParent, setAttr, isMobileApp, switchClass, removeAttr, $parseEvent, $invokeWatchers, $watch, transformFileURI, ComponentType, noop as noop$1, isLargeTabletLandscape, isLargeTabletPortrait, isKitkatDevice, debounce, hasOffsetStr, AbstractI18nService, CURRENCY_INFO, isMobile, AbstractDialogService, DataSource, processFilterExpBindNode, MatchMode, isEqualWithFields, getFormattedDate, isAndroid, isNumberType, DataType, findValueOf, validateAccessRoles, VALIDATOR, isIos } from '@wm/core';
|
|
6
|
+
import { FormWidgetType, checkIsCustomPipeExpression, $parseExpr, isValidWebURL, encodeUrl, stringStartsWith, prettifyLabel, deHyphenate, initCaps, getClonedObject, setCSS, isDefined, IDGenerator, toBoolean, isChangeFromWatch, $unwatch, resetChangeFromWatch, isObject as isObject$1, toDimension, $appDigest, removeClass, addClass, setCSSFromObj, App, findParent, setAttr, isMobileApp, switchClass, removeAttr, $parseEvent, $invokeWatchers, $watch, transformFileURI, ComponentType, noop as noop$1, isLargeTabletLandscape, isLargeTabletPortrait, isKitkatDevice, debounce as debounce$1, hasOffsetStr, AbstractI18nService, CURRENCY_INFO, isMobile, AbstractDialogService, DataSource, processFilterExpBindNode, MatchMode, isEqualWithFields, getFormattedDate, isAndroid, isNumberType, DataType, findValueOf, validateAccessRoles, VALIDATOR, isIos } from '@wm/core';
|
|
7
7
|
import { SecurityModule, SecurityService } from '@wm/security';
|
|
8
|
-
import { createFocusTrap } from '@wavemaker/focus-trap
|
|
8
|
+
import { createFocusTrap } from '@wavemaker/focus-trap';
|
|
9
|
+
import { isNull, get, forEach, join, union, isArray, isObject, includes, split, isString, assignWith, startsWith, isFunction, extend, camelCase, map, pickBy, assign, debounce, isDate, isUndefined, filter as filter$1, isEmpty, keys, head, replace, each, intersection, cloneDeep, orderBy, trim, isEqual, uniqWith, uniqBy, sortBy, groupBy, toLower, values, first, omitBy, toUpper, find, concat } from 'lodash-es';
|
|
9
10
|
import * as i1$2 from '@angular/platform-browser';
|
|
10
11
|
import { EventManager } from '@angular/platform-browser';
|
|
11
12
|
import { ReplaySubject, Subject } from 'rxjs';
|
|
12
13
|
import { filter, debounceTime } from 'rxjs/operators';
|
|
14
|
+
import { __param, __metadata, __decorate } from 'tslib';
|
|
13
15
|
import { Validators } from '@angular/forms';
|
|
14
16
|
import { SwipeAnimation } from '@swipey';
|
|
15
17
|
|
|
@@ -87,7 +89,7 @@ const getObjValueByKey = (obj, strKey) => {
|
|
|
87
89
|
/* convert indexes to properties, so as to work for even 'key1[0].child1'*/
|
|
88
90
|
strKey.replace(/\[(\w+)\]/g, '.$1').split('.').forEach(key => {
|
|
89
91
|
// If obj is null, then assign val to null.
|
|
90
|
-
val = (val && val[key]) || (
|
|
92
|
+
val = (val && val[key]) || (isNull(obj) ? obj : obj[key]);
|
|
91
93
|
});
|
|
92
94
|
return val;
|
|
93
95
|
}
|
|
@@ -122,7 +124,7 @@ const getEvaluatedData = (dataObj, options, context) => {
|
|
|
122
124
|
// Handling field name with special charecters
|
|
123
125
|
// Ex: field = "f name"
|
|
124
126
|
if (!bindExpr && !expr) {
|
|
125
|
-
return
|
|
127
|
+
return get(dataObj, field);
|
|
126
128
|
}
|
|
127
129
|
return $parseExpr(expressionValue)(context, Object.assign({}, dataObj, { __1: dataObj }));
|
|
128
130
|
};
|
|
@@ -159,12 +161,12 @@ const hasLinkToCurrentPage = (nodes, routeUrl) => {
|
|
|
159
161
|
const getOrderByExpr = pageableObj => {
|
|
160
162
|
pageableObj = pageableObj || [];
|
|
161
163
|
const expressions = [], KEY_VAL_SEPARATOR = ' ', FIELD_SEPARATOR = ',';
|
|
162
|
-
|
|
164
|
+
forEach(pageableObj, obj => {
|
|
163
165
|
if (obj.direction) {
|
|
164
166
|
expressions.push(obj.property + KEY_VAL_SEPARATOR + obj.direction.toLowerCase());
|
|
165
167
|
}
|
|
166
168
|
});
|
|
167
|
-
return
|
|
169
|
+
return join(expressions, FIELD_SEPARATOR);
|
|
168
170
|
};
|
|
169
171
|
const isDataSetWidget = widget => {
|
|
170
172
|
return DATASET_WIDGETS.has(widget);
|
|
@@ -254,13 +256,13 @@ const getMatchModeTypesMap = (multiMode) => {
|
|
|
254
256
|
modes.string.push('in', 'notin');
|
|
255
257
|
modes.character.push('in', 'notin');
|
|
256
258
|
}
|
|
257
|
-
|
|
258
|
-
|
|
259
|
+
forEach(typesMap, (types, primType) => {
|
|
260
|
+
forEach(types, type => {
|
|
259
261
|
matchModeTypesMap[type] = modes[primType];
|
|
260
262
|
});
|
|
261
263
|
});
|
|
262
264
|
// this is used in filter criteria when the user types the column name manually and where we dont know the type of the column
|
|
263
|
-
matchModeTypesMap['default'] =
|
|
265
|
+
matchModeTypesMap['default'] = union(modes['number'], modes['string'], modes['character'], modes['date'], modes['date']);
|
|
264
266
|
return matchModeTypesMap;
|
|
265
267
|
};
|
|
266
268
|
const getMatchModeMsgs = (appLocale) => {
|
|
@@ -292,14 +294,14 @@ const getMatchModeMsgs = (appLocale) => {
|
|
|
292
294
|
// Returns array of classes that are evaluated true for given object or array
|
|
293
295
|
const getClassesArray = classVal => {
|
|
294
296
|
let classes = [];
|
|
295
|
-
if (
|
|
297
|
+
if (isArray(classVal)) {
|
|
296
298
|
classVal.forEach(v => {
|
|
297
299
|
classes = classes.concat(getClassesArray(v));
|
|
298
300
|
});
|
|
299
301
|
return classes;
|
|
300
302
|
}
|
|
301
|
-
if (
|
|
302
|
-
|
|
303
|
+
if (isObject(classVal)) {
|
|
304
|
+
forEach(classVal, (val, key) => {
|
|
303
305
|
if (val) {
|
|
304
306
|
classes = classes.concat(key.split(' '));
|
|
305
307
|
}
|
|
@@ -313,9 +315,9 @@ const getConditionalClasses = (nv, ov) => {
|
|
|
313
315
|
// if the conditional class property has already toAdd and toRemove arrays then take that otherwise build those arrays
|
|
314
316
|
const classToAdd = nv.toAdd || nv;
|
|
315
317
|
const classToRemove = nv.toRemove || ov;
|
|
316
|
-
if (
|
|
317
|
-
toAdd =
|
|
318
|
-
toRemove = classToRemove ? (
|
|
318
|
+
if (isObject(nv)) {
|
|
319
|
+
toAdd = isArray(classToAdd) ? classToAdd : getClassesArray(classToAdd || []);
|
|
320
|
+
toRemove = classToRemove ? (isArray(classToRemove) ? classToRemove : getClassesArray(classToRemove)) : [];
|
|
319
321
|
}
|
|
320
322
|
else {
|
|
321
323
|
toAdd = classToAdd ? [classToAdd] : [];
|
|
@@ -330,9 +332,9 @@ const pushFieldDef = (dataObject, columnDefObj, namePrefix, options) => {
|
|
|
330
332
|
if (!options) {
|
|
331
333
|
options = {};
|
|
332
334
|
}
|
|
333
|
-
|
|
334
|
-
if (
|
|
335
|
-
relatedInfo =
|
|
335
|
+
forEach(dataObject, (value, title) => {
|
|
336
|
+
if (includes(title, '.')) {
|
|
337
|
+
relatedInfo = split(title, '.');
|
|
336
338
|
relatedTable = relatedInfo[0];
|
|
337
339
|
relatedField = relatedInfo[1];
|
|
338
340
|
isRelated = true;
|
|
@@ -341,7 +343,7 @@ const pushFieldDef = (dataObject, columnDefObj, namePrefix, options) => {
|
|
|
341
343
|
modifiedTitle = title;
|
|
342
344
|
}
|
|
343
345
|
else {
|
|
344
|
-
if (
|
|
346
|
+
if (isString(title)) {
|
|
345
347
|
modifiedTitle = prettifyLabel(title);
|
|
346
348
|
modifiedTitle = deHyphenate(modifiedTitle);
|
|
347
349
|
modifiedTitle = namePrefix ? initCaps(namePrefix) + ' ' + modifiedTitle : modifiedTitle;
|
|
@@ -353,7 +355,7 @@ const pushFieldDef = (dataObject, columnDefObj, namePrefix, options) => {
|
|
|
353
355
|
title = namePrefix ? namePrefix + '.' + title : title;
|
|
354
356
|
if (isRelated) {
|
|
355
357
|
// For related columns, shorten the title to last two words
|
|
356
|
-
fieldName =
|
|
358
|
+
fieldName = split(modifiedTitle, ' ');
|
|
357
359
|
fieldName = fieldName.length > 1 ? fieldName[fieldName.length - 2] + ' ' + fieldName[fieldName.length - 1] : fieldName[0];
|
|
358
360
|
}
|
|
359
361
|
else {
|
|
@@ -362,7 +364,7 @@ const pushFieldDef = (dataObject, columnDefObj, namePrefix, options) => {
|
|
|
362
364
|
const defObj = options.setBindingField ? { 'displayName': fieldName, 'field': title, 'relatedTable': relatedTable, 'relatedField': relatedField || modifiedTitle }
|
|
363
365
|
: { 'displayName': fieldName, 'relatedTable': relatedTable, 'relatedField': relatedField || modifiedTitle };
|
|
364
366
|
/*if field is a leaf node, push it in the columnDefs*/
|
|
365
|
-
if (!
|
|
367
|
+
if (!isObject(value) || (isArray(value) && !value[0])) {
|
|
366
368
|
/*if the column counter has reached upperBound return*/
|
|
367
369
|
if (options.upperBound && options.columnCount === options.upperBound) {
|
|
368
370
|
return;
|
|
@@ -378,7 +380,7 @@ const pushFieldDef = (dataObject, columnDefObj, namePrefix, options) => {
|
|
|
378
380
|
columnDefObj.objects.push(defObj);
|
|
379
381
|
}
|
|
380
382
|
/* if field is an array node, process its first child */
|
|
381
|
-
if (
|
|
383
|
+
if (isArray(value) && value[0]) {
|
|
382
384
|
pushFieldDef(value[0], columnDefObj, title + '[0]', options);
|
|
383
385
|
}
|
|
384
386
|
else {
|
|
@@ -389,17 +391,17 @@ const pushFieldDef = (dataObject, columnDefObj, namePrefix, options) => {
|
|
|
389
391
|
};
|
|
390
392
|
const getMetaDataFromData = (data) => {
|
|
391
393
|
let dataObject;
|
|
392
|
-
if (
|
|
393
|
-
if (
|
|
394
|
+
if (isArray(data)) {
|
|
395
|
+
if (isObject(data[0])) {
|
|
394
396
|
dataObject = getClonedObject(data[0]);
|
|
395
397
|
/*Loop over the object to find out any null values. If any null values are present in the first row, check and assign the values from other row.
|
|
396
398
|
* As column generation is dependent on data, for related fields if first row value is null, columns are not generated.
|
|
397
399
|
* To prevent this, check the data in other rows and generate the columns. New keys from others rows are also added*/
|
|
398
|
-
|
|
400
|
+
forEach(data, (row, index) => {
|
|
399
401
|
if ((index + 1) >= 10) { // Limit the data search to first 10 records
|
|
400
402
|
return false;
|
|
401
403
|
}
|
|
402
|
-
|
|
404
|
+
assignWith(dataObject, row, (objValue, srcValue) => {
|
|
403
405
|
return (objValue === null || objValue === undefined) ? srcValue : objValue;
|
|
404
406
|
});
|
|
405
407
|
});
|
|
@@ -788,11 +790,11 @@ const globalPropertyChangeHandler = (component, key, nv) => {
|
|
|
788
790
|
}
|
|
789
791
|
}
|
|
790
792
|
// Set the value in the component and trigger appDigest when there is a change in the value
|
|
791
|
-
if (nv !== ov || isObject(nv) || isObject(ov)) {
|
|
793
|
+
if (nv !== ov || isObject$1(nv) || isObject$1(ov)) {
|
|
792
794
|
if (isDimensionProp(key)) {
|
|
793
795
|
nv = toDimension(nv);
|
|
794
796
|
}
|
|
795
|
-
else if (
|
|
797
|
+
else if (startsWith(nv, 'resources/')) {
|
|
796
798
|
const ref = component;
|
|
797
799
|
if (ref._parentPrefab_ === undefined) {
|
|
798
800
|
ref._parentPrefab_ = component.$element.parent().closest('[prefabname][prefabname!="__self__"]').attr('prefabname') || '';
|
|
@@ -833,7 +835,7 @@ const proxyHandler = {
|
|
|
833
835
|
},
|
|
834
836
|
get: (target, key) => {
|
|
835
837
|
const v = target[key];
|
|
836
|
-
if (
|
|
838
|
+
if (isFunction(v)) { // bind the proper context for the methods
|
|
837
839
|
return v.bind(target);
|
|
838
840
|
}
|
|
839
841
|
return v;
|
|
@@ -862,7 +864,7 @@ class WidgetProxyProvider {
|
|
|
862
864
|
// bind proper context for the methods
|
|
863
865
|
invokeLater(() => {
|
|
864
866
|
for (const key in instance) {
|
|
865
|
-
if (
|
|
867
|
+
if (isFunction(instance[key]) && key !== 'constructor' && key !== 'super' && !startsWith(key, 'ng')) {
|
|
866
868
|
instance[key] = instance[key].bind(instance);
|
|
867
869
|
}
|
|
868
870
|
}
|
|
@@ -893,21 +895,21 @@ class WidgetProxyProvider {
|
|
|
893
895
|
// Gets list of classes to add and remove and applies on the $el
|
|
894
896
|
const updateClasses = (toAdd, toRemove, el) => {
|
|
895
897
|
if (toRemove && toRemove.length) {
|
|
896
|
-
removeClass(el,
|
|
898
|
+
removeClass(el, join(toRemove, ' '));
|
|
897
899
|
}
|
|
898
900
|
if (toAdd && toAdd.length) {
|
|
899
|
-
addClass(el,
|
|
901
|
+
addClass(el, join(toAdd, ' '));
|
|
900
902
|
}
|
|
901
903
|
};
|
|
902
904
|
// To add and remove styles on the $el
|
|
903
905
|
const updateStyles = (nv, ov, el) => {
|
|
904
|
-
if (ov &&
|
|
906
|
+
if (ov && isObject(ov)) {
|
|
905
907
|
const keys = Object.keys(ov || {});
|
|
906
908
|
keys.forEach(function (key) {
|
|
907
909
|
setCSS(el, key, '');
|
|
908
910
|
});
|
|
909
911
|
}
|
|
910
|
-
if (nv &&
|
|
912
|
+
if (nv && isObject(nv)) {
|
|
911
913
|
setCSSFromObj(el, nv);
|
|
912
914
|
}
|
|
913
915
|
};
|
|
@@ -918,7 +920,7 @@ class BaseComponent {
|
|
|
918
920
|
get $element() {
|
|
919
921
|
return $(this.nativeElement);
|
|
920
922
|
}
|
|
921
|
-
constructor(inj, config, initPromise // Promise on which the initialization has to wait
|
|
923
|
+
constructor(inj, config, explicitContext, initPromise // Promise on which the initialization has to wait
|
|
922
924
|
) {
|
|
923
925
|
this.inj = inj;
|
|
924
926
|
this.isAttached = false;
|
|
@@ -950,6 +952,7 @@ class BaseComponent {
|
|
|
950
952
|
this.__cloneable__ = false;
|
|
951
953
|
this.$attrs = new Map();
|
|
952
954
|
this.isMuted = false;
|
|
955
|
+
this.customInjectorMap = {};
|
|
953
956
|
const elementRef = inj.get(ElementRef);
|
|
954
957
|
this.nativeElement = elementRef.nativeElement;
|
|
955
958
|
//making the code compatible in both the JIT and AOT modes
|
|
@@ -1002,6 +1005,7 @@ class BaseComponent {
|
|
|
1002
1005
|
addClass(this.nativeElement, config.hostClass);
|
|
1003
1006
|
}
|
|
1004
1007
|
this.widgetId = this.generateWidgetId();
|
|
1008
|
+
this.trackId = this.generateWidgetId();
|
|
1005
1009
|
setAttr(this.nativeElement, 'widget-id', this.widgetId, true);
|
|
1006
1010
|
// register default property change handler and style change handler
|
|
1007
1011
|
this.registerStyleChangeListener(this.onStyleChange, this);
|
|
@@ -1017,6 +1021,9 @@ class BaseComponent {
|
|
|
1017
1021
|
this.setInitProps();
|
|
1018
1022
|
});
|
|
1019
1023
|
}
|
|
1024
|
+
if (explicitContext) {
|
|
1025
|
+
extend(this.context, explicitContext);
|
|
1026
|
+
}
|
|
1020
1027
|
}
|
|
1021
1028
|
getNativeElement() {
|
|
1022
1029
|
return this.nativeElement;
|
|
@@ -1089,8 +1096,8 @@ class BaseComponent {
|
|
|
1089
1096
|
}
|
|
1090
1097
|
if (parentContexts) {
|
|
1091
1098
|
let parentContextObj = {};
|
|
1092
|
-
if (
|
|
1093
|
-
|
|
1099
|
+
if (isArray(parentContexts)) {
|
|
1100
|
+
forEach(parentContexts, (contextObj) => {
|
|
1094
1101
|
Object.assign(parentContextObj, contextObj);
|
|
1095
1102
|
});
|
|
1096
1103
|
}
|
|
@@ -1248,7 +1255,7 @@ class BaseComponent {
|
|
|
1248
1255
|
this.eventHandlers.set(this.getMappedEventName(eventName), { callback: eventCallback, locals });
|
|
1249
1256
|
// prepend eventName with on and convert it to camelcase.
|
|
1250
1257
|
// eg, "click" ---> onClick
|
|
1251
|
-
const onEventName =
|
|
1258
|
+
const onEventName = camelCase(`on-${eventName}`);
|
|
1252
1259
|
// save the eventCallback in widgetScope.
|
|
1253
1260
|
this[onEventName] = eventCallback;
|
|
1254
1261
|
// events needs to be setup after viewInit
|
|
@@ -1330,7 +1337,7 @@ class BaseComponent {
|
|
|
1330
1337
|
if (_tNodeAttrs === null) {
|
|
1331
1338
|
return actualAttrs.sort();
|
|
1332
1339
|
}
|
|
1333
|
-
|
|
1340
|
+
forEach(_tNodeAttrs, (attr, i) => {
|
|
1334
1341
|
if (typeof attr === 'number') {
|
|
1335
1342
|
return false;
|
|
1336
1343
|
}
|
|
@@ -1355,7 +1362,7 @@ class BaseComponent {
|
|
|
1355
1362
|
* Process the attributes
|
|
1356
1363
|
*/
|
|
1357
1364
|
processAttrs() {
|
|
1358
|
-
|
|
1365
|
+
map(this.getAttributes(), (attrName) => {
|
|
1359
1366
|
let attrValue = this.nativeElement.attributes[attrName].value;
|
|
1360
1367
|
this.$attrs.set(attrName, attrValue);
|
|
1361
1368
|
this.processAttr(attrName, attrValue);
|
|
@@ -1431,6 +1438,28 @@ class BaseComponent {
|
|
|
1431
1438
|
unmute() {
|
|
1432
1439
|
this.isMuted = false;
|
|
1433
1440
|
}
|
|
1441
|
+
/**
|
|
1442
|
+
* After the Angular 17 upgrade, Angular is no longer sending ngTemplateContext to components in ng-template.
|
|
1443
|
+
* Wavemaker widgets inside ng-template require context to evaluate bind expressions.
|
|
1444
|
+
* So we're creating an injectionToken that returns the context as a value.
|
|
1445
|
+
* We are passing the injectionToken to the ngTemplateOutletInjector.
|
|
1446
|
+
* This injects the context into each widget in the ng-template.
|
|
1447
|
+
* In the widget component constructor we are getting the injectionToken using dependency injection.
|
|
1448
|
+
* If injectionToken is present, we extend the component context with the value of injectionToken.
|
|
1449
|
+
* @param contextKey
|
|
1450
|
+
* @param context
|
|
1451
|
+
* @returns injector
|
|
1452
|
+
*/
|
|
1453
|
+
createCustomInjector(contextKey, context) {
|
|
1454
|
+
if (this.customInjectorMap[contextKey]) {
|
|
1455
|
+
return this.customInjectorMap[contextKey].injector;
|
|
1456
|
+
}
|
|
1457
|
+
const injector = Injector.create({
|
|
1458
|
+
providers: [{ provide: 'EXPLICIT_CONTEXT', useFactory: () => context }]
|
|
1459
|
+
});
|
|
1460
|
+
this.customInjectorMap[contextKey] = { context, injector };
|
|
1461
|
+
return injector;
|
|
1462
|
+
}
|
|
1434
1463
|
/**
|
|
1435
1464
|
* After the host page is attached from cache, this function is called.
|
|
1436
1465
|
*/
|
|
@@ -1474,21 +1503,26 @@ class BaseComponent {
|
|
|
1474
1503
|
this.destroy.complete();
|
|
1475
1504
|
this.isAttached = false;
|
|
1476
1505
|
}
|
|
1477
|
-
static { this.ɵfac = function BaseComponent_Factory(t) { return new (t || BaseComponent)(i0.ɵɵinject(i0.Injector), i0.ɵɵinject(WidgetConfig), i0.ɵɵinject(Promise)); }; }
|
|
1506
|
+
static { this.ɵfac = function BaseComponent_Factory(t) { return new (t || BaseComponent)(i0.ɵɵinject(i0.Injector), i0.ɵɵinject(WidgetConfig), i0.ɵɵinject('EXPLICIT_CONTEXT', 8), i0.ɵɵinject(Promise)); }; }
|
|
1478
1507
|
static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: BaseComponent, factory: BaseComponent.ɵfac }); }
|
|
1479
1508
|
}
|
|
1480
|
-
(
|
|
1509
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(BaseComponent, [{
|
|
1481
1510
|
type: Injectable
|
|
1482
|
-
}],
|
|
1511
|
+
}], () => [{ type: i0.Injector }, { type: undefined, decorators: [{
|
|
1483
1512
|
type: Inject,
|
|
1484
1513
|
args: [WidgetConfig]
|
|
1485
|
-
}] }, { type:
|
|
1514
|
+
}] }, { type: undefined, decorators: [{
|
|
1515
|
+
type: Inject,
|
|
1516
|
+
args: ['EXPLICIT_CONTEXT']
|
|
1517
|
+
}, {
|
|
1518
|
+
type: Optional
|
|
1519
|
+
}] }, { type: Promise }], null); })();
|
|
1486
1520
|
|
|
1487
1521
|
class StylableComponent extends BaseComponent {
|
|
1488
|
-
static { this.ɵfac = /*@__PURE__*/
|
|
1522
|
+
static { this.ɵfac = /*@__PURE__*/ (() => { let ɵStylableComponent_BaseFactory; return function StylableComponent_Factory(t) { return (ɵStylableComponent_BaseFactory || (ɵStylableComponent_BaseFactory = i0.ɵɵgetInheritedFactory(StylableComponent)))(t || StylableComponent); }; })(); }
|
|
1489
1523
|
static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: StylableComponent, factory: StylableComponent.ɵfac }); }
|
|
1490
1524
|
}
|
|
1491
|
-
(
|
|
1525
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(StylableComponent, [{
|
|
1492
1526
|
type: Injectable
|
|
1493
1527
|
}], null, null); })();
|
|
1494
1528
|
|
|
@@ -1506,26 +1540,26 @@ class RedrawableDirective {
|
|
|
1506
1540
|
static { this.ɵfac = function RedrawableDirective_Factory(t) { return new (t || RedrawableDirective)(i0.ɵɵdirectiveInject(WidgetRef, 2)); }; }
|
|
1507
1541
|
static { this.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: RedrawableDirective, selectors: [["", "redrawable", ""]] }); }
|
|
1508
1542
|
}
|
|
1509
|
-
(
|
|
1543
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(RedrawableDirective, [{
|
|
1510
1544
|
type: Directive,
|
|
1511
1545
|
args: [{
|
|
1512
1546
|
selector: '[redrawable]'
|
|
1513
1547
|
}]
|
|
1514
|
-
}],
|
|
1548
|
+
}], () => [{ type: undefined, decorators: [{
|
|
1515
1549
|
type: Self
|
|
1516
1550
|
}, {
|
|
1517
1551
|
type: Inject,
|
|
1518
1552
|
args: [WidgetRef]
|
|
1519
|
-
}] }]
|
|
1553
|
+
}] }], null); })();
|
|
1520
1554
|
|
|
1521
1555
|
class BaseContainerComponent extends StylableComponent {
|
|
1522
|
-
constructor(inj, WIDGET_CONFIG) {
|
|
1523
|
-
super(inj, WIDGET_CONFIG);
|
|
1556
|
+
constructor(inj, WIDGET_CONFIG, explicitContext) {
|
|
1557
|
+
super(inj, WIDGET_CONFIG, explicitContext);
|
|
1524
1558
|
}
|
|
1525
1559
|
updateRedrawableComponents(widgets) {
|
|
1526
|
-
|
|
1560
|
+
pickBy(widgets, widget => {
|
|
1527
1561
|
// check for redrawable widget and whether it is already exist in reDrawableComponents query list or not
|
|
1528
|
-
if (widget && widget.nativeElement && widget.nativeElement.hasAttribute('redrawable') && !
|
|
1562
|
+
if (widget && widget.nativeElement && widget.nativeElement.hasAttribute('redrawable') && !includes(this.reDrawableComponents._results, widget)) {
|
|
1529
1563
|
this.reDrawableComponents._results.push(widget);
|
|
1530
1564
|
}
|
|
1531
1565
|
if (widget && widget.Widgets) {
|
|
@@ -1560,9 +1594,9 @@ class BaseContainerComponent extends StylableComponent {
|
|
|
1560
1594
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.reDrawableComponents = _t);
|
|
1561
1595
|
} }, features: [i0.ɵɵInheritDefinitionFeature] }); }
|
|
1562
1596
|
}
|
|
1563
|
-
(
|
|
1597
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(BaseContainerComponent, [{
|
|
1564
1598
|
type: Directive
|
|
1565
|
-
}],
|
|
1599
|
+
}], () => [{ type: i0.Injector }, { type: undefined }, { type: undefined }], { reDrawableComponents: [{
|
|
1566
1600
|
type: ContentChildren,
|
|
1567
1601
|
args: [RedrawableDirective, { descendants: true }]
|
|
1568
1602
|
}] }); })();
|
|
@@ -1574,17 +1608,17 @@ const WIDGET_CONFIG$4 = {
|
|
|
1574
1608
|
};
|
|
1575
1609
|
class ContainerDirective extends BaseContainerComponent {
|
|
1576
1610
|
static { this.initializeProps = registerProps$4(); }
|
|
1577
|
-
constructor(inj) {
|
|
1578
|
-
super(inj, WIDGET_CONFIG$4);
|
|
1611
|
+
constructor(inj, explicitContext) {
|
|
1612
|
+
super(inj, WIDGET_CONFIG$4, explicitContext);
|
|
1579
1613
|
addClass(this.nativeElement, DEFAULT_CLS$3);
|
|
1580
1614
|
styler(this.nativeElement, this, APPLY_STYLES_TYPE.CONTAINER);
|
|
1581
1615
|
}
|
|
1582
|
-
static { this.ɵfac = function ContainerDirective_Factory(t) { return new (t || ContainerDirective)(i0.ɵɵdirectiveInject(i0.Injector)); }; }
|
|
1616
|
+
static { this.ɵfac = function ContainerDirective_Factory(t) { return new (t || ContainerDirective)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject('EXPLICIT_CONTEXT', 8)); }; }
|
|
1583
1617
|
static { this.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: ContainerDirective, selectors: [["", "wmContainer", ""]], features: [i0.ɵɵProvidersFeature([
|
|
1584
1618
|
provideAsWidgetRef(ContainerDirective)
|
|
1585
1619
|
]), i0.ɵɵInheritDefinitionFeature] }); }
|
|
1586
1620
|
}
|
|
1587
|
-
(
|
|
1621
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ContainerDirective, [{
|
|
1588
1622
|
type: Directive,
|
|
1589
1623
|
args: [{
|
|
1590
1624
|
selector: '[wmContainer]',
|
|
@@ -1592,7 +1626,12 @@ class ContainerDirective extends BaseContainerComponent {
|
|
|
1592
1626
|
provideAsWidgetRef(ContainerDirective)
|
|
1593
1627
|
]
|
|
1594
1628
|
}]
|
|
1595
|
-
}],
|
|
1629
|
+
}], () => [{ type: i0.Injector }, { type: undefined, decorators: [{
|
|
1630
|
+
type: Inject,
|
|
1631
|
+
args: ['EXPLICIT_CONTEXT']
|
|
1632
|
+
}, {
|
|
1633
|
+
type: Optional
|
|
1634
|
+
}] }], null); })();
|
|
1596
1635
|
|
|
1597
1636
|
class ImagePipe {
|
|
1598
1637
|
transform(url, encode, defaultImageUrl) {
|
|
@@ -1601,7 +1640,7 @@ class ImagePipe {
|
|
|
1601
1640
|
static { this.ɵfac = function ImagePipe_Factory(t) { return new (t || ImagePipe)(); }; }
|
|
1602
1641
|
static { this.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "image", type: ImagePipe, pure: true }); }
|
|
1603
1642
|
}
|
|
1604
|
-
(
|
|
1643
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ImagePipe, [{
|
|
1605
1644
|
type: Pipe,
|
|
1606
1645
|
args: [{
|
|
1607
1646
|
name: 'image'
|
|
@@ -1634,8 +1673,8 @@ class ItemTemplateDirective extends StylableComponent {
|
|
|
1634
1673
|
set wmItemTemplate(value) {
|
|
1635
1674
|
this.widget.content = value;
|
|
1636
1675
|
}
|
|
1637
|
-
constructor(inj, elRef, app) {
|
|
1638
|
-
super(inj, WIDGET_CONFIG$3);
|
|
1676
|
+
constructor(inj, elRef, app, explicitContext) {
|
|
1677
|
+
super(inj, WIDGET_CONFIG$3, explicitContext);
|
|
1639
1678
|
this.app = app;
|
|
1640
1679
|
this.nativeElement = elRef.nativeElement;
|
|
1641
1680
|
// this.context = (<NgForOfContext<ItemTemplateDirective>>(<any>inj).view.context);
|
|
@@ -1645,12 +1684,12 @@ class ItemTemplateDirective extends StylableComponent {
|
|
|
1645
1684
|
super.ngOnInit();
|
|
1646
1685
|
this.partialParams.item = this.userComponentParams.dataObject;
|
|
1647
1686
|
}
|
|
1648
|
-
static { this.ɵfac = function ItemTemplateDirective_Factory(t) { return new (t || ItemTemplateDirective)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i1.App)); }; }
|
|
1687
|
+
static { this.ɵfac = function ItemTemplateDirective_Factory(t) { return new (t || ItemTemplateDirective)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i1.App), i0.ɵɵdirectiveInject('EXPLICIT_CONTEXT', 8)); }; }
|
|
1649
1688
|
static { this.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: ItemTemplateDirective, selectors: [["", "wmItemTemplate", ""]], inputs: { userComponentParams: "userComponentParams", wmItemTemplate: "wmItemTemplate" }, exportAs: ["itemTemplateRef"], features: [i0.ɵɵProvidersFeature([
|
|
1650
1689
|
provideAsWidgetRef(ItemTemplateDirective)
|
|
1651
1690
|
]), i0.ɵɵInheritDefinitionFeature] }); }
|
|
1652
1691
|
}
|
|
1653
|
-
(
|
|
1692
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ItemTemplateDirective, [{
|
|
1654
1693
|
type: Directive,
|
|
1655
1694
|
args: [{
|
|
1656
1695
|
selector: '[wmItemTemplate]',
|
|
@@ -1659,7 +1698,12 @@ class ItemTemplateDirective extends StylableComponent {
|
|
|
1659
1698
|
provideAsWidgetRef(ItemTemplateDirective)
|
|
1660
1699
|
]
|
|
1661
1700
|
}]
|
|
1662
|
-
}],
|
|
1701
|
+
}], () => [{ type: i0.Injector }, { type: i0.ElementRef }, { type: i1.App }, { type: undefined, decorators: [{
|
|
1702
|
+
type: Inject,
|
|
1703
|
+
args: ['EXPLICIT_CONTEXT']
|
|
1704
|
+
}, {
|
|
1705
|
+
type: Optional
|
|
1706
|
+
}] }], { userComponentParams: [{
|
|
1663
1707
|
type: Input
|
|
1664
1708
|
}], wmItemTemplate: [{
|
|
1665
1709
|
type: Input
|
|
@@ -1678,29 +1722,36 @@ const WIDGET_CONFIG$2 = {
|
|
|
1678
1722
|
};
|
|
1679
1723
|
class RepeatTemplateDirective extends StylableComponent {
|
|
1680
1724
|
static { this.initializeProps = registerProps$2(); }
|
|
1681
|
-
constructor(inj) {
|
|
1682
|
-
super(inj, WIDGET_CONFIG$2);
|
|
1725
|
+
constructor(inj, explicitContext) {
|
|
1726
|
+
super(inj, WIDGET_CONFIG$2, explicitContext);
|
|
1683
1727
|
styler(this.nativeElement, this);
|
|
1684
1728
|
}
|
|
1685
|
-
static { this.ɵfac = function RepeatTemplateDirective_Factory(t) { return new (t || RepeatTemplateDirective)(i0.ɵɵdirectiveInject(i0.Injector)); }; }
|
|
1686
|
-
static { this.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: RepeatTemplateDirective, selectors: [["", "wmRepeatTemplate", ""]], features: [i0.ɵɵInheritDefinitionFeature] }); }
|
|
1729
|
+
static { this.ɵfac = function RepeatTemplateDirective_Factory(t) { return new (t || RepeatTemplateDirective)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject('EXPLICIT_CONTEXT', 8)); }; }
|
|
1730
|
+
static { this.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: RepeatTemplateDirective, selectors: [["", "wmRepeatTemplate", ""]], exportAs: ["repeatItemRef"], features: [i0.ɵɵInheritDefinitionFeature] }); }
|
|
1687
1731
|
}
|
|
1688
|
-
(
|
|
1732
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(RepeatTemplateDirective, [{
|
|
1689
1733
|
type: Directive,
|
|
1690
1734
|
args: [{
|
|
1691
|
-
selector: '[wmRepeatTemplate]'
|
|
1735
|
+
selector: '[wmRepeatTemplate]',
|
|
1736
|
+
exportAs: 'repeatItemRef'
|
|
1692
1737
|
}]
|
|
1693
|
-
}],
|
|
1738
|
+
}], () => [{ type: i0.Injector }, { type: undefined, decorators: [{
|
|
1739
|
+
type: Inject,
|
|
1740
|
+
args: ['EXPLICIT_CONTEXT']
|
|
1741
|
+
}, {
|
|
1742
|
+
type: Optional
|
|
1743
|
+
}] }], null); })();
|
|
1694
1744
|
|
|
1695
1745
|
class LazyLoadDirective {
|
|
1696
|
-
constructor(inj, templateRef, viewContainer) {
|
|
1746
|
+
constructor(inj, templateRef, viewContainer, explicitContext = {}) {
|
|
1697
1747
|
this.templateRef = templateRef;
|
|
1698
1748
|
this.viewContainer = viewContainer;
|
|
1749
|
+
this.context = {};
|
|
1699
1750
|
let viewParentApp = inj ? inj.get(App) : inject(App);
|
|
1700
1751
|
let lView = inj._lView;
|
|
1701
1752
|
this.viewParent = findParent(lView, viewParentApp);
|
|
1702
1753
|
//this.context = (inj as any).view.context;
|
|
1703
|
-
this.context
|
|
1754
|
+
extend(this.context, inj._lView[8], explicitContext);
|
|
1704
1755
|
}
|
|
1705
1756
|
set lazyLoad(expr) {
|
|
1706
1757
|
this.unSubscribeFn = $watch(expr, this.viewParent, this.context, (val) => {
|
|
@@ -1713,15 +1764,20 @@ class LazyLoadDirective {
|
|
|
1713
1764
|
ngOnDestroy() {
|
|
1714
1765
|
this.unSubscribeFn();
|
|
1715
1766
|
}
|
|
1716
|
-
static { this.ɵfac = function LazyLoadDirective_Factory(t) { return new (t || LazyLoadDirective)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(i0.TemplateRef), i0.ɵɵdirectiveInject(i0.ViewContainerRef)); }; }
|
|
1767
|
+
static { this.ɵfac = function LazyLoadDirective_Factory(t) { return new (t || LazyLoadDirective)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(i0.TemplateRef), i0.ɵɵdirectiveInject(i0.ViewContainerRef), i0.ɵɵdirectiveInject('EXPLICIT_CONTEXT', 8)); }; }
|
|
1717
1768
|
static { this.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: LazyLoadDirective, selectors: [["", "lazyLoad", ""]], inputs: { lazyLoad: "lazyLoad" } }); }
|
|
1718
1769
|
}
|
|
1719
|
-
(
|
|
1770
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LazyLoadDirective, [{
|
|
1720
1771
|
type: Directive,
|
|
1721
1772
|
args: [{
|
|
1722
1773
|
selector: '[lazyLoad]'
|
|
1723
1774
|
}]
|
|
1724
|
-
}],
|
|
1775
|
+
}], () => [{ type: i0.Injector }, { type: i0.TemplateRef }, { type: i0.ViewContainerRef }, { type: undefined, decorators: [{
|
|
1776
|
+
type: Inject,
|
|
1777
|
+
args: ['EXPLICIT_CONTEXT']
|
|
1778
|
+
}, {
|
|
1779
|
+
type: Optional
|
|
1780
|
+
}] }], { lazyLoad: [{
|
|
1725
1781
|
type: Input
|
|
1726
1782
|
}] }); })();
|
|
1727
1783
|
|
|
@@ -1742,8 +1798,8 @@ const DEFAULT_CLS$1 = 'alert app-message';
|
|
|
1742
1798
|
const WIDGET_CONFIG$1 = { widgetType: 'wm-message', hostClass: DEFAULT_CLS$1 };
|
|
1743
1799
|
class MessageComponent extends StylableComponent {
|
|
1744
1800
|
static { this.initializeProps = registerProps$1(); }
|
|
1745
|
-
constructor(inj) {
|
|
1746
|
-
super(inj, WIDGET_CONFIG$1);
|
|
1801
|
+
constructor(inj, explicitContext) {
|
|
1802
|
+
super(inj, WIDGET_CONFIG$1, explicitContext);
|
|
1747
1803
|
this.messageClass = '';
|
|
1748
1804
|
this.messageIconClass = '';
|
|
1749
1805
|
this.type = '';
|
|
@@ -1802,10 +1858,10 @@ class MessageComponent extends StylableComponent {
|
|
|
1802
1858
|
super.onPropertyChange(key, nv, ov);
|
|
1803
1859
|
}
|
|
1804
1860
|
}
|
|
1805
|
-
static { this.ɵfac = function MessageComponent_Factory(t) { return new (t || MessageComponent)(i0.ɵɵdirectiveInject(i0.Injector)); }; }
|
|
1861
|
+
static { this.ɵfac = function MessageComponent_Factory(t) { return new (t || MessageComponent)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject('EXPLICIT_CONTEXT', 8)); }; }
|
|
1806
1862
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MessageComponent, selectors: [["", "wmMessage", ""]], exportAs: ["wmMessage"], features: [i0.ɵɵProvidersFeature([
|
|
1807
1863
|
provideAsWidgetRef(MessageComponent)
|
|
1808
|
-
]), i0.ɵɵInheritDefinitionFeature], attrs: _c0, decls: 5, vars: 7, consts: [["aria-hidden", "true", 3, "title"], [3, "innerHtml"], ["title", "Close", "type", "button", "aria-label", "Close", 1, "btn-transparent", "close", 3, "
|
|
1864
|
+
]), i0.ɵɵInheritDefinitionFeature], attrs: _c0, decls: 5, vars: 7, consts: [["aria-hidden", "true", 3, "title"], [3, "innerHtml"], ["title", "Close", "type", "button", "aria-label", "Close", 1, "btn-transparent", "close", 3, "click", "hidden"], ["aria-hidden", "true"]], template: function MessageComponent_Template(rf, ctx) { if (rf & 1) {
|
|
1809
1865
|
i0.ɵɵelement(0, "i", 0)(1, "span", 1);
|
|
1810
1866
|
i0.ɵɵelementStart(2, "button", 2);
|
|
1811
1867
|
i0.ɵɵlistener("click", function MessageComponent_Template_button_click_2_listener($event) { return ctx.dismiss($event); });
|
|
@@ -1815,18 +1871,24 @@ class MessageComponent extends StylableComponent {
|
|
|
1815
1871
|
} if (rf & 2) {
|
|
1816
1872
|
i0.ɵɵclassMapInterpolate2("icon ", ctx.type, " ", ctx.messageIconClass, "");
|
|
1817
1873
|
i0.ɵɵproperty("title", ctx.type + "Alert");
|
|
1818
|
-
i0.ɵɵadvance(
|
|
1874
|
+
i0.ɵɵadvance();
|
|
1819
1875
|
i0.ɵɵproperty("innerHtml", ctx.caption, i0.ɵɵsanitizeHtml);
|
|
1820
|
-
i0.ɵɵadvance(
|
|
1876
|
+
i0.ɵɵadvance();
|
|
1821
1877
|
i0.ɵɵproperty("hidden", ctx.hideclose);
|
|
1822
1878
|
} }, encapsulation: 2 }); }
|
|
1823
1879
|
}
|
|
1824
|
-
(
|
|
1880
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MessageComponent, [{
|
|
1825
1881
|
type: Component,
|
|
1826
1882
|
args: [{ selector: '[wmMessage]', providers: [
|
|
1827
1883
|
provideAsWidgetRef(MessageComponent)
|
|
1828
1884
|
], exportAs: 'wmMessage', template: "<i aria-hidden=\"true\" [title]=\"type + 'Alert'\" class=\"icon {{type}} {{messageIconClass}}\"></i>\n<span [innerHtml]=\"caption\"></span>\n<button title=\"Close\" type=\"button\" class=\"btn-transparent close\" [hidden]=\"hideclose\" (click)=\"dismiss($event)\" aria-label=\"Close\">\n <span aria-hidden=\"true\">×</span>\n</button>\n" }]
|
|
1829
|
-
}],
|
|
1885
|
+
}], () => [{ type: i0.Injector }, { type: undefined, decorators: [{
|
|
1886
|
+
type: Inject,
|
|
1887
|
+
args: ['EXPLICIT_CONTEXT']
|
|
1888
|
+
}, {
|
|
1889
|
+
type: Optional
|
|
1890
|
+
}] }], null); })();
|
|
1891
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MessageComponent, { className: "MessageComponent", filePath: "widgets/common/message/message.component.ts", lineNumber: 22 }); })();
|
|
1830
1892
|
|
|
1831
1893
|
const registerProps = () => {
|
|
1832
1894
|
register$1('wm-partial', new Map([
|
|
@@ -1838,14 +1900,14 @@ const DEFAULT_CLS = 'app-partial clearfix';
|
|
|
1838
1900
|
const WIDGET_CONFIG = { widgetType: 'wm-partial', hostClass: DEFAULT_CLS };
|
|
1839
1901
|
class PartialDirective extends StylableComponent {
|
|
1840
1902
|
static { this.initializeProps = registerProps(); }
|
|
1841
|
-
constructor(inj, viewport) {
|
|
1842
|
-
super(inj, WIDGET_CONFIG);
|
|
1903
|
+
constructor(inj, viewport, explicitContext) {
|
|
1904
|
+
super(inj, WIDGET_CONFIG, explicitContext);
|
|
1843
1905
|
this.viewport = viewport;
|
|
1844
1906
|
this.registerDestroyListener(this.viewport.subscribe("resize" /* ViewportEvent.RESIZE */, data => this.callback('resize', data)));
|
|
1845
1907
|
this.registerDestroyListener(this.viewport.subscribe("orientationchange" /* ViewportEvent.ORIENTATION_CHANGE */, data => this.callback('orientationchange', data)));
|
|
1846
1908
|
}
|
|
1847
1909
|
callback(eventName, locals) {
|
|
1848
|
-
locals =
|
|
1910
|
+
locals = assign({ widget: this }, locals);
|
|
1849
1911
|
this.invokeEventCallback(eventName, locals);
|
|
1850
1912
|
}
|
|
1851
1913
|
ngOnAttach() {
|
|
@@ -1858,12 +1920,12 @@ class PartialDirective extends StylableComponent {
|
|
|
1858
1920
|
this.callback('destroy');
|
|
1859
1921
|
super.ngOnDestroy();
|
|
1860
1922
|
}
|
|
1861
|
-
static { this.ɵfac = function PartialDirective_Factory(t) { return new (t || PartialDirective)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(i1.Viewport)); }; }
|
|
1923
|
+
static { this.ɵfac = function PartialDirective_Factory(t) { return new (t || PartialDirective)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(i1.Viewport), i0.ɵɵdirectiveInject('EXPLICIT_CONTEXT', 8)); }; }
|
|
1862
1924
|
static { this.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: PartialDirective, selectors: [["", "wmPartial", ""]], features: [i0.ɵɵProvidersFeature([
|
|
1863
1925
|
provideAsWidgetRef(PartialDirective)
|
|
1864
1926
|
]), i0.ɵɵInheritDefinitionFeature] }); }
|
|
1865
1927
|
}
|
|
1866
|
-
(
|
|
1928
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PartialDirective, [{
|
|
1867
1929
|
type: Directive,
|
|
1868
1930
|
args: [{
|
|
1869
1931
|
selector: '[wmPartial]',
|
|
@@ -1871,7 +1933,12 @@ class PartialDirective extends StylableComponent {
|
|
|
1871
1933
|
provideAsWidgetRef(PartialDirective)
|
|
1872
1934
|
]
|
|
1873
1935
|
}]
|
|
1874
|
-
}],
|
|
1936
|
+
}], () => [{ type: i0.Injector }, { type: i1.Viewport }, { type: undefined, decorators: [{
|
|
1937
|
+
type: Inject,
|
|
1938
|
+
args: ['EXPLICIT_CONTEXT']
|
|
1939
|
+
}, {
|
|
1940
|
+
type: Optional
|
|
1941
|
+
}] }], null); })();
|
|
1875
1942
|
|
|
1876
1943
|
class PartialParamHandlerDirective {
|
|
1877
1944
|
constructor(widgetRef) {
|
|
@@ -1885,7 +1952,7 @@ class PartialParamHandlerDirective {
|
|
|
1885
1952
|
if (!value && bindExpr) {
|
|
1886
1953
|
this.widgetRef.registerDestroyListener(
|
|
1887
1954
|
//[Todo-CSP]: expr fn should be generated be default
|
|
1888
|
-
$watch(bindExpr, this.widgetRef.getViewParent(),
|
|
1955
|
+
$watch(bindExpr, this.widgetRef.getViewParent(), get(this.widgetRef, 'context'), nv => {
|
|
1889
1956
|
this.widgetRef.partialParams[name] = nv;
|
|
1890
1957
|
// notify the partial container of the param changes
|
|
1891
1958
|
this.widgetRef.params$.next();
|
|
@@ -1898,17 +1965,17 @@ class PartialParamHandlerDirective {
|
|
|
1898
1965
|
static { this.ɵfac = function PartialParamHandlerDirective_Factory(t) { return new (t || PartialParamHandlerDirective)(i0.ɵɵdirectiveInject(WidgetRef, 2)); }; }
|
|
1899
1966
|
static { this.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: PartialParamHandlerDirective, selectors: [["", "partialContainer", ""]] }); }
|
|
1900
1967
|
}
|
|
1901
|
-
(
|
|
1968
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PartialParamHandlerDirective, [{
|
|
1902
1969
|
type: Directive,
|
|
1903
1970
|
args: [{
|
|
1904
1971
|
selector: '[partialContainer]',
|
|
1905
1972
|
}]
|
|
1906
|
-
}],
|
|
1973
|
+
}], () => [{ type: undefined, decorators: [{
|
|
1907
1974
|
type: Self
|
|
1908
1975
|
}, {
|
|
1909
1976
|
type: Inject,
|
|
1910
1977
|
args: [WidgetRef]
|
|
1911
|
-
}] }]
|
|
1978
|
+
}] }], null); })();
|
|
1912
1979
|
class PartialParamDirective {
|
|
1913
1980
|
constructor(bindValue, type, partialParamsProvider) {
|
|
1914
1981
|
this.bindValue = bindValue;
|
|
@@ -1921,18 +1988,18 @@ class PartialParamDirective {
|
|
|
1921
1988
|
static { this.ɵfac = function PartialParamDirective_Factory(t) { return new (t || PartialParamDirective)(i0.ɵɵinjectAttribute('value.bind'), i0.ɵɵinjectAttribute('type'), i0.ɵɵdirectiveInject(PartialParamHandlerDirective)); }; }
|
|
1922
1989
|
static { this.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: PartialParamDirective, selectors: [["", "wmParam", ""]], inputs: { name: "name", value: "value" } }); }
|
|
1923
1990
|
}
|
|
1924
|
-
(
|
|
1991
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PartialParamDirective, [{
|
|
1925
1992
|
type: Directive,
|
|
1926
1993
|
args: [{
|
|
1927
1994
|
selector: '[wmParam]',
|
|
1928
1995
|
}]
|
|
1929
|
-
}],
|
|
1996
|
+
}], () => [{ type: undefined, decorators: [{
|
|
1930
1997
|
type: Attribute,
|
|
1931
1998
|
args: ['value.bind']
|
|
1932
1999
|
}] }, { type: undefined, decorators: [{
|
|
1933
2000
|
type: Attribute,
|
|
1934
2001
|
args: ['type']
|
|
1935
|
-
}] }, { type: PartialParamHandlerDirective }]
|
|
2002
|
+
}] }, { type: PartialParamHandlerDirective }], { name: [{
|
|
1936
2003
|
type: Input
|
|
1937
2004
|
}], value: [{
|
|
1938
2005
|
type: Input
|
|
@@ -1985,7 +2052,7 @@ class PartialContainerDirective {
|
|
|
1985
2052
|
this.resolver = resolver;
|
|
1986
2053
|
this.partialRefProvider = partialRefProvider;
|
|
1987
2054
|
this.contentInitialized = false;
|
|
1988
|
-
this.renderPartial =
|
|
2055
|
+
this.renderPartial = debounce(this._renderPartial, 200);
|
|
1989
2056
|
componentInstance.registerPropertyChangeListener((key, nv, ov) => {
|
|
1990
2057
|
if (key === 'content') {
|
|
1991
2058
|
if (componentInstance.$lazyLoad) {
|
|
@@ -2008,12 +2075,12 @@ class PartialContainerDirective {
|
|
|
2008
2075
|
static { this.ɵfac = function PartialContainerDirective_Factory(t) { return new (t || PartialContainerDirective)(i0.ɵɵdirectiveInject(WidgetRef, 2), i0.ɵɵdirectiveInject(i0.ViewContainerRef), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(i1.App), i0.ɵɵinjectAttribute('content'), i0.ɵɵdirectiveInject(i0.ComponentFactoryResolver), i0.ɵɵdirectiveInject(i1.PartialRefProvider)); }; }
|
|
2009
2076
|
static { this.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: PartialContainerDirective, selectors: [["", "partialContainer", ""]] }); }
|
|
2010
2077
|
}
|
|
2011
|
-
(
|
|
2078
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PartialContainerDirective, [{
|
|
2012
2079
|
type: Directive,
|
|
2013
2080
|
args: [{
|
|
2014
2081
|
selector: '[partialContainer]'
|
|
2015
2082
|
}]
|
|
2016
|
-
}],
|
|
2083
|
+
}], () => [{ type: undefined, decorators: [{
|
|
2017
2084
|
type: Self
|
|
2018
2085
|
}, {
|
|
2019
2086
|
type: Inject,
|
|
@@ -2021,16 +2088,14 @@ class PartialContainerDirective {
|
|
|
2021
2088
|
}] }, { type: i0.ViewContainerRef }, { type: i0.ElementRef }, { type: i0.Injector }, { type: i1.App }, { type: undefined, decorators: [{
|
|
2022
2089
|
type: Attribute,
|
|
2023
2090
|
args: ['content']
|
|
2024
|
-
}] }, { type: i0.ComponentFactoryResolver }, { type: i1.PartialRefProvider }]
|
|
2091
|
+
}] }, { type: i0.ComponentFactoryResolver }, { type: i1.PartialRefProvider }], null); })();
|
|
2025
2092
|
|
|
2026
2093
|
class ShowInDeviceDirective {
|
|
2027
|
-
constructor(
|
|
2028
|
-
this.elRef = elRef;
|
|
2029
|
-
this.widget = widget;
|
|
2094
|
+
constructor(viewContainerRef, inj, templateRef, explicitContext) {
|
|
2030
2095
|
this.viewContainerRef = viewContainerRef;
|
|
2031
2096
|
this.templateRef = templateRef;
|
|
2032
|
-
|
|
2033
|
-
this.context
|
|
2097
|
+
this.context = {};
|
|
2098
|
+
extend(this.context, inj._lView[8], explicitContext);
|
|
2034
2099
|
window.addEventListener('resize', this.onResize.bind(this));
|
|
2035
2100
|
}
|
|
2036
2101
|
set wmShowInDevice(devices) {
|
|
@@ -2075,18 +2140,20 @@ class ShowInDeviceDirective {
|
|
|
2075
2140
|
ngOnDestroy() {
|
|
2076
2141
|
window.removeEventListener('resize', this.onResize);
|
|
2077
2142
|
}
|
|
2078
|
-
static { this.ɵfac = function ShowInDeviceDirective_Factory(t) { return new (t || ShowInDeviceDirective)(i0.ɵɵdirectiveInject(i0.
|
|
2143
|
+
static { this.ɵfac = function ShowInDeviceDirective_Factory(t) { return new (t || ShowInDeviceDirective)(i0.ɵɵdirectiveInject(i0.ViewContainerRef), i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(i0.TemplateRef), i0.ɵɵdirectiveInject('EXPLICIT_CONTEXT', 8)); }; }
|
|
2079
2144
|
static { this.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: ShowInDeviceDirective, selectors: [["", "wmShowInDevice", ""]], inputs: { wmShowInDevice: "wmShowInDevice" } }); }
|
|
2080
2145
|
}
|
|
2081
|
-
(
|
|
2146
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ShowInDeviceDirective, [{
|
|
2082
2147
|
type: Directive,
|
|
2083
2148
|
args: [{
|
|
2084
2149
|
selector: '[wmShowInDevice]'
|
|
2085
2150
|
}]
|
|
2086
|
-
}],
|
|
2151
|
+
}], () => [{ type: i0.ViewContainerRef }, { type: i0.Injector }, { type: i0.TemplateRef }, { type: undefined, decorators: [{
|
|
2087
2152
|
type: Inject,
|
|
2088
|
-
args: [
|
|
2089
|
-
}
|
|
2153
|
+
args: ['EXPLICIT_CONTEXT']
|
|
2154
|
+
}, {
|
|
2155
|
+
type: Optional
|
|
2156
|
+
}] }], { wmShowInDevice: [{
|
|
2090
2157
|
type: Input
|
|
2091
2158
|
}] }); })();
|
|
2092
2159
|
|
|
@@ -2146,9 +2213,9 @@ class SmoothScrollDirective {
|
|
|
2146
2213
|
preventDefault: false,
|
|
2147
2214
|
momentum: true,
|
|
2148
2215
|
bounce: false,
|
|
2149
|
-
mouseWheel: true,
|
|
2150
|
-
disablePointer: true,
|
|
2151
|
-
disableTouch: false,
|
|
2216
|
+
mouseWheel: true, // for preview in browser support
|
|
2217
|
+
disablePointer: true, // disable the pointer events as it causes lag in scrolling (jerky).
|
|
2218
|
+
disableTouch: false, // false to be usable with touch devices
|
|
2152
2219
|
disableMouse: false // false to be usable with a mouse (desktop)
|
|
2153
2220
|
}, el = this._$el[0];
|
|
2154
2221
|
if (!el.children.length) {
|
|
@@ -2176,8 +2243,8 @@ class SmoothScrollDirective {
|
|
|
2176
2243
|
let iScroll = new IScroll(el, scrollOptions);
|
|
2177
2244
|
if ($events) {
|
|
2178
2245
|
// map all events on previous iscroll to the newly created iscroll.
|
|
2179
|
-
|
|
2180
|
-
|
|
2246
|
+
forEach($events, (listeners, key) => {
|
|
2247
|
+
forEach(listeners, l => {
|
|
2181
2248
|
iScroll.on(key, l);
|
|
2182
2249
|
});
|
|
2183
2250
|
});
|
|
@@ -2206,7 +2273,7 @@ class SmoothScrollDirective {
|
|
|
2206
2273
|
}
|
|
2207
2274
|
};
|
|
2208
2275
|
this._$el[0].iscroll = iScroll;
|
|
2209
|
-
|
|
2276
|
+
forEach(this.pendingIscrolls, (_el, index) => {
|
|
2210
2277
|
if (_el.isSameNode(this._$el[0])) {
|
|
2211
2278
|
this.app.notify('iscroll-update', { el: _el });
|
|
2212
2279
|
this.pendingIscrolls.splice(index, 1);
|
|
@@ -2244,7 +2311,7 @@ class SmoothScrollDirective {
|
|
|
2244
2311
|
}
|
|
2245
2312
|
// Check for scrollable content and if smoothscroll-container div is already added.
|
|
2246
2313
|
if (iScroll.wrapper
|
|
2247
|
-
&& !
|
|
2314
|
+
&& !includes(iScroll.wrapper.children[0].classList, 'smoothscroll-container')
|
|
2248
2315
|
&& iScroll.wrapper.scrollHeight > iScroll.wrapper.clientHeight) {
|
|
2249
2316
|
const cloneEvents = iScroll._events;
|
|
2250
2317
|
const prevActiveEl = document.activeElement;
|
|
@@ -2266,12 +2333,12 @@ class SmoothScrollDirective {
|
|
|
2266
2333
|
static { this.ɵfac = function SmoothScrollDirective_Factory(t) { return new (t || SmoothScrollDirective)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i1.App)); }; }
|
|
2267
2334
|
static { this.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: SmoothScrollDirective, selectors: [["", "wmSmoothscroll", ""]], inputs: { wmSmoothscroll: "wmSmoothscroll" } }); }
|
|
2268
2335
|
}
|
|
2269
|
-
(
|
|
2336
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SmoothScrollDirective, [{
|
|
2270
2337
|
type: Directive,
|
|
2271
2338
|
args: [{
|
|
2272
2339
|
selector: '[wmSmoothscroll]'
|
|
2273
2340
|
}]
|
|
2274
|
-
}],
|
|
2341
|
+
}], () => [{ type: i0.Injector }, { type: i0.ElementRef }, { type: i1.App }], { wmSmoothscroll: [{
|
|
2275
2342
|
type: Input
|
|
2276
2343
|
}] }); })();
|
|
2277
2344
|
/**
|
|
@@ -2304,7 +2371,7 @@ const refreshIscrolls = function (iScroll) {
|
|
|
2304
2371
|
}
|
|
2305
2372
|
};
|
|
2306
2373
|
// on window resize, recalculate the iscroll position and refresh scrollers.
|
|
2307
|
-
window.addEventListener('resize', debounce(refreshIscrolls, 200));
|
|
2374
|
+
window.addEventListener('resize', debounce$1(refreshIscrolls, 200));
|
|
2308
2375
|
|
|
2309
2376
|
class TextContentDirective {
|
|
2310
2377
|
set textContent(nv) {
|
|
@@ -2320,12 +2387,12 @@ class TextContentDirective {
|
|
|
2320
2387
|
static { this.ɵfac = function TextContentDirective_Factory(t) { return new (t || TextContentDirective)(i0.ɵɵdirectiveInject(i0.ElementRef)); }; }
|
|
2321
2388
|
static { this.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: TextContentDirective, selectors: [["", "textContent", ""]], inputs: { textContent: "textContent" } }); }
|
|
2322
2389
|
}
|
|
2323
|
-
(
|
|
2390
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TextContentDirective, [{
|
|
2324
2391
|
type: Directive,
|
|
2325
2392
|
args: [{
|
|
2326
2393
|
selector: '[textContent]'
|
|
2327
2394
|
}]
|
|
2328
|
-
}],
|
|
2395
|
+
}], () => [{ type: i0.ElementRef }], { textContent: [{
|
|
2329
2396
|
type: Input
|
|
2330
2397
|
}] }); })();
|
|
2331
2398
|
|
|
@@ -2334,7 +2401,7 @@ class WmPipe {
|
|
|
2334
2401
|
this.pipeName = pipeName;
|
|
2335
2402
|
this.customPipeManager = customPipeManager;
|
|
2336
2403
|
this.pipeRef = this.customPipeManager ? this.customPipeManager.getCustomPipe(pipeName) : null;
|
|
2337
|
-
this.isCustomPipe = this.pipeRef &&
|
|
2404
|
+
this.isCustomPipe = this.pipeRef && isFunction(this.pipeRef.formatter);
|
|
2338
2405
|
}
|
|
2339
2406
|
customFormatter(data, args) {
|
|
2340
2407
|
try {
|
|
@@ -2349,7 +2416,7 @@ class WmPipe {
|
|
|
2349
2416
|
const getEpochValue = data => {
|
|
2350
2417
|
let epoch;
|
|
2351
2418
|
// For data in form of string number ('123'), convert to number (123). And don't parse date objects.
|
|
2352
|
-
if (!
|
|
2419
|
+
if (!isDate(data) && !isNaN(data)) {
|
|
2353
2420
|
data = parseInt(data, 10);
|
|
2354
2421
|
}
|
|
2355
2422
|
// get the timestamp value. If data is time string, append date string to the time value
|
|
@@ -2368,12 +2435,12 @@ class TrailingZeroDecimalPipe {
|
|
|
2368
2435
|
static { this.ɵfac = function TrailingZeroDecimalPipe_Factory(t) { return new (t || TrailingZeroDecimalPipe)(i0.ɵɵdirectiveInject(i1$1.DecimalPipe, 16)); }; }
|
|
2369
2436
|
static { this.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "trailingZeroDecimalPipe", type: TrailingZeroDecimalPipe, pure: true }); }
|
|
2370
2437
|
}
|
|
2371
|
-
(
|
|
2438
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TrailingZeroDecimalPipe, [{
|
|
2372
2439
|
type: Pipe,
|
|
2373
2440
|
args: [{
|
|
2374
2441
|
name: 'trailingZeroDecimalPipe'
|
|
2375
2442
|
}]
|
|
2376
|
-
}],
|
|
2443
|
+
}], () => [{ type: i1$1.DecimalPipe }], null); })();
|
|
2377
2444
|
class ToDatePipe extends WmPipe {
|
|
2378
2445
|
// This method calls the custom formatter fn after applying the exisitng date pattern
|
|
2379
2446
|
returnFn(data, args) {
|
|
@@ -2423,18 +2490,18 @@ class ToDatePipe extends WmPipe {
|
|
|
2423
2490
|
static { this.ɵfac = function ToDatePipe_Factory(t) { return new (t || ToDatePipe)(i0.ɵɵdirectiveInject(i1$1.DatePipe, 16), i0.ɵɵdirectiveInject(i1.AbstractI18nService, 16), i0.ɵɵdirectiveInject(i1.CustomPipeManager, 16)); }; }
|
|
2424
2491
|
static { this.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "toDate", type: ToDatePipe, pure: true }); }
|
|
2425
2492
|
}
|
|
2426
|
-
(
|
|
2493
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ToDatePipe, [{
|
|
2427
2494
|
type: Pipe,
|
|
2428
2495
|
args: [{
|
|
2429
2496
|
name: 'toDate'
|
|
2430
2497
|
}]
|
|
2431
|
-
}],
|
|
2498
|
+
}], () => [{ type: i1$1.DatePipe }, { type: i1.AbstractI18nService }, { type: i1.CustomPipeManager }], null); })();
|
|
2432
2499
|
class ToNumberPipe {
|
|
2433
2500
|
transform(data, fracSize) {
|
|
2434
2501
|
if (fracSize && !String(fracSize).match(/^(\d+)?\.((\d+)(-(\d+))?)?$/)) {
|
|
2435
2502
|
fracSize = '1.' + fracSize + '-' + fracSize;
|
|
2436
2503
|
}
|
|
2437
|
-
if (!
|
|
2504
|
+
if (!isNaN(+data)) {
|
|
2438
2505
|
const locale = this.i18nService && this.i18nService.getwidgetLocale() ? this.i18nService.getwidgetLocale() : undefined;
|
|
2439
2506
|
const formattedLocale = locale ? locale['number'] : null;
|
|
2440
2507
|
return this.decimalPipe.transform(data, fracSize, formattedLocale);
|
|
@@ -2447,20 +2514,20 @@ class ToNumberPipe {
|
|
|
2447
2514
|
static { this.ɵfac = function ToNumberPipe_Factory(t) { return new (t || ToNumberPipe)(i0.ɵɵdirectiveInject(i1$1.DecimalPipe, 16), i0.ɵɵdirectiveInject(AbstractI18nService, 16)); }; }
|
|
2448
2515
|
static { this.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "toNumber", type: ToNumberPipe, pure: true }); }
|
|
2449
2516
|
}
|
|
2450
|
-
(
|
|
2517
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ToNumberPipe, [{
|
|
2451
2518
|
type: Pipe,
|
|
2452
2519
|
args: [{
|
|
2453
2520
|
name: 'toNumber'
|
|
2454
2521
|
}]
|
|
2455
|
-
}],
|
|
2522
|
+
}], () => [{ type: i1$1.DecimalPipe }, { type: i1.AbstractI18nService, decorators: [{
|
|
2456
2523
|
type: Inject,
|
|
2457
2524
|
args: [AbstractI18nService]
|
|
2458
|
-
}] }]
|
|
2525
|
+
}] }], null); })();
|
|
2459
2526
|
class ToCurrencyPipe {
|
|
2460
2527
|
transform(data, currencySymbol, fracSize) {
|
|
2461
2528
|
const _currencySymbol = (CURRENCY_INFO[currencySymbol] || {}).symbol || currencySymbol || '';
|
|
2462
2529
|
let _val = new ToNumberPipe(this.decimalPipe, this.i18nService).transform(data, fracSize);
|
|
2463
|
-
const isNegativeNumber =
|
|
2530
|
+
const isNegativeNumber = startsWith(_val, '-');
|
|
2464
2531
|
if (isNegativeNumber) {
|
|
2465
2532
|
_val = _val.replace('-', '');
|
|
2466
2533
|
}
|
|
@@ -2473,23 +2540,23 @@ class ToCurrencyPipe {
|
|
|
2473
2540
|
static { this.ɵfac = function ToCurrencyPipe_Factory(t) { return new (t || ToCurrencyPipe)(i0.ɵɵdirectiveInject(i1$1.DecimalPipe, 16), i0.ɵɵdirectiveInject(AbstractI18nService, 16)); }; }
|
|
2474
2541
|
static { this.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "toCurrency", type: ToCurrencyPipe, pure: true }); }
|
|
2475
2542
|
}
|
|
2476
|
-
(
|
|
2543
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ToCurrencyPipe, [{
|
|
2477
2544
|
type: Pipe,
|
|
2478
2545
|
args: [{
|
|
2479
2546
|
name: 'toCurrency'
|
|
2480
2547
|
}]
|
|
2481
|
-
}],
|
|
2548
|
+
}], () => [{ type: i1$1.DecimalPipe }, { type: i1.AbstractI18nService, decorators: [{
|
|
2482
2549
|
type: Inject,
|
|
2483
2550
|
args: [AbstractI18nService]
|
|
2484
|
-
}] }]
|
|
2551
|
+
}] }], null); })();
|
|
2485
2552
|
class PrefixPipe {
|
|
2486
2553
|
transform(data, padding) {
|
|
2487
|
-
return (
|
|
2554
|
+
return (isUndefined(data) || data === null || data === '') ? data : ((padding || '') + data);
|
|
2488
2555
|
}
|
|
2489
2556
|
static { this.ɵfac = function PrefixPipe_Factory(t) { return new (t || PrefixPipe)(); }; }
|
|
2490
2557
|
static { this.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "prefix", type: PrefixPipe, pure: true }); }
|
|
2491
2558
|
}
|
|
2492
|
-
(
|
|
2559
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PrefixPipe, [{
|
|
2493
2560
|
type: Pipe,
|
|
2494
2561
|
args: [{
|
|
2495
2562
|
name: 'prefix'
|
|
@@ -2497,12 +2564,12 @@ class PrefixPipe {
|
|
|
2497
2564
|
}], null, null); })();
|
|
2498
2565
|
class SuffixPipe {
|
|
2499
2566
|
transform(data, padding) {
|
|
2500
|
-
return (
|
|
2567
|
+
return (isUndefined(data) || data === null || data === '') ? data : (data + (padding || ''));
|
|
2501
2568
|
}
|
|
2502
2569
|
static { this.ɵfac = function SuffixPipe_Factory(t) { return new (t || SuffixPipe)(); }; }
|
|
2503
2570
|
static { this.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "suffix", type: SuffixPipe, pure: true }); }
|
|
2504
2571
|
}
|
|
2505
|
-
(
|
|
2572
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SuffixPipe, [{
|
|
2506
2573
|
type: Pipe,
|
|
2507
2574
|
args: [{
|
|
2508
2575
|
name: 'suffix'
|
|
@@ -2521,7 +2588,7 @@ class CustomPipe {
|
|
|
2521
2588
|
argumentArr.push(arguments[i]);
|
|
2522
2589
|
}
|
|
2523
2590
|
let pipeRef = this.custmeUserPipe.getCustomPipe(pipename);
|
|
2524
|
-
if (!pipeRef || !
|
|
2591
|
+
if (!pipeRef || !isFunction(pipeRef.formatter)) {
|
|
2525
2592
|
console.warn('formatter is not defined, please check the custom pipes documentation');
|
|
2526
2593
|
return data;
|
|
2527
2594
|
}
|
|
@@ -2536,12 +2603,12 @@ class CustomPipe {
|
|
|
2536
2603
|
static { this.ɵfac = function CustomPipe_Factory(t) { return new (t || CustomPipe)(i0.ɵɵdirectiveInject(i1.CustomPipeManager, 16)); }; }
|
|
2537
2604
|
static { this.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "custom", type: CustomPipe, pure: true }); }
|
|
2538
2605
|
}
|
|
2539
|
-
(
|
|
2606
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CustomPipe, [{
|
|
2540
2607
|
type: Pipe,
|
|
2541
2608
|
args: [{
|
|
2542
2609
|
name: 'custom'
|
|
2543
2610
|
}]
|
|
2544
|
-
}],
|
|
2611
|
+
}], () => [{ type: i1.CustomPipeManager }], null); })();
|
|
2545
2612
|
class TimeFromNowPipe {
|
|
2546
2613
|
transform(data) {
|
|
2547
2614
|
let timestamp;
|
|
@@ -2554,17 +2621,17 @@ class TimeFromNowPipe {
|
|
|
2554
2621
|
static { this.ɵfac = function TimeFromNowPipe_Factory(t) { return new (t || TimeFromNowPipe)(); }; }
|
|
2555
2622
|
static { this.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "timeFromNow", type: TimeFromNowPipe, pure: true }); }
|
|
2556
2623
|
}
|
|
2557
|
-
(
|
|
2624
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TimeFromNowPipe, [{
|
|
2558
2625
|
type: Pipe,
|
|
2559
2626
|
args: [{
|
|
2560
2627
|
name: 'timeFromNow'
|
|
2561
2628
|
}]
|
|
2562
2629
|
}], null, null); })();
|
|
2563
2630
|
class NumberToStringPipe extends ToNumberPipe {
|
|
2564
|
-
static { this.ɵfac = /*@__PURE__*/
|
|
2631
|
+
static { this.ɵfac = /*@__PURE__*/ (() => { let ɵNumberToStringPipe_BaseFactory; return function NumberToStringPipe_Factory(t) { return (ɵNumberToStringPipe_BaseFactory || (ɵNumberToStringPipe_BaseFactory = i0.ɵɵgetInheritedFactory(NumberToStringPipe)))(t || NumberToStringPipe); }; })(); }
|
|
2565
2632
|
static { this.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "numberToString", type: NumberToStringPipe, pure: true }); }
|
|
2566
2633
|
}
|
|
2567
|
-
(
|
|
2634
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(NumberToStringPipe, [{
|
|
2568
2635
|
type: Pipe,
|
|
2569
2636
|
args: [{
|
|
2570
2637
|
name: 'numberToString'
|
|
@@ -2577,7 +2644,7 @@ class StringToNumberPipe {
|
|
|
2577
2644
|
static { this.ɵfac = function StringToNumberPipe_Factory(t) { return new (t || StringToNumberPipe)(); }; }
|
|
2578
2645
|
static { this.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "stringToNumber", type: StringToNumberPipe, pure: true }); }
|
|
2579
2646
|
}
|
|
2580
|
-
(
|
|
2647
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(StringToNumberPipe, [{
|
|
2581
2648
|
type: Pipe,
|
|
2582
2649
|
args: [{
|
|
2583
2650
|
name: 'stringToNumber'
|
|
@@ -2589,18 +2656,18 @@ class FilterPipe {
|
|
|
2589
2656
|
return [];
|
|
2590
2657
|
}
|
|
2591
2658
|
// If object is passed as first paramter
|
|
2592
|
-
if (
|
|
2593
|
-
return
|
|
2659
|
+
if (isObject(field)) {
|
|
2660
|
+
return filter$1(data, field);
|
|
2594
2661
|
}
|
|
2595
2662
|
// If key value pair is provided
|
|
2596
|
-
return
|
|
2597
|
-
return
|
|
2663
|
+
return filter$1(data, item => {
|
|
2664
|
+
return includes(item[field], value);
|
|
2598
2665
|
});
|
|
2599
2666
|
}
|
|
2600
2667
|
static { this.ɵfac = function FilterPipe_Factory(t) { return new (t || FilterPipe)(); }; }
|
|
2601
2668
|
static { this.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "filter", type: FilterPipe, pure: true }); }
|
|
2602
2669
|
}
|
|
2603
|
-
(
|
|
2670
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FilterPipe, [{
|
|
2604
2671
|
type: Pipe,
|
|
2605
2672
|
args: [{
|
|
2606
2673
|
name: 'filter'
|
|
@@ -2630,7 +2697,7 @@ class FileSizePipe {
|
|
|
2630
2697
|
static { this.ɵfac = function FileSizePipe_Factory(t) { return new (t || FileSizePipe)(); }; }
|
|
2631
2698
|
static { this.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "filesize", type: FileSizePipe, pure: true }); }
|
|
2632
2699
|
}
|
|
2633
|
-
(
|
|
2700
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FileSizePipe, [{
|
|
2634
2701
|
type: Pipe,
|
|
2635
2702
|
args: [{
|
|
2636
2703
|
name: 'filesize'
|
|
@@ -2671,7 +2738,7 @@ class FileIconClassPipe {
|
|
|
2671
2738
|
static { this.ɵfac = function FileIconClassPipe_Factory(t) { return new (t || FileIconClassPipe)(); }; }
|
|
2672
2739
|
static { this.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "fileIconClass", type: FileIconClassPipe, pure: true }); }
|
|
2673
2740
|
}
|
|
2674
|
-
(
|
|
2741
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FileIconClassPipe, [{
|
|
2675
2742
|
type: Pipe,
|
|
2676
2743
|
args: [{
|
|
2677
2744
|
name: 'fileIconClass'
|
|
@@ -2688,7 +2755,7 @@ class StateClassPipe {
|
|
|
2688
2755
|
static { this.ɵfac = function StateClassPipe_Factory(t) { return new (t || StateClassPipe)(); }; }
|
|
2689
2756
|
static { this.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "stateClass", type: StateClassPipe, pure: true }); }
|
|
2690
2757
|
}
|
|
2691
|
-
(
|
|
2758
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(StateClassPipe, [{
|
|
2692
2759
|
type: Pipe,
|
|
2693
2760
|
args: [{
|
|
2694
2761
|
name: 'stateClass'
|
|
@@ -2771,7 +2838,7 @@ class FileExtensionFromMimePipe {
|
|
|
2771
2838
|
static { this.ɵfac = function FileExtensionFromMimePipe_Factory(t) { return new (t || FileExtensionFromMimePipe)(); }; }
|
|
2772
2839
|
static { this.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "fileExtensionFromMime", type: FileExtensionFromMimePipe, pure: true }); }
|
|
2773
2840
|
}
|
|
2774
|
-
(
|
|
2841
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FileExtensionFromMimePipe, [{
|
|
2775
2842
|
type: Pipe,
|
|
2776
2843
|
args: [{
|
|
2777
2844
|
name: 'fileExtensionFromMime'
|
|
@@ -2807,12 +2874,12 @@ class TrustAsPipe {
|
|
|
2807
2874
|
static { this.ɵfac = function TrustAsPipe_Factory(t) { return new (t || TrustAsPipe)(i0.ɵɵdirectiveInject(i1$2.DomSanitizer, 16)); }; }
|
|
2808
2875
|
static { this.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "trustAs", type: TrustAsPipe, pure: true }); }
|
|
2809
2876
|
}
|
|
2810
|
-
(
|
|
2877
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TrustAsPipe, [{
|
|
2811
2878
|
type: Pipe,
|
|
2812
2879
|
args: [{
|
|
2813
2880
|
name: 'trustAs'
|
|
2814
2881
|
}]
|
|
2815
|
-
}],
|
|
2882
|
+
}], () => [{ type: i1$2.DomSanitizer }], null); })();
|
|
2816
2883
|
|
|
2817
2884
|
const openedDialogs = [];
|
|
2818
2885
|
/*We need closedDialogs array because onHidden event is asynchronous,
|
|
@@ -2927,7 +2994,7 @@ class DialogServiceImpl {
|
|
|
2927
2994
|
* closes all the opened dialogs
|
|
2928
2995
|
*/
|
|
2929
2996
|
closeAllDialogs() {
|
|
2930
|
-
|
|
2997
|
+
forEach(openedDialogs.reverse(), (dialog) => {
|
|
2931
2998
|
dialog.close();
|
|
2932
2999
|
});
|
|
2933
3000
|
}
|
|
@@ -2976,9 +3043,9 @@ class DialogServiceImpl {
|
|
|
2976
3043
|
static { this.ɵfac = function DialogServiceImpl_Factory(t) { return new (t || DialogServiceImpl)(); }; }
|
|
2977
3044
|
static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: DialogServiceImpl, factory: DialogServiceImpl.ɵfac }); }
|
|
2978
3045
|
}
|
|
2979
|
-
(
|
|
3046
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DialogServiceImpl, [{
|
|
2980
3047
|
type: Injectable
|
|
2981
|
-
}],
|
|
3048
|
+
}], () => [], null); })();
|
|
2982
3049
|
|
|
2983
3050
|
class SanitizePipe {
|
|
2984
3051
|
constructor(domSanitizer) {
|
|
@@ -3012,12 +3079,12 @@ class SanitizePipe {
|
|
|
3012
3079
|
static { this.ɵfac = function SanitizePipe_Factory(t) { return new (t || SanitizePipe)(i0.ɵɵdirectiveInject(i1$2.DomSanitizer, 16)); }; }
|
|
3013
3080
|
static { this.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "sanitize", type: SanitizePipe, pure: true }); }
|
|
3014
3081
|
}
|
|
3015
|
-
(
|
|
3082
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SanitizePipe, [{
|
|
3016
3083
|
type: Pipe,
|
|
3017
3084
|
args: [{
|
|
3018
3085
|
name: 'sanitize'
|
|
3019
3086
|
}]
|
|
3020
|
-
}],
|
|
3087
|
+
}], () => [{ type: i1$2.DomSanitizer }], null); })();
|
|
3021
3088
|
|
|
3022
3089
|
const wmComponents = [
|
|
3023
3090
|
ContainerDirective,
|
|
@@ -3076,7 +3143,7 @@ class WmComponentsModule {
|
|
|
3076
3143
|
static { this.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule,
|
|
3077
3144
|
SecurityModule] }); }
|
|
3078
3145
|
}
|
|
3079
|
-
(
|
|
3146
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WmComponentsModule, [{
|
|
3080
3147
|
type: NgModule,
|
|
3081
3148
|
args: [{
|
|
3082
3149
|
imports: [
|
|
@@ -3168,7 +3235,7 @@ const LIVE_CONSTANTS = {
|
|
|
3168
3235
|
};
|
|
3169
3236
|
// Returns true if widget is autocomplete or chips
|
|
3170
3237
|
function isSearchWidgetType(widget) {
|
|
3171
|
-
return
|
|
3238
|
+
return includes([FormWidgetType.AUTOCOMPLETE, FormWidgetType.TYPEAHEAD, FormWidgetType.CHIPS], widget);
|
|
3172
3239
|
}
|
|
3173
3240
|
function onSuccess(response, res, rej) {
|
|
3174
3241
|
if (response.error) {
|
|
@@ -3257,7 +3324,7 @@ function fetchRelatedFieldData(dataSource, formField, options) {
|
|
|
3257
3324
|
}
|
|
3258
3325
|
primaryKeys = dataSource.execute(DataSource.Operation.GET_RELATED_PRIMARY_KEYS, relatedField);
|
|
3259
3326
|
formField.datafield = datafield;
|
|
3260
|
-
formField._primaryKey =
|
|
3327
|
+
formField._primaryKey = isEmpty(primaryKeys) ? undefined : primaryKeys[0];
|
|
3261
3328
|
formField.compareby = primaryKeys && primaryKeys.join(',');
|
|
3262
3329
|
displayField = datafield === ALLFIELDS ? undefined : datafield;
|
|
3263
3330
|
formField.displayfield = displayField = (formField.displayfield || displayField || formField._primaryKey);
|
|
@@ -3276,12 +3343,12 @@ function fetchRelatedFieldData(dataSource, formField, options) {
|
|
|
3276
3343
|
dataSource.execute(DataSource.Operation.GET_RELATED_TABLE_DATA, {
|
|
3277
3344
|
relatedField,
|
|
3278
3345
|
pagesize: formField.limit,
|
|
3279
|
-
orderBy: formField.orderby ?
|
|
3346
|
+
orderBy: formField.orderby ? replace(formField.orderby, /:/g, ' ') : '',
|
|
3280
3347
|
filterFields: {},
|
|
3281
3348
|
filterExpr: formField.filterexpressions ? formField.filterexpressions : {}
|
|
3282
3349
|
}).then(response => {
|
|
3283
3350
|
formField.dataset = response.data;
|
|
3284
|
-
formField.displayfield = formField.displayfield ||
|
|
3351
|
+
formField.displayfield = formField.displayfield || head(keys(get(response, '[0]')));
|
|
3285
3352
|
if (formField.showPendingSpinner) {
|
|
3286
3353
|
formField.showPendingSpinner = false;
|
|
3287
3354
|
}
|
|
@@ -3296,8 +3363,8 @@ function fetchRelatedFieldData(dataSource, formField, options) {
|
|
|
3296
3363
|
* @param callbackFn - function to be called with the new replaced values if any in the filterexpressions object
|
|
3297
3364
|
*/
|
|
3298
3365
|
const interpolateBindExpressions = (context, filterexpressions, callbackFn) => {
|
|
3299
|
-
const debouncedFn = debounce(() => {
|
|
3300
|
-
if (
|
|
3366
|
+
const debouncedFn = debounce$1(() => {
|
|
3367
|
+
if (isFunction(callbackFn)) {
|
|
3301
3368
|
callbackFn(filterexpressions);
|
|
3302
3369
|
}
|
|
3303
3370
|
}, 300);
|
|
@@ -3306,8 +3373,8 @@ const interpolateBindExpressions = (context, filterexpressions, callbackFn) => {
|
|
|
3306
3373
|
* without this it will never be called. processFilterExpBindNode will be called only for the binded variable expressions.
|
|
3307
3374
|
*/
|
|
3308
3375
|
debouncedFn();
|
|
3309
|
-
const filterExpressions = filterexpressions ? (
|
|
3310
|
-
const destroyFn = context.registerDestroyListener ? context.registerDestroyListener.bind(context) :
|
|
3376
|
+
const filterExpressions = filterexpressions ? (isObject(filterexpressions) ? filterexpressions : JSON.parse(filterexpressions)) : {};
|
|
3377
|
+
const destroyFn = context.registerDestroyListener ? context.registerDestroyListener.bind(context) : noop;
|
|
3311
3378
|
const filterSubscription = processFilterExpBindNode(context, filterExpressions).subscribe((response) => {
|
|
3312
3379
|
filterexpressions = JSON.stringify(response.filterExpressions);
|
|
3313
3380
|
debouncedFn();
|
|
@@ -3335,7 +3402,7 @@ const getDistinctFieldProperties = (dataSource, formField) => {
|
|
|
3335
3402
|
fieldColumn = formField['lookup-field'];
|
|
3336
3403
|
props.distinctField = fieldColumn;
|
|
3337
3404
|
props.aliasColumn = fieldColumn.replace('.', '$'); // For related fields, In response . is replaced by $
|
|
3338
|
-
props.filterExpr = formField.filterexpressions ? (
|
|
3405
|
+
props.filterExpr = formField.filterexpressions ? (isObject(formField.filterexpressions) ? formField.filterexpressions : JSON.parse(formField.filterexpressions)) : {};
|
|
3339
3406
|
}
|
|
3340
3407
|
else {
|
|
3341
3408
|
props.tableName = dataSource.execute(DataSource.Operation.GET_ENTITY_NAME);
|
|
@@ -3408,14 +3475,14 @@ function setFieldDataSet(formField, data, options) {
|
|
|
3408
3475
|
const emptySupportWidgets = [FormWidgetType.SELECT, FormWidgetType.RADIOSET];
|
|
3409
3476
|
const emptyOption = {};
|
|
3410
3477
|
const dataSet = [];
|
|
3411
|
-
if (options.isEnableEmptyFilter &&
|
|
3478
|
+
if (options.isEnableEmptyFilter && includes(emptySupportWidgets, formField[options.widget]) &&
|
|
3412
3479
|
!formField['is-range'] && !formField.multiple) {
|
|
3413
3480
|
// If empty option is selected, push an empty object in to dataSet
|
|
3414
3481
|
emptyOption[LIVE_CONSTANTS.LABEL_KEY] = LIVE_CONSTANTS.EMPTY_KEY;
|
|
3415
3482
|
emptyOption[LIVE_CONSTANTS.LABEL_VALUE] = options.EMPTY_VALUE || LIVE_CONSTANTS.EMPTY_VALUE;
|
|
3416
3483
|
dataSet.push(emptyOption);
|
|
3417
3484
|
}
|
|
3418
|
-
|
|
3485
|
+
each(data, key => {
|
|
3419
3486
|
const value = key[options.aliasColumn];
|
|
3420
3487
|
const option = {};
|
|
3421
3488
|
if (value !== null && value !== '') {
|
|
@@ -3443,7 +3510,7 @@ function setFieldDataSet(formField, data, options) {
|
|
|
3443
3510
|
*
|
|
3444
3511
|
*/
|
|
3445
3512
|
function fetchDistinctValues(dataSource, formFields, options) {
|
|
3446
|
-
if (
|
|
3513
|
+
if (isEmpty(formFields)) {
|
|
3447
3514
|
return;
|
|
3448
3515
|
}
|
|
3449
3516
|
formFields.forEach(formField => {
|
|
@@ -3555,7 +3622,7 @@ function getRangeMatchMode(minValue, maxValue) {
|
|
|
3555
3622
|
* @param {object} enableemptyfilter empty filter options
|
|
3556
3623
|
*/
|
|
3557
3624
|
function getEnableEmptyFilter(enableemptyfilter) {
|
|
3558
|
-
return enableemptyfilter &&
|
|
3625
|
+
return enableemptyfilter && intersection(enableemptyfilter.split(','), LIVE_CONSTANTS.NULL_EMPTY).length > 0;
|
|
3559
3626
|
}
|
|
3560
3627
|
/**
|
|
3561
3628
|
* @ngdoc function
|
|
@@ -3570,14 +3637,14 @@ function getEnableEmptyFilter(enableemptyfilter) {
|
|
|
3570
3637
|
*/
|
|
3571
3638
|
function getEmptyMatchMode(enableemptyfilter) {
|
|
3572
3639
|
let matchMode;
|
|
3573
|
-
const emptyFilterOptions =
|
|
3574
|
-
if (
|
|
3640
|
+
const emptyFilterOptions = split(enableemptyfilter, ',');
|
|
3641
|
+
if (intersection(emptyFilterOptions, LIVE_CONSTANTS.NULL_EMPTY).length === 2) {
|
|
3575
3642
|
matchMode = MatchMode.NULLOREMPTY;
|
|
3576
3643
|
}
|
|
3577
|
-
else if (
|
|
3644
|
+
else if (includes(emptyFilterOptions, LIVE_CONSTANTS.NULL)) {
|
|
3578
3645
|
matchMode = MatchMode.NULL;
|
|
3579
3646
|
}
|
|
3580
|
-
else if (
|
|
3647
|
+
else if (includes(emptyFilterOptions, LIVE_CONSTANTS.EMPTY)) {
|
|
3581
3648
|
matchMode = MatchMode.EMPTY;
|
|
3582
3649
|
}
|
|
3583
3650
|
return matchMode;
|
|
@@ -3593,13 +3660,13 @@ function getEmptyMatchMode(enableemptyfilter) {
|
|
|
3593
3660
|
* @returns {Array<any>}
|
|
3594
3661
|
*/
|
|
3595
3662
|
const createArrayFrom = (data) => {
|
|
3596
|
-
if (
|
|
3663
|
+
if (isUndefined(data) || isNull(data)) {
|
|
3597
3664
|
return [];
|
|
3598
3665
|
}
|
|
3599
|
-
if (
|
|
3666
|
+
if (isString(data)) {
|
|
3600
3667
|
data = data.split(',').map(Function.prototype.call, String.prototype.trim);
|
|
3601
3668
|
}
|
|
3602
|
-
if (!
|
|
3669
|
+
if (!isArray(data)) {
|
|
3603
3670
|
data = [data];
|
|
3604
3671
|
}
|
|
3605
3672
|
return data;
|
|
@@ -3619,13 +3686,13 @@ const createArrayFrom = (data) => {
|
|
|
3619
3686
|
*/
|
|
3620
3687
|
function applyFilterOnField(dataSource, filterDef, formFields, newVal, options = {}) {
|
|
3621
3688
|
const fieldName = filterDef.field || filterDef.key;
|
|
3622
|
-
const filterOnFields =
|
|
3689
|
+
const filterOnFields = filter$1(formFields, { 'filter-on': fieldName });
|
|
3623
3690
|
newVal = filterDef['is-range'] ? getRangeFieldValue(filterDef.minValue, filterDef.maxValue) : (isDefined(newVal) ? newVal : filterDef.value);
|
|
3624
|
-
if (!dataSource || (options.isFirst && (
|
|
3691
|
+
if (!dataSource || (options.isFirst && (isUndefined(newVal) || newVal === ''))) {
|
|
3625
3692
|
return;
|
|
3626
3693
|
}
|
|
3627
3694
|
// Loop over the fields for which the current field is filter on field
|
|
3628
|
-
|
|
3695
|
+
forEach(filterOnFields, filterField => {
|
|
3629
3696
|
const filterKey = filterField.field || filterField.key;
|
|
3630
3697
|
const lookUpField = filterDef['lookup-field'] || filterDef._primaryKey;
|
|
3631
3698
|
const filterWidget = filterField['edit-widget-type'] || filterField.widgettype;
|
|
@@ -3651,7 +3718,7 @@ function applyFilterOnField(dataSource, filterDef, formFields, newVal, options =
|
|
|
3651
3718
|
else {
|
|
3652
3719
|
matchMode = MatchMode.EQUALS;
|
|
3653
3720
|
}
|
|
3654
|
-
filterVal = (
|
|
3721
|
+
filterVal = (isObject(newVal) && !isArray(newVal)) ? newVal[lookUpField] : newVal;
|
|
3655
3722
|
filterFields[filterOn] = {
|
|
3656
3723
|
'value': filterVal,
|
|
3657
3724
|
'matchMode': matchMode
|
|
@@ -3686,9 +3753,9 @@ function transformData(dataObject, variableName) {
|
|
|
3686
3753
|
// data sanity testing
|
|
3687
3754
|
dataObject = dataObject || [];
|
|
3688
3755
|
// if the dataObject is not an array make it an array
|
|
3689
|
-
if (!
|
|
3756
|
+
if (!isArray(dataObject)) {
|
|
3690
3757
|
// if the data returned is of type string, make it an object inside an array
|
|
3691
|
-
if (
|
|
3758
|
+
if (isString(dataObject)) {
|
|
3692
3759
|
keys = variableName.substring(variableName.indexOf('.') + 1, variableName.length).split('.');
|
|
3693
3760
|
oldKeys = [];
|
|
3694
3761
|
numKeys = keys.length;
|
|
@@ -3712,9 +3779,9 @@ function transformData(dataObject, variableName) {
|
|
|
3712
3779
|
/*if the dataObject is an array and each value is a string, then lite-transform the string to an object
|
|
3713
3780
|
* lite-transform: just checking if the first value is string and then transforming the object, instead of traversing through the whole array
|
|
3714
3781
|
* */
|
|
3715
|
-
if (
|
|
3782
|
+
if (isString(dataObject[0])) {
|
|
3716
3783
|
tempArr = [];
|
|
3717
|
-
|
|
3784
|
+
forEach(dataObject, str => {
|
|
3718
3785
|
newObj = {};
|
|
3719
3786
|
newObj[variableName.split('.').join('-')] = str;
|
|
3720
3787
|
tempArr.push(newObj);
|
|
@@ -3757,18 +3824,18 @@ const ROLLUP_PATTERNS = {
|
|
|
3757
3824
|
/**
|
|
3758
3825
|
* function to get the ordered dataset based on the given orderby
|
|
3759
3826
|
*/
|
|
3760
|
-
const getOrderedDataset = (dataSet, orderBy, innerItem) => {
|
|
3761
|
-
if (!orderBy) {
|
|
3762
|
-
return
|
|
3827
|
+
const getOrderedDataset = (dataSet, orderBy$1, innerItem) => {
|
|
3828
|
+
if (!orderBy$1) {
|
|
3829
|
+
return cloneDeep(dataSet);
|
|
3763
3830
|
}
|
|
3764
3831
|
// The order by only works when the dataset contains list of objects.
|
|
3765
|
-
const items = orderBy.split(','), fields = [], directions = [];
|
|
3832
|
+
const items = orderBy$1.split(','), fields = [], directions = [];
|
|
3766
3833
|
items.forEach(obj => {
|
|
3767
3834
|
const item = obj.split(':');
|
|
3768
3835
|
fields.push(innerItem ? innerItem + '.' + item[0] : item[0]);
|
|
3769
3836
|
directions.push(item[1]);
|
|
3770
3837
|
});
|
|
3771
|
-
return
|
|
3838
|
+
return orderBy(dataSet, fields, directions);
|
|
3772
3839
|
};
|
|
3773
3840
|
/**
|
|
3774
3841
|
* Returns an array of object, each object contain the DataSetItem whose key, value, label are extracted from object keys.
|
|
@@ -3777,10 +3844,10 @@ const transformDataWithKeys = (dataSet) => {
|
|
|
3777
3844
|
const data = [];
|
|
3778
3845
|
// if the dataset is instance of object (not an array) or the first item in the dataset array is an object,
|
|
3779
3846
|
// then we extract the keys from the object and prepare the dataset items.
|
|
3780
|
-
if (
|
|
3847
|
+
if (isObject(dataSet[0]) || (isObject(dataSet) && !(dataSet instanceof Array))) {
|
|
3781
3848
|
// getting keys of the object
|
|
3782
3849
|
const objectKeys = Object.keys(dataSet[0] || dataSet);
|
|
3783
|
-
|
|
3850
|
+
forEach(objectKeys, (objKey, index) => {
|
|
3784
3851
|
data.push({
|
|
3785
3852
|
key: objKey,
|
|
3786
3853
|
label: objKey,
|
|
@@ -3793,21 +3860,21 @@ const transformDataWithKeys = (dataSet) => {
|
|
|
3793
3860
|
};
|
|
3794
3861
|
// Converts any type of data to array.
|
|
3795
3862
|
const extractDataAsArray = data => {
|
|
3796
|
-
if (
|
|
3863
|
+
if (isUndefined(data) || isNull(data) || trim(data) === '') {
|
|
3797
3864
|
return [];
|
|
3798
3865
|
}
|
|
3799
|
-
if (
|
|
3800
|
-
data =
|
|
3866
|
+
if (isString(data)) {
|
|
3867
|
+
data = split(data, ',').map(str => str.trim());
|
|
3801
3868
|
}
|
|
3802
|
-
if (!
|
|
3869
|
+
if (!isArray(data)) {
|
|
3803
3870
|
data = [data];
|
|
3804
3871
|
}
|
|
3805
3872
|
return data;
|
|
3806
3873
|
};
|
|
3807
3874
|
// This function return always an object containing dataset details.
|
|
3808
3875
|
const convertDataToObject = dataResult => {
|
|
3809
|
-
if (
|
|
3810
|
-
dataResult =
|
|
3876
|
+
if (isString(dataResult)) {
|
|
3877
|
+
dataResult = split(dataResult, ',').map(str => str.trim());
|
|
3811
3878
|
}
|
|
3812
3879
|
return dataResult;
|
|
3813
3880
|
};
|
|
@@ -3819,7 +3886,7 @@ const isSeachWidget = (widgetType) => {
|
|
|
3819
3886
|
const setGroupbyKey = (scope, context, dataSetItem, innerItem) => {
|
|
3820
3887
|
if (scope && isSeachWidget(scope.widgetType)) {
|
|
3821
3888
|
if (scope.groupby) {
|
|
3822
|
-
if (
|
|
3889
|
+
if (includes(scope.groupby, '(')) {
|
|
3823
3890
|
//[Todo-CSP]: can generate expr fn in page based on groupby property on widget
|
|
3824
3891
|
const groupDataByUserDefinedFn = $parseEvent(scope.groupby);
|
|
3825
3892
|
dataSetItem.groupby = groupDataByUserDefinedFn(context, { 'row': dataSetItem.dataObject || dataSetItem });
|
|
@@ -3850,10 +3917,10 @@ const transformFormData = (context, dataSet, myDataField, displayOptions, startI
|
|
|
3850
3917
|
}
|
|
3851
3918
|
dataSet = convertDataToObject(dataSet);
|
|
3852
3919
|
// startIndex is the index of the next new item.
|
|
3853
|
-
if (
|
|
3920
|
+
if (isUndefined(startIndex)) {
|
|
3854
3921
|
startIndex = 1;
|
|
3855
3922
|
}
|
|
3856
|
-
if (
|
|
3923
|
+
if (isString(dataSet)) {
|
|
3857
3924
|
dataSet = dataSet.split(',').map(str => str.trim());
|
|
3858
3925
|
dataSet.forEach((option, index) => {
|
|
3859
3926
|
const dataSetItem = { key: option, value: option, label: (isDefined(option) && option !== null) ? option.toString() : '', index: startIndex + index };
|
|
@@ -3861,17 +3928,21 @@ const transformFormData = (context, dataSet, myDataField, displayOptions, startI
|
|
|
3861
3928
|
data.push(dataSetItem);
|
|
3862
3929
|
});
|
|
3863
3930
|
}
|
|
3864
|
-
else if (
|
|
3931
|
+
else if (isArray(dataSet) && !isObject(dataSet[0])) { // array of primitive values only
|
|
3865
3932
|
dataSet.forEach((option, index) => {
|
|
3866
3933
|
const dataSetItem = { key: option, value: option, label: (isDefined(option) && option !== null) ? option.toString() : '', index: startIndex + index };
|
|
3867
3934
|
setGroupbyKey(scope, context, dataSetItem, 'value');
|
|
3868
3935
|
data.push(dataSetItem);
|
|
3869
3936
|
});
|
|
3870
3937
|
}
|
|
3871
|
-
else if (!(dataSet instanceof Array) &&
|
|
3938
|
+
else if (!(dataSet instanceof Array) && isObject(dataSet)) {
|
|
3872
3939
|
const i = 0;
|
|
3873
|
-
|
|
3874
|
-
|
|
3940
|
+
forEach(dataSet, (value, key) => {
|
|
3941
|
+
// @ts-ignore
|
|
3942
|
+
const dataSetItem = { key: trim(key), value: key, label: (isDefined(value) && value !== null) ? value.toString() : '',
|
|
3943
|
+
index: startIndex,
|
|
3944
|
+
dataObject: dataSet
|
|
3945
|
+
};
|
|
3875
3946
|
setGroupbyKey(scope, context, dataSetItem, 'value');
|
|
3876
3947
|
data.push(dataSetItem);
|
|
3877
3948
|
});
|
|
@@ -3883,7 +3954,7 @@ const transformFormData = (context, dataSet, myDataField, displayOptions, startI
|
|
|
3883
3954
|
dataSet.forEach((option, index) => {
|
|
3884
3955
|
const key = myDataField === ALLFIELDS ? startIndex + index : getObjValueByKey(option, myDataField);
|
|
3885
3956
|
// Omit all the items whose datafield (key) is null or undefined.
|
|
3886
|
-
if (!
|
|
3957
|
+
if (!isUndefined(key) && !isNull(key)) {
|
|
3887
3958
|
const label = getEvaluatedData(option, {
|
|
3888
3959
|
field: displayOptions.displayField,
|
|
3889
3960
|
expression: displayOptions.displayExpr,
|
|
@@ -3893,7 +3964,7 @@ const transformFormData = (context, dataSet, myDataField, displayOptions, startI
|
|
|
3893
3964
|
key: key,
|
|
3894
3965
|
label: (isDefined(label) && label !== null) ? label.toString() : '',
|
|
3895
3966
|
value: myDataField === ALLFIELDS ? option : key,
|
|
3896
|
-
dataObject: option,
|
|
3967
|
+
dataObject: option, // represents the object when datafield is ALLFIELDS. This is used as innerItem while grouping the datasetItems.
|
|
3897
3968
|
index: startIndex + index
|
|
3898
3969
|
};
|
|
3899
3970
|
if (displayOptions.displayImgSrc || displayOptions.bindDisplayImgSrc) {
|
|
@@ -3915,16 +3986,16 @@ const transformFormData = (context, dataSet, myDataField, displayOptions, startI
|
|
|
3915
3986
|
const getUniqObjsByDataField = (data, dataField, displayField, allowEmptyFields) => {
|
|
3916
3987
|
let uniqData;
|
|
3917
3988
|
const isAllFields = dataField === ALLFIELDS;
|
|
3918
|
-
uniqData = isAllFields ?
|
|
3989
|
+
uniqData = isAllFields ? uniqWith(data, isEqual) : uniqBy(data, 'key');
|
|
3919
3990
|
if (!displayField || allowEmptyFields) {
|
|
3920
3991
|
return uniqData;
|
|
3921
3992
|
}
|
|
3922
3993
|
// return objects having non empty datafield and display field values.
|
|
3923
|
-
return
|
|
3994
|
+
return filter$1(uniqData, (obj) => {
|
|
3924
3995
|
if (isAllFields) {
|
|
3925
|
-
return
|
|
3996
|
+
return trim(obj.label);
|
|
3926
3997
|
}
|
|
3927
|
-
return
|
|
3998
|
+
return trim(obj.key) && trim(obj.label);
|
|
3928
3999
|
});
|
|
3929
4000
|
};
|
|
3930
4001
|
/**
|
|
@@ -3936,7 +4007,7 @@ const getUniqObjsByDataField = (data, dataField, displayField, allowEmptyFields)
|
|
|
3936
4007
|
*/
|
|
3937
4008
|
const setItemByCompare = (datasetItems, compareWithDataObj, compareByField) => {
|
|
3938
4009
|
// compare the fields based on fields given to compareby property.
|
|
3939
|
-
|
|
4010
|
+
forEach(datasetItems, opt => {
|
|
3940
4011
|
if (isEqualWithFields(opt.value, compareWithDataObj, compareByField)) {
|
|
3941
4012
|
opt.selected = true;
|
|
3942
4013
|
return false;
|
|
@@ -3953,13 +4024,13 @@ const setItemByCompare = (datasetItems, compareWithDataObj, compareByField) => {
|
|
|
3953
4024
|
*/
|
|
3954
4025
|
const getSortedGroupedData = (groupedLiData, groupBy, orderby) => {
|
|
3955
4026
|
const _groupedData = [];
|
|
3956
|
-
|
|
4027
|
+
forEach(keys(groupedLiData), (groupkey, index) => {
|
|
3957
4028
|
const liData = getOrderedDataset(groupedLiData[groupkey], orderby, 'dataObject');
|
|
3958
4029
|
_groupedData.push({
|
|
3959
4030
|
key: groupkey,
|
|
3960
|
-
data:
|
|
4031
|
+
data: sortBy(liData, data => {
|
|
3961
4032
|
data._groupIndex = index + 1;
|
|
3962
|
-
return
|
|
4033
|
+
return get(data, groupBy) || get(data.dataObject, groupBy);
|
|
3963
4034
|
})
|
|
3964
4035
|
});
|
|
3965
4036
|
});
|
|
@@ -3979,10 +4050,11 @@ const getSortedGroupedData = (groupedLiData, groupBy, orderby) => {
|
|
|
3979
4050
|
*/
|
|
3980
4051
|
const groupData = (compRef, data, groupby, match, orderby, dateformat, datePipe, innerItem, AppDefaults) => {
|
|
3981
4052
|
let groupedLiData = {};
|
|
3982
|
-
if (
|
|
4053
|
+
if (includes(groupby, '(')) {
|
|
3983
4054
|
//[Todo-CSP]: can generate expr fn in page based on groupby property on widget
|
|
3984
4055
|
const groupDataByUserDefinedFn = $parseEvent(groupby);
|
|
3985
|
-
groupedLiData =
|
|
4056
|
+
groupedLiData = groupBy(data, val => {
|
|
4057
|
+
// @ts-ignore
|
|
3986
4058
|
return groupDataByUserDefinedFn(compRef.viewParent, { 'row': val.dataObject || val });
|
|
3987
4059
|
});
|
|
3988
4060
|
}
|
|
@@ -4008,14 +4080,14 @@ const getGroupedData = (fieldDefs, groupby, match, orderby, dateFormat, datePipe
|
|
|
4008
4080
|
}
|
|
4009
4081
|
// handling case-in-sensitive scenario
|
|
4010
4082
|
// ordering the data based on groupby field. If there is innerItem then apply orderby using the innerItem's containing the groupby field.
|
|
4011
|
-
fieldDefs =
|
|
4012
|
-
const groupKey =
|
|
4083
|
+
fieldDefs = orderBy(fieldDefs, fieldDef => {
|
|
4084
|
+
const groupKey = get(innerItem ? fieldDef[innerItem] : fieldDef, groupby);
|
|
4013
4085
|
if (groupKey) {
|
|
4014
|
-
return
|
|
4086
|
+
return toLower(groupKey);
|
|
4015
4087
|
}
|
|
4016
4088
|
});
|
|
4017
4089
|
// extract the grouped data based on the field obtained from 'groupDataByField'.
|
|
4018
|
-
const groupedLiData =
|
|
4090
|
+
const groupedLiData = groupBy(fieldDefs, groupDataByField.bind(undefined, groupby, match, innerItem, dateFormat, datePipe, AppDefaults));
|
|
4019
4091
|
momentLocale._calendar = momentCalendarOptions; // Reset to default moment calendar options
|
|
4020
4092
|
return groupedLiData;
|
|
4021
4093
|
};
|
|
@@ -4081,9 +4153,9 @@ const getTimeRolledUpString = (concatStr, rollUp, dateformat, datePipe, AppDefau
|
|
|
4081
4153
|
// groups the fields based on the groupby value.
|
|
4082
4154
|
const groupDataByField = (groupby, match, innerItem, dateFormat, datePipe, AppDefaults, liData) => {
|
|
4083
4155
|
// get the groupby field value from the liData or innerItem in the liData.
|
|
4084
|
-
let concatStr =
|
|
4156
|
+
let concatStr = get(innerItem ? liData[innerItem] : liData, groupby);
|
|
4085
4157
|
// by default set the undefined groupKey as 'others'
|
|
4086
|
-
if (
|
|
4158
|
+
if (isUndefined(concatStr) || isNull(concatStr) || concatStr.toString().trim() === '') {
|
|
4087
4159
|
return GROUP_BY_OPTIONS.OTHERS;
|
|
4088
4160
|
}
|
|
4089
4161
|
// if match prop is alphabetic ,get the starting alphabet of the word as key.
|
|
@@ -4091,7 +4163,7 @@ const groupDataByField = (groupby, match, innerItem, dateFormat, datePipe, AppDe
|
|
|
4091
4163
|
concatStr = concatStr.substr(0, 1);
|
|
4092
4164
|
}
|
|
4093
4165
|
// if match contains the time options then get the concatStr using 'getTimeRolledUpString'
|
|
4094
|
-
if (
|
|
4166
|
+
if (includes(values(TIME_ROLLUP_OPTIONS), match)) {
|
|
4095
4167
|
concatStr = getTimeRolledUpString(concatStr, match, dateFormat, datePipe, AppDefaults);
|
|
4096
4168
|
}
|
|
4097
4169
|
return concatStr;
|
|
@@ -4106,13 +4178,13 @@ const toggleAllHeaders = (el) => {
|
|
|
4106
4178
|
// toggle the collapse icon on list header.
|
|
4107
4179
|
const groupIcons = groups.find('li.list-group-header .app-icon');
|
|
4108
4180
|
if (groupIcons) {
|
|
4109
|
-
|
|
4110
|
-
icon = $(icon);
|
|
4111
|
-
if (icon.hasClass('wi-chevron-down')) {
|
|
4112
|
-
icon.removeClass('wi-chevron-down').addClass('wi-chevron-up');
|
|
4181
|
+
forEach(groupIcons, (icon) => {
|
|
4182
|
+
const $icon = $(icon);
|
|
4183
|
+
if ($icon.hasClass('wi-chevron-down')) {
|
|
4184
|
+
$icon.removeClass('wi-chevron-down').addClass('wi-chevron-up');
|
|
4113
4185
|
}
|
|
4114
4186
|
else {
|
|
4115
|
-
icon.removeClass('wi-chevron-up').addClass('wi-chevron-down');
|
|
4187
|
+
$icon.removeClass('wi-chevron-up').addClass('wi-chevron-down');
|
|
4116
4188
|
}
|
|
4117
4189
|
});
|
|
4118
4190
|
}
|
|
@@ -4177,8 +4249,8 @@ const EDIT_MODE = {
|
|
|
4177
4249
|
};
|
|
4178
4250
|
// Method to set the header config of the data table
|
|
4179
4251
|
const setHeaderConfig = (headerConfig, config, field, index) => {
|
|
4180
|
-
|
|
4181
|
-
if (
|
|
4252
|
+
forEach(headerConfig, cols => {
|
|
4253
|
+
if (get(cols, 'isGroup')) {
|
|
4182
4254
|
if (cols.field === field) {
|
|
4183
4255
|
cols.columns[index] = config;
|
|
4184
4256
|
}
|
|
@@ -4234,8 +4306,8 @@ const getFieldLayoutConfig = (captionWidth, captionPosition, os) => {
|
|
|
4234
4306
|
}
|
|
4235
4307
|
else if (captionWidth) {
|
|
4236
4308
|
// handling itemsperrow containing string of classes
|
|
4237
|
-
|
|
4238
|
-
const keys =
|
|
4309
|
+
forEach(split(captionWidth, ' '), function (cls) {
|
|
4310
|
+
const keys = split(cls, '-'), tier = keys[0];
|
|
4239
4311
|
let _captionWidth, widgetWidth;
|
|
4240
4312
|
_captionWidth = parseInt(keys[1], 10);
|
|
4241
4313
|
widgetWidth = 12 - _captionWidth;
|
|
@@ -4250,7 +4322,7 @@ const getFieldLayoutConfig = (captionWidth, captionPosition, os) => {
|
|
|
4250
4322
|
};
|
|
4251
4323
|
};
|
|
4252
4324
|
const getDefaultViewModeWidget = widget => {
|
|
4253
|
-
if (
|
|
4325
|
+
if (includes(['checkbox', 'toggle', 'rating'], widget)) {
|
|
4254
4326
|
return VIEW_MODE_OPTIONS.DEFAULT;
|
|
4255
4327
|
}
|
|
4256
4328
|
return VIEW_MODE_OPTIONS.LABEL;
|
|
@@ -4320,7 +4392,7 @@ const getDataTableFilterWidget = type => {
|
|
|
4320
4392
|
if (type === DataType.BOOLEAN) {
|
|
4321
4393
|
widget = FormWidgetType.SELECT;
|
|
4322
4394
|
}
|
|
4323
|
-
if (
|
|
4395
|
+
if (includes([FormWidgetType.TEXT, FormWidgetType.NUMBER, FormWidgetType.SELECT, FormWidgetType.AUTOCOMPLETE,
|
|
4324
4396
|
FormWidgetType.DATE, FormWidgetType.TIME, FormWidgetType.DATETIME], widget)) {
|
|
4325
4397
|
return widget;
|
|
4326
4398
|
}
|
|
@@ -4378,22 +4450,22 @@ const getValidLink = (link) => {
|
|
|
4378
4450
|
const routRegex = /^(\/|#\/|#)(?!\W).*/;
|
|
4379
4451
|
if (link) {
|
|
4380
4452
|
if (routRegex.test(link)) {
|
|
4381
|
-
link =
|
|
4453
|
+
link = first(link.match(/[\w]+.*/g)) || '';
|
|
4382
4454
|
return `#/${link}`;
|
|
4383
4455
|
}
|
|
4384
|
-
if (
|
|
4456
|
+
if (startsWith(link, 'www.')) {
|
|
4385
4457
|
return `//${link}`;
|
|
4386
4458
|
}
|
|
4387
4459
|
return link;
|
|
4388
4460
|
}
|
|
4389
4461
|
};
|
|
4390
|
-
class DatasetAwareNavComponent extends StylableComponent {
|
|
4391
|
-
constructor(inj, WIDGET_CONFIG) {
|
|
4392
|
-
super(inj, WIDGET_CONFIG);
|
|
4462
|
+
let DatasetAwareNavComponent = class DatasetAwareNavComponent extends StylableComponent {
|
|
4463
|
+
constructor(inj, WIDGET_CONFIG, explicitContext) {
|
|
4464
|
+
super(inj, WIDGET_CONFIG, explicitContext);
|
|
4393
4465
|
this.nodes = [];
|
|
4394
4466
|
this.nodes$ = new Subject();
|
|
4395
4467
|
// debounce function for reset nodes functions.
|
|
4396
|
-
this._resetNodes =
|
|
4468
|
+
this._resetNodes = debounce(this.resetNodes, 50);
|
|
4397
4469
|
this.securityService = this.inj.get(SecurityService);
|
|
4398
4470
|
this.binditemlabel = this.nativeElement.getAttribute('itemlabel.bind');
|
|
4399
4471
|
this.binditemicon = this.nativeElement.getAttribute('itemicon.bind');
|
|
@@ -4413,24 +4485,49 @@ class DatasetAwareNavComponent extends StylableComponent {
|
|
|
4413
4485
|
*/
|
|
4414
4486
|
getNode(fields, node) {
|
|
4415
4487
|
const context = this.viewParent.pageScope || this.viewParent;
|
|
4416
|
-
const children = getEvaluatedData(node, {
|
|
4488
|
+
const children = getEvaluatedData(node, {
|
|
4489
|
+
field: this.itemchildren,
|
|
4490
|
+
bindExpression: this.binditemchildren
|
|
4491
|
+
}, context) || get(node, fields.childrenField);
|
|
4417
4492
|
const navNode = {
|
|
4418
|
-
action: getEvaluatedData(node, {
|
|
4419
|
-
|
|
4493
|
+
action: getEvaluatedData(node, {
|
|
4494
|
+
field: this.itemaction,
|
|
4495
|
+
bindExpression: this.binditemaction
|
|
4496
|
+
}, context) || get(node, fields.actionField),
|
|
4497
|
+
badge: getEvaluatedData(node, {
|
|
4498
|
+
field: this.itembadge,
|
|
4499
|
+
bindExpression: this.binditembadge
|
|
4500
|
+
}, context) || get(node, fields.badgeField),
|
|
4420
4501
|
children: Array.isArray(children) ? this.getNodes(children) : [],
|
|
4421
|
-
class:
|
|
4502
|
+
class: get(node, fields.classField),
|
|
4422
4503
|
disabled: node.disabled,
|
|
4423
|
-
icon: getEvaluatedData(node, {
|
|
4424
|
-
|
|
4425
|
-
|
|
4426
|
-
|
|
4427
|
-
|
|
4504
|
+
icon: getEvaluatedData(node, {
|
|
4505
|
+
field: this.itemicon,
|
|
4506
|
+
bindExpression: this.binditemicon
|
|
4507
|
+
}, context) || get(node, fields.iconField),
|
|
4508
|
+
id: getEvaluatedData(node, {
|
|
4509
|
+
field: this.itemid,
|
|
4510
|
+
bindExpression: this.binditemid
|
|
4511
|
+
}, context) || get(node, fields.idField),
|
|
4512
|
+
label: getEvaluatedData(node, {
|
|
4513
|
+
field: this.itemlabel,
|
|
4514
|
+
bindExpression: this.binditemlabel
|
|
4515
|
+
}, context) || get(node, fields.labelField),
|
|
4516
|
+
link: getValidLink(getEvaluatedData(node, {
|
|
4517
|
+
field: this.itemlink,
|
|
4518
|
+
bindExpression: this.binditemlink
|
|
4519
|
+
}, context) || get(node, fields.linkField)),
|
|
4520
|
+
target: getValidLink(getEvaluatedData(node, {
|
|
4521
|
+
field: this.itemtarget,
|
|
4522
|
+
bindExpression: this.binditemtarget
|
|
4523
|
+
}, context) || get(node, fields.targetField)),
|
|
4428
4524
|
role: getEvaluatedData(node, { field: this.userrole, bindExpression: this.binduserrole }, context),
|
|
4429
4525
|
isactive: getEvaluatedData(node, { field: this.isactive, bindExpression: this.bindisactive }, context),
|
|
4430
4526
|
// older projects have display field & data field property for menu.
|
|
4431
4527
|
value: this.datafield ? (this.datafield === 'All Fields' ? node : findValueOf(node, this.datafield)) : node
|
|
4432
4528
|
};
|
|
4433
|
-
|
|
4529
|
+
// @ts-ignore
|
|
4530
|
+
return omitBy(navNode, isUndefined);
|
|
4434
4531
|
}
|
|
4435
4532
|
resetItemFieldMap() {
|
|
4436
4533
|
this._itemFieldMap = null;
|
|
@@ -4462,7 +4559,7 @@ class DatasetAwareNavComponent extends StylableComponent {
|
|
|
4462
4559
|
prepareNodeDataSet(nv) {
|
|
4463
4560
|
nv = createArrayFrom(nv);
|
|
4464
4561
|
return nv.map((val) => {
|
|
4465
|
-
if (!isObject(val)) {
|
|
4562
|
+
if (!isObject$1(val)) {
|
|
4466
4563
|
return {
|
|
4467
4564
|
label: val,
|
|
4468
4565
|
value: val
|
|
@@ -4513,7 +4610,12 @@ class DatasetAwareNavComponent extends StylableComponent {
|
|
|
4513
4610
|
}
|
|
4514
4611
|
super.onPropertyChange(key, nv, ov);
|
|
4515
4612
|
}
|
|
4516
|
-
}
|
|
4613
|
+
};
|
|
4614
|
+
DatasetAwareNavComponent = __decorate([
|
|
4615
|
+
__param(2, Inject('EXPLICIT_CONTEXT')),
|
|
4616
|
+
__param(2, Optional()),
|
|
4617
|
+
__metadata("design:paramtypes", [Injector, Object, Object])
|
|
4618
|
+
], DatasetAwareNavComponent);
|
|
4517
4619
|
|
|
4518
4620
|
const DEFAULT_VALIDATOR = {
|
|
4519
4621
|
pattern: 'regexp',
|
|
@@ -4563,7 +4665,7 @@ class BaseFieldValidations {
|
|
|
4563
4665
|
if (this.instance.regexp) {
|
|
4564
4666
|
_validator.push(Validators.pattern(this.instance.regexp));
|
|
4565
4667
|
}
|
|
4566
|
-
if (this.formwidget &&
|
|
4668
|
+
if (this.formwidget && isFunction(this.formwidget.validate)) {
|
|
4567
4669
|
_validator.push(this.formwidget.validate.bind(this.formwidget));
|
|
4568
4670
|
}
|
|
4569
4671
|
return _validator;
|
|
@@ -4590,7 +4692,7 @@ class BaseFieldValidations {
|
|
|
4590
4692
|
}
|
|
4591
4693
|
getPromiseList(validators) {
|
|
4592
4694
|
const arr = [];
|
|
4593
|
-
|
|
4695
|
+
forEach(validators, (fn, index) => {
|
|
4594
4696
|
let promise = fn;
|
|
4595
4697
|
if (fn instanceof Function && fn.bind) {
|
|
4596
4698
|
promise = fn(this.widgetControl, this.widgetContext);
|
|
@@ -4612,11 +4714,11 @@ class BaseFieldValidations {
|
|
|
4612
4714
|
// if err obj has validationMessage key, then set validationMessage using this value
|
|
4613
4715
|
// else return the value of the first key in the err object as validation message.
|
|
4614
4716
|
if (err.hasOwnProperty('errorMessage')) {
|
|
4615
|
-
this.instance.validationmessage =
|
|
4717
|
+
this.instance.validationmessage = get(err, 'errorMessage');
|
|
4616
4718
|
}
|
|
4617
4719
|
else {
|
|
4618
|
-
const keys =
|
|
4619
|
-
this.instance.validationmessage = (err[keys[0]]).toString();
|
|
4720
|
+
const keys$1 = keys(err);
|
|
4721
|
+
this.instance.validationmessage = (err[keys$1[0]]).toString();
|
|
4620
4722
|
}
|
|
4621
4723
|
return err;
|
|
4622
4724
|
}).then(response => {
|
|
@@ -4648,7 +4750,7 @@ class BaseFieldValidations {
|
|
|
4648
4750
|
}
|
|
4649
4751
|
}
|
|
4650
4752
|
isDefaultValidator(type) {
|
|
4651
|
-
return
|
|
4753
|
+
return get(VALIDATOR, toUpper(type));
|
|
4652
4754
|
}
|
|
4653
4755
|
// default validator is bound to a function then watch for value changes
|
|
4654
4756
|
// otherwise set the value of default validator directly
|
|
@@ -4664,10 +4766,10 @@ class BaseFieldValidations {
|
|
|
4664
4766
|
}
|
|
4665
4767
|
// sets the default validation on the form field
|
|
4666
4768
|
setValidators(validators) {
|
|
4667
|
-
let _cloneValidators =
|
|
4769
|
+
let _cloneValidators = cloneDeep(validators);
|
|
4668
4770
|
this.hasValidators = true;
|
|
4669
4771
|
this._syncValidators = [];
|
|
4670
|
-
|
|
4772
|
+
forEach(_cloneValidators, (obj, index) => {
|
|
4671
4773
|
// custom validation is bound to function.
|
|
4672
4774
|
if (obj && obj instanceof Function) {
|
|
4673
4775
|
// passing formfield and form as arguments to the obj (i.e. validator function)
|
|
@@ -4676,17 +4778,17 @@ class BaseFieldValidations {
|
|
|
4676
4778
|
}
|
|
4677
4779
|
else {
|
|
4678
4780
|
// checks for default validator like required, maxchars etc.
|
|
4679
|
-
const key =
|
|
4680
|
-
this.defaultValidatorMessages[key] =
|
|
4781
|
+
const key = get(obj, 'type');
|
|
4782
|
+
this.defaultValidatorMessages[key] = get(obj, 'errorMessage');
|
|
4681
4783
|
if (this.isDefaultValidator(key)) {
|
|
4682
|
-
const value =
|
|
4784
|
+
const value = get(obj, 'validator');
|
|
4683
4785
|
this.setDefaultValidator(key, value);
|
|
4684
4786
|
_cloneValidators[index] = '';
|
|
4685
4787
|
}
|
|
4686
4788
|
}
|
|
4687
4789
|
});
|
|
4688
4790
|
// _syncValidators contains all the custom validations on the form field. will not include default validators.
|
|
4689
|
-
this._syncValidators =
|
|
4791
|
+
this._syncValidators = filter$1(_cloneValidators, val => {
|
|
4690
4792
|
if (val) {
|
|
4691
4793
|
return val;
|
|
4692
4794
|
}
|
|
@@ -4694,8 +4796,8 @@ class BaseFieldValidations {
|
|
|
4694
4796
|
this.applyDefaultValidators();
|
|
4695
4797
|
}
|
|
4696
4798
|
observeOn(fields, context) {
|
|
4697
|
-
|
|
4698
|
-
const formfield =
|
|
4799
|
+
forEach(fields, field => {
|
|
4800
|
+
const formfield = find(this.widgetContext[context], { 'key': field });
|
|
4699
4801
|
if (formfield) {
|
|
4700
4802
|
if (!formfield.notifyForFields) {
|
|
4701
4803
|
formfield.notifyForFields = [];
|
|
@@ -4726,13 +4828,13 @@ class BaseFieldValidations {
|
|
|
4726
4828
|
const watchName = `${this.instance.widgetId}_` + key + '_formField';
|
|
4727
4829
|
$unwatch(watchName);
|
|
4728
4830
|
//[Todo-CSP]: Need clarity generate this expr fn if form is present in the page
|
|
4729
|
-
this.instance.registerDestroyListener($watch('boundFn(fn)',
|
|
4831
|
+
this.instance.registerDestroyListener($watch('boundFn(fn)', extend(this.instance, this.instance.viewParent), { fn }, (nv, ov) => {
|
|
4730
4832
|
this.instance.widget[key] = nv;
|
|
4731
4833
|
this.applyDefaultValidators();
|
|
4732
4834
|
}, watchName));
|
|
4733
4835
|
}
|
|
4734
4836
|
isNullOrEmptyOrFalsy(value) {
|
|
4735
|
-
return
|
|
4837
|
+
return isEmpty(value);
|
|
4736
4838
|
}
|
|
4737
4839
|
// invokes both custom sync validations and default validations.
|
|
4738
4840
|
applyDefaultValidators() {
|
|
@@ -4743,7 +4845,7 @@ class BaseFieldValidations {
|
|
|
4743
4845
|
if (this.formwidget && (this.instance.value === this.formwidget.prevDatavalue || this.isNullOrEmptyOrFalsy(this.instance.value))) {
|
|
4744
4846
|
opt['emitEvent'] = false;
|
|
4745
4847
|
}
|
|
4746
|
-
this.widgetControl.setValidators(
|
|
4848
|
+
this.widgetControl.setValidators(concat(this._syncValidators || [], validators));
|
|
4747
4849
|
this.widgetControl.updateValueAndValidity(opt);
|
|
4748
4850
|
this.setCustomValidationMessage();
|
|
4749
4851
|
}
|
|
@@ -4753,14 +4855,14 @@ class BaseFieldValidations {
|
|
|
4753
4855
|
return;
|
|
4754
4856
|
}
|
|
4755
4857
|
if (fieldErrors.hasOwnProperty('errorMessage')) {
|
|
4756
|
-
this.instance.validationmessage =
|
|
4858
|
+
this.instance.validationmessage = get(fieldErrors, 'errorMessage');
|
|
4757
4859
|
}
|
|
4758
4860
|
else {
|
|
4759
|
-
const keys =
|
|
4760
|
-
const key = keys[0];
|
|
4761
|
-
const validationMsgKey =
|
|
4861
|
+
const keys$1 = keys(fieldErrors);
|
|
4862
|
+
const key = keys$1[0];
|
|
4863
|
+
const validationMsgKey = get(DEFAULT_VALIDATOR, key) || this.formwidget.validateType;
|
|
4762
4864
|
if (validationMsgKey) {
|
|
4763
|
-
const msg =
|
|
4865
|
+
const msg = get(this.defaultValidatorMessages, validationMsgKey) || this.instance.validationmessage;
|
|
4764
4866
|
if (msg && msg instanceof Function) {
|
|
4765
4867
|
// passing formfield and form as arguments to the errorMessage function.
|
|
4766
4868
|
this.instance.validationmessage = msg(this.widgetControl, this.widgetContext);
|
|
@@ -5144,5 +5246,5 @@ const updateDeviceView = (element, isTablet = false) => {
|
|
|
5144
5246
|
* Generated bundle index. Do not edit.
|
|
5145
5247
|
*/
|
|
5146
5248
|
|
|
5147
|
-
export { ALLFIELDS, APPLY_STYLES_TYPE, AUTOCLOSE_TYPE, BaseComponent, BaseContainerComponent, BaseFieldValidations, ContainerDirective, Context, CustomPipe, DEBOUNCE_TIMES, DISPLAY_TYPE, DataSetItem, DatasetAwareNavComponent, DialogRef, DialogServiceImpl, EDIT_MODE, EVENTS_MAP, FileExtensionFromMimePipe, FileIconClassPipe, FileSizePipe, FilterPipe, INPUTMODE, ImagePipe, ItemTemplateDirective, LIVE_CONSTANTS, LazyLoadDirective, Live_Operations, MessageComponent, NAVIGATION_TYPE, NumberToStringPipe, PROP_ANY, PROP_BOOLEAN, PROP_NUMBER, PROP_STRING, PROP_TYPE, PartialContainerDirective, PartialDirective, PartialParamDirective, PartialParamHandlerDirective, PrefixPipe, PullToRefresh, RedrawableDirective, RepeatTemplateDirective, SanitizePipe, ShowInDeviceDirective, SmoothScrollDirective, StateClassPipe, StringToNumberPipe, StylableComponent, SuffixPipe, TextContentDirective, TimeFromNowPipe, ToCurrencyPipe, ToDatePipe, ToNumberPipe, TrailingZeroDecimalPipe, TrustAsPipe, WidgetConfig, WidgetRef, WmComponentsModule, applyFilterOnField, configureDnD, convertDataToObject, createArrayFrom, extractDataAsArray, extractDataSourceName, fetchDistinctValues, fetchRelatedFieldData, filterDate, getBackGroundImageUrl, getConditionalClasses, getContainerTargetClass, getDataTableFilterWidget, getDefaultValue, getDefaultViewModeWidget, getDistinctFieldProperties, getDistinctValues, getDistinctValuesForField, getEditModeWidget, getEmptyMatchMode, getEnableEmptyFilter, getEvaluatedData, getFieldLayoutConfig, getFieldTypeWidgetTypesMap, getImageUrl, getKeyboardFocusableElements, getMatchModeMsgs, getMatchModeTypesMap, getObjValueByKey, getOrderByExpr, getOrderedDataset, getRangeFieldValue, getRangeMatchMode, getRowOperationsColumn, getUniqObjsByDataField, getWatchIdentifier, getWidgetPropsByType, groupData, handleHeaderClick, hasLinkToCurrentPage, interpolateBindExpressions, isActiveNavItem, isBooleanAttr, isDataSetWidget, isDimensionProp, isStyle, parseValueByType, performDataOperation, prepareFieldDefs, propNameCSSKeyMap, provideAs, provideAsDialogRef, provideAsWidgetRef, refreshDataSource, register$1 as register, registerFormWidget, setFocusTrap, setHeaderConfig, setHeaderConfigForTable, setItemByCompare, styler, toggleAllHeaders, transformData, transformDataWithKeys, transformFormData, unsupportedStatePersistenceTypes, updateDeviceView };
|
|
5249
|
+
export { ALLFIELDS, APPLY_STYLES_TYPE, AUTOCLOSE_TYPE, BaseComponent, BaseContainerComponent, BaseFieldValidations, ContainerDirective, Context, CustomPipe, DEBOUNCE_TIMES, DISPLAY_TYPE, DataSetItem, DatasetAwareNavComponent, DialogRef, DialogServiceImpl, EDIT_MODE, EVENTS_MAP, FileExtensionFromMimePipe, FileIconClassPipe, FileSizePipe, FilterPipe, INPUTMODE, ImagePipe, ItemTemplateDirective, LIVE_CONSTANTS, LazyLoadDirective, Live_Operations, MessageComponent, NAVIGATION_TYPE, NumberToStringPipe, PROP_ANY, PROP_BOOLEAN, PROP_NUMBER, PROP_STRING, PROP_TYPE, PartialContainerDirective, PartialDirective, PartialParamDirective, PartialParamHandlerDirective, PrefixPipe, PullToRefresh, RedrawableDirective, RepeatTemplateDirective, SanitizePipe, ShowInDeviceDirective, SmoothScrollDirective, StateClassPipe, StringToNumberPipe, StylableComponent, SuffixPipe, TextContentDirective, TimeFromNowPipe, ToCurrencyPipe, ToDatePipe, ToNumberPipe, TrailingZeroDecimalPipe, TrustAsPipe, WidgetConfig, WidgetRef, WmComponentsModule, applyFilterOnField, configureDnD, convertDataToObject, createArrayFrom, extractDataAsArray, extractDataSourceName, fetchDistinctValues, fetchRelatedFieldData, filterDate, getBackGroundImageUrl, getConditionalClasses, getContainerTargetClass, getDataTableFilterWidget, getDefaultValue, getDefaultViewModeWidget, getDistinctFieldProperties, getDistinctValues, getDistinctValuesForField, getEditModeWidget, getEmptyMatchMode, getEnableEmptyFilter, getEvaluatedData, getFieldLayoutConfig, getFieldTypeWidgetTypesMap, getImageUrl, getKeyboardFocusableElements, getMatchModeMsgs, getMatchModeTypesMap, getObjValueByKey, getOrderByExpr, getOrderedDataset, getRangeFieldValue, getRangeMatchMode, getRowOperationsColumn, getUniqObjsByDataField, getWatchIdentifier, getWidgetPropsByType, groupData, handleHeaderClick, hasLinkToCurrentPage, interpolateBindExpressions, isActiveNavItem, isBooleanAttr, isDataSetWidget, isDimensionProp, isStyle, parseValueByType, performDataOperation, prepareFieldDefs, propNameCSSKeyMap, provideAs, provideAsDialogRef, provideAsWidgetRef, refreshDataSource, register$1 as register, registerFormWidget, setFocusTrap, setHeaderConfig, setHeaderConfigForTable, setItemByCompare, styler, toggleAllHeaders, transformData, transformDataWithKeys, transformFormData, unsupportedStatePersistenceTypes, updateDeviceView, widgetIdGenerator };
|
|
5148
5250
|
//# sourceMappingURL=index.mjs.map
|