@wavemaker/app-ng-runtime 12.0.0-next.45002 → 12.0.0-next.45006
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 +341 -344
- app-ng-runtime/build-task/esm2022/advanced/carousel/carousel-template/carousel-template.build.mjs +5 -3
- app-ng-runtime/build-task/esm2022/advanced/carousel/carousel.build.mjs +1 -1
- app-ng-runtime/build-task/esm2022/basic/default/label/label.build.mjs +1 -1
- app-ng-runtime/build-task/esm2022/basic/progress/progress-bar/progress-bar.build.mjs +1 -1
- app-ng-runtime/build-task/esm2022/containers/accordion/accordion.build.mjs +1 -1
- app-ng-runtime/build-task/esm2022/containers/repeat-template.build.mjs +5 -3
- app-ng-runtime/build-task/esm2022/containers/tabs/tabs.build.mjs +1 -1
- app-ng-runtime/build-task/esm2022/data/form/form-field/form-field.build.mjs +1 -1
- app-ng-runtime/build-task/esm2022/data/form/form.build.mjs +5 -2
- app-ng-runtime/build-task/esm2022/data/list/list.build.mjs +1 -1
- app-ng-runtime/build-task/esm2022/data/media-list/media-list.build.mjs +1 -1
- app-ng-runtime/build-task/esm2022/data/table/table-column/table-column.build.mjs +1 -1
- app-ng-runtime/build-task/esm2022/data/table/table.build.mjs +1 -1
- app-ng-runtime/build-task/esm2022/dialogs/partial-dialog/partial-dialog.build.mjs +1 -1
- app-ng-runtime/build-task/esm2022/input/file-upload/file-upload.build.mjs +1 -1
- app-ng-runtime/build-task/esm2022/navigation/menu/menu.build.mjs +8 -3
- 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/public_api.mjs +1 -2
- app-ng-runtime/build-task/esm2022/utils/utils.mjs +1 -1
- app-ng-runtime/build-task/fesm2022/index.mjs +340 -341
- app-ng-runtime/build-task/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/build-task/public_api.d.ts +0 -1
- app-ng-runtime/components/advanced/carousel/.npmignore +2 -0
- app-ng-runtime/components/advanced/carousel/bundles/index.umd.js +29 -18
- app-ng-runtime/components/advanced/carousel/carousel-template/carousel-template.directive.d.ts +3 -3
- app-ng-runtime/components/advanced/carousel/carousel.directive.d.ts +2 -2
- app-ng-runtime/components/advanced/carousel/esm2022/carousel-template/carousel-template.directive.mjs +15 -9
- app-ng-runtime/components/advanced/carousel/esm2022/carousel.animator.mjs +3 -2
- app-ng-runtime/components/advanced/carousel/esm2022/carousel.directive.mjs +12 -7
- app-ng-runtime/components/advanced/carousel/esm2022/carousel.module.mjs +2 -2
- app-ng-runtime/components/advanced/carousel/fesm2022/index.mjs +28 -16
- app-ng-runtime/components/advanced/carousel/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/advanced/custom/.npmignore +2 -0
- app-ng-runtime/components/advanced/custom/bundles/index.umd.js +31 -94
- app-ng-runtime/components/advanced/custom/custom-widget-container/custom-widget-container.directive.d.ts +2 -0
- app-ng-runtime/components/advanced/custom/custom-widget-container/custom-widget.props.d.ts +1 -0
- app-ng-runtime/components/advanced/custom/custom-widget.module.d.ts +4 -5
- app-ng-runtime/components/advanced/custom/esm2022/custom-widget-container/custom-widget-container.directive.mjs +21 -13
- app-ng-runtime/components/advanced/custom/esm2022/custom-widget-container/custom-widget.props.mjs +5 -2
- app-ng-runtime/components/advanced/custom/esm2022/custom-widget.directive.mjs +5 -5
- app-ng-runtime/components/advanced/custom/esm2022/custom-widget.module.mjs +2 -9
- app-ng-runtime/components/advanced/custom/esm2022/public_api.mjs +1 -2
- app-ng-runtime/components/advanced/custom/fesm2022/index.mjs +31 -93
- app-ng-runtime/components/advanced/custom/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/advanced/custom/public_api.d.ts +0 -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 +400 -312
- app-ng-runtime/components/base/directives/show-in-device.directive.d.ts +3 -6
- app-ng-runtime/components/base/esm2022/components.module.mjs +2 -2
- app-ng-runtime/components/base/esm2022/directives/show-in-device.directive.mjs +13 -15
- app-ng-runtime/components/base/esm2022/pipes/custom-pipes.mjs +35 -34
- app-ng-runtime/components/base/esm2022/pipes/image.pipe.mjs +2 -2
- app-ng-runtime/components/base/esm2022/pipes/sanitize.pipe.mjs +3 -3
- app-ng-runtime/components/base/esm2022/pipes/trust-as.pipe.mjs +3 -3
- app-ng-runtime/components/base/esm2022/pipes/wm-pipe.mjs +3 -2
- app-ng-runtime/components/base/esm2022/public_api.mjs +2 -1
- app-ng-runtime/components/base/esm2022/utils/data-utils.mjs +30 -29
- app-ng-runtime/components/base/esm2022/utils/form-utils.mjs +48 -42
- app-ng-runtime/components/base/esm2022/utils/live-utils.mjs +8 -7
- app-ng-runtime/components/base/esm2022/utils/widget-utils.mjs +28 -27
- app-ng-runtime/components/base/esm2022/widgets/common/base/base-container.component.mjs +8 -7
- app-ng-runtime/components/base/esm2022/widgets/common/base/base-field-validations.mjs +23 -22
- app-ng-runtime/components/base/esm2022/widgets/common/base/base.component.mjs +63 -42
- app-ng-runtime/components/base/esm2022/widgets/common/base/custom-widget-container.directive.mjs +4 -4
- app-ng-runtime/components/base/esm2022/widgets/common/base/dataset-aware-nav.component.mjs +52 -18
- app-ng-runtime/components/base/esm2022/widgets/common/base/partial-container.directive.mjs +6 -5
- app-ng-runtime/components/base/esm2022/widgets/common/base/stylable.component.mjs +3 -3
- app-ng-runtime/components/base/esm2022/widgets/common/base/text-content.directive.mjs +3 -3
- app-ng-runtime/components/base/esm2022/widgets/common/container/container.directive.mjs +12 -7
- app-ng-runtime/components/base/esm2022/widgets/common/dialog/dialog.service.mjs +5 -4
- app-ng-runtime/components/base/esm2022/widgets/common/item-template/item-template.directive.mjs +12 -7
- app-ng-runtime/components/base/esm2022/widgets/common/lazy-load/lazy-load.directive.mjs +14 -7
- app-ng-runtime/components/base/esm2022/widgets/common/message/message.component.mjs +16 -10
- app-ng-runtime/components/base/esm2022/widgets/common/partial/partial.directive.mjs +14 -8
- app-ng-runtime/components/base/esm2022/widgets/common/partial-param/partial-param.directive.mjs +9 -8
- app-ng-runtime/components/base/esm2022/widgets/common/pull-to-refresh/pull-to-refresh.mjs +1 -1
- app-ng-runtime/components/base/esm2022/widgets/common/redraw/redrawable.directive.mjs +4 -4
- app-ng-runtime/components/base/esm2022/widgets/common/repeat-template/repeat-template.directive.mjs +15 -9
- app-ng-runtime/components/base/esm2022/widgets/common/smooth-scroll/smooth-scroll.directive.mjs +11 -10
- app-ng-runtime/components/base/esm2022/widgets/framework/deviceview.mjs +1 -1
- app-ng-runtime/components/base/esm2022/widgets/framework/property-change-handler.mjs +3 -2
- app-ng-runtime/components/base/esm2022/widgets/framework/styler.mjs +1 -1
- app-ng-runtime/components/base/esm2022/widgets/framework/widget-props.mjs +1 -1
- app-ng-runtime/components/base/esm2022/widgets/framework/widget-proxy-provider.mjs +4 -3
- app-ng-runtime/components/base/esm2022/widgets/framework/widget-registry.mjs +1 -1
- app-ng-runtime/components/base/fesm2022/index.mjs +405 -315
- app-ng-runtime/components/base/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/base/pipes/custom-pipes.d.ts +1 -1
- app-ng-runtime/components/base/public_api.d.ts +1 -0
- app-ng-runtime/components/base/utils/data-utils.d.ts +1 -0
- app-ng-runtime/components/base/utils/widget-utils.d.ts +2 -2
- app-ng-runtime/components/base/widgets/common/base/base-container.component.d.ts +1 -1
- app-ng-runtime/components/base/widgets/common/base/base-field-validations.d.ts +1 -1
- app-ng-runtime/components/base/widgets/common/base/base.component.d.ts +22 -4
- app-ng-runtime/components/base/widgets/common/base/dataset-aware-nav.component.d.ts +1 -1
- app-ng-runtime/components/base/widgets/common/base/partial-container.directive.d.ts +1 -1
- app-ng-runtime/components/base/widgets/common/container/container.directive.d.ts +2 -2
- app-ng-runtime/components/base/widgets/common/item-template/item-template.directive.d.ts +2 -2
- app-ng-runtime/components/base/widgets/common/lazy-load/lazy-load.directive.d.ts +2 -2
- app-ng-runtime/components/base/widgets/common/message/message.component.d.ts +2 -2
- app-ng-runtime/components/base/widgets/common/partial/partial.directive.d.ts +2 -2
- app-ng-runtime/components/base/widgets/common/repeat-template/repeat-template.directive.d.ts +3 -3
- app-ng-runtime/components/basic/default/.npmignore +2 -0
- app-ng-runtime/components/basic/default/anchor/anchor.component.d.ts +2 -2
- app-ng-runtime/components/basic/default/audio/audio.component.d.ts +2 -2
- app-ng-runtime/components/basic/default/bundles/index.umd.js +158 -115
- app-ng-runtime/components/basic/default/esm2022/anchor/anchor.component.mjs +31 -27
- app-ng-runtime/components/basic/default/esm2022/audio/audio.component.mjs +13 -7
- 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 +157 -113
- 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 +40 -28
- app-ng-runtime/components/basic/progress/esm2022/progress-bar/progress-bar.component.mjs +22 -15
- app-ng-runtime/components/basic/progress/esm2022/progress-circle/progress-circle.component.mjs +17 -10
- 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 +39 -26
- 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 +2 -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 +197 -184
- 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 -15
- app-ng-runtime/components/data/form/esm2022/form-field/form-field.props.mjs +1 -1
- app-ng-runtime/components/data/form/esm2022/form-widget.directive.mjs +4 -4
- app-ng-runtime/components/data/form/esm2022/form.component.mjs +138 -134
- app-ng-runtime/components/data/form/esm2022/form.module.mjs +2 -2
- app-ng-runtime/components/data/form/esm2022/form.props.mjs +1 -1
- app-ng-runtime/components/data/form/esm2022/live-actions/dependson.directive.mjs +4 -4
- app-ng-runtime/components/data/form/esm2022/live-actions/live-actions.directive.mjs +4 -4
- app-ng-runtime/components/data/form/esm2022/live-filter/live-filter.directive.mjs +7 -6
- app-ng-runtime/components/data/form/esm2022/live-form/live-form.directive.mjs +14 -13
- app-ng-runtime/components/data/form/fesm2022/index.mjs +201 -187
- app-ng-runtime/components/data/form/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/data/form/form-action/form-action.directive.d.ts +2 -2
- app-ng-runtime/components/data/form/form-field/form-field.directive.d.ts +2 -2
- app-ng-runtime/components/data/form/form.component.d.ts +4 -4
- app-ng-runtime/components/data/form/live-form/live-form.directive.d.ts +1 -1
- app-ng-runtime/components/data/list/.npmignore +2 -0
- app-ng-runtime/components/data/list/bundles/index.umd.js +829 -818
- app-ng-runtime/components/data/list/esm2022/list-item.directive.mjs +9 -4
- app-ng-runtime/components/data/list/esm2022/list.animator.mjs +5 -3
- app-ng-runtime/components/data/list/esm2022/list.component.mjs +817 -810
- app-ng-runtime/components/data/list/esm2022/list.module.mjs +2 -2
- app-ng-runtime/components/data/list/fesm2022/index.mjs +828 -816
- app-ng-runtime/components/data/list/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/data/list/list-item.directive.d.ts +4 -0
- app-ng-runtime/components/data/list/list.component.d.ts +55 -54
- app-ng-runtime/components/data/live-table/.npmignore +2 -0
- app-ng-runtime/components/data/live-table/bundles/index.umd.js +13 -7
- app-ng-runtime/components/data/live-table/esm2022/live-table.component.mjs +14 -8
- app-ng-runtime/components/data/live-table/esm2022/live-table.module.mjs +2 -2
- app-ng-runtime/components/data/live-table/fesm2022/index.mjs +15 -9
- app-ng-runtime/components/data/live-table/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/data/live-table/live-table.component.d.ts +2 -2
- app-ng-runtime/components/data/pagination/.npmignore +2 -0
- app-ng-runtime/components/data/pagination/bundles/index.umd.js +113 -110
- app-ng-runtime/components/data/pagination/esm2022/pagination.component.mjs +111 -107
- app-ng-runtime/components/data/pagination/esm2022/pagination.module.mjs +2 -2
- app-ng-runtime/components/data/pagination/fesm2022/index.mjs +112 -108
- app-ng-runtime/components/data/pagination/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/data/pagination/pagination.component.d.ts +2 -2
- app-ng-runtime/components/data/table/.npmignore +2 -0
- app-ng-runtime/components/data/table/bundles/index.umd.js +314 -269
- app-ng-runtime/components/data/table/esm2022/table-action/table-action.directive.mjs +15 -9
- app-ng-runtime/components/data/table/esm2022/table-column/table-column.directive.mjs +40 -25
- app-ng-runtime/components/data/table/esm2022/table-column/table-column.props.mjs +2 -2
- app-ng-runtime/components/data/table/esm2022/table-column-group/table-column-group.directive.mjs +13 -8
- app-ng-runtime/components/data/table/esm2022/table-cud.directive.mjs +10 -9
- app-ng-runtime/components/data/table/esm2022/table-filter.directive.mjs +56 -58
- app-ng-runtime/components/data/table/esm2022/table-row/table-row.directive.mjs +13 -8
- app-ng-runtime/components/data/table/esm2022/table-row-action/table-row-action.directive.mjs +14 -8
- app-ng-runtime/components/data/table/esm2022/table.component.mjs +165 -150
- app-ng-runtime/components/data/table/esm2022/table.module.mjs +2 -2
- app-ng-runtime/components/data/table/esm2022/table.props.mjs +2 -2
- app-ng-runtime/components/data/table/fesm2022/index.mjs +313 -267
- app-ng-runtime/components/data/table/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/data/table/table-action/table-action.directive.d.ts +2 -2
- app-ng-runtime/components/data/table/table-column/table-column.directive.d.ts +8 -8
- app-ng-runtime/components/data/table/table-column-group/table-column-group.directive.d.ts +2 -2
- app-ng-runtime/components/data/table/table-row/table-row.directive.d.ts +2 -2
- app-ng-runtime/components/data/table/table-row-action/table-row-action.directive.d.ts +2 -2
- app-ng-runtime/components/data/table/table.component.d.ts +4 -4
- app-ng-runtime/components/dialogs/alert-dialog/.npmignore +2 -0
- app-ng-runtime/components/dialogs/alert-dialog/alert-dialog.component.d.ts +2 -2
- app-ng-runtime/components/dialogs/alert-dialog/bundles/index.umd.js +15 -9
- app-ng-runtime/components/dialogs/alert-dialog/esm2022/alert-dialog.component.mjs +16 -10
- app-ng-runtime/components/dialogs/alert-dialog/esm2022/alert-dialog.module.mjs +2 -2
- app-ng-runtime/components/dialogs/alert-dialog/fesm2022/index.mjs +17 -11
- app-ng-runtime/components/dialogs/alert-dialog/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/confirm-dialog/.npmignore +2 -0
- app-ng-runtime/components/dialogs/confirm-dialog/bundles/index.umd.js +17 -11
- app-ng-runtime/components/dialogs/confirm-dialog/confirm-dialog.component.d.ts +2 -2
- app-ng-runtime/components/dialogs/confirm-dialog/esm2022/confirm-dialog.component.mjs +18 -12
- app-ng-runtime/components/dialogs/confirm-dialog/esm2022/confirm-dialog.module.mjs +2 -2
- app-ng-runtime/components/dialogs/confirm-dialog/fesm2022/index.mjs +19 -13
- app-ng-runtime/components/dialogs/confirm-dialog/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/default/.npmignore +2 -0
- app-ng-runtime/components/dialogs/default/base-dialog.d.ts +2 -2
- app-ng-runtime/components/dialogs/default/bundles/index.umd.js +75 -71
- app-ng-runtime/components/dialogs/default/dialog-footer/dialog-footer.directive.d.ts +2 -2
- app-ng-runtime/components/dialogs/default/esm2022/base-dialog.mjs +14 -9
- app-ng-runtime/components/dialogs/default/esm2022/dialog-body/dialog-body.directive.mjs +4 -4
- app-ng-runtime/components/dialogs/default/esm2022/dialog-footer/dialog-footer.directive.mjs +12 -7
- app-ng-runtime/components/dialogs/default/esm2022/dialog-header/dialog-header.component.mjs +49 -55
- app-ng-runtime/components/dialogs/default/esm2022/dialog.module.mjs +2 -2
- app-ng-runtime/components/dialogs/default/fesm2022/index.mjs +76 -72
- app-ng-runtime/components/dialogs/default/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/design-dialog/.npmignore +2 -0
- app-ng-runtime/components/dialogs/design-dialog/bundles/index.umd.js +20 -14
- app-ng-runtime/components/dialogs/design-dialog/dialog.component.d.ts +2 -2
- app-ng-runtime/components/dialogs/design-dialog/esm2022/design-dialog.module.mjs +2 -2
- app-ng-runtime/components/dialogs/design-dialog/esm2022/dialog.component.mjs +21 -15
- app-ng-runtime/components/dialogs/design-dialog/fesm2022/index.mjs +22 -16
- app-ng-runtime/components/dialogs/design-dialog/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/iframe-dialog/.npmignore +2 -0
- app-ng-runtime/components/dialogs/iframe-dialog/bundles/index.umd.js +20 -14
- app-ng-runtime/components/dialogs/iframe-dialog/esm2022/iframe-dialog.component.mjs +21 -15
- app-ng-runtime/components/dialogs/iframe-dialog/esm2022/iframe-dialog.module.mjs +2 -2
- app-ng-runtime/components/dialogs/iframe-dialog/fesm2022/index.mjs +22 -16
- app-ng-runtime/components/dialogs/iframe-dialog/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/iframe-dialog/iframe-dialog.component.d.ts +2 -2
- app-ng-runtime/components/dialogs/login-dialog/.npmignore +2 -0
- app-ng-runtime/components/dialogs/login-dialog/bundles/index.umd.js +4 -4
- app-ng-runtime/components/dialogs/login-dialog/esm2022/login-dialog.directive.mjs +4 -4
- app-ng-runtime/components/dialogs/login-dialog/esm2022/login-dialog.module.mjs +2 -2
- app-ng-runtime/components/dialogs/login-dialog/fesm2022/index.mjs +4 -4
- app-ng-runtime/components/dialogs/login-dialog/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/partial-dialog/.npmignore +2 -0
- app-ng-runtime/components/dialogs/partial-dialog/bundles/index.umd.js +16 -10
- app-ng-runtime/components/dialogs/partial-dialog/esm2022/partial-dialog.component.mjs +17 -11
- app-ng-runtime/components/dialogs/partial-dialog/esm2022/partial-dialog.module.mjs +2 -2
- app-ng-runtime/components/dialogs/partial-dialog/fesm2022/index.mjs +18 -12
- app-ng-runtime/components/dialogs/partial-dialog/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/partial-dialog/partial-dialog.component.d.ts +2 -2
- app-ng-runtime/components/input/calendar/.npmignore +2 -0
- app-ng-runtime/components/input/calendar/bundles/index.umd.js +46 -38
- app-ng-runtime/components/input/calendar/calendar.component.d.ts +2 -2
- app-ng-runtime/components/input/calendar/esm2022/calendar.component.mjs +44 -35
- app-ng-runtime/components/input/calendar/esm2022/calendar.module.mjs +2 -2
- app-ng-runtime/components/input/calendar/fesm2022/index.mjs +45 -36
- app-ng-runtime/components/input/calendar/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/chips/.npmignore +2 -0
- app-ng-runtime/components/input/chips/bundles/index.umd.js +69 -61
- app-ng-runtime/components/input/chips/chips.component.d.ts +3 -3
- app-ng-runtime/components/input/chips/esm2022/chips.component.mjs +67 -58
- app-ng-runtime/components/input/chips/esm2022/chips.module.mjs +2 -2
- app-ng-runtime/components/input/chips/fesm2022/index.mjs +67 -58
- app-ng-runtime/components/input/chips/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/color-picker/.npmignore +2 -0
- app-ng-runtime/components/input/color-picker/bundles/index.umd.js +25 -12
- app-ng-runtime/components/input/color-picker/color-picker.component.d.ts +2 -2
- app-ng-runtime/components/input/color-picker/esm2022/color-picker.component.mjs +26 -13
- app-ng-runtime/components/input/color-picker/esm2022/color-picker.module.mjs +2 -2
- app-ng-runtime/components/input/color-picker/fesm2022/index.mjs +26 -13
- app-ng-runtime/components/input/color-picker/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/currency/.npmignore +2 -0
- app-ng-runtime/components/input/currency/bundles/index.umd.js +18 -11
- app-ng-runtime/components/input/currency/currency.component.d.ts +2 -2
- app-ng-runtime/components/input/currency/esm2022/currency.component.mjs +19 -12
- app-ng-runtime/components/input/currency/esm2022/currency.module.mjs +2 -2
- app-ng-runtime/components/input/currency/fesm2022/index.mjs +19 -12
- app-ng-runtime/components/input/currency/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/default/.npmignore +2 -0
- app-ng-runtime/components/input/default/base-form.component.d.ts +3 -3
- app-ng-runtime/components/input/default/bundles/index.umd.js +583 -450
- 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 +5 -4
- 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 +43 -32
- 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 +586 -451
- 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 +2 -2
- 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 +200 -163
- app-ng-runtime/components/input/epoch/date/date.component.d.ts +2 -2
- app-ng-runtime/components/input/epoch/date-time/date-time.component.d.ts +2 -2
- app-ng-runtime/components/input/epoch/esm2022/base-date-time.component.mjs +44 -36
- app-ng-runtime/components/input/epoch/esm2022/date/date.component.mjs +29 -21
- app-ng-runtime/components/input/epoch/esm2022/date/date.props.mjs +2 -2
- app-ng-runtime/components/input/epoch/esm2022/date/imaskUtil.mjs +1 -1
- 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 +197 -159
- 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 +160 -145
- app-ng-runtime/components/navigation/menu/esm2022/menu-adapator.component.mjs +13 -7
- app-ng-runtime/components/navigation/menu/esm2022/menu-dropdown/menu-dropdown.component.mjs +5 -4
- app-ng-runtime/components/navigation/menu/esm2022/menu-dropdown-item/menu-dropdown-item.component.mjs +27 -26
- app-ng-runtime/components/navigation/menu/esm2022/menu.component.mjs +44 -40
- app-ng-runtime/components/navigation/menu/esm2022/menu.module.mjs +4 -3
- app-ng-runtime/components/navigation/menu/esm2022/nav/nav-item/nav-item.directive.mjs +14 -8
- app-ng-runtime/components/navigation/menu/esm2022/nav/nav.component.mjs +63 -63
- app-ng-runtime/components/navigation/menu/esm2022/nav/navigation-control.directive.mjs +3 -3
- app-ng-runtime/components/navigation/menu/fesm2022/index.mjs +160 -144
- app-ng-runtime/components/navigation/menu/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/navigation/menu/menu-adapator.component.d.ts +1 -1
- app-ng-runtime/components/navigation/menu/menu-dropdown-item/menu-dropdown-item.component.d.ts +12 -1
- app-ng-runtime/components/navigation/menu/menu.component.d.ts +2 -2
- app-ng-runtime/components/navigation/menu/nav/nav-item/nav-item.directive.d.ts +3 -3
- app-ng-runtime/components/navigation/menu/nav/nav.component.d.ts +3 -4
- app-ng-runtime/components/navigation/navbar/.npmignore +2 -0
- app-ng-runtime/components/navigation/navbar/bundles/index.umd.js +29 -22
- app-ng-runtime/components/navigation/navbar/esm2022/navbar.component.mjs +30 -23
- app-ng-runtime/components/navigation/navbar/esm2022/navbar.module.mjs +2 -2
- app-ng-runtime/components/navigation/navbar/fesm2022/index.mjs +31 -24
- app-ng-runtime/components/navigation/navbar/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/navigation/navbar/navbar.component.d.ts +2 -2
- app-ng-runtime/components/navigation/popover/.npmignore +2 -0
- app-ng-runtime/components/navigation/popover/bundles/index.umd.js +18 -11
- app-ng-runtime/components/navigation/popover/esm2022/popover.component.mjs +19 -12
- app-ng-runtime/components/navigation/popover/esm2022/popover.module.mjs +2 -2
- app-ng-runtime/components/navigation/popover/fesm2022/index.mjs +20 -13
- app-ng-runtime/components/navigation/popover/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/navigation/popover/popover.component.d.ts +2 -2
- app-ng-runtime/components/page/default/.npmignore +2 -0
- app-ng-runtime/components/page/default/bundles/index.umd.js +63 -31
- app-ng-runtime/components/page/default/content/content.component.d.ts +2 -2
- app-ng-runtime/components/page/default/esm2022/content/content.component.mjs +13 -7
- app-ng-runtime/components/page/default/esm2022/layout.directive.mjs +12 -7
- app-ng-runtime/components/page/default/esm2022/page-content/page-content.component.mjs +13 -7
- app-ng-runtime/components/page/default/esm2022/page.directive.mjs +12 -7
- app-ng-runtime/components/page/default/esm2022/page.module.mjs +2 -2
- app-ng-runtime/components/page/default/esm2022/router-outlet.directive.mjs +12 -7
- app-ng-runtime/components/page/default/esm2022/spa-page.directive.mjs +12 -7
- app-ng-runtime/components/page/default/fesm2022/index.mjs +65 -33
- app-ng-runtime/components/page/default/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/page/default/layout.directive.d.ts +2 -2
- app-ng-runtime/components/page/default/page-content/page-content.component.d.ts +2 -2
- app-ng-runtime/components/page/default/page.directive.d.ts +2 -2
- app-ng-runtime/components/page/default/router-outlet.directive.d.ts +2 -2
- app-ng-runtime/components/page/default/spa-page.directive.d.ts +2 -2
- app-ng-runtime/components/page/footer/.npmignore +2 -0
- app-ng-runtime/components/page/footer/bundles/index.umd.js +11 -6
- app-ng-runtime/components/page/footer/esm2022/footer.directive.mjs +12 -7
- app-ng-runtime/components/page/footer/esm2022/footer.module.mjs +2 -2
- app-ng-runtime/components/page/footer/fesm2022/index.mjs +13 -8
- app-ng-runtime/components/page/footer/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/page/footer/footer.directive.d.ts +2 -2
- app-ng-runtime/components/page/header/.npmignore +2 -0
- app-ng-runtime/components/page/header/bundles/index.umd.js +12 -6
- app-ng-runtime/components/page/header/esm2022/header.component.mjs +13 -7
- app-ng-runtime/components/page/header/esm2022/header.module.mjs +2 -2
- app-ng-runtime/components/page/header/fesm2022/index.mjs +14 -8
- app-ng-runtime/components/page/header/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/page/header/header.component.d.ts +2 -2
- app-ng-runtime/components/page/left-panel/.npmignore +2 -0
- app-ng-runtime/components/page/left-panel/bundles/index.umd.js +12 -7
- app-ng-runtime/components/page/left-panel/esm2022/left-panel.animator.mjs +1 -1
- app-ng-runtime/components/page/left-panel/esm2022/left-panel.directive.mjs +13 -8
- app-ng-runtime/components/page/left-panel/esm2022/left-panel.module.mjs +2 -2
- app-ng-runtime/components/page/left-panel/fesm2022/index.mjs +14 -9
- app-ng-runtime/components/page/left-panel/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/page/left-panel/left-panel.directive.d.ts +2 -2
- app-ng-runtime/components/page/right-panel/.npmignore +2 -0
- app-ng-runtime/components/page/right-panel/bundles/index.umd.js +11 -6
- app-ng-runtime/components/page/right-panel/esm2022/right-panel.directive.mjs +12 -7
- app-ng-runtime/components/page/right-panel/esm2022/right-panel.module.mjs +2 -2
- app-ng-runtime/components/page/right-panel/fesm2022/index.mjs +13 -8
- app-ng-runtime/components/page/right-panel/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/page/right-panel/right-panel.directive.d.ts +2 -2
- app-ng-runtime/components/page/top-nav/.npmignore +2 -0
- app-ng-runtime/components/page/top-nav/bundles/index.umd.js +11 -6
- app-ng-runtime/components/page/top-nav/esm2022/top-nav.directive.mjs +12 -7
- app-ng-runtime/components/page/top-nav/esm2022/top-nav.module.mjs +2 -2
- app-ng-runtime/components/page/top-nav/fesm2022/index.mjs +13 -8
- app-ng-runtime/components/page/top-nav/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/page/top-nav/top-nav.directive.d.ts +2 -2
- app-ng-runtime/components/prefab/.npmignore +2 -0
- app-ng-runtime/components/prefab/bundles/index.umd.js +28 -18
- app-ng-runtime/components/prefab/esm2022/prefab-container/prefab-container.directive.mjs +14 -8
- app-ng-runtime/components/prefab/esm2022/prefab.directive.mjs +15 -9
- app-ng-runtime/components/prefab/esm2022/prefab.module.mjs +2 -2
- app-ng-runtime/components/prefab/fesm2022/index.mjs +26 -15
- app-ng-runtime/components/prefab/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/prefab/prefab-container/prefab-container.directive.d.ts +2 -2
- app-ng-runtime/components/prefab/prefab.directive.d.ts +2 -2
- app-ng-runtime/core/.npmignore +2 -0
- app-ng-runtime/core/bundles/index.umd.js +158 -146
- app-ng-runtime/core/esm2022/core.module.mjs +2 -2
- app-ng-runtime/core/esm2022/public_api.mjs +3 -2
- app-ng-runtime/core/esm2022/services/constant.service.mjs +2 -2
- app-ng-runtime/core/esm2022/services/custom-icons-loader.service.mjs +26 -0
- app-ng-runtime/core/esm2022/services/field-type.service.mjs +5 -4
- app-ng-runtime/core/esm2022/services/field-widget.service.mjs +5 -4
- app-ng-runtime/core/esm2022/services/pagination.service.mjs +8 -7
- app-ng-runtime/core/esm2022/services/script-loader.service.mjs +3 -3
- app-ng-runtime/core/esm2022/services/state-persistence.service.mjs +18 -17
- app-ng-runtime/core/esm2022/services/user-custom-pipe-manager.service.mjs +2 -2
- app-ng-runtime/core/esm2022/services/utils.service.mjs +5 -4
- app-ng-runtime/core/esm2022/services/viewport.service.mjs +5 -4
- app-ng-runtime/core/esm2022/utils/build-utils.mjs +5 -4
- app-ng-runtime/core/esm2022/utils/dom.mjs +1 -1
- app-ng-runtime/core/esm2022/utils/event-notifier.mjs +1 -1
- app-ng-runtime/core/esm2022/utils/expression-parser.mjs +6 -5
- app-ng-runtime/core/esm2022/utils/id-generator.mjs +1 -1
- app-ng-runtime/core/esm2022/utils/lru-cache.mjs +3 -2
- app-ng-runtime/core/esm2022/utils/utils.mjs +79 -82
- app-ng-runtime/core/esm2022/utils/watcher.mjs +9 -7
- app-ng-runtime/core/esm2022/utils/wm-project-properties.mjs +1 -1
- app-ng-runtime/core/fesm2022/index.mjs +158 -142
- app-ng-runtime/core/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/core/public_api.d.ts +2 -1
- app-ng-runtime/core/services/custom-icons-loader.service.d.ts +7 -0
- app-ng-runtime/core/services/pagination.service.d.ts +1 -1
- app-ng-runtime/core/utils/utils.d.ts +5 -9
- app-ng-runtime/http/.npmignore +2 -0
- app-ng-runtime/http/bundles/index.umd.js +10 -10
- app-ng-runtime/http/esm2022/http-service.module.mjs +2 -2
- app-ng-runtime/http/esm2022/http.service.mjs +7 -6
- app-ng-runtime/http/esm2022/wm-http-request.mjs +1 -1
- app-ng-runtime/http/esm2022/wm-http-response.mjs +1 -1
- app-ng-runtime/http/fesm2022/index.mjs +7 -6
- app-ng-runtime/http/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/locales/angular/global/af-na.js +4 -4
- app-ng-runtime/locales/angular/global/af.js +4 -4
- app-ng-runtime/locales/angular/global/agq.js +4 -4
- app-ng-runtime/locales/angular/global/ak.js +4 -4
- app-ng-runtime/locales/angular/global/am.js +4 -4
- app-ng-runtime/locales/angular/global/ar-ae.js +4 -4
- app-ng-runtime/locales/angular/global/ar-bh.js +4 -4
- app-ng-runtime/locales/angular/global/ar-dj.js +4 -4
- app-ng-runtime/locales/angular/global/ar-dz.js +4 -4
- app-ng-runtime/locales/angular/global/ar-eg.js +4 -4
- app-ng-runtime/locales/angular/global/ar-eh.js +4 -4
- app-ng-runtime/locales/angular/global/ar-er.js +4 -4
- app-ng-runtime/locales/angular/global/ar-il.js +4 -4
- app-ng-runtime/locales/angular/global/ar-iq.js +4 -4
- app-ng-runtime/locales/angular/global/ar-jo.js +4 -4
- app-ng-runtime/locales/angular/global/ar-km.js +4 -4
- app-ng-runtime/locales/angular/global/ar-kw.js +4 -4
- app-ng-runtime/locales/angular/global/ar-lb.js +4 -4
- app-ng-runtime/locales/angular/global/ar-ly.js +4 -4
- app-ng-runtime/locales/angular/global/ar-ma.js +4 -4
- app-ng-runtime/locales/angular/global/ar-mr.js +4 -4
- app-ng-runtime/locales/angular/global/ar-om.js +4 -4
- app-ng-runtime/locales/angular/global/ar-ps.js +4 -4
- app-ng-runtime/locales/angular/global/ar-qa.js +4 -4
- app-ng-runtime/locales/angular/global/ar-sa.js +4 -4
- app-ng-runtime/locales/angular/global/ar-sd.js +4 -4
- app-ng-runtime/locales/angular/global/ar-so.js +4 -4
- app-ng-runtime/locales/angular/global/ar-ss.js +4 -4
- app-ng-runtime/locales/angular/global/ar-sy.js +4 -4
- app-ng-runtime/locales/angular/global/ar-td.js +4 -4
- app-ng-runtime/locales/angular/global/ar-tn.js +4 -4
- app-ng-runtime/locales/angular/global/ar-ye.js +4 -4
- app-ng-runtime/locales/angular/global/ar.js +4 -4
- app-ng-runtime/locales/angular/global/as.js +4 -4
- app-ng-runtime/locales/angular/global/asa.js +4 -4
- app-ng-runtime/locales/angular/global/ast.js +4 -4
- app-ng-runtime/locales/angular/global/az-cyrl.js +4 -4
- app-ng-runtime/locales/angular/global/az-latn.js +4 -4
- app-ng-runtime/locales/angular/global/az.js +4 -4
- app-ng-runtime/locales/angular/global/bas.js +4 -4
- app-ng-runtime/locales/angular/global/be-tarask.js +4 -4
- app-ng-runtime/locales/angular/global/be.js +4 -4
- app-ng-runtime/locales/angular/global/bem.js +4 -4
- app-ng-runtime/locales/angular/global/bez.js +4 -4
- app-ng-runtime/locales/angular/global/bg.js +4 -4
- app-ng-runtime/locales/angular/global/bm.js +4 -4
- app-ng-runtime/locales/angular/global/bn-in.js +4 -4
- app-ng-runtime/locales/angular/global/bn.js +4 -4
- app-ng-runtime/locales/angular/global/bo-in.js +4 -4
- app-ng-runtime/locales/angular/global/bo.js +4 -4
- app-ng-runtime/locales/angular/global/br.js +4 -4
- app-ng-runtime/locales/angular/global/brx.js +4 -4
- app-ng-runtime/locales/angular/global/bs-cyrl.js +4 -4
- app-ng-runtime/locales/angular/global/bs-latn.js +4 -4
- app-ng-runtime/locales/angular/global/bs.js +4 -4
- app-ng-runtime/locales/angular/global/ca-ad.js +4 -4
- app-ng-runtime/locales/angular/global/ca-es-valencia.js +4 -4
- app-ng-runtime/locales/angular/global/ca-fr.js +4 -4
- app-ng-runtime/locales/angular/global/ca-it.js +4 -4
- app-ng-runtime/locales/angular/global/ca.js +4 -4
- app-ng-runtime/locales/angular/global/ccp-in.js +4 -4
- app-ng-runtime/locales/angular/global/ccp.js +4 -4
- app-ng-runtime/locales/angular/global/ce.js +4 -4
- app-ng-runtime/locales/angular/global/ceb.js +4 -4
- app-ng-runtime/locales/angular/global/cgg.js +4 -4
- app-ng-runtime/locales/angular/global/chr.js +4 -4
- app-ng-runtime/locales/angular/global/ckb-ir.js +4 -4
- app-ng-runtime/locales/angular/global/ckb.js +4 -4
- app-ng-runtime/locales/angular/global/cs.js +4 -4
- app-ng-runtime/locales/angular/global/cy.js +4 -4
- app-ng-runtime/locales/angular/global/da-gl.js +4 -4
- app-ng-runtime/locales/angular/global/da.js +4 -4
- app-ng-runtime/locales/angular/global/dav.js +4 -4
- app-ng-runtime/locales/angular/global/de-at.js +4 -4
- app-ng-runtime/locales/angular/global/de-be.js +4 -4
- app-ng-runtime/locales/angular/global/de-ch.js +4 -4
- app-ng-runtime/locales/angular/global/de-it.js +4 -4
- app-ng-runtime/locales/angular/global/de-li.js +4 -4
- app-ng-runtime/locales/angular/global/de-lu.js +4 -4
- app-ng-runtime/locales/angular/global/de.js +4 -4
- app-ng-runtime/locales/angular/global/dje.js +4 -4
- app-ng-runtime/locales/angular/global/doi.js +4 -4
- app-ng-runtime/locales/angular/global/dsb.js +4 -4
- app-ng-runtime/locales/angular/global/dua.js +4 -4
- app-ng-runtime/locales/angular/global/dyo.js +4 -4
- app-ng-runtime/locales/angular/global/dz.js +4 -4
- app-ng-runtime/locales/angular/global/ebu.js +4 -4
- app-ng-runtime/locales/angular/global/ee-tg.js +4 -4
- app-ng-runtime/locales/angular/global/ee.js +4 -4
- app-ng-runtime/locales/angular/global/el-cy.js +4 -4
- app-ng-runtime/locales/angular/global/el.js +4 -4
- app-ng-runtime/locales/angular/global/en-001.js +4 -4
- app-ng-runtime/locales/angular/global/en-150.js +4 -4
- app-ng-runtime/locales/angular/global/en-ae.js +4 -4
- app-ng-runtime/locales/angular/global/en-ag.js +4 -4
- app-ng-runtime/locales/angular/global/en-ai.js +4 -4
- app-ng-runtime/locales/angular/global/en-as.js +4 -4
- app-ng-runtime/locales/angular/global/en-at.js +4 -4
- app-ng-runtime/locales/angular/global/en-au.js +4 -4
- app-ng-runtime/locales/angular/global/en-bb.js +4 -4
- app-ng-runtime/locales/angular/global/en-be.js +4 -4
- app-ng-runtime/locales/angular/global/en-bi.js +4 -4
- app-ng-runtime/locales/angular/global/en-bm.js +4 -4
- app-ng-runtime/locales/angular/global/en-bs.js +4 -4
- app-ng-runtime/locales/angular/global/en-bw.js +4 -4
- app-ng-runtime/locales/angular/global/en-bz.js +4 -4
- app-ng-runtime/locales/angular/global/en-ca.js +4 -4
- app-ng-runtime/locales/angular/global/en-cc.js +4 -4
- app-ng-runtime/locales/angular/global/en-ch.js +4 -4
- app-ng-runtime/locales/angular/global/en-ck.js +4 -4
- app-ng-runtime/locales/angular/global/en-cm.js +4 -4
- app-ng-runtime/locales/angular/global/en-cx.js +4 -4
- app-ng-runtime/locales/angular/global/en-cy.js +4 -4
- app-ng-runtime/locales/angular/global/en-de.js +4 -4
- app-ng-runtime/locales/angular/global/en-dg.js +4 -4
- app-ng-runtime/locales/angular/global/en-dk.js +4 -4
- app-ng-runtime/locales/angular/global/en-dm.js +4 -4
- app-ng-runtime/locales/angular/global/en-er.js +4 -4
- app-ng-runtime/locales/angular/global/en-fi.js +4 -4
- app-ng-runtime/locales/angular/global/en-fj.js +4 -4
- app-ng-runtime/locales/angular/global/en-fk.js +4 -4
- app-ng-runtime/locales/angular/global/en-fm.js +4 -4
- app-ng-runtime/locales/angular/global/en-gb.js +4 -4
- app-ng-runtime/locales/angular/global/en-gd.js +4 -4
- app-ng-runtime/locales/angular/global/en-gg.js +4 -4
- app-ng-runtime/locales/angular/global/en-gh.js +4 -4
- app-ng-runtime/locales/angular/global/en-gi.js +4 -4
- app-ng-runtime/locales/angular/global/en-gm.js +4 -4
- app-ng-runtime/locales/angular/global/en-gu.js +4 -4
- app-ng-runtime/locales/angular/global/en-gy.js +4 -4
- app-ng-runtime/locales/angular/global/en-hk.js +4 -4
- app-ng-runtime/locales/angular/global/en-ie.js +4 -4
- app-ng-runtime/locales/angular/global/en-il.js +4 -4
- app-ng-runtime/locales/angular/global/en-im.js +4 -4
- app-ng-runtime/locales/angular/global/en-in.js +4 -4
- app-ng-runtime/locales/angular/global/en-io.js +4 -4
- app-ng-runtime/locales/angular/global/en-je.js +4 -4
- app-ng-runtime/locales/angular/global/en-jm.js +4 -4
- app-ng-runtime/locales/angular/global/en-ke.js +4 -4
- app-ng-runtime/locales/angular/global/en-ki.js +4 -4
- app-ng-runtime/locales/angular/global/en-kn.js +4 -4
- app-ng-runtime/locales/angular/global/en-ky.js +4 -4
- app-ng-runtime/locales/angular/global/en-lc.js +4 -4
- app-ng-runtime/locales/angular/global/en-lr.js +4 -4
- app-ng-runtime/locales/angular/global/en-ls.js +4 -4
- app-ng-runtime/locales/angular/global/en-mg.js +4 -4
- app-ng-runtime/locales/angular/global/en-mh.js +4 -4
- app-ng-runtime/locales/angular/global/en-mo.js +4 -4
- app-ng-runtime/locales/angular/global/en-mp.js +4 -4
- app-ng-runtime/locales/angular/global/en-ms.js +4 -4
- app-ng-runtime/locales/angular/global/en-mt.js +4 -4
- app-ng-runtime/locales/angular/global/en-mu.js +4 -4
- app-ng-runtime/locales/angular/global/en-mv.js +4 -4
- app-ng-runtime/locales/angular/global/en-mw.js +4 -4
- app-ng-runtime/locales/angular/global/en-my.js +4 -4
- app-ng-runtime/locales/angular/global/en-na.js +4 -4
- app-ng-runtime/locales/angular/global/en-nf.js +4 -4
- app-ng-runtime/locales/angular/global/en-ng.js +4 -4
- app-ng-runtime/locales/angular/global/en-nl.js +4 -4
- app-ng-runtime/locales/angular/global/en-nr.js +4 -4
- app-ng-runtime/locales/angular/global/en-nu.js +4 -4
- app-ng-runtime/locales/angular/global/en-nz.js +4 -4
- app-ng-runtime/locales/angular/global/en-pg.js +4 -4
- app-ng-runtime/locales/angular/global/en-ph.js +4 -4
- app-ng-runtime/locales/angular/global/en-pk.js +4 -4
- app-ng-runtime/locales/angular/global/en-pn.js +4 -4
- app-ng-runtime/locales/angular/global/en-pr.js +4 -4
- app-ng-runtime/locales/angular/global/en-pw.js +4 -4
- app-ng-runtime/locales/angular/global/en-rw.js +4 -4
- app-ng-runtime/locales/angular/global/en-sb.js +4 -4
- app-ng-runtime/locales/angular/global/en-sc.js +4 -4
- app-ng-runtime/locales/angular/global/en-sd.js +4 -4
- app-ng-runtime/locales/angular/global/en-se.js +4 -4
- app-ng-runtime/locales/angular/global/en-sg.js +4 -4
- app-ng-runtime/locales/angular/global/en-sh.js +4 -4
- app-ng-runtime/locales/angular/global/en-si.js +4 -4
- app-ng-runtime/locales/angular/global/en-sl.js +4 -4
- app-ng-runtime/locales/angular/global/en-ss.js +4 -4
- app-ng-runtime/locales/angular/global/en-sx.js +4 -4
- app-ng-runtime/locales/angular/global/en-sz.js +4 -4
- app-ng-runtime/locales/angular/global/en-tc.js +4 -4
- app-ng-runtime/locales/angular/global/en-tk.js +4 -4
- app-ng-runtime/locales/angular/global/en-to.js +4 -4
- app-ng-runtime/locales/angular/global/en-tt.js +4 -4
- app-ng-runtime/locales/angular/global/en-tv.js +4 -4
- app-ng-runtime/locales/angular/global/en-tz.js +4 -4
- app-ng-runtime/locales/angular/global/en-ug.js +4 -4
- app-ng-runtime/locales/angular/global/en-um.js +4 -4
- app-ng-runtime/locales/angular/global/en-vc.js +4 -4
- app-ng-runtime/locales/angular/global/en-vg.js +4 -4
- app-ng-runtime/locales/angular/global/en-vi.js +4 -4
- app-ng-runtime/locales/angular/global/en-vu.js +4 -4
- app-ng-runtime/locales/angular/global/en-ws.js +4 -4
- app-ng-runtime/locales/angular/global/en-za.js +4 -4
- app-ng-runtime/locales/angular/global/en-zm.js +4 -4
- app-ng-runtime/locales/angular/global/en-zw.js +4 -4
- app-ng-runtime/locales/angular/global/en.js +4 -4
- app-ng-runtime/locales/angular/global/eo.js +4 -4
- app-ng-runtime/locales/angular/global/es-419.js +4 -4
- app-ng-runtime/locales/angular/global/es-ar.js +4 -4
- app-ng-runtime/locales/angular/global/es-bo.js +4 -4
- app-ng-runtime/locales/angular/global/es-br.js +4 -4
- app-ng-runtime/locales/angular/global/es-bz.js +4 -4
- app-ng-runtime/locales/angular/global/es-cl.js +4 -4
- app-ng-runtime/locales/angular/global/es-co.js +4 -4
- app-ng-runtime/locales/angular/global/es-cr.js +4 -4
- app-ng-runtime/locales/angular/global/es-cu.js +4 -4
- app-ng-runtime/locales/angular/global/es-do.js +4 -4
- app-ng-runtime/locales/angular/global/es-ea.js +4 -4
- app-ng-runtime/locales/angular/global/es-ec.js +4 -4
- app-ng-runtime/locales/angular/global/es-gq.js +4 -4
- app-ng-runtime/locales/angular/global/es-gt.js +4 -4
- app-ng-runtime/locales/angular/global/es-hn.js +4 -4
- app-ng-runtime/locales/angular/global/es-ic.js +4 -4
- app-ng-runtime/locales/angular/global/es-mx.js +4 -4
- app-ng-runtime/locales/angular/global/es-ni.js +4 -4
- app-ng-runtime/locales/angular/global/es-pa.js +4 -4
- app-ng-runtime/locales/angular/global/es-pe.js +4 -4
- app-ng-runtime/locales/angular/global/es-ph.js +4 -4
- app-ng-runtime/locales/angular/global/es-pr.js +4 -4
- app-ng-runtime/locales/angular/global/es-py.js +4 -4
- app-ng-runtime/locales/angular/global/es-sv.js +4 -4
- app-ng-runtime/locales/angular/global/es-us.js +4 -4
- app-ng-runtime/locales/angular/global/es-uy.js +4 -4
- app-ng-runtime/locales/angular/global/es-ve.js +4 -4
- app-ng-runtime/locales/angular/global/es.js +4 -4
- app-ng-runtime/locales/angular/global/et.js +4 -4
- app-ng-runtime/locales/angular/global/eu.js +4 -4
- app-ng-runtime/locales/angular/global/ewo.js +4 -4
- app-ng-runtime/locales/angular/global/fa-af.js +4 -4
- app-ng-runtime/locales/angular/global/fa.js +4 -4
- app-ng-runtime/locales/angular/global/ff-adlm-bf.js +4 -4
- app-ng-runtime/locales/angular/global/ff-adlm-cm.js +4 -4
- app-ng-runtime/locales/angular/global/ff-adlm-gh.js +4 -4
- app-ng-runtime/locales/angular/global/ff-adlm-gm.js +4 -4
- app-ng-runtime/locales/angular/global/ff-adlm-gw.js +4 -4
- app-ng-runtime/locales/angular/global/ff-adlm-lr.js +4 -4
- app-ng-runtime/locales/angular/global/ff-adlm-mr.js +4 -4
- app-ng-runtime/locales/angular/global/ff-adlm-ne.js +4 -4
- app-ng-runtime/locales/angular/global/ff-adlm-ng.js +4 -4
- app-ng-runtime/locales/angular/global/ff-adlm-sl.js +4 -4
- app-ng-runtime/locales/angular/global/ff-adlm-sn.js +4 -4
- app-ng-runtime/locales/angular/global/ff-adlm.js +4 -4
- app-ng-runtime/locales/angular/global/ff-cm.js +58 -44
- app-ng-runtime/locales/angular/global/ff-gn.js +58 -44
- app-ng-runtime/locales/angular/global/ff-latn-bf.js +4 -4
- app-ng-runtime/locales/angular/global/ff-latn-cm.js +4 -4
- app-ng-runtime/locales/angular/global/ff-latn-gh.js +4 -4
- app-ng-runtime/locales/angular/global/ff-latn-gm.js +4 -4
- app-ng-runtime/locales/angular/global/ff-latn-gn.js +4 -4
- app-ng-runtime/locales/angular/global/ff-latn-gw.js +4 -4
- app-ng-runtime/locales/angular/global/ff-latn-lr.js +4 -4
- app-ng-runtime/locales/angular/global/ff-latn-mr.js +4 -4
- app-ng-runtime/locales/angular/global/ff-latn-ne.js +4 -4
- app-ng-runtime/locales/angular/global/ff-latn-ng.js +4 -4
- app-ng-runtime/locales/angular/global/ff-latn-sl.js +4 -4
- app-ng-runtime/locales/angular/global/ff-latn.js +4 -4
- app-ng-runtime/locales/angular/global/ff-mr.js +58 -44
- app-ng-runtime/locales/angular/global/ff.js +4 -4
- app-ng-runtime/locales/angular/global/fi.js +4 -4
- app-ng-runtime/locales/angular/global/fil.js +4 -4
- app-ng-runtime/locales/angular/global/fo-dk.js +4 -4
- app-ng-runtime/locales/angular/global/fo.js +4 -4
- app-ng-runtime/locales/angular/global/fr-be.js +4 -4
- app-ng-runtime/locales/angular/global/fr-bf.js +4 -4
- app-ng-runtime/locales/angular/global/fr-bi.js +4 -4
- app-ng-runtime/locales/angular/global/fr-bj.js +4 -4
- app-ng-runtime/locales/angular/global/fr-bl.js +4 -4
- app-ng-runtime/locales/angular/global/fr-ca.js +4 -4
- app-ng-runtime/locales/angular/global/fr-cd.js +4 -4
- app-ng-runtime/locales/angular/global/fr-cf.js +4 -4
- app-ng-runtime/locales/angular/global/fr-cg.js +4 -4
- app-ng-runtime/locales/angular/global/fr-ch.js +4 -4
- app-ng-runtime/locales/angular/global/fr-ci.js +4 -4
- app-ng-runtime/locales/angular/global/fr-cm.js +4 -4
- app-ng-runtime/locales/angular/global/fr-dj.js +4 -4
- app-ng-runtime/locales/angular/global/fr-dz.js +4 -4
- app-ng-runtime/locales/angular/global/fr-ga.js +4 -4
- app-ng-runtime/locales/angular/global/fr-gf.js +4 -4
- app-ng-runtime/locales/angular/global/fr-gn.js +4 -4
- app-ng-runtime/locales/angular/global/fr-gp.js +4 -4
- app-ng-runtime/locales/angular/global/fr-gq.js +4 -4
- app-ng-runtime/locales/angular/global/fr-ht.js +4 -4
- app-ng-runtime/locales/angular/global/fr-km.js +4 -4
- app-ng-runtime/locales/angular/global/fr-lu.js +4 -4
- app-ng-runtime/locales/angular/global/fr-ma.js +4 -4
- app-ng-runtime/locales/angular/global/fr-mc.js +4 -4
- app-ng-runtime/locales/angular/global/fr-mf.js +4 -4
- app-ng-runtime/locales/angular/global/fr-mg.js +4 -4
- app-ng-runtime/locales/angular/global/fr-ml.js +4 -4
- app-ng-runtime/locales/angular/global/fr-mq.js +4 -4
- app-ng-runtime/locales/angular/global/fr-mr.js +4 -4
- app-ng-runtime/locales/angular/global/fr-mu.js +4 -4
- app-ng-runtime/locales/angular/global/fr-nc.js +4 -4
- app-ng-runtime/locales/angular/global/fr-ne.js +4 -4
- app-ng-runtime/locales/angular/global/fr-pf.js +4 -4
- app-ng-runtime/locales/angular/global/fr-pm.js +4 -4
- app-ng-runtime/locales/angular/global/fr-re.js +4 -4
- app-ng-runtime/locales/angular/global/fr-rw.js +4 -4
- app-ng-runtime/locales/angular/global/fr-sc.js +4 -4
- app-ng-runtime/locales/angular/global/fr-sn.js +4 -4
- app-ng-runtime/locales/angular/global/fr-sy.js +4 -4
- app-ng-runtime/locales/angular/global/fr-td.js +4 -4
- app-ng-runtime/locales/angular/global/fr-tg.js +4 -4
- app-ng-runtime/locales/angular/global/fr-tn.js +4 -4
- app-ng-runtime/locales/angular/global/fr-vu.js +4 -4
- app-ng-runtime/locales/angular/global/fr-wf.js +4 -4
- app-ng-runtime/locales/angular/global/fr-yt.js +4 -4
- app-ng-runtime/locales/angular/global/fr.js +4 -4
- app-ng-runtime/locales/angular/global/fur.js +4 -4
- app-ng-runtime/locales/angular/global/fy.js +4 -4
- app-ng-runtime/locales/angular/global/ga-gb.js +4 -4
- app-ng-runtime/locales/angular/global/ga.js +4 -4
- app-ng-runtime/locales/angular/global/gd.js +4 -4
- app-ng-runtime/locales/angular/global/gl.js +4 -4
- app-ng-runtime/locales/angular/global/gsw-fr.js +4 -4
- app-ng-runtime/locales/angular/global/gsw-li.js +4 -4
- app-ng-runtime/locales/angular/global/gsw.js +4 -4
- app-ng-runtime/locales/angular/global/gu.js +4 -4
- app-ng-runtime/locales/angular/global/guz.js +4 -4
- app-ng-runtime/locales/angular/global/gv.js +4 -4
- app-ng-runtime/locales/angular/global/ha-gh.js +4 -4
- app-ng-runtime/locales/angular/global/ha-ne.js +4 -4
- app-ng-runtime/locales/angular/global/ha.js +4 -4
- app-ng-runtime/locales/angular/global/haw.js +4 -4
- app-ng-runtime/locales/angular/global/he.js +4 -4
- app-ng-runtime/locales/angular/global/hi-latn.js +4 -4
- app-ng-runtime/locales/angular/global/hi.js +4 -4
- app-ng-runtime/locales/angular/global/hr-ba.js +4 -4
- app-ng-runtime/locales/angular/global/hr.js +4 -4
- app-ng-runtime/locales/angular/global/hsb.js +4 -4
- app-ng-runtime/locales/angular/global/hu.js +4 -4
- app-ng-runtime/locales/angular/global/hy.js +4 -4
- app-ng-runtime/locales/angular/global/ia.js +4 -4
- app-ng-runtime/locales/angular/global/id.js +4 -4
- app-ng-runtime/locales/angular/global/ig.js +4 -4
- app-ng-runtime/locales/angular/global/ii.js +4 -4
- app-ng-runtime/locales/angular/global/is.js +4 -4
- app-ng-runtime/locales/angular/global/it-ch.js +4 -4
- app-ng-runtime/locales/angular/global/it-sm.js +4 -4
- app-ng-runtime/locales/angular/global/it-va.js +4 -4
- app-ng-runtime/locales/angular/global/it.js +4 -4
- app-ng-runtime/locales/angular/global/ja.js +4 -4
- app-ng-runtime/locales/angular/global/jgo.js +4 -4
- app-ng-runtime/locales/angular/global/jmc.js +4 -4
- app-ng-runtime/locales/angular/global/jv.js +4 -4
- app-ng-runtime/locales/angular/global/ka.js +4 -4
- app-ng-runtime/locales/angular/global/kab.js +4 -4
- app-ng-runtime/locales/angular/global/kam.js +4 -4
- app-ng-runtime/locales/angular/global/kde.js +4 -4
- app-ng-runtime/locales/angular/global/kea.js +4 -4
- app-ng-runtime/locales/angular/global/kgp.js +4 -4
- app-ng-runtime/locales/angular/global/khq.js +4 -4
- app-ng-runtime/locales/angular/global/ki.js +4 -4
- app-ng-runtime/locales/angular/global/kk.js +4 -4
- app-ng-runtime/locales/angular/global/kkj.js +4 -4
- app-ng-runtime/locales/angular/global/kl.js +4 -4
- app-ng-runtime/locales/angular/global/kln.js +4 -4
- app-ng-runtime/locales/angular/global/km.js +4 -4
- app-ng-runtime/locales/angular/global/kn.js +4 -4
- app-ng-runtime/locales/angular/global/ko-kp.js +4 -4
- app-ng-runtime/locales/angular/global/ko.js +4 -4
- app-ng-runtime/locales/angular/global/kok.js +4 -4
- app-ng-runtime/locales/angular/global/ks-arab.js +4 -4
- app-ng-runtime/locales/angular/global/ks-deva.js +4 -4
- app-ng-runtime/locales/angular/global/ks.js +4 -4
- app-ng-runtime/locales/angular/global/ksb.js +4 -4
- app-ng-runtime/locales/angular/global/ksf.js +4 -4
- app-ng-runtime/locales/angular/global/ksh.js +4 -4
- app-ng-runtime/locales/angular/global/ku.js +4 -4
- app-ng-runtime/locales/angular/global/kw.js +4 -4
- app-ng-runtime/locales/angular/global/ky.js +4 -4
- app-ng-runtime/locales/angular/global/lag.js +4 -4
- app-ng-runtime/locales/angular/global/lb.js +4 -4
- app-ng-runtime/locales/angular/global/lg.js +4 -4
- app-ng-runtime/locales/angular/global/lkt.js +4 -4
- app-ng-runtime/locales/angular/global/ln-ao.js +4 -4
- app-ng-runtime/locales/angular/global/ln-cf.js +4 -4
- app-ng-runtime/locales/angular/global/ln-cg.js +4 -4
- app-ng-runtime/locales/angular/global/ln.js +4 -4
- app-ng-runtime/locales/angular/global/lo.js +4 -4
- app-ng-runtime/locales/angular/global/lrc-iq.js +4 -4
- app-ng-runtime/locales/angular/global/lrc.js +4 -4
- app-ng-runtime/locales/angular/global/lt.js +4 -4
- app-ng-runtime/locales/angular/global/lu.js +4 -4
- app-ng-runtime/locales/angular/global/luo.js +4 -4
- app-ng-runtime/locales/angular/global/luy.js +4 -4
- app-ng-runtime/locales/angular/global/lv.js +4 -4
- app-ng-runtime/locales/angular/global/mai.js +4 -4
- app-ng-runtime/locales/angular/global/mas-tz.js +4 -4
- app-ng-runtime/locales/angular/global/mas.js +4 -4
- app-ng-runtime/locales/angular/global/mer.js +4 -4
- app-ng-runtime/locales/angular/global/mfe.js +4 -4
- app-ng-runtime/locales/angular/global/mg.js +4 -4
- app-ng-runtime/locales/angular/global/mgh.js +4 -4
- app-ng-runtime/locales/angular/global/mgo.js +4 -4
- app-ng-runtime/locales/angular/global/mi.js +4 -4
- app-ng-runtime/locales/angular/global/mk.js +4 -4
- app-ng-runtime/locales/angular/global/ml.js +4 -4
- app-ng-runtime/locales/angular/global/mn.js +4 -4
- app-ng-runtime/locales/angular/global/mni-beng.js +4 -4
- app-ng-runtime/locales/angular/global/mni.js +4 -4
- app-ng-runtime/locales/angular/global/mr.js +4 -4
- app-ng-runtime/locales/angular/global/ms-bn.js +4 -4
- app-ng-runtime/locales/angular/global/ms-id.js +4 -4
- app-ng-runtime/locales/angular/global/ms-sg.js +4 -4
- app-ng-runtime/locales/angular/global/ms.js +4 -4
- app-ng-runtime/locales/angular/global/mt.js +4 -4
- app-ng-runtime/locales/angular/global/mua.js +4 -4
- app-ng-runtime/locales/angular/global/my.js +4 -4
- app-ng-runtime/locales/angular/global/mzn.js +4 -4
- app-ng-runtime/locales/angular/global/naq.js +4 -4
- app-ng-runtime/locales/angular/global/nb-sj.js +4 -4
- app-ng-runtime/locales/angular/global/nb.js +4 -4
- app-ng-runtime/locales/angular/global/nd.js +4 -4
- app-ng-runtime/locales/angular/global/nds-nl.js +4 -4
- app-ng-runtime/locales/angular/global/nds.js +4 -4
- app-ng-runtime/locales/angular/global/ne-in.js +4 -4
- app-ng-runtime/locales/angular/global/ne.js +4 -4
- app-ng-runtime/locales/angular/global/nl-aw.js +4 -4
- app-ng-runtime/locales/angular/global/nl-be.js +4 -4
- app-ng-runtime/locales/angular/global/nl-bq.js +4 -4
- app-ng-runtime/locales/angular/global/nl-cw.js +4 -4
- app-ng-runtime/locales/angular/global/nl-sr.js +4 -4
- app-ng-runtime/locales/angular/global/nl-sx.js +4 -4
- app-ng-runtime/locales/angular/global/nl.js +4 -4
- app-ng-runtime/locales/angular/global/nmg.js +4 -4
- app-ng-runtime/locales/angular/global/nn.js +4 -4
- app-ng-runtime/locales/angular/global/nnh.js +4 -4
- app-ng-runtime/locales/angular/global/no.js +4 -4
- app-ng-runtime/locales/angular/global/nus.js +4 -4
- app-ng-runtime/locales/angular/global/nyn.js +4 -4
- app-ng-runtime/locales/angular/global/om-ke.js +4 -4
- app-ng-runtime/locales/angular/global/om.js +4 -4
- app-ng-runtime/locales/angular/global/or.js +4 -4
- app-ng-runtime/locales/angular/global/os-ru.js +4 -4
- app-ng-runtime/locales/angular/global/os.js +4 -4
- app-ng-runtime/locales/angular/global/pa-arab.js +4 -4
- app-ng-runtime/locales/angular/global/pa-guru.js +4 -4
- app-ng-runtime/locales/angular/global/pa.js +4 -4
- app-ng-runtime/locales/angular/global/pcm.js +4 -4
- app-ng-runtime/locales/angular/global/pl.js +4 -4
- app-ng-runtime/locales/angular/global/ps-pk.js +4 -4
- app-ng-runtime/locales/angular/global/ps.js +4 -4
- app-ng-runtime/locales/angular/global/pt-ao.js +4 -4
- app-ng-runtime/locales/angular/global/pt-ch.js +4 -4
- app-ng-runtime/locales/angular/global/pt-cv.js +4 -4
- app-ng-runtime/locales/angular/global/pt-gq.js +4 -4
- app-ng-runtime/locales/angular/global/pt-gw.js +4 -4
- app-ng-runtime/locales/angular/global/pt-lu.js +4 -4
- app-ng-runtime/locales/angular/global/pt-mo.js +4 -4
- app-ng-runtime/locales/angular/global/pt-mz.js +4 -4
- app-ng-runtime/locales/angular/global/pt-pt.js +4 -4
- app-ng-runtime/locales/angular/global/pt-st.js +4 -4
- app-ng-runtime/locales/angular/global/pt-tl.js +4 -4
- app-ng-runtime/locales/angular/global/pt.js +4 -4
- app-ng-runtime/locales/angular/global/qu-bo.js +4 -4
- app-ng-runtime/locales/angular/global/qu-ec.js +4 -4
- app-ng-runtime/locales/angular/global/qu.js +4 -4
- app-ng-runtime/locales/angular/global/rm.js +4 -4
- app-ng-runtime/locales/angular/global/rn.js +4 -4
- app-ng-runtime/locales/angular/global/ro-md.js +4 -4
- app-ng-runtime/locales/angular/global/ro.js +4 -4
- app-ng-runtime/locales/angular/global/rof.js +4 -4
- app-ng-runtime/locales/angular/global/ru-by.js +4 -4
- app-ng-runtime/locales/angular/global/ru-kg.js +4 -4
- app-ng-runtime/locales/angular/global/ru-kz.js +4 -4
- app-ng-runtime/locales/angular/global/ru-md.js +4 -4
- app-ng-runtime/locales/angular/global/ru-ua.js +4 -4
- app-ng-runtime/locales/angular/global/ru.js +4 -4
- app-ng-runtime/locales/angular/global/rw.js +4 -4
- app-ng-runtime/locales/angular/global/rwk.js +4 -4
- app-ng-runtime/locales/angular/global/sa.js +4 -4
- app-ng-runtime/locales/angular/global/sah.js +4 -4
- app-ng-runtime/locales/angular/global/saq.js +4 -4
- app-ng-runtime/locales/angular/global/sat-olck.js +4 -4
- app-ng-runtime/locales/angular/global/sat.js +4 -4
- app-ng-runtime/locales/angular/global/sbp.js +4 -4
- app-ng-runtime/locales/angular/global/sc.js +4 -4
- app-ng-runtime/locales/angular/global/sd-arab.js +4 -4
- app-ng-runtime/locales/angular/global/sd-deva.js +4 -4
- app-ng-runtime/locales/angular/global/sd.js +4 -4
- app-ng-runtime/locales/angular/global/se-fi.js +4 -4
- app-ng-runtime/locales/angular/global/se-se.js +4 -4
- app-ng-runtime/locales/angular/global/se.js +4 -4
- app-ng-runtime/locales/angular/global/seh.js +4 -4
- app-ng-runtime/locales/angular/global/ses.js +4 -4
- app-ng-runtime/locales/angular/global/sg.js +4 -4
- app-ng-runtime/locales/angular/global/shi-latn.js +4 -4
- app-ng-runtime/locales/angular/global/shi-tfng.js +4 -4
- app-ng-runtime/locales/angular/global/shi.js +4 -4
- app-ng-runtime/locales/angular/global/si.js +4 -4
- app-ng-runtime/locales/angular/global/sk.js +4 -4
- app-ng-runtime/locales/angular/global/sl.js +4 -4
- app-ng-runtime/locales/angular/global/smn.js +4 -4
- app-ng-runtime/locales/angular/global/sn.js +4 -4
- app-ng-runtime/locales/angular/global/so-dj.js +4 -4
- app-ng-runtime/locales/angular/global/so-et.js +4 -4
- app-ng-runtime/locales/angular/global/so-ke.js +4 -4
- app-ng-runtime/locales/angular/global/so.js +4 -4
- app-ng-runtime/locales/angular/global/sq-mk.js +4 -4
- app-ng-runtime/locales/angular/global/sq-xk.js +4 -4
- app-ng-runtime/locales/angular/global/sq.js +4 -4
- app-ng-runtime/locales/angular/global/sr-cyrl-ba.js +4 -4
- app-ng-runtime/locales/angular/global/sr-cyrl-me.js +4 -4
- app-ng-runtime/locales/angular/global/sr-cyrl-xk.js +4 -4
- app-ng-runtime/locales/angular/global/sr-cyrl.js +4 -4
- app-ng-runtime/locales/angular/global/sr-latn-ba.js +4 -4
- app-ng-runtime/locales/angular/global/sr-latn-me.js +4 -4
- app-ng-runtime/locales/angular/global/sr-latn-xk.js +4 -4
- app-ng-runtime/locales/angular/global/sr-latn.js +4 -4
- app-ng-runtime/locales/angular/global/sr.js +4 -4
- app-ng-runtime/locales/angular/global/su-latn.js +4 -4
- app-ng-runtime/locales/angular/global/su.js +4 -4
- app-ng-runtime/locales/angular/global/sv-ax.js +4 -4
- app-ng-runtime/locales/angular/global/sv-fi.js +4 -4
- app-ng-runtime/locales/angular/global/sv.js +4 -4
- app-ng-runtime/locales/angular/global/sw-cd.js +4 -4
- app-ng-runtime/locales/angular/global/sw-ke.js +4 -4
- app-ng-runtime/locales/angular/global/sw-ug.js +4 -4
- app-ng-runtime/locales/angular/global/sw.js +4 -4
- app-ng-runtime/locales/angular/global/ta-lk.js +4 -4
- app-ng-runtime/locales/angular/global/ta-my.js +4 -4
- app-ng-runtime/locales/angular/global/ta-sg.js +4 -4
- app-ng-runtime/locales/angular/global/ta.js +4 -4
- app-ng-runtime/locales/angular/global/te.js +4 -4
- app-ng-runtime/locales/angular/global/teo-ke.js +4 -4
- app-ng-runtime/locales/angular/global/teo.js +4 -4
- app-ng-runtime/locales/angular/global/tg.js +4 -4
- app-ng-runtime/locales/angular/global/th.js +4 -4
- app-ng-runtime/locales/angular/global/ti-er.js +4 -4
- app-ng-runtime/locales/angular/global/ti.js +4 -4
- app-ng-runtime/locales/angular/global/tk.js +4 -4
- app-ng-runtime/locales/angular/global/to.js +4 -4
- app-ng-runtime/locales/angular/global/tr-cy.js +4 -4
- app-ng-runtime/locales/angular/global/tr.js +4 -4
- app-ng-runtime/locales/angular/global/tt.js +4 -4
- app-ng-runtime/locales/angular/global/twq.js +4 -4
- app-ng-runtime/locales/angular/global/tzm.js +4 -4
- app-ng-runtime/locales/angular/global/ug.js +4 -4
- app-ng-runtime/locales/angular/global/uk.js +4 -4
- app-ng-runtime/locales/angular/global/und.js +4 -4
- app-ng-runtime/locales/angular/global/ur-in.js +4 -4
- app-ng-runtime/locales/angular/global/ur.js +4 -4
- app-ng-runtime/locales/angular/global/uz-arab.js +4 -4
- app-ng-runtime/locales/angular/global/uz-cyrl.js +4 -4
- app-ng-runtime/locales/angular/global/uz-latn.js +4 -4
- app-ng-runtime/locales/angular/global/uz.js +4 -4
- app-ng-runtime/locales/angular/global/vai-latn.js +4 -4
- app-ng-runtime/locales/angular/global/vai-vaii.js +4 -4
- app-ng-runtime/locales/angular/global/vai.js +4 -4
- app-ng-runtime/locales/angular/global/vi.js +4 -4
- app-ng-runtime/locales/angular/global/vun.js +4 -4
- app-ng-runtime/locales/angular/global/wae.js +4 -4
- app-ng-runtime/locales/angular/global/wo.js +4 -4
- app-ng-runtime/locales/angular/global/xh.js +4 -4
- app-ng-runtime/locales/angular/global/xog.js +4 -4
- app-ng-runtime/locales/angular/global/yav.js +4 -4
- app-ng-runtime/locales/angular/global/yi.js +4 -4
- app-ng-runtime/locales/angular/global/yo-bj.js +4 -4
- app-ng-runtime/locales/angular/global/yo.js +4 -4
- app-ng-runtime/locales/angular/global/yrl-co.js +4 -4
- app-ng-runtime/locales/angular/global/yrl-ve.js +4 -4
- app-ng-runtime/locales/angular/global/yrl.js +4 -4
- app-ng-runtime/locales/angular/global/yue-hans.js +4 -4
- app-ng-runtime/locales/angular/global/yue-hant.js +4 -4
- app-ng-runtime/locales/angular/global/yue.js +4 -4
- app-ng-runtime/locales/angular/global/zgh.js +4 -4
- app-ng-runtime/locales/angular/global/zh-hans-hk.js +4 -4
- app-ng-runtime/locales/angular/global/zh-hans-mo.js +4 -4
- app-ng-runtime/locales/angular/global/zh-hans-sg.js +4 -4
- app-ng-runtime/locales/angular/global/zh-hans.js +4 -4
- app-ng-runtime/locales/angular/global/zh-hant-hk.js +4 -4
- app-ng-runtime/locales/angular/global/zh-hant-mo.js +4 -4
- app-ng-runtime/locales/angular/global/zh-hant.js +4 -4
- app-ng-runtime/locales/angular/global/zh.js +4 -4
- app-ng-runtime/locales/angular/global/zu.js +4 -4
- app-ng-runtime/mobile/components/basic/default/.npmignore +2 -0
- app-ng-runtime/mobile/components/basic/default/bundles/index.umd.js +148 -143
- app-ng-runtime/mobile/components/basic/default/esm2022/anchor/anchor.directive.mjs +8 -7
- app-ng-runtime/mobile/components/basic/default/esm2022/app-update/app-update.component.mjs +7 -6
- app-ng-runtime/mobile/components/basic/default/esm2022/basic.module.mjs +2 -2
- app-ng-runtime/mobile/components/basic/default/esm2022/file-browser/file-browser.component.mjs +47 -43
- app-ng-runtime/mobile/components/basic/default/esm2022/file-browser/file-selector.service.mjs +7 -5
- app-ng-runtime/mobile/components/basic/default/esm2022/image-cache/image-cache.directive.mjs +6 -5
- app-ng-runtime/mobile/components/basic/default/esm2022/network-info-toaster/network-info-toaster.component.mjs +49 -47
- app-ng-runtime/mobile/components/basic/default/esm2022/process-manager/process-management.service.mjs +2 -2
- app-ng-runtime/mobile/components/basic/default/esm2022/process-manager/process-manager.component.mjs +31 -32
- app-ng-runtime/mobile/components/basic/default/fesm2022/index.mjs +146 -140
- app-ng-runtime/mobile/components/basic/default/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/basic/default/network-info-toaster/network-info-toaster.component.d.ts +2 -2
- app-ng-runtime/mobile/components/basic/search/.npmignore +2 -0
- app-ng-runtime/mobile/components/basic/search/bundles/index.umd.js +3 -3
- app-ng-runtime/mobile/components/basic/search/esm2022/search.directive.mjs +3 -3
- app-ng-runtime/mobile/components/basic/search/esm2022/search.module.mjs +2 -2
- app-ng-runtime/mobile/components/basic/search/fesm2022/index.mjs +3 -3
- app-ng-runtime/mobile/components/basic/search/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/containers/segmented-control/.npmignore +2 -0
- app-ng-runtime/mobile/components/containers/segmented-control/bundles/index.umd.js +42 -30
- app-ng-runtime/mobile/components/containers/segmented-control/esm2022/segment-content/segment-content.component.mjs +14 -8
- app-ng-runtime/mobile/components/containers/segmented-control/esm2022/segmented-control.component.mjs +28 -21
- app-ng-runtime/mobile/components/containers/segmented-control/esm2022/segmented-control.module.mjs +2 -2
- app-ng-runtime/mobile/components/containers/segmented-control/fesm2022/index.mjs +41 -28
- app-ng-runtime/mobile/components/containers/segmented-control/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/containers/segmented-control/segment-content/segment-content.component.d.ts +2 -2
- app-ng-runtime/mobile/components/containers/segmented-control/segmented-control.component.d.ts +2 -2
- app-ng-runtime/mobile/components/data/media-list/.npmignore +2 -0
- app-ng-runtime/mobile/components/data/media-list/bundles/index.umd.js +53 -48
- app-ng-runtime/mobile/components/data/media-list/esm2022/media-list-item/media-list-item.directive.mjs +2 -2
- app-ng-runtime/mobile/components/data/media-list/esm2022/media-list.component.mjs +48 -42
- app-ng-runtime/mobile/components/data/media-list/esm2022/media-list.module.mjs +2 -2
- app-ng-runtime/mobile/components/data/media-list/fesm2022/index.mjs +50 -44
- app-ng-runtime/mobile/components/data/media-list/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/data/media-list/media-list.component.d.ts +2 -2
- app-ng-runtime/mobile/components/device/barcode-scanner/.npmignore +2 -0
- app-ng-runtime/mobile/components/device/barcode-scanner/barcode-scanner.component.d.ts +2 -2
- app-ng-runtime/mobile/components/device/barcode-scanner/bundles/index.umd.js +14 -8
- app-ng-runtime/mobile/components/device/barcode-scanner/esm2022/barcode-scanner.component.mjs +15 -9
- app-ng-runtime/mobile/components/device/barcode-scanner/esm2022/barcode-scanner.module.mjs +2 -2
- app-ng-runtime/mobile/components/device/barcode-scanner/fesm2022/index.mjs +16 -10
- app-ng-runtime/mobile/components/device/barcode-scanner/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/device/camera/.npmignore +2 -0
- app-ng-runtime/mobile/components/device/camera/bundles/index.umd.js +15 -9
- app-ng-runtime/mobile/components/device/camera/camera.component.d.ts +2 -2
- app-ng-runtime/mobile/components/device/camera/esm2022/camera.component.mjs +16 -10
- app-ng-runtime/mobile/components/device/camera/esm2022/camera.module.mjs +2 -2
- app-ng-runtime/mobile/components/device/camera/fesm2022/index.mjs +17 -11
- app-ng-runtime/mobile/components/device/camera/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/input/file-upload/.npmignore +2 -0
- app-ng-runtime/mobile/components/input/file-upload/bundles/index.umd.js +3 -3
- app-ng-runtime/mobile/components/input/file-upload/esm2022/file-upload.directive.mjs +3 -3
- app-ng-runtime/mobile/components/input/file-upload/esm2022/file-upload.module.mjs +2 -2
- app-ng-runtime/mobile/components/input/file-upload/fesm2022/index.mjs +3 -3
- app-ng-runtime/mobile/components/input/file-upload/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/page/default/.npmignore +2 -0
- app-ng-runtime/mobile/components/page/default/bundles/index.umd.js +11 -10
- app-ng-runtime/mobile/components/page/default/esm2022/page-content-loader/page-content-loader.component.mjs +4 -3
- app-ng-runtime/mobile/components/page/default/esm2022/page.directive.mjs +5 -4
- app-ng-runtime/mobile/components/page/default/esm2022/page.module.mjs +2 -2
- app-ng-runtime/mobile/components/page/default/fesm2022/index.mjs +8 -6
- app-ng-runtime/mobile/components/page/default/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/page/left-panel/.npmignore +2 -0
- app-ng-runtime/mobile/components/page/left-panel/bundles/index.umd.js +3 -3
- app-ng-runtime/mobile/components/page/left-panel/esm2022/left-panel.directive.mjs +3 -3
- app-ng-runtime/mobile/components/page/left-panel/esm2022/left-panel.module.mjs +2 -2
- app-ng-runtime/mobile/components/page/left-panel/fesm2022/index.mjs +3 -3
- app-ng-runtime/mobile/components/page/left-panel/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/page/mobile-navbar/.npmignore +2 -0
- app-ng-runtime/mobile/components/page/mobile-navbar/bundles/index.umd.js +40 -35
- app-ng-runtime/mobile/components/page/mobile-navbar/esm2022/mobile-navbar.component.mjs +41 -36
- app-ng-runtime/mobile/components/page/mobile-navbar/esm2022/mobile-navbar.module.mjs +2 -2
- app-ng-runtime/mobile/components/page/mobile-navbar/fesm2022/index.mjs +41 -36
- app-ng-runtime/mobile/components/page/mobile-navbar/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/page/mobile-navbar/mobile-navbar.component.d.ts +2 -2
- app-ng-runtime/mobile/components/page/tab-bar/.npmignore +2 -0
- app-ng-runtime/mobile/components/page/tab-bar/bundles/index.umd.js +52 -46
- app-ng-runtime/mobile/components/page/tab-bar/esm2022/tab-bar.module.mjs +2 -2
- app-ng-runtime/mobile/components/page/tab-bar/esm2022/tabbar.component.mjs +50 -43
- app-ng-runtime/mobile/components/page/tab-bar/fesm2022/index.mjs +51 -44
- app-ng-runtime/mobile/components/page/tab-bar/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/page/tab-bar/tabbar.component.d.ts +2 -2
- app-ng-runtime/mobile/core/.npmignore +2 -0
- app-ng-runtime/mobile/core/bundles/index.umd.js +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 +267 -251
- app-ng-runtime/runtime/base/components/app-component/app.component.d.ts +3 -1
- app-ng-runtime/runtime/base/components/base-custom-widget.component.d.ts +3 -3
- app-ng-runtime/runtime/base/directives/accessroles.directive.d.ts +4 -3
- app-ng-runtime/runtime/base/esm2022/components/app-component/app.component.mjs +34 -30
- app-ng-runtime/runtime/base/esm2022/components/app-spinner.component.mjs +9 -8
- app-ng-runtime/runtime/base/esm2022/components/base-custom-widget.component.mjs +9 -9
- app-ng-runtime/runtime/base/esm2022/components/base-layout.component.mjs +5 -4
- app-ng-runtime/runtime/base/esm2022/components/base-page.component.mjs +16 -15
- app-ng-runtime/runtime/base/esm2022/components/base-partial.component.mjs +15 -14
- app-ng-runtime/runtime/base/esm2022/components/base-prefab.component.mjs +17 -16
- app-ng-runtime/runtime/base/esm2022/components/base-spa-page.component.mjs +16 -15
- app-ng-runtime/runtime/base/esm2022/components/custom-toaster.component.mjs +17 -15
- app-ng-runtime/runtime/base/esm2022/components/empty-component/empty-page.component.mjs +4 -3
- app-ng-runtime/runtime/base/esm2022/components/prefab-preview.component.mjs +4 -3
- app-ng-runtime/runtime/base/esm2022/directives/accessroles.directive.mjs +24 -16
- app-ng-runtime/runtime/base/esm2022/directives/prefab.directive.mjs +4 -4
- app-ng-runtime/runtime/base/esm2022/guards/auth.guard.mjs +3 -3
- app-ng-runtime/runtime/base/esm2022/guards/can-deactivate-page.guard.mjs +3 -3
- app-ng-runtime/runtime/base/esm2022/guards/page-not-found.guard.mjs +3 -3
- app-ng-runtime/runtime/base/esm2022/guards/role.guard.mjs +5 -4
- app-ng-runtime/runtime/base/esm2022/overrides/wm_dom_renderer.mjs +4 -4
- app-ng-runtime/runtime/base/esm2022/overrides/wm_shared_styles_host.mjs +5 -5
- app-ng-runtime/runtime/base/esm2022/resolves/app-extension.resolve.mjs +3 -3
- app-ng-runtime/runtime/base/esm2022/resolves/app-js.resolve.mjs +3 -3
- app-ng-runtime/runtime/base/esm2022/resolves/app-variables.resolve.mjs +3 -3
- app-ng-runtime/runtime/base/esm2022/resolves/i18n.resolve.mjs +3 -3
- app-ng-runtime/runtime/base/esm2022/resolves/metadata.resolve.mjs +3 -3
- app-ng-runtime/runtime/base/esm2022/resolves/security-config.resolve.mjs +3 -3
- app-ng-runtime/runtime/base/esm2022/runtime-base.module.mjs +3 -3
- app-ng-runtime/runtime/base/esm2022/services/app-defaults.service.mjs +3 -3
- app-ng-runtime/runtime/base/esm2022/services/app.manager.service.mjs +19 -16
- app-ng-runtime/runtime/base/esm2022/services/app.service.mjs +9 -8
- app-ng-runtime/runtime/base/esm2022/services/dynamic-component-ref-provider.service.mjs +5 -4
- app-ng-runtime/runtime/base/esm2022/services/http-interceptor.services.mjs +6 -5
- app-ng-runtime/runtime/base/esm2022/services/i18n.service.mjs +15 -13
- app-ng-runtime/runtime/base/esm2022/services/navigation.service.mjs +10 -9
- app-ng-runtime/runtime/base/esm2022/services/pipe-provider.service.mjs +3 -3
- app-ng-runtime/runtime/base/esm2022/services/pipe.service.mjs +3 -3
- app-ng-runtime/runtime/base/esm2022/services/prefab-manager.service.mjs +5 -4
- app-ng-runtime/runtime/base/esm2022/services/spinner.service.mjs +9 -8
- app-ng-runtime/runtime/base/esm2022/services/toaster.service.mjs +8 -7
- app-ng-runtime/runtime/base/esm2022/util/fragment-monitor.mjs +3 -3
- app-ng-runtime/runtime/base/esm2022/util/wm-route-reuse-strategy.mjs +7 -8
- app-ng-runtime/runtime/base/fesm2022/index.mjs +277 -260
- 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 -2
- 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
- app-ng-runtime/build-task/advanced/custom-widget-prop/custom-widget-prop.build.d.ts +0 -2
- app-ng-runtime/build-task/esm2022/advanced/custom-widget-prop/custom-widget-prop.build.mjs +0 -10
- app-ng-runtime/components/advanced/custom/custom-widget-container-prop/custom-widget-container-prop.directive.d.ts +0 -20
- app-ng-runtime/components/advanced/custom/esm2022/custom-widget-container-prop/custom-widget-container-prop.directive.mjs +0 -70
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('@angular/forms'), require('angular-imask'), require('@wm/components/base'), require('@wm/core'), require('rxjs')) :
|
|
3
|
-
typeof define === 'function' && define.amd ? define(['exports', '@angular/core', '@angular/common', '@angular/forms', 'angular-imask', '@wm/components/base', '@wm/core', 'rxjs'], factory) :
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.wm = global.wm || {}, global.wm.components = global.wm.components || {}, global.wm.components.input = {}), global.ng.core, global.ng.common, global.ng.forms, global.angularIMask, global.wm.components.base, global.wm.core, global.rxjs));
|
|
5
|
-
})(this, (function (exports, i0, i1, i2$1, i3, i2, i1$1, rxjs) { 'use strict';
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('@angular/forms'), require('angular-imask'), require('@wm/components/base'), require('@wm/core'), require('lodash-es'), require('rxjs'), require('tslib')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define(['exports', '@angular/core', '@angular/common', '@angular/forms', 'angular-imask', '@wm/components/base', '@wm/core', 'lodash-es', 'rxjs', 'tslib'], factory) :
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.wm = global.wm || {}, global.wm.components = global.wm.components || {}, global.wm.components.input = {}), global.ng.core, global.ng.common, global.ng.forms, global.angularIMask, global.wm.components.base, global.wm.core, global._, global.rxjs, global.tslib));
|
|
5
|
+
})(this, (function (exports, i0, i1, i2$1, i3, i2, i1$1, lodashEs, rxjs, tslib) { 'use strict';
|
|
6
6
|
|
|
7
7
|
function _interopNamespaceDefault(e) {
|
|
8
8
|
var n = Object.create(null);
|
|
@@ -53,39 +53,39 @@
|
|
|
53
53
|
};
|
|
54
54
|
|
|
55
55
|
const _c0$c = ["wmButton", ""];
|
|
56
|
-
const _c1$b =
|
|
56
|
+
const _c1$b = [[["", 8, "caret"]]];
|
|
57
|
+
const _c2$8 = [".caret"];
|
|
58
|
+
const _c3$3 = (a0, a1, a2) => ({ width: a0, height: a1, margin: a2 });
|
|
59
|
+
const _c4$2 = (a0, a1, a2, a3) => ({ width: a0, height: a1, margin: a2, fontSize: a3 });
|
|
57
60
|
function ButtonComponent_img_0_Template(rf, ctx) { if (rf & 1) {
|
|
58
61
|
i0__namespace.ɵɵelement(0, "img", 5);
|
|
59
62
|
i0__namespace.ɵɵpipe(1, "image");
|
|
60
63
|
} if (rf & 2) {
|
|
61
64
|
const ctx_r0 = i0__namespace.ɵɵnextContext();
|
|
62
|
-
i0__namespace.ɵɵproperty("src", i0__namespace.ɵɵpipeBind1(1, 2, ctx_r0.iconurl), i0__namespace.ɵɵsanitizeUrl)("ngStyle", i0__namespace.ɵɵpureFunction3(4,
|
|
65
|
+
i0__namespace.ɵɵproperty("src", i0__namespace.ɵɵpipeBind1(1, 2, ctx_r0.iconurl), i0__namespace.ɵɵsanitizeUrl)("ngStyle", i0__namespace.ɵɵpureFunction3(4, _c3$3, ctx_r0.iconwidth, ctx_r0.iconheight, ctx_r0.iconmargin));
|
|
63
66
|
} }
|
|
64
|
-
const _c2$5 = function (a0, a1, a2, a3) { return { width: a0, height: a1, margin: a2, fontSize: a3 }; };
|
|
65
67
|
function ButtonComponent_i_1_Template(rf, ctx) { if (rf & 1) {
|
|
66
68
|
i0__namespace.ɵɵelement(0, "i", 6);
|
|
67
69
|
} if (rf & 2) {
|
|
68
|
-
const
|
|
69
|
-
i0__namespace.ɵɵclassMapInterpolate1("app-icon ",
|
|
70
|
-
i0__namespace.ɵɵproperty("ngStyle", i0__namespace.ɵɵpureFunction4(4,
|
|
70
|
+
const ctx_r0 = i0__namespace.ɵɵnextContext();
|
|
71
|
+
i0__namespace.ɵɵclassMapInterpolate1("app-icon ", ctx_r0.iconclass, "");
|
|
72
|
+
i0__namespace.ɵɵproperty("ngStyle", i0__namespace.ɵɵpureFunction4(4, _c4$2, ctx_r0.iconwidth, ctx_r0.iconheight, ctx_r0.iconmargin, ctx_r0.iconwidth));
|
|
71
73
|
} }
|
|
72
74
|
function ButtonComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
73
75
|
i0__namespace.ɵɵelementStart(0, "span", 7);
|
|
74
76
|
i0__namespace.ɵɵtext(1);
|
|
75
77
|
i0__namespace.ɵɵelementEnd();
|
|
76
78
|
} if (rf & 2) {
|
|
77
|
-
const
|
|
78
|
-
i0__namespace.ɵɵadvance(
|
|
79
|
-
i0__namespace.ɵɵtextInterpolate2("",
|
|
79
|
+
const ctx_r0 = i0__namespace.ɵɵnextContext();
|
|
80
|
+
i0__namespace.ɵɵadvance();
|
|
81
|
+
i0__namespace.ɵɵtextInterpolate2("", ctx_r0.caption, " ", ctx_r0.appLocale.LABEL_ICON, "");
|
|
80
82
|
} }
|
|
81
83
|
function ButtonComponent_span_5_Template(rf, ctx) { if (rf & 1) {
|
|
82
84
|
i0__namespace.ɵɵelement(0, "span", 8);
|
|
83
85
|
} if (rf & 2) {
|
|
84
|
-
const
|
|
85
|
-
i0__namespace.ɵɵproperty("textContent",
|
|
86
|
+
const ctx_r0 = i0__namespace.ɵɵnextContext();
|
|
87
|
+
i0__namespace.ɵɵproperty("textContent", ctx_r0.badgevalue);
|
|
86
88
|
} }
|
|
87
|
-
const _c3$2 = [[["", 8, "caret"]]];
|
|
88
|
-
const _c4$2 = [".caret"];
|
|
89
89
|
const DEFAULT_CLS$6 = 'btn app-button';
|
|
90
90
|
const WIDGET_CONFIG$e = {
|
|
91
91
|
widgetType: 'wm-button',
|
|
@@ -94,42 +94,45 @@
|
|
|
94
94
|
};
|
|
95
95
|
class ButtonComponent extends i2.StylableComponent {
|
|
96
96
|
static { this.initializeProps = registerProps$e(); }
|
|
97
|
-
constructor(inj) {
|
|
98
|
-
super(inj, WIDGET_CONFIG$e);
|
|
97
|
+
constructor(inj, explicitContext) {
|
|
98
|
+
super(inj, WIDGET_CONFIG$e, explicitContext);
|
|
99
99
|
i2.styler(this.nativeElement, this);
|
|
100
100
|
}
|
|
101
|
-
static { this.ɵfac = function ButtonComponent_Factory(t) { return new (t || ButtonComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector)); }; }
|
|
101
|
+
static { this.ɵfac = function ButtonComponent_Factory(t) { return new (t || ButtonComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵdirectiveInject('EXPLICIT_CONTEXT', 8)); }; }
|
|
102
102
|
static { this.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: ButtonComponent, selectors: [["button", "wmButton", ""]], hostVars: 5, hostBindings: function ButtonComponent_HostBindings(rf, ctx) { if (rf & 2) {
|
|
103
103
|
i0__namespace.ɵɵhostProperty("type", ctx.type)("tabIndex", ctx.tabindex)("disabled", ctx.disabled);
|
|
104
104
|
i0__namespace.ɵɵattribute("accesskey", ctx.shortcutkey)("icon-position", ctx.iconposition);
|
|
105
105
|
} }, exportAs: ["wmButton"], features: [i0__namespace.ɵɵProvidersFeature([
|
|
106
106
|
i2.provideAsWidgetRef(ButtonComponent)
|
|
107
|
-
]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c0$c, ngContentSelectors:
|
|
108
|
-
i0__namespace.ɵɵprojectionDef(
|
|
109
|
-
i0__namespace.ɵɵtemplate(0, ButtonComponent_img_0_Template, 2, 8, "img", 0);
|
|
110
|
-
i0__namespace.ɵɵtemplate(1, ButtonComponent_i_1_Template, 1, 9, "i", 1);
|
|
111
|
-
i0__namespace.ɵɵtemplate(2, ButtonComponent_span_2_Template, 2, 2, "span", 2);
|
|
107
|
+
]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c0$c, ngContentSelectors: _c2$8, decls: 6, vars: 5, consts: [["data-identifier", "img", "alt", "button image", "class", "button-image-icon", 3, "src", "ngStyle", 4, "ngIf"], ["aria-hidden", "true", 3, "class", "ngStyle", 4, "ngIf"], ["class", "sr-only", 4, "ngIf"], [1, "btn-caption", 3, "innerHTML"], ["class", "badge pull-right", 3, "textContent", 4, "ngIf"], ["data-identifier", "img", "alt", "button image", 1, "button-image-icon", 3, "src", "ngStyle"], ["aria-hidden", "true", 3, "ngStyle"], [1, "sr-only"], [1, "badge", "pull-right", 3, "textContent"]], template: function ButtonComponent_Template(rf, ctx) { if (rf & 1) {
|
|
108
|
+
i0__namespace.ɵɵprojectionDef(_c1$b);
|
|
109
|
+
i0__namespace.ɵɵtemplate(0, ButtonComponent_img_0_Template, 2, 8, "img", 0)(1, ButtonComponent_i_1_Template, 1, 9, "i", 1)(2, ButtonComponent_span_2_Template, 2, 2, "span", 2);
|
|
112
110
|
i0__namespace.ɵɵelement(3, "span", 3);
|
|
113
111
|
i0__namespace.ɵɵprojection(4);
|
|
114
112
|
i0__namespace.ɵɵtemplate(5, ButtonComponent_span_5_Template, 1, 1, "span", 4);
|
|
115
113
|
} if (rf & 2) {
|
|
116
114
|
i0__namespace.ɵɵproperty("ngIf", ctx.iconurl);
|
|
117
|
-
i0__namespace.ɵɵadvance(
|
|
115
|
+
i0__namespace.ɵɵadvance();
|
|
118
116
|
i0__namespace.ɵɵproperty("ngIf", ctx.iconclass);
|
|
119
|
-
i0__namespace.ɵɵadvance(
|
|
117
|
+
i0__namespace.ɵɵadvance();
|
|
120
118
|
i0__namespace.ɵɵproperty("ngIf", ctx.iconclass);
|
|
121
|
-
i0__namespace.ɵɵadvance(
|
|
119
|
+
i0__namespace.ɵɵadvance();
|
|
122
120
|
i0__namespace.ɵɵproperty("innerHTML", ctx.caption, i0__namespace.ɵɵsanitizeHtml);
|
|
123
121
|
i0__namespace.ɵɵadvance(2);
|
|
124
122
|
i0__namespace.ɵɵproperty("ngIf", ctx.badgevalue);
|
|
125
123
|
} }, dependencies: [i1__namespace.NgIf, i1__namespace.NgStyle, i2__namespace.TextContentDirective, i2__namespace.ImagePipe], encapsulation: 2 }); }
|
|
126
124
|
}
|
|
127
|
-
(
|
|
125
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(ButtonComponent, [{
|
|
128
126
|
type: i0.Component,
|
|
129
127
|
args: [{ selector: 'button[wmButton]', providers: [
|
|
130
128
|
i2.provideAsWidgetRef(ButtonComponent)
|
|
131
129
|
], exportAs: 'wmButton', template: "<img data-identifier=\"img\" alt=\"button image\" class=\"button-image-icon\" [src]=\"iconurl | image\" *ngIf=\"iconurl\" [ngStyle]=\"{width:iconwidth, height:iconheight, margin:iconmargin}\"/>\n<i class=\"app-icon {{iconclass}}\" aria-hidden=\"true\" [ngStyle]=\"{width:iconwidth, height:iconheight, margin:iconmargin, fontSize:iconwidth}\" *ngIf=\"iconclass\"></i>\n<span class=\"sr-only\" *ngIf=\"iconclass\">{{caption}} {{appLocale.LABEL_ICON}}</span>\n<span class=\"btn-caption\" [innerHTML]=\"caption\"></span>\n<ng-content select=\".caret\"></ng-content>\n<span *ngIf=\"badgevalue\" class=\"badge pull-right\" [textContent]=\"badgevalue\"></span>\n" }]
|
|
132
|
-
}],
|
|
130
|
+
}], () => [{ type: i0__namespace.Injector }, { type: undefined, decorators: [{
|
|
131
|
+
type: i0.Inject,
|
|
132
|
+
args: ['EXPLICIT_CONTEXT']
|
|
133
|
+
}, {
|
|
134
|
+
type: i0.Optional
|
|
135
|
+
}] }], { type: [{
|
|
133
136
|
type: i0.HostBinding,
|
|
134
137
|
args: ['type']
|
|
135
138
|
}], tabindex: [{
|
|
@@ -145,6 +148,7 @@
|
|
|
145
148
|
type: i0.HostBinding,
|
|
146
149
|
args: ['attr.icon-position']
|
|
147
150
|
}] }); })();
|
|
151
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassDebugInfo(ButtonComponent, { className: "ButtonComponent", filePath: "button/button.component.ts", lineNumber: 22 }); })();
|
|
148
152
|
|
|
149
153
|
const registerProps$d = () => {
|
|
150
154
|
i2.register('wm-buttongroup', new Map([
|
|
@@ -167,11 +171,11 @@
|
|
|
167
171
|
this.$element.find('.app-button').removeClass('selected');
|
|
168
172
|
$target.addClass('selected');
|
|
169
173
|
}
|
|
170
|
-
constructor(inj) {
|
|
171
|
-
super(inj, WIDGET_CONFIG$d);
|
|
174
|
+
constructor(inj, explicitContext) {
|
|
175
|
+
super(inj, WIDGET_CONFIG$d, explicitContext);
|
|
172
176
|
i2.styler(this.nativeElement, this, i2.APPLY_STYLES_TYPE.CONTAINER);
|
|
173
177
|
}
|
|
174
|
-
static { this.ɵfac = function ButtonGroupDirective_Factory(t) { return new (t || ButtonGroupDirective)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector)); }; }
|
|
178
|
+
static { this.ɵfac = function ButtonGroupDirective_Factory(t) { return new (t || ButtonGroupDirective)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵdirectiveInject('EXPLICIT_CONTEXT', 8)); }; }
|
|
175
179
|
static { this.ɵdir = /*@__PURE__*/ i0__namespace.ɵɵdefineDirective({ type: ButtonGroupDirective, selectors: [["", "wmButtonGroup", ""]], hostVars: 2, hostBindings: function ButtonGroupDirective_HostBindings(rf, ctx) { if (rf & 1) {
|
|
176
180
|
i0__namespace.ɵɵlistener("click", function ButtonGroupDirective_click_HostBindingHandler($event) { return ctx.handleClick($event); });
|
|
177
181
|
} if (rf & 2) {
|
|
@@ -180,7 +184,7 @@
|
|
|
180
184
|
i2.provideAsWidgetRef(ButtonGroupDirective)
|
|
181
185
|
]), i0__namespace.ɵɵInheritDefinitionFeature] }); }
|
|
182
186
|
}
|
|
183
|
-
(
|
|
187
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(ButtonGroupDirective, [{
|
|
184
188
|
type: i0.Directive,
|
|
185
189
|
args: [{
|
|
186
190
|
selector: '[wmButtonGroup]',
|
|
@@ -188,7 +192,12 @@
|
|
|
188
192
|
i2.provideAsWidgetRef(ButtonGroupDirective)
|
|
189
193
|
]
|
|
190
194
|
}]
|
|
191
|
-
}],
|
|
195
|
+
}], () => [{ type: i0__namespace.Injector }, { type: undefined, decorators: [{
|
|
196
|
+
type: i0.Inject,
|
|
197
|
+
args: ['EXPLICIT_CONTEXT']
|
|
198
|
+
}, {
|
|
199
|
+
type: i0.Optional
|
|
200
|
+
}] }], { vertical: [{
|
|
192
201
|
type: i0.HostBinding,
|
|
193
202
|
args: ['class.btn-group-vertical']
|
|
194
203
|
}], handleClick: [{
|
|
@@ -197,8 +206,8 @@
|
|
|
197
206
|
}] }); })();
|
|
198
207
|
|
|
199
208
|
class BaseFormComponent extends i2.StylableComponent {
|
|
200
|
-
constructor(inj, config, initPromise) {
|
|
201
|
-
super(inj, config, initPromise);
|
|
209
|
+
constructor(inj, config, explicitContext, initPromise) {
|
|
210
|
+
super(inj, config, explicitContext, initPromise);
|
|
202
211
|
this.inj = inj;
|
|
203
212
|
this.binddatavalue = this.$element.attr('datavalue.bind');
|
|
204
213
|
}
|
|
@@ -227,11 +236,11 @@
|
|
|
227
236
|
}
|
|
228
237
|
binddatavalue = binddatavalue.replace(/\[\$i\]/g, '[0]');
|
|
229
238
|
// In case of list widget context will be the listItem.
|
|
230
|
-
if (
|
|
231
|
-
|
|
239
|
+
if (lodashEs.has(this.context, binddatavalue.split('.')[0])) {
|
|
240
|
+
lodashEs.set(this.context, binddatavalue, value);
|
|
232
241
|
}
|
|
233
242
|
else {
|
|
234
|
-
|
|
243
|
+
lodashEs.set(this.viewParent, binddatavalue, value);
|
|
235
244
|
}
|
|
236
245
|
}
|
|
237
246
|
invokeOnChange(value, $event) {
|
|
@@ -264,15 +273,20 @@
|
|
|
264
273
|
});
|
|
265
274
|
}
|
|
266
275
|
}
|
|
267
|
-
static { this.ɵfac = function BaseFormComponent_Factory(t) { return new (t || BaseFormComponent)(i0__namespace.ɵɵinject(i0__namespace.Injector), i0__namespace.ɵɵinject(i2.WidgetConfig), i0__namespace.ɵɵinject(Promise)); }; }
|
|
276
|
+
static { this.ɵfac = function BaseFormComponent_Factory(t) { return new (t || BaseFormComponent)(i0__namespace.ɵɵinject(i0__namespace.Injector), i0__namespace.ɵɵinject(i2.WidgetConfig), i0__namespace.ɵɵinject('EXPLICIT_CONTEXT', 8), i0__namespace.ɵɵinject(Promise)); }; }
|
|
268
277
|
static { this.ɵprov = /*@__PURE__*/ i0__namespace.ɵɵdefineInjectable({ token: BaseFormComponent, factory: BaseFormComponent.ɵfac }); }
|
|
269
278
|
}
|
|
270
|
-
(
|
|
279
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(BaseFormComponent, [{
|
|
271
280
|
type: i0.Injectable
|
|
272
|
-
}],
|
|
281
|
+
}], () => [{ type: i0__namespace.Injector }, { type: undefined, decorators: [{
|
|
273
282
|
type: i0.Inject,
|
|
274
283
|
args: [i2.WidgetConfig]
|
|
275
|
-
}] }, { type:
|
|
284
|
+
}] }, { type: undefined, decorators: [{
|
|
285
|
+
type: i0.Inject,
|
|
286
|
+
args: ['EXPLICIT_CONTEXT']
|
|
287
|
+
}, {
|
|
288
|
+
type: i0.Optional
|
|
289
|
+
}] }, { type: Promise }], null); })();
|
|
276
290
|
|
|
277
291
|
/*
|
|
278
292
|
* WMS-18269
|
|
@@ -352,10 +366,10 @@
|
|
|
352
366
|
validate(control) {
|
|
353
367
|
return this['show'] ? validateRequiredBind(this['required'])(control) : null;
|
|
354
368
|
}
|
|
355
|
-
static { this.ɵfac = /*@__PURE__*/
|
|
369
|
+
static { this.ɵfac = /*@__PURE__*/ (() => { let ɵBaseFormCustomComponent_BaseFactory; return function BaseFormCustomComponent_Factory(t) { return (ɵBaseFormCustomComponent_BaseFactory || (ɵBaseFormCustomComponent_BaseFactory = i0__namespace.ɵɵgetInheritedFactory(BaseFormCustomComponent)))(t || BaseFormCustomComponent); }; })(); }
|
|
356
370
|
static { this.ɵprov = /*@__PURE__*/ i0__namespace.ɵɵdefineInjectable({ token: BaseFormCustomComponent, factory: BaseFormCustomComponent.ɵfac }); }
|
|
357
371
|
}
|
|
358
|
-
(
|
|
372
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(BaseFormCustomComponent, [{
|
|
359
373
|
type: i0.Injectable
|
|
360
374
|
}], null, null); })();
|
|
361
375
|
|
|
@@ -385,7 +399,8 @@
|
|
|
385
399
|
|
|
386
400
|
const _c0$b = ["checkbox"];
|
|
387
401
|
const _c1$a = ["wmCheckbox", ""];
|
|
388
|
-
const _c2$
|
|
402
|
+
const _c2$7 = (a0, a1, a2) => ({ "unchecked": a0, "disabled": a1, "required": a2 });
|
|
403
|
+
const _c3$2 = () => ({ standalone: true });
|
|
389
404
|
const DEFAULT_CLS$4 = 'app-checkbox checkbox';
|
|
390
405
|
const WIDGET_CONFIG$c = {
|
|
391
406
|
widgetType: 'wm-checkbox',
|
|
@@ -423,8 +438,8 @@
|
|
|
423
438
|
this.proxyModel = (i1$1.isDefined(v) && v !== '') ? v === this._checkedvalue : undefined;
|
|
424
439
|
this.updatePrevDatavalue(this.datavalue);
|
|
425
440
|
}
|
|
426
|
-
constructor(inj, checkedVal, uncheckedVal, type) {
|
|
427
|
-
super(inj, WIDGET_CONFIG$c);
|
|
441
|
+
constructor(inj, checkedVal, uncheckedVal, type, explicitContext) {
|
|
442
|
+
super(inj, WIDGET_CONFIG$c, explicitContext);
|
|
428
443
|
this.type = type;
|
|
429
444
|
this._caption = ' ';
|
|
430
445
|
this._checkedvalue = unStringify(checkedVal, true);
|
|
@@ -481,7 +496,7 @@
|
|
|
481
496
|
super.ngAfterViewInit();
|
|
482
497
|
i2.styler(this.nativeElement.querySelector('label'), this);
|
|
483
498
|
}
|
|
484
|
-
static { this.ɵfac = function CheckboxComponent_Factory(t) { return new (t || CheckboxComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵinjectAttribute('checkedvalue'), i0__namespace.ɵɵinjectAttribute('uncheckedvalue'), i0__namespace.ɵɵinjectAttribute('type')); }; }
|
|
499
|
+
static { this.ɵfac = function CheckboxComponent_Factory(t) { return new (t || CheckboxComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵinjectAttribute('checkedvalue'), i0__namespace.ɵɵinjectAttribute('uncheckedvalue'), i0__namespace.ɵɵinjectAttribute('type'), i0__namespace.ɵɵdirectiveInject('EXPLICIT_CONTEXT', 8)); }; }
|
|
485
500
|
static { this.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: CheckboxComponent, selectors: [["", "wmCheckbox", ""]], viewQuery: function CheckboxComponent_Query(rf, ctx) { if (rf & 1) {
|
|
486
501
|
i0__namespace.ɵɵviewQuery(i2$1.NgModel, 5);
|
|
487
502
|
i0__namespace.ɵɵviewQuery(_c0$b, 7, i0.ElementRef);
|
|
@@ -495,17 +510,20 @@
|
|
|
495
510
|
i2.provideAs(CheckboxComponent, i2$1.NG_VALUE_ACCESSOR, true),
|
|
496
511
|
i2.provideAs(CheckboxComponent, i2$1.NG_VALIDATORS, true),
|
|
497
512
|
i2.provideAsWidgetRef(CheckboxComponent)
|
|
498
|
-
]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c1$a, decls: 6, vars:
|
|
499
|
-
i0__namespace.ɵɵ
|
|
500
|
-
i0__namespace.ɵɵ
|
|
513
|
+
]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c1$a, decls: 6, vars: 19, consts: [["checkbox", ""], [3, "ngClass"], ["type", "checkbox", "role", "checkbox", "focus-target", "", 3, "ngModelChange", "blur", "ngModel", "ngModelOptions", "readonly", "required", "disabled", "tabindex"], [1, "caption", 3, "innerHtml"], ["alt", "Checkbox Image", "aria-hidden", "true", "src", "data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==", 1, "switch"], ["type", "hidden", "aria-hidden", "true", "tabindex", "-1", 1, "ng-hide", "model-holder", 3, "disabled", "value"]], template: function CheckboxComponent_Template(rf, ctx) { if (rf & 1) {
|
|
514
|
+
const _r1 = i0__namespace.ɵɵgetCurrentView();
|
|
515
|
+
i0__namespace.ɵɵelementStart(0, "label", 1)(1, "input", 2, 0);
|
|
516
|
+
i0__namespace.ɵɵtwoWayListener("ngModelChange", function CheckboxComponent_Template_input_ngModelChange_1_listener($event) { i0__namespace.ɵɵrestoreView(_r1); i0__namespace.ɵɵtwoWayBindingSet(ctx.proxyModel, $event) || (ctx.proxyModel = $event); return i0__namespace.ɵɵresetView($event); });
|
|
517
|
+
i0__namespace.ɵɵlistener("blur", function CheckboxComponent_Template_input_blur_1_listener($event) { i0__namespace.ɵɵrestoreView(_r1); return i0__namespace.ɵɵresetView(ctx.invokeOnTouched($event)); })("ngModelChange", function CheckboxComponent_Template_input_ngModelChange_1_listener($event) { i0__namespace.ɵɵrestoreView(_r1); return i0__namespace.ɵɵresetView(ctx.handleChange($event)); });
|
|
501
518
|
i0__namespace.ɵɵelementEnd();
|
|
502
519
|
i0__namespace.ɵɵelement(3, "span", 3)(4, "img", 4);
|
|
503
520
|
i0__namespace.ɵɵelementEnd();
|
|
504
521
|
i0__namespace.ɵɵelement(5, "input", 5);
|
|
505
522
|
} if (rf & 2) {
|
|
506
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction3(
|
|
507
|
-
i0__namespace.ɵɵadvance(
|
|
508
|
-
i0__namespace.ɵɵ
|
|
523
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction3(14, _c2$7, !ctx.proxyModel, ctx.disabled || ctx.readonly, ctx.required && ctx._caption));
|
|
524
|
+
i0__namespace.ɵɵadvance();
|
|
525
|
+
i0__namespace.ɵɵtwoWayProperty("ngModel", ctx.proxyModel);
|
|
526
|
+
i0__namespace.ɵɵproperty("ngModelOptions", i0__namespace.ɵɵpureFunction0(18, _c3$2))("readonly", ctx.readonly)("required", ctx.required)("disabled", ctx.disabled || ctx.readonly)("tabindex", ctx.tabindex);
|
|
509
527
|
i0__namespace.ɵɵattribute("name", ctx.name)("aria-label", ctx.hint)("aria-checked", !!ctx.proxyModel)("accesskey", ctx.shortcutkey);
|
|
510
528
|
i0__namespace.ɵɵadvance(2);
|
|
511
529
|
i0__namespace.ɵɵproperty("innerHtml", ctx._caption, i0__namespace.ɵɵsanitizeHtml);
|
|
@@ -513,14 +531,14 @@
|
|
|
513
531
|
i0__namespace.ɵɵproperty("disabled", ctx.disabled)("value", ctx.proxyModel);
|
|
514
532
|
} }, dependencies: [i1__namespace.NgClass, i2$1__namespace.CheckboxControlValueAccessor, i2$1__namespace.NgControlStatus, i2$1__namespace.CheckboxRequiredValidator, i2$1__namespace.NgModel], encapsulation: 2 }); }
|
|
515
533
|
}
|
|
516
|
-
(
|
|
534
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(CheckboxComponent, [{
|
|
517
535
|
type: i0.Component,
|
|
518
536
|
args: [{ selector: '[wmCheckbox]', providers: [
|
|
519
537
|
i2.provideAs(CheckboxComponent, i2$1.NG_VALUE_ACCESSOR, true),
|
|
520
538
|
i2.provideAs(CheckboxComponent, i2$1.NG_VALIDATORS, true),
|
|
521
539
|
i2.provideAsWidgetRef(CheckboxComponent)
|
|
522
|
-
], template: "<label [ngClass]=\"{'unchecked': !proxyModel, 'disabled': (disabled || readonly), 'required': (required && _caption)}\">\n <input type=\"checkbox\"\n role=\"checkbox\"\n #checkbox\n [attr.name]=\"name\"\n [attr.aria-label]=\"hint\"\n [attr.aria-checked]=\"!!proxyModel\"\n focus-target\n [(ngModel)]=\"proxyModel\"\n [readonly]=\"readonly\"\n [required]=\"required\"\n [disabled]=\"disabled || readonly\"\n [attr.accesskey]=\"shortcutkey\"\n [tabindex]=\"tabindex\"\n (blur)=\"invokeOnTouched($event)\"\n (ngModelChange)=\"handleChange($event)\">\n <span class=\"caption\" [innerHtml]=\"_caption\"></span>\n <img alt=\"Checkbox Image\" aria-hidden=\"true\" src=\"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" class=\"switch\"/>\n</label>\n<input type=\"hidden\" class=\"ng-hide model-holder\" aria-hidden=\"true\" tabindex=\"-1\" [disabled]=\"disabled\" [value]=\"proxyModel\">\n" }]
|
|
523
|
-
}],
|
|
540
|
+
], template: "<label [ngClass]=\"{'unchecked': !proxyModel, 'disabled': (disabled || readonly), 'required': (required && _caption)}\">\n <input type=\"checkbox\"\n role=\"checkbox\"\n #checkbox\n [attr.name]=\"name\"\n [attr.aria-label]=\"hint\"\n [attr.aria-checked]=\"!!proxyModel\"\n focus-target\n [(ngModel)]=\"proxyModel\"\n [ngModelOptions]=\"{standalone: true}\"\n [readonly]=\"readonly\"\n [required]=\"required\"\n [disabled]=\"disabled || readonly\"\n [attr.accesskey]=\"shortcutkey\"\n [tabindex]=\"tabindex\"\n (blur)=\"invokeOnTouched($event)\"\n (ngModelChange)=\"handleChange($event)\">\n <span class=\"caption\" [innerHtml]=\"_caption\"></span>\n <img alt=\"Checkbox Image\" aria-hidden=\"true\" src=\"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" class=\"switch\"/>\n</label>\n<input type=\"hidden\" class=\"ng-hide model-holder\" aria-hidden=\"true\" tabindex=\"-1\" [disabled]=\"disabled\" [value]=\"proxyModel\">\n" }]
|
|
541
|
+
}], () => [{ type: i0__namespace.Injector }, { type: undefined, decorators: [{
|
|
524
542
|
type: i0.Attribute,
|
|
525
543
|
args: ['checkedvalue']
|
|
526
544
|
}] }, { type: undefined, decorators: [{
|
|
@@ -529,7 +547,12 @@
|
|
|
529
547
|
}] }, { type: undefined, decorators: [{
|
|
530
548
|
type: i0.Attribute,
|
|
531
549
|
args: ['type']
|
|
532
|
-
}] }
|
|
550
|
+
}] }, { type: undefined, decorators: [{
|
|
551
|
+
type: i0.Inject,
|
|
552
|
+
args: ['EXPLICIT_CONTEXT']
|
|
553
|
+
}, {
|
|
554
|
+
type: i0.Optional
|
|
555
|
+
}] }], { ngModel: [{
|
|
533
556
|
type: i0.ViewChild,
|
|
534
557
|
args: [i2$1.NgModel]
|
|
535
558
|
}], checkboxEl: [{
|
|
@@ -539,6 +562,7 @@
|
|
|
539
562
|
type: i0.HostListener,
|
|
540
563
|
args: ['keydown.enter', ['$event', '"ENTER"']]
|
|
541
564
|
}] }); })();
|
|
565
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassDebugInfo(CheckboxComponent, { className: "CheckboxComponent", filePath: "checkbox/checkbox.component.ts", lineNumber: 59 }); })();
|
|
542
566
|
|
|
543
567
|
class DatasetAwareFormComponent extends BaseFormCustomComponent {
|
|
544
568
|
get modelByKey() {
|
|
@@ -567,17 +591,17 @@
|
|
|
567
591
|
// invoke on datavalue change.
|
|
568
592
|
this.invokeOnChange(val, undefined, true);
|
|
569
593
|
}
|
|
570
|
-
constructor(inj, config, groupby) {
|
|
571
|
-
super(inj, config);
|
|
594
|
+
constructor(inj, config, explicitContext, groupby) {
|
|
595
|
+
super(inj, config, explicitContext);
|
|
572
596
|
this.groupby = groupby;
|
|
573
597
|
this.datasetItems = [];
|
|
574
598
|
this.acceptsArray = false; // set to true if proxyModel on widget accepts array type.
|
|
575
599
|
this.dataset$ = new rxjs.Subject();
|
|
576
600
|
this.datavalue$ = new rxjs.Subject();
|
|
577
601
|
this.allowempty = true;
|
|
578
|
-
this._debounceDatavalueUpdation =
|
|
602
|
+
this._debounceDatavalueUpdation = lodashEs.debounce((values) => {
|
|
579
603
|
// if no item is found in datasetItems, wait untill the dataset updates by preserving the datavalue in toBeProcessedDatavalue.
|
|
580
|
-
if (!i1$1.isDefined(this._modelByKey) || (
|
|
604
|
+
if (!i1$1.isDefined(this._modelByKey) || (lodashEs.isArray(this._modelByKey) && !this._modelByKey.length)) {
|
|
581
605
|
this.toBeProcessedDatavalue = values;
|
|
582
606
|
this._modelByValue = '';
|
|
583
607
|
}
|
|
@@ -585,7 +609,7 @@
|
|
|
585
609
|
// obtain the first array value when multiple is set to false.
|
|
586
610
|
// set the modelByValue only when undefined.
|
|
587
611
|
if (!i1$1.isDefined(this._modelByValue)) {
|
|
588
|
-
this._modelByValue = (!this.multiple &&
|
|
612
|
+
this._modelByValue = (!this.multiple && lodashEs.isArray(this.toBeProcessedDatavalue)) ? this.toBeProcessedDatavalue[0] : this.toBeProcessedDatavalue;
|
|
589
613
|
}
|
|
590
614
|
this.toBeProcessedDatavalue = undefined;
|
|
591
615
|
}
|
|
@@ -615,7 +639,7 @@
|
|
|
615
639
|
if (!this.datasetItems.length) {
|
|
616
640
|
return;
|
|
617
641
|
}
|
|
618
|
-
if (this.multiple && !
|
|
642
|
+
if (this.multiple && !lodashEs.isArray(keys)) {
|
|
619
643
|
keys = [keys];
|
|
620
644
|
}
|
|
621
645
|
// Set the _modelByKey to the modified keys.
|
|
@@ -623,10 +647,10 @@
|
|
|
623
647
|
if (this.multiple) {
|
|
624
648
|
this._modelByValue = [];
|
|
625
649
|
keys.forEach(key => {
|
|
626
|
-
const itemByKey =
|
|
650
|
+
const itemByKey = lodashEs.find(this.datasetItems, item => {
|
|
627
651
|
// not triple equal, as the instance type can be different.
|
|
628
652
|
// only value comparison should be done.
|
|
629
|
-
return
|
|
653
|
+
return lodashEs.toString(item.key) === lodashEs.toString(key);
|
|
630
654
|
});
|
|
631
655
|
if (itemByKey) {
|
|
632
656
|
itemByKey.selected = true;
|
|
@@ -636,10 +660,10 @@
|
|
|
636
660
|
}
|
|
637
661
|
else {
|
|
638
662
|
this._modelByValue = '';
|
|
639
|
-
const itemByKey =
|
|
663
|
+
const itemByKey = lodashEs.find(this.datasetItems, item => {
|
|
640
664
|
// not triple equal, as the instance type can be different.
|
|
641
665
|
// only value comparison should be done.
|
|
642
|
-
return
|
|
666
|
+
return lodashEs.toString(item.key) === lodashEs.toString(keys);
|
|
643
667
|
});
|
|
644
668
|
if (itemByKey) {
|
|
645
669
|
itemByKey.selected = true;
|
|
@@ -658,14 +682,14 @@
|
|
|
658
682
|
selectByValue(values) {
|
|
659
683
|
this.resetDatasetItems();
|
|
660
684
|
// if datavalue is not defined or empty then set the model as undefined.
|
|
661
|
-
if (!i1$1.isDefined(values) || values === '' ||
|
|
685
|
+
if (!i1$1.isDefined(values) || values === '' || lodashEs.isNull(values) || (values instanceof Array && !values.length)) {
|
|
662
686
|
this._modelByKey = undefined;
|
|
663
687
|
// do not return when allowempty is set to true.
|
|
664
688
|
if (!this.allowempty || !i1$1.isDefined(values)) {
|
|
665
689
|
return;
|
|
666
690
|
}
|
|
667
691
|
}
|
|
668
|
-
if (this.acceptsArray && !
|
|
692
|
+
if (this.acceptsArray && !lodashEs.isArray(values)) {
|
|
669
693
|
values = this.allowempty ? [values] : i2.extractDataAsArray(values);
|
|
670
694
|
}
|
|
671
695
|
// preserve the datavalue if datasetItems are empty.
|
|
@@ -674,16 +698,16 @@
|
|
|
674
698
|
return;
|
|
675
699
|
}
|
|
676
700
|
const filterField = this.datafield === i2.ALLFIELDS ? 'dataObject' : 'key';
|
|
677
|
-
if (
|
|
701
|
+
if (lodashEs.isArray(values)) {
|
|
678
702
|
this._modelByKey = [];
|
|
679
703
|
values.forEach(val => {
|
|
680
|
-
const itemByValue =
|
|
704
|
+
const itemByValue = lodashEs.find(this.datasetItems, item => {
|
|
681
705
|
if (filterField === 'dataObject') {
|
|
682
706
|
if (this.compareby && this.compareby.length) {
|
|
683
707
|
return i1$1.isEqualWithFields(item[filterField], val, this.compareby);
|
|
684
708
|
}
|
|
685
709
|
}
|
|
686
|
-
return (
|
|
710
|
+
return (lodashEs.isObject(item.value) ? lodashEs.isEqual(item.value, val) : (lodashEs.toString(item.value)).toLowerCase() === (lodashEs.toString(val)).toLowerCase());
|
|
687
711
|
});
|
|
688
712
|
if (itemByValue) {
|
|
689
713
|
itemByValue.selected = true;
|
|
@@ -693,13 +717,13 @@
|
|
|
693
717
|
}
|
|
694
718
|
else {
|
|
695
719
|
this._modelByKey = undefined;
|
|
696
|
-
const itemByValue =
|
|
720
|
+
const itemByValue = lodashEs.find(this.datasetItems, item => {
|
|
697
721
|
if (filterField === 'dataObject') {
|
|
698
722
|
if (this.compareby && this.compareby.length) {
|
|
699
723
|
return i1$1.isEqualWithFields(item[filterField], values, this.compareby);
|
|
700
724
|
}
|
|
701
725
|
}
|
|
702
|
-
return (
|
|
726
|
+
return (lodashEs.isObject(item.value) ? lodashEs.isEqual(item.value, values) : (lodashEs.toString(item.value)).toLowerCase() === (lodashEs.toString(values)).toLowerCase());
|
|
703
727
|
});
|
|
704
728
|
if (itemByValue) {
|
|
705
729
|
itemByValue.selected = true;
|
|
@@ -722,7 +746,7 @@
|
|
|
722
746
|
}
|
|
723
747
|
// This function parses the dataset and extracts the displayOptions from parsed dataset.
|
|
724
748
|
initDatasetItems() {
|
|
725
|
-
if (!this.dataset ||
|
|
749
|
+
if (!this.dataset || lodashEs.isEmpty(this.dataset)) {
|
|
726
750
|
this.datasetItems = [];
|
|
727
751
|
// notify the dataset listeners
|
|
728
752
|
this.dataset$.next(this.datasetItems);
|
|
@@ -750,7 +774,7 @@
|
|
|
750
774
|
postDatasetItemsInit() {
|
|
751
775
|
if (this.datasetItems.length && !this._defaultQueryInvoked) {
|
|
752
776
|
// use the latest of toBeProcessedDatavalue, datavalue
|
|
753
|
-
const _datavalue =
|
|
777
|
+
const _datavalue = lodashEs.isEmpty(this.toBeProcessedDatavalue) ? this.datavalue : this.toBeProcessedDatavalue;
|
|
754
778
|
this.selectByValue(_datavalue);
|
|
755
779
|
}
|
|
756
780
|
// notify the dataset listeners
|
|
@@ -820,18 +844,23 @@
|
|
|
820
844
|
this.cancelLocaleChangeSubscription();
|
|
821
845
|
}
|
|
822
846
|
}
|
|
823
|
-
static { this.ɵfac = function DatasetAwareFormComponent_Factory(t) { return new (t || DatasetAwareFormComponent)(i0__namespace.ɵɵinject(i0__namespace.Injector), i0__namespace.ɵɵinject(i2.WidgetConfig), i0__namespace.ɵɵinjectAttribute('groupby')); }; }
|
|
847
|
+
static { this.ɵfac = function DatasetAwareFormComponent_Factory(t) { return new (t || DatasetAwareFormComponent)(i0__namespace.ɵɵinject(i0__namespace.Injector), i0__namespace.ɵɵinject(i2.WidgetConfig), i0__namespace.ɵɵinject('EXPLICIT_CONTEXT', 8), i0__namespace.ɵɵinjectAttribute('groupby')); }; }
|
|
824
848
|
static { this.ɵprov = /*@__PURE__*/ i0__namespace.ɵɵdefineInjectable({ token: DatasetAwareFormComponent, factory: DatasetAwareFormComponent.ɵfac }); }
|
|
825
849
|
}
|
|
826
|
-
(
|
|
850
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(DatasetAwareFormComponent, [{
|
|
827
851
|
type: i0.Injectable
|
|
828
|
-
}],
|
|
852
|
+
}], () => [{ type: i0__namespace.Injector }, { type: undefined, decorators: [{
|
|
829
853
|
type: i0.Inject,
|
|
830
854
|
args: [i2.WidgetConfig]
|
|
855
|
+
}] }, { type: undefined, decorators: [{
|
|
856
|
+
type: i0.Inject,
|
|
857
|
+
args: ['EXPLICIT_CONTEXT']
|
|
858
|
+
}, {
|
|
859
|
+
type: i0.Optional
|
|
831
860
|
}] }, { type: undefined, decorators: [{
|
|
832
861
|
type: i0.Attribute,
|
|
833
862
|
args: ['groupby']
|
|
834
|
-
}] }]
|
|
863
|
+
}] }], null); })();
|
|
835
864
|
|
|
836
865
|
const checkboxsetProps = new Map([
|
|
837
866
|
['class', i2.PROP_STRING],
|
|
@@ -867,60 +896,61 @@
|
|
|
867
896
|
};
|
|
868
897
|
|
|
869
898
|
const _c0$a = ["wmCheckboxset", ""];
|
|
870
|
-
const _c1$9 =
|
|
899
|
+
const _c1$9 = (a0, a1) => ["checkbox", "app-checkbox", a0, a1];
|
|
900
|
+
const _c2$6 = a0 => ({ "disabled": a0 });
|
|
901
|
+
const _c3$1 = a0 => ({ "collapsible-content": a0 });
|
|
902
|
+
const _c4$1 = (a0, a1) => ["checkbox", "app-checkbox", "group-list-item", a0, a1];
|
|
871
903
|
function CheckboxsetComponent_ng_template_0_li_0_label_1_Template(rf, ctx) { if (rf & 1) {
|
|
872
904
|
i0__namespace.ɵɵelementStart(0, "label", 8);
|
|
873
905
|
i0__namespace.ɵɵelement(1, "input", 9)(2, "span", 10);
|
|
874
906
|
i0__namespace.ɵɵelementEnd();
|
|
875
907
|
} if (rf & 2) {
|
|
876
|
-
const
|
|
877
|
-
const
|
|
878
|
-
const
|
|
879
|
-
const
|
|
880
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(12,
|
|
881
|
-
i0__namespace.ɵɵadvance(
|
|
882
|
-
i0__namespace.ɵɵproperty("name", "checkboxset_" +
|
|
883
|
-
i0__namespace.ɵɵattribute("aria-label",
|
|
884
|
-
i0__namespace.ɵɵadvance(
|
|
885
|
-
i0__namespace.ɵɵproperty("textContent",
|
|
908
|
+
const ctx_r3 = i0__namespace.ɵɵnextContext();
|
|
909
|
+
const item_r2 = ctx_r3.$implicit;
|
|
910
|
+
const i_r5 = ctx_r3.index;
|
|
911
|
+
const ctx_r2 = i0__namespace.ɵɵnextContext(2);
|
|
912
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(12, _c2$6, ctx_r2.disabled || ctx_r2.readonly))("title", item_r2.label);
|
|
913
|
+
i0__namespace.ɵɵadvance();
|
|
914
|
+
i0__namespace.ɵɵproperty("name", "checkboxset_" + ctx_r2.widgetId)("tabindex", ctx_r2.tabindex)("disabled", ctx_r2.disabled || ctx_r2.readonly)("value", item_r2.key)("tabindex", ctx_r2.tabindex)("checked", item_r2.selected);
|
|
915
|
+
i0__namespace.ɵɵattribute("aria-label", item_r2.key)("aria-checked", item_r2.selected)("data-attr-index", i_r5);
|
|
916
|
+
i0__namespace.ɵɵadvance();
|
|
917
|
+
i0__namespace.ɵɵproperty("textContent", item_r2.label);
|
|
886
918
|
} }
|
|
887
919
|
function CheckboxsetComponent_ng_template_0_li_0_label_2_Template(rf, ctx) { if (rf & 1) {
|
|
888
920
|
i0__namespace.ɵɵelementStart(0, "label", 11);
|
|
889
921
|
i0__namespace.ɵɵelement(1, "input", 9)(2, "span", 12);
|
|
890
922
|
i0__namespace.ɵɵelementEnd();
|
|
891
923
|
} if (rf & 2) {
|
|
892
|
-
const
|
|
893
|
-
const
|
|
894
|
-
const
|
|
895
|
-
const
|
|
896
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(10,
|
|
897
|
-
i0__namespace.ɵɵadvance(
|
|
898
|
-
i0__namespace.ɵɵproperty("name", "checkboxset_" +
|
|
899
|
-
i0__namespace.ɵɵattribute("aria-label",
|
|
924
|
+
const ctx_r3 = i0__namespace.ɵɵnextContext();
|
|
925
|
+
const item_r2 = ctx_r3.$implicit;
|
|
926
|
+
const i_r5 = ctx_r3.index;
|
|
927
|
+
const ctx_r2 = i0__namespace.ɵɵnextContext(2);
|
|
928
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(10, _c2$6, ctx_r2.disabled || ctx_r2.readonly));
|
|
929
|
+
i0__namespace.ɵɵadvance();
|
|
930
|
+
i0__namespace.ɵɵproperty("name", "checkboxset_" + ctx_r2.widgetId)("tabindex", ctx_r2.tabindex)("disabled", ctx_r2.disabled || ctx_r2.readonly)("value", item_r2.key)("tabindex", ctx_r2.tabindex)("checked", item_r2.selected);
|
|
931
|
+
i0__namespace.ɵɵattribute("aria-label", item_r2.key)("aria-checked", item_r2.selected)("data-attr-index", i_r5);
|
|
900
932
|
} }
|
|
901
|
-
const _c2$3 = function (a2, a3) { return ["checkbox", "app-checkbox", a2, a3]; };
|
|
902
933
|
function CheckboxsetComponent_ng_template_0_li_0_Template(rf, ctx) { if (rf & 1) {
|
|
903
|
-
const
|
|
934
|
+
const _r1 = i0__namespace.ɵɵgetCurrentView();
|
|
904
935
|
i0__namespace.ɵɵelementStart(0, "li", 5);
|
|
905
|
-
i0__namespace.ɵɵlistener("click", function CheckboxsetComponent_ng_template_0_li_0_Template_li_click_0_listener($event) { const
|
|
906
|
-
i0__namespace.ɵɵtemplate(1, CheckboxsetComponent_ng_template_0_li_0_label_1_Template, 3, 14, "label", 6);
|
|
907
|
-
i0__namespace.ɵɵtemplate(2, CheckboxsetComponent_ng_template_0_li_0_label_2_Template, 3, 12, "label", 7);
|
|
936
|
+
i0__namespace.ɵɵlistener("click", function CheckboxsetComponent_ng_template_0_li_0_Template_li_click_0_listener($event) { const item_r2 = i0__namespace.ɵɵrestoreView(_r1).$implicit; const ctx_r2 = i0__namespace.ɵɵnextContext(2); return i0__namespace.ɵɵresetView(ctx_r2.onCheckboxLabelClick($event, item_r2.key)); });
|
|
937
|
+
i0__namespace.ɵɵtemplate(1, CheckboxsetComponent_ng_template_0_li_0_label_1_Template, 3, 14, "label", 6)(2, CheckboxsetComponent_ng_template_0_li_0_label_2_Template, 3, 12, "label", 7);
|
|
908
938
|
i0__namespace.ɵɵelementEnd();
|
|
909
939
|
} if (rf & 2) {
|
|
910
|
-
const
|
|
911
|
-
const
|
|
912
|
-
i0__namespace.ɵɵclassProp("active",
|
|
913
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction2(7,
|
|
914
|
-
i0__namespace.ɵɵadvance(
|
|
915
|
-
i0__namespace.ɵɵproperty("ngIf", !
|
|
916
|
-
i0__namespace.ɵɵadvance(
|
|
917
|
-
i0__namespace.ɵɵproperty("ngIf",
|
|
940
|
+
const item_r2 = ctx.$implicit;
|
|
941
|
+
const ctx_r2 = i0__namespace.ɵɵnextContext(2);
|
|
942
|
+
i0__namespace.ɵɵclassProp("active", item_r2.selected);
|
|
943
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction2(7, _c1$9, ctx_r2.itemclass, ctx_r2.itemsPerRowClass))("wmItemTemplate", ctx_r2.content)("userComponentParams", item_r2);
|
|
944
|
+
i0__namespace.ɵɵadvance();
|
|
945
|
+
i0__namespace.ɵɵproperty("ngIf", !ctx_r2.content);
|
|
946
|
+
i0__namespace.ɵɵadvance();
|
|
947
|
+
i0__namespace.ɵɵproperty("ngIf", ctx_r2.content);
|
|
918
948
|
} }
|
|
919
949
|
function CheckboxsetComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {
|
|
920
950
|
i0__namespace.ɵɵtemplate(0, CheckboxsetComponent_ng_template_0_li_0_Template, 3, 10, "li", 4);
|
|
921
951
|
} if (rf & 2) {
|
|
922
|
-
const
|
|
923
|
-
i0__namespace.ɵɵproperty("ngForOf",
|
|
952
|
+
const ctx_r2 = i0__namespace.ɵɵnextContext();
|
|
953
|
+
i0__namespace.ɵɵproperty("ngForOf", ctx_r2.datasetItems);
|
|
924
954
|
} }
|
|
925
955
|
function CheckboxsetComponent_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
926
956
|
i0__namespace.ɵɵelement(0, "div", 13);
|
|
@@ -928,102 +958,98 @@
|
|
|
928
958
|
function CheckboxsetComponent_ng_template_3_li_0_i_6_Template(rf, ctx) { if (rf & 1) {
|
|
929
959
|
i0__namespace.ɵɵelement(0, "i", 23);
|
|
930
960
|
} if (rf & 2) {
|
|
931
|
-
const
|
|
932
|
-
i0__namespace.ɵɵpropertyInterpolate2("title", "",
|
|
961
|
+
const ctx_r2 = i0__namespace.ɵɵnextContext(3);
|
|
962
|
+
i0__namespace.ɵɵpropertyInterpolate2("title", "", ctx_r2.appLocale.LABEL_COLLAPSE, "/", ctx_r2.appLocale.LABEL_EXPAND, "");
|
|
933
963
|
} }
|
|
934
964
|
function CheckboxsetComponent_ng_template_3_li_0_span_7_Template(rf, ctx) { if (rf & 1) {
|
|
935
965
|
i0__namespace.ɵɵelement(0, "span", 24);
|
|
936
966
|
} if (rf & 2) {
|
|
937
|
-
const
|
|
938
|
-
i0__namespace.ɵɵproperty("textContent",
|
|
967
|
+
const groupObj_r7 = i0__namespace.ɵɵnextContext().$implicit;
|
|
968
|
+
i0__namespace.ɵɵproperty("textContent", groupObj_r7.data.length);
|
|
939
969
|
} }
|
|
940
970
|
function CheckboxsetComponent_ng_template_3_li_0_li_8_label_1_Template(rf, ctx) { if (rf & 1) {
|
|
941
971
|
i0__namespace.ɵɵelementStart(0, "label", 8);
|
|
942
972
|
i0__namespace.ɵɵelement(1, "input", 26)(2, "span", 10);
|
|
943
973
|
i0__namespace.ɵɵelementEnd();
|
|
944
974
|
} if (rf & 2) {
|
|
945
|
-
const
|
|
946
|
-
const
|
|
947
|
-
const
|
|
948
|
-
const
|
|
949
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(10,
|
|
950
|
-
i0__namespace.ɵɵadvance(
|
|
951
|
-
i0__namespace.ɵɵproperty("name", "checkboxset_" +
|
|
952
|
-
i0__namespace.ɵɵattribute("data-attr-index",
|
|
953
|
-
i0__namespace.ɵɵadvance(
|
|
954
|
-
i0__namespace.ɵɵproperty("textContent",
|
|
975
|
+
const ctx_r9 = i0__namespace.ɵɵnextContext();
|
|
976
|
+
const item_r9 = ctx_r9.$implicit;
|
|
977
|
+
const i_r11 = ctx_r9.index;
|
|
978
|
+
const ctx_r2 = i0__namespace.ɵɵnextContext(3);
|
|
979
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(10, _c2$6, ctx_r2.disabled || ctx_r2.readonly))("title", item_r9.label);
|
|
980
|
+
i0__namespace.ɵɵadvance();
|
|
981
|
+
i0__namespace.ɵɵproperty("name", "checkboxset_" + ctx_r2.widgetId)("tabindex", ctx_r2.tabindex)("disabled", ctx_r2.disabled || ctx_r2.readonly)("value", item_r9.key)("tabindex", ctx_r2.tabindex)("checked", item_r9.selected);
|
|
982
|
+
i0__namespace.ɵɵattribute("data-attr-index", i_r11);
|
|
983
|
+
i0__namespace.ɵɵadvance();
|
|
984
|
+
i0__namespace.ɵɵproperty("textContent", item_r9.label);
|
|
955
985
|
} }
|
|
956
986
|
function CheckboxsetComponent_ng_template_3_li_0_li_8_label_2_Template(rf, ctx) { if (rf & 1) {
|
|
957
987
|
i0__namespace.ɵɵelementStart(0, "label", 11);
|
|
958
988
|
i0__namespace.ɵɵelement(1, "input", 26)(2, "span", 27);
|
|
959
989
|
i0__namespace.ɵɵelementEnd();
|
|
960
990
|
} if (rf & 2) {
|
|
961
|
-
const
|
|
962
|
-
const
|
|
963
|
-
const
|
|
964
|
-
const
|
|
965
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8,
|
|
966
|
-
i0__namespace.ɵɵadvance(
|
|
967
|
-
i0__namespace.ɵɵproperty("name", "checkboxset_" +
|
|
968
|
-
i0__namespace.ɵɵattribute("data-attr-index",
|
|
991
|
+
const ctx_r9 = i0__namespace.ɵɵnextContext();
|
|
992
|
+
const item_r9 = ctx_r9.$implicit;
|
|
993
|
+
const i_r11 = ctx_r9.index;
|
|
994
|
+
const ctx_r2 = i0__namespace.ɵɵnextContext(3);
|
|
995
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c2$6, ctx_r2.disabled || ctx_r2.readonly));
|
|
996
|
+
i0__namespace.ɵɵadvance();
|
|
997
|
+
i0__namespace.ɵɵproperty("name", "checkboxset_" + ctx_r2.widgetId)("tabindex", ctx_r2.tabindex)("disabled", ctx_r2.disabled || ctx_r2.readonly)("value", item_r9.key)("tabindex", ctx_r2.tabindex)("checked", item_r9.selected);
|
|
998
|
+
i0__namespace.ɵɵattribute("data-attr-index", i_r11);
|
|
969
999
|
} }
|
|
970
|
-
const _c3$1 = function (a3, a4) { return ["checkbox", "app-checkbox", "group-list-item", a3, a4]; };
|
|
971
1000
|
function CheckboxsetComponent_ng_template_3_li_0_li_8_Template(rf, ctx) { if (rf & 1) {
|
|
972
|
-
const
|
|
1001
|
+
const _r8 = i0__namespace.ɵɵgetCurrentView();
|
|
973
1002
|
i0__namespace.ɵɵelementStart(0, "li", 25);
|
|
974
|
-
i0__namespace.ɵɵlistener("click", function CheckboxsetComponent_ng_template_3_li_0_li_8_Template_li_click_0_listener($event) { const
|
|
975
|
-
i0__namespace.ɵɵtemplate(1, CheckboxsetComponent_ng_template_3_li_0_li_8_label_1_Template, 3, 12, "label", 6);
|
|
976
|
-
i0__namespace.ɵɵtemplate(2, CheckboxsetComponent_ng_template_3_li_0_li_8_label_2_Template, 3, 10, "label", 7);
|
|
1003
|
+
i0__namespace.ɵɵlistener("click", function CheckboxsetComponent_ng_template_3_li_0_li_8_Template_li_click_0_listener($event) { const item_r9 = i0__namespace.ɵɵrestoreView(_r8).$implicit; const ctx_r2 = i0__namespace.ɵɵnextContext(3); return i0__namespace.ɵɵresetView(ctx_r2.onCheckboxLabelClick($event, item_r9)); });
|
|
1004
|
+
i0__namespace.ɵɵtemplate(1, CheckboxsetComponent_ng_template_3_li_0_li_8_label_1_Template, 3, 12, "label", 6)(2, CheckboxsetComponent_ng_template_3_li_0_li_8_label_2_Template, 3, 10, "label", 7);
|
|
977
1005
|
i0__namespace.ɵɵelementEnd();
|
|
978
1006
|
} if (rf & 2) {
|
|
979
|
-
const
|
|
980
|
-
const
|
|
981
|
-
i0__namespace.ɵɵclassProp("active",
|
|
982
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction2(7,
|
|
983
|
-
i0__namespace.ɵɵadvance(
|
|
984
|
-
i0__namespace.ɵɵproperty("ngIf", !
|
|
985
|
-
i0__namespace.ɵɵadvance(
|
|
986
|
-
i0__namespace.ɵɵproperty("ngIf",
|
|
1007
|
+
const item_r9 = ctx.$implicit;
|
|
1008
|
+
const ctx_r2 = i0__namespace.ɵɵnextContext(3);
|
|
1009
|
+
i0__namespace.ɵɵclassProp("active", item_r9.selected);
|
|
1010
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction2(7, _c4$1, ctx_r2.itemclass, ctx_r2.itemsPerRowClass))("wmItemTemplate", ctx_r2.content)("userComponentParams", item_r9);
|
|
1011
|
+
i0__namespace.ɵɵadvance();
|
|
1012
|
+
i0__namespace.ɵɵproperty("ngIf", !ctx_r2.content);
|
|
1013
|
+
i0__namespace.ɵɵadvance();
|
|
1014
|
+
i0__namespace.ɵɵproperty("ngIf", ctx_r2.content);
|
|
987
1015
|
} }
|
|
988
|
-
const _c4$1 = function (a0) { return { "collapsible-content": a0 }; };
|
|
989
1016
|
function CheckboxsetComponent_ng_template_3_li_0_Template(rf, ctx) { if (rf & 1) {
|
|
990
|
-
const
|
|
1017
|
+
const _r6 = i0__namespace.ɵɵgetCurrentView();
|
|
991
1018
|
i0__namespace.ɵɵelementStart(0, "li", 15)(1, "ul", 16)(2, "li", 17);
|
|
992
|
-
i0__namespace.ɵɵlistener("click", function CheckboxsetComponent_ng_template_3_li_0_Template_li_click_2_listener($event) { i0__namespace.ɵɵrestoreView(
|
|
1019
|
+
i0__namespace.ɵɵlistener("click", function CheckboxsetComponent_ng_template_3_li_0_Template_li_click_2_listener($event) { i0__namespace.ɵɵrestoreView(_r6); const ctx_r2 = i0__namespace.ɵɵnextContext(2); return i0__namespace.ɵɵresetView(ctx_r2.handleHeaderClick($event)); });
|
|
993
1020
|
i0__namespace.ɵɵelementStart(3, "h4", 18);
|
|
994
1021
|
i0__namespace.ɵɵtext(4);
|
|
995
1022
|
i0__namespace.ɵɵelementStart(5, "div", 19);
|
|
996
|
-
i0__namespace.ɵɵtemplate(6, CheckboxsetComponent_ng_template_3_li_0_i_6_Template, 1,
|
|
997
|
-
i0__namespace.ɵɵtemplate(7, CheckboxsetComponent_ng_template_3_li_0_span_7_Template, 1, 1, "span", 21);
|
|
1023
|
+
i0__namespace.ɵɵtemplate(6, CheckboxsetComponent_ng_template_3_li_0_i_6_Template, 1, 3, "i", 20)(7, CheckboxsetComponent_ng_template_3_li_0_span_7_Template, 1, 1, "span", 21);
|
|
998
1024
|
i0__namespace.ɵɵelementEnd()()();
|
|
999
1025
|
i0__namespace.ɵɵtemplate(8, CheckboxsetComponent_ng_template_3_li_0_li_8_Template, 3, 10, "li", 22);
|
|
1000
1026
|
i0__namespace.ɵɵelementEnd()();
|
|
1001
1027
|
} if (rf & 2) {
|
|
1002
|
-
const
|
|
1003
|
-
const
|
|
1028
|
+
const groupObj_r7 = ctx.$implicit;
|
|
1029
|
+
const ctx_r2 = i0__namespace.ɵɵnextContext(2);
|
|
1004
1030
|
i0__namespace.ɵɵadvance(2);
|
|
1005
|
-
i0__namespace.ɵɵproperty("title",
|
|
1031
|
+
i0__namespace.ɵɵproperty("title", groupObj_r7.key)("ngClass", i0__namespace.ɵɵpureFunction1(6, _c3$1, ctx_r2.collapsible));
|
|
1006
1032
|
i0__namespace.ɵɵadvance(2);
|
|
1007
|
-
i0__namespace.ɵɵtextInterpolate1("",
|
|
1033
|
+
i0__namespace.ɵɵtextInterpolate1("", groupObj_r7.key, " ");
|
|
1008
1034
|
i0__namespace.ɵɵadvance(2);
|
|
1009
|
-
i0__namespace.ɵɵproperty("ngIf",
|
|
1010
|
-
i0__namespace.ɵɵadvance(
|
|
1011
|
-
i0__namespace.ɵɵproperty("ngIf",
|
|
1012
|
-
i0__namespace.ɵɵadvance(
|
|
1013
|
-
i0__namespace.ɵɵproperty("ngForOf",
|
|
1035
|
+
i0__namespace.ɵɵproperty("ngIf", ctx_r2.collapsible);
|
|
1036
|
+
i0__namespace.ɵɵadvance();
|
|
1037
|
+
i0__namespace.ɵɵproperty("ngIf", ctx_r2.showcount);
|
|
1038
|
+
i0__namespace.ɵɵadvance();
|
|
1039
|
+
i0__namespace.ɵɵproperty("ngForOf", groupObj_r7.data);
|
|
1014
1040
|
} }
|
|
1015
1041
|
function CheckboxsetComponent_ng_template_3_Template(rf, ctx) { if (rf & 1) {
|
|
1016
1042
|
i0__namespace.ɵɵtemplate(0, CheckboxsetComponent_ng_template_3_li_0_Template, 9, 8, "li", 14);
|
|
1017
1043
|
} if (rf & 2) {
|
|
1018
|
-
const
|
|
1019
|
-
i0__namespace.ɵɵproperty("ngForOf",
|
|
1044
|
+
const ctx_r2 = i0__namespace.ɵɵnextContext();
|
|
1045
|
+
i0__namespace.ɵɵproperty("ngForOf", ctx_r2.groupedData);
|
|
1020
1046
|
} }
|
|
1021
1047
|
const DEFAULT_CLS$3 = 'app-checkboxset list-group inline';
|
|
1022
1048
|
const WIDGET_CONFIG$b = { widgetType: 'wm-checkboxset', hostClass: DEFAULT_CLS$3 };
|
|
1023
1049
|
class CheckboxsetComponent extends DatasetAwareFormComponent {
|
|
1024
1050
|
static { this.initializeProps = registerProps$b(); }
|
|
1025
|
-
constructor(inj) {
|
|
1026
|
-
super(inj, WIDGET_CONFIG$b);
|
|
1051
|
+
constructor(inj, explicitContext) {
|
|
1052
|
+
super(inj, WIDGET_CONFIG$b, explicitContext);
|
|
1027
1053
|
this.layout = '';
|
|
1028
1054
|
i2.styler(this.nativeElement, this);
|
|
1029
1055
|
this.multiple = true;
|
|
@@ -1035,7 +1061,8 @@
|
|
|
1035
1061
|
// construct the _model from the checked elements.
|
|
1036
1062
|
const inputElements = this.nativeElement.querySelectorAll('input:checked');
|
|
1037
1063
|
const keys = [];
|
|
1038
|
-
|
|
1064
|
+
lodashEs.forEach(inputElements, ($el) => {
|
|
1065
|
+
// @ts-ignore
|
|
1039
1066
|
keys.push($el.value);
|
|
1040
1067
|
});
|
|
1041
1068
|
this.modelByKey = keys;
|
|
@@ -1054,7 +1081,7 @@
|
|
|
1054
1081
|
return callback();
|
|
1055
1082
|
});
|
|
1056
1083
|
}
|
|
1057
|
-
else if (!
|
|
1084
|
+
else if (!lodashEs.includes(['change'], eventName)) {
|
|
1058
1085
|
super.handleEvent(node, eventName, callback, locals);
|
|
1059
1086
|
}
|
|
1060
1087
|
}
|
|
@@ -1077,38 +1104,43 @@
|
|
|
1077
1104
|
super.onPropertyChange(key, nv, ov);
|
|
1078
1105
|
}
|
|
1079
1106
|
}
|
|
1080
|
-
static { this.ɵfac = function CheckboxsetComponent_Factory(t) { return new (t || CheckboxsetComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector)); }; }
|
|
1107
|
+
static { this.ɵfac = function CheckboxsetComponent_Factory(t) { return new (t || CheckboxsetComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵdirectiveInject('EXPLICIT_CONTEXT', 8)); }; }
|
|
1081
1108
|
static { this.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: CheckboxsetComponent, selectors: [["", "wmCheckboxset", ""]], hostBindings: function CheckboxsetComponent_HostBindings(rf, ctx) { if (rf & 1) {
|
|
1082
1109
|
i0__namespace.ɵɵlistener("keydown.enter", function CheckboxsetComponent_keydown_enter_HostBindingHandler($event) { return ctx.onKeyDown($event, "ENTER"); });
|
|
1083
1110
|
} }, exportAs: ["wmCheckboxset"], features: [i0__namespace.ɵɵProvidersFeature([
|
|
1084
1111
|
i2.provideAs(CheckboxsetComponent, i2$1.NG_VALUE_ACCESSOR, true),
|
|
1085
1112
|
i2.provideAs(CheckboxsetComponent, i2$1.NG_VALIDATORS, true),
|
|
1086
1113
|
i2.provideAsWidgetRef(CheckboxsetComponent)
|
|
1087
|
-
]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c0$a, decls: 5, vars: 4, consts: [[3, "ngIf", "ngIfElse"], ["hidden", "", 1, "model-holder", 3, "disabled"], ["class", "readonly-wrapper", 4, "ngIf"], ["
|
|
1088
|
-
i0__namespace.ɵɵtemplate(0, CheckboxsetComponent_ng_template_0_Template, 1, 1, "ng-template",
|
|
1089
|
-
i0__namespace.ɵɵelement(1, "input",
|
|
1090
|
-
i0__namespace.ɵɵtemplate(2, CheckboxsetComponent_div_2_Template, 1, 0, "div",
|
|
1091
|
-
i0__namespace.ɵɵtemplate(3, CheckboxsetComponent_ng_template_3_Template, 1, 1, "ng-template", null, 3, i0__namespace.ɵɵtemplateRefExtractor);
|
|
1114
|
+
]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c0$a, decls: 5, vars: 4, consts: [["groupedListTemplate", ""], [3, "ngIf", "ngIfElse"], ["hidden", "", 1, "model-holder", 3, "disabled"], ["class", "readonly-wrapper", 4, "ngIf"], ["partialContainer", "", "role", "presentation", 3, "ngClass", "active", "wmItemTemplate", "userComponentParams", "click", 4, "ngFor", "ngForOf"], ["partialContainer", "", "role", "presentation", 3, "click", "ngClass", "wmItemTemplate", "userComponentParams"], ["class", "app-checkboxset-label", 3, "ngClass", "title", 4, "ngIf"], ["class", "app-checkboxset-label", 3, "ngClass", 4, "ngIf"], [1, "app-checkboxset-label", 3, "ngClass", "title"], ["type", "checkbox", 3, "name", "tabindex", "disabled", "value", "checked"], [1, "caption", 3, "textContent"], [1, "app-checkboxset-label", 3, "ngClass"], ["partial-container-target", "", 1, "caption", "customTemplate"], [1, "readonly-wrapper"], ["class", "app-list-item-group", "role", "presentation", 4, "ngFor", "ngForOf"], ["role", "presentation", 1, "app-list-item-group"], [1, "item-group"], [1, "list-group-header", 3, "click", "title", "ngClass"], [1, "group-title"], [1, "header-action"], ["class", "app-icon wi action wi-chevron-up", 3, "title", 4, "ngIf"], ["class", "label label-default", 3, "textContent", 4, "ngIf"], ["partialContainer", "", 3, "ngClass", "active", "wmItemTemplate", "userComponentParams", "click", 4, "ngFor", "ngForOf"], [1, "app-icon", "wi", "action", "wi-chevron-up", 3, "title"], [1, "label", "label-default", 3, "textContent"], ["partialContainer", "", 3, "click", "ngClass", "wmItemTemplate", "userComponentParams"], ["type", "checkbox", "aria-label", "checkbox group", 3, "name", "tabindex", "disabled", "value", "checked"], ["partial-container-target", "", 1, "caption"]], template: function CheckboxsetComponent_Template(rf, ctx) { if (rf & 1) {
|
|
1115
|
+
i0__namespace.ɵɵtemplate(0, CheckboxsetComponent_ng_template_0_Template, 1, 1, "ng-template", 1);
|
|
1116
|
+
i0__namespace.ɵɵelement(1, "input", 2);
|
|
1117
|
+
i0__namespace.ɵɵtemplate(2, CheckboxsetComponent_div_2_Template, 1, 0, "div", 3)(3, CheckboxsetComponent_ng_template_3_Template, 1, 1, "ng-template", null, 0, i0__namespace.ɵɵtemplateRefExtractor);
|
|
1092
1118
|
} if (rf & 2) {
|
|
1093
|
-
const
|
|
1094
|
-
i0__namespace.ɵɵproperty("ngIf", !ctx.groupby)("ngIfElse",
|
|
1095
|
-
i0__namespace.ɵɵadvance(
|
|
1119
|
+
const groupedListTemplate_r12 = i0__namespace.ɵɵreference(4);
|
|
1120
|
+
i0__namespace.ɵɵproperty("ngIf", !ctx.groupby)("ngIfElse", groupedListTemplate_r12);
|
|
1121
|
+
i0__namespace.ɵɵadvance();
|
|
1096
1122
|
i0__namespace.ɵɵproperty("disabled", ctx.disabled || ctx.readonly);
|
|
1097
|
-
i0__namespace.ɵɵadvance(
|
|
1123
|
+
i0__namespace.ɵɵadvance();
|
|
1098
1124
|
i0__namespace.ɵɵproperty("ngIf", ctx.readonly || ctx.disabled);
|
|
1099
1125
|
} }, dependencies: [i1__namespace.NgClass, i1__namespace.NgForOf, i1__namespace.NgIf, i2__namespace.ItemTemplateDirective, i2__namespace.PartialParamHandlerDirective, i2__namespace.PartialContainerDirective, i2__namespace.TextContentDirective], encapsulation: 2 }); }
|
|
1100
1126
|
}
|
|
1101
|
-
(
|
|
1127
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(CheckboxsetComponent, [{
|
|
1102
1128
|
type: i0.Component,
|
|
1103
1129
|
args: [{ selector: '[wmCheckboxset]', exportAs: 'wmCheckboxset', providers: [
|
|
1104
1130
|
i2.provideAs(CheckboxsetComponent, i2$1.NG_VALUE_ACCESSOR, true),
|
|
1105
1131
|
i2.provideAs(CheckboxsetComponent, i2$1.NG_VALIDATORS, true),
|
|
1106
1132
|
i2.provideAsWidgetRef(CheckboxsetComponent)
|
|
1107
1133
|
], template: "<ng-template [ngIf]=\"!groupby\" [ngIfElse]=\"groupedListTemplate\">\n <li [ngClass]=\"['checkbox', 'app-checkbox', itemclass, itemsPerRowClass]\"\n [class.active]=\"item.selected\"\n *ngFor=\"let item of datasetItems; let i = index\"\n [wmItemTemplate]=\"content\" [userComponentParams]=\"item\" partialContainer\n (click)=\"onCheckboxLabelClick($event, item.key)\" role=\"presentation\">\n <!-- Default item template -->\n <label *ngIf=\"!content\" class=\"app-checkboxset-label\" [ngClass]=\"{'disabled':disabled || readonly}\" [title]=\"item.label\">\n <input [name]=\"'checkboxset_' + widgetId\" type=\"checkbox\" [attr.aria-label]=\"item.key\"\n [tabindex]=\"tabindex\" [attr.aria-checked]=\"item.selected\"\n [disabled]=\"disabled || readonly\" [attr.data-attr-index]=\"i\"\n [value]=\"item.key\" [tabindex]=\"tabindex\" [checked]=\"item.selected\"/>\n <span class=\"caption\" [textContent]=\"item.label\"></span>\n </label>\n <!-- Custom partial template -->\n <label *ngIf=\"content\" class=\"app-checkboxset-label\" [ngClass]=\"{'disabled':disabled || readonly}\" >\n <input [name]=\"'checkboxset_' + widgetId\" type=\"checkbox\" [attr.aria-label]=\"item.key\"\n [tabindex]=\"tabindex\" [attr.aria-checked]=\"item.selected\"\n [disabled]=\"disabled || readonly\" [attr.data-attr-index]=\"i\"\n [value]=\"item.key\" [tabindex]=\"tabindex\" [checked]=\"item.selected\"/>\n <span class=\"caption customTemplate\" partial-container-target></span>\n </label>\n </li>\n</ng-template>\n<input [disabled]=\"disabled || readonly\" hidden class=\"model-holder\">\n<div *ngIf=\"readonly || disabled\" class=\"readonly-wrapper\"></div>\n\n<!-- This template will be displayed when groupby is specified. -->\n<ng-template #groupedListTemplate>\n <li *ngFor=\"let groupObj of groupedData\" class=\"app-list-item-group\" role=\"presentation\">\n <ul class=\"item-group\">\n <li class=\"list-group-header\" (click)=\"handleHeaderClick($event)\" [title]=\"groupObj.key\" [ngClass]=\"{'collapsible-content': collapsible}\">\n <h4 class=\"group-title\">{{groupObj.key}}\n <div class=\"header-action\">\n <i class=\"app-icon wi action wi-chevron-up\" *ngIf=\"collapsible\" title=\"{{appLocale.LABEL_COLLAPSE}}/{{appLocale.LABEL_EXPAND}}\"></i>\n <span *ngIf=\"showcount\" class=\"label label-default\" [textContent]=\"groupObj.data.length\"></span>\n </div>\n </h4>\n </li>\n <li *ngFor=\"let item of groupObj.data; let i = index;\"\n [ngClass]=\"['checkbox', 'app-checkbox', 'group-list-item', itemclass, itemsPerRowClass]\"\n [class.active]=\"item.selected\"\n [wmItemTemplate]=\"content\" [userComponentParams]=\"item\" partialContainer\n (click)=\"onCheckboxLabelClick($event, item)\">\n <!-- Default item template -->\n <label *ngIf=\"!content\" class=\"app-checkboxset-label\" [ngClass]=\"{'disabled':disabled || readonly}\" [title]=\"item.label\">\n <input [name]=\"'checkboxset_' + widgetId\" type=\"checkbox\" aria-label=\"checkbox group\"\n [tabindex]=\"tabindex\"\n [disabled]=\"disabled || readonly\" [attr.data-attr-index]=\"i\"\n [value]=\"item.key\" [tabindex]=\"tabindex\" [checked]=\"item.selected\"/>\n <span class=\"caption\" [textContent]=\"item.label\"></span>\n </label>\n <!-- Custom partial template -->\n <label *ngIf=\"content\" class=\"app-checkboxset-label\" [ngClass]=\"{'disabled':disabled || readonly}\" >\n <input [name]=\"'checkboxset_' + widgetId\" type=\"checkbox\" aria-label=\"checkbox group\"\n [tabindex]=\"tabindex\"\n [disabled]=\"disabled || readonly\" [attr.data-attr-index]=\"i\"\n [value]=\"item.key\" [tabindex]=\"tabindex\" [checked]=\"item.selected\"/>\n <span class=\"caption\" partial-container-target></span>\n </label>\n </li>\n </ul>\n </li>\n</ng-template>\n" }]
|
|
1108
|
-
}],
|
|
1134
|
+
}], () => [{ type: i0__namespace.Injector }, { type: undefined, decorators: [{
|
|
1135
|
+
type: i0.Inject,
|
|
1136
|
+
args: ['EXPLICIT_CONTEXT']
|
|
1137
|
+
}, {
|
|
1138
|
+
type: i0.Optional
|
|
1139
|
+
}] }], { onKeyDown: [{
|
|
1109
1140
|
type: i0.HostListener,
|
|
1110
1141
|
args: ['keydown.enter', ['$event', '"ENTER"']]
|
|
1111
1142
|
}] }); })();
|
|
1143
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassDebugInfo(CheckboxsetComponent, { className: "CheckboxsetComponent", filePath: "checkboxset/checkboxset.component.ts", lineNumber: 27 }); })();
|
|
1112
1144
|
|
|
1113
1145
|
const registerProps$a = () => {
|
|
1114
1146
|
i2.register('wm-form-group', new Map([
|
|
@@ -1132,8 +1164,8 @@
|
|
|
1132
1164
|
};
|
|
1133
1165
|
class CompositeDirective extends i2.StylableComponent {
|
|
1134
1166
|
static { this.initializeProps = registerProps$a(); }
|
|
1135
|
-
constructor(inj) {
|
|
1136
|
-
super(inj, WIDGET_CONFIG$a);
|
|
1167
|
+
constructor(inj, explicitContext) {
|
|
1168
|
+
super(inj, WIDGET_CONFIG$a, explicitContext);
|
|
1137
1169
|
i2.styler(this.nativeElement, this, i2.APPLY_STYLES_TYPE.CONTAINER);
|
|
1138
1170
|
}
|
|
1139
1171
|
/**
|
|
@@ -1169,7 +1201,7 @@
|
|
|
1169
1201
|
i1$1.addForIdAttributes(this.nativeElement);
|
|
1170
1202
|
this.assignRequiredToSubComponents();
|
|
1171
1203
|
}
|
|
1172
|
-
static { this.ɵfac = function CompositeDirective_Factory(t) { return new (t || CompositeDirective)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector)); }; }
|
|
1204
|
+
static { this.ɵfac = function CompositeDirective_Factory(t) { return new (t || CompositeDirective)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵdirectiveInject('EXPLICIT_CONTEXT', 8)); }; }
|
|
1173
1205
|
static { this.ɵdir = /*@__PURE__*/ i0__namespace.ɵɵdefineDirective({ type: CompositeDirective, selectors: [["div", "wmComposite", ""]], contentQueries: function CompositeDirective_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {
|
|
1174
1206
|
i0__namespace.ɵɵcontentQuery(dirIndex, i2.WidgetRef, 5);
|
|
1175
1207
|
} if (rf & 2) {
|
|
@@ -1179,7 +1211,7 @@
|
|
|
1179
1211
|
i2.provideAsWidgetRef(CompositeDirective)
|
|
1180
1212
|
]), i0__namespace.ɵɵInheritDefinitionFeature] }); }
|
|
1181
1213
|
}
|
|
1182
|
-
(
|
|
1214
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(CompositeDirective, [{
|
|
1183
1215
|
type: i0.Directive,
|
|
1184
1216
|
args: [{
|
|
1185
1217
|
selector: 'div[wmComposite]',
|
|
@@ -1187,7 +1219,12 @@
|
|
|
1187
1219
|
i2.provideAsWidgetRef(CompositeDirective)
|
|
1188
1220
|
]
|
|
1189
1221
|
}]
|
|
1190
|
-
}],
|
|
1222
|
+
}], () => [{ type: i0__namespace.Injector }, { type: undefined, decorators: [{
|
|
1223
|
+
type: i0.Inject,
|
|
1224
|
+
args: ['EXPLICIT_CONTEXT']
|
|
1225
|
+
}, {
|
|
1226
|
+
type: i0.Optional
|
|
1227
|
+
}] }], { componentRefs: [{
|
|
1191
1228
|
type: i0.ContentChildren,
|
|
1192
1229
|
args: [i2.WidgetRef, { descendants: true }]
|
|
1193
1230
|
}] }); })();
|
|
@@ -1252,7 +1289,7 @@
|
|
|
1252
1289
|
}
|
|
1253
1290
|
// invoke the change callback
|
|
1254
1291
|
handleChange(newValue) {
|
|
1255
|
-
if (this.autotrim && this.datavalue &&
|
|
1292
|
+
if (this.autotrim && this.datavalue && lodashEs.isString(this.datavalue)) {
|
|
1256
1293
|
this.datavalue = this.datavalue.trim();
|
|
1257
1294
|
}
|
|
1258
1295
|
this.invokeOnChange(this.datavalue, { type: 'change' }, this.ngModel.valid);
|
|
@@ -1270,7 +1307,7 @@
|
|
|
1270
1307
|
// Update the model on enter key press
|
|
1271
1308
|
flushViewChanges(val) {
|
|
1272
1309
|
// when val contains masked value, update the model with unmasked value
|
|
1273
|
-
const unMaskedVal =
|
|
1310
|
+
const unMaskedVal = lodashEs.get(this.imask, 'maskRef.unmaskedValue');
|
|
1274
1311
|
val = unMaskedVal ? unMaskedVal : val;
|
|
1275
1312
|
this.ngModel.update.next(val);
|
|
1276
1313
|
i1$1.$appDigest();
|
|
@@ -1283,30 +1320,36 @@
|
|
|
1283
1320
|
}
|
|
1284
1321
|
i2.styler(this.inputEl.nativeElement, this);
|
|
1285
1322
|
}
|
|
1286
|
-
constructor(inj, config) {
|
|
1287
|
-
super(inj, config);
|
|
1323
|
+
constructor(inj, config, explicitContext) {
|
|
1324
|
+
super(inj, config, explicitContext);
|
|
1288
1325
|
// possible values for ngModelOptions are 'blur' and 'change'
|
|
1289
1326
|
// default is 'blur'
|
|
1290
1327
|
this.ngModelOptions = {
|
|
1291
|
-
updateOn: ''
|
|
1328
|
+
updateOn: '',
|
|
1329
|
+
standalone: true
|
|
1292
1330
|
};
|
|
1293
1331
|
let updateOn = this.nativeElement.getAttribute('updateon') || 'blur';
|
|
1294
1332
|
updateOn = updateOn === 'default' ? 'change' : updateOn;
|
|
1295
1333
|
this.ngModelOptions.updateOn = updateOn;
|
|
1296
1334
|
}
|
|
1297
|
-
static { this.ɵfac = function BaseInput_Factory(t) { return new (t || BaseInput)(i0__namespace.ɵɵinject(i0__namespace.Injector), i0__namespace.ɵɵinject(i2.WidgetConfig)); }; }
|
|
1335
|
+
static { this.ɵfac = function BaseInput_Factory(t) { return new (t || BaseInput)(i0__namespace.ɵɵinject(i0__namespace.Injector), i0__namespace.ɵɵinject(i2.WidgetConfig), i0__namespace.ɵɵinject('EXPLICIT_CONTEXT', 8)); }; }
|
|
1298
1336
|
static { this.ɵprov = /*@__PURE__*/ i0__namespace.ɵɵdefineInjectable({ token: BaseInput, factory: BaseInput.ɵfac }); }
|
|
1299
1337
|
}
|
|
1300
|
-
(
|
|
1338
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(BaseInput, [{
|
|
1301
1339
|
type: i0.Injectable
|
|
1302
|
-
}],
|
|
1340
|
+
}], () => [{ type: i0__namespace.Injector }, { type: undefined, decorators: [{
|
|
1303
1341
|
type: i0.Inject,
|
|
1304
1342
|
args: [i2.WidgetConfig]
|
|
1305
|
-
}] }
|
|
1343
|
+
}] }, { type: undefined, decorators: [{
|
|
1344
|
+
type: i0.Inject,
|
|
1345
|
+
args: ['EXPLICIT_CONTEXT']
|
|
1346
|
+
}, {
|
|
1347
|
+
type: i0.Optional
|
|
1348
|
+
}] }], null); })();
|
|
1306
1349
|
|
|
1307
|
-
class NumberLocale extends BaseInput {
|
|
1308
|
-
constructor(inj, config, i18nService, trailingZeroDecimalPipe) {
|
|
1309
|
-
super(inj, config);
|
|
1350
|
+
exports.NumberLocale = class NumberLocale extends BaseInput {
|
|
1351
|
+
constructor(inj, config, i18nService, trailingZeroDecimalPipe, explicitContext) {
|
|
1352
|
+
super(inj, config, explicitContext);
|
|
1310
1353
|
this.i18nService = i18nService;
|
|
1311
1354
|
this.trailingZeroDecimalPipe = trailingZeroDecimalPipe;
|
|
1312
1355
|
this.isDefaultQuery = true;
|
|
@@ -1322,7 +1365,8 @@
|
|
|
1322
1365
|
set datavalue(value) {
|
|
1323
1366
|
this.lastValIsDecimal = false;
|
|
1324
1367
|
// set text value to null if data value is empty.
|
|
1325
|
-
|
|
1368
|
+
// @ts-ignore
|
|
1369
|
+
if (lodashEs.includes([null, undefined, ''], value)) {
|
|
1326
1370
|
const input = this.inputEl.nativeElement;
|
|
1327
1371
|
const prevDataValue = this.prevDatavalue;
|
|
1328
1372
|
this.displayValue = input.value = this.proxyModel = null;
|
|
@@ -1335,8 +1379,8 @@
|
|
|
1335
1379
|
}
|
|
1336
1380
|
// if the widget has default value and if we change the locale, the value should be in selected locale format.
|
|
1337
1381
|
if (this.isDefaultQuery) {
|
|
1338
|
-
const isLocalizedNumber =
|
|
1339
|
-
const parts = isLocalizedNumber ? value.split(this.DECIMAL) :
|
|
1382
|
+
const isLocalizedNumber = lodashEs.isString(value) && lodashEs.includes(value, this.DECIMAL);
|
|
1383
|
+
const parts = isLocalizedNumber ? value.split(this.DECIMAL) : lodashEs.isString(value) && value.split('.');
|
|
1340
1384
|
this.decimalValue = parts[1] || '';
|
|
1341
1385
|
value = isLocalizedNumber ? value : this.transformNumber(value);
|
|
1342
1386
|
}
|
|
@@ -1351,7 +1395,7 @@
|
|
|
1351
1395
|
model = NaN;
|
|
1352
1396
|
}
|
|
1353
1397
|
// On keypress, if the user types a decimal and is still active on the input do not throw error.
|
|
1354
|
-
if (
|
|
1398
|
+
if (isNaN(model) && strVal[strVal.length - 1] === this.DECIMAL && this.ngModelOptions.updateOn === 'change' && this.$element.find('input:focus').length) {
|
|
1355
1399
|
this.lastValIsDecimal = true;
|
|
1356
1400
|
}
|
|
1357
1401
|
// get a valid number form the text.
|
|
@@ -1387,7 +1431,7 @@
|
|
|
1387
1431
|
*/
|
|
1388
1432
|
isValid(val) {
|
|
1389
1433
|
// id number is infinite then consider it as invalid value
|
|
1390
|
-
if (
|
|
1434
|
+
if (isNaN(val) || !isFinite(val) || (!Number.isInteger(this.step) &&
|
|
1391
1435
|
this.countDecimals(val) > this.countDecimals(this.step))) {
|
|
1392
1436
|
this.isInvalidNumber = true;
|
|
1393
1437
|
return false;
|
|
@@ -1405,11 +1449,11 @@
|
|
|
1405
1449
|
* @returns {number}
|
|
1406
1450
|
*/
|
|
1407
1451
|
getValueInRange(value) {
|
|
1408
|
-
if (!
|
|
1452
|
+
if (!isNaN(this.minvalue) && value < this.minvalue) {
|
|
1409
1453
|
this.validateType = 'minvalue';
|
|
1410
1454
|
return this.minvalue;
|
|
1411
1455
|
}
|
|
1412
|
-
if (!
|
|
1456
|
+
if (!isNaN(this.maxvalue) && value > this.maxvalue) {
|
|
1413
1457
|
this.validateType = 'maxvalue';
|
|
1414
1458
|
return this.maxvalue;
|
|
1415
1459
|
}
|
|
@@ -1538,7 +1582,7 @@
|
|
|
1538
1582
|
const valInWholeNum = parseInt(value.toString().replace(/\D/g, ''));
|
|
1539
1583
|
financialVal = valInWholeNum * this.step;
|
|
1540
1584
|
}
|
|
1541
|
-
if (!
|
|
1585
|
+
if (!isNaN(financialVal)) {
|
|
1542
1586
|
// When update on key is set keypress, update the datavalue else update only the display value
|
|
1543
1587
|
if (this.ngModelOptions.updateOn === 'change') {
|
|
1544
1588
|
this.datavalue = parseFloat(financialVal.toFixed(stepVal));
|
|
@@ -1598,7 +1642,7 @@
|
|
|
1598
1642
|
const targetVal = $event.target.value.replace(/,/g, '');
|
|
1599
1643
|
// proxyModel to be updated from $event.target.value if present to support arrow keys when input changes else pick up from this.proxymodel
|
|
1600
1644
|
let proxyModel;
|
|
1601
|
-
if (targetVal && !
|
|
1645
|
+
if (targetVal && !isNaN(parseFloat(targetVal))) {
|
|
1602
1646
|
proxyModel = parseFloat(targetVal);
|
|
1603
1647
|
}
|
|
1604
1648
|
else {
|
|
@@ -1609,14 +1653,14 @@
|
|
|
1609
1653
|
if (this.numberNotInRange) {
|
|
1610
1654
|
const inputValue = this.parseNumber(this.inputEl.nativeElement.value);
|
|
1611
1655
|
// take the textbox value as current model if the value is valid.
|
|
1612
|
-
if (!
|
|
1656
|
+
if (!isNaN(inputValue)) {
|
|
1613
1657
|
value = this.getValueInRange(inputValue);
|
|
1614
1658
|
proxyModel = inputValue;
|
|
1615
1659
|
this.resetValidations();
|
|
1616
1660
|
}
|
|
1617
1661
|
}
|
|
1618
1662
|
else {
|
|
1619
|
-
if (
|
|
1663
|
+
if (lodashEs.isUndefined(proxyModel) || lodashEs.isNull(proxyModel)) {
|
|
1620
1664
|
proxyModel = value = this.getValueInRange((this.minvalue || 0));
|
|
1621
1665
|
this.resetValidations();
|
|
1622
1666
|
}
|
|
@@ -1627,7 +1671,7 @@
|
|
|
1627
1671
|
if ((key === 'UP' && proxyModel <= value) || (key === 'DOWN' && proxyModel >= value)) {
|
|
1628
1672
|
const decimalRoundValue = Math.max(this.countDecimals(proxyModel), this.countDecimals(this.step));
|
|
1629
1673
|
// update the modelProxy.
|
|
1630
|
-
this.proxyModel =
|
|
1674
|
+
this.proxyModel = lodashEs.round(value, decimalRoundValue);
|
|
1631
1675
|
this.updateDisplayText();
|
|
1632
1676
|
this.handleChange(this.proxyModel);
|
|
1633
1677
|
}
|
|
@@ -1662,7 +1706,7 @@
|
|
|
1662
1706
|
validateInputEntry($event) {
|
|
1663
1707
|
this.isDefaultQuery = false;
|
|
1664
1708
|
// allow actions if control key is pressed or if backspace is pressed. (for Mozilla).
|
|
1665
|
-
if ($event.ctrlKey ||
|
|
1709
|
+
if ($event.ctrlKey || lodashEs.includes(['Backspace', 'ArrowRight', 'ArrowLeft', 'Tab', 'Enter', 'Delete'], $event.key)) {
|
|
1666
1710
|
return;
|
|
1667
1711
|
}
|
|
1668
1712
|
const validity = new RegExp(`^[\\d\\s-,.e+${this.GROUP}${this.DECIMAL}]$`, 'i');
|
|
@@ -1693,18 +1737,18 @@
|
|
|
1693
1737
|
return false;
|
|
1694
1738
|
}
|
|
1695
1739
|
// comma cannot be entered consecutively
|
|
1696
|
-
if (
|
|
1740
|
+
if (lodashEs.includes(inputValue, ',') && inputValue[inputValue.length - 1] === ',' && $event.key === ',') {
|
|
1697
1741
|
return false;
|
|
1698
1742
|
}
|
|
1699
1743
|
// a decimal value can be entered only once in the input.
|
|
1700
|
-
if (
|
|
1744
|
+
if (lodashEs.includes(inputValue, this.DECIMAL) && $event.key === this.DECIMAL) {
|
|
1701
1745
|
return false;
|
|
1702
1746
|
}
|
|
1703
1747
|
// 'e' can be entered only once in the input.
|
|
1704
|
-
if (
|
|
1748
|
+
if (lodashEs.intersection(lodashEs.toArray(inputValue), ['e', 'E']).length && lodashEs.includes('eE', $event.key)) {
|
|
1705
1749
|
return false;
|
|
1706
1750
|
}
|
|
1707
|
-
if ((
|
|
1751
|
+
if ((lodashEs.includes(inputValue, '+') || lodashEs.includes(inputValue, '-')) && ($event.key === '+' || $event.key === '-')) {
|
|
1708
1752
|
return false;
|
|
1709
1753
|
}
|
|
1710
1754
|
// Do not allow user to enter only space without any input value
|
|
@@ -1739,7 +1783,13 @@
|
|
|
1739
1783
|
super.onPropertyChange(key, nv, ov);
|
|
1740
1784
|
}
|
|
1741
1785
|
}
|
|
1742
|
-
}
|
|
1786
|
+
};
|
|
1787
|
+
exports.NumberLocale = tslib.__decorate([
|
|
1788
|
+
tslib.__param(4, i0.Inject('EXPLICIT_CONTEXT')),
|
|
1789
|
+
tslib.__param(4, i0.Optional()),
|
|
1790
|
+
tslib.__metadata("design:paramtypes", [i0.Injector, Object, i1$1.AbstractI18nService,
|
|
1791
|
+
i2.TrailingZeroDecimalPipe, Object])
|
|
1792
|
+
], exports.NumberLocale);
|
|
1743
1793
|
|
|
1744
1794
|
const _c0$9 = ["input"];
|
|
1745
1795
|
const _c1$8 = ["wmNumber", ""];
|
|
@@ -1747,12 +1797,12 @@
|
|
|
1747
1797
|
widgetType: 'wm-number',
|
|
1748
1798
|
hostClass: 'app-input-wrapper'
|
|
1749
1799
|
};
|
|
1750
|
-
class NumberComponent extends NumberLocale {
|
|
1800
|
+
class NumberComponent extends exports.NumberLocale {
|
|
1751
1801
|
static { this.initializeProps = registerProps$9(); }
|
|
1752
|
-
constructor(inj, i18nService, trailingZeroDecimalPipe) {
|
|
1753
|
-
super(inj, WIDGET_CONFIG$9, i18nService, trailingZeroDecimalPipe);
|
|
1802
|
+
constructor(inj, i18nService, trailingZeroDecimalPipe, explicitContext) {
|
|
1803
|
+
super(inj, WIDGET_CONFIG$9, i18nService, trailingZeroDecimalPipe, explicitContext);
|
|
1754
1804
|
}
|
|
1755
|
-
static { this.ɵfac = function NumberComponent_Factory(t) { return new (t || NumberComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵdirectiveInject(i1$1__namespace.AbstractI18nService), i0__namespace.ɵɵdirectiveInject(i2__namespace.TrailingZeroDecimalPipe)); }; }
|
|
1805
|
+
static { this.ɵfac = function NumberComponent_Factory(t) { return new (t || NumberComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵdirectiveInject(i1$1__namespace.AbstractI18nService), i0__namespace.ɵɵdirectiveInject(i2__namespace.TrailingZeroDecimalPipe), i0__namespace.ɵɵdirectiveInject('EXPLICIT_CONTEXT', 8)); }; }
|
|
1756
1806
|
static { this.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: NumberComponent, selectors: [["", "wmNumber", ""]], viewQuery: function NumberComponent_Query(rf, ctx) { if (rf & 1) {
|
|
1757
1807
|
i0__namespace.ɵɵviewQuery(_c0$9, 7);
|
|
1758
1808
|
i0__namespace.ɵɵviewQuery(i2$1.NgModel, 7);
|
|
@@ -1764,29 +1814,36 @@
|
|
|
1764
1814
|
i2.provideAs(NumberComponent, i2$1.NG_VALUE_ACCESSOR, true),
|
|
1765
1815
|
i2.provideAs(NumberComponent, i2$1.NG_VALIDATORS, true),
|
|
1766
1816
|
i2.provideAsWidgetRef(NumberComponent)
|
|
1767
|
-
]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c1$8, decls: 2, vars: 14, consts: [["inputmode", "decimal", "focus-target", "", "role", "textbox", "type", "text", 1, "form-control", "app-textbox", "app-number-input", 3, "
|
|
1768
|
-
i0__namespace.ɵɵ
|
|
1769
|
-
i0__namespace.ɵɵ
|
|
1817
|
+
]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c1$8, decls: 2, vars: 14, consts: [["input", ""], ["inputmode", "decimal", "focus-target", "", "role", "textbox", "type", "text", 1, "form-control", "app-textbox", "app-number-input", 3, "ngModelChange", "blur", "focus", "input", "keypress", "keydown.backspace", "keydown.enter", "keydown.ArrowUp", "keydown.ArrowDown", "ngModel", "readonly", "disabled", "pattern", "autofocus", "ngClass", "ngStyle", "ngModelOptions", "required"]], template: function NumberComponent_Template(rf, ctx) { if (rf & 1) {
|
|
1818
|
+
const _r1 = i0__namespace.ɵɵgetCurrentView();
|
|
1819
|
+
i0__namespace.ɵɵelementStart(0, "input", 1, 0);
|
|
1820
|
+
i0__namespace.ɵɵlistener("ngModelChange", function NumberComponent_Template_input_ngModelChange_0_listener($event) { i0__namespace.ɵɵrestoreView(_r1); return i0__namespace.ɵɵresetView(ctx.onModelChange($event)); })("blur", function NumberComponent_Template_input_blur_0_listener($event) { i0__namespace.ɵɵrestoreView(_r1); ctx.handleBlur($event); return i0__namespace.ɵɵresetView(ctx.checkForTrailingZeros($event)); })("focus", function NumberComponent_Template_input_focus_0_listener($event) { i0__namespace.ɵɵrestoreView(_r1); return i0__namespace.ɵɵresetView(ctx.checkForTrailingZeros($event)); })("input", function NumberComponent_Template_input_input_0_listener($event) { i0__namespace.ɵɵrestoreView(_r1); return i0__namespace.ɵɵresetView(ctx.onInputChange($event.target.value)); })("keypress", function NumberComponent_Template_input_keypress_0_listener($event) { i0__namespace.ɵɵrestoreView(_r1); return i0__namespace.ɵɵresetView(ctx.validateInputEntry($event)); })("keydown.backspace", function NumberComponent_Template_input_keydown_backspace_0_listener($event) { i0__namespace.ɵɵrestoreView(_r1); return i0__namespace.ɵɵresetView(ctx.onBackspace($event)); })("keydown.enter", function NumberComponent_Template_input_keydown_enter_0_listener($event) { i0__namespace.ɵɵrestoreView(_r1); return i0__namespace.ɵɵresetView(ctx.onEnter($event)); })("keydown.ArrowUp", function NumberComponent_Template_input_keydown_ArrowUp_0_listener($event) { i0__namespace.ɵɵrestoreView(_r1); return i0__namespace.ɵɵresetView(ctx.onArrowPress($event, "UP")); })("keydown.ArrowDown", function NumberComponent_Template_input_keydown_ArrowDown_0_listener($event) { i0__namespace.ɵɵrestoreView(_r1); return i0__namespace.ɵɵresetView(ctx.onArrowPress($event, "DOWN")); });
|
|
1770
1821
|
i0__namespace.ɵɵelementEnd();
|
|
1771
1822
|
} if (rf & 2) {
|
|
1772
1823
|
i0__namespace.ɵɵproperty("ngModel", ctx.displayValue)("readonly", ctx.readonly)("disabled", ctx.disabled)("pattern", ctx.regexp)("autofocus", ctx.autofocus)("ngClass", ctx.conditionalclass)("ngStyle", ctx.conditionalstyle)("ngModelOptions", ctx.ngModelOptions)("required", ctx.required);
|
|
1773
1824
|
i0__namespace.ɵɵattribute("name", ctx.name)("tabindex", ctx.tabindex)("placeholder", ctx.placeholder)("accesskey", ctx.shortcutkey)("aria-label", ctx.hint);
|
|
1774
1825
|
} }, dependencies: [i1__namespace.NgClass, i1__namespace.NgStyle, i2$1__namespace.DefaultValueAccessor, i2$1__namespace.NgControlStatus, i2$1__namespace.RequiredValidator, i2$1__namespace.PatternValidator, i2$1__namespace.NgModel], encapsulation: 2 }); }
|
|
1775
1826
|
}
|
|
1776
|
-
(
|
|
1827
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(NumberComponent, [{
|
|
1777
1828
|
type: i0.Component,
|
|
1778
1829
|
args: [{ selector: '[wmNumber]', providers: [
|
|
1779
1830
|
i2.provideAs(NumberComponent, i2$1.NG_VALUE_ACCESSOR, true),
|
|
1780
1831
|
i2.provideAs(NumberComponent, i2$1.NG_VALIDATORS, true),
|
|
1781
1832
|
i2.provideAsWidgetRef(NumberComponent)
|
|
1782
1833
|
], template: "<input class=\"form-control app-textbox app-number-input\"\n inputmode=\"decimal\"\n focus-target\n [attr.name]=\"name\"\n role=\"textbox\"\n type=\"text\"\n [ngModel]=\"displayValue\"\n [readonly]=\"readonly\"\n [disabled]=\"disabled\"\n [pattern]=\"regexp\"\n [attr.tabindex]=\"tabindex\"\n [attr.placeholder]=\"placeholder\"\n [attr.accesskey]=\"shortcutkey\"\n [attr.aria-label]=\"hint\"\n [autofocus]=\"autofocus\"\n [ngClass]=\"conditionalclass\"\n [ngStyle]=\"conditionalstyle\"\n (ngModelChange)=\"onModelChange($event)\"\n (blur)=\"handleBlur($event); checkForTrailingZeros($event);\"\n (focus)=\"checkForTrailingZeros($event)\"\n (input)=\"onInputChange($event.target.value)\"\n [ngModelOptions]=\"ngModelOptions\"\n [required]=\"required\"\n (keypress)=\"validateInputEntry($event)\"\n (keydown.backspace)=\"onBackspace($event)\"\n (keydown.enter)=\"onEnter($event)\"\n (keydown.ArrowUp)=\"onArrowPress($event, 'UP')\"\n (keydown.ArrowDown)=\"onArrowPress($event, 'DOWN')\"\n #input>\n" }]
|
|
1783
|
-
}],
|
|
1834
|
+
}], () => [{ type: i0__namespace.Injector }, { type: i1$1__namespace.AbstractI18nService }, { type: i2__namespace.TrailingZeroDecimalPipe }, { type: undefined, decorators: [{
|
|
1835
|
+
type: i0.Inject,
|
|
1836
|
+
args: ['EXPLICIT_CONTEXT']
|
|
1837
|
+
}, {
|
|
1838
|
+
type: i0.Optional
|
|
1839
|
+
}] }], { inputEl: [{
|
|
1784
1840
|
type: i0.ViewChild,
|
|
1785
1841
|
args: ['input', { static: true }]
|
|
1786
1842
|
}], ngModel: [{
|
|
1787
1843
|
type: i0.ViewChild,
|
|
1788
1844
|
args: [i2$1.NgModel, { static: true }]
|
|
1789
1845
|
}] }); })();
|
|
1846
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassDebugInfo(NumberComponent, { className: "NumberComponent", filePath: "number/number.component.ts", lineNumber: 24 }); })();
|
|
1790
1847
|
|
|
1791
1848
|
const radiosetProps = new Map([
|
|
1792
1849
|
['class', i2.PROP_STRING],
|
|
@@ -1822,60 +1879,61 @@
|
|
|
1822
1879
|
};
|
|
1823
1880
|
|
|
1824
1881
|
const _c0$8 = ["wmRadioset", ""];
|
|
1825
|
-
const _c1$7 =
|
|
1882
|
+
const _c1$7 = (a0, a1) => ["radio", "app-radio", a0, a1];
|
|
1883
|
+
const _c2$5 = a0 => ({ "disabled": a0 });
|
|
1884
|
+
const _c3 = a0 => ({ "collapsible-content": a0 });
|
|
1885
|
+
const _c4 = (a0, a1) => ["radio", "app-radio", "group-list-item", a0, a1];
|
|
1826
1886
|
function RadiosetComponent_ng_template_0_li_0_label_1_Template(rf, ctx) { if (rf & 1) {
|
|
1827
1887
|
i0__namespace.ɵɵelementStart(0, "label", 7);
|
|
1828
1888
|
i0__namespace.ɵɵelement(1, "input", 8)(2, "span", 9);
|
|
1829
1889
|
i0__namespace.ɵɵelementEnd();
|
|
1830
1890
|
} if (rf & 2) {
|
|
1831
|
-
const
|
|
1832
|
-
const
|
|
1833
|
-
const
|
|
1834
|
-
const
|
|
1835
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(10,
|
|
1836
|
-
i0__namespace.ɵɵadvance(
|
|
1837
|
-
i0__namespace.ɵɵproperty("name", "radioset_" +
|
|
1838
|
-
i0__namespace.ɵɵattribute("aria-checked",
|
|
1839
|
-
i0__namespace.ɵɵadvance(
|
|
1840
|
-
i0__namespace.ɵɵproperty("textContent",
|
|
1891
|
+
const ctx_r3 = i0__namespace.ɵɵnextContext();
|
|
1892
|
+
const item_r2 = ctx_r3.$implicit;
|
|
1893
|
+
const i_r5 = ctx_r3.index;
|
|
1894
|
+
const ctx_r2 = i0__namespace.ɵɵnextContext(2);
|
|
1895
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(10, _c2$5, ctx_r2.disabled || ctx_r2.readonly));
|
|
1896
|
+
i0__namespace.ɵɵadvance();
|
|
1897
|
+
i0__namespace.ɵɵproperty("name", "radioset_" + ctx_r2.widgetId)("value", item_r2.key)("disabled", ctx_r2.disabled || ctx_r2.readonly)("tabindex", ctx_r2.tabindex)("checked", item_r2.selected);
|
|
1898
|
+
i0__namespace.ɵɵattribute("aria-checked", item_r2.selected)("data-attr-index", i_r5)("aria-label", item_r2.key);
|
|
1899
|
+
i0__namespace.ɵɵadvance();
|
|
1900
|
+
i0__namespace.ɵɵproperty("textContent", item_r2.label);
|
|
1841
1901
|
} }
|
|
1842
1902
|
function RadiosetComponent_ng_template_0_li_0_label_2_Template(rf, ctx) { if (rf & 1) {
|
|
1843
1903
|
i0__namespace.ɵɵelementStart(0, "label", 7);
|
|
1844
1904
|
i0__namespace.ɵɵelement(1, "input", 8)(2, "span", 10);
|
|
1845
1905
|
i0__namespace.ɵɵelementEnd();
|
|
1846
1906
|
} if (rf & 2) {
|
|
1847
|
-
const
|
|
1848
|
-
const
|
|
1849
|
-
const
|
|
1850
|
-
const
|
|
1851
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(9,
|
|
1852
|
-
i0__namespace.ɵɵadvance(
|
|
1853
|
-
i0__namespace.ɵɵproperty("name", "radioset_" +
|
|
1854
|
-
i0__namespace.ɵɵattribute("aria-checked",
|
|
1907
|
+
const ctx_r3 = i0__namespace.ɵɵnextContext();
|
|
1908
|
+
const item_r2 = ctx_r3.$implicit;
|
|
1909
|
+
const i_r5 = ctx_r3.index;
|
|
1910
|
+
const ctx_r2 = i0__namespace.ɵɵnextContext(2);
|
|
1911
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(9, _c2$5, ctx_r2.disabled || ctx_r2.readonly));
|
|
1912
|
+
i0__namespace.ɵɵadvance();
|
|
1913
|
+
i0__namespace.ɵɵproperty("name", "radioset_" + ctx_r2.widgetId)("value", item_r2.key)("disabled", ctx_r2.disabled || ctx_r2.readonly)("tabindex", ctx_r2.tabindex)("checked", item_r2.selected);
|
|
1914
|
+
i0__namespace.ɵɵattribute("aria-checked", item_r2.selected)("data-attr-index", i_r5)("aria-label", item_r2.key);
|
|
1855
1915
|
} }
|
|
1856
|
-
const _c2$2 = function (a2, a3) { return ["radio", "app-radio", a2, a3]; };
|
|
1857
1916
|
function RadiosetComponent_ng_template_0_li_0_Template(rf, ctx) { if (rf & 1) {
|
|
1858
|
-
const
|
|
1917
|
+
const _r1 = i0__namespace.ɵɵgetCurrentView();
|
|
1859
1918
|
i0__namespace.ɵɵelementStart(0, "li", 5);
|
|
1860
|
-
i0__namespace.ɵɵlistener("click", function RadiosetComponent_ng_template_0_li_0_Template_li_click_0_listener($event) { const
|
|
1861
|
-
i0__namespace.ɵɵtemplate(1, RadiosetComponent_ng_template_0_li_0_label_1_Template, 3, 12, "label", 6);
|
|
1862
|
-
i0__namespace.ɵɵtemplate(2, RadiosetComponent_ng_template_0_li_0_label_2_Template, 3, 11, "label", 6);
|
|
1919
|
+
i0__namespace.ɵɵlistener("click", function RadiosetComponent_ng_template_0_li_0_Template_li_click_0_listener($event) { const item_r2 = i0__namespace.ɵɵrestoreView(_r1).$implicit; const ctx_r2 = i0__namespace.ɵɵnextContext(2); return i0__namespace.ɵɵresetView(ctx_r2.onRadioLabelClick($event, item_r2.key)); });
|
|
1920
|
+
i0__namespace.ɵɵtemplate(1, RadiosetComponent_ng_template_0_li_0_label_1_Template, 3, 12, "label", 6)(2, RadiosetComponent_ng_template_0_li_0_label_2_Template, 3, 11, "label", 6);
|
|
1863
1921
|
i0__namespace.ɵɵelementEnd();
|
|
1864
1922
|
} if (rf & 2) {
|
|
1865
|
-
const
|
|
1866
|
-
const
|
|
1867
|
-
i0__namespace.ɵɵclassProp("active",
|
|
1868
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction2(7,
|
|
1869
|
-
i0__namespace.ɵɵadvance(
|
|
1870
|
-
i0__namespace.ɵɵproperty("ngIf", !
|
|
1871
|
-
i0__namespace.ɵɵadvance(
|
|
1872
|
-
i0__namespace.ɵɵproperty("ngIf",
|
|
1923
|
+
const item_r2 = ctx.$implicit;
|
|
1924
|
+
const ctx_r2 = i0__namespace.ɵɵnextContext(2);
|
|
1925
|
+
i0__namespace.ɵɵclassProp("active", item_r2.selected);
|
|
1926
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction2(7, _c1$7, ctx_r2.itemclass, ctx_r2.itemsPerRowClass))("wmItemTemplate", ctx_r2.content)("userComponentParams", item_r2);
|
|
1927
|
+
i0__namespace.ɵɵadvance();
|
|
1928
|
+
i0__namespace.ɵɵproperty("ngIf", !ctx_r2.content);
|
|
1929
|
+
i0__namespace.ɵɵadvance();
|
|
1930
|
+
i0__namespace.ɵɵproperty("ngIf", ctx_r2.content);
|
|
1873
1931
|
} }
|
|
1874
1932
|
function RadiosetComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {
|
|
1875
1933
|
i0__namespace.ɵɵtemplate(0, RadiosetComponent_ng_template_0_li_0_Template, 3, 10, "li", 4);
|
|
1876
1934
|
} if (rf & 2) {
|
|
1877
|
-
const
|
|
1878
|
-
i0__namespace.ɵɵproperty("ngForOf",
|
|
1935
|
+
const ctx_r2 = i0__namespace.ɵɵnextContext();
|
|
1936
|
+
i0__namespace.ɵɵproperty("ngForOf", ctx_r2.datasetItems);
|
|
1879
1937
|
} }
|
|
1880
1938
|
function RadiosetComponent_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
1881
1939
|
i0__namespace.ɵɵelement(0, "div", 11);
|
|
@@ -1883,102 +1941,98 @@
|
|
|
1883
1941
|
function RadiosetComponent_ng_template_3_li_0_i_6_Template(rf, ctx) { if (rf & 1) {
|
|
1884
1942
|
i0__namespace.ɵɵelement(0, "i", 21);
|
|
1885
1943
|
} if (rf & 2) {
|
|
1886
|
-
const
|
|
1887
|
-
i0__namespace.ɵɵpropertyInterpolate2("title", "",
|
|
1944
|
+
const ctx_r2 = i0__namespace.ɵɵnextContext(3);
|
|
1945
|
+
i0__namespace.ɵɵpropertyInterpolate2("title", "", ctx_r2.appLocale.LABEL_COLLAPSE, "/", ctx_r2.appLocale.LABEL_EXPAND, "");
|
|
1888
1946
|
} }
|
|
1889
1947
|
function RadiosetComponent_ng_template_3_li_0_span_7_Template(rf, ctx) { if (rf & 1) {
|
|
1890
1948
|
i0__namespace.ɵɵelement(0, "span", 22);
|
|
1891
1949
|
} if (rf & 2) {
|
|
1892
|
-
const
|
|
1893
|
-
i0__namespace.ɵɵproperty("textContent",
|
|
1950
|
+
const groupObj_r7 = i0__namespace.ɵɵnextContext().$implicit;
|
|
1951
|
+
i0__namespace.ɵɵproperty("textContent", groupObj_r7.data.length);
|
|
1894
1952
|
} }
|
|
1895
1953
|
function RadiosetComponent_ng_template_3_li_0_li_8_label_1_Template(rf, ctx) { if (rf & 1) {
|
|
1896
1954
|
i0__namespace.ɵɵelementStart(0, "label", 7);
|
|
1897
1955
|
i0__namespace.ɵɵelement(1, "input", 8)(2, "span", 9);
|
|
1898
1956
|
i0__namespace.ɵɵelementEnd();
|
|
1899
1957
|
} if (rf & 2) {
|
|
1900
|
-
const
|
|
1901
|
-
const
|
|
1902
|
-
const
|
|
1903
|
-
const
|
|
1904
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(9,
|
|
1905
|
-
i0__namespace.ɵɵadvance(
|
|
1906
|
-
i0__namespace.ɵɵproperty("name", "radioset_" +
|
|
1907
|
-
i0__namespace.ɵɵattribute("aria-checked",
|
|
1908
|
-
i0__namespace.ɵɵadvance(
|
|
1909
|
-
i0__namespace.ɵɵproperty("textContent",
|
|
1958
|
+
const ctx_r9 = i0__namespace.ɵɵnextContext();
|
|
1959
|
+
const item_r9 = ctx_r9.$implicit;
|
|
1960
|
+
const i_r11 = ctx_r9.index;
|
|
1961
|
+
const ctx_r2 = i0__namespace.ɵɵnextContext(3);
|
|
1962
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(9, _c2$5, ctx_r2.disabled || ctx_r2.readonly));
|
|
1963
|
+
i0__namespace.ɵɵadvance();
|
|
1964
|
+
i0__namespace.ɵɵproperty("name", "radioset_" + ctx_r2.widgetId)("value", item_r9.key)("disabled", ctx_r2.disabled || ctx_r2.readonly)("tabindex", ctx_r2.tabindex)("checked", item_r9.selected);
|
|
1965
|
+
i0__namespace.ɵɵattribute("aria-checked", item_r9.selected)("data-attr-index", i_r11);
|
|
1966
|
+
i0__namespace.ɵɵadvance();
|
|
1967
|
+
i0__namespace.ɵɵproperty("textContent", item_r9.label);
|
|
1910
1968
|
} }
|
|
1911
1969
|
function RadiosetComponent_ng_template_3_li_0_li_8_label_2_Template(rf, ctx) { if (rf & 1) {
|
|
1912
1970
|
i0__namespace.ɵɵelementStart(0, "label", 7);
|
|
1913
1971
|
i0__namespace.ɵɵelement(1, "input", 8)(2, "span", 10);
|
|
1914
1972
|
i0__namespace.ɵɵelementEnd();
|
|
1915
1973
|
} if (rf & 2) {
|
|
1916
|
-
const
|
|
1917
|
-
const
|
|
1918
|
-
const
|
|
1919
|
-
const
|
|
1920
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8,
|
|
1921
|
-
i0__namespace.ɵɵadvance(
|
|
1922
|
-
i0__namespace.ɵɵproperty("name", "radioset_" +
|
|
1923
|
-
i0__namespace.ɵɵattribute("aria-checked",
|
|
1974
|
+
const ctx_r9 = i0__namespace.ɵɵnextContext();
|
|
1975
|
+
const item_r9 = ctx_r9.$implicit;
|
|
1976
|
+
const i_r11 = ctx_r9.index;
|
|
1977
|
+
const ctx_r2 = i0__namespace.ɵɵnextContext(3);
|
|
1978
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c2$5, ctx_r2.disabled || ctx_r2.readonly));
|
|
1979
|
+
i0__namespace.ɵɵadvance();
|
|
1980
|
+
i0__namespace.ɵɵproperty("name", "radioset_" + ctx_r2.widgetId)("value", item_r9.key)("disabled", ctx_r2.disabled || ctx_r2.readonly)("tabindex", ctx_r2.tabindex)("checked", item_r9.selected);
|
|
1981
|
+
i0__namespace.ɵɵattribute("aria-checked", item_r9.selected)("data-attr-index", i_r11);
|
|
1924
1982
|
} }
|
|
1925
|
-
const _c3 = function (a3, a4) { return ["radio", "app-radio", "group-list-item", a3, a4]; };
|
|
1926
1983
|
function RadiosetComponent_ng_template_3_li_0_li_8_Template(rf, ctx) { if (rf & 1) {
|
|
1927
|
-
const
|
|
1984
|
+
const _r8 = i0__namespace.ɵɵgetCurrentView();
|
|
1928
1985
|
i0__namespace.ɵɵelementStart(0, "li", 23);
|
|
1929
|
-
i0__namespace.ɵɵlistener("click", function RadiosetComponent_ng_template_3_li_0_li_8_Template_li_click_0_listener($event) { const
|
|
1930
|
-
i0__namespace.ɵɵtemplate(1, RadiosetComponent_ng_template_3_li_0_li_8_label_1_Template, 3, 11, "label", 6);
|
|
1931
|
-
i0__namespace.ɵɵtemplate(2, RadiosetComponent_ng_template_3_li_0_li_8_label_2_Template, 3, 10, "label", 6);
|
|
1986
|
+
i0__namespace.ɵɵlistener("click", function RadiosetComponent_ng_template_3_li_0_li_8_Template_li_click_0_listener($event) { const item_r9 = i0__namespace.ɵɵrestoreView(_r8).$implicit; const ctx_r2 = i0__namespace.ɵɵnextContext(3); return i0__namespace.ɵɵresetView(ctx_r2.onRadioLabelClick($event, item_r9)); });
|
|
1987
|
+
i0__namespace.ɵɵtemplate(1, RadiosetComponent_ng_template_3_li_0_li_8_label_1_Template, 3, 11, "label", 6)(2, RadiosetComponent_ng_template_3_li_0_li_8_label_2_Template, 3, 10, "label", 6);
|
|
1932
1988
|
i0__namespace.ɵɵelementEnd();
|
|
1933
1989
|
} if (rf & 2) {
|
|
1934
|
-
const
|
|
1935
|
-
const
|
|
1936
|
-
i0__namespace.ɵɵclassProp("active",
|
|
1937
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction2(7,
|
|
1938
|
-
i0__namespace.ɵɵadvance(
|
|
1939
|
-
i0__namespace.ɵɵproperty("ngIf", !
|
|
1940
|
-
i0__namespace.ɵɵadvance(
|
|
1941
|
-
i0__namespace.ɵɵproperty("ngIf",
|
|
1990
|
+
const item_r9 = ctx.$implicit;
|
|
1991
|
+
const ctx_r2 = i0__namespace.ɵɵnextContext(3);
|
|
1992
|
+
i0__namespace.ɵɵclassProp("active", item_r9.selected);
|
|
1993
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction2(7, _c4, ctx_r2.itemclass, ctx_r2.itemsPerRowClass))("wmItemTemplate", ctx_r2.content)("userComponentParams", item_r9);
|
|
1994
|
+
i0__namespace.ɵɵadvance();
|
|
1995
|
+
i0__namespace.ɵɵproperty("ngIf", !ctx_r2.content);
|
|
1996
|
+
i0__namespace.ɵɵadvance();
|
|
1997
|
+
i0__namespace.ɵɵproperty("ngIf", ctx_r2.content);
|
|
1942
1998
|
} }
|
|
1943
|
-
const _c4 = function (a0) { return { "collapsible-content": a0 }; };
|
|
1944
1999
|
function RadiosetComponent_ng_template_3_li_0_Template(rf, ctx) { if (rf & 1) {
|
|
1945
|
-
const
|
|
2000
|
+
const _r6 = i0__namespace.ɵɵgetCurrentView();
|
|
1946
2001
|
i0__namespace.ɵɵelementStart(0, "li", 13)(1, "ul", 14)(2, "li", 15);
|
|
1947
|
-
i0__namespace.ɵɵlistener("click", function RadiosetComponent_ng_template_3_li_0_Template_li_click_2_listener($event) { i0__namespace.ɵɵrestoreView(
|
|
2002
|
+
i0__namespace.ɵɵlistener("click", function RadiosetComponent_ng_template_3_li_0_Template_li_click_2_listener($event) { i0__namespace.ɵɵrestoreView(_r6); const ctx_r2 = i0__namespace.ɵɵnextContext(2); return i0__namespace.ɵɵresetView(ctx_r2.handleHeaderClick($event)); });
|
|
1948
2003
|
i0__namespace.ɵɵelementStart(3, "h4", 16);
|
|
1949
2004
|
i0__namespace.ɵɵtext(4);
|
|
1950
2005
|
i0__namespace.ɵɵelementStart(5, "div", 17);
|
|
1951
|
-
i0__namespace.ɵɵtemplate(6, RadiosetComponent_ng_template_3_li_0_i_6_Template, 1,
|
|
1952
|
-
i0__namespace.ɵɵtemplate(7, RadiosetComponent_ng_template_3_li_0_span_7_Template, 1, 1, "span", 19);
|
|
2006
|
+
i0__namespace.ɵɵtemplate(6, RadiosetComponent_ng_template_3_li_0_i_6_Template, 1, 3, "i", 18)(7, RadiosetComponent_ng_template_3_li_0_span_7_Template, 1, 1, "span", 19);
|
|
1953
2007
|
i0__namespace.ɵɵelementEnd()()();
|
|
1954
2008
|
i0__namespace.ɵɵtemplate(8, RadiosetComponent_ng_template_3_li_0_li_8_Template, 3, 10, "li", 20);
|
|
1955
2009
|
i0__namespace.ɵɵelementEnd()();
|
|
1956
2010
|
} if (rf & 2) {
|
|
1957
|
-
const
|
|
1958
|
-
const
|
|
2011
|
+
const groupObj_r7 = ctx.$implicit;
|
|
2012
|
+
const ctx_r2 = i0__namespace.ɵɵnextContext(2);
|
|
1959
2013
|
i0__namespace.ɵɵadvance(2);
|
|
1960
|
-
i0__namespace.ɵɵproperty("title",
|
|
2014
|
+
i0__namespace.ɵɵproperty("title", groupObj_r7.key)("ngClass", i0__namespace.ɵɵpureFunction1(6, _c3, ctx_r2.collapsible));
|
|
1961
2015
|
i0__namespace.ɵɵadvance(2);
|
|
1962
|
-
i0__namespace.ɵɵtextInterpolate1("",
|
|
2016
|
+
i0__namespace.ɵɵtextInterpolate1("", groupObj_r7.key, " ");
|
|
1963
2017
|
i0__namespace.ɵɵadvance(2);
|
|
1964
|
-
i0__namespace.ɵɵproperty("ngIf",
|
|
1965
|
-
i0__namespace.ɵɵadvance(
|
|
1966
|
-
i0__namespace.ɵɵproperty("ngIf",
|
|
1967
|
-
i0__namespace.ɵɵadvance(
|
|
1968
|
-
i0__namespace.ɵɵproperty("ngForOf",
|
|
2018
|
+
i0__namespace.ɵɵproperty("ngIf", ctx_r2.collapsible);
|
|
2019
|
+
i0__namespace.ɵɵadvance();
|
|
2020
|
+
i0__namespace.ɵɵproperty("ngIf", ctx_r2.showcount);
|
|
2021
|
+
i0__namespace.ɵɵadvance();
|
|
2022
|
+
i0__namespace.ɵɵproperty("ngForOf", groupObj_r7.data);
|
|
1969
2023
|
} }
|
|
1970
2024
|
function RadiosetComponent_ng_template_3_Template(rf, ctx) { if (rf & 1) {
|
|
1971
2025
|
i0__namespace.ɵɵtemplate(0, RadiosetComponent_ng_template_3_li_0_Template, 9, 8, "li", 12);
|
|
1972
2026
|
} if (rf & 2) {
|
|
1973
|
-
const
|
|
1974
|
-
i0__namespace.ɵɵproperty("ngForOf",
|
|
2027
|
+
const ctx_r2 = i0__namespace.ɵɵnextContext();
|
|
2028
|
+
i0__namespace.ɵɵproperty("ngForOf", ctx_r2.groupedData);
|
|
1975
2029
|
} }
|
|
1976
2030
|
const DEFAULT_CLS$1 = 'app-radioset list-group inline';
|
|
1977
2031
|
const WIDGET_CONFIG$8 = { widgetType: 'wm-radioset', hostClass: DEFAULT_CLS$1 };
|
|
1978
2032
|
class RadiosetComponent extends DatasetAwareFormComponent {
|
|
1979
2033
|
static { this.initializeProps = registerProps$8(); }
|
|
1980
|
-
constructor(inj) {
|
|
1981
|
-
super(inj, WIDGET_CONFIG$8);
|
|
2034
|
+
constructor(inj, explicitContext) {
|
|
2035
|
+
super(inj, WIDGET_CONFIG$8, explicitContext);
|
|
1982
2036
|
this.layout = '';
|
|
1983
2037
|
i2.styler(this.nativeElement, this);
|
|
1984
2038
|
this.multiple = false;
|
|
@@ -2006,7 +2060,7 @@
|
|
|
2006
2060
|
return callback();
|
|
2007
2061
|
});
|
|
2008
2062
|
}
|
|
2009
|
-
else if (!
|
|
2063
|
+
else if (!lodashEs.includes(['change'], eventName)) {
|
|
2010
2064
|
super.handleEvent(node, eventName, callback, locals);
|
|
2011
2065
|
}
|
|
2012
2066
|
}
|
|
@@ -2021,33 +2075,38 @@
|
|
|
2021
2075
|
super.onPropertyChange(key, nv, ov);
|
|
2022
2076
|
}
|
|
2023
2077
|
}
|
|
2024
|
-
static { this.ɵfac = function RadiosetComponent_Factory(t) { return new (t || RadiosetComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector)); }; }
|
|
2078
|
+
static { this.ɵfac = function RadiosetComponent_Factory(t) { return new (t || RadiosetComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵdirectiveInject('EXPLICIT_CONTEXT', 8)); }; }
|
|
2025
2079
|
static { this.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: RadiosetComponent, selectors: [["", "wmRadioset", ""]], exportAs: ["wmRadioset"], features: [i0__namespace.ɵɵProvidersFeature([
|
|
2026
2080
|
i2.provideAs(RadiosetComponent, i2$1.NG_VALUE_ACCESSOR, true),
|
|
2027
2081
|
i2.provideAs(RadiosetComponent, i2$1.NG_VALIDATORS, true),
|
|
2028
2082
|
i2.provideAsWidgetRef(RadiosetComponent)
|
|
2029
|
-
]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c0$8, decls: 5, vars: 4, consts: [[3, "ngIf", "ngIfElse"], ["hidden", "", 1, "model-holder", 3, "disabled"], ["aria-readonly", "true", "class", "readonly-wrapper", 4, "ngIf"], ["
|
|
2030
|
-
i0__namespace.ɵɵtemplate(0, RadiosetComponent_ng_template_0_Template, 1, 1, "ng-template",
|
|
2031
|
-
i0__namespace.ɵɵelement(1, "input",
|
|
2032
|
-
i0__namespace.ɵɵtemplate(2, RadiosetComponent_div_2_Template, 1, 0, "div",
|
|
2033
|
-
i0__namespace.ɵɵtemplate(3, RadiosetComponent_ng_template_3_Template, 1, 1, "ng-template", null, 3, i0__namespace.ɵɵtemplateRefExtractor);
|
|
2083
|
+
]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c0$8, decls: 5, vars: 4, consts: [["groupedListTemplate", ""], [3, "ngIf", "ngIfElse"], ["hidden", "", 1, "model-holder", 3, "disabled"], ["aria-readonly", "true", "class", "readonly-wrapper", 4, "ngIf"], ["partialContainer", "", "role", "presentation", 3, "ngClass", "active", "wmItemTemplate", "userComponentParams", "click", 4, "ngFor", "ngForOf"], ["partialContainer", "", "role", "presentation", 3, "click", "ngClass", "wmItemTemplate", "userComponentParams"], ["class", "app-radioset-label", 3, "ngClass", 4, "ngIf"], [1, "app-radioset-label", 3, "ngClass"], ["type", "radio", 3, "name", "value", "disabled", "tabindex", "checked"], [1, "caption", 3, "textContent"], ["partial-container-target", "", 1, "caption", "customTemplate"], ["aria-readonly", "true", 1, "readonly-wrapper"], ["class", "app-list-item-group", 4, "ngFor", "ngForOf"], [1, "app-list-item-group"], [1, "item-group"], [1, "list-group-header", 3, "click", "title", "ngClass"], [1, "group-title"], [1, "header-action"], ["class", "app-icon wi action wi-chevron-up", 3, "title", 4, "ngIf"], ["class", "label label-default", 3, "textContent", 4, "ngIf"], ["partialContainer", "", 3, "ngClass", "active", "wmItemTemplate", "userComponentParams", "click", 4, "ngFor", "ngForOf"], [1, "app-icon", "wi", "action", "wi-chevron-up", 3, "title"], [1, "label", "label-default", 3, "textContent"], ["partialContainer", "", 3, "click", "ngClass", "wmItemTemplate", "userComponentParams"]], template: function RadiosetComponent_Template(rf, ctx) { if (rf & 1) {
|
|
2084
|
+
i0__namespace.ɵɵtemplate(0, RadiosetComponent_ng_template_0_Template, 1, 1, "ng-template", 1);
|
|
2085
|
+
i0__namespace.ɵɵelement(1, "input", 2);
|
|
2086
|
+
i0__namespace.ɵɵtemplate(2, RadiosetComponent_div_2_Template, 1, 0, "div", 3)(3, RadiosetComponent_ng_template_3_Template, 1, 1, "ng-template", null, 0, i0__namespace.ɵɵtemplateRefExtractor);
|
|
2034
2087
|
} if (rf & 2) {
|
|
2035
|
-
const
|
|
2036
|
-
i0__namespace.ɵɵproperty("ngIf", !ctx.groupby)("ngIfElse",
|
|
2037
|
-
i0__namespace.ɵɵadvance(
|
|
2088
|
+
const groupedListTemplate_r12 = i0__namespace.ɵɵreference(4);
|
|
2089
|
+
i0__namespace.ɵɵproperty("ngIf", !ctx.groupby)("ngIfElse", groupedListTemplate_r12);
|
|
2090
|
+
i0__namespace.ɵɵadvance();
|
|
2038
2091
|
i0__namespace.ɵɵproperty("disabled", ctx.disabled || ctx.readonly);
|
|
2039
|
-
i0__namespace.ɵɵadvance(
|
|
2092
|
+
i0__namespace.ɵɵadvance();
|
|
2040
2093
|
i0__namespace.ɵɵproperty("ngIf", ctx.readonly || ctx.disabled);
|
|
2041
2094
|
} }, dependencies: [i1__namespace.NgClass, i1__namespace.NgForOf, i1__namespace.NgIf, i2__namespace.ItemTemplateDirective, i2__namespace.PartialParamHandlerDirective, i2__namespace.PartialContainerDirective, i2__namespace.TextContentDirective], encapsulation: 2 }); }
|
|
2042
2095
|
}
|
|
2043
|
-
(
|
|
2096
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(RadiosetComponent, [{
|
|
2044
2097
|
type: i0.Component,
|
|
2045
2098
|
args: [{ selector: '[wmRadioset]', exportAs: 'wmRadioset', providers: [
|
|
2046
2099
|
i2.provideAs(RadiosetComponent, i2$1.NG_VALUE_ACCESSOR, true),
|
|
2047
2100
|
i2.provideAs(RadiosetComponent, i2$1.NG_VALIDATORS, true),
|
|
2048
2101
|
i2.provideAsWidgetRef(RadiosetComponent)
|
|
2049
2102
|
], template: "<ng-template [ngIf]=\"!groupby\" [ngIfElse]=\"groupedListTemplate\">\n <li [ngClass]=\"['radio', 'app-radio', itemclass, itemsPerRowClass]\"\n [class.active]=\"item.selected\"\n *ngFor=\"let item of datasetItems;let i = index\"\n [wmItemTemplate]=\"content\" [userComponentParams]=\"item\" partialContainer\n (click)=\"onRadioLabelClick($event, item.key)\" role=\"presentation\">\n <!-- Default item template -->\n <label *ngIf=\"!content\" class=\"app-radioset-label\"\n [ngClass]=\"{'disabled':disabled || readonly}\">\n <input [name]=\"'radioset_' + widgetId\" type=\"radio\" [attr.aria-checked]=\"item.selected\" [attr.data-attr-index]=\"i\"\n [value]=\"item.key\" [disabled]=\"disabled || readonly\" [tabindex]=\"tabindex\" [checked]=\"item.selected\"\n [attr.aria-label]=\"item.key\"/>\n <span class=\"caption\" [textContent]=\"item.label\"></span>\n </label>\n <!-- Custom partial template -->\n <label *ngIf=\"content\" class=\"app-radioset-label\"\n [ngClass]=\"{'disabled':disabled || readonly}\">\n <input [name]=\"'radioset_' + widgetId\" type=\"radio\" [attr.aria-checked]=\"item.selected\" [attr.data-attr-index]=\"i\"\n [value]=\"item.key\" [disabled]=\"disabled || readonly\" [tabindex]=\"tabindex\" [checked]=\"item.selected\"\n [attr.aria-label]=\"item.key\"/>\n <span class=\"caption customTemplate\" partial-container-target></span>\n </label>\n </li>\n</ng-template>\n\n<input [disabled]=\"disabled || readonly\" hidden class=\"model-holder\">\n<div *ngIf=\"readonly || disabled\" aria-readonly=\"true\" class=\"readonly-wrapper\"></div>\n\n<!-- This template will be displayed when groupby is specified. -->\n<ng-template #groupedListTemplate>\n <li *ngFor=\"let groupObj of groupedData\" class=\"app-list-item-group\">\n <ul class=\"item-group\">\n <li class=\"list-group-header\" (click)=\"handleHeaderClick($event)\" [title]=\"groupObj.key\" [ngClass]=\"{'collapsible-content': collapsible}\">\n <h4 class=\"group-title\">{{groupObj.key}}\n <div class=\"header-action\">\n <i class=\"app-icon wi action wi-chevron-up\" *ngIf=\"collapsible\" title=\"{{appLocale.LABEL_COLLAPSE}}/{{appLocale.LABEL_EXPAND}}\"></i>\n <span *ngIf=\"showcount\" class=\"label label-default\" [textContent]=\"groupObj.data.length\"></span>\n </div>\n </h4>\n </li>\n <li *ngFor=\"let item of groupObj.data; let i = index;\"\n [ngClass]=\"['radio', 'app-radio', 'group-list-item', itemclass, itemsPerRowClass]\"\n [class.active]=\"item.selected\"\n [wmItemTemplate]=\"content\" [userComponentParams]=\"item\" partialContainer\n (click)=\"onRadioLabelClick($event, item)\">\n <!-- Default item template -->\n <label *ngIf=\"!content\" class=\"app-radioset-label\"\n [ngClass]=\"{'disabled':disabled || readonly}\">\n <input [name]=\"'radioset_' + widgetId\" type=\"radio\" [attr.aria-checked]=\"item.selected\" [attr.data-attr-index]=\"i\"\n [value]=\"item.key\" [disabled]=\"disabled || readonly\" [tabindex]=\"tabindex\" [checked]=\"item.selected\"/>\n <span class=\"caption\" [textContent]=\"item.label\"></span>\n </label>\n <!-- Custom partial template -->\n <label *ngIf=\"content\" class=\"app-radioset-label\"\n [ngClass]=\"{'disabled':disabled || readonly}\">\n <input [name]=\"'radioset_' + widgetId\" type=\"radio\" [attr.aria-checked]=\"item.selected\" [attr.data-attr-index]=\"i\"\n [value]=\"item.key\" [disabled]=\"disabled || readonly\" [tabindex]=\"tabindex\" [checked]=\"item.selected\"/>\n <span class=\"caption customTemplate\" partial-container-target></span>\n </label>\n </li>\n </ul>\n </li>\n</ng-template>\n" }]
|
|
2050
|
-
}],
|
|
2103
|
+
}], () => [{ type: i0__namespace.Injector }, { type: undefined, decorators: [{
|
|
2104
|
+
type: i0.Inject,
|
|
2105
|
+
args: ['EXPLICIT_CONTEXT']
|
|
2106
|
+
}, {
|
|
2107
|
+
type: i0.Optional
|
|
2108
|
+
}] }], null); })();
|
|
2109
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassDebugInfo(RadiosetComponent, { className: "RadiosetComponent", filePath: "radioset/radioset.component.ts", lineNumber: 26 }); })();
|
|
2051
2110
|
|
|
2052
2111
|
const selectProps = new Map([
|
|
2053
2112
|
['autofocus', i2.PROP_BOOLEAN],
|
|
@@ -2083,47 +2142,48 @@
|
|
|
2083
2142
|
};
|
|
2084
2143
|
|
|
2085
2144
|
const _c0$7 = ["select"];
|
|
2145
|
+
const _c1$6 = a0 => ["app-select form-control", a0];
|
|
2146
|
+
const _c2$4 = () => ({ standalone: true });
|
|
2086
2147
|
function SelectComponent_ng_container_3_optgroup_1_option_1_Template(rf, ctx) { if (rf & 1) {
|
|
2087
2148
|
i0__namespace.ɵɵelement(0, "option", 7);
|
|
2088
2149
|
} if (rf & 2) {
|
|
2089
|
-
const
|
|
2090
|
-
i0__namespace.ɵɵproperty("value",
|
|
2150
|
+
const item_r2 = ctx.$implicit;
|
|
2151
|
+
i0__namespace.ɵɵproperty("value", item_r2.key)("selected", item_r2.selected)("textContent", item_r2.label);
|
|
2091
2152
|
} }
|
|
2092
2153
|
function SelectComponent_ng_container_3_optgroup_1_Template(rf, ctx) { if (rf & 1) {
|
|
2093
2154
|
i0__namespace.ɵɵelementStart(0, "optgroup", 5);
|
|
2094
2155
|
i0__namespace.ɵɵtemplate(1, SelectComponent_ng_container_3_optgroup_1_option_1_Template, 1, 3, "option", 6);
|
|
2095
2156
|
i0__namespace.ɵɵelementEnd();
|
|
2096
2157
|
} if (rf & 2) {
|
|
2097
|
-
const
|
|
2098
|
-
i0__namespace.ɵɵproperty("label",
|
|
2099
|
-
i0__namespace.ɵɵadvance(
|
|
2100
|
-
i0__namespace.ɵɵproperty("ngForOf",
|
|
2158
|
+
const groupObj_r3 = ctx.$implicit;
|
|
2159
|
+
i0__namespace.ɵɵproperty("label", groupObj_r3.key);
|
|
2160
|
+
i0__namespace.ɵɵadvance();
|
|
2161
|
+
i0__namespace.ɵɵproperty("ngForOf", groupObj_r3.data);
|
|
2101
2162
|
} }
|
|
2102
2163
|
function SelectComponent_ng_container_3_Template(rf, ctx) { if (rf & 1) {
|
|
2103
2164
|
i0__namespace.ɵɵelementContainerStart(0);
|
|
2104
2165
|
i0__namespace.ɵɵtemplate(1, SelectComponent_ng_container_3_optgroup_1_Template, 2, 2, "optgroup", 4);
|
|
2105
2166
|
i0__namespace.ɵɵelementContainerEnd();
|
|
2106
2167
|
} if (rf & 2) {
|
|
2107
|
-
const
|
|
2108
|
-
i0__namespace.ɵɵadvance(
|
|
2109
|
-
i0__namespace.ɵɵproperty("ngForOf",
|
|
2168
|
+
const ctx_r3 = i0__namespace.ɵɵnextContext();
|
|
2169
|
+
i0__namespace.ɵɵadvance();
|
|
2170
|
+
i0__namespace.ɵɵproperty("ngForOf", ctx_r3.groupedData);
|
|
2110
2171
|
} }
|
|
2111
2172
|
function SelectComponent_ng_container_4_option_1_Template(rf, ctx) { if (rf & 1) {
|
|
2112
2173
|
i0__namespace.ɵɵelement(0, "option", 7);
|
|
2113
2174
|
} if (rf & 2) {
|
|
2114
|
-
const
|
|
2115
|
-
i0__namespace.ɵɵproperty("value",
|
|
2175
|
+
const item_r5 = ctx.$implicit;
|
|
2176
|
+
i0__namespace.ɵɵproperty("value", item_r5.key)("selected", item_r5.selected)("textContent", item_r5.label);
|
|
2116
2177
|
} }
|
|
2117
2178
|
function SelectComponent_ng_container_4_Template(rf, ctx) { if (rf & 1) {
|
|
2118
2179
|
i0__namespace.ɵɵelementContainerStart(0);
|
|
2119
2180
|
i0__namespace.ɵɵtemplate(1, SelectComponent_ng_container_4_option_1_Template, 1, 3, "option", 6);
|
|
2120
2181
|
i0__namespace.ɵɵelementContainerEnd();
|
|
2121
2182
|
} if (rf & 2) {
|
|
2122
|
-
const
|
|
2123
|
-
i0__namespace.ɵɵadvance(
|
|
2124
|
-
i0__namespace.ɵɵproperty("ngForOf",
|
|
2183
|
+
const ctx_r3 = i0__namespace.ɵɵnextContext();
|
|
2184
|
+
i0__namespace.ɵɵadvance();
|
|
2185
|
+
i0__namespace.ɵɵproperty("ngForOf", ctx_r3.datasetItems);
|
|
2125
2186
|
} }
|
|
2126
|
-
const _c1$6 = function (a1) { return ["app-select form-control", a1]; };
|
|
2127
2187
|
const WIDGET_CONFIG$7 = { widgetType: 'wm-select', hostClass: 'app-select-wrapper' };
|
|
2128
2188
|
class SelectComponent extends DatasetAwareFormComponent {
|
|
2129
2189
|
static { this.initializeProps = registerProps$7(); }
|
|
@@ -2132,8 +2192,8 @@
|
|
|
2132
2192
|
this.datavalue = ds.execute(i1$1.DataSource.Operation.GET_DEFAULT_LOCALE);
|
|
2133
2193
|
}
|
|
2134
2194
|
}
|
|
2135
|
-
constructor(inj, app) {
|
|
2136
|
-
super(inj, WIDGET_CONFIG$7);
|
|
2195
|
+
constructor(inj, app, explicitContext) {
|
|
2196
|
+
super(inj, WIDGET_CONFIG$7, explicitContext);
|
|
2137
2197
|
this.app = app;
|
|
2138
2198
|
this.acceptsArray = true;
|
|
2139
2199
|
}
|
|
@@ -2143,7 +2203,7 @@
|
|
|
2143
2203
|
}
|
|
2144
2204
|
// Change event is registered from the template, Prevent the framework from registering one more event
|
|
2145
2205
|
handleEvent(node, eventName, eventCallback, locals) {
|
|
2146
|
-
if (!
|
|
2206
|
+
if (!lodashEs.includes(['blur', 'change'], eventName)) {
|
|
2147
2207
|
super.handleEvent(this.selectEl.nativeElement, eventName, eventCallback, locals);
|
|
2148
2208
|
}
|
|
2149
2209
|
}
|
|
@@ -2223,7 +2283,7 @@
|
|
|
2223
2283
|
this.selectEl.nativeElement.value = '';
|
|
2224
2284
|
}
|
|
2225
2285
|
}
|
|
2226
|
-
static { this.ɵfac = function SelectComponent_Factory(t) { return new (t || SelectComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵdirectiveInject(i1$1__namespace.App)); }; }
|
|
2286
|
+
static { this.ɵfac = function SelectComponent_Factory(t) { return new (t || SelectComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵdirectiveInject(i1$1__namespace.App), i0__namespace.ɵɵdirectiveInject('EXPLICIT_CONTEXT', 8)); }; }
|
|
2227
2287
|
static { this.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: SelectComponent, selectors: [["wm-select"]], viewQuery: function SelectComponent_Query(rf, ctx) { if (rf & 1) {
|
|
2228
2288
|
i0__namespace.ɵɵviewQuery(_c0$7, 7, i0.ElementRef);
|
|
2229
2289
|
} if (rf & 2) {
|
|
@@ -2233,35 +2293,44 @@
|
|
|
2233
2293
|
i2.provideAs(SelectComponent, i2$1.NG_VALUE_ACCESSOR, true),
|
|
2234
2294
|
i2.provideAs(SelectComponent, i2$1.NG_VALIDATORS, true),
|
|
2235
2295
|
i2.provideAsWidgetRef(SelectComponent)
|
|
2236
|
-
]), i0__namespace.ɵɵInheritDefinitionFeature], decls: 5, vars:
|
|
2237
|
-
i0__namespace.ɵɵ
|
|
2238
|
-
i0__namespace.ɵɵ
|
|
2296
|
+
]), i0__namespace.ɵɵInheritDefinitionFeature], decls: 5, vars: 18, consts: [["select", ""], ["role", "listbox", "aria-haspopup", "true", "aria-expanded", "false", "focus-target", "", 3, "ngModelChange", "change", "focus", "blur", "ngClass", "disabled", "required", "tabindex", "ngModel", "ngModelOptions", "multiple", "autofocus"], ["selected", "", "value", "undefined", "id", "placeholderOption", 3, "textContent", "hidden"], [4, "ngIf"], [3, "label", 4, "ngFor", "ngForOf"], [3, "label"], ["role", "option", 3, "value", "selected", "textContent", 4, "ngFor", "ngForOf"], ["role", "option", 3, "value", "selected", "textContent"]], template: function SelectComponent_Template(rf, ctx) { if (rf & 1) {
|
|
2297
|
+
const _r1 = i0__namespace.ɵɵgetCurrentView();
|
|
2298
|
+
i0__namespace.ɵɵelementStart(0, "select", 1, 0);
|
|
2299
|
+
i0__namespace.ɵɵtwoWayListener("ngModelChange", function SelectComponent_Template_select_ngModelChange_0_listener($event) { i0__namespace.ɵɵrestoreView(_r1); i0__namespace.ɵɵtwoWayBindingSet(ctx.modelByKey, $event) || (ctx.modelByKey = $event); return i0__namespace.ɵɵresetView($event); });
|
|
2300
|
+
i0__namespace.ɵɵlistener("change", function SelectComponent_Template_select_change_0_listener($event) { i0__namespace.ɵɵrestoreView(_r1); return i0__namespace.ɵɵresetView(ctx.onSelectValueChange($event)); })("focus", function SelectComponent_Template_select_focus_0_listener($event) { i0__namespace.ɵɵrestoreView(_r1); return i0__namespace.ɵɵresetView(ctx.checkForFloatingLabel($event)); })("blur", function SelectComponent_Template_select_blur_0_listener($event) { i0__namespace.ɵɵrestoreView(_r1); ctx.invokeOnTouched($event); return i0__namespace.ɵɵresetView(ctx.checkForFloatingLabel($event)); });
|
|
2239
2301
|
i0__namespace.ɵɵelement(2, "option", 2);
|
|
2240
|
-
i0__namespace.ɵɵtemplate(3, SelectComponent_ng_container_3_Template, 2, 1, "ng-container", 3);
|
|
2241
|
-
i0__namespace.ɵɵtemplate(4, SelectComponent_ng_container_4_Template, 2, 1, "ng-container", 3);
|
|
2302
|
+
i0__namespace.ɵɵtemplate(3, SelectComponent_ng_container_3_Template, 2, 1, "ng-container", 3)(4, SelectComponent_ng_container_4_Template, 2, 1, "ng-container", 3);
|
|
2242
2303
|
i0__namespace.ɵɵelementEnd();
|
|
2243
2304
|
} if (rf & 2) {
|
|
2244
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(
|
|
2305
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(15, _c1$6, ctx.class))("disabled", ctx.disabled)("required", ctx.required)("tabindex", ctx.tabindex);
|
|
2306
|
+
i0__namespace.ɵɵtwoWayProperty("ngModel", ctx.modelByKey);
|
|
2307
|
+
i0__namespace.ɵɵproperty("ngModelOptions", i0__namespace.ɵɵpureFunction0(17, _c2$4))("multiple", ctx.multiple)("autofocus", ctx.autofocus);
|
|
2245
2308
|
i0__namespace.ɵɵattribute("name", ctx.name)("aria-label", ctx.hint)("aria-multiselectable", ctx.multiple);
|
|
2246
2309
|
i0__namespace.ɵɵadvance(2);
|
|
2247
2310
|
i0__namespace.ɵɵproperty("textContent", ctx.placeholder)("hidden", !ctx.placeholder);
|
|
2248
|
-
i0__namespace.ɵɵadvance(
|
|
2311
|
+
i0__namespace.ɵɵadvance();
|
|
2249
2312
|
i0__namespace.ɵɵproperty("ngIf", ctx.groupby);
|
|
2250
|
-
i0__namespace.ɵɵadvance(
|
|
2313
|
+
i0__namespace.ɵɵadvance();
|
|
2251
2314
|
i0__namespace.ɵɵproperty("ngIf", !ctx.groupby);
|
|
2252
2315
|
} }, dependencies: [i1__namespace.NgClass, i1__namespace.NgForOf, i1__namespace.NgIf, i2$1__namespace.NgSelectOption, i2$1__namespace.ɵNgSelectMultipleOption, i2$1__namespace.SelectMultipleControlValueAccessor, i2$1__namespace.NgControlStatus, i2$1__namespace.RequiredValidator, i2$1__namespace.NgModel, i2__namespace.TextContentDirective], encapsulation: 2 }); }
|
|
2253
2316
|
}
|
|
2254
|
-
(
|
|
2317
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(SelectComponent, [{
|
|
2255
2318
|
type: i0.Component,
|
|
2256
2319
|
args: [{ selector: 'wm-select', providers: [
|
|
2257
2320
|
i2.provideAs(SelectComponent, i2$1.NG_VALUE_ACCESSOR, true),
|
|
2258
2321
|
i2.provideAs(SelectComponent, i2$1.NG_VALIDATORS, true),
|
|
2259
2322
|
i2.provideAsWidgetRef(SelectComponent)
|
|
2260
|
-
], template: "<select role=\"listbox\" aria-haspopup=\"true\" aria-expanded=\"false\" #select\n focus-target\n [ngClass]=\"['app-select form-control', class]\"\n [disabled]=\"disabled\"\n [required]=\"required\"\n [tabindex]=\"tabindex\"\n [(ngModel)]=\"modelByKey\"\n [multiple]=\"multiple\"\n (change)=\"onSelectValueChange($event)\"\n (focus)=\"checkForFloatingLabel($event)\"\n (blur)=\"invokeOnTouched($event); checkForFloatingLabel($event)\"\n [attr.name]=\"name\"\n [attr.aria-label]=\"hint\"\n [attr.aria-multiselectable]=\"multiple\"\n [autofocus]=\"autofocus\">\n\n <option selected\n value=\"undefined\"\n [textContent]=\"placeholder\"\n id=\"placeholderOption\"\n [hidden]=\"!placeholder\"></option>\n\n <ng-container *ngIf=\"groupby\">\n <optgroup *ngFor=\"let groupObj of groupedData\"\n [label]=\"groupObj.key\">\n <option *ngFor=\"let item of groupObj.data;\"\n [value]=\"item.key\"\n [selected]=\"item.selected\"\n [textContent]=\"item.label\"\n role=\"option\"></option>\n </optgroup>\n </ng-container>\n\n <ng-container *ngIf=\"!groupby\">\n <option *ngFor=\"let item of datasetItems\"\n [value]=\"item.key\"\n [selected]=\"item.selected\"\n [textContent]=\"item.label\"\n role=\"option\"></option>\n </ng-container>\n</select>\n" }]
|
|
2261
|
-
}],
|
|
2323
|
+
], template: "<select role=\"listbox\" aria-haspopup=\"true\" aria-expanded=\"false\" #select\n focus-target\n [ngClass]=\"['app-select form-control', class]\"\n [disabled]=\"disabled\"\n [required]=\"required\"\n [tabindex]=\"tabindex\"\n [(ngModel)]=\"modelByKey\"\n [ngModelOptions]=\"{standalone: true}\"\n [multiple]=\"multiple\"\n (change)=\"onSelectValueChange($event)\"\n (focus)=\"checkForFloatingLabel($event)\"\n (blur)=\"invokeOnTouched($event); checkForFloatingLabel($event)\"\n [attr.name]=\"name\"\n [attr.aria-label]=\"hint\"\n [attr.aria-multiselectable]=\"multiple\"\n [autofocus]=\"autofocus\">\n\n <option selected\n value=\"undefined\"\n [textContent]=\"placeholder\"\n id=\"placeholderOption\"\n [hidden]=\"!placeholder\"></option>\n\n <ng-container *ngIf=\"groupby\">\n <optgroup *ngFor=\"let groupObj of groupedData\"\n [label]=\"groupObj.key\">\n <option *ngFor=\"let item of groupObj.data;\"\n [value]=\"item.key\"\n [selected]=\"item.selected\"\n [textContent]=\"item.label\"\n role=\"option\"></option>\n </optgroup>\n </ng-container>\n\n <ng-container *ngIf=\"!groupby\">\n <option *ngFor=\"let item of datasetItems\"\n [value]=\"item.key\"\n [selected]=\"item.selected\"\n [textContent]=\"item.label\"\n role=\"option\"></option>\n </ng-container>\n</select>\n" }]
|
|
2324
|
+
}], () => [{ type: i0__namespace.Injector }, { type: i1$1__namespace.App }, { type: undefined, decorators: [{
|
|
2325
|
+
type: i0.Inject,
|
|
2326
|
+
args: ['EXPLICIT_CONTEXT']
|
|
2327
|
+
}, {
|
|
2328
|
+
type: i0.Optional
|
|
2329
|
+
}] }], { selectEl: [{
|
|
2262
2330
|
type: i0.ViewChild,
|
|
2263
2331
|
args: ['select', { static: true, read: i0.ElementRef }]
|
|
2264
2332
|
}] }); })();
|
|
2333
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassDebugInfo(SelectComponent, { className: "SelectComponent", filePath: "select/select.component.ts", lineNumber: 22 }); })();
|
|
2265
2334
|
|
|
2266
2335
|
const switchProps = new Map([
|
|
2267
2336
|
['class', i2.PROP_STRING],
|
|
@@ -2288,43 +2357,43 @@
|
|
|
2288
2357
|
};
|
|
2289
2358
|
|
|
2290
2359
|
const _c0$6 = ["wmSwitch", ""];
|
|
2291
|
-
const _c1$5 =
|
|
2360
|
+
const _c1$5 = (a0, a1) => ({ "selected": a0, "disabled": a1 });
|
|
2361
|
+
const _c2$3 = a0 => ["app-icon", a0];
|
|
2292
2362
|
function SwitchComponent_a_1_i_1_Template(rf, ctx) { if (rf & 1) {
|
|
2293
2363
|
i0__namespace.ɵɵelement(0, "i", 8);
|
|
2294
2364
|
} if (rf & 2) {
|
|
2295
|
-
const
|
|
2365
|
+
const opt_r3 = i0__namespace.ɵɵnextContext().$implicit;
|
|
2296
2366
|
const ctx_r4 = i0__namespace.ɵɵnextContext();
|
|
2297
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(1,
|
|
2367
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(1, _c2$3, opt_r3.dataObject[ctx_r4.iconclass] || opt_r3["icon"]));
|
|
2298
2368
|
} }
|
|
2299
|
-
const _c2$1 = function (a0, a1) { return { "selected": a0, "disabled": a1 }; };
|
|
2300
2369
|
function SwitchComponent_a_1_Template(rf, ctx) { if (rf & 1) {
|
|
2301
|
-
const
|
|
2370
|
+
const _r1 = i0__namespace.ɵɵgetCurrentView();
|
|
2302
2371
|
i0__namespace.ɵɵelementStart(0, "a", 5);
|
|
2303
|
-
i0__namespace.ɵɵlistener("click", function SwitchComponent_a_1_Template_a_click_0_listener($event) { const
|
|
2372
|
+
i0__namespace.ɵɵlistener("click", function SwitchComponent_a_1_Template_a_click_0_listener($event) { const ctx_r1 = i0__namespace.ɵɵrestoreView(_r1); const opt_r3 = ctx_r1.$implicit; const $index_r4 = ctx_r1.index; const ctx_r4 = i0__namespace.ɵɵnextContext(); return i0__namespace.ɵɵresetView(ctx_r4.selectOpt($event, $index_r4, opt_r3)); });
|
|
2304
2373
|
i0__namespace.ɵɵtemplate(1, SwitchComponent_a_1_i_1_Template, 1, 3, "i", 6);
|
|
2305
2374
|
i0__namespace.ɵɵelement(2, "span", 7);
|
|
2306
2375
|
i0__namespace.ɵɵelementEnd();
|
|
2307
2376
|
} if (rf & 2) {
|
|
2308
|
-
const
|
|
2309
|
-
const
|
|
2310
|
-
i0__namespace.ɵɵproperty("name", "wm-switch-" +
|
|
2311
|
-
i0__namespace.ɵɵadvance(
|
|
2312
|
-
i0__namespace.ɵɵproperty("ngIf",
|
|
2313
|
-
i0__namespace.ɵɵadvance(
|
|
2314
|
-
i0__namespace.ɵɵproperty("textContent",
|
|
2377
|
+
const opt_r3 = ctx.$implicit;
|
|
2378
|
+
const ctx_r4 = i0__namespace.ɵɵnextContext();
|
|
2379
|
+
i0__namespace.ɵɵproperty("name", "wm-switch-" + opt_r3.key)("ngClass", i0__namespace.ɵɵpureFunction2(4, _c1$5, opt_r3.selected, ctx_r4.disabled));
|
|
2380
|
+
i0__namespace.ɵɵadvance();
|
|
2381
|
+
i0__namespace.ɵɵproperty("ngIf", opt_r3.dataObject && opt_r3.dataObject[ctx_r4.iconclass]);
|
|
2382
|
+
i0__namespace.ɵɵadvance();
|
|
2383
|
+
i0__namespace.ɵɵproperty("textContent", opt_r3[ctx_r4.displayfield] || opt_r3.label);
|
|
2315
2384
|
} }
|
|
2316
2385
|
function SwitchComponent_i_3_Template(rf, ctx) { if (rf & 1) {
|
|
2317
2386
|
i0__namespace.ɵɵelement(0, "i");
|
|
2318
2387
|
} if (rf & 2) {
|
|
2319
|
-
const
|
|
2320
|
-
i0__namespace.ɵɵclassMapInterpolate1("app-icon ",
|
|
2388
|
+
const ctx_r4 = i0__namespace.ɵɵnextContext();
|
|
2389
|
+
i0__namespace.ɵɵclassMapInterpolate1("app-icon ", ctx_r4.selectedItem && ctx_r4.selectedItem.dataObject && ctx_r4.selectedItem.dataObject[ctx_r4.iconclass], "");
|
|
2321
2390
|
} }
|
|
2322
2391
|
const DEFAULT_CLS = 'app-switch';
|
|
2323
2392
|
const WIDGET_CONFIG$6 = { widgetType: 'wm-switch', hostClass: DEFAULT_CLS };
|
|
2324
2393
|
class SwitchComponent extends DatasetAwareFormComponent {
|
|
2325
2394
|
static { this.initializeProps = registerProps$6(); }
|
|
2326
|
-
constructor(inj) {
|
|
2327
|
-
super(inj, WIDGET_CONFIG$6);
|
|
2395
|
+
constructor(inj, explicitContext) {
|
|
2396
|
+
super(inj, WIDGET_CONFIG$6, explicitContext);
|
|
2328
2397
|
this.options = [];
|
|
2329
2398
|
this._debounceSetSelectedValue = i1$1.debounce((val) => {
|
|
2330
2399
|
this.setSelectedValue();
|
|
@@ -2356,7 +2425,7 @@
|
|
|
2356
2425
|
// This function sets the selectedItem by either using compareby fields or selected flag on datasetItems.
|
|
2357
2426
|
setSelectedValue() {
|
|
2358
2427
|
if (i1$1.isDefined(this.datavalue) || i1$1.isDefined(this.toBeProcessedDatavalue)) {
|
|
2359
|
-
this.selectedItem =
|
|
2428
|
+
this.selectedItem = lodashEs.find(this.datasetItems, { selected: true });
|
|
2360
2429
|
return;
|
|
2361
2430
|
}
|
|
2362
2431
|
// If no value is provided, set first value as default if options are available else set -1 ie no selection
|
|
@@ -2375,7 +2444,7 @@
|
|
|
2375
2444
|
updateHighlighter(skipAnimation) {
|
|
2376
2445
|
const handler = $(this.nativeElement).find('span.app-switch-overlay');
|
|
2377
2446
|
this.setSelectedValue();
|
|
2378
|
-
let left, index = this.selectedItem ?
|
|
2447
|
+
let left, index = this.selectedItem ? lodashEs.findIndex(this.datasetItems, { key: this.selectedItem.key }) : -1;
|
|
2379
2448
|
if (index === undefined || index === null) {
|
|
2380
2449
|
index = -1;
|
|
2381
2450
|
}
|
|
@@ -2405,7 +2474,7 @@
|
|
|
2405
2474
|
}
|
|
2406
2475
|
this.modelByKey = option.key;
|
|
2407
2476
|
this.invokeOnTouched();
|
|
2408
|
-
if (this.selectedItem && $index ===
|
|
2477
|
+
if (this.selectedItem && $index === lodashEs.findIndex(this.datasetItems, { key: this.selectedItem.key })) {
|
|
2409
2478
|
if (this.datasetItems.length === 2) {
|
|
2410
2479
|
$index = $index === 1 ? 0 : 1;
|
|
2411
2480
|
}
|
|
@@ -2427,11 +2496,11 @@
|
|
|
2427
2496
|
super.onPropertyChange(key, nv, ov);
|
|
2428
2497
|
}
|
|
2429
2498
|
}
|
|
2430
|
-
static { this.ɵfac = function SwitchComponent_Factory(t) { return new (t || SwitchComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector)); }; }
|
|
2499
|
+
static { this.ɵfac = function SwitchComponent_Factory(t) { return new (t || SwitchComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵdirectiveInject('EXPLICIT_CONTEXT', 8)); }; }
|
|
2431
2500
|
static { this.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: SwitchComponent, selectors: [["", "wmSwitch", ""]], exportAs: ["wmSwitch"], features: [i0__namespace.ɵɵProvidersFeature([
|
|
2432
2501
|
i2.provideAs(SwitchComponent, i2$1.NG_VALUE_ACCESSOR, true),
|
|
2433
2502
|
i2.provideAsWidgetRef(SwitchComponent)
|
|
2434
|
-
]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c0$6, decls: 6, vars: 8, consts: [["role", "group", 1, "btn-group", "btn-group-justified"], ["focus-target", "", "href", "javascript:void(0);", "class", "btn btn-default", 3, "name", "ngClass", "click", 4, "ngFor", "ngForOf"], [1, "btn", "btn-primary", "app-switch-overlay", "switch-handle", 3, "title"], [3, "class", 4, "ngIf"], ["aria-hidden", "true", 1, "model-holder", "ng-hide", 3, "name", "disabled", "value", "required"], ["focus-target", "", "href", "javascript:void(0);", 1, "btn", "btn-default", 3, "
|
|
2503
|
+
]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c0$6, decls: 6, vars: 8, consts: [["role", "group", 1, "btn-group", "btn-group-justified"], ["focus-target", "", "href", "javascript:void(0);", "class", "btn btn-default", 3, "name", "ngClass", "click", 4, "ngFor", "ngForOf"], [1, "btn", "btn-primary", "app-switch-overlay", "switch-handle", 3, "title"], [3, "class", 4, "ngIf"], ["aria-hidden", "true", 1, "model-holder", "ng-hide", 3, "name", "disabled", "value", "required"], ["focus-target", "", "href", "javascript:void(0);", 1, "btn", "btn-default", 3, "click", "name", "ngClass"], ["aria-hidden", "true", 3, "ngClass", 4, "ngIf"], [1, "caption", 3, "textContent"], ["aria-hidden", "true", 3, "ngClass"]], template: function SwitchComponent_Template(rf, ctx) { if (rf & 1) {
|
|
2435
2504
|
i0__namespace.ɵɵelementStart(0, "div", 0);
|
|
2436
2505
|
i0__namespace.ɵɵtemplate(1, SwitchComponent_a_1_Template, 3, 7, "a", 1);
|
|
2437
2506
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -2441,25 +2510,31 @@
|
|
|
2441
2510
|
i0__namespace.ɵɵelementEnd();
|
|
2442
2511
|
i0__namespace.ɵɵelement(5, "input", 4);
|
|
2443
2512
|
} if (rf & 2) {
|
|
2444
|
-
i0__namespace.ɵɵadvance(
|
|
2513
|
+
i0__namespace.ɵɵadvance();
|
|
2445
2514
|
i0__namespace.ɵɵproperty("ngForOf", ctx.datasetItems);
|
|
2446
|
-
i0__namespace.ɵɵadvance(
|
|
2515
|
+
i0__namespace.ɵɵadvance();
|
|
2447
2516
|
i0__namespace.ɵɵproperty("title", ctx.selectedItem ? ctx.selectedItem.label : ctx.modelByKey);
|
|
2448
|
-
i0__namespace.ɵɵadvance(
|
|
2517
|
+
i0__namespace.ɵɵadvance();
|
|
2449
2518
|
i0__namespace.ɵɵproperty("ngIf", ctx.iconclass);
|
|
2450
|
-
i0__namespace.ɵɵadvance(
|
|
2519
|
+
i0__namespace.ɵɵadvance();
|
|
2451
2520
|
i0__namespace.ɵɵtextInterpolate1(" ", ctx.selectedItem ? ctx.selectedItem.label : ctx.modelByKey, "\n");
|
|
2452
|
-
i0__namespace.ɵɵadvance(
|
|
2521
|
+
i0__namespace.ɵɵadvance();
|
|
2453
2522
|
i0__namespace.ɵɵproperty("name", ctx.name)("disabled", ctx.disabled)("value", ctx.modelByKey)("required", ctx.required);
|
|
2454
2523
|
} }, dependencies: [i1__namespace.NgClass, i1__namespace.NgForOf, i1__namespace.NgIf, i2__namespace.TextContentDirective], encapsulation: 2 }); }
|
|
2455
2524
|
}
|
|
2456
|
-
(
|
|
2525
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(SwitchComponent, [{
|
|
2457
2526
|
type: i0.Component,
|
|
2458
2527
|
args: [{ selector: '[wmSwitch]', providers: [
|
|
2459
2528
|
i2.provideAs(SwitchComponent, i2$1.NG_VALUE_ACCESSOR, true),
|
|
2460
2529
|
i2.provideAsWidgetRef(SwitchComponent)
|
|
2461
2530
|
], exportAs: 'wmSwitch', template: "<div role=\"group\" class=\"btn-group btn-group-justified\">\n <a *ngFor=\"let opt of datasetItems; let $index = index;\"\n focus-target\n href=\"javascript:void(0);\"\n class=\"btn btn-default\"\n [name]=\"'wm-switch-' + opt.key\"\n [ngClass]=\"{'selected': opt.selected, 'disabled': disabled}\"\n (click)=\"selectOpt($event, $index, opt)\"\n >\n <i *ngIf=\"opt.dataObject && opt.dataObject[iconclass]\" aria-hidden=\"true\" [ngClass]=\"['app-icon', opt.dataObject[iconclass] || opt['icon']]\"></i>\n <span class=\"caption\" [textContent]=\"opt[displayfield] || opt.label\"></span>\n </a>\n</div>\n<span [title]=\"selectedItem ? selectedItem.label : modelByKey\"\n class=\"btn btn-primary app-switch-overlay switch-handle\">\n <i *ngIf=\"iconclass\"\n class=\"app-icon {{(selectedItem && selectedItem.dataObject) && selectedItem.dataObject[iconclass]}}\"></i>\n {{selectedItem ? selectedItem.label : modelByKey}}\n</span>\n<input [name]=\"name\" class=\"model-holder ng-hide\" [disabled]=\"disabled\" [value]=\"modelByKey\" [required]=\"required\" aria-hidden=\"true\">\n" }]
|
|
2462
|
-
}],
|
|
2531
|
+
}], () => [{ type: i0__namespace.Injector }, { type: undefined, decorators: [{
|
|
2532
|
+
type: i0.Inject,
|
|
2533
|
+
args: ['EXPLICIT_CONTEXT']
|
|
2534
|
+
}, {
|
|
2535
|
+
type: i0.Optional
|
|
2536
|
+
}] }], null); })();
|
|
2537
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassDebugInfo(SwitchComponent, { className: "SwitchComponent", filePath: "switch/switch.component.ts", lineNumber: 25 }); })();
|
|
2463
2538
|
|
|
2464
2539
|
const inputCalendarTypeProps = new Map([
|
|
2465
2540
|
['autocomplete', { value: true, ...i2.PROP_BOOLEAN }],
|
|
@@ -2491,16 +2566,17 @@
|
|
|
2491
2566
|
|
|
2492
2567
|
const _c0$5 = ["input"];
|
|
2493
2568
|
const _c1$4 = ["type", "date"];
|
|
2569
|
+
const _c2$2 = () => ({ standalone: true });
|
|
2494
2570
|
const WIDGET_CONFIG$5 = {
|
|
2495
2571
|
widgetType: 'wm-input-calendar',
|
|
2496
2572
|
hostClass: 'app-input-wrapper'
|
|
2497
2573
|
};
|
|
2498
2574
|
class InputCalendarComponent extends BaseInput {
|
|
2499
2575
|
static { this.initializeProps = registerProps$5(); }
|
|
2500
|
-
constructor(inj) {
|
|
2501
|
-
super(inj, WIDGET_CONFIG$5);
|
|
2576
|
+
constructor(inj, explicitContext) {
|
|
2577
|
+
super(inj, WIDGET_CONFIG$5, explicitContext);
|
|
2502
2578
|
}
|
|
2503
|
-
static { this.ɵfac = function InputCalendarComponent_Factory(t) { return new (t || InputCalendarComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector)); }; }
|
|
2579
|
+
static { this.ɵfac = function InputCalendarComponent_Factory(t) { return new (t || InputCalendarComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵdirectiveInject('EXPLICIT_CONTEXT', 8)); }; }
|
|
2504
2580
|
static { this.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: InputCalendarComponent, selectors: [["wm-input", "type", "date"], ["wm-input", "type", "datetime-local"], ["wm-input", "type", "month"], ["wm-input", "type", "time"], ["wm-input", "type", "week"]], viewQuery: function InputCalendarComponent_Query(rf, ctx) { if (rf & 1) {
|
|
2505
2581
|
i0__namespace.ɵɵviewQuery(_c0$5, 7);
|
|
2506
2582
|
i0__namespace.ɵɵviewQuery(i2$1.NgModel, 5);
|
|
@@ -2512,29 +2588,39 @@
|
|
|
2512
2588
|
i2.provideAs(InputCalendarComponent, i2$1.NG_VALUE_ACCESSOR, true),
|
|
2513
2589
|
i2.provideAs(InputCalendarComponent, i2$1.NG_VALIDATORS, true),
|
|
2514
2590
|
i2.provideAsWidgetRef(InputCalendarComponent)
|
|
2515
|
-
]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c1$4, decls: 2, vars:
|
|
2516
|
-
i0__namespace.ɵɵ
|
|
2517
|
-
i0__namespace.ɵɵ
|
|
2591
|
+
]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c1$4, decls: 2, vars: 19, consts: [["input", ""], ["focus-target", "", "role", "textbox", 1, "form-control", "app-textbox", 3, "ngModelChange", "blur", "type", "ngModel", "ngModelOptions", "readonly", "required", "disabled", "min", "max", "step", "autofocus", "autocomplete", "ngClass", "ngStyle"]], template: function InputCalendarComponent_Template(rf, ctx) { if (rf & 1) {
|
|
2592
|
+
const _r1 = i0__namespace.ɵɵgetCurrentView();
|
|
2593
|
+
i0__namespace.ɵɵelementStart(0, "input", 1, 0);
|
|
2594
|
+
i0__namespace.ɵɵtwoWayListener("ngModelChange", function InputCalendarComponent_Template_input_ngModelChange_0_listener($event) { i0__namespace.ɵɵrestoreView(_r1); i0__namespace.ɵɵtwoWayBindingSet(ctx.datavalue, $event) || (ctx.datavalue = $event); return i0__namespace.ɵɵresetView($event); });
|
|
2595
|
+
i0__namespace.ɵɵlistener("blur", function InputCalendarComponent_Template_input_blur_0_listener($event) { i0__namespace.ɵɵrestoreView(_r1); return i0__namespace.ɵɵresetView(ctx.handleBlur($event)); })("ngModelChange", function InputCalendarComponent_Template_input_ngModelChange_0_listener($event) { i0__namespace.ɵɵrestoreView(_r1); return i0__namespace.ɵɵresetView(ctx.handleChange($event)); });
|
|
2518
2596
|
i0__namespace.ɵɵelementEnd();
|
|
2519
2597
|
} if (rf & 2) {
|
|
2520
|
-
i0__namespace.ɵɵproperty("type", ctx.type)
|
|
2598
|
+
i0__namespace.ɵɵproperty("type", ctx.type);
|
|
2599
|
+
i0__namespace.ɵɵtwoWayProperty("ngModel", ctx.datavalue);
|
|
2600
|
+
i0__namespace.ɵɵproperty("ngModelOptions", i0__namespace.ɵɵpureFunction0(18, _c2$2))("readonly", ctx.readonly)("required", ctx.required)("disabled", ctx.disabled)("min", ctx.minvalue)("max", ctx.maxvalue)("step", ctx.step)("autofocus", ctx.autofocus)("autocomplete", ctx.autocomplete ? "on" : "off")("ngClass", ctx.conditionalclass)("ngStyle", ctx.conditionalstyle);
|
|
2521
2601
|
i0__namespace.ɵɵattribute("name", ctx.name)("tabindex", ctx.tabindex)("placeholder", ctx.placeholder)("accesskey", ctx.shortcutkey)("aria-label", ctx.hint || ctx.type + " field");
|
|
2522
2602
|
} }, dependencies: [i1__namespace.NgClass, i1__namespace.NgStyle, i2$1__namespace.DefaultValueAccessor, i2$1__namespace.NgControlStatus, i2$1__namespace.RequiredValidator, i2$1__namespace.NgModel], encapsulation: 2 }); }
|
|
2523
2603
|
}
|
|
2524
|
-
(
|
|
2604
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(InputCalendarComponent, [{
|
|
2525
2605
|
type: i0.Component,
|
|
2526
2606
|
args: [{ selector: 'wm-input[type="date"], wm-input[type="datetime-local"], wm-input[type="month"], wm-input[type="time"], wm-input[type="week"]', providers: [
|
|
2527
2607
|
i2.provideAs(InputCalendarComponent, i2$1.NG_VALUE_ACCESSOR, true),
|
|
2528
2608
|
i2.provideAs(InputCalendarComponent, i2$1.NG_VALIDATORS, true),
|
|
2529
2609
|
i2.provideAsWidgetRef(InputCalendarComponent)
|
|
2530
|
-
], template: "<input class=\"form-control app-textbox\"\n focus-target\n role=\"textbox\"\n [type]=\"type\"\n [attr.name]=\"name\"\n [(ngModel)]=\"datavalue\"\n [readonly]=\"readonly\"\n [required]=\"required\"\n [disabled]=\"disabled\"\n [min]=\"minvalue\"\n [max]=\"maxvalue\"\n [step]=\"step\"\n [attr.tabindex]=\"tabindex\"\n [attr.placeholder]=\"placeholder\"\n [attr.accesskey]=\"shortcutkey\"\n [attr.aria-label]=\"hint || type + ' field'\"\n [autofocus]=\"autofocus\"\n (blur)=\"handleBlur($event)\"\n (ngModelChange)=\"handleChange($event)\"\n [autocomplete]=\"autocomplete ? 'on' : 'off'\"\n [ngClass]=\"conditionalclass\"\n [ngStyle]=\"conditionalstyle\"\n #input>\n" }]
|
|
2531
|
-
}],
|
|
2610
|
+
], template: "<input class=\"form-control app-textbox\"\n focus-target\n role=\"textbox\"\n [type]=\"type\"\n [attr.name]=\"name\"\n [(ngModel)]=\"datavalue\"\n [ngModelOptions]=\"{standalone: true}\"\n [readonly]=\"readonly\"\n [required]=\"required\"\n [disabled]=\"disabled\"\n [min]=\"minvalue\"\n [max]=\"maxvalue\"\n [step]=\"step\"\n [attr.tabindex]=\"tabindex\"\n [attr.placeholder]=\"placeholder\"\n [attr.accesskey]=\"shortcutkey\"\n [attr.aria-label]=\"hint || type + ' field'\"\n [autofocus]=\"autofocus\"\n (blur)=\"handleBlur($event)\"\n (ngModelChange)=\"handleChange($event)\"\n [autocomplete]=\"autocomplete ? 'on' : 'off'\"\n [ngClass]=\"conditionalclass\"\n [ngStyle]=\"conditionalstyle\"\n #input>\n" }]
|
|
2611
|
+
}], () => [{ type: i0__namespace.Injector }, { type: undefined, decorators: [{
|
|
2612
|
+
type: i0.Inject,
|
|
2613
|
+
args: ['EXPLICIT_CONTEXT']
|
|
2614
|
+
}, {
|
|
2615
|
+
type: i0.Optional
|
|
2616
|
+
}] }], { inputEl: [{
|
|
2532
2617
|
type: i0.ViewChild,
|
|
2533
2618
|
args: ['input', { static: true }]
|
|
2534
2619
|
}], ngModel: [{
|
|
2535
2620
|
type: i0.ViewChild,
|
|
2536
2621
|
args: [i2$1.NgModel]
|
|
2537
2622
|
}] }); })();
|
|
2623
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassDebugInfo(InputCalendarComponent, { className: "InputCalendarComponent", filePath: "text/calendar/input-calendar.component.ts", lineNumber: 22 }); })();
|
|
2538
2624
|
|
|
2539
2625
|
const inputColorTypeProps = new Map([
|
|
2540
2626
|
['autocomplete', { value: true, ...i2.PROP_BOOLEAN }],
|
|
@@ -2563,16 +2649,17 @@
|
|
|
2563
2649
|
|
|
2564
2650
|
const _c0$4 = ["input"];
|
|
2565
2651
|
const _c1$3 = ["type", "color"];
|
|
2652
|
+
const _c2$1 = () => ({ standalone: true });
|
|
2566
2653
|
const WIDGET_CONFIG$4 = {
|
|
2567
2654
|
widgetType: 'wm-input-color',
|
|
2568
2655
|
hostClass: 'app-input-wrapper'
|
|
2569
2656
|
};
|
|
2570
2657
|
class InputColorComponent extends BaseInput {
|
|
2571
2658
|
static { this.initializeProps = registerProps$4(); }
|
|
2572
|
-
constructor(inj) {
|
|
2573
|
-
super(inj, WIDGET_CONFIG$4);
|
|
2659
|
+
constructor(inj, explicitContext) {
|
|
2660
|
+
super(inj, WIDGET_CONFIG$4, explicitContext);
|
|
2574
2661
|
}
|
|
2575
|
-
static { this.ɵfac = function InputColorComponent_Factory(t) { return new (t || InputColorComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector)); }; }
|
|
2662
|
+
static { this.ɵfac = function InputColorComponent_Factory(t) { return new (t || InputColorComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵdirectiveInject('EXPLICIT_CONTEXT', 8)); }; }
|
|
2576
2663
|
static { this.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: InputColorComponent, selectors: [["wm-input", "type", "color"]], viewQuery: function InputColorComponent_Query(rf, ctx) { if (rf & 1) {
|
|
2577
2664
|
i0__namespace.ɵɵviewQuery(_c0$4, 7);
|
|
2578
2665
|
i0__namespace.ɵɵviewQuery(i2$1.NgModel, 5);
|
|
@@ -2584,29 +2671,39 @@
|
|
|
2584
2671
|
i2.provideAs(InputColorComponent, i2$1.NG_VALUE_ACCESSOR, true),
|
|
2585
2672
|
i2.provideAs(InputColorComponent, i2$1.NG_VALIDATORS, true),
|
|
2586
2673
|
i2.provideAsWidgetRef(InputColorComponent)
|
|
2587
|
-
]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c1$3, decls: 2, vars:
|
|
2588
|
-
i0__namespace.ɵɵ
|
|
2589
|
-
i0__namespace.ɵɵ
|
|
2674
|
+
]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c1$3, decls: 2, vars: 16, consts: [["input", ""], ["focus-target", "", "role", "textbox", 1, "form-control", "app-textbox", 3, "ngModelChange", "blur", "type", "ngModel", "ngModelOptions", "readonly", "required", "disabled", "maxlength", "autofocus", "ngClass", "ngStyle"]], template: function InputColorComponent_Template(rf, ctx) { if (rf & 1) {
|
|
2675
|
+
const _r1 = i0__namespace.ɵɵgetCurrentView();
|
|
2676
|
+
i0__namespace.ɵɵelementStart(0, "input", 1, 0);
|
|
2677
|
+
i0__namespace.ɵɵtwoWayListener("ngModelChange", function InputColorComponent_Template_input_ngModelChange_0_listener($event) { i0__namespace.ɵɵrestoreView(_r1); i0__namespace.ɵɵtwoWayBindingSet(ctx.datavalue, $event) || (ctx.datavalue = $event); return i0__namespace.ɵɵresetView($event); });
|
|
2678
|
+
i0__namespace.ɵɵlistener("blur", function InputColorComponent_Template_input_blur_0_listener($event) { i0__namespace.ɵɵrestoreView(_r1); return i0__namespace.ɵɵresetView(ctx.handleBlur($event)); })("ngModelChange", function InputColorComponent_Template_input_ngModelChange_0_listener($event) { i0__namespace.ɵɵrestoreView(_r1); return i0__namespace.ɵɵresetView(ctx.handleChange($event)); });
|
|
2590
2679
|
i0__namespace.ɵɵelementEnd();
|
|
2591
2680
|
} if (rf & 2) {
|
|
2592
|
-
i0__namespace.ɵɵproperty("type", ctx.type)
|
|
2681
|
+
i0__namespace.ɵɵproperty("type", ctx.type);
|
|
2682
|
+
i0__namespace.ɵɵtwoWayProperty("ngModel", ctx.datavalue);
|
|
2683
|
+
i0__namespace.ɵɵproperty("ngModelOptions", i0__namespace.ɵɵpureFunction0(15, _c2$1))("readonly", ctx.readonly)("required", ctx.required)("disabled", ctx.disabled)("maxlength", ctx.maxchars)("autofocus", ctx.autofocus)("ngClass", ctx.conditionalclass)("ngStyle", ctx.conditionalstyle);
|
|
2593
2684
|
i0__namespace.ɵɵattribute("name", ctx.name)("tabindex", ctx.tabindex)("placeholder", ctx.placeholder)("accesskey", ctx.shortcutkey)("aria-label", ctx.hint);
|
|
2594
2685
|
} }, dependencies: [i1__namespace.NgClass, i1__namespace.NgStyle, i2$1__namespace.DefaultValueAccessor, i2$1__namespace.NgControlStatus, i2$1__namespace.RequiredValidator, i2$1__namespace.MaxLengthValidator, i2$1__namespace.NgModel], encapsulation: 2 }); }
|
|
2595
2686
|
}
|
|
2596
|
-
(
|
|
2687
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(InputColorComponent, [{
|
|
2597
2688
|
type: i0.Component,
|
|
2598
2689
|
args: [{ selector: 'wm-input[type="color"]', providers: [
|
|
2599
2690
|
i2.provideAs(InputColorComponent, i2$1.NG_VALUE_ACCESSOR, true),
|
|
2600
2691
|
i2.provideAs(InputColorComponent, i2$1.NG_VALIDATORS, true),
|
|
2601
2692
|
i2.provideAsWidgetRef(InputColorComponent)
|
|
2602
|
-
], template: "<input class=\"form-control app-textbox\"\n focus-target\n [type]=\"type\"\n role=\"textbox\"\n [attr.name]=\"name\"\n [(ngModel)]=\"datavalue\"\n [readonly]=\"readonly\"\n [required]=\"required\"\n [disabled]=\"disabled\"\n [maxlength]=\"maxchars\"\n [attr.tabindex]=\"tabindex\"\n [attr.placeholder]=\"placeholder\"\n [attr.accesskey]=\"shortcutkey\"\n [attr.aria-label]=\"hint\"\n [autofocus]=\"autofocus\"\n [ngClass]=\"conditionalclass\"\n [ngStyle]=\"conditionalstyle\"\n (blur)=\"handleBlur($event)\"\n (ngModelChange)=\"handleChange($event)\"\n #input>\n" }]
|
|
2603
|
-
}],
|
|
2693
|
+
], template: "<input class=\"form-control app-textbox\"\n focus-target\n [type]=\"type\"\n role=\"textbox\"\n [attr.name]=\"name\"\n [(ngModel)]=\"datavalue\"\n [ngModelOptions]=\"{standalone: true}\"\n [readonly]=\"readonly\"\n [required]=\"required\"\n [disabled]=\"disabled\"\n [maxlength]=\"maxchars\"\n [attr.tabindex]=\"tabindex\"\n [attr.placeholder]=\"placeholder\"\n [attr.accesskey]=\"shortcutkey\"\n [attr.aria-label]=\"hint\"\n [autofocus]=\"autofocus\"\n [ngClass]=\"conditionalclass\"\n [ngStyle]=\"conditionalstyle\"\n (blur)=\"handleBlur($event)\"\n (ngModelChange)=\"handleChange($event)\"\n #input>\n" }]
|
|
2694
|
+
}], () => [{ type: i0__namespace.Injector }, { type: undefined, decorators: [{
|
|
2695
|
+
type: i0.Inject,
|
|
2696
|
+
args: ['EXPLICIT_CONTEXT']
|
|
2697
|
+
}, {
|
|
2698
|
+
type: i0.Optional
|
|
2699
|
+
}] }], { inputEl: [{
|
|
2604
2700
|
type: i0.ViewChild,
|
|
2605
2701
|
args: ['input', { static: true }]
|
|
2606
2702
|
}], ngModel: [{
|
|
2607
2703
|
type: i0.ViewChild,
|
|
2608
2704
|
args: [i2$1.NgModel]
|
|
2609
2705
|
}] }); })();
|
|
2706
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassDebugInfo(InputColorComponent, { className: "InputColorComponent", filePath: "text/color/input-color.component.ts", lineNumber: 23 }); })();
|
|
2610
2707
|
|
|
2611
2708
|
const inputEmailTypeProps = new Map([
|
|
2612
2709
|
['autocomplete', { value: true, ...i2.PROP_BOOLEAN }],
|
|
@@ -2643,10 +2740,10 @@
|
|
|
2643
2740
|
};
|
|
2644
2741
|
class InputEmailComponent extends BaseInput {
|
|
2645
2742
|
static { this.initializeProps = registerProps$3(); }
|
|
2646
|
-
constructor(inj) {
|
|
2647
|
-
super(inj, WIDGET_CONFIG$3);
|
|
2743
|
+
constructor(inj, explicitContext) {
|
|
2744
|
+
super(inj, WIDGET_CONFIG$3, explicitContext);
|
|
2648
2745
|
}
|
|
2649
|
-
static { this.ɵfac = function InputEmailComponent_Factory(t) { return new (t || InputEmailComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector)); }; }
|
|
2746
|
+
static { this.ɵfac = function InputEmailComponent_Factory(t) { return new (t || InputEmailComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵdirectiveInject('EXPLICIT_CONTEXT', 8)); }; }
|
|
2650
2747
|
static { this.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: InputEmailComponent, selectors: [["wm-input", "type", "email"]], viewQuery: function InputEmailComponent_Query(rf, ctx) { if (rf & 1) {
|
|
2651
2748
|
i0__namespace.ɵɵviewQuery(_c0$3, 7);
|
|
2652
2749
|
i0__namespace.ɵɵviewQuery(i2$1.NgModel, 5);
|
|
@@ -2658,30 +2755,39 @@
|
|
|
2658
2755
|
i2.provideAs(InputEmailComponent, i2$1.NG_VALUE_ACCESSOR, true),
|
|
2659
2756
|
i2.provideAs(InputEmailComponent, i2$1.NG_VALIDATORS, true),
|
|
2660
2757
|
i2.provideAsWidgetRef(InputEmailComponent)
|
|
2661
|
-
]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c1$2, decls: 2, vars: 17, consts: [["focus-target", "", "role", "textbox", "email", "", 1, "form-control", "app-textbox", 3, "type", "ngModel", "ngModelOptions", "readonly", "required", "disabled", "maxlength", "pattern", "autofocus", "ngClass", "ngStyle", "autocomplete"
|
|
2758
|
+
]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c1$2, decls: 2, vars: 17, consts: [["input", ""], ["focus-target", "", "role", "textbox", "email", "", 1, "form-control", "app-textbox", 3, "ngModelChange", "blur", "keyup.enter", "type", "ngModel", "ngModelOptions", "readonly", "required", "disabled", "maxlength", "pattern", "autofocus", "ngClass", "ngStyle", "autocomplete"]], template: function InputEmailComponent_Template(rf, ctx) { if (rf & 1) {
|
|
2662
2759
|
const _r1 = i0__namespace.ɵɵgetCurrentView();
|
|
2663
|
-
i0__namespace.ɵɵelementStart(0, "input",
|
|
2664
|
-
i0__namespace.ɵɵ
|
|
2760
|
+
i0__namespace.ɵɵelementStart(0, "input", 1, 0);
|
|
2761
|
+
i0__namespace.ɵɵtwoWayListener("ngModelChange", function InputEmailComponent_Template_input_ngModelChange_0_listener($event) { i0__namespace.ɵɵrestoreView(_r1); i0__namespace.ɵɵtwoWayBindingSet(ctx.datavalue, $event) || (ctx.datavalue = $event); return i0__namespace.ɵɵresetView($event); });
|
|
2762
|
+
i0__namespace.ɵɵlistener("blur", function InputEmailComponent_Template_input_blur_0_listener($event) { i0__namespace.ɵɵrestoreView(_r1); return i0__namespace.ɵɵresetView(ctx.handleBlur($event)); })("ngModelChange", function InputEmailComponent_Template_input_ngModelChange_0_listener($event) { i0__namespace.ɵɵrestoreView(_r1); return i0__namespace.ɵɵresetView(ctx.handleChange($event)); })("keyup.enter", function InputEmailComponent_Template_input_keyup_enter_0_listener() { i0__namespace.ɵɵrestoreView(_r1); const input_r2 = i0__namespace.ɵɵreference(1); return i0__namespace.ɵɵresetView(ctx.flushViewChanges(input_r2.value)); });
|
|
2665
2763
|
i0__namespace.ɵɵelementEnd();
|
|
2666
2764
|
} if (rf & 2) {
|
|
2667
|
-
i0__namespace.ɵɵproperty("type", ctx.type)
|
|
2765
|
+
i0__namespace.ɵɵproperty("type", ctx.type);
|
|
2766
|
+
i0__namespace.ɵɵtwoWayProperty("ngModel", ctx.datavalue);
|
|
2767
|
+
i0__namespace.ɵɵproperty("ngModelOptions", ctx.ngModelOptions)("readonly", ctx.readonly)("required", ctx.required)("disabled", ctx.disabled)("maxlength", ctx.maxchars)("pattern", ctx.regexp)("autofocus", ctx.autofocus)("ngClass", ctx.conditionalclass)("ngStyle", ctx.conditionalstyle)("autocomplete", ctx.autocomplete ? "on" : "off");
|
|
2668
2768
|
i0__namespace.ɵɵattribute("name", ctx.name)("tabindex", ctx.tabindex)("placeholder", ctx.placeholder)("accesskey", ctx.shortcutkey)("aria-label", ctx.hint);
|
|
2669
2769
|
} }, dependencies: [i1__namespace.NgClass, i1__namespace.NgStyle, i2$1__namespace.DefaultValueAccessor, i2$1__namespace.NgControlStatus, i2$1__namespace.RequiredValidator, i2$1__namespace.MaxLengthValidator, i2$1__namespace.PatternValidator, i2$1__namespace.EmailValidator, i2$1__namespace.NgModel], encapsulation: 2 }); }
|
|
2670
2770
|
}
|
|
2671
|
-
(
|
|
2771
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(InputEmailComponent, [{
|
|
2672
2772
|
type: i0.Component,
|
|
2673
2773
|
args: [{ selector: 'wm-input[type="email"]', providers: [
|
|
2674
2774
|
i2.provideAs(InputEmailComponent, i2$1.NG_VALUE_ACCESSOR, true),
|
|
2675
2775
|
i2.provideAs(InputEmailComponent, i2$1.NG_VALIDATORS, true),
|
|
2676
2776
|
i2.provideAsWidgetRef(InputEmailComponent)
|
|
2677
2777
|
], template: "<input class=\"form-control app-textbox\"\n focus-target\n role=\"textbox\"\n [type]=\"type\"\n [attr.name]=\"name\"\n [(ngModel)]=\"datavalue\"\n [ngModelOptions]=\"ngModelOptions\"\n [readonly]=\"readonly\"\n [required]=\"required\"\n [disabled]=\"disabled\"\n [maxlength]=\"maxchars\"\n [pattern]=\"regexp\"\n [attr.tabindex]=\"tabindex\"\n [attr.placeholder]=\"placeholder\"\n [attr.accesskey]=\"shortcutkey\"\n [attr.aria-label]=\"hint\"\n [autofocus]=\"autofocus\"\n [ngClass]=\"conditionalclass\"\n [ngStyle]=\"conditionalstyle\"\n (blur)=\"handleBlur($event)\"\n (ngModelChange)=\"handleChange($event)\"\n [autocomplete]=\"autocomplete ? 'on' : 'off'\"\n (keyup.enter)=\"flushViewChanges(input.value)\"\n email\n #input>\n" }]
|
|
2678
|
-
}],
|
|
2778
|
+
}], () => [{ type: i0__namespace.Injector }, { type: undefined, decorators: [{
|
|
2779
|
+
type: i0.Inject,
|
|
2780
|
+
args: ['EXPLICIT_CONTEXT']
|
|
2781
|
+
}, {
|
|
2782
|
+
type: i0.Optional
|
|
2783
|
+
}] }], { inputEl: [{
|
|
2679
2784
|
type: i0.ViewChild,
|
|
2680
2785
|
args: ['input', { static: true }]
|
|
2681
2786
|
}], ngModel: [{
|
|
2682
2787
|
type: i0.ViewChild,
|
|
2683
2788
|
args: [i2$1.NgModel]
|
|
2684
2789
|
}] }); })();
|
|
2790
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassDebugInfo(InputEmailComponent, { className: "InputEmailComponent", filePath: "text/email/input-email.component.ts", lineNumber: 23 }); })();
|
|
2685
2791
|
|
|
2686
2792
|
const inputNumberTypeProps = new Map([
|
|
2687
2793
|
['autocomplete', { value: true, ...i2.PROP_BOOLEAN }],
|
|
@@ -2715,15 +2821,15 @@
|
|
|
2715
2821
|
|
|
2716
2822
|
const _c0$2 = ["input"];
|
|
2717
2823
|
const _c1$1 = ["type", "number"];
|
|
2718
|
-
const _c2 =
|
|
2824
|
+
const _c2 = a0 => ({ "step-hidden": a0 });
|
|
2719
2825
|
const WIDGET_CONFIG$2 = {
|
|
2720
2826
|
widgetType: 'wm-input-number',
|
|
2721
2827
|
hostClass: 'app-input-wrapper'
|
|
2722
2828
|
};
|
|
2723
2829
|
class InputNumberComponent extends BaseInput {
|
|
2724
2830
|
static { this.initializeProps = registerProps$2(); }
|
|
2725
|
-
constructor(inj) {
|
|
2726
|
-
super(inj, WIDGET_CONFIG$2);
|
|
2831
|
+
constructor(inj, explicitContext) {
|
|
2832
|
+
super(inj, WIDGET_CONFIG$2, explicitContext);
|
|
2727
2833
|
}
|
|
2728
2834
|
onArrowPress($event) {
|
|
2729
2835
|
if (this.step === 0) {
|
|
@@ -2735,7 +2841,7 @@
|
|
|
2735
2841
|
return false;
|
|
2736
2842
|
}
|
|
2737
2843
|
}
|
|
2738
|
-
static { this.ɵfac = function InputNumberComponent_Factory(t) { return new (t || InputNumberComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector)); }; }
|
|
2844
|
+
static { this.ɵfac = function InputNumberComponent_Factory(t) { return new (t || InputNumberComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵdirectiveInject('EXPLICIT_CONTEXT', 8)); }; }
|
|
2739
2845
|
static { this.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: InputNumberComponent, selectors: [["wm-input", "type", "number"]], viewQuery: function InputNumberComponent_Query(rf, ctx) { if (rf & 1) {
|
|
2740
2846
|
i0__namespace.ɵɵviewQuery(_c0$2, 7);
|
|
2741
2847
|
i0__namespace.ɵɵviewQuery(i2$1.NgModel, 5);
|
|
@@ -2747,30 +2853,39 @@
|
|
|
2747
2853
|
i2.provideAs(InputNumberComponent, i2$1.NG_VALUE_ACCESSOR, true),
|
|
2748
2854
|
i2.provideAs(InputNumberComponent, i2$1.NG_VALIDATORS, true),
|
|
2749
2855
|
i2.provideAsWidgetRef(InputNumberComponent)
|
|
2750
|
-
]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c1$1, decls: 2, vars: 22, consts: [["focus-target", "", "role", "textbox", 1, "form-control", "app-textbox", 3, "
|
|
2856
|
+
]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c1$1, decls: 2, vars: 22, consts: [["input", ""], ["focus-target", "", "role", "textbox", 1, "form-control", "app-textbox", 3, "ngModelChange", "blur", "keyup.enter", "keydown.ArrowUp", "keydown.ArrowDown", "keypress", "ngClass", "type", "ngModel", "ngModelOptions", "readonly", "required", "disabled", "maxlength", "min", "max", "step", "autofocus", "ngStyle", "autocomplete"]], template: function InputNumberComponent_Template(rf, ctx) { if (rf & 1) {
|
|
2751
2857
|
const _r1 = i0__namespace.ɵɵgetCurrentView();
|
|
2752
|
-
i0__namespace.ɵɵelementStart(0, "input",
|
|
2753
|
-
i0__namespace.ɵɵ
|
|
2858
|
+
i0__namespace.ɵɵelementStart(0, "input", 1, 0);
|
|
2859
|
+
i0__namespace.ɵɵtwoWayListener("ngModelChange", function InputNumberComponent_Template_input_ngModelChange_0_listener($event) { i0__namespace.ɵɵrestoreView(_r1); i0__namespace.ɵɵtwoWayBindingSet(ctx.datavalue, $event) || (ctx.datavalue = $event); return i0__namespace.ɵɵresetView($event); });
|
|
2860
|
+
i0__namespace.ɵɵlistener("blur", function InputNumberComponent_Template_input_blur_0_listener($event) { i0__namespace.ɵɵrestoreView(_r1); return i0__namespace.ɵɵresetView(ctx.handleBlur($event)); })("ngModelChange", function InputNumberComponent_Template_input_ngModelChange_0_listener($event) { i0__namespace.ɵɵrestoreView(_r1); return i0__namespace.ɵɵresetView(ctx.handleChange($event)); })("keyup.enter", function InputNumberComponent_Template_input_keyup_enter_0_listener() { i0__namespace.ɵɵrestoreView(_r1); const input_r2 = i0__namespace.ɵɵreference(1); return i0__namespace.ɵɵresetView(ctx.flushViewChanges(input_r2.value)); })("keydown.ArrowUp", function InputNumberComponent_Template_input_keydown_ArrowUp_0_listener($event) { i0__namespace.ɵɵrestoreView(_r1); return i0__namespace.ɵɵresetView(ctx.onArrowPress($event)); })("keydown.ArrowDown", function InputNumberComponent_Template_input_keydown_ArrowDown_0_listener($event) { i0__namespace.ɵɵrestoreView(_r1); return i0__namespace.ɵɵresetView(ctx.onArrowPress($event)); })("keypress", function InputNumberComponent_Template_input_keypress_0_listener($event) { i0__namespace.ɵɵrestoreView(_r1); return i0__namespace.ɵɵresetView(ctx.validateInputEntry($event)); });
|
|
2754
2861
|
i0__namespace.ɵɵelementEnd();
|
|
2755
2862
|
} if (rf & 2) {
|
|
2756
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(20, _c2, ctx.step === 0))("type", ctx.type)
|
|
2863
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(20, _c2, ctx.step === 0))("type", ctx.type);
|
|
2864
|
+
i0__namespace.ɵɵtwoWayProperty("ngModel", ctx.datavalue);
|
|
2865
|
+
i0__namespace.ɵɵproperty("ngModelOptions", ctx.ngModelOptions)("readonly", ctx.readonly)("required", ctx.required)("disabled", ctx.disabled)("maxlength", ctx.maxchars)("min", ctx.minvalue)("max", ctx.maxvalue)("step", ctx.step)("autofocus", ctx.autofocus)("ngClass", ctx.conditionalclass)("ngStyle", ctx.conditionalstyle)("autocomplete", ctx.autocomplete ? "on" : "off");
|
|
2757
2866
|
i0__namespace.ɵɵattribute("name", ctx.name)("tabindex", ctx.tabindex)("placeholder", ctx.placeholder)("accesskey", ctx.shortcutkey)("aria-label", ctx.hint);
|
|
2758
2867
|
} }, dependencies: [i1__namespace.NgClass, i1__namespace.NgStyle, i2$1__namespace.DefaultValueAccessor, i2$1__namespace.NgControlStatus, i2$1__namespace.RequiredValidator, i2$1__namespace.MaxLengthValidator, i2$1__namespace.NgModel], encapsulation: 2 }); }
|
|
2759
2868
|
}
|
|
2760
|
-
(
|
|
2869
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(InputNumberComponent, [{
|
|
2761
2870
|
type: i0.Component,
|
|
2762
2871
|
args: [{ selector: 'wm-input[type="number"]', providers: [
|
|
2763
2872
|
i2.provideAs(InputNumberComponent, i2$1.NG_VALUE_ACCESSOR, true),
|
|
2764
2873
|
i2.provideAs(InputNumberComponent, i2$1.NG_VALIDATORS, true),
|
|
2765
2874
|
i2.provideAsWidgetRef(InputNumberComponent)
|
|
2766
2875
|
], template: "<input class=\"form-control app-textbox\"\n [ngClass]=\"{'step-hidden': step === 0}\"\n focus-target\n role=\"textbox\"\n [type]=\"type\"\n [attr.name]=\"name\"\n [(ngModel)]=\"datavalue\"\n [ngModelOptions]=\"ngModelOptions\"\n [readonly]=\"readonly\"\n [required]=\"required\"\n [disabled]=\"disabled\"\n [maxlength]=\"maxchars\"\n [min]=\"minvalue\"\n [max]=\"maxvalue\"\n [step]=\"step\"\n [attr.tabindex]=\"tabindex\"\n [attr.placeholder]=\"placeholder\"\n [attr.accesskey]=\"shortcutkey\"\n [attr.aria-label]=\"hint\"\n [autofocus]=\"autofocus\"\n [ngClass]=\"conditionalclass\"\n [ngStyle]=\"conditionalstyle\"\n (blur)=\"handleBlur($event)\"\n (ngModelChange)=\"handleChange($event)\"\n [autocomplete]=\"autocomplete ? 'on' : 'off'\"\n (keyup.enter)=\"flushViewChanges(input.value)\"\n (keydown.ArrowUp)=\"onArrowPress($event)\"\n (keydown.ArrowDown)=\"onArrowPress($event)\"\n (keypress)=\"validateInputEntry($event)\"\n #input>\n" }]
|
|
2767
|
-
}],
|
|
2876
|
+
}], () => [{ type: i0__namespace.Injector }, { type: undefined, decorators: [{
|
|
2877
|
+
type: i0.Inject,
|
|
2878
|
+
args: ['EXPLICIT_CONTEXT']
|
|
2879
|
+
}, {
|
|
2880
|
+
type: i0.Optional
|
|
2881
|
+
}] }], { inputEl: [{
|
|
2768
2882
|
type: i0.ViewChild,
|
|
2769
2883
|
args: ['input', { static: true }]
|
|
2770
2884
|
}], ngModel: [{
|
|
2771
2885
|
type: i0.ViewChild,
|
|
2772
2886
|
args: [i2$1.NgModel]
|
|
2773
2887
|
}] }); })();
|
|
2888
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassDebugInfo(InputNumberComponent, { className: "InputNumberComponent", filePath: "text/number/input-number.component.ts", lineNumber: 22 }); })();
|
|
2774
2889
|
|
|
2775
2890
|
const inputTextTypeProps = new Map([
|
|
2776
2891
|
['autocomplete', { value: true, ...i2.PROP_BOOLEAN }],
|
|
@@ -2819,8 +2934,8 @@
|
|
|
2819
2934
|
};
|
|
2820
2935
|
class InputTextComponent extends BaseInput {
|
|
2821
2936
|
static { this.initializeProps = registerProps$1(); }
|
|
2822
|
-
constructor(inj) {
|
|
2823
|
-
super(inj, WIDGET_CONFIG$1);
|
|
2937
|
+
constructor(inj, explicitContext) {
|
|
2938
|
+
super(inj, WIDGET_CONFIG$1, explicitContext);
|
|
2824
2939
|
this.lazy = false;
|
|
2825
2940
|
}
|
|
2826
2941
|
/* Define the property change handler. This function will be triggered when there is a change in the widget property */
|
|
@@ -2891,7 +3006,7 @@
|
|
|
2891
3006
|
super.ngOnInit();
|
|
2892
3007
|
this.isFocused = !!this.datavalue;
|
|
2893
3008
|
}
|
|
2894
|
-
static { this.ɵfac = function InputTextComponent_Factory(t) { return new (t || InputTextComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector)); }; }
|
|
3009
|
+
static { this.ɵfac = function InputTextComponent_Factory(t) { return new (t || InputTextComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵdirectiveInject('EXPLICIT_CONTEXT', 8)); }; }
|
|
2895
3010
|
static { this.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: InputTextComponent, selectors: [["wm-input", "type", "text"], ["wm-input", 3, "type", ""], ["wm-input", "type", "password"], ["wm-input", "type", "search"], ["wm-input", "type", "tel"], ["wm-input", "type", "url"]], viewQuery: function InputTextComponent_Query(rf, ctx) { if (rf & 1) {
|
|
2896
3011
|
i0__namespace.ɵɵviewQuery(_c0$1, 7);
|
|
2897
3012
|
i0__namespace.ɵɵviewQuery(i2$1.NgModel, 5);
|
|
@@ -2905,24 +3020,32 @@
|
|
|
2905
3020
|
i2.provideAs(InputTextComponent, i2$1.NG_VALUE_ACCESSOR, true),
|
|
2906
3021
|
i2.provideAs(InputTextComponent, i2$1.NG_VALIDATORS, true),
|
|
2907
3022
|
i2.provideAsWidgetRef(InputTextComponent)
|
|
2908
|
-
]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c1, decls: 2, vars: 19, consts: [["focus-target", "", "role", "textbox", 1, "form-control", "app-textbox", 3, "
|
|
3023
|
+
]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c1, decls: 2, vars: 19, consts: [["input", ""], ["focus-target", "", "role", "textbox", 1, "form-control", "app-textbox", 3, "ngModelChange", "blur", "focus", "keyup.enter", "type", "ngModel", "imask", "unmask", "ngModelOptions", "readonly", "required", "disabled", "maxlength", "pattern", "autofocus", "ngClass", "ngStyle", "autocomplete"]], template: function InputTextComponent_Template(rf, ctx) { if (rf & 1) {
|
|
2909
3024
|
const _r1 = i0__namespace.ɵɵgetCurrentView();
|
|
2910
|
-
i0__namespace.ɵɵelementStart(0, "input",
|
|
2911
|
-
i0__namespace.ɵɵ
|
|
3025
|
+
i0__namespace.ɵɵelementStart(0, "input", 1, 0);
|
|
3026
|
+
i0__namespace.ɵɵtwoWayListener("ngModelChange", function InputTextComponent_Template_input_ngModelChange_0_listener($event) { i0__namespace.ɵɵrestoreView(_r1); i0__namespace.ɵɵtwoWayBindingSet(ctx.datavalue, $event) || (ctx.datavalue = $event); return i0__namespace.ɵɵresetView($event); });
|
|
3027
|
+
i0__namespace.ɵɵlistener("ngModelChange", function InputTextComponent_Template_input_ngModelChange_0_listener($event) { i0__namespace.ɵɵrestoreView(_r1); return i0__namespace.ɵɵresetView(ctx.handleChange($event)); })("blur", function InputTextComponent_Template_input_blur_0_listener($event) { i0__namespace.ɵɵrestoreView(_r1); ctx.handleBlur($event); return i0__namespace.ɵɵresetView(ctx.checkForDisplayFormat($event)); })("focus", function InputTextComponent_Template_input_focus_0_listener($event) { i0__namespace.ɵɵrestoreView(_r1); return i0__namespace.ɵɵresetView(ctx.checkForDisplayFormat($event)); })("keyup.enter", function InputTextComponent_Template_input_keyup_enter_0_listener() { i0__namespace.ɵɵrestoreView(_r1); const input_r2 = i0__namespace.ɵɵreference(1); return i0__namespace.ɵɵresetView(ctx.flushViewChanges(input_r2.value)); });
|
|
2912
3028
|
i0__namespace.ɵɵelementEnd();
|
|
2913
3029
|
} if (rf & 2) {
|
|
2914
|
-
i0__namespace.ɵɵproperty("type", ctx.type)
|
|
3030
|
+
i0__namespace.ɵɵproperty("type", ctx.type);
|
|
3031
|
+
i0__namespace.ɵɵtwoWayProperty("ngModel", ctx.datavalue);
|
|
3032
|
+
i0__namespace.ɵɵproperty("imask", ctx.mask)("unmask", true)("ngModelOptions", ctx.ngModelOptions)("readonly", ctx.readonly)("required", ctx.required)("disabled", ctx.disabled)("maxlength", ctx.maxchars)("pattern", ctx.regexp)("autofocus", ctx.autofocus)("ngClass", ctx.conditionalclass)("ngStyle", ctx.conditionalstyle)("autocomplete", ctx.autocomplete ? "on" : "off");
|
|
2915
3033
|
i0__namespace.ɵɵattribute("name", ctx.name)("aria-label", ctx.hint)("tabindex", ctx.tabindex)("placeholder", ctx.placeholder)("accesskey", ctx.shortcutkey);
|
|
2916
3034
|
} }, dependencies: [i1__namespace.NgClass, i1__namespace.NgStyle, i2$1__namespace.DefaultValueAccessor, i2$1__namespace.NgControlStatus, i2$1__namespace.RequiredValidator, i2$1__namespace.MaxLengthValidator, i2$1__namespace.PatternValidator, i2$1__namespace.NgModel, i3__namespace.IMaskDirective], encapsulation: 2 }); }
|
|
2917
3035
|
}
|
|
2918
|
-
(
|
|
3036
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(InputTextComponent, [{
|
|
2919
3037
|
type: i0.Component,
|
|
2920
3038
|
args: [{ selector: 'wm-input[type="text"], wm-input:not([type]), wm-input[type="password"], wm-input[type="search"], wm-input[type="tel"], wm-input[type="url"]', providers: [
|
|
2921
3039
|
i2.provideAs(InputTextComponent, i2$1.NG_VALUE_ACCESSOR, true),
|
|
2922
3040
|
i2.provideAs(InputTextComponent, i2$1.NG_VALIDATORS, true),
|
|
2923
3041
|
i2.provideAsWidgetRef(InputTextComponent)
|
|
2924
3042
|
], template: "<input class=\"form-control app-textbox\"\n focus-target\n role=\"textbox\"\n [type]=\"type\"\n [attr.name]=\"name\"\n [attr.aria-label]=\"hint\"\n [(ngModel)]=\"datavalue\"\n [imask]=\"mask\"\n [unmask]=\"true\"\n [ngModelOptions]=\"ngModelOptions\"\n [readonly]=\"readonly\"\n [required]=\"required\"\n [disabled]=\"disabled\"\n [maxlength]=\"maxchars\"\n [pattern]=\"regexp\"\n [attr.tabindex]=\"tabindex\"\n [attr.placeholder]=\"placeholder\"\n [attr.accesskey]=\"shortcutkey\"\n [autofocus]=\"autofocus\"\n [ngClass]=\"conditionalclass\"\n [ngStyle]=\"conditionalstyle\"\n (ngModelChange)=\"handleChange($event)\"\n (blur)=\"handleBlur($event); checkForDisplayFormat($event)\"\n (focus)=\"checkForDisplayFormat($event)\"\n [autocomplete]=\"autocomplete ? 'on' : 'off'\"\n (keyup.enter)=\"flushViewChanges(input.value)\"\n #input>\n" }]
|
|
2925
|
-
}],
|
|
3043
|
+
}], () => [{ type: i0__namespace.Injector }, { type: undefined, decorators: [{
|
|
3044
|
+
type: i0.Inject,
|
|
3045
|
+
args: ['EXPLICIT_CONTEXT']
|
|
3046
|
+
}, {
|
|
3047
|
+
type: i0.Optional
|
|
3048
|
+
}] }], { inputEl: [{
|
|
2926
3049
|
type: i0.ViewChild,
|
|
2927
3050
|
args: ['input', { static: true }]
|
|
2928
3051
|
}], ngModel: [{
|
|
@@ -2932,6 +3055,7 @@
|
|
|
2932
3055
|
type: i0.ViewChild,
|
|
2933
3056
|
args: ['input', { read: i3.IMaskDirective }]
|
|
2934
3057
|
}] }); })();
|
|
3058
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassDebugInfo(InputTextComponent, { className: "InputTextComponent", filePath: "text/text/input-text.component.ts", lineNumber: 23 }); })();
|
|
2935
3059
|
|
|
2936
3060
|
const textareaProps = new Map([
|
|
2937
3061
|
['autofocus', i2.PROP_BOOLEAN],
|
|
@@ -2967,7 +3091,7 @@
|
|
|
2967
3091
|
i0__namespace.ɵɵelementEnd();
|
|
2968
3092
|
} if (rf & 2) {
|
|
2969
3093
|
const ctx_r1 = i0__namespace.ɵɵnextContext();
|
|
2970
|
-
i0__namespace.ɵɵadvance(
|
|
3094
|
+
i0__namespace.ɵɵadvance();
|
|
2971
3095
|
i0__namespace.ɵɵtextInterpolate(ctx_r1.limitdisplaytext);
|
|
2972
3096
|
} }
|
|
2973
3097
|
const WIDGET_CONFIG = {
|
|
@@ -2976,14 +3100,14 @@
|
|
|
2976
3100
|
};
|
|
2977
3101
|
class TextareaComponent extends BaseInput {
|
|
2978
3102
|
static { this.initializeProps = registerProps(); }
|
|
2979
|
-
constructor(inj) {
|
|
2980
|
-
super(inj, WIDGET_CONFIG);
|
|
3103
|
+
constructor(inj, explicitContext) {
|
|
3104
|
+
super(inj, WIDGET_CONFIG, explicitContext);
|
|
2981
3105
|
this.charlength = 0;
|
|
2982
3106
|
}
|
|
2983
3107
|
onInputChange() {
|
|
2984
3108
|
this.charlength = this.inputEl.nativeElement.value.length;
|
|
2985
3109
|
}
|
|
2986
|
-
static { this.ɵfac = function TextareaComponent_Factory(t) { return new (t || TextareaComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector)); }; }
|
|
3110
|
+
static { this.ɵfac = function TextareaComponent_Factory(t) { return new (t || TextareaComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵdirectiveInject('EXPLICIT_CONTEXT', 8)); }; }
|
|
2987
3111
|
static { this.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: TextareaComponent, selectors: [["wm-textarea"]], viewQuery: function TextareaComponent_Query(rf, ctx) { if (rf & 1) {
|
|
2988
3112
|
i0__namespace.ɵɵviewQuery(_c0, 7);
|
|
2989
3113
|
i0__namespace.ɵɵviewQuery(i2$1.NgModel, 5);
|
|
@@ -2995,32 +3119,41 @@
|
|
|
2995
3119
|
i2.provideAs(TextareaComponent, i2$1.NG_VALUE_ACCESSOR, true),
|
|
2996
3120
|
i2.provideAs(TextareaComponent, i2$1.NG_VALIDATORS, true),
|
|
2997
3121
|
i2.provideAsWidgetRef(TextareaComponent)
|
|
2998
|
-
]), i0__namespace.ɵɵInheritDefinitionFeature], decls: 3, vars: 15, consts: [["focus-target", "", "role", "textbox", "aria-multiline", "true", 1, "form-control", "app-textarea", 3, "
|
|
2999
|
-
i0__namespace.ɵɵ
|
|
3000
|
-
i0__namespace.ɵɵ
|
|
3122
|
+
]), i0__namespace.ɵɵInheritDefinitionFeature], decls: 3, vars: 15, consts: [["textarea", ""], ["focus-target", "", "role", "textbox", "aria-multiline", "true", 1, "form-control", "app-textarea", 3, "ngModelChange", "blur", "input", "ngModel", "ngModelOptions", "readonly", "required", "disabled", "maxlength", "autofocus", "ngClass", "ngStyle"], ["class", "textarea-count", 4, "ngIf"], [1, "textarea-count"]], template: function TextareaComponent_Template(rf, ctx) { if (rf & 1) {
|
|
3123
|
+
const _r1 = i0__namespace.ɵɵgetCurrentView();
|
|
3124
|
+
i0__namespace.ɵɵelementStart(0, "textarea", 1, 0);
|
|
3125
|
+
i0__namespace.ɵɵtwoWayListener("ngModelChange", function TextareaComponent_Template_textarea_ngModelChange_0_listener($event) { i0__namespace.ɵɵrestoreView(_r1); i0__namespace.ɵɵtwoWayBindingSet(ctx.datavalue, $event) || (ctx.datavalue = $event); return i0__namespace.ɵɵresetView($event); });
|
|
3126
|
+
i0__namespace.ɵɵlistener("blur", function TextareaComponent_Template_textarea_blur_0_listener($event) { i0__namespace.ɵɵrestoreView(_r1); return i0__namespace.ɵɵresetView(ctx.handleBlur($event)); })("input", function TextareaComponent_Template_textarea_input_0_listener() { i0__namespace.ɵɵrestoreView(_r1); return i0__namespace.ɵɵresetView(ctx.onInputChange()); })("ngModelChange", function TextareaComponent_Template_textarea_ngModelChange_0_listener($event) { i0__namespace.ɵɵrestoreView(_r1); ctx.handleChange($event); return i0__namespace.ɵɵresetView(ctx.onInputChange()); });
|
|
3001
3127
|
i0__namespace.ɵɵelementEnd();
|
|
3002
3128
|
i0__namespace.ɵɵtemplate(2, TextareaComponent_div_2_Template, 2, 1, "div", 2);
|
|
3003
3129
|
} if (rf & 2) {
|
|
3004
|
-
i0__namespace.ɵɵ
|
|
3130
|
+
i0__namespace.ɵɵtwoWayProperty("ngModel", ctx.datavalue);
|
|
3131
|
+
i0__namespace.ɵɵproperty("ngModelOptions", ctx.ngModelOptions)("readonly", ctx.readonly)("required", ctx.required)("disabled", ctx.disabled)("maxlength", ctx.maxchars)("autofocus", ctx.autofocus)("ngClass", ctx.conditionalclass)("ngStyle", ctx.conditionalstyle);
|
|
3005
3132
|
i0__namespace.ɵɵattribute("name", ctx.name)("tabindex", ctx.tabindex)("placeholder", ctx.placeholder)("accesskey", ctx.shortcutkey)("aria-label", ctx.hint);
|
|
3006
3133
|
i0__namespace.ɵɵadvance(2);
|
|
3007
3134
|
i0__namespace.ɵɵproperty("ngIf", ctx.maxchars);
|
|
3008
3135
|
} }, dependencies: [i1__namespace.NgClass, i1__namespace.NgIf, i1__namespace.NgStyle, i2$1__namespace.DefaultValueAccessor, i2$1__namespace.NgControlStatus, i2$1__namespace.RequiredValidator, i2$1__namespace.MaxLengthValidator, i2$1__namespace.NgModel], encapsulation: 2 }); }
|
|
3009
3136
|
}
|
|
3010
|
-
(
|
|
3137
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(TextareaComponent, [{
|
|
3011
3138
|
type: i0.Component,
|
|
3012
3139
|
args: [{ selector: 'wm-textarea', providers: [
|
|
3013
3140
|
i2.provideAs(TextareaComponent, i2$1.NG_VALUE_ACCESSOR, true),
|
|
3014
3141
|
i2.provideAs(TextareaComponent, i2$1.NG_VALIDATORS, true),
|
|
3015
3142
|
i2.provideAsWidgetRef(TextareaComponent)
|
|
3016
3143
|
], template: "<textarea class=\"form-control app-textarea\"\n focus-target\n role=\"textbox\"\n [attr.name]=\"name\"\n [(ngModel)]=\"datavalue\"\n [ngModelOptions]=\"ngModelOptions\"\n [readonly]=\"readonly\"\n [required]=\"required\"\n [disabled]=\"disabled\"\n [maxlength]=\"maxchars\"\n [attr.tabindex]=\"tabindex\"\n [attr.placeholder]=\"placeholder\"\n [attr.accesskey]=\"shortcutkey\"\n [attr.aria-label]=\"hint\"\n aria-multiline=\"true\"\n [autofocus]=\"autofocus\"\n [ngClass]=\"conditionalclass\"\n [ngStyle]=\"conditionalstyle\"\n (blur)=\"handleBlur($event)\"\n (input)=\"onInputChange()\"\n (ngModelChange)=\"handleChange($event); onInputChange();\"\n #textarea\n></textarea>\n\n<div *ngIf=\"maxchars\" class=\"textarea-count\" >{{limitdisplaytext}}</div>\n" }]
|
|
3017
|
-
}],
|
|
3144
|
+
}], () => [{ type: i0__namespace.Injector }, { type: undefined, decorators: [{
|
|
3145
|
+
type: i0.Inject,
|
|
3146
|
+
args: ['EXPLICIT_CONTEXT']
|
|
3147
|
+
}, {
|
|
3148
|
+
type: i0.Optional
|
|
3149
|
+
}] }], { inputEl: [{
|
|
3018
3150
|
type: i0.ViewChild,
|
|
3019
3151
|
args: ['textarea', { static: true }]
|
|
3020
3152
|
}], ngModel: [{
|
|
3021
3153
|
type: i0.ViewChild,
|
|
3022
3154
|
args: [i2$1.NgModel]
|
|
3023
3155
|
}] }); })();
|
|
3156
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassDebugInfo(TextareaComponent, { className: "TextareaComponent", filePath: "textarea/textarea.component.ts", lineNumber: 22 }); })();
|
|
3024
3157
|
|
|
3025
3158
|
class CaptionPositionDirective {
|
|
3026
3159
|
constructor(inj, app) {
|
|
@@ -3034,7 +3167,7 @@
|
|
|
3034
3167
|
let mobileInputVal;
|
|
3035
3168
|
// In case of mobile date / time picker check for input element's value which has 'mobile-input' class
|
|
3036
3169
|
if (this.inputEl.length > 1 && this.inputEl.hasClass('mobile-input')) {
|
|
3037
|
-
|
|
3170
|
+
lodashEs.forEach(this.inputEl, (el) => {
|
|
3038
3171
|
if ($(el).hasClass('mobile-input') && el.value) {
|
|
3039
3172
|
mobileInputVal = el.value;
|
|
3040
3173
|
}
|
|
@@ -3180,12 +3313,12 @@
|
|
|
3180
3313
|
static { this.ɵfac = function CaptionPositionDirective_Factory(t) { return new (t || CaptionPositionDirective)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵdirectiveInject(i1$1__namespace.App)); }; }
|
|
3181
3314
|
static { this.ɵdir = /*@__PURE__*/ i0__namespace.ɵɵdefineDirective({ type: CaptionPositionDirective, selectors: [["", "wmCaptionPosition", ""]] }); }
|
|
3182
3315
|
}
|
|
3183
|
-
(
|
|
3316
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(CaptionPositionDirective, [{
|
|
3184
3317
|
type: i0.Directive,
|
|
3185
3318
|
args: [{
|
|
3186
3319
|
selector: '[wmCaptionPosition]'
|
|
3187
3320
|
}]
|
|
3188
|
-
}],
|
|
3321
|
+
}], () => [{ type: i0__namespace.Injector }, { type: i1$1__namespace.App }], null); })();
|
|
3189
3322
|
|
|
3190
3323
|
const components = [
|
|
3191
3324
|
ButtonComponent,
|
|
@@ -3213,7 +3346,7 @@
|
|
|
3213
3346
|
i2.WmComponentsModule,
|
|
3214
3347
|
i3.IMaskModule] }); }
|
|
3215
3348
|
}
|
|
3216
|
-
(
|
|
3349
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(InputModule, [{
|
|
3217
3350
|
type: i0.NgModule,
|
|
3218
3351
|
args: [{
|
|
3219
3352
|
imports: [
|
|
@@ -3277,10 +3410,10 @@
|
|
|
3277
3410
|
exports.InputNumberComponent = InputNumberComponent;
|
|
3278
3411
|
exports.InputTextComponent = InputTextComponent;
|
|
3279
3412
|
exports.NumberComponent = NumberComponent;
|
|
3280
|
-
exports.NumberLocale = NumberLocale;
|
|
3281
3413
|
exports.RadiosetComponent = RadiosetComponent;
|
|
3282
3414
|
exports.SelectComponent = SelectComponent;
|
|
3283
3415
|
exports.SwitchComponent = SwitchComponent;
|
|
3284
3416
|
exports.TextareaComponent = TextareaComponent;
|
|
3417
|
+
exports.unStringify = unStringify;
|
|
3285
3418
|
|
|
3286
3419
|
}));
|