@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,8 +1,8 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('@angular/forms'), require('angular-imask'), require('@wm/components/base'), require('@wm/core'), require('
|
|
3
|
-
typeof define === 'function' && define.amd ? define(['exports', '@angular/core', '@angular/common', '@angular/forms', 'angular-imask', '@wm/components/base', '@wm/core', '
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.wm = global.wm || {}, global.wm.components = global.wm.components || {}, global.wm.components.input = {}), global.ng.core, global.ng.common, global.ng.forms, global.angularIMask, global.wm.components.base, global.wm.core, global.
|
|
5
|
-
})(this, (function (exports, i0, i1, i2$1, i3, i2, i1$1,
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('@angular/forms'), require('angular-imask'), require('@wm/components/base'), require('@wm/core'), require('rxjs')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define(['exports', '@angular/core', '@angular/common', '@angular/forms', 'angular-imask', '@wm/components/base', '@wm/core', 'rxjs'], factory) :
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.wm = global.wm || {}, global.wm.components = global.wm.components || {}, global.wm.components.input = {}), global.ng.core, global.ng.common, global.ng.forms, global.angularIMask, global.wm.components.base, global.wm.core, global.rxjs));
|
|
5
|
+
})(this, (function (exports, i0, i1, i2$1, i3, i2, i1$1, rxjs) { 'use strict';
|
|
6
6
|
|
|
7
7
|
function _interopNamespaceDefault(e) {
|
|
8
8
|
var n = Object.create(null);
|
|
@@ -53,39 +53,39 @@
|
|
|
53
53
|
};
|
|
54
54
|
|
|
55
55
|
const _c0$c = ["wmButton", ""];
|
|
56
|
-
const _c1$b =
|
|
57
|
-
const _c2$8 = [".caret"];
|
|
58
|
-
const _c3$3 = (a0, a1, a2) => ({ width: a0, height: a1, margin: a2 });
|
|
59
|
-
const _c4$2 = (a0, a1, a2, a3) => ({ width: a0, height: a1, margin: a2, fontSize: a3 });
|
|
56
|
+
const _c1$b = function (a0, a1, a2) { return { width: a0, height: a1, margin: a2 }; };
|
|
60
57
|
function ButtonComponent_img_0_Template(rf, ctx) { if (rf & 1) {
|
|
61
58
|
i0__namespace.ɵɵelement(0, "img", 5);
|
|
62
59
|
i0__namespace.ɵɵpipe(1, "image");
|
|
63
60
|
} if (rf & 2) {
|
|
64
61
|
const ctx_r0 = i0__namespace.ɵɵnextContext();
|
|
65
|
-
i0__namespace.ɵɵproperty("src", i0__namespace.ɵɵpipeBind1(1, 2, ctx_r0.iconurl), i0__namespace.ɵɵsanitizeUrl)("ngStyle", i0__namespace.ɵɵpureFunction3(4,
|
|
62
|
+
i0__namespace.ɵɵproperty("src", i0__namespace.ɵɵpipeBind1(1, 2, ctx_r0.iconurl), i0__namespace.ɵɵsanitizeUrl)("ngStyle", i0__namespace.ɵɵpureFunction3(4, _c1$b, ctx_r0.iconwidth, ctx_r0.iconheight, ctx_r0.iconmargin));
|
|
66
63
|
} }
|
|
64
|
+
const _c2$5 = function (a0, a1, a2, a3) { return { width: a0, height: a1, margin: a2, fontSize: a3 }; };
|
|
67
65
|
function ButtonComponent_i_1_Template(rf, ctx) { if (rf & 1) {
|
|
68
66
|
i0__namespace.ɵɵelement(0, "i", 6);
|
|
69
67
|
} if (rf & 2) {
|
|
70
|
-
const
|
|
71
|
-
i0__namespace.ɵɵclassMapInterpolate1("app-icon ",
|
|
72
|
-
i0__namespace.ɵɵproperty("ngStyle", i0__namespace.ɵɵpureFunction4(4,
|
|
68
|
+
const ctx_r1 = i0__namespace.ɵɵnextContext();
|
|
69
|
+
i0__namespace.ɵɵclassMapInterpolate1("app-icon ", ctx_r1.iconclass, "");
|
|
70
|
+
i0__namespace.ɵɵproperty("ngStyle", i0__namespace.ɵɵpureFunction4(4, _c2$5, ctx_r1.iconwidth, ctx_r1.iconheight, ctx_r1.iconmargin, ctx_r1.iconwidth));
|
|
73
71
|
} }
|
|
74
72
|
function ButtonComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
75
73
|
i0__namespace.ɵɵelementStart(0, "span", 7);
|
|
76
74
|
i0__namespace.ɵɵtext(1);
|
|
77
75
|
i0__namespace.ɵɵelementEnd();
|
|
78
76
|
} if (rf & 2) {
|
|
79
|
-
const
|
|
80
|
-
i0__namespace.ɵɵadvance();
|
|
81
|
-
i0__namespace.ɵɵtextInterpolate2("",
|
|
77
|
+
const ctx_r2 = i0__namespace.ɵɵnextContext();
|
|
78
|
+
i0__namespace.ɵɵadvance(1);
|
|
79
|
+
i0__namespace.ɵɵtextInterpolate2("", ctx_r2.caption, " ", ctx_r2.appLocale.LABEL_ICON, "");
|
|
82
80
|
} }
|
|
83
81
|
function ButtonComponent_span_5_Template(rf, ctx) { if (rf & 1) {
|
|
84
82
|
i0__namespace.ɵɵelement(0, "span", 8);
|
|
85
83
|
} if (rf & 2) {
|
|
86
|
-
const
|
|
87
|
-
i0__namespace.ɵɵproperty("textContent",
|
|
84
|
+
const ctx_r3 = i0__namespace.ɵɵnextContext();
|
|
85
|
+
i0__namespace.ɵɵproperty("textContent", ctx_r3.badgevalue);
|
|
88
86
|
} }
|
|
87
|
+
const _c3$2 = [[["", 8, "caret"]]];
|
|
88
|
+
const _c4$2 = [".caret"];
|
|
89
89
|
const DEFAULT_CLS$6 = 'btn app-button';
|
|
90
90
|
const WIDGET_CONFIG$e = {
|
|
91
91
|
widgetType: 'wm-button',
|
|
@@ -94,45 +94,42 @@
|
|
|
94
94
|
};
|
|
95
95
|
class ButtonComponent extends i2.StylableComponent {
|
|
96
96
|
static { this.initializeProps = registerProps$e(); }
|
|
97
|
-
constructor(inj
|
|
98
|
-
super(inj, WIDGET_CONFIG$e
|
|
97
|
+
constructor(inj) {
|
|
98
|
+
super(inj, WIDGET_CONFIG$e);
|
|
99
99
|
i2.styler(this.nativeElement, this);
|
|
100
100
|
}
|
|
101
|
-
static { this.ɵfac = function ButtonComponent_Factory(t) { return new (t || ButtonComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector)
|
|
101
|
+
static { this.ɵfac = function ButtonComponent_Factory(t) { return new (t || ButtonComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector)); }; }
|
|
102
102
|
static { this.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: ButtonComponent, selectors: [["button", "wmButton", ""]], hostVars: 5, hostBindings: function ButtonComponent_HostBindings(rf, ctx) { if (rf & 2) {
|
|
103
103
|
i0__namespace.ɵɵhostProperty("type", ctx.type)("tabIndex", ctx.tabindex)("disabled", ctx.disabled);
|
|
104
104
|
i0__namespace.ɵɵattribute("accesskey", ctx.shortcutkey)("icon-position", ctx.iconposition);
|
|
105
105
|
} }, exportAs: ["wmButton"], features: [i0__namespace.ɵɵProvidersFeature([
|
|
106
106
|
i2.provideAsWidgetRef(ButtonComponent)
|
|
107
|
-
]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c0$c, ngContentSelectors:
|
|
108
|
-
i0__namespace.ɵɵprojectionDef(
|
|
109
|
-
i0__namespace.ɵɵtemplate(0, ButtonComponent_img_0_Template, 2, 8, "img", 0)
|
|
107
|
+
]), i0__namespace.ɵɵ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) {
|
|
108
|
+
i0__namespace.ɵɵprojectionDef(_c3$2);
|
|
109
|
+
i0__namespace.ɵɵtemplate(0, ButtonComponent_img_0_Template, 2, 8, "img", 0);
|
|
110
|
+
i0__namespace.ɵɵtemplate(1, ButtonComponent_i_1_Template, 1, 9, "i", 1);
|
|
111
|
+
i0__namespace.ɵɵtemplate(2, ButtonComponent_span_2_Template, 2, 2, "span", 2);
|
|
110
112
|
i0__namespace.ɵɵelement(3, "span", 3);
|
|
111
113
|
i0__namespace.ɵɵprojection(4);
|
|
112
114
|
i0__namespace.ɵɵtemplate(5, ButtonComponent_span_5_Template, 1, 1, "span", 4);
|
|
113
115
|
} if (rf & 2) {
|
|
114
116
|
i0__namespace.ɵɵproperty("ngIf", ctx.iconurl);
|
|
115
|
-
i0__namespace.ɵɵadvance();
|
|
117
|
+
i0__namespace.ɵɵadvance(1);
|
|
116
118
|
i0__namespace.ɵɵproperty("ngIf", ctx.iconclass);
|
|
117
|
-
i0__namespace.ɵɵadvance();
|
|
119
|
+
i0__namespace.ɵɵadvance(1);
|
|
118
120
|
i0__namespace.ɵɵproperty("ngIf", ctx.iconclass);
|
|
119
|
-
i0__namespace.ɵɵadvance();
|
|
121
|
+
i0__namespace.ɵɵadvance(1);
|
|
120
122
|
i0__namespace.ɵɵproperty("innerHTML", ctx.caption, i0__namespace.ɵɵsanitizeHtml);
|
|
121
123
|
i0__namespace.ɵɵadvance(2);
|
|
122
124
|
i0__namespace.ɵɵproperty("ngIf", ctx.badgevalue);
|
|
123
125
|
} }, dependencies: [i1__namespace.NgIf, i1__namespace.NgStyle, i2__namespace.TextContentDirective, i2__namespace.ImagePipe], encapsulation: 2 }); }
|
|
124
126
|
}
|
|
125
|
-
(()
|
|
127
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(ButtonComponent, [{
|
|
126
128
|
type: i0.Component,
|
|
127
129
|
args: [{ selector: 'button[wmButton]', providers: [
|
|
128
130
|
i2.provideAsWidgetRef(ButtonComponent)
|
|
129
131
|
], 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" }]
|
|
130
|
-
}], ()
|
|
131
|
-
type: i0.Inject,
|
|
132
|
-
args: ['EXPLICIT_CONTEXT']
|
|
133
|
-
}, {
|
|
134
|
-
type: i0.Optional
|
|
135
|
-
}] }], { type: [{
|
|
132
|
+
}], function () { return [{ type: i0__namespace.Injector }]; }, { type: [{
|
|
136
133
|
type: i0.HostBinding,
|
|
137
134
|
args: ['type']
|
|
138
135
|
}], tabindex: [{
|
|
@@ -148,7 +145,6 @@
|
|
|
148
145
|
type: i0.HostBinding,
|
|
149
146
|
args: ['attr.icon-position']
|
|
150
147
|
}] }); })();
|
|
151
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassDebugInfo(ButtonComponent, { className: "ButtonComponent", filePath: "button/button.component.ts", lineNumber: 22 }); })();
|
|
152
148
|
|
|
153
149
|
const registerProps$d = () => {
|
|
154
150
|
i2.register('wm-buttongroup', new Map([
|
|
@@ -171,11 +167,11 @@
|
|
|
171
167
|
this.$element.find('.app-button').removeClass('selected');
|
|
172
168
|
$target.addClass('selected');
|
|
173
169
|
}
|
|
174
|
-
constructor(inj
|
|
175
|
-
super(inj, WIDGET_CONFIG$d
|
|
170
|
+
constructor(inj) {
|
|
171
|
+
super(inj, WIDGET_CONFIG$d);
|
|
176
172
|
i2.styler(this.nativeElement, this, i2.APPLY_STYLES_TYPE.CONTAINER);
|
|
177
173
|
}
|
|
178
|
-
static { this.ɵfac = function ButtonGroupDirective_Factory(t) { return new (t || ButtonGroupDirective)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector)
|
|
174
|
+
static { this.ɵfac = function ButtonGroupDirective_Factory(t) { return new (t || ButtonGroupDirective)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector)); }; }
|
|
179
175
|
static { this.ɵdir = /*@__PURE__*/ i0__namespace.ɵɵdefineDirective({ type: ButtonGroupDirective, selectors: [["", "wmButtonGroup", ""]], hostVars: 2, hostBindings: function ButtonGroupDirective_HostBindings(rf, ctx) { if (rf & 1) {
|
|
180
176
|
i0__namespace.ɵɵlistener("click", function ButtonGroupDirective_click_HostBindingHandler($event) { return ctx.handleClick($event); });
|
|
181
177
|
} if (rf & 2) {
|
|
@@ -184,7 +180,7 @@
|
|
|
184
180
|
i2.provideAsWidgetRef(ButtonGroupDirective)
|
|
185
181
|
]), i0__namespace.ɵɵInheritDefinitionFeature] }); }
|
|
186
182
|
}
|
|
187
|
-
(()
|
|
183
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(ButtonGroupDirective, [{
|
|
188
184
|
type: i0.Directive,
|
|
189
185
|
args: [{
|
|
190
186
|
selector: '[wmButtonGroup]',
|
|
@@ -192,12 +188,7 @@
|
|
|
192
188
|
i2.provideAsWidgetRef(ButtonGroupDirective)
|
|
193
189
|
]
|
|
194
190
|
}]
|
|
195
|
-
}], ()
|
|
196
|
-
type: i0.Inject,
|
|
197
|
-
args: ['EXPLICIT_CONTEXT']
|
|
198
|
-
}, {
|
|
199
|
-
type: i0.Optional
|
|
200
|
-
}] }], { vertical: [{
|
|
191
|
+
}], function () { return [{ type: i0__namespace.Injector }]; }, { vertical: [{
|
|
201
192
|
type: i0.HostBinding,
|
|
202
193
|
args: ['class.btn-group-vertical']
|
|
203
194
|
}], handleClick: [{
|
|
@@ -206,8 +197,8 @@
|
|
|
206
197
|
}] }); })();
|
|
207
198
|
|
|
208
199
|
class BaseFormComponent extends i2.StylableComponent {
|
|
209
|
-
constructor(inj, config,
|
|
210
|
-
super(inj, config,
|
|
200
|
+
constructor(inj, config, initPromise) {
|
|
201
|
+
super(inj, config, initPromise);
|
|
211
202
|
this.inj = inj;
|
|
212
203
|
this.binddatavalue = this.$element.attr('datavalue.bind');
|
|
213
204
|
}
|
|
@@ -236,11 +227,11 @@
|
|
|
236
227
|
}
|
|
237
228
|
binddatavalue = binddatavalue.replace(/\[\$i\]/g, '[0]');
|
|
238
229
|
// In case of list widget context will be the listItem.
|
|
239
|
-
if (
|
|
240
|
-
|
|
230
|
+
if (_.has(this.context, binddatavalue.split('.')[0])) {
|
|
231
|
+
_.set(this.context, binddatavalue, value);
|
|
241
232
|
}
|
|
242
233
|
else {
|
|
243
|
-
|
|
234
|
+
_.set(this.viewParent, binddatavalue, value);
|
|
244
235
|
}
|
|
245
236
|
}
|
|
246
237
|
invokeOnChange(value, $event) {
|
|
@@ -273,20 +264,15 @@
|
|
|
273
264
|
});
|
|
274
265
|
}
|
|
275
266
|
}
|
|
276
|
-
static { this.ɵfac = function BaseFormComponent_Factory(t) { return new (t || BaseFormComponent)(i0__namespace.ɵɵinject(i0__namespace.Injector), i0__namespace.ɵɵinject(i2.WidgetConfig), i0__namespace.ɵɵinject(
|
|
267
|
+
static { this.ɵfac = function BaseFormComponent_Factory(t) { return new (t || BaseFormComponent)(i0__namespace.ɵɵinject(i0__namespace.Injector), i0__namespace.ɵɵinject(i2.WidgetConfig), i0__namespace.ɵɵinject(Promise)); }; }
|
|
277
268
|
static { this.ɵprov = /*@__PURE__*/ i0__namespace.ɵɵdefineInjectable({ token: BaseFormComponent, factory: BaseFormComponent.ɵfac }); }
|
|
278
269
|
}
|
|
279
|
-
(()
|
|
270
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(BaseFormComponent, [{
|
|
280
271
|
type: i0.Injectable
|
|
281
|
-
}], ()
|
|
272
|
+
}], function () { return [{ type: i0__namespace.Injector }, { type: undefined, decorators: [{
|
|
282
273
|
type: i0.Inject,
|
|
283
274
|
args: [i2.WidgetConfig]
|
|
284
|
-
}] }, { type:
|
|
285
|
-
type: i0.Inject,
|
|
286
|
-
args: ['EXPLICIT_CONTEXT']
|
|
287
|
-
}, {
|
|
288
|
-
type: i0.Optional
|
|
289
|
-
}] }, { type: Promise }], null); })();
|
|
275
|
+
}] }, { type: Promise }]; }, null); })();
|
|
290
276
|
|
|
291
277
|
/*
|
|
292
278
|
* WMS-18269
|
|
@@ -366,10 +352,10 @@
|
|
|
366
352
|
validate(control) {
|
|
367
353
|
return this['show'] ? validateRequiredBind(this['required'])(control) : null;
|
|
368
354
|
}
|
|
369
|
-
static { this.ɵfac = /*@__PURE__*/ (
|
|
355
|
+
static { this.ɵfac = /*@__PURE__*/ function () { let ɵBaseFormCustomComponent_BaseFactory; return function BaseFormCustomComponent_Factory(t) { return (ɵBaseFormCustomComponent_BaseFactory || (ɵBaseFormCustomComponent_BaseFactory = i0__namespace.ɵɵgetInheritedFactory(BaseFormCustomComponent)))(t || BaseFormCustomComponent); }; }(); }
|
|
370
356
|
static { this.ɵprov = /*@__PURE__*/ i0__namespace.ɵɵdefineInjectable({ token: BaseFormCustomComponent, factory: BaseFormCustomComponent.ɵfac }); }
|
|
371
357
|
}
|
|
372
|
-
(()
|
|
358
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(BaseFormCustomComponent, [{
|
|
373
359
|
type: i0.Injectable
|
|
374
360
|
}], null, null); })();
|
|
375
361
|
|
|
@@ -399,8 +385,7 @@
|
|
|
399
385
|
|
|
400
386
|
const _c0$b = ["checkbox"];
|
|
401
387
|
const _c1$a = ["wmCheckbox", ""];
|
|
402
|
-
const _c2$
|
|
403
|
-
const _c3$2 = () => ({ standalone: true });
|
|
388
|
+
const _c2$4 = function (a0, a1, a2) { return { "unchecked": a0, "disabled": a1, "required": a2 }; };
|
|
404
389
|
const DEFAULT_CLS$4 = 'app-checkbox checkbox';
|
|
405
390
|
const WIDGET_CONFIG$c = {
|
|
406
391
|
widgetType: 'wm-checkbox',
|
|
@@ -438,8 +423,8 @@
|
|
|
438
423
|
this.proxyModel = (i1$1.isDefined(v) && v !== '') ? v === this._checkedvalue : undefined;
|
|
439
424
|
this.updatePrevDatavalue(this.datavalue);
|
|
440
425
|
}
|
|
441
|
-
constructor(inj, checkedVal, uncheckedVal, type
|
|
442
|
-
super(inj, WIDGET_CONFIG$c
|
|
426
|
+
constructor(inj, checkedVal, uncheckedVal, type) {
|
|
427
|
+
super(inj, WIDGET_CONFIG$c);
|
|
443
428
|
this.type = type;
|
|
444
429
|
this._caption = ' ';
|
|
445
430
|
this._checkedvalue = unStringify(checkedVal, true);
|
|
@@ -496,7 +481,7 @@
|
|
|
496
481
|
super.ngAfterViewInit();
|
|
497
482
|
i2.styler(this.nativeElement.querySelector('label'), this);
|
|
498
483
|
}
|
|
499
|
-
static { this.ɵfac = function CheckboxComponent_Factory(t) { return new (t || CheckboxComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵinjectAttribute('checkedvalue'), i0__namespace.ɵɵinjectAttribute('uncheckedvalue'), i0__namespace.ɵɵinjectAttribute('type')
|
|
484
|
+
static { this.ɵfac = function CheckboxComponent_Factory(t) { return new (t || CheckboxComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵinjectAttribute('checkedvalue'), i0__namespace.ɵɵinjectAttribute('uncheckedvalue'), i0__namespace.ɵɵinjectAttribute('type')); }; }
|
|
500
485
|
static { this.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: CheckboxComponent, selectors: [["", "wmCheckbox", ""]], viewQuery: function CheckboxComponent_Query(rf, ctx) { if (rf & 1) {
|
|
501
486
|
i0__namespace.ɵɵviewQuery(i2$1.NgModel, 5);
|
|
502
487
|
i0__namespace.ɵɵviewQuery(_c0$b, 7, i0.ElementRef);
|
|
@@ -510,20 +495,17 @@
|
|
|
510
495
|
i2.provideAs(CheckboxComponent, i2$1.NG_VALUE_ACCESSOR, true),
|
|
511
496
|
i2.provideAs(CheckboxComponent, i2$1.NG_VALIDATORS, true),
|
|
512
497
|
i2.provideAsWidgetRef(CheckboxComponent)
|
|
513
|
-
]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c1$a, decls: 6, vars:
|
|
514
|
-
|
|
515
|
-
i0__namespace.ɵɵ
|
|
516
|
-
i0__namespace.ɵɵtwoWayListener("ngModelChange", function CheckboxComponent_Template_input_ngModelChange_1_listener($event) { i0__namespace.ɵɵrestoreView(_r1); i0__namespace.ɵɵtwoWayBindingSet(ctx.proxyModel, $event) || (ctx.proxyModel = $event); return i0__namespace.ɵɵresetView($event); });
|
|
517
|
-
i0__namespace.ɵɵlistener("blur", function CheckboxComponent_Template_input_blur_1_listener($event) { i0__namespace.ɵɵrestoreView(_r1); return i0__namespace.ɵɵresetView(ctx.invokeOnTouched($event)); })("ngModelChange", function CheckboxComponent_Template_input_ngModelChange_1_listener($event) { i0__namespace.ɵɵrestoreView(_r1); return i0__namespace.ɵɵresetView(ctx.handleChange($event)); });
|
|
498
|
+
]), i0__namespace.ɵɵ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) {
|
|
499
|
+
i0__namespace.ɵɵelementStart(0, "label", 0)(1, "input", 1, 2);
|
|
500
|
+
i0__namespace.ɵɵ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); });
|
|
518
501
|
i0__namespace.ɵɵelementEnd();
|
|
519
502
|
i0__namespace.ɵɵelement(3, "span", 3)(4, "img", 4);
|
|
520
503
|
i0__namespace.ɵɵelementEnd();
|
|
521
504
|
i0__namespace.ɵɵelement(5, "input", 5);
|
|
522
505
|
} if (rf & 2) {
|
|
523
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction3(
|
|
524
|
-
i0__namespace.ɵɵadvance();
|
|
525
|
-
i0__namespace.ɵɵ
|
|
526
|
-
i0__namespace.ɵɵproperty("ngModelOptions", i0__namespace.ɵɵpureFunction0(18, _c3$2))("readonly", ctx.readonly)("required", ctx.required)("disabled", ctx.disabled || ctx.readonly)("tabindex", ctx.tabindex);
|
|
506
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction3(13, _c2$4, !ctx.proxyModel, ctx.disabled || ctx.readonly, ctx.required && ctx._caption));
|
|
507
|
+
i0__namespace.ɵɵadvance(1);
|
|
508
|
+
i0__namespace.ɵɵproperty("ngModel", ctx.proxyModel)("readonly", ctx.readonly)("required", ctx.required)("disabled", ctx.disabled || ctx.readonly)("tabindex", ctx.tabindex);
|
|
527
509
|
i0__namespace.ɵɵattribute("name", ctx.name)("aria-label", ctx.hint)("aria-checked", !!ctx.proxyModel)("accesskey", ctx.shortcutkey);
|
|
528
510
|
i0__namespace.ɵɵadvance(2);
|
|
529
511
|
i0__namespace.ɵɵproperty("innerHtml", ctx._caption, i0__namespace.ɵɵsanitizeHtml);
|
|
@@ -531,14 +513,14 @@
|
|
|
531
513
|
i0__namespace.ɵɵproperty("disabled", ctx.disabled)("value", ctx.proxyModel);
|
|
532
514
|
} }, dependencies: [i1__namespace.NgClass, i2$1__namespace.CheckboxControlValueAccessor, i2$1__namespace.NgControlStatus, i2$1__namespace.CheckboxRequiredValidator, i2$1__namespace.NgModel], encapsulation: 2 }); }
|
|
533
515
|
}
|
|
534
|
-
(()
|
|
516
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(CheckboxComponent, [{
|
|
535
517
|
type: i0.Component,
|
|
536
518
|
args: [{ selector: '[wmCheckbox]', providers: [
|
|
537
519
|
i2.provideAs(CheckboxComponent, i2$1.NG_VALUE_ACCESSOR, true),
|
|
538
520
|
i2.provideAs(CheckboxComponent, i2$1.NG_VALIDATORS, true),
|
|
539
521
|
i2.provideAsWidgetRef(CheckboxComponent)
|
|
540
|
-
], template: "<label [ngClass]=\"{'unchecked': !proxyModel, 'disabled': (disabled || readonly), 'required': (required && _caption)}\">\n <input type=\"checkbox\"\n role=\"checkbox\"\n #checkbox\n [attr.name]=\"name\"\n [attr.aria-label]=\"hint\"\n [attr.aria-checked]=\"!!proxyModel\"\n focus-target\n [(ngModel)]=\"proxyModel\"\n [
|
|
541
|
-
}], ()
|
|
522
|
+
], template: "<label [ngClass]=\"{'unchecked': !proxyModel, 'disabled': (disabled || readonly), 'required': (required && _caption)}\">\n <input type=\"checkbox\"\n role=\"checkbox\"\n #checkbox\n [attr.name]=\"name\"\n [attr.aria-label]=\"hint\"\n [attr.aria-checked]=\"!!proxyModel\"\n focus-target\n [(ngModel)]=\"proxyModel\"\n [readonly]=\"readonly\"\n [required]=\"required\"\n [disabled]=\"disabled || readonly\"\n [attr.accesskey]=\"shortcutkey\"\n [tabindex]=\"tabindex\"\n (blur)=\"invokeOnTouched($event)\"\n (ngModelChange)=\"handleChange($event)\">\n <span class=\"caption\" [innerHtml]=\"_caption\"></span>\n <img alt=\"Checkbox Image\" aria-hidden=\"true\" src=\"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" class=\"switch\"/>\n</label>\n<input type=\"hidden\" class=\"ng-hide model-holder\" aria-hidden=\"true\" tabindex=\"-1\" [disabled]=\"disabled\" [value]=\"proxyModel\">\n" }]
|
|
523
|
+
}], function () { return [{ type: i0__namespace.Injector }, { type: undefined, decorators: [{
|
|
542
524
|
type: i0.Attribute,
|
|
543
525
|
args: ['checkedvalue']
|
|
544
526
|
}] }, { type: undefined, decorators: [{
|
|
@@ -547,12 +529,7 @@
|
|
|
547
529
|
}] }, { type: undefined, decorators: [{
|
|
548
530
|
type: i0.Attribute,
|
|
549
531
|
args: ['type']
|
|
550
|
-
}] }, {
|
|
551
|
-
type: i0.Inject,
|
|
552
|
-
args: ['EXPLICIT_CONTEXT']
|
|
553
|
-
}, {
|
|
554
|
-
type: i0.Optional
|
|
555
|
-
}] }], { ngModel: [{
|
|
532
|
+
}] }]; }, { ngModel: [{
|
|
556
533
|
type: i0.ViewChild,
|
|
557
534
|
args: [i2$1.NgModel]
|
|
558
535
|
}], checkboxEl: [{
|
|
@@ -562,7 +539,6 @@
|
|
|
562
539
|
type: i0.HostListener,
|
|
563
540
|
args: ['keydown.enter', ['$event', '"ENTER"']]
|
|
564
541
|
}] }); })();
|
|
565
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassDebugInfo(CheckboxComponent, { className: "CheckboxComponent", filePath: "checkbox/checkbox.component.ts", lineNumber: 59 }); })();
|
|
566
542
|
|
|
567
543
|
class DatasetAwareFormComponent extends BaseFormCustomComponent {
|
|
568
544
|
get modelByKey() {
|
|
@@ -591,17 +567,17 @@
|
|
|
591
567
|
// invoke on datavalue change.
|
|
592
568
|
this.invokeOnChange(val, undefined, true);
|
|
593
569
|
}
|
|
594
|
-
constructor(inj, config,
|
|
595
|
-
super(inj, config
|
|
570
|
+
constructor(inj, config, groupby) {
|
|
571
|
+
super(inj, config);
|
|
596
572
|
this.groupby = groupby;
|
|
597
573
|
this.datasetItems = [];
|
|
598
574
|
this.acceptsArray = false; // set to true if proxyModel on widget accepts array type.
|
|
599
575
|
this.dataset$ = new rxjs.Subject();
|
|
600
576
|
this.datavalue$ = new rxjs.Subject();
|
|
601
577
|
this.allowempty = true;
|
|
602
|
-
this._debounceDatavalueUpdation =
|
|
578
|
+
this._debounceDatavalueUpdation = _.debounce((values) => {
|
|
603
579
|
// if no item is found in datasetItems, wait untill the dataset updates by preserving the datavalue in toBeProcessedDatavalue.
|
|
604
|
-
if (!i1$1.isDefined(this._modelByKey) || (
|
|
580
|
+
if (!i1$1.isDefined(this._modelByKey) || (_.isArray(this._modelByKey) && !this._modelByKey.length)) {
|
|
605
581
|
this.toBeProcessedDatavalue = values;
|
|
606
582
|
this._modelByValue = '';
|
|
607
583
|
}
|
|
@@ -609,7 +585,7 @@
|
|
|
609
585
|
// obtain the first array value when multiple is set to false.
|
|
610
586
|
// set the modelByValue only when undefined.
|
|
611
587
|
if (!i1$1.isDefined(this._modelByValue)) {
|
|
612
|
-
this._modelByValue = (!this.multiple &&
|
|
588
|
+
this._modelByValue = (!this.multiple && _.isArray(this.toBeProcessedDatavalue)) ? this.toBeProcessedDatavalue[0] : this.toBeProcessedDatavalue;
|
|
613
589
|
}
|
|
614
590
|
this.toBeProcessedDatavalue = undefined;
|
|
615
591
|
}
|
|
@@ -639,7 +615,7 @@
|
|
|
639
615
|
if (!this.datasetItems.length) {
|
|
640
616
|
return;
|
|
641
617
|
}
|
|
642
|
-
if (this.multiple && !
|
|
618
|
+
if (this.multiple && !_.isArray(keys)) {
|
|
643
619
|
keys = [keys];
|
|
644
620
|
}
|
|
645
621
|
// Set the _modelByKey to the modified keys.
|
|
@@ -647,10 +623,10 @@
|
|
|
647
623
|
if (this.multiple) {
|
|
648
624
|
this._modelByValue = [];
|
|
649
625
|
keys.forEach(key => {
|
|
650
|
-
const itemByKey =
|
|
626
|
+
const itemByKey = _.find(this.datasetItems, item => {
|
|
651
627
|
// not triple equal, as the instance type can be different.
|
|
652
628
|
// only value comparison should be done.
|
|
653
|
-
return
|
|
629
|
+
return _.toString(item.key) === _.toString(key);
|
|
654
630
|
});
|
|
655
631
|
if (itemByKey) {
|
|
656
632
|
itemByKey.selected = true;
|
|
@@ -660,10 +636,10 @@
|
|
|
660
636
|
}
|
|
661
637
|
else {
|
|
662
638
|
this._modelByValue = '';
|
|
663
|
-
const itemByKey =
|
|
639
|
+
const itemByKey = _.find(this.datasetItems, item => {
|
|
664
640
|
// not triple equal, as the instance type can be different.
|
|
665
641
|
// only value comparison should be done.
|
|
666
|
-
return
|
|
642
|
+
return _.toString(item.key) === _.toString(keys);
|
|
667
643
|
});
|
|
668
644
|
if (itemByKey) {
|
|
669
645
|
itemByKey.selected = true;
|
|
@@ -682,14 +658,14 @@
|
|
|
682
658
|
selectByValue(values) {
|
|
683
659
|
this.resetDatasetItems();
|
|
684
660
|
// if datavalue is not defined or empty then set the model as undefined.
|
|
685
|
-
if (!i1$1.isDefined(values) || values === '' ||
|
|
661
|
+
if (!i1$1.isDefined(values) || values === '' || _.isNull(values) || (values instanceof Array && !values.length)) {
|
|
686
662
|
this._modelByKey = undefined;
|
|
687
663
|
// do not return when allowempty is set to true.
|
|
688
664
|
if (!this.allowempty || !i1$1.isDefined(values)) {
|
|
689
665
|
return;
|
|
690
666
|
}
|
|
691
667
|
}
|
|
692
|
-
if (this.acceptsArray && !
|
|
668
|
+
if (this.acceptsArray && !_.isArray(values)) {
|
|
693
669
|
values = this.allowempty ? [values] : i2.extractDataAsArray(values);
|
|
694
670
|
}
|
|
695
671
|
// preserve the datavalue if datasetItems are empty.
|
|
@@ -698,16 +674,16 @@
|
|
|
698
674
|
return;
|
|
699
675
|
}
|
|
700
676
|
const filterField = this.datafield === i2.ALLFIELDS ? 'dataObject' : 'key';
|
|
701
|
-
if (
|
|
677
|
+
if (_.isArray(values)) {
|
|
702
678
|
this._modelByKey = [];
|
|
703
679
|
values.forEach(val => {
|
|
704
|
-
const itemByValue =
|
|
680
|
+
const itemByValue = _.find(this.datasetItems, item => {
|
|
705
681
|
if (filterField === 'dataObject') {
|
|
706
682
|
if (this.compareby && this.compareby.length) {
|
|
707
683
|
return i1$1.isEqualWithFields(item[filterField], val, this.compareby);
|
|
708
684
|
}
|
|
709
685
|
}
|
|
710
|
-
return (
|
|
686
|
+
return (_.isObject(item.value) ? _.isEqual(item.value, val) : (_.toString(item.value)).toLowerCase() === (_.toString(val)).toLowerCase());
|
|
711
687
|
});
|
|
712
688
|
if (itemByValue) {
|
|
713
689
|
itemByValue.selected = true;
|
|
@@ -717,13 +693,13 @@
|
|
|
717
693
|
}
|
|
718
694
|
else {
|
|
719
695
|
this._modelByKey = undefined;
|
|
720
|
-
const itemByValue =
|
|
696
|
+
const itemByValue = _.find(this.datasetItems, item => {
|
|
721
697
|
if (filterField === 'dataObject') {
|
|
722
698
|
if (this.compareby && this.compareby.length) {
|
|
723
699
|
return i1$1.isEqualWithFields(item[filterField], values, this.compareby);
|
|
724
700
|
}
|
|
725
701
|
}
|
|
726
|
-
return (
|
|
702
|
+
return (_.isObject(item.value) ? _.isEqual(item.value, values) : (_.toString(item.value)).toLowerCase() === (_.toString(values)).toLowerCase());
|
|
727
703
|
});
|
|
728
704
|
if (itemByValue) {
|
|
729
705
|
itemByValue.selected = true;
|
|
@@ -746,7 +722,7 @@
|
|
|
746
722
|
}
|
|
747
723
|
// This function parses the dataset and extracts the displayOptions from parsed dataset.
|
|
748
724
|
initDatasetItems() {
|
|
749
|
-
if (!this.dataset ||
|
|
725
|
+
if (!this.dataset || _.isEmpty(this.dataset)) {
|
|
750
726
|
this.datasetItems = [];
|
|
751
727
|
// notify the dataset listeners
|
|
752
728
|
this.dataset$.next(this.datasetItems);
|
|
@@ -774,7 +750,7 @@
|
|
|
774
750
|
postDatasetItemsInit() {
|
|
775
751
|
if (this.datasetItems.length && !this._defaultQueryInvoked) {
|
|
776
752
|
// use the latest of toBeProcessedDatavalue, datavalue
|
|
777
|
-
const _datavalue =
|
|
753
|
+
const _datavalue = _.isEmpty(this.toBeProcessedDatavalue) ? this.datavalue : this.toBeProcessedDatavalue;
|
|
778
754
|
this.selectByValue(_datavalue);
|
|
779
755
|
}
|
|
780
756
|
// notify the dataset listeners
|
|
@@ -844,23 +820,18 @@
|
|
|
844
820
|
this.cancelLocaleChangeSubscription();
|
|
845
821
|
}
|
|
846
822
|
}
|
|
847
|
-
static { this.ɵfac = function DatasetAwareFormComponent_Factory(t) { return new (t || DatasetAwareFormComponent)(i0__namespace.ɵɵinject(i0__namespace.Injector), i0__namespace.ɵɵinject(i2.WidgetConfig), i0__namespace.ɵɵ
|
|
823
|
+
static { this.ɵfac = function DatasetAwareFormComponent_Factory(t) { return new (t || DatasetAwareFormComponent)(i0__namespace.ɵɵinject(i0__namespace.Injector), i0__namespace.ɵɵinject(i2.WidgetConfig), i0__namespace.ɵɵinjectAttribute('groupby')); }; }
|
|
848
824
|
static { this.ɵprov = /*@__PURE__*/ i0__namespace.ɵɵdefineInjectable({ token: DatasetAwareFormComponent, factory: DatasetAwareFormComponent.ɵfac }); }
|
|
849
825
|
}
|
|
850
|
-
(()
|
|
826
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(DatasetAwareFormComponent, [{
|
|
851
827
|
type: i0.Injectable
|
|
852
|
-
}], ()
|
|
828
|
+
}], function () { return [{ type: i0__namespace.Injector }, { type: undefined, decorators: [{
|
|
853
829
|
type: i0.Inject,
|
|
854
830
|
args: [i2.WidgetConfig]
|
|
855
|
-
}] }, { type: undefined, decorators: [{
|
|
856
|
-
type: i0.Inject,
|
|
857
|
-
args: ['EXPLICIT_CONTEXT']
|
|
858
|
-
}, {
|
|
859
|
-
type: i0.Optional
|
|
860
831
|
}] }, { type: undefined, decorators: [{
|
|
861
832
|
type: i0.Attribute,
|
|
862
833
|
args: ['groupby']
|
|
863
|
-
}] }], null); })();
|
|
834
|
+
}] }]; }, null); })();
|
|
864
835
|
|
|
865
836
|
const checkboxsetProps = new Map([
|
|
866
837
|
['class', i2.PROP_STRING],
|
|
@@ -896,61 +867,60 @@
|
|
|
896
867
|
};
|
|
897
868
|
|
|
898
869
|
const _c0$a = ["wmCheckboxset", ""];
|
|
899
|
-
const _c1$9 = (a0
|
|
900
|
-
const _c2$6 = a0 => ({ "disabled": a0 });
|
|
901
|
-
const _c3$1 = a0 => ({ "collapsible-content": a0 });
|
|
902
|
-
const _c4$1 = (a0, a1) => ["checkbox", "app-checkbox", "group-list-item", a0, a1];
|
|
870
|
+
const _c1$9 = function (a0) { return { "disabled": a0 }; };
|
|
903
871
|
function CheckboxsetComponent_ng_template_0_li_0_label_1_Template(rf, ctx) { if (rf & 1) {
|
|
904
872
|
i0__namespace.ɵɵelementStart(0, "label", 8);
|
|
905
873
|
i0__namespace.ɵɵelement(1, "input", 9)(2, "span", 10);
|
|
906
874
|
i0__namespace.ɵɵelementEnd();
|
|
907
875
|
} if (rf & 2) {
|
|
908
|
-
const
|
|
909
|
-
const
|
|
910
|
-
const
|
|
911
|
-
const
|
|
912
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(12,
|
|
913
|
-
i0__namespace.ɵɵadvance();
|
|
914
|
-
i0__namespace.ɵɵproperty("name", "checkboxset_" +
|
|
915
|
-
i0__namespace.ɵɵattribute("aria-label",
|
|
916
|
-
i0__namespace.ɵɵadvance();
|
|
917
|
-
i0__namespace.ɵɵproperty("textContent",
|
|
876
|
+
const ctx_r9 = i0__namespace.ɵɵnextContext();
|
|
877
|
+
const item_r5 = ctx_r9.$implicit;
|
|
878
|
+
const i_r6 = ctx_r9.index;
|
|
879
|
+
const ctx_r7 = i0__namespace.ɵɵnextContext(2);
|
|
880
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(12, _c1$9, ctx_r7.disabled || ctx_r7.readonly))("title", item_r5.label);
|
|
881
|
+
i0__namespace.ɵɵadvance(1);
|
|
882
|
+
i0__namespace.ɵɵ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);
|
|
883
|
+
i0__namespace.ɵɵattribute("aria-label", item_r5.key)("aria-checked", item_r5.selected)("data-attr-index", i_r6);
|
|
884
|
+
i0__namespace.ɵɵadvance(1);
|
|
885
|
+
i0__namespace.ɵɵproperty("textContent", item_r5.label);
|
|
918
886
|
} }
|
|
919
887
|
function CheckboxsetComponent_ng_template_0_li_0_label_2_Template(rf, ctx) { if (rf & 1) {
|
|
920
888
|
i0__namespace.ɵɵelementStart(0, "label", 11);
|
|
921
889
|
i0__namespace.ɵɵelement(1, "input", 9)(2, "span", 12);
|
|
922
890
|
i0__namespace.ɵɵelementEnd();
|
|
923
891
|
} if (rf & 2) {
|
|
924
|
-
const
|
|
925
|
-
const
|
|
926
|
-
const
|
|
927
|
-
const
|
|
928
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(10,
|
|
929
|
-
i0__namespace.ɵɵadvance();
|
|
930
|
-
i0__namespace.ɵɵproperty("name", "checkboxset_" +
|
|
931
|
-
i0__namespace.ɵɵattribute("aria-label",
|
|
892
|
+
const ctx_r10 = i0__namespace.ɵɵnextContext();
|
|
893
|
+
const item_r5 = ctx_r10.$implicit;
|
|
894
|
+
const i_r6 = ctx_r10.index;
|
|
895
|
+
const ctx_r8 = i0__namespace.ɵɵnextContext(2);
|
|
896
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(10, _c1$9, ctx_r8.disabled || ctx_r8.readonly));
|
|
897
|
+
i0__namespace.ɵɵadvance(1);
|
|
898
|
+
i0__namespace.ɵɵ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);
|
|
899
|
+
i0__namespace.ɵɵattribute("aria-label", item_r5.key)("aria-checked", item_r5.selected)("data-attr-index", i_r6);
|
|
932
900
|
} }
|
|
901
|
+
const _c2$3 = function (a2, a3) { return ["checkbox", "app-checkbox", a2, a3]; };
|
|
933
902
|
function CheckboxsetComponent_ng_template_0_li_0_Template(rf, ctx) { if (rf & 1) {
|
|
934
|
-
const
|
|
903
|
+
const _r12 = i0__namespace.ɵɵgetCurrentView();
|
|
935
904
|
i0__namespace.ɵɵelementStart(0, "li", 5);
|
|
936
|
-
i0__namespace.ɵɵlistener("click", function CheckboxsetComponent_ng_template_0_li_0_Template_li_click_0_listener($event) { const
|
|
937
|
-
i0__namespace.ɵɵtemplate(1, CheckboxsetComponent_ng_template_0_li_0_label_1_Template, 3, 14, "label", 6)
|
|
905
|
+
i0__namespace.ɵɵlistener("click", function CheckboxsetComponent_ng_template_0_li_0_Template_li_click_0_listener($event) { const restoredCtx = i0__namespace.ɵɵrestoreView(_r12); const item_r5 = restoredCtx.$implicit; const ctx_r11 = i0__namespace.ɵɵnextContext(2); return i0__namespace.ɵɵresetView(ctx_r11.onCheckboxLabelClick($event, item_r5.key)); });
|
|
906
|
+
i0__namespace.ɵɵtemplate(1, CheckboxsetComponent_ng_template_0_li_0_label_1_Template, 3, 14, "label", 6);
|
|
907
|
+
i0__namespace.ɵɵtemplate(2, CheckboxsetComponent_ng_template_0_li_0_label_2_Template, 3, 12, "label", 7);
|
|
938
908
|
i0__namespace.ɵɵelementEnd();
|
|
939
909
|
} if (rf & 2) {
|
|
940
|
-
const
|
|
941
|
-
const
|
|
942
|
-
i0__namespace.ɵɵclassProp("active",
|
|
943
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction2(7,
|
|
944
|
-
i0__namespace.ɵɵadvance();
|
|
945
|
-
i0__namespace.ɵɵproperty("ngIf", !
|
|
946
|
-
i0__namespace.ɵɵadvance();
|
|
947
|
-
i0__namespace.ɵɵproperty("ngIf",
|
|
910
|
+
const item_r5 = ctx.$implicit;
|
|
911
|
+
const ctx_r4 = i0__namespace.ɵɵnextContext(2);
|
|
912
|
+
i0__namespace.ɵɵclassProp("active", item_r5.selected);
|
|
913
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction2(7, _c2$3, ctx_r4.itemclass, ctx_r4.itemsPerRowClass))("wmItemTemplate", ctx_r4.content)("userComponentParams", item_r5);
|
|
914
|
+
i0__namespace.ɵɵadvance(1);
|
|
915
|
+
i0__namespace.ɵɵproperty("ngIf", !ctx_r4.content);
|
|
916
|
+
i0__namespace.ɵɵadvance(1);
|
|
917
|
+
i0__namespace.ɵɵproperty("ngIf", ctx_r4.content);
|
|
948
918
|
} }
|
|
949
919
|
function CheckboxsetComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {
|
|
950
920
|
i0__namespace.ɵɵtemplate(0, CheckboxsetComponent_ng_template_0_li_0_Template, 3, 10, "li", 4);
|
|
951
921
|
} if (rf & 2) {
|
|
952
|
-
const
|
|
953
|
-
i0__namespace.ɵɵproperty("ngForOf",
|
|
922
|
+
const ctx_r0 = i0__namespace.ɵɵnextContext();
|
|
923
|
+
i0__namespace.ɵɵproperty("ngForOf", ctx_r0.datasetItems);
|
|
954
924
|
} }
|
|
955
925
|
function CheckboxsetComponent_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
956
926
|
i0__namespace.ɵɵelement(0, "div", 13);
|
|
@@ -958,98 +928,102 @@
|
|
|
958
928
|
function CheckboxsetComponent_ng_template_3_li_0_i_6_Template(rf, ctx) { if (rf & 1) {
|
|
959
929
|
i0__namespace.ɵɵelement(0, "i", 23);
|
|
960
930
|
} if (rf & 2) {
|
|
961
|
-
const
|
|
962
|
-
i0__namespace.ɵɵpropertyInterpolate2("title", "",
|
|
931
|
+
const ctx_r15 = i0__namespace.ɵɵnextContext(3);
|
|
932
|
+
i0__namespace.ɵɵpropertyInterpolate2("title", "", ctx_r15.appLocale.LABEL_COLLAPSE, "/", ctx_r15.appLocale.LABEL_EXPAND, "");
|
|
963
933
|
} }
|
|
964
934
|
function CheckboxsetComponent_ng_template_3_li_0_span_7_Template(rf, ctx) { if (rf & 1) {
|
|
965
935
|
i0__namespace.ɵɵelement(0, "span", 24);
|
|
966
936
|
} if (rf & 2) {
|
|
967
|
-
const
|
|
968
|
-
i0__namespace.ɵɵproperty("textContent",
|
|
937
|
+
const groupObj_r14 = i0__namespace.ɵɵnextContext().$implicit;
|
|
938
|
+
i0__namespace.ɵɵproperty("textContent", groupObj_r14.data.length);
|
|
969
939
|
} }
|
|
970
940
|
function CheckboxsetComponent_ng_template_3_li_0_li_8_label_1_Template(rf, ctx) { if (rf & 1) {
|
|
971
941
|
i0__namespace.ɵɵelementStart(0, "label", 8);
|
|
972
942
|
i0__namespace.ɵɵelement(1, "input", 26)(2, "span", 10);
|
|
973
943
|
i0__namespace.ɵɵelementEnd();
|
|
974
944
|
} if (rf & 2) {
|
|
975
|
-
const
|
|
976
|
-
const
|
|
977
|
-
const
|
|
978
|
-
const
|
|
979
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(10,
|
|
980
|
-
i0__namespace.ɵɵadvance();
|
|
981
|
-
i0__namespace.ɵɵproperty("name", "checkboxset_" +
|
|
982
|
-
i0__namespace.ɵɵattribute("data-attr-index",
|
|
983
|
-
i0__namespace.ɵɵadvance();
|
|
984
|
-
i0__namespace.ɵɵproperty("textContent",
|
|
945
|
+
const ctx_r23 = i0__namespace.ɵɵnextContext();
|
|
946
|
+
const item_r19 = ctx_r23.$implicit;
|
|
947
|
+
const i_r20 = ctx_r23.index;
|
|
948
|
+
const ctx_r21 = i0__namespace.ɵɵnextContext(3);
|
|
949
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(10, _c1$9, ctx_r21.disabled || ctx_r21.readonly))("title", item_r19.label);
|
|
950
|
+
i0__namespace.ɵɵadvance(1);
|
|
951
|
+
i0__namespace.ɵɵ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);
|
|
952
|
+
i0__namespace.ɵɵattribute("data-attr-index", i_r20);
|
|
953
|
+
i0__namespace.ɵɵadvance(1);
|
|
954
|
+
i0__namespace.ɵɵproperty("textContent", item_r19.label);
|
|
985
955
|
} }
|
|
986
956
|
function CheckboxsetComponent_ng_template_3_li_0_li_8_label_2_Template(rf, ctx) { if (rf & 1) {
|
|
987
957
|
i0__namespace.ɵɵelementStart(0, "label", 11);
|
|
988
958
|
i0__namespace.ɵɵelement(1, "input", 26)(2, "span", 27);
|
|
989
959
|
i0__namespace.ɵɵelementEnd();
|
|
990
960
|
} if (rf & 2) {
|
|
991
|
-
const
|
|
992
|
-
const
|
|
993
|
-
const
|
|
994
|
-
const
|
|
995
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8,
|
|
996
|
-
i0__namespace.ɵɵadvance();
|
|
997
|
-
i0__namespace.ɵɵproperty("name", "checkboxset_" +
|
|
998
|
-
i0__namespace.ɵɵattribute("data-attr-index",
|
|
961
|
+
const ctx_r24 = i0__namespace.ɵɵnextContext();
|
|
962
|
+
const item_r19 = ctx_r24.$implicit;
|
|
963
|
+
const i_r20 = ctx_r24.index;
|
|
964
|
+
const ctx_r22 = i0__namespace.ɵɵnextContext(3);
|
|
965
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c1$9, ctx_r22.disabled || ctx_r22.readonly));
|
|
966
|
+
i0__namespace.ɵɵadvance(1);
|
|
967
|
+
i0__namespace.ɵɵ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);
|
|
968
|
+
i0__namespace.ɵɵattribute("data-attr-index", i_r20);
|
|
999
969
|
} }
|
|
970
|
+
const _c3$1 = function (a3, a4) { return ["checkbox", "app-checkbox", "group-list-item", a3, a4]; };
|
|
1000
971
|
function CheckboxsetComponent_ng_template_3_li_0_li_8_Template(rf, ctx) { if (rf & 1) {
|
|
1001
|
-
const
|
|
972
|
+
const _r26 = i0__namespace.ɵɵgetCurrentView();
|
|
1002
973
|
i0__namespace.ɵɵelementStart(0, "li", 25);
|
|
1003
|
-
i0__namespace.ɵɵlistener("click", function CheckboxsetComponent_ng_template_3_li_0_li_8_Template_li_click_0_listener($event) { const
|
|
1004
|
-
i0__namespace.ɵɵtemplate(1, CheckboxsetComponent_ng_template_3_li_0_li_8_label_1_Template, 3, 12, "label", 6)
|
|
974
|
+
i0__namespace.ɵɵlistener("click", function CheckboxsetComponent_ng_template_3_li_0_li_8_Template_li_click_0_listener($event) { const restoredCtx = i0__namespace.ɵɵrestoreView(_r26); const item_r19 = restoredCtx.$implicit; const ctx_r25 = i0__namespace.ɵɵnextContext(3); return i0__namespace.ɵɵresetView(ctx_r25.onCheckboxLabelClick($event, item_r19)); });
|
|
975
|
+
i0__namespace.ɵɵtemplate(1, CheckboxsetComponent_ng_template_3_li_0_li_8_label_1_Template, 3, 12, "label", 6);
|
|
976
|
+
i0__namespace.ɵɵtemplate(2, CheckboxsetComponent_ng_template_3_li_0_li_8_label_2_Template, 3, 10, "label", 7);
|
|
1005
977
|
i0__namespace.ɵɵelementEnd();
|
|
1006
978
|
} if (rf & 2) {
|
|
1007
|
-
const
|
|
1008
|
-
const
|
|
1009
|
-
i0__namespace.ɵɵclassProp("active",
|
|
1010
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction2(7,
|
|
1011
|
-
i0__namespace.ɵɵadvance();
|
|
1012
|
-
i0__namespace.ɵɵproperty("ngIf", !
|
|
1013
|
-
i0__namespace.ɵɵadvance();
|
|
1014
|
-
i0__namespace.ɵɵproperty("ngIf",
|
|
979
|
+
const item_r19 = ctx.$implicit;
|
|
980
|
+
const ctx_r17 = i0__namespace.ɵɵnextContext(3);
|
|
981
|
+
i0__namespace.ɵɵclassProp("active", item_r19.selected);
|
|
982
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction2(7, _c3$1, ctx_r17.itemclass, ctx_r17.itemsPerRowClass))("wmItemTemplate", ctx_r17.content)("userComponentParams", item_r19);
|
|
983
|
+
i0__namespace.ɵɵadvance(1);
|
|
984
|
+
i0__namespace.ɵɵproperty("ngIf", !ctx_r17.content);
|
|
985
|
+
i0__namespace.ɵɵadvance(1);
|
|
986
|
+
i0__namespace.ɵɵproperty("ngIf", ctx_r17.content);
|
|
1015
987
|
} }
|
|
988
|
+
const _c4$1 = function (a0) { return { "collapsible-content": a0 }; };
|
|
1016
989
|
function CheckboxsetComponent_ng_template_3_li_0_Template(rf, ctx) { if (rf & 1) {
|
|
1017
|
-
const
|
|
990
|
+
const _r28 = i0__namespace.ɵɵgetCurrentView();
|
|
1018
991
|
i0__namespace.ɵɵelementStart(0, "li", 15)(1, "ul", 16)(2, "li", 17);
|
|
1019
|
-
i0__namespace.ɵɵlistener("click", function CheckboxsetComponent_ng_template_3_li_0_Template_li_click_2_listener($event) { i0__namespace.ɵɵrestoreView(
|
|
992
|
+
i0__namespace.ɵɵlistener("click", function CheckboxsetComponent_ng_template_3_li_0_Template_li_click_2_listener($event) { i0__namespace.ɵɵrestoreView(_r28); const ctx_r27 = i0__namespace.ɵɵnextContext(2); return i0__namespace.ɵɵresetView(ctx_r27.handleHeaderClick($event)); });
|
|
1020
993
|
i0__namespace.ɵɵelementStart(3, "h4", 18);
|
|
1021
994
|
i0__namespace.ɵɵtext(4);
|
|
1022
995
|
i0__namespace.ɵɵelementStart(5, "div", 19);
|
|
1023
|
-
i0__namespace.ɵɵtemplate(6, CheckboxsetComponent_ng_template_3_li_0_i_6_Template, 1,
|
|
996
|
+
i0__namespace.ɵɵtemplate(6, CheckboxsetComponent_ng_template_3_li_0_i_6_Template, 1, 2, "i", 20);
|
|
997
|
+
i0__namespace.ɵɵtemplate(7, CheckboxsetComponent_ng_template_3_li_0_span_7_Template, 1, 1, "span", 21);
|
|
1024
998
|
i0__namespace.ɵɵelementEnd()()();
|
|
1025
999
|
i0__namespace.ɵɵtemplate(8, CheckboxsetComponent_ng_template_3_li_0_li_8_Template, 3, 10, "li", 22);
|
|
1026
1000
|
i0__namespace.ɵɵelementEnd()();
|
|
1027
1001
|
} if (rf & 2) {
|
|
1028
|
-
const
|
|
1029
|
-
const
|
|
1002
|
+
const groupObj_r14 = ctx.$implicit;
|
|
1003
|
+
const ctx_r13 = i0__namespace.ɵɵnextContext(2);
|
|
1030
1004
|
i0__namespace.ɵɵadvance(2);
|
|
1031
|
-
i0__namespace.ɵɵproperty("title",
|
|
1005
|
+
i0__namespace.ɵɵproperty("title", groupObj_r14.key)("ngClass", i0__namespace.ɵɵpureFunction1(6, _c4$1, ctx_r13.collapsible));
|
|
1032
1006
|
i0__namespace.ɵɵadvance(2);
|
|
1033
|
-
i0__namespace.ɵɵtextInterpolate1("",
|
|
1007
|
+
i0__namespace.ɵɵtextInterpolate1("", groupObj_r14.key, " ");
|
|
1034
1008
|
i0__namespace.ɵɵadvance(2);
|
|
1035
|
-
i0__namespace.ɵɵproperty("ngIf",
|
|
1036
|
-
i0__namespace.ɵɵadvance();
|
|
1037
|
-
i0__namespace.ɵɵproperty("ngIf",
|
|
1038
|
-
i0__namespace.ɵɵadvance();
|
|
1039
|
-
i0__namespace.ɵɵproperty("ngForOf",
|
|
1009
|
+
i0__namespace.ɵɵproperty("ngIf", ctx_r13.collapsible);
|
|
1010
|
+
i0__namespace.ɵɵadvance(1);
|
|
1011
|
+
i0__namespace.ɵɵproperty("ngIf", ctx_r13.showcount);
|
|
1012
|
+
i0__namespace.ɵɵadvance(1);
|
|
1013
|
+
i0__namespace.ɵɵproperty("ngForOf", groupObj_r14.data);
|
|
1040
1014
|
} }
|
|
1041
1015
|
function CheckboxsetComponent_ng_template_3_Template(rf, ctx) { if (rf & 1) {
|
|
1042
1016
|
i0__namespace.ɵɵtemplate(0, CheckboxsetComponent_ng_template_3_li_0_Template, 9, 8, "li", 14);
|
|
1043
1017
|
} if (rf & 2) {
|
|
1044
|
-
const
|
|
1045
|
-
i0__namespace.ɵɵproperty("ngForOf",
|
|
1018
|
+
const ctx_r3 = i0__namespace.ɵɵnextContext();
|
|
1019
|
+
i0__namespace.ɵɵproperty("ngForOf", ctx_r3.groupedData);
|
|
1046
1020
|
} }
|
|
1047
1021
|
const DEFAULT_CLS$3 = 'app-checkboxset list-group inline';
|
|
1048
1022
|
const WIDGET_CONFIG$b = { widgetType: 'wm-checkboxset', hostClass: DEFAULT_CLS$3 };
|
|
1049
1023
|
class CheckboxsetComponent extends DatasetAwareFormComponent {
|
|
1050
1024
|
static { this.initializeProps = registerProps$b(); }
|
|
1051
|
-
constructor(inj
|
|
1052
|
-
super(inj, WIDGET_CONFIG$b
|
|
1025
|
+
constructor(inj) {
|
|
1026
|
+
super(inj, WIDGET_CONFIG$b);
|
|
1053
1027
|
this.layout = '';
|
|
1054
1028
|
i2.styler(this.nativeElement, this);
|
|
1055
1029
|
this.multiple = true;
|
|
@@ -1061,8 +1035,7 @@
|
|
|
1061
1035
|
// construct the _model from the checked elements.
|
|
1062
1036
|
const inputElements = this.nativeElement.querySelectorAll('input:checked');
|
|
1063
1037
|
const keys = [];
|
|
1064
|
-
|
|
1065
|
-
// @ts-ignore
|
|
1038
|
+
_.forEach(inputElements, ($el) => {
|
|
1066
1039
|
keys.push($el.value);
|
|
1067
1040
|
});
|
|
1068
1041
|
this.modelByKey = keys;
|
|
@@ -1081,7 +1054,7 @@
|
|
|
1081
1054
|
return callback();
|
|
1082
1055
|
});
|
|
1083
1056
|
}
|
|
1084
|
-
else if (!
|
|
1057
|
+
else if (!_.includes(['change'], eventName)) {
|
|
1085
1058
|
super.handleEvent(node, eventName, callback, locals);
|
|
1086
1059
|
}
|
|
1087
1060
|
}
|
|
@@ -1104,43 +1077,38 @@
|
|
|
1104
1077
|
super.onPropertyChange(key, nv, ov);
|
|
1105
1078
|
}
|
|
1106
1079
|
}
|
|
1107
|
-
static { this.ɵfac = function CheckboxsetComponent_Factory(t) { return new (t || CheckboxsetComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector)
|
|
1080
|
+
static { this.ɵfac = function CheckboxsetComponent_Factory(t) { return new (t || CheckboxsetComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector)); }; }
|
|
1108
1081
|
static { this.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: CheckboxsetComponent, selectors: [["", "wmCheckboxset", ""]], hostBindings: function CheckboxsetComponent_HostBindings(rf, ctx) { if (rf & 1) {
|
|
1109
1082
|
i0__namespace.ɵɵlistener("keydown.enter", function CheckboxsetComponent_keydown_enter_HostBindingHandler($event) { return ctx.onKeyDown($event, "ENTER"); });
|
|
1110
1083
|
} }, exportAs: ["wmCheckboxset"], features: [i0__namespace.ɵɵProvidersFeature([
|
|
1111
1084
|
i2.provideAs(CheckboxsetComponent, i2$1.NG_VALUE_ACCESSOR, true),
|
|
1112
1085
|
i2.provideAs(CheckboxsetComponent, i2$1.NG_VALIDATORS, true),
|
|
1113
1086
|
i2.provideAsWidgetRef(CheckboxsetComponent)
|
|
1114
|
-
]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c0$a, decls: 5, vars: 4, consts: [[
|
|
1115
|
-
i0__namespace.ɵɵtemplate(0, CheckboxsetComponent_ng_template_0_Template, 1, 1, "ng-template",
|
|
1116
|
-
i0__namespace.ɵɵelement(1, "input",
|
|
1117
|
-
i0__namespace.ɵɵtemplate(2, CheckboxsetComponent_div_2_Template, 1, 0, "div",
|
|
1087
|
+
]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c0$a, decls: 5, vars: 4, consts: [[3, "ngIf", "ngIfElse"], ["hidden", "", 1, "model-holder", 3, "disabled"], ["class", "readonly-wrapper", 4, "ngIf"], ["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) {
|
|
1088
|
+
i0__namespace.ɵɵtemplate(0, CheckboxsetComponent_ng_template_0_Template, 1, 1, "ng-template", 0);
|
|
1089
|
+
i0__namespace.ɵɵelement(1, "input", 1);
|
|
1090
|
+
i0__namespace.ɵɵtemplate(2, CheckboxsetComponent_div_2_Template, 1, 0, "div", 2);
|
|
1091
|
+
i0__namespace.ɵɵtemplate(3, CheckboxsetComponent_ng_template_3_Template, 1, 1, "ng-template", null, 3, i0__namespace.ɵɵtemplateRefExtractor);
|
|
1118
1092
|
} if (rf & 2) {
|
|
1119
|
-
const
|
|
1120
|
-
i0__namespace.ɵɵproperty("ngIf", !ctx.groupby)("ngIfElse",
|
|
1121
|
-
i0__namespace.ɵɵadvance();
|
|
1093
|
+
const _r2 = i0__namespace.ɵɵreference(4);
|
|
1094
|
+
i0__namespace.ɵɵproperty("ngIf", !ctx.groupby)("ngIfElse", _r2);
|
|
1095
|
+
i0__namespace.ɵɵadvance(1);
|
|
1122
1096
|
i0__namespace.ɵɵproperty("disabled", ctx.disabled || ctx.readonly);
|
|
1123
|
-
i0__namespace.ɵɵadvance();
|
|
1097
|
+
i0__namespace.ɵɵadvance(1);
|
|
1124
1098
|
i0__namespace.ɵɵproperty("ngIf", ctx.readonly || ctx.disabled);
|
|
1125
1099
|
} }, dependencies: [i1__namespace.NgClass, i1__namespace.NgForOf, i1__namespace.NgIf, i2__namespace.ItemTemplateDirective, i2__namespace.PartialParamHandlerDirective, i2__namespace.PartialContainerDirective, i2__namespace.TextContentDirective], encapsulation: 2 }); }
|
|
1126
1100
|
}
|
|
1127
|
-
(()
|
|
1101
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(CheckboxsetComponent, [{
|
|
1128
1102
|
type: i0.Component,
|
|
1129
1103
|
args: [{ selector: '[wmCheckboxset]', exportAs: 'wmCheckboxset', providers: [
|
|
1130
1104
|
i2.provideAs(CheckboxsetComponent, i2$1.NG_VALUE_ACCESSOR, true),
|
|
1131
1105
|
i2.provideAs(CheckboxsetComponent, i2$1.NG_VALIDATORS, true),
|
|
1132
1106
|
i2.provideAsWidgetRef(CheckboxsetComponent)
|
|
1133
1107
|
], 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" }]
|
|
1134
|
-
}], ()
|
|
1135
|
-
type: i0.Inject,
|
|
1136
|
-
args: ['EXPLICIT_CONTEXT']
|
|
1137
|
-
}, {
|
|
1138
|
-
type: i0.Optional
|
|
1139
|
-
}] }], { onKeyDown: [{
|
|
1108
|
+
}], function () { return [{ type: i0__namespace.Injector }]; }, { onKeyDown: [{
|
|
1140
1109
|
type: i0.HostListener,
|
|
1141
1110
|
args: ['keydown.enter', ['$event', '"ENTER"']]
|
|
1142
1111
|
}] }); })();
|
|
1143
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassDebugInfo(CheckboxsetComponent, { className: "CheckboxsetComponent", filePath: "checkboxset/checkboxset.component.ts", lineNumber: 27 }); })();
|
|
1144
1112
|
|
|
1145
1113
|
const registerProps$a = () => {
|
|
1146
1114
|
i2.register('wm-form-group', new Map([
|
|
@@ -1164,8 +1132,8 @@
|
|
|
1164
1132
|
};
|
|
1165
1133
|
class CompositeDirective extends i2.StylableComponent {
|
|
1166
1134
|
static { this.initializeProps = registerProps$a(); }
|
|
1167
|
-
constructor(inj
|
|
1168
|
-
super(inj, WIDGET_CONFIG$a
|
|
1135
|
+
constructor(inj) {
|
|
1136
|
+
super(inj, WIDGET_CONFIG$a);
|
|
1169
1137
|
i2.styler(this.nativeElement, this, i2.APPLY_STYLES_TYPE.CONTAINER);
|
|
1170
1138
|
}
|
|
1171
1139
|
/**
|
|
@@ -1201,7 +1169,7 @@
|
|
|
1201
1169
|
i1$1.addForIdAttributes(this.nativeElement);
|
|
1202
1170
|
this.assignRequiredToSubComponents();
|
|
1203
1171
|
}
|
|
1204
|
-
static { this.ɵfac = function CompositeDirective_Factory(t) { return new (t || CompositeDirective)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector)
|
|
1172
|
+
static { this.ɵfac = function CompositeDirective_Factory(t) { return new (t || CompositeDirective)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector)); }; }
|
|
1205
1173
|
static { this.ɵdir = /*@__PURE__*/ i0__namespace.ɵɵdefineDirective({ type: CompositeDirective, selectors: [["div", "wmComposite", ""]], contentQueries: function CompositeDirective_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {
|
|
1206
1174
|
i0__namespace.ɵɵcontentQuery(dirIndex, i2.WidgetRef, 5);
|
|
1207
1175
|
} if (rf & 2) {
|
|
@@ -1211,7 +1179,7 @@
|
|
|
1211
1179
|
i2.provideAsWidgetRef(CompositeDirective)
|
|
1212
1180
|
]), i0__namespace.ɵɵInheritDefinitionFeature] }); }
|
|
1213
1181
|
}
|
|
1214
|
-
(()
|
|
1182
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(CompositeDirective, [{
|
|
1215
1183
|
type: i0.Directive,
|
|
1216
1184
|
args: [{
|
|
1217
1185
|
selector: 'div[wmComposite]',
|
|
@@ -1219,12 +1187,7 @@
|
|
|
1219
1187
|
i2.provideAsWidgetRef(CompositeDirective)
|
|
1220
1188
|
]
|
|
1221
1189
|
}]
|
|
1222
|
-
}], ()
|
|
1223
|
-
type: i0.Inject,
|
|
1224
|
-
args: ['EXPLICIT_CONTEXT']
|
|
1225
|
-
}, {
|
|
1226
|
-
type: i0.Optional
|
|
1227
|
-
}] }], { componentRefs: [{
|
|
1190
|
+
}], function () { return [{ type: i0__namespace.Injector }]; }, { componentRefs: [{
|
|
1228
1191
|
type: i0.ContentChildren,
|
|
1229
1192
|
args: [i2.WidgetRef, { descendants: true }]
|
|
1230
1193
|
}] }); })();
|
|
@@ -1286,7 +1249,7 @@
|
|
|
1286
1249
|
}
|
|
1287
1250
|
// invoke the change callback
|
|
1288
1251
|
handleChange(newValue) {
|
|
1289
|
-
if (this.autotrim && this.datavalue &&
|
|
1252
|
+
if (this.autotrim && this.datavalue && _.isString(this.datavalue)) {
|
|
1290
1253
|
this.datavalue = this.datavalue.trim();
|
|
1291
1254
|
}
|
|
1292
1255
|
this.invokeOnChange(this.datavalue, { type: 'change' }, this.ngModel.valid);
|
|
@@ -1304,7 +1267,7 @@
|
|
|
1304
1267
|
// Update the model on enter key press
|
|
1305
1268
|
flushViewChanges(val) {
|
|
1306
1269
|
// when val contains masked value, update the model with unmasked value
|
|
1307
|
-
const unMaskedVal =
|
|
1270
|
+
const unMaskedVal = _.get(this.imask, 'maskRef.unmaskedValue');
|
|
1308
1271
|
val = unMaskedVal ? unMaskedVal : val;
|
|
1309
1272
|
this.ngModel.update.next(val);
|
|
1310
1273
|
i1$1.$appDigest();
|
|
@@ -1317,36 +1280,30 @@
|
|
|
1317
1280
|
}
|
|
1318
1281
|
i2.styler(this.inputEl.nativeElement, this);
|
|
1319
1282
|
}
|
|
1320
|
-
constructor(inj, config
|
|
1321
|
-
super(inj, config
|
|
1283
|
+
constructor(inj, config) {
|
|
1284
|
+
super(inj, config);
|
|
1322
1285
|
// possible values for ngModelOptions are 'blur' and 'change'
|
|
1323
1286
|
// default is 'blur'
|
|
1324
1287
|
this.ngModelOptions = {
|
|
1325
|
-
updateOn: ''
|
|
1326
|
-
standalone: true
|
|
1288
|
+
updateOn: ''
|
|
1327
1289
|
};
|
|
1328
1290
|
let updateOn = this.nativeElement.getAttribute('updateon') || 'blur';
|
|
1329
1291
|
updateOn = updateOn === 'default' ? 'change' : updateOn;
|
|
1330
1292
|
this.ngModelOptions.updateOn = updateOn;
|
|
1331
1293
|
}
|
|
1332
|
-
static { this.ɵfac = function BaseInput_Factory(t) { return new (t || BaseInput)(i0__namespace.ɵɵinject(i0__namespace.Injector), i0__namespace.ɵɵinject(i2.WidgetConfig)
|
|
1294
|
+
static { this.ɵfac = function BaseInput_Factory(t) { return new (t || BaseInput)(i0__namespace.ɵɵinject(i0__namespace.Injector), i0__namespace.ɵɵinject(i2.WidgetConfig)); }; }
|
|
1333
1295
|
static { this.ɵprov = /*@__PURE__*/ i0__namespace.ɵɵdefineInjectable({ token: BaseInput, factory: BaseInput.ɵfac }); }
|
|
1334
1296
|
}
|
|
1335
|
-
(()
|
|
1297
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(BaseInput, [{
|
|
1336
1298
|
type: i0.Injectable
|
|
1337
|
-
}], ()
|
|
1299
|
+
}], function () { return [{ type: i0__namespace.Injector }, { type: undefined, decorators: [{
|
|
1338
1300
|
type: i0.Inject,
|
|
1339
1301
|
args: [i2.WidgetConfig]
|
|
1340
|
-
}] }
|
|
1341
|
-
type: i0.Inject,
|
|
1342
|
-
args: ['EXPLICIT_CONTEXT']
|
|
1343
|
-
}, {
|
|
1344
|
-
type: i0.Optional
|
|
1345
|
-
}] }], null); })();
|
|
1302
|
+
}] }]; }, null); })();
|
|
1346
1303
|
|
|
1347
|
-
|
|
1348
|
-
constructor(inj, config, i18nService, trailingZeroDecimalPipe
|
|
1349
|
-
super(inj, config
|
|
1304
|
+
class NumberLocale extends BaseInput {
|
|
1305
|
+
constructor(inj, config, i18nService, trailingZeroDecimalPipe) {
|
|
1306
|
+
super(inj, config);
|
|
1350
1307
|
this.i18nService = i18nService;
|
|
1351
1308
|
this.trailingZeroDecimalPipe = trailingZeroDecimalPipe;
|
|
1352
1309
|
this.isDefaultQuery = true;
|
|
@@ -1362,8 +1319,7 @@
|
|
|
1362
1319
|
set datavalue(value) {
|
|
1363
1320
|
this.lastValIsDecimal = false;
|
|
1364
1321
|
// set text value to null if data value is empty.
|
|
1365
|
-
|
|
1366
|
-
if (lodashEs.includes([null, undefined, ''], value)) {
|
|
1322
|
+
if (_.includes([null, undefined, ''], value)) {
|
|
1367
1323
|
const input = this.inputEl.nativeElement;
|
|
1368
1324
|
const prevDataValue = this.prevDatavalue;
|
|
1369
1325
|
this.displayValue = input.value = this.proxyModel = null;
|
|
@@ -1376,8 +1332,8 @@
|
|
|
1376
1332
|
}
|
|
1377
1333
|
// if the widget has default value and if we change the locale, the value should be in selected locale format.
|
|
1378
1334
|
if (this.isDefaultQuery) {
|
|
1379
|
-
const isLocalizedNumber =
|
|
1380
|
-
const parts = isLocalizedNumber ? value.split(this.DECIMAL) :
|
|
1335
|
+
const isLocalizedNumber = _.isString(value) && _.includes(value, this.DECIMAL);
|
|
1336
|
+
const parts = isLocalizedNumber ? value.split(this.DECIMAL) : _.isString(value) && value.split('.');
|
|
1381
1337
|
this.decimalValue = parts[1] || '';
|
|
1382
1338
|
value = isLocalizedNumber ? value : this.transformNumber(value);
|
|
1383
1339
|
}
|
|
@@ -1392,7 +1348,7 @@
|
|
|
1392
1348
|
model = NaN;
|
|
1393
1349
|
}
|
|
1394
1350
|
// On keypress, if the user types a decimal and is still active on the input do not throw error.
|
|
1395
|
-
if (isNaN(model) && strVal[strVal.length - 1] === this.DECIMAL && this.ngModelOptions.updateOn === 'change' && this.$element.find('input:focus').length) {
|
|
1351
|
+
if (_.isNaN(model) && strVal[strVal.length - 1] === this.DECIMAL && this.ngModelOptions.updateOn === 'change' && this.$element.find('input:focus').length) {
|
|
1396
1352
|
this.lastValIsDecimal = true;
|
|
1397
1353
|
}
|
|
1398
1354
|
// get a valid number form the text.
|
|
@@ -1428,7 +1384,7 @@
|
|
|
1428
1384
|
*/
|
|
1429
1385
|
isValid(val) {
|
|
1430
1386
|
// id number is infinite then consider it as invalid value
|
|
1431
|
-
if (isNaN(val) || !isFinite(val) || (!Number.isInteger(this.step) &&
|
|
1387
|
+
if (_.isNaN(val) || !_.isFinite(val) || (!Number.isInteger(this.step) &&
|
|
1432
1388
|
this.countDecimals(val) > this.countDecimals(this.step))) {
|
|
1433
1389
|
this.isInvalidNumber = true;
|
|
1434
1390
|
return false;
|
|
@@ -1446,11 +1402,11 @@
|
|
|
1446
1402
|
* @returns {number}
|
|
1447
1403
|
*/
|
|
1448
1404
|
getValueInRange(value) {
|
|
1449
|
-
if (!isNaN(this.minvalue) && value < this.minvalue) {
|
|
1405
|
+
if (!_.isNaN(this.minvalue) && value < this.minvalue) {
|
|
1450
1406
|
this.validateType = 'minvalue';
|
|
1451
1407
|
return this.minvalue;
|
|
1452
1408
|
}
|
|
1453
|
-
if (!isNaN(this.maxvalue) && value > this.maxvalue) {
|
|
1409
|
+
if (!_.isNaN(this.maxvalue) && value > this.maxvalue) {
|
|
1454
1410
|
this.validateType = 'maxvalue';
|
|
1455
1411
|
return this.maxvalue;
|
|
1456
1412
|
}
|
|
@@ -1579,7 +1535,7 @@
|
|
|
1579
1535
|
const valInWholeNum = parseInt(value.toString().replace(/\D/g, ''));
|
|
1580
1536
|
financialVal = valInWholeNum * this.step;
|
|
1581
1537
|
}
|
|
1582
|
-
if (!isNaN(financialVal)) {
|
|
1538
|
+
if (!_.isNaN(financialVal)) {
|
|
1583
1539
|
// When update on key is set keypress, update the datavalue else update only the display value
|
|
1584
1540
|
if (this.ngModelOptions.updateOn === 'change') {
|
|
1585
1541
|
this.datavalue = parseFloat(financialVal.toFixed(stepVal));
|
|
@@ -1639,7 +1595,7 @@
|
|
|
1639
1595
|
const targetVal = $event.target.value.replace(/,/g, '');
|
|
1640
1596
|
// proxyModel to be updated from $event.target.value if present to support arrow keys when input changes else pick up from this.proxymodel
|
|
1641
1597
|
let proxyModel;
|
|
1642
|
-
if (targetVal && !isNaN(parseFloat(targetVal))) {
|
|
1598
|
+
if (targetVal && !_.isNaN(parseFloat(targetVal))) {
|
|
1643
1599
|
proxyModel = parseFloat(targetVal);
|
|
1644
1600
|
}
|
|
1645
1601
|
else {
|
|
@@ -1650,14 +1606,14 @@
|
|
|
1650
1606
|
if (this.numberNotInRange) {
|
|
1651
1607
|
const inputValue = this.parseNumber(this.inputEl.nativeElement.value);
|
|
1652
1608
|
// take the textbox value as current model if the value is valid.
|
|
1653
|
-
if (!isNaN(inputValue)) {
|
|
1609
|
+
if (!_.isNaN(inputValue)) {
|
|
1654
1610
|
value = this.getValueInRange(inputValue);
|
|
1655
1611
|
proxyModel = inputValue;
|
|
1656
1612
|
this.resetValidations();
|
|
1657
1613
|
}
|
|
1658
1614
|
}
|
|
1659
1615
|
else {
|
|
1660
|
-
if (
|
|
1616
|
+
if (_.isUndefined(proxyModel) || _.isNull(proxyModel)) {
|
|
1661
1617
|
proxyModel = value = this.getValueInRange((this.minvalue || 0));
|
|
1662
1618
|
this.resetValidations();
|
|
1663
1619
|
}
|
|
@@ -1668,7 +1624,7 @@
|
|
|
1668
1624
|
if ((key === 'UP' && proxyModel <= value) || (key === 'DOWN' && proxyModel >= value)) {
|
|
1669
1625
|
const decimalRoundValue = Math.max(this.countDecimals(proxyModel), this.countDecimals(this.step));
|
|
1670
1626
|
// update the modelProxy.
|
|
1671
|
-
this.proxyModel =
|
|
1627
|
+
this.proxyModel = _.round(value, decimalRoundValue);
|
|
1672
1628
|
this.updateDisplayText();
|
|
1673
1629
|
this.handleChange(this.proxyModel);
|
|
1674
1630
|
}
|
|
@@ -1703,7 +1659,7 @@
|
|
|
1703
1659
|
validateInputEntry($event) {
|
|
1704
1660
|
this.isDefaultQuery = false;
|
|
1705
1661
|
// allow actions if control key is pressed or if backspace is pressed. (for Mozilla).
|
|
1706
|
-
if ($event.ctrlKey ||
|
|
1662
|
+
if ($event.ctrlKey || _.includes(['Backspace', 'ArrowRight', 'ArrowLeft', 'Tab', 'Enter', 'Delete'], $event.key)) {
|
|
1707
1663
|
return;
|
|
1708
1664
|
}
|
|
1709
1665
|
const validity = new RegExp(`^[\\d\\s-,.e+${this.GROUP}${this.DECIMAL}]$`, 'i');
|
|
@@ -1734,18 +1690,18 @@
|
|
|
1734
1690
|
return false;
|
|
1735
1691
|
}
|
|
1736
1692
|
// comma cannot be entered consecutively
|
|
1737
|
-
if (
|
|
1693
|
+
if (_.includes(inputValue, ',') && inputValue[inputValue.length - 1] === ',' && $event.key === ',') {
|
|
1738
1694
|
return false;
|
|
1739
1695
|
}
|
|
1740
1696
|
// a decimal value can be entered only once in the input.
|
|
1741
|
-
if (
|
|
1697
|
+
if (_.includes(inputValue, this.DECIMAL) && $event.key === this.DECIMAL) {
|
|
1742
1698
|
return false;
|
|
1743
1699
|
}
|
|
1744
1700
|
// 'e' can be entered only once in the input.
|
|
1745
|
-
if (
|
|
1701
|
+
if (_.intersection(_.toArray(inputValue), ['e', 'E']).length && _.includes('eE', $event.key)) {
|
|
1746
1702
|
return false;
|
|
1747
1703
|
}
|
|
1748
|
-
if ((
|
|
1704
|
+
if ((_.includes(inputValue, '+') || _.includes(inputValue, '-')) && ($event.key === '+' || $event.key === '-')) {
|
|
1749
1705
|
return false;
|
|
1750
1706
|
}
|
|
1751
1707
|
// Do not allow user to enter only space without any input value
|
|
@@ -1780,13 +1736,7 @@
|
|
|
1780
1736
|
super.onPropertyChange(key, nv, ov);
|
|
1781
1737
|
}
|
|
1782
1738
|
}
|
|
1783
|
-
}
|
|
1784
|
-
exports.NumberLocale = tslib.__decorate([
|
|
1785
|
-
tslib.__param(4, i0.Inject('EXPLICIT_CONTEXT')),
|
|
1786
|
-
tslib.__param(4, i0.Optional()),
|
|
1787
|
-
tslib.__metadata("design:paramtypes", [i0.Injector, Object, i1$1.AbstractI18nService,
|
|
1788
|
-
i2.TrailingZeroDecimalPipe, Object])
|
|
1789
|
-
], exports.NumberLocale);
|
|
1739
|
+
}
|
|
1790
1740
|
|
|
1791
1741
|
const _c0$9 = ["input"];
|
|
1792
1742
|
const _c1$8 = ["wmNumber", ""];
|
|
@@ -1794,12 +1744,12 @@
|
|
|
1794
1744
|
widgetType: 'wm-number',
|
|
1795
1745
|
hostClass: 'app-input-wrapper'
|
|
1796
1746
|
};
|
|
1797
|
-
class NumberComponent extends
|
|
1747
|
+
class NumberComponent extends NumberLocale {
|
|
1798
1748
|
static { this.initializeProps = registerProps$9(); }
|
|
1799
|
-
constructor(inj, i18nService, trailingZeroDecimalPipe
|
|
1800
|
-
super(inj, WIDGET_CONFIG$9, i18nService, trailingZeroDecimalPipe
|
|
1749
|
+
constructor(inj, i18nService, trailingZeroDecimalPipe) {
|
|
1750
|
+
super(inj, WIDGET_CONFIG$9, i18nService, trailingZeroDecimalPipe);
|
|
1801
1751
|
}
|
|
1802
|
-
static { this.ɵfac = function NumberComponent_Factory(t) { return new (t || NumberComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵdirectiveInject(i1$1__namespace.AbstractI18nService), i0__namespace.ɵɵdirectiveInject(i2__namespace.TrailingZeroDecimalPipe)
|
|
1752
|
+
static { this.ɵfac = function NumberComponent_Factory(t) { return new (t || NumberComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵdirectiveInject(i1$1__namespace.AbstractI18nService), i0__namespace.ɵɵdirectiveInject(i2__namespace.TrailingZeroDecimalPipe)); }; }
|
|
1803
1753
|
static { this.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: NumberComponent, selectors: [["", "wmNumber", ""]], viewQuery: function NumberComponent_Query(rf, ctx) { if (rf & 1) {
|
|
1804
1754
|
i0__namespace.ɵɵviewQuery(_c0$9, 7);
|
|
1805
1755
|
i0__namespace.ɵɵviewQuery(i2$1.NgModel, 7);
|
|
@@ -1811,36 +1761,29 @@
|
|
|
1811
1761
|
i2.provideAs(NumberComponent, i2$1.NG_VALUE_ACCESSOR, true),
|
|
1812
1762
|
i2.provideAs(NumberComponent, i2$1.NG_VALIDATORS, true),
|
|
1813
1763
|
i2.provideAsWidgetRef(NumberComponent)
|
|
1814
|
-
]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c1$8, decls: 2, vars: 14, consts: [["
|
|
1815
|
-
|
|
1816
|
-
i0__namespace.ɵɵ
|
|
1817
|
-
i0__namespace.ɵɵlistener("ngModelChange", function NumberComponent_Template_input_ngModelChange_0_listener($event) { i0__namespace.ɵɵrestoreView(_r1); return i0__namespace.ɵɵresetView(ctx.onModelChange($event)); })("blur", function NumberComponent_Template_input_blur_0_listener($event) { i0__namespace.ɵɵrestoreView(_r1); ctx.handleBlur($event); return i0__namespace.ɵɵresetView(ctx.checkForTrailingZeros($event)); })("focus", function NumberComponent_Template_input_focus_0_listener($event) { i0__namespace.ɵɵrestoreView(_r1); return i0__namespace.ɵɵresetView(ctx.checkForTrailingZeros($event)); })("input", function NumberComponent_Template_input_input_0_listener($event) { i0__namespace.ɵɵrestoreView(_r1); return i0__namespace.ɵɵresetView(ctx.onInputChange($event.target.value)); })("keypress", function NumberComponent_Template_input_keypress_0_listener($event) { i0__namespace.ɵɵrestoreView(_r1); return i0__namespace.ɵɵresetView(ctx.validateInputEntry($event)); })("keydown.backspace", function NumberComponent_Template_input_keydown_backspace_0_listener($event) { i0__namespace.ɵɵrestoreView(_r1); return i0__namespace.ɵɵresetView(ctx.onBackspace($event)); })("keydown.enter", function NumberComponent_Template_input_keydown_enter_0_listener($event) { i0__namespace.ɵɵrestoreView(_r1); return i0__namespace.ɵɵresetView(ctx.onEnter($event)); })("keydown.ArrowUp", function NumberComponent_Template_input_keydown_ArrowUp_0_listener($event) { i0__namespace.ɵɵrestoreView(_r1); return i0__namespace.ɵɵresetView(ctx.onArrowPress($event, "UP")); })("keydown.ArrowDown", function NumberComponent_Template_input_keydown_ArrowDown_0_listener($event) { i0__namespace.ɵɵrestoreView(_r1); return i0__namespace.ɵɵresetView(ctx.onArrowPress($event, "DOWN")); });
|
|
1764
|
+
]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c1$8, decls: 2, vars: 14, consts: [["inputmode", "decimal", "focus-target", "", "role", "textbox", "type", "text", 1, "form-control", "app-textbox", "app-number-input", 3, "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) {
|
|
1765
|
+
i0__namespace.ɵɵelementStart(0, "input", 0, 1);
|
|
1766
|
+
i0__namespace.ɵɵ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"); });
|
|
1818
1767
|
i0__namespace.ɵɵelementEnd();
|
|
1819
1768
|
} if (rf & 2) {
|
|
1820
1769
|
i0__namespace.ɵɵproperty("ngModel", ctx.displayValue)("readonly", ctx.readonly)("disabled", ctx.disabled)("pattern", ctx.regexp)("autofocus", ctx.autofocus)("ngClass", ctx.conditionalclass)("ngStyle", ctx.conditionalstyle)("ngModelOptions", ctx.ngModelOptions)("required", ctx.required);
|
|
1821
1770
|
i0__namespace.ɵɵattribute("name", ctx.name)("tabindex", ctx.tabindex)("placeholder", ctx.placeholder)("accesskey", ctx.shortcutkey)("aria-label", ctx.hint);
|
|
1822
1771
|
} }, dependencies: [i1__namespace.NgClass, i1__namespace.NgStyle, i2$1__namespace.DefaultValueAccessor, i2$1__namespace.NgControlStatus, i2$1__namespace.RequiredValidator, i2$1__namespace.PatternValidator, i2$1__namespace.NgModel], encapsulation: 2 }); }
|
|
1823
1772
|
}
|
|
1824
|
-
(()
|
|
1773
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(NumberComponent, [{
|
|
1825
1774
|
type: i0.Component,
|
|
1826
1775
|
args: [{ selector: '[wmNumber]', providers: [
|
|
1827
1776
|
i2.provideAs(NumberComponent, i2$1.NG_VALUE_ACCESSOR, true),
|
|
1828
1777
|
i2.provideAs(NumberComponent, i2$1.NG_VALIDATORS, true),
|
|
1829
1778
|
i2.provideAsWidgetRef(NumberComponent)
|
|
1830
1779
|
], 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" }]
|
|
1831
|
-
}], ()
|
|
1832
|
-
type: i0.Inject,
|
|
1833
|
-
args: ['EXPLICIT_CONTEXT']
|
|
1834
|
-
}, {
|
|
1835
|
-
type: i0.Optional
|
|
1836
|
-
}] }], { inputEl: [{
|
|
1780
|
+
}], function () { return [{ type: i0__namespace.Injector }, { type: i1$1__namespace.AbstractI18nService }, { type: i2__namespace.TrailingZeroDecimalPipe }]; }, { inputEl: [{
|
|
1837
1781
|
type: i0.ViewChild,
|
|
1838
1782
|
args: ['input', { static: true }]
|
|
1839
1783
|
}], ngModel: [{
|
|
1840
1784
|
type: i0.ViewChild,
|
|
1841
1785
|
args: [i2$1.NgModel, { static: true }]
|
|
1842
1786
|
}] }); })();
|
|
1843
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassDebugInfo(NumberComponent, { className: "NumberComponent", filePath: "number/number.component.ts", lineNumber: 24 }); })();
|
|
1844
1787
|
|
|
1845
1788
|
const radiosetProps = new Map([
|
|
1846
1789
|
['class', i2.PROP_STRING],
|
|
@@ -1876,61 +1819,60 @@
|
|
|
1876
1819
|
};
|
|
1877
1820
|
|
|
1878
1821
|
const _c0$8 = ["wmRadioset", ""];
|
|
1879
|
-
const _c1$7 = (a0
|
|
1880
|
-
const _c2$5 = a0 => ({ "disabled": a0 });
|
|
1881
|
-
const _c3 = a0 => ({ "collapsible-content": a0 });
|
|
1882
|
-
const _c4 = (a0, a1) => ["radio", "app-radio", "group-list-item", a0, a1];
|
|
1822
|
+
const _c1$7 = function (a0) { return { "disabled": a0 }; };
|
|
1883
1823
|
function RadiosetComponent_ng_template_0_li_0_label_1_Template(rf, ctx) { if (rf & 1) {
|
|
1884
1824
|
i0__namespace.ɵɵelementStart(0, "label", 7);
|
|
1885
1825
|
i0__namespace.ɵɵelement(1, "input", 8)(2, "span", 9);
|
|
1886
1826
|
i0__namespace.ɵɵelementEnd();
|
|
1887
1827
|
} if (rf & 2) {
|
|
1888
|
-
const
|
|
1889
|
-
const
|
|
1890
|
-
const
|
|
1891
|
-
const
|
|
1892
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(10,
|
|
1893
|
-
i0__namespace.ɵɵadvance();
|
|
1894
|
-
i0__namespace.ɵɵproperty("name", "radioset_" +
|
|
1895
|
-
i0__namespace.ɵɵattribute("aria-checked",
|
|
1896
|
-
i0__namespace.ɵɵadvance();
|
|
1897
|
-
i0__namespace.ɵɵproperty("textContent",
|
|
1828
|
+
const ctx_r9 = i0__namespace.ɵɵnextContext();
|
|
1829
|
+
const item_r5 = ctx_r9.$implicit;
|
|
1830
|
+
const i_r6 = ctx_r9.index;
|
|
1831
|
+
const ctx_r7 = i0__namespace.ɵɵnextContext(2);
|
|
1832
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(10, _c1$7, ctx_r7.disabled || ctx_r7.readonly));
|
|
1833
|
+
i0__namespace.ɵɵadvance(1);
|
|
1834
|
+
i0__namespace.ɵɵ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);
|
|
1835
|
+
i0__namespace.ɵɵattribute("aria-checked", item_r5.selected)("data-attr-index", i_r6)("aria-label", item_r5.key);
|
|
1836
|
+
i0__namespace.ɵɵadvance(1);
|
|
1837
|
+
i0__namespace.ɵɵproperty("textContent", item_r5.label);
|
|
1898
1838
|
} }
|
|
1899
1839
|
function RadiosetComponent_ng_template_0_li_0_label_2_Template(rf, ctx) { if (rf & 1) {
|
|
1900
1840
|
i0__namespace.ɵɵelementStart(0, "label", 7);
|
|
1901
1841
|
i0__namespace.ɵɵelement(1, "input", 8)(2, "span", 10);
|
|
1902
1842
|
i0__namespace.ɵɵelementEnd();
|
|
1903
1843
|
} if (rf & 2) {
|
|
1904
|
-
const
|
|
1905
|
-
const
|
|
1906
|
-
const
|
|
1907
|
-
const
|
|
1908
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(9,
|
|
1909
|
-
i0__namespace.ɵɵadvance();
|
|
1910
|
-
i0__namespace.ɵɵproperty("name", "radioset_" +
|
|
1911
|
-
i0__namespace.ɵɵattribute("aria-checked",
|
|
1844
|
+
const ctx_r10 = i0__namespace.ɵɵnextContext();
|
|
1845
|
+
const item_r5 = ctx_r10.$implicit;
|
|
1846
|
+
const i_r6 = ctx_r10.index;
|
|
1847
|
+
const ctx_r8 = i0__namespace.ɵɵnextContext(2);
|
|
1848
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(9, _c1$7, ctx_r8.disabled || ctx_r8.readonly));
|
|
1849
|
+
i0__namespace.ɵɵadvance(1);
|
|
1850
|
+
i0__namespace.ɵɵ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);
|
|
1851
|
+
i0__namespace.ɵɵattribute("aria-checked", item_r5.selected)("data-attr-index", i_r6)("aria-label", item_r5.key);
|
|
1912
1852
|
} }
|
|
1853
|
+
const _c2$2 = function (a2, a3) { return ["radio", "app-radio", a2, a3]; };
|
|
1913
1854
|
function RadiosetComponent_ng_template_0_li_0_Template(rf, ctx) { if (rf & 1) {
|
|
1914
|
-
const
|
|
1855
|
+
const _r12 = i0__namespace.ɵɵgetCurrentView();
|
|
1915
1856
|
i0__namespace.ɵɵelementStart(0, "li", 5);
|
|
1916
|
-
i0__namespace.ɵɵlistener("click", function RadiosetComponent_ng_template_0_li_0_Template_li_click_0_listener($event) { const
|
|
1917
|
-
i0__namespace.ɵɵtemplate(1, RadiosetComponent_ng_template_0_li_0_label_1_Template, 3, 12, "label", 6)
|
|
1857
|
+
i0__namespace.ɵɵlistener("click", function RadiosetComponent_ng_template_0_li_0_Template_li_click_0_listener($event) { const restoredCtx = i0__namespace.ɵɵrestoreView(_r12); const item_r5 = restoredCtx.$implicit; const ctx_r11 = i0__namespace.ɵɵnextContext(2); return i0__namespace.ɵɵresetView(ctx_r11.onRadioLabelClick($event, item_r5.key)); });
|
|
1858
|
+
i0__namespace.ɵɵtemplate(1, RadiosetComponent_ng_template_0_li_0_label_1_Template, 3, 12, "label", 6);
|
|
1859
|
+
i0__namespace.ɵɵtemplate(2, RadiosetComponent_ng_template_0_li_0_label_2_Template, 3, 11, "label", 6);
|
|
1918
1860
|
i0__namespace.ɵɵelementEnd();
|
|
1919
1861
|
} if (rf & 2) {
|
|
1920
|
-
const
|
|
1921
|
-
const
|
|
1922
|
-
i0__namespace.ɵɵclassProp("active",
|
|
1923
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction2(7,
|
|
1924
|
-
i0__namespace.ɵɵadvance();
|
|
1925
|
-
i0__namespace.ɵɵproperty("ngIf", !
|
|
1926
|
-
i0__namespace.ɵɵadvance();
|
|
1927
|
-
i0__namespace.ɵɵproperty("ngIf",
|
|
1862
|
+
const item_r5 = ctx.$implicit;
|
|
1863
|
+
const ctx_r4 = i0__namespace.ɵɵnextContext(2);
|
|
1864
|
+
i0__namespace.ɵɵclassProp("active", item_r5.selected);
|
|
1865
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction2(7, _c2$2, ctx_r4.itemclass, ctx_r4.itemsPerRowClass))("wmItemTemplate", ctx_r4.content)("userComponentParams", item_r5);
|
|
1866
|
+
i0__namespace.ɵɵadvance(1);
|
|
1867
|
+
i0__namespace.ɵɵproperty("ngIf", !ctx_r4.content);
|
|
1868
|
+
i0__namespace.ɵɵadvance(1);
|
|
1869
|
+
i0__namespace.ɵɵproperty("ngIf", ctx_r4.content);
|
|
1928
1870
|
} }
|
|
1929
1871
|
function RadiosetComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {
|
|
1930
1872
|
i0__namespace.ɵɵtemplate(0, RadiosetComponent_ng_template_0_li_0_Template, 3, 10, "li", 4);
|
|
1931
1873
|
} if (rf & 2) {
|
|
1932
|
-
const
|
|
1933
|
-
i0__namespace.ɵɵproperty("ngForOf",
|
|
1874
|
+
const ctx_r0 = i0__namespace.ɵɵnextContext();
|
|
1875
|
+
i0__namespace.ɵɵproperty("ngForOf", ctx_r0.datasetItems);
|
|
1934
1876
|
} }
|
|
1935
1877
|
function RadiosetComponent_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
1936
1878
|
i0__namespace.ɵɵelement(0, "div", 11);
|
|
@@ -1938,98 +1880,102 @@
|
|
|
1938
1880
|
function RadiosetComponent_ng_template_3_li_0_i_6_Template(rf, ctx) { if (rf & 1) {
|
|
1939
1881
|
i0__namespace.ɵɵelement(0, "i", 21);
|
|
1940
1882
|
} if (rf & 2) {
|
|
1941
|
-
const
|
|
1942
|
-
i0__namespace.ɵɵpropertyInterpolate2("title", "",
|
|
1883
|
+
const ctx_r15 = i0__namespace.ɵɵnextContext(3);
|
|
1884
|
+
i0__namespace.ɵɵpropertyInterpolate2("title", "", ctx_r15.appLocale.LABEL_COLLAPSE, "/", ctx_r15.appLocale.LABEL_EXPAND, "");
|
|
1943
1885
|
} }
|
|
1944
1886
|
function RadiosetComponent_ng_template_3_li_0_span_7_Template(rf, ctx) { if (rf & 1) {
|
|
1945
1887
|
i0__namespace.ɵɵelement(0, "span", 22);
|
|
1946
1888
|
} if (rf & 2) {
|
|
1947
|
-
const
|
|
1948
|
-
i0__namespace.ɵɵproperty("textContent",
|
|
1889
|
+
const groupObj_r14 = i0__namespace.ɵɵnextContext().$implicit;
|
|
1890
|
+
i0__namespace.ɵɵproperty("textContent", groupObj_r14.data.length);
|
|
1949
1891
|
} }
|
|
1950
1892
|
function RadiosetComponent_ng_template_3_li_0_li_8_label_1_Template(rf, ctx) { if (rf & 1) {
|
|
1951
1893
|
i0__namespace.ɵɵelementStart(0, "label", 7);
|
|
1952
1894
|
i0__namespace.ɵɵelement(1, "input", 8)(2, "span", 9);
|
|
1953
1895
|
i0__namespace.ɵɵelementEnd();
|
|
1954
1896
|
} if (rf & 2) {
|
|
1955
|
-
const
|
|
1956
|
-
const
|
|
1957
|
-
const
|
|
1958
|
-
const
|
|
1959
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(9,
|
|
1960
|
-
i0__namespace.ɵɵadvance();
|
|
1961
|
-
i0__namespace.ɵɵproperty("name", "radioset_" +
|
|
1962
|
-
i0__namespace.ɵɵattribute("aria-checked",
|
|
1963
|
-
i0__namespace.ɵɵadvance();
|
|
1964
|
-
i0__namespace.ɵɵproperty("textContent",
|
|
1897
|
+
const ctx_r23 = i0__namespace.ɵɵnextContext();
|
|
1898
|
+
const item_r19 = ctx_r23.$implicit;
|
|
1899
|
+
const i_r20 = ctx_r23.index;
|
|
1900
|
+
const ctx_r21 = i0__namespace.ɵɵnextContext(3);
|
|
1901
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(9, _c1$7, ctx_r21.disabled || ctx_r21.readonly));
|
|
1902
|
+
i0__namespace.ɵɵadvance(1);
|
|
1903
|
+
i0__namespace.ɵɵ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);
|
|
1904
|
+
i0__namespace.ɵɵattribute("aria-checked", item_r19.selected)("data-attr-index", i_r20);
|
|
1905
|
+
i0__namespace.ɵɵadvance(1);
|
|
1906
|
+
i0__namespace.ɵɵproperty("textContent", item_r19.label);
|
|
1965
1907
|
} }
|
|
1966
1908
|
function RadiosetComponent_ng_template_3_li_0_li_8_label_2_Template(rf, ctx) { if (rf & 1) {
|
|
1967
1909
|
i0__namespace.ɵɵelementStart(0, "label", 7);
|
|
1968
1910
|
i0__namespace.ɵɵelement(1, "input", 8)(2, "span", 10);
|
|
1969
1911
|
i0__namespace.ɵɵelementEnd();
|
|
1970
1912
|
} if (rf & 2) {
|
|
1971
|
-
const
|
|
1972
|
-
const
|
|
1973
|
-
const
|
|
1974
|
-
const
|
|
1975
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8,
|
|
1976
|
-
i0__namespace.ɵɵadvance();
|
|
1977
|
-
i0__namespace.ɵɵproperty("name", "radioset_" +
|
|
1978
|
-
i0__namespace.ɵɵattribute("aria-checked",
|
|
1913
|
+
const ctx_r24 = i0__namespace.ɵɵnextContext();
|
|
1914
|
+
const item_r19 = ctx_r24.$implicit;
|
|
1915
|
+
const i_r20 = ctx_r24.index;
|
|
1916
|
+
const ctx_r22 = i0__namespace.ɵɵnextContext(3);
|
|
1917
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c1$7, ctx_r22.disabled || ctx_r22.readonly));
|
|
1918
|
+
i0__namespace.ɵɵadvance(1);
|
|
1919
|
+
i0__namespace.ɵɵ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);
|
|
1920
|
+
i0__namespace.ɵɵattribute("aria-checked", item_r19.selected)("data-attr-index", i_r20);
|
|
1979
1921
|
} }
|
|
1922
|
+
const _c3 = function (a3, a4) { return ["radio", "app-radio", "group-list-item", a3, a4]; };
|
|
1980
1923
|
function RadiosetComponent_ng_template_3_li_0_li_8_Template(rf, ctx) { if (rf & 1) {
|
|
1981
|
-
const
|
|
1924
|
+
const _r26 = i0__namespace.ɵɵgetCurrentView();
|
|
1982
1925
|
i0__namespace.ɵɵelementStart(0, "li", 23);
|
|
1983
|
-
i0__namespace.ɵɵlistener("click", function RadiosetComponent_ng_template_3_li_0_li_8_Template_li_click_0_listener($event) { const
|
|
1984
|
-
i0__namespace.ɵɵtemplate(1, RadiosetComponent_ng_template_3_li_0_li_8_label_1_Template, 3, 11, "label", 6)
|
|
1926
|
+
i0__namespace.ɵɵlistener("click", function RadiosetComponent_ng_template_3_li_0_li_8_Template_li_click_0_listener($event) { const restoredCtx = i0__namespace.ɵɵrestoreView(_r26); const item_r19 = restoredCtx.$implicit; const ctx_r25 = i0__namespace.ɵɵnextContext(3); return i0__namespace.ɵɵresetView(ctx_r25.onRadioLabelClick($event, item_r19)); });
|
|
1927
|
+
i0__namespace.ɵɵtemplate(1, RadiosetComponent_ng_template_3_li_0_li_8_label_1_Template, 3, 11, "label", 6);
|
|
1928
|
+
i0__namespace.ɵɵtemplate(2, RadiosetComponent_ng_template_3_li_0_li_8_label_2_Template, 3, 10, "label", 6);
|
|
1985
1929
|
i0__namespace.ɵɵelementEnd();
|
|
1986
1930
|
} if (rf & 2) {
|
|
1987
|
-
const
|
|
1988
|
-
const
|
|
1989
|
-
i0__namespace.ɵɵclassProp("active",
|
|
1990
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction2(7,
|
|
1991
|
-
i0__namespace.ɵɵadvance();
|
|
1992
|
-
i0__namespace.ɵɵproperty("ngIf", !
|
|
1993
|
-
i0__namespace.ɵɵadvance();
|
|
1994
|
-
i0__namespace.ɵɵproperty("ngIf",
|
|
1931
|
+
const item_r19 = ctx.$implicit;
|
|
1932
|
+
const ctx_r17 = i0__namespace.ɵɵnextContext(3);
|
|
1933
|
+
i0__namespace.ɵɵclassProp("active", item_r19.selected);
|
|
1934
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction2(7, _c3, ctx_r17.itemclass, ctx_r17.itemsPerRowClass))("wmItemTemplate", ctx_r17.content)("userComponentParams", item_r19);
|
|
1935
|
+
i0__namespace.ɵɵadvance(1);
|
|
1936
|
+
i0__namespace.ɵɵproperty("ngIf", !ctx_r17.content);
|
|
1937
|
+
i0__namespace.ɵɵadvance(1);
|
|
1938
|
+
i0__namespace.ɵɵproperty("ngIf", ctx_r17.content);
|
|
1995
1939
|
} }
|
|
1940
|
+
const _c4 = function (a0) { return { "collapsible-content": a0 }; };
|
|
1996
1941
|
function RadiosetComponent_ng_template_3_li_0_Template(rf, ctx) { if (rf & 1) {
|
|
1997
|
-
const
|
|
1942
|
+
const _r28 = i0__namespace.ɵɵgetCurrentView();
|
|
1998
1943
|
i0__namespace.ɵɵelementStart(0, "li", 13)(1, "ul", 14)(2, "li", 15);
|
|
1999
|
-
i0__namespace.ɵɵlistener("click", function RadiosetComponent_ng_template_3_li_0_Template_li_click_2_listener($event) { i0__namespace.ɵɵrestoreView(
|
|
1944
|
+
i0__namespace.ɵɵlistener("click", function RadiosetComponent_ng_template_3_li_0_Template_li_click_2_listener($event) { i0__namespace.ɵɵrestoreView(_r28); const ctx_r27 = i0__namespace.ɵɵnextContext(2); return i0__namespace.ɵɵresetView(ctx_r27.handleHeaderClick($event)); });
|
|
2000
1945
|
i0__namespace.ɵɵelementStart(3, "h4", 16);
|
|
2001
1946
|
i0__namespace.ɵɵtext(4);
|
|
2002
1947
|
i0__namespace.ɵɵelementStart(5, "div", 17);
|
|
2003
|
-
i0__namespace.ɵɵtemplate(6, RadiosetComponent_ng_template_3_li_0_i_6_Template, 1,
|
|
1948
|
+
i0__namespace.ɵɵtemplate(6, RadiosetComponent_ng_template_3_li_0_i_6_Template, 1, 2, "i", 18);
|
|
1949
|
+
i0__namespace.ɵɵtemplate(7, RadiosetComponent_ng_template_3_li_0_span_7_Template, 1, 1, "span", 19);
|
|
2004
1950
|
i0__namespace.ɵɵelementEnd()()();
|
|
2005
1951
|
i0__namespace.ɵɵtemplate(8, RadiosetComponent_ng_template_3_li_0_li_8_Template, 3, 10, "li", 20);
|
|
2006
1952
|
i0__namespace.ɵɵelementEnd()();
|
|
2007
1953
|
} if (rf & 2) {
|
|
2008
|
-
const
|
|
2009
|
-
const
|
|
1954
|
+
const groupObj_r14 = ctx.$implicit;
|
|
1955
|
+
const ctx_r13 = i0__namespace.ɵɵnextContext(2);
|
|
2010
1956
|
i0__namespace.ɵɵadvance(2);
|
|
2011
|
-
i0__namespace.ɵɵproperty("title",
|
|
1957
|
+
i0__namespace.ɵɵproperty("title", groupObj_r14.key)("ngClass", i0__namespace.ɵɵpureFunction1(6, _c4, ctx_r13.collapsible));
|
|
2012
1958
|
i0__namespace.ɵɵadvance(2);
|
|
2013
|
-
i0__namespace.ɵɵtextInterpolate1("",
|
|
1959
|
+
i0__namespace.ɵɵtextInterpolate1("", groupObj_r14.key, " ");
|
|
2014
1960
|
i0__namespace.ɵɵadvance(2);
|
|
2015
|
-
i0__namespace.ɵɵproperty("ngIf",
|
|
2016
|
-
i0__namespace.ɵɵadvance();
|
|
2017
|
-
i0__namespace.ɵɵproperty("ngIf",
|
|
2018
|
-
i0__namespace.ɵɵadvance();
|
|
2019
|
-
i0__namespace.ɵɵproperty("ngForOf",
|
|
1961
|
+
i0__namespace.ɵɵproperty("ngIf", ctx_r13.collapsible);
|
|
1962
|
+
i0__namespace.ɵɵadvance(1);
|
|
1963
|
+
i0__namespace.ɵɵproperty("ngIf", ctx_r13.showcount);
|
|
1964
|
+
i0__namespace.ɵɵadvance(1);
|
|
1965
|
+
i0__namespace.ɵɵproperty("ngForOf", groupObj_r14.data);
|
|
2020
1966
|
} }
|
|
2021
1967
|
function RadiosetComponent_ng_template_3_Template(rf, ctx) { if (rf & 1) {
|
|
2022
1968
|
i0__namespace.ɵɵtemplate(0, RadiosetComponent_ng_template_3_li_0_Template, 9, 8, "li", 12);
|
|
2023
1969
|
} if (rf & 2) {
|
|
2024
|
-
const
|
|
2025
|
-
i0__namespace.ɵɵproperty("ngForOf",
|
|
1970
|
+
const ctx_r3 = i0__namespace.ɵɵnextContext();
|
|
1971
|
+
i0__namespace.ɵɵproperty("ngForOf", ctx_r3.groupedData);
|
|
2026
1972
|
} }
|
|
2027
1973
|
const DEFAULT_CLS$1 = 'app-radioset list-group inline';
|
|
2028
1974
|
const WIDGET_CONFIG$8 = { widgetType: 'wm-radioset', hostClass: DEFAULT_CLS$1 };
|
|
2029
1975
|
class RadiosetComponent extends DatasetAwareFormComponent {
|
|
2030
1976
|
static { this.initializeProps = registerProps$8(); }
|
|
2031
|
-
constructor(inj
|
|
2032
|
-
super(inj, WIDGET_CONFIG$8
|
|
1977
|
+
constructor(inj) {
|
|
1978
|
+
super(inj, WIDGET_CONFIG$8);
|
|
2033
1979
|
this.layout = '';
|
|
2034
1980
|
i2.styler(this.nativeElement, this);
|
|
2035
1981
|
this.multiple = false;
|
|
@@ -2057,7 +2003,7 @@
|
|
|
2057
2003
|
return callback();
|
|
2058
2004
|
});
|
|
2059
2005
|
}
|
|
2060
|
-
else if (!
|
|
2006
|
+
else if (!_.includes(['change'], eventName)) {
|
|
2061
2007
|
super.handleEvent(node, eventName, callback, locals);
|
|
2062
2008
|
}
|
|
2063
2009
|
}
|
|
@@ -2072,38 +2018,33 @@
|
|
|
2072
2018
|
super.onPropertyChange(key, nv, ov);
|
|
2073
2019
|
}
|
|
2074
2020
|
}
|
|
2075
|
-
static { this.ɵfac = function RadiosetComponent_Factory(t) { return new (t || RadiosetComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector)
|
|
2021
|
+
static { this.ɵfac = function RadiosetComponent_Factory(t) { return new (t || RadiosetComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector)); }; }
|
|
2076
2022
|
static { this.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: RadiosetComponent, selectors: [["", "wmRadioset", ""]], exportAs: ["wmRadioset"], features: [i0__namespace.ɵɵProvidersFeature([
|
|
2077
2023
|
i2.provideAs(RadiosetComponent, i2$1.NG_VALUE_ACCESSOR, true),
|
|
2078
2024
|
i2.provideAs(RadiosetComponent, i2$1.NG_VALIDATORS, true),
|
|
2079
2025
|
i2.provideAsWidgetRef(RadiosetComponent)
|
|
2080
|
-
]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c0$8, decls: 5, vars: 4, consts: [[
|
|
2081
|
-
i0__namespace.ɵɵtemplate(0, RadiosetComponent_ng_template_0_Template, 1, 1, "ng-template",
|
|
2082
|
-
i0__namespace.ɵɵelement(1, "input",
|
|
2083
|
-
i0__namespace.ɵɵtemplate(2, RadiosetComponent_div_2_Template, 1, 0, "div",
|
|
2026
|
+
]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c0$8, decls: 5, vars: 4, consts: [[3, "ngIf", "ngIfElse"], ["hidden", "", 1, "model-holder", 3, "disabled"], ["aria-readonly", "true", "class", "readonly-wrapper", 4, "ngIf"], ["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) {
|
|
2027
|
+
i0__namespace.ɵɵtemplate(0, RadiosetComponent_ng_template_0_Template, 1, 1, "ng-template", 0);
|
|
2028
|
+
i0__namespace.ɵɵelement(1, "input", 1);
|
|
2029
|
+
i0__namespace.ɵɵtemplate(2, RadiosetComponent_div_2_Template, 1, 0, "div", 2);
|
|
2030
|
+
i0__namespace.ɵɵtemplate(3, RadiosetComponent_ng_template_3_Template, 1, 1, "ng-template", null, 3, i0__namespace.ɵɵtemplateRefExtractor);
|
|
2084
2031
|
} if (rf & 2) {
|
|
2085
|
-
const
|
|
2086
|
-
i0__namespace.ɵɵproperty("ngIf", !ctx.groupby)("ngIfElse",
|
|
2087
|
-
i0__namespace.ɵɵadvance();
|
|
2032
|
+
const _r2 = i0__namespace.ɵɵreference(4);
|
|
2033
|
+
i0__namespace.ɵɵproperty("ngIf", !ctx.groupby)("ngIfElse", _r2);
|
|
2034
|
+
i0__namespace.ɵɵadvance(1);
|
|
2088
2035
|
i0__namespace.ɵɵproperty("disabled", ctx.disabled || ctx.readonly);
|
|
2089
|
-
i0__namespace.ɵɵadvance();
|
|
2036
|
+
i0__namespace.ɵɵadvance(1);
|
|
2090
2037
|
i0__namespace.ɵɵproperty("ngIf", ctx.readonly || ctx.disabled);
|
|
2091
2038
|
} }, dependencies: [i1__namespace.NgClass, i1__namespace.NgForOf, i1__namespace.NgIf, i2__namespace.ItemTemplateDirective, i2__namespace.PartialParamHandlerDirective, i2__namespace.PartialContainerDirective, i2__namespace.TextContentDirective], encapsulation: 2 }); }
|
|
2092
2039
|
}
|
|
2093
|
-
(()
|
|
2040
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(RadiosetComponent, [{
|
|
2094
2041
|
type: i0.Component,
|
|
2095
2042
|
args: [{ selector: '[wmRadioset]', exportAs: 'wmRadioset', providers: [
|
|
2096
2043
|
i2.provideAs(RadiosetComponent, i2$1.NG_VALUE_ACCESSOR, true),
|
|
2097
2044
|
i2.provideAs(RadiosetComponent, i2$1.NG_VALIDATORS, true),
|
|
2098
2045
|
i2.provideAsWidgetRef(RadiosetComponent)
|
|
2099
2046
|
], 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" }]
|
|
2100
|
-
}], ()
|
|
2101
|
-
type: i0.Inject,
|
|
2102
|
-
args: ['EXPLICIT_CONTEXT']
|
|
2103
|
-
}, {
|
|
2104
|
-
type: i0.Optional
|
|
2105
|
-
}] }], null); })();
|
|
2106
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassDebugInfo(RadiosetComponent, { className: "RadiosetComponent", filePath: "radioset/radioset.component.ts", lineNumber: 26 }); })();
|
|
2047
|
+
}], function () { return [{ type: i0__namespace.Injector }]; }, null); })();
|
|
2107
2048
|
|
|
2108
2049
|
const selectProps = new Map([
|
|
2109
2050
|
['autofocus', i2.PROP_BOOLEAN],
|
|
@@ -2139,48 +2080,53 @@
|
|
|
2139
2080
|
};
|
|
2140
2081
|
|
|
2141
2082
|
const _c0$7 = ["select"];
|
|
2142
|
-
|
|
2143
|
-
|
|
2083
|
+
function SelectComponent_option_2_Template(rf, ctx) { if (rf & 1) {
|
|
2084
|
+
i0__namespace.ɵɵelement(0, "option", 4);
|
|
2085
|
+
} if (rf & 2) {
|
|
2086
|
+
const ctx_r1 = i0__namespace.ɵɵnextContext();
|
|
2087
|
+
i0__namespace.ɵɵproperty("textContent", ctx_r1.placeholder)("hidden", !ctx_r1.placeholder);
|
|
2088
|
+
} }
|
|
2144
2089
|
function SelectComponent_ng_container_3_optgroup_1_option_1_Template(rf, ctx) { if (rf & 1) {
|
|
2145
|
-
i0__namespace.ɵɵelement(0, "option",
|
|
2090
|
+
i0__namespace.ɵɵelement(0, "option", 8);
|
|
2146
2091
|
} if (rf & 2) {
|
|
2147
|
-
const
|
|
2148
|
-
i0__namespace.ɵɵproperty("value",
|
|
2092
|
+
const item_r7 = ctx.$implicit;
|
|
2093
|
+
i0__namespace.ɵɵproperty("value", item_r7.key)("selected", item_r7.selected)("textContent", item_r7.label);
|
|
2149
2094
|
} }
|
|
2150
2095
|
function SelectComponent_ng_container_3_optgroup_1_Template(rf, ctx) { if (rf & 1) {
|
|
2151
|
-
i0__namespace.ɵɵelementStart(0, "optgroup",
|
|
2152
|
-
i0__namespace.ɵɵtemplate(1, SelectComponent_ng_container_3_optgroup_1_option_1_Template, 1, 3, "option",
|
|
2096
|
+
i0__namespace.ɵɵelementStart(0, "optgroup", 6);
|
|
2097
|
+
i0__namespace.ɵɵtemplate(1, SelectComponent_ng_container_3_optgroup_1_option_1_Template, 1, 3, "option", 7);
|
|
2153
2098
|
i0__namespace.ɵɵelementEnd();
|
|
2154
2099
|
} if (rf & 2) {
|
|
2155
|
-
const
|
|
2156
|
-
i0__namespace.ɵɵproperty("label",
|
|
2157
|
-
i0__namespace.ɵɵadvance();
|
|
2158
|
-
i0__namespace.ɵɵproperty("ngForOf",
|
|
2100
|
+
const groupObj_r5 = ctx.$implicit;
|
|
2101
|
+
i0__namespace.ɵɵproperty("label", groupObj_r5.key);
|
|
2102
|
+
i0__namespace.ɵɵadvance(1);
|
|
2103
|
+
i0__namespace.ɵɵproperty("ngForOf", groupObj_r5.data);
|
|
2159
2104
|
} }
|
|
2160
2105
|
function SelectComponent_ng_container_3_Template(rf, ctx) { if (rf & 1) {
|
|
2161
2106
|
i0__namespace.ɵɵelementContainerStart(0);
|
|
2162
|
-
i0__namespace.ɵɵtemplate(1, SelectComponent_ng_container_3_optgroup_1_Template, 2, 2, "optgroup",
|
|
2107
|
+
i0__namespace.ɵɵtemplate(1, SelectComponent_ng_container_3_optgroup_1_Template, 2, 2, "optgroup", 5);
|
|
2163
2108
|
i0__namespace.ɵɵelementContainerEnd();
|
|
2164
2109
|
} if (rf & 2) {
|
|
2165
|
-
const
|
|
2166
|
-
i0__namespace.ɵɵadvance();
|
|
2167
|
-
i0__namespace.ɵɵproperty("ngForOf",
|
|
2110
|
+
const ctx_r2 = i0__namespace.ɵɵnextContext();
|
|
2111
|
+
i0__namespace.ɵɵadvance(1);
|
|
2112
|
+
i0__namespace.ɵɵproperty("ngForOf", ctx_r2.groupedData);
|
|
2168
2113
|
} }
|
|
2169
2114
|
function SelectComponent_ng_container_4_option_1_Template(rf, ctx) { if (rf & 1) {
|
|
2170
|
-
i0__namespace.ɵɵelement(0, "option",
|
|
2115
|
+
i0__namespace.ɵɵelement(0, "option", 8);
|
|
2171
2116
|
} if (rf & 2) {
|
|
2172
|
-
const
|
|
2173
|
-
i0__namespace.ɵɵproperty("value",
|
|
2117
|
+
const item_r9 = ctx.$implicit;
|
|
2118
|
+
i0__namespace.ɵɵproperty("value", item_r9.key)("selected", item_r9.selected)("textContent", item_r9.label);
|
|
2174
2119
|
} }
|
|
2175
2120
|
function SelectComponent_ng_container_4_Template(rf, ctx) { if (rf & 1) {
|
|
2176
2121
|
i0__namespace.ɵɵelementContainerStart(0);
|
|
2177
|
-
i0__namespace.ɵɵtemplate(1, SelectComponent_ng_container_4_option_1_Template, 1, 3, "option",
|
|
2122
|
+
i0__namespace.ɵɵtemplate(1, SelectComponent_ng_container_4_option_1_Template, 1, 3, "option", 7);
|
|
2178
2123
|
i0__namespace.ɵɵelementContainerEnd();
|
|
2179
2124
|
} if (rf & 2) {
|
|
2180
2125
|
const ctx_r3 = i0__namespace.ɵɵnextContext();
|
|
2181
|
-
i0__namespace.ɵɵadvance();
|
|
2126
|
+
i0__namespace.ɵɵadvance(1);
|
|
2182
2127
|
i0__namespace.ɵɵproperty("ngForOf", ctx_r3.datasetItems);
|
|
2183
2128
|
} }
|
|
2129
|
+
const _c1$6 = function (a1) { return ["app-select form-control", a1]; };
|
|
2184
2130
|
const WIDGET_CONFIG$7 = { widgetType: 'wm-select', hostClass: 'app-select-wrapper' };
|
|
2185
2131
|
class SelectComponent extends DatasetAwareFormComponent {
|
|
2186
2132
|
static { this.initializeProps = registerProps$7(); }
|
|
@@ -2189,18 +2135,21 @@
|
|
|
2189
2135
|
this.datavalue = ds.execute(i1$1.DataSource.Operation.GET_DEFAULT_LOCALE);
|
|
2190
2136
|
}
|
|
2191
2137
|
}
|
|
2192
|
-
constructor(inj, app
|
|
2193
|
-
super(inj, WIDGET_CONFIG$7
|
|
2138
|
+
constructor(inj, app) {
|
|
2139
|
+
super(inj, WIDGET_CONFIG$7);
|
|
2194
2140
|
this.app = app;
|
|
2195
2141
|
this.acceptsArray = true;
|
|
2196
2142
|
}
|
|
2197
2143
|
ngAfterViewInit() {
|
|
2198
2144
|
super.ngAfterViewInit();
|
|
2199
2145
|
i2.styler(this.selectEl.nativeElement, this);
|
|
2146
|
+
setTimeout(() => {
|
|
2147
|
+
this.checkForFloatingLabel(null);
|
|
2148
|
+
}, 10);
|
|
2200
2149
|
}
|
|
2201
2150
|
// Change event is registered from the template, Prevent the framework from registering one more event
|
|
2202
2151
|
handleEvent(node, eventName, eventCallback, locals) {
|
|
2203
|
-
if (!
|
|
2152
|
+
if (!_.includes(['blur', 'change'], eventName)) {
|
|
2204
2153
|
super.handleEvent(this.selectEl.nativeElement, eventName, eventCallback, locals);
|
|
2205
2154
|
}
|
|
2206
2155
|
}
|
|
@@ -2243,6 +2192,16 @@
|
|
|
2243
2192
|
}
|
|
2244
2193
|
super.onPropertyChange(key, nv, ov);
|
|
2245
2194
|
}
|
|
2195
|
+
isSafariBrowser() {
|
|
2196
|
+
var reg = {
|
|
2197
|
+
MAC: /Mac/i,
|
|
2198
|
+
MACINTEL: /MacIntel/i
|
|
2199
|
+
};
|
|
2200
|
+
return reg.MAC.test(window.navigator.platform) || reg.MACINTEL.test(window.navigator.platform);
|
|
2201
|
+
}
|
|
2202
|
+
isIosPlatform() {
|
|
2203
|
+
return i1$1.isIos() || this.isSafariBrowser();
|
|
2204
|
+
}
|
|
2246
2205
|
/**
|
|
2247
2206
|
* When caption floating is enabled and placeholder is given, do not show placeholder until user focuses on the field
|
|
2248
2207
|
* When focused add the placeholder to the option which is selected
|
|
@@ -2252,35 +2211,25 @@
|
|
|
2252
2211
|
checkForFloatingLabel($event) {
|
|
2253
2212
|
const captionEl = $(this.selectEl.nativeElement).closest('.app-composite-widget.caption-floating');
|
|
2254
2213
|
if (captionEl.length > 0) {
|
|
2255
|
-
if ($event.type === 'focus' && (
|
|
2256
|
-
if (
|
|
2257
|
-
this.
|
|
2214
|
+
if ((!$event || $event.type === 'focus') && (($(this.selectEl).find('select option:selected').text() === '' && (this.placeholder || (this.datavalue || this.binddatavalue) || this.isIosPlatform())))) {
|
|
2215
|
+
if (!$event && (this.placeholder || this.datavalue || this.binddatavalue || this.isIosPlatform())) {
|
|
2216
|
+
this.app.notify('captionPositionAnimate', { isSelect: true, nativeEl: captionEl });
|
|
2258
2217
|
}
|
|
2259
|
-
|
|
2218
|
+
if (this.placeholder) {
|
|
2260
2219
|
$(this.selectEl.nativeElement).find('option:first').text(this.placeholder);
|
|
2261
2220
|
}
|
|
2262
2221
|
}
|
|
2263
2222
|
else if (!this.datavalue) {
|
|
2264
|
-
|
|
2265
|
-
|
|
2223
|
+
if (!this.placeholder) {
|
|
2224
|
+
// $(this.selectEl.nativeElement).find('option:first').text('');
|
|
2225
|
+
if (!this.isIosPlatform()) {
|
|
2226
|
+
captionEl.removeClass('float-active');
|
|
2227
|
+
}
|
|
2228
|
+
}
|
|
2266
2229
|
}
|
|
2267
2230
|
}
|
|
2268
|
-
else if (!(this.datavalue || this.placeholder)) {
|
|
2269
|
-
this.removePlaceholderOption();
|
|
2270
|
-
}
|
|
2271
2231
|
}
|
|
2272
|
-
|
|
2273
|
-
* Removing the placeholder option if no placeholder is provided.
|
|
2274
|
-
* In html we are hiding the placeholder option using css but in apple devices and safari option is showing.
|
|
2275
|
-
* */
|
|
2276
|
-
removePlaceholderOption() {
|
|
2277
|
-
const hiddenEle = $(this.selectEl.nativeElement).find('#placeholderOption');
|
|
2278
|
-
if (hiddenEle.length) {
|
|
2279
|
-
hiddenEle.remove();
|
|
2280
|
-
this.selectEl.nativeElement.value = '';
|
|
2281
|
-
}
|
|
2282
|
-
}
|
|
2283
|
-
static { this.ɵfac = function SelectComponent_Factory(t) { return new (t || SelectComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵdirectiveInject(i1$1__namespace.App), i0__namespace.ɵɵdirectiveInject('EXPLICIT_CONTEXT', 8)); }; }
|
|
2232
|
+
static { this.ɵfac = function SelectComponent_Factory(t) { return new (t || SelectComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵdirectiveInject(i1$1__namespace.App)); }; }
|
|
2284
2233
|
static { this.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: SelectComponent, selectors: [["wm-select"]], viewQuery: function SelectComponent_Query(rf, ctx) { if (rf & 1) {
|
|
2285
2234
|
i0__namespace.ɵɵviewQuery(_c0$7, 7, i0.ElementRef);
|
|
2286
2235
|
} if (rf & 2) {
|
|
@@ -2290,44 +2239,35 @@
|
|
|
2290
2239
|
i2.provideAs(SelectComponent, i2$1.NG_VALUE_ACCESSOR, true),
|
|
2291
2240
|
i2.provideAs(SelectComponent, i2$1.NG_VALIDATORS, true),
|
|
2292
2241
|
i2.provideAsWidgetRef(SelectComponent)
|
|
2293
|
-
]), i0__namespace.ɵɵInheritDefinitionFeature], decls: 5, vars:
|
|
2294
|
-
|
|
2295
|
-
i0__namespace.ɵɵ
|
|
2296
|
-
i0__namespace.ɵɵ
|
|
2297
|
-
i0__namespace.ɵɵ
|
|
2298
|
-
i0__namespace.ɵɵ
|
|
2299
|
-
i0__namespace.ɵɵtemplate(3, SelectComponent_ng_container_3_Template, 2, 1, "ng-container", 3)(4, SelectComponent_ng_container_4_Template, 2, 1, "ng-container", 3);
|
|
2242
|
+
]), i0__namespace.ɵɵ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) {
|
|
2243
|
+
i0__namespace.ɵɵelementStart(0, "select", 0, 1);
|
|
2244
|
+
i0__namespace.ɵɵ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); });
|
|
2245
|
+
i0__namespace.ɵɵtemplate(2, SelectComponent_option_2_Template, 1, 2, "option", 2);
|
|
2246
|
+
i0__namespace.ɵɵtemplate(3, SelectComponent_ng_container_3_Template, 2, 1, "ng-container", 3);
|
|
2247
|
+
i0__namespace.ɵɵtemplate(4, SelectComponent_ng_container_4_Template, 2, 1, "ng-container", 3);
|
|
2300
2248
|
i0__namespace.ɵɵelementEnd();
|
|
2301
2249
|
} if (rf & 2) {
|
|
2302
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(
|
|
2303
|
-
i0__namespace.ɵɵtwoWayProperty("ngModel", ctx.modelByKey);
|
|
2304
|
-
i0__namespace.ɵɵproperty("ngModelOptions", i0__namespace.ɵɵpureFunction0(17, _c2$4))("multiple", ctx.multiple)("autofocus", ctx.autofocus);
|
|
2250
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(13, _c1$6, ctx.class))("disabled", ctx.disabled)("required", ctx.required)("tabindex", ctx.tabindex)("ngModel", ctx.modelByKey)("multiple", ctx.multiple)("autofocus", ctx.autofocus);
|
|
2305
2251
|
i0__namespace.ɵɵattribute("name", ctx.name)("aria-label", ctx.hint)("aria-multiselectable", ctx.multiple);
|
|
2306
2252
|
i0__namespace.ɵɵadvance(2);
|
|
2307
|
-
i0__namespace.ɵɵproperty("
|
|
2308
|
-
i0__namespace.ɵɵadvance();
|
|
2253
|
+
i0__namespace.ɵɵproperty("ngIf", !ctx.isIosPlatform() || !!ctx.placeholder);
|
|
2254
|
+
i0__namespace.ɵɵadvance(1);
|
|
2309
2255
|
i0__namespace.ɵɵproperty("ngIf", ctx.groupby);
|
|
2310
|
-
i0__namespace.ɵɵadvance();
|
|
2256
|
+
i0__namespace.ɵɵadvance(1);
|
|
2311
2257
|
i0__namespace.ɵɵproperty("ngIf", !ctx.groupby);
|
|
2312
2258
|
} }, dependencies: [i1__namespace.NgClass, i1__namespace.NgForOf, i1__namespace.NgIf, i2$1__namespace.NgSelectOption, i2$1__namespace.ɵNgSelectMultipleOption, i2$1__namespace.SelectMultipleControlValueAccessor, i2$1__namespace.NgControlStatus, i2$1__namespace.RequiredValidator, i2$1__namespace.NgModel, i2__namespace.TextContentDirective], encapsulation: 2 }); }
|
|
2313
2259
|
}
|
|
2314
|
-
(()
|
|
2260
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(SelectComponent, [{
|
|
2315
2261
|
type: i0.Component,
|
|
2316
2262
|
args: [{ selector: 'wm-select', providers: [
|
|
2317
2263
|
i2.provideAs(SelectComponent, i2$1.NG_VALUE_ACCESSOR, true),
|
|
2318
2264
|
i2.provideAs(SelectComponent, i2$1.NG_VALIDATORS, true),
|
|
2319
2265
|
i2.provideAsWidgetRef(SelectComponent)
|
|
2320
|
-
], 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 [
|
|
2321
|
-
}], ()
|
|
2322
|
-
type: i0.Inject,
|
|
2323
|
-
args: ['EXPLICIT_CONTEXT']
|
|
2324
|
-
}, {
|
|
2325
|
-
type: i0.Optional
|
|
2326
|
-
}] }], { selectEl: [{
|
|
2266
|
+
], 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" }]
|
|
2267
|
+
}], function () { return [{ type: i0__namespace.Injector }, { type: i1$1__namespace.App }]; }, { selectEl: [{
|
|
2327
2268
|
type: i0.ViewChild,
|
|
2328
2269
|
args: ['select', { static: true, read: i0.ElementRef }]
|
|
2329
2270
|
}] }); })();
|
|
2330
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassDebugInfo(SelectComponent, { className: "SelectComponent", filePath: "select/select.component.ts", lineNumber: 22 }); })();
|
|
2331
2271
|
|
|
2332
2272
|
const switchProps = new Map([
|
|
2333
2273
|
['class', i2.PROP_STRING],
|
|
@@ -2354,43 +2294,43 @@
|
|
|
2354
2294
|
};
|
|
2355
2295
|
|
|
2356
2296
|
const _c0$6 = ["wmSwitch", ""];
|
|
2357
|
-
const _c1$5 = (
|
|
2358
|
-
const _c2$3 = a0 => ["app-icon", a0];
|
|
2297
|
+
const _c1$5 = function (a1) { return ["app-icon", a1]; };
|
|
2359
2298
|
function SwitchComponent_a_1_i_1_Template(rf, ctx) { if (rf & 1) {
|
|
2360
2299
|
i0__namespace.ɵɵelement(0, "i", 8);
|
|
2361
2300
|
} if (rf & 2) {
|
|
2362
|
-
const
|
|
2301
|
+
const opt_r2 = i0__namespace.ɵɵnextContext().$implicit;
|
|
2363
2302
|
const ctx_r4 = i0__namespace.ɵɵnextContext();
|
|
2364
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(1,
|
|
2303
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(1, _c1$5, opt_r2.dataObject[ctx_r4.iconclass] || opt_r2["icon"]));
|
|
2365
2304
|
} }
|
|
2305
|
+
const _c2$1 = function (a0, a1) { return { "selected": a0, "disabled": a1 }; };
|
|
2366
2306
|
function SwitchComponent_a_1_Template(rf, ctx) { if (rf & 1) {
|
|
2367
|
-
const
|
|
2307
|
+
const _r7 = i0__namespace.ɵɵgetCurrentView();
|
|
2368
2308
|
i0__namespace.ɵɵelementStart(0, "a", 5);
|
|
2369
|
-
i0__namespace.ɵɵlistener("click", function SwitchComponent_a_1_Template_a_click_0_listener($event) { const
|
|
2309
|
+
i0__namespace.ɵɵlistener("click", function SwitchComponent_a_1_Template_a_click_0_listener($event) { const restoredCtx = i0__namespace.ɵɵrestoreView(_r7); const $index_r3 = restoredCtx.index; const opt_r2 = restoredCtx.$implicit; const ctx_r6 = i0__namespace.ɵɵnextContext(); return i0__namespace.ɵɵresetView(ctx_r6.selectOpt($event, $index_r3, opt_r2)); });
|
|
2370
2310
|
i0__namespace.ɵɵtemplate(1, SwitchComponent_a_1_i_1_Template, 1, 3, "i", 6);
|
|
2371
2311
|
i0__namespace.ɵɵelement(2, "span", 7);
|
|
2372
2312
|
i0__namespace.ɵɵelementEnd();
|
|
2373
2313
|
} if (rf & 2) {
|
|
2374
|
-
const
|
|
2375
|
-
const
|
|
2376
|
-
i0__namespace.ɵɵproperty("name", "wm-switch-" +
|
|
2377
|
-
i0__namespace.ɵɵadvance();
|
|
2378
|
-
i0__namespace.ɵɵproperty("ngIf",
|
|
2379
|
-
i0__namespace.ɵɵadvance();
|
|
2380
|
-
i0__namespace.ɵɵproperty("textContent",
|
|
2314
|
+
const opt_r2 = ctx.$implicit;
|
|
2315
|
+
const ctx_r0 = i0__namespace.ɵɵnextContext();
|
|
2316
|
+
i0__namespace.ɵɵproperty("name", "wm-switch-" + opt_r2.key)("ngClass", i0__namespace.ɵɵpureFunction2(4, _c2$1, opt_r2.selected, ctx_r0.disabled));
|
|
2317
|
+
i0__namespace.ɵɵadvance(1);
|
|
2318
|
+
i0__namespace.ɵɵproperty("ngIf", opt_r2.dataObject && opt_r2.dataObject[ctx_r0.iconclass]);
|
|
2319
|
+
i0__namespace.ɵɵadvance(1);
|
|
2320
|
+
i0__namespace.ɵɵproperty("textContent", opt_r2[ctx_r0.displayfield] || opt_r2.label);
|
|
2381
2321
|
} }
|
|
2382
2322
|
function SwitchComponent_i_3_Template(rf, ctx) { if (rf & 1) {
|
|
2383
2323
|
i0__namespace.ɵɵelement(0, "i");
|
|
2384
2324
|
} if (rf & 2) {
|
|
2385
|
-
const
|
|
2386
|
-
i0__namespace.ɵɵclassMapInterpolate1("app-icon ",
|
|
2325
|
+
const ctx_r1 = i0__namespace.ɵɵnextContext();
|
|
2326
|
+
i0__namespace.ɵɵclassMapInterpolate1("app-icon ", ctx_r1.selectedItem && ctx_r1.selectedItem.dataObject && ctx_r1.selectedItem.dataObject[ctx_r1.iconclass], "");
|
|
2387
2327
|
} }
|
|
2388
2328
|
const DEFAULT_CLS = 'app-switch';
|
|
2389
2329
|
const WIDGET_CONFIG$6 = { widgetType: 'wm-switch', hostClass: DEFAULT_CLS };
|
|
2390
2330
|
class SwitchComponent extends DatasetAwareFormComponent {
|
|
2391
2331
|
static { this.initializeProps = registerProps$6(); }
|
|
2392
|
-
constructor(inj
|
|
2393
|
-
super(inj, WIDGET_CONFIG$6
|
|
2332
|
+
constructor(inj) {
|
|
2333
|
+
super(inj, WIDGET_CONFIG$6);
|
|
2394
2334
|
this.options = [];
|
|
2395
2335
|
this._debounceSetSelectedValue = i1$1.debounce((val) => {
|
|
2396
2336
|
this.setSelectedValue();
|
|
@@ -2422,7 +2362,7 @@
|
|
|
2422
2362
|
// This function sets the selectedItem by either using compareby fields or selected flag on datasetItems.
|
|
2423
2363
|
setSelectedValue() {
|
|
2424
2364
|
if (i1$1.isDefined(this.datavalue) || i1$1.isDefined(this.toBeProcessedDatavalue)) {
|
|
2425
|
-
this.selectedItem =
|
|
2365
|
+
this.selectedItem = _.find(this.datasetItems, { selected: true });
|
|
2426
2366
|
return;
|
|
2427
2367
|
}
|
|
2428
2368
|
// If no value is provided, set first value as default if options are available else set -1 ie no selection
|
|
@@ -2441,7 +2381,7 @@
|
|
|
2441
2381
|
updateHighlighter(skipAnimation) {
|
|
2442
2382
|
const handler = $(this.nativeElement).find('span.app-switch-overlay');
|
|
2443
2383
|
this.setSelectedValue();
|
|
2444
|
-
let left, index = this.selectedItem ?
|
|
2384
|
+
let left, index = this.selectedItem ? _.findIndex(this.datasetItems, { key: this.selectedItem.key }) : -1;
|
|
2445
2385
|
if (index === undefined || index === null) {
|
|
2446
2386
|
index = -1;
|
|
2447
2387
|
}
|
|
@@ -2471,7 +2411,7 @@
|
|
|
2471
2411
|
}
|
|
2472
2412
|
this.modelByKey = option.key;
|
|
2473
2413
|
this.invokeOnTouched();
|
|
2474
|
-
if (this.selectedItem && $index ===
|
|
2414
|
+
if (this.selectedItem && $index === _.findIndex(this.datasetItems, { key: this.selectedItem.key })) {
|
|
2475
2415
|
if (this.datasetItems.length === 2) {
|
|
2476
2416
|
$index = $index === 1 ? 0 : 1;
|
|
2477
2417
|
}
|
|
@@ -2493,11 +2433,11 @@
|
|
|
2493
2433
|
super.onPropertyChange(key, nv, ov);
|
|
2494
2434
|
}
|
|
2495
2435
|
}
|
|
2496
|
-
static { this.ɵfac = function SwitchComponent_Factory(t) { return new (t || SwitchComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector)
|
|
2436
|
+
static { this.ɵfac = function SwitchComponent_Factory(t) { return new (t || SwitchComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector)); }; }
|
|
2497
2437
|
static { this.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: SwitchComponent, selectors: [["", "wmSwitch", ""]], exportAs: ["wmSwitch"], features: [i0__namespace.ɵɵProvidersFeature([
|
|
2498
2438
|
i2.provideAs(SwitchComponent, i2$1.NG_VALUE_ACCESSOR, true),
|
|
2499
2439
|
i2.provideAsWidgetRef(SwitchComponent)
|
|
2500
|
-
]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c0$6, decls: 6, vars: 8, consts: [["role", "group", 1, "btn-group", "btn-group-justified"], ["focus-target", "", "href", "javascript:void(0);", "class", "btn btn-default", 3, "name", "ngClass", "click", 4, "ngFor", "ngForOf"], [1, "btn", "btn-primary", "app-switch-overlay", "switch-handle", 3, "title"], [3, "class", 4, "ngIf"], ["aria-hidden", "true", 1, "model-holder", "ng-hide", 3, "name", "disabled", "value", "required"], ["focus-target", "", "href", "javascript:void(0);", 1, "btn", "btn-default", 3, "
|
|
2440
|
+
]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c0$6, decls: 6, vars: 8, consts: [["role", "group", 1, "btn-group", "btn-group-justified"], ["focus-target", "", "href", "javascript:void(0);", "class", "btn btn-default", 3, "name", "ngClass", "click", 4, "ngFor", "ngForOf"], [1, "btn", "btn-primary", "app-switch-overlay", "switch-handle", 3, "title"], [3, "class", 4, "ngIf"], ["aria-hidden", "true", 1, "model-holder", "ng-hide", 3, "name", "disabled", "value", "required"], ["focus-target", "", "href", "javascript:void(0);", 1, "btn", "btn-default", 3, "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) {
|
|
2501
2441
|
i0__namespace.ɵɵelementStart(0, "div", 0);
|
|
2502
2442
|
i0__namespace.ɵɵtemplate(1, SwitchComponent_a_1_Template, 3, 7, "a", 1);
|
|
2503
2443
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -2507,31 +2447,25 @@
|
|
|
2507
2447
|
i0__namespace.ɵɵelementEnd();
|
|
2508
2448
|
i0__namespace.ɵɵelement(5, "input", 4);
|
|
2509
2449
|
} if (rf & 2) {
|
|
2510
|
-
i0__namespace.ɵɵadvance();
|
|
2450
|
+
i0__namespace.ɵɵadvance(1);
|
|
2511
2451
|
i0__namespace.ɵɵproperty("ngForOf", ctx.datasetItems);
|
|
2512
|
-
i0__namespace.ɵɵadvance();
|
|
2452
|
+
i0__namespace.ɵɵadvance(1);
|
|
2513
2453
|
i0__namespace.ɵɵproperty("title", ctx.selectedItem ? ctx.selectedItem.label : ctx.modelByKey);
|
|
2514
|
-
i0__namespace.ɵɵadvance();
|
|
2454
|
+
i0__namespace.ɵɵadvance(1);
|
|
2515
2455
|
i0__namespace.ɵɵproperty("ngIf", ctx.iconclass);
|
|
2516
|
-
i0__namespace.ɵɵadvance();
|
|
2456
|
+
i0__namespace.ɵɵadvance(1);
|
|
2517
2457
|
i0__namespace.ɵɵtextInterpolate1(" ", ctx.selectedItem ? ctx.selectedItem.label : ctx.modelByKey, "\n");
|
|
2518
|
-
i0__namespace.ɵɵadvance();
|
|
2458
|
+
i0__namespace.ɵɵadvance(1);
|
|
2519
2459
|
i0__namespace.ɵɵproperty("name", ctx.name)("disabled", ctx.disabled)("value", ctx.modelByKey)("required", ctx.required);
|
|
2520
2460
|
} }, dependencies: [i1__namespace.NgClass, i1__namespace.NgForOf, i1__namespace.NgIf, i2__namespace.TextContentDirective], encapsulation: 2 }); }
|
|
2521
2461
|
}
|
|
2522
|
-
(()
|
|
2462
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(SwitchComponent, [{
|
|
2523
2463
|
type: i0.Component,
|
|
2524
2464
|
args: [{ selector: '[wmSwitch]', providers: [
|
|
2525
2465
|
i2.provideAs(SwitchComponent, i2$1.NG_VALUE_ACCESSOR, true),
|
|
2526
2466
|
i2.provideAsWidgetRef(SwitchComponent)
|
|
2527
2467
|
], 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" }]
|
|
2528
|
-
}], ()
|
|
2529
|
-
type: i0.Inject,
|
|
2530
|
-
args: ['EXPLICIT_CONTEXT']
|
|
2531
|
-
}, {
|
|
2532
|
-
type: i0.Optional
|
|
2533
|
-
}] }], null); })();
|
|
2534
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassDebugInfo(SwitchComponent, { className: "SwitchComponent", filePath: "switch/switch.component.ts", lineNumber: 25 }); })();
|
|
2468
|
+
}], function () { return [{ type: i0__namespace.Injector }]; }, null); })();
|
|
2535
2469
|
|
|
2536
2470
|
const inputCalendarTypeProps = new Map([
|
|
2537
2471
|
['autocomplete', { value: true, ...i2.PROP_BOOLEAN }],
|
|
@@ -2563,17 +2497,16 @@
|
|
|
2563
2497
|
|
|
2564
2498
|
const _c0$5 = ["input"];
|
|
2565
2499
|
const _c1$4 = ["type", "date"];
|
|
2566
|
-
const _c2$2 = () => ({ standalone: true });
|
|
2567
2500
|
const WIDGET_CONFIG$5 = {
|
|
2568
2501
|
widgetType: 'wm-input-calendar',
|
|
2569
2502
|
hostClass: 'app-input-wrapper'
|
|
2570
2503
|
};
|
|
2571
2504
|
class InputCalendarComponent extends BaseInput {
|
|
2572
2505
|
static { this.initializeProps = registerProps$5(); }
|
|
2573
|
-
constructor(inj
|
|
2574
|
-
super(inj, WIDGET_CONFIG$5
|
|
2506
|
+
constructor(inj) {
|
|
2507
|
+
super(inj, WIDGET_CONFIG$5);
|
|
2575
2508
|
}
|
|
2576
|
-
static { this.ɵfac = function InputCalendarComponent_Factory(t) { return new (t || InputCalendarComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector)
|
|
2509
|
+
static { this.ɵfac = function InputCalendarComponent_Factory(t) { return new (t || InputCalendarComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector)); }; }
|
|
2577
2510
|
static { this.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: InputCalendarComponent, selectors: [["wm-input", "type", "date"], ["wm-input", "type", "datetime-local"], ["wm-input", "type", "month"], ["wm-input", "type", "time"], ["wm-input", "type", "week"]], viewQuery: function InputCalendarComponent_Query(rf, ctx) { if (rf & 1) {
|
|
2578
2511
|
i0__namespace.ɵɵviewQuery(_c0$5, 7);
|
|
2579
2512
|
i0__namespace.ɵɵviewQuery(i2$1.NgModel, 5);
|
|
@@ -2585,39 +2518,29 @@
|
|
|
2585
2518
|
i2.provideAs(InputCalendarComponent, i2$1.NG_VALUE_ACCESSOR, true),
|
|
2586
2519
|
i2.provideAs(InputCalendarComponent, i2$1.NG_VALIDATORS, true),
|
|
2587
2520
|
i2.provideAsWidgetRef(InputCalendarComponent)
|
|
2588
|
-
]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c1$4, decls: 2, vars:
|
|
2589
|
-
|
|
2590
|
-
i0__namespace.ɵɵ
|
|
2591
|
-
i0__namespace.ɵɵtwoWayListener("ngModelChange", function InputCalendarComponent_Template_input_ngModelChange_0_listener($event) { i0__namespace.ɵɵrestoreView(_r1); i0__namespace.ɵɵtwoWayBindingSet(ctx.datavalue, $event) || (ctx.datavalue = $event); return i0__namespace.ɵɵresetView($event); });
|
|
2592
|
-
i0__namespace.ɵɵlistener("blur", function InputCalendarComponent_Template_input_blur_0_listener($event) { i0__namespace.ɵɵrestoreView(_r1); return i0__namespace.ɵɵresetView(ctx.handleBlur($event)); })("ngModelChange", function InputCalendarComponent_Template_input_ngModelChange_0_listener($event) { i0__namespace.ɵɵrestoreView(_r1); return i0__namespace.ɵɵresetView(ctx.handleChange($event)); });
|
|
2521
|
+
]), i0__namespace.ɵɵ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) {
|
|
2522
|
+
i0__namespace.ɵɵelementStart(0, "input", 0, 1);
|
|
2523
|
+
i0__namespace.ɵɵ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); });
|
|
2593
2524
|
i0__namespace.ɵɵelementEnd();
|
|
2594
2525
|
} if (rf & 2) {
|
|
2595
|
-
i0__namespace.ɵɵproperty("type", ctx.type);
|
|
2596
|
-
i0__namespace.ɵɵtwoWayProperty("ngModel", ctx.datavalue);
|
|
2597
|
-
i0__namespace.ɵɵproperty("ngModelOptions", i0__namespace.ɵɵpureFunction0(18, _c2$2))("readonly", ctx.readonly)("required", ctx.required)("disabled", ctx.disabled)("min", ctx.minvalue)("max", ctx.maxvalue)("step", ctx.step)("autofocus", ctx.autofocus)("autocomplete", ctx.autocomplete ? "on" : "off")("ngClass", ctx.conditionalclass)("ngStyle", ctx.conditionalstyle);
|
|
2526
|
+
i0__namespace.ɵɵ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);
|
|
2598
2527
|
i0__namespace.ɵɵattribute("name", ctx.name)("tabindex", ctx.tabindex)("placeholder", ctx.placeholder)("accesskey", ctx.shortcutkey)("aria-label", ctx.hint || ctx.type + " field");
|
|
2599
2528
|
} }, dependencies: [i1__namespace.NgClass, i1__namespace.NgStyle, i2$1__namespace.DefaultValueAccessor, i2$1__namespace.NgControlStatus, i2$1__namespace.RequiredValidator, i2$1__namespace.NgModel], encapsulation: 2 }); }
|
|
2600
2529
|
}
|
|
2601
|
-
(()
|
|
2530
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(InputCalendarComponent, [{
|
|
2602
2531
|
type: i0.Component,
|
|
2603
2532
|
args: [{ selector: 'wm-input[type="date"], wm-input[type="datetime-local"], wm-input[type="month"], wm-input[type="time"], wm-input[type="week"]', providers: [
|
|
2604
2533
|
i2.provideAs(InputCalendarComponent, i2$1.NG_VALUE_ACCESSOR, true),
|
|
2605
2534
|
i2.provideAs(InputCalendarComponent, i2$1.NG_VALIDATORS, true),
|
|
2606
2535
|
i2.provideAsWidgetRef(InputCalendarComponent)
|
|
2607
|
-
], template: "<input class=\"form-control app-textbox\"\n focus-target\n role=\"textbox\"\n [type]=\"type\"\n [attr.name]=\"name\"\n [(ngModel)]=\"datavalue\"\n [
|
|
2608
|
-
}], ()
|
|
2609
|
-
type: i0.Inject,
|
|
2610
|
-
args: ['EXPLICIT_CONTEXT']
|
|
2611
|
-
}, {
|
|
2612
|
-
type: i0.Optional
|
|
2613
|
-
}] }], { inputEl: [{
|
|
2536
|
+
], 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" }]
|
|
2537
|
+
}], function () { return [{ type: i0__namespace.Injector }]; }, { inputEl: [{
|
|
2614
2538
|
type: i0.ViewChild,
|
|
2615
2539
|
args: ['input', { static: true }]
|
|
2616
2540
|
}], ngModel: [{
|
|
2617
2541
|
type: i0.ViewChild,
|
|
2618
2542
|
args: [i2$1.NgModel]
|
|
2619
2543
|
}] }); })();
|
|
2620
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassDebugInfo(InputCalendarComponent, { className: "InputCalendarComponent", filePath: "text/calendar/input-calendar.component.ts", lineNumber: 22 }); })();
|
|
2621
2544
|
|
|
2622
2545
|
const inputColorTypeProps = new Map([
|
|
2623
2546
|
['autocomplete', { value: true, ...i2.PROP_BOOLEAN }],
|
|
@@ -2646,17 +2569,16 @@
|
|
|
2646
2569
|
|
|
2647
2570
|
const _c0$4 = ["input"];
|
|
2648
2571
|
const _c1$3 = ["type", "color"];
|
|
2649
|
-
const _c2$1 = () => ({ standalone: true });
|
|
2650
2572
|
const WIDGET_CONFIG$4 = {
|
|
2651
2573
|
widgetType: 'wm-input-color',
|
|
2652
2574
|
hostClass: 'app-input-wrapper'
|
|
2653
2575
|
};
|
|
2654
2576
|
class InputColorComponent extends BaseInput {
|
|
2655
2577
|
static { this.initializeProps = registerProps$4(); }
|
|
2656
|
-
constructor(inj
|
|
2657
|
-
super(inj, WIDGET_CONFIG$4
|
|
2578
|
+
constructor(inj) {
|
|
2579
|
+
super(inj, WIDGET_CONFIG$4);
|
|
2658
2580
|
}
|
|
2659
|
-
static { this.ɵfac = function InputColorComponent_Factory(t) { return new (t || InputColorComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector)
|
|
2581
|
+
static { this.ɵfac = function InputColorComponent_Factory(t) { return new (t || InputColorComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector)); }; }
|
|
2660
2582
|
static { this.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: InputColorComponent, selectors: [["wm-input", "type", "color"]], viewQuery: function InputColorComponent_Query(rf, ctx) { if (rf & 1) {
|
|
2661
2583
|
i0__namespace.ɵɵviewQuery(_c0$4, 7);
|
|
2662
2584
|
i0__namespace.ɵɵviewQuery(i2$1.NgModel, 5);
|
|
@@ -2668,39 +2590,29 @@
|
|
|
2668
2590
|
i2.provideAs(InputColorComponent, i2$1.NG_VALUE_ACCESSOR, true),
|
|
2669
2591
|
i2.provideAs(InputColorComponent, i2$1.NG_VALIDATORS, true),
|
|
2670
2592
|
i2.provideAsWidgetRef(InputColorComponent)
|
|
2671
|
-
]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c1$3, decls: 2, vars:
|
|
2672
|
-
|
|
2673
|
-
i0__namespace.ɵɵ
|
|
2674
|
-
i0__namespace.ɵɵtwoWayListener("ngModelChange", function InputColorComponent_Template_input_ngModelChange_0_listener($event) { i0__namespace.ɵɵrestoreView(_r1); i0__namespace.ɵɵtwoWayBindingSet(ctx.datavalue, $event) || (ctx.datavalue = $event); return i0__namespace.ɵɵresetView($event); });
|
|
2675
|
-
i0__namespace.ɵɵlistener("blur", function InputColorComponent_Template_input_blur_0_listener($event) { i0__namespace.ɵɵrestoreView(_r1); return i0__namespace.ɵɵresetView(ctx.handleBlur($event)); })("ngModelChange", function InputColorComponent_Template_input_ngModelChange_0_listener($event) { i0__namespace.ɵɵrestoreView(_r1); return i0__namespace.ɵɵresetView(ctx.handleChange($event)); });
|
|
2593
|
+
]), i0__namespace.ɵɵ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) {
|
|
2594
|
+
i0__namespace.ɵɵelementStart(0, "input", 0, 1);
|
|
2595
|
+
i0__namespace.ɵɵ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); });
|
|
2676
2596
|
i0__namespace.ɵɵelementEnd();
|
|
2677
2597
|
} if (rf & 2) {
|
|
2678
|
-
i0__namespace.ɵɵproperty("type", ctx.type);
|
|
2679
|
-
i0__namespace.ɵɵtwoWayProperty("ngModel", ctx.datavalue);
|
|
2680
|
-
i0__namespace.ɵɵproperty("ngModelOptions", i0__namespace.ɵɵpureFunction0(15, _c2$1))("readonly", ctx.readonly)("required", ctx.required)("disabled", ctx.disabled)("maxlength", ctx.maxchars)("autofocus", ctx.autofocus)("ngClass", ctx.conditionalclass)("ngStyle", ctx.conditionalstyle);
|
|
2598
|
+
i0__namespace.ɵɵ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);
|
|
2681
2599
|
i0__namespace.ɵɵattribute("name", ctx.name)("tabindex", ctx.tabindex)("placeholder", ctx.placeholder)("accesskey", ctx.shortcutkey)("aria-label", ctx.hint);
|
|
2682
2600
|
} }, dependencies: [i1__namespace.NgClass, i1__namespace.NgStyle, i2$1__namespace.DefaultValueAccessor, i2$1__namespace.NgControlStatus, i2$1__namespace.RequiredValidator, i2$1__namespace.MaxLengthValidator, i2$1__namespace.NgModel], encapsulation: 2 }); }
|
|
2683
2601
|
}
|
|
2684
|
-
(()
|
|
2602
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(InputColorComponent, [{
|
|
2685
2603
|
type: i0.Component,
|
|
2686
2604
|
args: [{ selector: 'wm-input[type="color"]', providers: [
|
|
2687
2605
|
i2.provideAs(InputColorComponent, i2$1.NG_VALUE_ACCESSOR, true),
|
|
2688
2606
|
i2.provideAs(InputColorComponent, i2$1.NG_VALIDATORS, true),
|
|
2689
2607
|
i2.provideAsWidgetRef(InputColorComponent)
|
|
2690
|
-
], template: "<input class=\"form-control app-textbox\"\n focus-target\n [type]=\"type\"\n role=\"textbox\"\n [attr.name]=\"name\"\n [(ngModel)]=\"datavalue\"\n [
|
|
2691
|
-
}], ()
|
|
2692
|
-
type: i0.Inject,
|
|
2693
|
-
args: ['EXPLICIT_CONTEXT']
|
|
2694
|
-
}, {
|
|
2695
|
-
type: i0.Optional
|
|
2696
|
-
}] }], { inputEl: [{
|
|
2608
|
+
], 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" }]
|
|
2609
|
+
}], function () { return [{ type: i0__namespace.Injector }]; }, { inputEl: [{
|
|
2697
2610
|
type: i0.ViewChild,
|
|
2698
2611
|
args: ['input', { static: true }]
|
|
2699
2612
|
}], ngModel: [{
|
|
2700
2613
|
type: i0.ViewChild,
|
|
2701
2614
|
args: [i2$1.NgModel]
|
|
2702
2615
|
}] }); })();
|
|
2703
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassDebugInfo(InputColorComponent, { className: "InputColorComponent", filePath: "text/color/input-color.component.ts", lineNumber: 23 }); })();
|
|
2704
2616
|
|
|
2705
2617
|
const inputEmailTypeProps = new Map([
|
|
2706
2618
|
['autocomplete', { value: true, ...i2.PROP_BOOLEAN }],
|
|
@@ -2737,10 +2649,10 @@
|
|
|
2737
2649
|
};
|
|
2738
2650
|
class InputEmailComponent extends BaseInput {
|
|
2739
2651
|
static { this.initializeProps = registerProps$3(); }
|
|
2740
|
-
constructor(inj
|
|
2741
|
-
super(inj, WIDGET_CONFIG$3
|
|
2652
|
+
constructor(inj) {
|
|
2653
|
+
super(inj, WIDGET_CONFIG$3);
|
|
2742
2654
|
}
|
|
2743
|
-
static { this.ɵfac = function InputEmailComponent_Factory(t) { return new (t || InputEmailComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector)
|
|
2655
|
+
static { this.ɵfac = function InputEmailComponent_Factory(t) { return new (t || InputEmailComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector)); }; }
|
|
2744
2656
|
static { this.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: InputEmailComponent, selectors: [["wm-input", "type", "email"]], viewQuery: function InputEmailComponent_Query(rf, ctx) { if (rf & 1) {
|
|
2745
2657
|
i0__namespace.ɵɵviewQuery(_c0$3, 7);
|
|
2746
2658
|
i0__namespace.ɵɵviewQuery(i2$1.NgModel, 5);
|
|
@@ -2752,39 +2664,30 @@
|
|
|
2752
2664
|
i2.provideAs(InputEmailComponent, i2$1.NG_VALUE_ACCESSOR, true),
|
|
2753
2665
|
i2.provideAs(InputEmailComponent, i2$1.NG_VALIDATORS, true),
|
|
2754
2666
|
i2.provideAsWidgetRef(InputEmailComponent)
|
|
2755
|
-
]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c1$2, decls: 2, vars: 17, consts: [["
|
|
2667
|
+
]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c1$2, decls: 2, vars: 17, consts: [["focus-target", "", "role", "textbox", "email", "", 1, "form-control", "app-textbox", 3, "type", "ngModel", "ngModelOptions", "readonly", "required", "disabled", "maxlength", "pattern", "autofocus", "ngClass", "ngStyle", "autocomplete", "ngModelChange", "blur", "keyup.enter"], ["input", ""]], template: function InputEmailComponent_Template(rf, ctx) { if (rf & 1) {
|
|
2756
2668
|
const _r1 = i0__namespace.ɵɵgetCurrentView();
|
|
2757
|
-
i0__namespace.ɵɵelementStart(0, "input",
|
|
2758
|
-
i0__namespace.ɵɵ
|
|
2759
|
-
i0__namespace.ɵɵlistener("blur", function InputEmailComponent_Template_input_blur_0_listener($event) { i0__namespace.ɵɵrestoreView(_r1); return i0__namespace.ɵɵresetView(ctx.handleBlur($event)); })("ngModelChange", function InputEmailComponent_Template_input_ngModelChange_0_listener($event) { i0__namespace.ɵɵrestoreView(_r1); return i0__namespace.ɵɵresetView(ctx.handleChange($event)); })("keyup.enter", function InputEmailComponent_Template_input_keyup_enter_0_listener() { i0__namespace.ɵɵrestoreView(_r1); const input_r2 = i0__namespace.ɵɵreference(1); return i0__namespace.ɵɵresetView(ctx.flushViewChanges(input_r2.value)); });
|
|
2669
|
+
i0__namespace.ɵɵelementStart(0, "input", 0, 1);
|
|
2670
|
+
i0__namespace.ɵɵ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__namespace.ɵɵrestoreView(_r1); const _r0 = i0__namespace.ɵɵreference(1); return i0__namespace.ɵɵresetView(ctx.flushViewChanges(_r0.value)); });
|
|
2760
2671
|
i0__namespace.ɵɵelementEnd();
|
|
2761
2672
|
} if (rf & 2) {
|
|
2762
|
-
i0__namespace.ɵɵproperty("type", ctx.type);
|
|
2763
|
-
i0__namespace.ɵɵtwoWayProperty("ngModel", ctx.datavalue);
|
|
2764
|
-
i0__namespace.ɵɵproperty("ngModelOptions", ctx.ngModelOptions)("readonly", ctx.readonly)("required", ctx.required)("disabled", ctx.disabled)("maxlength", ctx.maxchars)("pattern", ctx.regexp)("autofocus", ctx.autofocus)("ngClass", ctx.conditionalclass)("ngStyle", ctx.conditionalstyle)("autocomplete", ctx.autocomplete ? "on" : "off");
|
|
2673
|
+
i0__namespace.ɵɵ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");
|
|
2765
2674
|
i0__namespace.ɵɵattribute("name", ctx.name)("tabindex", ctx.tabindex)("placeholder", ctx.placeholder)("accesskey", ctx.shortcutkey)("aria-label", ctx.hint);
|
|
2766
2675
|
} }, dependencies: [i1__namespace.NgClass, i1__namespace.NgStyle, i2$1__namespace.DefaultValueAccessor, i2$1__namespace.NgControlStatus, i2$1__namespace.RequiredValidator, i2$1__namespace.MaxLengthValidator, i2$1__namespace.PatternValidator, i2$1__namespace.EmailValidator, i2$1__namespace.NgModel], encapsulation: 2 }); }
|
|
2767
2676
|
}
|
|
2768
|
-
(()
|
|
2677
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(InputEmailComponent, [{
|
|
2769
2678
|
type: i0.Component,
|
|
2770
2679
|
args: [{ selector: 'wm-input[type="email"]', providers: [
|
|
2771
2680
|
i2.provideAs(InputEmailComponent, i2$1.NG_VALUE_ACCESSOR, true),
|
|
2772
2681
|
i2.provideAs(InputEmailComponent, i2$1.NG_VALIDATORS, true),
|
|
2773
2682
|
i2.provideAsWidgetRef(InputEmailComponent)
|
|
2774
2683
|
], 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" }]
|
|
2775
|
-
}], ()
|
|
2776
|
-
type: i0.Inject,
|
|
2777
|
-
args: ['EXPLICIT_CONTEXT']
|
|
2778
|
-
}, {
|
|
2779
|
-
type: i0.Optional
|
|
2780
|
-
}] }], { inputEl: [{
|
|
2684
|
+
}], function () { return [{ type: i0__namespace.Injector }]; }, { inputEl: [{
|
|
2781
2685
|
type: i0.ViewChild,
|
|
2782
2686
|
args: ['input', { static: true }]
|
|
2783
2687
|
}], ngModel: [{
|
|
2784
2688
|
type: i0.ViewChild,
|
|
2785
2689
|
args: [i2$1.NgModel]
|
|
2786
2690
|
}] }); })();
|
|
2787
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassDebugInfo(InputEmailComponent, { className: "InputEmailComponent", filePath: "text/email/input-email.component.ts", lineNumber: 23 }); })();
|
|
2788
2691
|
|
|
2789
2692
|
const inputNumberTypeProps = new Map([
|
|
2790
2693
|
['autocomplete', { value: true, ...i2.PROP_BOOLEAN }],
|
|
@@ -2818,15 +2721,15 @@
|
|
|
2818
2721
|
|
|
2819
2722
|
const _c0$2 = ["input"];
|
|
2820
2723
|
const _c1$1 = ["type", "number"];
|
|
2821
|
-
const _c2 = a0
|
|
2724
|
+
const _c2 = function (a0) { return { "step-hidden": a0 }; };
|
|
2822
2725
|
const WIDGET_CONFIG$2 = {
|
|
2823
2726
|
widgetType: 'wm-input-number',
|
|
2824
2727
|
hostClass: 'app-input-wrapper'
|
|
2825
2728
|
};
|
|
2826
2729
|
class InputNumberComponent extends BaseInput {
|
|
2827
2730
|
static { this.initializeProps = registerProps$2(); }
|
|
2828
|
-
constructor(inj
|
|
2829
|
-
super(inj, WIDGET_CONFIG$2
|
|
2731
|
+
constructor(inj) {
|
|
2732
|
+
super(inj, WIDGET_CONFIG$2);
|
|
2830
2733
|
}
|
|
2831
2734
|
onArrowPress($event) {
|
|
2832
2735
|
if (this.step === 0) {
|
|
@@ -2838,7 +2741,7 @@
|
|
|
2838
2741
|
return false;
|
|
2839
2742
|
}
|
|
2840
2743
|
}
|
|
2841
|
-
static { this.ɵfac = function InputNumberComponent_Factory(t) { return new (t || InputNumberComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector)
|
|
2744
|
+
static { this.ɵfac = function InputNumberComponent_Factory(t) { return new (t || InputNumberComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector)); }; }
|
|
2842
2745
|
static { this.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: InputNumberComponent, selectors: [["wm-input", "type", "number"]], viewQuery: function InputNumberComponent_Query(rf, ctx) { if (rf & 1) {
|
|
2843
2746
|
i0__namespace.ɵɵviewQuery(_c0$2, 7);
|
|
2844
2747
|
i0__namespace.ɵɵviewQuery(i2$1.NgModel, 5);
|
|
@@ -2850,39 +2753,30 @@
|
|
|
2850
2753
|
i2.provideAs(InputNumberComponent, i2$1.NG_VALUE_ACCESSOR, true),
|
|
2851
2754
|
i2.provideAs(InputNumberComponent, i2$1.NG_VALIDATORS, true),
|
|
2852
2755
|
i2.provideAsWidgetRef(InputNumberComponent)
|
|
2853
|
-
]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c1$1, decls: 2, vars: 22, consts: [["
|
|
2756
|
+
]), i0__namespace.ɵɵ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) {
|
|
2854
2757
|
const _r1 = i0__namespace.ɵɵgetCurrentView();
|
|
2855
|
-
i0__namespace.ɵɵelementStart(0, "input",
|
|
2856
|
-
i0__namespace.ɵɵ
|
|
2857
|
-
i0__namespace.ɵɵlistener("blur", function InputNumberComponent_Template_input_blur_0_listener($event) { i0__namespace.ɵɵrestoreView(_r1); return i0__namespace.ɵɵresetView(ctx.handleBlur($event)); })("ngModelChange", function InputNumberComponent_Template_input_ngModelChange_0_listener($event) { i0__namespace.ɵɵrestoreView(_r1); return i0__namespace.ɵɵresetView(ctx.handleChange($event)); })("keyup.enter", function InputNumberComponent_Template_input_keyup_enter_0_listener() { i0__namespace.ɵɵrestoreView(_r1); const input_r2 = i0__namespace.ɵɵreference(1); return i0__namespace.ɵɵresetView(ctx.flushViewChanges(input_r2.value)); })("keydown.ArrowUp", function InputNumberComponent_Template_input_keydown_ArrowUp_0_listener($event) { i0__namespace.ɵɵrestoreView(_r1); return i0__namespace.ɵɵresetView(ctx.onArrowPress($event)); })("keydown.ArrowDown", function InputNumberComponent_Template_input_keydown_ArrowDown_0_listener($event) { i0__namespace.ɵɵrestoreView(_r1); return i0__namespace.ɵɵresetView(ctx.onArrowPress($event)); })("keypress", function InputNumberComponent_Template_input_keypress_0_listener($event) { i0__namespace.ɵɵrestoreView(_r1); return i0__namespace.ɵɵresetView(ctx.validateInputEntry($event)); });
|
|
2758
|
+
i0__namespace.ɵɵelementStart(0, "input", 0, 1);
|
|
2759
|
+
i0__namespace.ɵɵ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__namespace.ɵɵrestoreView(_r1); const _r0 = i0__namespace.ɵɵreference(1); return i0__namespace.ɵɵ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); });
|
|
2858
2760
|
i0__namespace.ɵɵelementEnd();
|
|
2859
2761
|
} if (rf & 2) {
|
|
2860
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(20, _c2, ctx.step === 0))("type", ctx.type);
|
|
2861
|
-
i0__namespace.ɵɵtwoWayProperty("ngModel", ctx.datavalue);
|
|
2862
|
-
i0__namespace.ɵɵproperty("ngModelOptions", ctx.ngModelOptions)("readonly", ctx.readonly)("required", ctx.required)("disabled", ctx.disabled)("maxlength", ctx.maxchars)("min", ctx.minvalue)("max", ctx.maxvalue)("step", ctx.step)("autofocus", ctx.autofocus)("ngClass", ctx.conditionalclass)("ngStyle", ctx.conditionalstyle)("autocomplete", ctx.autocomplete ? "on" : "off");
|
|
2762
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵ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");
|
|
2863
2763
|
i0__namespace.ɵɵattribute("name", ctx.name)("tabindex", ctx.tabindex)("placeholder", ctx.placeholder)("accesskey", ctx.shortcutkey)("aria-label", ctx.hint);
|
|
2864
2764
|
} }, dependencies: [i1__namespace.NgClass, i1__namespace.NgStyle, i2$1__namespace.DefaultValueAccessor, i2$1__namespace.NgControlStatus, i2$1__namespace.RequiredValidator, i2$1__namespace.MaxLengthValidator, i2$1__namespace.NgModel], encapsulation: 2 }); }
|
|
2865
2765
|
}
|
|
2866
|
-
(()
|
|
2766
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(InputNumberComponent, [{
|
|
2867
2767
|
type: i0.Component,
|
|
2868
2768
|
args: [{ selector: 'wm-input[type="number"]', providers: [
|
|
2869
2769
|
i2.provideAs(InputNumberComponent, i2$1.NG_VALUE_ACCESSOR, true),
|
|
2870
2770
|
i2.provideAs(InputNumberComponent, i2$1.NG_VALIDATORS, true),
|
|
2871
2771
|
i2.provideAsWidgetRef(InputNumberComponent)
|
|
2872
2772
|
], 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" }]
|
|
2873
|
-
}], ()
|
|
2874
|
-
type: i0.Inject,
|
|
2875
|
-
args: ['EXPLICIT_CONTEXT']
|
|
2876
|
-
}, {
|
|
2877
|
-
type: i0.Optional
|
|
2878
|
-
}] }], { inputEl: [{
|
|
2773
|
+
}], function () { return [{ type: i0__namespace.Injector }]; }, { inputEl: [{
|
|
2879
2774
|
type: i0.ViewChild,
|
|
2880
2775
|
args: ['input', { static: true }]
|
|
2881
2776
|
}], ngModel: [{
|
|
2882
2777
|
type: i0.ViewChild,
|
|
2883
2778
|
args: [i2$1.NgModel]
|
|
2884
2779
|
}] }); })();
|
|
2885
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassDebugInfo(InputNumberComponent, { className: "InputNumberComponent", filePath: "text/number/input-number.component.ts", lineNumber: 22 }); })();
|
|
2886
2780
|
|
|
2887
2781
|
const inputTextTypeProps = new Map([
|
|
2888
2782
|
['autocomplete', { value: true, ...i2.PROP_BOOLEAN }],
|
|
@@ -2931,8 +2825,8 @@
|
|
|
2931
2825
|
};
|
|
2932
2826
|
class InputTextComponent extends BaseInput {
|
|
2933
2827
|
static { this.initializeProps = registerProps$1(); }
|
|
2934
|
-
constructor(inj
|
|
2935
|
-
super(inj, WIDGET_CONFIG$1
|
|
2828
|
+
constructor(inj) {
|
|
2829
|
+
super(inj, WIDGET_CONFIG$1);
|
|
2936
2830
|
this.lazy = false;
|
|
2937
2831
|
}
|
|
2938
2832
|
/* Define the property change handler. This function will be triggered when there is a change in the widget property */
|
|
@@ -3003,7 +2897,7 @@
|
|
|
3003
2897
|
super.ngOnInit();
|
|
3004
2898
|
this.isFocused = !!this.datavalue;
|
|
3005
2899
|
}
|
|
3006
|
-
static { this.ɵfac = function InputTextComponent_Factory(t) { return new (t || InputTextComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector)
|
|
2900
|
+
static { this.ɵfac = function InputTextComponent_Factory(t) { return new (t || InputTextComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector)); }; }
|
|
3007
2901
|
static { this.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: InputTextComponent, selectors: [["wm-input", "type", "text"], ["wm-input", 3, "type", ""], ["wm-input", "type", "password"], ["wm-input", "type", "search"], ["wm-input", "type", "tel"], ["wm-input", "type", "url"]], viewQuery: function InputTextComponent_Query(rf, ctx) { if (rf & 1) {
|
|
3008
2902
|
i0__namespace.ɵɵviewQuery(_c0$1, 7);
|
|
3009
2903
|
i0__namespace.ɵɵviewQuery(i2$1.NgModel, 5);
|
|
@@ -3017,32 +2911,24 @@
|
|
|
3017
2911
|
i2.provideAs(InputTextComponent, i2$1.NG_VALUE_ACCESSOR, true),
|
|
3018
2912
|
i2.provideAs(InputTextComponent, i2$1.NG_VALIDATORS, true),
|
|
3019
2913
|
i2.provideAsWidgetRef(InputTextComponent)
|
|
3020
|
-
]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c1, decls: 2, vars: 19, consts: [["
|
|
2914
|
+
]), i0__namespace.ɵɵ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) {
|
|
3021
2915
|
const _r1 = i0__namespace.ɵɵgetCurrentView();
|
|
3022
|
-
i0__namespace.ɵɵelementStart(0, "input",
|
|
3023
|
-
i0__namespace.ɵɵ
|
|
3024
|
-
i0__namespace.ɵɵlistener("ngModelChange", function InputTextComponent_Template_input_ngModelChange_0_listener($event) { i0__namespace.ɵɵrestoreView(_r1); return i0__namespace.ɵɵresetView(ctx.handleChange($event)); })("blur", function InputTextComponent_Template_input_blur_0_listener($event) { i0__namespace.ɵɵrestoreView(_r1); ctx.handleBlur($event); return i0__namespace.ɵɵresetView(ctx.checkForDisplayFormat($event)); })("focus", function InputTextComponent_Template_input_focus_0_listener($event) { i0__namespace.ɵɵrestoreView(_r1); return i0__namespace.ɵɵresetView(ctx.checkForDisplayFormat($event)); })("keyup.enter", function InputTextComponent_Template_input_keyup_enter_0_listener() { i0__namespace.ɵɵrestoreView(_r1); const input_r2 = i0__namespace.ɵɵreference(1); return i0__namespace.ɵɵresetView(ctx.flushViewChanges(input_r2.value)); });
|
|
2916
|
+
i0__namespace.ɵɵelementStart(0, "input", 0, 1);
|
|
2917
|
+
i0__namespace.ɵɵ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__namespace.ɵɵrestoreView(_r1); const _r0 = i0__namespace.ɵɵreference(1); return i0__namespace.ɵɵresetView(ctx.flushViewChanges(_r0.value)); });
|
|
3025
2918
|
i0__namespace.ɵɵelementEnd();
|
|
3026
2919
|
} if (rf & 2) {
|
|
3027
|
-
i0__namespace.ɵɵproperty("type", ctx.type);
|
|
3028
|
-
i0__namespace.ɵɵtwoWayProperty("ngModel", ctx.datavalue);
|
|
3029
|
-
i0__namespace.ɵɵproperty("imask", ctx.mask)("unmask", true)("ngModelOptions", ctx.ngModelOptions)("readonly", ctx.readonly)("required", ctx.required)("disabled", ctx.disabled)("maxlength", ctx.maxchars)("pattern", ctx.regexp)("autofocus", ctx.autofocus)("ngClass", ctx.conditionalclass)("ngStyle", ctx.conditionalstyle)("autocomplete", ctx.autocomplete ? "on" : "off");
|
|
2920
|
+
i0__namespace.ɵɵ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");
|
|
3030
2921
|
i0__namespace.ɵɵattribute("name", ctx.name)("aria-label", ctx.hint)("tabindex", ctx.tabindex)("placeholder", ctx.placeholder)("accesskey", ctx.shortcutkey);
|
|
3031
2922
|
} }, dependencies: [i1__namespace.NgClass, i1__namespace.NgStyle, i2$1__namespace.DefaultValueAccessor, i2$1__namespace.NgControlStatus, i2$1__namespace.RequiredValidator, i2$1__namespace.MaxLengthValidator, i2$1__namespace.PatternValidator, i2$1__namespace.NgModel, i3__namespace.IMaskDirective], encapsulation: 2 }); }
|
|
3032
2923
|
}
|
|
3033
|
-
(()
|
|
2924
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(InputTextComponent, [{
|
|
3034
2925
|
type: i0.Component,
|
|
3035
2926
|
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: [
|
|
3036
2927
|
i2.provideAs(InputTextComponent, i2$1.NG_VALUE_ACCESSOR, true),
|
|
3037
2928
|
i2.provideAs(InputTextComponent, i2$1.NG_VALIDATORS, true),
|
|
3038
2929
|
i2.provideAsWidgetRef(InputTextComponent)
|
|
3039
2930
|
], 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" }]
|
|
3040
|
-
}], ()
|
|
3041
|
-
type: i0.Inject,
|
|
3042
|
-
args: ['EXPLICIT_CONTEXT']
|
|
3043
|
-
}, {
|
|
3044
|
-
type: i0.Optional
|
|
3045
|
-
}] }], { inputEl: [{
|
|
2931
|
+
}], function () { return [{ type: i0__namespace.Injector }]; }, { inputEl: [{
|
|
3046
2932
|
type: i0.ViewChild,
|
|
3047
2933
|
args: ['input', { static: true }]
|
|
3048
2934
|
}], ngModel: [{
|
|
@@ -3052,7 +2938,6 @@
|
|
|
3052
2938
|
type: i0.ViewChild,
|
|
3053
2939
|
args: ['input', { read: i3.IMaskDirective }]
|
|
3054
2940
|
}] }); })();
|
|
3055
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassDebugInfo(InputTextComponent, { className: "InputTextComponent", filePath: "text/text/input-text.component.ts", lineNumber: 23 }); })();
|
|
3056
2941
|
|
|
3057
2942
|
const textareaProps = new Map([
|
|
3058
2943
|
['autofocus', i2.PROP_BOOLEAN],
|
|
@@ -3088,7 +2973,7 @@
|
|
|
3088
2973
|
i0__namespace.ɵɵelementEnd();
|
|
3089
2974
|
} if (rf & 2) {
|
|
3090
2975
|
const ctx_r1 = i0__namespace.ɵɵnextContext();
|
|
3091
|
-
i0__namespace.ɵɵadvance();
|
|
2976
|
+
i0__namespace.ɵɵadvance(1);
|
|
3092
2977
|
i0__namespace.ɵɵtextInterpolate(ctx_r1.limitdisplaytext);
|
|
3093
2978
|
} }
|
|
3094
2979
|
const WIDGET_CONFIG = {
|
|
@@ -3097,14 +2982,14 @@
|
|
|
3097
2982
|
};
|
|
3098
2983
|
class TextareaComponent extends BaseInput {
|
|
3099
2984
|
static { this.initializeProps = registerProps(); }
|
|
3100
|
-
constructor(inj
|
|
3101
|
-
super(inj, WIDGET_CONFIG
|
|
2985
|
+
constructor(inj) {
|
|
2986
|
+
super(inj, WIDGET_CONFIG);
|
|
3102
2987
|
this.charlength = 0;
|
|
3103
2988
|
}
|
|
3104
2989
|
onInputChange() {
|
|
3105
2990
|
this.charlength = this.inputEl.nativeElement.value.length;
|
|
3106
2991
|
}
|
|
3107
|
-
static { this.ɵfac = function TextareaComponent_Factory(t) { return new (t || TextareaComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector)
|
|
2992
|
+
static { this.ɵfac = function TextareaComponent_Factory(t) { return new (t || TextareaComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector)); }; }
|
|
3108
2993
|
static { this.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: TextareaComponent, selectors: [["wm-textarea"]], viewQuery: function TextareaComponent_Query(rf, ctx) { if (rf & 1) {
|
|
3109
2994
|
i0__namespace.ɵɵviewQuery(_c0, 7);
|
|
3110
2995
|
i0__namespace.ɵɵviewQuery(i2$1.NgModel, 5);
|
|
@@ -3116,41 +3001,32 @@
|
|
|
3116
3001
|
i2.provideAs(TextareaComponent, i2$1.NG_VALUE_ACCESSOR, true),
|
|
3117
3002
|
i2.provideAs(TextareaComponent, i2$1.NG_VALIDATORS, true),
|
|
3118
3003
|
i2.provideAsWidgetRef(TextareaComponent)
|
|
3119
|
-
]), i0__namespace.ɵɵInheritDefinitionFeature], decls: 3, vars: 15, consts: [["
|
|
3120
|
-
|
|
3121
|
-
i0__namespace.ɵɵ
|
|
3122
|
-
i0__namespace.ɵɵtwoWayListener("ngModelChange", function TextareaComponent_Template_textarea_ngModelChange_0_listener($event) { i0__namespace.ɵɵrestoreView(_r1); i0__namespace.ɵɵtwoWayBindingSet(ctx.datavalue, $event) || (ctx.datavalue = $event); return i0__namespace.ɵɵresetView($event); });
|
|
3123
|
-
i0__namespace.ɵɵlistener("blur", function TextareaComponent_Template_textarea_blur_0_listener($event) { i0__namespace.ɵɵrestoreView(_r1); return i0__namespace.ɵɵresetView(ctx.handleBlur($event)); })("input", function TextareaComponent_Template_textarea_input_0_listener() { i0__namespace.ɵɵrestoreView(_r1); return i0__namespace.ɵɵresetView(ctx.onInputChange()); })("ngModelChange", function TextareaComponent_Template_textarea_ngModelChange_0_listener($event) { i0__namespace.ɵɵrestoreView(_r1); ctx.handleChange($event); return i0__namespace.ɵɵresetView(ctx.onInputChange()); });
|
|
3004
|
+
]), i0__namespace.ɵɵ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) {
|
|
3005
|
+
i0__namespace.ɵɵelementStart(0, "textarea", 0, 1);
|
|
3006
|
+
i0__namespace.ɵɵ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(); });
|
|
3124
3007
|
i0__namespace.ɵɵelementEnd();
|
|
3125
3008
|
i0__namespace.ɵɵtemplate(2, TextareaComponent_div_2_Template, 2, 1, "div", 2);
|
|
3126
3009
|
} if (rf & 2) {
|
|
3127
|
-
i0__namespace.ɵɵ
|
|
3128
|
-
i0__namespace.ɵɵproperty("ngModelOptions", ctx.ngModelOptions)("readonly", ctx.readonly)("required", ctx.required)("disabled", ctx.disabled)("maxlength", ctx.maxchars)("autofocus", ctx.autofocus)("ngClass", ctx.conditionalclass)("ngStyle", ctx.conditionalstyle);
|
|
3010
|
+
i0__namespace.ɵɵ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);
|
|
3129
3011
|
i0__namespace.ɵɵattribute("name", ctx.name)("tabindex", ctx.tabindex)("placeholder", ctx.placeholder)("accesskey", ctx.shortcutkey)("aria-label", ctx.hint);
|
|
3130
3012
|
i0__namespace.ɵɵadvance(2);
|
|
3131
3013
|
i0__namespace.ɵɵproperty("ngIf", ctx.maxchars);
|
|
3132
3014
|
} }, dependencies: [i1__namespace.NgClass, i1__namespace.NgIf, i1__namespace.NgStyle, i2$1__namespace.DefaultValueAccessor, i2$1__namespace.NgControlStatus, i2$1__namespace.RequiredValidator, i2$1__namespace.MaxLengthValidator, i2$1__namespace.NgModel], encapsulation: 2 }); }
|
|
3133
3015
|
}
|
|
3134
|
-
(()
|
|
3016
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(TextareaComponent, [{
|
|
3135
3017
|
type: i0.Component,
|
|
3136
3018
|
args: [{ selector: 'wm-textarea', providers: [
|
|
3137
3019
|
i2.provideAs(TextareaComponent, i2$1.NG_VALUE_ACCESSOR, true),
|
|
3138
3020
|
i2.provideAs(TextareaComponent, i2$1.NG_VALIDATORS, true),
|
|
3139
3021
|
i2.provideAsWidgetRef(TextareaComponent)
|
|
3140
3022
|
], 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" }]
|
|
3141
|
-
}], ()
|
|
3142
|
-
type: i0.Inject,
|
|
3143
|
-
args: ['EXPLICIT_CONTEXT']
|
|
3144
|
-
}, {
|
|
3145
|
-
type: i0.Optional
|
|
3146
|
-
}] }], { inputEl: [{
|
|
3023
|
+
}], function () { return [{ type: i0__namespace.Injector }]; }, { inputEl: [{
|
|
3147
3024
|
type: i0.ViewChild,
|
|
3148
3025
|
args: ['textarea', { static: true }]
|
|
3149
3026
|
}], ngModel: [{
|
|
3150
3027
|
type: i0.ViewChild,
|
|
3151
3028
|
args: [i2$1.NgModel]
|
|
3152
3029
|
}] }); })();
|
|
3153
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassDebugInfo(TextareaComponent, { className: "TextareaComponent", filePath: "textarea/textarea.component.ts", lineNumber: 22 }); })();
|
|
3154
3030
|
|
|
3155
3031
|
class CaptionPositionDirective {
|
|
3156
3032
|
constructor(inj, app) {
|
|
@@ -3164,7 +3040,7 @@
|
|
|
3164
3040
|
let mobileInputVal;
|
|
3165
3041
|
// In case of mobile date / time picker check for input element's value which has 'mobile-input' class
|
|
3166
3042
|
if (this.inputEl.length > 1 && this.inputEl.hasClass('mobile-input')) {
|
|
3167
|
-
|
|
3043
|
+
_.forEach(this.inputEl, (el) => {
|
|
3168
3044
|
if ($(el).hasClass('mobile-input') && el.value) {
|
|
3169
3045
|
mobileInputVal = el.value;
|
|
3170
3046
|
}
|
|
@@ -3273,7 +3149,8 @@
|
|
|
3273
3149
|
// isSelectMultiple is set to true when for select widget, multiple option is enabled
|
|
3274
3150
|
// Checking inputEl focus - when form is represented as dialog and the first field is automatically in focus
|
|
3275
3151
|
const isInputElFocused = this.inputEl && this.inputEl.is(':focus');
|
|
3276
|
-
|
|
3152
|
+
const localName = this.inputEl && this.inputEl.length && this.inputEl[0].localName;
|
|
3153
|
+
if ((data.isSelect && localName == 'select') || data.displayVal || data.isFocused || data.isSelectMultiple || isInputElFocused) {
|
|
3277
3154
|
data.nativeEl.addClass('float-active');
|
|
3278
3155
|
if (!data.displayVal && isInputElFocused) {
|
|
3279
3156
|
this.inputEl.attr('placeholder', this.placeholder);
|
|
@@ -3310,12 +3187,12 @@
|
|
|
3310
3187
|
static { this.ɵfac = function CaptionPositionDirective_Factory(t) { return new (t || CaptionPositionDirective)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵdirectiveInject(i1$1__namespace.App)); }; }
|
|
3311
3188
|
static { this.ɵdir = /*@__PURE__*/ i0__namespace.ɵɵdefineDirective({ type: CaptionPositionDirective, selectors: [["", "wmCaptionPosition", ""]] }); }
|
|
3312
3189
|
}
|
|
3313
|
-
(()
|
|
3190
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(CaptionPositionDirective, [{
|
|
3314
3191
|
type: i0.Directive,
|
|
3315
3192
|
args: [{
|
|
3316
3193
|
selector: '[wmCaptionPosition]'
|
|
3317
3194
|
}]
|
|
3318
|
-
}], ()
|
|
3195
|
+
}], function () { return [{ type: i0__namespace.Injector }, { type: i1$1__namespace.App }]; }, null); })();
|
|
3319
3196
|
|
|
3320
3197
|
const components = [
|
|
3321
3198
|
ButtonComponent,
|
|
@@ -3343,7 +3220,7 @@
|
|
|
3343
3220
|
i2.WmComponentsModule,
|
|
3344
3221
|
i3.IMaskModule] }); }
|
|
3345
3222
|
}
|
|
3346
|
-
(()
|
|
3223
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(InputModule, [{
|
|
3347
3224
|
type: i0.NgModule,
|
|
3348
3225
|
args: [{
|
|
3349
3226
|
imports: [
|
|
@@ -3407,10 +3284,10 @@
|
|
|
3407
3284
|
exports.InputNumberComponent = InputNumberComponent;
|
|
3408
3285
|
exports.InputTextComponent = InputTextComponent;
|
|
3409
3286
|
exports.NumberComponent = NumberComponent;
|
|
3287
|
+
exports.NumberLocale = NumberLocale;
|
|
3410
3288
|
exports.RadiosetComponent = RadiosetComponent;
|
|
3411
3289
|
exports.SelectComponent = SelectComponent;
|
|
3412
3290
|
exports.SwitchComponent = SwitchComponent;
|
|
3413
3291
|
exports.TextareaComponent = TextareaComponent;
|
|
3414
|
-
exports.unStringify = unStringify;
|
|
3415
3292
|
|
|
3416
3293
|
}));
|