@wavemaker/app-ng-runtime 12.0.0-next.140479 → 12.0.0-next.140482
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,8 +1,8 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('@wm/core'), require('@wm/security'), require('@wavemaker/focus-trap
|
|
3
|
-
typeof define === 'function' && define.amd ? define(['exports', '@angular/core', '@angular/common', '@wm/core', '@wm/security', '@wavemaker/focus-trap
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.wm = global.wm || {}, global.wm.components = global.wm.components || {}, global.wm.components.base = {}), global.ng.core, global.ng.common, global.wm.core, global.wm.security, global.focusTrap, global.ng.platformBrowser, global.rxjs, global.rxjs.operators, global.ng.forms, global.swipey));
|
|
5
|
-
})(this, (function (exports, i0, i1$1, i1, security, focusTrap, i1$2, rxjs, operators, forms, _swipey) { 'use strict';
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('@wm/core'), require('@wm/security'), require('@wavemaker/focus-trap'), require('lodash-es'), require('@angular/platform-browser'), require('rxjs'), require('rxjs/operators'), require('tslib'), require('@angular/forms'), require('@swipey')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define(['exports', '@angular/core', '@angular/common', '@wm/core', '@wm/security', '@wavemaker/focus-trap', 'lodash-es', '@angular/platform-browser', 'rxjs', 'rxjs/operators', 'tslib', '@angular/forms', '@swipey'], factory) :
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.wm = global.wm || {}, global.wm.components = global.wm.components || {}, global.wm.components.base = {}), global.ng.core, global.ng.common, global.wm.core, global.wm.security, global.focusTrap, global._, global.ng.platformBrowser, global.rxjs, global.rxjs.operators, global.tslib, global.ng.forms, global.swipey));
|
|
5
|
+
})(this, (function (exports, i0, i1$1, i1, security, focusTrap, lodashEs, i1$2, rxjs, operators, tslib, forms, _swipey) { 'use strict';
|
|
6
6
|
|
|
7
7
|
function _interopNamespaceDefault(e) {
|
|
8
8
|
var n = Object.create(null);
|
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
/* convert indexes to properties, so as to work for even 'key1[0].child1'*/
|
|
101
101
|
strKey.replace(/\[(\w+)\]/g, '.$1').split('.').forEach(key => {
|
|
102
102
|
// If obj is null, then assign val to null.
|
|
103
|
-
val = (val && val[key]) || (
|
|
103
|
+
val = (val && val[key]) || (lodashEs.isNull(obj) ? obj : obj[key]);
|
|
104
104
|
});
|
|
105
105
|
return val;
|
|
106
106
|
}
|
|
@@ -135,7 +135,7 @@
|
|
|
135
135
|
// Handling field name with special charecters
|
|
136
136
|
// Ex: field = "f name"
|
|
137
137
|
if (!bindExpr && !expr) {
|
|
138
|
-
return
|
|
138
|
+
return lodashEs.get(dataObj, field);
|
|
139
139
|
}
|
|
140
140
|
return i1.$parseExpr(expressionValue)(context, Object.assign({}, dataObj, { __1: dataObj }));
|
|
141
141
|
};
|
|
@@ -172,12 +172,12 @@
|
|
|
172
172
|
const getOrderByExpr = pageableObj => {
|
|
173
173
|
pageableObj = pageableObj || [];
|
|
174
174
|
const expressions = [], KEY_VAL_SEPARATOR = ' ', FIELD_SEPARATOR = ',';
|
|
175
|
-
|
|
175
|
+
lodashEs.forEach(pageableObj, obj => {
|
|
176
176
|
if (obj.direction) {
|
|
177
177
|
expressions.push(obj.property + KEY_VAL_SEPARATOR + obj.direction.toLowerCase());
|
|
178
178
|
}
|
|
179
179
|
});
|
|
180
|
-
return
|
|
180
|
+
return lodashEs.join(expressions, FIELD_SEPARATOR);
|
|
181
181
|
};
|
|
182
182
|
const isDataSetWidget = widget => {
|
|
183
183
|
return DATASET_WIDGETS.has(widget);
|
|
@@ -267,13 +267,13 @@
|
|
|
267
267
|
modes.string.push('in', 'notin');
|
|
268
268
|
modes.character.push('in', 'notin');
|
|
269
269
|
}
|
|
270
|
-
|
|
271
|
-
|
|
270
|
+
lodashEs.forEach(typesMap, (types, primType) => {
|
|
271
|
+
lodashEs.forEach(types, type => {
|
|
272
272
|
matchModeTypesMap[type] = modes[primType];
|
|
273
273
|
});
|
|
274
274
|
});
|
|
275
275
|
// this is used in filter criteria when the user types the column name manually and where we dont know the type of the column
|
|
276
|
-
matchModeTypesMap['default'] =
|
|
276
|
+
matchModeTypesMap['default'] = lodashEs.union(modes['number'], modes['string'], modes['character'], modes['date'], modes['date']);
|
|
277
277
|
return matchModeTypesMap;
|
|
278
278
|
};
|
|
279
279
|
const getMatchModeMsgs = (appLocale) => {
|
|
@@ -305,14 +305,14 @@
|
|
|
305
305
|
// Returns array of classes that are evaluated true for given object or array
|
|
306
306
|
const getClassesArray = classVal => {
|
|
307
307
|
let classes = [];
|
|
308
|
-
if (
|
|
308
|
+
if (lodashEs.isArray(classVal)) {
|
|
309
309
|
classVal.forEach(v => {
|
|
310
310
|
classes = classes.concat(getClassesArray(v));
|
|
311
311
|
});
|
|
312
312
|
return classes;
|
|
313
313
|
}
|
|
314
|
-
if (
|
|
315
|
-
|
|
314
|
+
if (lodashEs.isObject(classVal)) {
|
|
315
|
+
lodashEs.forEach(classVal, (val, key) => {
|
|
316
316
|
if (val) {
|
|
317
317
|
classes = classes.concat(key.split(' '));
|
|
318
318
|
}
|
|
@@ -326,9 +326,9 @@
|
|
|
326
326
|
// if the conditional class property has already toAdd and toRemove arrays then take that otherwise build those arrays
|
|
327
327
|
const classToAdd = nv.toAdd || nv;
|
|
328
328
|
const classToRemove = nv.toRemove || ov;
|
|
329
|
-
if (
|
|
330
|
-
toAdd =
|
|
331
|
-
toRemove = classToRemove ? (
|
|
329
|
+
if (lodashEs.isObject(nv)) {
|
|
330
|
+
toAdd = lodashEs.isArray(classToAdd) ? classToAdd : getClassesArray(classToAdd || []);
|
|
331
|
+
toRemove = classToRemove ? (lodashEs.isArray(classToRemove) ? classToRemove : getClassesArray(classToRemove)) : [];
|
|
332
332
|
}
|
|
333
333
|
else {
|
|
334
334
|
toAdd = classToAdd ? [classToAdd] : [];
|
|
@@ -343,9 +343,9 @@
|
|
|
343
343
|
if (!options) {
|
|
344
344
|
options = {};
|
|
345
345
|
}
|
|
346
|
-
|
|
347
|
-
if (
|
|
348
|
-
relatedInfo =
|
|
346
|
+
lodashEs.forEach(dataObject, (value, title) => {
|
|
347
|
+
if (lodashEs.includes(title, '.')) {
|
|
348
|
+
relatedInfo = lodashEs.split(title, '.');
|
|
349
349
|
relatedTable = relatedInfo[0];
|
|
350
350
|
relatedField = relatedInfo[1];
|
|
351
351
|
isRelated = true;
|
|
@@ -354,7 +354,7 @@
|
|
|
354
354
|
modifiedTitle = title;
|
|
355
355
|
}
|
|
356
356
|
else {
|
|
357
|
-
if (
|
|
357
|
+
if (lodashEs.isString(title)) {
|
|
358
358
|
modifiedTitle = i1.prettifyLabel(title);
|
|
359
359
|
modifiedTitle = i1.deHyphenate(modifiedTitle);
|
|
360
360
|
modifiedTitle = namePrefix ? i1.initCaps(namePrefix) + ' ' + modifiedTitle : modifiedTitle;
|
|
@@ -366,7 +366,7 @@
|
|
|
366
366
|
title = namePrefix ? namePrefix + '.' + title : title;
|
|
367
367
|
if (isRelated) {
|
|
368
368
|
// For related columns, shorten the title to last two words
|
|
369
|
-
fieldName =
|
|
369
|
+
fieldName = lodashEs.split(modifiedTitle, ' ');
|
|
370
370
|
fieldName = fieldName.length > 1 ? fieldName[fieldName.length - 2] + ' ' + fieldName[fieldName.length - 1] : fieldName[0];
|
|
371
371
|
}
|
|
372
372
|
else {
|
|
@@ -375,7 +375,7 @@
|
|
|
375
375
|
const defObj = options.setBindingField ? { 'displayName': fieldName, 'field': title, 'relatedTable': relatedTable, 'relatedField': relatedField || modifiedTitle }
|
|
376
376
|
: { 'displayName': fieldName, 'relatedTable': relatedTable, 'relatedField': relatedField || modifiedTitle };
|
|
377
377
|
/*if field is a leaf node, push it in the columnDefs*/
|
|
378
|
-
if (!
|
|
378
|
+
if (!lodashEs.isObject(value) || (lodashEs.isArray(value) && !value[0])) {
|
|
379
379
|
/*if the column counter has reached upperBound return*/
|
|
380
380
|
if (options.upperBound && options.columnCount === options.upperBound) {
|
|
381
381
|
return;
|
|
@@ -391,7 +391,7 @@
|
|
|
391
391
|
columnDefObj.objects.push(defObj);
|
|
392
392
|
}
|
|
393
393
|
/* if field is an array node, process its first child */
|
|
394
|
-
if (
|
|
394
|
+
if (lodashEs.isArray(value) && value[0]) {
|
|
395
395
|
pushFieldDef(value[0], columnDefObj, title + '[0]', options);
|
|
396
396
|
}
|
|
397
397
|
else {
|
|
@@ -402,17 +402,17 @@
|
|
|
402
402
|
};
|
|
403
403
|
const getMetaDataFromData = (data) => {
|
|
404
404
|
let dataObject;
|
|
405
|
-
if (
|
|
406
|
-
if (
|
|
405
|
+
if (lodashEs.isArray(data)) {
|
|
406
|
+
if (lodashEs.isObject(data[0])) {
|
|
407
407
|
dataObject = i1.getClonedObject(data[0]);
|
|
408
408
|
/*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.
|
|
409
409
|
* As column generation is dependent on data, for related fields if first row value is null, columns are not generated.
|
|
410
410
|
* To prevent this, check the data in other rows and generate the columns. New keys from others rows are also added*/
|
|
411
|
-
|
|
411
|
+
lodashEs.forEach(data, (row, index) => {
|
|
412
412
|
if ((index + 1) >= 10) { // Limit the data search to first 10 records
|
|
413
413
|
return false;
|
|
414
414
|
}
|
|
415
|
-
|
|
415
|
+
lodashEs.assignWith(dataObject, row, (objValue, srcValue) => {
|
|
416
416
|
return (objValue === null || objValue === undefined) ? srcValue : objValue;
|
|
417
417
|
});
|
|
418
418
|
});
|
|
@@ -801,7 +801,7 @@
|
|
|
801
801
|
if (isDimensionProp(key)) {
|
|
802
802
|
nv = i1.toDimension(nv);
|
|
803
803
|
}
|
|
804
|
-
else if (
|
|
804
|
+
else if (lodashEs.startsWith(nv, 'resources/')) {
|
|
805
805
|
const ref = component;
|
|
806
806
|
if (ref._parentPrefab_ === undefined) {
|
|
807
807
|
ref._parentPrefab_ = component.$element.parent().closest('[prefabname][prefabname!="__self__"]').attr('prefabname') || '';
|
|
@@ -842,7 +842,7 @@
|
|
|
842
842
|
},
|
|
843
843
|
get: (target, key) => {
|
|
844
844
|
const v = target[key];
|
|
845
|
-
if (
|
|
845
|
+
if (lodashEs.isFunction(v)) { // bind the proper context for the methods
|
|
846
846
|
return v.bind(target);
|
|
847
847
|
}
|
|
848
848
|
return v;
|
|
@@ -871,7 +871,7 @@
|
|
|
871
871
|
// bind proper context for the methods
|
|
872
872
|
invokeLater(() => {
|
|
873
873
|
for (const key in instance) {
|
|
874
|
-
if (
|
|
874
|
+
if (lodashEs.isFunction(instance[key]) && key !== 'constructor' && key !== 'super' && !lodashEs.startsWith(key, 'ng')) {
|
|
875
875
|
instance[key] = instance[key].bind(instance);
|
|
876
876
|
}
|
|
877
877
|
}
|
|
@@ -902,21 +902,21 @@
|
|
|
902
902
|
// Gets list of classes to add and remove and applies on the $el
|
|
903
903
|
const updateClasses = (toAdd, toRemove, el) => {
|
|
904
904
|
if (toRemove && toRemove.length) {
|
|
905
|
-
i1.removeClass(el,
|
|
905
|
+
i1.removeClass(el, lodashEs.join(toRemove, ' '));
|
|
906
906
|
}
|
|
907
907
|
if (toAdd && toAdd.length) {
|
|
908
|
-
i1.addClass(el,
|
|
908
|
+
i1.addClass(el, lodashEs.join(toAdd, ' '));
|
|
909
909
|
}
|
|
910
910
|
};
|
|
911
911
|
// To add and remove styles on the $el
|
|
912
912
|
const updateStyles = (nv, ov, el) => {
|
|
913
|
-
if (ov &&
|
|
913
|
+
if (ov && lodashEs.isObject(ov)) {
|
|
914
914
|
const keys = Object.keys(ov || {});
|
|
915
915
|
keys.forEach(function (key) {
|
|
916
916
|
i1.setCSS(el, key, '');
|
|
917
917
|
});
|
|
918
918
|
}
|
|
919
|
-
if (nv &&
|
|
919
|
+
if (nv && lodashEs.isObject(nv)) {
|
|
920
920
|
i1.setCSSFromObj(el, nv);
|
|
921
921
|
}
|
|
922
922
|
};
|
|
@@ -927,7 +927,7 @@
|
|
|
927
927
|
get $element() {
|
|
928
928
|
return $(this.nativeElement);
|
|
929
929
|
}
|
|
930
|
-
constructor(inj, config, initPromise // Promise on which the initialization has to wait
|
|
930
|
+
constructor(inj, config, explicitContext, initPromise // Promise on which the initialization has to wait
|
|
931
931
|
) {
|
|
932
932
|
this.inj = inj;
|
|
933
933
|
this.isAttached = false;
|
|
@@ -959,6 +959,7 @@
|
|
|
959
959
|
this.__cloneable__ = false;
|
|
960
960
|
this.$attrs = new Map();
|
|
961
961
|
this.isMuted = false;
|
|
962
|
+
this.customInjectorMap = {};
|
|
962
963
|
const elementRef = inj.get(i0.ElementRef);
|
|
963
964
|
this.nativeElement = elementRef.nativeElement;
|
|
964
965
|
//making the code compatible in both the JIT and AOT modes
|
|
@@ -1011,6 +1012,7 @@
|
|
|
1011
1012
|
i1.addClass(this.nativeElement, config.hostClass);
|
|
1012
1013
|
}
|
|
1013
1014
|
this.widgetId = this.generateWidgetId();
|
|
1015
|
+
this.trackId = this.generateWidgetId();
|
|
1014
1016
|
i1.setAttr(this.nativeElement, 'widget-id', this.widgetId, true);
|
|
1015
1017
|
// register default property change handler and style change handler
|
|
1016
1018
|
this.registerStyleChangeListener(this.onStyleChange, this);
|
|
@@ -1026,6 +1028,9 @@
|
|
|
1026
1028
|
this.setInitProps();
|
|
1027
1029
|
});
|
|
1028
1030
|
}
|
|
1031
|
+
if (explicitContext) {
|
|
1032
|
+
lodashEs.extend(this.context, explicitContext);
|
|
1033
|
+
}
|
|
1029
1034
|
}
|
|
1030
1035
|
getNativeElement() {
|
|
1031
1036
|
return this.nativeElement;
|
|
@@ -1098,8 +1103,8 @@
|
|
|
1098
1103
|
}
|
|
1099
1104
|
if (parentContexts) {
|
|
1100
1105
|
let parentContextObj = {};
|
|
1101
|
-
if (
|
|
1102
|
-
|
|
1106
|
+
if (lodashEs.isArray(parentContexts)) {
|
|
1107
|
+
lodashEs.forEach(parentContexts, (contextObj) => {
|
|
1103
1108
|
Object.assign(parentContextObj, contextObj);
|
|
1104
1109
|
});
|
|
1105
1110
|
}
|
|
@@ -1257,7 +1262,7 @@
|
|
|
1257
1262
|
this.eventHandlers.set(this.getMappedEventName(eventName), { callback: eventCallback, locals });
|
|
1258
1263
|
// prepend eventName with on and convert it to camelcase.
|
|
1259
1264
|
// eg, "click" ---> onClick
|
|
1260
|
-
const onEventName =
|
|
1265
|
+
const onEventName = lodashEs.camelCase(`on-${eventName}`);
|
|
1261
1266
|
// save the eventCallback in widgetScope.
|
|
1262
1267
|
this[onEventName] = eventCallback;
|
|
1263
1268
|
// events needs to be setup after viewInit
|
|
@@ -1337,7 +1342,7 @@
|
|
|
1337
1342
|
if (_tNodeAttrs === null) {
|
|
1338
1343
|
return actualAttrs.sort();
|
|
1339
1344
|
}
|
|
1340
|
-
|
|
1345
|
+
lodashEs.forEach(_tNodeAttrs, (attr, i) => {
|
|
1341
1346
|
if (typeof attr === 'number') {
|
|
1342
1347
|
return false;
|
|
1343
1348
|
}
|
|
@@ -1362,7 +1367,7 @@
|
|
|
1362
1367
|
* Process the attributes
|
|
1363
1368
|
*/
|
|
1364
1369
|
processAttrs() {
|
|
1365
|
-
|
|
1370
|
+
lodashEs.map(this.getAttributes(), (attrName) => {
|
|
1366
1371
|
let attrValue = this.nativeElement.attributes[attrName].value;
|
|
1367
1372
|
this.$attrs.set(attrName, attrValue);
|
|
1368
1373
|
this.processAttr(attrName, attrValue);
|
|
@@ -1438,6 +1443,28 @@
|
|
|
1438
1443
|
unmute() {
|
|
1439
1444
|
this.isMuted = false;
|
|
1440
1445
|
}
|
|
1446
|
+
/**
|
|
1447
|
+
* After the Angular 17 upgrade, Angular is no longer sending ngTemplateContext to components in ng-template.
|
|
1448
|
+
* Wavemaker widgets inside ng-template require context to evaluate bind expressions.
|
|
1449
|
+
* So we're creating an injectionToken that returns the context as a value.
|
|
1450
|
+
* We are passing the injectionToken to the ngTemplateOutletInjector.
|
|
1451
|
+
* This injects the context into each widget in the ng-template.
|
|
1452
|
+
* In the widget component constructor we are getting the injectionToken using dependency injection.
|
|
1453
|
+
* If injectionToken is present, we extend the component context with the value of injectionToken.
|
|
1454
|
+
* @param contextKey
|
|
1455
|
+
* @param context
|
|
1456
|
+
* @returns injector
|
|
1457
|
+
*/
|
|
1458
|
+
createCustomInjector(contextKey, context) {
|
|
1459
|
+
if (this.customInjectorMap[contextKey]) {
|
|
1460
|
+
return this.customInjectorMap[contextKey].injector;
|
|
1461
|
+
}
|
|
1462
|
+
const injector = i0.Injector.create({
|
|
1463
|
+
providers: [{ provide: 'EXPLICIT_CONTEXT', useFactory: () => context }]
|
|
1464
|
+
});
|
|
1465
|
+
this.customInjectorMap[contextKey] = { context, injector };
|
|
1466
|
+
return injector;
|
|
1467
|
+
}
|
|
1441
1468
|
/**
|
|
1442
1469
|
* After the host page is attached from cache, this function is called.
|
|
1443
1470
|
*/
|
|
@@ -1481,21 +1508,26 @@
|
|
|
1481
1508
|
this.destroy.complete();
|
|
1482
1509
|
this.isAttached = false;
|
|
1483
1510
|
}
|
|
1484
|
-
static { this.ɵfac = function BaseComponent_Factory(t) { return new (t || BaseComponent)(i0__namespace.ɵɵinject(i0__namespace.Injector), i0__namespace.ɵɵinject(WidgetConfig), i0__namespace.ɵɵinject(Promise)); }; }
|
|
1511
|
+
static { this.ɵfac = function BaseComponent_Factory(t) { return new (t || BaseComponent)(i0__namespace.ɵɵinject(i0__namespace.Injector), i0__namespace.ɵɵinject(WidgetConfig), i0__namespace.ɵɵinject('EXPLICIT_CONTEXT', 8), i0__namespace.ɵɵinject(Promise)); }; }
|
|
1485
1512
|
static { this.ɵprov = /*@__PURE__*/ i0__namespace.ɵɵdefineInjectable({ token: BaseComponent, factory: BaseComponent.ɵfac }); }
|
|
1486
1513
|
}
|
|
1487
|
-
(
|
|
1514
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(BaseComponent, [{
|
|
1488
1515
|
type: i0.Injectable
|
|
1489
|
-
}],
|
|
1516
|
+
}], () => [{ type: i0__namespace.Injector }, { type: undefined, decorators: [{
|
|
1490
1517
|
type: i0.Inject,
|
|
1491
1518
|
args: [WidgetConfig]
|
|
1492
|
-
}] }, { type:
|
|
1519
|
+
}] }, { type: undefined, decorators: [{
|
|
1520
|
+
type: i0.Inject,
|
|
1521
|
+
args: ['EXPLICIT_CONTEXT']
|
|
1522
|
+
}, {
|
|
1523
|
+
type: i0.Optional
|
|
1524
|
+
}] }, { type: Promise }], null); })();
|
|
1493
1525
|
|
|
1494
1526
|
class StylableComponent extends BaseComponent {
|
|
1495
|
-
static { this.ɵfac = /*@__PURE__*/
|
|
1527
|
+
static { this.ɵfac = /*@__PURE__*/ (() => { let ɵStylableComponent_BaseFactory; return function StylableComponent_Factory(t) { return (ɵStylableComponent_BaseFactory || (ɵStylableComponent_BaseFactory = i0__namespace.ɵɵgetInheritedFactory(StylableComponent)))(t || StylableComponent); }; })(); }
|
|
1496
1528
|
static { this.ɵprov = /*@__PURE__*/ i0__namespace.ɵɵdefineInjectable({ token: StylableComponent, factory: StylableComponent.ɵfac }); }
|
|
1497
1529
|
}
|
|
1498
|
-
(
|
|
1530
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(StylableComponent, [{
|
|
1499
1531
|
type: i0.Injectable
|
|
1500
1532
|
}], null, null); })();
|
|
1501
1533
|
|
|
@@ -1513,26 +1545,26 @@
|
|
|
1513
1545
|
static { this.ɵfac = function RedrawableDirective_Factory(t) { return new (t || RedrawableDirective)(i0__namespace.ɵɵdirectiveInject(WidgetRef, 2)); }; }
|
|
1514
1546
|
static { this.ɵdir = /*@__PURE__*/ i0__namespace.ɵɵdefineDirective({ type: RedrawableDirective, selectors: [["", "redrawable", ""]] }); }
|
|
1515
1547
|
}
|
|
1516
|
-
(
|
|
1548
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(RedrawableDirective, [{
|
|
1517
1549
|
type: i0.Directive,
|
|
1518
1550
|
args: [{
|
|
1519
1551
|
selector: '[redrawable]'
|
|
1520
1552
|
}]
|
|
1521
|
-
}],
|
|
1553
|
+
}], () => [{ type: undefined, decorators: [{
|
|
1522
1554
|
type: i0.Self
|
|
1523
1555
|
}, {
|
|
1524
1556
|
type: i0.Inject,
|
|
1525
1557
|
args: [WidgetRef]
|
|
1526
|
-
}] }]
|
|
1558
|
+
}] }], null); })();
|
|
1527
1559
|
|
|
1528
1560
|
class BaseContainerComponent extends StylableComponent {
|
|
1529
|
-
constructor(inj, WIDGET_CONFIG) {
|
|
1530
|
-
super(inj, WIDGET_CONFIG);
|
|
1561
|
+
constructor(inj, WIDGET_CONFIG, explicitContext) {
|
|
1562
|
+
super(inj, WIDGET_CONFIG, explicitContext);
|
|
1531
1563
|
}
|
|
1532
1564
|
updateRedrawableComponents(widgets) {
|
|
1533
|
-
|
|
1565
|
+
lodashEs.pickBy(widgets, widget => {
|
|
1534
1566
|
// check for redrawable widget and whether it is already exist in reDrawableComponents query list or not
|
|
1535
|
-
if (widget && widget.nativeElement && widget.nativeElement.hasAttribute('redrawable') && !
|
|
1567
|
+
if (widget && widget.nativeElement && widget.nativeElement.hasAttribute('redrawable') && !lodashEs.includes(this.reDrawableComponents._results, widget)) {
|
|
1536
1568
|
this.reDrawableComponents._results.push(widget);
|
|
1537
1569
|
}
|
|
1538
1570
|
if (widget && widget.Widgets) {
|
|
@@ -1567,9 +1599,9 @@
|
|
|
1567
1599
|
i0__namespace.ɵɵqueryRefresh(_t = i0__namespace.ɵɵloadQuery()) && (ctx.reDrawableComponents = _t);
|
|
1568
1600
|
} }, features: [i0__namespace.ɵɵInheritDefinitionFeature] }); }
|
|
1569
1601
|
}
|
|
1570
|
-
(
|
|
1602
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(BaseContainerComponent, [{
|
|
1571
1603
|
type: i0.Directive
|
|
1572
|
-
}],
|
|
1604
|
+
}], () => [{ type: i0__namespace.Injector }, { type: undefined }, { type: undefined }], { reDrawableComponents: [{
|
|
1573
1605
|
type: i0.ContentChildren,
|
|
1574
1606
|
args: [RedrawableDirective, { descendants: true }]
|
|
1575
1607
|
}] }); })();
|
|
@@ -1581,17 +1613,17 @@
|
|
|
1581
1613
|
};
|
|
1582
1614
|
class ContainerDirective extends BaseContainerComponent {
|
|
1583
1615
|
static { this.initializeProps = registerProps$4(); }
|
|
1584
|
-
constructor(inj) {
|
|
1585
|
-
super(inj, WIDGET_CONFIG$4);
|
|
1616
|
+
constructor(inj, explicitContext) {
|
|
1617
|
+
super(inj, WIDGET_CONFIG$4, explicitContext);
|
|
1586
1618
|
i1.addClass(this.nativeElement, DEFAULT_CLS$3);
|
|
1587
1619
|
styler(this.nativeElement, this, exports.APPLY_STYLES_TYPE.CONTAINER);
|
|
1588
1620
|
}
|
|
1589
|
-
static { this.ɵfac = function ContainerDirective_Factory(t) { return new (t || ContainerDirective)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector)); }; }
|
|
1621
|
+
static { this.ɵfac = function ContainerDirective_Factory(t) { return new (t || ContainerDirective)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵdirectiveInject('EXPLICIT_CONTEXT', 8)); }; }
|
|
1590
1622
|
static { this.ɵdir = /*@__PURE__*/ i0__namespace.ɵɵdefineDirective({ type: ContainerDirective, selectors: [["", "wmContainer", ""]], features: [i0__namespace.ɵɵProvidersFeature([
|
|
1591
1623
|
provideAsWidgetRef(ContainerDirective)
|
|
1592
1624
|
]), i0__namespace.ɵɵInheritDefinitionFeature] }); }
|
|
1593
1625
|
}
|
|
1594
|
-
(
|
|
1626
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(ContainerDirective, [{
|
|
1595
1627
|
type: i0.Directive,
|
|
1596
1628
|
args: [{
|
|
1597
1629
|
selector: '[wmContainer]',
|
|
@@ -1599,7 +1631,12 @@
|
|
|
1599
1631
|
provideAsWidgetRef(ContainerDirective)
|
|
1600
1632
|
]
|
|
1601
1633
|
}]
|
|
1602
|
-
}],
|
|
1634
|
+
}], () => [{ type: i0__namespace.Injector }, { type: undefined, decorators: [{
|
|
1635
|
+
type: i0.Inject,
|
|
1636
|
+
args: ['EXPLICIT_CONTEXT']
|
|
1637
|
+
}, {
|
|
1638
|
+
type: i0.Optional
|
|
1639
|
+
}] }], null); })();
|
|
1603
1640
|
|
|
1604
1641
|
class ImagePipe {
|
|
1605
1642
|
transform(url, encode, defaultImageUrl) {
|
|
@@ -1608,7 +1645,7 @@
|
|
|
1608
1645
|
static { this.ɵfac = function ImagePipe_Factory(t) { return new (t || ImagePipe)(); }; }
|
|
1609
1646
|
static { this.ɵpipe = /*@__PURE__*/ i0__namespace.ɵɵdefinePipe({ name: "image", type: ImagePipe, pure: true }); }
|
|
1610
1647
|
}
|
|
1611
|
-
(
|
|
1648
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(ImagePipe, [{
|
|
1612
1649
|
type: i0.Pipe,
|
|
1613
1650
|
args: [{
|
|
1614
1651
|
name: 'image'
|
|
@@ -1641,8 +1678,8 @@
|
|
|
1641
1678
|
set wmItemTemplate(value) {
|
|
1642
1679
|
this.widget.content = value;
|
|
1643
1680
|
}
|
|
1644
|
-
constructor(inj, elRef, app) {
|
|
1645
|
-
super(inj, WIDGET_CONFIG$3);
|
|
1681
|
+
constructor(inj, elRef, app, explicitContext) {
|
|
1682
|
+
super(inj, WIDGET_CONFIG$3, explicitContext);
|
|
1646
1683
|
this.app = app;
|
|
1647
1684
|
this.nativeElement = elRef.nativeElement;
|
|
1648
1685
|
// this.context = (<NgForOfContext<ItemTemplateDirective>>(<any>inj).view.context);
|
|
@@ -1652,12 +1689,12 @@
|
|
|
1652
1689
|
super.ngOnInit();
|
|
1653
1690
|
this.partialParams.item = this.userComponentParams.dataObject;
|
|
1654
1691
|
}
|
|
1655
|
-
static { this.ɵfac = function ItemTemplateDirective_Factory(t) { return new (t || ItemTemplateDirective)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵdirectiveInject(i0__namespace.ElementRef), i0__namespace.ɵɵdirectiveInject(i1__namespace.App)); }; }
|
|
1692
|
+
static { this.ɵfac = function ItemTemplateDirective_Factory(t) { return new (t || ItemTemplateDirective)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵdirectiveInject(i0__namespace.ElementRef), i0__namespace.ɵɵdirectiveInject(i1__namespace.App), i0__namespace.ɵɵdirectiveInject('EXPLICIT_CONTEXT', 8)); }; }
|
|
1656
1693
|
static { this.ɵdir = /*@__PURE__*/ i0__namespace.ɵɵdefineDirective({ type: ItemTemplateDirective, selectors: [["", "wmItemTemplate", ""]], inputs: { userComponentParams: "userComponentParams", wmItemTemplate: "wmItemTemplate" }, exportAs: ["itemTemplateRef"], features: [i0__namespace.ɵɵProvidersFeature([
|
|
1657
1694
|
provideAsWidgetRef(ItemTemplateDirective)
|
|
1658
1695
|
]), i0__namespace.ɵɵInheritDefinitionFeature] }); }
|
|
1659
1696
|
}
|
|
1660
|
-
(
|
|
1697
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(ItemTemplateDirective, [{
|
|
1661
1698
|
type: i0.Directive,
|
|
1662
1699
|
args: [{
|
|
1663
1700
|
selector: '[wmItemTemplate]',
|
|
@@ -1666,7 +1703,12 @@
|
|
|
1666
1703
|
provideAsWidgetRef(ItemTemplateDirective)
|
|
1667
1704
|
]
|
|
1668
1705
|
}]
|
|
1669
|
-
}],
|
|
1706
|
+
}], () => [{ type: i0__namespace.Injector }, { type: i0__namespace.ElementRef }, { type: i1__namespace.App }, { type: undefined, decorators: [{
|
|
1707
|
+
type: i0.Inject,
|
|
1708
|
+
args: ['EXPLICIT_CONTEXT']
|
|
1709
|
+
}, {
|
|
1710
|
+
type: i0.Optional
|
|
1711
|
+
}] }], { userComponentParams: [{
|
|
1670
1712
|
type: i0.Input
|
|
1671
1713
|
}], wmItemTemplate: [{
|
|
1672
1714
|
type: i0.Input
|
|
@@ -1685,29 +1727,36 @@
|
|
|
1685
1727
|
};
|
|
1686
1728
|
class RepeatTemplateDirective extends StylableComponent {
|
|
1687
1729
|
static { this.initializeProps = registerProps$2(); }
|
|
1688
|
-
constructor(inj) {
|
|
1689
|
-
super(inj, WIDGET_CONFIG$2);
|
|
1730
|
+
constructor(inj, explicitContext) {
|
|
1731
|
+
super(inj, WIDGET_CONFIG$2, explicitContext);
|
|
1690
1732
|
styler(this.nativeElement, this);
|
|
1691
1733
|
}
|
|
1692
|
-
static { this.ɵfac = function RepeatTemplateDirective_Factory(t) { return new (t || RepeatTemplateDirective)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector)); }; }
|
|
1693
|
-
static { this.ɵdir = /*@__PURE__*/ i0__namespace.ɵɵdefineDirective({ type: RepeatTemplateDirective, selectors: [["", "wmRepeatTemplate", ""]], features: [i0__namespace.ɵɵInheritDefinitionFeature] }); }
|
|
1734
|
+
static { this.ɵfac = function RepeatTemplateDirective_Factory(t) { return new (t || RepeatTemplateDirective)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵdirectiveInject('EXPLICIT_CONTEXT', 8)); }; }
|
|
1735
|
+
static { this.ɵdir = /*@__PURE__*/ i0__namespace.ɵɵdefineDirective({ type: RepeatTemplateDirective, selectors: [["", "wmRepeatTemplate", ""]], exportAs: ["repeatItemRef"], features: [i0__namespace.ɵɵInheritDefinitionFeature] }); }
|
|
1694
1736
|
}
|
|
1695
|
-
(
|
|
1737
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(RepeatTemplateDirective, [{
|
|
1696
1738
|
type: i0.Directive,
|
|
1697
1739
|
args: [{
|
|
1698
|
-
selector: '[wmRepeatTemplate]'
|
|
1740
|
+
selector: '[wmRepeatTemplate]',
|
|
1741
|
+
exportAs: 'repeatItemRef'
|
|
1699
1742
|
}]
|
|
1700
|
-
}],
|
|
1743
|
+
}], () => [{ type: i0__namespace.Injector }, { type: undefined, decorators: [{
|
|
1744
|
+
type: i0.Inject,
|
|
1745
|
+
args: ['EXPLICIT_CONTEXT']
|
|
1746
|
+
}, {
|
|
1747
|
+
type: i0.Optional
|
|
1748
|
+
}] }], null); })();
|
|
1701
1749
|
|
|
1702
1750
|
class LazyLoadDirective {
|
|
1703
|
-
constructor(inj, templateRef, viewContainer) {
|
|
1751
|
+
constructor(inj, templateRef, viewContainer, explicitContext = {}) {
|
|
1704
1752
|
this.templateRef = templateRef;
|
|
1705
1753
|
this.viewContainer = viewContainer;
|
|
1754
|
+
this.context = {};
|
|
1706
1755
|
let viewParentApp = inj ? inj.get(i1.App) : i0.inject(i1.App);
|
|
1707
1756
|
let lView = inj._lView;
|
|
1708
1757
|
this.viewParent = i1.findParent(lView, viewParentApp);
|
|
1709
1758
|
//this.context = (inj as any).view.context;
|
|
1710
|
-
this.context
|
|
1759
|
+
lodashEs.extend(this.context, inj._lView[8], explicitContext);
|
|
1711
1760
|
}
|
|
1712
1761
|
set lazyLoad(expr) {
|
|
1713
1762
|
this.unSubscribeFn = i1.$watch(expr, this.viewParent, this.context, (val) => {
|
|
@@ -1720,15 +1769,20 @@
|
|
|
1720
1769
|
ngOnDestroy() {
|
|
1721
1770
|
this.unSubscribeFn();
|
|
1722
1771
|
}
|
|
1723
|
-
static { this.ɵfac = function LazyLoadDirective_Factory(t) { return new (t || LazyLoadDirective)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵdirectiveInject(i0__namespace.TemplateRef), i0__namespace.ɵɵdirectiveInject(i0__namespace.ViewContainerRef)); }; }
|
|
1772
|
+
static { this.ɵfac = function LazyLoadDirective_Factory(t) { return new (t || LazyLoadDirective)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵdirectiveInject(i0__namespace.TemplateRef), i0__namespace.ɵɵdirectiveInject(i0__namespace.ViewContainerRef), i0__namespace.ɵɵdirectiveInject('EXPLICIT_CONTEXT', 8)); }; }
|
|
1724
1773
|
static { this.ɵdir = /*@__PURE__*/ i0__namespace.ɵɵdefineDirective({ type: LazyLoadDirective, selectors: [["", "lazyLoad", ""]], inputs: { lazyLoad: "lazyLoad" } }); }
|
|
1725
1774
|
}
|
|
1726
|
-
(
|
|
1775
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(LazyLoadDirective, [{
|
|
1727
1776
|
type: i0.Directive,
|
|
1728
1777
|
args: [{
|
|
1729
1778
|
selector: '[lazyLoad]'
|
|
1730
1779
|
}]
|
|
1731
|
-
}],
|
|
1780
|
+
}], () => [{ type: i0__namespace.Injector }, { type: i0__namespace.TemplateRef }, { type: i0__namespace.ViewContainerRef }, { type: undefined, decorators: [{
|
|
1781
|
+
type: i0.Inject,
|
|
1782
|
+
args: ['EXPLICIT_CONTEXT']
|
|
1783
|
+
}, {
|
|
1784
|
+
type: i0.Optional
|
|
1785
|
+
}] }], { lazyLoad: [{
|
|
1732
1786
|
type: i0.Input
|
|
1733
1787
|
}] }); })();
|
|
1734
1788
|
|
|
@@ -1749,8 +1803,8 @@
|
|
|
1749
1803
|
const WIDGET_CONFIG$1 = { widgetType: 'wm-message', hostClass: DEFAULT_CLS$1 };
|
|
1750
1804
|
class MessageComponent extends StylableComponent {
|
|
1751
1805
|
static { this.initializeProps = registerProps$1(); }
|
|
1752
|
-
constructor(inj) {
|
|
1753
|
-
super(inj, WIDGET_CONFIG$1);
|
|
1806
|
+
constructor(inj, explicitContext) {
|
|
1807
|
+
super(inj, WIDGET_CONFIG$1, explicitContext);
|
|
1754
1808
|
this.messageClass = '';
|
|
1755
1809
|
this.messageIconClass = '';
|
|
1756
1810
|
this.type = '';
|
|
@@ -1809,10 +1863,10 @@
|
|
|
1809
1863
|
super.onPropertyChange(key, nv, ov);
|
|
1810
1864
|
}
|
|
1811
1865
|
}
|
|
1812
|
-
static { this.ɵfac = function MessageComponent_Factory(t) { return new (t || MessageComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector)); }; }
|
|
1866
|
+
static { this.ɵfac = function MessageComponent_Factory(t) { return new (t || MessageComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵdirectiveInject('EXPLICIT_CONTEXT', 8)); }; }
|
|
1813
1867
|
static { this.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: MessageComponent, selectors: [["", "wmMessage", ""]], exportAs: ["wmMessage"], features: [i0__namespace.ɵɵProvidersFeature([
|
|
1814
1868
|
provideAsWidgetRef(MessageComponent)
|
|
1815
|
-
]), i0__namespace.ɵɵ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, "
|
|
1869
|
+
]), i0__namespace.ɵɵ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) {
|
|
1816
1870
|
i0__namespace.ɵɵelement(0, "i", 0)(1, "span", 1);
|
|
1817
1871
|
i0__namespace.ɵɵelementStart(2, "button", 2);
|
|
1818
1872
|
i0__namespace.ɵɵlistener("click", function MessageComponent_Template_button_click_2_listener($event) { return ctx.dismiss($event); });
|
|
@@ -1822,18 +1876,24 @@
|
|
|
1822
1876
|
} if (rf & 2) {
|
|
1823
1877
|
i0__namespace.ɵɵclassMapInterpolate2("icon ", ctx.type, " ", ctx.messageIconClass, "");
|
|
1824
1878
|
i0__namespace.ɵɵproperty("title", ctx.type + "Alert");
|
|
1825
|
-
i0__namespace.ɵɵadvance(
|
|
1879
|
+
i0__namespace.ɵɵadvance();
|
|
1826
1880
|
i0__namespace.ɵɵproperty("innerHtml", ctx.caption, i0__namespace.ɵɵsanitizeHtml);
|
|
1827
|
-
i0__namespace.ɵɵadvance(
|
|
1881
|
+
i0__namespace.ɵɵadvance();
|
|
1828
1882
|
i0__namespace.ɵɵproperty("hidden", ctx.hideclose);
|
|
1829
1883
|
} }, encapsulation: 2 }); }
|
|
1830
1884
|
}
|
|
1831
|
-
(
|
|
1885
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(MessageComponent, [{
|
|
1832
1886
|
type: i0.Component,
|
|
1833
1887
|
args: [{ selector: '[wmMessage]', providers: [
|
|
1834
1888
|
provideAsWidgetRef(MessageComponent)
|
|
1835
1889
|
], 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" }]
|
|
1836
|
-
}],
|
|
1890
|
+
}], () => [{ type: i0__namespace.Injector }, { type: undefined, decorators: [{
|
|
1891
|
+
type: i0.Inject,
|
|
1892
|
+
args: ['EXPLICIT_CONTEXT']
|
|
1893
|
+
}, {
|
|
1894
|
+
type: i0.Optional
|
|
1895
|
+
}] }], null); })();
|
|
1896
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassDebugInfo(MessageComponent, { className: "MessageComponent", filePath: "widgets/common/message/message.component.ts", lineNumber: 22 }); })();
|
|
1837
1897
|
|
|
1838
1898
|
const registerProps = () => {
|
|
1839
1899
|
register$1('wm-partial', new Map([
|
|
@@ -1845,14 +1905,14 @@
|
|
|
1845
1905
|
const WIDGET_CONFIG = { widgetType: 'wm-partial', hostClass: DEFAULT_CLS };
|
|
1846
1906
|
class PartialDirective extends StylableComponent {
|
|
1847
1907
|
static { this.initializeProps = registerProps(); }
|
|
1848
|
-
constructor(inj, viewport) {
|
|
1849
|
-
super(inj, WIDGET_CONFIG);
|
|
1908
|
+
constructor(inj, viewport, explicitContext) {
|
|
1909
|
+
super(inj, WIDGET_CONFIG, explicitContext);
|
|
1850
1910
|
this.viewport = viewport;
|
|
1851
1911
|
this.registerDestroyListener(this.viewport.subscribe("resize" /* ViewportEvent.RESIZE */, data => this.callback('resize', data)));
|
|
1852
1912
|
this.registerDestroyListener(this.viewport.subscribe("orientationchange" /* ViewportEvent.ORIENTATION_CHANGE */, data => this.callback('orientationchange', data)));
|
|
1853
1913
|
}
|
|
1854
1914
|
callback(eventName, locals) {
|
|
1855
|
-
locals =
|
|
1915
|
+
locals = lodashEs.assign({ widget: this }, locals);
|
|
1856
1916
|
this.invokeEventCallback(eventName, locals);
|
|
1857
1917
|
}
|
|
1858
1918
|
ngOnAttach() {
|
|
@@ -1865,12 +1925,12 @@
|
|
|
1865
1925
|
this.callback('destroy');
|
|
1866
1926
|
super.ngOnDestroy();
|
|
1867
1927
|
}
|
|
1868
|
-
static { this.ɵfac = function PartialDirective_Factory(t) { return new (t || PartialDirective)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵdirectiveInject(i1__namespace.Viewport)); }; }
|
|
1928
|
+
static { this.ɵfac = function PartialDirective_Factory(t) { return new (t || PartialDirective)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵdirectiveInject(i1__namespace.Viewport), i0__namespace.ɵɵdirectiveInject('EXPLICIT_CONTEXT', 8)); }; }
|
|
1869
1929
|
static { this.ɵdir = /*@__PURE__*/ i0__namespace.ɵɵdefineDirective({ type: PartialDirective, selectors: [["", "wmPartial", ""]], features: [i0__namespace.ɵɵProvidersFeature([
|
|
1870
1930
|
provideAsWidgetRef(PartialDirective)
|
|
1871
1931
|
]), i0__namespace.ɵɵInheritDefinitionFeature] }); }
|
|
1872
1932
|
}
|
|
1873
|
-
(
|
|
1933
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(PartialDirective, [{
|
|
1874
1934
|
type: i0.Directive,
|
|
1875
1935
|
args: [{
|
|
1876
1936
|
selector: '[wmPartial]',
|
|
@@ -1878,7 +1938,12 @@
|
|
|
1878
1938
|
provideAsWidgetRef(PartialDirective)
|
|
1879
1939
|
]
|
|
1880
1940
|
}]
|
|
1881
|
-
}],
|
|
1941
|
+
}], () => [{ type: i0__namespace.Injector }, { type: i1__namespace.Viewport }, { type: undefined, decorators: [{
|
|
1942
|
+
type: i0.Inject,
|
|
1943
|
+
args: ['EXPLICIT_CONTEXT']
|
|
1944
|
+
}, {
|
|
1945
|
+
type: i0.Optional
|
|
1946
|
+
}] }], null); })();
|
|
1882
1947
|
|
|
1883
1948
|
class PartialParamHandlerDirective {
|
|
1884
1949
|
constructor(widgetRef) {
|
|
@@ -1892,7 +1957,7 @@
|
|
|
1892
1957
|
if (!value && bindExpr) {
|
|
1893
1958
|
this.widgetRef.registerDestroyListener(
|
|
1894
1959
|
//[Todo-CSP]: expr fn should be generated be default
|
|
1895
|
-
i1.$watch(bindExpr, this.widgetRef.getViewParent(),
|
|
1960
|
+
i1.$watch(bindExpr, this.widgetRef.getViewParent(), lodashEs.get(this.widgetRef, 'context'), nv => {
|
|
1896
1961
|
this.widgetRef.partialParams[name] = nv;
|
|
1897
1962
|
// notify the partial container of the param changes
|
|
1898
1963
|
this.widgetRef.params$.next();
|
|
@@ -1905,17 +1970,17 @@
|
|
|
1905
1970
|
static { this.ɵfac = function PartialParamHandlerDirective_Factory(t) { return new (t || PartialParamHandlerDirective)(i0__namespace.ɵɵdirectiveInject(WidgetRef, 2)); }; }
|
|
1906
1971
|
static { this.ɵdir = /*@__PURE__*/ i0__namespace.ɵɵdefineDirective({ type: PartialParamHandlerDirective, selectors: [["", "partialContainer", ""]] }); }
|
|
1907
1972
|
}
|
|
1908
|
-
(
|
|
1973
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(PartialParamHandlerDirective, [{
|
|
1909
1974
|
type: i0.Directive,
|
|
1910
1975
|
args: [{
|
|
1911
1976
|
selector: '[partialContainer]',
|
|
1912
1977
|
}]
|
|
1913
|
-
}],
|
|
1978
|
+
}], () => [{ type: undefined, decorators: [{
|
|
1914
1979
|
type: i0.Self
|
|
1915
1980
|
}, {
|
|
1916
1981
|
type: i0.Inject,
|
|
1917
1982
|
args: [WidgetRef]
|
|
1918
|
-
}] }]
|
|
1983
|
+
}] }], null); })();
|
|
1919
1984
|
class PartialParamDirective {
|
|
1920
1985
|
constructor(bindValue, type, partialParamsProvider) {
|
|
1921
1986
|
this.bindValue = bindValue;
|
|
@@ -1928,18 +1993,18 @@
|
|
|
1928
1993
|
static { this.ɵfac = function PartialParamDirective_Factory(t) { return new (t || PartialParamDirective)(i0__namespace.ɵɵinjectAttribute('value.bind'), i0__namespace.ɵɵinjectAttribute('type'), i0__namespace.ɵɵdirectiveInject(PartialParamHandlerDirective)); }; }
|
|
1929
1994
|
static { this.ɵdir = /*@__PURE__*/ i0__namespace.ɵɵdefineDirective({ type: PartialParamDirective, selectors: [["", "wmParam", ""]], inputs: { name: "name", value: "value" } }); }
|
|
1930
1995
|
}
|
|
1931
|
-
(
|
|
1996
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(PartialParamDirective, [{
|
|
1932
1997
|
type: i0.Directive,
|
|
1933
1998
|
args: [{
|
|
1934
1999
|
selector: '[wmParam]',
|
|
1935
2000
|
}]
|
|
1936
|
-
}],
|
|
2001
|
+
}], () => [{ type: undefined, decorators: [{
|
|
1937
2002
|
type: i0.Attribute,
|
|
1938
2003
|
args: ['value.bind']
|
|
1939
2004
|
}] }, { type: undefined, decorators: [{
|
|
1940
2005
|
type: i0.Attribute,
|
|
1941
2006
|
args: ['type']
|
|
1942
|
-
}] }, { type: PartialParamHandlerDirective }]
|
|
2007
|
+
}] }, { type: PartialParamHandlerDirective }], { name: [{
|
|
1943
2008
|
type: i0.Input
|
|
1944
2009
|
}], value: [{
|
|
1945
2010
|
type: i0.Input
|
|
@@ -1992,7 +2057,7 @@
|
|
|
1992
2057
|
this.resolver = resolver;
|
|
1993
2058
|
this.partialRefProvider = partialRefProvider;
|
|
1994
2059
|
this.contentInitialized = false;
|
|
1995
|
-
this.renderPartial =
|
|
2060
|
+
this.renderPartial = lodashEs.debounce(this._renderPartial, 200);
|
|
1996
2061
|
componentInstance.registerPropertyChangeListener((key, nv, ov) => {
|
|
1997
2062
|
if (key === 'content') {
|
|
1998
2063
|
if (componentInstance.$lazyLoad) {
|
|
@@ -2015,12 +2080,12 @@
|
|
|
2015
2080
|
static { this.ɵfac = function PartialContainerDirective_Factory(t) { return new (t || PartialContainerDirective)(i0__namespace.ɵɵdirectiveInject(WidgetRef, 2), i0__namespace.ɵɵdirectiveInject(i0__namespace.ViewContainerRef), i0__namespace.ɵɵdirectiveInject(i0__namespace.ElementRef), i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵdirectiveInject(i1__namespace.App), i0__namespace.ɵɵinjectAttribute('content'), i0__namespace.ɵɵdirectiveInject(i0__namespace.ComponentFactoryResolver), i0__namespace.ɵɵdirectiveInject(i1__namespace.PartialRefProvider)); }; }
|
|
2016
2081
|
static { this.ɵdir = /*@__PURE__*/ i0__namespace.ɵɵdefineDirective({ type: PartialContainerDirective, selectors: [["", "partialContainer", ""]] }); }
|
|
2017
2082
|
}
|
|
2018
|
-
(
|
|
2083
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(PartialContainerDirective, [{
|
|
2019
2084
|
type: i0.Directive,
|
|
2020
2085
|
args: [{
|
|
2021
2086
|
selector: '[partialContainer]'
|
|
2022
2087
|
}]
|
|
2023
|
-
}],
|
|
2088
|
+
}], () => [{ type: undefined, decorators: [{
|
|
2024
2089
|
type: i0.Self
|
|
2025
2090
|
}, {
|
|
2026
2091
|
type: i0.Inject,
|
|
@@ -2028,16 +2093,14 @@
|
|
|
2028
2093
|
}] }, { type: i0__namespace.ViewContainerRef }, { type: i0__namespace.ElementRef }, { type: i0__namespace.Injector }, { type: i1__namespace.App }, { type: undefined, decorators: [{
|
|
2029
2094
|
type: i0.Attribute,
|
|
2030
2095
|
args: ['content']
|
|
2031
|
-
}] }, { type: i0__namespace.ComponentFactoryResolver }, { type: i1__namespace.PartialRefProvider }]
|
|
2096
|
+
}] }, { type: i0__namespace.ComponentFactoryResolver }, { type: i1__namespace.PartialRefProvider }], null); })();
|
|
2032
2097
|
|
|
2033
2098
|
class ShowInDeviceDirective {
|
|
2034
|
-
constructor(
|
|
2035
|
-
this.elRef = elRef;
|
|
2036
|
-
this.widget = widget;
|
|
2099
|
+
constructor(viewContainerRef, inj, templateRef, explicitContext) {
|
|
2037
2100
|
this.viewContainerRef = viewContainerRef;
|
|
2038
2101
|
this.templateRef = templateRef;
|
|
2039
|
-
|
|
2040
|
-
this.context
|
|
2102
|
+
this.context = {};
|
|
2103
|
+
lodashEs.extend(this.context, inj._lView[8], explicitContext);
|
|
2041
2104
|
window.addEventListener('resize', this.onResize.bind(this));
|
|
2042
2105
|
}
|
|
2043
2106
|
set wmShowInDevice(devices) {
|
|
@@ -2082,18 +2145,20 @@
|
|
|
2082
2145
|
ngOnDestroy() {
|
|
2083
2146
|
window.removeEventListener('resize', this.onResize);
|
|
2084
2147
|
}
|
|
2085
|
-
static { this.ɵfac = function ShowInDeviceDirective_Factory(t) { return new (t || ShowInDeviceDirective)(i0__namespace.ɵɵdirectiveInject(i0__namespace.
|
|
2148
|
+
static { this.ɵfac = function ShowInDeviceDirective_Factory(t) { return new (t || ShowInDeviceDirective)(i0__namespace.ɵɵdirectiveInject(i0__namespace.ViewContainerRef), i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵdirectiveInject(i0__namespace.TemplateRef), i0__namespace.ɵɵdirectiveInject('EXPLICIT_CONTEXT', 8)); }; }
|
|
2086
2149
|
static { this.ɵdir = /*@__PURE__*/ i0__namespace.ɵɵdefineDirective({ type: ShowInDeviceDirective, selectors: [["", "wmShowInDevice", ""]], inputs: { wmShowInDevice: "wmShowInDevice" } }); }
|
|
2087
2150
|
}
|
|
2088
|
-
(
|
|
2151
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(ShowInDeviceDirective, [{
|
|
2089
2152
|
type: i0.Directive,
|
|
2090
2153
|
args: [{
|
|
2091
2154
|
selector: '[wmShowInDevice]'
|
|
2092
2155
|
}]
|
|
2093
|
-
}],
|
|
2156
|
+
}], () => [{ type: i0__namespace.ViewContainerRef }, { type: i0__namespace.Injector }, { type: i0__namespace.TemplateRef }, { type: undefined, decorators: [{
|
|
2094
2157
|
type: i0.Inject,
|
|
2095
|
-
args: [
|
|
2096
|
-
}
|
|
2158
|
+
args: ['EXPLICIT_CONTEXT']
|
|
2159
|
+
}, {
|
|
2160
|
+
type: i0.Optional
|
|
2161
|
+
}] }], { wmShowInDevice: [{
|
|
2097
2162
|
type: i0.Input
|
|
2098
2163
|
}] }); })();
|
|
2099
2164
|
|
|
@@ -2153,9 +2218,9 @@
|
|
|
2153
2218
|
preventDefault: false,
|
|
2154
2219
|
momentum: true,
|
|
2155
2220
|
bounce: false,
|
|
2156
|
-
mouseWheel: true,
|
|
2157
|
-
disablePointer: true,
|
|
2158
|
-
disableTouch: false,
|
|
2221
|
+
mouseWheel: true, // for preview in browser support
|
|
2222
|
+
disablePointer: true, // disable the pointer events as it causes lag in scrolling (jerky).
|
|
2223
|
+
disableTouch: false, // false to be usable with touch devices
|
|
2159
2224
|
disableMouse: false // false to be usable with a mouse (desktop)
|
|
2160
2225
|
}, el = this._$el[0];
|
|
2161
2226
|
if (!el.children.length) {
|
|
@@ -2183,8 +2248,8 @@
|
|
|
2183
2248
|
let iScroll = new IScroll(el, scrollOptions);
|
|
2184
2249
|
if ($events) {
|
|
2185
2250
|
// map all events on previous iscroll to the newly created iscroll.
|
|
2186
|
-
|
|
2187
|
-
|
|
2251
|
+
lodashEs.forEach($events, (listeners, key) => {
|
|
2252
|
+
lodashEs.forEach(listeners, l => {
|
|
2188
2253
|
iScroll.on(key, l);
|
|
2189
2254
|
});
|
|
2190
2255
|
});
|
|
@@ -2213,7 +2278,7 @@
|
|
|
2213
2278
|
}
|
|
2214
2279
|
};
|
|
2215
2280
|
this._$el[0].iscroll = iScroll;
|
|
2216
|
-
|
|
2281
|
+
lodashEs.forEach(this.pendingIscrolls, (_el, index) => {
|
|
2217
2282
|
if (_el.isSameNode(this._$el[0])) {
|
|
2218
2283
|
this.app.notify('iscroll-update', { el: _el });
|
|
2219
2284
|
this.pendingIscrolls.splice(index, 1);
|
|
@@ -2251,7 +2316,7 @@
|
|
|
2251
2316
|
}
|
|
2252
2317
|
// Check for scrollable content and if smoothscroll-container div is already added.
|
|
2253
2318
|
if (iScroll.wrapper
|
|
2254
|
-
&& !
|
|
2319
|
+
&& !lodashEs.includes(iScroll.wrapper.children[0].classList, 'smoothscroll-container')
|
|
2255
2320
|
&& iScroll.wrapper.scrollHeight > iScroll.wrapper.clientHeight) {
|
|
2256
2321
|
const cloneEvents = iScroll._events;
|
|
2257
2322
|
const prevActiveEl = document.activeElement;
|
|
@@ -2273,12 +2338,12 @@
|
|
|
2273
2338
|
static { this.ɵfac = function SmoothScrollDirective_Factory(t) { return new (t || SmoothScrollDirective)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵdirectiveInject(i0__namespace.ElementRef), i0__namespace.ɵɵdirectiveInject(i1__namespace.App)); }; }
|
|
2274
2339
|
static { this.ɵdir = /*@__PURE__*/ i0__namespace.ɵɵdefineDirective({ type: SmoothScrollDirective, selectors: [["", "wmSmoothscroll", ""]], inputs: { wmSmoothscroll: "wmSmoothscroll" } }); }
|
|
2275
2340
|
}
|
|
2276
|
-
(
|
|
2341
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(SmoothScrollDirective, [{
|
|
2277
2342
|
type: i0.Directive,
|
|
2278
2343
|
args: [{
|
|
2279
2344
|
selector: '[wmSmoothscroll]'
|
|
2280
2345
|
}]
|
|
2281
|
-
}],
|
|
2346
|
+
}], () => [{ type: i0__namespace.Injector }, { type: i0__namespace.ElementRef }, { type: i1__namespace.App }], { wmSmoothscroll: [{
|
|
2282
2347
|
type: i0.Input
|
|
2283
2348
|
}] }); })();
|
|
2284
2349
|
/**
|
|
@@ -2327,12 +2392,12 @@
|
|
|
2327
2392
|
static { this.ɵfac = function TextContentDirective_Factory(t) { return new (t || TextContentDirective)(i0__namespace.ɵɵdirectiveInject(i0__namespace.ElementRef)); }; }
|
|
2328
2393
|
static { this.ɵdir = /*@__PURE__*/ i0__namespace.ɵɵdefineDirective({ type: TextContentDirective, selectors: [["", "textContent", ""]], inputs: { textContent: "textContent" } }); }
|
|
2329
2394
|
}
|
|
2330
|
-
(
|
|
2395
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(TextContentDirective, [{
|
|
2331
2396
|
type: i0.Directive,
|
|
2332
2397
|
args: [{
|
|
2333
2398
|
selector: '[textContent]'
|
|
2334
2399
|
}]
|
|
2335
|
-
}],
|
|
2400
|
+
}], () => [{ type: i0__namespace.ElementRef }], { textContent: [{
|
|
2336
2401
|
type: i0.Input
|
|
2337
2402
|
}] }); })();
|
|
2338
2403
|
|
|
@@ -2341,7 +2406,7 @@
|
|
|
2341
2406
|
this.pipeName = pipeName;
|
|
2342
2407
|
this.customPipeManager = customPipeManager;
|
|
2343
2408
|
this.pipeRef = this.customPipeManager ? this.customPipeManager.getCustomPipe(pipeName) : null;
|
|
2344
|
-
this.isCustomPipe = this.pipeRef &&
|
|
2409
|
+
this.isCustomPipe = this.pipeRef && lodashEs.isFunction(this.pipeRef.formatter);
|
|
2345
2410
|
}
|
|
2346
2411
|
customFormatter(data, args) {
|
|
2347
2412
|
try {
|
|
@@ -2356,7 +2421,7 @@
|
|
|
2356
2421
|
const getEpochValue = data => {
|
|
2357
2422
|
let epoch;
|
|
2358
2423
|
// For data in form of string number ('123'), convert to number (123). And don't parse date objects.
|
|
2359
|
-
if (!
|
|
2424
|
+
if (!lodashEs.isDate(data) && !isNaN(data)) {
|
|
2360
2425
|
data = parseInt(data, 10);
|
|
2361
2426
|
}
|
|
2362
2427
|
// get the timestamp value. If data is time string, append date string to the time value
|
|
@@ -2375,12 +2440,12 @@
|
|
|
2375
2440
|
static { this.ɵfac = function TrailingZeroDecimalPipe_Factory(t) { return new (t || TrailingZeroDecimalPipe)(i0__namespace.ɵɵdirectiveInject(i1$1__namespace.DecimalPipe, 16)); }; }
|
|
2376
2441
|
static { this.ɵpipe = /*@__PURE__*/ i0__namespace.ɵɵdefinePipe({ name: "trailingZeroDecimalPipe", type: TrailingZeroDecimalPipe, pure: true }); }
|
|
2377
2442
|
}
|
|
2378
|
-
(
|
|
2443
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(TrailingZeroDecimalPipe, [{
|
|
2379
2444
|
type: i0.Pipe,
|
|
2380
2445
|
args: [{
|
|
2381
2446
|
name: 'trailingZeroDecimalPipe'
|
|
2382
2447
|
}]
|
|
2383
|
-
}],
|
|
2448
|
+
}], () => [{ type: i1$1__namespace.DecimalPipe }], null); })();
|
|
2384
2449
|
class ToDatePipe extends WmPipe {
|
|
2385
2450
|
// This method calls the custom formatter fn after applying the exisitng date pattern
|
|
2386
2451
|
returnFn(data, args) {
|
|
@@ -2430,18 +2495,18 @@
|
|
|
2430
2495
|
static { this.ɵfac = function ToDatePipe_Factory(t) { return new (t || ToDatePipe)(i0__namespace.ɵɵdirectiveInject(i1$1__namespace.DatePipe, 16), i0__namespace.ɵɵdirectiveInject(i1__namespace.AbstractI18nService, 16), i0__namespace.ɵɵdirectiveInject(i1__namespace.CustomPipeManager, 16)); }; }
|
|
2431
2496
|
static { this.ɵpipe = /*@__PURE__*/ i0__namespace.ɵɵdefinePipe({ name: "toDate", type: ToDatePipe, pure: true }); }
|
|
2432
2497
|
}
|
|
2433
|
-
(
|
|
2498
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(ToDatePipe, [{
|
|
2434
2499
|
type: i0.Pipe,
|
|
2435
2500
|
args: [{
|
|
2436
2501
|
name: 'toDate'
|
|
2437
2502
|
}]
|
|
2438
|
-
}],
|
|
2503
|
+
}], () => [{ type: i1$1__namespace.DatePipe }, { type: i1__namespace.AbstractI18nService }, { type: i1__namespace.CustomPipeManager }], null); })();
|
|
2439
2504
|
class ToNumberPipe {
|
|
2440
2505
|
transform(data, fracSize) {
|
|
2441
2506
|
if (fracSize && !String(fracSize).match(/^(\d+)?\.((\d+)(-(\d+))?)?$/)) {
|
|
2442
2507
|
fracSize = '1.' + fracSize + '-' + fracSize;
|
|
2443
2508
|
}
|
|
2444
|
-
if (!
|
|
2509
|
+
if (!isNaN(+data)) {
|
|
2445
2510
|
const locale = this.i18nService && this.i18nService.getwidgetLocale() ? this.i18nService.getwidgetLocale() : undefined;
|
|
2446
2511
|
const formattedLocale = locale ? locale['number'] : null;
|
|
2447
2512
|
return this.decimalPipe.transform(data, fracSize, formattedLocale);
|
|
@@ -2454,20 +2519,20 @@
|
|
|
2454
2519
|
static { this.ɵfac = function ToNumberPipe_Factory(t) { return new (t || ToNumberPipe)(i0__namespace.ɵɵdirectiveInject(i1$1__namespace.DecimalPipe, 16), i0__namespace.ɵɵdirectiveInject(i1.AbstractI18nService, 16)); }; }
|
|
2455
2520
|
static { this.ɵpipe = /*@__PURE__*/ i0__namespace.ɵɵdefinePipe({ name: "toNumber", type: ToNumberPipe, pure: true }); }
|
|
2456
2521
|
}
|
|
2457
|
-
(
|
|
2522
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(ToNumberPipe, [{
|
|
2458
2523
|
type: i0.Pipe,
|
|
2459
2524
|
args: [{
|
|
2460
2525
|
name: 'toNumber'
|
|
2461
2526
|
}]
|
|
2462
|
-
}],
|
|
2527
|
+
}], () => [{ type: i1$1__namespace.DecimalPipe }, { type: i1__namespace.AbstractI18nService, decorators: [{
|
|
2463
2528
|
type: i0.Inject,
|
|
2464
2529
|
args: [i1.AbstractI18nService]
|
|
2465
|
-
}] }]
|
|
2530
|
+
}] }], null); })();
|
|
2466
2531
|
class ToCurrencyPipe {
|
|
2467
2532
|
transform(data, currencySymbol, fracSize) {
|
|
2468
2533
|
const _currencySymbol = (i1.CURRENCY_INFO[currencySymbol] || {}).symbol || currencySymbol || '';
|
|
2469
2534
|
let _val = new ToNumberPipe(this.decimalPipe, this.i18nService).transform(data, fracSize);
|
|
2470
|
-
const isNegativeNumber =
|
|
2535
|
+
const isNegativeNumber = lodashEs.startsWith(_val, '-');
|
|
2471
2536
|
if (isNegativeNumber) {
|
|
2472
2537
|
_val = _val.replace('-', '');
|
|
2473
2538
|
}
|
|
@@ -2480,23 +2545,23 @@
|
|
|
2480
2545
|
static { this.ɵfac = function ToCurrencyPipe_Factory(t) { return new (t || ToCurrencyPipe)(i0__namespace.ɵɵdirectiveInject(i1$1__namespace.DecimalPipe, 16), i0__namespace.ɵɵdirectiveInject(i1.AbstractI18nService, 16)); }; }
|
|
2481
2546
|
static { this.ɵpipe = /*@__PURE__*/ i0__namespace.ɵɵdefinePipe({ name: "toCurrency", type: ToCurrencyPipe, pure: true }); }
|
|
2482
2547
|
}
|
|
2483
|
-
(
|
|
2548
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(ToCurrencyPipe, [{
|
|
2484
2549
|
type: i0.Pipe,
|
|
2485
2550
|
args: [{
|
|
2486
2551
|
name: 'toCurrency'
|
|
2487
2552
|
}]
|
|
2488
|
-
}],
|
|
2553
|
+
}], () => [{ type: i1$1__namespace.DecimalPipe }, { type: i1__namespace.AbstractI18nService, decorators: [{
|
|
2489
2554
|
type: i0.Inject,
|
|
2490
2555
|
args: [i1.AbstractI18nService]
|
|
2491
|
-
}] }]
|
|
2556
|
+
}] }], null); })();
|
|
2492
2557
|
class PrefixPipe {
|
|
2493
2558
|
transform(data, padding) {
|
|
2494
|
-
return (
|
|
2559
|
+
return (lodashEs.isUndefined(data) || data === null || data === '') ? data : ((padding || '') + data);
|
|
2495
2560
|
}
|
|
2496
2561
|
static { this.ɵfac = function PrefixPipe_Factory(t) { return new (t || PrefixPipe)(); }; }
|
|
2497
2562
|
static { this.ɵpipe = /*@__PURE__*/ i0__namespace.ɵɵdefinePipe({ name: "prefix", type: PrefixPipe, pure: true }); }
|
|
2498
2563
|
}
|
|
2499
|
-
(
|
|
2564
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(PrefixPipe, [{
|
|
2500
2565
|
type: i0.Pipe,
|
|
2501
2566
|
args: [{
|
|
2502
2567
|
name: 'prefix'
|
|
@@ -2504,12 +2569,12 @@
|
|
|
2504
2569
|
}], null, null); })();
|
|
2505
2570
|
class SuffixPipe {
|
|
2506
2571
|
transform(data, padding) {
|
|
2507
|
-
return (
|
|
2572
|
+
return (lodashEs.isUndefined(data) || data === null || data === '') ? data : (data + (padding || ''));
|
|
2508
2573
|
}
|
|
2509
2574
|
static { this.ɵfac = function SuffixPipe_Factory(t) { return new (t || SuffixPipe)(); }; }
|
|
2510
2575
|
static { this.ɵpipe = /*@__PURE__*/ i0__namespace.ɵɵdefinePipe({ name: "suffix", type: SuffixPipe, pure: true }); }
|
|
2511
2576
|
}
|
|
2512
|
-
(
|
|
2577
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(SuffixPipe, [{
|
|
2513
2578
|
type: i0.Pipe,
|
|
2514
2579
|
args: [{
|
|
2515
2580
|
name: 'suffix'
|
|
@@ -2528,7 +2593,7 @@
|
|
|
2528
2593
|
argumentArr.push(arguments[i]);
|
|
2529
2594
|
}
|
|
2530
2595
|
let pipeRef = this.custmeUserPipe.getCustomPipe(pipename);
|
|
2531
|
-
if (!pipeRef || !
|
|
2596
|
+
if (!pipeRef || !lodashEs.isFunction(pipeRef.formatter)) {
|
|
2532
2597
|
console.warn('formatter is not defined, please check the custom pipes documentation');
|
|
2533
2598
|
return data;
|
|
2534
2599
|
}
|
|
@@ -2543,12 +2608,12 @@
|
|
|
2543
2608
|
static { this.ɵfac = function CustomPipe_Factory(t) { return new (t || CustomPipe)(i0__namespace.ɵɵdirectiveInject(i1__namespace.CustomPipeManager, 16)); }; }
|
|
2544
2609
|
static { this.ɵpipe = /*@__PURE__*/ i0__namespace.ɵɵdefinePipe({ name: "custom", type: CustomPipe, pure: true }); }
|
|
2545
2610
|
}
|
|
2546
|
-
(
|
|
2611
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(CustomPipe, [{
|
|
2547
2612
|
type: i0.Pipe,
|
|
2548
2613
|
args: [{
|
|
2549
2614
|
name: 'custom'
|
|
2550
2615
|
}]
|
|
2551
|
-
}],
|
|
2616
|
+
}], () => [{ type: i1__namespace.CustomPipeManager }], null); })();
|
|
2552
2617
|
class TimeFromNowPipe {
|
|
2553
2618
|
transform(data) {
|
|
2554
2619
|
let timestamp;
|
|
@@ -2561,17 +2626,17 @@
|
|
|
2561
2626
|
static { this.ɵfac = function TimeFromNowPipe_Factory(t) { return new (t || TimeFromNowPipe)(); }; }
|
|
2562
2627
|
static { this.ɵpipe = /*@__PURE__*/ i0__namespace.ɵɵdefinePipe({ name: "timeFromNow", type: TimeFromNowPipe, pure: true }); }
|
|
2563
2628
|
}
|
|
2564
|
-
(
|
|
2629
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(TimeFromNowPipe, [{
|
|
2565
2630
|
type: i0.Pipe,
|
|
2566
2631
|
args: [{
|
|
2567
2632
|
name: 'timeFromNow'
|
|
2568
2633
|
}]
|
|
2569
2634
|
}], null, null); })();
|
|
2570
2635
|
class NumberToStringPipe extends ToNumberPipe {
|
|
2571
|
-
static { this.ɵfac = /*@__PURE__*/
|
|
2636
|
+
static { this.ɵfac = /*@__PURE__*/ (() => { let ɵNumberToStringPipe_BaseFactory; return function NumberToStringPipe_Factory(t) { return (ɵNumberToStringPipe_BaseFactory || (ɵNumberToStringPipe_BaseFactory = i0__namespace.ɵɵgetInheritedFactory(NumberToStringPipe)))(t || NumberToStringPipe); }; })(); }
|
|
2572
2637
|
static { this.ɵpipe = /*@__PURE__*/ i0__namespace.ɵɵdefinePipe({ name: "numberToString", type: NumberToStringPipe, pure: true }); }
|
|
2573
2638
|
}
|
|
2574
|
-
(
|
|
2639
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(NumberToStringPipe, [{
|
|
2575
2640
|
type: i0.Pipe,
|
|
2576
2641
|
args: [{
|
|
2577
2642
|
name: 'numberToString'
|
|
@@ -2584,7 +2649,7 @@
|
|
|
2584
2649
|
static { this.ɵfac = function StringToNumberPipe_Factory(t) { return new (t || StringToNumberPipe)(); }; }
|
|
2585
2650
|
static { this.ɵpipe = /*@__PURE__*/ i0__namespace.ɵɵdefinePipe({ name: "stringToNumber", type: StringToNumberPipe, pure: true }); }
|
|
2586
2651
|
}
|
|
2587
|
-
(
|
|
2652
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(StringToNumberPipe, [{
|
|
2588
2653
|
type: i0.Pipe,
|
|
2589
2654
|
args: [{
|
|
2590
2655
|
name: 'stringToNumber'
|
|
@@ -2596,18 +2661,18 @@
|
|
|
2596
2661
|
return [];
|
|
2597
2662
|
}
|
|
2598
2663
|
// If object is passed as first paramter
|
|
2599
|
-
if (
|
|
2600
|
-
return
|
|
2664
|
+
if (lodashEs.isObject(field)) {
|
|
2665
|
+
return lodashEs.filter(data, field);
|
|
2601
2666
|
}
|
|
2602
2667
|
// If key value pair is provided
|
|
2603
|
-
return
|
|
2604
|
-
return
|
|
2668
|
+
return lodashEs.filter(data, item => {
|
|
2669
|
+
return lodashEs.includes(item[field], value);
|
|
2605
2670
|
});
|
|
2606
2671
|
}
|
|
2607
2672
|
static { this.ɵfac = function FilterPipe_Factory(t) { return new (t || FilterPipe)(); }; }
|
|
2608
2673
|
static { this.ɵpipe = /*@__PURE__*/ i0__namespace.ɵɵdefinePipe({ name: "filter", type: FilterPipe, pure: true }); }
|
|
2609
2674
|
}
|
|
2610
|
-
(
|
|
2675
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(FilterPipe, [{
|
|
2611
2676
|
type: i0.Pipe,
|
|
2612
2677
|
args: [{
|
|
2613
2678
|
name: 'filter'
|
|
@@ -2637,7 +2702,7 @@
|
|
|
2637
2702
|
static { this.ɵfac = function FileSizePipe_Factory(t) { return new (t || FileSizePipe)(); }; }
|
|
2638
2703
|
static { this.ɵpipe = /*@__PURE__*/ i0__namespace.ɵɵdefinePipe({ name: "filesize", type: FileSizePipe, pure: true }); }
|
|
2639
2704
|
}
|
|
2640
|
-
(
|
|
2705
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(FileSizePipe, [{
|
|
2641
2706
|
type: i0.Pipe,
|
|
2642
2707
|
args: [{
|
|
2643
2708
|
name: 'filesize'
|
|
@@ -2678,7 +2743,7 @@
|
|
|
2678
2743
|
static { this.ɵfac = function FileIconClassPipe_Factory(t) { return new (t || FileIconClassPipe)(); }; }
|
|
2679
2744
|
static { this.ɵpipe = /*@__PURE__*/ i0__namespace.ɵɵdefinePipe({ name: "fileIconClass", type: FileIconClassPipe, pure: true }); }
|
|
2680
2745
|
}
|
|
2681
|
-
(
|
|
2746
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(FileIconClassPipe, [{
|
|
2682
2747
|
type: i0.Pipe,
|
|
2683
2748
|
args: [{
|
|
2684
2749
|
name: 'fileIconClass'
|
|
@@ -2695,7 +2760,7 @@
|
|
|
2695
2760
|
static { this.ɵfac = function StateClassPipe_Factory(t) { return new (t || StateClassPipe)(); }; }
|
|
2696
2761
|
static { this.ɵpipe = /*@__PURE__*/ i0__namespace.ɵɵdefinePipe({ name: "stateClass", type: StateClassPipe, pure: true }); }
|
|
2697
2762
|
}
|
|
2698
|
-
(
|
|
2763
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(StateClassPipe, [{
|
|
2699
2764
|
type: i0.Pipe,
|
|
2700
2765
|
args: [{
|
|
2701
2766
|
name: 'stateClass'
|
|
@@ -2778,7 +2843,7 @@
|
|
|
2778
2843
|
static { this.ɵfac = function FileExtensionFromMimePipe_Factory(t) { return new (t || FileExtensionFromMimePipe)(); }; }
|
|
2779
2844
|
static { this.ɵpipe = /*@__PURE__*/ i0__namespace.ɵɵdefinePipe({ name: "fileExtensionFromMime", type: FileExtensionFromMimePipe, pure: true }); }
|
|
2780
2845
|
}
|
|
2781
|
-
(
|
|
2846
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(FileExtensionFromMimePipe, [{
|
|
2782
2847
|
type: i0.Pipe,
|
|
2783
2848
|
args: [{
|
|
2784
2849
|
name: 'fileExtensionFromMime'
|
|
@@ -2814,12 +2879,12 @@
|
|
|
2814
2879
|
static { this.ɵfac = function TrustAsPipe_Factory(t) { return new (t || TrustAsPipe)(i0__namespace.ɵɵdirectiveInject(i1$2__namespace.DomSanitizer, 16)); }; }
|
|
2815
2880
|
static { this.ɵpipe = /*@__PURE__*/ i0__namespace.ɵɵdefinePipe({ name: "trustAs", type: TrustAsPipe, pure: true }); }
|
|
2816
2881
|
}
|
|
2817
|
-
(
|
|
2882
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(TrustAsPipe, [{
|
|
2818
2883
|
type: i0.Pipe,
|
|
2819
2884
|
args: [{
|
|
2820
2885
|
name: 'trustAs'
|
|
2821
2886
|
}]
|
|
2822
|
-
}],
|
|
2887
|
+
}], () => [{ type: i1$2__namespace.DomSanitizer }], null); })();
|
|
2823
2888
|
|
|
2824
2889
|
const openedDialogs = [];
|
|
2825
2890
|
/*We need closedDialogs array because onHidden event is asynchronous,
|
|
@@ -2934,7 +2999,7 @@
|
|
|
2934
2999
|
* closes all the opened dialogs
|
|
2935
3000
|
*/
|
|
2936
3001
|
closeAllDialogs() {
|
|
2937
|
-
|
|
3002
|
+
lodashEs.forEach(openedDialogs.reverse(), (dialog) => {
|
|
2938
3003
|
dialog.close();
|
|
2939
3004
|
});
|
|
2940
3005
|
}
|
|
@@ -2983,9 +3048,9 @@
|
|
|
2983
3048
|
static { this.ɵfac = function DialogServiceImpl_Factory(t) { return new (t || DialogServiceImpl)(); }; }
|
|
2984
3049
|
static { this.ɵprov = /*@__PURE__*/ i0__namespace.ɵɵdefineInjectable({ token: DialogServiceImpl, factory: DialogServiceImpl.ɵfac }); }
|
|
2985
3050
|
}
|
|
2986
|
-
(
|
|
3051
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(DialogServiceImpl, [{
|
|
2987
3052
|
type: i0.Injectable
|
|
2988
|
-
}],
|
|
3053
|
+
}], () => [], null); })();
|
|
2989
3054
|
|
|
2990
3055
|
class SanitizePipe {
|
|
2991
3056
|
constructor(domSanitizer) {
|
|
@@ -3019,12 +3084,12 @@
|
|
|
3019
3084
|
static { this.ɵfac = function SanitizePipe_Factory(t) { return new (t || SanitizePipe)(i0__namespace.ɵɵdirectiveInject(i1$2__namespace.DomSanitizer, 16)); }; }
|
|
3020
3085
|
static { this.ɵpipe = /*@__PURE__*/ i0__namespace.ɵɵdefinePipe({ name: "sanitize", type: SanitizePipe, pure: true }); }
|
|
3021
3086
|
}
|
|
3022
|
-
(
|
|
3087
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(SanitizePipe, [{
|
|
3023
3088
|
type: i0.Pipe,
|
|
3024
3089
|
args: [{
|
|
3025
3090
|
name: 'sanitize'
|
|
3026
3091
|
}]
|
|
3027
|
-
}],
|
|
3092
|
+
}], () => [{ type: i1$2__namespace.DomSanitizer }], null); })();
|
|
3028
3093
|
|
|
3029
3094
|
const wmComponents = [
|
|
3030
3095
|
ContainerDirective,
|
|
@@ -3083,7 +3148,7 @@
|
|
|
3083
3148
|
static { this.ɵinj = /*@__PURE__*/ i0__namespace.ɵɵdefineInjector({ imports: [i1$1.CommonModule,
|
|
3084
3149
|
security.SecurityModule] }); }
|
|
3085
3150
|
}
|
|
3086
|
-
(
|
|
3151
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(WmComponentsModule, [{
|
|
3087
3152
|
type: i0.NgModule,
|
|
3088
3153
|
args: [{
|
|
3089
3154
|
imports: [
|
|
@@ -3175,7 +3240,7 @@
|
|
|
3175
3240
|
};
|
|
3176
3241
|
// Returns true if widget is autocomplete or chips
|
|
3177
3242
|
function isSearchWidgetType(widget) {
|
|
3178
|
-
return
|
|
3243
|
+
return lodashEs.includes([i1.FormWidgetType.AUTOCOMPLETE, i1.FormWidgetType.TYPEAHEAD, i1.FormWidgetType.CHIPS], widget);
|
|
3179
3244
|
}
|
|
3180
3245
|
function onSuccess(response, res, rej) {
|
|
3181
3246
|
if (response.error) {
|
|
@@ -3264,7 +3329,7 @@
|
|
|
3264
3329
|
}
|
|
3265
3330
|
primaryKeys = dataSource.execute(i1.DataSource.Operation.GET_RELATED_PRIMARY_KEYS, relatedField);
|
|
3266
3331
|
formField.datafield = datafield;
|
|
3267
|
-
formField._primaryKey =
|
|
3332
|
+
formField._primaryKey = lodashEs.isEmpty(primaryKeys) ? undefined : primaryKeys[0];
|
|
3268
3333
|
formField.compareby = primaryKeys && primaryKeys.join(',');
|
|
3269
3334
|
displayField = datafield === ALLFIELDS ? undefined : datafield;
|
|
3270
3335
|
formField.displayfield = displayField = (formField.displayfield || displayField || formField._primaryKey);
|
|
@@ -3283,12 +3348,12 @@
|
|
|
3283
3348
|
dataSource.execute(i1.DataSource.Operation.GET_RELATED_TABLE_DATA, {
|
|
3284
3349
|
relatedField,
|
|
3285
3350
|
pagesize: formField.limit,
|
|
3286
|
-
orderBy: formField.orderby ?
|
|
3351
|
+
orderBy: formField.orderby ? lodashEs.replace(formField.orderby, /:/g, ' ') : '',
|
|
3287
3352
|
filterFields: {},
|
|
3288
3353
|
filterExpr: formField.filterexpressions ? formField.filterexpressions : {}
|
|
3289
3354
|
}).then(response => {
|
|
3290
3355
|
formField.dataset = response.data;
|
|
3291
|
-
formField.displayfield = formField.displayfield ||
|
|
3356
|
+
formField.displayfield = formField.displayfield || lodashEs.head(lodashEs.keys(lodashEs.get(response, '[0]')));
|
|
3292
3357
|
if (formField.showPendingSpinner) {
|
|
3293
3358
|
formField.showPendingSpinner = false;
|
|
3294
3359
|
}
|
|
@@ -3304,7 +3369,7 @@
|
|
|
3304
3369
|
*/
|
|
3305
3370
|
const interpolateBindExpressions = (context, filterexpressions, callbackFn) => {
|
|
3306
3371
|
const debouncedFn = i1.debounce(() => {
|
|
3307
|
-
if (
|
|
3372
|
+
if (lodashEs.isFunction(callbackFn)) {
|
|
3308
3373
|
callbackFn(filterexpressions);
|
|
3309
3374
|
}
|
|
3310
3375
|
}, 300);
|
|
@@ -3313,8 +3378,8 @@
|
|
|
3313
3378
|
* without this it will never be called. processFilterExpBindNode will be called only for the binded variable expressions.
|
|
3314
3379
|
*/
|
|
3315
3380
|
debouncedFn();
|
|
3316
|
-
const filterExpressions = filterexpressions ? (
|
|
3317
|
-
const destroyFn = context.registerDestroyListener ? context.registerDestroyListener.bind(context) :
|
|
3381
|
+
const filterExpressions = filterexpressions ? (lodashEs.isObject(filterexpressions) ? filterexpressions : JSON.parse(filterexpressions)) : {};
|
|
3382
|
+
const destroyFn = context.registerDestroyListener ? context.registerDestroyListener.bind(context) : noop;
|
|
3318
3383
|
const filterSubscription = i1.processFilterExpBindNode(context, filterExpressions).subscribe((response) => {
|
|
3319
3384
|
filterexpressions = JSON.stringify(response.filterExpressions);
|
|
3320
3385
|
debouncedFn();
|
|
@@ -3342,7 +3407,7 @@
|
|
|
3342
3407
|
fieldColumn = formField['lookup-field'];
|
|
3343
3408
|
props.distinctField = fieldColumn;
|
|
3344
3409
|
props.aliasColumn = fieldColumn.replace('.', '$'); // For related fields, In response . is replaced by $
|
|
3345
|
-
props.filterExpr = formField.filterexpressions ? (
|
|
3410
|
+
props.filterExpr = formField.filterexpressions ? (lodashEs.isObject(formField.filterexpressions) ? formField.filterexpressions : JSON.parse(formField.filterexpressions)) : {};
|
|
3346
3411
|
}
|
|
3347
3412
|
else {
|
|
3348
3413
|
props.tableName = dataSource.execute(i1.DataSource.Operation.GET_ENTITY_NAME);
|
|
@@ -3415,14 +3480,14 @@
|
|
|
3415
3480
|
const emptySupportWidgets = [i1.FormWidgetType.SELECT, i1.FormWidgetType.RADIOSET];
|
|
3416
3481
|
const emptyOption = {};
|
|
3417
3482
|
const dataSet = [];
|
|
3418
|
-
if (options.isEnableEmptyFilter &&
|
|
3483
|
+
if (options.isEnableEmptyFilter && lodashEs.includes(emptySupportWidgets, formField[options.widget]) &&
|
|
3419
3484
|
!formField['is-range'] && !formField.multiple) {
|
|
3420
3485
|
// If empty option is selected, push an empty object in to dataSet
|
|
3421
3486
|
emptyOption[LIVE_CONSTANTS.LABEL_KEY] = LIVE_CONSTANTS.EMPTY_KEY;
|
|
3422
3487
|
emptyOption[LIVE_CONSTANTS.LABEL_VALUE] = options.EMPTY_VALUE || LIVE_CONSTANTS.EMPTY_VALUE;
|
|
3423
3488
|
dataSet.push(emptyOption);
|
|
3424
3489
|
}
|
|
3425
|
-
|
|
3490
|
+
lodashEs.each(data, key => {
|
|
3426
3491
|
const value = key[options.aliasColumn];
|
|
3427
3492
|
const option = {};
|
|
3428
3493
|
if (value !== null && value !== '') {
|
|
@@ -3450,7 +3515,7 @@
|
|
|
3450
3515
|
*
|
|
3451
3516
|
*/
|
|
3452
3517
|
function fetchDistinctValues(dataSource, formFields, options) {
|
|
3453
|
-
if (
|
|
3518
|
+
if (lodashEs.isEmpty(formFields)) {
|
|
3454
3519
|
return;
|
|
3455
3520
|
}
|
|
3456
3521
|
formFields.forEach(formField => {
|
|
@@ -3562,7 +3627,7 @@
|
|
|
3562
3627
|
* @param {object} enableemptyfilter empty filter options
|
|
3563
3628
|
*/
|
|
3564
3629
|
function getEnableEmptyFilter(enableemptyfilter) {
|
|
3565
|
-
return enableemptyfilter &&
|
|
3630
|
+
return enableemptyfilter && lodashEs.intersection(enableemptyfilter.split(','), LIVE_CONSTANTS.NULL_EMPTY).length > 0;
|
|
3566
3631
|
}
|
|
3567
3632
|
/**
|
|
3568
3633
|
* @ngdoc function
|
|
@@ -3577,14 +3642,14 @@
|
|
|
3577
3642
|
*/
|
|
3578
3643
|
function getEmptyMatchMode(enableemptyfilter) {
|
|
3579
3644
|
let matchMode;
|
|
3580
|
-
const emptyFilterOptions =
|
|
3581
|
-
if (
|
|
3645
|
+
const emptyFilterOptions = lodashEs.split(enableemptyfilter, ',');
|
|
3646
|
+
if (lodashEs.intersection(emptyFilterOptions, LIVE_CONSTANTS.NULL_EMPTY).length === 2) {
|
|
3582
3647
|
matchMode = i1.MatchMode.NULLOREMPTY;
|
|
3583
3648
|
}
|
|
3584
|
-
else if (
|
|
3649
|
+
else if (lodashEs.includes(emptyFilterOptions, LIVE_CONSTANTS.NULL)) {
|
|
3585
3650
|
matchMode = i1.MatchMode.NULL;
|
|
3586
3651
|
}
|
|
3587
|
-
else if (
|
|
3652
|
+
else if (lodashEs.includes(emptyFilterOptions, LIVE_CONSTANTS.EMPTY)) {
|
|
3588
3653
|
matchMode = i1.MatchMode.EMPTY;
|
|
3589
3654
|
}
|
|
3590
3655
|
return matchMode;
|
|
@@ -3600,13 +3665,13 @@
|
|
|
3600
3665
|
* @returns {Array<any>}
|
|
3601
3666
|
*/
|
|
3602
3667
|
const createArrayFrom = (data) => {
|
|
3603
|
-
if (
|
|
3668
|
+
if (lodashEs.isUndefined(data) || lodashEs.isNull(data)) {
|
|
3604
3669
|
return [];
|
|
3605
3670
|
}
|
|
3606
|
-
if (
|
|
3671
|
+
if (lodashEs.isString(data)) {
|
|
3607
3672
|
data = data.split(',').map(Function.prototype.call, String.prototype.trim);
|
|
3608
3673
|
}
|
|
3609
|
-
if (!
|
|
3674
|
+
if (!lodashEs.isArray(data)) {
|
|
3610
3675
|
data = [data];
|
|
3611
3676
|
}
|
|
3612
3677
|
return data;
|
|
@@ -3626,13 +3691,13 @@
|
|
|
3626
3691
|
*/
|
|
3627
3692
|
function applyFilterOnField(dataSource, filterDef, formFields, newVal, options = {}) {
|
|
3628
3693
|
const fieldName = filterDef.field || filterDef.key;
|
|
3629
|
-
const filterOnFields =
|
|
3694
|
+
const filterOnFields = lodashEs.filter(formFields, { 'filter-on': fieldName });
|
|
3630
3695
|
newVal = filterDef['is-range'] ? getRangeFieldValue(filterDef.minValue, filterDef.maxValue) : (i1.isDefined(newVal) ? newVal : filterDef.value);
|
|
3631
|
-
if (!dataSource || (options.isFirst && (
|
|
3696
|
+
if (!dataSource || (options.isFirst && (lodashEs.isUndefined(newVal) || newVal === ''))) {
|
|
3632
3697
|
return;
|
|
3633
3698
|
}
|
|
3634
3699
|
// Loop over the fields for which the current field is filter on field
|
|
3635
|
-
|
|
3700
|
+
lodashEs.forEach(filterOnFields, filterField => {
|
|
3636
3701
|
const filterKey = filterField.field || filterField.key;
|
|
3637
3702
|
const lookUpField = filterDef['lookup-field'] || filterDef._primaryKey;
|
|
3638
3703
|
const filterWidget = filterField['edit-widget-type'] || filterField.widgettype;
|
|
@@ -3658,7 +3723,7 @@
|
|
|
3658
3723
|
else {
|
|
3659
3724
|
matchMode = i1.MatchMode.EQUALS;
|
|
3660
3725
|
}
|
|
3661
|
-
filterVal = (
|
|
3726
|
+
filterVal = (lodashEs.isObject(newVal) && !lodashEs.isArray(newVal)) ? newVal[lookUpField] : newVal;
|
|
3662
3727
|
filterFields[filterOn] = {
|
|
3663
3728
|
'value': filterVal,
|
|
3664
3729
|
'matchMode': matchMode
|
|
@@ -3693,9 +3758,9 @@
|
|
|
3693
3758
|
// data sanity testing
|
|
3694
3759
|
dataObject = dataObject || [];
|
|
3695
3760
|
// if the dataObject is not an array make it an array
|
|
3696
|
-
if (!
|
|
3761
|
+
if (!lodashEs.isArray(dataObject)) {
|
|
3697
3762
|
// if the data returned is of type string, make it an object inside an array
|
|
3698
|
-
if (
|
|
3763
|
+
if (lodashEs.isString(dataObject)) {
|
|
3699
3764
|
keys = variableName.substring(variableName.indexOf('.') + 1, variableName.length).split('.');
|
|
3700
3765
|
oldKeys = [];
|
|
3701
3766
|
numKeys = keys.length;
|
|
@@ -3719,9 +3784,9 @@
|
|
|
3719
3784
|
/*if the dataObject is an array and each value is a string, then lite-transform the string to an object
|
|
3720
3785
|
* lite-transform: just checking if the first value is string and then transforming the object, instead of traversing through the whole array
|
|
3721
3786
|
* */
|
|
3722
|
-
if (
|
|
3787
|
+
if (lodashEs.isString(dataObject[0])) {
|
|
3723
3788
|
tempArr = [];
|
|
3724
|
-
|
|
3789
|
+
lodashEs.forEach(dataObject, str => {
|
|
3725
3790
|
newObj = {};
|
|
3726
3791
|
newObj[variableName.split('.').join('-')] = str;
|
|
3727
3792
|
tempArr.push(newObj);
|
|
@@ -3764,18 +3829,18 @@
|
|
|
3764
3829
|
/**
|
|
3765
3830
|
* function to get the ordered dataset based on the given orderby
|
|
3766
3831
|
*/
|
|
3767
|
-
const getOrderedDataset = (dataSet, orderBy, innerItem) => {
|
|
3768
|
-
if (!orderBy) {
|
|
3769
|
-
return
|
|
3832
|
+
const getOrderedDataset = (dataSet, orderBy$1, innerItem) => {
|
|
3833
|
+
if (!orderBy$1) {
|
|
3834
|
+
return lodashEs.cloneDeep(dataSet);
|
|
3770
3835
|
}
|
|
3771
3836
|
// The order by only works when the dataset contains list of objects.
|
|
3772
|
-
const items = orderBy.split(','), fields = [], directions = [];
|
|
3837
|
+
const items = orderBy$1.split(','), fields = [], directions = [];
|
|
3773
3838
|
items.forEach(obj => {
|
|
3774
3839
|
const item = obj.split(':');
|
|
3775
3840
|
fields.push(innerItem ? innerItem + '.' + item[0] : item[0]);
|
|
3776
3841
|
directions.push(item[1]);
|
|
3777
3842
|
});
|
|
3778
|
-
return
|
|
3843
|
+
return lodashEs.orderBy(dataSet, fields, directions);
|
|
3779
3844
|
};
|
|
3780
3845
|
/**
|
|
3781
3846
|
* Returns an array of object, each object contain the DataSetItem whose key, value, label are extracted from object keys.
|
|
@@ -3784,10 +3849,10 @@
|
|
|
3784
3849
|
const data = [];
|
|
3785
3850
|
// if the dataset is instance of object (not an array) or the first item in the dataset array is an object,
|
|
3786
3851
|
// then we extract the keys from the object and prepare the dataset items.
|
|
3787
|
-
if (
|
|
3852
|
+
if (lodashEs.isObject(dataSet[0]) || (lodashEs.isObject(dataSet) && !(dataSet instanceof Array))) {
|
|
3788
3853
|
// getting keys of the object
|
|
3789
3854
|
const objectKeys = Object.keys(dataSet[0] || dataSet);
|
|
3790
|
-
|
|
3855
|
+
lodashEs.forEach(objectKeys, (objKey, index) => {
|
|
3791
3856
|
data.push({
|
|
3792
3857
|
key: objKey,
|
|
3793
3858
|
label: objKey,
|
|
@@ -3800,21 +3865,21 @@
|
|
|
3800
3865
|
};
|
|
3801
3866
|
// Converts any type of data to array.
|
|
3802
3867
|
const extractDataAsArray = data => {
|
|
3803
|
-
if (
|
|
3868
|
+
if (lodashEs.isUndefined(data) || lodashEs.isNull(data) || lodashEs.trim(data) === '') {
|
|
3804
3869
|
return [];
|
|
3805
3870
|
}
|
|
3806
|
-
if (
|
|
3807
|
-
data =
|
|
3871
|
+
if (lodashEs.isString(data)) {
|
|
3872
|
+
data = lodashEs.split(data, ',').map(str => str.trim());
|
|
3808
3873
|
}
|
|
3809
|
-
if (!
|
|
3874
|
+
if (!lodashEs.isArray(data)) {
|
|
3810
3875
|
data = [data];
|
|
3811
3876
|
}
|
|
3812
3877
|
return data;
|
|
3813
3878
|
};
|
|
3814
3879
|
// This function return always an object containing dataset details.
|
|
3815
3880
|
const convertDataToObject = dataResult => {
|
|
3816
|
-
if (
|
|
3817
|
-
dataResult =
|
|
3881
|
+
if (lodashEs.isString(dataResult)) {
|
|
3882
|
+
dataResult = lodashEs.split(dataResult, ',').map(str => str.trim());
|
|
3818
3883
|
}
|
|
3819
3884
|
return dataResult;
|
|
3820
3885
|
};
|
|
@@ -3826,7 +3891,7 @@
|
|
|
3826
3891
|
const setGroupbyKey = (scope, context, dataSetItem, innerItem) => {
|
|
3827
3892
|
if (scope && isSeachWidget(scope.widgetType)) {
|
|
3828
3893
|
if (scope.groupby) {
|
|
3829
|
-
if (
|
|
3894
|
+
if (lodashEs.includes(scope.groupby, '(')) {
|
|
3830
3895
|
//[Todo-CSP]: can generate expr fn in page based on groupby property on widget
|
|
3831
3896
|
const groupDataByUserDefinedFn = i1.$parseEvent(scope.groupby);
|
|
3832
3897
|
dataSetItem.groupby = groupDataByUserDefinedFn(context, { 'row': dataSetItem.dataObject || dataSetItem });
|
|
@@ -3857,10 +3922,10 @@
|
|
|
3857
3922
|
}
|
|
3858
3923
|
dataSet = convertDataToObject(dataSet);
|
|
3859
3924
|
// startIndex is the index of the next new item.
|
|
3860
|
-
if (
|
|
3925
|
+
if (lodashEs.isUndefined(startIndex)) {
|
|
3861
3926
|
startIndex = 1;
|
|
3862
3927
|
}
|
|
3863
|
-
if (
|
|
3928
|
+
if (lodashEs.isString(dataSet)) {
|
|
3864
3929
|
dataSet = dataSet.split(',').map(str => str.trim());
|
|
3865
3930
|
dataSet.forEach((option, index) => {
|
|
3866
3931
|
const dataSetItem = { key: option, value: option, label: (i1.isDefined(option) && option !== null) ? option.toString() : '', index: startIndex + index };
|
|
@@ -3868,16 +3933,20 @@
|
|
|
3868
3933
|
data.push(dataSetItem);
|
|
3869
3934
|
});
|
|
3870
3935
|
}
|
|
3871
|
-
else if (
|
|
3936
|
+
else if (lodashEs.isArray(dataSet) && !lodashEs.isObject(dataSet[0])) { // array of primitive values only
|
|
3872
3937
|
dataSet.forEach((option, index) => {
|
|
3873
3938
|
const dataSetItem = { key: option, value: option, label: (i1.isDefined(option) && option !== null) ? option.toString() : '', index: startIndex + index };
|
|
3874
3939
|
setGroupbyKey(scope, context, dataSetItem, 'value');
|
|
3875
3940
|
data.push(dataSetItem);
|
|
3876
3941
|
});
|
|
3877
3942
|
}
|
|
3878
|
-
else if (!(dataSet instanceof Array) &&
|
|
3879
|
-
|
|
3880
|
-
|
|
3943
|
+
else if (!(dataSet instanceof Array) && lodashEs.isObject(dataSet)) {
|
|
3944
|
+
lodashEs.forEach(dataSet, (value, key) => {
|
|
3945
|
+
// @ts-ignore
|
|
3946
|
+
const dataSetItem = { key: lodashEs.trim(key), value: key, label: (i1.isDefined(value) && value !== null) ? value.toString() : '',
|
|
3947
|
+
index: startIndex,
|
|
3948
|
+
dataObject: dataSet
|
|
3949
|
+
};
|
|
3881
3950
|
setGroupbyKey(scope, context, dataSetItem, 'value');
|
|
3882
3951
|
data.push(dataSetItem);
|
|
3883
3952
|
});
|
|
@@ -3889,7 +3958,7 @@
|
|
|
3889
3958
|
dataSet.forEach((option, index) => {
|
|
3890
3959
|
const key = myDataField === ALLFIELDS ? startIndex + index : getObjValueByKey(option, myDataField);
|
|
3891
3960
|
// Omit all the items whose datafield (key) is null or undefined.
|
|
3892
|
-
if (!
|
|
3961
|
+
if (!lodashEs.isUndefined(key) && !lodashEs.isNull(key)) {
|
|
3893
3962
|
const label = getEvaluatedData(option, {
|
|
3894
3963
|
field: displayOptions.displayField,
|
|
3895
3964
|
expression: displayOptions.displayExpr,
|
|
@@ -3899,7 +3968,7 @@
|
|
|
3899
3968
|
key: key,
|
|
3900
3969
|
label: (i1.isDefined(label) && label !== null) ? label.toString() : '',
|
|
3901
3970
|
value: myDataField === ALLFIELDS ? option : key,
|
|
3902
|
-
dataObject: option,
|
|
3971
|
+
dataObject: option, // represents the object when datafield is ALLFIELDS. This is used as innerItem while grouping the datasetItems.
|
|
3903
3972
|
index: startIndex + index
|
|
3904
3973
|
};
|
|
3905
3974
|
if (displayOptions.displayImgSrc || displayOptions.bindDisplayImgSrc) {
|
|
@@ -3921,16 +3990,16 @@
|
|
|
3921
3990
|
const getUniqObjsByDataField = (data, dataField, displayField, allowEmptyFields) => {
|
|
3922
3991
|
let uniqData;
|
|
3923
3992
|
const isAllFields = dataField === ALLFIELDS;
|
|
3924
|
-
uniqData = isAllFields ?
|
|
3993
|
+
uniqData = isAllFields ? lodashEs.uniqWith(data, lodashEs.isEqual) : lodashEs.uniqBy(data, 'key');
|
|
3925
3994
|
if (!displayField || allowEmptyFields) {
|
|
3926
3995
|
return uniqData;
|
|
3927
3996
|
}
|
|
3928
3997
|
// return objects having non empty datafield and display field values.
|
|
3929
|
-
return
|
|
3998
|
+
return lodashEs.filter(uniqData, (obj) => {
|
|
3930
3999
|
if (isAllFields) {
|
|
3931
|
-
return
|
|
4000
|
+
return lodashEs.trim(obj.label);
|
|
3932
4001
|
}
|
|
3933
|
-
return
|
|
4002
|
+
return lodashEs.trim(obj.key) && lodashEs.trim(obj.label);
|
|
3934
4003
|
});
|
|
3935
4004
|
};
|
|
3936
4005
|
/**
|
|
@@ -3942,7 +4011,7 @@
|
|
|
3942
4011
|
*/
|
|
3943
4012
|
const setItemByCompare = (datasetItems, compareWithDataObj, compareByField) => {
|
|
3944
4013
|
// compare the fields based on fields given to compareby property.
|
|
3945
|
-
|
|
4014
|
+
lodashEs.forEach(datasetItems, opt => {
|
|
3946
4015
|
if (i1.isEqualWithFields(opt.value, compareWithDataObj, compareByField)) {
|
|
3947
4016
|
opt.selected = true;
|
|
3948
4017
|
return false;
|
|
@@ -3959,13 +4028,13 @@
|
|
|
3959
4028
|
*/
|
|
3960
4029
|
const getSortedGroupedData = (groupedLiData, groupBy, orderby) => {
|
|
3961
4030
|
const _groupedData = [];
|
|
3962
|
-
|
|
4031
|
+
lodashEs.forEach(lodashEs.keys(groupedLiData), (groupkey, index) => {
|
|
3963
4032
|
const liData = getOrderedDataset(groupedLiData[groupkey], orderby, 'dataObject');
|
|
3964
4033
|
_groupedData.push({
|
|
3965
4034
|
key: groupkey,
|
|
3966
|
-
data:
|
|
4035
|
+
data: lodashEs.sortBy(liData, data => {
|
|
3967
4036
|
data._groupIndex = index + 1;
|
|
3968
|
-
return
|
|
4037
|
+
return lodashEs.get(data, groupBy) || lodashEs.get(data.dataObject, groupBy);
|
|
3969
4038
|
})
|
|
3970
4039
|
});
|
|
3971
4040
|
});
|
|
@@ -3985,10 +4054,11 @@
|
|
|
3985
4054
|
*/
|
|
3986
4055
|
const groupData = (compRef, data, groupby, match, orderby, dateformat, datePipe, innerItem, AppDefaults) => {
|
|
3987
4056
|
let groupedLiData = {};
|
|
3988
|
-
if (
|
|
4057
|
+
if (lodashEs.includes(groupby, '(')) {
|
|
3989
4058
|
//[Todo-CSP]: can generate expr fn in page based on groupby property on widget
|
|
3990
4059
|
const groupDataByUserDefinedFn = i1.$parseEvent(groupby);
|
|
3991
|
-
groupedLiData =
|
|
4060
|
+
groupedLiData = lodashEs.groupBy(data, val => {
|
|
4061
|
+
// @ts-ignore
|
|
3992
4062
|
return groupDataByUserDefinedFn(compRef.viewParent, { 'row': val.dataObject || val });
|
|
3993
4063
|
});
|
|
3994
4064
|
}
|
|
@@ -4014,14 +4084,14 @@
|
|
|
4014
4084
|
}
|
|
4015
4085
|
// handling case-in-sensitive scenario
|
|
4016
4086
|
// ordering the data based on groupby field. If there is innerItem then apply orderby using the innerItem's containing the groupby field.
|
|
4017
|
-
fieldDefs =
|
|
4018
|
-
const groupKey =
|
|
4087
|
+
fieldDefs = lodashEs.orderBy(fieldDefs, fieldDef => {
|
|
4088
|
+
const groupKey = lodashEs.get(innerItem ? fieldDef[innerItem] : fieldDef, groupby);
|
|
4019
4089
|
if (groupKey) {
|
|
4020
|
-
return
|
|
4090
|
+
return lodashEs.toLower(groupKey);
|
|
4021
4091
|
}
|
|
4022
4092
|
});
|
|
4023
4093
|
// extract the grouped data based on the field obtained from 'groupDataByField'.
|
|
4024
|
-
const groupedLiData =
|
|
4094
|
+
const groupedLiData = lodashEs.groupBy(fieldDefs, groupDataByField.bind(undefined, groupby, match, innerItem, dateFormat, datePipe, AppDefaults));
|
|
4025
4095
|
momentLocale._calendar = momentCalendarOptions; // Reset to default moment calendar options
|
|
4026
4096
|
return groupedLiData;
|
|
4027
4097
|
};
|
|
@@ -4087,9 +4157,9 @@
|
|
|
4087
4157
|
// groups the fields based on the groupby value.
|
|
4088
4158
|
const groupDataByField = (groupby, match, innerItem, dateFormat, datePipe, AppDefaults, liData) => {
|
|
4089
4159
|
// get the groupby field value from the liData or innerItem in the liData.
|
|
4090
|
-
let concatStr =
|
|
4160
|
+
let concatStr = lodashEs.get(innerItem ? liData[innerItem] : liData, groupby);
|
|
4091
4161
|
// by default set the undefined groupKey as 'others'
|
|
4092
|
-
if (
|
|
4162
|
+
if (lodashEs.isUndefined(concatStr) || lodashEs.isNull(concatStr) || concatStr.toString().trim() === '') {
|
|
4093
4163
|
return GROUP_BY_OPTIONS.OTHERS;
|
|
4094
4164
|
}
|
|
4095
4165
|
// if match prop is alphabetic ,get the starting alphabet of the word as key.
|
|
@@ -4097,7 +4167,7 @@
|
|
|
4097
4167
|
concatStr = concatStr.substr(0, 1);
|
|
4098
4168
|
}
|
|
4099
4169
|
// if match contains the time options then get the concatStr using 'getTimeRolledUpString'
|
|
4100
|
-
if (
|
|
4170
|
+
if (lodashEs.includes(lodashEs.values(TIME_ROLLUP_OPTIONS), match)) {
|
|
4101
4171
|
concatStr = getTimeRolledUpString(concatStr, match, dateFormat, datePipe, AppDefaults);
|
|
4102
4172
|
}
|
|
4103
4173
|
return concatStr;
|
|
@@ -4112,13 +4182,13 @@
|
|
|
4112
4182
|
// toggle the collapse icon on list header.
|
|
4113
4183
|
const groupIcons = groups.find('li.list-group-header .app-icon');
|
|
4114
4184
|
if (groupIcons) {
|
|
4115
|
-
|
|
4116
|
-
icon = $(icon);
|
|
4117
|
-
if (icon.hasClass('wi-chevron-down')) {
|
|
4118
|
-
icon.removeClass('wi-chevron-down').addClass('wi-chevron-up');
|
|
4185
|
+
lodashEs.forEach(groupIcons, (icon) => {
|
|
4186
|
+
const $icon = $(icon);
|
|
4187
|
+
if ($icon.hasClass('wi-chevron-down')) {
|
|
4188
|
+
$icon.removeClass('wi-chevron-down').addClass('wi-chevron-up');
|
|
4119
4189
|
}
|
|
4120
4190
|
else {
|
|
4121
|
-
icon.removeClass('wi-chevron-up').addClass('wi-chevron-down');
|
|
4191
|
+
$icon.removeClass('wi-chevron-up').addClass('wi-chevron-down');
|
|
4122
4192
|
}
|
|
4123
4193
|
});
|
|
4124
4194
|
}
|
|
@@ -4183,8 +4253,8 @@
|
|
|
4183
4253
|
};
|
|
4184
4254
|
// Method to set the header config of the data table
|
|
4185
4255
|
const setHeaderConfig = (headerConfig, config, field, index) => {
|
|
4186
|
-
|
|
4187
|
-
if (
|
|
4256
|
+
lodashEs.forEach(headerConfig, cols => {
|
|
4257
|
+
if (lodashEs.get(cols, 'isGroup')) {
|
|
4188
4258
|
if (cols.field === field) {
|
|
4189
4259
|
cols.columns[index] = config;
|
|
4190
4260
|
}
|
|
@@ -4240,8 +4310,8 @@
|
|
|
4240
4310
|
}
|
|
4241
4311
|
else if (captionWidth) {
|
|
4242
4312
|
// handling itemsperrow containing string of classes
|
|
4243
|
-
|
|
4244
|
-
const keys =
|
|
4313
|
+
lodashEs.forEach(lodashEs.split(captionWidth, ' '), function (cls) {
|
|
4314
|
+
const keys = lodashEs.split(cls, '-'), tier = keys[0];
|
|
4245
4315
|
let _captionWidth, widgetWidth;
|
|
4246
4316
|
_captionWidth = parseInt(keys[1], 10);
|
|
4247
4317
|
widgetWidth = 12 - _captionWidth;
|
|
@@ -4256,7 +4326,7 @@
|
|
|
4256
4326
|
};
|
|
4257
4327
|
};
|
|
4258
4328
|
const getDefaultViewModeWidget = widget => {
|
|
4259
|
-
if (
|
|
4329
|
+
if (lodashEs.includes(['checkbox', 'toggle', 'rating'], widget)) {
|
|
4260
4330
|
return VIEW_MODE_OPTIONS.DEFAULT;
|
|
4261
4331
|
}
|
|
4262
4332
|
return VIEW_MODE_OPTIONS.LABEL;
|
|
@@ -4326,7 +4396,7 @@
|
|
|
4326
4396
|
if (type === i1.DataType.BOOLEAN) {
|
|
4327
4397
|
widget = i1.FormWidgetType.SELECT;
|
|
4328
4398
|
}
|
|
4329
|
-
if (
|
|
4399
|
+
if (lodashEs.includes([i1.FormWidgetType.TEXT, i1.FormWidgetType.NUMBER, i1.FormWidgetType.SELECT, i1.FormWidgetType.AUTOCOMPLETE,
|
|
4330
4400
|
i1.FormWidgetType.DATE, i1.FormWidgetType.TIME, i1.FormWidgetType.DATETIME], widget)) {
|
|
4331
4401
|
return widget;
|
|
4332
4402
|
}
|
|
@@ -4384,22 +4454,22 @@
|
|
|
4384
4454
|
const routRegex = /^(\/|#\/|#)(?!\W).*/;
|
|
4385
4455
|
if (link) {
|
|
4386
4456
|
if (routRegex.test(link)) {
|
|
4387
|
-
link =
|
|
4457
|
+
link = lodashEs.first(link.match(/[\w]+.*/g)) || '';
|
|
4388
4458
|
return `#/${link}`;
|
|
4389
4459
|
}
|
|
4390
|
-
if (
|
|
4460
|
+
if (lodashEs.startsWith(link, 'www.')) {
|
|
4391
4461
|
return `//${link}`;
|
|
4392
4462
|
}
|
|
4393
4463
|
return link;
|
|
4394
4464
|
}
|
|
4395
4465
|
};
|
|
4396
|
-
class DatasetAwareNavComponent extends StylableComponent {
|
|
4397
|
-
constructor(inj, WIDGET_CONFIG) {
|
|
4398
|
-
super(inj, WIDGET_CONFIG);
|
|
4466
|
+
exports.DatasetAwareNavComponent = class DatasetAwareNavComponent extends StylableComponent {
|
|
4467
|
+
constructor(inj, WIDGET_CONFIG, explicitContext) {
|
|
4468
|
+
super(inj, WIDGET_CONFIG, explicitContext);
|
|
4399
4469
|
this.nodes = [];
|
|
4400
4470
|
this.nodes$ = new rxjs.Subject();
|
|
4401
4471
|
// debounce function for reset nodes functions.
|
|
4402
|
-
this._resetNodes =
|
|
4472
|
+
this._resetNodes = lodashEs.debounce(this.resetNodes, 50);
|
|
4403
4473
|
this.securityService = this.inj.get(security.SecurityService);
|
|
4404
4474
|
this.binditemlabel = this.nativeElement.getAttribute('itemlabel.bind');
|
|
4405
4475
|
this.binditemicon = this.nativeElement.getAttribute('itemicon.bind');
|
|
@@ -4419,24 +4489,49 @@
|
|
|
4419
4489
|
*/
|
|
4420
4490
|
getNode(fields, node) {
|
|
4421
4491
|
const context = this.viewParent.pageScope || this.viewParent;
|
|
4422
|
-
const children = getEvaluatedData(node, {
|
|
4492
|
+
const children = getEvaluatedData(node, {
|
|
4493
|
+
field: this.itemchildren,
|
|
4494
|
+
bindExpression: this.binditemchildren
|
|
4495
|
+
}, context) || lodashEs.get(node, fields.childrenField);
|
|
4423
4496
|
const navNode = {
|
|
4424
|
-
action: getEvaluatedData(node, {
|
|
4425
|
-
|
|
4497
|
+
action: getEvaluatedData(node, {
|
|
4498
|
+
field: this.itemaction,
|
|
4499
|
+
bindExpression: this.binditemaction
|
|
4500
|
+
}, context) || lodashEs.get(node, fields.actionField),
|
|
4501
|
+
badge: getEvaluatedData(node, {
|
|
4502
|
+
field: this.itembadge,
|
|
4503
|
+
bindExpression: this.binditembadge
|
|
4504
|
+
}, context) || lodashEs.get(node, fields.badgeField),
|
|
4426
4505
|
children: Array.isArray(children) ? this.getNodes(children) : [],
|
|
4427
|
-
class:
|
|
4506
|
+
class: lodashEs.get(node, fields.classField),
|
|
4428
4507
|
disabled: node.disabled,
|
|
4429
|
-
icon: getEvaluatedData(node, {
|
|
4430
|
-
|
|
4431
|
-
|
|
4432
|
-
|
|
4433
|
-
|
|
4508
|
+
icon: getEvaluatedData(node, {
|
|
4509
|
+
field: this.itemicon,
|
|
4510
|
+
bindExpression: this.binditemicon
|
|
4511
|
+
}, context) || lodashEs.get(node, fields.iconField),
|
|
4512
|
+
id: getEvaluatedData(node, {
|
|
4513
|
+
field: this.itemid,
|
|
4514
|
+
bindExpression: this.binditemid
|
|
4515
|
+
}, context) || lodashEs.get(node, fields.idField),
|
|
4516
|
+
label: getEvaluatedData(node, {
|
|
4517
|
+
field: this.itemlabel,
|
|
4518
|
+
bindExpression: this.binditemlabel
|
|
4519
|
+
}, context) || lodashEs.get(node, fields.labelField),
|
|
4520
|
+
link: getValidLink(getEvaluatedData(node, {
|
|
4521
|
+
field: this.itemlink,
|
|
4522
|
+
bindExpression: this.binditemlink
|
|
4523
|
+
}, context) || lodashEs.get(node, fields.linkField)),
|
|
4524
|
+
target: getValidLink(getEvaluatedData(node, {
|
|
4525
|
+
field: this.itemtarget,
|
|
4526
|
+
bindExpression: this.binditemtarget
|
|
4527
|
+
}, context) || lodashEs.get(node, fields.targetField)),
|
|
4434
4528
|
role: getEvaluatedData(node, { field: this.userrole, bindExpression: this.binduserrole }, context),
|
|
4435
4529
|
isactive: getEvaluatedData(node, { field: this.isactive, bindExpression: this.bindisactive }, context),
|
|
4436
4530
|
// older projects have display field & data field property for menu.
|
|
4437
4531
|
value: this.datafield ? (this.datafield === 'All Fields' ? node : i1.findValueOf(node, this.datafield)) : node
|
|
4438
4532
|
};
|
|
4439
|
-
|
|
4533
|
+
// @ts-ignore
|
|
4534
|
+
return lodashEs.omitBy(navNode, lodashEs.isUndefined);
|
|
4440
4535
|
}
|
|
4441
4536
|
resetItemFieldMap() {
|
|
4442
4537
|
this._itemFieldMap = null;
|
|
@@ -4519,7 +4614,12 @@
|
|
|
4519
4614
|
}
|
|
4520
4615
|
super.onPropertyChange(key, nv, ov);
|
|
4521
4616
|
}
|
|
4522
|
-
}
|
|
4617
|
+
};
|
|
4618
|
+
exports.DatasetAwareNavComponent = tslib.__decorate([
|
|
4619
|
+
tslib.__param(2, i0.Inject('EXPLICIT_CONTEXT')),
|
|
4620
|
+
tslib.__param(2, i0.Optional()),
|
|
4621
|
+
tslib.__metadata("design:paramtypes", [i0.Injector, Object, Object])
|
|
4622
|
+
], exports.DatasetAwareNavComponent);
|
|
4523
4623
|
|
|
4524
4624
|
const DEFAULT_VALIDATOR = {
|
|
4525
4625
|
pattern: 'regexp',
|
|
@@ -4569,7 +4669,7 @@
|
|
|
4569
4669
|
if (this.instance.regexp) {
|
|
4570
4670
|
_validator.push(forms.Validators.pattern(this.instance.regexp));
|
|
4571
4671
|
}
|
|
4572
|
-
if (this.formwidget &&
|
|
4672
|
+
if (this.formwidget && lodashEs.isFunction(this.formwidget.validate)) {
|
|
4573
4673
|
_validator.push(this.formwidget.validate.bind(this.formwidget));
|
|
4574
4674
|
}
|
|
4575
4675
|
return _validator;
|
|
@@ -4596,7 +4696,7 @@
|
|
|
4596
4696
|
}
|
|
4597
4697
|
getPromiseList(validators) {
|
|
4598
4698
|
const arr = [];
|
|
4599
|
-
|
|
4699
|
+
lodashEs.forEach(validators, (fn, index) => {
|
|
4600
4700
|
let promise = fn;
|
|
4601
4701
|
if (fn instanceof Function && fn.bind) {
|
|
4602
4702
|
promise = fn(this.widgetControl, this.widgetContext);
|
|
@@ -4618,11 +4718,11 @@
|
|
|
4618
4718
|
// if err obj has validationMessage key, then set validationMessage using this value
|
|
4619
4719
|
// else return the value of the first key in the err object as validation message.
|
|
4620
4720
|
if (err.hasOwnProperty('errorMessage')) {
|
|
4621
|
-
this.instance.validationmessage =
|
|
4721
|
+
this.instance.validationmessage = lodashEs.get(err, 'errorMessage');
|
|
4622
4722
|
}
|
|
4623
4723
|
else {
|
|
4624
|
-
const keys =
|
|
4625
|
-
this.instance.validationmessage = (err[keys[0]]).toString();
|
|
4724
|
+
const keys$1 = lodashEs.keys(err);
|
|
4725
|
+
this.instance.validationmessage = (err[keys$1[0]]).toString();
|
|
4626
4726
|
}
|
|
4627
4727
|
return err;
|
|
4628
4728
|
}).then(response => {
|
|
@@ -4654,7 +4754,7 @@
|
|
|
4654
4754
|
}
|
|
4655
4755
|
}
|
|
4656
4756
|
isDefaultValidator(type) {
|
|
4657
|
-
return
|
|
4757
|
+
return lodashEs.get(i1.VALIDATOR, lodashEs.toUpper(type));
|
|
4658
4758
|
}
|
|
4659
4759
|
// default validator is bound to a function then watch for value changes
|
|
4660
4760
|
// otherwise set the value of default validator directly
|
|
@@ -4670,10 +4770,10 @@
|
|
|
4670
4770
|
}
|
|
4671
4771
|
// sets the default validation on the form field
|
|
4672
4772
|
setValidators(validators) {
|
|
4673
|
-
let _cloneValidators =
|
|
4773
|
+
let _cloneValidators = lodashEs.cloneDeep(validators);
|
|
4674
4774
|
this.hasValidators = true;
|
|
4675
4775
|
this._syncValidators = [];
|
|
4676
|
-
|
|
4776
|
+
lodashEs.forEach(_cloneValidators, (obj, index) => {
|
|
4677
4777
|
// custom validation is bound to function.
|
|
4678
4778
|
if (obj && obj instanceof Function) {
|
|
4679
4779
|
// passing formfield and form as arguments to the obj (i.e. validator function)
|
|
@@ -4682,17 +4782,17 @@
|
|
|
4682
4782
|
}
|
|
4683
4783
|
else {
|
|
4684
4784
|
// checks for default validator like required, maxchars etc.
|
|
4685
|
-
const key =
|
|
4686
|
-
this.defaultValidatorMessages[key] =
|
|
4785
|
+
const key = lodashEs.get(obj, 'type');
|
|
4786
|
+
this.defaultValidatorMessages[key] = lodashEs.get(obj, 'errorMessage');
|
|
4687
4787
|
if (this.isDefaultValidator(key)) {
|
|
4688
|
-
const value =
|
|
4788
|
+
const value = lodashEs.get(obj, 'validator');
|
|
4689
4789
|
this.setDefaultValidator(key, value);
|
|
4690
4790
|
_cloneValidators[index] = '';
|
|
4691
4791
|
}
|
|
4692
4792
|
}
|
|
4693
4793
|
});
|
|
4694
4794
|
// _syncValidators contains all the custom validations on the form field. will not include default validators.
|
|
4695
|
-
this._syncValidators =
|
|
4795
|
+
this._syncValidators = lodashEs.filter(_cloneValidators, val => {
|
|
4696
4796
|
if (val) {
|
|
4697
4797
|
return val;
|
|
4698
4798
|
}
|
|
@@ -4700,8 +4800,8 @@
|
|
|
4700
4800
|
this.applyDefaultValidators();
|
|
4701
4801
|
}
|
|
4702
4802
|
observeOn(fields, context) {
|
|
4703
|
-
|
|
4704
|
-
const formfield =
|
|
4803
|
+
lodashEs.forEach(fields, field => {
|
|
4804
|
+
const formfield = lodashEs.find(this.widgetContext[context], { 'key': field });
|
|
4705
4805
|
if (formfield) {
|
|
4706
4806
|
if (!formfield.notifyForFields) {
|
|
4707
4807
|
formfield.notifyForFields = [];
|
|
@@ -4732,13 +4832,13 @@
|
|
|
4732
4832
|
const watchName = `${this.instance.widgetId}_` + key + '_formField';
|
|
4733
4833
|
i1.$unwatch(watchName);
|
|
4734
4834
|
//[Todo-CSP]: Need clarity generate this expr fn if form is present in the page
|
|
4735
|
-
this.instance.registerDestroyListener(i1.$watch('boundFn(fn)',
|
|
4835
|
+
this.instance.registerDestroyListener(i1.$watch('boundFn(fn)', lodashEs.extend(this.instance, this.instance.viewParent), { fn }, (nv, ov) => {
|
|
4736
4836
|
this.instance.widget[key] = nv;
|
|
4737
4837
|
this.applyDefaultValidators();
|
|
4738
4838
|
}, watchName));
|
|
4739
4839
|
}
|
|
4740
4840
|
isNullOrEmptyOrFalsy(value) {
|
|
4741
|
-
return
|
|
4841
|
+
return lodashEs.isEmpty(value);
|
|
4742
4842
|
}
|
|
4743
4843
|
// invokes both custom sync validations and default validations.
|
|
4744
4844
|
applyDefaultValidators() {
|
|
@@ -4749,7 +4849,7 @@
|
|
|
4749
4849
|
if (this.formwidget && (this.instance.value === this.formwidget.prevDatavalue || this.isNullOrEmptyOrFalsy(this.instance.value))) {
|
|
4750
4850
|
opt['emitEvent'] = false;
|
|
4751
4851
|
}
|
|
4752
|
-
this.widgetControl.setValidators(
|
|
4852
|
+
this.widgetControl.setValidators(lodashEs.concat(this._syncValidators || [], validators));
|
|
4753
4853
|
this.widgetControl.updateValueAndValidity(opt);
|
|
4754
4854
|
this.setCustomValidationMessage();
|
|
4755
4855
|
}
|
|
@@ -4759,14 +4859,14 @@
|
|
|
4759
4859
|
return;
|
|
4760
4860
|
}
|
|
4761
4861
|
if (fieldErrors.hasOwnProperty('errorMessage')) {
|
|
4762
|
-
this.instance.validationmessage =
|
|
4862
|
+
this.instance.validationmessage = lodashEs.get(fieldErrors, 'errorMessage');
|
|
4763
4863
|
}
|
|
4764
4864
|
else {
|
|
4765
|
-
const keys =
|
|
4766
|
-
const key = keys[0];
|
|
4767
|
-
const validationMsgKey =
|
|
4865
|
+
const keys$1 = lodashEs.keys(fieldErrors);
|
|
4866
|
+
const key = keys$1[0];
|
|
4867
|
+
const validationMsgKey = lodashEs.get(DEFAULT_VALIDATOR, key) || this.formwidget.validateType;
|
|
4768
4868
|
if (validationMsgKey) {
|
|
4769
|
-
const msg =
|
|
4869
|
+
const msg = lodashEs.get(this.defaultValidatorMessages, validationMsgKey) || this.instance.validationmessage;
|
|
4770
4870
|
if (msg && msg instanceof Function) {
|
|
4771
4871
|
// passing formfield and form as arguments to the errorMessage function.
|
|
4772
4872
|
this.instance.validationmessage = msg(this.widgetControl, this.widgetContext);
|
|
@@ -5156,7 +5256,6 @@
|
|
|
5156
5256
|
exports.DEBOUNCE_TIMES = DEBOUNCE_TIMES;
|
|
5157
5257
|
exports.DISPLAY_TYPE = DISPLAY_TYPE;
|
|
5158
5258
|
exports.DataSetItem = DataSetItem;
|
|
5159
|
-
exports.DatasetAwareNavComponent = DatasetAwareNavComponent;
|
|
5160
5259
|
exports.DialogRef = DialogRef;
|
|
5161
5260
|
exports.DialogServiceImpl = DialogServiceImpl;
|
|
5162
5261
|
exports.EDIT_MODE = EDIT_MODE;
|
|
@@ -5269,5 +5368,6 @@
|
|
|
5269
5368
|
exports.transformFormData = transformFormData;
|
|
5270
5369
|
exports.unsupportedStatePersistenceTypes = unsupportedStatePersistenceTypes;
|
|
5271
5370
|
exports.updateDeviceView = updateDeviceView;
|
|
5371
|
+
exports.widgetIdGenerator = widgetIdGenerator;
|
|
5272
5372
|
|
|
5273
5373
|
}));
|