@wavemaker/app-ng-runtime 11.8.0-rc.5684 → 11.8.1-next.45204
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/bundles/index.umd.js +11 -35
- app-ng-runtime/build-task/esm2022/advanced/carousel/carousel-template/carousel-template.build.mjs +3 -5
- 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 +3 -5
- 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 +2 -5
- 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 +2 -19
- 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 +2 -3
- app-ng-runtime/build-task/esm2022/utils/utils.mjs +1 -1
- app-ng-runtime/build-task/fesm2022/index.mjs +8 -33
- app-ng-runtime/build-task/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/advanced/carousel/bundles/index.umd.js +18 -29
- 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 +9 -15
- app-ng-runtime/components/advanced/carousel/esm2022/carousel.animator.mjs +2 -3
- app-ng-runtime/components/advanced/carousel/esm2022/carousel.directive.mjs +7 -12
- app-ng-runtime/components/advanced/carousel/esm2022/carousel.module.mjs +2 -2
- app-ng-runtime/components/advanced/carousel/fesm2022/index.mjs +16 -28
- app-ng-runtime/components/advanced/carousel/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/advanced/login/bundles/index.umd.js +13 -19
- app-ng-runtime/components/advanced/login/esm2022/login.component.mjs +10 -17
- app-ng-runtime/components/advanced/login/esm2022/login.module.mjs +2 -2
- app-ng-runtime/components/advanced/login/fesm2022/index.mjs +11 -18
- 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/bundles/index.umd.js +6 -11
- app-ng-runtime/components/advanced/marquee/esm2022/marquee.directive.mjs +7 -12
- app-ng-runtime/components/advanced/marquee/esm2022/marquee.module.mjs +2 -2
- app-ng-runtime/components/advanced/marquee/fesm2022/index.mjs +8 -13
- 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/bundles/index.umd.js +284 -384
- app-ng-runtime/components/base/directives/show-in-device.directive.d.ts +6 -3
- app-ng-runtime/components/base/esm2022/components.module.mjs +2 -2
- app-ng-runtime/components/base/esm2022/directives/show-in-device.directive.mjs +15 -13
- app-ng-runtime/components/base/esm2022/pipes/custom-pipes.mjs +34 -35
- 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 +2 -3
- app-ng-runtime/components/base/esm2022/public_api.mjs +1 -2
- app-ng-runtime/components/base/esm2022/utils/data-utils.mjs +29 -30
- app-ng-runtime/components/base/esm2022/utils/form-utils.mjs +42 -48
- app-ng-runtime/components/base/esm2022/utils/live-utils.mjs +7 -8
- app-ng-runtime/components/base/esm2022/utils/widget-utils.mjs +27 -28
- app-ng-runtime/components/base/esm2022/widgets/common/base/base-container.component.mjs +7 -8
- app-ng-runtime/components/base/esm2022/widgets/common/base/base-field-validations.mjs +22 -23
- app-ng-runtime/components/base/esm2022/widgets/common/base/base.component.mjs +17 -50
- app-ng-runtime/components/base/esm2022/widgets/common/base/dataset-aware-nav.component.mjs +18 -52
- app-ng-runtime/components/base/esm2022/widgets/common/base/partial-container.directive.mjs +5 -6
- 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 +7 -12
- app-ng-runtime/components/base/esm2022/widgets/common/dialog/dialog.service.mjs +4 -5
- app-ng-runtime/components/base/esm2022/widgets/common/item-template/item-template.directive.mjs +7 -12
- app-ng-runtime/components/base/esm2022/widgets/common/lazy-load/lazy-load.directive.mjs +7 -14
- app-ng-runtime/components/base/esm2022/widgets/common/message/message.component.mjs +10 -16
- app-ng-runtime/components/base/esm2022/widgets/common/partial/partial.directive.mjs +8 -14
- app-ng-runtime/components/base/esm2022/widgets/common/partial-param/partial-param.directive.mjs +8 -9
- 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 +9 -15
- app-ng-runtime/components/base/esm2022/widgets/common/smooth-scroll/smooth-scroll.directive.mjs +10 -11
- app-ng-runtime/components/base/esm2022/widgets/framework/deviceview.mjs +1 -1
- app-ng-runtime/components/base/esm2022/widgets/framework/property-change-handler.mjs +2 -3
- 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 +3 -4
- app-ng-runtime/components/base/esm2022/widgets/framework/widget-registry.mjs +1 -1
- app-ng-runtime/components/base/fesm2022/index.mjs +287 -389
- 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 +0 -1
- app-ng-runtime/components/base/utils/data-utils.d.ts +0 -1
- 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 +2 -21
- 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/anchor/anchor.component.d.ts +2 -2
- app-ng-runtime/components/basic/default/audio/audio.component.d.ts +2 -3
- app-ng-runtime/components/basic/default/bundles/index.umd.js +119 -163
- app-ng-runtime/components/basic/default/esm2022/anchor/anchor.component.mjs +27 -31
- app-ng-runtime/components/basic/default/esm2022/audio/audio.component.mjs +11 -18
- app-ng-runtime/components/basic/default/esm2022/basic.module.mjs +2 -2
- app-ng-runtime/components/basic/default/esm2022/html/html.directive.mjs +8 -13
- app-ng-runtime/components/basic/default/esm2022/icon/icon.component.mjs +14 -19
- app-ng-runtime/components/basic/default/esm2022/iframe/iframe.component.mjs +9 -15
- app-ng-runtime/components/basic/default/esm2022/label/label.directive.mjs +9 -15
- app-ng-runtime/components/basic/default/esm2022/picture/picture.directive.mjs +7 -12
- app-ng-runtime/components/basic/default/esm2022/picture/picture.props.mjs +1 -1
- app-ng-runtime/components/basic/default/esm2022/spinner/spinner.component.mjs +30 -34
- app-ng-runtime/components/basic/default/esm2022/video/video.component.mjs +17 -21
- app-ng-runtime/components/basic/default/fesm2022/index.mjs +117 -162
- 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/bundles/index.umd.js +30 -43
- app-ng-runtime/components/basic/progress/esm2022/progress-bar/progress-bar.component.mjs +15 -22
- app-ng-runtime/components/basic/progress/esm2022/progress-circle/progress-circle.component.mjs +12 -20
- 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 +28 -42
- 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 -3
- app-ng-runtime/components/basic/rich-text-editor/bundles/index.umd.js +13 -19
- app-ng-runtime/components/basic/rich-text-editor/esm2022/rich-text-editor.component.mjs +10 -17
- 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 +11 -18
- 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/bundles/index.umd.js +175 -186
- 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 +23 -26
- app-ng-runtime/components/basic/search/esm2022/data-provider/remote-data-provider.mjs +11 -12
- app-ng-runtime/components/basic/search/esm2022/scrollable.directive.mjs +3 -3
- app-ng-runtime/components/basic/search/esm2022/search.component.mjs +138 -148
- app-ng-runtime/components/basic/search/esm2022/search.module.mjs +2 -2
- app-ng-runtime/components/basic/search/fesm2022/index.mjs +174 -186
- 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/bundles/index.umd.js +17 -23
- app-ng-runtime/components/basic/tree/esm2022/tree.component.mjs +14 -21
- app-ng-runtime/components/basic/tree/esm2022/tree.module.mjs +2 -2
- app-ng-runtime/components/basic/tree/fesm2022/index.mjs +15 -22
- 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/bundles/index.umd.js +84 -97
- 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 +68 -82
- app-ng-runtime/components/chart/esm2022/chart.module.mjs +2 -2
- app-ng-runtime/components/chart/esm2022/chart.utils.mjs +13 -14
- app-ng-runtime/components/chart/fesm2022/index.mjs +81 -95
- app-ng-runtime/components/chart/fesm2022/index.mjs.map +1 -1
- 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 +40 -51
- app-ng-runtime/components/containers/accordion/esm2022/accordion-pane/accordion-pane.component.mjs +17 -23
- 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 +19 -25
- app-ng-runtime/components/containers/accordion/esm2022/accordion.module.mjs +2 -2
- app-ng-runtime/components/containers/accordion/fesm2022/index.mjs +38 -50
- app-ng-runtime/components/containers/accordion/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/containers/layout-grid/bundles/index.umd.js +17 -32
- app-ng-runtime/components/containers/layout-grid/esm2022/layout-grid-column/layout-grid-column.directive.mjs +8 -13
- app-ng-runtime/components/containers/layout-grid/esm2022/layout-grid-row/layout-grid-row.directive.mjs +7 -12
- app-ng-runtime/components/containers/layout-grid/esm2022/layout-grid.directive.mjs +7 -12
- app-ng-runtime/components/containers/layout-grid/esm2022/layout-grid.module.mjs +2 -2
- app-ng-runtime/components/containers/layout-grid/fesm2022/index.mjs +19 -34
- 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/bundles/index.umd.js +11 -21
- app-ng-runtime/components/containers/linear-layout/esm2022/linear-layout-item/linear-layout-item.directive.mjs +7 -12
- app-ng-runtime/components/containers/linear-layout/esm2022/linear-layout.directive.mjs +7 -12
- app-ng-runtime/components/containers/linear-layout/esm2022/linear-layout.module.mjs +2 -2
- app-ng-runtime/components/containers/linear-layout/fesm2022/index.mjs +13 -23
- 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/bundles/index.umd.js +85 -85
- app-ng-runtime/components/containers/panel/esm2022/panel.component.mjs +82 -83
- app-ng-runtime/components/containers/panel/esm2022/panel.module.mjs +2 -2
- app-ng-runtime/components/containers/panel/fesm2022/index.mjs +83 -84
- 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/bundles/index.umd.js +63 -74
- app-ng-runtime/components/containers/tabs/esm2022/tab-pane/tab-pane.component.mjs +8 -14
- 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 +51 -57
- 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 +61 -73
- 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/bundles/index.umd.js +6 -11
- app-ng-runtime/components/containers/tile/esm2022/tile.directive.mjs +7 -12
- app-ng-runtime/components/containers/tile/esm2022/tile.module.mjs +2 -2
- app-ng-runtime/components/containers/tile/fesm2022/index.mjs +8 -13
- 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/bundles/index.umd.js +98 -102
- app-ng-runtime/components/containers/wizard/esm2022/wizard-step/wizard-step.directive.mjs +8 -13
- app-ng-runtime/components/containers/wizard/esm2022/wizard.component.mjs +93 -92
- app-ng-runtime/components/containers/wizard/esm2022/wizard.module.mjs +2 -2
- app-ng-runtime/components/containers/wizard/fesm2022/index.mjs +100 -104
- 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/bundles/index.umd.js +50 -70
- 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 +7 -12
- app-ng-runtime/components/data/card/esm2022/card-content/card-content.component.mjs +9 -15
- app-ng-runtime/components/data/card/esm2022/card-footer/card-footer.directive.mjs +7 -12
- app-ng-runtime/components/data/card/esm2022/card.component.mjs +34 -38
- app-ng-runtime/components/data/card/esm2022/card.module.mjs +2 -2
- app-ng-runtime/components/data/card/fesm2022/index.mjs +52 -72
- app-ng-runtime/components/data/card/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/data/form/bundles/index.umd.js +187 -201
- app-ng-runtime/components/data/form/esm2022/form-action/form-action.directive.mjs +9 -15
- app-ng-runtime/components/data/form/esm2022/form-field/form-field.directive.mjs +16 -21
- 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 +134 -138
- 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 +6 -7
- app-ng-runtime/components/data/form/esm2022/live-form/live-form.directive.mjs +15 -18
- app-ng-runtime/components/data/form/fesm2022/index.mjs +190 -205
- 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/bundles/index.umd.js +772 -783
- app-ng-runtime/components/data/list/esm2022/list-item.directive.mjs +4 -9
- app-ng-runtime/components/data/list/esm2022/list.animator.mjs +3 -5
- app-ng-runtime/components/data/list/esm2022/list.component.mjs +764 -771
- app-ng-runtime/components/data/list/esm2022/list.module.mjs +2 -2
- app-ng-runtime/components/data/list/fesm2022/index.mjs +770 -782
- app-ng-runtime/components/data/list/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/data/list/list-item.directive.d.ts +0 -4
- app-ng-runtime/components/data/list/list.component.d.ts +54 -55
- app-ng-runtime/components/data/live-table/bundles/index.umd.js +7 -13
- app-ng-runtime/components/data/live-table/esm2022/live-table.component.mjs +8 -14
- app-ng-runtime/components/data/live-table/esm2022/live-table.module.mjs +2 -2
- app-ng-runtime/components/data/live-table/fesm2022/index.mjs +9 -15
- 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/bundles/index.umd.js +110 -113
- app-ng-runtime/components/data/pagination/esm2022/pagination.component.mjs +107 -111
- app-ng-runtime/components/data/pagination/esm2022/pagination.module.mjs +2 -2
- app-ng-runtime/components/data/pagination/fesm2022/index.mjs +108 -112
- 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/bundles/index.umd.js +269 -314
- app-ng-runtime/components/data/table/esm2022/table-action/table-action.directive.mjs +9 -15
- app-ng-runtime/components/data/table/esm2022/table-column/table-column.directive.mjs +25 -40
- 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 +8 -13
- app-ng-runtime/components/data/table/esm2022/table-cud.directive.mjs +9 -10
- app-ng-runtime/components/data/table/esm2022/table-filter.directive.mjs +58 -56
- app-ng-runtime/components/data/table/esm2022/table-row/table-row.directive.mjs +8 -13
- app-ng-runtime/components/data/table/esm2022/table-row-action/table-row-action.directive.mjs +8 -14
- app-ng-runtime/components/data/table/esm2022/table.component.mjs +150 -165
- 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 +267 -313
- 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/alert-dialog.component.d.ts +2 -2
- app-ng-runtime/components/dialogs/alert-dialog/bundles/index.umd.js +9 -15
- app-ng-runtime/components/dialogs/alert-dialog/esm2022/alert-dialog.component.mjs +10 -16
- app-ng-runtime/components/dialogs/alert-dialog/esm2022/alert-dialog.module.mjs +2 -2
- app-ng-runtime/components/dialogs/alert-dialog/fesm2022/index.mjs +11 -17
- app-ng-runtime/components/dialogs/alert-dialog/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/confirm-dialog/bundles/index.umd.js +11 -17
- 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 +12 -18
- app-ng-runtime/components/dialogs/confirm-dialog/esm2022/confirm-dialog.module.mjs +2 -2
- app-ng-runtime/components/dialogs/confirm-dialog/fesm2022/index.mjs +13 -19
- app-ng-runtime/components/dialogs/confirm-dialog/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/default/base-dialog.d.ts +2 -2
- app-ng-runtime/components/dialogs/default/bundles/index.umd.js +71 -75
- 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 +9 -14
- 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 +7 -12
- app-ng-runtime/components/dialogs/default/esm2022/dialog-header/dialog-header.component.mjs +55 -49
- app-ng-runtime/components/dialogs/default/esm2022/dialog.module.mjs +2 -2
- app-ng-runtime/components/dialogs/default/fesm2022/index.mjs +72 -76
- app-ng-runtime/components/dialogs/default/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/design-dialog/bundles/index.umd.js +14 -20
- 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 +15 -21
- app-ng-runtime/components/dialogs/design-dialog/fesm2022/index.mjs +16 -22
- app-ng-runtime/components/dialogs/design-dialog/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/iframe-dialog/bundles/index.umd.js +14 -20
- app-ng-runtime/components/dialogs/iframe-dialog/esm2022/iframe-dialog.component.mjs +15 -21
- app-ng-runtime/components/dialogs/iframe-dialog/esm2022/iframe-dialog.module.mjs +2 -2
- app-ng-runtime/components/dialogs/iframe-dialog/fesm2022/index.mjs +16 -22
- 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/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/bundles/index.umd.js +10 -16
- app-ng-runtime/components/dialogs/partial-dialog/esm2022/partial-dialog.component.mjs +11 -17
- app-ng-runtime/components/dialogs/partial-dialog/esm2022/partial-dialog.module.mjs +2 -2
- app-ng-runtime/components/dialogs/partial-dialog/fesm2022/index.mjs +12 -18
- 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/bundles/index.umd.js +38 -46
- app-ng-runtime/components/input/calendar/calendar.component.d.ts +2 -2
- app-ng-runtime/components/input/calendar/esm2022/calendar.component.mjs +35 -44
- app-ng-runtime/components/input/calendar/esm2022/calendar.module.mjs +2 -2
- app-ng-runtime/components/input/calendar/fesm2022/index.mjs +36 -45
- app-ng-runtime/components/input/calendar/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/chips/bundles/index.umd.js +61 -69
- app-ng-runtime/components/input/chips/chips.component.d.ts +3 -3
- app-ng-runtime/components/input/chips/esm2022/chips.component.mjs +58 -67
- app-ng-runtime/components/input/chips/esm2022/chips.module.mjs +2 -2
- app-ng-runtime/components/input/chips/fesm2022/index.mjs +58 -67
- app-ng-runtime/components/input/chips/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/color-picker/bundles/index.umd.js +12 -25
- 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 +13 -26
- app-ng-runtime/components/input/color-picker/esm2022/color-picker.module.mjs +2 -2
- app-ng-runtime/components/input/color-picker/fesm2022/index.mjs +13 -26
- app-ng-runtime/components/input/color-picker/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/currency/bundles/index.umd.js +11 -18
- app-ng-runtime/components/input/currency/currency.component.d.ts +2 -2
- app-ng-runtime/components/input/currency/esm2022/currency.component.mjs +12 -19
- app-ng-runtime/components/input/currency/esm2022/currency.module.mjs +2 -2
- app-ng-runtime/components/input/currency/fesm2022/index.mjs +12 -19
- app-ng-runtime/components/input/currency/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/default/base-form.component.d.ts +3 -3
- app-ng-runtime/components/input/default/bundles/index.umd.js +487 -610
- 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 +2 -3
- 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 +11 -17
- app-ng-runtime/components/input/default/esm2022/button/button.component.mjs +28 -32
- app-ng-runtime/components/input/default/esm2022/button-group/button-group.directive.mjs +7 -12
- app-ng-runtime/components/input/default/esm2022/caption-position.directive.mjs +6 -6
- app-ng-runtime/components/input/default/esm2022/checkbox/checkbox.component.mjs +17 -27
- app-ng-runtime/components/input/default/esm2022/checkboxset/checkboxset.component.mjs +103 -107
- app-ng-runtime/components/input/default/esm2022/composite/composite.directive.mjs +7 -12
- app-ng-runtime/components/input/default/esm2022/dataset-aware-form.component.mjs +26 -32
- app-ng-runtime/components/input/default/esm2022/input.module.mjs +2 -2
- app-ng-runtime/components/input/default/esm2022/number/number.component.mjs +10 -17
- app-ng-runtime/components/input/default/esm2022/radioset/radioset.component.mjs +102 -105
- app-ng-runtime/components/input/default/esm2022/select/select.component.mjs +68 -70
- app-ng-runtime/components/input/default/esm2022/switch/switch.component.mjs +31 -38
- app-ng-runtime/components/input/default/esm2022/text/base/base-input.mjs +11 -18
- app-ng-runtime/components/input/default/esm2022/text/calendar/input-calendar.component.mjs +12 -23
- app-ng-runtime/components/input/default/esm2022/text/color/input-color.component.mjs +12 -23
- app-ng-runtime/components/input/default/esm2022/text/email/input-email.component.mjs +11 -20
- app-ng-runtime/components/input/default/esm2022/text/locale/number-locale.mjs +24 -35
- app-ng-runtime/components/input/default/esm2022/text/number/input-number.component.mjs +12 -21
- app-ng-runtime/components/input/default/esm2022/text/text/input-text.component.mjs +11 -20
- app-ng-runtime/components/input/default/esm2022/textarea/textarea.component.mjs +12 -21
- app-ng-runtime/components/input/default/fesm2022/index.mjs +488 -613
- 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 +4 -3
- 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 +2 -3
- 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/base-date-time.component.d.ts +2 -2
- app-ng-runtime/components/input/epoch/bundles/index.umd.js +165 -214
- app-ng-runtime/components/input/epoch/date/date.component.d.ts +2 -3
- 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 +36 -44
- app-ng-runtime/components/input/epoch/esm2022/date/date.component.mjs +22 -36
- app-ng-runtime/components/input/epoch/esm2022/date/date.props.mjs +2 -2
- app-ng-runtime/components/input/epoch/esm2022/date/imaskUtil.mjs +2 -8
- app-ng-runtime/components/input/epoch/esm2022/date-time/date-time-picker.component.mjs +41 -42
- app-ng-runtime/components/input/epoch/esm2022/date-time/date-time.component.mjs +37 -49
- app-ng-runtime/components/input/epoch/esm2022/epoch.module.mjs +2 -2
- app-ng-runtime/components/input/epoch/esm2022/picker/picker.component.mjs +5 -7
- app-ng-runtime/components/input/epoch/esm2022/time/time.component.mjs +24 -35
- app-ng-runtime/components/input/epoch/fesm2022/index.mjs +161 -211
- 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/bundles/index.umd.js +135 -133
- app-ng-runtime/components/input/file-upload/esm2022/file-upload.component.mjs +132 -131
- app-ng-runtime/components/input/file-upload/esm2022/file-upload.module.mjs +2 -2
- app-ng-runtime/components/input/file-upload/fesm2022/index.mjs +133 -132
- 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/bundles/index.umd.js +51 -60
- app-ng-runtime/components/input/rating/esm2022/rating.component.mjs +48 -58
- app-ng-runtime/components/input/rating/esm2022/rating.module.mjs +2 -2
- app-ng-runtime/components/input/rating/fesm2022/index.mjs +48 -58
- 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/bundles/index.umd.js +13 -23
- app-ng-runtime/components/input/slider/esm2022/slider.component.mjs +14 -24
- app-ng-runtime/components/input/slider/esm2022/slider.module.mjs +2 -2
- app-ng-runtime/components/input/slider/fesm2022/index.mjs +14 -24
- 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/breadcrumb.component.d.ts +2 -2
- app-ng-runtime/components/navigation/breadcrumb/bundles/index.umd.js +28 -33
- app-ng-runtime/components/navigation/breadcrumb/esm2022/breadcrumb.component.mjs +29 -34
- app-ng-runtime/components/navigation/breadcrumb/esm2022/breadcrumb.module.mjs +2 -2
- app-ng-runtime/components/navigation/breadcrumb/fesm2022/index.mjs +30 -35
- app-ng-runtime/components/navigation/breadcrumb/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/navigation/menu/bundles/index.umd.js +145 -160
- app-ng-runtime/components/navigation/menu/esm2022/menu-adapator.component.mjs +7 -13
- app-ng-runtime/components/navigation/menu/esm2022/menu-dropdown/menu-dropdown.component.mjs +4 -5
- app-ng-runtime/components/navigation/menu/esm2022/menu-dropdown-item/menu-dropdown-item.component.mjs +26 -27
- app-ng-runtime/components/navigation/menu/esm2022/menu.component.mjs +40 -44
- app-ng-runtime/components/navigation/menu/esm2022/menu.module.mjs +3 -4
- app-ng-runtime/components/navigation/menu/esm2022/nav/nav-item/nav-item.directive.mjs +8 -14
- 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 +144 -160
- 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 +1 -12
- 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 +4 -3
- app-ng-runtime/components/navigation/navbar/bundles/index.umd.js +22 -29
- app-ng-runtime/components/navigation/navbar/esm2022/navbar.component.mjs +23 -30
- app-ng-runtime/components/navigation/navbar/esm2022/navbar.module.mjs +2 -2
- app-ng-runtime/components/navigation/navbar/fesm2022/index.mjs +24 -31
- 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/bundles/index.umd.js +11 -18
- app-ng-runtime/components/navigation/popover/esm2022/popover.component.mjs +12 -19
- app-ng-runtime/components/navigation/popover/esm2022/popover.module.mjs +2 -2
- app-ng-runtime/components/navigation/popover/fesm2022/index.mjs +13 -20
- 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/bundles/index.umd.js +31 -63
- app-ng-runtime/components/page/default/content/content.component.d.ts +2 -2
- app-ng-runtime/components/page/default/esm2022/content/content.component.mjs +7 -13
- app-ng-runtime/components/page/default/esm2022/layout.directive.mjs +7 -12
- app-ng-runtime/components/page/default/esm2022/page-content/page-content.component.mjs +7 -13
- app-ng-runtime/components/page/default/esm2022/page.directive.mjs +7 -12
- app-ng-runtime/components/page/default/esm2022/page.module.mjs +2 -2
- app-ng-runtime/components/page/default/esm2022/router-outlet.directive.mjs +7 -12
- app-ng-runtime/components/page/default/esm2022/spa-page.directive.mjs +7 -12
- app-ng-runtime/components/page/default/fesm2022/index.mjs +33 -65
- 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/bundles/index.umd.js +6 -11
- app-ng-runtime/components/page/footer/esm2022/footer.directive.mjs +7 -12
- app-ng-runtime/components/page/footer/esm2022/footer.module.mjs +2 -2
- app-ng-runtime/components/page/footer/fesm2022/index.mjs +8 -13
- 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/bundles/index.umd.js +6 -12
- app-ng-runtime/components/page/header/esm2022/header.component.mjs +7 -13
- app-ng-runtime/components/page/header/esm2022/header.module.mjs +2 -2
- app-ng-runtime/components/page/header/fesm2022/index.mjs +8 -14
- 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/bundles/index.umd.js +7 -12
- 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 +8 -13
- app-ng-runtime/components/page/left-panel/esm2022/left-panel.module.mjs +2 -2
- app-ng-runtime/components/page/left-panel/fesm2022/index.mjs +9 -14
- 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/bundles/index.umd.js +6 -11
- app-ng-runtime/components/page/right-panel/esm2022/right-panel.directive.mjs +7 -12
- app-ng-runtime/components/page/right-panel/esm2022/right-panel.module.mjs +2 -2
- app-ng-runtime/components/page/right-panel/fesm2022/index.mjs +8 -13
- 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/bundles/index.umd.js +6 -11
- app-ng-runtime/components/page/top-nav/esm2022/top-nav.directive.mjs +7 -12
- app-ng-runtime/components/page/top-nav/esm2022/top-nav.module.mjs +2 -2
- app-ng-runtime/components/page/top-nav/fesm2022/index.mjs +8 -13
- 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/bundles/index.umd.js +18 -28
- app-ng-runtime/components/prefab/esm2022/prefab-container/prefab-container.directive.mjs +8 -14
- app-ng-runtime/components/prefab/esm2022/prefab.directive.mjs +9 -15
- app-ng-runtime/components/prefab/esm2022/prefab.module.mjs +2 -2
- app-ng-runtime/components/prefab/fesm2022/index.mjs +15 -26
- 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/bundles/index.umd.js +146 -158
- app-ng-runtime/core/esm2022/core.module.mjs +2 -2
- app-ng-runtime/core/esm2022/public_api.mjs +2 -3
- app-ng-runtime/core/esm2022/services/constant.service.mjs +2 -2
- app-ng-runtime/core/esm2022/services/field-type.service.mjs +4 -5
- app-ng-runtime/core/esm2022/services/field-widget.service.mjs +4 -5
- app-ng-runtime/core/esm2022/services/pagination.service.mjs +7 -8
- app-ng-runtime/core/esm2022/services/script-loader.service.mjs +3 -3
- app-ng-runtime/core/esm2022/services/state-persistence.service.mjs +17 -18
- app-ng-runtime/core/esm2022/services/user-custom-pipe-manager.service.mjs +2 -2
- app-ng-runtime/core/esm2022/services/utils.service.mjs +4 -5
- app-ng-runtime/core/esm2022/services/viewport.service.mjs +4 -5
- app-ng-runtime/core/esm2022/utils/build-utils.mjs +4 -5
- 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 +5 -6
- app-ng-runtime/core/esm2022/utils/id-generator.mjs +1 -1
- app-ng-runtime/core/esm2022/utils/lru-cache.mjs +2 -3
- app-ng-runtime/core/esm2022/utils/utils.mjs +82 -79
- app-ng-runtime/core/esm2022/utils/watcher.mjs +7 -9
- app-ng-runtime/core/esm2022/utils/wm-project-properties.mjs +1 -1
- app-ng-runtime/core/fesm2022/index.mjs +142 -158
- app-ng-runtime/core/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/core/public_api.d.ts +1 -2
- app-ng-runtime/core/services/pagination.service.d.ts +1 -1
- app-ng-runtime/core/utils/utils.d.ts +9 -5
- 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 +6 -7
- 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 +6 -7
- 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 +44 -58
- app-ng-runtime/locales/angular/global/ff-gn.js +44 -58
- 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 +44 -58
- 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/bundles/index.umd.js +143 -148
- app-ng-runtime/mobile/components/basic/default/esm2022/anchor/anchor.directive.mjs +7 -8
- app-ng-runtime/mobile/components/basic/default/esm2022/app-update/app-update.component.mjs +6 -7
- 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 +43 -47
- app-ng-runtime/mobile/components/basic/default/esm2022/file-browser/file-selector.service.mjs +5 -7
- app-ng-runtime/mobile/components/basic/default/esm2022/image-cache/image-cache.directive.mjs +5 -6
- app-ng-runtime/mobile/components/basic/default/esm2022/network-info-toaster/network-info-toaster.component.mjs +47 -49
- 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 +32 -31
- app-ng-runtime/mobile/components/basic/default/fesm2022/index.mjs +140 -146
- 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/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/bundles/index.umd.js +30 -42
- app-ng-runtime/mobile/components/containers/segmented-control/esm2022/segment-content/segment-content.component.mjs +8 -14
- app-ng-runtime/mobile/components/containers/segmented-control/esm2022/segmented-control.component.mjs +21 -28
- 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 +28 -41
- 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/bundles/index.umd.js +48 -53
- 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 +42 -48
- 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 +44 -50
- 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/barcode-scanner.component.d.ts +2 -2
- app-ng-runtime/mobile/components/device/barcode-scanner/bundles/index.umd.js +8 -14
- app-ng-runtime/mobile/components/device/barcode-scanner/esm2022/barcode-scanner.component.mjs +9 -15
- 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 +10 -16
- app-ng-runtime/mobile/components/device/barcode-scanner/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/device/camera/bundles/index.umd.js +9 -15
- app-ng-runtime/mobile/components/device/camera/camera.component.d.ts +2 -2
- app-ng-runtime/mobile/components/device/camera/esm2022/camera.component.mjs +10 -16
- app-ng-runtime/mobile/components/device/camera/esm2022/camera.module.mjs +2 -2
- app-ng-runtime/mobile/components/device/camera/fesm2022/index.mjs +11 -17
- app-ng-runtime/mobile/components/device/camera/fesm2022/index.mjs.map +1 -1
- 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/bundles/index.umd.js +10 -11
- app-ng-runtime/mobile/components/page/default/esm2022/page-content-loader/page-content-loader.component.mjs +3 -4
- app-ng-runtime/mobile/components/page/default/esm2022/page.directive.mjs +4 -5
- app-ng-runtime/mobile/components/page/default/esm2022/page.module.mjs +2 -2
- app-ng-runtime/mobile/components/page/default/fesm2022/index.mjs +6 -8
- app-ng-runtime/mobile/components/page/default/fesm2022/index.mjs.map +1 -1
- 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/bundles/index.umd.js +35 -40
- app-ng-runtime/mobile/components/page/mobile-navbar/esm2022/mobile-navbar.component.mjs +36 -41
- 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 +36 -41
- 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/bundles/index.umd.js +46 -52
- 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 +43 -50
- app-ng-runtime/mobile/components/page/tab-bar/fesm2022/index.mjs +44 -51
- 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/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 +6 -7
- app-ng-runtime/mobile/core/esm2022/services/device-file-opener.service.mjs +4 -5
- app-ng-runtime/mobile/core/esm2022/services/device-file-upload.service.mjs +5 -6
- app-ng-runtime/mobile/core/esm2022/services/device-file.service.mjs +7 -8
- app-ng-runtime/mobile/core/esm2022/services/device.service.mjs +4 -5
- app-ng-runtime/mobile/core/esm2022/services/ext-app-message.service.mjs +6 -7
- app-ng-runtime/mobile/core/esm2022/services/network.service.mjs +10 -11
- app-ng-runtime/mobile/core/fesm2022/index.mjs +39 -40
- 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 +1 -7
- app-ng-runtime/mobile/offline/bundles/index.umd.js +159 -176
- app-ng-runtime/mobile/offline/esm2022/models/local-db-store.mjs +21 -23
- app-ng-runtime/mobile/offline/esm2022/offline.module.mjs +3 -3
- app-ng-runtime/mobile/offline/esm2022/services/change-log.service.mjs +8 -9
- app-ng-runtime/mobile/offline/esm2022/services/local-db-data-pull.service.mjs +37 -39
- app-ng-runtime/mobile/offline/esm2022/services/local-db-management.service.mjs +47 -56
- app-ng-runtime/mobile/offline/esm2022/services/local-db.service.mjs +6 -7
- 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 +3 -4
- app-ng-runtime/mobile/offline/esm2022/services/workers/file-handler.mjs +13 -18
- 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 +5 -9
- app-ng-runtime/mobile/offline/esm2022/utils/file-upload.utils.mjs +1 -1
- app-ng-runtime/mobile/offline/esm2022/utils/live-variable.utils.mjs +11 -12
- app-ng-runtime/mobile/offline/esm2022/utils/query-executor.utils.mjs +4 -5
- app-ng-runtime/mobile/offline/esm2022/utils/security.utils.mjs +2 -3
- app-ng-runtime/mobile/offline/esm2022/utils/utils.mjs +1 -1
- app-ng-runtime/mobile/offline/fesm2022/index.mjs +153 -171
- app-ng-runtime/mobile/offline/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/placeholder/runtime/bundles/index.umd.js +2 -3
- app-ng-runtime/mobile/placeholder/runtime/esm2022/components/app-ext.component.mjs +2 -3
- app-ng-runtime/mobile/placeholder/runtime/esm2022/mobile-runtime.module.mjs +2 -2
- app-ng-runtime/mobile/placeholder/runtime/fesm2022/index.mjs +2 -3
- app-ng-runtime/mobile/placeholder/runtime/fesm2022/index.mjs.map +1 -1
- 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/bundles/index.umd.js +17 -21
- app-ng-runtime/mobile/runtime/esm2022/components/app-ext.component.mjs +3 -4
- app-ng-runtime/mobile/runtime/esm2022/mobile-runtime.module.mjs +4 -5
- app-ng-runtime/mobile/runtime/esm2022/services/cookie.service.mjs +3 -7
- app-ng-runtime/mobile/runtime/esm2022/services/http-interceptor.service.mjs +5 -6
- app-ng-runtime/mobile/runtime/esm2022/services/webprocess.service.mjs +3 -3
- app-ng-runtime/mobile/runtime/fesm2022/index.mjs +13 -18
- app-ng-runtime/mobile/runtime/fesm2022/index.mjs.map +1 -1
- 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/bundles/index.umd.js +21 -28
- 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 +9 -10
- 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 +3 -11
- 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 +16 -24
- app-ng-runtime/mobile/variables/fesm2022/index.mjs.map +1 -1
- 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 +5 -6
- app-ng-runtime/oAuth/esm2022/oAuth.utils.mjs +7 -8
- app-ng-runtime/oAuth/fesm2022/index.mjs +11 -12
- app-ng-runtime/oAuth/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/package.json +1 -1
- app-ng-runtime/runtime/base/bundles/index.umd.js +243 -259
- app-ng-runtime/runtime/base/components/app-component/app.component.d.ts +1 -3
- app-ng-runtime/runtime/base/directives/accessroles.directive.d.ts +3 -4
- app-ng-runtime/runtime/base/esm2022/components/app-component/app.component.mjs +30 -34
- app-ng-runtime/runtime/base/esm2022/components/app-spinner.component.mjs +8 -9
- app-ng-runtime/runtime/base/esm2022/components/base-layout.component.mjs +4 -5
- app-ng-runtime/runtime/base/esm2022/components/base-page.component.mjs +15 -16
- app-ng-runtime/runtime/base/esm2022/components/base-partial.component.mjs +14 -15
- app-ng-runtime/runtime/base/esm2022/components/base-prefab.component.mjs +16 -17
- app-ng-runtime/runtime/base/esm2022/components/base-spa-page.component.mjs +15 -16
- app-ng-runtime/runtime/base/esm2022/components/custom-toaster.component.mjs +15 -17
- app-ng-runtime/runtime/base/esm2022/components/empty-component/empty-page.component.mjs +3 -4
- app-ng-runtime/runtime/base/esm2022/components/prefab-preview.component.mjs +3 -4
- app-ng-runtime/runtime/base/esm2022/directives/accessroles.directive.mjs +16 -24
- 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 +4 -5
- 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 +16 -19
- app-ng-runtime/runtime/base/esm2022/services/app.service.mjs +8 -9
- app-ng-runtime/runtime/base/esm2022/services/dynamic-component-ref-provider.service.mjs +4 -5
- app-ng-runtime/runtime/base/esm2022/services/http-interceptor.services.mjs +5 -6
- app-ng-runtime/runtime/base/esm2022/services/i18n.service.mjs +13 -15
- app-ng-runtime/runtime/base/esm2022/services/navigation.service.mjs +9 -10
- 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 +4 -5
- app-ng-runtime/runtime/base/esm2022/services/spinner.service.mjs +8 -9
- app-ng-runtime/runtime/base/esm2022/services/toaster.service.mjs +7 -8
- app-ng-runtime/runtime/base/esm2022/util/fragment-monitor.mjs +3 -3
- app-ng-runtime/runtime/base/esm2022/util/wm-route-reuse-strategy.mjs +8 -7
- app-ng-runtime/runtime/base/fesm2022/index.mjs +252 -269
- 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/bundles/index.umd.js +21 -22
- app-ng-runtime/runtime/dynamic/esm2022/app/app.module.mjs +1 -1
- app-ng-runtime/runtime/dynamic/esm2022/app/components/page-wrapper.component.mjs +3 -4
- 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 +5 -6
- app-ng-runtime/runtime/dynamic/esm2022/app/services/prefab-config-provider.service.mjs +3 -3
- app-ng-runtime/runtime/dynamic/esm2022/main.mjs +2 -3
- app-ng-runtime/runtime/dynamic/fesm2022/index.mjs +19 -21
- app-ng-runtime/runtime/dynamic/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/scripts/datatable/datatable.js +2 -3
- app-ng-runtime/scripts/jquery-ui/ui/widgets/droppable.js +7 -7
- app-ng-runtime/scripts/jquery-ui/ui/widgets/resizable.js +10 -13
- app-ng-runtime/scripts/jquery-ui/ui/widgets/sortable.js +7 -7
- 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 +13 -14
- app-ng-runtime/security/fesm2022/index.mjs +13 -14
- app-ng-runtime/security/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/security/security.service.d.ts +1 -1
- app-ng-runtime/swipey/esm2022/swipe.animation.mjs +1 -1
- app-ng-runtime/swipey/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/transpiler/bundles/index.umd.js +9 -10
- app-ng-runtime/transpiler/esm2022/build.mjs +6 -8
- app-ng-runtime/transpiler/fesm2022/index.mjs +5 -7
- app-ng-runtime/transpiler/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/variables/bundles/index.umd.js +150 -160
- app-ng-runtime/variables/esm2022/factory/variable.factory.mjs +1 -1
- app-ng-runtime/variables/esm2022/manager/action/login-action.manager.mjs +14 -15
- app-ng-runtime/variables/esm2022/manager/action/logout-action.manager.mjs +1 -1
- app-ng-runtime/variables/esm2022/manager/action/notification-action.manager.mjs +8 -9
- app-ng-runtime/variables/esm2022/manager/variable/base-variable.manager.mjs +2 -3
- 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 +10 -11
- 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 +8 -9
- app-ng-runtime/variables/esm2022/util/action/navigation-action.utils.mjs +4 -4
- app-ng-runtime/variables/esm2022/util/variable/pagination.utils.mjs +23 -30
- app-ng-runtime/variables/esm2022/util/variable/service-variable.utils.mjs +28 -29
- app-ng-runtime/variables/esm2022/util/variable/variables.utils.mjs +70 -75
- app-ng-runtime/variables/esm2022/variables.module.mjs +2 -2
- app-ng-runtime/variables/fesm2022/index.mjs +163 -174
- 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/.npmignore +0 -2
- app-ng-runtime/components/advanced/carousel/.npmignore +0 -2
- app-ng-runtime/components/advanced/login/.npmignore +0 -2
- app-ng-runtime/components/advanced/marquee/.npmignore +0 -2
- app-ng-runtime/components/base/.npmignore +0 -2
- app-ng-runtime/components/basic/default/.npmignore +0 -2
- app-ng-runtime/components/basic/progress/.npmignore +0 -2
- app-ng-runtime/components/basic/rich-text-editor/.npmignore +0 -2
- app-ng-runtime/components/basic/search/.npmignore +0 -2
- app-ng-runtime/components/basic/tree/.npmignore +0 -2
- app-ng-runtime/components/chart/.npmignore +0 -2
- app-ng-runtime/components/containers/accordion/.npmignore +0 -2
- app-ng-runtime/components/containers/layout-grid/.npmignore +0 -2
- app-ng-runtime/components/containers/linear-layout/.npmignore +0 -2
- app-ng-runtime/components/containers/panel/.npmignore +0 -2
- app-ng-runtime/components/containers/tabs/.npmignore +0 -2
- app-ng-runtime/components/containers/tile/.npmignore +0 -2
- app-ng-runtime/components/containers/wizard/.npmignore +0 -2
- app-ng-runtime/components/data/card/.npmignore +0 -2
- app-ng-runtime/components/data/form/.npmignore +0 -2
- app-ng-runtime/components/data/list/.npmignore +0 -2
- app-ng-runtime/components/data/live-table/.npmignore +0 -2
- app-ng-runtime/components/data/pagination/.npmignore +0 -2
- app-ng-runtime/components/data/table/.npmignore +0 -2
- app-ng-runtime/components/dialogs/alert-dialog/.npmignore +0 -2
- app-ng-runtime/components/dialogs/confirm-dialog/.npmignore +0 -2
- app-ng-runtime/components/dialogs/default/.npmignore +0 -2
- app-ng-runtime/components/dialogs/design-dialog/.npmignore +0 -2
- app-ng-runtime/components/dialogs/iframe-dialog/.npmignore +0 -2
- app-ng-runtime/components/dialogs/login-dialog/.npmignore +0 -2
- app-ng-runtime/components/dialogs/partial-dialog/.npmignore +0 -2
- app-ng-runtime/components/input/calendar/.npmignore +0 -2
- app-ng-runtime/components/input/chips/.npmignore +0 -2
- app-ng-runtime/components/input/color-picker/.npmignore +0 -2
- app-ng-runtime/components/input/currency/.npmignore +0 -2
- app-ng-runtime/components/input/default/.npmignore +0 -2
- app-ng-runtime/components/input/epoch/.npmignore +0 -2
- app-ng-runtime/components/input/file-upload/.npmignore +0 -2
- app-ng-runtime/components/input/rating/.npmignore +0 -2
- app-ng-runtime/components/input/slider/.npmignore +0 -2
- app-ng-runtime/components/navigation/breadcrumb/.npmignore +0 -2
- app-ng-runtime/components/navigation/menu/.npmignore +0 -2
- app-ng-runtime/components/navigation/navbar/.npmignore +0 -2
- app-ng-runtime/components/navigation/popover/.npmignore +0 -2
- app-ng-runtime/components/page/default/.npmignore +0 -2
- app-ng-runtime/components/page/footer/.npmignore +0 -2
- app-ng-runtime/components/page/header/.npmignore +0 -2
- app-ng-runtime/components/page/left-panel/.npmignore +0 -2
- app-ng-runtime/components/page/right-panel/.npmignore +0 -2
- app-ng-runtime/components/page/top-nav/.npmignore +0 -2
- app-ng-runtime/components/prefab/.npmignore +0 -2
- app-ng-runtime/core/.npmignore +0 -2
- app-ng-runtime/core/esm2022/services/custom-icons-loader.service.mjs +0 -26
- app-ng-runtime/core/services/custom-icons-loader.service.d.ts +0 -7
- app-ng-runtime/http/.npmignore +0 -2
- app-ng-runtime/mobile/components/basic/default/.npmignore +0 -2
- app-ng-runtime/mobile/components/basic/search/.npmignore +0 -2
- app-ng-runtime/mobile/components/containers/segmented-control/.npmignore +0 -2
- app-ng-runtime/mobile/components/data/media-list/.npmignore +0 -2
- app-ng-runtime/mobile/components/device/barcode-scanner/.npmignore +0 -2
- app-ng-runtime/mobile/components/device/camera/.npmignore +0 -2
- app-ng-runtime/mobile/components/input/file-upload/.npmignore +0 -2
- app-ng-runtime/mobile/components/page/default/.npmignore +0 -2
- app-ng-runtime/mobile/components/page/left-panel/.npmignore +0 -2
- app-ng-runtime/mobile/components/page/mobile-navbar/.npmignore +0 -2
- app-ng-runtime/mobile/components/page/tab-bar/.npmignore +0 -2
- app-ng-runtime/mobile/core/.npmignore +0 -2
- app-ng-runtime/mobile/offline/.npmignore +0 -2
- app-ng-runtime/mobile/placeholder/runtime/.npmignore +0 -2
- app-ng-runtime/mobile/placeholder/runtime-dynamic/.npmignore +0 -2
- app-ng-runtime/mobile/runtime/.npmignore +0 -2
- app-ng-runtime/mobile/runtime-dynamic/.npmignore +0 -2
- app-ng-runtime/mobile/variables/.npmignore +0 -2
- app-ng-runtime/oAuth/.npmignore +0 -2
- app-ng-runtime/runtime/base/.npmignore +0 -2
- app-ng-runtime/runtime/dynamic/.npmignore +0 -2
- app-ng-runtime/security/.npmignore +0 -2
- app-ng-runtime/swipey/.npmignore +0 -2
- app-ng-runtime/transpiler/.npmignore +0 -2
- app-ng-runtime/variables/.npmignore +0 -2
|
@@ -1,18 +1,16 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Component,
|
|
2
|
+
import { Component, HostBinding, Directive, HostListener, Injectable, Inject, ElementRef, Attribute, ViewChild, ContentChildren, NgModule } from '@angular/core';
|
|
3
3
|
import * as i1 from '@angular/common';
|
|
4
|
-
import {
|
|
4
|
+
import { getLocaleNumberSymbol, NumberSymbol, 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 { PROP_STRING, PROP_ANY, PROP_BOOLEAN, PROP_NUMBER,
|
|
10
|
+
import { register, PROP_STRING, PROP_ANY, PROP_BOOLEAN, PROP_NUMBER, DISPLAY_TYPE, StylableComponent, styler, provideAsWidgetRef, APPLY_STYLES_TYPE, WidgetConfig, registerFormWidget, provideAs, extractDataAsArray, ToDatePipe, ALLFIELDS, getOrderedDataset, convertDataToObject, transformDataWithKeys, transformFormData, getUniqObjsByDataField, groupData, handleHeaderClick, toggleAllHeaders, WidgetRef, INPUTMODE, WmComponentsModule } from '@wm/components/base';
|
|
11
11
|
import * as i1$1 from '@wm/core';
|
|
12
|
-
import { DataSource, FormWidgetType, isDefined, toggleClass, AppDefaults,
|
|
13
|
-
import { has, set, isArray, debounce, toString, find, isNull, isObject, isEqual, isEmpty, forEach, includes, isString, get, isUndefined, round, toArray, intersection, findIndex } from 'lodash-es';
|
|
12
|
+
import { DataSource, FormWidgetType, isDefined, toggleClass, AppDefaults, debounce, $appDigest, noop, isEqualWithFields, toBoolean, setListClass, switchClass, addForIdAttributes, addClass, setAttr, removeAttr, isIos, setCSS } from '@wm/core';
|
|
14
13
|
import { Subject } from 'rxjs';
|
|
15
|
-
import { __param, __metadata, __decorate } from 'tslib';
|
|
16
14
|
|
|
17
15
|
const registerProps$e = () => {
|
|
18
16
|
register('wm-button', new Map([
|
|
@@ -39,39 +37,39 @@ const registerProps$e = () => {
|
|
|
39
37
|
};
|
|
40
38
|
|
|
41
39
|
const _c0$c = ["wmButton", ""];
|
|
42
|
-
const _c1$b =
|
|
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 });
|
|
40
|
+
const _c1$b = function (a0, a1, a2) { return { width: a0, height: a1, margin: a2 }; };
|
|
46
41
|
function ButtonComponent_img_0_Template(rf, ctx) { if (rf & 1) {
|
|
47
42
|
i0.ɵɵelement(0, "img", 5);
|
|
48
43
|
i0.ɵɵpipe(1, "image");
|
|
49
44
|
} if (rf & 2) {
|
|
50
45
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
51
|
-
i0.ɵɵproperty("src", i0.ɵɵpipeBind1(1, 2, ctx_r0.iconurl), i0.ɵɵsanitizeUrl)("ngStyle", i0.ɵɵpureFunction3(4,
|
|
46
|
+
i0.ɵɵproperty("src", i0.ɵɵpipeBind1(1, 2, ctx_r0.iconurl), i0.ɵɵsanitizeUrl)("ngStyle", i0.ɵɵpureFunction3(4, _c1$b, ctx_r0.iconwidth, ctx_r0.iconheight, ctx_r0.iconmargin));
|
|
52
47
|
} }
|
|
48
|
+
const _c2$5 = function (a0, a1, a2, a3) { return { width: a0, height: a1, margin: a2, fontSize: a3 }; };
|
|
53
49
|
function ButtonComponent_i_1_Template(rf, ctx) { if (rf & 1) {
|
|
54
50
|
i0.ɵɵelement(0, "i", 6);
|
|
55
51
|
} if (rf & 2) {
|
|
56
|
-
const
|
|
57
|
-
i0.ɵɵclassMapInterpolate1("app-icon ",
|
|
58
|
-
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction4(4,
|
|
52
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
53
|
+
i0.ɵɵclassMapInterpolate1("app-icon ", ctx_r1.iconclass, "");
|
|
54
|
+
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction4(4, _c2$5, ctx_r1.iconwidth, ctx_r1.iconheight, ctx_r1.iconmargin, ctx_r1.iconwidth));
|
|
59
55
|
} }
|
|
60
56
|
function ButtonComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
61
57
|
i0.ɵɵelementStart(0, "span", 7);
|
|
62
58
|
i0.ɵɵtext(1);
|
|
63
59
|
i0.ɵɵelementEnd();
|
|
64
60
|
} if (rf & 2) {
|
|
65
|
-
const
|
|
66
|
-
i0.ɵɵadvance();
|
|
67
|
-
i0.ɵɵtextInterpolate2("",
|
|
61
|
+
const ctx_r2 = i0.ɵɵnextContext();
|
|
62
|
+
i0.ɵɵadvance(1);
|
|
63
|
+
i0.ɵɵtextInterpolate2("", ctx_r2.caption, " ", ctx_r2.appLocale.LABEL_ICON, "");
|
|
68
64
|
} }
|
|
69
65
|
function ButtonComponent_span_5_Template(rf, ctx) { if (rf & 1) {
|
|
70
66
|
i0.ɵɵelement(0, "span", 8);
|
|
71
67
|
} if (rf & 2) {
|
|
72
|
-
const
|
|
73
|
-
i0.ɵɵproperty("textContent",
|
|
68
|
+
const ctx_r3 = i0.ɵɵnextContext();
|
|
69
|
+
i0.ɵɵproperty("textContent", ctx_r3.badgevalue);
|
|
74
70
|
} }
|
|
71
|
+
const _c3$2 = [[["", 8, "caret"]]];
|
|
72
|
+
const _c4$2 = [".caret"];
|
|
75
73
|
const DEFAULT_CLS$6 = 'btn app-button';
|
|
76
74
|
const WIDGET_CONFIG$e = {
|
|
77
75
|
widgetType: 'wm-button',
|
|
@@ -80,45 +78,42 @@ const WIDGET_CONFIG$e = {
|
|
|
80
78
|
};
|
|
81
79
|
class ButtonComponent extends StylableComponent {
|
|
82
80
|
static { this.initializeProps = registerProps$e(); }
|
|
83
|
-
constructor(inj
|
|
84
|
-
super(inj, WIDGET_CONFIG$e
|
|
81
|
+
constructor(inj) {
|
|
82
|
+
super(inj, WIDGET_CONFIG$e);
|
|
85
83
|
styler(this.nativeElement, this);
|
|
86
84
|
}
|
|
87
|
-
static { this.ɵfac = function ButtonComponent_Factory(t) { return new (t || ButtonComponent)(i0.ɵɵdirectiveInject(i0.Injector)
|
|
85
|
+
static { this.ɵfac = function ButtonComponent_Factory(t) { return new (t || ButtonComponent)(i0.ɵɵdirectiveInject(i0.Injector)); }; }
|
|
88
86
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ButtonComponent, selectors: [["button", "wmButton", ""]], hostVars: 5, hostBindings: function ButtonComponent_HostBindings(rf, ctx) { if (rf & 2) {
|
|
89
87
|
i0.ɵɵhostProperty("type", ctx.type)("tabIndex", ctx.tabindex)("disabled", ctx.disabled);
|
|
90
88
|
i0.ɵɵattribute("accesskey", ctx.shortcutkey)("icon-position", ctx.iconposition);
|
|
91
89
|
} }, exportAs: ["wmButton"], features: [i0.ɵɵProvidersFeature([
|
|
92
90
|
provideAsWidgetRef(ButtonComponent)
|
|
93
|
-
]), i0.ɵɵInheritDefinitionFeature], attrs: _c0$c, ngContentSelectors:
|
|
94
|
-
i0.ɵɵprojectionDef(
|
|
95
|
-
i0.ɵɵtemplate(0, ButtonComponent_img_0_Template, 2, 8, "img", 0)
|
|
91
|
+
]), i0.ɵɵInheritDefinitionFeature], attrs: _c0$c, ngContentSelectors: _c4$2, 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) {
|
|
92
|
+
i0.ɵɵprojectionDef(_c3$2);
|
|
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);
|
|
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(1);
|
|
102
102
|
i0.ɵɵproperty("ngIf", ctx.iconclass);
|
|
103
|
-
i0.ɵɵadvance();
|
|
103
|
+
i0.ɵɵadvance(1);
|
|
104
104
|
i0.ɵɵproperty("ngIf", ctx.iconclass);
|
|
105
|
-
i0.ɵɵadvance();
|
|
105
|
+
i0.ɵɵadvance(1);
|
|
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
|
+
(function () { (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
|
-
}], ()
|
|
117
|
-
type: Inject,
|
|
118
|
-
args: ['EXPLICIT_CONTEXT']
|
|
119
|
-
}, {
|
|
120
|
-
type: Optional
|
|
121
|
-
}] }], { type: [{
|
|
116
|
+
}], function () { return [{ type: i0.Injector }]; }, { type: [{
|
|
122
117
|
type: HostBinding,
|
|
123
118
|
args: ['type']
|
|
124
119
|
}], tabindex: [{
|
|
@@ -134,7 +129,6 @@ class ButtonComponent extends StylableComponent {
|
|
|
134
129
|
type: HostBinding,
|
|
135
130
|
args: ['attr.icon-position']
|
|
136
131
|
}] }); })();
|
|
137
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ButtonComponent, { className: "ButtonComponent", filePath: "button/button.component.ts", lineNumber: 22 }); })();
|
|
138
132
|
|
|
139
133
|
const registerProps$d = () => {
|
|
140
134
|
register('wm-buttongroup', new Map([
|
|
@@ -157,11 +151,11 @@ class ButtonGroupDirective extends StylableComponent {
|
|
|
157
151
|
this.$element.find('.app-button').removeClass('selected');
|
|
158
152
|
$target.addClass('selected');
|
|
159
153
|
}
|
|
160
|
-
constructor(inj
|
|
161
|
-
super(inj, WIDGET_CONFIG$d
|
|
154
|
+
constructor(inj) {
|
|
155
|
+
super(inj, WIDGET_CONFIG$d);
|
|
162
156
|
styler(this.nativeElement, this, APPLY_STYLES_TYPE.CONTAINER);
|
|
163
157
|
}
|
|
164
|
-
static { this.ɵfac = function ButtonGroupDirective_Factory(t) { return new (t || ButtonGroupDirective)(i0.ɵɵdirectiveInject(i0.Injector)
|
|
158
|
+
static { this.ɵfac = function ButtonGroupDirective_Factory(t) { return new (t || ButtonGroupDirective)(i0.ɵɵdirectiveInject(i0.Injector)); }; }
|
|
165
159
|
static { this.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: ButtonGroupDirective, selectors: [["", "wmButtonGroup", ""]], hostVars: 2, hostBindings: function ButtonGroupDirective_HostBindings(rf, ctx) { if (rf & 1) {
|
|
166
160
|
i0.ɵɵlistener("click", function ButtonGroupDirective_click_HostBindingHandler($event) { return ctx.handleClick($event); });
|
|
167
161
|
} if (rf & 2) {
|
|
@@ -170,7 +164,7 @@ class ButtonGroupDirective extends StylableComponent {
|
|
|
170
164
|
provideAsWidgetRef(ButtonGroupDirective)
|
|
171
165
|
]), i0.ɵɵInheritDefinitionFeature] }); }
|
|
172
166
|
}
|
|
173
|
-
(()
|
|
167
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ButtonGroupDirective, [{
|
|
174
168
|
type: Directive,
|
|
175
169
|
args: [{
|
|
176
170
|
selector: '[wmButtonGroup]',
|
|
@@ -178,12 +172,7 @@ class ButtonGroupDirective extends StylableComponent {
|
|
|
178
172
|
provideAsWidgetRef(ButtonGroupDirective)
|
|
179
173
|
]
|
|
180
174
|
}]
|
|
181
|
-
}], ()
|
|
182
|
-
type: Inject,
|
|
183
|
-
args: ['EXPLICIT_CONTEXT']
|
|
184
|
-
}, {
|
|
185
|
-
type: Optional
|
|
186
|
-
}] }], { vertical: [{
|
|
175
|
+
}], function () { return [{ type: i0.Injector }]; }, { vertical: [{
|
|
187
176
|
type: HostBinding,
|
|
188
177
|
args: ['class.btn-group-vertical']
|
|
189
178
|
}], handleClick: [{
|
|
@@ -192,8 +181,8 @@ class ButtonGroupDirective extends StylableComponent {
|
|
|
192
181
|
}] }); })();
|
|
193
182
|
|
|
194
183
|
class BaseFormComponent extends StylableComponent {
|
|
195
|
-
constructor(inj, config,
|
|
196
|
-
super(inj, config,
|
|
184
|
+
constructor(inj, config, initPromise) {
|
|
185
|
+
super(inj, config, initPromise);
|
|
197
186
|
this.inj = inj;
|
|
198
187
|
this.binddatavalue = this.$element.attr('datavalue.bind');
|
|
199
188
|
}
|
|
@@ -222,11 +211,11 @@ class BaseFormComponent extends StylableComponent {
|
|
|
222
211
|
}
|
|
223
212
|
binddatavalue = binddatavalue.replace(/\[\$i\]/g, '[0]');
|
|
224
213
|
// In case of list widget context will be the listItem.
|
|
225
|
-
if (has(this.context, binddatavalue.split('.')[0])) {
|
|
226
|
-
set(this.context, binddatavalue, value);
|
|
214
|
+
if (_.has(this.context, binddatavalue.split('.')[0])) {
|
|
215
|
+
_.set(this.context, binddatavalue, value);
|
|
227
216
|
}
|
|
228
217
|
else {
|
|
229
|
-
set(this.viewParent, binddatavalue, value);
|
|
218
|
+
_.set(this.viewParent, binddatavalue, value);
|
|
230
219
|
}
|
|
231
220
|
}
|
|
232
221
|
invokeOnChange(value, $event) {
|
|
@@ -259,20 +248,15 @@ class BaseFormComponent extends StylableComponent {
|
|
|
259
248
|
});
|
|
260
249
|
}
|
|
261
250
|
}
|
|
262
|
-
static { this.ɵfac = function BaseFormComponent_Factory(t) { return new (t || BaseFormComponent)(i0.ɵɵinject(i0.Injector), i0.ɵɵinject(WidgetConfig), i0.ɵɵinject(
|
|
251
|
+
static { this.ɵfac = function BaseFormComponent_Factory(t) { return new (t || BaseFormComponent)(i0.ɵɵinject(i0.Injector), i0.ɵɵinject(WidgetConfig), i0.ɵɵinject(Promise)); }; }
|
|
263
252
|
static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: BaseFormComponent, factory: BaseFormComponent.ɵfac }); }
|
|
264
253
|
}
|
|
265
|
-
(()
|
|
254
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(BaseFormComponent, [{
|
|
266
255
|
type: Injectable
|
|
267
|
-
}], ()
|
|
256
|
+
}], function () { return [{ type: i0.Injector }, { type: undefined, decorators: [{
|
|
268
257
|
type: Inject,
|
|
269
258
|
args: [WidgetConfig]
|
|
270
|
-
}] }, { type:
|
|
271
|
-
type: Inject,
|
|
272
|
-
args: ['EXPLICIT_CONTEXT']
|
|
273
|
-
}, {
|
|
274
|
-
type: Optional
|
|
275
|
-
}] }, { type: Promise }], null); })();
|
|
259
|
+
}] }, { type: Promise }]; }, null); })();
|
|
276
260
|
|
|
277
261
|
/*
|
|
278
262
|
* WMS-18269
|
|
@@ -352,10 +336,10 @@ class BaseFormCustomComponent extends BaseFormComponent {
|
|
|
352
336
|
validate(control) {
|
|
353
337
|
return this['show'] ? validateRequiredBind(this['required'])(control) : null;
|
|
354
338
|
}
|
|
355
|
-
static { this.ɵfac = /*@__PURE__*/ (
|
|
339
|
+
static { this.ɵfac = /*@__PURE__*/ function () { let ɵBaseFormCustomComponent_BaseFactory; return function BaseFormCustomComponent_Factory(t) { return (ɵBaseFormCustomComponent_BaseFactory || (ɵBaseFormCustomComponent_BaseFactory = i0.ɵɵgetInheritedFactory(BaseFormCustomComponent)))(t || BaseFormCustomComponent); }; }(); }
|
|
356
340
|
static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: BaseFormCustomComponent, factory: BaseFormCustomComponent.ɵfac }); }
|
|
357
341
|
}
|
|
358
|
-
(()
|
|
342
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(BaseFormCustomComponent, [{
|
|
359
343
|
type: Injectable
|
|
360
344
|
}], null, null); })();
|
|
361
345
|
|
|
@@ -385,8 +369,7 @@ const registerProps$c = () => {
|
|
|
385
369
|
|
|
386
370
|
const _c0$b = ["checkbox"];
|
|
387
371
|
const _c1$a = ["wmCheckbox", ""];
|
|
388
|
-
const _c2$
|
|
389
|
-
const _c3$2 = () => ({ standalone: true });
|
|
372
|
+
const _c2$4 = function (a0, a1, a2) { return { "unchecked": a0, "disabled": a1, "required": a2 }; };
|
|
390
373
|
const DEFAULT_CLS$4 = 'app-checkbox checkbox';
|
|
391
374
|
const WIDGET_CONFIG$c = {
|
|
392
375
|
widgetType: 'wm-checkbox',
|
|
@@ -424,8 +407,8 @@ class CheckboxComponent extends BaseFormCustomComponent {
|
|
|
424
407
|
this.proxyModel = (isDefined(v) && v !== '') ? v === this._checkedvalue : undefined;
|
|
425
408
|
this.updatePrevDatavalue(this.datavalue);
|
|
426
409
|
}
|
|
427
|
-
constructor(inj, checkedVal, uncheckedVal, type
|
|
428
|
-
super(inj, WIDGET_CONFIG$c
|
|
410
|
+
constructor(inj, checkedVal, uncheckedVal, type) {
|
|
411
|
+
super(inj, WIDGET_CONFIG$c);
|
|
429
412
|
this.type = type;
|
|
430
413
|
this._caption = ' ';
|
|
431
414
|
this._checkedvalue = unStringify(checkedVal, true);
|
|
@@ -482,7 +465,7 @@ class CheckboxComponent extends BaseFormCustomComponent {
|
|
|
482
465
|
super.ngAfterViewInit();
|
|
483
466
|
styler(this.nativeElement.querySelector('label'), this);
|
|
484
467
|
}
|
|
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')
|
|
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')); }; }
|
|
486
469
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CheckboxComponent, selectors: [["", "wmCheckbox", ""]], viewQuery: function CheckboxComponent_Query(rf, ctx) { if (rf & 1) {
|
|
487
470
|
i0.ɵɵviewQuery(NgModel, 5);
|
|
488
471
|
i0.ɵɵviewQuery(_c0$b, 7, ElementRef);
|
|
@@ -496,20 +479,17 @@ class CheckboxComponent extends BaseFormCustomComponent {
|
|
|
496
479
|
provideAs(CheckboxComponent, NG_VALUE_ACCESSOR, true),
|
|
497
480
|
provideAs(CheckboxComponent, NG_VALIDATORS, true),
|
|
498
481
|
provideAsWidgetRef(CheckboxComponent)
|
|
499
|
-
]), i0.ɵɵInheritDefinitionFeature], attrs: _c1$a, decls: 6, vars:
|
|
500
|
-
|
|
501
|
-
i0.ɵɵ
|
|
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)); });
|
|
482
|
+
]), i0.ɵɵInheritDefinitionFeature], attrs: _c1$a, decls: 6, vars: 17, consts: [[3, "ngClass"], ["type", "checkbox", "role", "checkbox", "focus-target", "", 3, "ngModel", "readonly", "required", "disabled", "tabindex", "ngModelChange", "blur"], ["checkbox", ""], [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) {
|
|
483
|
+
i0.ɵɵelementStart(0, "label", 0)(1, "input", 1, 2);
|
|
484
|
+
i0.ɵɵlistener("ngModelChange", function CheckboxComponent_Template_input_ngModelChange_1_listener($event) { return ctx.proxyModel = $event; })("blur", function CheckboxComponent_Template_input_blur_1_listener($event) { return ctx.invokeOnTouched($event); })("ngModelChange", function CheckboxComponent_Template_input_ngModelChange_1_listener($event) { return ctx.handleChange($event); });
|
|
504
485
|
i0.ɵɵelementEnd();
|
|
505
486
|
i0.ɵɵelement(3, "span", 3)(4, "img", 4);
|
|
506
487
|
i0.ɵɵelementEnd();
|
|
507
488
|
i0.ɵɵelement(5, "input", 5);
|
|
508
489
|
} if (rf & 2) {
|
|
509
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction3(
|
|
510
|
-
i0.ɵɵadvance();
|
|
511
|
-
i0.ɵɵ
|
|
512
|
-
i0.ɵɵproperty("ngModelOptions", i0.ɵɵpureFunction0(18, _c3$2))("readonly", ctx.readonly)("required", ctx.required)("disabled", ctx.disabled || ctx.readonly)("tabindex", ctx.tabindex);
|
|
490
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction3(13, _c2$4, !ctx.proxyModel, ctx.disabled || ctx.readonly, ctx.required && ctx._caption));
|
|
491
|
+
i0.ɵɵadvance(1);
|
|
492
|
+
i0.ɵɵproperty("ngModel", ctx.proxyModel)("readonly", ctx.readonly)("required", ctx.required)("disabled", ctx.disabled || ctx.readonly)("tabindex", ctx.tabindex);
|
|
513
493
|
i0.ɵɵattribute("name", ctx.name)("aria-label", ctx.hint)("aria-checked", !!ctx.proxyModel)("accesskey", ctx.shortcutkey);
|
|
514
494
|
i0.ɵɵadvance(2);
|
|
515
495
|
i0.ɵɵproperty("innerHtml", ctx._caption, i0.ɵɵsanitizeHtml);
|
|
@@ -517,14 +497,14 @@ class CheckboxComponent extends BaseFormCustomComponent {
|
|
|
517
497
|
i0.ɵɵproperty("disabled", ctx.disabled)("value", ctx.proxyModel);
|
|
518
498
|
} }, dependencies: [i1.NgClass, i2$1.CheckboxControlValueAccessor, i2$1.NgControlStatus, i2$1.CheckboxRequiredValidator, i2$1.NgModel], encapsulation: 2 }); }
|
|
519
499
|
}
|
|
520
|
-
(()
|
|
500
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CheckboxComponent, [{
|
|
521
501
|
type: Component,
|
|
522
502
|
args: [{ selector: '[wmCheckbox]', providers: [
|
|
523
503
|
provideAs(CheckboxComponent, NG_VALUE_ACCESSOR, true),
|
|
524
504
|
provideAs(CheckboxComponent, NG_VALIDATORS, true),
|
|
525
505
|
provideAsWidgetRef(CheckboxComponent)
|
|
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 [
|
|
527
|
-
}], ()
|
|
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
|
+
}], function () { return [{ type: i0.Injector }, { type: undefined, decorators: [{
|
|
528
508
|
type: Attribute,
|
|
529
509
|
args: ['checkedvalue']
|
|
530
510
|
}] }, { type: undefined, decorators: [{
|
|
@@ -533,12 +513,7 @@ class CheckboxComponent extends BaseFormCustomComponent {
|
|
|
533
513
|
}] }, { type: undefined, decorators: [{
|
|
534
514
|
type: Attribute,
|
|
535
515
|
args: ['type']
|
|
536
|
-
}] }, {
|
|
537
|
-
type: Inject,
|
|
538
|
-
args: ['EXPLICIT_CONTEXT']
|
|
539
|
-
}, {
|
|
540
|
-
type: Optional
|
|
541
|
-
}] }], { ngModel: [{
|
|
516
|
+
}] }]; }, { ngModel: [{
|
|
542
517
|
type: ViewChild,
|
|
543
518
|
args: [NgModel]
|
|
544
519
|
}], checkboxEl: [{
|
|
@@ -548,7 +523,6 @@ class CheckboxComponent extends BaseFormCustomComponent {
|
|
|
548
523
|
type: HostListener,
|
|
549
524
|
args: ['keydown.enter', ['$event', '"ENTER"']]
|
|
550
525
|
}] }); })();
|
|
551
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CheckboxComponent, { className: "CheckboxComponent", filePath: "checkbox/checkbox.component.ts", lineNumber: 59 }); })();
|
|
552
526
|
|
|
553
527
|
class DatasetAwareFormComponent extends BaseFormCustomComponent {
|
|
554
528
|
get modelByKey() {
|
|
@@ -577,17 +551,17 @@ class DatasetAwareFormComponent extends BaseFormCustomComponent {
|
|
|
577
551
|
// invoke on datavalue change.
|
|
578
552
|
this.invokeOnChange(val, undefined, true);
|
|
579
553
|
}
|
|
580
|
-
constructor(inj, config,
|
|
581
|
-
super(inj, config
|
|
554
|
+
constructor(inj, config, groupby) {
|
|
555
|
+
super(inj, config);
|
|
582
556
|
this.groupby = groupby;
|
|
583
557
|
this.datasetItems = [];
|
|
584
558
|
this.acceptsArray = false; // set to true if proxyModel on widget accepts array type.
|
|
585
559
|
this.dataset$ = new Subject();
|
|
586
560
|
this.datavalue$ = new Subject();
|
|
587
561
|
this.allowempty = true;
|
|
588
|
-
this._debounceDatavalueUpdation = debounce((values) => {
|
|
562
|
+
this._debounceDatavalueUpdation = _.debounce((values) => {
|
|
589
563
|
// if no item is found in datasetItems, wait untill the dataset updates by preserving the datavalue in toBeProcessedDatavalue.
|
|
590
|
-
if (!isDefined(this._modelByKey) || (isArray(this._modelByKey) && !this._modelByKey.length)) {
|
|
564
|
+
if (!isDefined(this._modelByKey) || (_.isArray(this._modelByKey) && !this._modelByKey.length)) {
|
|
591
565
|
this.toBeProcessedDatavalue = values;
|
|
592
566
|
this._modelByValue = '';
|
|
593
567
|
}
|
|
@@ -595,7 +569,7 @@ class DatasetAwareFormComponent extends BaseFormCustomComponent {
|
|
|
595
569
|
// obtain the first array value when multiple is set to false.
|
|
596
570
|
// set the modelByValue only when undefined.
|
|
597
571
|
if (!isDefined(this._modelByValue)) {
|
|
598
|
-
this._modelByValue = (!this.multiple && isArray(this.toBeProcessedDatavalue)) ? this.toBeProcessedDatavalue[0] : this.toBeProcessedDatavalue;
|
|
572
|
+
this._modelByValue = (!this.multiple && _.isArray(this.toBeProcessedDatavalue)) ? this.toBeProcessedDatavalue[0] : this.toBeProcessedDatavalue;
|
|
599
573
|
}
|
|
600
574
|
this.toBeProcessedDatavalue = undefined;
|
|
601
575
|
}
|
|
@@ -606,7 +580,7 @@ class DatasetAwareFormComponent extends BaseFormCustomComponent {
|
|
|
606
580
|
this.binddisplayexpression = this.nativeElement.getAttribute('displayexpression.bind');
|
|
607
581
|
this.binddisplayimagesrc = this.nativeElement.getAttribute('displayimagesrc.bind');
|
|
608
582
|
this.binddisplaylabel = this.nativeElement.getAttribute('displaylabel.bind');
|
|
609
|
-
this._debouncedInitDatasetItems = debounce
|
|
583
|
+
this._debouncedInitDatasetItems = debounce(() => {
|
|
610
584
|
this.initDatasetItems();
|
|
611
585
|
$appDigest();
|
|
612
586
|
}, 150);
|
|
@@ -625,7 +599,7 @@ class DatasetAwareFormComponent extends BaseFormCustomComponent {
|
|
|
625
599
|
if (!this.datasetItems.length) {
|
|
626
600
|
return;
|
|
627
601
|
}
|
|
628
|
-
if (this.multiple && !isArray(keys)) {
|
|
602
|
+
if (this.multiple && !_.isArray(keys)) {
|
|
629
603
|
keys = [keys];
|
|
630
604
|
}
|
|
631
605
|
// Set the _modelByKey to the modified keys.
|
|
@@ -633,10 +607,10 @@ class DatasetAwareFormComponent extends BaseFormCustomComponent {
|
|
|
633
607
|
if (this.multiple) {
|
|
634
608
|
this._modelByValue = [];
|
|
635
609
|
keys.forEach(key => {
|
|
636
|
-
const itemByKey = find(this.datasetItems, item => {
|
|
610
|
+
const itemByKey = _.find(this.datasetItems, item => {
|
|
637
611
|
// not triple equal, as the instance type can be different.
|
|
638
612
|
// only value comparison should be done.
|
|
639
|
-
return toString(item.key) === toString(key);
|
|
613
|
+
return _.toString(item.key) === _.toString(key);
|
|
640
614
|
});
|
|
641
615
|
if (itemByKey) {
|
|
642
616
|
itemByKey.selected = true;
|
|
@@ -646,10 +620,10 @@ class DatasetAwareFormComponent extends BaseFormCustomComponent {
|
|
|
646
620
|
}
|
|
647
621
|
else {
|
|
648
622
|
this._modelByValue = '';
|
|
649
|
-
const itemByKey = find(this.datasetItems, item => {
|
|
623
|
+
const itemByKey = _.find(this.datasetItems, item => {
|
|
650
624
|
// not triple equal, as the instance type can be different.
|
|
651
625
|
// only value comparison should be done.
|
|
652
|
-
return toString(item.key) === toString(keys);
|
|
626
|
+
return _.toString(item.key) === _.toString(keys);
|
|
653
627
|
});
|
|
654
628
|
if (itemByKey) {
|
|
655
629
|
itemByKey.selected = true;
|
|
@@ -668,14 +642,14 @@ class DatasetAwareFormComponent extends BaseFormCustomComponent {
|
|
|
668
642
|
selectByValue(values) {
|
|
669
643
|
this.resetDatasetItems();
|
|
670
644
|
// if datavalue is not defined or empty then set the model as undefined.
|
|
671
|
-
if (!isDefined(values) || values === '' || isNull(values) || (values instanceof Array && !values.length)) {
|
|
645
|
+
if (!isDefined(values) || values === '' || _.isNull(values) || (values instanceof Array && !values.length)) {
|
|
672
646
|
this._modelByKey = undefined;
|
|
673
647
|
// do not return when allowempty is set to true.
|
|
674
648
|
if (!this.allowempty || !isDefined(values)) {
|
|
675
649
|
return;
|
|
676
650
|
}
|
|
677
651
|
}
|
|
678
|
-
if (this.acceptsArray && !isArray(values)) {
|
|
652
|
+
if (this.acceptsArray && !_.isArray(values)) {
|
|
679
653
|
values = this.allowempty ? [values] : extractDataAsArray(values);
|
|
680
654
|
}
|
|
681
655
|
// preserve the datavalue if datasetItems are empty.
|
|
@@ -684,16 +658,16 @@ class DatasetAwareFormComponent extends BaseFormCustomComponent {
|
|
|
684
658
|
return;
|
|
685
659
|
}
|
|
686
660
|
const filterField = this.datafield === ALLFIELDS ? 'dataObject' : 'key';
|
|
687
|
-
if (isArray(values)) {
|
|
661
|
+
if (_.isArray(values)) {
|
|
688
662
|
this._modelByKey = [];
|
|
689
663
|
values.forEach(val => {
|
|
690
|
-
const itemByValue = find(this.datasetItems, item => {
|
|
664
|
+
const itemByValue = _.find(this.datasetItems, item => {
|
|
691
665
|
if (filterField === 'dataObject') {
|
|
692
666
|
if (this.compareby && this.compareby.length) {
|
|
693
667
|
return isEqualWithFields(item[filterField], val, this.compareby);
|
|
694
668
|
}
|
|
695
669
|
}
|
|
696
|
-
return (isObject(item.value) ? isEqual(item.value, val) : (toString(item.value)).toLowerCase() === (toString(val)).toLowerCase());
|
|
670
|
+
return (_.isObject(item.value) ? _.isEqual(item.value, val) : (_.toString(item.value)).toLowerCase() === (_.toString(val)).toLowerCase());
|
|
697
671
|
});
|
|
698
672
|
if (itemByValue) {
|
|
699
673
|
itemByValue.selected = true;
|
|
@@ -703,13 +677,13 @@ class DatasetAwareFormComponent extends BaseFormCustomComponent {
|
|
|
703
677
|
}
|
|
704
678
|
else {
|
|
705
679
|
this._modelByKey = undefined;
|
|
706
|
-
const itemByValue = find(this.datasetItems, item => {
|
|
680
|
+
const itemByValue = _.find(this.datasetItems, item => {
|
|
707
681
|
if (filterField === 'dataObject') {
|
|
708
682
|
if (this.compareby && this.compareby.length) {
|
|
709
683
|
return isEqualWithFields(item[filterField], values, this.compareby);
|
|
710
684
|
}
|
|
711
685
|
}
|
|
712
|
-
return (isObject(item.value) ? isEqual(item.value, values) : (toString(item.value)).toLowerCase() === (toString(values)).toLowerCase());
|
|
686
|
+
return (_.isObject(item.value) ? _.isEqual(item.value, values) : (_.toString(item.value)).toLowerCase() === (_.toString(values)).toLowerCase());
|
|
713
687
|
});
|
|
714
688
|
if (itemByValue) {
|
|
715
689
|
itemByValue.selected = true;
|
|
@@ -732,7 +706,7 @@ class DatasetAwareFormComponent extends BaseFormCustomComponent {
|
|
|
732
706
|
}
|
|
733
707
|
// This function parses the dataset and extracts the displayOptions from parsed dataset.
|
|
734
708
|
initDatasetItems() {
|
|
735
|
-
if (!this.dataset || isEmpty(this.dataset)) {
|
|
709
|
+
if (!this.dataset || _.isEmpty(this.dataset)) {
|
|
736
710
|
this.datasetItems = [];
|
|
737
711
|
// notify the dataset listeners
|
|
738
712
|
this.dataset$.next(this.datasetItems);
|
|
@@ -760,7 +734,7 @@ class DatasetAwareFormComponent extends BaseFormCustomComponent {
|
|
|
760
734
|
postDatasetItemsInit() {
|
|
761
735
|
if (this.datasetItems.length && !this._defaultQueryInvoked) {
|
|
762
736
|
// use the latest of toBeProcessedDatavalue, datavalue
|
|
763
|
-
const _datavalue = isEmpty(this.toBeProcessedDatavalue) ? this.datavalue : this.toBeProcessedDatavalue;
|
|
737
|
+
const _datavalue = _.isEmpty(this.toBeProcessedDatavalue) ? this.datavalue : this.toBeProcessedDatavalue;
|
|
764
738
|
this.selectByValue(_datavalue);
|
|
765
739
|
}
|
|
766
740
|
// notify the dataset listeners
|
|
@@ -830,23 +804,18 @@ class DatasetAwareFormComponent extends BaseFormCustomComponent {
|
|
|
830
804
|
this.cancelLocaleChangeSubscription();
|
|
831
805
|
}
|
|
832
806
|
}
|
|
833
|
-
static { this.ɵfac = function DatasetAwareFormComponent_Factory(t) { return new (t || DatasetAwareFormComponent)(i0.ɵɵinject(i0.Injector), i0.ɵɵinject(WidgetConfig), i0.ɵɵ
|
|
807
|
+
static { this.ɵfac = function DatasetAwareFormComponent_Factory(t) { return new (t || DatasetAwareFormComponent)(i0.ɵɵinject(i0.Injector), i0.ɵɵinject(WidgetConfig), i0.ɵɵinjectAttribute('groupby')); }; }
|
|
834
808
|
static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: DatasetAwareFormComponent, factory: DatasetAwareFormComponent.ɵfac }); }
|
|
835
809
|
}
|
|
836
|
-
(()
|
|
810
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DatasetAwareFormComponent, [{
|
|
837
811
|
type: Injectable
|
|
838
|
-
}], ()
|
|
812
|
+
}], function () { return [{ type: i0.Injector }, { type: undefined, decorators: [{
|
|
839
813
|
type: Inject,
|
|
840
814
|
args: [WidgetConfig]
|
|
841
|
-
}] }, { type: undefined, decorators: [{
|
|
842
|
-
type: Inject,
|
|
843
|
-
args: ['EXPLICIT_CONTEXT']
|
|
844
|
-
}, {
|
|
845
|
-
type: Optional
|
|
846
815
|
}] }, { type: undefined, decorators: [{
|
|
847
816
|
type: Attribute,
|
|
848
817
|
args: ['groupby']
|
|
849
|
-
}] }], null); })();
|
|
818
|
+
}] }]; }, null); })();
|
|
850
819
|
|
|
851
820
|
const checkboxsetProps = new Map([
|
|
852
821
|
['class', PROP_STRING],
|
|
@@ -882,61 +851,60 @@ const registerProps$b = () => {
|
|
|
882
851
|
};
|
|
883
852
|
|
|
884
853
|
const _c0$a = ["wmCheckboxset", ""];
|
|
885
|
-
const _c1$9 = (a0
|
|
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];
|
|
854
|
+
const _c1$9 = function (a0) { return { "disabled": a0 }; };
|
|
889
855
|
function CheckboxsetComponent_ng_template_0_li_0_label_1_Template(rf, ctx) { if (rf & 1) {
|
|
890
856
|
i0.ɵɵelementStart(0, "label", 8);
|
|
891
857
|
i0.ɵɵelement(1, "input", 9)(2, "span", 10);
|
|
892
858
|
i0.ɵɵelementEnd();
|
|
893
859
|
} if (rf & 2) {
|
|
894
|
-
const
|
|
895
|
-
const
|
|
896
|
-
const
|
|
897
|
-
const
|
|
898
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(12,
|
|
899
|
-
i0.ɵɵadvance();
|
|
900
|
-
i0.ɵɵproperty("name", "checkboxset_" +
|
|
901
|
-
i0.ɵɵattribute("aria-label",
|
|
902
|
-
i0.ɵɵadvance();
|
|
903
|
-
i0.ɵɵproperty("textContent",
|
|
860
|
+
const ctx_r9 = i0.ɵɵnextContext();
|
|
861
|
+
const item_r5 = ctx_r9.$implicit;
|
|
862
|
+
const i_r6 = ctx_r9.index;
|
|
863
|
+
const ctx_r7 = i0.ɵɵnextContext(2);
|
|
864
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(12, _c1$9, ctx_r7.disabled || ctx_r7.readonly))("title", item_r5.label);
|
|
865
|
+
i0.ɵɵadvance(1);
|
|
866
|
+
i0.ɵɵproperty("name", "checkboxset_" + ctx_r7.widgetId)("tabindex", ctx_r7.tabindex)("disabled", ctx_r7.disabled || ctx_r7.readonly)("value", item_r5.key)("tabindex", ctx_r7.tabindex)("checked", item_r5.selected);
|
|
867
|
+
i0.ɵɵattribute("aria-label", item_r5.key)("aria-checked", item_r5.selected)("data-attr-index", i_r6);
|
|
868
|
+
i0.ɵɵadvance(1);
|
|
869
|
+
i0.ɵɵproperty("textContent", item_r5.label);
|
|
904
870
|
} }
|
|
905
871
|
function CheckboxsetComponent_ng_template_0_li_0_label_2_Template(rf, ctx) { if (rf & 1) {
|
|
906
872
|
i0.ɵɵelementStart(0, "label", 11);
|
|
907
873
|
i0.ɵɵelement(1, "input", 9)(2, "span", 12);
|
|
908
874
|
i0.ɵɵelementEnd();
|
|
909
875
|
} if (rf & 2) {
|
|
910
|
-
const
|
|
911
|
-
const
|
|
912
|
-
const
|
|
913
|
-
const
|
|
914
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10,
|
|
915
|
-
i0.ɵɵadvance();
|
|
916
|
-
i0.ɵɵproperty("name", "checkboxset_" +
|
|
917
|
-
i0.ɵɵattribute("aria-label",
|
|
876
|
+
const ctx_r10 = i0.ɵɵnextContext();
|
|
877
|
+
const item_r5 = ctx_r10.$implicit;
|
|
878
|
+
const i_r6 = ctx_r10.index;
|
|
879
|
+
const ctx_r8 = i0.ɵɵnextContext(2);
|
|
880
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c1$9, ctx_r8.disabled || ctx_r8.readonly));
|
|
881
|
+
i0.ɵɵadvance(1);
|
|
882
|
+
i0.ɵɵproperty("name", "checkboxset_" + ctx_r8.widgetId)("tabindex", ctx_r8.tabindex)("disabled", ctx_r8.disabled || ctx_r8.readonly)("value", item_r5.key)("tabindex", ctx_r8.tabindex)("checked", item_r5.selected);
|
|
883
|
+
i0.ɵɵattribute("aria-label", item_r5.key)("aria-checked", item_r5.selected)("data-attr-index", i_r6);
|
|
918
884
|
} }
|
|
885
|
+
const _c2$3 = function (a2, a3) { return ["checkbox", "app-checkbox", a2, a3]; };
|
|
919
886
|
function CheckboxsetComponent_ng_template_0_li_0_Template(rf, ctx) { if (rf & 1) {
|
|
920
|
-
const
|
|
887
|
+
const _r12 = i0.ɵɵgetCurrentView();
|
|
921
888
|
i0.ɵɵelementStart(0, "li", 5);
|
|
922
|
-
i0.ɵɵlistener("click", function CheckboxsetComponent_ng_template_0_li_0_Template_li_click_0_listener($event) { const
|
|
923
|
-
i0.ɵɵtemplate(1, CheckboxsetComponent_ng_template_0_li_0_label_1_Template, 3, 14, "label", 6)
|
|
889
|
+
i0.ɵɵlistener("click", function CheckboxsetComponent_ng_template_0_li_0_Template_li_click_0_listener($event) { const restoredCtx = i0.ɵɵrestoreView(_r12); const item_r5 = restoredCtx.$implicit; const ctx_r11 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r11.onCheckboxLabelClick($event, item_r5.key)); });
|
|
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);
|
|
924
892
|
i0.ɵɵelementEnd();
|
|
925
893
|
} if (rf & 2) {
|
|
926
|
-
const
|
|
927
|
-
const
|
|
928
|
-
i0.ɵɵclassProp("active",
|
|
929
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(7,
|
|
930
|
-
i0.ɵɵadvance();
|
|
931
|
-
i0.ɵɵproperty("ngIf", !
|
|
932
|
-
i0.ɵɵadvance();
|
|
933
|
-
i0.ɵɵproperty("ngIf",
|
|
894
|
+
const item_r5 = ctx.$implicit;
|
|
895
|
+
const ctx_r4 = i0.ɵɵnextContext(2);
|
|
896
|
+
i0.ɵɵclassProp("active", item_r5.selected);
|
|
897
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(7, _c2$3, ctx_r4.itemclass, ctx_r4.itemsPerRowClass))("wmItemTemplate", ctx_r4.content)("userComponentParams", item_r5);
|
|
898
|
+
i0.ɵɵadvance(1);
|
|
899
|
+
i0.ɵɵproperty("ngIf", !ctx_r4.content);
|
|
900
|
+
i0.ɵɵadvance(1);
|
|
901
|
+
i0.ɵɵproperty("ngIf", ctx_r4.content);
|
|
934
902
|
} }
|
|
935
903
|
function CheckboxsetComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {
|
|
936
904
|
i0.ɵɵtemplate(0, CheckboxsetComponent_ng_template_0_li_0_Template, 3, 10, "li", 4);
|
|
937
905
|
} if (rf & 2) {
|
|
938
|
-
const
|
|
939
|
-
i0.ɵɵproperty("ngForOf",
|
|
906
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
907
|
+
i0.ɵɵproperty("ngForOf", ctx_r0.datasetItems);
|
|
940
908
|
} }
|
|
941
909
|
function CheckboxsetComponent_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
942
910
|
i0.ɵɵelement(0, "div", 13);
|
|
@@ -944,98 +912,102 @@ function CheckboxsetComponent_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
|
944
912
|
function CheckboxsetComponent_ng_template_3_li_0_i_6_Template(rf, ctx) { if (rf & 1) {
|
|
945
913
|
i0.ɵɵelement(0, "i", 23);
|
|
946
914
|
} if (rf & 2) {
|
|
947
|
-
const
|
|
948
|
-
i0.ɵɵpropertyInterpolate2("title", "",
|
|
915
|
+
const ctx_r15 = i0.ɵɵnextContext(3);
|
|
916
|
+
i0.ɵɵpropertyInterpolate2("title", "", ctx_r15.appLocale.LABEL_COLLAPSE, "/", ctx_r15.appLocale.LABEL_EXPAND, "");
|
|
949
917
|
} }
|
|
950
918
|
function CheckboxsetComponent_ng_template_3_li_0_span_7_Template(rf, ctx) { if (rf & 1) {
|
|
951
919
|
i0.ɵɵelement(0, "span", 24);
|
|
952
920
|
} if (rf & 2) {
|
|
953
|
-
const
|
|
954
|
-
i0.ɵɵproperty("textContent",
|
|
921
|
+
const groupObj_r14 = i0.ɵɵnextContext().$implicit;
|
|
922
|
+
i0.ɵɵproperty("textContent", groupObj_r14.data.length);
|
|
955
923
|
} }
|
|
956
924
|
function CheckboxsetComponent_ng_template_3_li_0_li_8_label_1_Template(rf, ctx) { if (rf & 1) {
|
|
957
925
|
i0.ɵɵelementStart(0, "label", 8);
|
|
958
926
|
i0.ɵɵelement(1, "input", 26)(2, "span", 10);
|
|
959
927
|
i0.ɵɵelementEnd();
|
|
960
928
|
} if (rf & 2) {
|
|
961
|
-
const
|
|
962
|
-
const
|
|
963
|
-
const
|
|
964
|
-
const
|
|
965
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10,
|
|
966
|
-
i0.ɵɵadvance();
|
|
967
|
-
i0.ɵɵproperty("name", "checkboxset_" +
|
|
968
|
-
i0.ɵɵattribute("data-attr-index",
|
|
969
|
-
i0.ɵɵadvance();
|
|
970
|
-
i0.ɵɵproperty("textContent",
|
|
929
|
+
const ctx_r23 = i0.ɵɵnextContext();
|
|
930
|
+
const item_r19 = ctx_r23.$implicit;
|
|
931
|
+
const i_r20 = ctx_r23.index;
|
|
932
|
+
const ctx_r21 = i0.ɵɵnextContext(3);
|
|
933
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c1$9, ctx_r21.disabled || ctx_r21.readonly))("title", item_r19.label);
|
|
934
|
+
i0.ɵɵadvance(1);
|
|
935
|
+
i0.ɵɵproperty("name", "checkboxset_" + ctx_r21.widgetId)("tabindex", ctx_r21.tabindex)("disabled", ctx_r21.disabled || ctx_r21.readonly)("value", item_r19.key)("tabindex", ctx_r21.tabindex)("checked", item_r19.selected);
|
|
936
|
+
i0.ɵɵattribute("data-attr-index", i_r20);
|
|
937
|
+
i0.ɵɵadvance(1);
|
|
938
|
+
i0.ɵɵproperty("textContent", item_r19.label);
|
|
971
939
|
} }
|
|
972
940
|
function CheckboxsetComponent_ng_template_3_li_0_li_8_label_2_Template(rf, ctx) { if (rf & 1) {
|
|
973
941
|
i0.ɵɵelementStart(0, "label", 11);
|
|
974
942
|
i0.ɵɵelement(1, "input", 26)(2, "span", 27);
|
|
975
943
|
i0.ɵɵelementEnd();
|
|
976
944
|
} if (rf & 2) {
|
|
977
|
-
const
|
|
978
|
-
const
|
|
979
|
-
const
|
|
980
|
-
const
|
|
981
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8,
|
|
982
|
-
i0.ɵɵadvance();
|
|
983
|
-
i0.ɵɵproperty("name", "checkboxset_" +
|
|
984
|
-
i0.ɵɵattribute("data-attr-index",
|
|
945
|
+
const ctx_r24 = i0.ɵɵnextContext();
|
|
946
|
+
const item_r19 = ctx_r24.$implicit;
|
|
947
|
+
const i_r20 = ctx_r24.index;
|
|
948
|
+
const ctx_r22 = i0.ɵɵnextContext(3);
|
|
949
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c1$9, ctx_r22.disabled || ctx_r22.readonly));
|
|
950
|
+
i0.ɵɵadvance(1);
|
|
951
|
+
i0.ɵɵproperty("name", "checkboxset_" + ctx_r22.widgetId)("tabindex", ctx_r22.tabindex)("disabled", ctx_r22.disabled || ctx_r22.readonly)("value", item_r19.key)("tabindex", ctx_r22.tabindex)("checked", item_r19.selected);
|
|
952
|
+
i0.ɵɵattribute("data-attr-index", i_r20);
|
|
985
953
|
} }
|
|
954
|
+
const _c3$1 = function (a3, a4) { return ["checkbox", "app-checkbox", "group-list-item", a3, a4]; };
|
|
986
955
|
function CheckboxsetComponent_ng_template_3_li_0_li_8_Template(rf, ctx) { if (rf & 1) {
|
|
987
|
-
const
|
|
956
|
+
const _r26 = i0.ɵɵgetCurrentView();
|
|
988
957
|
i0.ɵɵelementStart(0, "li", 25);
|
|
989
|
-
i0.ɵɵlistener("click", function CheckboxsetComponent_ng_template_3_li_0_li_8_Template_li_click_0_listener($event) { const
|
|
990
|
-
i0.ɵɵtemplate(1, CheckboxsetComponent_ng_template_3_li_0_li_8_label_1_Template, 3, 12, "label", 6)
|
|
958
|
+
i0.ɵɵlistener("click", function CheckboxsetComponent_ng_template_3_li_0_li_8_Template_li_click_0_listener($event) { const restoredCtx = i0.ɵɵrestoreView(_r26); const item_r19 = restoredCtx.$implicit; const ctx_r25 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r25.onCheckboxLabelClick($event, item_r19)); });
|
|
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);
|
|
991
961
|
i0.ɵɵelementEnd();
|
|
992
962
|
} if (rf & 2) {
|
|
993
|
-
const
|
|
994
|
-
const
|
|
995
|
-
i0.ɵɵclassProp("active",
|
|
996
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(7,
|
|
997
|
-
i0.ɵɵadvance();
|
|
998
|
-
i0.ɵɵproperty("ngIf", !
|
|
999
|
-
i0.ɵɵadvance();
|
|
1000
|
-
i0.ɵɵproperty("ngIf",
|
|
963
|
+
const item_r19 = ctx.$implicit;
|
|
964
|
+
const ctx_r17 = i0.ɵɵnextContext(3);
|
|
965
|
+
i0.ɵɵclassProp("active", item_r19.selected);
|
|
966
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(7, _c3$1, ctx_r17.itemclass, ctx_r17.itemsPerRowClass))("wmItemTemplate", ctx_r17.content)("userComponentParams", item_r19);
|
|
967
|
+
i0.ɵɵadvance(1);
|
|
968
|
+
i0.ɵɵproperty("ngIf", !ctx_r17.content);
|
|
969
|
+
i0.ɵɵadvance(1);
|
|
970
|
+
i0.ɵɵproperty("ngIf", ctx_r17.content);
|
|
1001
971
|
} }
|
|
972
|
+
const _c4$1 = function (a0) { return { "collapsible-content": a0 }; };
|
|
1002
973
|
function CheckboxsetComponent_ng_template_3_li_0_Template(rf, ctx) { if (rf & 1) {
|
|
1003
|
-
const
|
|
974
|
+
const _r28 = i0.ɵɵgetCurrentView();
|
|
1004
975
|
i0.ɵɵelementStart(0, "li", 15)(1, "ul", 16)(2, "li", 17);
|
|
1005
|
-
i0.ɵɵlistener("click", function CheckboxsetComponent_ng_template_3_li_0_Template_li_click_2_listener($event) { i0.ɵɵrestoreView(
|
|
976
|
+
i0.ɵɵlistener("click", function CheckboxsetComponent_ng_template_3_li_0_Template_li_click_2_listener($event) { i0.ɵɵrestoreView(_r28); const ctx_r27 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r27.handleHeaderClick($event)); });
|
|
1006
977
|
i0.ɵɵelementStart(3, "h4", 18);
|
|
1007
978
|
i0.ɵɵtext(4);
|
|
1008
979
|
i0.ɵɵelementStart(5, "div", 19);
|
|
1009
|
-
i0.ɵɵtemplate(6, CheckboxsetComponent_ng_template_3_li_0_i_6_Template, 1,
|
|
980
|
+
i0.ɵɵtemplate(6, CheckboxsetComponent_ng_template_3_li_0_i_6_Template, 1, 2, "i", 20);
|
|
981
|
+
i0.ɵɵtemplate(7, CheckboxsetComponent_ng_template_3_li_0_span_7_Template, 1, 1, "span", 21);
|
|
1010
982
|
i0.ɵɵelementEnd()()();
|
|
1011
983
|
i0.ɵɵtemplate(8, CheckboxsetComponent_ng_template_3_li_0_li_8_Template, 3, 10, "li", 22);
|
|
1012
984
|
i0.ɵɵelementEnd()();
|
|
1013
985
|
} if (rf & 2) {
|
|
1014
|
-
const
|
|
1015
|
-
const
|
|
986
|
+
const groupObj_r14 = ctx.$implicit;
|
|
987
|
+
const ctx_r13 = i0.ɵɵnextContext(2);
|
|
1016
988
|
i0.ɵɵadvance(2);
|
|
1017
|
-
i0.ɵɵproperty("title",
|
|
989
|
+
i0.ɵɵproperty("title", groupObj_r14.key)("ngClass", i0.ɵɵpureFunction1(6, _c4$1, ctx_r13.collapsible));
|
|
1018
990
|
i0.ɵɵadvance(2);
|
|
1019
|
-
i0.ɵɵtextInterpolate1("",
|
|
991
|
+
i0.ɵɵtextInterpolate1("", groupObj_r14.key, " ");
|
|
1020
992
|
i0.ɵɵadvance(2);
|
|
1021
|
-
i0.ɵɵproperty("ngIf",
|
|
1022
|
-
i0.ɵɵadvance();
|
|
1023
|
-
i0.ɵɵproperty("ngIf",
|
|
1024
|
-
i0.ɵɵadvance();
|
|
1025
|
-
i0.ɵɵproperty("ngForOf",
|
|
993
|
+
i0.ɵɵproperty("ngIf", ctx_r13.collapsible);
|
|
994
|
+
i0.ɵɵadvance(1);
|
|
995
|
+
i0.ɵɵproperty("ngIf", ctx_r13.showcount);
|
|
996
|
+
i0.ɵɵadvance(1);
|
|
997
|
+
i0.ɵɵproperty("ngForOf", groupObj_r14.data);
|
|
1026
998
|
} }
|
|
1027
999
|
function CheckboxsetComponent_ng_template_3_Template(rf, ctx) { if (rf & 1) {
|
|
1028
1000
|
i0.ɵɵtemplate(0, CheckboxsetComponent_ng_template_3_li_0_Template, 9, 8, "li", 14);
|
|
1029
1001
|
} if (rf & 2) {
|
|
1030
|
-
const
|
|
1031
|
-
i0.ɵɵproperty("ngForOf",
|
|
1002
|
+
const ctx_r3 = i0.ɵɵnextContext();
|
|
1003
|
+
i0.ɵɵproperty("ngForOf", ctx_r3.groupedData);
|
|
1032
1004
|
} }
|
|
1033
1005
|
const DEFAULT_CLS$3 = 'app-checkboxset list-group inline';
|
|
1034
1006
|
const WIDGET_CONFIG$b = { widgetType: 'wm-checkboxset', hostClass: DEFAULT_CLS$3 };
|
|
1035
1007
|
class CheckboxsetComponent extends DatasetAwareFormComponent {
|
|
1036
1008
|
static { this.initializeProps = registerProps$b(); }
|
|
1037
|
-
constructor(inj
|
|
1038
|
-
super(inj, WIDGET_CONFIG$b
|
|
1009
|
+
constructor(inj) {
|
|
1010
|
+
super(inj, WIDGET_CONFIG$b);
|
|
1039
1011
|
this.layout = '';
|
|
1040
1012
|
styler(this.nativeElement, this);
|
|
1041
1013
|
this.multiple = true;
|
|
@@ -1047,8 +1019,7 @@ class CheckboxsetComponent extends DatasetAwareFormComponent {
|
|
|
1047
1019
|
// construct the _model from the checked elements.
|
|
1048
1020
|
const inputElements = this.nativeElement.querySelectorAll('input:checked');
|
|
1049
1021
|
const keys = [];
|
|
1050
|
-
forEach(inputElements, ($el) => {
|
|
1051
|
-
// @ts-ignore
|
|
1022
|
+
_.forEach(inputElements, ($el) => {
|
|
1052
1023
|
keys.push($el.value);
|
|
1053
1024
|
});
|
|
1054
1025
|
this.modelByKey = keys;
|
|
@@ -1067,7 +1038,7 @@ class CheckboxsetComponent extends DatasetAwareFormComponent {
|
|
|
1067
1038
|
return callback();
|
|
1068
1039
|
});
|
|
1069
1040
|
}
|
|
1070
|
-
else if (!includes(['change'], eventName)) {
|
|
1041
|
+
else if (!_.includes(['change'], eventName)) {
|
|
1071
1042
|
super.handleEvent(node, eventName, callback, locals);
|
|
1072
1043
|
}
|
|
1073
1044
|
}
|
|
@@ -1090,43 +1061,38 @@ class CheckboxsetComponent extends DatasetAwareFormComponent {
|
|
|
1090
1061
|
super.onPropertyChange(key, nv, ov);
|
|
1091
1062
|
}
|
|
1092
1063
|
}
|
|
1093
|
-
static { this.ɵfac = function CheckboxsetComponent_Factory(t) { return new (t || CheckboxsetComponent)(i0.ɵɵdirectiveInject(i0.Injector)
|
|
1064
|
+
static { this.ɵfac = function CheckboxsetComponent_Factory(t) { return new (t || CheckboxsetComponent)(i0.ɵɵdirectiveInject(i0.Injector)); }; }
|
|
1094
1065
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CheckboxsetComponent, selectors: [["", "wmCheckboxset", ""]], hostBindings: function CheckboxsetComponent_HostBindings(rf, ctx) { if (rf & 1) {
|
|
1095
1066
|
i0.ɵɵlistener("keydown.enter", function CheckboxsetComponent_keydown_enter_HostBindingHandler($event) { return ctx.onKeyDown($event, "ENTER"); });
|
|
1096
1067
|
} }, exportAs: ["wmCheckboxset"], features: [i0.ɵɵProvidersFeature([
|
|
1097
1068
|
provideAs(CheckboxsetComponent, NG_VALUE_ACCESSOR, true),
|
|
1098
1069
|
provideAs(CheckboxsetComponent, NG_VALIDATORS, true),
|
|
1099
1070
|
provideAsWidgetRef(CheckboxsetComponent)
|
|
1100
|
-
]), i0.ɵɵInheritDefinitionFeature], attrs: _c0$a, decls: 5, vars: 4, consts: [[
|
|
1101
|
-
i0.ɵɵtemplate(0, CheckboxsetComponent_ng_template_0_Template, 1, 1, "ng-template",
|
|
1102
|
-
i0.ɵɵelement(1, "input",
|
|
1103
|
-
i0.ɵɵtemplate(2, CheckboxsetComponent_div_2_Template, 1, 0, "div",
|
|
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"], ["groupedListTemplate", ""], ["partialContainer", "", "role", "presentation", 3, "ngClass", "active", "wmItemTemplate", "userComponentParams", "click", 4, "ngFor", "ngForOf"], ["partialContainer", "", "role", "presentation", 3, "ngClass", "wmItemTemplate", "userComponentParams", "click"], ["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, "title", "ngClass", "click"], [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, "ngClass", "wmItemTemplate", "userComponentParams", "click"], ["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) {
|
|
1072
|
+
i0.ɵɵtemplate(0, CheckboxsetComponent_ng_template_0_Template, 1, 1, "ng-template", 0);
|
|
1073
|
+
i0.ɵɵelement(1, "input", 1);
|
|
1074
|
+
i0.ɵɵtemplate(2, CheckboxsetComponent_div_2_Template, 1, 0, "div", 2);
|
|
1075
|
+
i0.ɵɵtemplate(3, CheckboxsetComponent_ng_template_3_Template, 1, 1, "ng-template", null, 3, i0.ɵɵtemplateRefExtractor);
|
|
1104
1076
|
} if (rf & 2) {
|
|
1105
|
-
const
|
|
1106
|
-
i0.ɵɵproperty("ngIf", !ctx.groupby)("ngIfElse",
|
|
1107
|
-
i0.ɵɵadvance();
|
|
1077
|
+
const _r2 = i0.ɵɵreference(4);
|
|
1078
|
+
i0.ɵɵproperty("ngIf", !ctx.groupby)("ngIfElse", _r2);
|
|
1079
|
+
i0.ɵɵadvance(1);
|
|
1108
1080
|
i0.ɵɵproperty("disabled", ctx.disabled || ctx.readonly);
|
|
1109
|
-
i0.ɵɵadvance();
|
|
1081
|
+
i0.ɵɵadvance(1);
|
|
1110
1082
|
i0.ɵɵproperty("ngIf", ctx.readonly || ctx.disabled);
|
|
1111
1083
|
} }, dependencies: [i1.NgClass, i1.NgForOf, i1.NgIf, i2.ItemTemplateDirective, i2.PartialParamHandlerDirective, i2.PartialContainerDirective, i2.TextContentDirective], encapsulation: 2 }); }
|
|
1112
1084
|
}
|
|
1113
|
-
(()
|
|
1085
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CheckboxsetComponent, [{
|
|
1114
1086
|
type: Component,
|
|
1115
1087
|
args: [{ selector: '[wmCheckboxset]', exportAs: 'wmCheckboxset', providers: [
|
|
1116
1088
|
provideAs(CheckboxsetComponent, NG_VALUE_ACCESSOR, true),
|
|
1117
1089
|
provideAs(CheckboxsetComponent, NG_VALIDATORS, true),
|
|
1118
1090
|
provideAsWidgetRef(CheckboxsetComponent)
|
|
1119
1091
|
], 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" }]
|
|
1120
|
-
}], ()
|
|
1121
|
-
type: Inject,
|
|
1122
|
-
args: ['EXPLICIT_CONTEXT']
|
|
1123
|
-
}, {
|
|
1124
|
-
type: Optional
|
|
1125
|
-
}] }], { onKeyDown: [{
|
|
1092
|
+
}], function () { return [{ type: i0.Injector }]; }, { onKeyDown: [{
|
|
1126
1093
|
type: HostListener,
|
|
1127
1094
|
args: ['keydown.enter', ['$event', '"ENTER"']]
|
|
1128
1095
|
}] }); })();
|
|
1129
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CheckboxsetComponent, { className: "CheckboxsetComponent", filePath: "checkboxset/checkboxset.component.ts", lineNumber: 27 }); })();
|
|
1130
1096
|
|
|
1131
1097
|
const registerProps$a = () => {
|
|
1132
1098
|
register('wm-form-group', new Map([
|
|
@@ -1150,8 +1116,8 @@ const CAPTION_POSITION = {
|
|
|
1150
1116
|
};
|
|
1151
1117
|
class CompositeDirective extends StylableComponent {
|
|
1152
1118
|
static { this.initializeProps = registerProps$a(); }
|
|
1153
|
-
constructor(inj
|
|
1154
|
-
super(inj, WIDGET_CONFIG$a
|
|
1119
|
+
constructor(inj) {
|
|
1120
|
+
super(inj, WIDGET_CONFIG$a);
|
|
1155
1121
|
styler(this.nativeElement, this, APPLY_STYLES_TYPE.CONTAINER);
|
|
1156
1122
|
}
|
|
1157
1123
|
/**
|
|
@@ -1187,7 +1153,7 @@ class CompositeDirective extends StylableComponent {
|
|
|
1187
1153
|
addForIdAttributes(this.nativeElement);
|
|
1188
1154
|
this.assignRequiredToSubComponents();
|
|
1189
1155
|
}
|
|
1190
|
-
static { this.ɵfac = function CompositeDirective_Factory(t) { return new (t || CompositeDirective)(i0.ɵɵdirectiveInject(i0.Injector)
|
|
1156
|
+
static { this.ɵfac = function CompositeDirective_Factory(t) { return new (t || CompositeDirective)(i0.ɵɵdirectiveInject(i0.Injector)); }; }
|
|
1191
1157
|
static { this.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: CompositeDirective, selectors: [["div", "wmComposite", ""]], contentQueries: function CompositeDirective_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {
|
|
1192
1158
|
i0.ɵɵcontentQuery(dirIndex, WidgetRef, 5);
|
|
1193
1159
|
} if (rf & 2) {
|
|
@@ -1197,7 +1163,7 @@ class CompositeDirective extends StylableComponent {
|
|
|
1197
1163
|
provideAsWidgetRef(CompositeDirective)
|
|
1198
1164
|
]), i0.ɵɵInheritDefinitionFeature] }); }
|
|
1199
1165
|
}
|
|
1200
|
-
(()
|
|
1166
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CompositeDirective, [{
|
|
1201
1167
|
type: Directive,
|
|
1202
1168
|
args: [{
|
|
1203
1169
|
selector: 'div[wmComposite]',
|
|
@@ -1205,12 +1171,7 @@ class CompositeDirective extends StylableComponent {
|
|
|
1205
1171
|
provideAsWidgetRef(CompositeDirective)
|
|
1206
1172
|
]
|
|
1207
1173
|
}]
|
|
1208
|
-
}], ()
|
|
1209
|
-
type: Inject,
|
|
1210
|
-
args: ['EXPLICIT_CONTEXT']
|
|
1211
|
-
}, {
|
|
1212
|
-
type: Optional
|
|
1213
|
-
}] }], { componentRefs: [{
|
|
1174
|
+
}], function () { return [{ type: i0.Injector }]; }, { componentRefs: [{
|
|
1214
1175
|
type: ContentChildren,
|
|
1215
1176
|
args: [WidgetRef, { descendants: true }]
|
|
1216
1177
|
}] }); })();
|
|
@@ -1272,7 +1233,7 @@ class BaseInput extends BaseFormCustomComponent {
|
|
|
1272
1233
|
}
|
|
1273
1234
|
// invoke the change callback
|
|
1274
1235
|
handleChange(newValue) {
|
|
1275
|
-
if (this.autotrim && this.datavalue && isString(this.datavalue)) {
|
|
1236
|
+
if (this.autotrim && this.datavalue && _.isString(this.datavalue)) {
|
|
1276
1237
|
this.datavalue = this.datavalue.trim();
|
|
1277
1238
|
}
|
|
1278
1239
|
this.invokeOnChange(this.datavalue, { type: 'change' }, this.ngModel.valid);
|
|
@@ -1290,7 +1251,7 @@ class BaseInput extends BaseFormCustomComponent {
|
|
|
1290
1251
|
// Update the model on enter key press
|
|
1291
1252
|
flushViewChanges(val) {
|
|
1292
1253
|
// when val contains masked value, update the model with unmasked value
|
|
1293
|
-
const unMaskedVal = get(this.imask, 'maskRef.unmaskedValue');
|
|
1254
|
+
const unMaskedVal = _.get(this.imask, 'maskRef.unmaskedValue');
|
|
1294
1255
|
val = unMaskedVal ? unMaskedVal : val;
|
|
1295
1256
|
this.ngModel.update.next(val);
|
|
1296
1257
|
$appDigest();
|
|
@@ -1303,36 +1264,30 @@ class BaseInput extends BaseFormCustomComponent {
|
|
|
1303
1264
|
}
|
|
1304
1265
|
styler(this.inputEl.nativeElement, this);
|
|
1305
1266
|
}
|
|
1306
|
-
constructor(inj, config
|
|
1307
|
-
super(inj, config
|
|
1267
|
+
constructor(inj, config) {
|
|
1268
|
+
super(inj, config);
|
|
1308
1269
|
// possible values for ngModelOptions are 'blur' and 'change'
|
|
1309
1270
|
// default is 'blur'
|
|
1310
1271
|
this.ngModelOptions = {
|
|
1311
|
-
updateOn: ''
|
|
1312
|
-
standalone: true
|
|
1272
|
+
updateOn: ''
|
|
1313
1273
|
};
|
|
1314
1274
|
let updateOn = this.nativeElement.getAttribute('updateon') || 'blur';
|
|
1315
1275
|
updateOn = updateOn === 'default' ? 'change' : updateOn;
|
|
1316
1276
|
this.ngModelOptions.updateOn = updateOn;
|
|
1317
1277
|
}
|
|
1318
|
-
static { this.ɵfac = function BaseInput_Factory(t) { return new (t || BaseInput)(i0.ɵɵinject(i0.Injector), i0.ɵɵinject(WidgetConfig)
|
|
1278
|
+
static { this.ɵfac = function BaseInput_Factory(t) { return new (t || BaseInput)(i0.ɵɵinject(i0.Injector), i0.ɵɵinject(WidgetConfig)); }; }
|
|
1319
1279
|
static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: BaseInput, factory: BaseInput.ɵfac }); }
|
|
1320
1280
|
}
|
|
1321
|
-
(()
|
|
1281
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(BaseInput, [{
|
|
1322
1282
|
type: Injectable
|
|
1323
|
-
}], ()
|
|
1283
|
+
}], function () { return [{ type: i0.Injector }, { type: undefined, decorators: [{
|
|
1324
1284
|
type: Inject,
|
|
1325
1285
|
args: [WidgetConfig]
|
|
1326
|
-
}] }
|
|
1327
|
-
type: Inject,
|
|
1328
|
-
args: ['EXPLICIT_CONTEXT']
|
|
1329
|
-
}, {
|
|
1330
|
-
type: Optional
|
|
1331
|
-
}] }], null); })();
|
|
1286
|
+
}] }]; }, null); })();
|
|
1332
1287
|
|
|
1333
|
-
|
|
1334
|
-
constructor(inj, config, i18nService, trailingZeroDecimalPipe
|
|
1335
|
-
super(inj, config
|
|
1288
|
+
class NumberLocale extends BaseInput {
|
|
1289
|
+
constructor(inj, config, i18nService, trailingZeroDecimalPipe) {
|
|
1290
|
+
super(inj, config);
|
|
1336
1291
|
this.i18nService = i18nService;
|
|
1337
1292
|
this.trailingZeroDecimalPipe = trailingZeroDecimalPipe;
|
|
1338
1293
|
this.isDefaultQuery = true;
|
|
@@ -1348,8 +1303,7 @@ let NumberLocale = class NumberLocale extends BaseInput {
|
|
|
1348
1303
|
set datavalue(value) {
|
|
1349
1304
|
this.lastValIsDecimal = false;
|
|
1350
1305
|
// set text value to null if data value is empty.
|
|
1351
|
-
|
|
1352
|
-
if (includes([null, undefined, ''], value)) {
|
|
1306
|
+
if (_.includes([null, undefined, ''], value)) {
|
|
1353
1307
|
const input = this.inputEl.nativeElement;
|
|
1354
1308
|
const prevDataValue = this.prevDatavalue;
|
|
1355
1309
|
this.displayValue = input.value = this.proxyModel = null;
|
|
@@ -1362,8 +1316,8 @@ let NumberLocale = class NumberLocale extends BaseInput {
|
|
|
1362
1316
|
}
|
|
1363
1317
|
// if the widget has default value and if we change the locale, the value should be in selected locale format.
|
|
1364
1318
|
if (this.isDefaultQuery) {
|
|
1365
|
-
const isLocalizedNumber = isString(value) && includes(value, this.DECIMAL);
|
|
1366
|
-
const parts = isLocalizedNumber ? value.split(this.DECIMAL) : isString(value) && value.split('.');
|
|
1319
|
+
const isLocalizedNumber = _.isString(value) && _.includes(value, this.DECIMAL);
|
|
1320
|
+
const parts = isLocalizedNumber ? value.split(this.DECIMAL) : _.isString(value) && value.split('.');
|
|
1367
1321
|
this.decimalValue = parts[1] || '';
|
|
1368
1322
|
value = isLocalizedNumber ? value : this.transformNumber(value);
|
|
1369
1323
|
}
|
|
@@ -1378,7 +1332,7 @@ let NumberLocale = class NumberLocale extends BaseInput {
|
|
|
1378
1332
|
model = NaN;
|
|
1379
1333
|
}
|
|
1380
1334
|
// On keypress, if the user types a decimal and is still active on the input do not throw error.
|
|
1381
|
-
if (isNaN(model) && strVal[strVal.length - 1] === this.DECIMAL && this.ngModelOptions.updateOn === 'change' && this.$element.find('input:focus').length) {
|
|
1335
|
+
if (_.isNaN(model) && strVal[strVal.length - 1] === this.DECIMAL && this.ngModelOptions.updateOn === 'change' && this.$element.find('input:focus').length) {
|
|
1382
1336
|
this.lastValIsDecimal = true;
|
|
1383
1337
|
}
|
|
1384
1338
|
// get a valid number form the text.
|
|
@@ -1414,7 +1368,7 @@ let NumberLocale = class NumberLocale extends BaseInput {
|
|
|
1414
1368
|
*/
|
|
1415
1369
|
isValid(val) {
|
|
1416
1370
|
// id number is infinite then consider it as invalid value
|
|
1417
|
-
if (isNaN(val) || !isFinite(val) || (!Number.isInteger(this.step) &&
|
|
1371
|
+
if (_.isNaN(val) || !_.isFinite(val) || (!Number.isInteger(this.step) &&
|
|
1418
1372
|
this.countDecimals(val) > this.countDecimals(this.step))) {
|
|
1419
1373
|
this.isInvalidNumber = true;
|
|
1420
1374
|
return false;
|
|
@@ -1432,11 +1386,11 @@ let NumberLocale = class NumberLocale extends BaseInput {
|
|
|
1432
1386
|
* @returns {number}
|
|
1433
1387
|
*/
|
|
1434
1388
|
getValueInRange(value) {
|
|
1435
|
-
if (!isNaN(this.minvalue) && value < this.minvalue) {
|
|
1389
|
+
if (!_.isNaN(this.minvalue) && value < this.minvalue) {
|
|
1436
1390
|
this.validateType = 'minvalue';
|
|
1437
1391
|
return this.minvalue;
|
|
1438
1392
|
}
|
|
1439
|
-
if (!isNaN(this.maxvalue) && value > this.maxvalue) {
|
|
1393
|
+
if (!_.isNaN(this.maxvalue) && value > this.maxvalue) {
|
|
1440
1394
|
this.validateType = 'maxvalue';
|
|
1441
1395
|
return this.maxvalue;
|
|
1442
1396
|
}
|
|
@@ -1565,7 +1519,7 @@ let NumberLocale = class NumberLocale extends BaseInput {
|
|
|
1565
1519
|
const valInWholeNum = parseInt(value.toString().replace(/\D/g, ''));
|
|
1566
1520
|
financialVal = valInWholeNum * this.step;
|
|
1567
1521
|
}
|
|
1568
|
-
if (!isNaN(financialVal)) {
|
|
1522
|
+
if (!_.isNaN(financialVal)) {
|
|
1569
1523
|
// When update on key is set keypress, update the datavalue else update only the display value
|
|
1570
1524
|
if (this.ngModelOptions.updateOn === 'change') {
|
|
1571
1525
|
this.datavalue = parseFloat(financialVal.toFixed(stepVal));
|
|
@@ -1625,7 +1579,7 @@ let NumberLocale = class NumberLocale extends BaseInput {
|
|
|
1625
1579
|
const targetVal = $event.target.value.replace(/,/g, '');
|
|
1626
1580
|
// proxyModel to be updated from $event.target.value if present to support arrow keys when input changes else pick up from this.proxymodel
|
|
1627
1581
|
let proxyModel;
|
|
1628
|
-
if (targetVal && !isNaN(parseFloat(targetVal))) {
|
|
1582
|
+
if (targetVal && !_.isNaN(parseFloat(targetVal))) {
|
|
1629
1583
|
proxyModel = parseFloat(targetVal);
|
|
1630
1584
|
}
|
|
1631
1585
|
else {
|
|
@@ -1636,14 +1590,14 @@ let NumberLocale = class NumberLocale extends BaseInput {
|
|
|
1636
1590
|
if (this.numberNotInRange) {
|
|
1637
1591
|
const inputValue = this.parseNumber(this.inputEl.nativeElement.value);
|
|
1638
1592
|
// take the textbox value as current model if the value is valid.
|
|
1639
|
-
if (!isNaN(inputValue)) {
|
|
1593
|
+
if (!_.isNaN(inputValue)) {
|
|
1640
1594
|
value = this.getValueInRange(inputValue);
|
|
1641
1595
|
proxyModel = inputValue;
|
|
1642
1596
|
this.resetValidations();
|
|
1643
1597
|
}
|
|
1644
1598
|
}
|
|
1645
1599
|
else {
|
|
1646
|
-
if (isUndefined(proxyModel) || isNull(proxyModel)) {
|
|
1600
|
+
if (_.isUndefined(proxyModel) || _.isNull(proxyModel)) {
|
|
1647
1601
|
proxyModel = value = this.getValueInRange((this.minvalue || 0));
|
|
1648
1602
|
this.resetValidations();
|
|
1649
1603
|
}
|
|
@@ -1654,7 +1608,7 @@ let NumberLocale = class NumberLocale extends BaseInput {
|
|
|
1654
1608
|
if ((key === 'UP' && proxyModel <= value) || (key === 'DOWN' && proxyModel >= value)) {
|
|
1655
1609
|
const decimalRoundValue = Math.max(this.countDecimals(proxyModel), this.countDecimals(this.step));
|
|
1656
1610
|
// update the modelProxy.
|
|
1657
|
-
this.proxyModel = round(value, decimalRoundValue);
|
|
1611
|
+
this.proxyModel = _.round(value, decimalRoundValue);
|
|
1658
1612
|
this.updateDisplayText();
|
|
1659
1613
|
this.handleChange(this.proxyModel);
|
|
1660
1614
|
}
|
|
@@ -1689,7 +1643,7 @@ let NumberLocale = class NumberLocale extends BaseInput {
|
|
|
1689
1643
|
validateInputEntry($event) {
|
|
1690
1644
|
this.isDefaultQuery = false;
|
|
1691
1645
|
// allow actions if control key is pressed or if backspace is pressed. (for Mozilla).
|
|
1692
|
-
if ($event.ctrlKey || includes(['Backspace', 'ArrowRight', 'ArrowLeft', 'Tab', 'Enter', 'Delete'], $event.key)) {
|
|
1646
|
+
if ($event.ctrlKey || _.includes(['Backspace', 'ArrowRight', 'ArrowLeft', 'Tab', 'Enter', 'Delete'], $event.key)) {
|
|
1693
1647
|
return;
|
|
1694
1648
|
}
|
|
1695
1649
|
const validity = new RegExp(`^[\\d\\s-,.e+${this.GROUP}${this.DECIMAL}]$`, 'i');
|
|
@@ -1720,18 +1674,18 @@ let NumberLocale = class NumberLocale extends BaseInput {
|
|
|
1720
1674
|
return false;
|
|
1721
1675
|
}
|
|
1722
1676
|
// comma cannot be entered consecutively
|
|
1723
|
-
if (includes(inputValue, ',') && inputValue[inputValue.length - 1] === ',' && $event.key === ',') {
|
|
1677
|
+
if (_.includes(inputValue, ',') && inputValue[inputValue.length - 1] === ',' && $event.key === ',') {
|
|
1724
1678
|
return false;
|
|
1725
1679
|
}
|
|
1726
1680
|
// a decimal value can be entered only once in the input.
|
|
1727
|
-
if (includes(inputValue, this.DECIMAL) && $event.key === this.DECIMAL) {
|
|
1681
|
+
if (_.includes(inputValue, this.DECIMAL) && $event.key === this.DECIMAL) {
|
|
1728
1682
|
return false;
|
|
1729
1683
|
}
|
|
1730
1684
|
// 'e' can be entered only once in the input.
|
|
1731
|
-
if (intersection(toArray(inputValue), ['e', 'E']).length && includes('eE', $event.key)) {
|
|
1685
|
+
if (_.intersection(_.toArray(inputValue), ['e', 'E']).length && _.includes('eE', $event.key)) {
|
|
1732
1686
|
return false;
|
|
1733
1687
|
}
|
|
1734
|
-
if ((includes(inputValue, '+') || includes(inputValue, '-')) && ($event.key === '+' || $event.key === '-')) {
|
|
1688
|
+
if ((_.includes(inputValue, '+') || _.includes(inputValue, '-')) && ($event.key === '+' || $event.key === '-')) {
|
|
1735
1689
|
return false;
|
|
1736
1690
|
}
|
|
1737
1691
|
// Do not allow user to enter only space without any input value
|
|
@@ -1766,13 +1720,7 @@ let NumberLocale = class NumberLocale extends BaseInput {
|
|
|
1766
1720
|
super.onPropertyChange(key, nv, ov);
|
|
1767
1721
|
}
|
|
1768
1722
|
}
|
|
1769
|
-
}
|
|
1770
|
-
NumberLocale = __decorate([
|
|
1771
|
-
__param(4, Inject('EXPLICIT_CONTEXT')),
|
|
1772
|
-
__param(4, Optional()),
|
|
1773
|
-
__metadata("design:paramtypes", [Injector, Object, AbstractI18nService,
|
|
1774
|
-
TrailingZeroDecimalPipe, Object])
|
|
1775
|
-
], NumberLocale);
|
|
1723
|
+
}
|
|
1776
1724
|
|
|
1777
1725
|
const _c0$9 = ["input"];
|
|
1778
1726
|
const _c1$8 = ["wmNumber", ""];
|
|
@@ -1782,10 +1730,10 @@ const WIDGET_CONFIG$9 = {
|
|
|
1782
1730
|
};
|
|
1783
1731
|
class NumberComponent extends NumberLocale {
|
|
1784
1732
|
static { this.initializeProps = registerProps$9(); }
|
|
1785
|
-
constructor(inj, i18nService, trailingZeroDecimalPipe
|
|
1786
|
-
super(inj, WIDGET_CONFIG$9, i18nService, trailingZeroDecimalPipe
|
|
1733
|
+
constructor(inj, i18nService, trailingZeroDecimalPipe) {
|
|
1734
|
+
super(inj, WIDGET_CONFIG$9, i18nService, trailingZeroDecimalPipe);
|
|
1787
1735
|
}
|
|
1788
|
-
static { this.ɵfac = function NumberComponent_Factory(t) { return new (t || NumberComponent)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(i1$1.AbstractI18nService), i0.ɵɵdirectiveInject(i2.TrailingZeroDecimalPipe)
|
|
1736
|
+
static { this.ɵfac = function NumberComponent_Factory(t) { return new (t || NumberComponent)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(i1$1.AbstractI18nService), i0.ɵɵdirectiveInject(i2.TrailingZeroDecimalPipe)); }; }
|
|
1789
1737
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: NumberComponent, selectors: [["", "wmNumber", ""]], viewQuery: function NumberComponent_Query(rf, ctx) { if (rf & 1) {
|
|
1790
1738
|
i0.ɵɵviewQuery(_c0$9, 7);
|
|
1791
1739
|
i0.ɵɵviewQuery(NgModel, 7);
|
|
@@ -1797,36 +1745,29 @@ class NumberComponent extends NumberLocale {
|
|
|
1797
1745
|
provideAs(NumberComponent, NG_VALUE_ACCESSOR, true),
|
|
1798
1746
|
provideAs(NumberComponent, NG_VALIDATORS, true),
|
|
1799
1747
|
provideAsWidgetRef(NumberComponent)
|
|
1800
|
-
]), i0.ɵɵInheritDefinitionFeature], attrs: _c1$8, decls: 2, vars: 14, consts: [["
|
|
1801
|
-
|
|
1802
|
-
i0.ɵɵ
|
|
1803
|
-
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")); });
|
|
1748
|
+
]), 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, "ngModel", "readonly", "disabled", "pattern", "autofocus", "ngClass", "ngStyle", "ngModelOptions", "required", "ngModelChange", "blur", "focus", "input", "keypress", "keydown.backspace", "keydown.enter", "keydown.ArrowUp", "keydown.ArrowDown"], ["input", ""]], template: function NumberComponent_Template(rf, ctx) { if (rf & 1) {
|
|
1749
|
+
i0.ɵɵelementStart(0, "input", 0, 1);
|
|
1750
|
+
i0.ɵɵlistener("ngModelChange", function NumberComponent_Template_input_ngModelChange_0_listener($event) { return ctx.onModelChange($event); })("blur", function NumberComponent_Template_input_blur_0_listener($event) { ctx.handleBlur($event); return ctx.checkForTrailingZeros($event); })("focus", function NumberComponent_Template_input_focus_0_listener($event) { return ctx.checkForTrailingZeros($event); })("input", function NumberComponent_Template_input_input_0_listener($event) { return ctx.onInputChange($event.target.value); })("keypress", function NumberComponent_Template_input_keypress_0_listener($event) { return ctx.validateInputEntry($event); })("keydown.backspace", function NumberComponent_Template_input_keydown_backspace_0_listener($event) { return ctx.onBackspace($event); })("keydown.enter", function NumberComponent_Template_input_keydown_enter_0_listener($event) { return ctx.onEnter($event); })("keydown.ArrowUp", function NumberComponent_Template_input_keydown_ArrowUp_0_listener($event) { return ctx.onArrowPress($event, "UP"); })("keydown.ArrowDown", function NumberComponent_Template_input_keydown_ArrowDown_0_listener($event) { return ctx.onArrowPress($event, "DOWN"); });
|
|
1804
1751
|
i0.ɵɵelementEnd();
|
|
1805
1752
|
} if (rf & 2) {
|
|
1806
1753
|
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);
|
|
1807
1754
|
i0.ɵɵattribute("name", ctx.name)("tabindex", ctx.tabindex)("placeholder", ctx.placeholder)("accesskey", ctx.shortcutkey)("aria-label", ctx.hint);
|
|
1808
1755
|
} }, dependencies: [i1.NgClass, i1.NgStyle, i2$1.DefaultValueAccessor, i2$1.NgControlStatus, i2$1.RequiredValidator, i2$1.PatternValidator, i2$1.NgModel], encapsulation: 2 }); }
|
|
1809
1756
|
}
|
|
1810
|
-
(()
|
|
1757
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(NumberComponent, [{
|
|
1811
1758
|
type: Component,
|
|
1812
1759
|
args: [{ selector: '[wmNumber]', providers: [
|
|
1813
1760
|
provideAs(NumberComponent, NG_VALUE_ACCESSOR, true),
|
|
1814
1761
|
provideAs(NumberComponent, NG_VALIDATORS, true),
|
|
1815
1762
|
provideAsWidgetRef(NumberComponent)
|
|
1816
1763
|
], 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" }]
|
|
1817
|
-
}], ()
|
|
1818
|
-
type: Inject,
|
|
1819
|
-
args: ['EXPLICIT_CONTEXT']
|
|
1820
|
-
}, {
|
|
1821
|
-
type: Optional
|
|
1822
|
-
}] }], { inputEl: [{
|
|
1764
|
+
}], function () { return [{ type: i0.Injector }, { type: i1$1.AbstractI18nService }, { type: i2.TrailingZeroDecimalPipe }]; }, { inputEl: [{
|
|
1823
1765
|
type: ViewChild,
|
|
1824
1766
|
args: ['input', { static: true }]
|
|
1825
1767
|
}], ngModel: [{
|
|
1826
1768
|
type: ViewChild,
|
|
1827
1769
|
args: [NgModel, { static: true }]
|
|
1828
1770
|
}] }); })();
|
|
1829
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(NumberComponent, { className: "NumberComponent", filePath: "number/number.component.ts", lineNumber: 24 }); })();
|
|
1830
1771
|
|
|
1831
1772
|
const radiosetProps = new Map([
|
|
1832
1773
|
['class', PROP_STRING],
|
|
@@ -1862,61 +1803,60 @@ const registerProps$8 = () => {
|
|
|
1862
1803
|
};
|
|
1863
1804
|
|
|
1864
1805
|
const _c0$8 = ["wmRadioset", ""];
|
|
1865
|
-
const _c1$7 = (a0
|
|
1866
|
-
const _c2$5 = a0 => ({ "disabled": a0 });
|
|
1867
|
-
const _c3 = a0 => ({ "collapsible-content": a0 });
|
|
1868
|
-
const _c4 = (a0, a1) => ["radio", "app-radio", "group-list-item", a0, a1];
|
|
1806
|
+
const _c1$7 = function (a0) { return { "disabled": a0 }; };
|
|
1869
1807
|
function RadiosetComponent_ng_template_0_li_0_label_1_Template(rf, ctx) { if (rf & 1) {
|
|
1870
1808
|
i0.ɵɵelementStart(0, "label", 7);
|
|
1871
1809
|
i0.ɵɵelement(1, "input", 8)(2, "span", 9);
|
|
1872
1810
|
i0.ɵɵelementEnd();
|
|
1873
1811
|
} if (rf & 2) {
|
|
1874
|
-
const
|
|
1875
|
-
const
|
|
1876
|
-
const
|
|
1877
|
-
const
|
|
1878
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10,
|
|
1879
|
-
i0.ɵɵadvance();
|
|
1880
|
-
i0.ɵɵproperty("name", "radioset_" +
|
|
1881
|
-
i0.ɵɵattribute("aria-checked",
|
|
1882
|
-
i0.ɵɵadvance();
|
|
1883
|
-
i0.ɵɵproperty("textContent",
|
|
1812
|
+
const ctx_r9 = i0.ɵɵnextContext();
|
|
1813
|
+
const item_r5 = ctx_r9.$implicit;
|
|
1814
|
+
const i_r6 = ctx_r9.index;
|
|
1815
|
+
const ctx_r7 = i0.ɵɵnextContext(2);
|
|
1816
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c1$7, ctx_r7.disabled || ctx_r7.readonly));
|
|
1817
|
+
i0.ɵɵadvance(1);
|
|
1818
|
+
i0.ɵɵproperty("name", "radioset_" + ctx_r7.widgetId)("value", item_r5.key)("disabled", ctx_r7.disabled || ctx_r7.readonly)("tabindex", ctx_r7.tabindex)("checked", item_r5.selected);
|
|
1819
|
+
i0.ɵɵattribute("aria-checked", item_r5.selected)("data-attr-index", i_r6)("aria-label", item_r5.key);
|
|
1820
|
+
i0.ɵɵadvance(1);
|
|
1821
|
+
i0.ɵɵproperty("textContent", item_r5.label);
|
|
1884
1822
|
} }
|
|
1885
1823
|
function RadiosetComponent_ng_template_0_li_0_label_2_Template(rf, ctx) { if (rf & 1) {
|
|
1886
1824
|
i0.ɵɵelementStart(0, "label", 7);
|
|
1887
1825
|
i0.ɵɵelement(1, "input", 8)(2, "span", 10);
|
|
1888
1826
|
i0.ɵɵelementEnd();
|
|
1889
1827
|
} if (rf & 2) {
|
|
1890
|
-
const
|
|
1891
|
-
const
|
|
1892
|
-
const
|
|
1893
|
-
const
|
|
1894
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9,
|
|
1895
|
-
i0.ɵɵadvance();
|
|
1896
|
-
i0.ɵɵproperty("name", "radioset_" +
|
|
1897
|
-
i0.ɵɵattribute("aria-checked",
|
|
1828
|
+
const ctx_r10 = i0.ɵɵnextContext();
|
|
1829
|
+
const item_r5 = ctx_r10.$implicit;
|
|
1830
|
+
const i_r6 = ctx_r10.index;
|
|
1831
|
+
const ctx_r8 = i0.ɵɵnextContext(2);
|
|
1832
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c1$7, ctx_r8.disabled || ctx_r8.readonly));
|
|
1833
|
+
i0.ɵɵadvance(1);
|
|
1834
|
+
i0.ɵɵproperty("name", "radioset_" + ctx_r8.widgetId)("value", item_r5.key)("disabled", ctx_r8.disabled || ctx_r8.readonly)("tabindex", ctx_r8.tabindex)("checked", item_r5.selected);
|
|
1835
|
+
i0.ɵɵattribute("aria-checked", item_r5.selected)("data-attr-index", i_r6)("aria-label", item_r5.key);
|
|
1898
1836
|
} }
|
|
1837
|
+
const _c2$2 = function (a2, a3) { return ["radio", "app-radio", a2, a3]; };
|
|
1899
1838
|
function RadiosetComponent_ng_template_0_li_0_Template(rf, ctx) { if (rf & 1) {
|
|
1900
|
-
const
|
|
1839
|
+
const _r12 = i0.ɵɵgetCurrentView();
|
|
1901
1840
|
i0.ɵɵelementStart(0, "li", 5);
|
|
1902
|
-
i0.ɵɵlistener("click", function RadiosetComponent_ng_template_0_li_0_Template_li_click_0_listener($event) { const
|
|
1903
|
-
i0.ɵɵtemplate(1, RadiosetComponent_ng_template_0_li_0_label_1_Template, 3, 12, "label", 6)
|
|
1841
|
+
i0.ɵɵlistener("click", function RadiosetComponent_ng_template_0_li_0_Template_li_click_0_listener($event) { const restoredCtx = i0.ɵɵrestoreView(_r12); const item_r5 = restoredCtx.$implicit; const ctx_r11 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r11.onRadioLabelClick($event, item_r5.key)); });
|
|
1842
|
+
i0.ɵɵtemplate(1, RadiosetComponent_ng_template_0_li_0_label_1_Template, 3, 12, "label", 6);
|
|
1843
|
+
i0.ɵɵtemplate(2, RadiosetComponent_ng_template_0_li_0_label_2_Template, 3, 11, "label", 6);
|
|
1904
1844
|
i0.ɵɵelementEnd();
|
|
1905
1845
|
} if (rf & 2) {
|
|
1906
|
-
const
|
|
1907
|
-
const
|
|
1908
|
-
i0.ɵɵclassProp("active",
|
|
1909
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(7,
|
|
1910
|
-
i0.ɵɵadvance();
|
|
1911
|
-
i0.ɵɵproperty("ngIf", !
|
|
1912
|
-
i0.ɵɵadvance();
|
|
1913
|
-
i0.ɵɵproperty("ngIf",
|
|
1846
|
+
const item_r5 = ctx.$implicit;
|
|
1847
|
+
const ctx_r4 = i0.ɵɵnextContext(2);
|
|
1848
|
+
i0.ɵɵclassProp("active", item_r5.selected);
|
|
1849
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(7, _c2$2, ctx_r4.itemclass, ctx_r4.itemsPerRowClass))("wmItemTemplate", ctx_r4.content)("userComponentParams", item_r5);
|
|
1850
|
+
i0.ɵɵadvance(1);
|
|
1851
|
+
i0.ɵɵproperty("ngIf", !ctx_r4.content);
|
|
1852
|
+
i0.ɵɵadvance(1);
|
|
1853
|
+
i0.ɵɵproperty("ngIf", ctx_r4.content);
|
|
1914
1854
|
} }
|
|
1915
1855
|
function RadiosetComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {
|
|
1916
1856
|
i0.ɵɵtemplate(0, RadiosetComponent_ng_template_0_li_0_Template, 3, 10, "li", 4);
|
|
1917
1857
|
} if (rf & 2) {
|
|
1918
|
-
const
|
|
1919
|
-
i0.ɵɵproperty("ngForOf",
|
|
1858
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
1859
|
+
i0.ɵɵproperty("ngForOf", ctx_r0.datasetItems);
|
|
1920
1860
|
} }
|
|
1921
1861
|
function RadiosetComponent_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
1922
1862
|
i0.ɵɵelement(0, "div", 11);
|
|
@@ -1924,98 +1864,102 @@ function RadiosetComponent_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
|
1924
1864
|
function RadiosetComponent_ng_template_3_li_0_i_6_Template(rf, ctx) { if (rf & 1) {
|
|
1925
1865
|
i0.ɵɵelement(0, "i", 21);
|
|
1926
1866
|
} if (rf & 2) {
|
|
1927
|
-
const
|
|
1928
|
-
i0.ɵɵpropertyInterpolate2("title", "",
|
|
1867
|
+
const ctx_r15 = i0.ɵɵnextContext(3);
|
|
1868
|
+
i0.ɵɵpropertyInterpolate2("title", "", ctx_r15.appLocale.LABEL_COLLAPSE, "/", ctx_r15.appLocale.LABEL_EXPAND, "");
|
|
1929
1869
|
} }
|
|
1930
1870
|
function RadiosetComponent_ng_template_3_li_0_span_7_Template(rf, ctx) { if (rf & 1) {
|
|
1931
1871
|
i0.ɵɵelement(0, "span", 22);
|
|
1932
1872
|
} if (rf & 2) {
|
|
1933
|
-
const
|
|
1934
|
-
i0.ɵɵproperty("textContent",
|
|
1873
|
+
const groupObj_r14 = i0.ɵɵnextContext().$implicit;
|
|
1874
|
+
i0.ɵɵproperty("textContent", groupObj_r14.data.length);
|
|
1935
1875
|
} }
|
|
1936
1876
|
function RadiosetComponent_ng_template_3_li_0_li_8_label_1_Template(rf, ctx) { if (rf & 1) {
|
|
1937
1877
|
i0.ɵɵelementStart(0, "label", 7);
|
|
1938
1878
|
i0.ɵɵelement(1, "input", 8)(2, "span", 9);
|
|
1939
1879
|
i0.ɵɵelementEnd();
|
|
1940
1880
|
} if (rf & 2) {
|
|
1941
|
-
const
|
|
1942
|
-
const
|
|
1943
|
-
const
|
|
1944
|
-
const
|
|
1945
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9,
|
|
1946
|
-
i0.ɵɵadvance();
|
|
1947
|
-
i0.ɵɵproperty("name", "radioset_" +
|
|
1948
|
-
i0.ɵɵattribute("aria-checked",
|
|
1949
|
-
i0.ɵɵadvance();
|
|
1950
|
-
i0.ɵɵproperty("textContent",
|
|
1881
|
+
const ctx_r23 = i0.ɵɵnextContext();
|
|
1882
|
+
const item_r19 = ctx_r23.$implicit;
|
|
1883
|
+
const i_r20 = ctx_r23.index;
|
|
1884
|
+
const ctx_r21 = i0.ɵɵnextContext(3);
|
|
1885
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c1$7, ctx_r21.disabled || ctx_r21.readonly));
|
|
1886
|
+
i0.ɵɵadvance(1);
|
|
1887
|
+
i0.ɵɵproperty("name", "radioset_" + ctx_r21.widgetId)("value", item_r19.key)("disabled", ctx_r21.disabled || ctx_r21.readonly)("tabindex", ctx_r21.tabindex)("checked", item_r19.selected);
|
|
1888
|
+
i0.ɵɵattribute("aria-checked", item_r19.selected)("data-attr-index", i_r20);
|
|
1889
|
+
i0.ɵɵadvance(1);
|
|
1890
|
+
i0.ɵɵproperty("textContent", item_r19.label);
|
|
1951
1891
|
} }
|
|
1952
1892
|
function RadiosetComponent_ng_template_3_li_0_li_8_label_2_Template(rf, ctx) { if (rf & 1) {
|
|
1953
1893
|
i0.ɵɵelementStart(0, "label", 7);
|
|
1954
1894
|
i0.ɵɵelement(1, "input", 8)(2, "span", 10);
|
|
1955
1895
|
i0.ɵɵelementEnd();
|
|
1956
1896
|
} if (rf & 2) {
|
|
1957
|
-
const
|
|
1958
|
-
const
|
|
1959
|
-
const
|
|
1960
|
-
const
|
|
1961
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8,
|
|
1962
|
-
i0.ɵɵadvance();
|
|
1963
|
-
i0.ɵɵproperty("name", "radioset_" +
|
|
1964
|
-
i0.ɵɵattribute("aria-checked",
|
|
1897
|
+
const ctx_r24 = i0.ɵɵnextContext();
|
|
1898
|
+
const item_r19 = ctx_r24.$implicit;
|
|
1899
|
+
const i_r20 = ctx_r24.index;
|
|
1900
|
+
const ctx_r22 = i0.ɵɵnextContext(3);
|
|
1901
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c1$7, ctx_r22.disabled || ctx_r22.readonly));
|
|
1902
|
+
i0.ɵɵadvance(1);
|
|
1903
|
+
i0.ɵɵproperty("name", "radioset_" + ctx_r22.widgetId)("value", item_r19.key)("disabled", ctx_r22.disabled || ctx_r22.readonly)("tabindex", ctx_r22.tabindex)("checked", item_r19.selected);
|
|
1904
|
+
i0.ɵɵattribute("aria-checked", item_r19.selected)("data-attr-index", i_r20);
|
|
1965
1905
|
} }
|
|
1906
|
+
const _c3 = function (a3, a4) { return ["radio", "app-radio", "group-list-item", a3, a4]; };
|
|
1966
1907
|
function RadiosetComponent_ng_template_3_li_0_li_8_Template(rf, ctx) { if (rf & 1) {
|
|
1967
|
-
const
|
|
1908
|
+
const _r26 = i0.ɵɵgetCurrentView();
|
|
1968
1909
|
i0.ɵɵelementStart(0, "li", 23);
|
|
1969
|
-
i0.ɵɵlistener("click", function RadiosetComponent_ng_template_3_li_0_li_8_Template_li_click_0_listener($event) { const
|
|
1970
|
-
i0.ɵɵtemplate(1, RadiosetComponent_ng_template_3_li_0_li_8_label_1_Template, 3, 11, "label", 6)
|
|
1910
|
+
i0.ɵɵlistener("click", function RadiosetComponent_ng_template_3_li_0_li_8_Template_li_click_0_listener($event) { const restoredCtx = i0.ɵɵrestoreView(_r26); const item_r19 = restoredCtx.$implicit; const ctx_r25 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r25.onRadioLabelClick($event, item_r19)); });
|
|
1911
|
+
i0.ɵɵtemplate(1, RadiosetComponent_ng_template_3_li_0_li_8_label_1_Template, 3, 11, "label", 6);
|
|
1912
|
+
i0.ɵɵtemplate(2, RadiosetComponent_ng_template_3_li_0_li_8_label_2_Template, 3, 10, "label", 6);
|
|
1971
1913
|
i0.ɵɵelementEnd();
|
|
1972
1914
|
} if (rf & 2) {
|
|
1973
|
-
const
|
|
1974
|
-
const
|
|
1975
|
-
i0.ɵɵclassProp("active",
|
|
1976
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(7,
|
|
1977
|
-
i0.ɵɵadvance();
|
|
1978
|
-
i0.ɵɵproperty("ngIf", !
|
|
1979
|
-
i0.ɵɵadvance();
|
|
1980
|
-
i0.ɵɵproperty("ngIf",
|
|
1915
|
+
const item_r19 = ctx.$implicit;
|
|
1916
|
+
const ctx_r17 = i0.ɵɵnextContext(3);
|
|
1917
|
+
i0.ɵɵclassProp("active", item_r19.selected);
|
|
1918
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(7, _c3, ctx_r17.itemclass, ctx_r17.itemsPerRowClass))("wmItemTemplate", ctx_r17.content)("userComponentParams", item_r19);
|
|
1919
|
+
i0.ɵɵadvance(1);
|
|
1920
|
+
i0.ɵɵproperty("ngIf", !ctx_r17.content);
|
|
1921
|
+
i0.ɵɵadvance(1);
|
|
1922
|
+
i0.ɵɵproperty("ngIf", ctx_r17.content);
|
|
1981
1923
|
} }
|
|
1924
|
+
const _c4 = function (a0) { return { "collapsible-content": a0 }; };
|
|
1982
1925
|
function RadiosetComponent_ng_template_3_li_0_Template(rf, ctx) { if (rf & 1) {
|
|
1983
|
-
const
|
|
1926
|
+
const _r28 = i0.ɵɵgetCurrentView();
|
|
1984
1927
|
i0.ɵɵelementStart(0, "li", 13)(1, "ul", 14)(2, "li", 15);
|
|
1985
|
-
i0.ɵɵlistener("click", function RadiosetComponent_ng_template_3_li_0_Template_li_click_2_listener($event) { i0.ɵɵrestoreView(
|
|
1928
|
+
i0.ɵɵlistener("click", function RadiosetComponent_ng_template_3_li_0_Template_li_click_2_listener($event) { i0.ɵɵrestoreView(_r28); const ctx_r27 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r27.handleHeaderClick($event)); });
|
|
1986
1929
|
i0.ɵɵelementStart(3, "h4", 16);
|
|
1987
1930
|
i0.ɵɵtext(4);
|
|
1988
1931
|
i0.ɵɵelementStart(5, "div", 17);
|
|
1989
|
-
i0.ɵɵtemplate(6, RadiosetComponent_ng_template_3_li_0_i_6_Template, 1,
|
|
1932
|
+
i0.ɵɵtemplate(6, RadiosetComponent_ng_template_3_li_0_i_6_Template, 1, 2, "i", 18);
|
|
1933
|
+
i0.ɵɵtemplate(7, RadiosetComponent_ng_template_3_li_0_span_7_Template, 1, 1, "span", 19);
|
|
1990
1934
|
i0.ɵɵelementEnd()()();
|
|
1991
1935
|
i0.ɵɵtemplate(8, RadiosetComponent_ng_template_3_li_0_li_8_Template, 3, 10, "li", 20);
|
|
1992
1936
|
i0.ɵɵelementEnd()();
|
|
1993
1937
|
} if (rf & 2) {
|
|
1994
|
-
const
|
|
1995
|
-
const
|
|
1938
|
+
const groupObj_r14 = ctx.$implicit;
|
|
1939
|
+
const ctx_r13 = i0.ɵɵnextContext(2);
|
|
1996
1940
|
i0.ɵɵadvance(2);
|
|
1997
|
-
i0.ɵɵproperty("title",
|
|
1941
|
+
i0.ɵɵproperty("title", groupObj_r14.key)("ngClass", i0.ɵɵpureFunction1(6, _c4, ctx_r13.collapsible));
|
|
1998
1942
|
i0.ɵɵadvance(2);
|
|
1999
|
-
i0.ɵɵtextInterpolate1("",
|
|
1943
|
+
i0.ɵɵtextInterpolate1("", groupObj_r14.key, " ");
|
|
2000
1944
|
i0.ɵɵadvance(2);
|
|
2001
|
-
i0.ɵɵproperty("ngIf",
|
|
2002
|
-
i0.ɵɵadvance();
|
|
2003
|
-
i0.ɵɵproperty("ngIf",
|
|
2004
|
-
i0.ɵɵadvance();
|
|
2005
|
-
i0.ɵɵproperty("ngForOf",
|
|
1945
|
+
i0.ɵɵproperty("ngIf", ctx_r13.collapsible);
|
|
1946
|
+
i0.ɵɵadvance(1);
|
|
1947
|
+
i0.ɵɵproperty("ngIf", ctx_r13.showcount);
|
|
1948
|
+
i0.ɵɵadvance(1);
|
|
1949
|
+
i0.ɵɵproperty("ngForOf", groupObj_r14.data);
|
|
2006
1950
|
} }
|
|
2007
1951
|
function RadiosetComponent_ng_template_3_Template(rf, ctx) { if (rf & 1) {
|
|
2008
1952
|
i0.ɵɵtemplate(0, RadiosetComponent_ng_template_3_li_0_Template, 9, 8, "li", 12);
|
|
2009
1953
|
} if (rf & 2) {
|
|
2010
|
-
const
|
|
2011
|
-
i0.ɵɵproperty("ngForOf",
|
|
1954
|
+
const ctx_r3 = i0.ɵɵnextContext();
|
|
1955
|
+
i0.ɵɵproperty("ngForOf", ctx_r3.groupedData);
|
|
2012
1956
|
} }
|
|
2013
1957
|
const DEFAULT_CLS$1 = 'app-radioset list-group inline';
|
|
2014
1958
|
const WIDGET_CONFIG$8 = { widgetType: 'wm-radioset', hostClass: DEFAULT_CLS$1 };
|
|
2015
1959
|
class RadiosetComponent extends DatasetAwareFormComponent {
|
|
2016
1960
|
static { this.initializeProps = registerProps$8(); }
|
|
2017
|
-
constructor(inj
|
|
2018
|
-
super(inj, WIDGET_CONFIG$8
|
|
1961
|
+
constructor(inj) {
|
|
1962
|
+
super(inj, WIDGET_CONFIG$8);
|
|
2019
1963
|
this.layout = '';
|
|
2020
1964
|
styler(this.nativeElement, this);
|
|
2021
1965
|
this.multiple = false;
|
|
@@ -2043,7 +1987,7 @@ class RadiosetComponent extends DatasetAwareFormComponent {
|
|
|
2043
1987
|
return callback();
|
|
2044
1988
|
});
|
|
2045
1989
|
}
|
|
2046
|
-
else if (!includes(['change'], eventName)) {
|
|
1990
|
+
else if (!_.includes(['change'], eventName)) {
|
|
2047
1991
|
super.handleEvent(node, eventName, callback, locals);
|
|
2048
1992
|
}
|
|
2049
1993
|
}
|
|
@@ -2058,38 +2002,33 @@ class RadiosetComponent extends DatasetAwareFormComponent {
|
|
|
2058
2002
|
super.onPropertyChange(key, nv, ov);
|
|
2059
2003
|
}
|
|
2060
2004
|
}
|
|
2061
|
-
static { this.ɵfac = function RadiosetComponent_Factory(t) { return new (t || RadiosetComponent)(i0.ɵɵdirectiveInject(i0.Injector)
|
|
2005
|
+
static { this.ɵfac = function RadiosetComponent_Factory(t) { return new (t || RadiosetComponent)(i0.ɵɵdirectiveInject(i0.Injector)); }; }
|
|
2062
2006
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: RadiosetComponent, selectors: [["", "wmRadioset", ""]], exportAs: ["wmRadioset"], features: [i0.ɵɵProvidersFeature([
|
|
2063
2007
|
provideAs(RadiosetComponent, NG_VALUE_ACCESSOR, true),
|
|
2064
2008
|
provideAs(RadiosetComponent, NG_VALIDATORS, true),
|
|
2065
2009
|
provideAsWidgetRef(RadiosetComponent)
|
|
2066
|
-
]), i0.ɵɵInheritDefinitionFeature], attrs: _c0$8, decls: 5, vars: 4, consts: [[
|
|
2067
|
-
i0.ɵɵtemplate(0, RadiosetComponent_ng_template_0_Template, 1, 1, "ng-template",
|
|
2068
|
-
i0.ɵɵelement(1, "input",
|
|
2069
|
-
i0.ɵɵtemplate(2, RadiosetComponent_div_2_Template, 1, 0, "div",
|
|
2010
|
+
]), 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"], ["groupedListTemplate", ""], ["partialContainer", "", "role", "presentation", 3, "ngClass", "active", "wmItemTemplate", "userComponentParams", "click", 4, "ngFor", "ngForOf"], ["partialContainer", "", "role", "presentation", 3, "ngClass", "wmItemTemplate", "userComponentParams", "click"], ["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, "title", "ngClass", "click"], [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, "ngClass", "wmItemTemplate", "userComponentParams", "click"]], template: function RadiosetComponent_Template(rf, ctx) { if (rf & 1) {
|
|
2011
|
+
i0.ɵɵtemplate(0, RadiosetComponent_ng_template_0_Template, 1, 1, "ng-template", 0);
|
|
2012
|
+
i0.ɵɵelement(1, "input", 1);
|
|
2013
|
+
i0.ɵɵtemplate(2, RadiosetComponent_div_2_Template, 1, 0, "div", 2);
|
|
2014
|
+
i0.ɵɵtemplate(3, RadiosetComponent_ng_template_3_Template, 1, 1, "ng-template", null, 3, i0.ɵɵtemplateRefExtractor);
|
|
2070
2015
|
} if (rf & 2) {
|
|
2071
|
-
const
|
|
2072
|
-
i0.ɵɵproperty("ngIf", !ctx.groupby)("ngIfElse",
|
|
2073
|
-
i0.ɵɵadvance();
|
|
2016
|
+
const _r2 = i0.ɵɵreference(4);
|
|
2017
|
+
i0.ɵɵproperty("ngIf", !ctx.groupby)("ngIfElse", _r2);
|
|
2018
|
+
i0.ɵɵadvance(1);
|
|
2074
2019
|
i0.ɵɵproperty("disabled", ctx.disabled || ctx.readonly);
|
|
2075
|
-
i0.ɵɵadvance();
|
|
2020
|
+
i0.ɵɵadvance(1);
|
|
2076
2021
|
i0.ɵɵproperty("ngIf", ctx.readonly || ctx.disabled);
|
|
2077
2022
|
} }, dependencies: [i1.NgClass, i1.NgForOf, i1.NgIf, i2.ItemTemplateDirective, i2.PartialParamHandlerDirective, i2.PartialContainerDirective, i2.TextContentDirective], encapsulation: 2 }); }
|
|
2078
2023
|
}
|
|
2079
|
-
(()
|
|
2024
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(RadiosetComponent, [{
|
|
2080
2025
|
type: Component,
|
|
2081
2026
|
args: [{ selector: '[wmRadioset]', exportAs: 'wmRadioset', providers: [
|
|
2082
2027
|
provideAs(RadiosetComponent, NG_VALUE_ACCESSOR, true),
|
|
2083
2028
|
provideAs(RadiosetComponent, NG_VALIDATORS, true),
|
|
2084
2029
|
provideAsWidgetRef(RadiosetComponent)
|
|
2085
2030
|
], 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" }]
|
|
2086
|
-
}], ()
|
|
2087
|
-
type: Inject,
|
|
2088
|
-
args: ['EXPLICIT_CONTEXT']
|
|
2089
|
-
}, {
|
|
2090
|
-
type: Optional
|
|
2091
|
-
}] }], null); })();
|
|
2092
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(RadiosetComponent, { className: "RadiosetComponent", filePath: "radioset/radioset.component.ts", lineNumber: 26 }); })();
|
|
2031
|
+
}], function () { return [{ type: i0.Injector }]; }, null); })();
|
|
2093
2032
|
|
|
2094
2033
|
const selectProps = new Map([
|
|
2095
2034
|
['autofocus', PROP_BOOLEAN],
|
|
@@ -2125,48 +2064,53 @@ const registerProps$7 = () => {
|
|
|
2125
2064
|
};
|
|
2126
2065
|
|
|
2127
2066
|
const _c0$7 = ["select"];
|
|
2128
|
-
|
|
2129
|
-
|
|
2067
|
+
function SelectComponent_option_2_Template(rf, ctx) { if (rf & 1) {
|
|
2068
|
+
i0.ɵɵelement(0, "option", 4);
|
|
2069
|
+
} if (rf & 2) {
|
|
2070
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
2071
|
+
i0.ɵɵproperty("textContent", ctx_r1.placeholder)("hidden", !ctx_r1.placeholder);
|
|
2072
|
+
} }
|
|
2130
2073
|
function SelectComponent_ng_container_3_optgroup_1_option_1_Template(rf, ctx) { if (rf & 1) {
|
|
2131
|
-
i0.ɵɵelement(0, "option",
|
|
2074
|
+
i0.ɵɵelement(0, "option", 8);
|
|
2132
2075
|
} if (rf & 2) {
|
|
2133
|
-
const
|
|
2134
|
-
i0.ɵɵproperty("value",
|
|
2076
|
+
const item_r7 = ctx.$implicit;
|
|
2077
|
+
i0.ɵɵproperty("value", item_r7.key)("selected", item_r7.selected)("textContent", item_r7.label);
|
|
2135
2078
|
} }
|
|
2136
2079
|
function SelectComponent_ng_container_3_optgroup_1_Template(rf, ctx) { if (rf & 1) {
|
|
2137
|
-
i0.ɵɵelementStart(0, "optgroup",
|
|
2138
|
-
i0.ɵɵtemplate(1, SelectComponent_ng_container_3_optgroup_1_option_1_Template, 1, 3, "option",
|
|
2080
|
+
i0.ɵɵelementStart(0, "optgroup", 6);
|
|
2081
|
+
i0.ɵɵtemplate(1, SelectComponent_ng_container_3_optgroup_1_option_1_Template, 1, 3, "option", 7);
|
|
2139
2082
|
i0.ɵɵelementEnd();
|
|
2140
2083
|
} if (rf & 2) {
|
|
2141
|
-
const
|
|
2142
|
-
i0.ɵɵproperty("label",
|
|
2143
|
-
i0.ɵɵadvance();
|
|
2144
|
-
i0.ɵɵproperty("ngForOf",
|
|
2084
|
+
const groupObj_r5 = ctx.$implicit;
|
|
2085
|
+
i0.ɵɵproperty("label", groupObj_r5.key);
|
|
2086
|
+
i0.ɵɵadvance(1);
|
|
2087
|
+
i0.ɵɵproperty("ngForOf", groupObj_r5.data);
|
|
2145
2088
|
} }
|
|
2146
2089
|
function SelectComponent_ng_container_3_Template(rf, ctx) { if (rf & 1) {
|
|
2147
2090
|
i0.ɵɵelementContainerStart(0);
|
|
2148
|
-
i0.ɵɵtemplate(1, SelectComponent_ng_container_3_optgroup_1_Template, 2, 2, "optgroup",
|
|
2091
|
+
i0.ɵɵtemplate(1, SelectComponent_ng_container_3_optgroup_1_Template, 2, 2, "optgroup", 5);
|
|
2149
2092
|
i0.ɵɵelementContainerEnd();
|
|
2150
2093
|
} if (rf & 2) {
|
|
2151
|
-
const
|
|
2152
|
-
i0.ɵɵadvance();
|
|
2153
|
-
i0.ɵɵproperty("ngForOf",
|
|
2094
|
+
const ctx_r2 = i0.ɵɵnextContext();
|
|
2095
|
+
i0.ɵɵadvance(1);
|
|
2096
|
+
i0.ɵɵproperty("ngForOf", ctx_r2.groupedData);
|
|
2154
2097
|
} }
|
|
2155
2098
|
function SelectComponent_ng_container_4_option_1_Template(rf, ctx) { if (rf & 1) {
|
|
2156
|
-
i0.ɵɵelement(0, "option",
|
|
2099
|
+
i0.ɵɵelement(0, "option", 8);
|
|
2157
2100
|
} if (rf & 2) {
|
|
2158
|
-
const
|
|
2159
|
-
i0.ɵɵproperty("value",
|
|
2101
|
+
const item_r9 = ctx.$implicit;
|
|
2102
|
+
i0.ɵɵproperty("value", item_r9.key)("selected", item_r9.selected)("textContent", item_r9.label);
|
|
2160
2103
|
} }
|
|
2161
2104
|
function SelectComponent_ng_container_4_Template(rf, ctx) { if (rf & 1) {
|
|
2162
2105
|
i0.ɵɵelementContainerStart(0);
|
|
2163
|
-
i0.ɵɵtemplate(1, SelectComponent_ng_container_4_option_1_Template, 1, 3, "option",
|
|
2106
|
+
i0.ɵɵtemplate(1, SelectComponent_ng_container_4_option_1_Template, 1, 3, "option", 7);
|
|
2164
2107
|
i0.ɵɵelementContainerEnd();
|
|
2165
2108
|
} if (rf & 2) {
|
|
2166
2109
|
const ctx_r3 = i0.ɵɵnextContext();
|
|
2167
|
-
i0.ɵɵadvance();
|
|
2110
|
+
i0.ɵɵadvance(1);
|
|
2168
2111
|
i0.ɵɵproperty("ngForOf", ctx_r3.datasetItems);
|
|
2169
2112
|
} }
|
|
2113
|
+
const _c1$6 = function (a1) { return ["app-select form-control", a1]; };
|
|
2170
2114
|
const WIDGET_CONFIG$7 = { widgetType: 'wm-select', hostClass: 'app-select-wrapper' };
|
|
2171
2115
|
class SelectComponent extends DatasetAwareFormComponent {
|
|
2172
2116
|
static { this.initializeProps = registerProps$7(); }
|
|
@@ -2175,18 +2119,21 @@ class SelectComponent extends DatasetAwareFormComponent {
|
|
|
2175
2119
|
this.datavalue = ds.execute(DataSource.Operation.GET_DEFAULT_LOCALE);
|
|
2176
2120
|
}
|
|
2177
2121
|
}
|
|
2178
|
-
constructor(inj, app
|
|
2179
|
-
super(inj, WIDGET_CONFIG$7
|
|
2122
|
+
constructor(inj, app) {
|
|
2123
|
+
super(inj, WIDGET_CONFIG$7);
|
|
2180
2124
|
this.app = app;
|
|
2181
2125
|
this.acceptsArray = true;
|
|
2182
2126
|
}
|
|
2183
2127
|
ngAfterViewInit() {
|
|
2184
2128
|
super.ngAfterViewInit();
|
|
2185
2129
|
styler(this.selectEl.nativeElement, this);
|
|
2130
|
+
setTimeout(() => {
|
|
2131
|
+
this.checkForFloatingLabel(null);
|
|
2132
|
+
}, 10);
|
|
2186
2133
|
}
|
|
2187
2134
|
// Change event is registered from the template, Prevent the framework from registering one more event
|
|
2188
2135
|
handleEvent(node, eventName, eventCallback, locals) {
|
|
2189
|
-
if (!includes(['blur', 'change'], eventName)) {
|
|
2136
|
+
if (!_.includes(['blur', 'change'], eventName)) {
|
|
2190
2137
|
super.handleEvent(this.selectEl.nativeElement, eventName, eventCallback, locals);
|
|
2191
2138
|
}
|
|
2192
2139
|
}
|
|
@@ -2229,6 +2176,16 @@ class SelectComponent extends DatasetAwareFormComponent {
|
|
|
2229
2176
|
}
|
|
2230
2177
|
super.onPropertyChange(key, nv, ov);
|
|
2231
2178
|
}
|
|
2179
|
+
isSafariBrowser() {
|
|
2180
|
+
var reg = {
|
|
2181
|
+
MAC: /Mac/i,
|
|
2182
|
+
MACINTEL: /MacIntel/i
|
|
2183
|
+
};
|
|
2184
|
+
return reg.MAC.test(window.navigator.platform) || reg.MACINTEL.test(window.navigator.platform);
|
|
2185
|
+
}
|
|
2186
|
+
isIosPlatform() {
|
|
2187
|
+
return isIos() || this.isSafariBrowser();
|
|
2188
|
+
}
|
|
2232
2189
|
/**
|
|
2233
2190
|
* When caption floating is enabled and placeholder is given, do not show placeholder until user focuses on the field
|
|
2234
2191
|
* When focused add the placeholder to the option which is selected
|
|
@@ -2238,35 +2195,25 @@ class SelectComponent extends DatasetAwareFormComponent {
|
|
|
2238
2195
|
checkForFloatingLabel($event) {
|
|
2239
2196
|
const captionEl = $(this.selectEl.nativeElement).closest('.app-composite-widget.caption-floating');
|
|
2240
2197
|
if (captionEl.length > 0) {
|
|
2241
|
-
if ($event.type === 'focus' && (
|
|
2242
|
-
if (
|
|
2243
|
-
this.
|
|
2198
|
+
if ((!$event || $event.type === 'focus') && (($(this.selectEl).find('select option:selected').text() === '' && (this.placeholder || (this.datavalue || this.binddatavalue) || this.isIosPlatform())))) {
|
|
2199
|
+
if (!$event && (this.placeholder || this.datavalue || this.binddatavalue || this.isIosPlatform())) {
|
|
2200
|
+
this.app.notify('captionPositionAnimate', { isSelect: true, nativeEl: captionEl });
|
|
2244
2201
|
}
|
|
2245
|
-
|
|
2202
|
+
if (this.placeholder) {
|
|
2246
2203
|
$(this.selectEl.nativeElement).find('option:first').text(this.placeholder);
|
|
2247
2204
|
}
|
|
2248
2205
|
}
|
|
2249
2206
|
else if (!this.datavalue) {
|
|
2250
|
-
|
|
2251
|
-
|
|
2207
|
+
if (!this.placeholder) {
|
|
2208
|
+
// $(this.selectEl.nativeElement).find('option:first').text('');
|
|
2209
|
+
if (!this.isIosPlatform()) {
|
|
2210
|
+
captionEl.removeClass('float-active');
|
|
2211
|
+
}
|
|
2212
|
+
}
|
|
2252
2213
|
}
|
|
2253
2214
|
}
|
|
2254
|
-
else if (!(this.datavalue || this.placeholder)) {
|
|
2255
|
-
this.removePlaceholderOption();
|
|
2256
|
-
}
|
|
2257
2215
|
}
|
|
2258
|
-
|
|
2259
|
-
* Removing the placeholder option if no placeholder is provided.
|
|
2260
|
-
* In html we are hiding the placeholder option using css but in apple devices and safari option is showing.
|
|
2261
|
-
* */
|
|
2262
|
-
removePlaceholderOption() {
|
|
2263
|
-
const hiddenEle = $(this.selectEl.nativeElement).find('#placeholderOption');
|
|
2264
|
-
if (hiddenEle.length) {
|
|
2265
|
-
hiddenEle.remove();
|
|
2266
|
-
this.selectEl.nativeElement.value = '';
|
|
2267
|
-
}
|
|
2268
|
-
}
|
|
2269
|
-
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)); }; }
|
|
2216
|
+
static { this.ɵfac = function SelectComponent_Factory(t) { return new (t || SelectComponent)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(i1$1.App)); }; }
|
|
2270
2217
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SelectComponent, selectors: [["wm-select"]], viewQuery: function SelectComponent_Query(rf, ctx) { if (rf & 1) {
|
|
2271
2218
|
i0.ɵɵviewQuery(_c0$7, 7, ElementRef);
|
|
2272
2219
|
} if (rf & 2) {
|
|
@@ -2276,44 +2223,35 @@ class SelectComponent extends DatasetAwareFormComponent {
|
|
|
2276
2223
|
provideAs(SelectComponent, NG_VALUE_ACCESSOR, true),
|
|
2277
2224
|
provideAs(SelectComponent, NG_VALIDATORS, true),
|
|
2278
2225
|
provideAsWidgetRef(SelectComponent)
|
|
2279
|
-
]), i0.ɵɵInheritDefinitionFeature], decls: 5, vars:
|
|
2280
|
-
|
|
2281
|
-
i0.ɵɵ
|
|
2282
|
-
i0.ɵɵ
|
|
2283
|
-
i0.ɵɵ
|
|
2284
|
-
i0.ɵɵ
|
|
2285
|
-
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
|
+
]), i0.ɵɵInheritDefinitionFeature], decls: 5, vars: 15, consts: [["role", "listbox", "aria-haspopup", "true", "aria-expanded", "false", "focus-target", "", 3, "ngClass", "disabled", "required", "tabindex", "ngModel", "multiple", "autofocus", "ngModelChange", "change", "focus", "blur"], ["select", ""], ["value", "undefined", 3, "textContent", "hidden", 4, "ngIf"], [4, "ngIf"], ["value", "undefined", 3, "textContent", "hidden"], [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) {
|
|
2227
|
+
i0.ɵɵelementStart(0, "select", 0, 1);
|
|
2228
|
+
i0.ɵɵlistener("ngModelChange", function SelectComponent_Template_select_ngModelChange_0_listener($event) { return ctx.modelByKey = $event; })("change", function SelectComponent_Template_select_change_0_listener($event) { return ctx.onSelectValueChange($event); })("focus", function SelectComponent_Template_select_focus_0_listener($event) { return ctx.checkForFloatingLabel($event); })("blur", function SelectComponent_Template_select_blur_0_listener($event) { ctx.invokeOnTouched($event); return ctx.checkForFloatingLabel($event); });
|
|
2229
|
+
i0.ɵɵtemplate(2, SelectComponent_option_2_Template, 1, 2, "option", 2);
|
|
2230
|
+
i0.ɵɵtemplate(3, SelectComponent_ng_container_3_Template, 2, 1, "ng-container", 3);
|
|
2231
|
+
i0.ɵɵtemplate(4, SelectComponent_ng_container_4_Template, 2, 1, "ng-container", 3);
|
|
2286
2232
|
i0.ɵɵelementEnd();
|
|
2287
2233
|
} if (rf & 2) {
|
|
2288
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(
|
|
2289
|
-
i0.ɵɵtwoWayProperty("ngModel", ctx.modelByKey);
|
|
2290
|
-
i0.ɵɵproperty("ngModelOptions", i0.ɵɵpureFunction0(17, _c2$4))("multiple", ctx.multiple)("autofocus", ctx.autofocus);
|
|
2234
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(13, _c1$6, ctx.class))("disabled", ctx.disabled)("required", ctx.required)("tabindex", ctx.tabindex)("ngModel", ctx.modelByKey)("multiple", ctx.multiple)("autofocus", ctx.autofocus);
|
|
2291
2235
|
i0.ɵɵattribute("name", ctx.name)("aria-label", ctx.hint)("aria-multiselectable", ctx.multiple);
|
|
2292
2236
|
i0.ɵɵadvance(2);
|
|
2293
|
-
i0.ɵɵproperty("
|
|
2294
|
-
i0.ɵɵadvance();
|
|
2237
|
+
i0.ɵɵproperty("ngIf", !ctx.isIosPlatform() || !!ctx.placeholder);
|
|
2238
|
+
i0.ɵɵadvance(1);
|
|
2295
2239
|
i0.ɵɵproperty("ngIf", ctx.groupby);
|
|
2296
|
-
i0.ɵɵadvance();
|
|
2240
|
+
i0.ɵɵadvance(1);
|
|
2297
2241
|
i0.ɵɵproperty("ngIf", !ctx.groupby);
|
|
2298
2242
|
} }, 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 }); }
|
|
2299
2243
|
}
|
|
2300
|
-
(()
|
|
2244
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SelectComponent, [{
|
|
2301
2245
|
type: Component,
|
|
2302
2246
|
args: [{ selector: 'wm-select', providers: [
|
|
2303
2247
|
provideAs(SelectComponent, NG_VALUE_ACCESSOR, true),
|
|
2304
2248
|
provideAs(SelectComponent, NG_VALIDATORS, true),
|
|
2305
2249
|
provideAsWidgetRef(SelectComponent)
|
|
2306
|
-
], 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 [
|
|
2307
|
-
}], ()
|
|
2308
|
-
type: Inject,
|
|
2309
|
-
args: ['EXPLICIT_CONTEXT']
|
|
2310
|
-
}, {
|
|
2311
|
-
type: Optional
|
|
2312
|
-
}] }], { selectEl: [{
|
|
2250
|
+
], 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\n value=\"undefined\"\n [textContent]=\"placeholder\"\n *ngIf=\"!isIosPlatform() || !!placeholder\"\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" }]
|
|
2251
|
+
}], function () { return [{ type: i0.Injector }, { type: i1$1.App }]; }, { selectEl: [{
|
|
2313
2252
|
type: ViewChild,
|
|
2314
2253
|
args: ['select', { static: true, read: ElementRef }]
|
|
2315
2254
|
}] }); })();
|
|
2316
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SelectComponent, { className: "SelectComponent", filePath: "select/select.component.ts", lineNumber: 22 }); })();
|
|
2317
2255
|
|
|
2318
2256
|
const switchProps = new Map([
|
|
2319
2257
|
['class', PROP_STRING],
|
|
@@ -2340,45 +2278,45 @@ const registerProps$6 = () => {
|
|
|
2340
2278
|
};
|
|
2341
2279
|
|
|
2342
2280
|
const _c0$6 = ["wmSwitch", ""];
|
|
2343
|
-
const _c1$5 = (
|
|
2344
|
-
const _c2$3 = a0 => ["app-icon", a0];
|
|
2281
|
+
const _c1$5 = function (a1) { return ["app-icon", a1]; };
|
|
2345
2282
|
function SwitchComponent_a_1_i_1_Template(rf, ctx) { if (rf & 1) {
|
|
2346
2283
|
i0.ɵɵelement(0, "i", 8);
|
|
2347
2284
|
} if (rf & 2) {
|
|
2348
|
-
const
|
|
2285
|
+
const opt_r2 = i0.ɵɵnextContext().$implicit;
|
|
2349
2286
|
const ctx_r4 = i0.ɵɵnextContext();
|
|
2350
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(1,
|
|
2287
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(1, _c1$5, opt_r2.dataObject[ctx_r4.iconclass] || opt_r2["icon"]));
|
|
2351
2288
|
} }
|
|
2289
|
+
const _c2$1 = function (a0, a1) { return { "selected": a0, "disabled": a1 }; };
|
|
2352
2290
|
function SwitchComponent_a_1_Template(rf, ctx) { if (rf & 1) {
|
|
2353
|
-
const
|
|
2291
|
+
const _r7 = i0.ɵɵgetCurrentView();
|
|
2354
2292
|
i0.ɵɵelementStart(0, "a", 5);
|
|
2355
|
-
i0.ɵɵlistener("click", function SwitchComponent_a_1_Template_a_click_0_listener($event) { const
|
|
2293
|
+
i0.ɵɵlistener("click", function SwitchComponent_a_1_Template_a_click_0_listener($event) { const restoredCtx = i0.ɵɵrestoreView(_r7); const $index_r3 = restoredCtx.index; const opt_r2 = restoredCtx.$implicit; const ctx_r6 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r6.selectOpt($event, $index_r3, opt_r2)); });
|
|
2356
2294
|
i0.ɵɵtemplate(1, SwitchComponent_a_1_i_1_Template, 1, 3, "i", 6);
|
|
2357
2295
|
i0.ɵɵelement(2, "span", 7);
|
|
2358
2296
|
i0.ɵɵelementEnd();
|
|
2359
2297
|
} if (rf & 2) {
|
|
2360
|
-
const
|
|
2361
|
-
const
|
|
2362
|
-
i0.ɵɵproperty("name", "wm-switch-" +
|
|
2363
|
-
i0.ɵɵadvance();
|
|
2364
|
-
i0.ɵɵproperty("ngIf",
|
|
2365
|
-
i0.ɵɵadvance();
|
|
2366
|
-
i0.ɵɵproperty("textContent",
|
|
2298
|
+
const opt_r2 = ctx.$implicit;
|
|
2299
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
2300
|
+
i0.ɵɵproperty("name", "wm-switch-" + opt_r2.key)("ngClass", i0.ɵɵpureFunction2(4, _c2$1, opt_r2.selected, ctx_r0.disabled));
|
|
2301
|
+
i0.ɵɵadvance(1);
|
|
2302
|
+
i0.ɵɵproperty("ngIf", opt_r2.dataObject && opt_r2.dataObject[ctx_r0.iconclass]);
|
|
2303
|
+
i0.ɵɵadvance(1);
|
|
2304
|
+
i0.ɵɵproperty("textContent", opt_r2[ctx_r0.displayfield] || opt_r2.label);
|
|
2367
2305
|
} }
|
|
2368
2306
|
function SwitchComponent_i_3_Template(rf, ctx) { if (rf & 1) {
|
|
2369
2307
|
i0.ɵɵelement(0, "i");
|
|
2370
2308
|
} if (rf & 2) {
|
|
2371
|
-
const
|
|
2372
|
-
i0.ɵɵclassMapInterpolate1("app-icon ",
|
|
2309
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
2310
|
+
i0.ɵɵclassMapInterpolate1("app-icon ", ctx_r1.selectedItem && ctx_r1.selectedItem.dataObject && ctx_r1.selectedItem.dataObject[ctx_r1.iconclass], "");
|
|
2373
2311
|
} }
|
|
2374
2312
|
const DEFAULT_CLS = 'app-switch';
|
|
2375
2313
|
const WIDGET_CONFIG$6 = { widgetType: 'wm-switch', hostClass: DEFAULT_CLS };
|
|
2376
2314
|
class SwitchComponent extends DatasetAwareFormComponent {
|
|
2377
2315
|
static { this.initializeProps = registerProps$6(); }
|
|
2378
|
-
constructor(inj
|
|
2379
|
-
super(inj, WIDGET_CONFIG$6
|
|
2316
|
+
constructor(inj) {
|
|
2317
|
+
super(inj, WIDGET_CONFIG$6);
|
|
2380
2318
|
this.options = [];
|
|
2381
|
-
this._debounceSetSelectedValue = debounce
|
|
2319
|
+
this._debounceSetSelectedValue = debounce((val) => {
|
|
2382
2320
|
this.setSelectedValue();
|
|
2383
2321
|
this.updateHighlighter(val);
|
|
2384
2322
|
// only for default value trigger app digest to apply the selectedItem
|
|
@@ -2408,7 +2346,7 @@ class SwitchComponent extends DatasetAwareFormComponent {
|
|
|
2408
2346
|
// This function sets the selectedItem by either using compareby fields or selected flag on datasetItems.
|
|
2409
2347
|
setSelectedValue() {
|
|
2410
2348
|
if (isDefined(this.datavalue) || isDefined(this.toBeProcessedDatavalue)) {
|
|
2411
|
-
this.selectedItem = find(this.datasetItems, { selected: true });
|
|
2349
|
+
this.selectedItem = _.find(this.datasetItems, { selected: true });
|
|
2412
2350
|
return;
|
|
2413
2351
|
}
|
|
2414
2352
|
// If no value is provided, set first value as default if options are available else set -1 ie no selection
|
|
@@ -2427,7 +2365,7 @@ class SwitchComponent extends DatasetAwareFormComponent {
|
|
|
2427
2365
|
updateHighlighter(skipAnimation) {
|
|
2428
2366
|
const handler = $(this.nativeElement).find('span.app-switch-overlay');
|
|
2429
2367
|
this.setSelectedValue();
|
|
2430
|
-
let left, index = this.selectedItem ? findIndex(this.datasetItems, { key: this.selectedItem.key }) : -1;
|
|
2368
|
+
let left, index = this.selectedItem ? _.findIndex(this.datasetItems, { key: this.selectedItem.key }) : -1;
|
|
2431
2369
|
if (index === undefined || index === null) {
|
|
2432
2370
|
index = -1;
|
|
2433
2371
|
}
|
|
@@ -2457,7 +2395,7 @@ class SwitchComponent extends DatasetAwareFormComponent {
|
|
|
2457
2395
|
}
|
|
2458
2396
|
this.modelByKey = option.key;
|
|
2459
2397
|
this.invokeOnTouched();
|
|
2460
|
-
if (this.selectedItem && $index === findIndex(this.datasetItems, { key: this.selectedItem.key })) {
|
|
2398
|
+
if (this.selectedItem && $index === _.findIndex(this.datasetItems, { key: this.selectedItem.key })) {
|
|
2461
2399
|
if (this.datasetItems.length === 2) {
|
|
2462
2400
|
$index = $index === 1 ? 0 : 1;
|
|
2463
2401
|
}
|
|
@@ -2479,11 +2417,11 @@ class SwitchComponent extends DatasetAwareFormComponent {
|
|
|
2479
2417
|
super.onPropertyChange(key, nv, ov);
|
|
2480
2418
|
}
|
|
2481
2419
|
}
|
|
2482
|
-
static { this.ɵfac = function SwitchComponent_Factory(t) { return new (t || SwitchComponent)(i0.ɵɵdirectiveInject(i0.Injector)
|
|
2420
|
+
static { this.ɵfac = function SwitchComponent_Factory(t) { return new (t || SwitchComponent)(i0.ɵɵdirectiveInject(i0.Injector)); }; }
|
|
2483
2421
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SwitchComponent, selectors: [["", "wmSwitch", ""]], exportAs: ["wmSwitch"], features: [i0.ɵɵProvidersFeature([
|
|
2484
2422
|
provideAs(SwitchComponent, NG_VALUE_ACCESSOR, true),
|
|
2485
2423
|
provideAsWidgetRef(SwitchComponent)
|
|
2486
|
-
]), 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, "
|
|
2424
|
+
]), 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, "name", "ngClass", "click"], ["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) {
|
|
2487
2425
|
i0.ɵɵelementStart(0, "div", 0);
|
|
2488
2426
|
i0.ɵɵtemplate(1, SwitchComponent_a_1_Template, 3, 7, "a", 1);
|
|
2489
2427
|
i0.ɵɵelementEnd();
|
|
@@ -2493,31 +2431,25 @@ class SwitchComponent extends DatasetAwareFormComponent {
|
|
|
2493
2431
|
i0.ɵɵelementEnd();
|
|
2494
2432
|
i0.ɵɵelement(5, "input", 4);
|
|
2495
2433
|
} if (rf & 2) {
|
|
2496
|
-
i0.ɵɵadvance();
|
|
2434
|
+
i0.ɵɵadvance(1);
|
|
2497
2435
|
i0.ɵɵproperty("ngForOf", ctx.datasetItems);
|
|
2498
|
-
i0.ɵɵadvance();
|
|
2436
|
+
i0.ɵɵadvance(1);
|
|
2499
2437
|
i0.ɵɵproperty("title", ctx.selectedItem ? ctx.selectedItem.label : ctx.modelByKey);
|
|
2500
|
-
i0.ɵɵadvance();
|
|
2438
|
+
i0.ɵɵadvance(1);
|
|
2501
2439
|
i0.ɵɵproperty("ngIf", ctx.iconclass);
|
|
2502
|
-
i0.ɵɵadvance();
|
|
2440
|
+
i0.ɵɵadvance(1);
|
|
2503
2441
|
i0.ɵɵtextInterpolate1(" ", ctx.selectedItem ? ctx.selectedItem.label : ctx.modelByKey, "\n");
|
|
2504
|
-
i0.ɵɵadvance();
|
|
2442
|
+
i0.ɵɵadvance(1);
|
|
2505
2443
|
i0.ɵɵproperty("name", ctx.name)("disabled", ctx.disabled)("value", ctx.modelByKey)("required", ctx.required);
|
|
2506
2444
|
} }, dependencies: [i1.NgClass, i1.NgForOf, i1.NgIf, i2.TextContentDirective], encapsulation: 2 }); }
|
|
2507
2445
|
}
|
|
2508
|
-
(()
|
|
2446
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SwitchComponent, [{
|
|
2509
2447
|
type: Component,
|
|
2510
2448
|
args: [{ selector: '[wmSwitch]', providers: [
|
|
2511
2449
|
provideAs(SwitchComponent, NG_VALUE_ACCESSOR, true),
|
|
2512
2450
|
provideAsWidgetRef(SwitchComponent)
|
|
2513
2451
|
], 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" }]
|
|
2514
|
-
}], ()
|
|
2515
|
-
type: Inject,
|
|
2516
|
-
args: ['EXPLICIT_CONTEXT']
|
|
2517
|
-
}, {
|
|
2518
|
-
type: Optional
|
|
2519
|
-
}] }], null); })();
|
|
2520
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SwitchComponent, { className: "SwitchComponent", filePath: "switch/switch.component.ts", lineNumber: 25 }); })();
|
|
2452
|
+
}], function () { return [{ type: i0.Injector }]; }, null); })();
|
|
2521
2453
|
|
|
2522
2454
|
const inputCalendarTypeProps = new Map([
|
|
2523
2455
|
['autocomplete', { value: true, ...PROP_BOOLEAN }],
|
|
@@ -2549,17 +2481,16 @@ const registerProps$5 = () => {
|
|
|
2549
2481
|
|
|
2550
2482
|
const _c0$5 = ["input"];
|
|
2551
2483
|
const _c1$4 = ["type", "date"];
|
|
2552
|
-
const _c2$2 = () => ({ standalone: true });
|
|
2553
2484
|
const WIDGET_CONFIG$5 = {
|
|
2554
2485
|
widgetType: 'wm-input-calendar',
|
|
2555
2486
|
hostClass: 'app-input-wrapper'
|
|
2556
2487
|
};
|
|
2557
2488
|
class InputCalendarComponent extends BaseInput {
|
|
2558
2489
|
static { this.initializeProps = registerProps$5(); }
|
|
2559
|
-
constructor(inj
|
|
2560
|
-
super(inj, WIDGET_CONFIG$5
|
|
2490
|
+
constructor(inj) {
|
|
2491
|
+
super(inj, WIDGET_CONFIG$5);
|
|
2561
2492
|
}
|
|
2562
|
-
static { this.ɵfac = function InputCalendarComponent_Factory(t) { return new (t || InputCalendarComponent)(i0.ɵɵdirectiveInject(i0.Injector)
|
|
2493
|
+
static { this.ɵfac = function InputCalendarComponent_Factory(t) { return new (t || InputCalendarComponent)(i0.ɵɵdirectiveInject(i0.Injector)); }; }
|
|
2563
2494
|
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) {
|
|
2564
2495
|
i0.ɵɵviewQuery(_c0$5, 7);
|
|
2565
2496
|
i0.ɵɵviewQuery(NgModel, 5);
|
|
@@ -2571,39 +2502,29 @@ class InputCalendarComponent extends BaseInput {
|
|
|
2571
2502
|
provideAs(InputCalendarComponent, NG_VALUE_ACCESSOR, true),
|
|
2572
2503
|
provideAs(InputCalendarComponent, NG_VALIDATORS, true),
|
|
2573
2504
|
provideAsWidgetRef(InputCalendarComponent)
|
|
2574
|
-
]), i0.ɵɵInheritDefinitionFeature], attrs: _c1$4, decls: 2, vars:
|
|
2575
|
-
|
|
2576
|
-
i0.ɵɵ
|
|
2577
|
-
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); });
|
|
2578
|
-
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)); });
|
|
2505
|
+
]), i0.ɵɵInheritDefinitionFeature], attrs: _c1$4, decls: 2, vars: 17, consts: [["focus-target", "", "role", "textbox", 1, "form-control", "app-textbox", 3, "type", "ngModel", "readonly", "required", "disabled", "min", "max", "step", "autofocus", "autocomplete", "ngClass", "ngStyle", "ngModelChange", "blur"], ["input", ""]], template: function InputCalendarComponent_Template(rf, ctx) { if (rf & 1) {
|
|
2506
|
+
i0.ɵɵelementStart(0, "input", 0, 1);
|
|
2507
|
+
i0.ɵɵlistener("ngModelChange", function InputCalendarComponent_Template_input_ngModelChange_0_listener($event) { return ctx.datavalue = $event; })("blur", function InputCalendarComponent_Template_input_blur_0_listener($event) { return ctx.handleBlur($event); })("ngModelChange", function InputCalendarComponent_Template_input_ngModelChange_0_listener($event) { return ctx.handleChange($event); });
|
|
2579
2508
|
i0.ɵɵelementEnd();
|
|
2580
2509
|
} if (rf & 2) {
|
|
2581
|
-
i0.ɵɵproperty("type", ctx.type);
|
|
2582
|
-
i0.ɵɵtwoWayProperty("ngModel", ctx.datavalue);
|
|
2583
|
-
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);
|
|
2510
|
+
i0.ɵɵproperty("type", ctx.type)("ngModel", ctx.datavalue)("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);
|
|
2584
2511
|
i0.ɵɵattribute("name", ctx.name)("tabindex", ctx.tabindex)("placeholder", ctx.placeholder)("accesskey", ctx.shortcutkey)("aria-label", ctx.hint || ctx.type + " field");
|
|
2585
2512
|
} }, dependencies: [i1.NgClass, i1.NgStyle, i2$1.DefaultValueAccessor, i2$1.NgControlStatus, i2$1.RequiredValidator, i2$1.NgModel], encapsulation: 2 }); }
|
|
2586
2513
|
}
|
|
2587
|
-
(()
|
|
2514
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(InputCalendarComponent, [{
|
|
2588
2515
|
type: Component,
|
|
2589
2516
|
args: [{ selector: 'wm-input[type="date"], wm-input[type="datetime-local"], wm-input[type="month"], wm-input[type="time"], wm-input[type="week"]', providers: [
|
|
2590
2517
|
provideAs(InputCalendarComponent, NG_VALUE_ACCESSOR, true),
|
|
2591
2518
|
provideAs(InputCalendarComponent, NG_VALIDATORS, true),
|
|
2592
2519
|
provideAsWidgetRef(InputCalendarComponent)
|
|
2593
|
-
], template: "<input class=\"form-control app-textbox\"\n focus-target\n role=\"textbox\"\n [type]=\"type\"\n [attr.name]=\"name\"\n [(ngModel)]=\"datavalue\"\n [
|
|
2594
|
-
}], ()
|
|
2595
|
-
type: Inject,
|
|
2596
|
-
args: ['EXPLICIT_CONTEXT']
|
|
2597
|
-
}, {
|
|
2598
|
-
type: Optional
|
|
2599
|
-
}] }], { inputEl: [{
|
|
2520
|
+
], 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" }]
|
|
2521
|
+
}], function () { return [{ type: i0.Injector }]; }, { inputEl: [{
|
|
2600
2522
|
type: ViewChild,
|
|
2601
2523
|
args: ['input', { static: true }]
|
|
2602
2524
|
}], ngModel: [{
|
|
2603
2525
|
type: ViewChild,
|
|
2604
2526
|
args: [NgModel]
|
|
2605
2527
|
}] }); })();
|
|
2606
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(InputCalendarComponent, { className: "InputCalendarComponent", filePath: "text/calendar/input-calendar.component.ts", lineNumber: 22 }); })();
|
|
2607
2528
|
|
|
2608
2529
|
const inputColorTypeProps = new Map([
|
|
2609
2530
|
['autocomplete', { value: true, ...PROP_BOOLEAN }],
|
|
@@ -2632,17 +2553,16 @@ const registerProps$4 = () => {
|
|
|
2632
2553
|
|
|
2633
2554
|
const _c0$4 = ["input"];
|
|
2634
2555
|
const _c1$3 = ["type", "color"];
|
|
2635
|
-
const _c2$1 = () => ({ standalone: true });
|
|
2636
2556
|
const WIDGET_CONFIG$4 = {
|
|
2637
2557
|
widgetType: 'wm-input-color',
|
|
2638
2558
|
hostClass: 'app-input-wrapper'
|
|
2639
2559
|
};
|
|
2640
2560
|
class InputColorComponent extends BaseInput {
|
|
2641
2561
|
static { this.initializeProps = registerProps$4(); }
|
|
2642
|
-
constructor(inj
|
|
2643
|
-
super(inj, WIDGET_CONFIG$4
|
|
2562
|
+
constructor(inj) {
|
|
2563
|
+
super(inj, WIDGET_CONFIG$4);
|
|
2644
2564
|
}
|
|
2645
|
-
static { this.ɵfac = function InputColorComponent_Factory(t) { return new (t || InputColorComponent)(i0.ɵɵdirectiveInject(i0.Injector)
|
|
2565
|
+
static { this.ɵfac = function InputColorComponent_Factory(t) { return new (t || InputColorComponent)(i0.ɵɵdirectiveInject(i0.Injector)); }; }
|
|
2646
2566
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: InputColorComponent, selectors: [["wm-input", "type", "color"]], viewQuery: function InputColorComponent_Query(rf, ctx) { if (rf & 1) {
|
|
2647
2567
|
i0.ɵɵviewQuery(_c0$4, 7);
|
|
2648
2568
|
i0.ɵɵviewQuery(NgModel, 5);
|
|
@@ -2654,39 +2574,29 @@ class InputColorComponent extends BaseInput {
|
|
|
2654
2574
|
provideAs(InputColorComponent, NG_VALUE_ACCESSOR, true),
|
|
2655
2575
|
provideAs(InputColorComponent, NG_VALIDATORS, true),
|
|
2656
2576
|
provideAsWidgetRef(InputColorComponent)
|
|
2657
|
-
]), i0.ɵɵInheritDefinitionFeature], attrs: _c1$3, decls: 2, vars:
|
|
2658
|
-
|
|
2659
|
-
i0.ɵɵ
|
|
2660
|
-
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); });
|
|
2661
|
-
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)); });
|
|
2577
|
+
]), i0.ɵɵInheritDefinitionFeature], attrs: _c1$3, decls: 2, vars: 14, consts: [["focus-target", "", "role", "textbox", 1, "form-control", "app-textbox", 3, "type", "ngModel", "readonly", "required", "disabled", "maxlength", "autofocus", "ngClass", "ngStyle", "ngModelChange", "blur"], ["input", ""]], template: function InputColorComponent_Template(rf, ctx) { if (rf & 1) {
|
|
2578
|
+
i0.ɵɵelementStart(0, "input", 0, 1);
|
|
2579
|
+
i0.ɵɵlistener("ngModelChange", function InputColorComponent_Template_input_ngModelChange_0_listener($event) { return ctx.datavalue = $event; })("blur", function InputColorComponent_Template_input_blur_0_listener($event) { return ctx.handleBlur($event); })("ngModelChange", function InputColorComponent_Template_input_ngModelChange_0_listener($event) { return ctx.handleChange($event); });
|
|
2662
2580
|
i0.ɵɵelementEnd();
|
|
2663
2581
|
} if (rf & 2) {
|
|
2664
|
-
i0.ɵɵproperty("type", ctx.type);
|
|
2665
|
-
i0.ɵɵtwoWayProperty("ngModel", ctx.datavalue);
|
|
2666
|
-
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);
|
|
2582
|
+
i0.ɵɵproperty("type", ctx.type)("ngModel", ctx.datavalue)("readonly", ctx.readonly)("required", ctx.required)("disabled", ctx.disabled)("maxlength", ctx.maxchars)("autofocus", ctx.autofocus)("ngClass", ctx.conditionalclass)("ngStyle", ctx.conditionalstyle);
|
|
2667
2583
|
i0.ɵɵattribute("name", ctx.name)("tabindex", ctx.tabindex)("placeholder", ctx.placeholder)("accesskey", ctx.shortcutkey)("aria-label", ctx.hint);
|
|
2668
2584
|
} }, dependencies: [i1.NgClass, i1.NgStyle, i2$1.DefaultValueAccessor, i2$1.NgControlStatus, i2$1.RequiredValidator, i2$1.MaxLengthValidator, i2$1.NgModel], encapsulation: 2 }); }
|
|
2669
2585
|
}
|
|
2670
|
-
(()
|
|
2586
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(InputColorComponent, [{
|
|
2671
2587
|
type: Component,
|
|
2672
2588
|
args: [{ selector: 'wm-input[type="color"]', providers: [
|
|
2673
2589
|
provideAs(InputColorComponent, NG_VALUE_ACCESSOR, true),
|
|
2674
2590
|
provideAs(InputColorComponent, NG_VALIDATORS, true),
|
|
2675
2591
|
provideAsWidgetRef(InputColorComponent)
|
|
2676
|
-
], template: "<input class=\"form-control app-textbox\"\n focus-target\n [type]=\"type\"\n role=\"textbox\"\n [attr.name]=\"name\"\n [(ngModel)]=\"datavalue\"\n [
|
|
2677
|
-
}], ()
|
|
2678
|
-
type: Inject,
|
|
2679
|
-
args: ['EXPLICIT_CONTEXT']
|
|
2680
|
-
}, {
|
|
2681
|
-
type: Optional
|
|
2682
|
-
}] }], { inputEl: [{
|
|
2592
|
+
], 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" }]
|
|
2593
|
+
}], function () { return [{ type: i0.Injector }]; }, { inputEl: [{
|
|
2683
2594
|
type: ViewChild,
|
|
2684
2595
|
args: ['input', { static: true }]
|
|
2685
2596
|
}], ngModel: [{
|
|
2686
2597
|
type: ViewChild,
|
|
2687
2598
|
args: [NgModel]
|
|
2688
2599
|
}] }); })();
|
|
2689
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(InputColorComponent, { className: "InputColorComponent", filePath: "text/color/input-color.component.ts", lineNumber: 23 }); })();
|
|
2690
2600
|
|
|
2691
2601
|
const inputEmailTypeProps = new Map([
|
|
2692
2602
|
['autocomplete', { value: true, ...PROP_BOOLEAN }],
|
|
@@ -2723,10 +2633,10 @@ const WIDGET_CONFIG$3 = {
|
|
|
2723
2633
|
};
|
|
2724
2634
|
class InputEmailComponent extends BaseInput {
|
|
2725
2635
|
static { this.initializeProps = registerProps$3(); }
|
|
2726
|
-
constructor(inj
|
|
2727
|
-
super(inj, WIDGET_CONFIG$3
|
|
2636
|
+
constructor(inj) {
|
|
2637
|
+
super(inj, WIDGET_CONFIG$3);
|
|
2728
2638
|
}
|
|
2729
|
-
static { this.ɵfac = function InputEmailComponent_Factory(t) { return new (t || InputEmailComponent)(i0.ɵɵdirectiveInject(i0.Injector)
|
|
2639
|
+
static { this.ɵfac = function InputEmailComponent_Factory(t) { return new (t || InputEmailComponent)(i0.ɵɵdirectiveInject(i0.Injector)); }; }
|
|
2730
2640
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: InputEmailComponent, selectors: [["wm-input", "type", "email"]], viewQuery: function InputEmailComponent_Query(rf, ctx) { if (rf & 1) {
|
|
2731
2641
|
i0.ɵɵviewQuery(_c0$3, 7);
|
|
2732
2642
|
i0.ɵɵviewQuery(NgModel, 5);
|
|
@@ -2738,39 +2648,30 @@ class InputEmailComponent extends BaseInput {
|
|
|
2738
2648
|
provideAs(InputEmailComponent, NG_VALUE_ACCESSOR, true),
|
|
2739
2649
|
provideAs(InputEmailComponent, NG_VALIDATORS, true),
|
|
2740
2650
|
provideAsWidgetRef(InputEmailComponent)
|
|
2741
|
-
]), i0.ɵɵInheritDefinitionFeature], attrs: _c1$2, decls: 2, vars: 17, consts: [["
|
|
2651
|
+
]), 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", "ngModelChange", "blur", "keyup.enter"], ["input", ""]], template: function InputEmailComponent_Template(rf, ctx) { if (rf & 1) {
|
|
2742
2652
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
2743
|
-
i0.ɵɵelementStart(0, "input",
|
|
2744
|
-
i0.ɵɵ
|
|
2745
|
-
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)); });
|
|
2653
|
+
i0.ɵɵelementStart(0, "input", 0, 1);
|
|
2654
|
+
i0.ɵɵlistener("ngModelChange", function InputEmailComponent_Template_input_ngModelChange_0_listener($event) { return ctx.datavalue = $event; })("blur", function InputEmailComponent_Template_input_blur_0_listener($event) { return ctx.handleBlur($event); })("ngModelChange", function InputEmailComponent_Template_input_ngModelChange_0_listener($event) { return ctx.handleChange($event); })("keyup.enter", function InputEmailComponent_Template_input_keyup_enter_0_listener() { i0.ɵɵrestoreView(_r1); const _r0 = i0.ɵɵreference(1); return i0.ɵɵresetView(ctx.flushViewChanges(_r0.value)); });
|
|
2746
2655
|
i0.ɵɵelementEnd();
|
|
2747
2656
|
} if (rf & 2) {
|
|
2748
|
-
i0.ɵɵproperty("type", ctx.type);
|
|
2749
|
-
i0.ɵɵtwoWayProperty("ngModel", ctx.datavalue);
|
|
2750
|
-
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");
|
|
2657
|
+
i0.ɵɵproperty("type", ctx.type)("ngModel", ctx.datavalue)("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");
|
|
2751
2658
|
i0.ɵɵattribute("name", ctx.name)("tabindex", ctx.tabindex)("placeholder", ctx.placeholder)("accesskey", ctx.shortcutkey)("aria-label", ctx.hint);
|
|
2752
2659
|
} }, 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 }); }
|
|
2753
2660
|
}
|
|
2754
|
-
(()
|
|
2661
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(InputEmailComponent, [{
|
|
2755
2662
|
type: Component,
|
|
2756
2663
|
args: [{ selector: 'wm-input[type="email"]', providers: [
|
|
2757
2664
|
provideAs(InputEmailComponent, NG_VALUE_ACCESSOR, true),
|
|
2758
2665
|
provideAs(InputEmailComponent, NG_VALIDATORS, true),
|
|
2759
2666
|
provideAsWidgetRef(InputEmailComponent)
|
|
2760
2667
|
], 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" }]
|
|
2761
|
-
}], ()
|
|
2762
|
-
type: Inject,
|
|
2763
|
-
args: ['EXPLICIT_CONTEXT']
|
|
2764
|
-
}, {
|
|
2765
|
-
type: Optional
|
|
2766
|
-
}] }], { inputEl: [{
|
|
2668
|
+
}], function () { return [{ type: i0.Injector }]; }, { inputEl: [{
|
|
2767
2669
|
type: ViewChild,
|
|
2768
2670
|
args: ['input', { static: true }]
|
|
2769
2671
|
}], ngModel: [{
|
|
2770
2672
|
type: ViewChild,
|
|
2771
2673
|
args: [NgModel]
|
|
2772
2674
|
}] }); })();
|
|
2773
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(InputEmailComponent, { className: "InputEmailComponent", filePath: "text/email/input-email.component.ts", lineNumber: 23 }); })();
|
|
2774
2675
|
|
|
2775
2676
|
const inputNumberTypeProps = new Map([
|
|
2776
2677
|
['autocomplete', { value: true, ...PROP_BOOLEAN }],
|
|
@@ -2804,15 +2705,15 @@ const registerProps$2 = () => {
|
|
|
2804
2705
|
|
|
2805
2706
|
const _c0$2 = ["input"];
|
|
2806
2707
|
const _c1$1 = ["type", "number"];
|
|
2807
|
-
const _c2 = a0
|
|
2708
|
+
const _c2 = function (a0) { return { "step-hidden": a0 }; };
|
|
2808
2709
|
const WIDGET_CONFIG$2 = {
|
|
2809
2710
|
widgetType: 'wm-input-number',
|
|
2810
2711
|
hostClass: 'app-input-wrapper'
|
|
2811
2712
|
};
|
|
2812
2713
|
class InputNumberComponent extends BaseInput {
|
|
2813
2714
|
static { this.initializeProps = registerProps$2(); }
|
|
2814
|
-
constructor(inj
|
|
2815
|
-
super(inj, WIDGET_CONFIG$2
|
|
2715
|
+
constructor(inj) {
|
|
2716
|
+
super(inj, WIDGET_CONFIG$2);
|
|
2816
2717
|
}
|
|
2817
2718
|
onArrowPress($event) {
|
|
2818
2719
|
if (this.step === 0) {
|
|
@@ -2824,7 +2725,7 @@ class InputNumberComponent extends BaseInput {
|
|
|
2824
2725
|
return false;
|
|
2825
2726
|
}
|
|
2826
2727
|
}
|
|
2827
|
-
static { this.ɵfac = function InputNumberComponent_Factory(t) { return new (t || InputNumberComponent)(i0.ɵɵdirectiveInject(i0.Injector)
|
|
2728
|
+
static { this.ɵfac = function InputNumberComponent_Factory(t) { return new (t || InputNumberComponent)(i0.ɵɵdirectiveInject(i0.Injector)); }; }
|
|
2828
2729
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: InputNumberComponent, selectors: [["wm-input", "type", "number"]], viewQuery: function InputNumberComponent_Query(rf, ctx) { if (rf & 1) {
|
|
2829
2730
|
i0.ɵɵviewQuery(_c0$2, 7);
|
|
2830
2731
|
i0.ɵɵviewQuery(NgModel, 5);
|
|
@@ -2836,39 +2737,30 @@ class InputNumberComponent extends BaseInput {
|
|
|
2836
2737
|
provideAs(InputNumberComponent, NG_VALUE_ACCESSOR, true),
|
|
2837
2738
|
provideAs(InputNumberComponent, NG_VALIDATORS, true),
|
|
2838
2739
|
provideAsWidgetRef(InputNumberComponent)
|
|
2839
|
-
]), i0.ɵɵInheritDefinitionFeature], attrs: _c1$1, decls: 2, vars: 22, consts: [["
|
|
2740
|
+
]), i0.ɵɵInheritDefinitionFeature], attrs: _c1$1, decls: 2, vars: 22, consts: [["focus-target", "", "role", "textbox", 1, "form-control", "app-textbox", 3, "ngClass", "type", "ngModel", "ngModelOptions", "readonly", "required", "disabled", "maxlength", "min", "max", "step", "autofocus", "ngStyle", "autocomplete", "ngModelChange", "blur", "keyup.enter", "keydown.ArrowUp", "keydown.ArrowDown", "keypress"], ["input", ""]], template: function InputNumberComponent_Template(rf, ctx) { if (rf & 1) {
|
|
2840
2741
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
2841
|
-
i0.ɵɵelementStart(0, "input",
|
|
2842
|
-
i0.ɵɵ
|
|
2843
|
-
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)); });
|
|
2742
|
+
i0.ɵɵelementStart(0, "input", 0, 1);
|
|
2743
|
+
i0.ɵɵlistener("ngModelChange", function InputNumberComponent_Template_input_ngModelChange_0_listener($event) { return ctx.datavalue = $event; })("blur", function InputNumberComponent_Template_input_blur_0_listener($event) { return ctx.handleBlur($event); })("ngModelChange", function InputNumberComponent_Template_input_ngModelChange_0_listener($event) { return ctx.handleChange($event); })("keyup.enter", function InputNumberComponent_Template_input_keyup_enter_0_listener() { i0.ɵɵrestoreView(_r1); const _r0 = i0.ɵɵreference(1); return i0.ɵɵresetView(ctx.flushViewChanges(_r0.value)); })("keydown.ArrowUp", function InputNumberComponent_Template_input_keydown_ArrowUp_0_listener($event) { return ctx.onArrowPress($event); })("keydown.ArrowDown", function InputNumberComponent_Template_input_keydown_ArrowDown_0_listener($event) { return ctx.onArrowPress($event); })("keypress", function InputNumberComponent_Template_input_keypress_0_listener($event) { return ctx.validateInputEntry($event); });
|
|
2844
2744
|
i0.ɵɵelementEnd();
|
|
2845
2745
|
} if (rf & 2) {
|
|
2846
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(20, _c2, ctx.step === 0))("type", ctx.type);
|
|
2847
|
-
i0.ɵɵtwoWayProperty("ngModel", ctx.datavalue);
|
|
2848
|
-
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");
|
|
2746
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(20, _c2, ctx.step === 0))("type", ctx.type)("ngModel", ctx.datavalue)("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");
|
|
2849
2747
|
i0.ɵɵattribute("name", ctx.name)("tabindex", ctx.tabindex)("placeholder", ctx.placeholder)("accesskey", ctx.shortcutkey)("aria-label", ctx.hint);
|
|
2850
2748
|
} }, dependencies: [i1.NgClass, i1.NgStyle, i2$1.DefaultValueAccessor, i2$1.NgControlStatus, i2$1.RequiredValidator, i2$1.MaxLengthValidator, i2$1.NgModel], encapsulation: 2 }); }
|
|
2851
2749
|
}
|
|
2852
|
-
(()
|
|
2750
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(InputNumberComponent, [{
|
|
2853
2751
|
type: Component,
|
|
2854
2752
|
args: [{ selector: 'wm-input[type="number"]', providers: [
|
|
2855
2753
|
provideAs(InputNumberComponent, NG_VALUE_ACCESSOR, true),
|
|
2856
2754
|
provideAs(InputNumberComponent, NG_VALIDATORS, true),
|
|
2857
2755
|
provideAsWidgetRef(InputNumberComponent)
|
|
2858
2756
|
], 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" }]
|
|
2859
|
-
}], ()
|
|
2860
|
-
type: Inject,
|
|
2861
|
-
args: ['EXPLICIT_CONTEXT']
|
|
2862
|
-
}, {
|
|
2863
|
-
type: Optional
|
|
2864
|
-
}] }], { inputEl: [{
|
|
2757
|
+
}], function () { return [{ type: i0.Injector }]; }, { inputEl: [{
|
|
2865
2758
|
type: ViewChild,
|
|
2866
2759
|
args: ['input', { static: true }]
|
|
2867
2760
|
}], ngModel: [{
|
|
2868
2761
|
type: ViewChild,
|
|
2869
2762
|
args: [NgModel]
|
|
2870
2763
|
}] }); })();
|
|
2871
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(InputNumberComponent, { className: "InputNumberComponent", filePath: "text/number/input-number.component.ts", lineNumber: 22 }); })();
|
|
2872
2764
|
|
|
2873
2765
|
const inputTextTypeProps = new Map([
|
|
2874
2766
|
['autocomplete', { value: true, ...PROP_BOOLEAN }],
|
|
@@ -2917,8 +2809,8 @@ const WIDGET_CONFIG$1 = {
|
|
|
2917
2809
|
};
|
|
2918
2810
|
class InputTextComponent extends BaseInput {
|
|
2919
2811
|
static { this.initializeProps = registerProps$1(); }
|
|
2920
|
-
constructor(inj
|
|
2921
|
-
super(inj, WIDGET_CONFIG$1
|
|
2812
|
+
constructor(inj) {
|
|
2813
|
+
super(inj, WIDGET_CONFIG$1);
|
|
2922
2814
|
this.lazy = false;
|
|
2923
2815
|
}
|
|
2924
2816
|
/* Define the property change handler. This function will be triggered when there is a change in the widget property */
|
|
@@ -2989,7 +2881,7 @@ class InputTextComponent extends BaseInput {
|
|
|
2989
2881
|
super.ngOnInit();
|
|
2990
2882
|
this.isFocused = !!this.datavalue;
|
|
2991
2883
|
}
|
|
2992
|
-
static { this.ɵfac = function InputTextComponent_Factory(t) { return new (t || InputTextComponent)(i0.ɵɵdirectiveInject(i0.Injector)
|
|
2884
|
+
static { this.ɵfac = function InputTextComponent_Factory(t) { return new (t || InputTextComponent)(i0.ɵɵdirectiveInject(i0.Injector)); }; }
|
|
2993
2885
|
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) {
|
|
2994
2886
|
i0.ɵɵviewQuery(_c0$1, 7);
|
|
2995
2887
|
i0.ɵɵviewQuery(NgModel, 5);
|
|
@@ -3003,32 +2895,24 @@ class InputTextComponent extends BaseInput {
|
|
|
3003
2895
|
provideAs(InputTextComponent, NG_VALUE_ACCESSOR, true),
|
|
3004
2896
|
provideAs(InputTextComponent, NG_VALIDATORS, true),
|
|
3005
2897
|
provideAsWidgetRef(InputTextComponent)
|
|
3006
|
-
]), i0.ɵɵInheritDefinitionFeature], attrs: _c1, decls: 2, vars: 19, consts: [["
|
|
2898
|
+
]), i0.ɵɵInheritDefinitionFeature], attrs: _c1, decls: 2, vars: 19, consts: [["focus-target", "", "role", "textbox", 1, "form-control", "app-textbox", 3, "type", "ngModel", "imask", "unmask", "ngModelOptions", "readonly", "required", "disabled", "maxlength", "pattern", "autofocus", "ngClass", "ngStyle", "autocomplete", "ngModelChange", "blur", "focus", "keyup.enter"], ["input", ""]], template: function InputTextComponent_Template(rf, ctx) { if (rf & 1) {
|
|
3007
2899
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
3008
|
-
i0.ɵɵelementStart(0, "input",
|
|
3009
|
-
i0.ɵɵ
|
|
3010
|
-
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)); });
|
|
2900
|
+
i0.ɵɵelementStart(0, "input", 0, 1);
|
|
2901
|
+
i0.ɵɵlistener("ngModelChange", function InputTextComponent_Template_input_ngModelChange_0_listener($event) { return ctx.datavalue = $event; })("ngModelChange", function InputTextComponent_Template_input_ngModelChange_0_listener($event) { return ctx.handleChange($event); })("blur", function InputTextComponent_Template_input_blur_0_listener($event) { ctx.handleBlur($event); return ctx.checkForDisplayFormat($event); })("focus", function InputTextComponent_Template_input_focus_0_listener($event) { return ctx.checkForDisplayFormat($event); })("keyup.enter", function InputTextComponent_Template_input_keyup_enter_0_listener() { i0.ɵɵrestoreView(_r1); const _r0 = i0.ɵɵreference(1); return i0.ɵɵresetView(ctx.flushViewChanges(_r0.value)); });
|
|
3011
2902
|
i0.ɵɵelementEnd();
|
|
3012
2903
|
} if (rf & 2) {
|
|
3013
|
-
i0.ɵɵproperty("type", ctx.type);
|
|
3014
|
-
i0.ɵɵtwoWayProperty("ngModel", ctx.datavalue);
|
|
3015
|
-
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");
|
|
2904
|
+
i0.ɵɵproperty("type", ctx.type)("ngModel", ctx.datavalue)("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");
|
|
3016
2905
|
i0.ɵɵattribute("name", ctx.name)("aria-label", ctx.hint)("tabindex", ctx.tabindex)("placeholder", ctx.placeholder)("accesskey", ctx.shortcutkey);
|
|
3017
2906
|
} }, 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 }); }
|
|
3018
2907
|
}
|
|
3019
|
-
(()
|
|
2908
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(InputTextComponent, [{
|
|
3020
2909
|
type: Component,
|
|
3021
2910
|
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: [
|
|
3022
2911
|
provideAs(InputTextComponent, NG_VALUE_ACCESSOR, true),
|
|
3023
2912
|
provideAs(InputTextComponent, NG_VALIDATORS, true),
|
|
3024
2913
|
provideAsWidgetRef(InputTextComponent)
|
|
3025
2914
|
], 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" }]
|
|
3026
|
-
}], ()
|
|
3027
|
-
type: Inject,
|
|
3028
|
-
args: ['EXPLICIT_CONTEXT']
|
|
3029
|
-
}, {
|
|
3030
|
-
type: Optional
|
|
3031
|
-
}] }], { inputEl: [{
|
|
2915
|
+
}], function () { return [{ type: i0.Injector }]; }, { inputEl: [{
|
|
3032
2916
|
type: ViewChild,
|
|
3033
2917
|
args: ['input', { static: true }]
|
|
3034
2918
|
}], ngModel: [{
|
|
@@ -3038,7 +2922,6 @@ class InputTextComponent extends BaseInput {
|
|
|
3038
2922
|
type: ViewChild,
|
|
3039
2923
|
args: ['input', { read: IMaskDirective }]
|
|
3040
2924
|
}] }); })();
|
|
3041
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(InputTextComponent, { className: "InputTextComponent", filePath: "text/text/input-text.component.ts", lineNumber: 23 }); })();
|
|
3042
2925
|
|
|
3043
2926
|
const textareaProps = new Map([
|
|
3044
2927
|
['autofocus', PROP_BOOLEAN],
|
|
@@ -3074,7 +2957,7 @@ function TextareaComponent_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
|
3074
2957
|
i0.ɵɵelementEnd();
|
|
3075
2958
|
} if (rf & 2) {
|
|
3076
2959
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
3077
|
-
i0.ɵɵadvance();
|
|
2960
|
+
i0.ɵɵadvance(1);
|
|
3078
2961
|
i0.ɵɵtextInterpolate(ctx_r1.limitdisplaytext);
|
|
3079
2962
|
} }
|
|
3080
2963
|
const WIDGET_CONFIG = {
|
|
@@ -3083,14 +2966,14 @@ const WIDGET_CONFIG = {
|
|
|
3083
2966
|
};
|
|
3084
2967
|
class TextareaComponent extends BaseInput {
|
|
3085
2968
|
static { this.initializeProps = registerProps(); }
|
|
3086
|
-
constructor(inj
|
|
3087
|
-
super(inj, WIDGET_CONFIG
|
|
2969
|
+
constructor(inj) {
|
|
2970
|
+
super(inj, WIDGET_CONFIG);
|
|
3088
2971
|
this.charlength = 0;
|
|
3089
2972
|
}
|
|
3090
2973
|
onInputChange() {
|
|
3091
2974
|
this.charlength = this.inputEl.nativeElement.value.length;
|
|
3092
2975
|
}
|
|
3093
|
-
static { this.ɵfac = function TextareaComponent_Factory(t) { return new (t || TextareaComponent)(i0.ɵɵdirectiveInject(i0.Injector)
|
|
2976
|
+
static { this.ɵfac = function TextareaComponent_Factory(t) { return new (t || TextareaComponent)(i0.ɵɵdirectiveInject(i0.Injector)); }; }
|
|
3094
2977
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TextareaComponent, selectors: [["wm-textarea"]], viewQuery: function TextareaComponent_Query(rf, ctx) { if (rf & 1) {
|
|
3095
2978
|
i0.ɵɵviewQuery(_c0, 7);
|
|
3096
2979
|
i0.ɵɵviewQuery(NgModel, 5);
|
|
@@ -3102,41 +2985,32 @@ class TextareaComponent extends BaseInput {
|
|
|
3102
2985
|
provideAs(TextareaComponent, NG_VALUE_ACCESSOR, true),
|
|
3103
2986
|
provideAs(TextareaComponent, NG_VALIDATORS, true),
|
|
3104
2987
|
provideAsWidgetRef(TextareaComponent)
|
|
3105
|
-
]), i0.ɵɵInheritDefinitionFeature], decls: 3, vars: 15, consts: [["
|
|
3106
|
-
|
|
3107
|
-
i0.ɵɵ
|
|
3108
|
-
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); });
|
|
3109
|
-
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()); });
|
|
2988
|
+
]), i0.ɵɵInheritDefinitionFeature], decls: 3, vars: 15, consts: [["focus-target", "", "role", "textbox", "aria-multiline", "true", 1, "form-control", "app-textarea", 3, "ngModel", "ngModelOptions", "readonly", "required", "disabled", "maxlength", "autofocus", "ngClass", "ngStyle", "ngModelChange", "blur", "input"], ["textarea", ""], ["class", "textarea-count", 4, "ngIf"], [1, "textarea-count"]], template: function TextareaComponent_Template(rf, ctx) { if (rf & 1) {
|
|
2989
|
+
i0.ɵɵelementStart(0, "textarea", 0, 1);
|
|
2990
|
+
i0.ɵɵlistener("ngModelChange", function TextareaComponent_Template_textarea_ngModelChange_0_listener($event) { return ctx.datavalue = $event; })("blur", function TextareaComponent_Template_textarea_blur_0_listener($event) { return ctx.handleBlur($event); })("input", function TextareaComponent_Template_textarea_input_0_listener() { return ctx.onInputChange(); })("ngModelChange", function TextareaComponent_Template_textarea_ngModelChange_0_listener($event) { ctx.handleChange($event); return ctx.onInputChange(); });
|
|
3110
2991
|
i0.ɵɵelementEnd();
|
|
3111
2992
|
i0.ɵɵtemplate(2, TextareaComponent_div_2_Template, 2, 1, "div", 2);
|
|
3112
2993
|
} if (rf & 2) {
|
|
3113
|
-
i0.ɵɵ
|
|
3114
|
-
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);
|
|
2994
|
+
i0.ɵɵproperty("ngModel", ctx.datavalue)("ngModelOptions", ctx.ngModelOptions)("readonly", ctx.readonly)("required", ctx.required)("disabled", ctx.disabled)("maxlength", ctx.maxchars)("autofocus", ctx.autofocus)("ngClass", ctx.conditionalclass)("ngStyle", ctx.conditionalstyle);
|
|
3115
2995
|
i0.ɵɵattribute("name", ctx.name)("tabindex", ctx.tabindex)("placeholder", ctx.placeholder)("accesskey", ctx.shortcutkey)("aria-label", ctx.hint);
|
|
3116
2996
|
i0.ɵɵadvance(2);
|
|
3117
2997
|
i0.ɵɵproperty("ngIf", ctx.maxchars);
|
|
3118
2998
|
} }, dependencies: [i1.NgClass, i1.NgIf, i1.NgStyle, i2$1.DefaultValueAccessor, i2$1.NgControlStatus, i2$1.RequiredValidator, i2$1.MaxLengthValidator, i2$1.NgModel], encapsulation: 2 }); }
|
|
3119
2999
|
}
|
|
3120
|
-
(()
|
|
3000
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TextareaComponent, [{
|
|
3121
3001
|
type: Component,
|
|
3122
3002
|
args: [{ selector: 'wm-textarea', providers: [
|
|
3123
3003
|
provideAs(TextareaComponent, NG_VALUE_ACCESSOR, true),
|
|
3124
3004
|
provideAs(TextareaComponent, NG_VALIDATORS, true),
|
|
3125
3005
|
provideAsWidgetRef(TextareaComponent)
|
|
3126
3006
|
], 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" }]
|
|
3127
|
-
}], ()
|
|
3128
|
-
type: Inject,
|
|
3129
|
-
args: ['EXPLICIT_CONTEXT']
|
|
3130
|
-
}, {
|
|
3131
|
-
type: Optional
|
|
3132
|
-
}] }], { inputEl: [{
|
|
3007
|
+
}], function () { return [{ type: i0.Injector }]; }, { inputEl: [{
|
|
3133
3008
|
type: ViewChild,
|
|
3134
3009
|
args: ['textarea', { static: true }]
|
|
3135
3010
|
}], ngModel: [{
|
|
3136
3011
|
type: ViewChild,
|
|
3137
3012
|
args: [NgModel]
|
|
3138
3013
|
}] }); })();
|
|
3139
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TextareaComponent, { className: "TextareaComponent", filePath: "textarea/textarea.component.ts", lineNumber: 22 }); })();
|
|
3140
3014
|
|
|
3141
3015
|
class CaptionPositionDirective {
|
|
3142
3016
|
constructor(inj, app) {
|
|
@@ -3150,7 +3024,7 @@ class CaptionPositionDirective {
|
|
|
3150
3024
|
let mobileInputVal;
|
|
3151
3025
|
// In case of mobile date / time picker check for input element's value which has 'mobile-input' class
|
|
3152
3026
|
if (this.inputEl.length > 1 && this.inputEl.hasClass('mobile-input')) {
|
|
3153
|
-
forEach(this.inputEl, (el) => {
|
|
3027
|
+
_.forEach(this.inputEl, (el) => {
|
|
3154
3028
|
if ($(el).hasClass('mobile-input') && el.value) {
|
|
3155
3029
|
mobileInputVal = el.value;
|
|
3156
3030
|
}
|
|
@@ -3259,7 +3133,8 @@ class CaptionPositionDirective {
|
|
|
3259
3133
|
// isSelectMultiple is set to true when for select widget, multiple option is enabled
|
|
3260
3134
|
// Checking inputEl focus - when form is represented as dialog and the first field is automatically in focus
|
|
3261
3135
|
const isInputElFocused = this.inputEl && this.inputEl.is(':focus');
|
|
3262
|
-
|
|
3136
|
+
const localName = this.inputEl && this.inputEl.length && this.inputEl[0].localName;
|
|
3137
|
+
if ((data.isSelect && localName == 'select') || data.displayVal || data.isFocused || data.isSelectMultiple || isInputElFocused) {
|
|
3263
3138
|
data.nativeEl.addClass('float-active');
|
|
3264
3139
|
if (!data.displayVal && isInputElFocused) {
|
|
3265
3140
|
this.inputEl.attr('placeholder', this.placeholder);
|
|
@@ -3296,12 +3171,12 @@ class CaptionPositionDirective {
|
|
|
3296
3171
|
static { this.ɵfac = function CaptionPositionDirective_Factory(t) { return new (t || CaptionPositionDirective)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(i1$1.App)); }; }
|
|
3297
3172
|
static { this.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: CaptionPositionDirective, selectors: [["", "wmCaptionPosition", ""]] }); }
|
|
3298
3173
|
}
|
|
3299
|
-
(()
|
|
3174
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaptionPositionDirective, [{
|
|
3300
3175
|
type: Directive,
|
|
3301
3176
|
args: [{
|
|
3302
3177
|
selector: '[wmCaptionPosition]'
|
|
3303
3178
|
}]
|
|
3304
|
-
}], ()
|
|
3179
|
+
}], function () { return [{ type: i0.Injector }, { type: i1$1.App }]; }, null); })();
|
|
3305
3180
|
|
|
3306
3181
|
const components = [
|
|
3307
3182
|
ButtonComponent,
|
|
@@ -3329,7 +3204,7 @@ class InputModule {
|
|
|
3329
3204
|
WmComponentsModule,
|
|
3330
3205
|
IMaskModule] }); }
|
|
3331
3206
|
}
|
|
3332
|
-
(()
|
|
3207
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(InputModule, [{
|
|
3333
3208
|
type: NgModule,
|
|
3334
3209
|
args: [{
|
|
3335
3210
|
imports: [
|
|
@@ -3381,5 +3256,5 @@ class InputModule {
|
|
|
3381
3256
|
* Generated bundle index. Do not edit.
|
|
3382
3257
|
*/
|
|
3383
3258
|
|
|
3384
|
-
export { BaseFormComponent, BaseFormCustomComponent, ButtonComponent, ButtonGroupDirective, CaptionPositionDirective, CheckboxComponent, CheckboxsetComponent, CompositeDirective, DatasetAwareFormComponent, InputCalendarComponent, InputColorComponent, InputEmailComponent, InputModule, InputNumberComponent, InputTextComponent, NumberComponent, NumberLocale, RadiosetComponent, SelectComponent, SwitchComponent, TextareaComponent
|
|
3259
|
+
export { BaseFormComponent, BaseFormCustomComponent, ButtonComponent, ButtonGroupDirective, CaptionPositionDirective, CheckboxComponent, CheckboxsetComponent, CompositeDirective, DatasetAwareFormComponent, InputCalendarComponent, InputColorComponent, InputEmailComponent, InputModule, InputNumberComponent, InputTextComponent, NumberComponent, NumberLocale, RadiosetComponent, SelectComponent, SwitchComponent, TextareaComponent };
|
|
3385
3260
|
//# sourceMappingURL=index.mjs.map
|