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