@wavemaker/app-ng-runtime 11.8.0-rc.5653 → 11.8.0-rc.5659
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 +33 -9
- app-ng-runtime/build-task/esm2022/advanced/carousel/carousel-template/carousel-template.build.mjs +4 -2
- 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 +4 -2
- 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 +31 -6
- 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 +26 -16
- app-ng-runtime/components/advanced/carousel/carousel-template/carousel-template.directive.d.ts +2 -2
- 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 +12 -7
- 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 +25 -14
- 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 +357 -272
- app-ng-runtime/components/base/esm2022/components.module.mjs +2 -2
- app-ng-runtime/components/base/esm2022/directives/show-in-device.directive.mjs +4 -4
- 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/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 +42 -16
- 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 +3 -3
- 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 +12 -7
- 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 +362 -274
- app-ng-runtime/components/base/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/base/pipes/custom-pipes.d.ts +1 -1
- app-ng-runtime/components/base/utils/data-utils.d.ts +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 +4 -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/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 +2 -2
- 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 +45 -32
- app-ng-runtime/components/basic/progress/esm2022/progress-bar/progress-bar.component.mjs +24 -17
- 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 +44 -30
- 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 +202 -188
- 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 -16
- 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 +139 -135
- 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 +206 -191
- 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 +826 -818
- app-ng-runtime/components/data/list/esm2022/list-item.directive.mjs +4 -4
- app-ng-runtime/components/data/list/esm2022/list.animator.mjs +5 -3
- app-ng-runtime/components/data/list/esm2022/list.component.mjs +818 -810
- app-ng-runtime/components/data/list/esm2022/list.module.mjs +2 -2
- app-ng-runtime/components/data/list/fesm2022/index.mjs +825 -816
- app-ng-runtime/components/data/list/fesm2022/index.mjs.map +1 -1
- 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 +311 -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 +162 -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 +310 -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 +610 -487
- 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 +70 -68
- 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 +613 -488
- 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 -4
- 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 +226 -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 +45 -36
- app-ng-runtime/components/input/epoch/esm2022/date/date.component.mjs +48 -23
- 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 +224 -162
- 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 +154 -137
- 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 +2 -2
- app-ng-runtime/components/navigation/menu/esm2022/nav/nav-item/nav-item.directive.mjs +12 -7
- app-ng-runtime/components/navigation/menu/esm2022/nav/nav.component.mjs +60 -56
- app-ng-runtime/components/navigation/menu/esm2022/nav/navigation-control.directive.mjs +3 -3
- app-ng-runtime/components/navigation/menu/fesm2022/index.mjs +153 -135
- 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 +2 -2
- app-ng-runtime/components/navigation/menu/nav/nav.component.d.ts +2 -2
- 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 +43 -43
- app-ng-runtime/mobile/core/esm2022/core.module.mjs +3 -3
- app-ng-runtime/mobile/core/esm2022/native.xhr.mjs +1 -1
- 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 +40 -39
- 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 +249 -239
- app-ng-runtime/runtime/base/components/app-component/app.component.d.ts +3 -1
- 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 +13 -12
- 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 +259 -249
- 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 +2 -1
- app-ng-runtime/scripts/jquery-ui/ui/widgets/droppable.js +7 -7
- app-ng-runtime/scripts/jquery-ui/ui/widgets/resizable.js +13 -10
- app-ng-runtime/scripts/jquery-ui/ui/widgets/sortable.js +7 -7
- app-ng-runtime/security/.npmignore +2 -0
- app-ng-runtime/security/bundles/index.umd.js +17 -17
- app-ng-runtime/security/esm2022/security.module.mjs +2 -2
- app-ng-runtime/security/esm2022/security.service.mjs +14 -13
- app-ng-runtime/security/fesm2022/index.mjs +14 -13
- app-ng-runtime/security/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/security/security.service.d.ts +1 -1
- app-ng-runtime/swipey/.npmignore +2 -0
- app-ng-runtime/swipey/esm2022/swipe.animation.mjs +1 -1
- app-ng-runtime/swipey/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/transpiler/.npmignore +2 -0
- app-ng-runtime/transpiler/bundles/index.umd.js +10 -9
- app-ng-runtime/transpiler/esm2022/build.mjs +8 -6
- app-ng-runtime/transpiler/fesm2022/index.mjs +7 -5
- app-ng-runtime/transpiler/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/variables/.npmignore +2 -0
- app-ng-runtime/variables/bundles/index.umd.js +160 -150
- app-ng-runtime/variables/esm2022/factory/variable.factory.mjs +1 -1
- app-ng-runtime/variables/esm2022/manager/action/login-action.manager.mjs +15 -14
- app-ng-runtime/variables/esm2022/manager/action/logout-action.manager.mjs +1 -1
- app-ng-runtime/variables/esm2022/manager/action/notification-action.manager.mjs +9 -8
- app-ng-runtime/variables/esm2022/manager/variable/base-variable.manager.mjs +3 -2
- app-ng-runtime/variables/esm2022/manager/variable/device-variable-manager.mjs +1 -1
- app-ng-runtime/variables/esm2022/manager/variable/device-variable-service.mjs +1 -1
- app-ng-runtime/variables/esm2022/manager/variable/web-socket-variable.manager.mjs +11 -10
- app-ng-runtime/variables/esm2022/model/action/notification-action.mjs +1 -1
- app-ng-runtime/variables/esm2022/service/metadata-service/metadata.service.mjs +3 -3
- app-ng-runtime/variables/esm2022/service/variables.service.mjs +9 -8
- app-ng-runtime/variables/esm2022/util/action/navigation-action.utils.mjs +4 -4
- app-ng-runtime/variables/esm2022/util/variable/pagination.utils.mjs +30 -23
- app-ng-runtime/variables/esm2022/util/variable/service-variable.utils.mjs +29 -28
- app-ng-runtime/variables/esm2022/util/variable/variables.utils.mjs +75 -70
- app-ng-runtime/variables/esm2022/variables.module.mjs +2 -2
- app-ng-runtime/variables/fesm2022/index.mjs +174 -163
- app-ng-runtime/variables/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/variables/util/variable/service-variable.utils.d.ts +1 -1
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { InjectionToken, forwardRef, ElementRef, inject, ViewContainerRef, Injectable, Inject, Directive, Self, ContentChildren, Pipe, Input, Component, Attribute, SecurityContext, NgModule } from '@angular/core';
|
|
2
|
+
import { InjectionToken, forwardRef, ElementRef, inject, ViewContainerRef, Injector, Injectable, Inject, Optional, Directive, Self, ContentChildren, Pipe, Input, Component, Attribute, SecurityContext, NgModule } from '@angular/core';
|
|
3
3
|
import * as i1$1 from '@angular/common';
|
|
4
4
|
import { Location, CommonModule } from '@angular/common';
|
|
5
5
|
import * as i1 from '@wm/core';
|
|
6
|
-
import { FormWidgetType, checkIsCustomPipeExpression, $parseExpr, isValidWebURL, encodeUrl, stringStartsWith, prettifyLabel, deHyphenate, initCaps, getClonedObject, setCSS, isDefined, IDGenerator, toBoolean, isChangeFromWatch, $unwatch, resetChangeFromWatch, isObject, toDimension, $appDigest, removeClass, addClass, setCSSFromObj, App, findParent, setAttr, isMobileApp, switchClass, removeAttr, $parseEvent, $invokeWatchers, $watch, transformFileURI, ComponentType, noop as noop$1, isLargeTabletLandscape, isLargeTabletPortrait, isKitkatDevice, debounce, hasOffsetStr, AbstractI18nService, CURRENCY_INFO, isMobile, AbstractDialogService, DataSource, processFilterExpBindNode, MatchMode, isEqualWithFields, getFormattedDate, isAndroid, isNumberType, DataType, findValueOf, validateAccessRoles, VALIDATOR, isIos } from '@wm/core';
|
|
6
|
+
import { FormWidgetType, checkIsCustomPipeExpression, $parseExpr, isValidWebURL, encodeUrl, stringStartsWith, prettifyLabel, deHyphenate, initCaps, getClonedObject, setCSS, isDefined, IDGenerator, toBoolean, isChangeFromWatch, $unwatch, resetChangeFromWatch, isObject as isObject$1, toDimension, $appDigest, removeClass, addClass, setCSSFromObj, App, findParent, setAttr, isMobileApp, switchClass, removeAttr, $parseEvent, $invokeWatchers, $watch, transformFileURI, ComponentType, noop as noop$1, isLargeTabletLandscape, isLargeTabletPortrait, isKitkatDevice, debounce as debounce$1, hasOffsetStr, AbstractI18nService, CURRENCY_INFO, isMobile, AbstractDialogService, DataSource, processFilterExpBindNode, MatchMode, isEqualWithFields, getFormattedDate, isAndroid, isNumberType, DataType, findValueOf, validateAccessRoles, VALIDATOR, isIos } from '@wm/core';
|
|
7
7
|
import { SecurityModule, SecurityService } from '@wm/security';
|
|
8
|
-
import { createFocusTrap } from '@wavemaker/focus-trap
|
|
8
|
+
import { createFocusTrap } from '@wavemaker/focus-trap';
|
|
9
|
+
import { isNull, get, forEach, join, union, isArray, isObject, includes, split, isString, assignWith, startsWith, isFunction, extend, camelCase, map, pickBy, assign, debounce, isDate, isUndefined, filter as filter$1, isEmpty, keys, head, replace, each, intersection, cloneDeep, orderBy, trim, isEqual, uniqWith, uniqBy, sortBy, groupBy, toLower, values, first, omitBy, toUpper, find, concat } from 'lodash-es';
|
|
9
10
|
import * as i1$2 from '@angular/platform-browser';
|
|
10
11
|
import { EventManager } from '@angular/platform-browser';
|
|
11
12
|
import { ReplaySubject, Subject } from 'rxjs';
|
|
12
13
|
import { filter, debounceTime } from 'rxjs/operators';
|
|
14
|
+
import { __param, __metadata, __decorate } from 'tslib';
|
|
13
15
|
import { Validators } from '@angular/forms';
|
|
14
16
|
import { SwipeAnimation } from '@swipey';
|
|
15
17
|
|
|
@@ -87,7 +89,7 @@ const getObjValueByKey = (obj, strKey) => {
|
|
|
87
89
|
/* convert indexes to properties, so as to work for even 'key1[0].child1'*/
|
|
88
90
|
strKey.replace(/\[(\w+)\]/g, '.$1').split('.').forEach(key => {
|
|
89
91
|
// If obj is null, then assign val to null.
|
|
90
|
-
val = (val && val[key]) || (
|
|
92
|
+
val = (val && val[key]) || (isNull(obj) ? obj : obj[key]);
|
|
91
93
|
});
|
|
92
94
|
return val;
|
|
93
95
|
}
|
|
@@ -122,7 +124,7 @@ const getEvaluatedData = (dataObj, options, context) => {
|
|
|
122
124
|
// Handling field name with special charecters
|
|
123
125
|
// Ex: field = "f name"
|
|
124
126
|
if (!bindExpr && !expr) {
|
|
125
|
-
return
|
|
127
|
+
return get(dataObj, field);
|
|
126
128
|
}
|
|
127
129
|
return $parseExpr(expressionValue)(context, Object.assign({}, dataObj, { __1: dataObj }));
|
|
128
130
|
};
|
|
@@ -159,12 +161,12 @@ const hasLinkToCurrentPage = (nodes, routeUrl) => {
|
|
|
159
161
|
const getOrderByExpr = pageableObj => {
|
|
160
162
|
pageableObj = pageableObj || [];
|
|
161
163
|
const expressions = [], KEY_VAL_SEPARATOR = ' ', FIELD_SEPARATOR = ',';
|
|
162
|
-
|
|
164
|
+
forEach(pageableObj, obj => {
|
|
163
165
|
if (obj.direction) {
|
|
164
166
|
expressions.push(obj.property + KEY_VAL_SEPARATOR + obj.direction.toLowerCase());
|
|
165
167
|
}
|
|
166
168
|
});
|
|
167
|
-
return
|
|
169
|
+
return join(expressions, FIELD_SEPARATOR);
|
|
168
170
|
};
|
|
169
171
|
const isDataSetWidget = widget => {
|
|
170
172
|
return DATASET_WIDGETS.has(widget);
|
|
@@ -254,13 +256,13 @@ const getMatchModeTypesMap = (multiMode) => {
|
|
|
254
256
|
modes.string.push('in', 'notin');
|
|
255
257
|
modes.character.push('in', 'notin');
|
|
256
258
|
}
|
|
257
|
-
|
|
258
|
-
|
|
259
|
+
forEach(typesMap, (types, primType) => {
|
|
260
|
+
forEach(types, type => {
|
|
259
261
|
matchModeTypesMap[type] = modes[primType];
|
|
260
262
|
});
|
|
261
263
|
});
|
|
262
264
|
// this is used in filter criteria when the user types the column name manually and where we dont know the type of the column
|
|
263
|
-
matchModeTypesMap['default'] =
|
|
265
|
+
matchModeTypesMap['default'] = union(modes['number'], modes['string'], modes['character'], modes['date'], modes['date']);
|
|
264
266
|
return matchModeTypesMap;
|
|
265
267
|
};
|
|
266
268
|
const getMatchModeMsgs = (appLocale) => {
|
|
@@ -292,14 +294,14 @@ const getMatchModeMsgs = (appLocale) => {
|
|
|
292
294
|
// Returns array of classes that are evaluated true for given object or array
|
|
293
295
|
const getClassesArray = classVal => {
|
|
294
296
|
let classes = [];
|
|
295
|
-
if (
|
|
297
|
+
if (isArray(classVal)) {
|
|
296
298
|
classVal.forEach(v => {
|
|
297
299
|
classes = classes.concat(getClassesArray(v));
|
|
298
300
|
});
|
|
299
301
|
return classes;
|
|
300
302
|
}
|
|
301
|
-
if (
|
|
302
|
-
|
|
303
|
+
if (isObject(classVal)) {
|
|
304
|
+
forEach(classVal, (val, key) => {
|
|
303
305
|
if (val) {
|
|
304
306
|
classes = classes.concat(key.split(' '));
|
|
305
307
|
}
|
|
@@ -313,9 +315,9 @@ const getConditionalClasses = (nv, ov) => {
|
|
|
313
315
|
// if the conditional class property has already toAdd and toRemove arrays then take that otherwise build those arrays
|
|
314
316
|
const classToAdd = nv.toAdd || nv;
|
|
315
317
|
const classToRemove = nv.toRemove || ov;
|
|
316
|
-
if (
|
|
317
|
-
toAdd =
|
|
318
|
-
toRemove = classToRemove ? (
|
|
318
|
+
if (isObject(nv)) {
|
|
319
|
+
toAdd = isArray(classToAdd) ? classToAdd : getClassesArray(classToAdd || []);
|
|
320
|
+
toRemove = classToRemove ? (isArray(classToRemove) ? classToRemove : getClassesArray(classToRemove)) : [];
|
|
319
321
|
}
|
|
320
322
|
else {
|
|
321
323
|
toAdd = classToAdd ? [classToAdd] : [];
|
|
@@ -330,9 +332,9 @@ const pushFieldDef = (dataObject, columnDefObj, namePrefix, options) => {
|
|
|
330
332
|
if (!options) {
|
|
331
333
|
options = {};
|
|
332
334
|
}
|
|
333
|
-
|
|
334
|
-
if (
|
|
335
|
-
relatedInfo =
|
|
335
|
+
forEach(dataObject, (value, title) => {
|
|
336
|
+
if (includes(title, '.')) {
|
|
337
|
+
relatedInfo = split(title, '.');
|
|
336
338
|
relatedTable = relatedInfo[0];
|
|
337
339
|
relatedField = relatedInfo[1];
|
|
338
340
|
isRelated = true;
|
|
@@ -341,7 +343,7 @@ const pushFieldDef = (dataObject, columnDefObj, namePrefix, options) => {
|
|
|
341
343
|
modifiedTitle = title;
|
|
342
344
|
}
|
|
343
345
|
else {
|
|
344
|
-
if (
|
|
346
|
+
if (isString(title)) {
|
|
345
347
|
modifiedTitle = prettifyLabel(title);
|
|
346
348
|
modifiedTitle = deHyphenate(modifiedTitle);
|
|
347
349
|
modifiedTitle = namePrefix ? initCaps(namePrefix) + ' ' + modifiedTitle : modifiedTitle;
|
|
@@ -353,7 +355,7 @@ const pushFieldDef = (dataObject, columnDefObj, namePrefix, options) => {
|
|
|
353
355
|
title = namePrefix ? namePrefix + '.' + title : title;
|
|
354
356
|
if (isRelated) {
|
|
355
357
|
// For related columns, shorten the title to last two words
|
|
356
|
-
fieldName =
|
|
358
|
+
fieldName = split(modifiedTitle, ' ');
|
|
357
359
|
fieldName = fieldName.length > 1 ? fieldName[fieldName.length - 2] + ' ' + fieldName[fieldName.length - 1] : fieldName[0];
|
|
358
360
|
}
|
|
359
361
|
else {
|
|
@@ -362,7 +364,7 @@ const pushFieldDef = (dataObject, columnDefObj, namePrefix, options) => {
|
|
|
362
364
|
const defObj = options.setBindingField ? { 'displayName': fieldName, 'field': title, 'relatedTable': relatedTable, 'relatedField': relatedField || modifiedTitle }
|
|
363
365
|
: { 'displayName': fieldName, 'relatedTable': relatedTable, 'relatedField': relatedField || modifiedTitle };
|
|
364
366
|
/*if field is a leaf node, push it in the columnDefs*/
|
|
365
|
-
if (!
|
|
367
|
+
if (!isObject(value) || (isArray(value) && !value[0])) {
|
|
366
368
|
/*if the column counter has reached upperBound return*/
|
|
367
369
|
if (options.upperBound && options.columnCount === options.upperBound) {
|
|
368
370
|
return;
|
|
@@ -378,7 +380,7 @@ const pushFieldDef = (dataObject, columnDefObj, namePrefix, options) => {
|
|
|
378
380
|
columnDefObj.objects.push(defObj);
|
|
379
381
|
}
|
|
380
382
|
/* if field is an array node, process its first child */
|
|
381
|
-
if (
|
|
383
|
+
if (isArray(value) && value[0]) {
|
|
382
384
|
pushFieldDef(value[0], columnDefObj, title + '[0]', options);
|
|
383
385
|
}
|
|
384
386
|
else {
|
|
@@ -389,17 +391,17 @@ const pushFieldDef = (dataObject, columnDefObj, namePrefix, options) => {
|
|
|
389
391
|
};
|
|
390
392
|
const getMetaDataFromData = (data) => {
|
|
391
393
|
let dataObject;
|
|
392
|
-
if (
|
|
393
|
-
if (
|
|
394
|
+
if (isArray(data)) {
|
|
395
|
+
if (isObject(data[0])) {
|
|
394
396
|
dataObject = getClonedObject(data[0]);
|
|
395
397
|
/*Loop over the object to find out any null values. If any null values are present in the first row, check and assign the values from other row.
|
|
396
398
|
* As column generation is dependent on data, for related fields if first row value is null, columns are not generated.
|
|
397
399
|
* To prevent this, check the data in other rows and generate the columns. New keys from others rows are also added*/
|
|
398
|
-
|
|
400
|
+
forEach(data, (row, index) => {
|
|
399
401
|
if ((index + 1) >= 10) { // Limit the data search to first 10 records
|
|
400
402
|
return false;
|
|
401
403
|
}
|
|
402
|
-
|
|
404
|
+
assignWith(dataObject, row, (objValue, srcValue) => {
|
|
403
405
|
return (objValue === null || objValue === undefined) ? srcValue : objValue;
|
|
404
406
|
});
|
|
405
407
|
});
|
|
@@ -788,11 +790,11 @@ const globalPropertyChangeHandler = (component, key, nv) => {
|
|
|
788
790
|
}
|
|
789
791
|
}
|
|
790
792
|
// Set the value in the component and trigger appDigest when there is a change in the value
|
|
791
|
-
if (nv !== ov || isObject(nv) || isObject(ov)) {
|
|
793
|
+
if (nv !== ov || isObject$1(nv) || isObject$1(ov)) {
|
|
792
794
|
if (isDimensionProp(key)) {
|
|
793
795
|
nv = toDimension(nv);
|
|
794
796
|
}
|
|
795
|
-
else if (
|
|
797
|
+
else if (startsWith(nv, 'resources/')) {
|
|
796
798
|
const ref = component;
|
|
797
799
|
if (ref._parentPrefab_ === undefined) {
|
|
798
800
|
ref._parentPrefab_ = component.$element.parent().closest('[prefabname][prefabname!="__self__"]').attr('prefabname') || '';
|
|
@@ -833,7 +835,7 @@ const proxyHandler = {
|
|
|
833
835
|
},
|
|
834
836
|
get: (target, key) => {
|
|
835
837
|
const v = target[key];
|
|
836
|
-
if (
|
|
838
|
+
if (isFunction(v)) { // bind the proper context for the methods
|
|
837
839
|
return v.bind(target);
|
|
838
840
|
}
|
|
839
841
|
return v;
|
|
@@ -862,7 +864,7 @@ class WidgetProxyProvider {
|
|
|
862
864
|
// bind proper context for the methods
|
|
863
865
|
invokeLater(() => {
|
|
864
866
|
for (const key in instance) {
|
|
865
|
-
if (
|
|
867
|
+
if (isFunction(instance[key]) && key !== 'constructor' && key !== 'super' && !startsWith(key, 'ng')) {
|
|
866
868
|
instance[key] = instance[key].bind(instance);
|
|
867
869
|
}
|
|
868
870
|
}
|
|
@@ -893,21 +895,21 @@ class WidgetProxyProvider {
|
|
|
893
895
|
// Gets list of classes to add and remove and applies on the $el
|
|
894
896
|
const updateClasses = (toAdd, toRemove, el) => {
|
|
895
897
|
if (toRemove && toRemove.length) {
|
|
896
|
-
removeClass(el,
|
|
898
|
+
removeClass(el, join(toRemove, ' '));
|
|
897
899
|
}
|
|
898
900
|
if (toAdd && toAdd.length) {
|
|
899
|
-
addClass(el,
|
|
901
|
+
addClass(el, join(toAdd, ' '));
|
|
900
902
|
}
|
|
901
903
|
};
|
|
902
904
|
// To add and remove styles on the $el
|
|
903
905
|
const updateStyles = (nv, ov, el) => {
|
|
904
|
-
if (ov &&
|
|
906
|
+
if (ov && isObject(ov)) {
|
|
905
907
|
const keys = Object.keys(ov || {});
|
|
906
908
|
keys.forEach(function (key) {
|
|
907
909
|
setCSS(el, key, '');
|
|
908
910
|
});
|
|
909
911
|
}
|
|
910
|
-
if (nv &&
|
|
912
|
+
if (nv && isObject(nv)) {
|
|
911
913
|
setCSSFromObj(el, nv);
|
|
912
914
|
}
|
|
913
915
|
};
|
|
@@ -918,7 +920,7 @@ class BaseComponent {
|
|
|
918
920
|
get $element() {
|
|
919
921
|
return $(this.nativeElement);
|
|
920
922
|
}
|
|
921
|
-
constructor(inj, config, initPromise // Promise on which the initialization has to wait
|
|
923
|
+
constructor(inj, config, explicitContext, initPromise // Promise on which the initialization has to wait
|
|
922
924
|
) {
|
|
923
925
|
this.inj = inj;
|
|
924
926
|
this.isAttached = false;
|
|
@@ -950,6 +952,7 @@ class BaseComponent {
|
|
|
950
952
|
this.__cloneable__ = false;
|
|
951
953
|
this.$attrs = new Map();
|
|
952
954
|
this.isMuted = false;
|
|
955
|
+
this.customInjectorMap = {};
|
|
953
956
|
const elementRef = inj.get(ElementRef);
|
|
954
957
|
this.nativeElement = elementRef.nativeElement;
|
|
955
958
|
//making the code compatible in both the JIT and AOT modes
|
|
@@ -1017,6 +1020,9 @@ class BaseComponent {
|
|
|
1017
1020
|
this.setInitProps();
|
|
1018
1021
|
});
|
|
1019
1022
|
}
|
|
1023
|
+
if (explicitContext) {
|
|
1024
|
+
extend(this.context, explicitContext);
|
|
1025
|
+
}
|
|
1020
1026
|
}
|
|
1021
1027
|
getNativeElement() {
|
|
1022
1028
|
return this.nativeElement;
|
|
@@ -1089,8 +1095,8 @@ class BaseComponent {
|
|
|
1089
1095
|
}
|
|
1090
1096
|
if (parentContexts) {
|
|
1091
1097
|
let parentContextObj = {};
|
|
1092
|
-
if (
|
|
1093
|
-
|
|
1098
|
+
if (isArray(parentContexts)) {
|
|
1099
|
+
forEach(parentContexts, (contextObj) => {
|
|
1094
1100
|
Object.assign(parentContextObj, contextObj);
|
|
1095
1101
|
});
|
|
1096
1102
|
}
|
|
@@ -1248,7 +1254,7 @@ class BaseComponent {
|
|
|
1248
1254
|
this.eventHandlers.set(this.getMappedEventName(eventName), { callback: eventCallback, locals });
|
|
1249
1255
|
// prepend eventName with on and convert it to camelcase.
|
|
1250
1256
|
// eg, "click" ---> onClick
|
|
1251
|
-
const onEventName =
|
|
1257
|
+
const onEventName = camelCase(`on-${eventName}`);
|
|
1252
1258
|
// save the eventCallback in widgetScope.
|
|
1253
1259
|
this[onEventName] = eventCallback;
|
|
1254
1260
|
// events needs to be setup after viewInit
|
|
@@ -1330,7 +1336,7 @@ class BaseComponent {
|
|
|
1330
1336
|
if (_tNodeAttrs === null) {
|
|
1331
1337
|
return actualAttrs.sort();
|
|
1332
1338
|
}
|
|
1333
|
-
|
|
1339
|
+
forEach(_tNodeAttrs, (attr, i) => {
|
|
1334
1340
|
if (typeof attr === 'number') {
|
|
1335
1341
|
return false;
|
|
1336
1342
|
}
|
|
@@ -1355,7 +1361,7 @@ class BaseComponent {
|
|
|
1355
1361
|
* Process the attributes
|
|
1356
1362
|
*/
|
|
1357
1363
|
processAttrs() {
|
|
1358
|
-
|
|
1364
|
+
map(this.getAttributes(), (attrName) => {
|
|
1359
1365
|
let attrValue = this.nativeElement.attributes[attrName].value;
|
|
1360
1366
|
this.$attrs.set(attrName, attrValue);
|
|
1361
1367
|
this.processAttr(attrName, attrValue);
|
|
@@ -1431,6 +1437,22 @@ class BaseComponent {
|
|
|
1431
1437
|
unmute() {
|
|
1432
1438
|
this.isMuted = false;
|
|
1433
1439
|
}
|
|
1440
|
+
createCustomInjector(contextKey, context) {
|
|
1441
|
+
if (this.customInjectorMap[contextKey]) {
|
|
1442
|
+
if (this.customInjectorMap[contextKey].context === context) {
|
|
1443
|
+
return this.customInjectorMap[contextKey].injector;
|
|
1444
|
+
}
|
|
1445
|
+
delete this.customInjectorMap[contextKey];
|
|
1446
|
+
}
|
|
1447
|
+
const inj = Injector.create({
|
|
1448
|
+
providers: [{ provide: 'EXPLICIT_CONTEXT', useValue: context }],
|
|
1449
|
+
});
|
|
1450
|
+
this.customInjectorMap[contextKey] = {
|
|
1451
|
+
context: context,
|
|
1452
|
+
injector: inj
|
|
1453
|
+
};
|
|
1454
|
+
return inj;
|
|
1455
|
+
}
|
|
1434
1456
|
/**
|
|
1435
1457
|
* After the host page is attached from cache, this function is called.
|
|
1436
1458
|
*/
|
|
@@ -1474,21 +1496,26 @@ class BaseComponent {
|
|
|
1474
1496
|
this.destroy.complete();
|
|
1475
1497
|
this.isAttached = false;
|
|
1476
1498
|
}
|
|
1477
|
-
static { this.ɵfac = function BaseComponent_Factory(t) { return new (t || BaseComponent)(i0.ɵɵinject(i0.Injector), i0.ɵɵinject(WidgetConfig), i0.ɵɵinject(Promise)); }; }
|
|
1499
|
+
static { this.ɵfac = function BaseComponent_Factory(t) { return new (t || BaseComponent)(i0.ɵɵinject(i0.Injector), i0.ɵɵinject(WidgetConfig), i0.ɵɵinject('EXPLICIT_CONTEXT', 8), i0.ɵɵinject(Promise)); }; }
|
|
1478
1500
|
static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: BaseComponent, factory: BaseComponent.ɵfac }); }
|
|
1479
1501
|
}
|
|
1480
|
-
(
|
|
1502
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(BaseComponent, [{
|
|
1481
1503
|
type: Injectable
|
|
1482
|
-
}],
|
|
1504
|
+
}], () => [{ type: i0.Injector }, { type: undefined, decorators: [{
|
|
1483
1505
|
type: Inject,
|
|
1484
1506
|
args: [WidgetConfig]
|
|
1485
|
-
}] }, { type:
|
|
1507
|
+
}] }, { type: undefined, decorators: [{
|
|
1508
|
+
type: Inject,
|
|
1509
|
+
args: ['EXPLICIT_CONTEXT']
|
|
1510
|
+
}, {
|
|
1511
|
+
type: Optional
|
|
1512
|
+
}] }, { type: Promise }], null); })();
|
|
1486
1513
|
|
|
1487
1514
|
class StylableComponent extends BaseComponent {
|
|
1488
|
-
static { this.ɵfac = /*@__PURE__*/
|
|
1515
|
+
static { this.ɵfac = /*@__PURE__*/ (() => { let ɵStylableComponent_BaseFactory; return function StylableComponent_Factory(t) { return (ɵStylableComponent_BaseFactory || (ɵStylableComponent_BaseFactory = i0.ɵɵgetInheritedFactory(StylableComponent)))(t || StylableComponent); }; })(); }
|
|
1489
1516
|
static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: StylableComponent, factory: StylableComponent.ɵfac }); }
|
|
1490
1517
|
}
|
|
1491
|
-
(
|
|
1518
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(StylableComponent, [{
|
|
1492
1519
|
type: Injectable
|
|
1493
1520
|
}], null, null); })();
|
|
1494
1521
|
|
|
@@ -1506,26 +1533,26 @@ class RedrawableDirective {
|
|
|
1506
1533
|
static { this.ɵfac = function RedrawableDirective_Factory(t) { return new (t || RedrawableDirective)(i0.ɵɵdirectiveInject(WidgetRef, 2)); }; }
|
|
1507
1534
|
static { this.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: RedrawableDirective, selectors: [["", "redrawable", ""]] }); }
|
|
1508
1535
|
}
|
|
1509
|
-
(
|
|
1536
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(RedrawableDirective, [{
|
|
1510
1537
|
type: Directive,
|
|
1511
1538
|
args: [{
|
|
1512
1539
|
selector: '[redrawable]'
|
|
1513
1540
|
}]
|
|
1514
|
-
}],
|
|
1541
|
+
}], () => [{ type: undefined, decorators: [{
|
|
1515
1542
|
type: Self
|
|
1516
1543
|
}, {
|
|
1517
1544
|
type: Inject,
|
|
1518
1545
|
args: [WidgetRef]
|
|
1519
|
-
}] }]
|
|
1546
|
+
}] }], null); })();
|
|
1520
1547
|
|
|
1521
1548
|
class BaseContainerComponent extends StylableComponent {
|
|
1522
|
-
constructor(inj, WIDGET_CONFIG) {
|
|
1523
|
-
super(inj, WIDGET_CONFIG);
|
|
1549
|
+
constructor(inj, WIDGET_CONFIG, explicitContext) {
|
|
1550
|
+
super(inj, WIDGET_CONFIG, explicitContext);
|
|
1524
1551
|
}
|
|
1525
1552
|
updateRedrawableComponents(widgets) {
|
|
1526
|
-
|
|
1553
|
+
pickBy(widgets, widget => {
|
|
1527
1554
|
// check for redrawable widget and whether it is already exist in reDrawableComponents query list or not
|
|
1528
|
-
if (widget && widget.nativeElement && widget.nativeElement.hasAttribute('redrawable') && !
|
|
1555
|
+
if (widget && widget.nativeElement && widget.nativeElement.hasAttribute('redrawable') && !includes(this.reDrawableComponents._results, widget)) {
|
|
1529
1556
|
this.reDrawableComponents._results.push(widget);
|
|
1530
1557
|
}
|
|
1531
1558
|
if (widget && widget.Widgets) {
|
|
@@ -1560,9 +1587,9 @@ class BaseContainerComponent extends StylableComponent {
|
|
|
1560
1587
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.reDrawableComponents = _t);
|
|
1561
1588
|
} }, features: [i0.ɵɵInheritDefinitionFeature] }); }
|
|
1562
1589
|
}
|
|
1563
|
-
(
|
|
1590
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(BaseContainerComponent, [{
|
|
1564
1591
|
type: Directive
|
|
1565
|
-
}],
|
|
1592
|
+
}], () => [{ type: i0.Injector }, { type: undefined }, { type: undefined }], { reDrawableComponents: [{
|
|
1566
1593
|
type: ContentChildren,
|
|
1567
1594
|
args: [RedrawableDirective, { descendants: true }]
|
|
1568
1595
|
}] }); })();
|
|
@@ -1574,17 +1601,17 @@ const WIDGET_CONFIG$4 = {
|
|
|
1574
1601
|
};
|
|
1575
1602
|
class ContainerDirective extends BaseContainerComponent {
|
|
1576
1603
|
static { this.initializeProps = registerProps$4(); }
|
|
1577
|
-
constructor(inj) {
|
|
1578
|
-
super(inj, WIDGET_CONFIG$4);
|
|
1604
|
+
constructor(inj, explicitContext) {
|
|
1605
|
+
super(inj, WIDGET_CONFIG$4, explicitContext);
|
|
1579
1606
|
addClass(this.nativeElement, DEFAULT_CLS$3);
|
|
1580
1607
|
styler(this.nativeElement, this, APPLY_STYLES_TYPE.CONTAINER);
|
|
1581
1608
|
}
|
|
1582
|
-
static { this.ɵfac = function ContainerDirective_Factory(t) { return new (t || ContainerDirective)(i0.ɵɵdirectiveInject(i0.Injector)); }; }
|
|
1609
|
+
static { this.ɵfac = function ContainerDirective_Factory(t) { return new (t || ContainerDirective)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject('EXPLICIT_CONTEXT', 8)); }; }
|
|
1583
1610
|
static { this.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: ContainerDirective, selectors: [["", "wmContainer", ""]], features: [i0.ɵɵProvidersFeature([
|
|
1584
1611
|
provideAsWidgetRef(ContainerDirective)
|
|
1585
1612
|
]), i0.ɵɵInheritDefinitionFeature] }); }
|
|
1586
1613
|
}
|
|
1587
|
-
(
|
|
1614
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ContainerDirective, [{
|
|
1588
1615
|
type: Directive,
|
|
1589
1616
|
args: [{
|
|
1590
1617
|
selector: '[wmContainer]',
|
|
@@ -1592,7 +1619,12 @@ class ContainerDirective extends BaseContainerComponent {
|
|
|
1592
1619
|
provideAsWidgetRef(ContainerDirective)
|
|
1593
1620
|
]
|
|
1594
1621
|
}]
|
|
1595
|
-
}],
|
|
1622
|
+
}], () => [{ type: i0.Injector }, { type: undefined, decorators: [{
|
|
1623
|
+
type: Inject,
|
|
1624
|
+
args: ['EXPLICIT_CONTEXT']
|
|
1625
|
+
}, {
|
|
1626
|
+
type: Optional
|
|
1627
|
+
}] }], null); })();
|
|
1596
1628
|
|
|
1597
1629
|
class ImagePipe {
|
|
1598
1630
|
transform(url, encode, defaultImageUrl) {
|
|
@@ -1601,7 +1633,7 @@ class ImagePipe {
|
|
|
1601
1633
|
static { this.ɵfac = function ImagePipe_Factory(t) { return new (t || ImagePipe)(); }; }
|
|
1602
1634
|
static { this.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "image", type: ImagePipe, pure: true }); }
|
|
1603
1635
|
}
|
|
1604
|
-
(
|
|
1636
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ImagePipe, [{
|
|
1605
1637
|
type: Pipe,
|
|
1606
1638
|
args: [{
|
|
1607
1639
|
name: 'image'
|
|
@@ -1634,8 +1666,8 @@ class ItemTemplateDirective extends StylableComponent {
|
|
|
1634
1666
|
set wmItemTemplate(value) {
|
|
1635
1667
|
this.widget.content = value;
|
|
1636
1668
|
}
|
|
1637
|
-
constructor(inj, elRef, app) {
|
|
1638
|
-
super(inj, WIDGET_CONFIG$3);
|
|
1669
|
+
constructor(inj, elRef, app, explicitContext) {
|
|
1670
|
+
super(inj, WIDGET_CONFIG$3, explicitContext);
|
|
1639
1671
|
this.app = app;
|
|
1640
1672
|
this.nativeElement = elRef.nativeElement;
|
|
1641
1673
|
// this.context = (<NgForOfContext<ItemTemplateDirective>>(<any>inj).view.context);
|
|
@@ -1645,12 +1677,12 @@ class ItemTemplateDirective extends StylableComponent {
|
|
|
1645
1677
|
super.ngOnInit();
|
|
1646
1678
|
this.partialParams.item = this.userComponentParams.dataObject;
|
|
1647
1679
|
}
|
|
1648
|
-
static { this.ɵfac = function ItemTemplateDirective_Factory(t) { return new (t || ItemTemplateDirective)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i1.App)); }; }
|
|
1680
|
+
static { this.ɵfac = function ItemTemplateDirective_Factory(t) { return new (t || ItemTemplateDirective)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i1.App), i0.ɵɵdirectiveInject('EXPLICIT_CONTEXT', 8)); }; }
|
|
1649
1681
|
static { this.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: ItemTemplateDirective, selectors: [["", "wmItemTemplate", ""]], inputs: { userComponentParams: "userComponentParams", wmItemTemplate: "wmItemTemplate" }, exportAs: ["itemTemplateRef"], features: [i0.ɵɵProvidersFeature([
|
|
1650
1682
|
provideAsWidgetRef(ItemTemplateDirective)
|
|
1651
1683
|
]), i0.ɵɵInheritDefinitionFeature] }); }
|
|
1652
1684
|
}
|
|
1653
|
-
(
|
|
1685
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ItemTemplateDirective, [{
|
|
1654
1686
|
type: Directive,
|
|
1655
1687
|
args: [{
|
|
1656
1688
|
selector: '[wmItemTemplate]',
|
|
@@ -1659,7 +1691,12 @@ class ItemTemplateDirective extends StylableComponent {
|
|
|
1659
1691
|
provideAsWidgetRef(ItemTemplateDirective)
|
|
1660
1692
|
]
|
|
1661
1693
|
}]
|
|
1662
|
-
}],
|
|
1694
|
+
}], () => [{ type: i0.Injector }, { type: i0.ElementRef }, { type: i1.App }, { type: undefined, decorators: [{
|
|
1695
|
+
type: Inject,
|
|
1696
|
+
args: ['EXPLICIT_CONTEXT']
|
|
1697
|
+
}, {
|
|
1698
|
+
type: Optional
|
|
1699
|
+
}] }], { userComponentParams: [{
|
|
1663
1700
|
type: Input
|
|
1664
1701
|
}], wmItemTemplate: [{
|
|
1665
1702
|
type: Input
|
|
@@ -1678,19 +1715,24 @@ const WIDGET_CONFIG$2 = {
|
|
|
1678
1715
|
};
|
|
1679
1716
|
class RepeatTemplateDirective extends StylableComponent {
|
|
1680
1717
|
static { this.initializeProps = registerProps$2(); }
|
|
1681
|
-
constructor(inj) {
|
|
1682
|
-
super(inj, WIDGET_CONFIG$2);
|
|
1718
|
+
constructor(inj, explicitContext) {
|
|
1719
|
+
super(inj, WIDGET_CONFIG$2, explicitContext);
|
|
1683
1720
|
styler(this.nativeElement, this);
|
|
1684
1721
|
}
|
|
1685
|
-
static { this.ɵfac = function RepeatTemplateDirective_Factory(t) { return new (t || RepeatTemplateDirective)(i0.ɵɵdirectiveInject(i0.Injector)); }; }
|
|
1722
|
+
static { this.ɵfac = function RepeatTemplateDirective_Factory(t) { return new (t || RepeatTemplateDirective)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject('EXPLICIT_CONTEXT', 8)); }; }
|
|
1686
1723
|
static { this.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: RepeatTemplateDirective, selectors: [["", "wmRepeatTemplate", ""]], features: [i0.ɵɵInheritDefinitionFeature] }); }
|
|
1687
1724
|
}
|
|
1688
|
-
(
|
|
1725
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(RepeatTemplateDirective, [{
|
|
1689
1726
|
type: Directive,
|
|
1690
1727
|
args: [{
|
|
1691
1728
|
selector: '[wmRepeatTemplate]'
|
|
1692
1729
|
}]
|
|
1693
|
-
}],
|
|
1730
|
+
}], () => [{ type: i0.Injector }, { type: undefined, decorators: [{
|
|
1731
|
+
type: Inject,
|
|
1732
|
+
args: ['EXPLICIT_CONTEXT']
|
|
1733
|
+
}, {
|
|
1734
|
+
type: Optional
|
|
1735
|
+
}] }], null); })();
|
|
1694
1736
|
|
|
1695
1737
|
class LazyLoadDirective {
|
|
1696
1738
|
constructor(inj, templateRef, viewContainer) {
|
|
@@ -1716,12 +1758,12 @@ class LazyLoadDirective {
|
|
|
1716
1758
|
static { this.ɵfac = function LazyLoadDirective_Factory(t) { return new (t || LazyLoadDirective)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(i0.TemplateRef), i0.ɵɵdirectiveInject(i0.ViewContainerRef)); }; }
|
|
1717
1759
|
static { this.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: LazyLoadDirective, selectors: [["", "lazyLoad", ""]], inputs: { lazyLoad: "lazyLoad" } }); }
|
|
1718
1760
|
}
|
|
1719
|
-
(
|
|
1761
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LazyLoadDirective, [{
|
|
1720
1762
|
type: Directive,
|
|
1721
1763
|
args: [{
|
|
1722
1764
|
selector: '[lazyLoad]'
|
|
1723
1765
|
}]
|
|
1724
|
-
}],
|
|
1766
|
+
}], () => [{ type: i0.Injector }, { type: i0.TemplateRef }, { type: i0.ViewContainerRef }], { lazyLoad: [{
|
|
1725
1767
|
type: Input
|
|
1726
1768
|
}] }); })();
|
|
1727
1769
|
|
|
@@ -1742,8 +1784,8 @@ const DEFAULT_CLS$1 = 'alert app-message';
|
|
|
1742
1784
|
const WIDGET_CONFIG$1 = { widgetType: 'wm-message', hostClass: DEFAULT_CLS$1 };
|
|
1743
1785
|
class MessageComponent extends StylableComponent {
|
|
1744
1786
|
static { this.initializeProps = registerProps$1(); }
|
|
1745
|
-
constructor(inj) {
|
|
1746
|
-
super(inj, WIDGET_CONFIG$1);
|
|
1787
|
+
constructor(inj, explicitContext) {
|
|
1788
|
+
super(inj, WIDGET_CONFIG$1, explicitContext);
|
|
1747
1789
|
this.messageClass = '';
|
|
1748
1790
|
this.messageIconClass = '';
|
|
1749
1791
|
this.type = '';
|
|
@@ -1802,10 +1844,10 @@ class MessageComponent extends StylableComponent {
|
|
|
1802
1844
|
super.onPropertyChange(key, nv, ov);
|
|
1803
1845
|
}
|
|
1804
1846
|
}
|
|
1805
|
-
static { this.ɵfac = function MessageComponent_Factory(t) { return new (t || MessageComponent)(i0.ɵɵdirectiveInject(i0.Injector)); }; }
|
|
1847
|
+
static { this.ɵfac = function MessageComponent_Factory(t) { return new (t || MessageComponent)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject('EXPLICIT_CONTEXT', 8)); }; }
|
|
1806
1848
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MessageComponent, selectors: [["", "wmMessage", ""]], exportAs: ["wmMessage"], features: [i0.ɵɵProvidersFeature([
|
|
1807
1849
|
provideAsWidgetRef(MessageComponent)
|
|
1808
|
-
]), i0.ɵɵInheritDefinitionFeature], attrs: _c0, decls: 5, vars: 7, consts: [["aria-hidden", "true", 3, "title"], [3, "innerHtml"], ["title", "Close", "type", "button", "aria-label", "Close", 1, "btn-transparent", "close", 3, "
|
|
1850
|
+
]), i0.ɵɵInheritDefinitionFeature], attrs: _c0, decls: 5, vars: 7, consts: [["aria-hidden", "true", 3, "title"], [3, "innerHtml"], ["title", "Close", "type", "button", "aria-label", "Close", 1, "btn-transparent", "close", 3, "click", "hidden"], ["aria-hidden", "true"]], template: function MessageComponent_Template(rf, ctx) { if (rf & 1) {
|
|
1809
1851
|
i0.ɵɵelement(0, "i", 0)(1, "span", 1);
|
|
1810
1852
|
i0.ɵɵelementStart(2, "button", 2);
|
|
1811
1853
|
i0.ɵɵlistener("click", function MessageComponent_Template_button_click_2_listener($event) { return ctx.dismiss($event); });
|
|
@@ -1815,18 +1857,24 @@ class MessageComponent extends StylableComponent {
|
|
|
1815
1857
|
} if (rf & 2) {
|
|
1816
1858
|
i0.ɵɵclassMapInterpolate2("icon ", ctx.type, " ", ctx.messageIconClass, "");
|
|
1817
1859
|
i0.ɵɵproperty("title", ctx.type + "Alert");
|
|
1818
|
-
i0.ɵɵadvance(
|
|
1860
|
+
i0.ɵɵadvance();
|
|
1819
1861
|
i0.ɵɵproperty("innerHtml", ctx.caption, i0.ɵɵsanitizeHtml);
|
|
1820
|
-
i0.ɵɵadvance(
|
|
1862
|
+
i0.ɵɵadvance();
|
|
1821
1863
|
i0.ɵɵproperty("hidden", ctx.hideclose);
|
|
1822
1864
|
} }, encapsulation: 2 }); }
|
|
1823
1865
|
}
|
|
1824
|
-
(
|
|
1866
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MessageComponent, [{
|
|
1825
1867
|
type: Component,
|
|
1826
1868
|
args: [{ selector: '[wmMessage]', providers: [
|
|
1827
1869
|
provideAsWidgetRef(MessageComponent)
|
|
1828
1870
|
], exportAs: 'wmMessage', template: "<i aria-hidden=\"true\" [title]=\"type + 'Alert'\" class=\"icon {{type}} {{messageIconClass}}\"></i>\n<span [innerHtml]=\"caption\"></span>\n<button title=\"Close\" type=\"button\" class=\"btn-transparent close\" [hidden]=\"hideclose\" (click)=\"dismiss($event)\" aria-label=\"Close\">\n <span aria-hidden=\"true\">×</span>\n</button>\n" }]
|
|
1829
|
-
}],
|
|
1871
|
+
}], () => [{ type: i0.Injector }, { type: undefined, decorators: [{
|
|
1872
|
+
type: Inject,
|
|
1873
|
+
args: ['EXPLICIT_CONTEXT']
|
|
1874
|
+
}, {
|
|
1875
|
+
type: Optional
|
|
1876
|
+
}] }], null); })();
|
|
1877
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MessageComponent, { className: "MessageComponent", filePath: "widgets/common/message/message.component.ts", lineNumber: 22 }); })();
|
|
1830
1878
|
|
|
1831
1879
|
const registerProps = () => {
|
|
1832
1880
|
register$1('wm-partial', new Map([
|
|
@@ -1838,14 +1886,14 @@ const DEFAULT_CLS = 'app-partial clearfix';
|
|
|
1838
1886
|
const WIDGET_CONFIG = { widgetType: 'wm-partial', hostClass: DEFAULT_CLS };
|
|
1839
1887
|
class PartialDirective extends StylableComponent {
|
|
1840
1888
|
static { this.initializeProps = registerProps(); }
|
|
1841
|
-
constructor(inj, viewport) {
|
|
1842
|
-
super(inj, WIDGET_CONFIG);
|
|
1889
|
+
constructor(inj, viewport, explicitContext) {
|
|
1890
|
+
super(inj, WIDGET_CONFIG, explicitContext);
|
|
1843
1891
|
this.viewport = viewport;
|
|
1844
1892
|
this.registerDestroyListener(this.viewport.subscribe("resize" /* ViewportEvent.RESIZE */, data => this.callback('resize', data)));
|
|
1845
1893
|
this.registerDestroyListener(this.viewport.subscribe("orientationchange" /* ViewportEvent.ORIENTATION_CHANGE */, data => this.callback('orientationchange', data)));
|
|
1846
1894
|
}
|
|
1847
1895
|
callback(eventName, locals) {
|
|
1848
|
-
locals =
|
|
1896
|
+
locals = assign({ widget: this }, locals);
|
|
1849
1897
|
this.invokeEventCallback(eventName, locals);
|
|
1850
1898
|
}
|
|
1851
1899
|
ngOnAttach() {
|
|
@@ -1858,12 +1906,12 @@ class PartialDirective extends StylableComponent {
|
|
|
1858
1906
|
this.callback('destroy');
|
|
1859
1907
|
super.ngOnDestroy();
|
|
1860
1908
|
}
|
|
1861
|
-
static { this.ɵfac = function PartialDirective_Factory(t) { return new (t || PartialDirective)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(i1.Viewport)); }; }
|
|
1909
|
+
static { this.ɵfac = function PartialDirective_Factory(t) { return new (t || PartialDirective)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(i1.Viewport), i0.ɵɵdirectiveInject('EXPLICIT_CONTEXT', 8)); }; }
|
|
1862
1910
|
static { this.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: PartialDirective, selectors: [["", "wmPartial", ""]], features: [i0.ɵɵProvidersFeature([
|
|
1863
1911
|
provideAsWidgetRef(PartialDirective)
|
|
1864
1912
|
]), i0.ɵɵInheritDefinitionFeature] }); }
|
|
1865
1913
|
}
|
|
1866
|
-
(
|
|
1914
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PartialDirective, [{
|
|
1867
1915
|
type: Directive,
|
|
1868
1916
|
args: [{
|
|
1869
1917
|
selector: '[wmPartial]',
|
|
@@ -1871,7 +1919,12 @@ class PartialDirective extends StylableComponent {
|
|
|
1871
1919
|
provideAsWidgetRef(PartialDirective)
|
|
1872
1920
|
]
|
|
1873
1921
|
}]
|
|
1874
|
-
}],
|
|
1922
|
+
}], () => [{ type: i0.Injector }, { type: i1.Viewport }, { type: undefined, decorators: [{
|
|
1923
|
+
type: Inject,
|
|
1924
|
+
args: ['EXPLICIT_CONTEXT']
|
|
1925
|
+
}, {
|
|
1926
|
+
type: Optional
|
|
1927
|
+
}] }], null); })();
|
|
1875
1928
|
|
|
1876
1929
|
class PartialParamHandlerDirective {
|
|
1877
1930
|
constructor(widgetRef) {
|
|
@@ -1885,7 +1938,7 @@ class PartialParamHandlerDirective {
|
|
|
1885
1938
|
if (!value && bindExpr) {
|
|
1886
1939
|
this.widgetRef.registerDestroyListener(
|
|
1887
1940
|
//[Todo-CSP]: expr fn should be generated be default
|
|
1888
|
-
$watch(bindExpr, this.widgetRef.getViewParent(),
|
|
1941
|
+
$watch(bindExpr, this.widgetRef.getViewParent(), get(this.widgetRef, 'context'), nv => {
|
|
1889
1942
|
this.widgetRef.partialParams[name] = nv;
|
|
1890
1943
|
// notify the partial container of the param changes
|
|
1891
1944
|
this.widgetRef.params$.next();
|
|
@@ -1898,17 +1951,17 @@ class PartialParamHandlerDirective {
|
|
|
1898
1951
|
static { this.ɵfac = function PartialParamHandlerDirective_Factory(t) { return new (t || PartialParamHandlerDirective)(i0.ɵɵdirectiveInject(WidgetRef, 2)); }; }
|
|
1899
1952
|
static { this.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: PartialParamHandlerDirective, selectors: [["", "partialContainer", ""]] }); }
|
|
1900
1953
|
}
|
|
1901
|
-
(
|
|
1954
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PartialParamHandlerDirective, [{
|
|
1902
1955
|
type: Directive,
|
|
1903
1956
|
args: [{
|
|
1904
1957
|
selector: '[partialContainer]',
|
|
1905
1958
|
}]
|
|
1906
|
-
}],
|
|
1959
|
+
}], () => [{ type: undefined, decorators: [{
|
|
1907
1960
|
type: Self
|
|
1908
1961
|
}, {
|
|
1909
1962
|
type: Inject,
|
|
1910
1963
|
args: [WidgetRef]
|
|
1911
|
-
}] }]
|
|
1964
|
+
}] }], null); })();
|
|
1912
1965
|
class PartialParamDirective {
|
|
1913
1966
|
constructor(bindValue, type, partialParamsProvider) {
|
|
1914
1967
|
this.bindValue = bindValue;
|
|
@@ -1921,18 +1974,18 @@ class PartialParamDirective {
|
|
|
1921
1974
|
static { this.ɵfac = function PartialParamDirective_Factory(t) { return new (t || PartialParamDirective)(i0.ɵɵinjectAttribute('value.bind'), i0.ɵɵinjectAttribute('type'), i0.ɵɵdirectiveInject(PartialParamHandlerDirective)); }; }
|
|
1922
1975
|
static { this.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: PartialParamDirective, selectors: [["", "wmParam", ""]], inputs: { name: "name", value: "value" } }); }
|
|
1923
1976
|
}
|
|
1924
|
-
(
|
|
1977
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PartialParamDirective, [{
|
|
1925
1978
|
type: Directive,
|
|
1926
1979
|
args: [{
|
|
1927
1980
|
selector: '[wmParam]',
|
|
1928
1981
|
}]
|
|
1929
|
-
}],
|
|
1982
|
+
}], () => [{ type: undefined, decorators: [{
|
|
1930
1983
|
type: Attribute,
|
|
1931
1984
|
args: ['value.bind']
|
|
1932
1985
|
}] }, { type: undefined, decorators: [{
|
|
1933
1986
|
type: Attribute,
|
|
1934
1987
|
args: ['type']
|
|
1935
|
-
}] }, { type: PartialParamHandlerDirective }]
|
|
1988
|
+
}] }, { type: PartialParamHandlerDirective }], { name: [{
|
|
1936
1989
|
type: Input
|
|
1937
1990
|
}], value: [{
|
|
1938
1991
|
type: Input
|
|
@@ -1985,7 +2038,7 @@ class PartialContainerDirective {
|
|
|
1985
2038
|
this.resolver = resolver;
|
|
1986
2039
|
this.partialRefProvider = partialRefProvider;
|
|
1987
2040
|
this.contentInitialized = false;
|
|
1988
|
-
this.renderPartial =
|
|
2041
|
+
this.renderPartial = debounce(this._renderPartial, 200);
|
|
1989
2042
|
componentInstance.registerPropertyChangeListener((key, nv, ov) => {
|
|
1990
2043
|
if (key === 'content') {
|
|
1991
2044
|
if (componentInstance.$lazyLoad) {
|
|
@@ -2008,12 +2061,12 @@ class PartialContainerDirective {
|
|
|
2008
2061
|
static { this.ɵfac = function PartialContainerDirective_Factory(t) { return new (t || PartialContainerDirective)(i0.ɵɵdirectiveInject(WidgetRef, 2), i0.ɵɵdirectiveInject(i0.ViewContainerRef), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(i1.App), i0.ɵɵinjectAttribute('content'), i0.ɵɵdirectiveInject(i0.ComponentFactoryResolver), i0.ɵɵdirectiveInject(i1.PartialRefProvider)); }; }
|
|
2009
2062
|
static { this.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: PartialContainerDirective, selectors: [["", "partialContainer", ""]] }); }
|
|
2010
2063
|
}
|
|
2011
|
-
(
|
|
2064
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PartialContainerDirective, [{
|
|
2012
2065
|
type: Directive,
|
|
2013
2066
|
args: [{
|
|
2014
2067
|
selector: '[partialContainer]'
|
|
2015
2068
|
}]
|
|
2016
|
-
}],
|
|
2069
|
+
}], () => [{ type: undefined, decorators: [{
|
|
2017
2070
|
type: Self
|
|
2018
2071
|
}, {
|
|
2019
2072
|
type: Inject,
|
|
@@ -2021,7 +2074,7 @@ class PartialContainerDirective {
|
|
|
2021
2074
|
}] }, { type: i0.ViewContainerRef }, { type: i0.ElementRef }, { type: i0.Injector }, { type: i1.App }, { type: undefined, decorators: [{
|
|
2022
2075
|
type: Attribute,
|
|
2023
2076
|
args: ['content']
|
|
2024
|
-
}] }, { type: i0.ComponentFactoryResolver }, { type: i1.PartialRefProvider }]
|
|
2077
|
+
}] }, { type: i0.ComponentFactoryResolver }, { type: i1.PartialRefProvider }], null); })();
|
|
2025
2078
|
|
|
2026
2079
|
class ShowInDeviceDirective {
|
|
2027
2080
|
constructor(elRef, widget, viewContainerRef, inj, templateRef) {
|
|
@@ -2078,15 +2131,15 @@ class ShowInDeviceDirective {
|
|
|
2078
2131
|
static { this.ɵfac = function ShowInDeviceDirective_Factory(t) { return new (t || ShowInDeviceDirective)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(WidgetRef), i0.ɵɵdirectiveInject(i0.ViewContainerRef), i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(i0.TemplateRef)); }; }
|
|
2079
2132
|
static { this.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: ShowInDeviceDirective, selectors: [["", "wmShowInDevice", ""]], inputs: { wmShowInDevice: "wmShowInDevice" } }); }
|
|
2080
2133
|
}
|
|
2081
|
-
(
|
|
2134
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ShowInDeviceDirective, [{
|
|
2082
2135
|
type: Directive,
|
|
2083
2136
|
args: [{
|
|
2084
2137
|
selector: '[wmShowInDevice]'
|
|
2085
2138
|
}]
|
|
2086
|
-
}],
|
|
2139
|
+
}], () => [{ type: i0.ElementRef }, { type: BaseComponent, decorators: [{
|
|
2087
2140
|
type: Inject,
|
|
2088
2141
|
args: [WidgetRef]
|
|
2089
|
-
}] }, { type: i0.ViewContainerRef }, { type: i0.Injector }, { type: i0.TemplateRef }]
|
|
2142
|
+
}] }, { type: i0.ViewContainerRef }, { type: i0.Injector }, { type: i0.TemplateRef }], { wmShowInDevice: [{
|
|
2090
2143
|
type: Input
|
|
2091
2144
|
}] }); })();
|
|
2092
2145
|
|
|
@@ -2146,9 +2199,9 @@ class SmoothScrollDirective {
|
|
|
2146
2199
|
preventDefault: false,
|
|
2147
2200
|
momentum: true,
|
|
2148
2201
|
bounce: false,
|
|
2149
|
-
mouseWheel: true,
|
|
2150
|
-
disablePointer: true,
|
|
2151
|
-
disableTouch: false,
|
|
2202
|
+
mouseWheel: true, // for preview in browser support
|
|
2203
|
+
disablePointer: true, // disable the pointer events as it causes lag in scrolling (jerky).
|
|
2204
|
+
disableTouch: false, // false to be usable with touch devices
|
|
2152
2205
|
disableMouse: false // false to be usable with a mouse (desktop)
|
|
2153
2206
|
}, el = this._$el[0];
|
|
2154
2207
|
if (!el.children.length) {
|
|
@@ -2176,8 +2229,8 @@ class SmoothScrollDirective {
|
|
|
2176
2229
|
let iScroll = new IScroll(el, scrollOptions);
|
|
2177
2230
|
if ($events) {
|
|
2178
2231
|
// map all events on previous iscroll to the newly created iscroll.
|
|
2179
|
-
|
|
2180
|
-
|
|
2232
|
+
forEach($events, (listeners, key) => {
|
|
2233
|
+
forEach(listeners, l => {
|
|
2181
2234
|
iScroll.on(key, l);
|
|
2182
2235
|
});
|
|
2183
2236
|
});
|
|
@@ -2206,7 +2259,7 @@ class SmoothScrollDirective {
|
|
|
2206
2259
|
}
|
|
2207
2260
|
};
|
|
2208
2261
|
this._$el[0].iscroll = iScroll;
|
|
2209
|
-
|
|
2262
|
+
forEach(this.pendingIscrolls, (_el, index) => {
|
|
2210
2263
|
if (_el.isSameNode(this._$el[0])) {
|
|
2211
2264
|
this.app.notify('iscroll-update', { el: _el });
|
|
2212
2265
|
this.pendingIscrolls.splice(index, 1);
|
|
@@ -2244,7 +2297,7 @@ class SmoothScrollDirective {
|
|
|
2244
2297
|
}
|
|
2245
2298
|
// Check for scrollable content and if smoothscroll-container div is already added.
|
|
2246
2299
|
if (iScroll.wrapper
|
|
2247
|
-
&& !
|
|
2300
|
+
&& !includes(iScroll.wrapper.children[0].classList, 'smoothscroll-container')
|
|
2248
2301
|
&& iScroll.wrapper.scrollHeight > iScroll.wrapper.clientHeight) {
|
|
2249
2302
|
const cloneEvents = iScroll._events;
|
|
2250
2303
|
const prevActiveEl = document.activeElement;
|
|
@@ -2266,12 +2319,12 @@ class SmoothScrollDirective {
|
|
|
2266
2319
|
static { this.ɵfac = function SmoothScrollDirective_Factory(t) { return new (t || SmoothScrollDirective)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i1.App)); }; }
|
|
2267
2320
|
static { this.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: SmoothScrollDirective, selectors: [["", "wmSmoothscroll", ""]], inputs: { wmSmoothscroll: "wmSmoothscroll" } }); }
|
|
2268
2321
|
}
|
|
2269
|
-
(
|
|
2322
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SmoothScrollDirective, [{
|
|
2270
2323
|
type: Directive,
|
|
2271
2324
|
args: [{
|
|
2272
2325
|
selector: '[wmSmoothscroll]'
|
|
2273
2326
|
}]
|
|
2274
|
-
}],
|
|
2327
|
+
}], () => [{ type: i0.Injector }, { type: i0.ElementRef }, { type: i1.App }], { wmSmoothscroll: [{
|
|
2275
2328
|
type: Input
|
|
2276
2329
|
}] }); })();
|
|
2277
2330
|
/**
|
|
@@ -2304,7 +2357,7 @@ const refreshIscrolls = function (iScroll) {
|
|
|
2304
2357
|
}
|
|
2305
2358
|
};
|
|
2306
2359
|
// on window resize, recalculate the iscroll position and refresh scrollers.
|
|
2307
|
-
window.addEventListener('resize', debounce(refreshIscrolls, 200));
|
|
2360
|
+
window.addEventListener('resize', debounce$1(refreshIscrolls, 200));
|
|
2308
2361
|
|
|
2309
2362
|
class TextContentDirective {
|
|
2310
2363
|
set textContent(nv) {
|
|
@@ -2320,12 +2373,12 @@ class TextContentDirective {
|
|
|
2320
2373
|
static { this.ɵfac = function TextContentDirective_Factory(t) { return new (t || TextContentDirective)(i0.ɵɵdirectiveInject(i0.ElementRef)); }; }
|
|
2321
2374
|
static { this.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: TextContentDirective, selectors: [["", "textContent", ""]], inputs: { textContent: "textContent" } }); }
|
|
2322
2375
|
}
|
|
2323
|
-
(
|
|
2376
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TextContentDirective, [{
|
|
2324
2377
|
type: Directive,
|
|
2325
2378
|
args: [{
|
|
2326
2379
|
selector: '[textContent]'
|
|
2327
2380
|
}]
|
|
2328
|
-
}],
|
|
2381
|
+
}], () => [{ type: i0.ElementRef }], { textContent: [{
|
|
2329
2382
|
type: Input
|
|
2330
2383
|
}] }); })();
|
|
2331
2384
|
|
|
@@ -2334,7 +2387,7 @@ class WmPipe {
|
|
|
2334
2387
|
this.pipeName = pipeName;
|
|
2335
2388
|
this.customPipeManager = customPipeManager;
|
|
2336
2389
|
this.pipeRef = this.customPipeManager ? this.customPipeManager.getCustomPipe(pipeName) : null;
|
|
2337
|
-
this.isCustomPipe = this.pipeRef &&
|
|
2390
|
+
this.isCustomPipe = this.pipeRef && isFunction(this.pipeRef.formatter);
|
|
2338
2391
|
}
|
|
2339
2392
|
customFormatter(data, args) {
|
|
2340
2393
|
try {
|
|
@@ -2349,7 +2402,7 @@ class WmPipe {
|
|
|
2349
2402
|
const getEpochValue = data => {
|
|
2350
2403
|
let epoch;
|
|
2351
2404
|
// For data in form of string number ('123'), convert to number (123). And don't parse date objects.
|
|
2352
|
-
if (!
|
|
2405
|
+
if (!isDate(data) && !isNaN(data)) {
|
|
2353
2406
|
data = parseInt(data, 10);
|
|
2354
2407
|
}
|
|
2355
2408
|
// get the timestamp value. If data is time string, append date string to the time value
|
|
@@ -2368,12 +2421,12 @@ class TrailingZeroDecimalPipe {
|
|
|
2368
2421
|
static { this.ɵfac = function TrailingZeroDecimalPipe_Factory(t) { return new (t || TrailingZeroDecimalPipe)(i0.ɵɵdirectiveInject(i1$1.DecimalPipe, 16)); }; }
|
|
2369
2422
|
static { this.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "trailingZeroDecimalPipe", type: TrailingZeroDecimalPipe, pure: true }); }
|
|
2370
2423
|
}
|
|
2371
|
-
(
|
|
2424
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TrailingZeroDecimalPipe, [{
|
|
2372
2425
|
type: Pipe,
|
|
2373
2426
|
args: [{
|
|
2374
2427
|
name: 'trailingZeroDecimalPipe'
|
|
2375
2428
|
}]
|
|
2376
|
-
}],
|
|
2429
|
+
}], () => [{ type: i1$1.DecimalPipe }], null); })();
|
|
2377
2430
|
class ToDatePipe extends WmPipe {
|
|
2378
2431
|
// This method calls the custom formatter fn after applying the exisitng date pattern
|
|
2379
2432
|
returnFn(data, args) {
|
|
@@ -2423,18 +2476,18 @@ class ToDatePipe extends WmPipe {
|
|
|
2423
2476
|
static { this.ɵfac = function ToDatePipe_Factory(t) { return new (t || ToDatePipe)(i0.ɵɵdirectiveInject(i1$1.DatePipe, 16), i0.ɵɵdirectiveInject(i1.AbstractI18nService, 16), i0.ɵɵdirectiveInject(i1.CustomPipeManager, 16)); }; }
|
|
2424
2477
|
static { this.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "toDate", type: ToDatePipe, pure: true }); }
|
|
2425
2478
|
}
|
|
2426
|
-
(
|
|
2479
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ToDatePipe, [{
|
|
2427
2480
|
type: Pipe,
|
|
2428
2481
|
args: [{
|
|
2429
2482
|
name: 'toDate'
|
|
2430
2483
|
}]
|
|
2431
|
-
}],
|
|
2484
|
+
}], () => [{ type: i1$1.DatePipe }, { type: i1.AbstractI18nService }, { type: i1.CustomPipeManager }], null); })();
|
|
2432
2485
|
class ToNumberPipe {
|
|
2433
2486
|
transform(data, fracSize) {
|
|
2434
2487
|
if (fracSize && !String(fracSize).match(/^(\d+)?\.((\d+)(-(\d+))?)?$/)) {
|
|
2435
2488
|
fracSize = '1.' + fracSize + '-' + fracSize;
|
|
2436
2489
|
}
|
|
2437
|
-
if (!
|
|
2490
|
+
if (!isNaN(+data)) {
|
|
2438
2491
|
const locale = this.i18nService && this.i18nService.getwidgetLocale() ? this.i18nService.getwidgetLocale() : undefined;
|
|
2439
2492
|
const formattedLocale = locale ? locale['number'] : null;
|
|
2440
2493
|
return this.decimalPipe.transform(data, fracSize, formattedLocale);
|
|
@@ -2447,20 +2500,20 @@ class ToNumberPipe {
|
|
|
2447
2500
|
static { this.ɵfac = function ToNumberPipe_Factory(t) { return new (t || ToNumberPipe)(i0.ɵɵdirectiveInject(i1$1.DecimalPipe, 16), i0.ɵɵdirectiveInject(AbstractI18nService, 16)); }; }
|
|
2448
2501
|
static { this.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "toNumber", type: ToNumberPipe, pure: true }); }
|
|
2449
2502
|
}
|
|
2450
|
-
(
|
|
2503
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ToNumberPipe, [{
|
|
2451
2504
|
type: Pipe,
|
|
2452
2505
|
args: [{
|
|
2453
2506
|
name: 'toNumber'
|
|
2454
2507
|
}]
|
|
2455
|
-
}],
|
|
2508
|
+
}], () => [{ type: i1$1.DecimalPipe }, { type: i1.AbstractI18nService, decorators: [{
|
|
2456
2509
|
type: Inject,
|
|
2457
2510
|
args: [AbstractI18nService]
|
|
2458
|
-
}] }]
|
|
2511
|
+
}] }], null); })();
|
|
2459
2512
|
class ToCurrencyPipe {
|
|
2460
2513
|
transform(data, currencySymbol, fracSize) {
|
|
2461
2514
|
const _currencySymbol = (CURRENCY_INFO[currencySymbol] || {}).symbol || currencySymbol || '';
|
|
2462
2515
|
let _val = new ToNumberPipe(this.decimalPipe, this.i18nService).transform(data, fracSize);
|
|
2463
|
-
const isNegativeNumber =
|
|
2516
|
+
const isNegativeNumber = startsWith(_val, '-');
|
|
2464
2517
|
if (isNegativeNumber) {
|
|
2465
2518
|
_val = _val.replace('-', '');
|
|
2466
2519
|
}
|
|
@@ -2473,23 +2526,23 @@ class ToCurrencyPipe {
|
|
|
2473
2526
|
static { this.ɵfac = function ToCurrencyPipe_Factory(t) { return new (t || ToCurrencyPipe)(i0.ɵɵdirectiveInject(i1$1.DecimalPipe, 16), i0.ɵɵdirectiveInject(AbstractI18nService, 16)); }; }
|
|
2474
2527
|
static { this.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "toCurrency", type: ToCurrencyPipe, pure: true }); }
|
|
2475
2528
|
}
|
|
2476
|
-
(
|
|
2529
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ToCurrencyPipe, [{
|
|
2477
2530
|
type: Pipe,
|
|
2478
2531
|
args: [{
|
|
2479
2532
|
name: 'toCurrency'
|
|
2480
2533
|
}]
|
|
2481
|
-
}],
|
|
2534
|
+
}], () => [{ type: i1$1.DecimalPipe }, { type: i1.AbstractI18nService, decorators: [{
|
|
2482
2535
|
type: Inject,
|
|
2483
2536
|
args: [AbstractI18nService]
|
|
2484
|
-
}] }]
|
|
2537
|
+
}] }], null); })();
|
|
2485
2538
|
class PrefixPipe {
|
|
2486
2539
|
transform(data, padding) {
|
|
2487
|
-
return (
|
|
2540
|
+
return (isUndefined(data) || data === null || data === '') ? data : ((padding || '') + data);
|
|
2488
2541
|
}
|
|
2489
2542
|
static { this.ɵfac = function PrefixPipe_Factory(t) { return new (t || PrefixPipe)(); }; }
|
|
2490
2543
|
static { this.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "prefix", type: PrefixPipe, pure: true }); }
|
|
2491
2544
|
}
|
|
2492
|
-
(
|
|
2545
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PrefixPipe, [{
|
|
2493
2546
|
type: Pipe,
|
|
2494
2547
|
args: [{
|
|
2495
2548
|
name: 'prefix'
|
|
@@ -2497,12 +2550,12 @@ class PrefixPipe {
|
|
|
2497
2550
|
}], null, null); })();
|
|
2498
2551
|
class SuffixPipe {
|
|
2499
2552
|
transform(data, padding) {
|
|
2500
|
-
return (
|
|
2553
|
+
return (isUndefined(data) || data === null || data === '') ? data : (data + (padding || ''));
|
|
2501
2554
|
}
|
|
2502
2555
|
static { this.ɵfac = function SuffixPipe_Factory(t) { return new (t || SuffixPipe)(); }; }
|
|
2503
2556
|
static { this.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "suffix", type: SuffixPipe, pure: true }); }
|
|
2504
2557
|
}
|
|
2505
|
-
(
|
|
2558
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SuffixPipe, [{
|
|
2506
2559
|
type: Pipe,
|
|
2507
2560
|
args: [{
|
|
2508
2561
|
name: 'suffix'
|
|
@@ -2521,7 +2574,7 @@ class CustomPipe {
|
|
|
2521
2574
|
argumentArr.push(arguments[i]);
|
|
2522
2575
|
}
|
|
2523
2576
|
let pipeRef = this.custmeUserPipe.getCustomPipe(pipename);
|
|
2524
|
-
if (!pipeRef || !
|
|
2577
|
+
if (!pipeRef || !isFunction(pipeRef.formatter)) {
|
|
2525
2578
|
console.warn('formatter is not defined, please check the custom pipes documentation');
|
|
2526
2579
|
return data;
|
|
2527
2580
|
}
|
|
@@ -2536,12 +2589,12 @@ class CustomPipe {
|
|
|
2536
2589
|
static { this.ɵfac = function CustomPipe_Factory(t) { return new (t || CustomPipe)(i0.ɵɵdirectiveInject(i1.CustomPipeManager, 16)); }; }
|
|
2537
2590
|
static { this.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "custom", type: CustomPipe, pure: true }); }
|
|
2538
2591
|
}
|
|
2539
|
-
(
|
|
2592
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CustomPipe, [{
|
|
2540
2593
|
type: Pipe,
|
|
2541
2594
|
args: [{
|
|
2542
2595
|
name: 'custom'
|
|
2543
2596
|
}]
|
|
2544
|
-
}],
|
|
2597
|
+
}], () => [{ type: i1.CustomPipeManager }], null); })();
|
|
2545
2598
|
class TimeFromNowPipe {
|
|
2546
2599
|
transform(data) {
|
|
2547
2600
|
let timestamp;
|
|
@@ -2554,17 +2607,17 @@ class TimeFromNowPipe {
|
|
|
2554
2607
|
static { this.ɵfac = function TimeFromNowPipe_Factory(t) { return new (t || TimeFromNowPipe)(); }; }
|
|
2555
2608
|
static { this.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "timeFromNow", type: TimeFromNowPipe, pure: true }); }
|
|
2556
2609
|
}
|
|
2557
|
-
(
|
|
2610
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TimeFromNowPipe, [{
|
|
2558
2611
|
type: Pipe,
|
|
2559
2612
|
args: [{
|
|
2560
2613
|
name: 'timeFromNow'
|
|
2561
2614
|
}]
|
|
2562
2615
|
}], null, null); })();
|
|
2563
2616
|
class NumberToStringPipe extends ToNumberPipe {
|
|
2564
|
-
static { this.ɵfac = /*@__PURE__*/
|
|
2617
|
+
static { this.ɵfac = /*@__PURE__*/ (() => { let ɵNumberToStringPipe_BaseFactory; return function NumberToStringPipe_Factory(t) { return (ɵNumberToStringPipe_BaseFactory || (ɵNumberToStringPipe_BaseFactory = i0.ɵɵgetInheritedFactory(NumberToStringPipe)))(t || NumberToStringPipe); }; })(); }
|
|
2565
2618
|
static { this.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "numberToString", type: NumberToStringPipe, pure: true }); }
|
|
2566
2619
|
}
|
|
2567
|
-
(
|
|
2620
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(NumberToStringPipe, [{
|
|
2568
2621
|
type: Pipe,
|
|
2569
2622
|
args: [{
|
|
2570
2623
|
name: 'numberToString'
|
|
@@ -2577,7 +2630,7 @@ class StringToNumberPipe {
|
|
|
2577
2630
|
static { this.ɵfac = function StringToNumberPipe_Factory(t) { return new (t || StringToNumberPipe)(); }; }
|
|
2578
2631
|
static { this.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "stringToNumber", type: StringToNumberPipe, pure: true }); }
|
|
2579
2632
|
}
|
|
2580
|
-
(
|
|
2633
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(StringToNumberPipe, [{
|
|
2581
2634
|
type: Pipe,
|
|
2582
2635
|
args: [{
|
|
2583
2636
|
name: 'stringToNumber'
|
|
@@ -2589,18 +2642,18 @@ class FilterPipe {
|
|
|
2589
2642
|
return [];
|
|
2590
2643
|
}
|
|
2591
2644
|
// If object is passed as first paramter
|
|
2592
|
-
if (
|
|
2593
|
-
return
|
|
2645
|
+
if (isObject(field)) {
|
|
2646
|
+
return filter$1(data, field);
|
|
2594
2647
|
}
|
|
2595
2648
|
// If key value pair is provided
|
|
2596
|
-
return
|
|
2597
|
-
return
|
|
2649
|
+
return filter$1(data, item => {
|
|
2650
|
+
return includes(item[field], value);
|
|
2598
2651
|
});
|
|
2599
2652
|
}
|
|
2600
2653
|
static { this.ɵfac = function FilterPipe_Factory(t) { return new (t || FilterPipe)(); }; }
|
|
2601
2654
|
static { this.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "filter", type: FilterPipe, pure: true }); }
|
|
2602
2655
|
}
|
|
2603
|
-
(
|
|
2656
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FilterPipe, [{
|
|
2604
2657
|
type: Pipe,
|
|
2605
2658
|
args: [{
|
|
2606
2659
|
name: 'filter'
|
|
@@ -2630,7 +2683,7 @@ class FileSizePipe {
|
|
|
2630
2683
|
static { this.ɵfac = function FileSizePipe_Factory(t) { return new (t || FileSizePipe)(); }; }
|
|
2631
2684
|
static { this.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "filesize", type: FileSizePipe, pure: true }); }
|
|
2632
2685
|
}
|
|
2633
|
-
(
|
|
2686
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FileSizePipe, [{
|
|
2634
2687
|
type: Pipe,
|
|
2635
2688
|
args: [{
|
|
2636
2689
|
name: 'filesize'
|
|
@@ -2671,7 +2724,7 @@ class FileIconClassPipe {
|
|
|
2671
2724
|
static { this.ɵfac = function FileIconClassPipe_Factory(t) { return new (t || FileIconClassPipe)(); }; }
|
|
2672
2725
|
static { this.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "fileIconClass", type: FileIconClassPipe, pure: true }); }
|
|
2673
2726
|
}
|
|
2674
|
-
(
|
|
2727
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FileIconClassPipe, [{
|
|
2675
2728
|
type: Pipe,
|
|
2676
2729
|
args: [{
|
|
2677
2730
|
name: 'fileIconClass'
|
|
@@ -2688,7 +2741,7 @@ class StateClassPipe {
|
|
|
2688
2741
|
static { this.ɵfac = function StateClassPipe_Factory(t) { return new (t || StateClassPipe)(); }; }
|
|
2689
2742
|
static { this.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "stateClass", type: StateClassPipe, pure: true }); }
|
|
2690
2743
|
}
|
|
2691
|
-
(
|
|
2744
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(StateClassPipe, [{
|
|
2692
2745
|
type: Pipe,
|
|
2693
2746
|
args: [{
|
|
2694
2747
|
name: 'stateClass'
|
|
@@ -2771,7 +2824,7 @@ class FileExtensionFromMimePipe {
|
|
|
2771
2824
|
static { this.ɵfac = function FileExtensionFromMimePipe_Factory(t) { return new (t || FileExtensionFromMimePipe)(); }; }
|
|
2772
2825
|
static { this.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "fileExtensionFromMime", type: FileExtensionFromMimePipe, pure: true }); }
|
|
2773
2826
|
}
|
|
2774
|
-
(
|
|
2827
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FileExtensionFromMimePipe, [{
|
|
2775
2828
|
type: Pipe,
|
|
2776
2829
|
args: [{
|
|
2777
2830
|
name: 'fileExtensionFromMime'
|
|
@@ -2807,12 +2860,12 @@ class TrustAsPipe {
|
|
|
2807
2860
|
static { this.ɵfac = function TrustAsPipe_Factory(t) { return new (t || TrustAsPipe)(i0.ɵɵdirectiveInject(i1$2.DomSanitizer, 16)); }; }
|
|
2808
2861
|
static { this.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "trustAs", type: TrustAsPipe, pure: true }); }
|
|
2809
2862
|
}
|
|
2810
|
-
(
|
|
2863
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TrustAsPipe, [{
|
|
2811
2864
|
type: Pipe,
|
|
2812
2865
|
args: [{
|
|
2813
2866
|
name: 'trustAs'
|
|
2814
2867
|
}]
|
|
2815
|
-
}],
|
|
2868
|
+
}], () => [{ type: i1$2.DomSanitizer }], null); })();
|
|
2816
2869
|
|
|
2817
2870
|
const openedDialogs = [];
|
|
2818
2871
|
/*We need closedDialogs array because onHidden event is asynchronous,
|
|
@@ -2927,7 +2980,7 @@ class DialogServiceImpl {
|
|
|
2927
2980
|
* closes all the opened dialogs
|
|
2928
2981
|
*/
|
|
2929
2982
|
closeAllDialogs() {
|
|
2930
|
-
|
|
2983
|
+
forEach(openedDialogs.reverse(), (dialog) => {
|
|
2931
2984
|
dialog.close();
|
|
2932
2985
|
});
|
|
2933
2986
|
}
|
|
@@ -2976,9 +3029,9 @@ class DialogServiceImpl {
|
|
|
2976
3029
|
static { this.ɵfac = function DialogServiceImpl_Factory(t) { return new (t || DialogServiceImpl)(); }; }
|
|
2977
3030
|
static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: DialogServiceImpl, factory: DialogServiceImpl.ɵfac }); }
|
|
2978
3031
|
}
|
|
2979
|
-
(
|
|
3032
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DialogServiceImpl, [{
|
|
2980
3033
|
type: Injectable
|
|
2981
|
-
}],
|
|
3034
|
+
}], () => [], null); })();
|
|
2982
3035
|
|
|
2983
3036
|
class SanitizePipe {
|
|
2984
3037
|
constructor(domSanitizer) {
|
|
@@ -3012,12 +3065,12 @@ class SanitizePipe {
|
|
|
3012
3065
|
static { this.ɵfac = function SanitizePipe_Factory(t) { return new (t || SanitizePipe)(i0.ɵɵdirectiveInject(i1$2.DomSanitizer, 16)); }; }
|
|
3013
3066
|
static { this.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "sanitize", type: SanitizePipe, pure: true }); }
|
|
3014
3067
|
}
|
|
3015
|
-
(
|
|
3068
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SanitizePipe, [{
|
|
3016
3069
|
type: Pipe,
|
|
3017
3070
|
args: [{
|
|
3018
3071
|
name: 'sanitize'
|
|
3019
3072
|
}]
|
|
3020
|
-
}],
|
|
3073
|
+
}], () => [{ type: i1$2.DomSanitizer }], null); })();
|
|
3021
3074
|
|
|
3022
3075
|
const wmComponents = [
|
|
3023
3076
|
ContainerDirective,
|
|
@@ -3076,7 +3129,7 @@ class WmComponentsModule {
|
|
|
3076
3129
|
static { this.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule,
|
|
3077
3130
|
SecurityModule] }); }
|
|
3078
3131
|
}
|
|
3079
|
-
(
|
|
3132
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WmComponentsModule, [{
|
|
3080
3133
|
type: NgModule,
|
|
3081
3134
|
args: [{
|
|
3082
3135
|
imports: [
|
|
@@ -3168,7 +3221,7 @@ const LIVE_CONSTANTS = {
|
|
|
3168
3221
|
};
|
|
3169
3222
|
// Returns true if widget is autocomplete or chips
|
|
3170
3223
|
function isSearchWidgetType(widget) {
|
|
3171
|
-
return
|
|
3224
|
+
return includes([FormWidgetType.AUTOCOMPLETE, FormWidgetType.TYPEAHEAD, FormWidgetType.CHIPS], widget);
|
|
3172
3225
|
}
|
|
3173
3226
|
function onSuccess(response, res, rej) {
|
|
3174
3227
|
if (response.error) {
|
|
@@ -3257,7 +3310,7 @@ function fetchRelatedFieldData(dataSource, formField, options) {
|
|
|
3257
3310
|
}
|
|
3258
3311
|
primaryKeys = dataSource.execute(DataSource.Operation.GET_RELATED_PRIMARY_KEYS, relatedField);
|
|
3259
3312
|
formField.datafield = datafield;
|
|
3260
|
-
formField._primaryKey =
|
|
3313
|
+
formField._primaryKey = isEmpty(primaryKeys) ? undefined : primaryKeys[0];
|
|
3261
3314
|
formField.compareby = primaryKeys && primaryKeys.join(',');
|
|
3262
3315
|
displayField = datafield === ALLFIELDS ? undefined : datafield;
|
|
3263
3316
|
formField.displayfield = displayField = (formField.displayfield || displayField || formField._primaryKey);
|
|
@@ -3276,12 +3329,12 @@ function fetchRelatedFieldData(dataSource, formField, options) {
|
|
|
3276
3329
|
dataSource.execute(DataSource.Operation.GET_RELATED_TABLE_DATA, {
|
|
3277
3330
|
relatedField,
|
|
3278
3331
|
pagesize: formField.limit,
|
|
3279
|
-
orderBy: formField.orderby ?
|
|
3332
|
+
orderBy: formField.orderby ? replace(formField.orderby, /:/g, ' ') : '',
|
|
3280
3333
|
filterFields: {},
|
|
3281
3334
|
filterExpr: formField.filterexpressions ? formField.filterexpressions : {}
|
|
3282
3335
|
}).then(response => {
|
|
3283
3336
|
formField.dataset = response.data;
|
|
3284
|
-
formField.displayfield = formField.displayfield ||
|
|
3337
|
+
formField.displayfield = formField.displayfield || head(keys(get(response, '[0]')));
|
|
3285
3338
|
if (formField.showPendingSpinner) {
|
|
3286
3339
|
formField.showPendingSpinner = false;
|
|
3287
3340
|
}
|
|
@@ -3296,8 +3349,8 @@ function fetchRelatedFieldData(dataSource, formField, options) {
|
|
|
3296
3349
|
* @param callbackFn - function to be called with the new replaced values if any in the filterexpressions object
|
|
3297
3350
|
*/
|
|
3298
3351
|
const interpolateBindExpressions = (context, filterexpressions, callbackFn) => {
|
|
3299
|
-
const debouncedFn = debounce(() => {
|
|
3300
|
-
if (
|
|
3352
|
+
const debouncedFn = debounce$1(() => {
|
|
3353
|
+
if (isFunction(callbackFn)) {
|
|
3301
3354
|
callbackFn(filterexpressions);
|
|
3302
3355
|
}
|
|
3303
3356
|
}, 300);
|
|
@@ -3306,8 +3359,8 @@ const interpolateBindExpressions = (context, filterexpressions, callbackFn) => {
|
|
|
3306
3359
|
* without this it will never be called. processFilterExpBindNode will be called only for the binded variable expressions.
|
|
3307
3360
|
*/
|
|
3308
3361
|
debouncedFn();
|
|
3309
|
-
const filterExpressions = filterexpressions ? (
|
|
3310
|
-
const destroyFn = context.registerDestroyListener ? context.registerDestroyListener.bind(context) :
|
|
3362
|
+
const filterExpressions = filterexpressions ? (isObject(filterexpressions) ? filterexpressions : JSON.parse(filterexpressions)) : {};
|
|
3363
|
+
const destroyFn = context.registerDestroyListener ? context.registerDestroyListener.bind(context) : noop;
|
|
3311
3364
|
const filterSubscription = processFilterExpBindNode(context, filterExpressions).subscribe((response) => {
|
|
3312
3365
|
filterexpressions = JSON.stringify(response.filterExpressions);
|
|
3313
3366
|
debouncedFn();
|
|
@@ -3335,7 +3388,7 @@ const getDistinctFieldProperties = (dataSource, formField) => {
|
|
|
3335
3388
|
fieldColumn = formField['lookup-field'];
|
|
3336
3389
|
props.distinctField = fieldColumn;
|
|
3337
3390
|
props.aliasColumn = fieldColumn.replace('.', '$'); // For related fields, In response . is replaced by $
|
|
3338
|
-
props.filterExpr = formField.filterexpressions ? (
|
|
3391
|
+
props.filterExpr = formField.filterexpressions ? (isObject(formField.filterexpressions) ? formField.filterexpressions : JSON.parse(formField.filterexpressions)) : {};
|
|
3339
3392
|
}
|
|
3340
3393
|
else {
|
|
3341
3394
|
props.tableName = dataSource.execute(DataSource.Operation.GET_ENTITY_NAME);
|
|
@@ -3408,14 +3461,14 @@ function setFieldDataSet(formField, data, options) {
|
|
|
3408
3461
|
const emptySupportWidgets = [FormWidgetType.SELECT, FormWidgetType.RADIOSET];
|
|
3409
3462
|
const emptyOption = {};
|
|
3410
3463
|
const dataSet = [];
|
|
3411
|
-
if (options.isEnableEmptyFilter &&
|
|
3464
|
+
if (options.isEnableEmptyFilter && includes(emptySupportWidgets, formField[options.widget]) &&
|
|
3412
3465
|
!formField['is-range'] && !formField.multiple) {
|
|
3413
3466
|
// If empty option is selected, push an empty object in to dataSet
|
|
3414
3467
|
emptyOption[LIVE_CONSTANTS.LABEL_KEY] = LIVE_CONSTANTS.EMPTY_KEY;
|
|
3415
3468
|
emptyOption[LIVE_CONSTANTS.LABEL_VALUE] = options.EMPTY_VALUE || LIVE_CONSTANTS.EMPTY_VALUE;
|
|
3416
3469
|
dataSet.push(emptyOption);
|
|
3417
3470
|
}
|
|
3418
|
-
|
|
3471
|
+
each(data, key => {
|
|
3419
3472
|
const value = key[options.aliasColumn];
|
|
3420
3473
|
const option = {};
|
|
3421
3474
|
if (value !== null && value !== '') {
|
|
@@ -3443,7 +3496,7 @@ function setFieldDataSet(formField, data, options) {
|
|
|
3443
3496
|
*
|
|
3444
3497
|
*/
|
|
3445
3498
|
function fetchDistinctValues(dataSource, formFields, options) {
|
|
3446
|
-
if (
|
|
3499
|
+
if (isEmpty(formFields)) {
|
|
3447
3500
|
return;
|
|
3448
3501
|
}
|
|
3449
3502
|
formFields.forEach(formField => {
|
|
@@ -3555,7 +3608,7 @@ function getRangeMatchMode(minValue, maxValue) {
|
|
|
3555
3608
|
* @param {object} enableemptyfilter empty filter options
|
|
3556
3609
|
*/
|
|
3557
3610
|
function getEnableEmptyFilter(enableemptyfilter) {
|
|
3558
|
-
return enableemptyfilter &&
|
|
3611
|
+
return enableemptyfilter && intersection(enableemptyfilter.split(','), LIVE_CONSTANTS.NULL_EMPTY).length > 0;
|
|
3559
3612
|
}
|
|
3560
3613
|
/**
|
|
3561
3614
|
* @ngdoc function
|
|
@@ -3570,14 +3623,14 @@ function getEnableEmptyFilter(enableemptyfilter) {
|
|
|
3570
3623
|
*/
|
|
3571
3624
|
function getEmptyMatchMode(enableemptyfilter) {
|
|
3572
3625
|
let matchMode;
|
|
3573
|
-
const emptyFilterOptions =
|
|
3574
|
-
if (
|
|
3626
|
+
const emptyFilterOptions = split(enableemptyfilter, ',');
|
|
3627
|
+
if (intersection(emptyFilterOptions, LIVE_CONSTANTS.NULL_EMPTY).length === 2) {
|
|
3575
3628
|
matchMode = MatchMode.NULLOREMPTY;
|
|
3576
3629
|
}
|
|
3577
|
-
else if (
|
|
3630
|
+
else if (includes(emptyFilterOptions, LIVE_CONSTANTS.NULL)) {
|
|
3578
3631
|
matchMode = MatchMode.NULL;
|
|
3579
3632
|
}
|
|
3580
|
-
else if (
|
|
3633
|
+
else if (includes(emptyFilterOptions, LIVE_CONSTANTS.EMPTY)) {
|
|
3581
3634
|
matchMode = MatchMode.EMPTY;
|
|
3582
3635
|
}
|
|
3583
3636
|
return matchMode;
|
|
@@ -3593,13 +3646,13 @@ function getEmptyMatchMode(enableemptyfilter) {
|
|
|
3593
3646
|
* @returns {Array<any>}
|
|
3594
3647
|
*/
|
|
3595
3648
|
const createArrayFrom = (data) => {
|
|
3596
|
-
if (
|
|
3649
|
+
if (isUndefined(data) || isNull(data)) {
|
|
3597
3650
|
return [];
|
|
3598
3651
|
}
|
|
3599
|
-
if (
|
|
3652
|
+
if (isString(data)) {
|
|
3600
3653
|
data = data.split(',').map(Function.prototype.call, String.prototype.trim);
|
|
3601
3654
|
}
|
|
3602
|
-
if (!
|
|
3655
|
+
if (!isArray(data)) {
|
|
3603
3656
|
data = [data];
|
|
3604
3657
|
}
|
|
3605
3658
|
return data;
|
|
@@ -3619,13 +3672,13 @@ const createArrayFrom = (data) => {
|
|
|
3619
3672
|
*/
|
|
3620
3673
|
function applyFilterOnField(dataSource, filterDef, formFields, newVal, options = {}) {
|
|
3621
3674
|
const fieldName = filterDef.field || filterDef.key;
|
|
3622
|
-
const filterOnFields =
|
|
3675
|
+
const filterOnFields = filter$1(formFields, { 'filter-on': fieldName });
|
|
3623
3676
|
newVal = filterDef['is-range'] ? getRangeFieldValue(filterDef.minValue, filterDef.maxValue) : (isDefined(newVal) ? newVal : filterDef.value);
|
|
3624
|
-
if (!dataSource || (options.isFirst && (
|
|
3677
|
+
if (!dataSource || (options.isFirst && (isUndefined(newVal) || newVal === ''))) {
|
|
3625
3678
|
return;
|
|
3626
3679
|
}
|
|
3627
3680
|
// Loop over the fields for which the current field is filter on field
|
|
3628
|
-
|
|
3681
|
+
forEach(filterOnFields, filterField => {
|
|
3629
3682
|
const filterKey = filterField.field || filterField.key;
|
|
3630
3683
|
const lookUpField = filterDef['lookup-field'] || filterDef._primaryKey;
|
|
3631
3684
|
const filterWidget = filterField['edit-widget-type'] || filterField.widgettype;
|
|
@@ -3651,7 +3704,7 @@ function applyFilterOnField(dataSource, filterDef, formFields, newVal, options =
|
|
|
3651
3704
|
else {
|
|
3652
3705
|
matchMode = MatchMode.EQUALS;
|
|
3653
3706
|
}
|
|
3654
|
-
filterVal = (
|
|
3707
|
+
filterVal = (isObject(newVal) && !isArray(newVal)) ? newVal[lookUpField] : newVal;
|
|
3655
3708
|
filterFields[filterOn] = {
|
|
3656
3709
|
'value': filterVal,
|
|
3657
3710
|
'matchMode': matchMode
|
|
@@ -3686,9 +3739,9 @@ function transformData(dataObject, variableName) {
|
|
|
3686
3739
|
// data sanity testing
|
|
3687
3740
|
dataObject = dataObject || [];
|
|
3688
3741
|
// if the dataObject is not an array make it an array
|
|
3689
|
-
if (!
|
|
3742
|
+
if (!isArray(dataObject)) {
|
|
3690
3743
|
// if the data returned is of type string, make it an object inside an array
|
|
3691
|
-
if (
|
|
3744
|
+
if (isString(dataObject)) {
|
|
3692
3745
|
keys = variableName.substring(variableName.indexOf('.') + 1, variableName.length).split('.');
|
|
3693
3746
|
oldKeys = [];
|
|
3694
3747
|
numKeys = keys.length;
|
|
@@ -3712,9 +3765,9 @@ function transformData(dataObject, variableName) {
|
|
|
3712
3765
|
/*if the dataObject is an array and each value is a string, then lite-transform the string to an object
|
|
3713
3766
|
* lite-transform: just checking if the first value is string and then transforming the object, instead of traversing through the whole array
|
|
3714
3767
|
* */
|
|
3715
|
-
if (
|
|
3768
|
+
if (isString(dataObject[0])) {
|
|
3716
3769
|
tempArr = [];
|
|
3717
|
-
|
|
3770
|
+
forEach(dataObject, str => {
|
|
3718
3771
|
newObj = {};
|
|
3719
3772
|
newObj[variableName.split('.').join('-')] = str;
|
|
3720
3773
|
tempArr.push(newObj);
|
|
@@ -3757,18 +3810,18 @@ const ROLLUP_PATTERNS = {
|
|
|
3757
3810
|
/**
|
|
3758
3811
|
* function to get the ordered dataset based on the given orderby
|
|
3759
3812
|
*/
|
|
3760
|
-
const getOrderedDataset = (dataSet, orderBy, innerItem) => {
|
|
3761
|
-
if (!orderBy) {
|
|
3762
|
-
return
|
|
3813
|
+
const getOrderedDataset = (dataSet, orderBy$1, innerItem) => {
|
|
3814
|
+
if (!orderBy$1) {
|
|
3815
|
+
return cloneDeep(dataSet);
|
|
3763
3816
|
}
|
|
3764
3817
|
// The order by only works when the dataset contains list of objects.
|
|
3765
|
-
const items = orderBy.split(','), fields = [], directions = [];
|
|
3818
|
+
const items = orderBy$1.split(','), fields = [], directions = [];
|
|
3766
3819
|
items.forEach(obj => {
|
|
3767
3820
|
const item = obj.split(':');
|
|
3768
3821
|
fields.push(innerItem ? innerItem + '.' + item[0] : item[0]);
|
|
3769
3822
|
directions.push(item[1]);
|
|
3770
3823
|
});
|
|
3771
|
-
return
|
|
3824
|
+
return orderBy(dataSet, fields, directions);
|
|
3772
3825
|
};
|
|
3773
3826
|
/**
|
|
3774
3827
|
* Returns an array of object, each object contain the DataSetItem whose key, value, label are extracted from object keys.
|
|
@@ -3777,10 +3830,10 @@ const transformDataWithKeys = (dataSet) => {
|
|
|
3777
3830
|
const data = [];
|
|
3778
3831
|
// if the dataset is instance of object (not an array) or the first item in the dataset array is an object,
|
|
3779
3832
|
// then we extract the keys from the object and prepare the dataset items.
|
|
3780
|
-
if (
|
|
3833
|
+
if (isObject(dataSet[0]) || (isObject(dataSet) && !(dataSet instanceof Array))) {
|
|
3781
3834
|
// getting keys of the object
|
|
3782
3835
|
const objectKeys = Object.keys(dataSet[0] || dataSet);
|
|
3783
|
-
|
|
3836
|
+
forEach(objectKeys, (objKey, index) => {
|
|
3784
3837
|
data.push({
|
|
3785
3838
|
key: objKey,
|
|
3786
3839
|
label: objKey,
|
|
@@ -3793,21 +3846,21 @@ const transformDataWithKeys = (dataSet) => {
|
|
|
3793
3846
|
};
|
|
3794
3847
|
// Converts any type of data to array.
|
|
3795
3848
|
const extractDataAsArray = data => {
|
|
3796
|
-
if (
|
|
3849
|
+
if (isUndefined(data) || isNull(data) || trim(data) === '') {
|
|
3797
3850
|
return [];
|
|
3798
3851
|
}
|
|
3799
|
-
if (
|
|
3800
|
-
data =
|
|
3852
|
+
if (isString(data)) {
|
|
3853
|
+
data = split(data, ',').map(str => str.trim());
|
|
3801
3854
|
}
|
|
3802
|
-
if (!
|
|
3855
|
+
if (!isArray(data)) {
|
|
3803
3856
|
data = [data];
|
|
3804
3857
|
}
|
|
3805
3858
|
return data;
|
|
3806
3859
|
};
|
|
3807
3860
|
// This function return always an object containing dataset details.
|
|
3808
3861
|
const convertDataToObject = dataResult => {
|
|
3809
|
-
if (
|
|
3810
|
-
dataResult =
|
|
3862
|
+
if (isString(dataResult)) {
|
|
3863
|
+
dataResult = split(dataResult, ',').map(str => str.trim());
|
|
3811
3864
|
}
|
|
3812
3865
|
return dataResult;
|
|
3813
3866
|
};
|
|
@@ -3819,7 +3872,7 @@ const isSeachWidget = (widgetType) => {
|
|
|
3819
3872
|
const setGroupbyKey = (scope, context, dataSetItem, innerItem) => {
|
|
3820
3873
|
if (scope && isSeachWidget(scope.widgetType)) {
|
|
3821
3874
|
if (scope.groupby) {
|
|
3822
|
-
if (
|
|
3875
|
+
if (includes(scope.groupby, '(')) {
|
|
3823
3876
|
//[Todo-CSP]: can generate expr fn in page based on groupby property on widget
|
|
3824
3877
|
const groupDataByUserDefinedFn = $parseEvent(scope.groupby);
|
|
3825
3878
|
dataSetItem.groupby = groupDataByUserDefinedFn(context, { 'row': dataSetItem.dataObject || dataSetItem });
|
|
@@ -3850,10 +3903,10 @@ const transformFormData = (context, dataSet, myDataField, displayOptions, startI
|
|
|
3850
3903
|
}
|
|
3851
3904
|
dataSet = convertDataToObject(dataSet);
|
|
3852
3905
|
// startIndex is the index of the next new item.
|
|
3853
|
-
if (
|
|
3906
|
+
if (isUndefined(startIndex)) {
|
|
3854
3907
|
startIndex = 1;
|
|
3855
3908
|
}
|
|
3856
|
-
if (
|
|
3909
|
+
if (isString(dataSet)) {
|
|
3857
3910
|
dataSet = dataSet.split(',').map(str => str.trim());
|
|
3858
3911
|
dataSet.forEach((option, index) => {
|
|
3859
3912
|
const dataSetItem = { key: option, value: option, label: (isDefined(option) && option !== null) ? option.toString() : '', index: startIndex + index };
|
|
@@ -3861,17 +3914,21 @@ const transformFormData = (context, dataSet, myDataField, displayOptions, startI
|
|
|
3861
3914
|
data.push(dataSetItem);
|
|
3862
3915
|
});
|
|
3863
3916
|
}
|
|
3864
|
-
else if (
|
|
3917
|
+
else if (isArray(dataSet) && !isObject(dataSet[0])) { // array of primitive values only
|
|
3865
3918
|
dataSet.forEach((option, index) => {
|
|
3866
3919
|
const dataSetItem = { key: option, value: option, label: (isDefined(option) && option !== null) ? option.toString() : '', index: startIndex + index };
|
|
3867
3920
|
setGroupbyKey(scope, context, dataSetItem, 'value');
|
|
3868
3921
|
data.push(dataSetItem);
|
|
3869
3922
|
});
|
|
3870
3923
|
}
|
|
3871
|
-
else if (!(dataSet instanceof Array) &&
|
|
3924
|
+
else if (!(dataSet instanceof Array) && isObject(dataSet)) {
|
|
3872
3925
|
const i = 0;
|
|
3873
|
-
|
|
3874
|
-
|
|
3926
|
+
forEach(dataSet, (value, key) => {
|
|
3927
|
+
// @ts-ignore
|
|
3928
|
+
const dataSetItem = { key: trim(key), value: key, label: (isDefined(value) && value !== null) ? value.toString() : '',
|
|
3929
|
+
index: startIndex,
|
|
3930
|
+
dataObject: dataSet
|
|
3931
|
+
};
|
|
3875
3932
|
setGroupbyKey(scope, context, dataSetItem, 'value');
|
|
3876
3933
|
data.push(dataSetItem);
|
|
3877
3934
|
});
|
|
@@ -3883,7 +3940,7 @@ const transformFormData = (context, dataSet, myDataField, displayOptions, startI
|
|
|
3883
3940
|
dataSet.forEach((option, index) => {
|
|
3884
3941
|
const key = myDataField === ALLFIELDS ? startIndex + index : getObjValueByKey(option, myDataField);
|
|
3885
3942
|
// Omit all the items whose datafield (key) is null or undefined.
|
|
3886
|
-
if (!
|
|
3943
|
+
if (!isUndefined(key) && !isNull(key)) {
|
|
3887
3944
|
const label = getEvaluatedData(option, {
|
|
3888
3945
|
field: displayOptions.displayField,
|
|
3889
3946
|
expression: displayOptions.displayExpr,
|
|
@@ -3893,7 +3950,7 @@ const transformFormData = (context, dataSet, myDataField, displayOptions, startI
|
|
|
3893
3950
|
key: key,
|
|
3894
3951
|
label: (isDefined(label) && label !== null) ? label.toString() : '',
|
|
3895
3952
|
value: myDataField === ALLFIELDS ? option : key,
|
|
3896
|
-
dataObject: option,
|
|
3953
|
+
dataObject: option, // represents the object when datafield is ALLFIELDS. This is used as innerItem while grouping the datasetItems.
|
|
3897
3954
|
index: startIndex + index
|
|
3898
3955
|
};
|
|
3899
3956
|
if (displayOptions.displayImgSrc || displayOptions.bindDisplayImgSrc) {
|
|
@@ -3915,16 +3972,16 @@ const transformFormData = (context, dataSet, myDataField, displayOptions, startI
|
|
|
3915
3972
|
const getUniqObjsByDataField = (data, dataField, displayField, allowEmptyFields) => {
|
|
3916
3973
|
let uniqData;
|
|
3917
3974
|
const isAllFields = dataField === ALLFIELDS;
|
|
3918
|
-
uniqData = isAllFields ?
|
|
3975
|
+
uniqData = isAllFields ? uniqWith(data, isEqual) : uniqBy(data, 'key');
|
|
3919
3976
|
if (!displayField || allowEmptyFields) {
|
|
3920
3977
|
return uniqData;
|
|
3921
3978
|
}
|
|
3922
3979
|
// return objects having non empty datafield and display field values.
|
|
3923
|
-
return
|
|
3980
|
+
return filter$1(uniqData, (obj) => {
|
|
3924
3981
|
if (isAllFields) {
|
|
3925
|
-
return
|
|
3982
|
+
return trim(obj.label);
|
|
3926
3983
|
}
|
|
3927
|
-
return
|
|
3984
|
+
return trim(obj.key) && trim(obj.label);
|
|
3928
3985
|
});
|
|
3929
3986
|
};
|
|
3930
3987
|
/**
|
|
@@ -3936,7 +3993,7 @@ const getUniqObjsByDataField = (data, dataField, displayField, allowEmptyFields)
|
|
|
3936
3993
|
*/
|
|
3937
3994
|
const setItemByCompare = (datasetItems, compareWithDataObj, compareByField) => {
|
|
3938
3995
|
// compare the fields based on fields given to compareby property.
|
|
3939
|
-
|
|
3996
|
+
forEach(datasetItems, opt => {
|
|
3940
3997
|
if (isEqualWithFields(opt.value, compareWithDataObj, compareByField)) {
|
|
3941
3998
|
opt.selected = true;
|
|
3942
3999
|
return false;
|
|
@@ -3953,13 +4010,13 @@ const setItemByCompare = (datasetItems, compareWithDataObj, compareByField) => {
|
|
|
3953
4010
|
*/
|
|
3954
4011
|
const getSortedGroupedData = (groupedLiData, groupBy, orderby) => {
|
|
3955
4012
|
const _groupedData = [];
|
|
3956
|
-
|
|
4013
|
+
forEach(keys(groupedLiData), (groupkey, index) => {
|
|
3957
4014
|
const liData = getOrderedDataset(groupedLiData[groupkey], orderby, 'dataObject');
|
|
3958
4015
|
_groupedData.push({
|
|
3959
4016
|
key: groupkey,
|
|
3960
|
-
data:
|
|
4017
|
+
data: sortBy(liData, data => {
|
|
3961
4018
|
data._groupIndex = index + 1;
|
|
3962
|
-
return
|
|
4019
|
+
return get(data, groupBy) || get(data.dataObject, groupBy);
|
|
3963
4020
|
})
|
|
3964
4021
|
});
|
|
3965
4022
|
});
|
|
@@ -3979,10 +4036,11 @@ const getSortedGroupedData = (groupedLiData, groupBy, orderby) => {
|
|
|
3979
4036
|
*/
|
|
3980
4037
|
const groupData = (compRef, data, groupby, match, orderby, dateformat, datePipe, innerItem, AppDefaults) => {
|
|
3981
4038
|
let groupedLiData = {};
|
|
3982
|
-
if (
|
|
4039
|
+
if (includes(groupby, '(')) {
|
|
3983
4040
|
//[Todo-CSP]: can generate expr fn in page based on groupby property on widget
|
|
3984
4041
|
const groupDataByUserDefinedFn = $parseEvent(groupby);
|
|
3985
|
-
groupedLiData =
|
|
4042
|
+
groupedLiData = groupBy(data, val => {
|
|
4043
|
+
// @ts-ignore
|
|
3986
4044
|
return groupDataByUserDefinedFn(compRef.viewParent, { 'row': val.dataObject || val });
|
|
3987
4045
|
});
|
|
3988
4046
|
}
|
|
@@ -4008,14 +4066,14 @@ const getGroupedData = (fieldDefs, groupby, match, orderby, dateFormat, datePipe
|
|
|
4008
4066
|
}
|
|
4009
4067
|
// handling case-in-sensitive scenario
|
|
4010
4068
|
// ordering the data based on groupby field. If there is innerItem then apply orderby using the innerItem's containing the groupby field.
|
|
4011
|
-
fieldDefs =
|
|
4012
|
-
const groupKey =
|
|
4069
|
+
fieldDefs = orderBy(fieldDefs, fieldDef => {
|
|
4070
|
+
const groupKey = get(innerItem ? fieldDef[innerItem] : fieldDef, groupby);
|
|
4013
4071
|
if (groupKey) {
|
|
4014
|
-
return
|
|
4072
|
+
return toLower(groupKey);
|
|
4015
4073
|
}
|
|
4016
4074
|
});
|
|
4017
4075
|
// extract the grouped data based on the field obtained from 'groupDataByField'.
|
|
4018
|
-
const groupedLiData =
|
|
4076
|
+
const groupedLiData = groupBy(fieldDefs, groupDataByField.bind(undefined, groupby, match, innerItem, dateFormat, datePipe, AppDefaults));
|
|
4019
4077
|
momentLocale._calendar = momentCalendarOptions; // Reset to default moment calendar options
|
|
4020
4078
|
return groupedLiData;
|
|
4021
4079
|
};
|
|
@@ -4081,9 +4139,9 @@ const getTimeRolledUpString = (concatStr, rollUp, dateformat, datePipe, AppDefau
|
|
|
4081
4139
|
// groups the fields based on the groupby value.
|
|
4082
4140
|
const groupDataByField = (groupby, match, innerItem, dateFormat, datePipe, AppDefaults, liData) => {
|
|
4083
4141
|
// get the groupby field value from the liData or innerItem in the liData.
|
|
4084
|
-
let concatStr =
|
|
4142
|
+
let concatStr = get(innerItem ? liData[innerItem] : liData, groupby);
|
|
4085
4143
|
// by default set the undefined groupKey as 'others'
|
|
4086
|
-
if (
|
|
4144
|
+
if (isUndefined(concatStr) || isNull(concatStr) || concatStr.toString().trim() === '') {
|
|
4087
4145
|
return GROUP_BY_OPTIONS.OTHERS;
|
|
4088
4146
|
}
|
|
4089
4147
|
// if match prop is alphabetic ,get the starting alphabet of the word as key.
|
|
@@ -4091,7 +4149,7 @@ const groupDataByField = (groupby, match, innerItem, dateFormat, datePipe, AppDe
|
|
|
4091
4149
|
concatStr = concatStr.substr(0, 1);
|
|
4092
4150
|
}
|
|
4093
4151
|
// if match contains the time options then get the concatStr using 'getTimeRolledUpString'
|
|
4094
|
-
if (
|
|
4152
|
+
if (includes(values(TIME_ROLLUP_OPTIONS), match)) {
|
|
4095
4153
|
concatStr = getTimeRolledUpString(concatStr, match, dateFormat, datePipe, AppDefaults);
|
|
4096
4154
|
}
|
|
4097
4155
|
return concatStr;
|
|
@@ -4106,13 +4164,13 @@ const toggleAllHeaders = (el) => {
|
|
|
4106
4164
|
// toggle the collapse icon on list header.
|
|
4107
4165
|
const groupIcons = groups.find('li.list-group-header .app-icon');
|
|
4108
4166
|
if (groupIcons) {
|
|
4109
|
-
|
|
4110
|
-
icon = $(icon);
|
|
4111
|
-
if (icon.hasClass('wi-chevron-down')) {
|
|
4112
|
-
icon.removeClass('wi-chevron-down').addClass('wi-chevron-up');
|
|
4167
|
+
forEach(groupIcons, (icon) => {
|
|
4168
|
+
const $icon = $(icon);
|
|
4169
|
+
if ($icon.hasClass('wi-chevron-down')) {
|
|
4170
|
+
$icon.removeClass('wi-chevron-down').addClass('wi-chevron-up');
|
|
4113
4171
|
}
|
|
4114
4172
|
else {
|
|
4115
|
-
icon.removeClass('wi-chevron-up').addClass('wi-chevron-down');
|
|
4173
|
+
$icon.removeClass('wi-chevron-up').addClass('wi-chevron-down');
|
|
4116
4174
|
}
|
|
4117
4175
|
});
|
|
4118
4176
|
}
|
|
@@ -4177,8 +4235,8 @@ const EDIT_MODE = {
|
|
|
4177
4235
|
};
|
|
4178
4236
|
// Method to set the header config of the data table
|
|
4179
4237
|
const setHeaderConfig = (headerConfig, config, field, index) => {
|
|
4180
|
-
|
|
4181
|
-
if (
|
|
4238
|
+
forEach(headerConfig, cols => {
|
|
4239
|
+
if (get(cols, 'isGroup')) {
|
|
4182
4240
|
if (cols.field === field) {
|
|
4183
4241
|
cols.columns[index] = config;
|
|
4184
4242
|
}
|
|
@@ -4234,8 +4292,8 @@ const getFieldLayoutConfig = (captionWidth, captionPosition, os) => {
|
|
|
4234
4292
|
}
|
|
4235
4293
|
else if (captionWidth) {
|
|
4236
4294
|
// handling itemsperrow containing string of classes
|
|
4237
|
-
|
|
4238
|
-
const keys =
|
|
4295
|
+
forEach(split(captionWidth, ' '), function (cls) {
|
|
4296
|
+
const keys = split(cls, '-'), tier = keys[0];
|
|
4239
4297
|
let _captionWidth, widgetWidth;
|
|
4240
4298
|
_captionWidth = parseInt(keys[1], 10);
|
|
4241
4299
|
widgetWidth = 12 - _captionWidth;
|
|
@@ -4250,7 +4308,7 @@ const getFieldLayoutConfig = (captionWidth, captionPosition, os) => {
|
|
|
4250
4308
|
};
|
|
4251
4309
|
};
|
|
4252
4310
|
const getDefaultViewModeWidget = widget => {
|
|
4253
|
-
if (
|
|
4311
|
+
if (includes(['checkbox', 'toggle', 'rating'], widget)) {
|
|
4254
4312
|
return VIEW_MODE_OPTIONS.DEFAULT;
|
|
4255
4313
|
}
|
|
4256
4314
|
return VIEW_MODE_OPTIONS.LABEL;
|
|
@@ -4320,7 +4378,7 @@ const getDataTableFilterWidget = type => {
|
|
|
4320
4378
|
if (type === DataType.BOOLEAN) {
|
|
4321
4379
|
widget = FormWidgetType.SELECT;
|
|
4322
4380
|
}
|
|
4323
|
-
if (
|
|
4381
|
+
if (includes([FormWidgetType.TEXT, FormWidgetType.NUMBER, FormWidgetType.SELECT, FormWidgetType.AUTOCOMPLETE,
|
|
4324
4382
|
FormWidgetType.DATE, FormWidgetType.TIME, FormWidgetType.DATETIME], widget)) {
|
|
4325
4383
|
return widget;
|
|
4326
4384
|
}
|
|
@@ -4378,22 +4436,22 @@ const getValidLink = (link) => {
|
|
|
4378
4436
|
const routRegex = /^(\/|#\/|#)(?!\W).*/;
|
|
4379
4437
|
if (link) {
|
|
4380
4438
|
if (routRegex.test(link)) {
|
|
4381
|
-
link =
|
|
4439
|
+
link = first(link.match(/[\w]+.*/g)) || '';
|
|
4382
4440
|
return `#/${link}`;
|
|
4383
4441
|
}
|
|
4384
|
-
if (
|
|
4442
|
+
if (startsWith(link, 'www.')) {
|
|
4385
4443
|
return `//${link}`;
|
|
4386
4444
|
}
|
|
4387
4445
|
return link;
|
|
4388
4446
|
}
|
|
4389
4447
|
};
|
|
4390
|
-
class DatasetAwareNavComponent extends StylableComponent {
|
|
4391
|
-
constructor(inj, WIDGET_CONFIG) {
|
|
4392
|
-
super(inj, WIDGET_CONFIG);
|
|
4448
|
+
let DatasetAwareNavComponent = class DatasetAwareNavComponent extends StylableComponent {
|
|
4449
|
+
constructor(inj, WIDGET_CONFIG, explicitContext) {
|
|
4450
|
+
super(inj, WIDGET_CONFIG, explicitContext);
|
|
4393
4451
|
this.nodes = [];
|
|
4394
4452
|
this.nodes$ = new Subject();
|
|
4395
4453
|
// debounce function for reset nodes functions.
|
|
4396
|
-
this._resetNodes =
|
|
4454
|
+
this._resetNodes = debounce(this.resetNodes, 50);
|
|
4397
4455
|
this.securityService = this.inj.get(SecurityService);
|
|
4398
4456
|
this.binditemlabel = this.nativeElement.getAttribute('itemlabel.bind');
|
|
4399
4457
|
this.binditemicon = this.nativeElement.getAttribute('itemicon.bind');
|
|
@@ -4413,24 +4471,49 @@ class DatasetAwareNavComponent extends StylableComponent {
|
|
|
4413
4471
|
*/
|
|
4414
4472
|
getNode(fields, node) {
|
|
4415
4473
|
const context = this.viewParent.pageScope || this.viewParent;
|
|
4416
|
-
const children = getEvaluatedData(node, {
|
|
4474
|
+
const children = getEvaluatedData(node, {
|
|
4475
|
+
field: this.itemchildren,
|
|
4476
|
+
bindExpression: this.binditemchildren
|
|
4477
|
+
}, context) || get(node, fields.childrenField);
|
|
4417
4478
|
const navNode = {
|
|
4418
|
-
action: getEvaluatedData(node, {
|
|
4419
|
-
|
|
4479
|
+
action: getEvaluatedData(node, {
|
|
4480
|
+
field: this.itemaction,
|
|
4481
|
+
bindExpression: this.binditemaction
|
|
4482
|
+
}, context) || get(node, fields.actionField),
|
|
4483
|
+
badge: getEvaluatedData(node, {
|
|
4484
|
+
field: this.itembadge,
|
|
4485
|
+
bindExpression: this.binditembadge
|
|
4486
|
+
}, context) || get(node, fields.badgeField),
|
|
4420
4487
|
children: Array.isArray(children) ? this.getNodes(children) : [],
|
|
4421
|
-
class:
|
|
4488
|
+
class: get(node, fields.classField),
|
|
4422
4489
|
disabled: node.disabled,
|
|
4423
|
-
icon: getEvaluatedData(node, {
|
|
4424
|
-
|
|
4425
|
-
|
|
4426
|
-
|
|
4427
|
-
|
|
4490
|
+
icon: getEvaluatedData(node, {
|
|
4491
|
+
field: this.itemicon,
|
|
4492
|
+
bindExpression: this.binditemicon
|
|
4493
|
+
}, context) || get(node, fields.iconField),
|
|
4494
|
+
id: getEvaluatedData(node, {
|
|
4495
|
+
field: this.itemid,
|
|
4496
|
+
bindExpression: this.binditemid
|
|
4497
|
+
}, context) || get(node, fields.idField),
|
|
4498
|
+
label: getEvaluatedData(node, {
|
|
4499
|
+
field: this.itemlabel,
|
|
4500
|
+
bindExpression: this.binditemlabel
|
|
4501
|
+
}, context) || get(node, fields.labelField),
|
|
4502
|
+
link: getValidLink(getEvaluatedData(node, {
|
|
4503
|
+
field: this.itemlink,
|
|
4504
|
+
bindExpression: this.binditemlink
|
|
4505
|
+
}, context) || get(node, fields.linkField)),
|
|
4506
|
+
target: getValidLink(getEvaluatedData(node, {
|
|
4507
|
+
field: this.itemtarget,
|
|
4508
|
+
bindExpression: this.binditemtarget
|
|
4509
|
+
}, context) || get(node, fields.targetField)),
|
|
4428
4510
|
role: getEvaluatedData(node, { field: this.userrole, bindExpression: this.binduserrole }, context),
|
|
4429
4511
|
isactive: getEvaluatedData(node, { field: this.isactive, bindExpression: this.bindisactive }, context),
|
|
4430
4512
|
// older projects have display field & data field property for menu.
|
|
4431
4513
|
value: this.datafield ? (this.datafield === 'All Fields' ? node : findValueOf(node, this.datafield)) : node
|
|
4432
4514
|
};
|
|
4433
|
-
|
|
4515
|
+
// @ts-ignore
|
|
4516
|
+
return omitBy(navNode, isUndefined);
|
|
4434
4517
|
}
|
|
4435
4518
|
resetItemFieldMap() {
|
|
4436
4519
|
this._itemFieldMap = null;
|
|
@@ -4462,7 +4545,7 @@ class DatasetAwareNavComponent extends StylableComponent {
|
|
|
4462
4545
|
prepareNodeDataSet(nv) {
|
|
4463
4546
|
nv = createArrayFrom(nv);
|
|
4464
4547
|
return nv.map((val) => {
|
|
4465
|
-
if (!isObject(val)) {
|
|
4548
|
+
if (!isObject$1(val)) {
|
|
4466
4549
|
return {
|
|
4467
4550
|
label: val,
|
|
4468
4551
|
value: val
|
|
@@ -4513,7 +4596,12 @@ class DatasetAwareNavComponent extends StylableComponent {
|
|
|
4513
4596
|
}
|
|
4514
4597
|
super.onPropertyChange(key, nv, ov);
|
|
4515
4598
|
}
|
|
4516
|
-
}
|
|
4599
|
+
};
|
|
4600
|
+
DatasetAwareNavComponent = __decorate([
|
|
4601
|
+
__param(2, Inject('EXPLICIT_CONTEXT')),
|
|
4602
|
+
__param(2, Optional()),
|
|
4603
|
+
__metadata("design:paramtypes", [Injector, Object, Object])
|
|
4604
|
+
], DatasetAwareNavComponent);
|
|
4517
4605
|
|
|
4518
4606
|
const DEFAULT_VALIDATOR = {
|
|
4519
4607
|
pattern: 'regexp',
|
|
@@ -4563,7 +4651,7 @@ class BaseFieldValidations {
|
|
|
4563
4651
|
if (this.instance.regexp) {
|
|
4564
4652
|
_validator.push(Validators.pattern(this.instance.regexp));
|
|
4565
4653
|
}
|
|
4566
|
-
if (this.formwidget &&
|
|
4654
|
+
if (this.formwidget && isFunction(this.formwidget.validate)) {
|
|
4567
4655
|
_validator.push(this.formwidget.validate.bind(this.formwidget));
|
|
4568
4656
|
}
|
|
4569
4657
|
return _validator;
|
|
@@ -4590,7 +4678,7 @@ class BaseFieldValidations {
|
|
|
4590
4678
|
}
|
|
4591
4679
|
getPromiseList(validators) {
|
|
4592
4680
|
const arr = [];
|
|
4593
|
-
|
|
4681
|
+
forEach(validators, (fn, index) => {
|
|
4594
4682
|
let promise = fn;
|
|
4595
4683
|
if (fn instanceof Function && fn.bind) {
|
|
4596
4684
|
promise = fn(this.widgetControl, this.widgetContext);
|
|
@@ -4612,11 +4700,11 @@ class BaseFieldValidations {
|
|
|
4612
4700
|
// if err obj has validationMessage key, then set validationMessage using this value
|
|
4613
4701
|
// else return the value of the first key in the err object as validation message.
|
|
4614
4702
|
if (err.hasOwnProperty('errorMessage')) {
|
|
4615
|
-
this.instance.validationmessage =
|
|
4703
|
+
this.instance.validationmessage = get(err, 'errorMessage');
|
|
4616
4704
|
}
|
|
4617
4705
|
else {
|
|
4618
|
-
const keys =
|
|
4619
|
-
this.instance.validationmessage = (err[keys[0]]).toString();
|
|
4706
|
+
const keys$1 = keys(err);
|
|
4707
|
+
this.instance.validationmessage = (err[keys$1[0]]).toString();
|
|
4620
4708
|
}
|
|
4621
4709
|
return err;
|
|
4622
4710
|
}).then(response => {
|
|
@@ -4648,7 +4736,7 @@ class BaseFieldValidations {
|
|
|
4648
4736
|
}
|
|
4649
4737
|
}
|
|
4650
4738
|
isDefaultValidator(type) {
|
|
4651
|
-
return
|
|
4739
|
+
return get(VALIDATOR, toUpper(type));
|
|
4652
4740
|
}
|
|
4653
4741
|
// default validator is bound to a function then watch for value changes
|
|
4654
4742
|
// otherwise set the value of default validator directly
|
|
@@ -4664,10 +4752,10 @@ class BaseFieldValidations {
|
|
|
4664
4752
|
}
|
|
4665
4753
|
// sets the default validation on the form field
|
|
4666
4754
|
setValidators(validators) {
|
|
4667
|
-
let _cloneValidators =
|
|
4755
|
+
let _cloneValidators = cloneDeep(validators);
|
|
4668
4756
|
this.hasValidators = true;
|
|
4669
4757
|
this._syncValidators = [];
|
|
4670
|
-
|
|
4758
|
+
forEach(_cloneValidators, (obj, index) => {
|
|
4671
4759
|
// custom validation is bound to function.
|
|
4672
4760
|
if (obj && obj instanceof Function) {
|
|
4673
4761
|
// passing formfield and form as arguments to the obj (i.e. validator function)
|
|
@@ -4676,17 +4764,17 @@ class BaseFieldValidations {
|
|
|
4676
4764
|
}
|
|
4677
4765
|
else {
|
|
4678
4766
|
// checks for default validator like required, maxchars etc.
|
|
4679
|
-
const key =
|
|
4680
|
-
this.defaultValidatorMessages[key] =
|
|
4767
|
+
const key = get(obj, 'type');
|
|
4768
|
+
this.defaultValidatorMessages[key] = get(obj, 'errorMessage');
|
|
4681
4769
|
if (this.isDefaultValidator(key)) {
|
|
4682
|
-
const value =
|
|
4770
|
+
const value = get(obj, 'validator');
|
|
4683
4771
|
this.setDefaultValidator(key, value);
|
|
4684
4772
|
_cloneValidators[index] = '';
|
|
4685
4773
|
}
|
|
4686
4774
|
}
|
|
4687
4775
|
});
|
|
4688
4776
|
// _syncValidators contains all the custom validations on the form field. will not include default validators.
|
|
4689
|
-
this._syncValidators =
|
|
4777
|
+
this._syncValidators = filter$1(_cloneValidators, val => {
|
|
4690
4778
|
if (val) {
|
|
4691
4779
|
return val;
|
|
4692
4780
|
}
|
|
@@ -4694,8 +4782,8 @@ class BaseFieldValidations {
|
|
|
4694
4782
|
this.applyDefaultValidators();
|
|
4695
4783
|
}
|
|
4696
4784
|
observeOn(fields, context) {
|
|
4697
|
-
|
|
4698
|
-
const formfield =
|
|
4785
|
+
forEach(fields, field => {
|
|
4786
|
+
const formfield = find(this.widgetContext[context], { 'key': field });
|
|
4699
4787
|
if (formfield) {
|
|
4700
4788
|
if (!formfield.notifyForFields) {
|
|
4701
4789
|
formfield.notifyForFields = [];
|
|
@@ -4726,13 +4814,13 @@ class BaseFieldValidations {
|
|
|
4726
4814
|
const watchName = `${this.instance.widgetId}_` + key + '_formField';
|
|
4727
4815
|
$unwatch(watchName);
|
|
4728
4816
|
//[Todo-CSP]: Need clarity generate this expr fn if form is present in the page
|
|
4729
|
-
this.instance.registerDestroyListener($watch('boundFn(fn)',
|
|
4817
|
+
this.instance.registerDestroyListener($watch('boundFn(fn)', extend(this.instance, this.instance.viewParent), { fn }, (nv, ov) => {
|
|
4730
4818
|
this.instance.widget[key] = nv;
|
|
4731
4819
|
this.applyDefaultValidators();
|
|
4732
4820
|
}, watchName));
|
|
4733
4821
|
}
|
|
4734
4822
|
isNullOrEmptyOrFalsy(value) {
|
|
4735
|
-
return
|
|
4823
|
+
return isEmpty(value);
|
|
4736
4824
|
}
|
|
4737
4825
|
// invokes both custom sync validations and default validations.
|
|
4738
4826
|
applyDefaultValidators() {
|
|
@@ -4743,7 +4831,7 @@ class BaseFieldValidations {
|
|
|
4743
4831
|
if (this.formwidget && (this.instance.value === this.formwidget.prevDatavalue || this.isNullOrEmptyOrFalsy(this.instance.value))) {
|
|
4744
4832
|
opt['emitEvent'] = false;
|
|
4745
4833
|
}
|
|
4746
|
-
this.widgetControl.setValidators(
|
|
4834
|
+
this.widgetControl.setValidators(concat(this._syncValidators || [], validators));
|
|
4747
4835
|
this.widgetControl.updateValueAndValidity(opt);
|
|
4748
4836
|
this.setCustomValidationMessage();
|
|
4749
4837
|
}
|
|
@@ -4753,14 +4841,14 @@ class BaseFieldValidations {
|
|
|
4753
4841
|
return;
|
|
4754
4842
|
}
|
|
4755
4843
|
if (fieldErrors.hasOwnProperty('errorMessage')) {
|
|
4756
|
-
this.instance.validationmessage =
|
|
4844
|
+
this.instance.validationmessage = get(fieldErrors, 'errorMessage');
|
|
4757
4845
|
}
|
|
4758
4846
|
else {
|
|
4759
|
-
const keys =
|
|
4760
|
-
const key = keys[0];
|
|
4761
|
-
const validationMsgKey =
|
|
4847
|
+
const keys$1 = keys(fieldErrors);
|
|
4848
|
+
const key = keys$1[0];
|
|
4849
|
+
const validationMsgKey = get(DEFAULT_VALIDATOR, key) || this.formwidget.validateType;
|
|
4762
4850
|
if (validationMsgKey) {
|
|
4763
|
-
const msg =
|
|
4851
|
+
const msg = get(this.defaultValidatorMessages, validationMsgKey) || this.instance.validationmessage;
|
|
4764
4852
|
if (msg && msg instanceof Function) {
|
|
4765
4853
|
// passing formfield and form as arguments to the errorMessage function.
|
|
4766
4854
|
this.instance.validationmessage = msg(this.widgetControl, this.widgetContext);
|