@wavemaker/app-ng-runtime 12.0.0-next.140479 → 12.0.0-next.140481
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- app-ng-runtime/build-task/.npmignore +2 -0
- app-ng-runtime/build-task/bundles/index.umd.js +35 -11
- app-ng-runtime/build-task/esm2022/advanced/carousel/carousel-template/carousel-template.build.mjs +5 -3
- app-ng-runtime/build-task/esm2022/advanced/carousel/carousel.build.mjs +1 -1
- app-ng-runtime/build-task/esm2022/basic/default/label/label.build.mjs +1 -1
- app-ng-runtime/build-task/esm2022/basic/progress/progress-bar/progress-bar.build.mjs +1 -1
- app-ng-runtime/build-task/esm2022/containers/accordion/accordion.build.mjs +1 -1
- app-ng-runtime/build-task/esm2022/containers/repeat-template.build.mjs +5 -3
- app-ng-runtime/build-task/esm2022/containers/tabs/tabs.build.mjs +1 -1
- app-ng-runtime/build-task/esm2022/data/form/form-field/form-field.build.mjs +1 -1
- app-ng-runtime/build-task/esm2022/data/form/form.build.mjs +5 -2
- app-ng-runtime/build-task/esm2022/data/list/list.build.mjs +1 -1
- app-ng-runtime/build-task/esm2022/data/media-list/media-list.build.mjs +1 -1
- app-ng-runtime/build-task/esm2022/data/table/table-column/table-column.build.mjs +1 -1
- app-ng-runtime/build-task/esm2022/data/table/table.build.mjs +1 -1
- app-ng-runtime/build-task/esm2022/dialogs/partial-dialog/partial-dialog.build.mjs +1 -1
- app-ng-runtime/build-task/esm2022/input/file-upload/file-upload.build.mjs +1 -1
- app-ng-runtime/build-task/esm2022/navigation/menu/menu.build.mjs +19 -2
- app-ng-runtime/build-task/esm2022/navigation/popover/popover.build.mjs +1 -1
- app-ng-runtime/build-task/esm2022/page/page-content/page-content.build.mjs +1 -1
- app-ng-runtime/build-task/esm2022/page/page.build.mjs +3 -2
- app-ng-runtime/build-task/esm2022/utils/utils.mjs +1 -1
- app-ng-runtime/build-task/fesm2022/index.mjs +33 -8
- app-ng-runtime/build-task/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/advanced/carousel/.npmignore +2 -0
- app-ng-runtime/components/advanced/carousel/bundles/index.umd.js +29 -18
- app-ng-runtime/components/advanced/carousel/carousel-template/carousel-template.directive.d.ts +3 -3
- app-ng-runtime/components/advanced/carousel/carousel.directive.d.ts +2 -2
- app-ng-runtime/components/advanced/carousel/esm2022/carousel-template/carousel-template.directive.mjs +15 -9
- app-ng-runtime/components/advanced/carousel/esm2022/carousel.animator.mjs +3 -2
- app-ng-runtime/components/advanced/carousel/esm2022/carousel.directive.mjs +12 -7
- app-ng-runtime/components/advanced/carousel/esm2022/carousel.module.mjs +2 -2
- app-ng-runtime/components/advanced/carousel/fesm2022/index.mjs +28 -16
- app-ng-runtime/components/advanced/carousel/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/advanced/login/.npmignore +2 -0
- app-ng-runtime/components/advanced/login/bundles/index.umd.js +19 -13
- app-ng-runtime/components/advanced/login/esm2022/login.component.mjs +17 -10
- app-ng-runtime/components/advanced/login/esm2022/login.module.mjs +2 -2
- app-ng-runtime/components/advanced/login/fesm2022/index.mjs +18 -11
- app-ng-runtime/components/advanced/login/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/advanced/login/login.component.d.ts +2 -2
- app-ng-runtime/components/advanced/marquee/.npmignore +2 -0
- app-ng-runtime/components/advanced/marquee/bundles/index.umd.js +11 -6
- app-ng-runtime/components/advanced/marquee/esm2022/marquee.directive.mjs +12 -7
- app-ng-runtime/components/advanced/marquee/esm2022/marquee.module.mjs +2 -2
- app-ng-runtime/components/advanced/marquee/fesm2022/index.mjs +13 -8
- app-ng-runtime/components/advanced/marquee/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/advanced/marquee/marquee.directive.d.ts +2 -2
- app-ng-runtime/components/base/.npmignore +2 -0
- app-ng-runtime/components/base/bundles/index.umd.js +384 -284
- app-ng-runtime/components/base/directives/show-in-device.directive.d.ts +3 -6
- app-ng-runtime/components/base/esm2022/components.module.mjs +2 -2
- app-ng-runtime/components/base/esm2022/directives/show-in-device.directive.mjs +13 -15
- app-ng-runtime/components/base/esm2022/pipes/custom-pipes.mjs +35 -34
- app-ng-runtime/components/base/esm2022/pipes/image.pipe.mjs +2 -2
- app-ng-runtime/components/base/esm2022/pipes/sanitize.pipe.mjs +3 -3
- app-ng-runtime/components/base/esm2022/pipes/trust-as.pipe.mjs +3 -3
- app-ng-runtime/components/base/esm2022/pipes/wm-pipe.mjs +3 -2
- app-ng-runtime/components/base/esm2022/public_api.mjs +2 -1
- app-ng-runtime/components/base/esm2022/utils/data-utils.mjs +30 -29
- app-ng-runtime/components/base/esm2022/utils/form-utils.mjs +48 -42
- app-ng-runtime/components/base/esm2022/utils/live-utils.mjs +8 -7
- app-ng-runtime/components/base/esm2022/utils/widget-utils.mjs +28 -27
- app-ng-runtime/components/base/esm2022/widgets/common/base/base-container.component.mjs +8 -7
- app-ng-runtime/components/base/esm2022/widgets/common/base/base-field-validations.mjs +23 -22
- app-ng-runtime/components/base/esm2022/widgets/common/base/base.component.mjs +50 -17
- app-ng-runtime/components/base/esm2022/widgets/common/base/dataset-aware-nav.component.mjs +52 -18
- app-ng-runtime/components/base/esm2022/widgets/common/base/partial-container.directive.mjs +6 -5
- app-ng-runtime/components/base/esm2022/widgets/common/base/stylable.component.mjs +3 -3
- app-ng-runtime/components/base/esm2022/widgets/common/base/text-content.directive.mjs +3 -3
- app-ng-runtime/components/base/esm2022/widgets/common/container/container.directive.mjs +12 -7
- app-ng-runtime/components/base/esm2022/widgets/common/dialog/dialog.service.mjs +5 -4
- app-ng-runtime/components/base/esm2022/widgets/common/item-template/item-template.directive.mjs +12 -7
- app-ng-runtime/components/base/esm2022/widgets/common/lazy-load/lazy-load.directive.mjs +14 -7
- app-ng-runtime/components/base/esm2022/widgets/common/message/message.component.mjs +16 -10
- app-ng-runtime/components/base/esm2022/widgets/common/partial/partial.directive.mjs +14 -8
- app-ng-runtime/components/base/esm2022/widgets/common/partial-param/partial-param.directive.mjs +9 -8
- app-ng-runtime/components/base/esm2022/widgets/common/pull-to-refresh/pull-to-refresh.mjs +1 -1
- app-ng-runtime/components/base/esm2022/widgets/common/redraw/redrawable.directive.mjs +4 -4
- app-ng-runtime/components/base/esm2022/widgets/common/repeat-template/repeat-template.directive.mjs +15 -9
- app-ng-runtime/components/base/esm2022/widgets/common/smooth-scroll/smooth-scroll.directive.mjs +11 -10
- app-ng-runtime/components/base/esm2022/widgets/framework/deviceview.mjs +1 -1
- app-ng-runtime/components/base/esm2022/widgets/framework/property-change-handler.mjs +3 -2
- app-ng-runtime/components/base/esm2022/widgets/framework/styler.mjs +1 -1
- app-ng-runtime/components/base/esm2022/widgets/framework/widget-props.mjs +1 -1
- app-ng-runtime/components/base/esm2022/widgets/framework/widget-proxy-provider.mjs +4 -3
- app-ng-runtime/components/base/esm2022/widgets/framework/widget-registry.mjs +1 -1
- app-ng-runtime/components/base/fesm2022/index.mjs +389 -287
- app-ng-runtime/components/base/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/base/pipes/custom-pipes.d.ts +1 -1
- app-ng-runtime/components/base/public_api.d.ts +1 -0
- app-ng-runtime/components/base/utils/data-utils.d.ts +1 -0
- app-ng-runtime/components/base/utils/widget-utils.d.ts +2 -2
- app-ng-runtime/components/base/widgets/common/base/base-container.component.d.ts +1 -1
- app-ng-runtime/components/base/widgets/common/base/base-field-validations.d.ts +1 -1
- app-ng-runtime/components/base/widgets/common/base/base.component.d.ts +21 -2
- app-ng-runtime/components/base/widgets/common/base/dataset-aware-nav.component.d.ts +1 -1
- app-ng-runtime/components/base/widgets/common/base/partial-container.directive.d.ts +1 -1
- app-ng-runtime/components/base/widgets/common/container/container.directive.d.ts +2 -2
- app-ng-runtime/components/base/widgets/common/item-template/item-template.directive.d.ts +2 -2
- app-ng-runtime/components/base/widgets/common/lazy-load/lazy-load.directive.d.ts +2 -2
- app-ng-runtime/components/base/widgets/common/message/message.component.d.ts +2 -2
- app-ng-runtime/components/base/widgets/common/partial/partial.directive.d.ts +2 -2
- app-ng-runtime/components/base/widgets/common/repeat-template/repeat-template.directive.d.ts +3 -3
- app-ng-runtime/components/basic/default/.npmignore +2 -0
- app-ng-runtime/components/basic/default/anchor/anchor.component.d.ts +2 -2
- app-ng-runtime/components/basic/default/audio/audio.component.d.ts +3 -2
- app-ng-runtime/components/basic/default/bundles/index.umd.js +163 -119
- app-ng-runtime/components/basic/default/esm2022/anchor/anchor.component.mjs +31 -27
- app-ng-runtime/components/basic/default/esm2022/audio/audio.component.mjs +18 -11
- app-ng-runtime/components/basic/default/esm2022/basic.module.mjs +2 -2
- app-ng-runtime/components/basic/default/esm2022/html/html.directive.mjs +13 -8
- app-ng-runtime/components/basic/default/esm2022/icon/icon.component.mjs +19 -14
- app-ng-runtime/components/basic/default/esm2022/iframe/iframe.component.mjs +15 -9
- app-ng-runtime/components/basic/default/esm2022/label/label.directive.mjs +15 -9
- app-ng-runtime/components/basic/default/esm2022/picture/picture.directive.mjs +12 -7
- app-ng-runtime/components/basic/default/esm2022/picture/picture.props.mjs +1 -1
- app-ng-runtime/components/basic/default/esm2022/spinner/spinner.component.mjs +34 -30
- app-ng-runtime/components/basic/default/esm2022/video/video.component.mjs +21 -17
- app-ng-runtime/components/basic/default/fesm2022/index.mjs +162 -117
- app-ng-runtime/components/basic/default/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/basic/default/html/html.directive.d.ts +2 -2
- app-ng-runtime/components/basic/default/icon/icon.component.d.ts +2 -2
- app-ng-runtime/components/basic/default/iframe/iframe.component.d.ts +2 -2
- app-ng-runtime/components/basic/default/label/label.directive.d.ts +2 -2
- app-ng-runtime/components/basic/default/picture/picture.directive.d.ts +2 -2
- app-ng-runtime/components/basic/default/spinner/spinner.component.d.ts +2 -2
- app-ng-runtime/components/basic/default/video/video.component.d.ts +2 -2
- app-ng-runtime/components/basic/progress/.npmignore +2 -0
- app-ng-runtime/components/basic/progress/bundles/index.umd.js +43 -30
- app-ng-runtime/components/basic/progress/esm2022/progress-bar/progress-bar.component.mjs +22 -15
- app-ng-runtime/components/basic/progress/esm2022/progress-circle/progress-circle.component.mjs +20 -12
- app-ng-runtime/components/basic/progress/esm2022/progress.module.mjs +2 -2
- app-ng-runtime/components/basic/progress/esm2022/utils.mjs +3 -3
- app-ng-runtime/components/basic/progress/fesm2022/index.mjs +42 -28
- app-ng-runtime/components/basic/progress/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/basic/progress/progress-bar/progress-bar.component.d.ts +2 -2
- app-ng-runtime/components/basic/progress/progress-circle/progress-circle.component.d.ts +3 -2
- app-ng-runtime/components/basic/rich-text-editor/.npmignore +2 -0
- app-ng-runtime/components/basic/rich-text-editor/bundles/index.umd.js +19 -13
- app-ng-runtime/components/basic/rich-text-editor/esm2022/rich-text-editor.component.mjs +17 -10
- app-ng-runtime/components/basic/rich-text-editor/esm2022/rich-text-editor.module.mjs +2 -2
- app-ng-runtime/components/basic/rich-text-editor/fesm2022/index.mjs +18 -11
- app-ng-runtime/components/basic/rich-text-editor/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/basic/rich-text-editor/rich-text-editor.component.d.ts +2 -2
- app-ng-runtime/components/basic/search/.npmignore +2 -0
- app-ng-runtime/components/basic/search/bundles/index.umd.js +186 -175
- app-ng-runtime/components/basic/search/esm2022/data-provider/data-provider.mjs +1 -1
- app-ng-runtime/components/basic/search/esm2022/data-provider/local-data-provider.mjs +26 -23
- app-ng-runtime/components/basic/search/esm2022/data-provider/remote-data-provider.mjs +12 -11
- app-ng-runtime/components/basic/search/esm2022/scrollable.directive.mjs +3 -3
- app-ng-runtime/components/basic/search/esm2022/search.component.mjs +148 -138
- app-ng-runtime/components/basic/search/esm2022/search.module.mjs +2 -2
- app-ng-runtime/components/basic/search/fesm2022/index.mjs +186 -174
- app-ng-runtime/components/basic/search/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/basic/search/search.component.d.ts +2 -2
- app-ng-runtime/components/basic/tree/.npmignore +2 -0
- app-ng-runtime/components/basic/tree/bundles/index.umd.js +23 -17
- app-ng-runtime/components/basic/tree/esm2022/tree.component.mjs +21 -14
- app-ng-runtime/components/basic/tree/esm2022/tree.module.mjs +2 -2
- app-ng-runtime/components/basic/tree/fesm2022/index.mjs +22 -15
- app-ng-runtime/components/basic/tree/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/basic/tree/tree.component.d.ts +2 -2
- app-ng-runtime/components/chart/.npmignore +2 -0
- app-ng-runtime/components/chart/bundles/index.umd.js +97 -84
- app-ng-runtime/components/chart/chart.component.d.ts +3 -3
- app-ng-runtime/components/chart/chart.utils.d.ts +3 -3
- app-ng-runtime/components/chart/esm2022/chart.component.mjs +82 -68
- app-ng-runtime/components/chart/esm2022/chart.module.mjs +2 -2
- app-ng-runtime/components/chart/esm2022/chart.utils.mjs +14 -13
- app-ng-runtime/components/chart/fesm2022/index.mjs +95 -81
- app-ng-runtime/components/chart/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/containers/accordion/.npmignore +2 -0
- app-ng-runtime/components/containers/accordion/accordion-pane/accordion-pane.component.d.ts +2 -2
- app-ng-runtime/components/containers/accordion/accordion.directive.d.ts +2 -2
- app-ng-runtime/components/containers/accordion/bundles/index.umd.js +51 -40
- app-ng-runtime/components/containers/accordion/esm2022/accordion-pane/accordion-pane.component.mjs +23 -17
- app-ng-runtime/components/containers/accordion/esm2022/accordion-pane/accordion-pane.props.mjs +4 -4
- app-ng-runtime/components/containers/accordion/esm2022/accordion.directive.mjs +25 -19
- app-ng-runtime/components/containers/accordion/esm2022/accordion.module.mjs +2 -2
- app-ng-runtime/components/containers/accordion/fesm2022/index.mjs +50 -38
- app-ng-runtime/components/containers/accordion/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/containers/layout-grid/.npmignore +2 -0
- app-ng-runtime/components/containers/layout-grid/bundles/index.umd.js +32 -17
- app-ng-runtime/components/containers/layout-grid/esm2022/layout-grid-column/layout-grid-column.directive.mjs +13 -8
- app-ng-runtime/components/containers/layout-grid/esm2022/layout-grid-row/layout-grid-row.directive.mjs +12 -7
- app-ng-runtime/components/containers/layout-grid/esm2022/layout-grid.directive.mjs +12 -7
- app-ng-runtime/components/containers/layout-grid/esm2022/layout-grid.module.mjs +2 -2
- app-ng-runtime/components/containers/layout-grid/fesm2022/index.mjs +34 -19
- app-ng-runtime/components/containers/layout-grid/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/containers/layout-grid/layout-grid-column/layout-grid-column.directive.d.ts +2 -2
- app-ng-runtime/components/containers/layout-grid/layout-grid-row/layout-grid-row.directive.d.ts +2 -2
- app-ng-runtime/components/containers/layout-grid/layout-grid.directive.d.ts +2 -2
- app-ng-runtime/components/containers/linear-layout/.npmignore +2 -0
- app-ng-runtime/components/containers/linear-layout/bundles/index.umd.js +21 -11
- app-ng-runtime/components/containers/linear-layout/esm2022/linear-layout-item/linear-layout-item.directive.mjs +12 -7
- app-ng-runtime/components/containers/linear-layout/esm2022/linear-layout.directive.mjs +12 -7
- app-ng-runtime/components/containers/linear-layout/esm2022/linear-layout.module.mjs +2 -2
- app-ng-runtime/components/containers/linear-layout/fesm2022/index.mjs +23 -13
- app-ng-runtime/components/containers/linear-layout/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/containers/linear-layout/linear-layout-item/linear-layout-item.directive.d.ts +2 -2
- app-ng-runtime/components/containers/linear-layout/linear-layout.directive.d.ts +2 -2
- app-ng-runtime/components/containers/panel/.npmignore +2 -0
- app-ng-runtime/components/containers/panel/bundles/index.umd.js +85 -85
- app-ng-runtime/components/containers/panel/esm2022/panel.component.mjs +83 -82
- app-ng-runtime/components/containers/panel/esm2022/panel.module.mjs +2 -2
- app-ng-runtime/components/containers/panel/fesm2022/index.mjs +84 -83
- app-ng-runtime/components/containers/panel/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/containers/panel/panel.component.d.ts +3 -3
- app-ng-runtime/components/containers/tabs/.npmignore +2 -0
- app-ng-runtime/components/containers/tabs/bundles/index.umd.js +74 -63
- app-ng-runtime/components/containers/tabs/esm2022/tab-pane/tab-pane.component.mjs +14 -8
- app-ng-runtime/components/containers/tabs/esm2022/tab-pane/tab-pane.props.mjs +4 -4
- app-ng-runtime/components/containers/tabs/esm2022/tabs.animator.mjs +1 -1
- app-ng-runtime/components/containers/tabs/esm2022/tabs.component.mjs +57 -51
- app-ng-runtime/components/containers/tabs/esm2022/tabs.module.mjs +2 -2
- app-ng-runtime/components/containers/tabs/esm2022/tabs.props.mjs +1 -1
- app-ng-runtime/components/containers/tabs/fesm2022/index.mjs +73 -61
- app-ng-runtime/components/containers/tabs/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/containers/tabs/tab-pane/tab-pane.component.d.ts +2 -2
- app-ng-runtime/components/containers/tabs/tabs.component.d.ts +2 -2
- app-ng-runtime/components/containers/tile/.npmignore +2 -0
- app-ng-runtime/components/containers/tile/bundles/index.umd.js +11 -6
- app-ng-runtime/components/containers/tile/esm2022/tile.directive.mjs +12 -7
- app-ng-runtime/components/containers/tile/esm2022/tile.module.mjs +2 -2
- app-ng-runtime/components/containers/tile/fesm2022/index.mjs +13 -8
- app-ng-runtime/components/containers/tile/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/containers/tile/tile.directive.d.ts +2 -2
- app-ng-runtime/components/containers/wizard/.npmignore +2 -0
- app-ng-runtime/components/containers/wizard/bundles/index.umd.js +102 -98
- app-ng-runtime/components/containers/wizard/esm2022/wizard-step/wizard-step.directive.mjs +13 -8
- app-ng-runtime/components/containers/wizard/esm2022/wizard.component.mjs +92 -93
- app-ng-runtime/components/containers/wizard/esm2022/wizard.module.mjs +2 -2
- app-ng-runtime/components/containers/wizard/fesm2022/index.mjs +104 -100
- app-ng-runtime/components/containers/wizard/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/containers/wizard/wizard-step/wizard-step.directive.d.ts +2 -2
- app-ng-runtime/components/containers/wizard/wizard.component.d.ts +2 -2
- app-ng-runtime/components/data/card/.npmignore +2 -0
- app-ng-runtime/components/data/card/bundles/index.umd.js +70 -50
- app-ng-runtime/components/data/card/card-actions/card-actions.directive.d.ts +2 -2
- app-ng-runtime/components/data/card/card-content/card-content.component.d.ts +2 -2
- app-ng-runtime/components/data/card/card-footer/card-footer.directive.d.ts +2 -2
- app-ng-runtime/components/data/card/card.component.d.ts +2 -2
- app-ng-runtime/components/data/card/esm2022/card-actions/card-actions.directive.mjs +12 -7
- app-ng-runtime/components/data/card/esm2022/card-content/card-content.component.mjs +15 -9
- app-ng-runtime/components/data/card/esm2022/card-footer/card-footer.directive.mjs +12 -7
- app-ng-runtime/components/data/card/esm2022/card.component.mjs +38 -34
- app-ng-runtime/components/data/card/esm2022/card.module.mjs +2 -2
- app-ng-runtime/components/data/card/fesm2022/index.mjs +72 -52
- app-ng-runtime/components/data/card/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/data/form/.npmignore +2 -0
- app-ng-runtime/components/data/form/bundles/index.umd.js +201 -187
- app-ng-runtime/components/data/form/esm2022/form-action/form-action.directive.mjs +15 -9
- app-ng-runtime/components/data/form/esm2022/form-field/form-field.directive.mjs +21 -18
- app-ng-runtime/components/data/form/esm2022/form-field/form-field.props.mjs +1 -1
- app-ng-runtime/components/data/form/esm2022/form-widget.directive.mjs +4 -4
- app-ng-runtime/components/data/form/esm2022/form.component.mjs +138 -134
- app-ng-runtime/components/data/form/esm2022/form.module.mjs +2 -2
- app-ng-runtime/components/data/form/esm2022/form.props.mjs +1 -1
- app-ng-runtime/components/data/form/esm2022/live-actions/dependson.directive.mjs +4 -4
- app-ng-runtime/components/data/form/esm2022/live-actions/live-actions.directive.mjs +4 -4
- app-ng-runtime/components/data/form/esm2022/live-filter/live-filter.directive.mjs +7 -6
- app-ng-runtime/components/data/form/esm2022/live-form/live-form.directive.mjs +18 -15
- app-ng-runtime/components/data/form/fesm2022/index.mjs +205 -192
- app-ng-runtime/components/data/form/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/data/form/form-action/form-action.directive.d.ts +2 -2
- app-ng-runtime/components/data/form/form-field/form-field.directive.d.ts +2 -2
- app-ng-runtime/components/data/form/form.component.d.ts +4 -4
- app-ng-runtime/components/data/form/live-form/live-form.directive.d.ts +1 -1
- app-ng-runtime/components/data/list/.npmignore +2 -0
- app-ng-runtime/components/data/list/bundles/index.umd.js +829 -818
- app-ng-runtime/components/data/list/esm2022/list-item.directive.mjs +9 -4
- app-ng-runtime/components/data/list/esm2022/list.animator.mjs +5 -3
- app-ng-runtime/components/data/list/esm2022/list.component.mjs +817 -810
- app-ng-runtime/components/data/list/esm2022/list.module.mjs +2 -2
- app-ng-runtime/components/data/list/fesm2022/index.mjs +828 -816
- app-ng-runtime/components/data/list/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/data/list/list-item.directive.d.ts +4 -0
- app-ng-runtime/components/data/list/list.component.d.ts +55 -54
- app-ng-runtime/components/data/live-table/.npmignore +2 -0
- app-ng-runtime/components/data/live-table/bundles/index.umd.js +13 -7
- app-ng-runtime/components/data/live-table/esm2022/live-table.component.mjs +14 -8
- app-ng-runtime/components/data/live-table/esm2022/live-table.module.mjs +2 -2
- app-ng-runtime/components/data/live-table/fesm2022/index.mjs +15 -9
- app-ng-runtime/components/data/live-table/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/data/live-table/live-table.component.d.ts +2 -2
- app-ng-runtime/components/data/pagination/.npmignore +2 -0
- app-ng-runtime/components/data/pagination/bundles/index.umd.js +113 -110
- app-ng-runtime/components/data/pagination/esm2022/pagination.component.mjs +111 -107
- app-ng-runtime/components/data/pagination/esm2022/pagination.module.mjs +2 -2
- app-ng-runtime/components/data/pagination/fesm2022/index.mjs +112 -108
- app-ng-runtime/components/data/pagination/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/data/pagination/pagination.component.d.ts +2 -2
- app-ng-runtime/components/data/table/.npmignore +2 -0
- app-ng-runtime/components/data/table/bundles/index.umd.js +314 -269
- app-ng-runtime/components/data/table/esm2022/table-action/table-action.directive.mjs +15 -9
- app-ng-runtime/components/data/table/esm2022/table-column/table-column.directive.mjs +40 -25
- app-ng-runtime/components/data/table/esm2022/table-column/table-column.props.mjs +2 -2
- app-ng-runtime/components/data/table/esm2022/table-column-group/table-column-group.directive.mjs +13 -8
- app-ng-runtime/components/data/table/esm2022/table-cud.directive.mjs +10 -9
- app-ng-runtime/components/data/table/esm2022/table-filter.directive.mjs +56 -58
- app-ng-runtime/components/data/table/esm2022/table-row/table-row.directive.mjs +13 -8
- app-ng-runtime/components/data/table/esm2022/table-row-action/table-row-action.directive.mjs +14 -8
- app-ng-runtime/components/data/table/esm2022/table.component.mjs +165 -150
- app-ng-runtime/components/data/table/esm2022/table.module.mjs +2 -2
- app-ng-runtime/components/data/table/esm2022/table.props.mjs +2 -2
- app-ng-runtime/components/data/table/fesm2022/index.mjs +313 -267
- app-ng-runtime/components/data/table/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/data/table/table-action/table-action.directive.d.ts +2 -2
- app-ng-runtime/components/data/table/table-column/table-column.directive.d.ts +8 -8
- app-ng-runtime/components/data/table/table-column-group/table-column-group.directive.d.ts +2 -2
- app-ng-runtime/components/data/table/table-row/table-row.directive.d.ts +2 -2
- app-ng-runtime/components/data/table/table-row-action/table-row-action.directive.d.ts +2 -2
- app-ng-runtime/components/data/table/table.component.d.ts +4 -4
- app-ng-runtime/components/dialogs/alert-dialog/.npmignore +2 -0
- app-ng-runtime/components/dialogs/alert-dialog/alert-dialog.component.d.ts +2 -2
- app-ng-runtime/components/dialogs/alert-dialog/bundles/index.umd.js +15 -9
- app-ng-runtime/components/dialogs/alert-dialog/esm2022/alert-dialog.component.mjs +16 -10
- app-ng-runtime/components/dialogs/alert-dialog/esm2022/alert-dialog.module.mjs +2 -2
- app-ng-runtime/components/dialogs/alert-dialog/fesm2022/index.mjs +17 -11
- app-ng-runtime/components/dialogs/alert-dialog/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/confirm-dialog/.npmignore +2 -0
- app-ng-runtime/components/dialogs/confirm-dialog/bundles/index.umd.js +17 -11
- app-ng-runtime/components/dialogs/confirm-dialog/confirm-dialog.component.d.ts +2 -2
- app-ng-runtime/components/dialogs/confirm-dialog/esm2022/confirm-dialog.component.mjs +18 -12
- app-ng-runtime/components/dialogs/confirm-dialog/esm2022/confirm-dialog.module.mjs +2 -2
- app-ng-runtime/components/dialogs/confirm-dialog/fesm2022/index.mjs +19 -13
- app-ng-runtime/components/dialogs/confirm-dialog/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/default/.npmignore +2 -0
- app-ng-runtime/components/dialogs/default/base-dialog.d.ts +2 -2
- app-ng-runtime/components/dialogs/default/bundles/index.umd.js +75 -71
- app-ng-runtime/components/dialogs/default/dialog-footer/dialog-footer.directive.d.ts +2 -2
- app-ng-runtime/components/dialogs/default/esm2022/base-dialog.mjs +14 -9
- app-ng-runtime/components/dialogs/default/esm2022/dialog-body/dialog-body.directive.mjs +4 -4
- app-ng-runtime/components/dialogs/default/esm2022/dialog-footer/dialog-footer.directive.mjs +12 -7
- app-ng-runtime/components/dialogs/default/esm2022/dialog-header/dialog-header.component.mjs +49 -55
- app-ng-runtime/components/dialogs/default/esm2022/dialog.module.mjs +2 -2
- app-ng-runtime/components/dialogs/default/fesm2022/index.mjs +76 -72
- app-ng-runtime/components/dialogs/default/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/design-dialog/.npmignore +2 -0
- app-ng-runtime/components/dialogs/design-dialog/bundles/index.umd.js +20 -14
- app-ng-runtime/components/dialogs/design-dialog/dialog.component.d.ts +2 -2
- app-ng-runtime/components/dialogs/design-dialog/esm2022/design-dialog.module.mjs +2 -2
- app-ng-runtime/components/dialogs/design-dialog/esm2022/dialog.component.mjs +21 -15
- app-ng-runtime/components/dialogs/design-dialog/fesm2022/index.mjs +22 -16
- app-ng-runtime/components/dialogs/design-dialog/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/iframe-dialog/.npmignore +2 -0
- app-ng-runtime/components/dialogs/iframe-dialog/bundles/index.umd.js +20 -14
- app-ng-runtime/components/dialogs/iframe-dialog/esm2022/iframe-dialog.component.mjs +21 -15
- app-ng-runtime/components/dialogs/iframe-dialog/esm2022/iframe-dialog.module.mjs +2 -2
- app-ng-runtime/components/dialogs/iframe-dialog/fesm2022/index.mjs +22 -16
- app-ng-runtime/components/dialogs/iframe-dialog/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/iframe-dialog/iframe-dialog.component.d.ts +2 -2
- app-ng-runtime/components/dialogs/login-dialog/.npmignore +2 -0
- app-ng-runtime/components/dialogs/login-dialog/bundles/index.umd.js +4 -4
- app-ng-runtime/components/dialogs/login-dialog/esm2022/login-dialog.directive.mjs +4 -4
- app-ng-runtime/components/dialogs/login-dialog/esm2022/login-dialog.module.mjs +2 -2
- app-ng-runtime/components/dialogs/login-dialog/fesm2022/index.mjs +4 -4
- app-ng-runtime/components/dialogs/login-dialog/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/partial-dialog/.npmignore +2 -0
- app-ng-runtime/components/dialogs/partial-dialog/bundles/index.umd.js +16 -10
- app-ng-runtime/components/dialogs/partial-dialog/esm2022/partial-dialog.component.mjs +17 -11
- app-ng-runtime/components/dialogs/partial-dialog/esm2022/partial-dialog.module.mjs +2 -2
- app-ng-runtime/components/dialogs/partial-dialog/fesm2022/index.mjs +18 -12
- app-ng-runtime/components/dialogs/partial-dialog/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/partial-dialog/partial-dialog.component.d.ts +2 -2
- app-ng-runtime/components/input/calendar/.npmignore +2 -0
- app-ng-runtime/components/input/calendar/bundles/index.umd.js +46 -38
- app-ng-runtime/components/input/calendar/calendar.component.d.ts +2 -2
- app-ng-runtime/components/input/calendar/esm2022/calendar.component.mjs +44 -35
- app-ng-runtime/components/input/calendar/esm2022/calendar.module.mjs +2 -2
- app-ng-runtime/components/input/calendar/fesm2022/index.mjs +45 -36
- app-ng-runtime/components/input/calendar/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/chips/.npmignore +2 -0
- app-ng-runtime/components/input/chips/bundles/index.umd.js +69 -61
- app-ng-runtime/components/input/chips/chips.component.d.ts +3 -3
- app-ng-runtime/components/input/chips/esm2022/chips.component.mjs +67 -58
- app-ng-runtime/components/input/chips/esm2022/chips.module.mjs +2 -2
- app-ng-runtime/components/input/chips/fesm2022/index.mjs +67 -58
- app-ng-runtime/components/input/chips/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/color-picker/.npmignore +2 -0
- app-ng-runtime/components/input/color-picker/bundles/index.umd.js +25 -12
- app-ng-runtime/components/input/color-picker/color-picker.component.d.ts +2 -2
- app-ng-runtime/components/input/color-picker/esm2022/color-picker.component.mjs +26 -13
- app-ng-runtime/components/input/color-picker/esm2022/color-picker.module.mjs +2 -2
- app-ng-runtime/components/input/color-picker/fesm2022/index.mjs +26 -13
- app-ng-runtime/components/input/color-picker/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/currency/.npmignore +2 -0
- app-ng-runtime/components/input/currency/bundles/index.umd.js +18 -11
- app-ng-runtime/components/input/currency/currency.component.d.ts +2 -2
- app-ng-runtime/components/input/currency/esm2022/currency.component.mjs +19 -12
- app-ng-runtime/components/input/currency/esm2022/currency.module.mjs +2 -2
- app-ng-runtime/components/input/currency/fesm2022/index.mjs +19 -12
- app-ng-runtime/components/input/currency/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/default/.npmignore +2 -0
- app-ng-runtime/components/input/default/base-form.component.d.ts +3 -3
- app-ng-runtime/components/input/default/bundles/index.umd.js +629 -488
- app-ng-runtime/components/input/default/button/button.component.d.ts +2 -2
- app-ng-runtime/components/input/default/button-group/button-group.directive.d.ts +2 -2
- app-ng-runtime/components/input/default/checkbox/checkbox.component.d.ts +3 -2
- app-ng-runtime/components/input/default/checkboxset/checkboxset.component.d.ts +2 -2
- app-ng-runtime/components/input/default/composite/composite.directive.d.ts +2 -2
- app-ng-runtime/components/input/default/dataset-aware-form.component.d.ts +4 -4
- app-ng-runtime/components/input/default/esm2022/base-form-custom.component.mjs +3 -3
- app-ng-runtime/components/input/default/esm2022/base-form.component.mjs +17 -11
- app-ng-runtime/components/input/default/esm2022/button/button.component.mjs +32 -28
- app-ng-runtime/components/input/default/esm2022/button-group/button-group.directive.mjs +12 -7
- app-ng-runtime/components/input/default/esm2022/caption-position.directive.mjs +6 -6
- app-ng-runtime/components/input/default/esm2022/checkbox/checkbox.component.mjs +27 -17
- app-ng-runtime/components/input/default/esm2022/checkboxset/checkboxset.component.mjs +107 -103
- app-ng-runtime/components/input/default/esm2022/composite/composite.directive.mjs +12 -7
- app-ng-runtime/components/input/default/esm2022/dataset-aware-form.component.mjs +32 -26
- app-ng-runtime/components/input/default/esm2022/input.module.mjs +2 -2
- app-ng-runtime/components/input/default/esm2022/number/number.component.mjs +17 -10
- app-ng-runtime/components/input/default/esm2022/radioset/radioset.component.mjs +105 -102
- app-ng-runtime/components/input/default/esm2022/select/select.component.mjs +92 -74
- app-ng-runtime/components/input/default/esm2022/switch/switch.component.mjs +38 -31
- app-ng-runtime/components/input/default/esm2022/text/base/base-input.mjs +18 -11
- app-ng-runtime/components/input/default/esm2022/text/calendar/input-calendar.component.mjs +23 -12
- app-ng-runtime/components/input/default/esm2022/text/color/input-color.component.mjs +23 -12
- app-ng-runtime/components/input/default/esm2022/text/email/input-email.component.mjs +20 -11
- app-ng-runtime/components/input/default/esm2022/text/locale/number-locale.mjs +35 -24
- app-ng-runtime/components/input/default/esm2022/text/number/input-number.component.mjs +21 -12
- app-ng-runtime/components/input/default/esm2022/text/text/input-text.component.mjs +20 -11
- app-ng-runtime/components/input/default/esm2022/textarea/textarea.component.mjs +21 -12
- app-ng-runtime/components/input/default/fesm2022/index.mjs +632 -489
- app-ng-runtime/components/input/default/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/default/number/number.component.d.ts +2 -2
- app-ng-runtime/components/input/default/radioset/radioset.component.d.ts +2 -2
- app-ng-runtime/components/input/default/select/select.component.d.ts +3 -6
- app-ng-runtime/components/input/default/switch/switch.component.d.ts +2 -2
- app-ng-runtime/components/input/default/text/base/base-input.d.ts +3 -2
- app-ng-runtime/components/input/default/text/calendar/input-calendar.component.d.ts +2 -2
- app-ng-runtime/components/input/default/text/color/input-color.component.d.ts +2 -2
- app-ng-runtime/components/input/default/text/email/input-email.component.d.ts +2 -2
- app-ng-runtime/components/input/default/text/locale/number-locale.d.ts +1 -1
- app-ng-runtime/components/input/default/text/number/input-number.component.d.ts +2 -2
- app-ng-runtime/components/input/default/text/text/input-text.component.d.ts +2 -2
- app-ng-runtime/components/input/default/textarea/textarea.component.d.ts +2 -2
- app-ng-runtime/components/input/epoch/.npmignore +2 -0
- app-ng-runtime/components/input/epoch/base-date-time.component.d.ts +2 -2
- app-ng-runtime/components/input/epoch/bundles/index.umd.js +214 -165
- app-ng-runtime/components/input/epoch/date/date.component.d.ts +3 -2
- app-ng-runtime/components/input/epoch/date-time/date-time.component.d.ts +2 -2
- app-ng-runtime/components/input/epoch/esm2022/base-date-time.component.mjs +44 -36
- app-ng-runtime/components/input/epoch/esm2022/date/date.component.mjs +36 -22
- app-ng-runtime/components/input/epoch/esm2022/date/date.props.mjs +2 -2
- app-ng-runtime/components/input/epoch/esm2022/date/imaskUtil.mjs +8 -2
- app-ng-runtime/components/input/epoch/esm2022/date-time/date-time-picker.component.mjs +42 -41
- app-ng-runtime/components/input/epoch/esm2022/date-time/date-time.component.mjs +49 -37
- app-ng-runtime/components/input/epoch/esm2022/epoch.module.mjs +2 -2
- app-ng-runtime/components/input/epoch/esm2022/picker/picker.component.mjs +7 -5
- app-ng-runtime/components/input/epoch/esm2022/time/time.component.mjs +35 -24
- app-ng-runtime/components/input/epoch/fesm2022/index.mjs +211 -161
- app-ng-runtime/components/input/epoch/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/epoch/time/time.component.d.ts +2 -2
- app-ng-runtime/components/input/file-upload/.npmignore +2 -0
- app-ng-runtime/components/input/file-upload/bundles/index.umd.js +133 -135
- app-ng-runtime/components/input/file-upload/esm2022/file-upload.component.mjs +131 -132
- app-ng-runtime/components/input/file-upload/esm2022/file-upload.module.mjs +2 -2
- app-ng-runtime/components/input/file-upload/fesm2022/index.mjs +132 -133
- app-ng-runtime/components/input/file-upload/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/file-upload/file-upload.component.d.ts +2 -2
- app-ng-runtime/components/input/rating/.npmignore +2 -0
- app-ng-runtime/components/input/rating/bundles/index.umd.js +60 -51
- app-ng-runtime/components/input/rating/esm2022/rating.component.mjs +58 -48
- app-ng-runtime/components/input/rating/esm2022/rating.module.mjs +2 -2
- app-ng-runtime/components/input/rating/fesm2022/index.mjs +58 -48
- app-ng-runtime/components/input/rating/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/rating/rating.component.d.ts +2 -2
- app-ng-runtime/components/input/slider/.npmignore +2 -0
- app-ng-runtime/components/input/slider/bundles/index.umd.js +23 -13
- app-ng-runtime/components/input/slider/esm2022/slider.component.mjs +24 -14
- app-ng-runtime/components/input/slider/esm2022/slider.module.mjs +2 -2
- app-ng-runtime/components/input/slider/fesm2022/index.mjs +24 -14
- app-ng-runtime/components/input/slider/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/slider/slider.component.d.ts +2 -2
- app-ng-runtime/components/navigation/breadcrumb/.npmignore +2 -0
- app-ng-runtime/components/navigation/breadcrumb/breadcrumb.component.d.ts +2 -2
- app-ng-runtime/components/navigation/breadcrumb/bundles/index.umd.js +33 -28
- app-ng-runtime/components/navigation/breadcrumb/esm2022/breadcrumb.component.mjs +34 -29
- app-ng-runtime/components/navigation/breadcrumb/esm2022/breadcrumb.module.mjs +2 -2
- app-ng-runtime/components/navigation/breadcrumb/fesm2022/index.mjs +35 -30
- app-ng-runtime/components/navigation/breadcrumb/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/navigation/menu/.npmignore +2 -0
- app-ng-runtime/components/navigation/menu/bundles/index.umd.js +161 -146
- app-ng-runtime/components/navigation/menu/esm2022/menu-adapator.component.mjs +13 -7
- app-ng-runtime/components/navigation/menu/esm2022/menu-dropdown/menu-dropdown.component.mjs +5 -4
- app-ng-runtime/components/navigation/menu/esm2022/menu-dropdown-item/menu-dropdown-item.component.mjs +27 -26
- app-ng-runtime/components/navigation/menu/esm2022/menu.component.mjs +44 -40
- app-ng-runtime/components/navigation/menu/esm2022/menu.module.mjs +4 -3
- app-ng-runtime/components/navigation/menu/esm2022/nav/nav-item/nav-item.directive.mjs +14 -8
- app-ng-runtime/components/navigation/menu/esm2022/nav/nav.component.mjs +64 -64
- app-ng-runtime/components/navigation/menu/esm2022/nav/navigation-control.directive.mjs +3 -3
- app-ng-runtime/components/navigation/menu/fesm2022/index.mjs +161 -145
- app-ng-runtime/components/navigation/menu/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/navigation/menu/menu-adapator.component.d.ts +1 -1
- app-ng-runtime/components/navigation/menu/menu-dropdown-item/menu-dropdown-item.component.d.ts +12 -1
- app-ng-runtime/components/navigation/menu/menu.component.d.ts +2 -2
- app-ng-runtime/components/navigation/menu/nav/nav-item/nav-item.directive.d.ts +3 -3
- app-ng-runtime/components/navigation/menu/nav/nav.component.d.ts +3 -4
- app-ng-runtime/components/navigation/navbar/.npmignore +2 -0
- app-ng-runtime/components/navigation/navbar/bundles/index.umd.js +29 -22
- app-ng-runtime/components/navigation/navbar/esm2022/navbar.component.mjs +30 -23
- app-ng-runtime/components/navigation/navbar/esm2022/navbar.module.mjs +2 -2
- app-ng-runtime/components/navigation/navbar/fesm2022/index.mjs +31 -24
- app-ng-runtime/components/navigation/navbar/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/navigation/navbar/navbar.component.d.ts +2 -2
- app-ng-runtime/components/navigation/popover/.npmignore +2 -0
- app-ng-runtime/components/navigation/popover/bundles/index.umd.js +18 -11
- app-ng-runtime/components/navigation/popover/esm2022/popover.component.mjs +19 -12
- app-ng-runtime/components/navigation/popover/esm2022/popover.module.mjs +2 -2
- app-ng-runtime/components/navigation/popover/fesm2022/index.mjs +20 -13
- app-ng-runtime/components/navigation/popover/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/navigation/popover/popover.component.d.ts +2 -2
- app-ng-runtime/components/page/default/.npmignore +2 -0
- app-ng-runtime/components/page/default/bundles/index.umd.js +63 -31
- app-ng-runtime/components/page/default/content/content.component.d.ts +2 -2
- app-ng-runtime/components/page/default/esm2022/content/content.component.mjs +13 -7
- app-ng-runtime/components/page/default/esm2022/layout.directive.mjs +12 -7
- app-ng-runtime/components/page/default/esm2022/page-content/page-content.component.mjs +13 -7
- app-ng-runtime/components/page/default/esm2022/page.directive.mjs +12 -7
- app-ng-runtime/components/page/default/esm2022/page.module.mjs +2 -2
- app-ng-runtime/components/page/default/esm2022/router-outlet.directive.mjs +12 -7
- app-ng-runtime/components/page/default/esm2022/spa-page.directive.mjs +12 -7
- app-ng-runtime/components/page/default/fesm2022/index.mjs +65 -33
- app-ng-runtime/components/page/default/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/page/default/layout.directive.d.ts +2 -2
- app-ng-runtime/components/page/default/page-content/page-content.component.d.ts +2 -2
- app-ng-runtime/components/page/default/page.directive.d.ts +2 -2
- app-ng-runtime/components/page/default/router-outlet.directive.d.ts +2 -2
- app-ng-runtime/components/page/default/spa-page.directive.d.ts +2 -2
- app-ng-runtime/components/page/footer/.npmignore +2 -0
- app-ng-runtime/components/page/footer/bundles/index.umd.js +11 -6
- app-ng-runtime/components/page/footer/esm2022/footer.directive.mjs +12 -7
- app-ng-runtime/components/page/footer/esm2022/footer.module.mjs +2 -2
- app-ng-runtime/components/page/footer/fesm2022/index.mjs +13 -8
- app-ng-runtime/components/page/footer/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/page/footer/footer.directive.d.ts +2 -2
- app-ng-runtime/components/page/header/.npmignore +2 -0
- app-ng-runtime/components/page/header/bundles/index.umd.js +12 -6
- app-ng-runtime/components/page/header/esm2022/header.component.mjs +13 -7
- app-ng-runtime/components/page/header/esm2022/header.module.mjs +2 -2
- app-ng-runtime/components/page/header/fesm2022/index.mjs +14 -8
- app-ng-runtime/components/page/header/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/page/header/header.component.d.ts +2 -2
- app-ng-runtime/components/page/left-panel/.npmignore +2 -0
- app-ng-runtime/components/page/left-panel/bundles/index.umd.js +12 -7
- app-ng-runtime/components/page/left-panel/esm2022/left-panel.animator.mjs +1 -1
- app-ng-runtime/components/page/left-panel/esm2022/left-panel.directive.mjs +13 -8
- app-ng-runtime/components/page/left-panel/esm2022/left-panel.module.mjs +2 -2
- app-ng-runtime/components/page/left-panel/fesm2022/index.mjs +14 -9
- app-ng-runtime/components/page/left-panel/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/page/left-panel/left-panel.directive.d.ts +2 -2
- app-ng-runtime/components/page/right-panel/.npmignore +2 -0
- app-ng-runtime/components/page/right-panel/bundles/index.umd.js +11 -6
- app-ng-runtime/components/page/right-panel/esm2022/right-panel.directive.mjs +12 -7
- app-ng-runtime/components/page/right-panel/esm2022/right-panel.module.mjs +2 -2
- app-ng-runtime/components/page/right-panel/fesm2022/index.mjs +13 -8
- app-ng-runtime/components/page/right-panel/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/page/right-panel/right-panel.directive.d.ts +2 -2
- app-ng-runtime/components/page/top-nav/.npmignore +2 -0
- app-ng-runtime/components/page/top-nav/bundles/index.umd.js +11 -6
- app-ng-runtime/components/page/top-nav/esm2022/top-nav.directive.mjs +12 -7
- app-ng-runtime/components/page/top-nav/esm2022/top-nav.module.mjs +2 -2
- app-ng-runtime/components/page/top-nav/fesm2022/index.mjs +13 -8
- app-ng-runtime/components/page/top-nav/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/page/top-nav/top-nav.directive.d.ts +2 -2
- app-ng-runtime/components/prefab/.npmignore +2 -0
- app-ng-runtime/components/prefab/bundles/index.umd.js +28 -18
- app-ng-runtime/components/prefab/esm2022/prefab-container/prefab-container.directive.mjs +14 -8
- app-ng-runtime/components/prefab/esm2022/prefab.directive.mjs +15 -9
- app-ng-runtime/components/prefab/esm2022/prefab.module.mjs +2 -2
- app-ng-runtime/components/prefab/fesm2022/index.mjs +26 -15
- app-ng-runtime/components/prefab/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/prefab/prefab-container/prefab-container.directive.d.ts +2 -2
- app-ng-runtime/components/prefab/prefab.directive.d.ts +2 -2
- app-ng-runtime/core/.npmignore +2 -0
- app-ng-runtime/core/bundles/index.umd.js +158 -146
- app-ng-runtime/core/esm2022/core.module.mjs +2 -2
- app-ng-runtime/core/esm2022/public_api.mjs +3 -2
- app-ng-runtime/core/esm2022/services/constant.service.mjs +2 -2
- app-ng-runtime/core/esm2022/services/custom-icons-loader.service.mjs +26 -0
- app-ng-runtime/core/esm2022/services/field-type.service.mjs +5 -4
- app-ng-runtime/core/esm2022/services/field-widget.service.mjs +5 -4
- app-ng-runtime/core/esm2022/services/pagination.service.mjs +8 -7
- app-ng-runtime/core/esm2022/services/script-loader.service.mjs +3 -3
- app-ng-runtime/core/esm2022/services/state-persistence.service.mjs +18 -17
- app-ng-runtime/core/esm2022/services/user-custom-pipe-manager.service.mjs +2 -2
- app-ng-runtime/core/esm2022/services/utils.service.mjs +5 -4
- app-ng-runtime/core/esm2022/services/viewport.service.mjs +5 -4
- app-ng-runtime/core/esm2022/utils/build-utils.mjs +5 -4
- app-ng-runtime/core/esm2022/utils/dom.mjs +1 -1
- app-ng-runtime/core/esm2022/utils/event-notifier.mjs +1 -1
- app-ng-runtime/core/esm2022/utils/expression-parser.mjs +6 -5
- app-ng-runtime/core/esm2022/utils/id-generator.mjs +1 -1
- app-ng-runtime/core/esm2022/utils/lru-cache.mjs +3 -2
- app-ng-runtime/core/esm2022/utils/utils.mjs +79 -82
- app-ng-runtime/core/esm2022/utils/watcher.mjs +9 -7
- app-ng-runtime/core/esm2022/utils/wm-project-properties.mjs +1 -1
- app-ng-runtime/core/fesm2022/index.mjs +158 -142
- app-ng-runtime/core/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/core/public_api.d.ts +2 -1
- app-ng-runtime/core/services/custom-icons-loader.service.d.ts +7 -0
- app-ng-runtime/core/services/pagination.service.d.ts +1 -1
- app-ng-runtime/core/utils/utils.d.ts +5 -9
- app-ng-runtime/http/.npmignore +2 -0
- app-ng-runtime/http/bundles/index.umd.js +10 -10
- app-ng-runtime/http/esm2022/http-service.module.mjs +2 -2
- app-ng-runtime/http/esm2022/http.service.mjs +7 -6
- app-ng-runtime/http/esm2022/wm-http-request.mjs +1 -1
- app-ng-runtime/http/esm2022/wm-http-response.mjs +1 -1
- app-ng-runtime/http/fesm2022/index.mjs +7 -6
- app-ng-runtime/http/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/locales/angular/global/af-na.js +4 -4
- app-ng-runtime/locales/angular/global/af.js +4 -4
- app-ng-runtime/locales/angular/global/agq.js +4 -4
- app-ng-runtime/locales/angular/global/ak.js +4 -4
- app-ng-runtime/locales/angular/global/am.js +4 -4
- app-ng-runtime/locales/angular/global/ar-ae.js +4 -4
- app-ng-runtime/locales/angular/global/ar-bh.js +4 -4
- app-ng-runtime/locales/angular/global/ar-dj.js +4 -4
- app-ng-runtime/locales/angular/global/ar-dz.js +4 -4
- app-ng-runtime/locales/angular/global/ar-eg.js +4 -4
- app-ng-runtime/locales/angular/global/ar-eh.js +4 -4
- app-ng-runtime/locales/angular/global/ar-er.js +4 -4
- app-ng-runtime/locales/angular/global/ar-il.js +4 -4
- app-ng-runtime/locales/angular/global/ar-iq.js +4 -4
- app-ng-runtime/locales/angular/global/ar-jo.js +4 -4
- app-ng-runtime/locales/angular/global/ar-km.js +4 -4
- app-ng-runtime/locales/angular/global/ar-kw.js +4 -4
- app-ng-runtime/locales/angular/global/ar-lb.js +4 -4
- app-ng-runtime/locales/angular/global/ar-ly.js +4 -4
- app-ng-runtime/locales/angular/global/ar-ma.js +4 -4
- app-ng-runtime/locales/angular/global/ar-mr.js +4 -4
- app-ng-runtime/locales/angular/global/ar-om.js +4 -4
- app-ng-runtime/locales/angular/global/ar-ps.js +4 -4
- app-ng-runtime/locales/angular/global/ar-qa.js +4 -4
- app-ng-runtime/locales/angular/global/ar-sa.js +4 -4
- app-ng-runtime/locales/angular/global/ar-sd.js +4 -4
- app-ng-runtime/locales/angular/global/ar-so.js +4 -4
- app-ng-runtime/locales/angular/global/ar-ss.js +4 -4
- app-ng-runtime/locales/angular/global/ar-sy.js +4 -4
- app-ng-runtime/locales/angular/global/ar-td.js +4 -4
- app-ng-runtime/locales/angular/global/ar-tn.js +4 -4
- app-ng-runtime/locales/angular/global/ar-ye.js +4 -4
- app-ng-runtime/locales/angular/global/ar.js +4 -4
- app-ng-runtime/locales/angular/global/as.js +4 -4
- app-ng-runtime/locales/angular/global/asa.js +4 -4
- app-ng-runtime/locales/angular/global/ast.js +4 -4
- app-ng-runtime/locales/angular/global/az-cyrl.js +4 -4
- app-ng-runtime/locales/angular/global/az-latn.js +4 -4
- app-ng-runtime/locales/angular/global/az.js +4 -4
- app-ng-runtime/locales/angular/global/bas.js +4 -4
- app-ng-runtime/locales/angular/global/be-tarask.js +4 -4
- app-ng-runtime/locales/angular/global/be.js +4 -4
- app-ng-runtime/locales/angular/global/bem.js +4 -4
- app-ng-runtime/locales/angular/global/bez.js +4 -4
- app-ng-runtime/locales/angular/global/bg.js +4 -4
- app-ng-runtime/locales/angular/global/bm.js +4 -4
- app-ng-runtime/locales/angular/global/bn-in.js +4 -4
- app-ng-runtime/locales/angular/global/bn.js +4 -4
- app-ng-runtime/locales/angular/global/bo-in.js +4 -4
- app-ng-runtime/locales/angular/global/bo.js +4 -4
- app-ng-runtime/locales/angular/global/br.js +4 -4
- app-ng-runtime/locales/angular/global/brx.js +4 -4
- app-ng-runtime/locales/angular/global/bs-cyrl.js +4 -4
- app-ng-runtime/locales/angular/global/bs-latn.js +4 -4
- app-ng-runtime/locales/angular/global/bs.js +4 -4
- app-ng-runtime/locales/angular/global/ca-ad.js +4 -4
- app-ng-runtime/locales/angular/global/ca-es-valencia.js +4 -4
- app-ng-runtime/locales/angular/global/ca-fr.js +4 -4
- app-ng-runtime/locales/angular/global/ca-it.js +4 -4
- app-ng-runtime/locales/angular/global/ca.js +4 -4
- app-ng-runtime/locales/angular/global/ccp-in.js +4 -4
- app-ng-runtime/locales/angular/global/ccp.js +4 -4
- app-ng-runtime/locales/angular/global/ce.js +4 -4
- app-ng-runtime/locales/angular/global/ceb.js +4 -4
- app-ng-runtime/locales/angular/global/cgg.js +4 -4
- app-ng-runtime/locales/angular/global/chr.js +4 -4
- app-ng-runtime/locales/angular/global/ckb-ir.js +4 -4
- app-ng-runtime/locales/angular/global/ckb.js +4 -4
- app-ng-runtime/locales/angular/global/cs.js +4 -4
- app-ng-runtime/locales/angular/global/cy.js +4 -4
- app-ng-runtime/locales/angular/global/da-gl.js +4 -4
- app-ng-runtime/locales/angular/global/da.js +4 -4
- app-ng-runtime/locales/angular/global/dav.js +4 -4
- app-ng-runtime/locales/angular/global/de-at.js +4 -4
- app-ng-runtime/locales/angular/global/de-be.js +4 -4
- app-ng-runtime/locales/angular/global/de-ch.js +4 -4
- app-ng-runtime/locales/angular/global/de-it.js +4 -4
- app-ng-runtime/locales/angular/global/de-li.js +4 -4
- app-ng-runtime/locales/angular/global/de-lu.js +4 -4
- app-ng-runtime/locales/angular/global/de.js +4 -4
- app-ng-runtime/locales/angular/global/dje.js +4 -4
- app-ng-runtime/locales/angular/global/doi.js +4 -4
- app-ng-runtime/locales/angular/global/dsb.js +4 -4
- app-ng-runtime/locales/angular/global/dua.js +4 -4
- app-ng-runtime/locales/angular/global/dyo.js +4 -4
- app-ng-runtime/locales/angular/global/dz.js +4 -4
- app-ng-runtime/locales/angular/global/ebu.js +4 -4
- app-ng-runtime/locales/angular/global/ee-tg.js +4 -4
- app-ng-runtime/locales/angular/global/ee.js +4 -4
- app-ng-runtime/locales/angular/global/el-cy.js +4 -4
- app-ng-runtime/locales/angular/global/el.js +4 -4
- app-ng-runtime/locales/angular/global/en-001.js +4 -4
- app-ng-runtime/locales/angular/global/en-150.js +4 -4
- app-ng-runtime/locales/angular/global/en-ae.js +4 -4
- app-ng-runtime/locales/angular/global/en-ag.js +4 -4
- app-ng-runtime/locales/angular/global/en-ai.js +4 -4
- app-ng-runtime/locales/angular/global/en-as.js +4 -4
- app-ng-runtime/locales/angular/global/en-at.js +4 -4
- app-ng-runtime/locales/angular/global/en-au.js +4 -4
- app-ng-runtime/locales/angular/global/en-bb.js +4 -4
- app-ng-runtime/locales/angular/global/en-be.js +4 -4
- app-ng-runtime/locales/angular/global/en-bi.js +4 -4
- app-ng-runtime/locales/angular/global/en-bm.js +4 -4
- app-ng-runtime/locales/angular/global/en-bs.js +4 -4
- app-ng-runtime/locales/angular/global/en-bw.js +4 -4
- app-ng-runtime/locales/angular/global/en-bz.js +4 -4
- app-ng-runtime/locales/angular/global/en-ca.js +4 -4
- app-ng-runtime/locales/angular/global/en-cc.js +4 -4
- app-ng-runtime/locales/angular/global/en-ch.js +4 -4
- app-ng-runtime/locales/angular/global/en-ck.js +4 -4
- app-ng-runtime/locales/angular/global/en-cm.js +4 -4
- app-ng-runtime/locales/angular/global/en-cx.js +4 -4
- app-ng-runtime/locales/angular/global/en-cy.js +4 -4
- app-ng-runtime/locales/angular/global/en-de.js +4 -4
- app-ng-runtime/locales/angular/global/en-dg.js +4 -4
- app-ng-runtime/locales/angular/global/en-dk.js +4 -4
- app-ng-runtime/locales/angular/global/en-dm.js +4 -4
- app-ng-runtime/locales/angular/global/en-er.js +4 -4
- app-ng-runtime/locales/angular/global/en-fi.js +4 -4
- app-ng-runtime/locales/angular/global/en-fj.js +4 -4
- app-ng-runtime/locales/angular/global/en-fk.js +4 -4
- app-ng-runtime/locales/angular/global/en-fm.js +4 -4
- app-ng-runtime/locales/angular/global/en-gb.js +4 -4
- app-ng-runtime/locales/angular/global/en-gd.js +4 -4
- app-ng-runtime/locales/angular/global/en-gg.js +4 -4
- app-ng-runtime/locales/angular/global/en-gh.js +4 -4
- app-ng-runtime/locales/angular/global/en-gi.js +4 -4
- app-ng-runtime/locales/angular/global/en-gm.js +4 -4
- app-ng-runtime/locales/angular/global/en-gu.js +4 -4
- app-ng-runtime/locales/angular/global/en-gy.js +4 -4
- app-ng-runtime/locales/angular/global/en-hk.js +4 -4
- app-ng-runtime/locales/angular/global/en-ie.js +4 -4
- app-ng-runtime/locales/angular/global/en-il.js +4 -4
- app-ng-runtime/locales/angular/global/en-im.js +4 -4
- app-ng-runtime/locales/angular/global/en-in.js +4 -4
- app-ng-runtime/locales/angular/global/en-io.js +4 -4
- app-ng-runtime/locales/angular/global/en-je.js +4 -4
- app-ng-runtime/locales/angular/global/en-jm.js +4 -4
- app-ng-runtime/locales/angular/global/en-ke.js +4 -4
- app-ng-runtime/locales/angular/global/en-ki.js +4 -4
- app-ng-runtime/locales/angular/global/en-kn.js +4 -4
- app-ng-runtime/locales/angular/global/en-ky.js +4 -4
- app-ng-runtime/locales/angular/global/en-lc.js +4 -4
- app-ng-runtime/locales/angular/global/en-lr.js +4 -4
- app-ng-runtime/locales/angular/global/en-ls.js +4 -4
- app-ng-runtime/locales/angular/global/en-mg.js +4 -4
- app-ng-runtime/locales/angular/global/en-mh.js +4 -4
- app-ng-runtime/locales/angular/global/en-mo.js +4 -4
- app-ng-runtime/locales/angular/global/en-mp.js +4 -4
- app-ng-runtime/locales/angular/global/en-ms.js +4 -4
- app-ng-runtime/locales/angular/global/en-mt.js +4 -4
- app-ng-runtime/locales/angular/global/en-mu.js +4 -4
- app-ng-runtime/locales/angular/global/en-mv.js +4 -4
- app-ng-runtime/locales/angular/global/en-mw.js +4 -4
- app-ng-runtime/locales/angular/global/en-my.js +4 -4
- app-ng-runtime/locales/angular/global/en-na.js +4 -4
- app-ng-runtime/locales/angular/global/en-nf.js +4 -4
- app-ng-runtime/locales/angular/global/en-ng.js +4 -4
- app-ng-runtime/locales/angular/global/en-nl.js +4 -4
- app-ng-runtime/locales/angular/global/en-nr.js +4 -4
- app-ng-runtime/locales/angular/global/en-nu.js +4 -4
- app-ng-runtime/locales/angular/global/en-nz.js +4 -4
- app-ng-runtime/locales/angular/global/en-pg.js +4 -4
- app-ng-runtime/locales/angular/global/en-ph.js +4 -4
- app-ng-runtime/locales/angular/global/en-pk.js +4 -4
- app-ng-runtime/locales/angular/global/en-pn.js +4 -4
- app-ng-runtime/locales/angular/global/en-pr.js +4 -4
- app-ng-runtime/locales/angular/global/en-pw.js +4 -4
- app-ng-runtime/locales/angular/global/en-rw.js +4 -4
- app-ng-runtime/locales/angular/global/en-sb.js +4 -4
- app-ng-runtime/locales/angular/global/en-sc.js +4 -4
- app-ng-runtime/locales/angular/global/en-sd.js +4 -4
- app-ng-runtime/locales/angular/global/en-se.js +4 -4
- app-ng-runtime/locales/angular/global/en-sg.js +4 -4
- app-ng-runtime/locales/angular/global/en-sh.js +4 -4
- app-ng-runtime/locales/angular/global/en-si.js +4 -4
- app-ng-runtime/locales/angular/global/en-sl.js +4 -4
- app-ng-runtime/locales/angular/global/en-ss.js +4 -4
- app-ng-runtime/locales/angular/global/en-sx.js +4 -4
- app-ng-runtime/locales/angular/global/en-sz.js +4 -4
- app-ng-runtime/locales/angular/global/en-tc.js +4 -4
- app-ng-runtime/locales/angular/global/en-tk.js +4 -4
- app-ng-runtime/locales/angular/global/en-to.js +4 -4
- app-ng-runtime/locales/angular/global/en-tt.js +4 -4
- app-ng-runtime/locales/angular/global/en-tv.js +4 -4
- app-ng-runtime/locales/angular/global/en-tz.js +4 -4
- app-ng-runtime/locales/angular/global/en-ug.js +4 -4
- app-ng-runtime/locales/angular/global/en-um.js +4 -4
- app-ng-runtime/locales/angular/global/en-vc.js +4 -4
- app-ng-runtime/locales/angular/global/en-vg.js +4 -4
- app-ng-runtime/locales/angular/global/en-vi.js +4 -4
- app-ng-runtime/locales/angular/global/en-vu.js +4 -4
- app-ng-runtime/locales/angular/global/en-ws.js +4 -4
- app-ng-runtime/locales/angular/global/en-za.js +4 -4
- app-ng-runtime/locales/angular/global/en-zm.js +4 -4
- app-ng-runtime/locales/angular/global/en-zw.js +4 -4
- app-ng-runtime/locales/angular/global/en.js +4 -4
- app-ng-runtime/locales/angular/global/eo.js +4 -4
- app-ng-runtime/locales/angular/global/es-419.js +4 -4
- app-ng-runtime/locales/angular/global/es-ar.js +4 -4
- app-ng-runtime/locales/angular/global/es-bo.js +4 -4
- app-ng-runtime/locales/angular/global/es-br.js +4 -4
- app-ng-runtime/locales/angular/global/es-bz.js +4 -4
- app-ng-runtime/locales/angular/global/es-cl.js +4 -4
- app-ng-runtime/locales/angular/global/es-co.js +4 -4
- app-ng-runtime/locales/angular/global/es-cr.js +4 -4
- app-ng-runtime/locales/angular/global/es-cu.js +4 -4
- app-ng-runtime/locales/angular/global/es-do.js +4 -4
- app-ng-runtime/locales/angular/global/es-ea.js +4 -4
- app-ng-runtime/locales/angular/global/es-ec.js +4 -4
- app-ng-runtime/locales/angular/global/es-gq.js +4 -4
- app-ng-runtime/locales/angular/global/es-gt.js +4 -4
- app-ng-runtime/locales/angular/global/es-hn.js +4 -4
- app-ng-runtime/locales/angular/global/es-ic.js +4 -4
- app-ng-runtime/locales/angular/global/es-mx.js +4 -4
- app-ng-runtime/locales/angular/global/es-ni.js +4 -4
- app-ng-runtime/locales/angular/global/es-pa.js +4 -4
- app-ng-runtime/locales/angular/global/es-pe.js +4 -4
- app-ng-runtime/locales/angular/global/es-ph.js +4 -4
- app-ng-runtime/locales/angular/global/es-pr.js +4 -4
- app-ng-runtime/locales/angular/global/es-py.js +4 -4
- app-ng-runtime/locales/angular/global/es-sv.js +4 -4
- app-ng-runtime/locales/angular/global/es-us.js +4 -4
- app-ng-runtime/locales/angular/global/es-uy.js +4 -4
- app-ng-runtime/locales/angular/global/es-ve.js +4 -4
- app-ng-runtime/locales/angular/global/es.js +4 -4
- app-ng-runtime/locales/angular/global/et.js +4 -4
- app-ng-runtime/locales/angular/global/eu.js +4 -4
- app-ng-runtime/locales/angular/global/ewo.js +4 -4
- app-ng-runtime/locales/angular/global/fa-af.js +4 -4
- app-ng-runtime/locales/angular/global/fa.js +4 -4
- app-ng-runtime/locales/angular/global/ff-adlm-bf.js +4 -4
- app-ng-runtime/locales/angular/global/ff-adlm-cm.js +4 -4
- app-ng-runtime/locales/angular/global/ff-adlm-gh.js +4 -4
- app-ng-runtime/locales/angular/global/ff-adlm-gm.js +4 -4
- app-ng-runtime/locales/angular/global/ff-adlm-gw.js +4 -4
- app-ng-runtime/locales/angular/global/ff-adlm-lr.js +4 -4
- app-ng-runtime/locales/angular/global/ff-adlm-mr.js +4 -4
- app-ng-runtime/locales/angular/global/ff-adlm-ne.js +4 -4
- app-ng-runtime/locales/angular/global/ff-adlm-ng.js +4 -4
- app-ng-runtime/locales/angular/global/ff-adlm-sl.js +4 -4
- app-ng-runtime/locales/angular/global/ff-adlm-sn.js +4 -4
- app-ng-runtime/locales/angular/global/ff-adlm.js +4 -4
- app-ng-runtime/locales/angular/global/ff-cm.js +58 -44
- app-ng-runtime/locales/angular/global/ff-gn.js +58 -44
- app-ng-runtime/locales/angular/global/ff-latn-bf.js +4 -4
- app-ng-runtime/locales/angular/global/ff-latn-cm.js +4 -4
- app-ng-runtime/locales/angular/global/ff-latn-gh.js +4 -4
- app-ng-runtime/locales/angular/global/ff-latn-gm.js +4 -4
- app-ng-runtime/locales/angular/global/ff-latn-gn.js +4 -4
- app-ng-runtime/locales/angular/global/ff-latn-gw.js +4 -4
- app-ng-runtime/locales/angular/global/ff-latn-lr.js +4 -4
- app-ng-runtime/locales/angular/global/ff-latn-mr.js +4 -4
- app-ng-runtime/locales/angular/global/ff-latn-ne.js +4 -4
- app-ng-runtime/locales/angular/global/ff-latn-ng.js +4 -4
- app-ng-runtime/locales/angular/global/ff-latn-sl.js +4 -4
- app-ng-runtime/locales/angular/global/ff-latn.js +4 -4
- app-ng-runtime/locales/angular/global/ff-mr.js +58 -44
- app-ng-runtime/locales/angular/global/ff.js +4 -4
- app-ng-runtime/locales/angular/global/fi.js +4 -4
- app-ng-runtime/locales/angular/global/fil.js +4 -4
- app-ng-runtime/locales/angular/global/fo-dk.js +4 -4
- app-ng-runtime/locales/angular/global/fo.js +4 -4
- app-ng-runtime/locales/angular/global/fr-be.js +4 -4
- app-ng-runtime/locales/angular/global/fr-bf.js +4 -4
- app-ng-runtime/locales/angular/global/fr-bi.js +4 -4
- app-ng-runtime/locales/angular/global/fr-bj.js +4 -4
- app-ng-runtime/locales/angular/global/fr-bl.js +4 -4
- app-ng-runtime/locales/angular/global/fr-ca.js +4 -4
- app-ng-runtime/locales/angular/global/fr-cd.js +4 -4
- app-ng-runtime/locales/angular/global/fr-cf.js +4 -4
- app-ng-runtime/locales/angular/global/fr-cg.js +4 -4
- app-ng-runtime/locales/angular/global/fr-ch.js +4 -4
- app-ng-runtime/locales/angular/global/fr-ci.js +4 -4
- app-ng-runtime/locales/angular/global/fr-cm.js +4 -4
- app-ng-runtime/locales/angular/global/fr-dj.js +4 -4
- app-ng-runtime/locales/angular/global/fr-dz.js +4 -4
- app-ng-runtime/locales/angular/global/fr-ga.js +4 -4
- app-ng-runtime/locales/angular/global/fr-gf.js +4 -4
- app-ng-runtime/locales/angular/global/fr-gn.js +4 -4
- app-ng-runtime/locales/angular/global/fr-gp.js +4 -4
- app-ng-runtime/locales/angular/global/fr-gq.js +4 -4
- app-ng-runtime/locales/angular/global/fr-ht.js +4 -4
- app-ng-runtime/locales/angular/global/fr-km.js +4 -4
- app-ng-runtime/locales/angular/global/fr-lu.js +4 -4
- app-ng-runtime/locales/angular/global/fr-ma.js +4 -4
- app-ng-runtime/locales/angular/global/fr-mc.js +4 -4
- app-ng-runtime/locales/angular/global/fr-mf.js +4 -4
- app-ng-runtime/locales/angular/global/fr-mg.js +4 -4
- app-ng-runtime/locales/angular/global/fr-ml.js +4 -4
- app-ng-runtime/locales/angular/global/fr-mq.js +4 -4
- app-ng-runtime/locales/angular/global/fr-mr.js +4 -4
- app-ng-runtime/locales/angular/global/fr-mu.js +4 -4
- app-ng-runtime/locales/angular/global/fr-nc.js +4 -4
- app-ng-runtime/locales/angular/global/fr-ne.js +4 -4
- app-ng-runtime/locales/angular/global/fr-pf.js +4 -4
- app-ng-runtime/locales/angular/global/fr-pm.js +4 -4
- app-ng-runtime/locales/angular/global/fr-re.js +4 -4
- app-ng-runtime/locales/angular/global/fr-rw.js +4 -4
- app-ng-runtime/locales/angular/global/fr-sc.js +4 -4
- app-ng-runtime/locales/angular/global/fr-sn.js +4 -4
- app-ng-runtime/locales/angular/global/fr-sy.js +4 -4
- app-ng-runtime/locales/angular/global/fr-td.js +4 -4
- app-ng-runtime/locales/angular/global/fr-tg.js +4 -4
- app-ng-runtime/locales/angular/global/fr-tn.js +4 -4
- app-ng-runtime/locales/angular/global/fr-vu.js +4 -4
- app-ng-runtime/locales/angular/global/fr-wf.js +4 -4
- app-ng-runtime/locales/angular/global/fr-yt.js +4 -4
- app-ng-runtime/locales/angular/global/fr.js +4 -4
- app-ng-runtime/locales/angular/global/fur.js +4 -4
- app-ng-runtime/locales/angular/global/fy.js +4 -4
- app-ng-runtime/locales/angular/global/ga-gb.js +4 -4
- app-ng-runtime/locales/angular/global/ga.js +4 -4
- app-ng-runtime/locales/angular/global/gd.js +4 -4
- app-ng-runtime/locales/angular/global/gl.js +4 -4
- app-ng-runtime/locales/angular/global/gsw-fr.js +4 -4
- app-ng-runtime/locales/angular/global/gsw-li.js +4 -4
- app-ng-runtime/locales/angular/global/gsw.js +4 -4
- app-ng-runtime/locales/angular/global/gu.js +4 -4
- app-ng-runtime/locales/angular/global/guz.js +4 -4
- app-ng-runtime/locales/angular/global/gv.js +4 -4
- app-ng-runtime/locales/angular/global/ha-gh.js +4 -4
- app-ng-runtime/locales/angular/global/ha-ne.js +4 -4
- app-ng-runtime/locales/angular/global/ha.js +4 -4
- app-ng-runtime/locales/angular/global/haw.js +4 -4
- app-ng-runtime/locales/angular/global/he.js +4 -4
- app-ng-runtime/locales/angular/global/hi-latn.js +4 -4
- app-ng-runtime/locales/angular/global/hi.js +4 -4
- app-ng-runtime/locales/angular/global/hr-ba.js +4 -4
- app-ng-runtime/locales/angular/global/hr.js +4 -4
- app-ng-runtime/locales/angular/global/hsb.js +4 -4
- app-ng-runtime/locales/angular/global/hu.js +4 -4
- app-ng-runtime/locales/angular/global/hy.js +4 -4
- app-ng-runtime/locales/angular/global/ia.js +4 -4
- app-ng-runtime/locales/angular/global/id.js +4 -4
- app-ng-runtime/locales/angular/global/ig.js +4 -4
- app-ng-runtime/locales/angular/global/ii.js +4 -4
- app-ng-runtime/locales/angular/global/is.js +4 -4
- app-ng-runtime/locales/angular/global/it-ch.js +4 -4
- app-ng-runtime/locales/angular/global/it-sm.js +4 -4
- app-ng-runtime/locales/angular/global/it-va.js +4 -4
- app-ng-runtime/locales/angular/global/it.js +4 -4
- app-ng-runtime/locales/angular/global/ja.js +4 -4
- app-ng-runtime/locales/angular/global/jgo.js +4 -4
- app-ng-runtime/locales/angular/global/jmc.js +4 -4
- app-ng-runtime/locales/angular/global/jv.js +4 -4
- app-ng-runtime/locales/angular/global/ka.js +4 -4
- app-ng-runtime/locales/angular/global/kab.js +4 -4
- app-ng-runtime/locales/angular/global/kam.js +4 -4
- app-ng-runtime/locales/angular/global/kde.js +4 -4
- app-ng-runtime/locales/angular/global/kea.js +4 -4
- app-ng-runtime/locales/angular/global/kgp.js +4 -4
- app-ng-runtime/locales/angular/global/khq.js +4 -4
- app-ng-runtime/locales/angular/global/ki.js +4 -4
- app-ng-runtime/locales/angular/global/kk.js +4 -4
- app-ng-runtime/locales/angular/global/kkj.js +4 -4
- app-ng-runtime/locales/angular/global/kl.js +4 -4
- app-ng-runtime/locales/angular/global/kln.js +4 -4
- app-ng-runtime/locales/angular/global/km.js +4 -4
- app-ng-runtime/locales/angular/global/kn.js +4 -4
- app-ng-runtime/locales/angular/global/ko-kp.js +4 -4
- app-ng-runtime/locales/angular/global/ko.js +4 -4
- app-ng-runtime/locales/angular/global/kok.js +4 -4
- app-ng-runtime/locales/angular/global/ks-arab.js +4 -4
- app-ng-runtime/locales/angular/global/ks-deva.js +4 -4
- app-ng-runtime/locales/angular/global/ks.js +4 -4
- app-ng-runtime/locales/angular/global/ksb.js +4 -4
- app-ng-runtime/locales/angular/global/ksf.js +4 -4
- app-ng-runtime/locales/angular/global/ksh.js +4 -4
- app-ng-runtime/locales/angular/global/ku.js +4 -4
- app-ng-runtime/locales/angular/global/kw.js +4 -4
- app-ng-runtime/locales/angular/global/ky.js +4 -4
- app-ng-runtime/locales/angular/global/lag.js +4 -4
- app-ng-runtime/locales/angular/global/lb.js +4 -4
- app-ng-runtime/locales/angular/global/lg.js +4 -4
- app-ng-runtime/locales/angular/global/lkt.js +4 -4
- app-ng-runtime/locales/angular/global/ln-ao.js +4 -4
- app-ng-runtime/locales/angular/global/ln-cf.js +4 -4
- app-ng-runtime/locales/angular/global/ln-cg.js +4 -4
- app-ng-runtime/locales/angular/global/ln.js +4 -4
- app-ng-runtime/locales/angular/global/lo.js +4 -4
- app-ng-runtime/locales/angular/global/lrc-iq.js +4 -4
- app-ng-runtime/locales/angular/global/lrc.js +4 -4
- app-ng-runtime/locales/angular/global/lt.js +4 -4
- app-ng-runtime/locales/angular/global/lu.js +4 -4
- app-ng-runtime/locales/angular/global/luo.js +4 -4
- app-ng-runtime/locales/angular/global/luy.js +4 -4
- app-ng-runtime/locales/angular/global/lv.js +4 -4
- app-ng-runtime/locales/angular/global/mai.js +4 -4
- app-ng-runtime/locales/angular/global/mas-tz.js +4 -4
- app-ng-runtime/locales/angular/global/mas.js +4 -4
- app-ng-runtime/locales/angular/global/mer.js +4 -4
- app-ng-runtime/locales/angular/global/mfe.js +4 -4
- app-ng-runtime/locales/angular/global/mg.js +4 -4
- app-ng-runtime/locales/angular/global/mgh.js +4 -4
- app-ng-runtime/locales/angular/global/mgo.js +4 -4
- app-ng-runtime/locales/angular/global/mi.js +4 -4
- app-ng-runtime/locales/angular/global/mk.js +4 -4
- app-ng-runtime/locales/angular/global/ml.js +4 -4
- app-ng-runtime/locales/angular/global/mn.js +4 -4
- app-ng-runtime/locales/angular/global/mni-beng.js +4 -4
- app-ng-runtime/locales/angular/global/mni.js +4 -4
- app-ng-runtime/locales/angular/global/mr.js +4 -4
- app-ng-runtime/locales/angular/global/ms-bn.js +4 -4
- app-ng-runtime/locales/angular/global/ms-id.js +4 -4
- app-ng-runtime/locales/angular/global/ms-sg.js +4 -4
- app-ng-runtime/locales/angular/global/ms.js +4 -4
- app-ng-runtime/locales/angular/global/mt.js +4 -4
- app-ng-runtime/locales/angular/global/mua.js +4 -4
- app-ng-runtime/locales/angular/global/my.js +4 -4
- app-ng-runtime/locales/angular/global/mzn.js +4 -4
- app-ng-runtime/locales/angular/global/naq.js +4 -4
- app-ng-runtime/locales/angular/global/nb-sj.js +4 -4
- app-ng-runtime/locales/angular/global/nb.js +4 -4
- app-ng-runtime/locales/angular/global/nd.js +4 -4
- app-ng-runtime/locales/angular/global/nds-nl.js +4 -4
- app-ng-runtime/locales/angular/global/nds.js +4 -4
- app-ng-runtime/locales/angular/global/ne-in.js +4 -4
- app-ng-runtime/locales/angular/global/ne.js +4 -4
- app-ng-runtime/locales/angular/global/nl-aw.js +4 -4
- app-ng-runtime/locales/angular/global/nl-be.js +4 -4
- app-ng-runtime/locales/angular/global/nl-bq.js +4 -4
- app-ng-runtime/locales/angular/global/nl-cw.js +4 -4
- app-ng-runtime/locales/angular/global/nl-sr.js +4 -4
- app-ng-runtime/locales/angular/global/nl-sx.js +4 -4
- app-ng-runtime/locales/angular/global/nl.js +4 -4
- app-ng-runtime/locales/angular/global/nmg.js +4 -4
- app-ng-runtime/locales/angular/global/nn.js +4 -4
- app-ng-runtime/locales/angular/global/nnh.js +4 -4
- app-ng-runtime/locales/angular/global/no.js +4 -4
- app-ng-runtime/locales/angular/global/nus.js +4 -4
- app-ng-runtime/locales/angular/global/nyn.js +4 -4
- app-ng-runtime/locales/angular/global/om-ke.js +4 -4
- app-ng-runtime/locales/angular/global/om.js +4 -4
- app-ng-runtime/locales/angular/global/or.js +4 -4
- app-ng-runtime/locales/angular/global/os-ru.js +4 -4
- app-ng-runtime/locales/angular/global/os.js +4 -4
- app-ng-runtime/locales/angular/global/pa-arab.js +4 -4
- app-ng-runtime/locales/angular/global/pa-guru.js +4 -4
- app-ng-runtime/locales/angular/global/pa.js +4 -4
- app-ng-runtime/locales/angular/global/pcm.js +4 -4
- app-ng-runtime/locales/angular/global/pl.js +4 -4
- app-ng-runtime/locales/angular/global/ps-pk.js +4 -4
- app-ng-runtime/locales/angular/global/ps.js +4 -4
- app-ng-runtime/locales/angular/global/pt-ao.js +4 -4
- app-ng-runtime/locales/angular/global/pt-ch.js +4 -4
- app-ng-runtime/locales/angular/global/pt-cv.js +4 -4
- app-ng-runtime/locales/angular/global/pt-gq.js +4 -4
- app-ng-runtime/locales/angular/global/pt-gw.js +4 -4
- app-ng-runtime/locales/angular/global/pt-lu.js +4 -4
- app-ng-runtime/locales/angular/global/pt-mo.js +4 -4
- app-ng-runtime/locales/angular/global/pt-mz.js +4 -4
- app-ng-runtime/locales/angular/global/pt-pt.js +4 -4
- app-ng-runtime/locales/angular/global/pt-st.js +4 -4
- app-ng-runtime/locales/angular/global/pt-tl.js +4 -4
- app-ng-runtime/locales/angular/global/pt.js +4 -4
- app-ng-runtime/locales/angular/global/qu-bo.js +4 -4
- app-ng-runtime/locales/angular/global/qu-ec.js +4 -4
- app-ng-runtime/locales/angular/global/qu.js +4 -4
- app-ng-runtime/locales/angular/global/rm.js +4 -4
- app-ng-runtime/locales/angular/global/rn.js +4 -4
- app-ng-runtime/locales/angular/global/ro-md.js +4 -4
- app-ng-runtime/locales/angular/global/ro.js +4 -4
- app-ng-runtime/locales/angular/global/rof.js +4 -4
- app-ng-runtime/locales/angular/global/ru-by.js +4 -4
- app-ng-runtime/locales/angular/global/ru-kg.js +4 -4
- app-ng-runtime/locales/angular/global/ru-kz.js +4 -4
- app-ng-runtime/locales/angular/global/ru-md.js +4 -4
- app-ng-runtime/locales/angular/global/ru-ua.js +4 -4
- app-ng-runtime/locales/angular/global/ru.js +4 -4
- app-ng-runtime/locales/angular/global/rw.js +4 -4
- app-ng-runtime/locales/angular/global/rwk.js +4 -4
- app-ng-runtime/locales/angular/global/sa.js +4 -4
- app-ng-runtime/locales/angular/global/sah.js +4 -4
- app-ng-runtime/locales/angular/global/saq.js +4 -4
- app-ng-runtime/locales/angular/global/sat-olck.js +4 -4
- app-ng-runtime/locales/angular/global/sat.js +4 -4
- app-ng-runtime/locales/angular/global/sbp.js +4 -4
- app-ng-runtime/locales/angular/global/sc.js +4 -4
- app-ng-runtime/locales/angular/global/sd-arab.js +4 -4
- app-ng-runtime/locales/angular/global/sd-deva.js +4 -4
- app-ng-runtime/locales/angular/global/sd.js +4 -4
- app-ng-runtime/locales/angular/global/se-fi.js +4 -4
- app-ng-runtime/locales/angular/global/se-se.js +4 -4
- app-ng-runtime/locales/angular/global/se.js +4 -4
- app-ng-runtime/locales/angular/global/seh.js +4 -4
- app-ng-runtime/locales/angular/global/ses.js +4 -4
- app-ng-runtime/locales/angular/global/sg.js +4 -4
- app-ng-runtime/locales/angular/global/shi-latn.js +4 -4
- app-ng-runtime/locales/angular/global/shi-tfng.js +4 -4
- app-ng-runtime/locales/angular/global/shi.js +4 -4
- app-ng-runtime/locales/angular/global/si.js +4 -4
- app-ng-runtime/locales/angular/global/sk.js +4 -4
- app-ng-runtime/locales/angular/global/sl.js +4 -4
- app-ng-runtime/locales/angular/global/smn.js +4 -4
- app-ng-runtime/locales/angular/global/sn.js +4 -4
- app-ng-runtime/locales/angular/global/so-dj.js +4 -4
- app-ng-runtime/locales/angular/global/so-et.js +4 -4
- app-ng-runtime/locales/angular/global/so-ke.js +4 -4
- app-ng-runtime/locales/angular/global/so.js +4 -4
- app-ng-runtime/locales/angular/global/sq-mk.js +4 -4
- app-ng-runtime/locales/angular/global/sq-xk.js +4 -4
- app-ng-runtime/locales/angular/global/sq.js +4 -4
- app-ng-runtime/locales/angular/global/sr-cyrl-ba.js +4 -4
- app-ng-runtime/locales/angular/global/sr-cyrl-me.js +4 -4
- app-ng-runtime/locales/angular/global/sr-cyrl-xk.js +4 -4
- app-ng-runtime/locales/angular/global/sr-cyrl.js +4 -4
- app-ng-runtime/locales/angular/global/sr-latn-ba.js +4 -4
- app-ng-runtime/locales/angular/global/sr-latn-me.js +4 -4
- app-ng-runtime/locales/angular/global/sr-latn-xk.js +4 -4
- app-ng-runtime/locales/angular/global/sr-latn.js +4 -4
- app-ng-runtime/locales/angular/global/sr.js +4 -4
- app-ng-runtime/locales/angular/global/su-latn.js +4 -4
- app-ng-runtime/locales/angular/global/su.js +4 -4
- app-ng-runtime/locales/angular/global/sv-ax.js +4 -4
- app-ng-runtime/locales/angular/global/sv-fi.js +4 -4
- app-ng-runtime/locales/angular/global/sv.js +4 -4
- app-ng-runtime/locales/angular/global/sw-cd.js +4 -4
- app-ng-runtime/locales/angular/global/sw-ke.js +4 -4
- app-ng-runtime/locales/angular/global/sw-ug.js +4 -4
- app-ng-runtime/locales/angular/global/sw.js +4 -4
- app-ng-runtime/locales/angular/global/ta-lk.js +4 -4
- app-ng-runtime/locales/angular/global/ta-my.js +4 -4
- app-ng-runtime/locales/angular/global/ta-sg.js +4 -4
- app-ng-runtime/locales/angular/global/ta.js +4 -4
- app-ng-runtime/locales/angular/global/te.js +4 -4
- app-ng-runtime/locales/angular/global/teo-ke.js +4 -4
- app-ng-runtime/locales/angular/global/teo.js +4 -4
- app-ng-runtime/locales/angular/global/tg.js +4 -4
- app-ng-runtime/locales/angular/global/th.js +4 -4
- app-ng-runtime/locales/angular/global/ti-er.js +4 -4
- app-ng-runtime/locales/angular/global/ti.js +4 -4
- app-ng-runtime/locales/angular/global/tk.js +4 -4
- app-ng-runtime/locales/angular/global/to.js +4 -4
- app-ng-runtime/locales/angular/global/tr-cy.js +4 -4
- app-ng-runtime/locales/angular/global/tr.js +4 -4
- app-ng-runtime/locales/angular/global/tt.js +4 -4
- app-ng-runtime/locales/angular/global/twq.js +4 -4
- app-ng-runtime/locales/angular/global/tzm.js +4 -4
- app-ng-runtime/locales/angular/global/ug.js +4 -4
- app-ng-runtime/locales/angular/global/uk.js +4 -4
- app-ng-runtime/locales/angular/global/und.js +4 -4
- app-ng-runtime/locales/angular/global/ur-in.js +4 -4
- app-ng-runtime/locales/angular/global/ur.js +4 -4
- app-ng-runtime/locales/angular/global/uz-arab.js +4 -4
- app-ng-runtime/locales/angular/global/uz-cyrl.js +4 -4
- app-ng-runtime/locales/angular/global/uz-latn.js +4 -4
- app-ng-runtime/locales/angular/global/uz.js +4 -4
- app-ng-runtime/locales/angular/global/vai-latn.js +4 -4
- app-ng-runtime/locales/angular/global/vai-vaii.js +4 -4
- app-ng-runtime/locales/angular/global/vai.js +4 -4
- app-ng-runtime/locales/angular/global/vi.js +4 -4
- app-ng-runtime/locales/angular/global/vun.js +4 -4
- app-ng-runtime/locales/angular/global/wae.js +4 -4
- app-ng-runtime/locales/angular/global/wo.js +4 -4
- app-ng-runtime/locales/angular/global/xh.js +4 -4
- app-ng-runtime/locales/angular/global/xog.js +4 -4
- app-ng-runtime/locales/angular/global/yav.js +4 -4
- app-ng-runtime/locales/angular/global/yi.js +4 -4
- app-ng-runtime/locales/angular/global/yo-bj.js +4 -4
- app-ng-runtime/locales/angular/global/yo.js +4 -4
- app-ng-runtime/locales/angular/global/yrl-co.js +4 -4
- app-ng-runtime/locales/angular/global/yrl-ve.js +4 -4
- app-ng-runtime/locales/angular/global/yrl.js +4 -4
- app-ng-runtime/locales/angular/global/yue-hans.js +4 -4
- app-ng-runtime/locales/angular/global/yue-hant.js +4 -4
- app-ng-runtime/locales/angular/global/yue.js +4 -4
- app-ng-runtime/locales/angular/global/zgh.js +4 -4
- app-ng-runtime/locales/angular/global/zh-hans-hk.js +4 -4
- app-ng-runtime/locales/angular/global/zh-hans-mo.js +4 -4
- app-ng-runtime/locales/angular/global/zh-hans-sg.js +4 -4
- app-ng-runtime/locales/angular/global/zh-hans.js +4 -4
- app-ng-runtime/locales/angular/global/zh-hant-hk.js +4 -4
- app-ng-runtime/locales/angular/global/zh-hant-mo.js +4 -4
- app-ng-runtime/locales/angular/global/zh-hant.js +4 -4
- app-ng-runtime/locales/angular/global/zh.js +4 -4
- app-ng-runtime/locales/angular/global/zu.js +4 -4
- app-ng-runtime/mobile/components/basic/default/.npmignore +2 -0
- app-ng-runtime/mobile/components/basic/default/bundles/index.umd.js +148 -143
- app-ng-runtime/mobile/components/basic/default/esm2022/anchor/anchor.directive.mjs +8 -7
- app-ng-runtime/mobile/components/basic/default/esm2022/app-update/app-update.component.mjs +7 -6
- app-ng-runtime/mobile/components/basic/default/esm2022/basic.module.mjs +2 -2
- app-ng-runtime/mobile/components/basic/default/esm2022/file-browser/file-browser.component.mjs +47 -43
- app-ng-runtime/mobile/components/basic/default/esm2022/file-browser/file-selector.service.mjs +7 -5
- app-ng-runtime/mobile/components/basic/default/esm2022/image-cache/image-cache.directive.mjs +6 -5
- app-ng-runtime/mobile/components/basic/default/esm2022/network-info-toaster/network-info-toaster.component.mjs +49 -47
- app-ng-runtime/mobile/components/basic/default/esm2022/process-manager/process-management.service.mjs +2 -2
- app-ng-runtime/mobile/components/basic/default/esm2022/process-manager/process-manager.component.mjs +31 -32
- app-ng-runtime/mobile/components/basic/default/fesm2022/index.mjs +146 -140
- app-ng-runtime/mobile/components/basic/default/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/basic/default/network-info-toaster/network-info-toaster.component.d.ts +2 -2
- app-ng-runtime/mobile/components/basic/search/.npmignore +2 -0
- app-ng-runtime/mobile/components/basic/search/bundles/index.umd.js +3 -3
- app-ng-runtime/mobile/components/basic/search/esm2022/search.directive.mjs +3 -3
- app-ng-runtime/mobile/components/basic/search/esm2022/search.module.mjs +2 -2
- app-ng-runtime/mobile/components/basic/search/fesm2022/index.mjs +3 -3
- app-ng-runtime/mobile/components/basic/search/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/containers/segmented-control/.npmignore +2 -0
- app-ng-runtime/mobile/components/containers/segmented-control/bundles/index.umd.js +42 -30
- app-ng-runtime/mobile/components/containers/segmented-control/esm2022/segment-content/segment-content.component.mjs +14 -8
- app-ng-runtime/mobile/components/containers/segmented-control/esm2022/segmented-control.component.mjs +28 -21
- app-ng-runtime/mobile/components/containers/segmented-control/esm2022/segmented-control.module.mjs +2 -2
- app-ng-runtime/mobile/components/containers/segmented-control/fesm2022/index.mjs +41 -28
- app-ng-runtime/mobile/components/containers/segmented-control/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/containers/segmented-control/segment-content/segment-content.component.d.ts +2 -2
- app-ng-runtime/mobile/components/containers/segmented-control/segmented-control.component.d.ts +2 -2
- app-ng-runtime/mobile/components/data/media-list/.npmignore +2 -0
- app-ng-runtime/mobile/components/data/media-list/bundles/index.umd.js +53 -48
- app-ng-runtime/mobile/components/data/media-list/esm2022/media-list-item/media-list-item.directive.mjs +2 -2
- app-ng-runtime/mobile/components/data/media-list/esm2022/media-list.component.mjs +48 -42
- app-ng-runtime/mobile/components/data/media-list/esm2022/media-list.module.mjs +2 -2
- app-ng-runtime/mobile/components/data/media-list/fesm2022/index.mjs +50 -44
- app-ng-runtime/mobile/components/data/media-list/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/data/media-list/media-list.component.d.ts +2 -2
- app-ng-runtime/mobile/components/device/barcode-scanner/.npmignore +2 -0
- app-ng-runtime/mobile/components/device/barcode-scanner/barcode-scanner.component.d.ts +2 -2
- app-ng-runtime/mobile/components/device/barcode-scanner/bundles/index.umd.js +14 -8
- app-ng-runtime/mobile/components/device/barcode-scanner/esm2022/barcode-scanner.component.mjs +15 -9
- app-ng-runtime/mobile/components/device/barcode-scanner/esm2022/barcode-scanner.module.mjs +2 -2
- app-ng-runtime/mobile/components/device/barcode-scanner/fesm2022/index.mjs +16 -10
- app-ng-runtime/mobile/components/device/barcode-scanner/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/device/camera/.npmignore +2 -0
- app-ng-runtime/mobile/components/device/camera/bundles/index.umd.js +15 -9
- app-ng-runtime/mobile/components/device/camera/camera.component.d.ts +2 -2
- app-ng-runtime/mobile/components/device/camera/esm2022/camera.component.mjs +16 -10
- app-ng-runtime/mobile/components/device/camera/esm2022/camera.module.mjs +2 -2
- app-ng-runtime/mobile/components/device/camera/fesm2022/index.mjs +17 -11
- app-ng-runtime/mobile/components/device/camera/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/input/file-upload/.npmignore +2 -0
- app-ng-runtime/mobile/components/input/file-upload/bundles/index.umd.js +3 -3
- app-ng-runtime/mobile/components/input/file-upload/esm2022/file-upload.directive.mjs +3 -3
- app-ng-runtime/mobile/components/input/file-upload/esm2022/file-upload.module.mjs +2 -2
- app-ng-runtime/mobile/components/input/file-upload/fesm2022/index.mjs +3 -3
- app-ng-runtime/mobile/components/input/file-upload/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/page/default/.npmignore +2 -0
- app-ng-runtime/mobile/components/page/default/bundles/index.umd.js +11 -10
- app-ng-runtime/mobile/components/page/default/esm2022/page-content-loader/page-content-loader.component.mjs +4 -3
- app-ng-runtime/mobile/components/page/default/esm2022/page.directive.mjs +5 -4
- app-ng-runtime/mobile/components/page/default/esm2022/page.module.mjs +2 -2
- app-ng-runtime/mobile/components/page/default/fesm2022/index.mjs +8 -6
- app-ng-runtime/mobile/components/page/default/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/page/left-panel/.npmignore +2 -0
- app-ng-runtime/mobile/components/page/left-panel/bundles/index.umd.js +3 -3
- app-ng-runtime/mobile/components/page/left-panel/esm2022/left-panel.directive.mjs +3 -3
- app-ng-runtime/mobile/components/page/left-panel/esm2022/left-panel.module.mjs +2 -2
- app-ng-runtime/mobile/components/page/left-panel/fesm2022/index.mjs +3 -3
- app-ng-runtime/mobile/components/page/left-panel/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/page/mobile-navbar/.npmignore +2 -0
- app-ng-runtime/mobile/components/page/mobile-navbar/bundles/index.umd.js +40 -35
- app-ng-runtime/mobile/components/page/mobile-navbar/esm2022/mobile-navbar.component.mjs +41 -36
- app-ng-runtime/mobile/components/page/mobile-navbar/esm2022/mobile-navbar.module.mjs +2 -2
- app-ng-runtime/mobile/components/page/mobile-navbar/fesm2022/index.mjs +41 -36
- app-ng-runtime/mobile/components/page/mobile-navbar/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/page/mobile-navbar/mobile-navbar.component.d.ts +2 -2
- app-ng-runtime/mobile/components/page/tab-bar/.npmignore +2 -0
- app-ng-runtime/mobile/components/page/tab-bar/bundles/index.umd.js +52 -46
- app-ng-runtime/mobile/components/page/tab-bar/esm2022/tab-bar.module.mjs +2 -2
- app-ng-runtime/mobile/components/page/tab-bar/esm2022/tabbar.component.mjs +50 -43
- app-ng-runtime/mobile/components/page/tab-bar/fesm2022/index.mjs +51 -44
- app-ng-runtime/mobile/components/page/tab-bar/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/page/tab-bar/tabbar.component.d.ts +2 -2
- app-ng-runtime/mobile/core/.npmignore +2 -0
- app-ng-runtime/mobile/core/bundles/index.umd.js +61 -45
- app-ng-runtime/mobile/core/esm2022/core.module.mjs +3 -3
- app-ng-runtime/mobile/core/esm2022/native.xhr.mjs +19 -3
- app-ng-runtime/mobile/core/esm2022/services/device-file-cache.service.mjs +3 -3
- app-ng-runtime/mobile/core/esm2022/services/device-file-download.service.mjs +7 -6
- app-ng-runtime/mobile/core/esm2022/services/device-file-opener.service.mjs +5 -4
- app-ng-runtime/mobile/core/esm2022/services/device-file-upload.service.mjs +6 -5
- app-ng-runtime/mobile/core/esm2022/services/device-file.service.mjs +8 -7
- app-ng-runtime/mobile/core/esm2022/services/device.service.mjs +5 -4
- app-ng-runtime/mobile/core/esm2022/services/ext-app-message.service.mjs +7 -6
- app-ng-runtime/mobile/core/esm2022/services/network.service.mjs +11 -10
- app-ng-runtime/mobile/core/fesm2022/index.mjs +58 -41
- app-ng-runtime/mobile/core/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/core/services/ext-app-message.service.d.ts +1 -1
- app-ng-runtime/mobile/core/services/network.service.d.ts +7 -1
- app-ng-runtime/mobile/offline/.npmignore +2 -0
- app-ng-runtime/mobile/offline/bundles/index.umd.js +176 -159
- app-ng-runtime/mobile/offline/esm2022/models/local-db-store.mjs +23 -21
- app-ng-runtime/mobile/offline/esm2022/offline.module.mjs +3 -3
- app-ng-runtime/mobile/offline/esm2022/services/change-log.service.mjs +9 -8
- app-ng-runtime/mobile/offline/esm2022/services/local-db-data-pull.service.mjs +39 -37
- app-ng-runtime/mobile/offline/esm2022/services/local-db-management.service.mjs +56 -47
- app-ng-runtime/mobile/offline/esm2022/services/local-db.service.mjs +7 -6
- app-ng-runtime/mobile/offline/esm2022/services/local-key-value.service.mjs +2 -2
- app-ng-runtime/mobile/offline/esm2022/services/push.service.mjs +3 -3
- app-ng-runtime/mobile/offline/esm2022/services/workers/error-blocker.mjs +4 -3
- app-ng-runtime/mobile/offline/esm2022/services/workers/file-handler.mjs +18 -13
- app-ng-runtime/mobile/offline/esm2022/services/workers/id-resolver.mjs +3 -3
- app-ng-runtime/mobile/offline/esm2022/services/workers/multi-part-param-transformer.mjs +9 -5
- app-ng-runtime/mobile/offline/esm2022/utils/file-upload.utils.mjs +1 -1
- app-ng-runtime/mobile/offline/esm2022/utils/live-variable.utils.mjs +12 -11
- app-ng-runtime/mobile/offline/esm2022/utils/query-executor.utils.mjs +5 -4
- app-ng-runtime/mobile/offline/esm2022/utils/security.utils.mjs +3 -2
- app-ng-runtime/mobile/offline/esm2022/utils/utils.mjs +1 -1
- app-ng-runtime/mobile/offline/fesm2022/index.mjs +171 -153
- app-ng-runtime/mobile/offline/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/placeholder/runtime/.npmignore +2 -0
- app-ng-runtime/mobile/placeholder/runtime/bundles/index.umd.js +3 -2
- app-ng-runtime/mobile/placeholder/runtime/esm2022/components/app-ext.component.mjs +3 -2
- app-ng-runtime/mobile/placeholder/runtime/esm2022/mobile-runtime.module.mjs +2 -2
- app-ng-runtime/mobile/placeholder/runtime/fesm2022/index.mjs +3 -2
- app-ng-runtime/mobile/placeholder/runtime/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/placeholder/runtime-dynamic/.npmignore +2 -0
- app-ng-runtime/mobile/placeholder/runtime-dynamic/bundles/index.umd.js +1 -1
- app-ng-runtime/mobile/placeholder/runtime-dynamic/esm2022/mobile-runtime-dynamic.module.mjs +2 -2
- app-ng-runtime/mobile/placeholder/runtime-dynamic/fesm2022/index.mjs +1 -1
- app-ng-runtime/mobile/placeholder/runtime-dynamic/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/runtime/.npmignore +2 -0
- app-ng-runtime/mobile/runtime/bundles/index.umd.js +21 -17
- app-ng-runtime/mobile/runtime/esm2022/components/app-ext.component.mjs +4 -3
- app-ng-runtime/mobile/runtime/esm2022/mobile-runtime.module.mjs +5 -4
- app-ng-runtime/mobile/runtime/esm2022/services/cookie.service.mjs +7 -3
- app-ng-runtime/mobile/runtime/esm2022/services/http-interceptor.service.mjs +6 -5
- app-ng-runtime/mobile/runtime/esm2022/services/webprocess.service.mjs +3 -3
- app-ng-runtime/mobile/runtime/fesm2022/index.mjs +18 -13
- app-ng-runtime/mobile/runtime/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/runtime-dynamic/.npmignore +2 -0
- app-ng-runtime/mobile/runtime-dynamic/bundles/index.umd.js +5 -5
- app-ng-runtime/mobile/runtime-dynamic/esm2022/mobile-runtime-dynamic.module.mjs +2 -2
- app-ng-runtime/mobile/runtime-dynamic/esm2022/services/live-sync.service.mjs +5 -5
- app-ng-runtime/mobile/runtime-dynamic/fesm2022/index.mjs +5 -5
- app-ng-runtime/mobile/runtime-dynamic/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/variables/.npmignore +2 -0
- app-ng-runtime/mobile/variables/bundles/index.umd.js +28 -21
- app-ng-runtime/mobile/variables/esm2022/services/camera-service.mjs +5 -5
- app-ng-runtime/mobile/variables/esm2022/services/contacts-service.mjs +1 -1
- app-ng-runtime/mobile/variables/esm2022/services/datasync-service.mjs +10 -9
- app-ng-runtime/mobile/variables/esm2022/services/device-service/device-service.mjs +1 -1
- app-ng-runtime/mobile/variables/esm2022/services/device-service/location-service.mjs +1 -1
- app-ng-runtime/mobile/variables/esm2022/services/file-service.mjs +11 -3
- app-ng-runtime/mobile/variables/esm2022/services/scan-service.mjs +1 -1
- app-ng-runtime/mobile/variables/esm2022/variables.module.mjs +3 -3
- app-ng-runtime/mobile/variables/fesm2022/index.mjs +24 -16
- app-ng-runtime/mobile/variables/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/oAuth/.npmignore +2 -0
- app-ng-runtime/oAuth/bundles/index.umd.js +15 -15
- app-ng-runtime/oAuth/esm2022/oAuth.module.mjs +2 -2
- app-ng-runtime/oAuth/esm2022/oAuth.service.mjs +6 -5
- app-ng-runtime/oAuth/esm2022/oAuth.utils.mjs +8 -7
- app-ng-runtime/oAuth/fesm2022/index.mjs +12 -11
- app-ng-runtime/oAuth/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/package.json +1 -1
- app-ng-runtime/runtime/base/.npmignore +2 -0
- app-ng-runtime/runtime/base/bundles/index.umd.js +259 -243
- app-ng-runtime/runtime/base/components/app-component/app.component.d.ts +3 -1
- app-ng-runtime/runtime/base/directives/accessroles.directive.d.ts +4 -3
- app-ng-runtime/runtime/base/esm2022/components/app-component/app.component.mjs +34 -30
- app-ng-runtime/runtime/base/esm2022/components/app-spinner.component.mjs +9 -8
- app-ng-runtime/runtime/base/esm2022/components/base-layout.component.mjs +5 -4
- app-ng-runtime/runtime/base/esm2022/components/base-page.component.mjs +16 -15
- app-ng-runtime/runtime/base/esm2022/components/base-partial.component.mjs +15 -14
- app-ng-runtime/runtime/base/esm2022/components/base-prefab.component.mjs +17 -16
- app-ng-runtime/runtime/base/esm2022/components/base-spa-page.component.mjs +16 -15
- app-ng-runtime/runtime/base/esm2022/components/custom-toaster.component.mjs +17 -15
- app-ng-runtime/runtime/base/esm2022/components/empty-component/empty-page.component.mjs +4 -3
- app-ng-runtime/runtime/base/esm2022/components/prefab-preview.component.mjs +4 -3
- app-ng-runtime/runtime/base/esm2022/directives/accessroles.directive.mjs +24 -16
- app-ng-runtime/runtime/base/esm2022/directives/prefab.directive.mjs +4 -4
- app-ng-runtime/runtime/base/esm2022/guards/auth.guard.mjs +3 -3
- app-ng-runtime/runtime/base/esm2022/guards/can-deactivate-page.guard.mjs +3 -3
- app-ng-runtime/runtime/base/esm2022/guards/page-not-found.guard.mjs +3 -3
- app-ng-runtime/runtime/base/esm2022/guards/role.guard.mjs +5 -4
- app-ng-runtime/runtime/base/esm2022/overrides/wm_dom_renderer.mjs +4 -4
- app-ng-runtime/runtime/base/esm2022/overrides/wm_shared_styles_host.mjs +5 -5
- app-ng-runtime/runtime/base/esm2022/resolves/app-extension.resolve.mjs +3 -3
- app-ng-runtime/runtime/base/esm2022/resolves/app-js.resolve.mjs +3 -3
- app-ng-runtime/runtime/base/esm2022/resolves/app-variables.resolve.mjs +3 -3
- app-ng-runtime/runtime/base/esm2022/resolves/i18n.resolve.mjs +3 -3
- app-ng-runtime/runtime/base/esm2022/resolves/metadata.resolve.mjs +3 -3
- app-ng-runtime/runtime/base/esm2022/resolves/security-config.resolve.mjs +3 -3
- app-ng-runtime/runtime/base/esm2022/runtime-base.module.mjs +3 -3
- app-ng-runtime/runtime/base/esm2022/services/app-defaults.service.mjs +3 -3
- app-ng-runtime/runtime/base/esm2022/services/app.manager.service.mjs +19 -16
- app-ng-runtime/runtime/base/esm2022/services/app.service.mjs +9 -8
- app-ng-runtime/runtime/base/esm2022/services/dynamic-component-ref-provider.service.mjs +5 -4
- app-ng-runtime/runtime/base/esm2022/services/http-interceptor.services.mjs +6 -5
- app-ng-runtime/runtime/base/esm2022/services/i18n.service.mjs +15 -13
- app-ng-runtime/runtime/base/esm2022/services/navigation.service.mjs +10 -9
- app-ng-runtime/runtime/base/esm2022/services/pipe-provider.service.mjs +3 -3
- app-ng-runtime/runtime/base/esm2022/services/pipe.service.mjs +3 -3
- app-ng-runtime/runtime/base/esm2022/services/prefab-manager.service.mjs +5 -4
- app-ng-runtime/runtime/base/esm2022/services/spinner.service.mjs +9 -8
- app-ng-runtime/runtime/base/esm2022/services/toaster.service.mjs +8 -7
- app-ng-runtime/runtime/base/esm2022/util/fragment-monitor.mjs +3 -3
- app-ng-runtime/runtime/base/esm2022/util/wm-route-reuse-strategy.mjs +7 -8
- app-ng-runtime/runtime/base/fesm2022/index.mjs +269 -252
- app-ng-runtime/runtime/base/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/runtime/base/overrides/wm_dom_renderer.d.ts +2 -2
- app-ng-runtime/runtime/base/services/i18n.service.d.ts +1 -1
- app-ng-runtime/runtime/dynamic/.npmignore +2 -0
- app-ng-runtime/runtime/dynamic/bundles/index.umd.js +22 -21
- app-ng-runtime/runtime/dynamic/esm2022/app/app.module.mjs +1 -1
- app-ng-runtime/runtime/dynamic/esm2022/app/components/page-wrapper.component.mjs +4 -3
- app-ng-runtime/runtime/dynamic/esm2022/app/services/app-extension.service.mjs +3 -3
- app-ng-runtime/runtime/dynamic/esm2022/app/services/app-js-provider.service.mjs +3 -3
- app-ng-runtime/runtime/dynamic/esm2022/app/services/app-resource-manager.service.mjs +3 -3
- app-ng-runtime/runtime/dynamic/esm2022/app/services/app-variables-provider.service.mjs +3 -3
- app-ng-runtime/runtime/dynamic/esm2022/app/services/component-ref-provider.service.mjs +6 -5
- app-ng-runtime/runtime/dynamic/esm2022/app/services/prefab-config-provider.service.mjs +3 -3
- app-ng-runtime/runtime/dynamic/esm2022/main.mjs +3 -2
- app-ng-runtime/runtime/dynamic/fesm2022/index.mjs +21 -19
- app-ng-runtime/runtime/dynamic/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/scripts/datatable/datatable.js +8 -4
- app-ng-runtime/scripts/jquery-ui/ui/widgets/droppable.js +7 -7
- app-ng-runtime/scripts/jquery-ui/ui/widgets/resizable.js +13 -10
- app-ng-runtime/scripts/jquery-ui/ui/widgets/sortable.js +7 -7
- app-ng-runtime/scripts/summernote/dist/summernote-lite.min.js +2 -3
- app-ng-runtime/security/.npmignore +2 -0
- app-ng-runtime/security/bundles/index.umd.js +17 -17
- app-ng-runtime/security/esm2022/security.module.mjs +2 -2
- app-ng-runtime/security/esm2022/security.service.mjs +14 -13
- app-ng-runtime/security/fesm2022/index.mjs +14 -13
- app-ng-runtime/security/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/security/security.service.d.ts +1 -1
- app-ng-runtime/swipey/.npmignore +2 -0
- app-ng-runtime/swipey/esm2022/swipe.animation.mjs +1 -1
- app-ng-runtime/swipey/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/transpiler/.npmignore +2 -0
- app-ng-runtime/transpiler/bundles/index.umd.js +10 -9
- app-ng-runtime/transpiler/esm2022/build.mjs +8 -6
- app-ng-runtime/transpiler/fesm2022/index.mjs +7 -5
- app-ng-runtime/transpiler/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/variables/.npmignore +2 -0
- app-ng-runtime/variables/bundles/index.umd.js +160 -150
- app-ng-runtime/variables/esm2022/factory/variable.factory.mjs +1 -1
- app-ng-runtime/variables/esm2022/manager/action/login-action.manager.mjs +15 -14
- app-ng-runtime/variables/esm2022/manager/action/logout-action.manager.mjs +1 -1
- app-ng-runtime/variables/esm2022/manager/action/notification-action.manager.mjs +9 -8
- app-ng-runtime/variables/esm2022/manager/variable/base-variable.manager.mjs +3 -2
- app-ng-runtime/variables/esm2022/manager/variable/device-variable-manager.mjs +1 -1
- app-ng-runtime/variables/esm2022/manager/variable/device-variable-service.mjs +1 -1
- app-ng-runtime/variables/esm2022/manager/variable/web-socket-variable.manager.mjs +11 -10
- app-ng-runtime/variables/esm2022/model/action/notification-action.mjs +1 -1
- app-ng-runtime/variables/esm2022/service/metadata-service/metadata.service.mjs +3 -3
- app-ng-runtime/variables/esm2022/service/variables.service.mjs +9 -8
- app-ng-runtime/variables/esm2022/util/action/navigation-action.utils.mjs +4 -4
- app-ng-runtime/variables/esm2022/util/variable/pagination.utils.mjs +30 -23
- app-ng-runtime/variables/esm2022/util/variable/service-variable.utils.mjs +29 -28
- app-ng-runtime/variables/esm2022/util/variable/variables.utils.mjs +75 -70
- app-ng-runtime/variables/esm2022/variables.module.mjs +2 -2
- app-ng-runtime/variables/fesm2022/index.mjs +174 -163
- app-ng-runtime/variables/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/variables/util/variable/service-variable.utils.d.ts +1 -1
|
@@ -1,16 +1,18 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Component, HostBinding, Directive, HostListener, Injectable,
|
|
2
|
+
import { Component, Inject, Optional, HostBinding, Directive, HostListener, Injectable, ElementRef, Attribute, ViewChild, ContentChildren, Injector, NgModule } from '@angular/core';
|
|
3
3
|
import * as i1 from '@angular/common';
|
|
4
|
-
import {
|
|
4
|
+
import { NumberSymbol, getLocaleNumberSymbol, CommonModule } from '@angular/common';
|
|
5
5
|
import * as i2$1 from '@angular/forms';
|
|
6
6
|
import { FormControlName, NgModel, NG_VALUE_ACCESSOR, NG_VALIDATORS, FormsModule } from '@angular/forms';
|
|
7
7
|
import * as i3 from 'angular-imask';
|
|
8
8
|
import { IMaskDirective, IMaskModule } from 'angular-imask';
|
|
9
9
|
import * as i2 from '@wm/components/base';
|
|
10
|
-
import {
|
|
10
|
+
import { PROP_STRING, PROP_ANY, PROP_BOOLEAN, PROP_NUMBER, register, DISPLAY_TYPE, StylableComponent, styler, provideAsWidgetRef, APPLY_STYLES_TYPE, WidgetConfig, registerFormWidget, provideAs, extractDataAsArray, ToDatePipe, ALLFIELDS, convertDataToObject, getOrderedDataset, transformDataWithKeys, transformFormData, getUniqObjsByDataField, groupData, handleHeaderClick, toggleAllHeaders, WidgetRef, INPUTMODE, TrailingZeroDecimalPipe, WmComponentsModule } from '@wm/components/base';
|
|
11
11
|
import * as i1$1 from '@wm/core';
|
|
12
|
-
import { DataSource, FormWidgetType, isDefined, toggleClass, AppDefaults,
|
|
12
|
+
import { DataSource, FormWidgetType, isDefined, toggleClass, AppDefaults, $appDigest, debounce as debounce$1, noop, isEqualWithFields, toBoolean, setListClass, switchClass, addForIdAttributes, addClass, AbstractI18nService, setAttr, removeAttr, setCSS } from '@wm/core';
|
|
13
|
+
import { has, set, isArray, debounce, toString, find, isNull, isObject, isEqual, isEmpty, forEach, includes, isString, get, isUndefined, round, toArray, intersection, findIndex } from 'lodash-es';
|
|
13
14
|
import { Subject } from 'rxjs';
|
|
15
|
+
import { __param, __metadata, __decorate } from 'tslib';
|
|
14
16
|
|
|
15
17
|
const registerProps$e = () => {
|
|
16
18
|
register('wm-button', new Map([
|
|
@@ -37,39 +39,39 @@ const registerProps$e = () => {
|
|
|
37
39
|
};
|
|
38
40
|
|
|
39
41
|
const _c0$c = ["wmButton", ""];
|
|
40
|
-
const _c1$b =
|
|
42
|
+
const _c1$b = [[["", 8, "caret"]]];
|
|
43
|
+
const _c2$8 = [".caret"];
|
|
44
|
+
const _c3$3 = (a0, a1, a2) => ({ width: a0, height: a1, margin: a2 });
|
|
45
|
+
const _c4$2 = (a0, a1, a2, a3) => ({ width: a0, height: a1, margin: a2, fontSize: a3 });
|
|
41
46
|
function ButtonComponent_img_0_Template(rf, ctx) { if (rf & 1) {
|
|
42
47
|
i0.ɵɵelement(0, "img", 5);
|
|
43
48
|
i0.ɵɵpipe(1, "image");
|
|
44
49
|
} if (rf & 2) {
|
|
45
50
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
46
|
-
i0.ɵɵproperty("src", i0.ɵɵpipeBind1(1, 2, ctx_r0.iconurl), i0.ɵɵsanitizeUrl)("ngStyle", i0.ɵɵpureFunction3(4,
|
|
51
|
+
i0.ɵɵproperty("src", i0.ɵɵpipeBind1(1, 2, ctx_r0.iconurl), i0.ɵɵsanitizeUrl)("ngStyle", i0.ɵɵpureFunction3(4, _c3$3, ctx_r0.iconwidth, ctx_r0.iconheight, ctx_r0.iconmargin));
|
|
47
52
|
} }
|
|
48
|
-
const _c2$5 = function (a0, a1, a2, a3) { return { width: a0, height: a1, margin: a2, fontSize: a3 }; };
|
|
49
53
|
function ButtonComponent_i_1_Template(rf, ctx) { if (rf & 1) {
|
|
50
54
|
i0.ɵɵelement(0, "i", 6);
|
|
51
55
|
} if (rf & 2) {
|
|
52
|
-
const
|
|
53
|
-
i0.ɵɵclassMapInterpolate1("app-icon ",
|
|
54
|
-
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction4(4,
|
|
56
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
57
|
+
i0.ɵɵclassMapInterpolate1("app-icon ", ctx_r0.iconclass, "");
|
|
58
|
+
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction4(4, _c4$2, ctx_r0.iconwidth, ctx_r0.iconheight, ctx_r0.iconmargin, ctx_r0.iconwidth));
|
|
55
59
|
} }
|
|
56
60
|
function ButtonComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
57
61
|
i0.ɵɵelementStart(0, "span", 7);
|
|
58
62
|
i0.ɵɵtext(1);
|
|
59
63
|
i0.ɵɵelementEnd();
|
|
60
64
|
} if (rf & 2) {
|
|
61
|
-
const
|
|
62
|
-
i0.ɵɵadvance(
|
|
63
|
-
i0.ɵɵtextInterpolate2("",
|
|
65
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
66
|
+
i0.ɵɵadvance();
|
|
67
|
+
i0.ɵɵtextInterpolate2("", ctx_r0.caption, " ", ctx_r0.appLocale.LABEL_ICON, "");
|
|
64
68
|
} }
|
|
65
69
|
function ButtonComponent_span_5_Template(rf, ctx) { if (rf & 1) {
|
|
66
70
|
i0.ɵɵelement(0, "span", 8);
|
|
67
71
|
} if (rf & 2) {
|
|
68
|
-
const
|
|
69
|
-
i0.ɵɵproperty("textContent",
|
|
72
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
73
|
+
i0.ɵɵproperty("textContent", ctx_r0.badgevalue);
|
|
70
74
|
} }
|
|
71
|
-
const _c3$2 = [[["", 8, "caret"]]];
|
|
72
|
-
const _c4$2 = [".caret"];
|
|
73
75
|
const DEFAULT_CLS$6 = 'btn app-button';
|
|
74
76
|
const WIDGET_CONFIG$e = {
|
|
75
77
|
widgetType: 'wm-button',
|
|
@@ -78,42 +80,45 @@ const WIDGET_CONFIG$e = {
|
|
|
78
80
|
};
|
|
79
81
|
class ButtonComponent extends StylableComponent {
|
|
80
82
|
static { this.initializeProps = registerProps$e(); }
|
|
81
|
-
constructor(inj) {
|
|
82
|
-
super(inj, WIDGET_CONFIG$e);
|
|
83
|
+
constructor(inj, explicitContext) {
|
|
84
|
+
super(inj, WIDGET_CONFIG$e, explicitContext);
|
|
83
85
|
styler(this.nativeElement, this);
|
|
84
86
|
}
|
|
85
|
-
static { this.ɵfac = function ButtonComponent_Factory(t) { return new (t || ButtonComponent)(i0.ɵɵdirectiveInject(i0.Injector)); }; }
|
|
87
|
+
static { this.ɵfac = function ButtonComponent_Factory(t) { return new (t || ButtonComponent)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject('EXPLICIT_CONTEXT', 8)); }; }
|
|
86
88
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ButtonComponent, selectors: [["button", "wmButton", ""]], hostVars: 5, hostBindings: function ButtonComponent_HostBindings(rf, ctx) { if (rf & 2) {
|
|
87
89
|
i0.ɵɵhostProperty("type", ctx.type)("tabIndex", ctx.tabindex)("disabled", ctx.disabled);
|
|
88
90
|
i0.ɵɵattribute("accesskey", ctx.shortcutkey)("icon-position", ctx.iconposition);
|
|
89
91
|
} }, exportAs: ["wmButton"], features: [i0.ɵɵProvidersFeature([
|
|
90
92
|
provideAsWidgetRef(ButtonComponent)
|
|
91
|
-
]), i0.ɵɵInheritDefinitionFeature], attrs: _c0$c, ngContentSelectors:
|
|
92
|
-
i0.ɵɵprojectionDef(
|
|
93
|
-
i0.ɵɵtemplate(0, ButtonComponent_img_0_Template, 2, 8, "img", 0);
|
|
94
|
-
i0.ɵɵtemplate(1, ButtonComponent_i_1_Template, 1, 9, "i", 1);
|
|
95
|
-
i0.ɵɵtemplate(2, ButtonComponent_span_2_Template, 2, 2, "span", 2);
|
|
93
|
+
]), i0.ɵɵInheritDefinitionFeature], attrs: _c0$c, ngContentSelectors: _c2$8, decls: 6, vars: 5, consts: [["data-identifier", "img", "alt", "button image", "class", "button-image-icon", 3, "src", "ngStyle", 4, "ngIf"], ["aria-hidden", "true", 3, "class", "ngStyle", 4, "ngIf"], ["class", "sr-only", 4, "ngIf"], [1, "btn-caption", 3, "innerHTML"], ["class", "badge pull-right", 3, "textContent", 4, "ngIf"], ["data-identifier", "img", "alt", "button image", 1, "button-image-icon", 3, "src", "ngStyle"], ["aria-hidden", "true", 3, "ngStyle"], [1, "sr-only"], [1, "badge", "pull-right", 3, "textContent"]], template: function ButtonComponent_Template(rf, ctx) { if (rf & 1) {
|
|
94
|
+
i0.ɵɵprojectionDef(_c1$b);
|
|
95
|
+
i0.ɵɵtemplate(0, ButtonComponent_img_0_Template, 2, 8, "img", 0)(1, ButtonComponent_i_1_Template, 1, 9, "i", 1)(2, ButtonComponent_span_2_Template, 2, 2, "span", 2);
|
|
96
96
|
i0.ɵɵelement(3, "span", 3);
|
|
97
97
|
i0.ɵɵprojection(4);
|
|
98
98
|
i0.ɵɵtemplate(5, ButtonComponent_span_5_Template, 1, 1, "span", 4);
|
|
99
99
|
} if (rf & 2) {
|
|
100
100
|
i0.ɵɵproperty("ngIf", ctx.iconurl);
|
|
101
|
-
i0.ɵɵadvance(
|
|
101
|
+
i0.ɵɵadvance();
|
|
102
102
|
i0.ɵɵproperty("ngIf", ctx.iconclass);
|
|
103
|
-
i0.ɵɵadvance(
|
|
103
|
+
i0.ɵɵadvance();
|
|
104
104
|
i0.ɵɵproperty("ngIf", ctx.iconclass);
|
|
105
|
-
i0.ɵɵadvance(
|
|
105
|
+
i0.ɵɵadvance();
|
|
106
106
|
i0.ɵɵproperty("innerHTML", ctx.caption, i0.ɵɵsanitizeHtml);
|
|
107
107
|
i0.ɵɵadvance(2);
|
|
108
108
|
i0.ɵɵproperty("ngIf", ctx.badgevalue);
|
|
109
109
|
} }, dependencies: [i1.NgIf, i1.NgStyle, i2.TextContentDirective, i2.ImagePipe], encapsulation: 2 }); }
|
|
110
110
|
}
|
|
111
|
-
(
|
|
111
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ButtonComponent, [{
|
|
112
112
|
type: Component,
|
|
113
113
|
args: [{ selector: 'button[wmButton]', providers: [
|
|
114
114
|
provideAsWidgetRef(ButtonComponent)
|
|
115
115
|
], exportAs: 'wmButton', template: "<img data-identifier=\"img\" alt=\"button image\" class=\"button-image-icon\" [src]=\"iconurl | image\" *ngIf=\"iconurl\" [ngStyle]=\"{width:iconwidth, height:iconheight, margin:iconmargin}\"/>\n<i class=\"app-icon {{iconclass}}\" aria-hidden=\"true\" [ngStyle]=\"{width:iconwidth, height:iconheight, margin:iconmargin, fontSize:iconwidth}\" *ngIf=\"iconclass\"></i>\n<span class=\"sr-only\" *ngIf=\"iconclass\">{{caption}} {{appLocale.LABEL_ICON}}</span>\n<span class=\"btn-caption\" [innerHTML]=\"caption\"></span>\n<ng-content select=\".caret\"></ng-content>\n<span *ngIf=\"badgevalue\" class=\"badge pull-right\" [textContent]=\"badgevalue\"></span>\n" }]
|
|
116
|
-
}],
|
|
116
|
+
}], () => [{ type: i0.Injector }, { type: undefined, decorators: [{
|
|
117
|
+
type: Inject,
|
|
118
|
+
args: ['EXPLICIT_CONTEXT']
|
|
119
|
+
}, {
|
|
120
|
+
type: Optional
|
|
121
|
+
}] }], { type: [{
|
|
117
122
|
type: HostBinding,
|
|
118
123
|
args: ['type']
|
|
119
124
|
}], tabindex: [{
|
|
@@ -129,6 +134,7 @@ class ButtonComponent extends StylableComponent {
|
|
|
129
134
|
type: HostBinding,
|
|
130
135
|
args: ['attr.icon-position']
|
|
131
136
|
}] }); })();
|
|
137
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ButtonComponent, { className: "ButtonComponent", filePath: "button/button.component.ts", lineNumber: 22 }); })();
|
|
132
138
|
|
|
133
139
|
const registerProps$d = () => {
|
|
134
140
|
register('wm-buttongroup', new Map([
|
|
@@ -151,11 +157,11 @@ class ButtonGroupDirective extends StylableComponent {
|
|
|
151
157
|
this.$element.find('.app-button').removeClass('selected');
|
|
152
158
|
$target.addClass('selected');
|
|
153
159
|
}
|
|
154
|
-
constructor(inj) {
|
|
155
|
-
super(inj, WIDGET_CONFIG$d);
|
|
160
|
+
constructor(inj, explicitContext) {
|
|
161
|
+
super(inj, WIDGET_CONFIG$d, explicitContext);
|
|
156
162
|
styler(this.nativeElement, this, APPLY_STYLES_TYPE.CONTAINER);
|
|
157
163
|
}
|
|
158
|
-
static { this.ɵfac = function ButtonGroupDirective_Factory(t) { return new (t || ButtonGroupDirective)(i0.ɵɵdirectiveInject(i0.Injector)); }; }
|
|
164
|
+
static { this.ɵfac = function ButtonGroupDirective_Factory(t) { return new (t || ButtonGroupDirective)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject('EXPLICIT_CONTEXT', 8)); }; }
|
|
159
165
|
static { this.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: ButtonGroupDirective, selectors: [["", "wmButtonGroup", ""]], hostVars: 2, hostBindings: function ButtonGroupDirective_HostBindings(rf, ctx) { if (rf & 1) {
|
|
160
166
|
i0.ɵɵlistener("click", function ButtonGroupDirective_click_HostBindingHandler($event) { return ctx.handleClick($event); });
|
|
161
167
|
} if (rf & 2) {
|
|
@@ -164,7 +170,7 @@ class ButtonGroupDirective extends StylableComponent {
|
|
|
164
170
|
provideAsWidgetRef(ButtonGroupDirective)
|
|
165
171
|
]), i0.ɵɵInheritDefinitionFeature] }); }
|
|
166
172
|
}
|
|
167
|
-
(
|
|
173
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ButtonGroupDirective, [{
|
|
168
174
|
type: Directive,
|
|
169
175
|
args: [{
|
|
170
176
|
selector: '[wmButtonGroup]',
|
|
@@ -172,7 +178,12 @@ class ButtonGroupDirective extends StylableComponent {
|
|
|
172
178
|
provideAsWidgetRef(ButtonGroupDirective)
|
|
173
179
|
]
|
|
174
180
|
}]
|
|
175
|
-
}],
|
|
181
|
+
}], () => [{ type: i0.Injector }, { type: undefined, decorators: [{
|
|
182
|
+
type: Inject,
|
|
183
|
+
args: ['EXPLICIT_CONTEXT']
|
|
184
|
+
}, {
|
|
185
|
+
type: Optional
|
|
186
|
+
}] }], { vertical: [{
|
|
176
187
|
type: HostBinding,
|
|
177
188
|
args: ['class.btn-group-vertical']
|
|
178
189
|
}], handleClick: [{
|
|
@@ -181,8 +192,8 @@ class ButtonGroupDirective extends StylableComponent {
|
|
|
181
192
|
}] }); })();
|
|
182
193
|
|
|
183
194
|
class BaseFormComponent extends StylableComponent {
|
|
184
|
-
constructor(inj, config, initPromise) {
|
|
185
|
-
super(inj, config, initPromise);
|
|
195
|
+
constructor(inj, config, explicitContext, initPromise) {
|
|
196
|
+
super(inj, config, explicitContext, initPromise);
|
|
186
197
|
this.inj = inj;
|
|
187
198
|
this.binddatavalue = this.$element.attr('datavalue.bind');
|
|
188
199
|
}
|
|
@@ -211,11 +222,11 @@ class BaseFormComponent extends StylableComponent {
|
|
|
211
222
|
}
|
|
212
223
|
binddatavalue = binddatavalue.replace(/\[\$i\]/g, '[0]');
|
|
213
224
|
// In case of list widget context will be the listItem.
|
|
214
|
-
if (
|
|
215
|
-
|
|
225
|
+
if (has(this.context, binddatavalue.split('.')[0])) {
|
|
226
|
+
set(this.context, binddatavalue, value);
|
|
216
227
|
}
|
|
217
228
|
else {
|
|
218
|
-
|
|
229
|
+
set(this.viewParent, binddatavalue, value);
|
|
219
230
|
}
|
|
220
231
|
}
|
|
221
232
|
invokeOnChange(value, $event) {
|
|
@@ -248,15 +259,20 @@ class BaseFormComponent extends StylableComponent {
|
|
|
248
259
|
});
|
|
249
260
|
}
|
|
250
261
|
}
|
|
251
|
-
static { this.ɵfac = function BaseFormComponent_Factory(t) { return new (t || BaseFormComponent)(i0.ɵɵinject(i0.Injector), i0.ɵɵinject(WidgetConfig), i0.ɵɵinject(Promise)); }; }
|
|
262
|
+
static { this.ɵfac = function BaseFormComponent_Factory(t) { return new (t || BaseFormComponent)(i0.ɵɵinject(i0.Injector), i0.ɵɵinject(WidgetConfig), i0.ɵɵinject('EXPLICIT_CONTEXT', 8), i0.ɵɵinject(Promise)); }; }
|
|
252
263
|
static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: BaseFormComponent, factory: BaseFormComponent.ɵfac }); }
|
|
253
264
|
}
|
|
254
|
-
(
|
|
265
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(BaseFormComponent, [{
|
|
255
266
|
type: Injectable
|
|
256
|
-
}],
|
|
267
|
+
}], () => [{ type: i0.Injector }, { type: undefined, decorators: [{
|
|
257
268
|
type: Inject,
|
|
258
269
|
args: [WidgetConfig]
|
|
259
|
-
}] }, { type:
|
|
270
|
+
}] }, { type: undefined, decorators: [{
|
|
271
|
+
type: Inject,
|
|
272
|
+
args: ['EXPLICIT_CONTEXT']
|
|
273
|
+
}, {
|
|
274
|
+
type: Optional
|
|
275
|
+
}] }, { type: Promise }], null); })();
|
|
260
276
|
|
|
261
277
|
/*
|
|
262
278
|
* WMS-18269
|
|
@@ -336,10 +352,10 @@ class BaseFormCustomComponent extends BaseFormComponent {
|
|
|
336
352
|
validate(control) {
|
|
337
353
|
return this['show'] ? validateRequiredBind(this['required'])(control) : null;
|
|
338
354
|
}
|
|
339
|
-
static { this.ɵfac = /*@__PURE__*/
|
|
355
|
+
static { this.ɵfac = /*@__PURE__*/ (() => { let ɵBaseFormCustomComponent_BaseFactory; return function BaseFormCustomComponent_Factory(t) { return (ɵBaseFormCustomComponent_BaseFactory || (ɵBaseFormCustomComponent_BaseFactory = i0.ɵɵgetInheritedFactory(BaseFormCustomComponent)))(t || BaseFormCustomComponent); }; })(); }
|
|
340
356
|
static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: BaseFormCustomComponent, factory: BaseFormCustomComponent.ɵfac }); }
|
|
341
357
|
}
|
|
342
|
-
(
|
|
358
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(BaseFormCustomComponent, [{
|
|
343
359
|
type: Injectable
|
|
344
360
|
}], null, null); })();
|
|
345
361
|
|
|
@@ -369,7 +385,8 @@ const registerProps$c = () => {
|
|
|
369
385
|
|
|
370
386
|
const _c0$b = ["checkbox"];
|
|
371
387
|
const _c1$a = ["wmCheckbox", ""];
|
|
372
|
-
const _c2$
|
|
388
|
+
const _c2$7 = (a0, a1, a2) => ({ "unchecked": a0, "disabled": a1, "required": a2 });
|
|
389
|
+
const _c3$2 = () => ({ standalone: true });
|
|
373
390
|
const DEFAULT_CLS$4 = 'app-checkbox checkbox';
|
|
374
391
|
const WIDGET_CONFIG$c = {
|
|
375
392
|
widgetType: 'wm-checkbox',
|
|
@@ -407,8 +424,8 @@ class CheckboxComponent extends BaseFormCustomComponent {
|
|
|
407
424
|
this.proxyModel = (isDefined(v) && v !== '') ? v === this._checkedvalue : undefined;
|
|
408
425
|
this.updatePrevDatavalue(this.datavalue);
|
|
409
426
|
}
|
|
410
|
-
constructor(inj, checkedVal, uncheckedVal, type) {
|
|
411
|
-
super(inj, WIDGET_CONFIG$c);
|
|
427
|
+
constructor(inj, checkedVal, uncheckedVal, type, explicitContext) {
|
|
428
|
+
super(inj, WIDGET_CONFIG$c, explicitContext);
|
|
412
429
|
this.type = type;
|
|
413
430
|
this._caption = ' ';
|
|
414
431
|
this._checkedvalue = unStringify(checkedVal, true);
|
|
@@ -465,7 +482,7 @@ class CheckboxComponent extends BaseFormCustomComponent {
|
|
|
465
482
|
super.ngAfterViewInit();
|
|
466
483
|
styler(this.nativeElement.querySelector('label'), this);
|
|
467
484
|
}
|
|
468
|
-
static { this.ɵfac = function CheckboxComponent_Factory(t) { return new (t || CheckboxComponent)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵinjectAttribute('checkedvalue'), i0.ɵɵinjectAttribute('uncheckedvalue'), i0.ɵɵinjectAttribute('type')); }; }
|
|
485
|
+
static { this.ɵfac = function CheckboxComponent_Factory(t) { return new (t || CheckboxComponent)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵinjectAttribute('checkedvalue'), i0.ɵɵinjectAttribute('uncheckedvalue'), i0.ɵɵinjectAttribute('type'), i0.ɵɵdirectiveInject('EXPLICIT_CONTEXT', 8)); }; }
|
|
469
486
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CheckboxComponent, selectors: [["", "wmCheckbox", ""]], viewQuery: function CheckboxComponent_Query(rf, ctx) { if (rf & 1) {
|
|
470
487
|
i0.ɵɵviewQuery(NgModel, 5);
|
|
471
488
|
i0.ɵɵviewQuery(_c0$b, 7, ElementRef);
|
|
@@ -479,17 +496,20 @@ class CheckboxComponent extends BaseFormCustomComponent {
|
|
|
479
496
|
provideAs(CheckboxComponent, NG_VALUE_ACCESSOR, true),
|
|
480
497
|
provideAs(CheckboxComponent, NG_VALIDATORS, true),
|
|
481
498
|
provideAsWidgetRef(CheckboxComponent)
|
|
482
|
-
]), i0.ɵɵInheritDefinitionFeature], attrs: _c1$a, decls: 6, vars:
|
|
483
|
-
i0.ɵɵ
|
|
484
|
-
i0.ɵɵ
|
|
499
|
+
]), i0.ɵɵInheritDefinitionFeature], attrs: _c1$a, decls: 6, vars: 19, consts: [["checkbox", ""], [3, "ngClass"], ["type", "checkbox", "role", "checkbox", "focus-target", "", 3, "ngModelChange", "blur", "ngModel", "ngModelOptions", "readonly", "required", "disabled", "tabindex"], [1, "caption", 3, "innerHtml"], ["alt", "Checkbox Image", "aria-hidden", "true", "src", "data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==", 1, "switch"], ["type", "hidden", "aria-hidden", "true", "tabindex", "-1", 1, "ng-hide", "model-holder", 3, "disabled", "value"]], template: function CheckboxComponent_Template(rf, ctx) { if (rf & 1) {
|
|
500
|
+
const _r1 = i0.ɵɵgetCurrentView();
|
|
501
|
+
i0.ɵɵelementStart(0, "label", 1)(1, "input", 2, 0);
|
|
502
|
+
i0.ɵɵtwoWayListener("ngModelChange", function CheckboxComponent_Template_input_ngModelChange_1_listener($event) { i0.ɵɵrestoreView(_r1); i0.ɵɵtwoWayBindingSet(ctx.proxyModel, $event) || (ctx.proxyModel = $event); return i0.ɵɵresetView($event); });
|
|
503
|
+
i0.ɵɵlistener("blur", function CheckboxComponent_Template_input_blur_1_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.invokeOnTouched($event)); })("ngModelChange", function CheckboxComponent_Template_input_ngModelChange_1_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.handleChange($event)); });
|
|
485
504
|
i0.ɵɵelementEnd();
|
|
486
505
|
i0.ɵɵelement(3, "span", 3)(4, "img", 4);
|
|
487
506
|
i0.ɵɵelementEnd();
|
|
488
507
|
i0.ɵɵelement(5, "input", 5);
|
|
489
508
|
} if (rf & 2) {
|
|
490
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction3(
|
|
491
|
-
i0.ɵɵadvance(
|
|
492
|
-
i0.ɵɵ
|
|
509
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction3(14, _c2$7, !ctx.proxyModel, ctx.disabled || ctx.readonly, ctx.required && ctx._caption));
|
|
510
|
+
i0.ɵɵadvance();
|
|
511
|
+
i0.ɵɵtwoWayProperty("ngModel", ctx.proxyModel);
|
|
512
|
+
i0.ɵɵproperty("ngModelOptions", i0.ɵɵpureFunction0(18, _c3$2))("readonly", ctx.readonly)("required", ctx.required)("disabled", ctx.disabled || ctx.readonly)("tabindex", ctx.tabindex);
|
|
493
513
|
i0.ɵɵattribute("name", ctx.name)("aria-label", ctx.hint)("aria-checked", !!ctx.proxyModel)("accesskey", ctx.shortcutkey);
|
|
494
514
|
i0.ɵɵadvance(2);
|
|
495
515
|
i0.ɵɵproperty("innerHtml", ctx._caption, i0.ɵɵsanitizeHtml);
|
|
@@ -497,14 +517,14 @@ class CheckboxComponent extends BaseFormCustomComponent {
|
|
|
497
517
|
i0.ɵɵproperty("disabled", ctx.disabled)("value", ctx.proxyModel);
|
|
498
518
|
} }, dependencies: [i1.NgClass, i2$1.CheckboxControlValueAccessor, i2$1.NgControlStatus, i2$1.CheckboxRequiredValidator, i2$1.NgModel], encapsulation: 2 }); }
|
|
499
519
|
}
|
|
500
|
-
(
|
|
520
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CheckboxComponent, [{
|
|
501
521
|
type: Component,
|
|
502
522
|
args: [{ selector: '[wmCheckbox]', providers: [
|
|
503
523
|
provideAs(CheckboxComponent, NG_VALUE_ACCESSOR, true),
|
|
504
524
|
provideAs(CheckboxComponent, NG_VALIDATORS, true),
|
|
505
525
|
provideAsWidgetRef(CheckboxComponent)
|
|
506
|
-
], template: "<label [ngClass]=\"{'unchecked': !proxyModel, 'disabled': (disabled || readonly), 'required': (required && _caption)}\">\n <input type=\"checkbox\"\n role=\"checkbox\"\n #checkbox\n [attr.name]=\"name\"\n [attr.aria-label]=\"hint\"\n [attr.aria-checked]=\"!!proxyModel\"\n focus-target\n [(ngModel)]=\"proxyModel\"\n [readonly]=\"readonly\"\n [required]=\"required\"\n [disabled]=\"disabled || readonly\"\n [attr.accesskey]=\"shortcutkey\"\n [tabindex]=\"tabindex\"\n (blur)=\"invokeOnTouched($event)\"\n (ngModelChange)=\"handleChange($event)\">\n <span class=\"caption\" [innerHtml]=\"_caption\"></span>\n <img alt=\"Checkbox Image\" aria-hidden=\"true\" src=\"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" class=\"switch\"/>\n</label>\n<input type=\"hidden\" class=\"ng-hide model-holder\" aria-hidden=\"true\" tabindex=\"-1\" [disabled]=\"disabled\" [value]=\"proxyModel\">\n" }]
|
|
507
|
-
}],
|
|
526
|
+
], template: "<label [ngClass]=\"{'unchecked': !proxyModel, 'disabled': (disabled || readonly), 'required': (required && _caption)}\">\n <input type=\"checkbox\"\n role=\"checkbox\"\n #checkbox\n [attr.name]=\"name\"\n [attr.aria-label]=\"hint\"\n [attr.aria-checked]=\"!!proxyModel\"\n focus-target\n [(ngModel)]=\"proxyModel\"\n [ngModelOptions]=\"{standalone: true}\"\n [readonly]=\"readonly\"\n [required]=\"required\"\n [disabled]=\"disabled || readonly\"\n [attr.accesskey]=\"shortcutkey\"\n [tabindex]=\"tabindex\"\n (blur)=\"invokeOnTouched($event)\"\n (ngModelChange)=\"handleChange($event)\">\n <span class=\"caption\" [innerHtml]=\"_caption\"></span>\n <img alt=\"Checkbox Image\" aria-hidden=\"true\" src=\"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" class=\"switch\"/>\n</label>\n<input type=\"hidden\" class=\"ng-hide model-holder\" aria-hidden=\"true\" tabindex=\"-1\" [disabled]=\"disabled\" [value]=\"proxyModel\">\n" }]
|
|
527
|
+
}], () => [{ type: i0.Injector }, { type: undefined, decorators: [{
|
|
508
528
|
type: Attribute,
|
|
509
529
|
args: ['checkedvalue']
|
|
510
530
|
}] }, { type: undefined, decorators: [{
|
|
@@ -513,7 +533,12 @@ class CheckboxComponent extends BaseFormCustomComponent {
|
|
|
513
533
|
}] }, { type: undefined, decorators: [{
|
|
514
534
|
type: Attribute,
|
|
515
535
|
args: ['type']
|
|
516
|
-
}] }
|
|
536
|
+
}] }, { type: undefined, decorators: [{
|
|
537
|
+
type: Inject,
|
|
538
|
+
args: ['EXPLICIT_CONTEXT']
|
|
539
|
+
}, {
|
|
540
|
+
type: Optional
|
|
541
|
+
}] }], { ngModel: [{
|
|
517
542
|
type: ViewChild,
|
|
518
543
|
args: [NgModel]
|
|
519
544
|
}], checkboxEl: [{
|
|
@@ -523,6 +548,7 @@ class CheckboxComponent extends BaseFormCustomComponent {
|
|
|
523
548
|
type: HostListener,
|
|
524
549
|
args: ['keydown.enter', ['$event', '"ENTER"']]
|
|
525
550
|
}] }); })();
|
|
551
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CheckboxComponent, { className: "CheckboxComponent", filePath: "checkbox/checkbox.component.ts", lineNumber: 59 }); })();
|
|
526
552
|
|
|
527
553
|
class DatasetAwareFormComponent extends BaseFormCustomComponent {
|
|
528
554
|
get modelByKey() {
|
|
@@ -551,17 +577,17 @@ class DatasetAwareFormComponent extends BaseFormCustomComponent {
|
|
|
551
577
|
// invoke on datavalue change.
|
|
552
578
|
this.invokeOnChange(val, undefined, true);
|
|
553
579
|
}
|
|
554
|
-
constructor(inj, config, groupby) {
|
|
555
|
-
super(inj, config);
|
|
580
|
+
constructor(inj, config, explicitContext, groupby) {
|
|
581
|
+
super(inj, config, explicitContext);
|
|
556
582
|
this.groupby = groupby;
|
|
557
583
|
this.datasetItems = [];
|
|
558
584
|
this.acceptsArray = false; // set to true if proxyModel on widget accepts array type.
|
|
559
585
|
this.dataset$ = new Subject();
|
|
560
586
|
this.datavalue$ = new Subject();
|
|
561
587
|
this.allowempty = true;
|
|
562
|
-
this._debounceDatavalueUpdation =
|
|
588
|
+
this._debounceDatavalueUpdation = debounce((values) => {
|
|
563
589
|
// if no item is found in datasetItems, wait untill the dataset updates by preserving the datavalue in toBeProcessedDatavalue.
|
|
564
|
-
if (!isDefined(this._modelByKey) || (
|
|
590
|
+
if (!isDefined(this._modelByKey) || (isArray(this._modelByKey) && !this._modelByKey.length)) {
|
|
565
591
|
this.toBeProcessedDatavalue = values;
|
|
566
592
|
this._modelByValue = '';
|
|
567
593
|
}
|
|
@@ -569,7 +595,7 @@ class DatasetAwareFormComponent extends BaseFormCustomComponent {
|
|
|
569
595
|
// obtain the first array value when multiple is set to false.
|
|
570
596
|
// set the modelByValue only when undefined.
|
|
571
597
|
if (!isDefined(this._modelByValue)) {
|
|
572
|
-
this._modelByValue = (!this.multiple &&
|
|
598
|
+
this._modelByValue = (!this.multiple && isArray(this.toBeProcessedDatavalue)) ? this.toBeProcessedDatavalue[0] : this.toBeProcessedDatavalue;
|
|
573
599
|
}
|
|
574
600
|
this.toBeProcessedDatavalue = undefined;
|
|
575
601
|
}
|
|
@@ -580,7 +606,7 @@ class DatasetAwareFormComponent extends BaseFormCustomComponent {
|
|
|
580
606
|
this.binddisplayexpression = this.nativeElement.getAttribute('displayexpression.bind');
|
|
581
607
|
this.binddisplayimagesrc = this.nativeElement.getAttribute('displayimagesrc.bind');
|
|
582
608
|
this.binddisplaylabel = this.nativeElement.getAttribute('displaylabel.bind');
|
|
583
|
-
this._debouncedInitDatasetItems = debounce(() => {
|
|
609
|
+
this._debouncedInitDatasetItems = debounce$1(() => {
|
|
584
610
|
this.initDatasetItems();
|
|
585
611
|
$appDigest();
|
|
586
612
|
}, 150);
|
|
@@ -599,7 +625,7 @@ class DatasetAwareFormComponent extends BaseFormCustomComponent {
|
|
|
599
625
|
if (!this.datasetItems.length) {
|
|
600
626
|
return;
|
|
601
627
|
}
|
|
602
|
-
if (this.multiple && !
|
|
628
|
+
if (this.multiple && !isArray(keys)) {
|
|
603
629
|
keys = [keys];
|
|
604
630
|
}
|
|
605
631
|
// Set the _modelByKey to the modified keys.
|
|
@@ -607,10 +633,10 @@ class DatasetAwareFormComponent extends BaseFormCustomComponent {
|
|
|
607
633
|
if (this.multiple) {
|
|
608
634
|
this._modelByValue = [];
|
|
609
635
|
keys.forEach(key => {
|
|
610
|
-
const itemByKey =
|
|
636
|
+
const itemByKey = find(this.datasetItems, item => {
|
|
611
637
|
// not triple equal, as the instance type can be different.
|
|
612
638
|
// only value comparison should be done.
|
|
613
|
-
return
|
|
639
|
+
return toString(item.key) === toString(key);
|
|
614
640
|
});
|
|
615
641
|
if (itemByKey) {
|
|
616
642
|
itemByKey.selected = true;
|
|
@@ -620,10 +646,10 @@ class DatasetAwareFormComponent extends BaseFormCustomComponent {
|
|
|
620
646
|
}
|
|
621
647
|
else {
|
|
622
648
|
this._modelByValue = '';
|
|
623
|
-
const itemByKey =
|
|
649
|
+
const itemByKey = find(this.datasetItems, item => {
|
|
624
650
|
// not triple equal, as the instance type can be different.
|
|
625
651
|
// only value comparison should be done.
|
|
626
|
-
return
|
|
652
|
+
return toString(item.key) === toString(keys);
|
|
627
653
|
});
|
|
628
654
|
if (itemByKey) {
|
|
629
655
|
itemByKey.selected = true;
|
|
@@ -642,14 +668,14 @@ class DatasetAwareFormComponent extends BaseFormCustomComponent {
|
|
|
642
668
|
selectByValue(values) {
|
|
643
669
|
this.resetDatasetItems();
|
|
644
670
|
// if datavalue is not defined or empty then set the model as undefined.
|
|
645
|
-
if (!isDefined(values) || values === '' ||
|
|
671
|
+
if (!isDefined(values) || values === '' || isNull(values) || (values instanceof Array && !values.length)) {
|
|
646
672
|
this._modelByKey = undefined;
|
|
647
673
|
// do not return when allowempty is set to true.
|
|
648
674
|
if (!this.allowempty || !isDefined(values)) {
|
|
649
675
|
return;
|
|
650
676
|
}
|
|
651
677
|
}
|
|
652
|
-
if (this.acceptsArray && !
|
|
678
|
+
if (this.acceptsArray && !isArray(values)) {
|
|
653
679
|
values = this.allowempty ? [values] : extractDataAsArray(values);
|
|
654
680
|
}
|
|
655
681
|
// preserve the datavalue if datasetItems are empty.
|
|
@@ -658,16 +684,16 @@ class DatasetAwareFormComponent extends BaseFormCustomComponent {
|
|
|
658
684
|
return;
|
|
659
685
|
}
|
|
660
686
|
const filterField = this.datafield === ALLFIELDS ? 'dataObject' : 'key';
|
|
661
|
-
if (
|
|
687
|
+
if (isArray(values)) {
|
|
662
688
|
this._modelByKey = [];
|
|
663
689
|
values.forEach(val => {
|
|
664
|
-
const itemByValue =
|
|
690
|
+
const itemByValue = find(this.datasetItems, item => {
|
|
665
691
|
if (filterField === 'dataObject') {
|
|
666
692
|
if (this.compareby && this.compareby.length) {
|
|
667
693
|
return isEqualWithFields(item[filterField], val, this.compareby);
|
|
668
694
|
}
|
|
669
695
|
}
|
|
670
|
-
return (
|
|
696
|
+
return (isObject(item.value) ? isEqual(item.value, val) : (toString(item.value)).toLowerCase() === (toString(val)).toLowerCase());
|
|
671
697
|
});
|
|
672
698
|
if (itemByValue) {
|
|
673
699
|
itemByValue.selected = true;
|
|
@@ -677,13 +703,13 @@ class DatasetAwareFormComponent extends BaseFormCustomComponent {
|
|
|
677
703
|
}
|
|
678
704
|
else {
|
|
679
705
|
this._modelByKey = undefined;
|
|
680
|
-
const itemByValue =
|
|
706
|
+
const itemByValue = find(this.datasetItems, item => {
|
|
681
707
|
if (filterField === 'dataObject') {
|
|
682
708
|
if (this.compareby && this.compareby.length) {
|
|
683
709
|
return isEqualWithFields(item[filterField], values, this.compareby);
|
|
684
710
|
}
|
|
685
711
|
}
|
|
686
|
-
return (
|
|
712
|
+
return (isObject(item.value) ? isEqual(item.value, values) : (toString(item.value)).toLowerCase() === (toString(values)).toLowerCase());
|
|
687
713
|
});
|
|
688
714
|
if (itemByValue) {
|
|
689
715
|
itemByValue.selected = true;
|
|
@@ -706,7 +732,7 @@ class DatasetAwareFormComponent extends BaseFormCustomComponent {
|
|
|
706
732
|
}
|
|
707
733
|
// This function parses the dataset and extracts the displayOptions from parsed dataset.
|
|
708
734
|
initDatasetItems() {
|
|
709
|
-
if (!this.dataset ||
|
|
735
|
+
if (!this.dataset || isEmpty(this.dataset)) {
|
|
710
736
|
this.datasetItems = [];
|
|
711
737
|
// notify the dataset listeners
|
|
712
738
|
this.dataset$.next(this.datasetItems);
|
|
@@ -734,7 +760,7 @@ class DatasetAwareFormComponent extends BaseFormCustomComponent {
|
|
|
734
760
|
postDatasetItemsInit() {
|
|
735
761
|
if (this.datasetItems.length && !this._defaultQueryInvoked) {
|
|
736
762
|
// use the latest of toBeProcessedDatavalue, datavalue
|
|
737
|
-
const _datavalue =
|
|
763
|
+
const _datavalue = isEmpty(this.toBeProcessedDatavalue) ? this.datavalue : this.toBeProcessedDatavalue;
|
|
738
764
|
this.selectByValue(_datavalue);
|
|
739
765
|
}
|
|
740
766
|
// notify the dataset listeners
|
|
@@ -804,18 +830,23 @@ class DatasetAwareFormComponent extends BaseFormCustomComponent {
|
|
|
804
830
|
this.cancelLocaleChangeSubscription();
|
|
805
831
|
}
|
|
806
832
|
}
|
|
807
|
-
static { this.ɵfac = function DatasetAwareFormComponent_Factory(t) { return new (t || DatasetAwareFormComponent)(i0.ɵɵinject(i0.Injector), i0.ɵɵinject(WidgetConfig), i0.ɵɵinjectAttribute('groupby')); }; }
|
|
833
|
+
static { this.ɵfac = function DatasetAwareFormComponent_Factory(t) { return new (t || DatasetAwareFormComponent)(i0.ɵɵinject(i0.Injector), i0.ɵɵinject(WidgetConfig), i0.ɵɵinject('EXPLICIT_CONTEXT', 8), i0.ɵɵinjectAttribute('groupby')); }; }
|
|
808
834
|
static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: DatasetAwareFormComponent, factory: DatasetAwareFormComponent.ɵfac }); }
|
|
809
835
|
}
|
|
810
|
-
(
|
|
836
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DatasetAwareFormComponent, [{
|
|
811
837
|
type: Injectable
|
|
812
|
-
}],
|
|
838
|
+
}], () => [{ type: i0.Injector }, { type: undefined, decorators: [{
|
|
813
839
|
type: Inject,
|
|
814
840
|
args: [WidgetConfig]
|
|
841
|
+
}] }, { type: undefined, decorators: [{
|
|
842
|
+
type: Inject,
|
|
843
|
+
args: ['EXPLICIT_CONTEXT']
|
|
844
|
+
}, {
|
|
845
|
+
type: Optional
|
|
815
846
|
}] }, { type: undefined, decorators: [{
|
|
816
847
|
type: Attribute,
|
|
817
848
|
args: ['groupby']
|
|
818
|
-
}] }]
|
|
849
|
+
}] }], null); })();
|
|
819
850
|
|
|
820
851
|
const checkboxsetProps = new Map([
|
|
821
852
|
['class', PROP_STRING],
|
|
@@ -851,60 +882,61 @@ const registerProps$b = () => {
|
|
|
851
882
|
};
|
|
852
883
|
|
|
853
884
|
const _c0$a = ["wmCheckboxset", ""];
|
|
854
|
-
const _c1$9 =
|
|
885
|
+
const _c1$9 = (a0, a1) => ["checkbox", "app-checkbox", a0, a1];
|
|
886
|
+
const _c2$6 = a0 => ({ "disabled": a0 });
|
|
887
|
+
const _c3$1 = a0 => ({ "collapsible-content": a0 });
|
|
888
|
+
const _c4$1 = (a0, a1) => ["checkbox", "app-checkbox", "group-list-item", a0, a1];
|
|
855
889
|
function CheckboxsetComponent_ng_template_0_li_0_label_1_Template(rf, ctx) { if (rf & 1) {
|
|
856
890
|
i0.ɵɵelementStart(0, "label", 8);
|
|
857
891
|
i0.ɵɵelement(1, "input", 9)(2, "span", 10);
|
|
858
892
|
i0.ɵɵelementEnd();
|
|
859
893
|
} if (rf & 2) {
|
|
860
|
-
const
|
|
861
|
-
const
|
|
862
|
-
const
|
|
863
|
-
const
|
|
864
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(12,
|
|
865
|
-
i0.ɵɵadvance(
|
|
866
|
-
i0.ɵɵproperty("name", "checkboxset_" +
|
|
867
|
-
i0.ɵɵattribute("aria-label",
|
|
868
|
-
i0.ɵɵadvance(
|
|
869
|
-
i0.ɵɵproperty("textContent",
|
|
894
|
+
const ctx_r3 = i0.ɵɵnextContext();
|
|
895
|
+
const item_r2 = ctx_r3.$implicit;
|
|
896
|
+
const i_r5 = ctx_r3.index;
|
|
897
|
+
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
898
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(12, _c2$6, ctx_r2.disabled || ctx_r2.readonly))("title", item_r2.label);
|
|
899
|
+
i0.ɵɵadvance();
|
|
900
|
+
i0.ɵɵproperty("name", "checkboxset_" + ctx_r2.widgetId)("tabindex", ctx_r2.tabindex)("disabled", ctx_r2.disabled || ctx_r2.readonly)("value", item_r2.key)("tabindex", ctx_r2.tabindex)("checked", item_r2.selected);
|
|
901
|
+
i0.ɵɵattribute("aria-label", item_r2.key)("aria-checked", item_r2.selected)("data-attr-index", i_r5);
|
|
902
|
+
i0.ɵɵadvance();
|
|
903
|
+
i0.ɵɵproperty("textContent", item_r2.label);
|
|
870
904
|
} }
|
|
871
905
|
function CheckboxsetComponent_ng_template_0_li_0_label_2_Template(rf, ctx) { if (rf & 1) {
|
|
872
906
|
i0.ɵɵelementStart(0, "label", 11);
|
|
873
907
|
i0.ɵɵelement(1, "input", 9)(2, "span", 12);
|
|
874
908
|
i0.ɵɵelementEnd();
|
|
875
909
|
} if (rf & 2) {
|
|
876
|
-
const
|
|
877
|
-
const
|
|
878
|
-
const
|
|
879
|
-
const
|
|
880
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10,
|
|
881
|
-
i0.ɵɵadvance(
|
|
882
|
-
i0.ɵɵproperty("name", "checkboxset_" +
|
|
883
|
-
i0.ɵɵattribute("aria-label",
|
|
910
|
+
const ctx_r3 = i0.ɵɵnextContext();
|
|
911
|
+
const item_r2 = ctx_r3.$implicit;
|
|
912
|
+
const i_r5 = ctx_r3.index;
|
|
913
|
+
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
914
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c2$6, ctx_r2.disabled || ctx_r2.readonly));
|
|
915
|
+
i0.ɵɵadvance();
|
|
916
|
+
i0.ɵɵproperty("name", "checkboxset_" + ctx_r2.widgetId)("tabindex", ctx_r2.tabindex)("disabled", ctx_r2.disabled || ctx_r2.readonly)("value", item_r2.key)("tabindex", ctx_r2.tabindex)("checked", item_r2.selected);
|
|
917
|
+
i0.ɵɵattribute("aria-label", item_r2.key)("aria-checked", item_r2.selected)("data-attr-index", i_r5);
|
|
884
918
|
} }
|
|
885
|
-
const _c2$3 = function (a2, a3) { return ["checkbox", "app-checkbox", a2, a3]; };
|
|
886
919
|
function CheckboxsetComponent_ng_template_0_li_0_Template(rf, ctx) { if (rf & 1) {
|
|
887
|
-
const
|
|
920
|
+
const _r1 = i0.ɵɵgetCurrentView();
|
|
888
921
|
i0.ɵɵelementStart(0, "li", 5);
|
|
889
|
-
i0.ɵɵlistener("click", function CheckboxsetComponent_ng_template_0_li_0_Template_li_click_0_listener($event) { const
|
|
890
|
-
i0.ɵɵtemplate(1, CheckboxsetComponent_ng_template_0_li_0_label_1_Template, 3, 14, "label", 6);
|
|
891
|
-
i0.ɵɵtemplate(2, CheckboxsetComponent_ng_template_0_li_0_label_2_Template, 3, 12, "label", 7);
|
|
922
|
+
i0.ɵɵlistener("click", function CheckboxsetComponent_ng_template_0_li_0_Template_li_click_0_listener($event) { const item_r2 = i0.ɵɵrestoreView(_r1).$implicit; const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.onCheckboxLabelClick($event, item_r2.key)); });
|
|
923
|
+
i0.ɵɵtemplate(1, CheckboxsetComponent_ng_template_0_li_0_label_1_Template, 3, 14, "label", 6)(2, CheckboxsetComponent_ng_template_0_li_0_label_2_Template, 3, 12, "label", 7);
|
|
892
924
|
i0.ɵɵelementEnd();
|
|
893
925
|
} if (rf & 2) {
|
|
894
|
-
const
|
|
895
|
-
const
|
|
896
|
-
i0.ɵɵclassProp("active",
|
|
897
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(7,
|
|
898
|
-
i0.ɵɵadvance(
|
|
899
|
-
i0.ɵɵproperty("ngIf", !
|
|
900
|
-
i0.ɵɵadvance(
|
|
901
|
-
i0.ɵɵproperty("ngIf",
|
|
926
|
+
const item_r2 = ctx.$implicit;
|
|
927
|
+
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
928
|
+
i0.ɵɵclassProp("active", item_r2.selected);
|
|
929
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(7, _c1$9, ctx_r2.itemclass, ctx_r2.itemsPerRowClass))("wmItemTemplate", ctx_r2.content)("userComponentParams", item_r2);
|
|
930
|
+
i0.ɵɵadvance();
|
|
931
|
+
i0.ɵɵproperty("ngIf", !ctx_r2.content);
|
|
932
|
+
i0.ɵɵadvance();
|
|
933
|
+
i0.ɵɵproperty("ngIf", ctx_r2.content);
|
|
902
934
|
} }
|
|
903
935
|
function CheckboxsetComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {
|
|
904
936
|
i0.ɵɵtemplate(0, CheckboxsetComponent_ng_template_0_li_0_Template, 3, 10, "li", 4);
|
|
905
937
|
} if (rf & 2) {
|
|
906
|
-
const
|
|
907
|
-
i0.ɵɵproperty("ngForOf",
|
|
938
|
+
const ctx_r2 = i0.ɵɵnextContext();
|
|
939
|
+
i0.ɵɵproperty("ngForOf", ctx_r2.datasetItems);
|
|
908
940
|
} }
|
|
909
941
|
function CheckboxsetComponent_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
910
942
|
i0.ɵɵelement(0, "div", 13);
|
|
@@ -912,102 +944,98 @@ function CheckboxsetComponent_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
|
912
944
|
function CheckboxsetComponent_ng_template_3_li_0_i_6_Template(rf, ctx) { if (rf & 1) {
|
|
913
945
|
i0.ɵɵelement(0, "i", 23);
|
|
914
946
|
} if (rf & 2) {
|
|
915
|
-
const
|
|
916
|
-
i0.ɵɵpropertyInterpolate2("title", "",
|
|
947
|
+
const ctx_r2 = i0.ɵɵnextContext(3);
|
|
948
|
+
i0.ɵɵpropertyInterpolate2("title", "", ctx_r2.appLocale.LABEL_COLLAPSE, "/", ctx_r2.appLocale.LABEL_EXPAND, "");
|
|
917
949
|
} }
|
|
918
950
|
function CheckboxsetComponent_ng_template_3_li_0_span_7_Template(rf, ctx) { if (rf & 1) {
|
|
919
951
|
i0.ɵɵelement(0, "span", 24);
|
|
920
952
|
} if (rf & 2) {
|
|
921
|
-
const
|
|
922
|
-
i0.ɵɵproperty("textContent",
|
|
953
|
+
const groupObj_r7 = i0.ɵɵnextContext().$implicit;
|
|
954
|
+
i0.ɵɵproperty("textContent", groupObj_r7.data.length);
|
|
923
955
|
} }
|
|
924
956
|
function CheckboxsetComponent_ng_template_3_li_0_li_8_label_1_Template(rf, ctx) { if (rf & 1) {
|
|
925
957
|
i0.ɵɵelementStart(0, "label", 8);
|
|
926
958
|
i0.ɵɵelement(1, "input", 26)(2, "span", 10);
|
|
927
959
|
i0.ɵɵelementEnd();
|
|
928
960
|
} if (rf & 2) {
|
|
929
|
-
const
|
|
930
|
-
const
|
|
931
|
-
const
|
|
932
|
-
const
|
|
933
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10,
|
|
934
|
-
i0.ɵɵadvance(
|
|
935
|
-
i0.ɵɵproperty("name", "checkboxset_" +
|
|
936
|
-
i0.ɵɵattribute("data-attr-index",
|
|
937
|
-
i0.ɵɵadvance(
|
|
938
|
-
i0.ɵɵproperty("textContent",
|
|
961
|
+
const ctx_r9 = i0.ɵɵnextContext();
|
|
962
|
+
const item_r9 = ctx_r9.$implicit;
|
|
963
|
+
const i_r11 = ctx_r9.index;
|
|
964
|
+
const ctx_r2 = i0.ɵɵnextContext(3);
|
|
965
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c2$6, ctx_r2.disabled || ctx_r2.readonly))("title", item_r9.label);
|
|
966
|
+
i0.ɵɵadvance();
|
|
967
|
+
i0.ɵɵproperty("name", "checkboxset_" + ctx_r2.widgetId)("tabindex", ctx_r2.tabindex)("disabled", ctx_r2.disabled || ctx_r2.readonly)("value", item_r9.key)("tabindex", ctx_r2.tabindex)("checked", item_r9.selected);
|
|
968
|
+
i0.ɵɵattribute("data-attr-index", i_r11);
|
|
969
|
+
i0.ɵɵadvance();
|
|
970
|
+
i0.ɵɵproperty("textContent", item_r9.label);
|
|
939
971
|
} }
|
|
940
972
|
function CheckboxsetComponent_ng_template_3_li_0_li_8_label_2_Template(rf, ctx) { if (rf & 1) {
|
|
941
973
|
i0.ɵɵelementStart(0, "label", 11);
|
|
942
974
|
i0.ɵɵelement(1, "input", 26)(2, "span", 27);
|
|
943
975
|
i0.ɵɵelementEnd();
|
|
944
976
|
} if (rf & 2) {
|
|
945
|
-
const
|
|
946
|
-
const
|
|
947
|
-
const
|
|
948
|
-
const
|
|
949
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8,
|
|
950
|
-
i0.ɵɵadvance(
|
|
951
|
-
i0.ɵɵproperty("name", "checkboxset_" +
|
|
952
|
-
i0.ɵɵattribute("data-attr-index",
|
|
977
|
+
const ctx_r9 = i0.ɵɵnextContext();
|
|
978
|
+
const item_r9 = ctx_r9.$implicit;
|
|
979
|
+
const i_r11 = ctx_r9.index;
|
|
980
|
+
const ctx_r2 = i0.ɵɵnextContext(3);
|
|
981
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c2$6, ctx_r2.disabled || ctx_r2.readonly));
|
|
982
|
+
i0.ɵɵadvance();
|
|
983
|
+
i0.ɵɵproperty("name", "checkboxset_" + ctx_r2.widgetId)("tabindex", ctx_r2.tabindex)("disabled", ctx_r2.disabled || ctx_r2.readonly)("value", item_r9.key)("tabindex", ctx_r2.tabindex)("checked", item_r9.selected);
|
|
984
|
+
i0.ɵɵattribute("data-attr-index", i_r11);
|
|
953
985
|
} }
|
|
954
|
-
const _c3$1 = function (a3, a4) { return ["checkbox", "app-checkbox", "group-list-item", a3, a4]; };
|
|
955
986
|
function CheckboxsetComponent_ng_template_3_li_0_li_8_Template(rf, ctx) { if (rf & 1) {
|
|
956
|
-
const
|
|
987
|
+
const _r8 = i0.ɵɵgetCurrentView();
|
|
957
988
|
i0.ɵɵelementStart(0, "li", 25);
|
|
958
|
-
i0.ɵɵlistener("click", function CheckboxsetComponent_ng_template_3_li_0_li_8_Template_li_click_0_listener($event) { const
|
|
959
|
-
i0.ɵɵtemplate(1, CheckboxsetComponent_ng_template_3_li_0_li_8_label_1_Template, 3, 12, "label", 6);
|
|
960
|
-
i0.ɵɵtemplate(2, CheckboxsetComponent_ng_template_3_li_0_li_8_label_2_Template, 3, 10, "label", 7);
|
|
989
|
+
i0.ɵɵlistener("click", function CheckboxsetComponent_ng_template_3_li_0_li_8_Template_li_click_0_listener($event) { const item_r9 = i0.ɵɵrestoreView(_r8).$implicit; const ctx_r2 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r2.onCheckboxLabelClick($event, item_r9)); });
|
|
990
|
+
i0.ɵɵtemplate(1, CheckboxsetComponent_ng_template_3_li_0_li_8_label_1_Template, 3, 12, "label", 6)(2, CheckboxsetComponent_ng_template_3_li_0_li_8_label_2_Template, 3, 10, "label", 7);
|
|
961
991
|
i0.ɵɵelementEnd();
|
|
962
992
|
} if (rf & 2) {
|
|
963
|
-
const
|
|
964
|
-
const
|
|
965
|
-
i0.ɵɵclassProp("active",
|
|
966
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(7,
|
|
967
|
-
i0.ɵɵadvance(
|
|
968
|
-
i0.ɵɵproperty("ngIf", !
|
|
969
|
-
i0.ɵɵadvance(
|
|
970
|
-
i0.ɵɵproperty("ngIf",
|
|
993
|
+
const item_r9 = ctx.$implicit;
|
|
994
|
+
const ctx_r2 = i0.ɵɵnextContext(3);
|
|
995
|
+
i0.ɵɵclassProp("active", item_r9.selected);
|
|
996
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(7, _c4$1, ctx_r2.itemclass, ctx_r2.itemsPerRowClass))("wmItemTemplate", ctx_r2.content)("userComponentParams", item_r9);
|
|
997
|
+
i0.ɵɵadvance();
|
|
998
|
+
i0.ɵɵproperty("ngIf", !ctx_r2.content);
|
|
999
|
+
i0.ɵɵadvance();
|
|
1000
|
+
i0.ɵɵproperty("ngIf", ctx_r2.content);
|
|
971
1001
|
} }
|
|
972
|
-
const _c4$1 = function (a0) { return { "collapsible-content": a0 }; };
|
|
973
1002
|
function CheckboxsetComponent_ng_template_3_li_0_Template(rf, ctx) { if (rf & 1) {
|
|
974
|
-
const
|
|
1003
|
+
const _r6 = i0.ɵɵgetCurrentView();
|
|
975
1004
|
i0.ɵɵelementStart(0, "li", 15)(1, "ul", 16)(2, "li", 17);
|
|
976
|
-
i0.ɵɵlistener("click", function CheckboxsetComponent_ng_template_3_li_0_Template_li_click_2_listener($event) { i0.ɵɵrestoreView(
|
|
1005
|
+
i0.ɵɵlistener("click", function CheckboxsetComponent_ng_template_3_li_0_Template_li_click_2_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.handleHeaderClick($event)); });
|
|
977
1006
|
i0.ɵɵelementStart(3, "h4", 18);
|
|
978
1007
|
i0.ɵɵtext(4);
|
|
979
1008
|
i0.ɵɵelementStart(5, "div", 19);
|
|
980
|
-
i0.ɵɵtemplate(6, CheckboxsetComponent_ng_template_3_li_0_i_6_Template, 1,
|
|
981
|
-
i0.ɵɵtemplate(7, CheckboxsetComponent_ng_template_3_li_0_span_7_Template, 1, 1, "span", 21);
|
|
1009
|
+
i0.ɵɵtemplate(6, CheckboxsetComponent_ng_template_3_li_0_i_6_Template, 1, 3, "i", 20)(7, CheckboxsetComponent_ng_template_3_li_0_span_7_Template, 1, 1, "span", 21);
|
|
982
1010
|
i0.ɵɵelementEnd()()();
|
|
983
1011
|
i0.ɵɵtemplate(8, CheckboxsetComponent_ng_template_3_li_0_li_8_Template, 3, 10, "li", 22);
|
|
984
1012
|
i0.ɵɵelementEnd()();
|
|
985
1013
|
} if (rf & 2) {
|
|
986
|
-
const
|
|
987
|
-
const
|
|
1014
|
+
const groupObj_r7 = ctx.$implicit;
|
|
1015
|
+
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
988
1016
|
i0.ɵɵadvance(2);
|
|
989
|
-
i0.ɵɵproperty("title",
|
|
1017
|
+
i0.ɵɵproperty("title", groupObj_r7.key)("ngClass", i0.ɵɵpureFunction1(6, _c3$1, ctx_r2.collapsible));
|
|
990
1018
|
i0.ɵɵadvance(2);
|
|
991
|
-
i0.ɵɵtextInterpolate1("",
|
|
1019
|
+
i0.ɵɵtextInterpolate1("", groupObj_r7.key, " ");
|
|
992
1020
|
i0.ɵɵadvance(2);
|
|
993
|
-
i0.ɵɵproperty("ngIf",
|
|
994
|
-
i0.ɵɵadvance(
|
|
995
|
-
i0.ɵɵproperty("ngIf",
|
|
996
|
-
i0.ɵɵadvance(
|
|
997
|
-
i0.ɵɵproperty("ngForOf",
|
|
1021
|
+
i0.ɵɵproperty("ngIf", ctx_r2.collapsible);
|
|
1022
|
+
i0.ɵɵadvance();
|
|
1023
|
+
i0.ɵɵproperty("ngIf", ctx_r2.showcount);
|
|
1024
|
+
i0.ɵɵadvance();
|
|
1025
|
+
i0.ɵɵproperty("ngForOf", groupObj_r7.data);
|
|
998
1026
|
} }
|
|
999
1027
|
function CheckboxsetComponent_ng_template_3_Template(rf, ctx) { if (rf & 1) {
|
|
1000
1028
|
i0.ɵɵtemplate(0, CheckboxsetComponent_ng_template_3_li_0_Template, 9, 8, "li", 14);
|
|
1001
1029
|
} if (rf & 2) {
|
|
1002
|
-
const
|
|
1003
|
-
i0.ɵɵproperty("ngForOf",
|
|
1030
|
+
const ctx_r2 = i0.ɵɵnextContext();
|
|
1031
|
+
i0.ɵɵproperty("ngForOf", ctx_r2.groupedData);
|
|
1004
1032
|
} }
|
|
1005
1033
|
const DEFAULT_CLS$3 = 'app-checkboxset list-group inline';
|
|
1006
1034
|
const WIDGET_CONFIG$b = { widgetType: 'wm-checkboxset', hostClass: DEFAULT_CLS$3 };
|
|
1007
1035
|
class CheckboxsetComponent extends DatasetAwareFormComponent {
|
|
1008
1036
|
static { this.initializeProps = registerProps$b(); }
|
|
1009
|
-
constructor(inj) {
|
|
1010
|
-
super(inj, WIDGET_CONFIG$b);
|
|
1037
|
+
constructor(inj, explicitContext) {
|
|
1038
|
+
super(inj, WIDGET_CONFIG$b, explicitContext);
|
|
1011
1039
|
this.layout = '';
|
|
1012
1040
|
styler(this.nativeElement, this);
|
|
1013
1041
|
this.multiple = true;
|
|
@@ -1019,7 +1047,8 @@ class CheckboxsetComponent extends DatasetAwareFormComponent {
|
|
|
1019
1047
|
// construct the _model from the checked elements.
|
|
1020
1048
|
const inputElements = this.nativeElement.querySelectorAll('input:checked');
|
|
1021
1049
|
const keys = [];
|
|
1022
|
-
|
|
1050
|
+
forEach(inputElements, ($el) => {
|
|
1051
|
+
// @ts-ignore
|
|
1023
1052
|
keys.push($el.value);
|
|
1024
1053
|
});
|
|
1025
1054
|
this.modelByKey = keys;
|
|
@@ -1038,7 +1067,7 @@ class CheckboxsetComponent extends DatasetAwareFormComponent {
|
|
|
1038
1067
|
return callback();
|
|
1039
1068
|
});
|
|
1040
1069
|
}
|
|
1041
|
-
else if (!
|
|
1070
|
+
else if (!includes(['change'], eventName)) {
|
|
1042
1071
|
super.handleEvent(node, eventName, callback, locals);
|
|
1043
1072
|
}
|
|
1044
1073
|
}
|
|
@@ -1061,38 +1090,43 @@ class CheckboxsetComponent extends DatasetAwareFormComponent {
|
|
|
1061
1090
|
super.onPropertyChange(key, nv, ov);
|
|
1062
1091
|
}
|
|
1063
1092
|
}
|
|
1064
|
-
static { this.ɵfac = function CheckboxsetComponent_Factory(t) { return new (t || CheckboxsetComponent)(i0.ɵɵdirectiveInject(i0.Injector)); }; }
|
|
1093
|
+
static { this.ɵfac = function CheckboxsetComponent_Factory(t) { return new (t || CheckboxsetComponent)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject('EXPLICIT_CONTEXT', 8)); }; }
|
|
1065
1094
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CheckboxsetComponent, selectors: [["", "wmCheckboxset", ""]], hostBindings: function CheckboxsetComponent_HostBindings(rf, ctx) { if (rf & 1) {
|
|
1066
1095
|
i0.ɵɵlistener("keydown.enter", function CheckboxsetComponent_keydown_enter_HostBindingHandler($event) { return ctx.onKeyDown($event, "ENTER"); });
|
|
1067
1096
|
} }, exportAs: ["wmCheckboxset"], features: [i0.ɵɵProvidersFeature([
|
|
1068
1097
|
provideAs(CheckboxsetComponent, NG_VALUE_ACCESSOR, true),
|
|
1069
1098
|
provideAs(CheckboxsetComponent, NG_VALIDATORS, true),
|
|
1070
1099
|
provideAsWidgetRef(CheckboxsetComponent)
|
|
1071
|
-
]), i0.ɵɵInheritDefinitionFeature], attrs: _c0$a, decls: 5, vars: 4, consts: [[3, "ngIf", "ngIfElse"], ["hidden", "", 1, "model-holder", 3, "disabled"], ["class", "readonly-wrapper", 4, "ngIf"], ["
|
|
1072
|
-
i0.ɵɵtemplate(0, CheckboxsetComponent_ng_template_0_Template, 1, 1, "ng-template",
|
|
1073
|
-
i0.ɵɵelement(1, "input",
|
|
1074
|
-
i0.ɵɵtemplate(2, CheckboxsetComponent_div_2_Template, 1, 0, "div",
|
|
1075
|
-
i0.ɵɵtemplate(3, CheckboxsetComponent_ng_template_3_Template, 1, 1, "ng-template", null, 3, i0.ɵɵtemplateRefExtractor);
|
|
1100
|
+
]), i0.ɵɵInheritDefinitionFeature], attrs: _c0$a, decls: 5, vars: 4, consts: [["groupedListTemplate", ""], [3, "ngIf", "ngIfElse"], ["hidden", "", 1, "model-holder", 3, "disabled"], ["class", "readonly-wrapper", 4, "ngIf"], ["partialContainer", "", "role", "presentation", 3, "ngClass", "active", "wmItemTemplate", "userComponentParams", "click", 4, "ngFor", "ngForOf"], ["partialContainer", "", "role", "presentation", 3, "click", "ngClass", "wmItemTemplate", "userComponentParams"], ["class", "app-checkboxset-label", 3, "ngClass", "title", 4, "ngIf"], ["class", "app-checkboxset-label", 3, "ngClass", 4, "ngIf"], [1, "app-checkboxset-label", 3, "ngClass", "title"], ["type", "checkbox", 3, "name", "tabindex", "disabled", "value", "checked"], [1, "caption", 3, "textContent"], [1, "app-checkboxset-label", 3, "ngClass"], ["partial-container-target", "", 1, "caption", "customTemplate"], [1, "readonly-wrapper"], ["class", "app-list-item-group", "role", "presentation", 4, "ngFor", "ngForOf"], ["role", "presentation", 1, "app-list-item-group"], [1, "item-group"], [1, "list-group-header", 3, "click", "title", "ngClass"], [1, "group-title"], [1, "header-action"], ["class", "app-icon wi action wi-chevron-up", 3, "title", 4, "ngIf"], ["class", "label label-default", 3, "textContent", 4, "ngIf"], ["partialContainer", "", 3, "ngClass", "active", "wmItemTemplate", "userComponentParams", "click", 4, "ngFor", "ngForOf"], [1, "app-icon", "wi", "action", "wi-chevron-up", 3, "title"], [1, "label", "label-default", 3, "textContent"], ["partialContainer", "", 3, "click", "ngClass", "wmItemTemplate", "userComponentParams"], ["type", "checkbox", "aria-label", "checkbox group", 3, "name", "tabindex", "disabled", "value", "checked"], ["partial-container-target", "", 1, "caption"]], template: function CheckboxsetComponent_Template(rf, ctx) { if (rf & 1) {
|
|
1101
|
+
i0.ɵɵtemplate(0, CheckboxsetComponent_ng_template_0_Template, 1, 1, "ng-template", 1);
|
|
1102
|
+
i0.ɵɵelement(1, "input", 2);
|
|
1103
|
+
i0.ɵɵtemplate(2, CheckboxsetComponent_div_2_Template, 1, 0, "div", 3)(3, CheckboxsetComponent_ng_template_3_Template, 1, 1, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor);
|
|
1076
1104
|
} if (rf & 2) {
|
|
1077
|
-
const
|
|
1078
|
-
i0.ɵɵproperty("ngIf", !ctx.groupby)("ngIfElse",
|
|
1079
|
-
i0.ɵɵadvance(
|
|
1105
|
+
const groupedListTemplate_r12 = i0.ɵɵreference(4);
|
|
1106
|
+
i0.ɵɵproperty("ngIf", !ctx.groupby)("ngIfElse", groupedListTemplate_r12);
|
|
1107
|
+
i0.ɵɵadvance();
|
|
1080
1108
|
i0.ɵɵproperty("disabled", ctx.disabled || ctx.readonly);
|
|
1081
|
-
i0.ɵɵadvance(
|
|
1109
|
+
i0.ɵɵadvance();
|
|
1082
1110
|
i0.ɵɵproperty("ngIf", ctx.readonly || ctx.disabled);
|
|
1083
1111
|
} }, dependencies: [i1.NgClass, i1.NgForOf, i1.NgIf, i2.ItemTemplateDirective, i2.PartialParamHandlerDirective, i2.PartialContainerDirective, i2.TextContentDirective], encapsulation: 2 }); }
|
|
1084
1112
|
}
|
|
1085
|
-
(
|
|
1113
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CheckboxsetComponent, [{
|
|
1086
1114
|
type: Component,
|
|
1087
1115
|
args: [{ selector: '[wmCheckboxset]', exportAs: 'wmCheckboxset', providers: [
|
|
1088
1116
|
provideAs(CheckboxsetComponent, NG_VALUE_ACCESSOR, true),
|
|
1089
1117
|
provideAs(CheckboxsetComponent, NG_VALIDATORS, true),
|
|
1090
1118
|
provideAsWidgetRef(CheckboxsetComponent)
|
|
1091
1119
|
], template: "<ng-template [ngIf]=\"!groupby\" [ngIfElse]=\"groupedListTemplate\">\n <li [ngClass]=\"['checkbox', 'app-checkbox', itemclass, itemsPerRowClass]\"\n [class.active]=\"item.selected\"\n *ngFor=\"let item of datasetItems; let i = index\"\n [wmItemTemplate]=\"content\" [userComponentParams]=\"item\" partialContainer\n (click)=\"onCheckboxLabelClick($event, item.key)\" role=\"presentation\">\n <!-- Default item template -->\n <label *ngIf=\"!content\" class=\"app-checkboxset-label\" [ngClass]=\"{'disabled':disabled || readonly}\" [title]=\"item.label\">\n <input [name]=\"'checkboxset_' + widgetId\" type=\"checkbox\" [attr.aria-label]=\"item.key\"\n [tabindex]=\"tabindex\" [attr.aria-checked]=\"item.selected\"\n [disabled]=\"disabled || readonly\" [attr.data-attr-index]=\"i\"\n [value]=\"item.key\" [tabindex]=\"tabindex\" [checked]=\"item.selected\"/>\n <span class=\"caption\" [textContent]=\"item.label\"></span>\n </label>\n <!-- Custom partial template -->\n <label *ngIf=\"content\" class=\"app-checkboxset-label\" [ngClass]=\"{'disabled':disabled || readonly}\" >\n <input [name]=\"'checkboxset_' + widgetId\" type=\"checkbox\" [attr.aria-label]=\"item.key\"\n [tabindex]=\"tabindex\" [attr.aria-checked]=\"item.selected\"\n [disabled]=\"disabled || readonly\" [attr.data-attr-index]=\"i\"\n [value]=\"item.key\" [tabindex]=\"tabindex\" [checked]=\"item.selected\"/>\n <span class=\"caption customTemplate\" partial-container-target></span>\n </label>\n </li>\n</ng-template>\n<input [disabled]=\"disabled || readonly\" hidden class=\"model-holder\">\n<div *ngIf=\"readonly || disabled\" class=\"readonly-wrapper\"></div>\n\n<!-- This template will be displayed when groupby is specified. -->\n<ng-template #groupedListTemplate>\n <li *ngFor=\"let groupObj of groupedData\" class=\"app-list-item-group\" role=\"presentation\">\n <ul class=\"item-group\">\n <li class=\"list-group-header\" (click)=\"handleHeaderClick($event)\" [title]=\"groupObj.key\" [ngClass]=\"{'collapsible-content': collapsible}\">\n <h4 class=\"group-title\">{{groupObj.key}}\n <div class=\"header-action\">\n <i class=\"app-icon wi action wi-chevron-up\" *ngIf=\"collapsible\" title=\"{{appLocale.LABEL_COLLAPSE}}/{{appLocale.LABEL_EXPAND}}\"></i>\n <span *ngIf=\"showcount\" class=\"label label-default\" [textContent]=\"groupObj.data.length\"></span>\n </div>\n </h4>\n </li>\n <li *ngFor=\"let item of groupObj.data; let i = index;\"\n [ngClass]=\"['checkbox', 'app-checkbox', 'group-list-item', itemclass, itemsPerRowClass]\"\n [class.active]=\"item.selected\"\n [wmItemTemplate]=\"content\" [userComponentParams]=\"item\" partialContainer\n (click)=\"onCheckboxLabelClick($event, item)\">\n <!-- Default item template -->\n <label *ngIf=\"!content\" class=\"app-checkboxset-label\" [ngClass]=\"{'disabled':disabled || readonly}\" [title]=\"item.label\">\n <input [name]=\"'checkboxset_' + widgetId\" type=\"checkbox\" aria-label=\"checkbox group\"\n [tabindex]=\"tabindex\"\n [disabled]=\"disabled || readonly\" [attr.data-attr-index]=\"i\"\n [value]=\"item.key\" [tabindex]=\"tabindex\" [checked]=\"item.selected\"/>\n <span class=\"caption\" [textContent]=\"item.label\"></span>\n </label>\n <!-- Custom partial template -->\n <label *ngIf=\"content\" class=\"app-checkboxset-label\" [ngClass]=\"{'disabled':disabled || readonly}\" >\n <input [name]=\"'checkboxset_' + widgetId\" type=\"checkbox\" aria-label=\"checkbox group\"\n [tabindex]=\"tabindex\"\n [disabled]=\"disabled || readonly\" [attr.data-attr-index]=\"i\"\n [value]=\"item.key\" [tabindex]=\"tabindex\" [checked]=\"item.selected\"/>\n <span class=\"caption\" partial-container-target></span>\n </label>\n </li>\n </ul>\n </li>\n</ng-template>\n" }]
|
|
1092
|
-
}],
|
|
1120
|
+
}], () => [{ type: i0.Injector }, { type: undefined, decorators: [{
|
|
1121
|
+
type: Inject,
|
|
1122
|
+
args: ['EXPLICIT_CONTEXT']
|
|
1123
|
+
}, {
|
|
1124
|
+
type: Optional
|
|
1125
|
+
}] }], { onKeyDown: [{
|
|
1093
1126
|
type: HostListener,
|
|
1094
1127
|
args: ['keydown.enter', ['$event', '"ENTER"']]
|
|
1095
1128
|
}] }); })();
|
|
1129
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CheckboxsetComponent, { className: "CheckboxsetComponent", filePath: "checkboxset/checkboxset.component.ts", lineNumber: 27 }); })();
|
|
1096
1130
|
|
|
1097
1131
|
const registerProps$a = () => {
|
|
1098
1132
|
register('wm-form-group', new Map([
|
|
@@ -1116,8 +1150,8 @@ const CAPTION_POSITION = {
|
|
|
1116
1150
|
};
|
|
1117
1151
|
class CompositeDirective extends StylableComponent {
|
|
1118
1152
|
static { this.initializeProps = registerProps$a(); }
|
|
1119
|
-
constructor(inj) {
|
|
1120
|
-
super(inj, WIDGET_CONFIG$a);
|
|
1153
|
+
constructor(inj, explicitContext) {
|
|
1154
|
+
super(inj, WIDGET_CONFIG$a, explicitContext);
|
|
1121
1155
|
styler(this.nativeElement, this, APPLY_STYLES_TYPE.CONTAINER);
|
|
1122
1156
|
}
|
|
1123
1157
|
/**
|
|
@@ -1153,7 +1187,7 @@ class CompositeDirective extends StylableComponent {
|
|
|
1153
1187
|
addForIdAttributes(this.nativeElement);
|
|
1154
1188
|
this.assignRequiredToSubComponents();
|
|
1155
1189
|
}
|
|
1156
|
-
static { this.ɵfac = function CompositeDirective_Factory(t) { return new (t || CompositeDirective)(i0.ɵɵdirectiveInject(i0.Injector)); }; }
|
|
1190
|
+
static { this.ɵfac = function CompositeDirective_Factory(t) { return new (t || CompositeDirective)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject('EXPLICIT_CONTEXT', 8)); }; }
|
|
1157
1191
|
static { this.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: CompositeDirective, selectors: [["div", "wmComposite", ""]], contentQueries: function CompositeDirective_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {
|
|
1158
1192
|
i0.ɵɵcontentQuery(dirIndex, WidgetRef, 5);
|
|
1159
1193
|
} if (rf & 2) {
|
|
@@ -1163,7 +1197,7 @@ class CompositeDirective extends StylableComponent {
|
|
|
1163
1197
|
provideAsWidgetRef(CompositeDirective)
|
|
1164
1198
|
]), i0.ɵɵInheritDefinitionFeature] }); }
|
|
1165
1199
|
}
|
|
1166
|
-
(
|
|
1200
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CompositeDirective, [{
|
|
1167
1201
|
type: Directive,
|
|
1168
1202
|
args: [{
|
|
1169
1203
|
selector: 'div[wmComposite]',
|
|
@@ -1171,7 +1205,12 @@ class CompositeDirective extends StylableComponent {
|
|
|
1171
1205
|
provideAsWidgetRef(CompositeDirective)
|
|
1172
1206
|
]
|
|
1173
1207
|
}]
|
|
1174
|
-
}],
|
|
1208
|
+
}], () => [{ type: i0.Injector }, { type: undefined, decorators: [{
|
|
1209
|
+
type: Inject,
|
|
1210
|
+
args: ['EXPLICIT_CONTEXT']
|
|
1211
|
+
}, {
|
|
1212
|
+
type: Optional
|
|
1213
|
+
}] }], { componentRefs: [{
|
|
1175
1214
|
type: ContentChildren,
|
|
1176
1215
|
args: [WidgetRef, { descendants: true }]
|
|
1177
1216
|
}] }); })();
|
|
@@ -1233,7 +1272,7 @@ class BaseInput extends BaseFormCustomComponent {
|
|
|
1233
1272
|
}
|
|
1234
1273
|
// invoke the change callback
|
|
1235
1274
|
handleChange(newValue) {
|
|
1236
|
-
if (this.autotrim && this.datavalue &&
|
|
1275
|
+
if (this.autotrim && this.datavalue && isString(this.datavalue)) {
|
|
1237
1276
|
this.datavalue = this.datavalue.trim();
|
|
1238
1277
|
}
|
|
1239
1278
|
this.invokeOnChange(this.datavalue, { type: 'change' }, this.ngModel.valid);
|
|
@@ -1251,7 +1290,7 @@ class BaseInput extends BaseFormCustomComponent {
|
|
|
1251
1290
|
// Update the model on enter key press
|
|
1252
1291
|
flushViewChanges(val) {
|
|
1253
1292
|
// when val contains masked value, update the model with unmasked value
|
|
1254
|
-
const unMaskedVal =
|
|
1293
|
+
const unMaskedVal = get(this.imask, 'maskRef.unmaskedValue');
|
|
1255
1294
|
val = unMaskedVal ? unMaskedVal : val;
|
|
1256
1295
|
this.ngModel.update.next(val);
|
|
1257
1296
|
$appDigest();
|
|
@@ -1264,30 +1303,36 @@ class BaseInput extends BaseFormCustomComponent {
|
|
|
1264
1303
|
}
|
|
1265
1304
|
styler(this.inputEl.nativeElement, this);
|
|
1266
1305
|
}
|
|
1267
|
-
constructor(inj, config) {
|
|
1268
|
-
super(inj, config);
|
|
1306
|
+
constructor(inj, config, explicitContext) {
|
|
1307
|
+
super(inj, config, explicitContext);
|
|
1269
1308
|
// possible values for ngModelOptions are 'blur' and 'change'
|
|
1270
1309
|
// default is 'blur'
|
|
1271
1310
|
this.ngModelOptions = {
|
|
1272
|
-
updateOn: ''
|
|
1311
|
+
updateOn: '',
|
|
1312
|
+
standalone: true
|
|
1273
1313
|
};
|
|
1274
1314
|
let updateOn = this.nativeElement.getAttribute('updateon') || 'blur';
|
|
1275
1315
|
updateOn = updateOn === 'default' ? 'change' : updateOn;
|
|
1276
1316
|
this.ngModelOptions.updateOn = updateOn;
|
|
1277
1317
|
}
|
|
1278
|
-
static { this.ɵfac = function BaseInput_Factory(t) { return new (t || BaseInput)(i0.ɵɵinject(i0.Injector), i0.ɵɵinject(WidgetConfig)); }; }
|
|
1318
|
+
static { this.ɵfac = function BaseInput_Factory(t) { return new (t || BaseInput)(i0.ɵɵinject(i0.Injector), i0.ɵɵinject(WidgetConfig), i0.ɵɵinject('EXPLICIT_CONTEXT', 8)); }; }
|
|
1279
1319
|
static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: BaseInput, factory: BaseInput.ɵfac }); }
|
|
1280
1320
|
}
|
|
1281
|
-
(
|
|
1321
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(BaseInput, [{
|
|
1282
1322
|
type: Injectable
|
|
1283
|
-
}],
|
|
1323
|
+
}], () => [{ type: i0.Injector }, { type: undefined, decorators: [{
|
|
1284
1324
|
type: Inject,
|
|
1285
1325
|
args: [WidgetConfig]
|
|
1286
|
-
}] }
|
|
1326
|
+
}] }, { type: undefined, decorators: [{
|
|
1327
|
+
type: Inject,
|
|
1328
|
+
args: ['EXPLICIT_CONTEXT']
|
|
1329
|
+
}, {
|
|
1330
|
+
type: Optional
|
|
1331
|
+
}] }], null); })();
|
|
1287
1332
|
|
|
1288
|
-
class NumberLocale extends BaseInput {
|
|
1289
|
-
constructor(inj, config, i18nService, trailingZeroDecimalPipe) {
|
|
1290
|
-
super(inj, config);
|
|
1333
|
+
let NumberLocale = class NumberLocale extends BaseInput {
|
|
1334
|
+
constructor(inj, config, i18nService, trailingZeroDecimalPipe, explicitContext) {
|
|
1335
|
+
super(inj, config, explicitContext);
|
|
1291
1336
|
this.i18nService = i18nService;
|
|
1292
1337
|
this.trailingZeroDecimalPipe = trailingZeroDecimalPipe;
|
|
1293
1338
|
this.isDefaultQuery = true;
|
|
@@ -1303,7 +1348,8 @@ class NumberLocale extends BaseInput {
|
|
|
1303
1348
|
set datavalue(value) {
|
|
1304
1349
|
this.lastValIsDecimal = false;
|
|
1305
1350
|
// set text value to null if data value is empty.
|
|
1306
|
-
|
|
1351
|
+
// @ts-ignore
|
|
1352
|
+
if (includes([null, undefined, ''], value)) {
|
|
1307
1353
|
const input = this.inputEl.nativeElement;
|
|
1308
1354
|
const prevDataValue = this.prevDatavalue;
|
|
1309
1355
|
this.displayValue = input.value = this.proxyModel = null;
|
|
@@ -1316,8 +1362,8 @@ class NumberLocale extends BaseInput {
|
|
|
1316
1362
|
}
|
|
1317
1363
|
// if the widget has default value and if we change the locale, the value should be in selected locale format.
|
|
1318
1364
|
if (this.isDefaultQuery) {
|
|
1319
|
-
const isLocalizedNumber =
|
|
1320
|
-
const parts = isLocalizedNumber ? value.split(this.DECIMAL) :
|
|
1365
|
+
const isLocalizedNumber = isString(value) && includes(value, this.DECIMAL);
|
|
1366
|
+
const parts = isLocalizedNumber ? value.split(this.DECIMAL) : isString(value) && value.split('.');
|
|
1321
1367
|
this.decimalValue = parts[1] || '';
|
|
1322
1368
|
value = isLocalizedNumber ? value : this.transformNumber(value);
|
|
1323
1369
|
}
|
|
@@ -1332,7 +1378,7 @@ class NumberLocale extends BaseInput {
|
|
|
1332
1378
|
model = NaN;
|
|
1333
1379
|
}
|
|
1334
1380
|
// On keypress, if the user types a decimal and is still active on the input do not throw error.
|
|
1335
|
-
if (
|
|
1381
|
+
if (isNaN(model) && strVal[strVal.length - 1] === this.DECIMAL && this.ngModelOptions.updateOn === 'change' && this.$element.find('input:focus').length) {
|
|
1336
1382
|
this.lastValIsDecimal = true;
|
|
1337
1383
|
}
|
|
1338
1384
|
// get a valid number form the text.
|
|
@@ -1368,7 +1414,7 @@ class NumberLocale extends BaseInput {
|
|
|
1368
1414
|
*/
|
|
1369
1415
|
isValid(val) {
|
|
1370
1416
|
// id number is infinite then consider it as invalid value
|
|
1371
|
-
if (
|
|
1417
|
+
if (isNaN(val) || !isFinite(val) || (!Number.isInteger(this.step) &&
|
|
1372
1418
|
this.countDecimals(val) > this.countDecimals(this.step))) {
|
|
1373
1419
|
this.isInvalidNumber = true;
|
|
1374
1420
|
return false;
|
|
@@ -1386,11 +1432,11 @@ class NumberLocale extends BaseInput {
|
|
|
1386
1432
|
* @returns {number}
|
|
1387
1433
|
*/
|
|
1388
1434
|
getValueInRange(value) {
|
|
1389
|
-
if (!
|
|
1435
|
+
if (!isNaN(this.minvalue) && value < this.minvalue) {
|
|
1390
1436
|
this.validateType = 'minvalue';
|
|
1391
1437
|
return this.minvalue;
|
|
1392
1438
|
}
|
|
1393
|
-
if (!
|
|
1439
|
+
if (!isNaN(this.maxvalue) && value > this.maxvalue) {
|
|
1394
1440
|
this.validateType = 'maxvalue';
|
|
1395
1441
|
return this.maxvalue;
|
|
1396
1442
|
}
|
|
@@ -1519,7 +1565,7 @@ class NumberLocale extends BaseInput {
|
|
|
1519
1565
|
const valInWholeNum = parseInt(value.toString().replace(/\D/g, ''));
|
|
1520
1566
|
financialVal = valInWholeNum * this.step;
|
|
1521
1567
|
}
|
|
1522
|
-
if (!
|
|
1568
|
+
if (!isNaN(financialVal)) {
|
|
1523
1569
|
// When update on key is set keypress, update the datavalue else update only the display value
|
|
1524
1570
|
if (this.ngModelOptions.updateOn === 'change') {
|
|
1525
1571
|
this.datavalue = parseFloat(financialVal.toFixed(stepVal));
|
|
@@ -1579,7 +1625,7 @@ class NumberLocale extends BaseInput {
|
|
|
1579
1625
|
const targetVal = $event.target.value.replace(/,/g, '');
|
|
1580
1626
|
// proxyModel to be updated from $event.target.value if present to support arrow keys when input changes else pick up from this.proxymodel
|
|
1581
1627
|
let proxyModel;
|
|
1582
|
-
if (targetVal && !
|
|
1628
|
+
if (targetVal && !isNaN(parseFloat(targetVal))) {
|
|
1583
1629
|
proxyModel = parseFloat(targetVal);
|
|
1584
1630
|
}
|
|
1585
1631
|
else {
|
|
@@ -1590,14 +1636,14 @@ class NumberLocale extends BaseInput {
|
|
|
1590
1636
|
if (this.numberNotInRange) {
|
|
1591
1637
|
const inputValue = this.parseNumber(this.inputEl.nativeElement.value);
|
|
1592
1638
|
// take the textbox value as current model if the value is valid.
|
|
1593
|
-
if (!
|
|
1639
|
+
if (!isNaN(inputValue)) {
|
|
1594
1640
|
value = this.getValueInRange(inputValue);
|
|
1595
1641
|
proxyModel = inputValue;
|
|
1596
1642
|
this.resetValidations();
|
|
1597
1643
|
}
|
|
1598
1644
|
}
|
|
1599
1645
|
else {
|
|
1600
|
-
if (
|
|
1646
|
+
if (isUndefined(proxyModel) || isNull(proxyModel)) {
|
|
1601
1647
|
proxyModel = value = this.getValueInRange((this.minvalue || 0));
|
|
1602
1648
|
this.resetValidations();
|
|
1603
1649
|
}
|
|
@@ -1608,7 +1654,7 @@ class NumberLocale extends BaseInput {
|
|
|
1608
1654
|
if ((key === 'UP' && proxyModel <= value) || (key === 'DOWN' && proxyModel >= value)) {
|
|
1609
1655
|
const decimalRoundValue = Math.max(this.countDecimals(proxyModel), this.countDecimals(this.step));
|
|
1610
1656
|
// update the modelProxy.
|
|
1611
|
-
this.proxyModel =
|
|
1657
|
+
this.proxyModel = round(value, decimalRoundValue);
|
|
1612
1658
|
this.updateDisplayText();
|
|
1613
1659
|
this.handleChange(this.proxyModel);
|
|
1614
1660
|
}
|
|
@@ -1643,7 +1689,7 @@ class NumberLocale extends BaseInput {
|
|
|
1643
1689
|
validateInputEntry($event) {
|
|
1644
1690
|
this.isDefaultQuery = false;
|
|
1645
1691
|
// allow actions if control key is pressed or if backspace is pressed. (for Mozilla).
|
|
1646
|
-
if ($event.ctrlKey ||
|
|
1692
|
+
if ($event.ctrlKey || includes(['Backspace', 'ArrowRight', 'ArrowLeft', 'Tab', 'Enter', 'Delete'], $event.key)) {
|
|
1647
1693
|
return;
|
|
1648
1694
|
}
|
|
1649
1695
|
const validity = new RegExp(`^[\\d\\s-,.e+${this.GROUP}${this.DECIMAL}]$`, 'i');
|
|
@@ -1674,18 +1720,18 @@ class NumberLocale extends BaseInput {
|
|
|
1674
1720
|
return false;
|
|
1675
1721
|
}
|
|
1676
1722
|
// comma cannot be entered consecutively
|
|
1677
|
-
if (
|
|
1723
|
+
if (includes(inputValue, ',') && inputValue[inputValue.length - 1] === ',' && $event.key === ',') {
|
|
1678
1724
|
return false;
|
|
1679
1725
|
}
|
|
1680
1726
|
// a decimal value can be entered only once in the input.
|
|
1681
|
-
if (
|
|
1727
|
+
if (includes(inputValue, this.DECIMAL) && $event.key === this.DECIMAL) {
|
|
1682
1728
|
return false;
|
|
1683
1729
|
}
|
|
1684
1730
|
// 'e' can be entered only once in the input.
|
|
1685
|
-
if (
|
|
1731
|
+
if (intersection(toArray(inputValue), ['e', 'E']).length && includes('eE', $event.key)) {
|
|
1686
1732
|
return false;
|
|
1687
1733
|
}
|
|
1688
|
-
if ((
|
|
1734
|
+
if ((includes(inputValue, '+') || includes(inputValue, '-')) && ($event.key === '+' || $event.key === '-')) {
|
|
1689
1735
|
return false;
|
|
1690
1736
|
}
|
|
1691
1737
|
// Do not allow user to enter only space without any input value
|
|
@@ -1720,7 +1766,13 @@ class NumberLocale extends BaseInput {
|
|
|
1720
1766
|
super.onPropertyChange(key, nv, ov);
|
|
1721
1767
|
}
|
|
1722
1768
|
}
|
|
1723
|
-
}
|
|
1769
|
+
};
|
|
1770
|
+
NumberLocale = __decorate([
|
|
1771
|
+
__param(4, Inject('EXPLICIT_CONTEXT')),
|
|
1772
|
+
__param(4, Optional()),
|
|
1773
|
+
__metadata("design:paramtypes", [Injector, Object, AbstractI18nService,
|
|
1774
|
+
TrailingZeroDecimalPipe, Object])
|
|
1775
|
+
], NumberLocale);
|
|
1724
1776
|
|
|
1725
1777
|
const _c0$9 = ["input"];
|
|
1726
1778
|
const _c1$8 = ["wmNumber", ""];
|
|
@@ -1730,10 +1782,10 @@ const WIDGET_CONFIG$9 = {
|
|
|
1730
1782
|
};
|
|
1731
1783
|
class NumberComponent extends NumberLocale {
|
|
1732
1784
|
static { this.initializeProps = registerProps$9(); }
|
|
1733
|
-
constructor(inj, i18nService, trailingZeroDecimalPipe) {
|
|
1734
|
-
super(inj, WIDGET_CONFIG$9, i18nService, trailingZeroDecimalPipe);
|
|
1785
|
+
constructor(inj, i18nService, trailingZeroDecimalPipe, explicitContext) {
|
|
1786
|
+
super(inj, WIDGET_CONFIG$9, i18nService, trailingZeroDecimalPipe, explicitContext);
|
|
1735
1787
|
}
|
|
1736
|
-
static { this.ɵfac = function NumberComponent_Factory(t) { return new (t || NumberComponent)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(i1$1.AbstractI18nService), i0.ɵɵdirectiveInject(i2.TrailingZeroDecimalPipe)); }; }
|
|
1788
|
+
static { this.ɵfac = function NumberComponent_Factory(t) { return new (t || NumberComponent)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(i1$1.AbstractI18nService), i0.ɵɵdirectiveInject(i2.TrailingZeroDecimalPipe), i0.ɵɵdirectiveInject('EXPLICIT_CONTEXT', 8)); }; }
|
|
1737
1789
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: NumberComponent, selectors: [["", "wmNumber", ""]], viewQuery: function NumberComponent_Query(rf, ctx) { if (rf & 1) {
|
|
1738
1790
|
i0.ɵɵviewQuery(_c0$9, 7);
|
|
1739
1791
|
i0.ɵɵviewQuery(NgModel, 7);
|
|
@@ -1745,29 +1797,36 @@ class NumberComponent extends NumberLocale {
|
|
|
1745
1797
|
provideAs(NumberComponent, NG_VALUE_ACCESSOR, true),
|
|
1746
1798
|
provideAs(NumberComponent, NG_VALIDATORS, true),
|
|
1747
1799
|
provideAsWidgetRef(NumberComponent)
|
|
1748
|
-
]), i0.ɵɵInheritDefinitionFeature], attrs: _c1$8, decls: 2, vars: 14, consts: [["inputmode", "decimal", "focus-target", "", "role", "textbox", "type", "text", 1, "form-control", "app-textbox", "app-number-input", 3, "
|
|
1749
|
-
i0.ɵɵ
|
|
1750
|
-
i0.ɵɵ
|
|
1800
|
+
]), i0.ɵɵInheritDefinitionFeature], attrs: _c1$8, decls: 2, vars: 14, consts: [["input", ""], ["inputmode", "decimal", "focus-target", "", "role", "textbox", "type", "text", 1, "form-control", "app-textbox", "app-number-input", 3, "ngModelChange", "blur", "focus", "input", "keypress", "keydown.backspace", "keydown.enter", "keydown.ArrowUp", "keydown.ArrowDown", "ngModel", "readonly", "disabled", "pattern", "autofocus", "ngClass", "ngStyle", "ngModelOptions", "required"]], template: function NumberComponent_Template(rf, ctx) { if (rf & 1) {
|
|
1801
|
+
const _r1 = i0.ɵɵgetCurrentView();
|
|
1802
|
+
i0.ɵɵelementStart(0, "input", 1, 0);
|
|
1803
|
+
i0.ɵɵlistener("ngModelChange", function NumberComponent_Template_input_ngModelChange_0_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onModelChange($event)); })("blur", function NumberComponent_Template_input_blur_0_listener($event) { i0.ɵɵrestoreView(_r1); ctx.handleBlur($event); return i0.ɵɵresetView(ctx.checkForTrailingZeros($event)); })("focus", function NumberComponent_Template_input_focus_0_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.checkForTrailingZeros($event)); })("input", function NumberComponent_Template_input_input_0_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onInputChange($event.target.value)); })("keypress", function NumberComponent_Template_input_keypress_0_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.validateInputEntry($event)); })("keydown.backspace", function NumberComponent_Template_input_keydown_backspace_0_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onBackspace($event)); })("keydown.enter", function NumberComponent_Template_input_keydown_enter_0_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onEnter($event)); })("keydown.ArrowUp", function NumberComponent_Template_input_keydown_ArrowUp_0_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onArrowPress($event, "UP")); })("keydown.ArrowDown", function NumberComponent_Template_input_keydown_ArrowDown_0_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onArrowPress($event, "DOWN")); });
|
|
1751
1804
|
i0.ɵɵelementEnd();
|
|
1752
1805
|
} if (rf & 2) {
|
|
1753
1806
|
i0.ɵɵproperty("ngModel", ctx.displayValue)("readonly", ctx.readonly)("disabled", ctx.disabled)("pattern", ctx.regexp)("autofocus", ctx.autofocus)("ngClass", ctx.conditionalclass)("ngStyle", ctx.conditionalstyle)("ngModelOptions", ctx.ngModelOptions)("required", ctx.required);
|
|
1754
1807
|
i0.ɵɵattribute("name", ctx.name)("tabindex", ctx.tabindex)("placeholder", ctx.placeholder)("accesskey", ctx.shortcutkey)("aria-label", ctx.hint);
|
|
1755
1808
|
} }, dependencies: [i1.NgClass, i1.NgStyle, i2$1.DefaultValueAccessor, i2$1.NgControlStatus, i2$1.RequiredValidator, i2$1.PatternValidator, i2$1.NgModel], encapsulation: 2 }); }
|
|
1756
1809
|
}
|
|
1757
|
-
(
|
|
1810
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(NumberComponent, [{
|
|
1758
1811
|
type: Component,
|
|
1759
1812
|
args: [{ selector: '[wmNumber]', providers: [
|
|
1760
1813
|
provideAs(NumberComponent, NG_VALUE_ACCESSOR, true),
|
|
1761
1814
|
provideAs(NumberComponent, NG_VALIDATORS, true),
|
|
1762
1815
|
provideAsWidgetRef(NumberComponent)
|
|
1763
1816
|
], 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" }]
|
|
1764
|
-
}],
|
|
1817
|
+
}], () => [{ type: i0.Injector }, { type: i1$1.AbstractI18nService }, { type: i2.TrailingZeroDecimalPipe }, { type: undefined, decorators: [{
|
|
1818
|
+
type: Inject,
|
|
1819
|
+
args: ['EXPLICIT_CONTEXT']
|
|
1820
|
+
}, {
|
|
1821
|
+
type: Optional
|
|
1822
|
+
}] }], { inputEl: [{
|
|
1765
1823
|
type: ViewChild,
|
|
1766
1824
|
args: ['input', { static: true }]
|
|
1767
1825
|
}], ngModel: [{
|
|
1768
1826
|
type: ViewChild,
|
|
1769
1827
|
args: [NgModel, { static: true }]
|
|
1770
1828
|
}] }); })();
|
|
1829
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(NumberComponent, { className: "NumberComponent", filePath: "number/number.component.ts", lineNumber: 24 }); })();
|
|
1771
1830
|
|
|
1772
1831
|
const radiosetProps = new Map([
|
|
1773
1832
|
['class', PROP_STRING],
|
|
@@ -1803,60 +1862,61 @@ const registerProps$8 = () => {
|
|
|
1803
1862
|
};
|
|
1804
1863
|
|
|
1805
1864
|
const _c0$8 = ["wmRadioset", ""];
|
|
1806
|
-
const _c1$7 =
|
|
1865
|
+
const _c1$7 = (a0, a1) => ["radio", "app-radio", a0, a1];
|
|
1866
|
+
const _c2$5 = a0 => ({ "disabled": a0 });
|
|
1867
|
+
const _c3 = a0 => ({ "collapsible-content": a0 });
|
|
1868
|
+
const _c4 = (a0, a1) => ["radio", "app-radio", "group-list-item", a0, a1];
|
|
1807
1869
|
function RadiosetComponent_ng_template_0_li_0_label_1_Template(rf, ctx) { if (rf & 1) {
|
|
1808
1870
|
i0.ɵɵelementStart(0, "label", 7);
|
|
1809
1871
|
i0.ɵɵelement(1, "input", 8)(2, "span", 9);
|
|
1810
1872
|
i0.ɵɵelementEnd();
|
|
1811
1873
|
} if (rf & 2) {
|
|
1812
|
-
const
|
|
1813
|
-
const
|
|
1814
|
-
const
|
|
1815
|
-
const
|
|
1816
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10,
|
|
1817
|
-
i0.ɵɵadvance(
|
|
1818
|
-
i0.ɵɵproperty("name", "radioset_" +
|
|
1819
|
-
i0.ɵɵattribute("aria-checked",
|
|
1820
|
-
i0.ɵɵadvance(
|
|
1821
|
-
i0.ɵɵproperty("textContent",
|
|
1874
|
+
const ctx_r3 = i0.ɵɵnextContext();
|
|
1875
|
+
const item_r2 = ctx_r3.$implicit;
|
|
1876
|
+
const i_r5 = ctx_r3.index;
|
|
1877
|
+
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
1878
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c2$5, ctx_r2.disabled || ctx_r2.readonly));
|
|
1879
|
+
i0.ɵɵadvance();
|
|
1880
|
+
i0.ɵɵproperty("name", "radioset_" + ctx_r2.widgetId)("value", item_r2.key)("disabled", ctx_r2.disabled || ctx_r2.readonly)("tabindex", ctx_r2.tabindex)("checked", item_r2.selected);
|
|
1881
|
+
i0.ɵɵattribute("aria-checked", item_r2.selected)("data-attr-index", i_r5)("aria-label", item_r2.key);
|
|
1882
|
+
i0.ɵɵadvance();
|
|
1883
|
+
i0.ɵɵproperty("textContent", item_r2.label);
|
|
1822
1884
|
} }
|
|
1823
1885
|
function RadiosetComponent_ng_template_0_li_0_label_2_Template(rf, ctx) { if (rf & 1) {
|
|
1824
1886
|
i0.ɵɵelementStart(0, "label", 7);
|
|
1825
1887
|
i0.ɵɵelement(1, "input", 8)(2, "span", 10);
|
|
1826
1888
|
i0.ɵɵelementEnd();
|
|
1827
1889
|
} if (rf & 2) {
|
|
1828
|
-
const
|
|
1829
|
-
const
|
|
1830
|
-
const
|
|
1831
|
-
const
|
|
1832
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9,
|
|
1833
|
-
i0.ɵɵadvance(
|
|
1834
|
-
i0.ɵɵproperty("name", "radioset_" +
|
|
1835
|
-
i0.ɵɵattribute("aria-checked",
|
|
1890
|
+
const ctx_r3 = i0.ɵɵnextContext();
|
|
1891
|
+
const item_r2 = ctx_r3.$implicit;
|
|
1892
|
+
const i_r5 = ctx_r3.index;
|
|
1893
|
+
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
1894
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c2$5, ctx_r2.disabled || ctx_r2.readonly));
|
|
1895
|
+
i0.ɵɵadvance();
|
|
1896
|
+
i0.ɵɵproperty("name", "radioset_" + ctx_r2.widgetId)("value", item_r2.key)("disabled", ctx_r2.disabled || ctx_r2.readonly)("tabindex", ctx_r2.tabindex)("checked", item_r2.selected);
|
|
1897
|
+
i0.ɵɵattribute("aria-checked", item_r2.selected)("data-attr-index", i_r5)("aria-label", item_r2.key);
|
|
1836
1898
|
} }
|
|
1837
|
-
const _c2$2 = function (a2, a3) { return ["radio", "app-radio", a2, a3]; };
|
|
1838
1899
|
function RadiosetComponent_ng_template_0_li_0_Template(rf, ctx) { if (rf & 1) {
|
|
1839
|
-
const
|
|
1900
|
+
const _r1 = i0.ɵɵgetCurrentView();
|
|
1840
1901
|
i0.ɵɵelementStart(0, "li", 5);
|
|
1841
|
-
i0.ɵɵlistener("click", function RadiosetComponent_ng_template_0_li_0_Template_li_click_0_listener($event) { const
|
|
1842
|
-
i0.ɵɵtemplate(1, RadiosetComponent_ng_template_0_li_0_label_1_Template, 3, 12, "label", 6);
|
|
1843
|
-
i0.ɵɵtemplate(2, RadiosetComponent_ng_template_0_li_0_label_2_Template, 3, 11, "label", 6);
|
|
1902
|
+
i0.ɵɵlistener("click", function RadiosetComponent_ng_template_0_li_0_Template_li_click_0_listener($event) { const item_r2 = i0.ɵɵrestoreView(_r1).$implicit; const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.onRadioLabelClick($event, item_r2.key)); });
|
|
1903
|
+
i0.ɵɵtemplate(1, RadiosetComponent_ng_template_0_li_0_label_1_Template, 3, 12, "label", 6)(2, RadiosetComponent_ng_template_0_li_0_label_2_Template, 3, 11, "label", 6);
|
|
1844
1904
|
i0.ɵɵelementEnd();
|
|
1845
1905
|
} if (rf & 2) {
|
|
1846
|
-
const
|
|
1847
|
-
const
|
|
1848
|
-
i0.ɵɵclassProp("active",
|
|
1849
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(7,
|
|
1850
|
-
i0.ɵɵadvance(
|
|
1851
|
-
i0.ɵɵproperty("ngIf", !
|
|
1852
|
-
i0.ɵɵadvance(
|
|
1853
|
-
i0.ɵɵproperty("ngIf",
|
|
1906
|
+
const item_r2 = ctx.$implicit;
|
|
1907
|
+
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
1908
|
+
i0.ɵɵclassProp("active", item_r2.selected);
|
|
1909
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(7, _c1$7, ctx_r2.itemclass, ctx_r2.itemsPerRowClass))("wmItemTemplate", ctx_r2.content)("userComponentParams", item_r2);
|
|
1910
|
+
i0.ɵɵadvance();
|
|
1911
|
+
i0.ɵɵproperty("ngIf", !ctx_r2.content);
|
|
1912
|
+
i0.ɵɵadvance();
|
|
1913
|
+
i0.ɵɵproperty("ngIf", ctx_r2.content);
|
|
1854
1914
|
} }
|
|
1855
1915
|
function RadiosetComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {
|
|
1856
1916
|
i0.ɵɵtemplate(0, RadiosetComponent_ng_template_0_li_0_Template, 3, 10, "li", 4);
|
|
1857
1917
|
} if (rf & 2) {
|
|
1858
|
-
const
|
|
1859
|
-
i0.ɵɵproperty("ngForOf",
|
|
1918
|
+
const ctx_r2 = i0.ɵɵnextContext();
|
|
1919
|
+
i0.ɵɵproperty("ngForOf", ctx_r2.datasetItems);
|
|
1860
1920
|
} }
|
|
1861
1921
|
function RadiosetComponent_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
1862
1922
|
i0.ɵɵelement(0, "div", 11);
|
|
@@ -1864,102 +1924,98 @@ function RadiosetComponent_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
|
1864
1924
|
function RadiosetComponent_ng_template_3_li_0_i_6_Template(rf, ctx) { if (rf & 1) {
|
|
1865
1925
|
i0.ɵɵelement(0, "i", 21);
|
|
1866
1926
|
} if (rf & 2) {
|
|
1867
|
-
const
|
|
1868
|
-
i0.ɵɵpropertyInterpolate2("title", "",
|
|
1927
|
+
const ctx_r2 = i0.ɵɵnextContext(3);
|
|
1928
|
+
i0.ɵɵpropertyInterpolate2("title", "", ctx_r2.appLocale.LABEL_COLLAPSE, "/", ctx_r2.appLocale.LABEL_EXPAND, "");
|
|
1869
1929
|
} }
|
|
1870
1930
|
function RadiosetComponent_ng_template_3_li_0_span_7_Template(rf, ctx) { if (rf & 1) {
|
|
1871
1931
|
i0.ɵɵelement(0, "span", 22);
|
|
1872
1932
|
} if (rf & 2) {
|
|
1873
|
-
const
|
|
1874
|
-
i0.ɵɵproperty("textContent",
|
|
1933
|
+
const groupObj_r7 = i0.ɵɵnextContext().$implicit;
|
|
1934
|
+
i0.ɵɵproperty("textContent", groupObj_r7.data.length);
|
|
1875
1935
|
} }
|
|
1876
1936
|
function RadiosetComponent_ng_template_3_li_0_li_8_label_1_Template(rf, ctx) { if (rf & 1) {
|
|
1877
1937
|
i0.ɵɵelementStart(0, "label", 7);
|
|
1878
1938
|
i0.ɵɵelement(1, "input", 8)(2, "span", 9);
|
|
1879
1939
|
i0.ɵɵelementEnd();
|
|
1880
1940
|
} if (rf & 2) {
|
|
1881
|
-
const
|
|
1882
|
-
const
|
|
1883
|
-
const
|
|
1884
|
-
const
|
|
1885
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9,
|
|
1886
|
-
i0.ɵɵadvance(
|
|
1887
|
-
i0.ɵɵproperty("name", "radioset_" +
|
|
1888
|
-
i0.ɵɵattribute("aria-checked",
|
|
1889
|
-
i0.ɵɵadvance(
|
|
1890
|
-
i0.ɵɵproperty("textContent",
|
|
1941
|
+
const ctx_r9 = i0.ɵɵnextContext();
|
|
1942
|
+
const item_r9 = ctx_r9.$implicit;
|
|
1943
|
+
const i_r11 = ctx_r9.index;
|
|
1944
|
+
const ctx_r2 = i0.ɵɵnextContext(3);
|
|
1945
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c2$5, ctx_r2.disabled || ctx_r2.readonly));
|
|
1946
|
+
i0.ɵɵadvance();
|
|
1947
|
+
i0.ɵɵproperty("name", "radioset_" + ctx_r2.widgetId)("value", item_r9.key)("disabled", ctx_r2.disabled || ctx_r2.readonly)("tabindex", ctx_r2.tabindex)("checked", item_r9.selected);
|
|
1948
|
+
i0.ɵɵattribute("aria-checked", item_r9.selected)("data-attr-index", i_r11);
|
|
1949
|
+
i0.ɵɵadvance();
|
|
1950
|
+
i0.ɵɵproperty("textContent", item_r9.label);
|
|
1891
1951
|
} }
|
|
1892
1952
|
function RadiosetComponent_ng_template_3_li_0_li_8_label_2_Template(rf, ctx) { if (rf & 1) {
|
|
1893
1953
|
i0.ɵɵelementStart(0, "label", 7);
|
|
1894
1954
|
i0.ɵɵelement(1, "input", 8)(2, "span", 10);
|
|
1895
1955
|
i0.ɵɵelementEnd();
|
|
1896
1956
|
} if (rf & 2) {
|
|
1897
|
-
const
|
|
1898
|
-
const
|
|
1899
|
-
const
|
|
1900
|
-
const
|
|
1901
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8,
|
|
1902
|
-
i0.ɵɵadvance(
|
|
1903
|
-
i0.ɵɵproperty("name", "radioset_" +
|
|
1904
|
-
i0.ɵɵattribute("aria-checked",
|
|
1957
|
+
const ctx_r9 = i0.ɵɵnextContext();
|
|
1958
|
+
const item_r9 = ctx_r9.$implicit;
|
|
1959
|
+
const i_r11 = ctx_r9.index;
|
|
1960
|
+
const ctx_r2 = i0.ɵɵnextContext(3);
|
|
1961
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c2$5, ctx_r2.disabled || ctx_r2.readonly));
|
|
1962
|
+
i0.ɵɵadvance();
|
|
1963
|
+
i0.ɵɵproperty("name", "radioset_" + ctx_r2.widgetId)("value", item_r9.key)("disabled", ctx_r2.disabled || ctx_r2.readonly)("tabindex", ctx_r2.tabindex)("checked", item_r9.selected);
|
|
1964
|
+
i0.ɵɵattribute("aria-checked", item_r9.selected)("data-attr-index", i_r11);
|
|
1905
1965
|
} }
|
|
1906
|
-
const _c3 = function (a3, a4) { return ["radio", "app-radio", "group-list-item", a3, a4]; };
|
|
1907
1966
|
function RadiosetComponent_ng_template_3_li_0_li_8_Template(rf, ctx) { if (rf & 1) {
|
|
1908
|
-
const
|
|
1967
|
+
const _r8 = i0.ɵɵgetCurrentView();
|
|
1909
1968
|
i0.ɵɵelementStart(0, "li", 23);
|
|
1910
|
-
i0.ɵɵlistener("click", function RadiosetComponent_ng_template_3_li_0_li_8_Template_li_click_0_listener($event) { const
|
|
1911
|
-
i0.ɵɵtemplate(1, RadiosetComponent_ng_template_3_li_0_li_8_label_1_Template, 3, 11, "label", 6);
|
|
1912
|
-
i0.ɵɵtemplate(2, RadiosetComponent_ng_template_3_li_0_li_8_label_2_Template, 3, 10, "label", 6);
|
|
1969
|
+
i0.ɵɵlistener("click", function RadiosetComponent_ng_template_3_li_0_li_8_Template_li_click_0_listener($event) { const item_r9 = i0.ɵɵrestoreView(_r8).$implicit; const ctx_r2 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r2.onRadioLabelClick($event, item_r9)); });
|
|
1970
|
+
i0.ɵɵtemplate(1, RadiosetComponent_ng_template_3_li_0_li_8_label_1_Template, 3, 11, "label", 6)(2, RadiosetComponent_ng_template_3_li_0_li_8_label_2_Template, 3, 10, "label", 6);
|
|
1913
1971
|
i0.ɵɵelementEnd();
|
|
1914
1972
|
} if (rf & 2) {
|
|
1915
|
-
const
|
|
1916
|
-
const
|
|
1917
|
-
i0.ɵɵclassProp("active",
|
|
1918
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(7,
|
|
1919
|
-
i0.ɵɵadvance(
|
|
1920
|
-
i0.ɵɵproperty("ngIf", !
|
|
1921
|
-
i0.ɵɵadvance(
|
|
1922
|
-
i0.ɵɵproperty("ngIf",
|
|
1973
|
+
const item_r9 = ctx.$implicit;
|
|
1974
|
+
const ctx_r2 = i0.ɵɵnextContext(3);
|
|
1975
|
+
i0.ɵɵclassProp("active", item_r9.selected);
|
|
1976
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(7, _c4, ctx_r2.itemclass, ctx_r2.itemsPerRowClass))("wmItemTemplate", ctx_r2.content)("userComponentParams", item_r9);
|
|
1977
|
+
i0.ɵɵadvance();
|
|
1978
|
+
i0.ɵɵproperty("ngIf", !ctx_r2.content);
|
|
1979
|
+
i0.ɵɵadvance();
|
|
1980
|
+
i0.ɵɵproperty("ngIf", ctx_r2.content);
|
|
1923
1981
|
} }
|
|
1924
|
-
const _c4 = function (a0) { return { "collapsible-content": a0 }; };
|
|
1925
1982
|
function RadiosetComponent_ng_template_3_li_0_Template(rf, ctx) { if (rf & 1) {
|
|
1926
|
-
const
|
|
1983
|
+
const _r6 = i0.ɵɵgetCurrentView();
|
|
1927
1984
|
i0.ɵɵelementStart(0, "li", 13)(1, "ul", 14)(2, "li", 15);
|
|
1928
|
-
i0.ɵɵlistener("click", function RadiosetComponent_ng_template_3_li_0_Template_li_click_2_listener($event) { i0.ɵɵrestoreView(
|
|
1985
|
+
i0.ɵɵlistener("click", function RadiosetComponent_ng_template_3_li_0_Template_li_click_2_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.handleHeaderClick($event)); });
|
|
1929
1986
|
i0.ɵɵelementStart(3, "h4", 16);
|
|
1930
1987
|
i0.ɵɵtext(4);
|
|
1931
1988
|
i0.ɵɵelementStart(5, "div", 17);
|
|
1932
|
-
i0.ɵɵtemplate(6, RadiosetComponent_ng_template_3_li_0_i_6_Template, 1,
|
|
1933
|
-
i0.ɵɵtemplate(7, RadiosetComponent_ng_template_3_li_0_span_7_Template, 1, 1, "span", 19);
|
|
1989
|
+
i0.ɵɵtemplate(6, RadiosetComponent_ng_template_3_li_0_i_6_Template, 1, 3, "i", 18)(7, RadiosetComponent_ng_template_3_li_0_span_7_Template, 1, 1, "span", 19);
|
|
1934
1990
|
i0.ɵɵelementEnd()()();
|
|
1935
1991
|
i0.ɵɵtemplate(8, RadiosetComponent_ng_template_3_li_0_li_8_Template, 3, 10, "li", 20);
|
|
1936
1992
|
i0.ɵɵelementEnd()();
|
|
1937
1993
|
} if (rf & 2) {
|
|
1938
|
-
const
|
|
1939
|
-
const
|
|
1994
|
+
const groupObj_r7 = ctx.$implicit;
|
|
1995
|
+
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
1940
1996
|
i0.ɵɵadvance(2);
|
|
1941
|
-
i0.ɵɵproperty("title",
|
|
1997
|
+
i0.ɵɵproperty("title", groupObj_r7.key)("ngClass", i0.ɵɵpureFunction1(6, _c3, ctx_r2.collapsible));
|
|
1942
1998
|
i0.ɵɵadvance(2);
|
|
1943
|
-
i0.ɵɵtextInterpolate1("",
|
|
1999
|
+
i0.ɵɵtextInterpolate1("", groupObj_r7.key, " ");
|
|
1944
2000
|
i0.ɵɵadvance(2);
|
|
1945
|
-
i0.ɵɵproperty("ngIf",
|
|
1946
|
-
i0.ɵɵadvance(
|
|
1947
|
-
i0.ɵɵproperty("ngIf",
|
|
1948
|
-
i0.ɵɵadvance(
|
|
1949
|
-
i0.ɵɵproperty("ngForOf",
|
|
2001
|
+
i0.ɵɵproperty("ngIf", ctx_r2.collapsible);
|
|
2002
|
+
i0.ɵɵadvance();
|
|
2003
|
+
i0.ɵɵproperty("ngIf", ctx_r2.showcount);
|
|
2004
|
+
i0.ɵɵadvance();
|
|
2005
|
+
i0.ɵɵproperty("ngForOf", groupObj_r7.data);
|
|
1950
2006
|
} }
|
|
1951
2007
|
function RadiosetComponent_ng_template_3_Template(rf, ctx) { if (rf & 1) {
|
|
1952
2008
|
i0.ɵɵtemplate(0, RadiosetComponent_ng_template_3_li_0_Template, 9, 8, "li", 12);
|
|
1953
2009
|
} if (rf & 2) {
|
|
1954
|
-
const
|
|
1955
|
-
i0.ɵɵproperty("ngForOf",
|
|
2010
|
+
const ctx_r2 = i0.ɵɵnextContext();
|
|
2011
|
+
i0.ɵɵproperty("ngForOf", ctx_r2.groupedData);
|
|
1956
2012
|
} }
|
|
1957
2013
|
const DEFAULT_CLS$1 = 'app-radioset list-group inline';
|
|
1958
2014
|
const WIDGET_CONFIG$8 = { widgetType: 'wm-radioset', hostClass: DEFAULT_CLS$1 };
|
|
1959
2015
|
class RadiosetComponent extends DatasetAwareFormComponent {
|
|
1960
2016
|
static { this.initializeProps = registerProps$8(); }
|
|
1961
|
-
constructor(inj) {
|
|
1962
|
-
super(inj, WIDGET_CONFIG$8);
|
|
2017
|
+
constructor(inj, explicitContext) {
|
|
2018
|
+
super(inj, WIDGET_CONFIG$8, explicitContext);
|
|
1963
2019
|
this.layout = '';
|
|
1964
2020
|
styler(this.nativeElement, this);
|
|
1965
2021
|
this.multiple = false;
|
|
@@ -1987,7 +2043,7 @@ class RadiosetComponent extends DatasetAwareFormComponent {
|
|
|
1987
2043
|
return callback();
|
|
1988
2044
|
});
|
|
1989
2045
|
}
|
|
1990
|
-
else if (!
|
|
2046
|
+
else if (!includes(['change'], eventName)) {
|
|
1991
2047
|
super.handleEvent(node, eventName, callback, locals);
|
|
1992
2048
|
}
|
|
1993
2049
|
}
|
|
@@ -2002,33 +2058,38 @@ class RadiosetComponent extends DatasetAwareFormComponent {
|
|
|
2002
2058
|
super.onPropertyChange(key, nv, ov);
|
|
2003
2059
|
}
|
|
2004
2060
|
}
|
|
2005
|
-
static { this.ɵfac = function RadiosetComponent_Factory(t) { return new (t || RadiosetComponent)(i0.ɵɵdirectiveInject(i0.Injector)); }; }
|
|
2061
|
+
static { this.ɵfac = function RadiosetComponent_Factory(t) { return new (t || RadiosetComponent)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject('EXPLICIT_CONTEXT', 8)); }; }
|
|
2006
2062
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: RadiosetComponent, selectors: [["", "wmRadioset", ""]], exportAs: ["wmRadioset"], features: [i0.ɵɵProvidersFeature([
|
|
2007
2063
|
provideAs(RadiosetComponent, NG_VALUE_ACCESSOR, true),
|
|
2008
2064
|
provideAs(RadiosetComponent, NG_VALIDATORS, true),
|
|
2009
2065
|
provideAsWidgetRef(RadiosetComponent)
|
|
2010
|
-
]), i0.ɵɵInheritDefinitionFeature], attrs: _c0$8, decls: 5, vars: 4, consts: [[3, "ngIf", "ngIfElse"], ["hidden", "", 1, "model-holder", 3, "disabled"], ["aria-readonly", "true", "class", "readonly-wrapper", 4, "ngIf"], ["
|
|
2011
|
-
i0.ɵɵtemplate(0, RadiosetComponent_ng_template_0_Template, 1, 1, "ng-template",
|
|
2012
|
-
i0.ɵɵelement(1, "input",
|
|
2013
|
-
i0.ɵɵtemplate(2, RadiosetComponent_div_2_Template, 1, 0, "div",
|
|
2014
|
-
i0.ɵɵtemplate(3, RadiosetComponent_ng_template_3_Template, 1, 1, "ng-template", null, 3, i0.ɵɵtemplateRefExtractor);
|
|
2066
|
+
]), i0.ɵɵInheritDefinitionFeature], attrs: _c0$8, decls: 5, vars: 4, consts: [["groupedListTemplate", ""], [3, "ngIf", "ngIfElse"], ["hidden", "", 1, "model-holder", 3, "disabled"], ["aria-readonly", "true", "class", "readonly-wrapper", 4, "ngIf"], ["partialContainer", "", "role", "presentation", 3, "ngClass", "active", "wmItemTemplate", "userComponentParams", "click", 4, "ngFor", "ngForOf"], ["partialContainer", "", "role", "presentation", 3, "click", "ngClass", "wmItemTemplate", "userComponentParams"], ["class", "app-radioset-label", 3, "ngClass", 4, "ngIf"], [1, "app-radioset-label", 3, "ngClass"], ["type", "radio", 3, "name", "value", "disabled", "tabindex", "checked"], [1, "caption", 3, "textContent"], ["partial-container-target", "", 1, "caption", "customTemplate"], ["aria-readonly", "true", 1, "readonly-wrapper"], ["class", "app-list-item-group", 4, "ngFor", "ngForOf"], [1, "app-list-item-group"], [1, "item-group"], [1, "list-group-header", 3, "click", "title", "ngClass"], [1, "group-title"], [1, "header-action"], ["class", "app-icon wi action wi-chevron-up", 3, "title", 4, "ngIf"], ["class", "label label-default", 3, "textContent", 4, "ngIf"], ["partialContainer", "", 3, "ngClass", "active", "wmItemTemplate", "userComponentParams", "click", 4, "ngFor", "ngForOf"], [1, "app-icon", "wi", "action", "wi-chevron-up", 3, "title"], [1, "label", "label-default", 3, "textContent"], ["partialContainer", "", 3, "click", "ngClass", "wmItemTemplate", "userComponentParams"]], template: function RadiosetComponent_Template(rf, ctx) { if (rf & 1) {
|
|
2067
|
+
i0.ɵɵtemplate(0, RadiosetComponent_ng_template_0_Template, 1, 1, "ng-template", 1);
|
|
2068
|
+
i0.ɵɵelement(1, "input", 2);
|
|
2069
|
+
i0.ɵɵtemplate(2, RadiosetComponent_div_2_Template, 1, 0, "div", 3)(3, RadiosetComponent_ng_template_3_Template, 1, 1, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor);
|
|
2015
2070
|
} if (rf & 2) {
|
|
2016
|
-
const
|
|
2017
|
-
i0.ɵɵproperty("ngIf", !ctx.groupby)("ngIfElse",
|
|
2018
|
-
i0.ɵɵadvance(
|
|
2071
|
+
const groupedListTemplate_r12 = i0.ɵɵreference(4);
|
|
2072
|
+
i0.ɵɵproperty("ngIf", !ctx.groupby)("ngIfElse", groupedListTemplate_r12);
|
|
2073
|
+
i0.ɵɵadvance();
|
|
2019
2074
|
i0.ɵɵproperty("disabled", ctx.disabled || ctx.readonly);
|
|
2020
|
-
i0.ɵɵadvance(
|
|
2075
|
+
i0.ɵɵadvance();
|
|
2021
2076
|
i0.ɵɵproperty("ngIf", ctx.readonly || ctx.disabled);
|
|
2022
2077
|
} }, dependencies: [i1.NgClass, i1.NgForOf, i1.NgIf, i2.ItemTemplateDirective, i2.PartialParamHandlerDirective, i2.PartialContainerDirective, i2.TextContentDirective], encapsulation: 2 }); }
|
|
2023
2078
|
}
|
|
2024
|
-
(
|
|
2079
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(RadiosetComponent, [{
|
|
2025
2080
|
type: Component,
|
|
2026
2081
|
args: [{ selector: '[wmRadioset]', exportAs: 'wmRadioset', providers: [
|
|
2027
2082
|
provideAs(RadiosetComponent, NG_VALUE_ACCESSOR, true),
|
|
2028
2083
|
provideAs(RadiosetComponent, NG_VALIDATORS, true),
|
|
2029
2084
|
provideAsWidgetRef(RadiosetComponent)
|
|
2030
2085
|
], 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" }]
|
|
2031
|
-
}],
|
|
2086
|
+
}], () => [{ type: i0.Injector }, { type: undefined, decorators: [{
|
|
2087
|
+
type: Inject,
|
|
2088
|
+
args: ['EXPLICIT_CONTEXT']
|
|
2089
|
+
}, {
|
|
2090
|
+
type: Optional
|
|
2091
|
+
}] }], null); })();
|
|
2092
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(RadiosetComponent, { className: "RadiosetComponent", filePath: "radioset/radioset.component.ts", lineNumber: 26 }); })();
|
|
2032
2093
|
|
|
2033
2094
|
const selectProps = new Map([
|
|
2034
2095
|
['autofocus', PROP_BOOLEAN],
|
|
@@ -2064,53 +2125,48 @@ const registerProps$7 = () => {
|
|
|
2064
2125
|
};
|
|
2065
2126
|
|
|
2066
2127
|
const _c0$7 = ["select"];
|
|
2067
|
-
|
|
2068
|
-
|
|
2069
|
-
} if (rf & 2) {
|
|
2070
|
-
const ctx_r1 = i0.ɵɵnextContext();
|
|
2071
|
-
i0.ɵɵproperty("textContent", ctx_r1.placeholder)("hidden", !ctx_r1.placeholder);
|
|
2072
|
-
} }
|
|
2128
|
+
const _c1$6 = a0 => ["app-select form-control", a0];
|
|
2129
|
+
const _c2$4 = () => ({ standalone: true });
|
|
2073
2130
|
function SelectComponent_ng_container_3_optgroup_1_option_1_Template(rf, ctx) { if (rf & 1) {
|
|
2074
|
-
i0.ɵɵelement(0, "option",
|
|
2131
|
+
i0.ɵɵelement(0, "option", 7);
|
|
2075
2132
|
} if (rf & 2) {
|
|
2076
|
-
const
|
|
2077
|
-
i0.ɵɵproperty("value",
|
|
2133
|
+
const item_r2 = ctx.$implicit;
|
|
2134
|
+
i0.ɵɵproperty("value", item_r2.key)("selected", item_r2.selected)("textContent", item_r2.label);
|
|
2078
2135
|
} }
|
|
2079
2136
|
function SelectComponent_ng_container_3_optgroup_1_Template(rf, ctx) { if (rf & 1) {
|
|
2080
|
-
i0.ɵɵelementStart(0, "optgroup",
|
|
2081
|
-
i0.ɵɵtemplate(1, SelectComponent_ng_container_3_optgroup_1_option_1_Template, 1, 3, "option",
|
|
2137
|
+
i0.ɵɵelementStart(0, "optgroup", 5);
|
|
2138
|
+
i0.ɵɵtemplate(1, SelectComponent_ng_container_3_optgroup_1_option_1_Template, 1, 3, "option", 6);
|
|
2082
2139
|
i0.ɵɵelementEnd();
|
|
2083
2140
|
} if (rf & 2) {
|
|
2084
|
-
const
|
|
2085
|
-
i0.ɵɵproperty("label",
|
|
2086
|
-
i0.ɵɵadvance(
|
|
2087
|
-
i0.ɵɵproperty("ngForOf",
|
|
2141
|
+
const groupObj_r3 = ctx.$implicit;
|
|
2142
|
+
i0.ɵɵproperty("label", groupObj_r3.key);
|
|
2143
|
+
i0.ɵɵadvance();
|
|
2144
|
+
i0.ɵɵproperty("ngForOf", groupObj_r3.data);
|
|
2088
2145
|
} }
|
|
2089
2146
|
function SelectComponent_ng_container_3_Template(rf, ctx) { if (rf & 1) {
|
|
2090
2147
|
i0.ɵɵelementContainerStart(0);
|
|
2091
|
-
i0.ɵɵtemplate(1, SelectComponent_ng_container_3_optgroup_1_Template, 2, 2, "optgroup",
|
|
2148
|
+
i0.ɵɵtemplate(1, SelectComponent_ng_container_3_optgroup_1_Template, 2, 2, "optgroup", 4);
|
|
2092
2149
|
i0.ɵɵelementContainerEnd();
|
|
2093
2150
|
} if (rf & 2) {
|
|
2094
|
-
const
|
|
2095
|
-
i0.ɵɵadvance(
|
|
2096
|
-
i0.ɵɵproperty("ngForOf",
|
|
2151
|
+
const ctx_r3 = i0.ɵɵnextContext();
|
|
2152
|
+
i0.ɵɵadvance();
|
|
2153
|
+
i0.ɵɵproperty("ngForOf", ctx_r3.groupedData);
|
|
2097
2154
|
} }
|
|
2098
2155
|
function SelectComponent_ng_container_4_option_1_Template(rf, ctx) { if (rf & 1) {
|
|
2099
|
-
i0.ɵɵelement(0, "option",
|
|
2156
|
+
i0.ɵɵelement(0, "option", 7);
|
|
2100
2157
|
} if (rf & 2) {
|
|
2101
|
-
const
|
|
2102
|
-
i0.ɵɵproperty("value",
|
|
2158
|
+
const item_r5 = ctx.$implicit;
|
|
2159
|
+
i0.ɵɵproperty("value", item_r5.key)("selected", item_r5.selected)("textContent", item_r5.label);
|
|
2103
2160
|
} }
|
|
2104
2161
|
function SelectComponent_ng_container_4_Template(rf, ctx) { if (rf & 1) {
|
|
2105
2162
|
i0.ɵɵelementContainerStart(0);
|
|
2106
|
-
i0.ɵɵtemplate(1, SelectComponent_ng_container_4_option_1_Template, 1, 3, "option",
|
|
2163
|
+
i0.ɵɵtemplate(1, SelectComponent_ng_container_4_option_1_Template, 1, 3, "option", 6);
|
|
2107
2164
|
i0.ɵɵelementContainerEnd();
|
|
2108
2165
|
} if (rf & 2) {
|
|
2109
2166
|
const ctx_r3 = i0.ɵɵnextContext();
|
|
2110
|
-
i0.ɵɵadvance(
|
|
2167
|
+
i0.ɵɵadvance();
|
|
2111
2168
|
i0.ɵɵproperty("ngForOf", ctx_r3.datasetItems);
|
|
2112
2169
|
} }
|
|
2113
|
-
const _c1$6 = function (a1) { return ["app-select form-control", a1]; };
|
|
2114
2170
|
const WIDGET_CONFIG$7 = { widgetType: 'wm-select', hostClass: 'app-select-wrapper' };
|
|
2115
2171
|
class SelectComponent extends DatasetAwareFormComponent {
|
|
2116
2172
|
static { this.initializeProps = registerProps$7(); }
|
|
@@ -2119,21 +2175,32 @@ class SelectComponent extends DatasetAwareFormComponent {
|
|
|
2119
2175
|
this.datavalue = ds.execute(DataSource.Operation.GET_DEFAULT_LOCALE);
|
|
2120
2176
|
}
|
|
2121
2177
|
}
|
|
2122
|
-
constructor(inj,
|
|
2123
|
-
super(inj, WIDGET_CONFIG$7);
|
|
2124
|
-
this.app = app;
|
|
2178
|
+
constructor(inj, explicitContext) {
|
|
2179
|
+
super(inj, WIDGET_CONFIG$7, explicitContext);
|
|
2125
2180
|
this.acceptsArray = true;
|
|
2181
|
+
/*
|
|
2182
|
+
* When the dataset for a select element is updated and no longer includes the previously selected value:
|
|
2183
|
+
* The select element becomes empty, and the ngModel value is updated to reflect this change.
|
|
2184
|
+
* However, the change event is not triggered, preventing the form control from recognizing the update and applying necessary validations.
|
|
2185
|
+
* As this widget implements ControlValueAccessor, manually updating the ngModel (or modelByKey) is necessary to ensure correct form behavior.
|
|
2186
|
+
* */
|
|
2187
|
+
const datasetSubscription = this.dataset$.subscribe(() => {
|
|
2188
|
+
if (this.datavalue !== undefined) {
|
|
2189
|
+
const selectedItem = this.datasetItems.find(item => item.selected);
|
|
2190
|
+
if (!selectedItem) {
|
|
2191
|
+
this.modelByKey = undefined;
|
|
2192
|
+
}
|
|
2193
|
+
}
|
|
2194
|
+
});
|
|
2195
|
+
this.registerDestroyListener(() => datasetSubscription.unsubscribe());
|
|
2126
2196
|
}
|
|
2127
2197
|
ngAfterViewInit() {
|
|
2128
2198
|
super.ngAfterViewInit();
|
|
2129
2199
|
styler(this.selectEl.nativeElement, this);
|
|
2130
|
-
setTimeout(() => {
|
|
2131
|
-
this.checkForFloatingLabel(null);
|
|
2132
|
-
}, 10);
|
|
2133
2200
|
}
|
|
2134
2201
|
// Change event is registered from the template, Prevent the framework from registering one more event
|
|
2135
2202
|
handleEvent(node, eventName, eventCallback, locals) {
|
|
2136
|
-
if (!
|
|
2203
|
+
if (!['blur', 'change'].includes(eventName)) {
|
|
2137
2204
|
super.handleEvent(this.selectEl.nativeElement, eventName, eventCallback, locals);
|
|
2138
2205
|
}
|
|
2139
2206
|
}
|
|
@@ -2176,16 +2243,6 @@ class SelectComponent extends DatasetAwareFormComponent {
|
|
|
2176
2243
|
}
|
|
2177
2244
|
super.onPropertyChange(key, nv, ov);
|
|
2178
2245
|
}
|
|
2179
|
-
isSafariBrowser() {
|
|
2180
|
-
var reg = {
|
|
2181
|
-
MAC: /Mac/i,
|
|
2182
|
-
MACINTEL: /MacIntel/i
|
|
2183
|
-
};
|
|
2184
|
-
return reg.MAC.test(window.navigator.platform) || reg.MACINTEL.test(window.navigator.platform);
|
|
2185
|
-
}
|
|
2186
|
-
isIosPlatform() {
|
|
2187
|
-
return isIos() || this.isSafariBrowser();
|
|
2188
|
-
}
|
|
2189
2246
|
/**
|
|
2190
2247
|
* When caption floating is enabled and placeholder is given, do not show placeholder until user focuses on the field
|
|
2191
2248
|
* When focused add the placeholder to the option which is selected
|
|
@@ -2194,26 +2251,40 @@ class SelectComponent extends DatasetAwareFormComponent {
|
|
|
2194
2251
|
*/
|
|
2195
2252
|
checkForFloatingLabel($event) {
|
|
2196
2253
|
const captionEl = $(this.selectEl.nativeElement).closest('.app-composite-widget.caption-floating');
|
|
2254
|
+
if (!this.placeholder) {
|
|
2255
|
+
this.removePlaceholderOption();
|
|
2256
|
+
}
|
|
2197
2257
|
if (captionEl.length > 0) {
|
|
2198
|
-
|
|
2199
|
-
|
|
2200
|
-
this.app.notify('captionPositionAnimate', { isSelect: true, nativeEl: captionEl });
|
|
2201
|
-
}
|
|
2258
|
+
const placeholderOption = this.selectEl.nativeElement.querySelector('#placeholderOption');
|
|
2259
|
+
if ($event.type === 'mousedown' && (!this.datavalue || (this.datavalue && $(this.selectEl).find('select option:selected').text() === '' && this.placeholder))) {
|
|
2202
2260
|
if (this.placeholder) {
|
|
2203
|
-
|
|
2261
|
+
placeholderOption.textContent = this.placeholder;
|
|
2204
2262
|
}
|
|
2205
2263
|
}
|
|
2206
2264
|
else if (!this.datavalue) {
|
|
2207
|
-
if (
|
|
2208
|
-
|
|
2209
|
-
if (!this.isIosPlatform()) {
|
|
2210
|
-
captionEl.removeClass('float-active');
|
|
2211
|
-
}
|
|
2265
|
+
if (this.placeholder) {
|
|
2266
|
+
placeholderOption.textContent = '';
|
|
2212
2267
|
}
|
|
2268
|
+
captionEl.removeClass('float-active');
|
|
2269
|
+
}
|
|
2270
|
+
}
|
|
2271
|
+
}
|
|
2272
|
+
/*
|
|
2273
|
+
* Removing the placeholder option if no placeholder is provided.
|
|
2274
|
+
* In html we are hiding the placeholder option using css but in Apple devices and safari option is showing.
|
|
2275
|
+
* Styles are not allowed on option tag in ios safari
|
|
2276
|
+
* After removing the option, if no datavalue is present and native select element sets value to the first option by default, so we are setting it to empty
|
|
2277
|
+
* */
|
|
2278
|
+
removePlaceholderOption() {
|
|
2279
|
+
const hiddenEle = $(this.selectEl.nativeElement).find('#placeholderOption');
|
|
2280
|
+
if (hiddenEle.length) {
|
|
2281
|
+
hiddenEle.remove();
|
|
2282
|
+
if (!this.datavalue) {
|
|
2283
|
+
this.selectEl.nativeElement.value = '';
|
|
2213
2284
|
}
|
|
2214
2285
|
}
|
|
2215
2286
|
}
|
|
2216
|
-
static { this.ɵfac = function SelectComponent_Factory(t) { return new (t || SelectComponent)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(
|
|
2287
|
+
static { this.ɵfac = function SelectComponent_Factory(t) { return new (t || SelectComponent)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject('EXPLICIT_CONTEXT', 8)); }; }
|
|
2217
2288
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SelectComponent, selectors: [["wm-select"]], viewQuery: function SelectComponent_Query(rf, ctx) { if (rf & 1) {
|
|
2218
2289
|
i0.ɵɵviewQuery(_c0$7, 7, ElementRef);
|
|
2219
2290
|
} if (rf & 2) {
|
|
@@ -2223,35 +2294,44 @@ class SelectComponent extends DatasetAwareFormComponent {
|
|
|
2223
2294
|
provideAs(SelectComponent, NG_VALUE_ACCESSOR, true),
|
|
2224
2295
|
provideAs(SelectComponent, NG_VALIDATORS, true),
|
|
2225
2296
|
provideAsWidgetRef(SelectComponent)
|
|
2226
|
-
]), i0.ɵɵInheritDefinitionFeature], decls: 5, vars:
|
|
2227
|
-
i0.ɵɵ
|
|
2228
|
-
i0.ɵɵ
|
|
2229
|
-
i0.ɵɵ
|
|
2230
|
-
i0.ɵɵ
|
|
2231
|
-
i0.ɵɵ
|
|
2297
|
+
]), i0.ɵɵInheritDefinitionFeature], decls: 5, vars: 18, consts: [["select", ""], ["role", "listbox", "aria-haspopup", "true", "aria-expanded", "false", "focus-target", "", 3, "ngModelChange", "change", "mousedown", "blur", "ngClass", "disabled", "required", "tabindex", "ngModel", "ngModelOptions", "multiple", "autofocus"], ["selected", "", "value", "undefined", "id", "placeholderOption", 3, "textContent", "hidden"], [4, "ngIf"], [3, "label", 4, "ngFor", "ngForOf"], [3, "label"], ["role", "option", 3, "value", "selected", "textContent", 4, "ngFor", "ngForOf"], ["role", "option", 3, "value", "selected", "textContent"]], template: function SelectComponent_Template(rf, ctx) { if (rf & 1) {
|
|
2298
|
+
const _r1 = i0.ɵɵgetCurrentView();
|
|
2299
|
+
i0.ɵɵelementStart(0, "select", 1, 0);
|
|
2300
|
+
i0.ɵɵtwoWayListener("ngModelChange", function SelectComponent_Template_select_ngModelChange_0_listener($event) { i0.ɵɵrestoreView(_r1); i0.ɵɵtwoWayBindingSet(ctx.modelByKey, $event) || (ctx.modelByKey = $event); return i0.ɵɵresetView($event); });
|
|
2301
|
+
i0.ɵɵlistener("change", function SelectComponent_Template_select_change_0_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onSelectValueChange($event)); })("mousedown", function SelectComponent_Template_select_mousedown_0_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.checkForFloatingLabel($event)); })("blur", function SelectComponent_Template_select_blur_0_listener($event) { i0.ɵɵrestoreView(_r1); ctx.invokeOnTouched($event); return i0.ɵɵresetView(ctx.checkForFloatingLabel($event)); });
|
|
2302
|
+
i0.ɵɵelement(2, "option", 2);
|
|
2303
|
+
i0.ɵɵtemplate(3, SelectComponent_ng_container_3_Template, 2, 1, "ng-container", 3)(4, SelectComponent_ng_container_4_Template, 2, 1, "ng-container", 3);
|
|
2232
2304
|
i0.ɵɵelementEnd();
|
|
2233
2305
|
} if (rf & 2) {
|
|
2234
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(
|
|
2306
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(15, _c1$6, ctx.class))("disabled", ctx.disabled)("required", ctx.required)("tabindex", ctx.tabindex);
|
|
2307
|
+
i0.ɵɵtwoWayProperty("ngModel", ctx.modelByKey);
|
|
2308
|
+
i0.ɵɵproperty("ngModelOptions", i0.ɵɵpureFunction0(17, _c2$4))("multiple", ctx.multiple)("autofocus", ctx.autofocus);
|
|
2235
2309
|
i0.ɵɵattribute("name", ctx.name)("aria-label", ctx.hint)("aria-multiselectable", ctx.multiple);
|
|
2236
2310
|
i0.ɵɵadvance(2);
|
|
2237
|
-
i0.ɵɵproperty("
|
|
2238
|
-
i0.ɵɵadvance(
|
|
2311
|
+
i0.ɵɵproperty("textContent", ctx.placeholder)("hidden", !ctx.placeholder);
|
|
2312
|
+
i0.ɵɵadvance();
|
|
2239
2313
|
i0.ɵɵproperty("ngIf", ctx.groupby);
|
|
2240
|
-
i0.ɵɵadvance(
|
|
2314
|
+
i0.ɵɵadvance();
|
|
2241
2315
|
i0.ɵɵproperty("ngIf", !ctx.groupby);
|
|
2242
2316
|
} }, dependencies: [i1.NgClass, i1.NgForOf, i1.NgIf, i2$1.NgSelectOption, i2$1.ɵNgSelectMultipleOption, i2$1.SelectMultipleControlValueAccessor, i2$1.NgControlStatus, i2$1.RequiredValidator, i2$1.NgModel, i2.TextContentDirective], encapsulation: 2 }); }
|
|
2243
2317
|
}
|
|
2244
|
-
(
|
|
2318
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SelectComponent, [{
|
|
2245
2319
|
type: Component,
|
|
2246
2320
|
args: [{ selector: 'wm-select', providers: [
|
|
2247
2321
|
provideAs(SelectComponent, NG_VALUE_ACCESSOR, true),
|
|
2248
2322
|
provideAs(SelectComponent, NG_VALIDATORS, true),
|
|
2249
2323
|
provideAsWidgetRef(SelectComponent)
|
|
2250
|
-
], template: "<select role=\"listbox\" aria-haspopup=\"true\" aria-expanded=\"false\" #select\n focus-target\n [ngClass]=\"['app-select form-control', class]\"\n [disabled]=\"disabled\"\n [required]=\"required\"\n [tabindex]=\"tabindex\"\n [(ngModel)]=\"modelByKey\"\n [multiple]=\"multiple\"\n (change)=\"onSelectValueChange($event)\"\n (
|
|
2251
|
-
}],
|
|
2324
|
+
], template: "<!--Updated focus with mousedown event. IOS devices not allow update of option value after opening dropdown-->\n<select role=\"listbox\" aria-haspopup=\"true\" aria-expanded=\"false\" #select\n focus-target\n [ngClass]=\"['app-select form-control', class]\"\n [disabled]=\"disabled\"\n [required]=\"required\"\n [tabindex]=\"tabindex\"\n [(ngModel)]=\"modelByKey\"\n [ngModelOptions]=\"{standalone: true}\"\n [multiple]=\"multiple\"\n (change)=\"onSelectValueChange($event)\"\n (mousedown)=\"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" }]
|
|
2325
|
+
}], () => [{ type: i0.Injector }, { type: undefined, decorators: [{
|
|
2326
|
+
type: Inject,
|
|
2327
|
+
args: ['EXPLICIT_CONTEXT']
|
|
2328
|
+
}, {
|
|
2329
|
+
type: Optional
|
|
2330
|
+
}] }], { selectEl: [{
|
|
2252
2331
|
type: ViewChild,
|
|
2253
2332
|
args: ['select', { static: true, read: ElementRef }]
|
|
2254
2333
|
}] }); })();
|
|
2334
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SelectComponent, { className: "SelectComponent", filePath: "select/select.component.ts", lineNumber: 21 }); })();
|
|
2255
2335
|
|
|
2256
2336
|
const switchProps = new Map([
|
|
2257
2337
|
['class', PROP_STRING],
|
|
@@ -2278,45 +2358,45 @@ const registerProps$6 = () => {
|
|
|
2278
2358
|
};
|
|
2279
2359
|
|
|
2280
2360
|
const _c0$6 = ["wmSwitch", ""];
|
|
2281
|
-
const _c1$5 =
|
|
2361
|
+
const _c1$5 = (a0, a1) => ({ "selected": a0, "disabled": a1 });
|
|
2362
|
+
const _c2$3 = a0 => ["app-icon", a0];
|
|
2282
2363
|
function SwitchComponent_a_1_i_1_Template(rf, ctx) { if (rf & 1) {
|
|
2283
2364
|
i0.ɵɵelement(0, "i", 8);
|
|
2284
2365
|
} if (rf & 2) {
|
|
2285
|
-
const
|
|
2366
|
+
const opt_r3 = i0.ɵɵnextContext().$implicit;
|
|
2286
2367
|
const ctx_r4 = i0.ɵɵnextContext();
|
|
2287
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(1,
|
|
2368
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(1, _c2$3, opt_r3.dataObject[ctx_r4.iconclass] || opt_r3["icon"]));
|
|
2288
2369
|
} }
|
|
2289
|
-
const _c2$1 = function (a0, a1) { return { "selected": a0, "disabled": a1 }; };
|
|
2290
2370
|
function SwitchComponent_a_1_Template(rf, ctx) { if (rf & 1) {
|
|
2291
|
-
const
|
|
2371
|
+
const _r1 = i0.ɵɵgetCurrentView();
|
|
2292
2372
|
i0.ɵɵelementStart(0, "a", 5);
|
|
2293
|
-
i0.ɵɵlistener("click", function SwitchComponent_a_1_Template_a_click_0_listener($event) { const
|
|
2373
|
+
i0.ɵɵlistener("click", function SwitchComponent_a_1_Template_a_click_0_listener($event) { const ctx_r1 = i0.ɵɵrestoreView(_r1); const opt_r3 = ctx_r1.$implicit; const $index_r4 = ctx_r1.index; const ctx_r4 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r4.selectOpt($event, $index_r4, opt_r3)); });
|
|
2294
2374
|
i0.ɵɵtemplate(1, SwitchComponent_a_1_i_1_Template, 1, 3, "i", 6);
|
|
2295
2375
|
i0.ɵɵelement(2, "span", 7);
|
|
2296
2376
|
i0.ɵɵelementEnd();
|
|
2297
2377
|
} if (rf & 2) {
|
|
2298
|
-
const
|
|
2299
|
-
const
|
|
2300
|
-
i0.ɵɵproperty("name", "wm-switch-" +
|
|
2301
|
-
i0.ɵɵadvance(
|
|
2302
|
-
i0.ɵɵproperty("ngIf",
|
|
2303
|
-
i0.ɵɵadvance(
|
|
2304
|
-
i0.ɵɵproperty("textContent",
|
|
2378
|
+
const opt_r3 = ctx.$implicit;
|
|
2379
|
+
const ctx_r4 = i0.ɵɵnextContext();
|
|
2380
|
+
i0.ɵɵproperty("name", "wm-switch-" + opt_r3.key)("ngClass", i0.ɵɵpureFunction2(4, _c1$5, opt_r3.selected, ctx_r4.disabled));
|
|
2381
|
+
i0.ɵɵadvance();
|
|
2382
|
+
i0.ɵɵproperty("ngIf", opt_r3.dataObject && opt_r3.dataObject[ctx_r4.iconclass]);
|
|
2383
|
+
i0.ɵɵadvance();
|
|
2384
|
+
i0.ɵɵproperty("textContent", opt_r3[ctx_r4.displayfield] || opt_r3.label);
|
|
2305
2385
|
} }
|
|
2306
2386
|
function SwitchComponent_i_3_Template(rf, ctx) { if (rf & 1) {
|
|
2307
2387
|
i0.ɵɵelement(0, "i");
|
|
2308
2388
|
} if (rf & 2) {
|
|
2309
|
-
const
|
|
2310
|
-
i0.ɵɵclassMapInterpolate1("app-icon ",
|
|
2389
|
+
const ctx_r4 = i0.ɵɵnextContext();
|
|
2390
|
+
i0.ɵɵclassMapInterpolate1("app-icon ", ctx_r4.selectedItem && ctx_r4.selectedItem.dataObject && ctx_r4.selectedItem.dataObject[ctx_r4.iconclass], "");
|
|
2311
2391
|
} }
|
|
2312
2392
|
const DEFAULT_CLS = 'app-switch';
|
|
2313
2393
|
const WIDGET_CONFIG$6 = { widgetType: 'wm-switch', hostClass: DEFAULT_CLS };
|
|
2314
2394
|
class SwitchComponent extends DatasetAwareFormComponent {
|
|
2315
2395
|
static { this.initializeProps = registerProps$6(); }
|
|
2316
|
-
constructor(inj) {
|
|
2317
|
-
super(inj, WIDGET_CONFIG$6);
|
|
2396
|
+
constructor(inj, explicitContext) {
|
|
2397
|
+
super(inj, WIDGET_CONFIG$6, explicitContext);
|
|
2318
2398
|
this.options = [];
|
|
2319
|
-
this._debounceSetSelectedValue = debounce((val) => {
|
|
2399
|
+
this._debounceSetSelectedValue = debounce$1((val) => {
|
|
2320
2400
|
this.setSelectedValue();
|
|
2321
2401
|
this.updateHighlighter(val);
|
|
2322
2402
|
// only for default value trigger app digest to apply the selectedItem
|
|
@@ -2346,7 +2426,7 @@ class SwitchComponent extends DatasetAwareFormComponent {
|
|
|
2346
2426
|
// This function sets the selectedItem by either using compareby fields or selected flag on datasetItems.
|
|
2347
2427
|
setSelectedValue() {
|
|
2348
2428
|
if (isDefined(this.datavalue) || isDefined(this.toBeProcessedDatavalue)) {
|
|
2349
|
-
this.selectedItem =
|
|
2429
|
+
this.selectedItem = find(this.datasetItems, { selected: true });
|
|
2350
2430
|
return;
|
|
2351
2431
|
}
|
|
2352
2432
|
// If no value is provided, set first value as default if options are available else set -1 ie no selection
|
|
@@ -2365,7 +2445,7 @@ class SwitchComponent extends DatasetAwareFormComponent {
|
|
|
2365
2445
|
updateHighlighter(skipAnimation) {
|
|
2366
2446
|
const handler = $(this.nativeElement).find('span.app-switch-overlay');
|
|
2367
2447
|
this.setSelectedValue();
|
|
2368
|
-
let left, index = this.selectedItem ?
|
|
2448
|
+
let left, index = this.selectedItem ? findIndex(this.datasetItems, { key: this.selectedItem.key }) : -1;
|
|
2369
2449
|
if (index === undefined || index === null) {
|
|
2370
2450
|
index = -1;
|
|
2371
2451
|
}
|
|
@@ -2395,7 +2475,7 @@ class SwitchComponent extends DatasetAwareFormComponent {
|
|
|
2395
2475
|
}
|
|
2396
2476
|
this.modelByKey = option.key;
|
|
2397
2477
|
this.invokeOnTouched();
|
|
2398
|
-
if (this.selectedItem && $index ===
|
|
2478
|
+
if (this.selectedItem && $index === findIndex(this.datasetItems, { key: this.selectedItem.key })) {
|
|
2399
2479
|
if (this.datasetItems.length === 2) {
|
|
2400
2480
|
$index = $index === 1 ? 0 : 1;
|
|
2401
2481
|
}
|
|
@@ -2417,11 +2497,11 @@ class SwitchComponent extends DatasetAwareFormComponent {
|
|
|
2417
2497
|
super.onPropertyChange(key, nv, ov);
|
|
2418
2498
|
}
|
|
2419
2499
|
}
|
|
2420
|
-
static { this.ɵfac = function SwitchComponent_Factory(t) { return new (t || SwitchComponent)(i0.ɵɵdirectiveInject(i0.Injector)); }; }
|
|
2500
|
+
static { this.ɵfac = function SwitchComponent_Factory(t) { return new (t || SwitchComponent)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject('EXPLICIT_CONTEXT', 8)); }; }
|
|
2421
2501
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SwitchComponent, selectors: [["", "wmSwitch", ""]], exportAs: ["wmSwitch"], features: [i0.ɵɵProvidersFeature([
|
|
2422
2502
|
provideAs(SwitchComponent, NG_VALUE_ACCESSOR, true),
|
|
2423
2503
|
provideAsWidgetRef(SwitchComponent)
|
|
2424
|
-
]), i0.ɵɵInheritDefinitionFeature], attrs: _c0$6, decls: 6, vars: 8, consts: [["role", "group", 1, "btn-group", "btn-group-justified"], ["focus-target", "", "href", "javascript:void(0);", "class", "btn btn-default", 3, "name", "ngClass", "click", 4, "ngFor", "ngForOf"], [1, "btn", "btn-primary", "app-switch-overlay", "switch-handle", 3, "title"], [3, "class", 4, "ngIf"], ["aria-hidden", "true", 1, "model-holder", "ng-hide", 3, "name", "disabled", "value", "required"], ["focus-target", "", "href", "javascript:void(0);", 1, "btn", "btn-default", 3, "
|
|
2504
|
+
]), i0.ɵɵInheritDefinitionFeature], attrs: _c0$6, decls: 6, vars: 8, consts: [["role", "group", 1, "btn-group", "btn-group-justified"], ["focus-target", "", "href", "javascript:void(0);", "class", "btn btn-default", 3, "name", "ngClass", "click", 4, "ngFor", "ngForOf"], [1, "btn", "btn-primary", "app-switch-overlay", "switch-handle", 3, "title"], [3, "class", 4, "ngIf"], ["aria-hidden", "true", 1, "model-holder", "ng-hide", 3, "name", "disabled", "value", "required"], ["focus-target", "", "href", "javascript:void(0);", 1, "btn", "btn-default", 3, "click", "name", "ngClass"], ["aria-hidden", "true", 3, "ngClass", 4, "ngIf"], [1, "caption", 3, "textContent"], ["aria-hidden", "true", 3, "ngClass"]], template: function SwitchComponent_Template(rf, ctx) { if (rf & 1) {
|
|
2425
2505
|
i0.ɵɵelementStart(0, "div", 0);
|
|
2426
2506
|
i0.ɵɵtemplate(1, SwitchComponent_a_1_Template, 3, 7, "a", 1);
|
|
2427
2507
|
i0.ɵɵelementEnd();
|
|
@@ -2431,25 +2511,31 @@ class SwitchComponent extends DatasetAwareFormComponent {
|
|
|
2431
2511
|
i0.ɵɵelementEnd();
|
|
2432
2512
|
i0.ɵɵelement(5, "input", 4);
|
|
2433
2513
|
} if (rf & 2) {
|
|
2434
|
-
i0.ɵɵadvance(
|
|
2514
|
+
i0.ɵɵadvance();
|
|
2435
2515
|
i0.ɵɵproperty("ngForOf", ctx.datasetItems);
|
|
2436
|
-
i0.ɵɵadvance(
|
|
2516
|
+
i0.ɵɵadvance();
|
|
2437
2517
|
i0.ɵɵproperty("title", ctx.selectedItem ? ctx.selectedItem.label : ctx.modelByKey);
|
|
2438
|
-
i0.ɵɵadvance(
|
|
2518
|
+
i0.ɵɵadvance();
|
|
2439
2519
|
i0.ɵɵproperty("ngIf", ctx.iconclass);
|
|
2440
|
-
i0.ɵɵadvance(
|
|
2520
|
+
i0.ɵɵadvance();
|
|
2441
2521
|
i0.ɵɵtextInterpolate1(" ", ctx.selectedItem ? ctx.selectedItem.label : ctx.modelByKey, "\n");
|
|
2442
|
-
i0.ɵɵadvance(
|
|
2522
|
+
i0.ɵɵadvance();
|
|
2443
2523
|
i0.ɵɵproperty("name", ctx.name)("disabled", ctx.disabled)("value", ctx.modelByKey)("required", ctx.required);
|
|
2444
2524
|
} }, dependencies: [i1.NgClass, i1.NgForOf, i1.NgIf, i2.TextContentDirective], encapsulation: 2 }); }
|
|
2445
2525
|
}
|
|
2446
|
-
(
|
|
2526
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SwitchComponent, [{
|
|
2447
2527
|
type: Component,
|
|
2448
2528
|
args: [{ selector: '[wmSwitch]', providers: [
|
|
2449
2529
|
provideAs(SwitchComponent, NG_VALUE_ACCESSOR, true),
|
|
2450
2530
|
provideAsWidgetRef(SwitchComponent)
|
|
2451
2531
|
], 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" }]
|
|
2452
|
-
}],
|
|
2532
|
+
}], () => [{ type: i0.Injector }, { type: undefined, decorators: [{
|
|
2533
|
+
type: Inject,
|
|
2534
|
+
args: ['EXPLICIT_CONTEXT']
|
|
2535
|
+
}, {
|
|
2536
|
+
type: Optional
|
|
2537
|
+
}] }], null); })();
|
|
2538
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SwitchComponent, { className: "SwitchComponent", filePath: "switch/switch.component.ts", lineNumber: 25 }); })();
|
|
2453
2539
|
|
|
2454
2540
|
const inputCalendarTypeProps = new Map([
|
|
2455
2541
|
['autocomplete', { value: true, ...PROP_BOOLEAN }],
|
|
@@ -2481,16 +2567,17 @@ const registerProps$5 = () => {
|
|
|
2481
2567
|
|
|
2482
2568
|
const _c0$5 = ["input"];
|
|
2483
2569
|
const _c1$4 = ["type", "date"];
|
|
2570
|
+
const _c2$2 = () => ({ standalone: true });
|
|
2484
2571
|
const WIDGET_CONFIG$5 = {
|
|
2485
2572
|
widgetType: 'wm-input-calendar',
|
|
2486
2573
|
hostClass: 'app-input-wrapper'
|
|
2487
2574
|
};
|
|
2488
2575
|
class InputCalendarComponent extends BaseInput {
|
|
2489
2576
|
static { this.initializeProps = registerProps$5(); }
|
|
2490
|
-
constructor(inj) {
|
|
2491
|
-
super(inj, WIDGET_CONFIG$5);
|
|
2577
|
+
constructor(inj, explicitContext) {
|
|
2578
|
+
super(inj, WIDGET_CONFIG$5, explicitContext);
|
|
2492
2579
|
}
|
|
2493
|
-
static { this.ɵfac = function InputCalendarComponent_Factory(t) { return new (t || InputCalendarComponent)(i0.ɵɵdirectiveInject(i0.Injector)); }; }
|
|
2580
|
+
static { this.ɵfac = function InputCalendarComponent_Factory(t) { return new (t || InputCalendarComponent)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject('EXPLICIT_CONTEXT', 8)); }; }
|
|
2494
2581
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: InputCalendarComponent, selectors: [["wm-input", "type", "date"], ["wm-input", "type", "datetime-local"], ["wm-input", "type", "month"], ["wm-input", "type", "time"], ["wm-input", "type", "week"]], viewQuery: function InputCalendarComponent_Query(rf, ctx) { if (rf & 1) {
|
|
2495
2582
|
i0.ɵɵviewQuery(_c0$5, 7);
|
|
2496
2583
|
i0.ɵɵviewQuery(NgModel, 5);
|
|
@@ -2502,29 +2589,39 @@ class InputCalendarComponent extends BaseInput {
|
|
|
2502
2589
|
provideAs(InputCalendarComponent, NG_VALUE_ACCESSOR, true),
|
|
2503
2590
|
provideAs(InputCalendarComponent, NG_VALIDATORS, true),
|
|
2504
2591
|
provideAsWidgetRef(InputCalendarComponent)
|
|
2505
|
-
]), i0.ɵɵInheritDefinitionFeature], attrs: _c1$4, decls: 2, vars:
|
|
2506
|
-
i0.ɵɵ
|
|
2507
|
-
i0.ɵɵ
|
|
2592
|
+
]), i0.ɵɵInheritDefinitionFeature], attrs: _c1$4, decls: 2, vars: 19, consts: [["input", ""], ["focus-target", "", "role", "textbox", 1, "form-control", "app-textbox", 3, "ngModelChange", "blur", "type", "ngModel", "ngModelOptions", "readonly", "required", "disabled", "min", "max", "step", "autofocus", "autocomplete", "ngClass", "ngStyle"]], template: function InputCalendarComponent_Template(rf, ctx) { if (rf & 1) {
|
|
2593
|
+
const _r1 = i0.ɵɵgetCurrentView();
|
|
2594
|
+
i0.ɵɵelementStart(0, "input", 1, 0);
|
|
2595
|
+
i0.ɵɵtwoWayListener("ngModelChange", function InputCalendarComponent_Template_input_ngModelChange_0_listener($event) { i0.ɵɵrestoreView(_r1); i0.ɵɵtwoWayBindingSet(ctx.datavalue, $event) || (ctx.datavalue = $event); return i0.ɵɵresetView($event); });
|
|
2596
|
+
i0.ɵɵlistener("blur", function InputCalendarComponent_Template_input_blur_0_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.handleBlur($event)); })("ngModelChange", function InputCalendarComponent_Template_input_ngModelChange_0_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.handleChange($event)); });
|
|
2508
2597
|
i0.ɵɵelementEnd();
|
|
2509
2598
|
} if (rf & 2) {
|
|
2510
|
-
i0.ɵɵproperty("type", ctx.type)
|
|
2599
|
+
i0.ɵɵproperty("type", ctx.type);
|
|
2600
|
+
i0.ɵɵtwoWayProperty("ngModel", ctx.datavalue);
|
|
2601
|
+
i0.ɵɵproperty("ngModelOptions", i0.ɵɵpureFunction0(18, _c2$2))("readonly", ctx.readonly)("required", ctx.required)("disabled", ctx.disabled)("min", ctx.minvalue)("max", ctx.maxvalue)("step", ctx.step)("autofocus", ctx.autofocus)("autocomplete", ctx.autocomplete ? "on" : "off")("ngClass", ctx.conditionalclass)("ngStyle", ctx.conditionalstyle);
|
|
2511
2602
|
i0.ɵɵattribute("name", ctx.name)("tabindex", ctx.tabindex)("placeholder", ctx.placeholder)("accesskey", ctx.shortcutkey)("aria-label", ctx.hint || ctx.type + " field");
|
|
2512
2603
|
} }, dependencies: [i1.NgClass, i1.NgStyle, i2$1.DefaultValueAccessor, i2$1.NgControlStatus, i2$1.RequiredValidator, i2$1.NgModel], encapsulation: 2 }); }
|
|
2513
2604
|
}
|
|
2514
|
-
(
|
|
2605
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(InputCalendarComponent, [{
|
|
2515
2606
|
type: Component,
|
|
2516
2607
|
args: [{ selector: 'wm-input[type="date"], wm-input[type="datetime-local"], wm-input[type="month"], wm-input[type="time"], wm-input[type="week"]', providers: [
|
|
2517
2608
|
provideAs(InputCalendarComponent, NG_VALUE_ACCESSOR, true),
|
|
2518
2609
|
provideAs(InputCalendarComponent, NG_VALIDATORS, true),
|
|
2519
2610
|
provideAsWidgetRef(InputCalendarComponent)
|
|
2520
|
-
], template: "<input class=\"form-control app-textbox\"\n focus-target\n role=\"textbox\"\n [type]=\"type\"\n [attr.name]=\"name\"\n [(ngModel)]=\"datavalue\"\n [readonly]=\"readonly\"\n [required]=\"required\"\n [disabled]=\"disabled\"\n [min]=\"minvalue\"\n [max]=\"maxvalue\"\n [step]=\"step\"\n [attr.tabindex]=\"tabindex\"\n [attr.placeholder]=\"placeholder\"\n [attr.accesskey]=\"shortcutkey\"\n [attr.aria-label]=\"hint || type + ' field'\"\n [autofocus]=\"autofocus\"\n (blur)=\"handleBlur($event)\"\n (ngModelChange)=\"handleChange($event)\"\n [autocomplete]=\"autocomplete ? 'on' : 'off'\"\n [ngClass]=\"conditionalclass\"\n [ngStyle]=\"conditionalstyle\"\n #input>\n" }]
|
|
2521
|
-
}],
|
|
2611
|
+
], template: "<input class=\"form-control app-textbox\"\n focus-target\n role=\"textbox\"\n [type]=\"type\"\n [attr.name]=\"name\"\n [(ngModel)]=\"datavalue\"\n [ngModelOptions]=\"{standalone: true}\"\n [readonly]=\"readonly\"\n [required]=\"required\"\n [disabled]=\"disabled\"\n [min]=\"minvalue\"\n [max]=\"maxvalue\"\n [step]=\"step\"\n [attr.tabindex]=\"tabindex\"\n [attr.placeholder]=\"placeholder\"\n [attr.accesskey]=\"shortcutkey\"\n [attr.aria-label]=\"hint || type + ' field'\"\n [autofocus]=\"autofocus\"\n (blur)=\"handleBlur($event)\"\n (ngModelChange)=\"handleChange($event)\"\n [autocomplete]=\"autocomplete ? 'on' : 'off'\"\n [ngClass]=\"conditionalclass\"\n [ngStyle]=\"conditionalstyle\"\n #input>\n" }]
|
|
2612
|
+
}], () => [{ type: i0.Injector }, { type: undefined, decorators: [{
|
|
2613
|
+
type: Inject,
|
|
2614
|
+
args: ['EXPLICIT_CONTEXT']
|
|
2615
|
+
}, {
|
|
2616
|
+
type: Optional
|
|
2617
|
+
}] }], { inputEl: [{
|
|
2522
2618
|
type: ViewChild,
|
|
2523
2619
|
args: ['input', { static: true }]
|
|
2524
2620
|
}], ngModel: [{
|
|
2525
2621
|
type: ViewChild,
|
|
2526
2622
|
args: [NgModel]
|
|
2527
2623
|
}] }); })();
|
|
2624
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(InputCalendarComponent, { className: "InputCalendarComponent", filePath: "text/calendar/input-calendar.component.ts", lineNumber: 22 }); })();
|
|
2528
2625
|
|
|
2529
2626
|
const inputColorTypeProps = new Map([
|
|
2530
2627
|
['autocomplete', { value: true, ...PROP_BOOLEAN }],
|
|
@@ -2553,16 +2650,17 @@ const registerProps$4 = () => {
|
|
|
2553
2650
|
|
|
2554
2651
|
const _c0$4 = ["input"];
|
|
2555
2652
|
const _c1$3 = ["type", "color"];
|
|
2653
|
+
const _c2$1 = () => ({ standalone: true });
|
|
2556
2654
|
const WIDGET_CONFIG$4 = {
|
|
2557
2655
|
widgetType: 'wm-input-color',
|
|
2558
2656
|
hostClass: 'app-input-wrapper'
|
|
2559
2657
|
};
|
|
2560
2658
|
class InputColorComponent extends BaseInput {
|
|
2561
2659
|
static { this.initializeProps = registerProps$4(); }
|
|
2562
|
-
constructor(inj) {
|
|
2563
|
-
super(inj, WIDGET_CONFIG$4);
|
|
2660
|
+
constructor(inj, explicitContext) {
|
|
2661
|
+
super(inj, WIDGET_CONFIG$4, explicitContext);
|
|
2564
2662
|
}
|
|
2565
|
-
static { this.ɵfac = function InputColorComponent_Factory(t) { return new (t || InputColorComponent)(i0.ɵɵdirectiveInject(i0.Injector)); }; }
|
|
2663
|
+
static { this.ɵfac = function InputColorComponent_Factory(t) { return new (t || InputColorComponent)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject('EXPLICIT_CONTEXT', 8)); }; }
|
|
2566
2664
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: InputColorComponent, selectors: [["wm-input", "type", "color"]], viewQuery: function InputColorComponent_Query(rf, ctx) { if (rf & 1) {
|
|
2567
2665
|
i0.ɵɵviewQuery(_c0$4, 7);
|
|
2568
2666
|
i0.ɵɵviewQuery(NgModel, 5);
|
|
@@ -2574,29 +2672,39 @@ class InputColorComponent extends BaseInput {
|
|
|
2574
2672
|
provideAs(InputColorComponent, NG_VALUE_ACCESSOR, true),
|
|
2575
2673
|
provideAs(InputColorComponent, NG_VALIDATORS, true),
|
|
2576
2674
|
provideAsWidgetRef(InputColorComponent)
|
|
2577
|
-
]), i0.ɵɵInheritDefinitionFeature], attrs: _c1$3, decls: 2, vars:
|
|
2578
|
-
i0.ɵɵ
|
|
2579
|
-
i0.ɵɵ
|
|
2675
|
+
]), i0.ɵɵInheritDefinitionFeature], attrs: _c1$3, decls: 2, vars: 16, consts: [["input", ""], ["focus-target", "", "role", "textbox", 1, "form-control", "app-textbox", 3, "ngModelChange", "blur", "type", "ngModel", "ngModelOptions", "readonly", "required", "disabled", "maxlength", "autofocus", "ngClass", "ngStyle"]], template: function InputColorComponent_Template(rf, ctx) { if (rf & 1) {
|
|
2676
|
+
const _r1 = i0.ɵɵgetCurrentView();
|
|
2677
|
+
i0.ɵɵelementStart(0, "input", 1, 0);
|
|
2678
|
+
i0.ɵɵtwoWayListener("ngModelChange", function InputColorComponent_Template_input_ngModelChange_0_listener($event) { i0.ɵɵrestoreView(_r1); i0.ɵɵtwoWayBindingSet(ctx.datavalue, $event) || (ctx.datavalue = $event); return i0.ɵɵresetView($event); });
|
|
2679
|
+
i0.ɵɵlistener("blur", function InputColorComponent_Template_input_blur_0_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.handleBlur($event)); })("ngModelChange", function InputColorComponent_Template_input_ngModelChange_0_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.handleChange($event)); });
|
|
2580
2680
|
i0.ɵɵelementEnd();
|
|
2581
2681
|
} if (rf & 2) {
|
|
2582
|
-
i0.ɵɵproperty("type", ctx.type)
|
|
2682
|
+
i0.ɵɵproperty("type", ctx.type);
|
|
2683
|
+
i0.ɵɵtwoWayProperty("ngModel", ctx.datavalue);
|
|
2684
|
+
i0.ɵɵproperty("ngModelOptions", i0.ɵɵpureFunction0(15, _c2$1))("readonly", ctx.readonly)("required", ctx.required)("disabled", ctx.disabled)("maxlength", ctx.maxchars)("autofocus", ctx.autofocus)("ngClass", ctx.conditionalclass)("ngStyle", ctx.conditionalstyle);
|
|
2583
2685
|
i0.ɵɵattribute("name", ctx.name)("tabindex", ctx.tabindex)("placeholder", ctx.placeholder)("accesskey", ctx.shortcutkey)("aria-label", ctx.hint);
|
|
2584
2686
|
} }, dependencies: [i1.NgClass, i1.NgStyle, i2$1.DefaultValueAccessor, i2$1.NgControlStatus, i2$1.RequiredValidator, i2$1.MaxLengthValidator, i2$1.NgModel], encapsulation: 2 }); }
|
|
2585
2687
|
}
|
|
2586
|
-
(
|
|
2688
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(InputColorComponent, [{
|
|
2587
2689
|
type: Component,
|
|
2588
2690
|
args: [{ selector: 'wm-input[type="color"]', providers: [
|
|
2589
2691
|
provideAs(InputColorComponent, NG_VALUE_ACCESSOR, true),
|
|
2590
2692
|
provideAs(InputColorComponent, NG_VALIDATORS, true),
|
|
2591
2693
|
provideAsWidgetRef(InputColorComponent)
|
|
2592
|
-
], template: "<input class=\"form-control app-textbox\"\n focus-target\n [type]=\"type\"\n role=\"textbox\"\n [attr.name]=\"name\"\n [(ngModel)]=\"datavalue\"\n [readonly]=\"readonly\"\n [required]=\"required\"\n [disabled]=\"disabled\"\n [maxlength]=\"maxchars\"\n [attr.tabindex]=\"tabindex\"\n [attr.placeholder]=\"placeholder\"\n [attr.accesskey]=\"shortcutkey\"\n [attr.aria-label]=\"hint\"\n [autofocus]=\"autofocus\"\n [ngClass]=\"conditionalclass\"\n [ngStyle]=\"conditionalstyle\"\n (blur)=\"handleBlur($event)\"\n (ngModelChange)=\"handleChange($event)\"\n #input>\n" }]
|
|
2593
|
-
}],
|
|
2694
|
+
], template: "<input class=\"form-control app-textbox\"\n focus-target\n [type]=\"type\"\n role=\"textbox\"\n [attr.name]=\"name\"\n [(ngModel)]=\"datavalue\"\n [ngModelOptions]=\"{standalone: true}\"\n [readonly]=\"readonly\"\n [required]=\"required\"\n [disabled]=\"disabled\"\n [maxlength]=\"maxchars\"\n [attr.tabindex]=\"tabindex\"\n [attr.placeholder]=\"placeholder\"\n [attr.accesskey]=\"shortcutkey\"\n [attr.aria-label]=\"hint\"\n [autofocus]=\"autofocus\"\n [ngClass]=\"conditionalclass\"\n [ngStyle]=\"conditionalstyle\"\n (blur)=\"handleBlur($event)\"\n (ngModelChange)=\"handleChange($event)\"\n #input>\n" }]
|
|
2695
|
+
}], () => [{ type: i0.Injector }, { type: undefined, decorators: [{
|
|
2696
|
+
type: Inject,
|
|
2697
|
+
args: ['EXPLICIT_CONTEXT']
|
|
2698
|
+
}, {
|
|
2699
|
+
type: Optional
|
|
2700
|
+
}] }], { inputEl: [{
|
|
2594
2701
|
type: ViewChild,
|
|
2595
2702
|
args: ['input', { static: true }]
|
|
2596
2703
|
}], ngModel: [{
|
|
2597
2704
|
type: ViewChild,
|
|
2598
2705
|
args: [NgModel]
|
|
2599
2706
|
}] }); })();
|
|
2707
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(InputColorComponent, { className: "InputColorComponent", filePath: "text/color/input-color.component.ts", lineNumber: 23 }); })();
|
|
2600
2708
|
|
|
2601
2709
|
const inputEmailTypeProps = new Map([
|
|
2602
2710
|
['autocomplete', { value: true, ...PROP_BOOLEAN }],
|
|
@@ -2633,10 +2741,10 @@ const WIDGET_CONFIG$3 = {
|
|
|
2633
2741
|
};
|
|
2634
2742
|
class InputEmailComponent extends BaseInput {
|
|
2635
2743
|
static { this.initializeProps = registerProps$3(); }
|
|
2636
|
-
constructor(inj) {
|
|
2637
|
-
super(inj, WIDGET_CONFIG$3);
|
|
2744
|
+
constructor(inj, explicitContext) {
|
|
2745
|
+
super(inj, WIDGET_CONFIG$3, explicitContext);
|
|
2638
2746
|
}
|
|
2639
|
-
static { this.ɵfac = function InputEmailComponent_Factory(t) { return new (t || InputEmailComponent)(i0.ɵɵdirectiveInject(i0.Injector)); }; }
|
|
2747
|
+
static { this.ɵfac = function InputEmailComponent_Factory(t) { return new (t || InputEmailComponent)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject('EXPLICIT_CONTEXT', 8)); }; }
|
|
2640
2748
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: InputEmailComponent, selectors: [["wm-input", "type", "email"]], viewQuery: function InputEmailComponent_Query(rf, ctx) { if (rf & 1) {
|
|
2641
2749
|
i0.ɵɵviewQuery(_c0$3, 7);
|
|
2642
2750
|
i0.ɵɵviewQuery(NgModel, 5);
|
|
@@ -2648,30 +2756,39 @@ class InputEmailComponent extends BaseInput {
|
|
|
2648
2756
|
provideAs(InputEmailComponent, NG_VALUE_ACCESSOR, true),
|
|
2649
2757
|
provideAs(InputEmailComponent, NG_VALIDATORS, true),
|
|
2650
2758
|
provideAsWidgetRef(InputEmailComponent)
|
|
2651
|
-
]), i0.ɵɵInheritDefinitionFeature], attrs: _c1$2, decls: 2, vars: 17, consts: [["focus-target", "", "role", "textbox", "email", "", 1, "form-control", "app-textbox", 3, "type", "ngModel", "ngModelOptions", "readonly", "required", "disabled", "maxlength", "pattern", "autofocus", "ngClass", "ngStyle", "autocomplete"
|
|
2759
|
+
]), i0.ɵɵInheritDefinitionFeature], attrs: _c1$2, decls: 2, vars: 17, consts: [["input", ""], ["focus-target", "", "role", "textbox", "email", "", 1, "form-control", "app-textbox", 3, "ngModelChange", "blur", "keyup.enter", "type", "ngModel", "ngModelOptions", "readonly", "required", "disabled", "maxlength", "pattern", "autofocus", "ngClass", "ngStyle", "autocomplete"]], template: function InputEmailComponent_Template(rf, ctx) { if (rf & 1) {
|
|
2652
2760
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
2653
|
-
i0.ɵɵelementStart(0, "input",
|
|
2654
|
-
i0.ɵɵ
|
|
2761
|
+
i0.ɵɵelementStart(0, "input", 1, 0);
|
|
2762
|
+
i0.ɵɵtwoWayListener("ngModelChange", function InputEmailComponent_Template_input_ngModelChange_0_listener($event) { i0.ɵɵrestoreView(_r1); i0.ɵɵtwoWayBindingSet(ctx.datavalue, $event) || (ctx.datavalue = $event); return i0.ɵɵresetView($event); });
|
|
2763
|
+
i0.ɵɵlistener("blur", function InputEmailComponent_Template_input_blur_0_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.handleBlur($event)); })("ngModelChange", function InputEmailComponent_Template_input_ngModelChange_0_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.handleChange($event)); })("keyup.enter", function InputEmailComponent_Template_input_keyup_enter_0_listener() { i0.ɵɵrestoreView(_r1); const input_r2 = i0.ɵɵreference(1); return i0.ɵɵresetView(ctx.flushViewChanges(input_r2.value)); });
|
|
2655
2764
|
i0.ɵɵelementEnd();
|
|
2656
2765
|
} if (rf & 2) {
|
|
2657
|
-
i0.ɵɵproperty("type", ctx.type)
|
|
2766
|
+
i0.ɵɵproperty("type", ctx.type);
|
|
2767
|
+
i0.ɵɵtwoWayProperty("ngModel", ctx.datavalue);
|
|
2768
|
+
i0.ɵɵproperty("ngModelOptions", ctx.ngModelOptions)("readonly", ctx.readonly)("required", ctx.required)("disabled", ctx.disabled)("maxlength", ctx.maxchars)("pattern", ctx.regexp)("autofocus", ctx.autofocus)("ngClass", ctx.conditionalclass)("ngStyle", ctx.conditionalstyle)("autocomplete", ctx.autocomplete ? "on" : "off");
|
|
2658
2769
|
i0.ɵɵattribute("name", ctx.name)("tabindex", ctx.tabindex)("placeholder", ctx.placeholder)("accesskey", ctx.shortcutkey)("aria-label", ctx.hint);
|
|
2659
2770
|
} }, dependencies: [i1.NgClass, i1.NgStyle, i2$1.DefaultValueAccessor, i2$1.NgControlStatus, i2$1.RequiredValidator, i2$1.MaxLengthValidator, i2$1.PatternValidator, i2$1.EmailValidator, i2$1.NgModel], encapsulation: 2 }); }
|
|
2660
2771
|
}
|
|
2661
|
-
(
|
|
2772
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(InputEmailComponent, [{
|
|
2662
2773
|
type: Component,
|
|
2663
2774
|
args: [{ selector: 'wm-input[type="email"]', providers: [
|
|
2664
2775
|
provideAs(InputEmailComponent, NG_VALUE_ACCESSOR, true),
|
|
2665
2776
|
provideAs(InputEmailComponent, NG_VALIDATORS, true),
|
|
2666
2777
|
provideAsWidgetRef(InputEmailComponent)
|
|
2667
2778
|
], 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" }]
|
|
2668
|
-
}],
|
|
2779
|
+
}], () => [{ type: i0.Injector }, { type: undefined, decorators: [{
|
|
2780
|
+
type: Inject,
|
|
2781
|
+
args: ['EXPLICIT_CONTEXT']
|
|
2782
|
+
}, {
|
|
2783
|
+
type: Optional
|
|
2784
|
+
}] }], { inputEl: [{
|
|
2669
2785
|
type: ViewChild,
|
|
2670
2786
|
args: ['input', { static: true }]
|
|
2671
2787
|
}], ngModel: [{
|
|
2672
2788
|
type: ViewChild,
|
|
2673
2789
|
args: [NgModel]
|
|
2674
2790
|
}] }); })();
|
|
2791
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(InputEmailComponent, { className: "InputEmailComponent", filePath: "text/email/input-email.component.ts", lineNumber: 23 }); })();
|
|
2675
2792
|
|
|
2676
2793
|
const inputNumberTypeProps = new Map([
|
|
2677
2794
|
['autocomplete', { value: true, ...PROP_BOOLEAN }],
|
|
@@ -2705,15 +2822,15 @@ const registerProps$2 = () => {
|
|
|
2705
2822
|
|
|
2706
2823
|
const _c0$2 = ["input"];
|
|
2707
2824
|
const _c1$1 = ["type", "number"];
|
|
2708
|
-
const _c2 =
|
|
2825
|
+
const _c2 = a0 => ({ "step-hidden": a0 });
|
|
2709
2826
|
const WIDGET_CONFIG$2 = {
|
|
2710
2827
|
widgetType: 'wm-input-number',
|
|
2711
2828
|
hostClass: 'app-input-wrapper'
|
|
2712
2829
|
};
|
|
2713
2830
|
class InputNumberComponent extends BaseInput {
|
|
2714
2831
|
static { this.initializeProps = registerProps$2(); }
|
|
2715
|
-
constructor(inj) {
|
|
2716
|
-
super(inj, WIDGET_CONFIG$2);
|
|
2832
|
+
constructor(inj, explicitContext) {
|
|
2833
|
+
super(inj, WIDGET_CONFIG$2, explicitContext);
|
|
2717
2834
|
}
|
|
2718
2835
|
onArrowPress($event) {
|
|
2719
2836
|
if (this.step === 0) {
|
|
@@ -2725,7 +2842,7 @@ class InputNumberComponent extends BaseInput {
|
|
|
2725
2842
|
return false;
|
|
2726
2843
|
}
|
|
2727
2844
|
}
|
|
2728
|
-
static { this.ɵfac = function InputNumberComponent_Factory(t) { return new (t || InputNumberComponent)(i0.ɵɵdirectiveInject(i0.Injector)); }; }
|
|
2845
|
+
static { this.ɵfac = function InputNumberComponent_Factory(t) { return new (t || InputNumberComponent)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject('EXPLICIT_CONTEXT', 8)); }; }
|
|
2729
2846
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: InputNumberComponent, selectors: [["wm-input", "type", "number"]], viewQuery: function InputNumberComponent_Query(rf, ctx) { if (rf & 1) {
|
|
2730
2847
|
i0.ɵɵviewQuery(_c0$2, 7);
|
|
2731
2848
|
i0.ɵɵviewQuery(NgModel, 5);
|
|
@@ -2737,30 +2854,39 @@ class InputNumberComponent extends BaseInput {
|
|
|
2737
2854
|
provideAs(InputNumberComponent, NG_VALUE_ACCESSOR, true),
|
|
2738
2855
|
provideAs(InputNumberComponent, NG_VALIDATORS, true),
|
|
2739
2856
|
provideAsWidgetRef(InputNumberComponent)
|
|
2740
|
-
]), i0.ɵɵInheritDefinitionFeature], attrs: _c1$1, decls: 2, vars: 22, consts: [["focus-target", "", "role", "textbox", 1, "form-control", "app-textbox", 3, "
|
|
2857
|
+
]), i0.ɵɵInheritDefinitionFeature], attrs: _c1$1, decls: 2, vars: 22, consts: [["input", ""], ["focus-target", "", "role", "textbox", 1, "form-control", "app-textbox", 3, "ngModelChange", "blur", "keyup.enter", "keydown.ArrowUp", "keydown.ArrowDown", "keypress", "ngClass", "type", "ngModel", "ngModelOptions", "readonly", "required", "disabled", "maxlength", "min", "max", "step", "autofocus", "ngStyle", "autocomplete"]], template: function InputNumberComponent_Template(rf, ctx) { if (rf & 1) {
|
|
2741
2858
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
2742
|
-
i0.ɵɵelementStart(0, "input",
|
|
2743
|
-
i0.ɵɵ
|
|
2859
|
+
i0.ɵɵelementStart(0, "input", 1, 0);
|
|
2860
|
+
i0.ɵɵtwoWayListener("ngModelChange", function InputNumberComponent_Template_input_ngModelChange_0_listener($event) { i0.ɵɵrestoreView(_r1); i0.ɵɵtwoWayBindingSet(ctx.datavalue, $event) || (ctx.datavalue = $event); return i0.ɵɵresetView($event); });
|
|
2861
|
+
i0.ɵɵlistener("blur", function InputNumberComponent_Template_input_blur_0_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.handleBlur($event)); })("ngModelChange", function InputNumberComponent_Template_input_ngModelChange_0_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.handleChange($event)); })("keyup.enter", function InputNumberComponent_Template_input_keyup_enter_0_listener() { i0.ɵɵrestoreView(_r1); const input_r2 = i0.ɵɵreference(1); return i0.ɵɵresetView(ctx.flushViewChanges(input_r2.value)); })("keydown.ArrowUp", function InputNumberComponent_Template_input_keydown_ArrowUp_0_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onArrowPress($event)); })("keydown.ArrowDown", function InputNumberComponent_Template_input_keydown_ArrowDown_0_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onArrowPress($event)); })("keypress", function InputNumberComponent_Template_input_keypress_0_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.validateInputEntry($event)); });
|
|
2744
2862
|
i0.ɵɵelementEnd();
|
|
2745
2863
|
} if (rf & 2) {
|
|
2746
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(20, _c2, ctx.step === 0))("type", ctx.type)
|
|
2864
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(20, _c2, ctx.step === 0))("type", ctx.type);
|
|
2865
|
+
i0.ɵɵtwoWayProperty("ngModel", ctx.datavalue);
|
|
2866
|
+
i0.ɵɵproperty("ngModelOptions", ctx.ngModelOptions)("readonly", ctx.readonly)("required", ctx.required)("disabled", ctx.disabled)("maxlength", ctx.maxchars)("min", ctx.minvalue)("max", ctx.maxvalue)("step", ctx.step)("autofocus", ctx.autofocus)("ngClass", ctx.conditionalclass)("ngStyle", ctx.conditionalstyle)("autocomplete", ctx.autocomplete ? "on" : "off");
|
|
2747
2867
|
i0.ɵɵattribute("name", ctx.name)("tabindex", ctx.tabindex)("placeholder", ctx.placeholder)("accesskey", ctx.shortcutkey)("aria-label", ctx.hint);
|
|
2748
2868
|
} }, dependencies: [i1.NgClass, i1.NgStyle, i2$1.DefaultValueAccessor, i2$1.NgControlStatus, i2$1.RequiredValidator, i2$1.MaxLengthValidator, i2$1.NgModel], encapsulation: 2 }); }
|
|
2749
2869
|
}
|
|
2750
|
-
(
|
|
2870
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(InputNumberComponent, [{
|
|
2751
2871
|
type: Component,
|
|
2752
2872
|
args: [{ selector: 'wm-input[type="number"]', providers: [
|
|
2753
2873
|
provideAs(InputNumberComponent, NG_VALUE_ACCESSOR, true),
|
|
2754
2874
|
provideAs(InputNumberComponent, NG_VALIDATORS, true),
|
|
2755
2875
|
provideAsWidgetRef(InputNumberComponent)
|
|
2756
2876
|
], 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" }]
|
|
2757
|
-
}],
|
|
2877
|
+
}], () => [{ type: i0.Injector }, { type: undefined, decorators: [{
|
|
2878
|
+
type: Inject,
|
|
2879
|
+
args: ['EXPLICIT_CONTEXT']
|
|
2880
|
+
}, {
|
|
2881
|
+
type: Optional
|
|
2882
|
+
}] }], { inputEl: [{
|
|
2758
2883
|
type: ViewChild,
|
|
2759
2884
|
args: ['input', { static: true }]
|
|
2760
2885
|
}], ngModel: [{
|
|
2761
2886
|
type: ViewChild,
|
|
2762
2887
|
args: [NgModel]
|
|
2763
2888
|
}] }); })();
|
|
2889
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(InputNumberComponent, { className: "InputNumberComponent", filePath: "text/number/input-number.component.ts", lineNumber: 22 }); })();
|
|
2764
2890
|
|
|
2765
2891
|
const inputTextTypeProps = new Map([
|
|
2766
2892
|
['autocomplete', { value: true, ...PROP_BOOLEAN }],
|
|
@@ -2809,8 +2935,8 @@ const WIDGET_CONFIG$1 = {
|
|
|
2809
2935
|
};
|
|
2810
2936
|
class InputTextComponent extends BaseInput {
|
|
2811
2937
|
static { this.initializeProps = registerProps$1(); }
|
|
2812
|
-
constructor(inj) {
|
|
2813
|
-
super(inj, WIDGET_CONFIG$1);
|
|
2938
|
+
constructor(inj, explicitContext) {
|
|
2939
|
+
super(inj, WIDGET_CONFIG$1, explicitContext);
|
|
2814
2940
|
this.lazy = false;
|
|
2815
2941
|
}
|
|
2816
2942
|
/* Define the property change handler. This function will be triggered when there is a change in the widget property */
|
|
@@ -2881,7 +3007,7 @@ class InputTextComponent extends BaseInput {
|
|
|
2881
3007
|
super.ngOnInit();
|
|
2882
3008
|
this.isFocused = !!this.datavalue;
|
|
2883
3009
|
}
|
|
2884
|
-
static { this.ɵfac = function InputTextComponent_Factory(t) { return new (t || InputTextComponent)(i0.ɵɵdirectiveInject(i0.Injector)); }; }
|
|
3010
|
+
static { this.ɵfac = function InputTextComponent_Factory(t) { return new (t || InputTextComponent)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject('EXPLICIT_CONTEXT', 8)); }; }
|
|
2885
3011
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: InputTextComponent, selectors: [["wm-input", "type", "text"], ["wm-input", 3, "type", ""], ["wm-input", "type", "password"], ["wm-input", "type", "search"], ["wm-input", "type", "tel"], ["wm-input", "type", "url"]], viewQuery: function InputTextComponent_Query(rf, ctx) { if (rf & 1) {
|
|
2886
3012
|
i0.ɵɵviewQuery(_c0$1, 7);
|
|
2887
3013
|
i0.ɵɵviewQuery(NgModel, 5);
|
|
@@ -2895,24 +3021,32 @@ class InputTextComponent extends BaseInput {
|
|
|
2895
3021
|
provideAs(InputTextComponent, NG_VALUE_ACCESSOR, true),
|
|
2896
3022
|
provideAs(InputTextComponent, NG_VALIDATORS, true),
|
|
2897
3023
|
provideAsWidgetRef(InputTextComponent)
|
|
2898
|
-
]), i0.ɵɵInheritDefinitionFeature], attrs: _c1, decls: 2, vars: 19, consts: [["focus-target", "", "role", "textbox", 1, "form-control", "app-textbox", 3, "
|
|
3024
|
+
]), i0.ɵɵInheritDefinitionFeature], attrs: _c1, decls: 2, vars: 19, consts: [["input", ""], ["focus-target", "", "role", "textbox", 1, "form-control", "app-textbox", 3, "ngModelChange", "blur", "focus", "keyup.enter", "type", "ngModel", "imask", "unmask", "ngModelOptions", "readonly", "required", "disabled", "maxlength", "pattern", "autofocus", "ngClass", "ngStyle", "autocomplete"]], template: function InputTextComponent_Template(rf, ctx) { if (rf & 1) {
|
|
2899
3025
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
2900
|
-
i0.ɵɵelementStart(0, "input",
|
|
2901
|
-
i0.ɵɵ
|
|
3026
|
+
i0.ɵɵelementStart(0, "input", 1, 0);
|
|
3027
|
+
i0.ɵɵtwoWayListener("ngModelChange", function InputTextComponent_Template_input_ngModelChange_0_listener($event) { i0.ɵɵrestoreView(_r1); i0.ɵɵtwoWayBindingSet(ctx.datavalue, $event) || (ctx.datavalue = $event); return i0.ɵɵresetView($event); });
|
|
3028
|
+
i0.ɵɵlistener("ngModelChange", function InputTextComponent_Template_input_ngModelChange_0_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.handleChange($event)); })("blur", function InputTextComponent_Template_input_blur_0_listener($event) { i0.ɵɵrestoreView(_r1); ctx.handleBlur($event); return i0.ɵɵresetView(ctx.checkForDisplayFormat($event)); })("focus", function InputTextComponent_Template_input_focus_0_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.checkForDisplayFormat($event)); })("keyup.enter", function InputTextComponent_Template_input_keyup_enter_0_listener() { i0.ɵɵrestoreView(_r1); const input_r2 = i0.ɵɵreference(1); return i0.ɵɵresetView(ctx.flushViewChanges(input_r2.value)); });
|
|
2902
3029
|
i0.ɵɵelementEnd();
|
|
2903
3030
|
} if (rf & 2) {
|
|
2904
|
-
i0.ɵɵproperty("type", ctx.type)
|
|
3031
|
+
i0.ɵɵproperty("type", ctx.type);
|
|
3032
|
+
i0.ɵɵtwoWayProperty("ngModel", ctx.datavalue);
|
|
3033
|
+
i0.ɵɵproperty("imask", ctx.mask)("unmask", true)("ngModelOptions", ctx.ngModelOptions)("readonly", ctx.readonly)("required", ctx.required)("disabled", ctx.disabled)("maxlength", ctx.maxchars)("pattern", ctx.regexp)("autofocus", ctx.autofocus)("ngClass", ctx.conditionalclass)("ngStyle", ctx.conditionalstyle)("autocomplete", ctx.autocomplete ? "on" : "off");
|
|
2905
3034
|
i0.ɵɵattribute("name", ctx.name)("aria-label", ctx.hint)("tabindex", ctx.tabindex)("placeholder", ctx.placeholder)("accesskey", ctx.shortcutkey);
|
|
2906
3035
|
} }, dependencies: [i1.NgClass, i1.NgStyle, i2$1.DefaultValueAccessor, i2$1.NgControlStatus, i2$1.RequiredValidator, i2$1.MaxLengthValidator, i2$1.PatternValidator, i2$1.NgModel, i3.IMaskDirective], encapsulation: 2 }); }
|
|
2907
3036
|
}
|
|
2908
|
-
(
|
|
3037
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(InputTextComponent, [{
|
|
2909
3038
|
type: Component,
|
|
2910
3039
|
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: [
|
|
2911
3040
|
provideAs(InputTextComponent, NG_VALUE_ACCESSOR, true),
|
|
2912
3041
|
provideAs(InputTextComponent, NG_VALIDATORS, true),
|
|
2913
3042
|
provideAsWidgetRef(InputTextComponent)
|
|
2914
3043
|
], 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" }]
|
|
2915
|
-
}],
|
|
3044
|
+
}], () => [{ type: i0.Injector }, { type: undefined, decorators: [{
|
|
3045
|
+
type: Inject,
|
|
3046
|
+
args: ['EXPLICIT_CONTEXT']
|
|
3047
|
+
}, {
|
|
3048
|
+
type: Optional
|
|
3049
|
+
}] }], { inputEl: [{
|
|
2916
3050
|
type: ViewChild,
|
|
2917
3051
|
args: ['input', { static: true }]
|
|
2918
3052
|
}], ngModel: [{
|
|
@@ -2922,6 +3056,7 @@ class InputTextComponent extends BaseInput {
|
|
|
2922
3056
|
type: ViewChild,
|
|
2923
3057
|
args: ['input', { read: IMaskDirective }]
|
|
2924
3058
|
}] }); })();
|
|
3059
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(InputTextComponent, { className: "InputTextComponent", filePath: "text/text/input-text.component.ts", lineNumber: 23 }); })();
|
|
2925
3060
|
|
|
2926
3061
|
const textareaProps = new Map([
|
|
2927
3062
|
['autofocus', PROP_BOOLEAN],
|
|
@@ -2957,7 +3092,7 @@ function TextareaComponent_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
|
2957
3092
|
i0.ɵɵelementEnd();
|
|
2958
3093
|
} if (rf & 2) {
|
|
2959
3094
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
2960
|
-
i0.ɵɵadvance(
|
|
3095
|
+
i0.ɵɵadvance();
|
|
2961
3096
|
i0.ɵɵtextInterpolate(ctx_r1.limitdisplaytext);
|
|
2962
3097
|
} }
|
|
2963
3098
|
const WIDGET_CONFIG = {
|
|
@@ -2966,14 +3101,14 @@ const WIDGET_CONFIG = {
|
|
|
2966
3101
|
};
|
|
2967
3102
|
class TextareaComponent extends BaseInput {
|
|
2968
3103
|
static { this.initializeProps = registerProps(); }
|
|
2969
|
-
constructor(inj) {
|
|
2970
|
-
super(inj, WIDGET_CONFIG);
|
|
3104
|
+
constructor(inj, explicitContext) {
|
|
3105
|
+
super(inj, WIDGET_CONFIG, explicitContext);
|
|
2971
3106
|
this.charlength = 0;
|
|
2972
3107
|
}
|
|
2973
3108
|
onInputChange() {
|
|
2974
3109
|
this.charlength = this.inputEl.nativeElement.value.length;
|
|
2975
3110
|
}
|
|
2976
|
-
static { this.ɵfac = function TextareaComponent_Factory(t) { return new (t || TextareaComponent)(i0.ɵɵdirectiveInject(i0.Injector)); }; }
|
|
3111
|
+
static { this.ɵfac = function TextareaComponent_Factory(t) { return new (t || TextareaComponent)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject('EXPLICIT_CONTEXT', 8)); }; }
|
|
2977
3112
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TextareaComponent, selectors: [["wm-textarea"]], viewQuery: function TextareaComponent_Query(rf, ctx) { if (rf & 1) {
|
|
2978
3113
|
i0.ɵɵviewQuery(_c0, 7);
|
|
2979
3114
|
i0.ɵɵviewQuery(NgModel, 5);
|
|
@@ -2985,32 +3120,41 @@ class TextareaComponent extends BaseInput {
|
|
|
2985
3120
|
provideAs(TextareaComponent, NG_VALUE_ACCESSOR, true),
|
|
2986
3121
|
provideAs(TextareaComponent, NG_VALIDATORS, true),
|
|
2987
3122
|
provideAsWidgetRef(TextareaComponent)
|
|
2988
|
-
]), i0.ɵɵInheritDefinitionFeature], decls: 3, vars: 15, consts: [["focus-target", "", "role", "textbox", "aria-multiline", "true", 1, "form-control", "app-textarea", 3, "
|
|
2989
|
-
i0.ɵɵ
|
|
2990
|
-
i0.ɵɵ
|
|
3123
|
+
]), i0.ɵɵInheritDefinitionFeature], decls: 3, vars: 15, consts: [["textarea", ""], ["focus-target", "", "role", "textbox", "aria-multiline", "true", 1, "form-control", "app-textarea", 3, "ngModelChange", "blur", "input", "ngModel", "ngModelOptions", "readonly", "required", "disabled", "maxlength", "autofocus", "ngClass", "ngStyle"], ["class", "textarea-count", 4, "ngIf"], [1, "textarea-count"]], template: function TextareaComponent_Template(rf, ctx) { if (rf & 1) {
|
|
3124
|
+
const _r1 = i0.ɵɵgetCurrentView();
|
|
3125
|
+
i0.ɵɵelementStart(0, "textarea", 1, 0);
|
|
3126
|
+
i0.ɵɵtwoWayListener("ngModelChange", function TextareaComponent_Template_textarea_ngModelChange_0_listener($event) { i0.ɵɵrestoreView(_r1); i0.ɵɵtwoWayBindingSet(ctx.datavalue, $event) || (ctx.datavalue = $event); return i0.ɵɵresetView($event); });
|
|
3127
|
+
i0.ɵɵlistener("blur", function TextareaComponent_Template_textarea_blur_0_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.handleBlur($event)); })("input", function TextareaComponent_Template_textarea_input_0_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onInputChange()); })("ngModelChange", function TextareaComponent_Template_textarea_ngModelChange_0_listener($event) { i0.ɵɵrestoreView(_r1); ctx.handleChange($event); return i0.ɵɵresetView(ctx.onInputChange()); });
|
|
2991
3128
|
i0.ɵɵelementEnd();
|
|
2992
3129
|
i0.ɵɵtemplate(2, TextareaComponent_div_2_Template, 2, 1, "div", 2);
|
|
2993
3130
|
} if (rf & 2) {
|
|
2994
|
-
i0.ɵɵ
|
|
3131
|
+
i0.ɵɵtwoWayProperty("ngModel", ctx.datavalue);
|
|
3132
|
+
i0.ɵɵproperty("ngModelOptions", ctx.ngModelOptions)("readonly", ctx.readonly)("required", ctx.required)("disabled", ctx.disabled)("maxlength", ctx.maxchars)("autofocus", ctx.autofocus)("ngClass", ctx.conditionalclass)("ngStyle", ctx.conditionalstyle);
|
|
2995
3133
|
i0.ɵɵattribute("name", ctx.name)("tabindex", ctx.tabindex)("placeholder", ctx.placeholder)("accesskey", ctx.shortcutkey)("aria-label", ctx.hint);
|
|
2996
3134
|
i0.ɵɵadvance(2);
|
|
2997
3135
|
i0.ɵɵproperty("ngIf", ctx.maxchars);
|
|
2998
3136
|
} }, dependencies: [i1.NgClass, i1.NgIf, i1.NgStyle, i2$1.DefaultValueAccessor, i2$1.NgControlStatus, i2$1.RequiredValidator, i2$1.MaxLengthValidator, i2$1.NgModel], encapsulation: 2 }); }
|
|
2999
3137
|
}
|
|
3000
|
-
(
|
|
3138
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TextareaComponent, [{
|
|
3001
3139
|
type: Component,
|
|
3002
3140
|
args: [{ selector: 'wm-textarea', providers: [
|
|
3003
3141
|
provideAs(TextareaComponent, NG_VALUE_ACCESSOR, true),
|
|
3004
3142
|
provideAs(TextareaComponent, NG_VALIDATORS, true),
|
|
3005
3143
|
provideAsWidgetRef(TextareaComponent)
|
|
3006
3144
|
], 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" }]
|
|
3007
|
-
}],
|
|
3145
|
+
}], () => [{ type: i0.Injector }, { type: undefined, decorators: [{
|
|
3146
|
+
type: Inject,
|
|
3147
|
+
args: ['EXPLICIT_CONTEXT']
|
|
3148
|
+
}, {
|
|
3149
|
+
type: Optional
|
|
3150
|
+
}] }], { inputEl: [{
|
|
3008
3151
|
type: ViewChild,
|
|
3009
3152
|
args: ['textarea', { static: true }]
|
|
3010
3153
|
}], ngModel: [{
|
|
3011
3154
|
type: ViewChild,
|
|
3012
3155
|
args: [NgModel]
|
|
3013
3156
|
}] }); })();
|
|
3157
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TextareaComponent, { className: "TextareaComponent", filePath: "textarea/textarea.component.ts", lineNumber: 22 }); })();
|
|
3014
3158
|
|
|
3015
3159
|
class CaptionPositionDirective {
|
|
3016
3160
|
constructor(inj, app) {
|
|
@@ -3024,7 +3168,7 @@ class CaptionPositionDirective {
|
|
|
3024
3168
|
let mobileInputVal;
|
|
3025
3169
|
// In case of mobile date / time picker check for input element's value which has 'mobile-input' class
|
|
3026
3170
|
if (this.inputEl.length > 1 && this.inputEl.hasClass('mobile-input')) {
|
|
3027
|
-
|
|
3171
|
+
forEach(this.inputEl, (el) => {
|
|
3028
3172
|
if ($(el).hasClass('mobile-input') && el.value) {
|
|
3029
3173
|
mobileInputVal = el.value;
|
|
3030
3174
|
}
|
|
@@ -3133,8 +3277,7 @@ class CaptionPositionDirective {
|
|
|
3133
3277
|
// isSelectMultiple is set to true when for select widget, multiple option is enabled
|
|
3134
3278
|
// Checking inputEl focus - when form is represented as dialog and the first field is automatically in focus
|
|
3135
3279
|
const isInputElFocused = this.inputEl && this.inputEl.is(':focus');
|
|
3136
|
-
|
|
3137
|
-
if ((data.isSelect && localName == 'select') || data.displayVal || data.isFocused || data.isSelectMultiple || isInputElFocused) {
|
|
3280
|
+
if (data.displayVal || data.isFocused || data.isSelectMultiple || isInputElFocused) {
|
|
3138
3281
|
data.nativeEl.addClass('float-active');
|
|
3139
3282
|
if (!data.displayVal && isInputElFocused) {
|
|
3140
3283
|
this.inputEl.attr('placeholder', this.placeholder);
|
|
@@ -3171,12 +3314,12 @@ class CaptionPositionDirective {
|
|
|
3171
3314
|
static { this.ɵfac = function CaptionPositionDirective_Factory(t) { return new (t || CaptionPositionDirective)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(i1$1.App)); }; }
|
|
3172
3315
|
static { this.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: CaptionPositionDirective, selectors: [["", "wmCaptionPosition", ""]] }); }
|
|
3173
3316
|
}
|
|
3174
|
-
(
|
|
3317
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaptionPositionDirective, [{
|
|
3175
3318
|
type: Directive,
|
|
3176
3319
|
args: [{
|
|
3177
3320
|
selector: '[wmCaptionPosition]'
|
|
3178
3321
|
}]
|
|
3179
|
-
}],
|
|
3322
|
+
}], () => [{ type: i0.Injector }, { type: i1$1.App }], null); })();
|
|
3180
3323
|
|
|
3181
3324
|
const components = [
|
|
3182
3325
|
ButtonComponent,
|
|
@@ -3204,7 +3347,7 @@ class InputModule {
|
|
|
3204
3347
|
WmComponentsModule,
|
|
3205
3348
|
IMaskModule] }); }
|
|
3206
3349
|
}
|
|
3207
|
-
(
|
|
3350
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(InputModule, [{
|
|
3208
3351
|
type: NgModule,
|
|
3209
3352
|
args: [{
|
|
3210
3353
|
imports: [
|
|
@@ -3256,5 +3399,5 @@ class InputModule {
|
|
|
3256
3399
|
* Generated bundle index. Do not edit.
|
|
3257
3400
|
*/
|
|
3258
3401
|
|
|
3259
|
-
export { BaseFormComponent, BaseFormCustomComponent, ButtonComponent, ButtonGroupDirective, CaptionPositionDirective, CheckboxComponent, CheckboxsetComponent, CompositeDirective, DatasetAwareFormComponent, InputCalendarComponent, InputColorComponent, InputEmailComponent, InputModule, InputNumberComponent, InputTextComponent, NumberComponent, NumberLocale, RadiosetComponent, SelectComponent, SwitchComponent, TextareaComponent };
|
|
3402
|
+
export { BaseFormComponent, BaseFormCustomComponent, ButtonComponent, ButtonGroupDirective, CaptionPositionDirective, CheckboxComponent, CheckboxsetComponent, CompositeDirective, DatasetAwareFormComponent, InputCalendarComponent, InputColorComponent, InputEmailComponent, InputModule, InputNumberComponent, InputTextComponent, NumberComponent, NumberLocale, RadiosetComponent, SelectComponent, SwitchComponent, TextareaComponent, unStringify };
|
|
3260
3403
|
//# sourceMappingURL=index.mjs.map
|