@wavemaker/app-ng-runtime 12.0.0-next.45001 → 12.0.0-next.45005
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 +263 -247
- 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 +1 -1
- app-ng-runtime/runtime/base/directives/accessroles.directive.d.ts +4 -3
- app-ng-runtime/runtime/base/esm2022/components/app-component/app.component.mjs +34 -30
- app-ng-runtime/runtime/base/esm2022/components/app-spinner.component.mjs +9 -8
- app-ng-runtime/runtime/base/esm2022/components/base-custom-widget.component.mjs +5 -5
- 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 +273 -256
- 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,16 +1,18 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Component, HostBinding, Directive, HostListener, Injectable,
|
|
2
|
+
import { Component, Inject, Optional, HostBinding, Directive, HostListener, Injectable, ElementRef, Attribute, ViewChild, ContentChildren, Injector, NgModule } from '@angular/core';
|
|
3
3
|
import * as i1 from '@angular/common';
|
|
4
|
-
import {
|
|
4
|
+
import { NumberSymbol, getLocaleNumberSymbol, CommonModule } from '@angular/common';
|
|
5
5
|
import * as i2$1 from '@angular/forms';
|
|
6
6
|
import { FormControlName, NgModel, NG_VALUE_ACCESSOR, NG_VALIDATORS, FormsModule } from '@angular/forms';
|
|
7
7
|
import * as i3 from 'angular-imask';
|
|
8
8
|
import { IMaskDirective, IMaskModule } from 'angular-imask';
|
|
9
9
|
import * as i2 from '@wm/components/base';
|
|
10
|
-
import {
|
|
10
|
+
import { PROP_STRING, PROP_ANY, PROP_BOOLEAN, PROP_NUMBER, register, DISPLAY_TYPE, StylableComponent, styler, provideAsWidgetRef, APPLY_STYLES_TYPE, WidgetConfig, registerFormWidget, provideAs, extractDataAsArray, ToDatePipe, ALLFIELDS, convertDataToObject, getOrderedDataset, transformDataWithKeys, transformFormData, getUniqObjsByDataField, groupData, handleHeaderClick, toggleAllHeaders, WidgetRef, INPUTMODE, TrailingZeroDecimalPipe, WmComponentsModule } from '@wm/components/base';
|
|
11
11
|
import * as i1$1 from '@wm/core';
|
|
12
|
-
import { DataSource, FormWidgetType, isDefined, toggleClass, AppDefaults,
|
|
12
|
+
import { DataSource, FormWidgetType, isDefined, toggleClass, AppDefaults, $appDigest, debounce as debounce$1, noop, isEqualWithFields, toBoolean, setListClass, switchClass, addForIdAttributes, addClass, AbstractI18nService, setAttr, removeAttr, setCSS } from '@wm/core';
|
|
13
|
+
import { has, set, isArray, debounce, toString, find, isNull, isObject, isEqual, isEmpty, forEach, includes, isString, get, isUndefined, round, toArray, intersection, findIndex } from 'lodash-es';
|
|
13
14
|
import { Subject } from 'rxjs';
|
|
15
|
+
import { __param, __metadata, __decorate } from 'tslib';
|
|
14
16
|
|
|
15
17
|
const registerProps$e = () => {
|
|
16
18
|
register('wm-button', new Map([
|
|
@@ -37,39 +39,39 @@ const registerProps$e = () => {
|
|
|
37
39
|
};
|
|
38
40
|
|
|
39
41
|
const _c0$c = ["wmButton", ""];
|
|
40
|
-
const _c1$b =
|
|
42
|
+
const _c1$b = [[["", 8, "caret"]]];
|
|
43
|
+
const _c2$8 = [".caret"];
|
|
44
|
+
const _c3$3 = (a0, a1, a2) => ({ width: a0, height: a1, margin: a2 });
|
|
45
|
+
const _c4$2 = (a0, a1, a2, a3) => ({ width: a0, height: a1, margin: a2, fontSize: a3 });
|
|
41
46
|
function ButtonComponent_img_0_Template(rf, ctx) { if (rf & 1) {
|
|
42
47
|
i0.ɵɵelement(0, "img", 5);
|
|
43
48
|
i0.ɵɵpipe(1, "image");
|
|
44
49
|
} if (rf & 2) {
|
|
45
50
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
46
|
-
i0.ɵɵproperty("src", i0.ɵɵpipeBind1(1, 2, ctx_r0.iconurl), i0.ɵɵsanitizeUrl)("ngStyle", i0.ɵɵpureFunction3(4,
|
|
51
|
+
i0.ɵɵproperty("src", i0.ɵɵpipeBind1(1, 2, ctx_r0.iconurl), i0.ɵɵsanitizeUrl)("ngStyle", i0.ɵɵpureFunction3(4, _c3$3, ctx_r0.iconwidth, ctx_r0.iconheight, ctx_r0.iconmargin));
|
|
47
52
|
} }
|
|
48
|
-
const _c2$5 = function (a0, a1, a2, a3) { return { width: a0, height: a1, margin: a2, fontSize: a3 }; };
|
|
49
53
|
function ButtonComponent_i_1_Template(rf, ctx) { if (rf & 1) {
|
|
50
54
|
i0.ɵɵelement(0, "i", 6);
|
|
51
55
|
} if (rf & 2) {
|
|
52
|
-
const
|
|
53
|
-
i0.ɵɵclassMapInterpolate1("app-icon ",
|
|
54
|
-
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction4(4,
|
|
56
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
57
|
+
i0.ɵɵclassMapInterpolate1("app-icon ", ctx_r0.iconclass, "");
|
|
58
|
+
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction4(4, _c4$2, ctx_r0.iconwidth, ctx_r0.iconheight, ctx_r0.iconmargin, ctx_r0.iconwidth));
|
|
55
59
|
} }
|
|
56
60
|
function ButtonComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
57
61
|
i0.ɵɵelementStart(0, "span", 7);
|
|
58
62
|
i0.ɵɵtext(1);
|
|
59
63
|
i0.ɵɵelementEnd();
|
|
60
64
|
} if (rf & 2) {
|
|
61
|
-
const
|
|
62
|
-
i0.ɵɵadvance(
|
|
63
|
-
i0.ɵɵtextInterpolate2("",
|
|
65
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
66
|
+
i0.ɵɵadvance();
|
|
67
|
+
i0.ɵɵtextInterpolate2("", ctx_r0.caption, " ", ctx_r0.appLocale.LABEL_ICON, "");
|
|
64
68
|
} }
|
|
65
69
|
function ButtonComponent_span_5_Template(rf, ctx) { if (rf & 1) {
|
|
66
70
|
i0.ɵɵelement(0, "span", 8);
|
|
67
71
|
} if (rf & 2) {
|
|
68
|
-
const
|
|
69
|
-
i0.ɵɵproperty("textContent",
|
|
72
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
73
|
+
i0.ɵɵproperty("textContent", ctx_r0.badgevalue);
|
|
70
74
|
} }
|
|
71
|
-
const _c3$2 = [[["", 8, "caret"]]];
|
|
72
|
-
const _c4$2 = [".caret"];
|
|
73
75
|
const DEFAULT_CLS$6 = 'btn app-button';
|
|
74
76
|
const WIDGET_CONFIG$e = {
|
|
75
77
|
widgetType: 'wm-button',
|
|
@@ -78,42 +80,45 @@ const WIDGET_CONFIG$e = {
|
|
|
78
80
|
};
|
|
79
81
|
class ButtonComponent extends StylableComponent {
|
|
80
82
|
static { this.initializeProps = registerProps$e(); }
|
|
81
|
-
constructor(inj) {
|
|
82
|
-
super(inj, WIDGET_CONFIG$e);
|
|
83
|
+
constructor(inj, explicitContext) {
|
|
84
|
+
super(inj, WIDGET_CONFIG$e, explicitContext);
|
|
83
85
|
styler(this.nativeElement, this);
|
|
84
86
|
}
|
|
85
|
-
static { this.ɵfac = function ButtonComponent_Factory(t) { return new (t || ButtonComponent)(i0.ɵɵdirectiveInject(i0.Injector)); }; }
|
|
87
|
+
static { this.ɵfac = function ButtonComponent_Factory(t) { return new (t || ButtonComponent)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject('EXPLICIT_CONTEXT', 8)); }; }
|
|
86
88
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ButtonComponent, selectors: [["button", "wmButton", ""]], hostVars: 5, hostBindings: function ButtonComponent_HostBindings(rf, ctx) { if (rf & 2) {
|
|
87
89
|
i0.ɵɵhostProperty("type", ctx.type)("tabIndex", ctx.tabindex)("disabled", ctx.disabled);
|
|
88
90
|
i0.ɵɵattribute("accesskey", ctx.shortcutkey)("icon-position", ctx.iconposition);
|
|
89
91
|
} }, exportAs: ["wmButton"], features: [i0.ɵɵProvidersFeature([
|
|
90
92
|
provideAsWidgetRef(ButtonComponent)
|
|
91
|
-
]), i0.ɵɵInheritDefinitionFeature], attrs: _c0$c, ngContentSelectors:
|
|
92
|
-
i0.ɵɵprojectionDef(
|
|
93
|
-
i0.ɵɵtemplate(0, ButtonComponent_img_0_Template, 2, 8, "img", 0);
|
|
94
|
-
i0.ɵɵtemplate(1, ButtonComponent_i_1_Template, 1, 9, "i", 1);
|
|
95
|
-
i0.ɵɵtemplate(2, ButtonComponent_span_2_Template, 2, 2, "span", 2);
|
|
93
|
+
]), i0.ɵɵ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) {
|
|
94
|
+
i0.ɵɵprojectionDef(_c1$b);
|
|
95
|
+
i0.ɵɵ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);
|
|
96
96
|
i0.ɵɵelement(3, "span", 3);
|
|
97
97
|
i0.ɵɵprojection(4);
|
|
98
98
|
i0.ɵɵtemplate(5, ButtonComponent_span_5_Template, 1, 1, "span", 4);
|
|
99
99
|
} if (rf & 2) {
|
|
100
100
|
i0.ɵɵproperty("ngIf", ctx.iconurl);
|
|
101
|
-
i0.ɵɵadvance(
|
|
101
|
+
i0.ɵɵadvance();
|
|
102
102
|
i0.ɵɵproperty("ngIf", ctx.iconclass);
|
|
103
|
-
i0.ɵɵadvance(
|
|
103
|
+
i0.ɵɵadvance();
|
|
104
104
|
i0.ɵɵproperty("ngIf", ctx.iconclass);
|
|
105
|
-
i0.ɵɵadvance(
|
|
105
|
+
i0.ɵɵadvance();
|
|
106
106
|
i0.ɵɵproperty("innerHTML", ctx.caption, i0.ɵɵsanitizeHtml);
|
|
107
107
|
i0.ɵɵadvance(2);
|
|
108
108
|
i0.ɵɵproperty("ngIf", ctx.badgevalue);
|
|
109
109
|
} }, dependencies: [i1.NgIf, i1.NgStyle, i2.TextContentDirective, i2.ImagePipe], encapsulation: 2 }); }
|
|
110
110
|
}
|
|
111
|
-
(
|
|
111
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ButtonComponent, [{
|
|
112
112
|
type: Component,
|
|
113
113
|
args: [{ selector: 'button[wmButton]', providers: [
|
|
114
114
|
provideAsWidgetRef(ButtonComponent)
|
|
115
115
|
], 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" }]
|
|
116
|
-
}],
|
|
116
|
+
}], () => [{ type: i0.Injector }, { type: undefined, decorators: [{
|
|
117
|
+
type: Inject,
|
|
118
|
+
args: ['EXPLICIT_CONTEXT']
|
|
119
|
+
}, {
|
|
120
|
+
type: Optional
|
|
121
|
+
}] }], { type: [{
|
|
117
122
|
type: HostBinding,
|
|
118
123
|
args: ['type']
|
|
119
124
|
}], tabindex: [{
|
|
@@ -129,6 +134,7 @@ class ButtonComponent extends StylableComponent {
|
|
|
129
134
|
type: HostBinding,
|
|
130
135
|
args: ['attr.icon-position']
|
|
131
136
|
}] }); })();
|
|
137
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ButtonComponent, { className: "ButtonComponent", filePath: "button/button.component.ts", lineNumber: 22 }); })();
|
|
132
138
|
|
|
133
139
|
const registerProps$d = () => {
|
|
134
140
|
register('wm-buttongroup', new Map([
|
|
@@ -151,11 +157,11 @@ class ButtonGroupDirective extends StylableComponent {
|
|
|
151
157
|
this.$element.find('.app-button').removeClass('selected');
|
|
152
158
|
$target.addClass('selected');
|
|
153
159
|
}
|
|
154
|
-
constructor(inj) {
|
|
155
|
-
super(inj, WIDGET_CONFIG$d);
|
|
160
|
+
constructor(inj, explicitContext) {
|
|
161
|
+
super(inj, WIDGET_CONFIG$d, explicitContext);
|
|
156
162
|
styler(this.nativeElement, this, APPLY_STYLES_TYPE.CONTAINER);
|
|
157
163
|
}
|
|
158
|
-
static { this.ɵfac = function ButtonGroupDirective_Factory(t) { return new (t || ButtonGroupDirective)(i0.ɵɵdirectiveInject(i0.Injector)); }; }
|
|
164
|
+
static { this.ɵfac = function ButtonGroupDirective_Factory(t) { return new (t || ButtonGroupDirective)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject('EXPLICIT_CONTEXT', 8)); }; }
|
|
159
165
|
static { this.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: ButtonGroupDirective, selectors: [["", "wmButtonGroup", ""]], hostVars: 2, hostBindings: function ButtonGroupDirective_HostBindings(rf, ctx) { if (rf & 1) {
|
|
160
166
|
i0.ɵɵlistener("click", function ButtonGroupDirective_click_HostBindingHandler($event) { return ctx.handleClick($event); });
|
|
161
167
|
} if (rf & 2) {
|
|
@@ -164,7 +170,7 @@ class ButtonGroupDirective extends StylableComponent {
|
|
|
164
170
|
provideAsWidgetRef(ButtonGroupDirective)
|
|
165
171
|
]), i0.ɵɵInheritDefinitionFeature] }); }
|
|
166
172
|
}
|
|
167
|
-
(
|
|
173
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ButtonGroupDirective, [{
|
|
168
174
|
type: Directive,
|
|
169
175
|
args: [{
|
|
170
176
|
selector: '[wmButtonGroup]',
|
|
@@ -172,7 +178,12 @@ class ButtonGroupDirective extends StylableComponent {
|
|
|
172
178
|
provideAsWidgetRef(ButtonGroupDirective)
|
|
173
179
|
]
|
|
174
180
|
}]
|
|
175
|
-
}],
|
|
181
|
+
}], () => [{ type: i0.Injector }, { type: undefined, decorators: [{
|
|
182
|
+
type: Inject,
|
|
183
|
+
args: ['EXPLICIT_CONTEXT']
|
|
184
|
+
}, {
|
|
185
|
+
type: Optional
|
|
186
|
+
}] }], { vertical: [{
|
|
176
187
|
type: HostBinding,
|
|
177
188
|
args: ['class.btn-group-vertical']
|
|
178
189
|
}], handleClick: [{
|
|
@@ -181,8 +192,8 @@ class ButtonGroupDirective extends StylableComponent {
|
|
|
181
192
|
}] }); })();
|
|
182
193
|
|
|
183
194
|
class BaseFormComponent extends StylableComponent {
|
|
184
|
-
constructor(inj, config, initPromise) {
|
|
185
|
-
super(inj, config, initPromise);
|
|
195
|
+
constructor(inj, config, explicitContext, initPromise) {
|
|
196
|
+
super(inj, config, explicitContext, initPromise);
|
|
186
197
|
this.inj = inj;
|
|
187
198
|
this.binddatavalue = this.$element.attr('datavalue.bind');
|
|
188
199
|
}
|
|
@@ -211,11 +222,11 @@ class BaseFormComponent extends StylableComponent {
|
|
|
211
222
|
}
|
|
212
223
|
binddatavalue = binddatavalue.replace(/\[\$i\]/g, '[0]');
|
|
213
224
|
// In case of list widget context will be the listItem.
|
|
214
|
-
if (
|
|
215
|
-
|
|
225
|
+
if (has(this.context, binddatavalue.split('.')[0])) {
|
|
226
|
+
set(this.context, binddatavalue, value);
|
|
216
227
|
}
|
|
217
228
|
else {
|
|
218
|
-
|
|
229
|
+
set(this.viewParent, binddatavalue, value);
|
|
219
230
|
}
|
|
220
231
|
}
|
|
221
232
|
invokeOnChange(value, $event) {
|
|
@@ -248,15 +259,20 @@ class BaseFormComponent extends StylableComponent {
|
|
|
248
259
|
});
|
|
249
260
|
}
|
|
250
261
|
}
|
|
251
|
-
static { this.ɵfac = function BaseFormComponent_Factory(t) { return new (t || BaseFormComponent)(i0.ɵɵinject(i0.Injector), i0.ɵɵinject(WidgetConfig), i0.ɵɵinject(Promise)); }; }
|
|
262
|
+
static { this.ɵfac = function BaseFormComponent_Factory(t) { return new (t || BaseFormComponent)(i0.ɵɵinject(i0.Injector), i0.ɵɵinject(WidgetConfig), i0.ɵɵinject('EXPLICIT_CONTEXT', 8), i0.ɵɵinject(Promise)); }; }
|
|
252
263
|
static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: BaseFormComponent, factory: BaseFormComponent.ɵfac }); }
|
|
253
264
|
}
|
|
254
|
-
(
|
|
265
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(BaseFormComponent, [{
|
|
255
266
|
type: Injectable
|
|
256
|
-
}],
|
|
267
|
+
}], () => [{ type: i0.Injector }, { type: undefined, decorators: [{
|
|
257
268
|
type: Inject,
|
|
258
269
|
args: [WidgetConfig]
|
|
259
|
-
}] }, { type:
|
|
270
|
+
}] }, { type: undefined, decorators: [{
|
|
271
|
+
type: Inject,
|
|
272
|
+
args: ['EXPLICIT_CONTEXT']
|
|
273
|
+
}, {
|
|
274
|
+
type: Optional
|
|
275
|
+
}] }, { type: Promise }], null); })();
|
|
260
276
|
|
|
261
277
|
/*
|
|
262
278
|
* WMS-18269
|
|
@@ -336,10 +352,10 @@ class BaseFormCustomComponent extends BaseFormComponent {
|
|
|
336
352
|
validate(control) {
|
|
337
353
|
return this['show'] ? validateRequiredBind(this['required'])(control) : null;
|
|
338
354
|
}
|
|
339
|
-
static { this.ɵfac = /*@__PURE__*/
|
|
355
|
+
static { this.ɵfac = /*@__PURE__*/ (() => { let ɵBaseFormCustomComponent_BaseFactory; return function BaseFormCustomComponent_Factory(t) { return (ɵBaseFormCustomComponent_BaseFactory || (ɵBaseFormCustomComponent_BaseFactory = i0.ɵɵgetInheritedFactory(BaseFormCustomComponent)))(t || BaseFormCustomComponent); }; })(); }
|
|
340
356
|
static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: BaseFormCustomComponent, factory: BaseFormCustomComponent.ɵfac }); }
|
|
341
357
|
}
|
|
342
|
-
(
|
|
358
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(BaseFormCustomComponent, [{
|
|
343
359
|
type: Injectable
|
|
344
360
|
}], null, null); })();
|
|
345
361
|
|
|
@@ -369,7 +385,8 @@ const registerProps$c = () => {
|
|
|
369
385
|
|
|
370
386
|
const _c0$b = ["checkbox"];
|
|
371
387
|
const _c1$a = ["wmCheckbox", ""];
|
|
372
|
-
const _c2$
|
|
388
|
+
const _c2$7 = (a0, a1, a2) => ({ "unchecked": a0, "disabled": a1, "required": a2 });
|
|
389
|
+
const _c3$2 = () => ({ standalone: true });
|
|
373
390
|
const DEFAULT_CLS$4 = 'app-checkbox checkbox';
|
|
374
391
|
const WIDGET_CONFIG$c = {
|
|
375
392
|
widgetType: 'wm-checkbox',
|
|
@@ -407,8 +424,8 @@ class CheckboxComponent extends BaseFormCustomComponent {
|
|
|
407
424
|
this.proxyModel = (isDefined(v) && v !== '') ? v === this._checkedvalue : undefined;
|
|
408
425
|
this.updatePrevDatavalue(this.datavalue);
|
|
409
426
|
}
|
|
410
|
-
constructor(inj, checkedVal, uncheckedVal, type) {
|
|
411
|
-
super(inj, WIDGET_CONFIG$c);
|
|
427
|
+
constructor(inj, checkedVal, uncheckedVal, type, explicitContext) {
|
|
428
|
+
super(inj, WIDGET_CONFIG$c, explicitContext);
|
|
412
429
|
this.type = type;
|
|
413
430
|
this._caption = ' ';
|
|
414
431
|
this._checkedvalue = unStringify(checkedVal, true);
|
|
@@ -465,7 +482,7 @@ class CheckboxComponent extends BaseFormCustomComponent {
|
|
|
465
482
|
super.ngAfterViewInit();
|
|
466
483
|
styler(this.nativeElement.querySelector('label'), this);
|
|
467
484
|
}
|
|
468
|
-
static { this.ɵfac = function CheckboxComponent_Factory(t) { return new (t || CheckboxComponent)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵinjectAttribute('checkedvalue'), i0.ɵɵinjectAttribute('uncheckedvalue'), i0.ɵɵinjectAttribute('type')); }; }
|
|
485
|
+
static { this.ɵfac = function CheckboxComponent_Factory(t) { return new (t || CheckboxComponent)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵinjectAttribute('checkedvalue'), i0.ɵɵinjectAttribute('uncheckedvalue'), i0.ɵɵinjectAttribute('type'), i0.ɵɵdirectiveInject('EXPLICIT_CONTEXT', 8)); }; }
|
|
469
486
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CheckboxComponent, selectors: [["", "wmCheckbox", ""]], viewQuery: function CheckboxComponent_Query(rf, ctx) { if (rf & 1) {
|
|
470
487
|
i0.ɵɵviewQuery(NgModel, 5);
|
|
471
488
|
i0.ɵɵviewQuery(_c0$b, 7, ElementRef);
|
|
@@ -479,17 +496,20 @@ class CheckboxComponent extends BaseFormCustomComponent {
|
|
|
479
496
|
provideAs(CheckboxComponent, NG_VALUE_ACCESSOR, true),
|
|
480
497
|
provideAs(CheckboxComponent, NG_VALIDATORS, true),
|
|
481
498
|
provideAsWidgetRef(CheckboxComponent)
|
|
482
|
-
]), i0.ɵɵInheritDefinitionFeature], attrs: _c1$a, decls: 6, vars:
|
|
483
|
-
i0.ɵɵ
|
|
484
|
-
i0.ɵɵ
|
|
499
|
+
]), i0.ɵɵ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) {
|
|
500
|
+
const _r1 = i0.ɵɵgetCurrentView();
|
|
501
|
+
i0.ɵɵelementStart(0, "label", 1)(1, "input", 2, 0);
|
|
502
|
+
i0.ɵɵtwoWayListener("ngModelChange", function CheckboxComponent_Template_input_ngModelChange_1_listener($event) { i0.ɵɵrestoreView(_r1); i0.ɵɵtwoWayBindingSet(ctx.proxyModel, $event) || (ctx.proxyModel = $event); return i0.ɵɵresetView($event); });
|
|
503
|
+
i0.ɵɵlistener("blur", function CheckboxComponent_Template_input_blur_1_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.invokeOnTouched($event)); })("ngModelChange", function CheckboxComponent_Template_input_ngModelChange_1_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.handleChange($event)); });
|
|
485
504
|
i0.ɵɵelementEnd();
|
|
486
505
|
i0.ɵɵelement(3, "span", 3)(4, "img", 4);
|
|
487
506
|
i0.ɵɵelementEnd();
|
|
488
507
|
i0.ɵɵelement(5, "input", 5);
|
|
489
508
|
} if (rf & 2) {
|
|
490
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction3(
|
|
491
|
-
i0.ɵɵadvance(
|
|
492
|
-
i0.ɵɵ
|
|
509
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction3(14, _c2$7, !ctx.proxyModel, ctx.disabled || ctx.readonly, ctx.required && ctx._caption));
|
|
510
|
+
i0.ɵɵadvance();
|
|
511
|
+
i0.ɵɵtwoWayProperty("ngModel", ctx.proxyModel);
|
|
512
|
+
i0.ɵɵproperty("ngModelOptions", i0.ɵɵpureFunction0(18, _c3$2))("readonly", ctx.readonly)("required", ctx.required)("disabled", ctx.disabled || ctx.readonly)("tabindex", ctx.tabindex);
|
|
493
513
|
i0.ɵɵattribute("name", ctx.name)("aria-label", ctx.hint)("aria-checked", !!ctx.proxyModel)("accesskey", ctx.shortcutkey);
|
|
494
514
|
i0.ɵɵadvance(2);
|
|
495
515
|
i0.ɵɵproperty("innerHtml", ctx._caption, i0.ɵɵsanitizeHtml);
|
|
@@ -497,14 +517,14 @@ class CheckboxComponent extends BaseFormCustomComponent {
|
|
|
497
517
|
i0.ɵɵproperty("disabled", ctx.disabled)("value", ctx.proxyModel);
|
|
498
518
|
} }, dependencies: [i1.NgClass, i2$1.CheckboxControlValueAccessor, i2$1.NgControlStatus, i2$1.CheckboxRequiredValidator, i2$1.NgModel], encapsulation: 2 }); }
|
|
499
519
|
}
|
|
500
|
-
(
|
|
520
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CheckboxComponent, [{
|
|
501
521
|
type: Component,
|
|
502
522
|
args: [{ selector: '[wmCheckbox]', providers: [
|
|
503
523
|
provideAs(CheckboxComponent, NG_VALUE_ACCESSOR, true),
|
|
504
524
|
provideAs(CheckboxComponent, NG_VALIDATORS, true),
|
|
505
525
|
provideAsWidgetRef(CheckboxComponent)
|
|
506
|
-
], 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" }]
|
|
507
|
-
}],
|
|
526
|
+
], 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" }]
|
|
527
|
+
}], () => [{ type: i0.Injector }, { type: undefined, decorators: [{
|
|
508
528
|
type: Attribute,
|
|
509
529
|
args: ['checkedvalue']
|
|
510
530
|
}] }, { type: undefined, decorators: [{
|
|
@@ -513,7 +533,12 @@ class CheckboxComponent extends BaseFormCustomComponent {
|
|
|
513
533
|
}] }, { type: undefined, decorators: [{
|
|
514
534
|
type: Attribute,
|
|
515
535
|
args: ['type']
|
|
516
|
-
}] }
|
|
536
|
+
}] }, { type: undefined, decorators: [{
|
|
537
|
+
type: Inject,
|
|
538
|
+
args: ['EXPLICIT_CONTEXT']
|
|
539
|
+
}, {
|
|
540
|
+
type: Optional
|
|
541
|
+
}] }], { ngModel: [{
|
|
517
542
|
type: ViewChild,
|
|
518
543
|
args: [NgModel]
|
|
519
544
|
}], checkboxEl: [{
|
|
@@ -523,6 +548,7 @@ class CheckboxComponent extends BaseFormCustomComponent {
|
|
|
523
548
|
type: HostListener,
|
|
524
549
|
args: ['keydown.enter', ['$event', '"ENTER"']]
|
|
525
550
|
}] }); })();
|
|
551
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CheckboxComponent, { className: "CheckboxComponent", filePath: "checkbox/checkbox.component.ts", lineNumber: 59 }); })();
|
|
526
552
|
|
|
527
553
|
class DatasetAwareFormComponent extends BaseFormCustomComponent {
|
|
528
554
|
get modelByKey() {
|
|
@@ -551,17 +577,17 @@ class DatasetAwareFormComponent extends BaseFormCustomComponent {
|
|
|
551
577
|
// invoke on datavalue change.
|
|
552
578
|
this.invokeOnChange(val, undefined, true);
|
|
553
579
|
}
|
|
554
|
-
constructor(inj, config, groupby) {
|
|
555
|
-
super(inj, config);
|
|
580
|
+
constructor(inj, config, explicitContext, groupby) {
|
|
581
|
+
super(inj, config, explicitContext);
|
|
556
582
|
this.groupby = groupby;
|
|
557
583
|
this.datasetItems = [];
|
|
558
584
|
this.acceptsArray = false; // set to true if proxyModel on widget accepts array type.
|
|
559
585
|
this.dataset$ = new Subject();
|
|
560
586
|
this.datavalue$ = new Subject();
|
|
561
587
|
this.allowempty = true;
|
|
562
|
-
this._debounceDatavalueUpdation =
|
|
588
|
+
this._debounceDatavalueUpdation = debounce((values) => {
|
|
563
589
|
// if no item is found in datasetItems, wait untill the dataset updates by preserving the datavalue in toBeProcessedDatavalue.
|
|
564
|
-
if (!isDefined(this._modelByKey) || (
|
|
590
|
+
if (!isDefined(this._modelByKey) || (isArray(this._modelByKey) && !this._modelByKey.length)) {
|
|
565
591
|
this.toBeProcessedDatavalue = values;
|
|
566
592
|
this._modelByValue = '';
|
|
567
593
|
}
|
|
@@ -569,7 +595,7 @@ class DatasetAwareFormComponent extends BaseFormCustomComponent {
|
|
|
569
595
|
// obtain the first array value when multiple is set to false.
|
|
570
596
|
// set the modelByValue only when undefined.
|
|
571
597
|
if (!isDefined(this._modelByValue)) {
|
|
572
|
-
this._modelByValue = (!this.multiple &&
|
|
598
|
+
this._modelByValue = (!this.multiple && isArray(this.toBeProcessedDatavalue)) ? this.toBeProcessedDatavalue[0] : this.toBeProcessedDatavalue;
|
|
573
599
|
}
|
|
574
600
|
this.toBeProcessedDatavalue = undefined;
|
|
575
601
|
}
|
|
@@ -580,7 +606,7 @@ class DatasetAwareFormComponent extends BaseFormCustomComponent {
|
|
|
580
606
|
this.binddisplayexpression = this.nativeElement.getAttribute('displayexpression.bind');
|
|
581
607
|
this.binddisplayimagesrc = this.nativeElement.getAttribute('displayimagesrc.bind');
|
|
582
608
|
this.binddisplaylabel = this.nativeElement.getAttribute('displaylabel.bind');
|
|
583
|
-
this._debouncedInitDatasetItems = debounce(() => {
|
|
609
|
+
this._debouncedInitDatasetItems = debounce$1(() => {
|
|
584
610
|
this.initDatasetItems();
|
|
585
611
|
$appDigest();
|
|
586
612
|
}, 150);
|
|
@@ -599,7 +625,7 @@ class DatasetAwareFormComponent extends BaseFormCustomComponent {
|
|
|
599
625
|
if (!this.datasetItems.length) {
|
|
600
626
|
return;
|
|
601
627
|
}
|
|
602
|
-
if (this.multiple && !
|
|
628
|
+
if (this.multiple && !isArray(keys)) {
|
|
603
629
|
keys = [keys];
|
|
604
630
|
}
|
|
605
631
|
// Set the _modelByKey to the modified keys.
|
|
@@ -607,10 +633,10 @@ class DatasetAwareFormComponent extends BaseFormCustomComponent {
|
|
|
607
633
|
if (this.multiple) {
|
|
608
634
|
this._modelByValue = [];
|
|
609
635
|
keys.forEach(key => {
|
|
610
|
-
const itemByKey =
|
|
636
|
+
const itemByKey = find(this.datasetItems, item => {
|
|
611
637
|
// not triple equal, as the instance type can be different.
|
|
612
638
|
// only value comparison should be done.
|
|
613
|
-
return
|
|
639
|
+
return toString(item.key) === toString(key);
|
|
614
640
|
});
|
|
615
641
|
if (itemByKey) {
|
|
616
642
|
itemByKey.selected = true;
|
|
@@ -620,10 +646,10 @@ class DatasetAwareFormComponent extends BaseFormCustomComponent {
|
|
|
620
646
|
}
|
|
621
647
|
else {
|
|
622
648
|
this._modelByValue = '';
|
|
623
|
-
const itemByKey =
|
|
649
|
+
const itemByKey = find(this.datasetItems, item => {
|
|
624
650
|
// not triple equal, as the instance type can be different.
|
|
625
651
|
// only value comparison should be done.
|
|
626
|
-
return
|
|
652
|
+
return toString(item.key) === toString(keys);
|
|
627
653
|
});
|
|
628
654
|
if (itemByKey) {
|
|
629
655
|
itemByKey.selected = true;
|
|
@@ -642,14 +668,14 @@ class DatasetAwareFormComponent extends BaseFormCustomComponent {
|
|
|
642
668
|
selectByValue(values) {
|
|
643
669
|
this.resetDatasetItems();
|
|
644
670
|
// if datavalue is not defined or empty then set the model as undefined.
|
|
645
|
-
if (!isDefined(values) || values === '' ||
|
|
671
|
+
if (!isDefined(values) || values === '' || isNull(values) || (values instanceof Array && !values.length)) {
|
|
646
672
|
this._modelByKey = undefined;
|
|
647
673
|
// do not return when allowempty is set to true.
|
|
648
674
|
if (!this.allowempty || !isDefined(values)) {
|
|
649
675
|
return;
|
|
650
676
|
}
|
|
651
677
|
}
|
|
652
|
-
if (this.acceptsArray && !
|
|
678
|
+
if (this.acceptsArray && !isArray(values)) {
|
|
653
679
|
values = this.allowempty ? [values] : extractDataAsArray(values);
|
|
654
680
|
}
|
|
655
681
|
// preserve the datavalue if datasetItems are empty.
|
|
@@ -658,16 +684,16 @@ class DatasetAwareFormComponent extends BaseFormCustomComponent {
|
|
|
658
684
|
return;
|
|
659
685
|
}
|
|
660
686
|
const filterField = this.datafield === ALLFIELDS ? 'dataObject' : 'key';
|
|
661
|
-
if (
|
|
687
|
+
if (isArray(values)) {
|
|
662
688
|
this._modelByKey = [];
|
|
663
689
|
values.forEach(val => {
|
|
664
|
-
const itemByValue =
|
|
690
|
+
const itemByValue = find(this.datasetItems, item => {
|
|
665
691
|
if (filterField === 'dataObject') {
|
|
666
692
|
if (this.compareby && this.compareby.length) {
|
|
667
693
|
return isEqualWithFields(item[filterField], val, this.compareby);
|
|
668
694
|
}
|
|
669
695
|
}
|
|
670
|
-
return (
|
|
696
|
+
return (isObject(item.value) ? isEqual(item.value, val) : (toString(item.value)).toLowerCase() === (toString(val)).toLowerCase());
|
|
671
697
|
});
|
|
672
698
|
if (itemByValue) {
|
|
673
699
|
itemByValue.selected = true;
|
|
@@ -677,13 +703,13 @@ class DatasetAwareFormComponent extends BaseFormCustomComponent {
|
|
|
677
703
|
}
|
|
678
704
|
else {
|
|
679
705
|
this._modelByKey = undefined;
|
|
680
|
-
const itemByValue =
|
|
706
|
+
const itemByValue = find(this.datasetItems, item => {
|
|
681
707
|
if (filterField === 'dataObject') {
|
|
682
708
|
if (this.compareby && this.compareby.length) {
|
|
683
709
|
return isEqualWithFields(item[filterField], values, this.compareby);
|
|
684
710
|
}
|
|
685
711
|
}
|
|
686
|
-
return (
|
|
712
|
+
return (isObject(item.value) ? isEqual(item.value, values) : (toString(item.value)).toLowerCase() === (toString(values)).toLowerCase());
|
|
687
713
|
});
|
|
688
714
|
if (itemByValue) {
|
|
689
715
|
itemByValue.selected = true;
|
|
@@ -706,7 +732,7 @@ class DatasetAwareFormComponent extends BaseFormCustomComponent {
|
|
|
706
732
|
}
|
|
707
733
|
// This function parses the dataset and extracts the displayOptions from parsed dataset.
|
|
708
734
|
initDatasetItems() {
|
|
709
|
-
if (!this.dataset ||
|
|
735
|
+
if (!this.dataset || isEmpty(this.dataset)) {
|
|
710
736
|
this.datasetItems = [];
|
|
711
737
|
// notify the dataset listeners
|
|
712
738
|
this.dataset$.next(this.datasetItems);
|
|
@@ -734,7 +760,7 @@ class DatasetAwareFormComponent extends BaseFormCustomComponent {
|
|
|
734
760
|
postDatasetItemsInit() {
|
|
735
761
|
if (this.datasetItems.length && !this._defaultQueryInvoked) {
|
|
736
762
|
// use the latest of toBeProcessedDatavalue, datavalue
|
|
737
|
-
const _datavalue =
|
|
763
|
+
const _datavalue = isEmpty(this.toBeProcessedDatavalue) ? this.datavalue : this.toBeProcessedDatavalue;
|
|
738
764
|
this.selectByValue(_datavalue);
|
|
739
765
|
}
|
|
740
766
|
// notify the dataset listeners
|
|
@@ -804,18 +830,23 @@ class DatasetAwareFormComponent extends BaseFormCustomComponent {
|
|
|
804
830
|
this.cancelLocaleChangeSubscription();
|
|
805
831
|
}
|
|
806
832
|
}
|
|
807
|
-
static { this.ɵfac = function DatasetAwareFormComponent_Factory(t) { return new (t || DatasetAwareFormComponent)(i0.ɵɵinject(i0.Injector), i0.ɵɵinject(WidgetConfig), i0.ɵɵinjectAttribute('groupby')); }; }
|
|
833
|
+
static { this.ɵfac = function DatasetAwareFormComponent_Factory(t) { return new (t || DatasetAwareFormComponent)(i0.ɵɵinject(i0.Injector), i0.ɵɵinject(WidgetConfig), i0.ɵɵinject('EXPLICIT_CONTEXT', 8), i0.ɵɵinjectAttribute('groupby')); }; }
|
|
808
834
|
static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: DatasetAwareFormComponent, factory: DatasetAwareFormComponent.ɵfac }); }
|
|
809
835
|
}
|
|
810
|
-
(
|
|
836
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DatasetAwareFormComponent, [{
|
|
811
837
|
type: Injectable
|
|
812
|
-
}],
|
|
838
|
+
}], () => [{ type: i0.Injector }, { type: undefined, decorators: [{
|
|
813
839
|
type: Inject,
|
|
814
840
|
args: [WidgetConfig]
|
|
841
|
+
}] }, { type: undefined, decorators: [{
|
|
842
|
+
type: Inject,
|
|
843
|
+
args: ['EXPLICIT_CONTEXT']
|
|
844
|
+
}, {
|
|
845
|
+
type: Optional
|
|
815
846
|
}] }, { type: undefined, decorators: [{
|
|
816
847
|
type: Attribute,
|
|
817
848
|
args: ['groupby']
|
|
818
|
-
}] }]
|
|
849
|
+
}] }], null); })();
|
|
819
850
|
|
|
820
851
|
const checkboxsetProps = new Map([
|
|
821
852
|
['class', PROP_STRING],
|
|
@@ -851,60 +882,61 @@ const registerProps$b = () => {
|
|
|
851
882
|
};
|
|
852
883
|
|
|
853
884
|
const _c0$a = ["wmCheckboxset", ""];
|
|
854
|
-
const _c1$9 =
|
|
885
|
+
const _c1$9 = (a0, a1) => ["checkbox", "app-checkbox", a0, a1];
|
|
886
|
+
const _c2$6 = a0 => ({ "disabled": a0 });
|
|
887
|
+
const _c3$1 = a0 => ({ "collapsible-content": a0 });
|
|
888
|
+
const _c4$1 = (a0, a1) => ["checkbox", "app-checkbox", "group-list-item", a0, a1];
|
|
855
889
|
function CheckboxsetComponent_ng_template_0_li_0_label_1_Template(rf, ctx) { if (rf & 1) {
|
|
856
890
|
i0.ɵɵelementStart(0, "label", 8);
|
|
857
891
|
i0.ɵɵelement(1, "input", 9)(2, "span", 10);
|
|
858
892
|
i0.ɵɵelementEnd();
|
|
859
893
|
} if (rf & 2) {
|
|
860
|
-
const
|
|
861
|
-
const
|
|
862
|
-
const
|
|
863
|
-
const
|
|
864
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(12,
|
|
865
|
-
i0.ɵɵadvance(
|
|
866
|
-
i0.ɵɵproperty("name", "checkboxset_" +
|
|
867
|
-
i0.ɵɵattribute("aria-label",
|
|
868
|
-
i0.ɵɵadvance(
|
|
869
|
-
i0.ɵɵproperty("textContent",
|
|
894
|
+
const ctx_r3 = i0.ɵɵnextContext();
|
|
895
|
+
const item_r2 = ctx_r3.$implicit;
|
|
896
|
+
const i_r5 = ctx_r3.index;
|
|
897
|
+
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
898
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(12, _c2$6, ctx_r2.disabled || ctx_r2.readonly))("title", item_r2.label);
|
|
899
|
+
i0.ɵɵadvance();
|
|
900
|
+
i0.ɵɵ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);
|
|
901
|
+
i0.ɵɵattribute("aria-label", item_r2.key)("aria-checked", item_r2.selected)("data-attr-index", i_r5);
|
|
902
|
+
i0.ɵɵadvance();
|
|
903
|
+
i0.ɵɵproperty("textContent", item_r2.label);
|
|
870
904
|
} }
|
|
871
905
|
function CheckboxsetComponent_ng_template_0_li_0_label_2_Template(rf, ctx) { if (rf & 1) {
|
|
872
906
|
i0.ɵɵelementStart(0, "label", 11);
|
|
873
907
|
i0.ɵɵelement(1, "input", 9)(2, "span", 12);
|
|
874
908
|
i0.ɵɵelementEnd();
|
|
875
909
|
} if (rf & 2) {
|
|
876
|
-
const
|
|
877
|
-
const
|
|
878
|
-
const
|
|
879
|
-
const
|
|
880
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10,
|
|
881
|
-
i0.ɵɵadvance(
|
|
882
|
-
i0.ɵɵproperty("name", "checkboxset_" +
|
|
883
|
-
i0.ɵɵattribute("aria-label",
|
|
910
|
+
const ctx_r3 = i0.ɵɵnextContext();
|
|
911
|
+
const item_r2 = ctx_r3.$implicit;
|
|
912
|
+
const i_r5 = ctx_r3.index;
|
|
913
|
+
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
914
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c2$6, ctx_r2.disabled || ctx_r2.readonly));
|
|
915
|
+
i0.ɵɵadvance();
|
|
916
|
+
i0.ɵɵ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);
|
|
917
|
+
i0.ɵɵattribute("aria-label", item_r2.key)("aria-checked", item_r2.selected)("data-attr-index", i_r5);
|
|
884
918
|
} }
|
|
885
|
-
const _c2$3 = function (a2, a3) { return ["checkbox", "app-checkbox", a2, a3]; };
|
|
886
919
|
function CheckboxsetComponent_ng_template_0_li_0_Template(rf, ctx) { if (rf & 1) {
|
|
887
|
-
const
|
|
920
|
+
const _r1 = i0.ɵɵgetCurrentView();
|
|
888
921
|
i0.ɵɵelementStart(0, "li", 5);
|
|
889
|
-
i0.ɵɵlistener("click", function CheckboxsetComponent_ng_template_0_li_0_Template_li_click_0_listener($event) { const
|
|
890
|
-
i0.ɵɵtemplate(1, CheckboxsetComponent_ng_template_0_li_0_label_1_Template, 3, 14, "label", 6);
|
|
891
|
-
i0.ɵɵtemplate(2, CheckboxsetComponent_ng_template_0_li_0_label_2_Template, 3, 12, "label", 7);
|
|
922
|
+
i0.ɵɵlistener("click", function CheckboxsetComponent_ng_template_0_li_0_Template_li_click_0_listener($event) { const item_r2 = i0.ɵɵrestoreView(_r1).$implicit; const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.onCheckboxLabelClick($event, item_r2.key)); });
|
|
923
|
+
i0.ɵɵ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);
|
|
892
924
|
i0.ɵɵelementEnd();
|
|
893
925
|
} if (rf & 2) {
|
|
894
|
-
const
|
|
895
|
-
const
|
|
896
|
-
i0.ɵɵclassProp("active",
|
|
897
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(7,
|
|
898
|
-
i0.ɵɵadvance(
|
|
899
|
-
i0.ɵɵproperty("ngIf", !
|
|
900
|
-
i0.ɵɵadvance(
|
|
901
|
-
i0.ɵɵproperty("ngIf",
|
|
926
|
+
const item_r2 = ctx.$implicit;
|
|
927
|
+
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
928
|
+
i0.ɵɵclassProp("active", item_r2.selected);
|
|
929
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(7, _c1$9, ctx_r2.itemclass, ctx_r2.itemsPerRowClass))("wmItemTemplate", ctx_r2.content)("userComponentParams", item_r2);
|
|
930
|
+
i0.ɵɵadvance();
|
|
931
|
+
i0.ɵɵproperty("ngIf", !ctx_r2.content);
|
|
932
|
+
i0.ɵɵadvance();
|
|
933
|
+
i0.ɵɵproperty("ngIf", ctx_r2.content);
|
|
902
934
|
} }
|
|
903
935
|
function CheckboxsetComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {
|
|
904
936
|
i0.ɵɵtemplate(0, CheckboxsetComponent_ng_template_0_li_0_Template, 3, 10, "li", 4);
|
|
905
937
|
} if (rf & 2) {
|
|
906
|
-
const
|
|
907
|
-
i0.ɵɵproperty("ngForOf",
|
|
938
|
+
const ctx_r2 = i0.ɵɵnextContext();
|
|
939
|
+
i0.ɵɵproperty("ngForOf", ctx_r2.datasetItems);
|
|
908
940
|
} }
|
|
909
941
|
function CheckboxsetComponent_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
910
942
|
i0.ɵɵelement(0, "div", 13);
|
|
@@ -912,102 +944,98 @@ function CheckboxsetComponent_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
|
912
944
|
function CheckboxsetComponent_ng_template_3_li_0_i_6_Template(rf, ctx) { if (rf & 1) {
|
|
913
945
|
i0.ɵɵelement(0, "i", 23);
|
|
914
946
|
} if (rf & 2) {
|
|
915
|
-
const
|
|
916
|
-
i0.ɵɵpropertyInterpolate2("title", "",
|
|
947
|
+
const ctx_r2 = i0.ɵɵnextContext(3);
|
|
948
|
+
i0.ɵɵpropertyInterpolate2("title", "", ctx_r2.appLocale.LABEL_COLLAPSE, "/", ctx_r2.appLocale.LABEL_EXPAND, "");
|
|
917
949
|
} }
|
|
918
950
|
function CheckboxsetComponent_ng_template_3_li_0_span_7_Template(rf, ctx) { if (rf & 1) {
|
|
919
951
|
i0.ɵɵelement(0, "span", 24);
|
|
920
952
|
} if (rf & 2) {
|
|
921
|
-
const
|
|
922
|
-
i0.ɵɵproperty("textContent",
|
|
953
|
+
const groupObj_r7 = i0.ɵɵnextContext().$implicit;
|
|
954
|
+
i0.ɵɵproperty("textContent", groupObj_r7.data.length);
|
|
923
955
|
} }
|
|
924
956
|
function CheckboxsetComponent_ng_template_3_li_0_li_8_label_1_Template(rf, ctx) { if (rf & 1) {
|
|
925
957
|
i0.ɵɵelementStart(0, "label", 8);
|
|
926
958
|
i0.ɵɵelement(1, "input", 26)(2, "span", 10);
|
|
927
959
|
i0.ɵɵelementEnd();
|
|
928
960
|
} if (rf & 2) {
|
|
929
|
-
const
|
|
930
|
-
const
|
|
931
|
-
const
|
|
932
|
-
const
|
|
933
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10,
|
|
934
|
-
i0.ɵɵadvance(
|
|
935
|
-
i0.ɵɵproperty("name", "checkboxset_" +
|
|
936
|
-
i0.ɵɵattribute("data-attr-index",
|
|
937
|
-
i0.ɵɵadvance(
|
|
938
|
-
i0.ɵɵproperty("textContent",
|
|
961
|
+
const ctx_r9 = i0.ɵɵnextContext();
|
|
962
|
+
const item_r9 = ctx_r9.$implicit;
|
|
963
|
+
const i_r11 = ctx_r9.index;
|
|
964
|
+
const ctx_r2 = i0.ɵɵnextContext(3);
|
|
965
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c2$6, ctx_r2.disabled || ctx_r2.readonly))("title", item_r9.label);
|
|
966
|
+
i0.ɵɵadvance();
|
|
967
|
+
i0.ɵɵ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);
|
|
968
|
+
i0.ɵɵattribute("data-attr-index", i_r11);
|
|
969
|
+
i0.ɵɵadvance();
|
|
970
|
+
i0.ɵɵproperty("textContent", item_r9.label);
|
|
939
971
|
} }
|
|
940
972
|
function CheckboxsetComponent_ng_template_3_li_0_li_8_label_2_Template(rf, ctx) { if (rf & 1) {
|
|
941
973
|
i0.ɵɵelementStart(0, "label", 11);
|
|
942
974
|
i0.ɵɵelement(1, "input", 26)(2, "span", 27);
|
|
943
975
|
i0.ɵɵelementEnd();
|
|
944
976
|
} if (rf & 2) {
|
|
945
|
-
const
|
|
946
|
-
const
|
|
947
|
-
const
|
|
948
|
-
const
|
|
949
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8,
|
|
950
|
-
i0.ɵɵadvance(
|
|
951
|
-
i0.ɵɵproperty("name", "checkboxset_" +
|
|
952
|
-
i0.ɵɵattribute("data-attr-index",
|
|
977
|
+
const ctx_r9 = i0.ɵɵnextContext();
|
|
978
|
+
const item_r9 = ctx_r9.$implicit;
|
|
979
|
+
const i_r11 = ctx_r9.index;
|
|
980
|
+
const ctx_r2 = i0.ɵɵnextContext(3);
|
|
981
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c2$6, ctx_r2.disabled || ctx_r2.readonly));
|
|
982
|
+
i0.ɵɵadvance();
|
|
983
|
+
i0.ɵɵ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);
|
|
984
|
+
i0.ɵɵattribute("data-attr-index", i_r11);
|
|
953
985
|
} }
|
|
954
|
-
const _c3$1 = function (a3, a4) { return ["checkbox", "app-checkbox", "group-list-item", a3, a4]; };
|
|
955
986
|
function CheckboxsetComponent_ng_template_3_li_0_li_8_Template(rf, ctx) { if (rf & 1) {
|
|
956
|
-
const
|
|
987
|
+
const _r8 = i0.ɵɵgetCurrentView();
|
|
957
988
|
i0.ɵɵelementStart(0, "li", 25);
|
|
958
|
-
i0.ɵɵlistener("click", function CheckboxsetComponent_ng_template_3_li_0_li_8_Template_li_click_0_listener($event) { const
|
|
959
|
-
i0.ɵɵtemplate(1, CheckboxsetComponent_ng_template_3_li_0_li_8_label_1_Template, 3, 12, "label", 6);
|
|
960
|
-
i0.ɵɵtemplate(2, CheckboxsetComponent_ng_template_3_li_0_li_8_label_2_Template, 3, 10, "label", 7);
|
|
989
|
+
i0.ɵɵlistener("click", function CheckboxsetComponent_ng_template_3_li_0_li_8_Template_li_click_0_listener($event) { const item_r9 = i0.ɵɵrestoreView(_r8).$implicit; const ctx_r2 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r2.onCheckboxLabelClick($event, item_r9)); });
|
|
990
|
+
i0.ɵɵ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);
|
|
961
991
|
i0.ɵɵelementEnd();
|
|
962
992
|
} if (rf & 2) {
|
|
963
|
-
const
|
|
964
|
-
const
|
|
965
|
-
i0.ɵɵclassProp("active",
|
|
966
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(7,
|
|
967
|
-
i0.ɵɵadvance(
|
|
968
|
-
i0.ɵɵproperty("ngIf", !
|
|
969
|
-
i0.ɵɵadvance(
|
|
970
|
-
i0.ɵɵproperty("ngIf",
|
|
993
|
+
const item_r9 = ctx.$implicit;
|
|
994
|
+
const ctx_r2 = i0.ɵɵnextContext(3);
|
|
995
|
+
i0.ɵɵclassProp("active", item_r9.selected);
|
|
996
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(7, _c4$1, ctx_r2.itemclass, ctx_r2.itemsPerRowClass))("wmItemTemplate", ctx_r2.content)("userComponentParams", item_r9);
|
|
997
|
+
i0.ɵɵadvance();
|
|
998
|
+
i0.ɵɵproperty("ngIf", !ctx_r2.content);
|
|
999
|
+
i0.ɵɵadvance();
|
|
1000
|
+
i0.ɵɵproperty("ngIf", ctx_r2.content);
|
|
971
1001
|
} }
|
|
972
|
-
const _c4$1 = function (a0) { return { "collapsible-content": a0 }; };
|
|
973
1002
|
function CheckboxsetComponent_ng_template_3_li_0_Template(rf, ctx) { if (rf & 1) {
|
|
974
|
-
const
|
|
1003
|
+
const _r6 = i0.ɵɵgetCurrentView();
|
|
975
1004
|
i0.ɵɵelementStart(0, "li", 15)(1, "ul", 16)(2, "li", 17);
|
|
976
|
-
i0.ɵɵlistener("click", function CheckboxsetComponent_ng_template_3_li_0_Template_li_click_2_listener($event) { i0.ɵɵrestoreView(
|
|
1005
|
+
i0.ɵɵlistener("click", function CheckboxsetComponent_ng_template_3_li_0_Template_li_click_2_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.handleHeaderClick($event)); });
|
|
977
1006
|
i0.ɵɵelementStart(3, "h4", 18);
|
|
978
1007
|
i0.ɵɵtext(4);
|
|
979
1008
|
i0.ɵɵelementStart(5, "div", 19);
|
|
980
|
-
i0.ɵɵtemplate(6, CheckboxsetComponent_ng_template_3_li_0_i_6_Template, 1,
|
|
981
|
-
i0.ɵɵtemplate(7, CheckboxsetComponent_ng_template_3_li_0_span_7_Template, 1, 1, "span", 21);
|
|
1009
|
+
i0.ɵɵ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);
|
|
982
1010
|
i0.ɵɵelementEnd()()();
|
|
983
1011
|
i0.ɵɵtemplate(8, CheckboxsetComponent_ng_template_3_li_0_li_8_Template, 3, 10, "li", 22);
|
|
984
1012
|
i0.ɵɵelementEnd()();
|
|
985
1013
|
} if (rf & 2) {
|
|
986
|
-
const
|
|
987
|
-
const
|
|
1014
|
+
const groupObj_r7 = ctx.$implicit;
|
|
1015
|
+
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
988
1016
|
i0.ɵɵadvance(2);
|
|
989
|
-
i0.ɵɵproperty("title",
|
|
1017
|
+
i0.ɵɵproperty("title", groupObj_r7.key)("ngClass", i0.ɵɵpureFunction1(6, _c3$1, ctx_r2.collapsible));
|
|
990
1018
|
i0.ɵɵadvance(2);
|
|
991
|
-
i0.ɵɵtextInterpolate1("",
|
|
1019
|
+
i0.ɵɵtextInterpolate1("", groupObj_r7.key, " ");
|
|
992
1020
|
i0.ɵɵadvance(2);
|
|
993
|
-
i0.ɵɵproperty("ngIf",
|
|
994
|
-
i0.ɵɵadvance(
|
|
995
|
-
i0.ɵɵproperty("ngIf",
|
|
996
|
-
i0.ɵɵadvance(
|
|
997
|
-
i0.ɵɵproperty("ngForOf",
|
|
1021
|
+
i0.ɵɵproperty("ngIf", ctx_r2.collapsible);
|
|
1022
|
+
i0.ɵɵadvance();
|
|
1023
|
+
i0.ɵɵproperty("ngIf", ctx_r2.showcount);
|
|
1024
|
+
i0.ɵɵadvance();
|
|
1025
|
+
i0.ɵɵproperty("ngForOf", groupObj_r7.data);
|
|
998
1026
|
} }
|
|
999
1027
|
function CheckboxsetComponent_ng_template_3_Template(rf, ctx) { if (rf & 1) {
|
|
1000
1028
|
i0.ɵɵtemplate(0, CheckboxsetComponent_ng_template_3_li_0_Template, 9, 8, "li", 14);
|
|
1001
1029
|
} if (rf & 2) {
|
|
1002
|
-
const
|
|
1003
|
-
i0.ɵɵproperty("ngForOf",
|
|
1030
|
+
const ctx_r2 = i0.ɵɵnextContext();
|
|
1031
|
+
i0.ɵɵproperty("ngForOf", ctx_r2.groupedData);
|
|
1004
1032
|
} }
|
|
1005
1033
|
const DEFAULT_CLS$3 = 'app-checkboxset list-group inline';
|
|
1006
1034
|
const WIDGET_CONFIG$b = { widgetType: 'wm-checkboxset', hostClass: DEFAULT_CLS$3 };
|
|
1007
1035
|
class CheckboxsetComponent extends DatasetAwareFormComponent {
|
|
1008
1036
|
static { this.initializeProps = registerProps$b(); }
|
|
1009
|
-
constructor(inj) {
|
|
1010
|
-
super(inj, WIDGET_CONFIG$b);
|
|
1037
|
+
constructor(inj, explicitContext) {
|
|
1038
|
+
super(inj, WIDGET_CONFIG$b, explicitContext);
|
|
1011
1039
|
this.layout = '';
|
|
1012
1040
|
styler(this.nativeElement, this);
|
|
1013
1041
|
this.multiple = true;
|
|
@@ -1019,7 +1047,8 @@ class CheckboxsetComponent extends DatasetAwareFormComponent {
|
|
|
1019
1047
|
// construct the _model from the checked elements.
|
|
1020
1048
|
const inputElements = this.nativeElement.querySelectorAll('input:checked');
|
|
1021
1049
|
const keys = [];
|
|
1022
|
-
|
|
1050
|
+
forEach(inputElements, ($el) => {
|
|
1051
|
+
// @ts-ignore
|
|
1023
1052
|
keys.push($el.value);
|
|
1024
1053
|
});
|
|
1025
1054
|
this.modelByKey = keys;
|
|
@@ -1038,7 +1067,7 @@ class CheckboxsetComponent extends DatasetAwareFormComponent {
|
|
|
1038
1067
|
return callback();
|
|
1039
1068
|
});
|
|
1040
1069
|
}
|
|
1041
|
-
else if (!
|
|
1070
|
+
else if (!includes(['change'], eventName)) {
|
|
1042
1071
|
super.handleEvent(node, eventName, callback, locals);
|
|
1043
1072
|
}
|
|
1044
1073
|
}
|
|
@@ -1061,38 +1090,43 @@ class CheckboxsetComponent extends DatasetAwareFormComponent {
|
|
|
1061
1090
|
super.onPropertyChange(key, nv, ov);
|
|
1062
1091
|
}
|
|
1063
1092
|
}
|
|
1064
|
-
static { this.ɵfac = function CheckboxsetComponent_Factory(t) { return new (t || CheckboxsetComponent)(i0.ɵɵdirectiveInject(i0.Injector)); }; }
|
|
1093
|
+
static { this.ɵfac = function CheckboxsetComponent_Factory(t) { return new (t || CheckboxsetComponent)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject('EXPLICIT_CONTEXT', 8)); }; }
|
|
1065
1094
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CheckboxsetComponent, selectors: [["", "wmCheckboxset", ""]], hostBindings: function CheckboxsetComponent_HostBindings(rf, ctx) { if (rf & 1) {
|
|
1066
1095
|
i0.ɵɵlistener("keydown.enter", function CheckboxsetComponent_keydown_enter_HostBindingHandler($event) { return ctx.onKeyDown($event, "ENTER"); });
|
|
1067
1096
|
} }, exportAs: ["wmCheckboxset"], features: [i0.ɵɵProvidersFeature([
|
|
1068
1097
|
provideAs(CheckboxsetComponent, NG_VALUE_ACCESSOR, true),
|
|
1069
1098
|
provideAs(CheckboxsetComponent, NG_VALIDATORS, true),
|
|
1070
1099
|
provideAsWidgetRef(CheckboxsetComponent)
|
|
1071
|
-
]), i0.ɵɵInheritDefinitionFeature], attrs: _c0$a, decls: 5, vars: 4, consts: [[3, "ngIf", "ngIfElse"], ["hidden", "", 1, "model-holder", 3, "disabled"], ["class", "readonly-wrapper", 4, "ngIf"], ["
|
|
1072
|
-
i0.ɵɵtemplate(0, CheckboxsetComponent_ng_template_0_Template, 1, 1, "ng-template",
|
|
1073
|
-
i0.ɵɵelement(1, "input",
|
|
1074
|
-
i0.ɵɵtemplate(2, CheckboxsetComponent_div_2_Template, 1, 0, "div",
|
|
1075
|
-
i0.ɵɵtemplate(3, CheckboxsetComponent_ng_template_3_Template, 1, 1, "ng-template", null, 3, i0.ɵɵtemplateRefExtractor);
|
|
1100
|
+
]), i0.ɵɵ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) {
|
|
1101
|
+
i0.ɵɵtemplate(0, CheckboxsetComponent_ng_template_0_Template, 1, 1, "ng-template", 1);
|
|
1102
|
+
i0.ɵɵelement(1, "input", 2);
|
|
1103
|
+
i0.ɵɵtemplate(2, CheckboxsetComponent_div_2_Template, 1, 0, "div", 3)(3, CheckboxsetComponent_ng_template_3_Template, 1, 1, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor);
|
|
1076
1104
|
} if (rf & 2) {
|
|
1077
|
-
const
|
|
1078
|
-
i0.ɵɵproperty("ngIf", !ctx.groupby)("ngIfElse",
|
|
1079
|
-
i0.ɵɵadvance(
|
|
1105
|
+
const groupedListTemplate_r12 = i0.ɵɵreference(4);
|
|
1106
|
+
i0.ɵɵproperty("ngIf", !ctx.groupby)("ngIfElse", groupedListTemplate_r12);
|
|
1107
|
+
i0.ɵɵadvance();
|
|
1080
1108
|
i0.ɵɵproperty("disabled", ctx.disabled || ctx.readonly);
|
|
1081
|
-
i0.ɵɵadvance(
|
|
1109
|
+
i0.ɵɵadvance();
|
|
1082
1110
|
i0.ɵɵproperty("ngIf", ctx.readonly || ctx.disabled);
|
|
1083
1111
|
} }, dependencies: [i1.NgClass, i1.NgForOf, i1.NgIf, i2.ItemTemplateDirective, i2.PartialParamHandlerDirective, i2.PartialContainerDirective, i2.TextContentDirective], encapsulation: 2 }); }
|
|
1084
1112
|
}
|
|
1085
|
-
(
|
|
1113
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CheckboxsetComponent, [{
|
|
1086
1114
|
type: Component,
|
|
1087
1115
|
args: [{ selector: '[wmCheckboxset]', exportAs: 'wmCheckboxset', providers: [
|
|
1088
1116
|
provideAs(CheckboxsetComponent, NG_VALUE_ACCESSOR, true),
|
|
1089
1117
|
provideAs(CheckboxsetComponent, NG_VALIDATORS, true),
|
|
1090
1118
|
provideAsWidgetRef(CheckboxsetComponent)
|
|
1091
1119
|
], 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" }]
|
|
1092
|
-
}],
|
|
1120
|
+
}], () => [{ type: i0.Injector }, { type: undefined, decorators: [{
|
|
1121
|
+
type: Inject,
|
|
1122
|
+
args: ['EXPLICIT_CONTEXT']
|
|
1123
|
+
}, {
|
|
1124
|
+
type: Optional
|
|
1125
|
+
}] }], { onKeyDown: [{
|
|
1093
1126
|
type: HostListener,
|
|
1094
1127
|
args: ['keydown.enter', ['$event', '"ENTER"']]
|
|
1095
1128
|
}] }); })();
|
|
1129
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CheckboxsetComponent, { className: "CheckboxsetComponent", filePath: "checkboxset/checkboxset.component.ts", lineNumber: 27 }); })();
|
|
1096
1130
|
|
|
1097
1131
|
const registerProps$a = () => {
|
|
1098
1132
|
register('wm-form-group', new Map([
|
|
@@ -1116,8 +1150,8 @@ const CAPTION_POSITION = {
|
|
|
1116
1150
|
};
|
|
1117
1151
|
class CompositeDirective extends StylableComponent {
|
|
1118
1152
|
static { this.initializeProps = registerProps$a(); }
|
|
1119
|
-
constructor(inj) {
|
|
1120
|
-
super(inj, WIDGET_CONFIG$a);
|
|
1153
|
+
constructor(inj, explicitContext) {
|
|
1154
|
+
super(inj, WIDGET_CONFIG$a, explicitContext);
|
|
1121
1155
|
styler(this.nativeElement, this, APPLY_STYLES_TYPE.CONTAINER);
|
|
1122
1156
|
}
|
|
1123
1157
|
/**
|
|
@@ -1153,7 +1187,7 @@ class CompositeDirective extends StylableComponent {
|
|
|
1153
1187
|
addForIdAttributes(this.nativeElement);
|
|
1154
1188
|
this.assignRequiredToSubComponents();
|
|
1155
1189
|
}
|
|
1156
|
-
static { this.ɵfac = function CompositeDirective_Factory(t) { return new (t || CompositeDirective)(i0.ɵɵdirectiveInject(i0.Injector)); }; }
|
|
1190
|
+
static { this.ɵfac = function CompositeDirective_Factory(t) { return new (t || CompositeDirective)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject('EXPLICIT_CONTEXT', 8)); }; }
|
|
1157
1191
|
static { this.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: CompositeDirective, selectors: [["div", "wmComposite", ""]], contentQueries: function CompositeDirective_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {
|
|
1158
1192
|
i0.ɵɵcontentQuery(dirIndex, WidgetRef, 5);
|
|
1159
1193
|
} if (rf & 2) {
|
|
@@ -1163,7 +1197,7 @@ class CompositeDirective extends StylableComponent {
|
|
|
1163
1197
|
provideAsWidgetRef(CompositeDirective)
|
|
1164
1198
|
]), i0.ɵɵInheritDefinitionFeature] }); }
|
|
1165
1199
|
}
|
|
1166
|
-
(
|
|
1200
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CompositeDirective, [{
|
|
1167
1201
|
type: Directive,
|
|
1168
1202
|
args: [{
|
|
1169
1203
|
selector: 'div[wmComposite]',
|
|
@@ -1171,7 +1205,12 @@ class CompositeDirective extends StylableComponent {
|
|
|
1171
1205
|
provideAsWidgetRef(CompositeDirective)
|
|
1172
1206
|
]
|
|
1173
1207
|
}]
|
|
1174
|
-
}],
|
|
1208
|
+
}], () => [{ type: i0.Injector }, { type: undefined, decorators: [{
|
|
1209
|
+
type: Inject,
|
|
1210
|
+
args: ['EXPLICIT_CONTEXT']
|
|
1211
|
+
}, {
|
|
1212
|
+
type: Optional
|
|
1213
|
+
}] }], { componentRefs: [{
|
|
1175
1214
|
type: ContentChildren,
|
|
1176
1215
|
args: [WidgetRef, { descendants: true }]
|
|
1177
1216
|
}] }); })();
|
|
@@ -1236,7 +1275,7 @@ class BaseInput extends BaseFormCustomComponent {
|
|
|
1236
1275
|
}
|
|
1237
1276
|
// invoke the change callback
|
|
1238
1277
|
handleChange(newValue) {
|
|
1239
|
-
if (this.autotrim && this.datavalue &&
|
|
1278
|
+
if (this.autotrim && this.datavalue && isString(this.datavalue)) {
|
|
1240
1279
|
this.datavalue = this.datavalue.trim();
|
|
1241
1280
|
}
|
|
1242
1281
|
this.invokeOnChange(this.datavalue, { type: 'change' }, this.ngModel.valid);
|
|
@@ -1254,7 +1293,7 @@ class BaseInput extends BaseFormCustomComponent {
|
|
|
1254
1293
|
// Update the model on enter key press
|
|
1255
1294
|
flushViewChanges(val) {
|
|
1256
1295
|
// when val contains masked value, update the model with unmasked value
|
|
1257
|
-
const unMaskedVal =
|
|
1296
|
+
const unMaskedVal = get(this.imask, 'maskRef.unmaskedValue');
|
|
1258
1297
|
val = unMaskedVal ? unMaskedVal : val;
|
|
1259
1298
|
this.ngModel.update.next(val);
|
|
1260
1299
|
$appDigest();
|
|
@@ -1267,30 +1306,36 @@ class BaseInput extends BaseFormCustomComponent {
|
|
|
1267
1306
|
}
|
|
1268
1307
|
styler(this.inputEl.nativeElement, this);
|
|
1269
1308
|
}
|
|
1270
|
-
constructor(inj, config) {
|
|
1271
|
-
super(inj, config);
|
|
1309
|
+
constructor(inj, config, explicitContext) {
|
|
1310
|
+
super(inj, config, explicitContext);
|
|
1272
1311
|
// possible values for ngModelOptions are 'blur' and 'change'
|
|
1273
1312
|
// default is 'blur'
|
|
1274
1313
|
this.ngModelOptions = {
|
|
1275
|
-
updateOn: ''
|
|
1314
|
+
updateOn: '',
|
|
1315
|
+
standalone: true
|
|
1276
1316
|
};
|
|
1277
1317
|
let updateOn = this.nativeElement.getAttribute('updateon') || 'blur';
|
|
1278
1318
|
updateOn = updateOn === 'default' ? 'change' : updateOn;
|
|
1279
1319
|
this.ngModelOptions.updateOn = updateOn;
|
|
1280
1320
|
}
|
|
1281
|
-
static { this.ɵfac = function BaseInput_Factory(t) { return new (t || BaseInput)(i0.ɵɵinject(i0.Injector), i0.ɵɵinject(WidgetConfig)); }; }
|
|
1321
|
+
static { this.ɵfac = function BaseInput_Factory(t) { return new (t || BaseInput)(i0.ɵɵinject(i0.Injector), i0.ɵɵinject(WidgetConfig), i0.ɵɵinject('EXPLICIT_CONTEXT', 8)); }; }
|
|
1282
1322
|
static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: BaseInput, factory: BaseInput.ɵfac }); }
|
|
1283
1323
|
}
|
|
1284
|
-
(
|
|
1324
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(BaseInput, [{
|
|
1285
1325
|
type: Injectable
|
|
1286
|
-
}],
|
|
1326
|
+
}], () => [{ type: i0.Injector }, { type: undefined, decorators: [{
|
|
1287
1327
|
type: Inject,
|
|
1288
1328
|
args: [WidgetConfig]
|
|
1289
|
-
}] }
|
|
1329
|
+
}] }, { type: undefined, decorators: [{
|
|
1330
|
+
type: Inject,
|
|
1331
|
+
args: ['EXPLICIT_CONTEXT']
|
|
1332
|
+
}, {
|
|
1333
|
+
type: Optional
|
|
1334
|
+
}] }], null); })();
|
|
1290
1335
|
|
|
1291
|
-
class NumberLocale extends BaseInput {
|
|
1292
|
-
constructor(inj, config, i18nService, trailingZeroDecimalPipe) {
|
|
1293
|
-
super(inj, config);
|
|
1336
|
+
let NumberLocale = class NumberLocale extends BaseInput {
|
|
1337
|
+
constructor(inj, config, i18nService, trailingZeroDecimalPipe, explicitContext) {
|
|
1338
|
+
super(inj, config, explicitContext);
|
|
1294
1339
|
this.i18nService = i18nService;
|
|
1295
1340
|
this.trailingZeroDecimalPipe = trailingZeroDecimalPipe;
|
|
1296
1341
|
this.isDefaultQuery = true;
|
|
@@ -1306,7 +1351,8 @@ class NumberLocale extends BaseInput {
|
|
|
1306
1351
|
set datavalue(value) {
|
|
1307
1352
|
this.lastValIsDecimal = false;
|
|
1308
1353
|
// set text value to null if data value is empty.
|
|
1309
|
-
|
|
1354
|
+
// @ts-ignore
|
|
1355
|
+
if (includes([null, undefined, ''], value)) {
|
|
1310
1356
|
const input = this.inputEl.nativeElement;
|
|
1311
1357
|
const prevDataValue = this.prevDatavalue;
|
|
1312
1358
|
this.displayValue = input.value = this.proxyModel = null;
|
|
@@ -1319,8 +1365,8 @@ class NumberLocale extends BaseInput {
|
|
|
1319
1365
|
}
|
|
1320
1366
|
// if the widget has default value and if we change the locale, the value should be in selected locale format.
|
|
1321
1367
|
if (this.isDefaultQuery) {
|
|
1322
|
-
const isLocalizedNumber =
|
|
1323
|
-
const parts = isLocalizedNumber ? value.split(this.DECIMAL) :
|
|
1368
|
+
const isLocalizedNumber = isString(value) && includes(value, this.DECIMAL);
|
|
1369
|
+
const parts = isLocalizedNumber ? value.split(this.DECIMAL) : isString(value) && value.split('.');
|
|
1324
1370
|
this.decimalValue = parts[1] || '';
|
|
1325
1371
|
value = isLocalizedNumber ? value : this.transformNumber(value);
|
|
1326
1372
|
}
|
|
@@ -1335,7 +1381,7 @@ class NumberLocale extends BaseInput {
|
|
|
1335
1381
|
model = NaN;
|
|
1336
1382
|
}
|
|
1337
1383
|
// On keypress, if the user types a decimal and is still active on the input do not throw error.
|
|
1338
|
-
if (
|
|
1384
|
+
if (isNaN(model) && strVal[strVal.length - 1] === this.DECIMAL && this.ngModelOptions.updateOn === 'change' && this.$element.find('input:focus').length) {
|
|
1339
1385
|
this.lastValIsDecimal = true;
|
|
1340
1386
|
}
|
|
1341
1387
|
// get a valid number form the text.
|
|
@@ -1371,7 +1417,7 @@ class NumberLocale extends BaseInput {
|
|
|
1371
1417
|
*/
|
|
1372
1418
|
isValid(val) {
|
|
1373
1419
|
// id number is infinite then consider it as invalid value
|
|
1374
|
-
if (
|
|
1420
|
+
if (isNaN(val) || !isFinite(val) || (!Number.isInteger(this.step) &&
|
|
1375
1421
|
this.countDecimals(val) > this.countDecimals(this.step))) {
|
|
1376
1422
|
this.isInvalidNumber = true;
|
|
1377
1423
|
return false;
|
|
@@ -1389,11 +1435,11 @@ class NumberLocale extends BaseInput {
|
|
|
1389
1435
|
* @returns {number}
|
|
1390
1436
|
*/
|
|
1391
1437
|
getValueInRange(value) {
|
|
1392
|
-
if (!
|
|
1438
|
+
if (!isNaN(this.minvalue) && value < this.minvalue) {
|
|
1393
1439
|
this.validateType = 'minvalue';
|
|
1394
1440
|
return this.minvalue;
|
|
1395
1441
|
}
|
|
1396
|
-
if (!
|
|
1442
|
+
if (!isNaN(this.maxvalue) && value > this.maxvalue) {
|
|
1397
1443
|
this.validateType = 'maxvalue';
|
|
1398
1444
|
return this.maxvalue;
|
|
1399
1445
|
}
|
|
@@ -1522,7 +1568,7 @@ class NumberLocale extends BaseInput {
|
|
|
1522
1568
|
const valInWholeNum = parseInt(value.toString().replace(/\D/g, ''));
|
|
1523
1569
|
financialVal = valInWholeNum * this.step;
|
|
1524
1570
|
}
|
|
1525
|
-
if (!
|
|
1571
|
+
if (!isNaN(financialVal)) {
|
|
1526
1572
|
// When update on key is set keypress, update the datavalue else update only the display value
|
|
1527
1573
|
if (this.ngModelOptions.updateOn === 'change') {
|
|
1528
1574
|
this.datavalue = parseFloat(financialVal.toFixed(stepVal));
|
|
@@ -1582,7 +1628,7 @@ class NumberLocale extends BaseInput {
|
|
|
1582
1628
|
const targetVal = $event.target.value.replace(/,/g, '');
|
|
1583
1629
|
// proxyModel to be updated from $event.target.value if present to support arrow keys when input changes else pick up from this.proxymodel
|
|
1584
1630
|
let proxyModel;
|
|
1585
|
-
if (targetVal && !
|
|
1631
|
+
if (targetVal && !isNaN(parseFloat(targetVal))) {
|
|
1586
1632
|
proxyModel = parseFloat(targetVal);
|
|
1587
1633
|
}
|
|
1588
1634
|
else {
|
|
@@ -1593,14 +1639,14 @@ class NumberLocale extends BaseInput {
|
|
|
1593
1639
|
if (this.numberNotInRange) {
|
|
1594
1640
|
const inputValue = this.parseNumber(this.inputEl.nativeElement.value);
|
|
1595
1641
|
// take the textbox value as current model if the value is valid.
|
|
1596
|
-
if (!
|
|
1642
|
+
if (!isNaN(inputValue)) {
|
|
1597
1643
|
value = this.getValueInRange(inputValue);
|
|
1598
1644
|
proxyModel = inputValue;
|
|
1599
1645
|
this.resetValidations();
|
|
1600
1646
|
}
|
|
1601
1647
|
}
|
|
1602
1648
|
else {
|
|
1603
|
-
if (
|
|
1649
|
+
if (isUndefined(proxyModel) || isNull(proxyModel)) {
|
|
1604
1650
|
proxyModel = value = this.getValueInRange((this.minvalue || 0));
|
|
1605
1651
|
this.resetValidations();
|
|
1606
1652
|
}
|
|
@@ -1611,7 +1657,7 @@ class NumberLocale extends BaseInput {
|
|
|
1611
1657
|
if ((key === 'UP' && proxyModel <= value) || (key === 'DOWN' && proxyModel >= value)) {
|
|
1612
1658
|
const decimalRoundValue = Math.max(this.countDecimals(proxyModel), this.countDecimals(this.step));
|
|
1613
1659
|
// update the modelProxy.
|
|
1614
|
-
this.proxyModel =
|
|
1660
|
+
this.proxyModel = round(value, decimalRoundValue);
|
|
1615
1661
|
this.updateDisplayText();
|
|
1616
1662
|
this.handleChange(this.proxyModel);
|
|
1617
1663
|
}
|
|
@@ -1646,7 +1692,7 @@ class NumberLocale extends BaseInput {
|
|
|
1646
1692
|
validateInputEntry($event) {
|
|
1647
1693
|
this.isDefaultQuery = false;
|
|
1648
1694
|
// allow actions if control key is pressed or if backspace is pressed. (for Mozilla).
|
|
1649
|
-
if ($event.ctrlKey ||
|
|
1695
|
+
if ($event.ctrlKey || includes(['Backspace', 'ArrowRight', 'ArrowLeft', 'Tab', 'Enter', 'Delete'], $event.key)) {
|
|
1650
1696
|
return;
|
|
1651
1697
|
}
|
|
1652
1698
|
const validity = new RegExp(`^[\\d\\s-,.e+${this.GROUP}${this.DECIMAL}]$`, 'i');
|
|
@@ -1677,18 +1723,18 @@ class NumberLocale extends BaseInput {
|
|
|
1677
1723
|
return false;
|
|
1678
1724
|
}
|
|
1679
1725
|
// comma cannot be entered consecutively
|
|
1680
|
-
if (
|
|
1726
|
+
if (includes(inputValue, ',') && inputValue[inputValue.length - 1] === ',' && $event.key === ',') {
|
|
1681
1727
|
return false;
|
|
1682
1728
|
}
|
|
1683
1729
|
// a decimal value can be entered only once in the input.
|
|
1684
|
-
if (
|
|
1730
|
+
if (includes(inputValue, this.DECIMAL) && $event.key === this.DECIMAL) {
|
|
1685
1731
|
return false;
|
|
1686
1732
|
}
|
|
1687
1733
|
// 'e' can be entered only once in the input.
|
|
1688
|
-
if (
|
|
1734
|
+
if (intersection(toArray(inputValue), ['e', 'E']).length && includes('eE', $event.key)) {
|
|
1689
1735
|
return false;
|
|
1690
1736
|
}
|
|
1691
|
-
if ((
|
|
1737
|
+
if ((includes(inputValue, '+') || includes(inputValue, '-')) && ($event.key === '+' || $event.key === '-')) {
|
|
1692
1738
|
return false;
|
|
1693
1739
|
}
|
|
1694
1740
|
// Do not allow user to enter only space without any input value
|
|
@@ -1723,7 +1769,13 @@ class NumberLocale extends BaseInput {
|
|
|
1723
1769
|
super.onPropertyChange(key, nv, ov);
|
|
1724
1770
|
}
|
|
1725
1771
|
}
|
|
1726
|
-
}
|
|
1772
|
+
};
|
|
1773
|
+
NumberLocale = __decorate([
|
|
1774
|
+
__param(4, Inject('EXPLICIT_CONTEXT')),
|
|
1775
|
+
__param(4, Optional()),
|
|
1776
|
+
__metadata("design:paramtypes", [Injector, Object, AbstractI18nService,
|
|
1777
|
+
TrailingZeroDecimalPipe, Object])
|
|
1778
|
+
], NumberLocale);
|
|
1727
1779
|
|
|
1728
1780
|
const _c0$9 = ["input"];
|
|
1729
1781
|
const _c1$8 = ["wmNumber", ""];
|
|
@@ -1733,10 +1785,10 @@ const WIDGET_CONFIG$9 = {
|
|
|
1733
1785
|
};
|
|
1734
1786
|
class NumberComponent extends NumberLocale {
|
|
1735
1787
|
static { this.initializeProps = registerProps$9(); }
|
|
1736
|
-
constructor(inj, i18nService, trailingZeroDecimalPipe) {
|
|
1737
|
-
super(inj, WIDGET_CONFIG$9, i18nService, trailingZeroDecimalPipe);
|
|
1788
|
+
constructor(inj, i18nService, trailingZeroDecimalPipe, explicitContext) {
|
|
1789
|
+
super(inj, WIDGET_CONFIG$9, i18nService, trailingZeroDecimalPipe, explicitContext);
|
|
1738
1790
|
}
|
|
1739
|
-
static { this.ɵfac = function NumberComponent_Factory(t) { return new (t || NumberComponent)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(i1$1.AbstractI18nService), i0.ɵɵdirectiveInject(i2.TrailingZeroDecimalPipe)); }; }
|
|
1791
|
+
static { this.ɵfac = function NumberComponent_Factory(t) { return new (t || NumberComponent)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(i1$1.AbstractI18nService), i0.ɵɵdirectiveInject(i2.TrailingZeroDecimalPipe), i0.ɵɵdirectiveInject('EXPLICIT_CONTEXT', 8)); }; }
|
|
1740
1792
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: NumberComponent, selectors: [["", "wmNumber", ""]], viewQuery: function NumberComponent_Query(rf, ctx) { if (rf & 1) {
|
|
1741
1793
|
i0.ɵɵviewQuery(_c0$9, 7);
|
|
1742
1794
|
i0.ɵɵviewQuery(NgModel, 7);
|
|
@@ -1748,29 +1800,36 @@ class NumberComponent extends NumberLocale {
|
|
|
1748
1800
|
provideAs(NumberComponent, NG_VALUE_ACCESSOR, true),
|
|
1749
1801
|
provideAs(NumberComponent, NG_VALIDATORS, true),
|
|
1750
1802
|
provideAsWidgetRef(NumberComponent)
|
|
1751
|
-
]), i0.ɵɵ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, "
|
|
1752
|
-
i0.ɵɵ
|
|
1753
|
-
i0.ɵɵ
|
|
1803
|
+
]), i0.ɵɵ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) {
|
|
1804
|
+
const _r1 = i0.ɵɵgetCurrentView();
|
|
1805
|
+
i0.ɵɵelementStart(0, "input", 1, 0);
|
|
1806
|
+
i0.ɵɵlistener("ngModelChange", function NumberComponent_Template_input_ngModelChange_0_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onModelChange($event)); })("blur", function NumberComponent_Template_input_blur_0_listener($event) { i0.ɵɵrestoreView(_r1); ctx.handleBlur($event); return i0.ɵɵresetView(ctx.checkForTrailingZeros($event)); })("focus", function NumberComponent_Template_input_focus_0_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.checkForTrailingZeros($event)); })("input", function NumberComponent_Template_input_input_0_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onInputChange($event.target.value)); })("keypress", function NumberComponent_Template_input_keypress_0_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.validateInputEntry($event)); })("keydown.backspace", function NumberComponent_Template_input_keydown_backspace_0_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onBackspace($event)); })("keydown.enter", function NumberComponent_Template_input_keydown_enter_0_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onEnter($event)); })("keydown.ArrowUp", function NumberComponent_Template_input_keydown_ArrowUp_0_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onArrowPress($event, "UP")); })("keydown.ArrowDown", function NumberComponent_Template_input_keydown_ArrowDown_0_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onArrowPress($event, "DOWN")); });
|
|
1754
1807
|
i0.ɵɵelementEnd();
|
|
1755
1808
|
} if (rf & 2) {
|
|
1756
1809
|
i0.ɵɵ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);
|
|
1757
1810
|
i0.ɵɵattribute("name", ctx.name)("tabindex", ctx.tabindex)("placeholder", ctx.placeholder)("accesskey", ctx.shortcutkey)("aria-label", ctx.hint);
|
|
1758
1811
|
} }, dependencies: [i1.NgClass, i1.NgStyle, i2$1.DefaultValueAccessor, i2$1.NgControlStatus, i2$1.RequiredValidator, i2$1.PatternValidator, i2$1.NgModel], encapsulation: 2 }); }
|
|
1759
1812
|
}
|
|
1760
|
-
(
|
|
1813
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(NumberComponent, [{
|
|
1761
1814
|
type: Component,
|
|
1762
1815
|
args: [{ selector: '[wmNumber]', providers: [
|
|
1763
1816
|
provideAs(NumberComponent, NG_VALUE_ACCESSOR, true),
|
|
1764
1817
|
provideAs(NumberComponent, NG_VALIDATORS, true),
|
|
1765
1818
|
provideAsWidgetRef(NumberComponent)
|
|
1766
1819
|
], 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" }]
|
|
1767
|
-
}],
|
|
1820
|
+
}], () => [{ type: i0.Injector }, { type: i1$1.AbstractI18nService }, { type: i2.TrailingZeroDecimalPipe }, { type: undefined, decorators: [{
|
|
1821
|
+
type: Inject,
|
|
1822
|
+
args: ['EXPLICIT_CONTEXT']
|
|
1823
|
+
}, {
|
|
1824
|
+
type: Optional
|
|
1825
|
+
}] }], { inputEl: [{
|
|
1768
1826
|
type: ViewChild,
|
|
1769
1827
|
args: ['input', { static: true }]
|
|
1770
1828
|
}], ngModel: [{
|
|
1771
1829
|
type: ViewChild,
|
|
1772
1830
|
args: [NgModel, { static: true }]
|
|
1773
1831
|
}] }); })();
|
|
1832
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(NumberComponent, { className: "NumberComponent", filePath: "number/number.component.ts", lineNumber: 24 }); })();
|
|
1774
1833
|
|
|
1775
1834
|
const radiosetProps = new Map([
|
|
1776
1835
|
['class', PROP_STRING],
|
|
@@ -1806,60 +1865,61 @@ const registerProps$8 = () => {
|
|
|
1806
1865
|
};
|
|
1807
1866
|
|
|
1808
1867
|
const _c0$8 = ["wmRadioset", ""];
|
|
1809
|
-
const _c1$7 =
|
|
1868
|
+
const _c1$7 = (a0, a1) => ["radio", "app-radio", a0, a1];
|
|
1869
|
+
const _c2$5 = a0 => ({ "disabled": a0 });
|
|
1870
|
+
const _c3 = a0 => ({ "collapsible-content": a0 });
|
|
1871
|
+
const _c4 = (a0, a1) => ["radio", "app-radio", "group-list-item", a0, a1];
|
|
1810
1872
|
function RadiosetComponent_ng_template_0_li_0_label_1_Template(rf, ctx) { if (rf & 1) {
|
|
1811
1873
|
i0.ɵɵelementStart(0, "label", 7);
|
|
1812
1874
|
i0.ɵɵelement(1, "input", 8)(2, "span", 9);
|
|
1813
1875
|
i0.ɵɵelementEnd();
|
|
1814
1876
|
} if (rf & 2) {
|
|
1815
|
-
const
|
|
1816
|
-
const
|
|
1817
|
-
const
|
|
1818
|
-
const
|
|
1819
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10,
|
|
1820
|
-
i0.ɵɵadvance(
|
|
1821
|
-
i0.ɵɵproperty("name", "radioset_" +
|
|
1822
|
-
i0.ɵɵattribute("aria-checked",
|
|
1823
|
-
i0.ɵɵadvance(
|
|
1824
|
-
i0.ɵɵproperty("textContent",
|
|
1877
|
+
const ctx_r3 = i0.ɵɵnextContext();
|
|
1878
|
+
const item_r2 = ctx_r3.$implicit;
|
|
1879
|
+
const i_r5 = ctx_r3.index;
|
|
1880
|
+
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
1881
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c2$5, ctx_r2.disabled || ctx_r2.readonly));
|
|
1882
|
+
i0.ɵɵadvance();
|
|
1883
|
+
i0.ɵɵ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);
|
|
1884
|
+
i0.ɵɵattribute("aria-checked", item_r2.selected)("data-attr-index", i_r5)("aria-label", item_r2.key);
|
|
1885
|
+
i0.ɵɵadvance();
|
|
1886
|
+
i0.ɵɵproperty("textContent", item_r2.label);
|
|
1825
1887
|
} }
|
|
1826
1888
|
function RadiosetComponent_ng_template_0_li_0_label_2_Template(rf, ctx) { if (rf & 1) {
|
|
1827
1889
|
i0.ɵɵelementStart(0, "label", 7);
|
|
1828
1890
|
i0.ɵɵelement(1, "input", 8)(2, "span", 10);
|
|
1829
1891
|
i0.ɵɵelementEnd();
|
|
1830
1892
|
} if (rf & 2) {
|
|
1831
|
-
const
|
|
1832
|
-
const
|
|
1833
|
-
const
|
|
1834
|
-
const
|
|
1835
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9,
|
|
1836
|
-
i0.ɵɵadvance(
|
|
1837
|
-
i0.ɵɵproperty("name", "radioset_" +
|
|
1838
|
-
i0.ɵɵattribute("aria-checked",
|
|
1893
|
+
const ctx_r3 = i0.ɵɵnextContext();
|
|
1894
|
+
const item_r2 = ctx_r3.$implicit;
|
|
1895
|
+
const i_r5 = ctx_r3.index;
|
|
1896
|
+
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
1897
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c2$5, ctx_r2.disabled || ctx_r2.readonly));
|
|
1898
|
+
i0.ɵɵadvance();
|
|
1899
|
+
i0.ɵɵ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);
|
|
1900
|
+
i0.ɵɵattribute("aria-checked", item_r2.selected)("data-attr-index", i_r5)("aria-label", item_r2.key);
|
|
1839
1901
|
} }
|
|
1840
|
-
const _c2$2 = function (a2, a3) { return ["radio", "app-radio", a2, a3]; };
|
|
1841
1902
|
function RadiosetComponent_ng_template_0_li_0_Template(rf, ctx) { if (rf & 1) {
|
|
1842
|
-
const
|
|
1903
|
+
const _r1 = i0.ɵɵgetCurrentView();
|
|
1843
1904
|
i0.ɵɵelementStart(0, "li", 5);
|
|
1844
|
-
i0.ɵɵlistener("click", function RadiosetComponent_ng_template_0_li_0_Template_li_click_0_listener($event) { const
|
|
1845
|
-
i0.ɵɵtemplate(1, RadiosetComponent_ng_template_0_li_0_label_1_Template, 3, 12, "label", 6);
|
|
1846
|
-
i0.ɵɵtemplate(2, RadiosetComponent_ng_template_0_li_0_label_2_Template, 3, 11, "label", 6);
|
|
1905
|
+
i0.ɵɵlistener("click", function RadiosetComponent_ng_template_0_li_0_Template_li_click_0_listener($event) { const item_r2 = i0.ɵɵrestoreView(_r1).$implicit; const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.onRadioLabelClick($event, item_r2.key)); });
|
|
1906
|
+
i0.ɵɵ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);
|
|
1847
1907
|
i0.ɵɵelementEnd();
|
|
1848
1908
|
} if (rf & 2) {
|
|
1849
|
-
const
|
|
1850
|
-
const
|
|
1851
|
-
i0.ɵɵclassProp("active",
|
|
1852
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(7,
|
|
1853
|
-
i0.ɵɵadvance(
|
|
1854
|
-
i0.ɵɵproperty("ngIf", !
|
|
1855
|
-
i0.ɵɵadvance(
|
|
1856
|
-
i0.ɵɵproperty("ngIf",
|
|
1909
|
+
const item_r2 = ctx.$implicit;
|
|
1910
|
+
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
1911
|
+
i0.ɵɵclassProp("active", item_r2.selected);
|
|
1912
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(7, _c1$7, ctx_r2.itemclass, ctx_r2.itemsPerRowClass))("wmItemTemplate", ctx_r2.content)("userComponentParams", item_r2);
|
|
1913
|
+
i0.ɵɵadvance();
|
|
1914
|
+
i0.ɵɵproperty("ngIf", !ctx_r2.content);
|
|
1915
|
+
i0.ɵɵadvance();
|
|
1916
|
+
i0.ɵɵproperty("ngIf", ctx_r2.content);
|
|
1857
1917
|
} }
|
|
1858
1918
|
function RadiosetComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {
|
|
1859
1919
|
i0.ɵɵtemplate(0, RadiosetComponent_ng_template_0_li_0_Template, 3, 10, "li", 4);
|
|
1860
1920
|
} if (rf & 2) {
|
|
1861
|
-
const
|
|
1862
|
-
i0.ɵɵproperty("ngForOf",
|
|
1921
|
+
const ctx_r2 = i0.ɵɵnextContext();
|
|
1922
|
+
i0.ɵɵproperty("ngForOf", ctx_r2.datasetItems);
|
|
1863
1923
|
} }
|
|
1864
1924
|
function RadiosetComponent_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
1865
1925
|
i0.ɵɵelement(0, "div", 11);
|
|
@@ -1867,102 +1927,98 @@ function RadiosetComponent_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
|
1867
1927
|
function RadiosetComponent_ng_template_3_li_0_i_6_Template(rf, ctx) { if (rf & 1) {
|
|
1868
1928
|
i0.ɵɵelement(0, "i", 21);
|
|
1869
1929
|
} if (rf & 2) {
|
|
1870
|
-
const
|
|
1871
|
-
i0.ɵɵpropertyInterpolate2("title", "",
|
|
1930
|
+
const ctx_r2 = i0.ɵɵnextContext(3);
|
|
1931
|
+
i0.ɵɵpropertyInterpolate2("title", "", ctx_r2.appLocale.LABEL_COLLAPSE, "/", ctx_r2.appLocale.LABEL_EXPAND, "");
|
|
1872
1932
|
} }
|
|
1873
1933
|
function RadiosetComponent_ng_template_3_li_0_span_7_Template(rf, ctx) { if (rf & 1) {
|
|
1874
1934
|
i0.ɵɵelement(0, "span", 22);
|
|
1875
1935
|
} if (rf & 2) {
|
|
1876
|
-
const
|
|
1877
|
-
i0.ɵɵproperty("textContent",
|
|
1936
|
+
const groupObj_r7 = i0.ɵɵnextContext().$implicit;
|
|
1937
|
+
i0.ɵɵproperty("textContent", groupObj_r7.data.length);
|
|
1878
1938
|
} }
|
|
1879
1939
|
function RadiosetComponent_ng_template_3_li_0_li_8_label_1_Template(rf, ctx) { if (rf & 1) {
|
|
1880
1940
|
i0.ɵɵelementStart(0, "label", 7);
|
|
1881
1941
|
i0.ɵɵelement(1, "input", 8)(2, "span", 9);
|
|
1882
1942
|
i0.ɵɵelementEnd();
|
|
1883
1943
|
} if (rf & 2) {
|
|
1884
|
-
const
|
|
1885
|
-
const
|
|
1886
|
-
const
|
|
1887
|
-
const
|
|
1888
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9,
|
|
1889
|
-
i0.ɵɵadvance(
|
|
1890
|
-
i0.ɵɵproperty("name", "radioset_" +
|
|
1891
|
-
i0.ɵɵattribute("aria-checked",
|
|
1892
|
-
i0.ɵɵadvance(
|
|
1893
|
-
i0.ɵɵproperty("textContent",
|
|
1944
|
+
const ctx_r9 = i0.ɵɵnextContext();
|
|
1945
|
+
const item_r9 = ctx_r9.$implicit;
|
|
1946
|
+
const i_r11 = ctx_r9.index;
|
|
1947
|
+
const ctx_r2 = i0.ɵɵnextContext(3);
|
|
1948
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c2$5, ctx_r2.disabled || ctx_r2.readonly));
|
|
1949
|
+
i0.ɵɵadvance();
|
|
1950
|
+
i0.ɵɵ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);
|
|
1951
|
+
i0.ɵɵattribute("aria-checked", item_r9.selected)("data-attr-index", i_r11);
|
|
1952
|
+
i0.ɵɵadvance();
|
|
1953
|
+
i0.ɵɵproperty("textContent", item_r9.label);
|
|
1894
1954
|
} }
|
|
1895
1955
|
function RadiosetComponent_ng_template_3_li_0_li_8_label_2_Template(rf, ctx) { if (rf & 1) {
|
|
1896
1956
|
i0.ɵɵelementStart(0, "label", 7);
|
|
1897
1957
|
i0.ɵɵelement(1, "input", 8)(2, "span", 10);
|
|
1898
1958
|
i0.ɵɵelementEnd();
|
|
1899
1959
|
} if (rf & 2) {
|
|
1900
|
-
const
|
|
1901
|
-
const
|
|
1902
|
-
const
|
|
1903
|
-
const
|
|
1904
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8,
|
|
1905
|
-
i0.ɵɵadvance(
|
|
1906
|
-
i0.ɵɵproperty("name", "radioset_" +
|
|
1907
|
-
i0.ɵɵattribute("aria-checked",
|
|
1960
|
+
const ctx_r9 = i0.ɵɵnextContext();
|
|
1961
|
+
const item_r9 = ctx_r9.$implicit;
|
|
1962
|
+
const i_r11 = ctx_r9.index;
|
|
1963
|
+
const ctx_r2 = i0.ɵɵnextContext(3);
|
|
1964
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c2$5, ctx_r2.disabled || ctx_r2.readonly));
|
|
1965
|
+
i0.ɵɵadvance();
|
|
1966
|
+
i0.ɵɵ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);
|
|
1967
|
+
i0.ɵɵattribute("aria-checked", item_r9.selected)("data-attr-index", i_r11);
|
|
1908
1968
|
} }
|
|
1909
|
-
const _c3 = function (a3, a4) { return ["radio", "app-radio", "group-list-item", a3, a4]; };
|
|
1910
1969
|
function RadiosetComponent_ng_template_3_li_0_li_8_Template(rf, ctx) { if (rf & 1) {
|
|
1911
|
-
const
|
|
1970
|
+
const _r8 = i0.ɵɵgetCurrentView();
|
|
1912
1971
|
i0.ɵɵelementStart(0, "li", 23);
|
|
1913
|
-
i0.ɵɵlistener("click", function RadiosetComponent_ng_template_3_li_0_li_8_Template_li_click_0_listener($event) { const
|
|
1914
|
-
i0.ɵɵtemplate(1, RadiosetComponent_ng_template_3_li_0_li_8_label_1_Template, 3, 11, "label", 6);
|
|
1915
|
-
i0.ɵɵtemplate(2, RadiosetComponent_ng_template_3_li_0_li_8_label_2_Template, 3, 10, "label", 6);
|
|
1972
|
+
i0.ɵɵlistener("click", function RadiosetComponent_ng_template_3_li_0_li_8_Template_li_click_0_listener($event) { const item_r9 = i0.ɵɵrestoreView(_r8).$implicit; const ctx_r2 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r2.onRadioLabelClick($event, item_r9)); });
|
|
1973
|
+
i0.ɵɵ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);
|
|
1916
1974
|
i0.ɵɵelementEnd();
|
|
1917
1975
|
} if (rf & 2) {
|
|
1918
|
-
const
|
|
1919
|
-
const
|
|
1920
|
-
i0.ɵɵclassProp("active",
|
|
1921
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(7,
|
|
1922
|
-
i0.ɵɵadvance(
|
|
1923
|
-
i0.ɵɵproperty("ngIf", !
|
|
1924
|
-
i0.ɵɵadvance(
|
|
1925
|
-
i0.ɵɵproperty("ngIf",
|
|
1976
|
+
const item_r9 = ctx.$implicit;
|
|
1977
|
+
const ctx_r2 = i0.ɵɵnextContext(3);
|
|
1978
|
+
i0.ɵɵclassProp("active", item_r9.selected);
|
|
1979
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(7, _c4, ctx_r2.itemclass, ctx_r2.itemsPerRowClass))("wmItemTemplate", ctx_r2.content)("userComponentParams", item_r9);
|
|
1980
|
+
i0.ɵɵadvance();
|
|
1981
|
+
i0.ɵɵproperty("ngIf", !ctx_r2.content);
|
|
1982
|
+
i0.ɵɵadvance();
|
|
1983
|
+
i0.ɵɵproperty("ngIf", ctx_r2.content);
|
|
1926
1984
|
} }
|
|
1927
|
-
const _c4 = function (a0) { return { "collapsible-content": a0 }; };
|
|
1928
1985
|
function RadiosetComponent_ng_template_3_li_0_Template(rf, ctx) { if (rf & 1) {
|
|
1929
|
-
const
|
|
1986
|
+
const _r6 = i0.ɵɵgetCurrentView();
|
|
1930
1987
|
i0.ɵɵelementStart(0, "li", 13)(1, "ul", 14)(2, "li", 15);
|
|
1931
|
-
i0.ɵɵlistener("click", function RadiosetComponent_ng_template_3_li_0_Template_li_click_2_listener($event) { i0.ɵɵrestoreView(
|
|
1988
|
+
i0.ɵɵlistener("click", function RadiosetComponent_ng_template_3_li_0_Template_li_click_2_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.handleHeaderClick($event)); });
|
|
1932
1989
|
i0.ɵɵelementStart(3, "h4", 16);
|
|
1933
1990
|
i0.ɵɵtext(4);
|
|
1934
1991
|
i0.ɵɵelementStart(5, "div", 17);
|
|
1935
|
-
i0.ɵɵtemplate(6, RadiosetComponent_ng_template_3_li_0_i_6_Template, 1,
|
|
1936
|
-
i0.ɵɵtemplate(7, RadiosetComponent_ng_template_3_li_0_span_7_Template, 1, 1, "span", 19);
|
|
1992
|
+
i0.ɵɵ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);
|
|
1937
1993
|
i0.ɵɵelementEnd()()();
|
|
1938
1994
|
i0.ɵɵtemplate(8, RadiosetComponent_ng_template_3_li_0_li_8_Template, 3, 10, "li", 20);
|
|
1939
1995
|
i0.ɵɵelementEnd()();
|
|
1940
1996
|
} if (rf & 2) {
|
|
1941
|
-
const
|
|
1942
|
-
const
|
|
1997
|
+
const groupObj_r7 = ctx.$implicit;
|
|
1998
|
+
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
1943
1999
|
i0.ɵɵadvance(2);
|
|
1944
|
-
i0.ɵɵproperty("title",
|
|
2000
|
+
i0.ɵɵproperty("title", groupObj_r7.key)("ngClass", i0.ɵɵpureFunction1(6, _c3, ctx_r2.collapsible));
|
|
1945
2001
|
i0.ɵɵadvance(2);
|
|
1946
|
-
i0.ɵɵtextInterpolate1("",
|
|
2002
|
+
i0.ɵɵtextInterpolate1("", groupObj_r7.key, " ");
|
|
1947
2003
|
i0.ɵɵadvance(2);
|
|
1948
|
-
i0.ɵɵproperty("ngIf",
|
|
1949
|
-
i0.ɵɵadvance(
|
|
1950
|
-
i0.ɵɵproperty("ngIf",
|
|
1951
|
-
i0.ɵɵadvance(
|
|
1952
|
-
i0.ɵɵproperty("ngForOf",
|
|
2004
|
+
i0.ɵɵproperty("ngIf", ctx_r2.collapsible);
|
|
2005
|
+
i0.ɵɵadvance();
|
|
2006
|
+
i0.ɵɵproperty("ngIf", ctx_r2.showcount);
|
|
2007
|
+
i0.ɵɵadvance();
|
|
2008
|
+
i0.ɵɵproperty("ngForOf", groupObj_r7.data);
|
|
1953
2009
|
} }
|
|
1954
2010
|
function RadiosetComponent_ng_template_3_Template(rf, ctx) { if (rf & 1) {
|
|
1955
2011
|
i0.ɵɵtemplate(0, RadiosetComponent_ng_template_3_li_0_Template, 9, 8, "li", 12);
|
|
1956
2012
|
} if (rf & 2) {
|
|
1957
|
-
const
|
|
1958
|
-
i0.ɵɵproperty("ngForOf",
|
|
2013
|
+
const ctx_r2 = i0.ɵɵnextContext();
|
|
2014
|
+
i0.ɵɵproperty("ngForOf", ctx_r2.groupedData);
|
|
1959
2015
|
} }
|
|
1960
2016
|
const DEFAULT_CLS$1 = 'app-radioset list-group inline';
|
|
1961
2017
|
const WIDGET_CONFIG$8 = { widgetType: 'wm-radioset', hostClass: DEFAULT_CLS$1 };
|
|
1962
2018
|
class RadiosetComponent extends DatasetAwareFormComponent {
|
|
1963
2019
|
static { this.initializeProps = registerProps$8(); }
|
|
1964
|
-
constructor(inj) {
|
|
1965
|
-
super(inj, WIDGET_CONFIG$8);
|
|
2020
|
+
constructor(inj, explicitContext) {
|
|
2021
|
+
super(inj, WIDGET_CONFIG$8, explicitContext);
|
|
1966
2022
|
this.layout = '';
|
|
1967
2023
|
styler(this.nativeElement, this);
|
|
1968
2024
|
this.multiple = false;
|
|
@@ -1990,7 +2046,7 @@ class RadiosetComponent extends DatasetAwareFormComponent {
|
|
|
1990
2046
|
return callback();
|
|
1991
2047
|
});
|
|
1992
2048
|
}
|
|
1993
|
-
else if (!
|
|
2049
|
+
else if (!includes(['change'], eventName)) {
|
|
1994
2050
|
super.handleEvent(node, eventName, callback, locals);
|
|
1995
2051
|
}
|
|
1996
2052
|
}
|
|
@@ -2005,33 +2061,38 @@ class RadiosetComponent extends DatasetAwareFormComponent {
|
|
|
2005
2061
|
super.onPropertyChange(key, nv, ov);
|
|
2006
2062
|
}
|
|
2007
2063
|
}
|
|
2008
|
-
static { this.ɵfac = function RadiosetComponent_Factory(t) { return new (t || RadiosetComponent)(i0.ɵɵdirectiveInject(i0.Injector)); }; }
|
|
2064
|
+
static { this.ɵfac = function RadiosetComponent_Factory(t) { return new (t || RadiosetComponent)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject('EXPLICIT_CONTEXT', 8)); }; }
|
|
2009
2065
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: RadiosetComponent, selectors: [["", "wmRadioset", ""]], exportAs: ["wmRadioset"], features: [i0.ɵɵProvidersFeature([
|
|
2010
2066
|
provideAs(RadiosetComponent, NG_VALUE_ACCESSOR, true),
|
|
2011
2067
|
provideAs(RadiosetComponent, NG_VALIDATORS, true),
|
|
2012
2068
|
provideAsWidgetRef(RadiosetComponent)
|
|
2013
|
-
]), i0.ɵɵ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"], ["
|
|
2014
|
-
i0.ɵɵtemplate(0, RadiosetComponent_ng_template_0_Template, 1, 1, "ng-template",
|
|
2015
|
-
i0.ɵɵelement(1, "input",
|
|
2016
|
-
i0.ɵɵtemplate(2, RadiosetComponent_div_2_Template, 1, 0, "div",
|
|
2017
|
-
i0.ɵɵtemplate(3, RadiosetComponent_ng_template_3_Template, 1, 1, "ng-template", null, 3, i0.ɵɵtemplateRefExtractor);
|
|
2069
|
+
]), i0.ɵɵ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) {
|
|
2070
|
+
i0.ɵɵtemplate(0, RadiosetComponent_ng_template_0_Template, 1, 1, "ng-template", 1);
|
|
2071
|
+
i0.ɵɵelement(1, "input", 2);
|
|
2072
|
+
i0.ɵɵtemplate(2, RadiosetComponent_div_2_Template, 1, 0, "div", 3)(3, RadiosetComponent_ng_template_3_Template, 1, 1, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor);
|
|
2018
2073
|
} if (rf & 2) {
|
|
2019
|
-
const
|
|
2020
|
-
i0.ɵɵproperty("ngIf", !ctx.groupby)("ngIfElse",
|
|
2021
|
-
i0.ɵɵadvance(
|
|
2074
|
+
const groupedListTemplate_r12 = i0.ɵɵreference(4);
|
|
2075
|
+
i0.ɵɵproperty("ngIf", !ctx.groupby)("ngIfElse", groupedListTemplate_r12);
|
|
2076
|
+
i0.ɵɵadvance();
|
|
2022
2077
|
i0.ɵɵproperty("disabled", ctx.disabled || ctx.readonly);
|
|
2023
|
-
i0.ɵɵadvance(
|
|
2078
|
+
i0.ɵɵadvance();
|
|
2024
2079
|
i0.ɵɵproperty("ngIf", ctx.readonly || ctx.disabled);
|
|
2025
2080
|
} }, dependencies: [i1.NgClass, i1.NgForOf, i1.NgIf, i2.ItemTemplateDirective, i2.PartialParamHandlerDirective, i2.PartialContainerDirective, i2.TextContentDirective], encapsulation: 2 }); }
|
|
2026
2081
|
}
|
|
2027
|
-
(
|
|
2082
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(RadiosetComponent, [{
|
|
2028
2083
|
type: Component,
|
|
2029
2084
|
args: [{ selector: '[wmRadioset]', exportAs: 'wmRadioset', providers: [
|
|
2030
2085
|
provideAs(RadiosetComponent, NG_VALUE_ACCESSOR, true),
|
|
2031
2086
|
provideAs(RadiosetComponent, NG_VALIDATORS, true),
|
|
2032
2087
|
provideAsWidgetRef(RadiosetComponent)
|
|
2033
2088
|
], 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" }]
|
|
2034
|
-
}],
|
|
2089
|
+
}], () => [{ type: i0.Injector }, { type: undefined, decorators: [{
|
|
2090
|
+
type: Inject,
|
|
2091
|
+
args: ['EXPLICIT_CONTEXT']
|
|
2092
|
+
}, {
|
|
2093
|
+
type: Optional
|
|
2094
|
+
}] }], null); })();
|
|
2095
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(RadiosetComponent, { className: "RadiosetComponent", filePath: "radioset/radioset.component.ts", lineNumber: 26 }); })();
|
|
2035
2096
|
|
|
2036
2097
|
const selectProps = new Map([
|
|
2037
2098
|
['autofocus', PROP_BOOLEAN],
|
|
@@ -2067,47 +2128,48 @@ const registerProps$7 = () => {
|
|
|
2067
2128
|
};
|
|
2068
2129
|
|
|
2069
2130
|
const _c0$7 = ["select"];
|
|
2131
|
+
const _c1$6 = a0 => ["app-select form-control", a0];
|
|
2132
|
+
const _c2$4 = () => ({ standalone: true });
|
|
2070
2133
|
function SelectComponent_ng_container_3_optgroup_1_option_1_Template(rf, ctx) { if (rf & 1) {
|
|
2071
2134
|
i0.ɵɵelement(0, "option", 7);
|
|
2072
2135
|
} if (rf & 2) {
|
|
2073
|
-
const
|
|
2074
|
-
i0.ɵɵproperty("value",
|
|
2136
|
+
const item_r2 = ctx.$implicit;
|
|
2137
|
+
i0.ɵɵproperty("value", item_r2.key)("selected", item_r2.selected)("textContent", item_r2.label);
|
|
2075
2138
|
} }
|
|
2076
2139
|
function SelectComponent_ng_container_3_optgroup_1_Template(rf, ctx) { if (rf & 1) {
|
|
2077
2140
|
i0.ɵɵelementStart(0, "optgroup", 5);
|
|
2078
2141
|
i0.ɵɵtemplate(1, SelectComponent_ng_container_3_optgroup_1_option_1_Template, 1, 3, "option", 6);
|
|
2079
2142
|
i0.ɵɵelementEnd();
|
|
2080
2143
|
} if (rf & 2) {
|
|
2081
|
-
const
|
|
2082
|
-
i0.ɵɵproperty("label",
|
|
2083
|
-
i0.ɵɵadvance(
|
|
2084
|
-
i0.ɵɵproperty("ngForOf",
|
|
2144
|
+
const groupObj_r3 = ctx.$implicit;
|
|
2145
|
+
i0.ɵɵproperty("label", groupObj_r3.key);
|
|
2146
|
+
i0.ɵɵadvance();
|
|
2147
|
+
i0.ɵɵproperty("ngForOf", groupObj_r3.data);
|
|
2085
2148
|
} }
|
|
2086
2149
|
function SelectComponent_ng_container_3_Template(rf, ctx) { if (rf & 1) {
|
|
2087
2150
|
i0.ɵɵelementContainerStart(0);
|
|
2088
2151
|
i0.ɵɵtemplate(1, SelectComponent_ng_container_3_optgroup_1_Template, 2, 2, "optgroup", 4);
|
|
2089
2152
|
i0.ɵɵelementContainerEnd();
|
|
2090
2153
|
} if (rf & 2) {
|
|
2091
|
-
const
|
|
2092
|
-
i0.ɵɵadvance(
|
|
2093
|
-
i0.ɵɵproperty("ngForOf",
|
|
2154
|
+
const ctx_r3 = i0.ɵɵnextContext();
|
|
2155
|
+
i0.ɵɵadvance();
|
|
2156
|
+
i0.ɵɵproperty("ngForOf", ctx_r3.groupedData);
|
|
2094
2157
|
} }
|
|
2095
2158
|
function SelectComponent_ng_container_4_option_1_Template(rf, ctx) { if (rf & 1) {
|
|
2096
2159
|
i0.ɵɵelement(0, "option", 7);
|
|
2097
2160
|
} if (rf & 2) {
|
|
2098
|
-
const
|
|
2099
|
-
i0.ɵɵproperty("value",
|
|
2161
|
+
const item_r5 = ctx.$implicit;
|
|
2162
|
+
i0.ɵɵproperty("value", item_r5.key)("selected", item_r5.selected)("textContent", item_r5.label);
|
|
2100
2163
|
} }
|
|
2101
2164
|
function SelectComponent_ng_container_4_Template(rf, ctx) { if (rf & 1) {
|
|
2102
2165
|
i0.ɵɵelementContainerStart(0);
|
|
2103
2166
|
i0.ɵɵtemplate(1, SelectComponent_ng_container_4_option_1_Template, 1, 3, "option", 6);
|
|
2104
2167
|
i0.ɵɵelementContainerEnd();
|
|
2105
2168
|
} if (rf & 2) {
|
|
2106
|
-
const
|
|
2107
|
-
i0.ɵɵadvance(
|
|
2108
|
-
i0.ɵɵproperty("ngForOf",
|
|
2169
|
+
const ctx_r3 = i0.ɵɵnextContext();
|
|
2170
|
+
i0.ɵɵadvance();
|
|
2171
|
+
i0.ɵɵproperty("ngForOf", ctx_r3.datasetItems);
|
|
2109
2172
|
} }
|
|
2110
|
-
const _c1$6 = function (a1) { return ["app-select form-control", a1]; };
|
|
2111
2173
|
const WIDGET_CONFIG$7 = { widgetType: 'wm-select', hostClass: 'app-select-wrapper' };
|
|
2112
2174
|
class SelectComponent extends DatasetAwareFormComponent {
|
|
2113
2175
|
static { this.initializeProps = registerProps$7(); }
|
|
@@ -2116,8 +2178,8 @@ class SelectComponent extends DatasetAwareFormComponent {
|
|
|
2116
2178
|
this.datavalue = ds.execute(DataSource.Operation.GET_DEFAULT_LOCALE);
|
|
2117
2179
|
}
|
|
2118
2180
|
}
|
|
2119
|
-
constructor(inj, app) {
|
|
2120
|
-
super(inj, WIDGET_CONFIG$7);
|
|
2181
|
+
constructor(inj, app, explicitContext) {
|
|
2182
|
+
super(inj, WIDGET_CONFIG$7, explicitContext);
|
|
2121
2183
|
this.app = app;
|
|
2122
2184
|
this.acceptsArray = true;
|
|
2123
2185
|
}
|
|
@@ -2127,7 +2189,7 @@ class SelectComponent extends DatasetAwareFormComponent {
|
|
|
2127
2189
|
}
|
|
2128
2190
|
// Change event is registered from the template, Prevent the framework from registering one more event
|
|
2129
2191
|
handleEvent(node, eventName, eventCallback, locals) {
|
|
2130
|
-
if (!
|
|
2192
|
+
if (!includes(['blur', 'change'], eventName)) {
|
|
2131
2193
|
super.handleEvent(this.selectEl.nativeElement, eventName, eventCallback, locals);
|
|
2132
2194
|
}
|
|
2133
2195
|
}
|
|
@@ -2207,7 +2269,7 @@ class SelectComponent extends DatasetAwareFormComponent {
|
|
|
2207
2269
|
this.selectEl.nativeElement.value = '';
|
|
2208
2270
|
}
|
|
2209
2271
|
}
|
|
2210
|
-
static { this.ɵfac = function SelectComponent_Factory(t) { return new (t || SelectComponent)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(i1$1.App)); }; }
|
|
2272
|
+
static { this.ɵfac = function SelectComponent_Factory(t) { return new (t || SelectComponent)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(i1$1.App), i0.ɵɵdirectiveInject('EXPLICIT_CONTEXT', 8)); }; }
|
|
2211
2273
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SelectComponent, selectors: [["wm-select"]], viewQuery: function SelectComponent_Query(rf, ctx) { if (rf & 1) {
|
|
2212
2274
|
i0.ɵɵviewQuery(_c0$7, 7, ElementRef);
|
|
2213
2275
|
} if (rf & 2) {
|
|
@@ -2217,35 +2279,44 @@ class SelectComponent extends DatasetAwareFormComponent {
|
|
|
2217
2279
|
provideAs(SelectComponent, NG_VALUE_ACCESSOR, true),
|
|
2218
2280
|
provideAs(SelectComponent, NG_VALIDATORS, true),
|
|
2219
2281
|
provideAsWidgetRef(SelectComponent)
|
|
2220
|
-
]), i0.ɵɵInheritDefinitionFeature], decls: 5, vars:
|
|
2221
|
-
i0.ɵɵ
|
|
2222
|
-
i0.ɵɵ
|
|
2282
|
+
]), i0.ɵɵ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) {
|
|
2283
|
+
const _r1 = i0.ɵɵgetCurrentView();
|
|
2284
|
+
i0.ɵɵelementStart(0, "select", 1, 0);
|
|
2285
|
+
i0.ɵɵtwoWayListener("ngModelChange", function SelectComponent_Template_select_ngModelChange_0_listener($event) { i0.ɵɵrestoreView(_r1); i0.ɵɵtwoWayBindingSet(ctx.modelByKey, $event) || (ctx.modelByKey = $event); return i0.ɵɵresetView($event); });
|
|
2286
|
+
i0.ɵɵlistener("change", function SelectComponent_Template_select_change_0_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onSelectValueChange($event)); })("focus", function SelectComponent_Template_select_focus_0_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.checkForFloatingLabel($event)); })("blur", function SelectComponent_Template_select_blur_0_listener($event) { i0.ɵɵrestoreView(_r1); ctx.invokeOnTouched($event); return i0.ɵɵresetView(ctx.checkForFloatingLabel($event)); });
|
|
2223
2287
|
i0.ɵɵelement(2, "option", 2);
|
|
2224
|
-
i0.ɵɵtemplate(3, SelectComponent_ng_container_3_Template, 2, 1, "ng-container", 3);
|
|
2225
|
-
i0.ɵɵtemplate(4, SelectComponent_ng_container_4_Template, 2, 1, "ng-container", 3);
|
|
2288
|
+
i0.ɵɵtemplate(3, SelectComponent_ng_container_3_Template, 2, 1, "ng-container", 3)(4, SelectComponent_ng_container_4_Template, 2, 1, "ng-container", 3);
|
|
2226
2289
|
i0.ɵɵelementEnd();
|
|
2227
2290
|
} if (rf & 2) {
|
|
2228
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(
|
|
2291
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(15, _c1$6, ctx.class))("disabled", ctx.disabled)("required", ctx.required)("tabindex", ctx.tabindex);
|
|
2292
|
+
i0.ɵɵtwoWayProperty("ngModel", ctx.modelByKey);
|
|
2293
|
+
i0.ɵɵproperty("ngModelOptions", i0.ɵɵpureFunction0(17, _c2$4))("multiple", ctx.multiple)("autofocus", ctx.autofocus);
|
|
2229
2294
|
i0.ɵɵattribute("name", ctx.name)("aria-label", ctx.hint)("aria-multiselectable", ctx.multiple);
|
|
2230
2295
|
i0.ɵɵadvance(2);
|
|
2231
2296
|
i0.ɵɵproperty("textContent", ctx.placeholder)("hidden", !ctx.placeholder);
|
|
2232
|
-
i0.ɵɵadvance(
|
|
2297
|
+
i0.ɵɵadvance();
|
|
2233
2298
|
i0.ɵɵproperty("ngIf", ctx.groupby);
|
|
2234
|
-
i0.ɵɵadvance(
|
|
2299
|
+
i0.ɵɵadvance();
|
|
2235
2300
|
i0.ɵɵproperty("ngIf", !ctx.groupby);
|
|
2236
2301
|
} }, dependencies: [i1.NgClass, i1.NgForOf, i1.NgIf, i2$1.NgSelectOption, i2$1.ɵNgSelectMultipleOption, i2$1.SelectMultipleControlValueAccessor, i2$1.NgControlStatus, i2$1.RequiredValidator, i2$1.NgModel, i2.TextContentDirective], encapsulation: 2 }); }
|
|
2237
2302
|
}
|
|
2238
|
-
(
|
|
2303
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SelectComponent, [{
|
|
2239
2304
|
type: Component,
|
|
2240
2305
|
args: [{ selector: 'wm-select', providers: [
|
|
2241
2306
|
provideAs(SelectComponent, NG_VALUE_ACCESSOR, true),
|
|
2242
2307
|
provideAs(SelectComponent, NG_VALIDATORS, true),
|
|
2243
2308
|
provideAsWidgetRef(SelectComponent)
|
|
2244
|
-
], 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" }]
|
|
2245
|
-
}],
|
|
2309
|
+
], 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" }]
|
|
2310
|
+
}], () => [{ type: i0.Injector }, { type: i1$1.App }, { type: undefined, decorators: [{
|
|
2311
|
+
type: Inject,
|
|
2312
|
+
args: ['EXPLICIT_CONTEXT']
|
|
2313
|
+
}, {
|
|
2314
|
+
type: Optional
|
|
2315
|
+
}] }], { selectEl: [{
|
|
2246
2316
|
type: ViewChild,
|
|
2247
2317
|
args: ['select', { static: true, read: ElementRef }]
|
|
2248
2318
|
}] }); })();
|
|
2319
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SelectComponent, { className: "SelectComponent", filePath: "select/select.component.ts", lineNumber: 22 }); })();
|
|
2249
2320
|
|
|
2250
2321
|
const switchProps = new Map([
|
|
2251
2322
|
['class', PROP_STRING],
|
|
@@ -2272,45 +2343,45 @@ const registerProps$6 = () => {
|
|
|
2272
2343
|
};
|
|
2273
2344
|
|
|
2274
2345
|
const _c0$6 = ["wmSwitch", ""];
|
|
2275
|
-
const _c1$5 =
|
|
2346
|
+
const _c1$5 = (a0, a1) => ({ "selected": a0, "disabled": a1 });
|
|
2347
|
+
const _c2$3 = a0 => ["app-icon", a0];
|
|
2276
2348
|
function SwitchComponent_a_1_i_1_Template(rf, ctx) { if (rf & 1) {
|
|
2277
2349
|
i0.ɵɵelement(0, "i", 8);
|
|
2278
2350
|
} if (rf & 2) {
|
|
2279
|
-
const
|
|
2351
|
+
const opt_r3 = i0.ɵɵnextContext().$implicit;
|
|
2280
2352
|
const ctx_r4 = i0.ɵɵnextContext();
|
|
2281
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(1,
|
|
2353
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(1, _c2$3, opt_r3.dataObject[ctx_r4.iconclass] || opt_r3["icon"]));
|
|
2282
2354
|
} }
|
|
2283
|
-
const _c2$1 = function (a0, a1) { return { "selected": a0, "disabled": a1 }; };
|
|
2284
2355
|
function SwitchComponent_a_1_Template(rf, ctx) { if (rf & 1) {
|
|
2285
|
-
const
|
|
2356
|
+
const _r1 = i0.ɵɵgetCurrentView();
|
|
2286
2357
|
i0.ɵɵelementStart(0, "a", 5);
|
|
2287
|
-
i0.ɵɵlistener("click", function SwitchComponent_a_1_Template_a_click_0_listener($event) { const
|
|
2358
|
+
i0.ɵɵlistener("click", function SwitchComponent_a_1_Template_a_click_0_listener($event) { const ctx_r1 = i0.ɵɵrestoreView(_r1); const opt_r3 = ctx_r1.$implicit; const $index_r4 = ctx_r1.index; const ctx_r4 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r4.selectOpt($event, $index_r4, opt_r3)); });
|
|
2288
2359
|
i0.ɵɵtemplate(1, SwitchComponent_a_1_i_1_Template, 1, 3, "i", 6);
|
|
2289
2360
|
i0.ɵɵelement(2, "span", 7);
|
|
2290
2361
|
i0.ɵɵelementEnd();
|
|
2291
2362
|
} if (rf & 2) {
|
|
2292
|
-
const
|
|
2293
|
-
const
|
|
2294
|
-
i0.ɵɵproperty("name", "wm-switch-" +
|
|
2295
|
-
i0.ɵɵadvance(
|
|
2296
|
-
i0.ɵɵproperty("ngIf",
|
|
2297
|
-
i0.ɵɵadvance(
|
|
2298
|
-
i0.ɵɵproperty("textContent",
|
|
2363
|
+
const opt_r3 = ctx.$implicit;
|
|
2364
|
+
const ctx_r4 = i0.ɵɵnextContext();
|
|
2365
|
+
i0.ɵɵproperty("name", "wm-switch-" + opt_r3.key)("ngClass", i0.ɵɵpureFunction2(4, _c1$5, opt_r3.selected, ctx_r4.disabled));
|
|
2366
|
+
i0.ɵɵadvance();
|
|
2367
|
+
i0.ɵɵproperty("ngIf", opt_r3.dataObject && opt_r3.dataObject[ctx_r4.iconclass]);
|
|
2368
|
+
i0.ɵɵadvance();
|
|
2369
|
+
i0.ɵɵproperty("textContent", opt_r3[ctx_r4.displayfield] || opt_r3.label);
|
|
2299
2370
|
} }
|
|
2300
2371
|
function SwitchComponent_i_3_Template(rf, ctx) { if (rf & 1) {
|
|
2301
2372
|
i0.ɵɵelement(0, "i");
|
|
2302
2373
|
} if (rf & 2) {
|
|
2303
|
-
const
|
|
2304
|
-
i0.ɵɵclassMapInterpolate1("app-icon ",
|
|
2374
|
+
const ctx_r4 = i0.ɵɵnextContext();
|
|
2375
|
+
i0.ɵɵclassMapInterpolate1("app-icon ", ctx_r4.selectedItem && ctx_r4.selectedItem.dataObject && ctx_r4.selectedItem.dataObject[ctx_r4.iconclass], "");
|
|
2305
2376
|
} }
|
|
2306
2377
|
const DEFAULT_CLS = 'app-switch';
|
|
2307
2378
|
const WIDGET_CONFIG$6 = { widgetType: 'wm-switch', hostClass: DEFAULT_CLS };
|
|
2308
2379
|
class SwitchComponent extends DatasetAwareFormComponent {
|
|
2309
2380
|
static { this.initializeProps = registerProps$6(); }
|
|
2310
|
-
constructor(inj) {
|
|
2311
|
-
super(inj, WIDGET_CONFIG$6);
|
|
2381
|
+
constructor(inj, explicitContext) {
|
|
2382
|
+
super(inj, WIDGET_CONFIG$6, explicitContext);
|
|
2312
2383
|
this.options = [];
|
|
2313
|
-
this._debounceSetSelectedValue = debounce((val) => {
|
|
2384
|
+
this._debounceSetSelectedValue = debounce$1((val) => {
|
|
2314
2385
|
this.setSelectedValue();
|
|
2315
2386
|
this.updateHighlighter(val);
|
|
2316
2387
|
// only for default value trigger app digest to apply the selectedItem
|
|
@@ -2340,7 +2411,7 @@ class SwitchComponent extends DatasetAwareFormComponent {
|
|
|
2340
2411
|
// This function sets the selectedItem by either using compareby fields or selected flag on datasetItems.
|
|
2341
2412
|
setSelectedValue() {
|
|
2342
2413
|
if (isDefined(this.datavalue) || isDefined(this.toBeProcessedDatavalue)) {
|
|
2343
|
-
this.selectedItem =
|
|
2414
|
+
this.selectedItem = find(this.datasetItems, { selected: true });
|
|
2344
2415
|
return;
|
|
2345
2416
|
}
|
|
2346
2417
|
// If no value is provided, set first value as default if options are available else set -1 ie no selection
|
|
@@ -2359,7 +2430,7 @@ class SwitchComponent extends DatasetAwareFormComponent {
|
|
|
2359
2430
|
updateHighlighter(skipAnimation) {
|
|
2360
2431
|
const handler = $(this.nativeElement).find('span.app-switch-overlay');
|
|
2361
2432
|
this.setSelectedValue();
|
|
2362
|
-
let left, index = this.selectedItem ?
|
|
2433
|
+
let left, index = this.selectedItem ? findIndex(this.datasetItems, { key: this.selectedItem.key }) : -1;
|
|
2363
2434
|
if (index === undefined || index === null) {
|
|
2364
2435
|
index = -1;
|
|
2365
2436
|
}
|
|
@@ -2389,7 +2460,7 @@ class SwitchComponent extends DatasetAwareFormComponent {
|
|
|
2389
2460
|
}
|
|
2390
2461
|
this.modelByKey = option.key;
|
|
2391
2462
|
this.invokeOnTouched();
|
|
2392
|
-
if (this.selectedItem && $index ===
|
|
2463
|
+
if (this.selectedItem && $index === findIndex(this.datasetItems, { key: this.selectedItem.key })) {
|
|
2393
2464
|
if (this.datasetItems.length === 2) {
|
|
2394
2465
|
$index = $index === 1 ? 0 : 1;
|
|
2395
2466
|
}
|
|
@@ -2411,11 +2482,11 @@ class SwitchComponent extends DatasetAwareFormComponent {
|
|
|
2411
2482
|
super.onPropertyChange(key, nv, ov);
|
|
2412
2483
|
}
|
|
2413
2484
|
}
|
|
2414
|
-
static { this.ɵfac = function SwitchComponent_Factory(t) { return new (t || SwitchComponent)(i0.ɵɵdirectiveInject(i0.Injector)); }; }
|
|
2485
|
+
static { this.ɵfac = function SwitchComponent_Factory(t) { return new (t || SwitchComponent)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject('EXPLICIT_CONTEXT', 8)); }; }
|
|
2415
2486
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SwitchComponent, selectors: [["", "wmSwitch", ""]], exportAs: ["wmSwitch"], features: [i0.ɵɵProvidersFeature([
|
|
2416
2487
|
provideAs(SwitchComponent, NG_VALUE_ACCESSOR, true),
|
|
2417
2488
|
provideAsWidgetRef(SwitchComponent)
|
|
2418
|
-
]), i0.ɵɵ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, "
|
|
2489
|
+
]), i0.ɵɵ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) {
|
|
2419
2490
|
i0.ɵɵelementStart(0, "div", 0);
|
|
2420
2491
|
i0.ɵɵtemplate(1, SwitchComponent_a_1_Template, 3, 7, "a", 1);
|
|
2421
2492
|
i0.ɵɵelementEnd();
|
|
@@ -2425,25 +2496,31 @@ class SwitchComponent extends DatasetAwareFormComponent {
|
|
|
2425
2496
|
i0.ɵɵelementEnd();
|
|
2426
2497
|
i0.ɵɵelement(5, "input", 4);
|
|
2427
2498
|
} if (rf & 2) {
|
|
2428
|
-
i0.ɵɵadvance(
|
|
2499
|
+
i0.ɵɵadvance();
|
|
2429
2500
|
i0.ɵɵproperty("ngForOf", ctx.datasetItems);
|
|
2430
|
-
i0.ɵɵadvance(
|
|
2501
|
+
i0.ɵɵadvance();
|
|
2431
2502
|
i0.ɵɵproperty("title", ctx.selectedItem ? ctx.selectedItem.label : ctx.modelByKey);
|
|
2432
|
-
i0.ɵɵadvance(
|
|
2503
|
+
i0.ɵɵadvance();
|
|
2433
2504
|
i0.ɵɵproperty("ngIf", ctx.iconclass);
|
|
2434
|
-
i0.ɵɵadvance(
|
|
2505
|
+
i0.ɵɵadvance();
|
|
2435
2506
|
i0.ɵɵtextInterpolate1(" ", ctx.selectedItem ? ctx.selectedItem.label : ctx.modelByKey, "\n");
|
|
2436
|
-
i0.ɵɵadvance(
|
|
2507
|
+
i0.ɵɵadvance();
|
|
2437
2508
|
i0.ɵɵproperty("name", ctx.name)("disabled", ctx.disabled)("value", ctx.modelByKey)("required", ctx.required);
|
|
2438
2509
|
} }, dependencies: [i1.NgClass, i1.NgForOf, i1.NgIf, i2.TextContentDirective], encapsulation: 2 }); }
|
|
2439
2510
|
}
|
|
2440
|
-
(
|
|
2511
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SwitchComponent, [{
|
|
2441
2512
|
type: Component,
|
|
2442
2513
|
args: [{ selector: '[wmSwitch]', providers: [
|
|
2443
2514
|
provideAs(SwitchComponent, NG_VALUE_ACCESSOR, true),
|
|
2444
2515
|
provideAsWidgetRef(SwitchComponent)
|
|
2445
2516
|
], 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" }]
|
|
2446
|
-
}],
|
|
2517
|
+
}], () => [{ type: i0.Injector }, { type: undefined, decorators: [{
|
|
2518
|
+
type: Inject,
|
|
2519
|
+
args: ['EXPLICIT_CONTEXT']
|
|
2520
|
+
}, {
|
|
2521
|
+
type: Optional
|
|
2522
|
+
}] }], null); })();
|
|
2523
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SwitchComponent, { className: "SwitchComponent", filePath: "switch/switch.component.ts", lineNumber: 25 }); })();
|
|
2447
2524
|
|
|
2448
2525
|
const inputCalendarTypeProps = new Map([
|
|
2449
2526
|
['autocomplete', { value: true, ...PROP_BOOLEAN }],
|
|
@@ -2475,16 +2552,17 @@ const registerProps$5 = () => {
|
|
|
2475
2552
|
|
|
2476
2553
|
const _c0$5 = ["input"];
|
|
2477
2554
|
const _c1$4 = ["type", "date"];
|
|
2555
|
+
const _c2$2 = () => ({ standalone: true });
|
|
2478
2556
|
const WIDGET_CONFIG$5 = {
|
|
2479
2557
|
widgetType: 'wm-input-calendar',
|
|
2480
2558
|
hostClass: 'app-input-wrapper'
|
|
2481
2559
|
};
|
|
2482
2560
|
class InputCalendarComponent extends BaseInput {
|
|
2483
2561
|
static { this.initializeProps = registerProps$5(); }
|
|
2484
|
-
constructor(inj) {
|
|
2485
|
-
super(inj, WIDGET_CONFIG$5);
|
|
2562
|
+
constructor(inj, explicitContext) {
|
|
2563
|
+
super(inj, WIDGET_CONFIG$5, explicitContext);
|
|
2486
2564
|
}
|
|
2487
|
-
static { this.ɵfac = function InputCalendarComponent_Factory(t) { return new (t || InputCalendarComponent)(i0.ɵɵdirectiveInject(i0.Injector)); }; }
|
|
2565
|
+
static { this.ɵfac = function InputCalendarComponent_Factory(t) { return new (t || InputCalendarComponent)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject('EXPLICIT_CONTEXT', 8)); }; }
|
|
2488
2566
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵ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) {
|
|
2489
2567
|
i0.ɵɵviewQuery(_c0$5, 7);
|
|
2490
2568
|
i0.ɵɵviewQuery(NgModel, 5);
|
|
@@ -2496,29 +2574,39 @@ class InputCalendarComponent extends BaseInput {
|
|
|
2496
2574
|
provideAs(InputCalendarComponent, NG_VALUE_ACCESSOR, true),
|
|
2497
2575
|
provideAs(InputCalendarComponent, NG_VALIDATORS, true),
|
|
2498
2576
|
provideAsWidgetRef(InputCalendarComponent)
|
|
2499
|
-
]), i0.ɵɵInheritDefinitionFeature], attrs: _c1$4, decls: 2, vars:
|
|
2500
|
-
i0.ɵɵ
|
|
2501
|
-
i0.ɵɵ
|
|
2577
|
+
]), i0.ɵɵ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) {
|
|
2578
|
+
const _r1 = i0.ɵɵgetCurrentView();
|
|
2579
|
+
i0.ɵɵelementStart(0, "input", 1, 0);
|
|
2580
|
+
i0.ɵɵtwoWayListener("ngModelChange", function InputCalendarComponent_Template_input_ngModelChange_0_listener($event) { i0.ɵɵrestoreView(_r1); i0.ɵɵtwoWayBindingSet(ctx.datavalue, $event) || (ctx.datavalue = $event); return i0.ɵɵresetView($event); });
|
|
2581
|
+
i0.ɵɵlistener("blur", function InputCalendarComponent_Template_input_blur_0_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.handleBlur($event)); })("ngModelChange", function InputCalendarComponent_Template_input_ngModelChange_0_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.handleChange($event)); });
|
|
2502
2582
|
i0.ɵɵelementEnd();
|
|
2503
2583
|
} if (rf & 2) {
|
|
2504
|
-
i0.ɵɵproperty("type", ctx.type)
|
|
2584
|
+
i0.ɵɵproperty("type", ctx.type);
|
|
2585
|
+
i0.ɵɵtwoWayProperty("ngModel", ctx.datavalue);
|
|
2586
|
+
i0.ɵɵproperty("ngModelOptions", i0.ɵɵ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);
|
|
2505
2587
|
i0.ɵɵattribute("name", ctx.name)("tabindex", ctx.tabindex)("placeholder", ctx.placeholder)("accesskey", ctx.shortcutkey)("aria-label", ctx.hint || ctx.type + " field");
|
|
2506
2588
|
} }, dependencies: [i1.NgClass, i1.NgStyle, i2$1.DefaultValueAccessor, i2$1.NgControlStatus, i2$1.RequiredValidator, i2$1.NgModel], encapsulation: 2 }); }
|
|
2507
2589
|
}
|
|
2508
|
-
(
|
|
2590
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(InputCalendarComponent, [{
|
|
2509
2591
|
type: Component,
|
|
2510
2592
|
args: [{ selector: 'wm-input[type="date"], wm-input[type="datetime-local"], wm-input[type="month"], wm-input[type="time"], wm-input[type="week"]', providers: [
|
|
2511
2593
|
provideAs(InputCalendarComponent, NG_VALUE_ACCESSOR, true),
|
|
2512
2594
|
provideAs(InputCalendarComponent, NG_VALIDATORS, true),
|
|
2513
2595
|
provideAsWidgetRef(InputCalendarComponent)
|
|
2514
|
-
], 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" }]
|
|
2515
|
-
}],
|
|
2596
|
+
], 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" }]
|
|
2597
|
+
}], () => [{ type: i0.Injector }, { type: undefined, decorators: [{
|
|
2598
|
+
type: Inject,
|
|
2599
|
+
args: ['EXPLICIT_CONTEXT']
|
|
2600
|
+
}, {
|
|
2601
|
+
type: Optional
|
|
2602
|
+
}] }], { inputEl: [{
|
|
2516
2603
|
type: ViewChild,
|
|
2517
2604
|
args: ['input', { static: true }]
|
|
2518
2605
|
}], ngModel: [{
|
|
2519
2606
|
type: ViewChild,
|
|
2520
2607
|
args: [NgModel]
|
|
2521
2608
|
}] }); })();
|
|
2609
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(InputCalendarComponent, { className: "InputCalendarComponent", filePath: "text/calendar/input-calendar.component.ts", lineNumber: 22 }); })();
|
|
2522
2610
|
|
|
2523
2611
|
const inputColorTypeProps = new Map([
|
|
2524
2612
|
['autocomplete', { value: true, ...PROP_BOOLEAN }],
|
|
@@ -2547,16 +2635,17 @@ const registerProps$4 = () => {
|
|
|
2547
2635
|
|
|
2548
2636
|
const _c0$4 = ["input"];
|
|
2549
2637
|
const _c1$3 = ["type", "color"];
|
|
2638
|
+
const _c2$1 = () => ({ standalone: true });
|
|
2550
2639
|
const WIDGET_CONFIG$4 = {
|
|
2551
2640
|
widgetType: 'wm-input-color',
|
|
2552
2641
|
hostClass: 'app-input-wrapper'
|
|
2553
2642
|
};
|
|
2554
2643
|
class InputColorComponent extends BaseInput {
|
|
2555
2644
|
static { this.initializeProps = registerProps$4(); }
|
|
2556
|
-
constructor(inj) {
|
|
2557
|
-
super(inj, WIDGET_CONFIG$4);
|
|
2645
|
+
constructor(inj, explicitContext) {
|
|
2646
|
+
super(inj, WIDGET_CONFIG$4, explicitContext);
|
|
2558
2647
|
}
|
|
2559
|
-
static { this.ɵfac = function InputColorComponent_Factory(t) { return new (t || InputColorComponent)(i0.ɵɵdirectiveInject(i0.Injector)); }; }
|
|
2648
|
+
static { this.ɵfac = function InputColorComponent_Factory(t) { return new (t || InputColorComponent)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject('EXPLICIT_CONTEXT', 8)); }; }
|
|
2560
2649
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: InputColorComponent, selectors: [["wm-input", "type", "color"]], viewQuery: function InputColorComponent_Query(rf, ctx) { if (rf & 1) {
|
|
2561
2650
|
i0.ɵɵviewQuery(_c0$4, 7);
|
|
2562
2651
|
i0.ɵɵviewQuery(NgModel, 5);
|
|
@@ -2568,29 +2657,39 @@ class InputColorComponent extends BaseInput {
|
|
|
2568
2657
|
provideAs(InputColorComponent, NG_VALUE_ACCESSOR, true),
|
|
2569
2658
|
provideAs(InputColorComponent, NG_VALIDATORS, true),
|
|
2570
2659
|
provideAsWidgetRef(InputColorComponent)
|
|
2571
|
-
]), i0.ɵɵInheritDefinitionFeature], attrs: _c1$3, decls: 2, vars:
|
|
2572
|
-
i0.ɵɵ
|
|
2573
|
-
i0.ɵɵ
|
|
2660
|
+
]), i0.ɵɵ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) {
|
|
2661
|
+
const _r1 = i0.ɵɵgetCurrentView();
|
|
2662
|
+
i0.ɵɵelementStart(0, "input", 1, 0);
|
|
2663
|
+
i0.ɵɵtwoWayListener("ngModelChange", function InputColorComponent_Template_input_ngModelChange_0_listener($event) { i0.ɵɵrestoreView(_r1); i0.ɵɵtwoWayBindingSet(ctx.datavalue, $event) || (ctx.datavalue = $event); return i0.ɵɵresetView($event); });
|
|
2664
|
+
i0.ɵɵlistener("blur", function InputColorComponent_Template_input_blur_0_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.handleBlur($event)); })("ngModelChange", function InputColorComponent_Template_input_ngModelChange_0_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.handleChange($event)); });
|
|
2574
2665
|
i0.ɵɵelementEnd();
|
|
2575
2666
|
} if (rf & 2) {
|
|
2576
|
-
i0.ɵɵproperty("type", ctx.type)
|
|
2667
|
+
i0.ɵɵproperty("type", ctx.type);
|
|
2668
|
+
i0.ɵɵtwoWayProperty("ngModel", ctx.datavalue);
|
|
2669
|
+
i0.ɵɵproperty("ngModelOptions", i0.ɵɵ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);
|
|
2577
2670
|
i0.ɵɵattribute("name", ctx.name)("tabindex", ctx.tabindex)("placeholder", ctx.placeholder)("accesskey", ctx.shortcutkey)("aria-label", ctx.hint);
|
|
2578
2671
|
} }, dependencies: [i1.NgClass, i1.NgStyle, i2$1.DefaultValueAccessor, i2$1.NgControlStatus, i2$1.RequiredValidator, i2$1.MaxLengthValidator, i2$1.NgModel], encapsulation: 2 }); }
|
|
2579
2672
|
}
|
|
2580
|
-
(
|
|
2673
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(InputColorComponent, [{
|
|
2581
2674
|
type: Component,
|
|
2582
2675
|
args: [{ selector: 'wm-input[type="color"]', providers: [
|
|
2583
2676
|
provideAs(InputColorComponent, NG_VALUE_ACCESSOR, true),
|
|
2584
2677
|
provideAs(InputColorComponent, NG_VALIDATORS, true),
|
|
2585
2678
|
provideAsWidgetRef(InputColorComponent)
|
|
2586
|
-
], 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" }]
|
|
2587
|
-
}],
|
|
2679
|
+
], 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" }]
|
|
2680
|
+
}], () => [{ type: i0.Injector }, { type: undefined, decorators: [{
|
|
2681
|
+
type: Inject,
|
|
2682
|
+
args: ['EXPLICIT_CONTEXT']
|
|
2683
|
+
}, {
|
|
2684
|
+
type: Optional
|
|
2685
|
+
}] }], { inputEl: [{
|
|
2588
2686
|
type: ViewChild,
|
|
2589
2687
|
args: ['input', { static: true }]
|
|
2590
2688
|
}], ngModel: [{
|
|
2591
2689
|
type: ViewChild,
|
|
2592
2690
|
args: [NgModel]
|
|
2593
2691
|
}] }); })();
|
|
2692
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(InputColorComponent, { className: "InputColorComponent", filePath: "text/color/input-color.component.ts", lineNumber: 23 }); })();
|
|
2594
2693
|
|
|
2595
2694
|
const inputEmailTypeProps = new Map([
|
|
2596
2695
|
['autocomplete', { value: true, ...PROP_BOOLEAN }],
|
|
@@ -2627,10 +2726,10 @@ const WIDGET_CONFIG$3 = {
|
|
|
2627
2726
|
};
|
|
2628
2727
|
class InputEmailComponent extends BaseInput {
|
|
2629
2728
|
static { this.initializeProps = registerProps$3(); }
|
|
2630
|
-
constructor(inj) {
|
|
2631
|
-
super(inj, WIDGET_CONFIG$3);
|
|
2729
|
+
constructor(inj, explicitContext) {
|
|
2730
|
+
super(inj, WIDGET_CONFIG$3, explicitContext);
|
|
2632
2731
|
}
|
|
2633
|
-
static { this.ɵfac = function InputEmailComponent_Factory(t) { return new (t || InputEmailComponent)(i0.ɵɵdirectiveInject(i0.Injector)); }; }
|
|
2732
|
+
static { this.ɵfac = function InputEmailComponent_Factory(t) { return new (t || InputEmailComponent)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject('EXPLICIT_CONTEXT', 8)); }; }
|
|
2634
2733
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: InputEmailComponent, selectors: [["wm-input", "type", "email"]], viewQuery: function InputEmailComponent_Query(rf, ctx) { if (rf & 1) {
|
|
2635
2734
|
i0.ɵɵviewQuery(_c0$3, 7);
|
|
2636
2735
|
i0.ɵɵviewQuery(NgModel, 5);
|
|
@@ -2642,30 +2741,39 @@ class InputEmailComponent extends BaseInput {
|
|
|
2642
2741
|
provideAs(InputEmailComponent, NG_VALUE_ACCESSOR, true),
|
|
2643
2742
|
provideAs(InputEmailComponent, NG_VALIDATORS, true),
|
|
2644
2743
|
provideAsWidgetRef(InputEmailComponent)
|
|
2645
|
-
]), i0.ɵɵ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"
|
|
2744
|
+
]), i0.ɵɵ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) {
|
|
2646
2745
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
2647
|
-
i0.ɵɵelementStart(0, "input",
|
|
2648
|
-
i0.ɵɵ
|
|
2746
|
+
i0.ɵɵelementStart(0, "input", 1, 0);
|
|
2747
|
+
i0.ɵɵtwoWayListener("ngModelChange", function InputEmailComponent_Template_input_ngModelChange_0_listener($event) { i0.ɵɵrestoreView(_r1); i0.ɵɵtwoWayBindingSet(ctx.datavalue, $event) || (ctx.datavalue = $event); return i0.ɵɵresetView($event); });
|
|
2748
|
+
i0.ɵɵlistener("blur", function InputEmailComponent_Template_input_blur_0_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.handleBlur($event)); })("ngModelChange", function InputEmailComponent_Template_input_ngModelChange_0_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.handleChange($event)); })("keyup.enter", function InputEmailComponent_Template_input_keyup_enter_0_listener() { i0.ɵɵrestoreView(_r1); const input_r2 = i0.ɵɵreference(1); return i0.ɵɵresetView(ctx.flushViewChanges(input_r2.value)); });
|
|
2649
2749
|
i0.ɵɵelementEnd();
|
|
2650
2750
|
} if (rf & 2) {
|
|
2651
|
-
i0.ɵɵproperty("type", ctx.type)
|
|
2751
|
+
i0.ɵɵproperty("type", ctx.type);
|
|
2752
|
+
i0.ɵɵtwoWayProperty("ngModel", ctx.datavalue);
|
|
2753
|
+
i0.ɵɵ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");
|
|
2652
2754
|
i0.ɵɵattribute("name", ctx.name)("tabindex", ctx.tabindex)("placeholder", ctx.placeholder)("accesskey", ctx.shortcutkey)("aria-label", ctx.hint);
|
|
2653
2755
|
} }, dependencies: [i1.NgClass, i1.NgStyle, i2$1.DefaultValueAccessor, i2$1.NgControlStatus, i2$1.RequiredValidator, i2$1.MaxLengthValidator, i2$1.PatternValidator, i2$1.EmailValidator, i2$1.NgModel], encapsulation: 2 }); }
|
|
2654
2756
|
}
|
|
2655
|
-
(
|
|
2757
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(InputEmailComponent, [{
|
|
2656
2758
|
type: Component,
|
|
2657
2759
|
args: [{ selector: 'wm-input[type="email"]', providers: [
|
|
2658
2760
|
provideAs(InputEmailComponent, NG_VALUE_ACCESSOR, true),
|
|
2659
2761
|
provideAs(InputEmailComponent, NG_VALIDATORS, true),
|
|
2660
2762
|
provideAsWidgetRef(InputEmailComponent)
|
|
2661
2763
|
], 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" }]
|
|
2662
|
-
}],
|
|
2764
|
+
}], () => [{ type: i0.Injector }, { type: undefined, decorators: [{
|
|
2765
|
+
type: Inject,
|
|
2766
|
+
args: ['EXPLICIT_CONTEXT']
|
|
2767
|
+
}, {
|
|
2768
|
+
type: Optional
|
|
2769
|
+
}] }], { inputEl: [{
|
|
2663
2770
|
type: ViewChild,
|
|
2664
2771
|
args: ['input', { static: true }]
|
|
2665
2772
|
}], ngModel: [{
|
|
2666
2773
|
type: ViewChild,
|
|
2667
2774
|
args: [NgModel]
|
|
2668
2775
|
}] }); })();
|
|
2776
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(InputEmailComponent, { className: "InputEmailComponent", filePath: "text/email/input-email.component.ts", lineNumber: 23 }); })();
|
|
2669
2777
|
|
|
2670
2778
|
const inputNumberTypeProps = new Map([
|
|
2671
2779
|
['autocomplete', { value: true, ...PROP_BOOLEAN }],
|
|
@@ -2699,15 +2807,15 @@ const registerProps$2 = () => {
|
|
|
2699
2807
|
|
|
2700
2808
|
const _c0$2 = ["input"];
|
|
2701
2809
|
const _c1$1 = ["type", "number"];
|
|
2702
|
-
const _c2 =
|
|
2810
|
+
const _c2 = a0 => ({ "step-hidden": a0 });
|
|
2703
2811
|
const WIDGET_CONFIG$2 = {
|
|
2704
2812
|
widgetType: 'wm-input-number',
|
|
2705
2813
|
hostClass: 'app-input-wrapper'
|
|
2706
2814
|
};
|
|
2707
2815
|
class InputNumberComponent extends BaseInput {
|
|
2708
2816
|
static { this.initializeProps = registerProps$2(); }
|
|
2709
|
-
constructor(inj) {
|
|
2710
|
-
super(inj, WIDGET_CONFIG$2);
|
|
2817
|
+
constructor(inj, explicitContext) {
|
|
2818
|
+
super(inj, WIDGET_CONFIG$2, explicitContext);
|
|
2711
2819
|
}
|
|
2712
2820
|
onArrowPress($event) {
|
|
2713
2821
|
if (this.step === 0) {
|
|
@@ -2719,7 +2827,7 @@ class InputNumberComponent extends BaseInput {
|
|
|
2719
2827
|
return false;
|
|
2720
2828
|
}
|
|
2721
2829
|
}
|
|
2722
|
-
static { this.ɵfac = function InputNumberComponent_Factory(t) { return new (t || InputNumberComponent)(i0.ɵɵdirectiveInject(i0.Injector)); }; }
|
|
2830
|
+
static { this.ɵfac = function InputNumberComponent_Factory(t) { return new (t || InputNumberComponent)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject('EXPLICIT_CONTEXT', 8)); }; }
|
|
2723
2831
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: InputNumberComponent, selectors: [["wm-input", "type", "number"]], viewQuery: function InputNumberComponent_Query(rf, ctx) { if (rf & 1) {
|
|
2724
2832
|
i0.ɵɵviewQuery(_c0$2, 7);
|
|
2725
2833
|
i0.ɵɵviewQuery(NgModel, 5);
|
|
@@ -2731,30 +2839,39 @@ class InputNumberComponent extends BaseInput {
|
|
|
2731
2839
|
provideAs(InputNumberComponent, NG_VALUE_ACCESSOR, true),
|
|
2732
2840
|
provideAs(InputNumberComponent, NG_VALIDATORS, true),
|
|
2733
2841
|
provideAsWidgetRef(InputNumberComponent)
|
|
2734
|
-
]), i0.ɵɵInheritDefinitionFeature], attrs: _c1$1, decls: 2, vars: 22, consts: [["focus-target", "", "role", "textbox", 1, "form-control", "app-textbox", 3, "
|
|
2842
|
+
]), i0.ɵɵ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) {
|
|
2735
2843
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
2736
|
-
i0.ɵɵelementStart(0, "input",
|
|
2737
|
-
i0.ɵɵ
|
|
2844
|
+
i0.ɵɵelementStart(0, "input", 1, 0);
|
|
2845
|
+
i0.ɵɵtwoWayListener("ngModelChange", function InputNumberComponent_Template_input_ngModelChange_0_listener($event) { i0.ɵɵrestoreView(_r1); i0.ɵɵtwoWayBindingSet(ctx.datavalue, $event) || (ctx.datavalue = $event); return i0.ɵɵresetView($event); });
|
|
2846
|
+
i0.ɵɵlistener("blur", function InputNumberComponent_Template_input_blur_0_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.handleBlur($event)); })("ngModelChange", function InputNumberComponent_Template_input_ngModelChange_0_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.handleChange($event)); })("keyup.enter", function InputNumberComponent_Template_input_keyup_enter_0_listener() { i0.ɵɵrestoreView(_r1); const input_r2 = i0.ɵɵreference(1); return i0.ɵɵresetView(ctx.flushViewChanges(input_r2.value)); })("keydown.ArrowUp", function InputNumberComponent_Template_input_keydown_ArrowUp_0_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onArrowPress($event)); })("keydown.ArrowDown", function InputNumberComponent_Template_input_keydown_ArrowDown_0_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onArrowPress($event)); })("keypress", function InputNumberComponent_Template_input_keypress_0_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.validateInputEntry($event)); });
|
|
2738
2847
|
i0.ɵɵelementEnd();
|
|
2739
2848
|
} if (rf & 2) {
|
|
2740
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(20, _c2, ctx.step === 0))("type", ctx.type)
|
|
2849
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(20, _c2, ctx.step === 0))("type", ctx.type);
|
|
2850
|
+
i0.ɵɵtwoWayProperty("ngModel", ctx.datavalue);
|
|
2851
|
+
i0.ɵɵ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");
|
|
2741
2852
|
i0.ɵɵattribute("name", ctx.name)("tabindex", ctx.tabindex)("placeholder", ctx.placeholder)("accesskey", ctx.shortcutkey)("aria-label", ctx.hint);
|
|
2742
2853
|
} }, dependencies: [i1.NgClass, i1.NgStyle, i2$1.DefaultValueAccessor, i2$1.NgControlStatus, i2$1.RequiredValidator, i2$1.MaxLengthValidator, i2$1.NgModel], encapsulation: 2 }); }
|
|
2743
2854
|
}
|
|
2744
|
-
(
|
|
2855
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(InputNumberComponent, [{
|
|
2745
2856
|
type: Component,
|
|
2746
2857
|
args: [{ selector: 'wm-input[type="number"]', providers: [
|
|
2747
2858
|
provideAs(InputNumberComponent, NG_VALUE_ACCESSOR, true),
|
|
2748
2859
|
provideAs(InputNumberComponent, NG_VALIDATORS, true),
|
|
2749
2860
|
provideAsWidgetRef(InputNumberComponent)
|
|
2750
2861
|
], 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" }]
|
|
2751
|
-
}],
|
|
2862
|
+
}], () => [{ type: i0.Injector }, { type: undefined, decorators: [{
|
|
2863
|
+
type: Inject,
|
|
2864
|
+
args: ['EXPLICIT_CONTEXT']
|
|
2865
|
+
}, {
|
|
2866
|
+
type: Optional
|
|
2867
|
+
}] }], { inputEl: [{
|
|
2752
2868
|
type: ViewChild,
|
|
2753
2869
|
args: ['input', { static: true }]
|
|
2754
2870
|
}], ngModel: [{
|
|
2755
2871
|
type: ViewChild,
|
|
2756
2872
|
args: [NgModel]
|
|
2757
2873
|
}] }); })();
|
|
2874
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(InputNumberComponent, { className: "InputNumberComponent", filePath: "text/number/input-number.component.ts", lineNumber: 22 }); })();
|
|
2758
2875
|
|
|
2759
2876
|
const inputTextTypeProps = new Map([
|
|
2760
2877
|
['autocomplete', { value: true, ...PROP_BOOLEAN }],
|
|
@@ -2803,8 +2920,8 @@ const WIDGET_CONFIG$1 = {
|
|
|
2803
2920
|
};
|
|
2804
2921
|
class InputTextComponent extends BaseInput {
|
|
2805
2922
|
static { this.initializeProps = registerProps$1(); }
|
|
2806
|
-
constructor(inj) {
|
|
2807
|
-
super(inj, WIDGET_CONFIG$1);
|
|
2923
|
+
constructor(inj, explicitContext) {
|
|
2924
|
+
super(inj, WIDGET_CONFIG$1, explicitContext);
|
|
2808
2925
|
this.lazy = false;
|
|
2809
2926
|
}
|
|
2810
2927
|
/* Define the property change handler. This function will be triggered when there is a change in the widget property */
|
|
@@ -2875,7 +2992,7 @@ class InputTextComponent extends BaseInput {
|
|
|
2875
2992
|
super.ngOnInit();
|
|
2876
2993
|
this.isFocused = !!this.datavalue;
|
|
2877
2994
|
}
|
|
2878
|
-
static { this.ɵfac = function InputTextComponent_Factory(t) { return new (t || InputTextComponent)(i0.ɵɵdirectiveInject(i0.Injector)); }; }
|
|
2995
|
+
static { this.ɵfac = function InputTextComponent_Factory(t) { return new (t || InputTextComponent)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject('EXPLICIT_CONTEXT', 8)); }; }
|
|
2879
2996
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵ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) {
|
|
2880
2997
|
i0.ɵɵviewQuery(_c0$1, 7);
|
|
2881
2998
|
i0.ɵɵviewQuery(NgModel, 5);
|
|
@@ -2889,24 +3006,32 @@ class InputTextComponent extends BaseInput {
|
|
|
2889
3006
|
provideAs(InputTextComponent, NG_VALUE_ACCESSOR, true),
|
|
2890
3007
|
provideAs(InputTextComponent, NG_VALIDATORS, true),
|
|
2891
3008
|
provideAsWidgetRef(InputTextComponent)
|
|
2892
|
-
]), i0.ɵɵInheritDefinitionFeature], attrs: _c1, decls: 2, vars: 19, consts: [["focus-target", "", "role", "textbox", 1, "form-control", "app-textbox", 3, "
|
|
3009
|
+
]), i0.ɵɵ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) {
|
|
2893
3010
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
2894
|
-
i0.ɵɵelementStart(0, "input",
|
|
2895
|
-
i0.ɵɵ
|
|
3011
|
+
i0.ɵɵelementStart(0, "input", 1, 0);
|
|
3012
|
+
i0.ɵɵtwoWayListener("ngModelChange", function InputTextComponent_Template_input_ngModelChange_0_listener($event) { i0.ɵɵrestoreView(_r1); i0.ɵɵtwoWayBindingSet(ctx.datavalue, $event) || (ctx.datavalue = $event); return i0.ɵɵresetView($event); });
|
|
3013
|
+
i0.ɵɵlistener("ngModelChange", function InputTextComponent_Template_input_ngModelChange_0_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.handleChange($event)); })("blur", function InputTextComponent_Template_input_blur_0_listener($event) { i0.ɵɵrestoreView(_r1); ctx.handleBlur($event); return i0.ɵɵresetView(ctx.checkForDisplayFormat($event)); })("focus", function InputTextComponent_Template_input_focus_0_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.checkForDisplayFormat($event)); })("keyup.enter", function InputTextComponent_Template_input_keyup_enter_0_listener() { i0.ɵɵrestoreView(_r1); const input_r2 = i0.ɵɵreference(1); return i0.ɵɵresetView(ctx.flushViewChanges(input_r2.value)); });
|
|
2896
3014
|
i0.ɵɵelementEnd();
|
|
2897
3015
|
} if (rf & 2) {
|
|
2898
|
-
i0.ɵɵproperty("type", ctx.type)
|
|
3016
|
+
i0.ɵɵproperty("type", ctx.type);
|
|
3017
|
+
i0.ɵɵtwoWayProperty("ngModel", ctx.datavalue);
|
|
3018
|
+
i0.ɵɵ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");
|
|
2899
3019
|
i0.ɵɵattribute("name", ctx.name)("aria-label", ctx.hint)("tabindex", ctx.tabindex)("placeholder", ctx.placeholder)("accesskey", ctx.shortcutkey);
|
|
2900
3020
|
} }, dependencies: [i1.NgClass, i1.NgStyle, i2$1.DefaultValueAccessor, i2$1.NgControlStatus, i2$1.RequiredValidator, i2$1.MaxLengthValidator, i2$1.PatternValidator, i2$1.NgModel, i3.IMaskDirective], encapsulation: 2 }); }
|
|
2901
3021
|
}
|
|
2902
|
-
(
|
|
3022
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(InputTextComponent, [{
|
|
2903
3023
|
type: Component,
|
|
2904
3024
|
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: [
|
|
2905
3025
|
provideAs(InputTextComponent, NG_VALUE_ACCESSOR, true),
|
|
2906
3026
|
provideAs(InputTextComponent, NG_VALIDATORS, true),
|
|
2907
3027
|
provideAsWidgetRef(InputTextComponent)
|
|
2908
3028
|
], 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" }]
|
|
2909
|
-
}],
|
|
3029
|
+
}], () => [{ type: i0.Injector }, { type: undefined, decorators: [{
|
|
3030
|
+
type: Inject,
|
|
3031
|
+
args: ['EXPLICIT_CONTEXT']
|
|
3032
|
+
}, {
|
|
3033
|
+
type: Optional
|
|
3034
|
+
}] }], { inputEl: [{
|
|
2910
3035
|
type: ViewChild,
|
|
2911
3036
|
args: ['input', { static: true }]
|
|
2912
3037
|
}], ngModel: [{
|
|
@@ -2916,6 +3041,7 @@ class InputTextComponent extends BaseInput {
|
|
|
2916
3041
|
type: ViewChild,
|
|
2917
3042
|
args: ['input', { read: IMaskDirective }]
|
|
2918
3043
|
}] }); })();
|
|
3044
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(InputTextComponent, { className: "InputTextComponent", filePath: "text/text/input-text.component.ts", lineNumber: 23 }); })();
|
|
2919
3045
|
|
|
2920
3046
|
const textareaProps = new Map([
|
|
2921
3047
|
['autofocus', PROP_BOOLEAN],
|
|
@@ -2951,7 +3077,7 @@ function TextareaComponent_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
|
2951
3077
|
i0.ɵɵelementEnd();
|
|
2952
3078
|
} if (rf & 2) {
|
|
2953
3079
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
2954
|
-
i0.ɵɵadvance(
|
|
3080
|
+
i0.ɵɵadvance();
|
|
2955
3081
|
i0.ɵɵtextInterpolate(ctx_r1.limitdisplaytext);
|
|
2956
3082
|
} }
|
|
2957
3083
|
const WIDGET_CONFIG = {
|
|
@@ -2960,14 +3086,14 @@ const WIDGET_CONFIG = {
|
|
|
2960
3086
|
};
|
|
2961
3087
|
class TextareaComponent extends BaseInput {
|
|
2962
3088
|
static { this.initializeProps = registerProps(); }
|
|
2963
|
-
constructor(inj) {
|
|
2964
|
-
super(inj, WIDGET_CONFIG);
|
|
3089
|
+
constructor(inj, explicitContext) {
|
|
3090
|
+
super(inj, WIDGET_CONFIG, explicitContext);
|
|
2965
3091
|
this.charlength = 0;
|
|
2966
3092
|
}
|
|
2967
3093
|
onInputChange() {
|
|
2968
3094
|
this.charlength = this.inputEl.nativeElement.value.length;
|
|
2969
3095
|
}
|
|
2970
|
-
static { this.ɵfac = function TextareaComponent_Factory(t) { return new (t || TextareaComponent)(i0.ɵɵdirectiveInject(i0.Injector)); }; }
|
|
3096
|
+
static { this.ɵfac = function TextareaComponent_Factory(t) { return new (t || TextareaComponent)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject('EXPLICIT_CONTEXT', 8)); }; }
|
|
2971
3097
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TextareaComponent, selectors: [["wm-textarea"]], viewQuery: function TextareaComponent_Query(rf, ctx) { if (rf & 1) {
|
|
2972
3098
|
i0.ɵɵviewQuery(_c0, 7);
|
|
2973
3099
|
i0.ɵɵviewQuery(NgModel, 5);
|
|
@@ -2979,32 +3105,41 @@ class TextareaComponent extends BaseInput {
|
|
|
2979
3105
|
provideAs(TextareaComponent, NG_VALUE_ACCESSOR, true),
|
|
2980
3106
|
provideAs(TextareaComponent, NG_VALIDATORS, true),
|
|
2981
3107
|
provideAsWidgetRef(TextareaComponent)
|
|
2982
|
-
]), i0.ɵɵInheritDefinitionFeature], decls: 3, vars: 15, consts: [["focus-target", "", "role", "textbox", "aria-multiline", "true", 1, "form-control", "app-textarea", 3, "
|
|
2983
|
-
i0.ɵɵ
|
|
2984
|
-
i0.ɵɵ
|
|
3108
|
+
]), i0.ɵɵ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) {
|
|
3109
|
+
const _r1 = i0.ɵɵgetCurrentView();
|
|
3110
|
+
i0.ɵɵelementStart(0, "textarea", 1, 0);
|
|
3111
|
+
i0.ɵɵtwoWayListener("ngModelChange", function TextareaComponent_Template_textarea_ngModelChange_0_listener($event) { i0.ɵɵrestoreView(_r1); i0.ɵɵtwoWayBindingSet(ctx.datavalue, $event) || (ctx.datavalue = $event); return i0.ɵɵresetView($event); });
|
|
3112
|
+
i0.ɵɵlistener("blur", function TextareaComponent_Template_textarea_blur_0_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.handleBlur($event)); })("input", function TextareaComponent_Template_textarea_input_0_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onInputChange()); })("ngModelChange", function TextareaComponent_Template_textarea_ngModelChange_0_listener($event) { i0.ɵɵrestoreView(_r1); ctx.handleChange($event); return i0.ɵɵresetView(ctx.onInputChange()); });
|
|
2985
3113
|
i0.ɵɵelementEnd();
|
|
2986
3114
|
i0.ɵɵtemplate(2, TextareaComponent_div_2_Template, 2, 1, "div", 2);
|
|
2987
3115
|
} if (rf & 2) {
|
|
2988
|
-
i0.ɵɵ
|
|
3116
|
+
i0.ɵɵtwoWayProperty("ngModel", ctx.datavalue);
|
|
3117
|
+
i0.ɵɵ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);
|
|
2989
3118
|
i0.ɵɵattribute("name", ctx.name)("tabindex", ctx.tabindex)("placeholder", ctx.placeholder)("accesskey", ctx.shortcutkey)("aria-label", ctx.hint);
|
|
2990
3119
|
i0.ɵɵadvance(2);
|
|
2991
3120
|
i0.ɵɵproperty("ngIf", ctx.maxchars);
|
|
2992
3121
|
} }, dependencies: [i1.NgClass, i1.NgIf, i1.NgStyle, i2$1.DefaultValueAccessor, i2$1.NgControlStatus, i2$1.RequiredValidator, i2$1.MaxLengthValidator, i2$1.NgModel], encapsulation: 2 }); }
|
|
2993
3122
|
}
|
|
2994
|
-
(
|
|
3123
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TextareaComponent, [{
|
|
2995
3124
|
type: Component,
|
|
2996
3125
|
args: [{ selector: 'wm-textarea', providers: [
|
|
2997
3126
|
provideAs(TextareaComponent, NG_VALUE_ACCESSOR, true),
|
|
2998
3127
|
provideAs(TextareaComponent, NG_VALIDATORS, true),
|
|
2999
3128
|
provideAsWidgetRef(TextareaComponent)
|
|
3000
3129
|
], 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" }]
|
|
3001
|
-
}],
|
|
3130
|
+
}], () => [{ type: i0.Injector }, { type: undefined, decorators: [{
|
|
3131
|
+
type: Inject,
|
|
3132
|
+
args: ['EXPLICIT_CONTEXT']
|
|
3133
|
+
}, {
|
|
3134
|
+
type: Optional
|
|
3135
|
+
}] }], { inputEl: [{
|
|
3002
3136
|
type: ViewChild,
|
|
3003
3137
|
args: ['textarea', { static: true }]
|
|
3004
3138
|
}], ngModel: [{
|
|
3005
3139
|
type: ViewChild,
|
|
3006
3140
|
args: [NgModel]
|
|
3007
3141
|
}] }); })();
|
|
3142
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TextareaComponent, { className: "TextareaComponent", filePath: "textarea/textarea.component.ts", lineNumber: 22 }); })();
|
|
3008
3143
|
|
|
3009
3144
|
class CaptionPositionDirective {
|
|
3010
3145
|
constructor(inj, app) {
|
|
@@ -3018,7 +3153,7 @@ class CaptionPositionDirective {
|
|
|
3018
3153
|
let mobileInputVal;
|
|
3019
3154
|
// In case of mobile date / time picker check for input element's value which has 'mobile-input' class
|
|
3020
3155
|
if (this.inputEl.length > 1 && this.inputEl.hasClass('mobile-input')) {
|
|
3021
|
-
|
|
3156
|
+
forEach(this.inputEl, (el) => {
|
|
3022
3157
|
if ($(el).hasClass('mobile-input') && el.value) {
|
|
3023
3158
|
mobileInputVal = el.value;
|
|
3024
3159
|
}
|
|
@@ -3164,12 +3299,12 @@ class CaptionPositionDirective {
|
|
|
3164
3299
|
static { this.ɵfac = function CaptionPositionDirective_Factory(t) { return new (t || CaptionPositionDirective)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(i1$1.App)); }; }
|
|
3165
3300
|
static { this.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: CaptionPositionDirective, selectors: [["", "wmCaptionPosition", ""]] }); }
|
|
3166
3301
|
}
|
|
3167
|
-
(
|
|
3302
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaptionPositionDirective, [{
|
|
3168
3303
|
type: Directive,
|
|
3169
3304
|
args: [{
|
|
3170
3305
|
selector: '[wmCaptionPosition]'
|
|
3171
3306
|
}]
|
|
3172
|
-
}],
|
|
3307
|
+
}], () => [{ type: i0.Injector }, { type: i1$1.App }], null); })();
|
|
3173
3308
|
|
|
3174
3309
|
const components = [
|
|
3175
3310
|
ButtonComponent,
|
|
@@ -3197,7 +3332,7 @@ class InputModule {
|
|
|
3197
3332
|
WmComponentsModule,
|
|
3198
3333
|
IMaskModule] }); }
|
|
3199
3334
|
}
|
|
3200
|
-
(
|
|
3335
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(InputModule, [{
|
|
3201
3336
|
type: NgModule,
|
|
3202
3337
|
args: [{
|
|
3203
3338
|
imports: [
|
|
@@ -3249,5 +3384,5 @@ class InputModule {
|
|
|
3249
3384
|
* Generated bundle index. Do not edit.
|
|
3250
3385
|
*/
|
|
3251
3386
|
|
|
3252
|
-
export { BaseFormComponent, BaseFormCustomComponent, ButtonComponent, ButtonGroupDirective, CaptionPositionDirective, CheckboxComponent, CheckboxsetComponent, CompositeDirective, DatasetAwareFormComponent, InputCalendarComponent, InputColorComponent, InputEmailComponent, InputModule, InputNumberComponent, InputTextComponent, NumberComponent, NumberLocale, RadiosetComponent, SelectComponent, SwitchComponent, TextareaComponent };
|
|
3387
|
+
export { BaseFormComponent, BaseFormCustomComponent, ButtonComponent, ButtonGroupDirective, CaptionPositionDirective, CheckboxComponent, CheckboxsetComponent, CompositeDirective, DatasetAwareFormComponent, InputCalendarComponent, InputColorComponent, InputEmailComponent, InputModule, InputNumberComponent, InputTextComponent, NumberComponent, NumberLocale, RadiosetComponent, SelectComponent, SwitchComponent, TextareaComponent, unStringify };
|
|
3253
3388
|
//# sourceMappingURL=index.mjs.map
|