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