@wavemaker/app-ng-runtime 11.4.1-next.141652 → 11.4.1-next.141654
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/components/advanced/carousel/bundles/index.umd.js +12 -23
- app-ng-runtime/components/advanced/carousel/carousel-template/carousel-template.directive.d.ts +2 -4
- app-ng-runtime/components/advanced/carousel/carousel.directive.d.ts +2 -4
- app-ng-runtime/components/advanced/carousel/esm2020/carousel-template/carousel-template.directive.mjs +6 -11
- app-ng-runtime/components/advanced/carousel/esm2020/carousel.directive.mjs +6 -11
- app-ng-runtime/components/advanced/carousel/fesm2015/index.mjs +9 -20
- app-ng-runtime/components/advanced/carousel/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/advanced/carousel/fesm2020/index.mjs +9 -16
- app-ng-runtime/components/advanced/carousel/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/advanced/login/bundles/index.umd.js +21 -27
- app-ng-runtime/components/advanced/login/esm2020/login.component.mjs +8 -13
- app-ng-runtime/components/advanced/login/fesm2015/index.mjs +7 -13
- app-ng-runtime/components/advanced/login/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/advanced/login/fesm2020/index.mjs +7 -11
- app-ng-runtime/components/advanced/login/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/advanced/login/login.component.d.ts +2 -4
- app-ng-runtime/components/advanced/marquee/bundles/index.umd.js +8 -14
- app-ng-runtime/components/advanced/marquee/esm2020/marquee.directive.mjs +6 -11
- app-ng-runtime/components/advanced/marquee/fesm2015/index.mjs +5 -11
- app-ng-runtime/components/advanced/marquee/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/advanced/marquee/fesm2020/index.mjs +5 -9
- app-ng-runtime/components/advanced/marquee/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/advanced/marquee/marquee.directive.d.ts +2 -4
- app-ng-runtime/components/base/bundles/index.umd.js +31 -61
- app-ng-runtime/components/base/esm2020/widgets/common/base/base-container.component.mjs +4 -6
- app-ng-runtime/components/base/esm2020/widgets/common/base/base.component.mjs +5 -6
- app-ng-runtime/components/base/esm2020/widgets/common/base/dataset-aware-nav.component.mjs +3 -3
- app-ng-runtime/components/base/esm2020/widgets/common/container/container.directive.mjs +7 -11
- app-ng-runtime/components/base/esm2020/widgets/common/item-template/item-template.directive.mjs +7 -10
- app-ng-runtime/components/base/esm2020/widgets/common/lazy-load/lazy-load.directive.mjs +6 -10
- app-ng-runtime/components/base/esm2020/widgets/common/message/message.component.mjs +7 -11
- app-ng-runtime/components/base/esm2020/widgets/common/partial/partial.directive.mjs +7 -10
- app-ng-runtime/components/base/esm2020/widgets/common/repeat-template/repeat-template.directive.mjs +6 -11
- app-ng-runtime/components/base/fesm2015/index.mjs +32 -62
- app-ng-runtime/components/base/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/base/fesm2020/index.mjs +32 -50
- app-ng-runtime/components/base/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/base/widgets/common/base/base-container.component.d.ts +1 -2
- app-ng-runtime/components/base/widgets/common/base/base.component.d.ts +2 -3
- app-ng-runtime/components/base/widgets/common/base/dataset-aware-nav.component.d.ts +1 -2
- app-ng-runtime/components/base/widgets/common/container/container.directive.d.ts +2 -4
- app-ng-runtime/components/base/widgets/common/item-template/item-template.directive.d.ts +3 -4
- app-ng-runtime/components/base/widgets/common/lazy-load/lazy-load.directive.d.ts +2 -4
- app-ng-runtime/components/base/widgets/common/message/message.component.d.ts +2 -4
- app-ng-runtime/components/base/widgets/common/partial/partial.directive.d.ts +3 -4
- app-ng-runtime/components/base/widgets/common/repeat-template/repeat-template.directive.d.ts +2 -4
- app-ng-runtime/components/basic/default/anchor/anchor.component.d.ts +3 -4
- app-ng-runtime/components/basic/default/audio/audio.component.d.ts +2 -4
- app-ng-runtime/components/basic/default/bundles/index.umd.js +247 -290
- app-ng-runtime/components/basic/default/esm2020/anchor/anchor.component.mjs +7 -10
- app-ng-runtime/components/basic/default/esm2020/audio/audio.component.mjs +8 -13
- app-ng-runtime/components/basic/default/esm2020/html/html.directive.mjs +7 -11
- app-ng-runtime/components/basic/default/esm2020/icon/icon.component.mjs +9 -14
- app-ng-runtime/components/basic/default/esm2020/iframe/iframe.component.mjs +9 -13
- app-ng-runtime/components/basic/default/esm2020/label/label.directive.mjs +7 -11
- app-ng-runtime/components/basic/default/esm2020/picture/picture.directive.mjs +7 -11
- app-ng-runtime/components/basic/default/esm2020/spinner/spinner.component.mjs +9 -13
- app-ng-runtime/components/basic/default/esm2020/video/video.component.mjs +9 -13
- app-ng-runtime/components/basic/default/fesm2015/index.mjs +46 -89
- app-ng-runtime/components/basic/default/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/basic/default/fesm2020/index.mjs +46 -73
- app-ng-runtime/components/basic/default/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/basic/default/html/html.directive.d.ts +2 -4
- app-ng-runtime/components/basic/default/icon/icon.component.d.ts +2 -4
- app-ng-runtime/components/basic/default/iframe/iframe.component.d.ts +2 -4
- app-ng-runtime/components/basic/default/label/label.directive.d.ts +2 -4
- app-ng-runtime/components/basic/default/picture/picture.directive.d.ts +2 -4
- app-ng-runtime/components/basic/default/spinner/spinner.component.d.ts +2 -4
- app-ng-runtime/components/basic/default/video/video.component.d.ts +2 -4
- app-ng-runtime/components/basic/progress/bundles/index.umd.js +23 -32
- app-ng-runtime/components/basic/progress/esm2020/progress-bar/progress-bar.component.mjs +8 -12
- app-ng-runtime/components/basic/progress/esm2020/progress-circle/progress-circle.component.mjs +8 -13
- app-ng-runtime/components/basic/progress/fesm2015/index.mjs +12 -21
- app-ng-runtime/components/basic/progress/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/basic/progress/fesm2020/index.mjs +12 -19
- app-ng-runtime/components/basic/progress/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/basic/progress/progress-bar/progress-bar.component.d.ts +2 -4
- app-ng-runtime/components/basic/progress/progress-circle/progress-circle.component.d.ts +2 -4
- app-ng-runtime/components/basic/rich-text-editor/bundles/index.umd.js +14 -20
- app-ng-runtime/components/basic/rich-text-editor/esm2020/rich-text-editor.component.mjs +9 -13
- app-ng-runtime/components/basic/rich-text-editor/fesm2015/index.mjs +7 -13
- app-ng-runtime/components/basic/rich-text-editor/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/basic/rich-text-editor/fesm2020/index.mjs +7 -11
- app-ng-runtime/components/basic/rich-text-editor/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/basic/rich-text-editor/rich-text-editor.component.d.ts +2 -4
- app-ng-runtime/components/basic/search/bundles/index.umd.js +3 -6
- app-ng-runtime/components/basic/search/esm2020/search.component.mjs +6 -9
- app-ng-runtime/components/basic/search/fesm2015/index.mjs +4 -7
- app-ng-runtime/components/basic/search/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/basic/search/fesm2020/index.mjs +4 -7
- app-ng-runtime/components/basic/search/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/basic/search/search.component.d.ts +3 -4
- app-ng-runtime/components/chart/bundles/index.umd.js +4 -9
- app-ng-runtime/components/chart/chart.component.d.ts +3 -4
- app-ng-runtime/components/chart/esm2020/chart.component.mjs +7 -10
- app-ng-runtime/components/chart/fesm2015/index.mjs +5 -10
- app-ng-runtime/components/chart/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/chart/fesm2020/index.mjs +5 -8
- app-ng-runtime/components/chart/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/containers/accordion/accordion-pane/accordion-pane.component.d.ts +2 -4
- app-ng-runtime/components/containers/accordion/accordion.directive.d.ts +3 -4
- app-ng-runtime/components/containers/accordion/bundles/index.umd.js +56 -66
- app-ng-runtime/components/containers/accordion/esm2020/accordion-pane/accordion-pane.component.mjs +10 -14
- app-ng-runtime/components/containers/accordion/esm2020/accordion.directive.mjs +7 -10
- app-ng-runtime/components/containers/accordion/fesm2015/index.mjs +12 -22
- app-ng-runtime/components/containers/accordion/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/containers/accordion/fesm2020/index.mjs +12 -18
- app-ng-runtime/components/containers/accordion/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/containers/layout-grid/bundles/index.umd.js +12 -25
- app-ng-runtime/components/containers/layout-grid/esm2020/layout-grid-column/layout-grid-column.directive.mjs +7 -10
- app-ng-runtime/components/containers/layout-grid/esm2020/layout-grid-row/layout-grid-row.directive.mjs +6 -11
- app-ng-runtime/components/containers/layout-grid/esm2020/layout-grid.directive.mjs +6 -11
- app-ng-runtime/components/containers/layout-grid/fesm2015/index.mjs +13 -26
- app-ng-runtime/components/containers/layout-grid/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/containers/layout-grid/fesm2020/index.mjs +13 -22
- app-ng-runtime/components/containers/layout-grid/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/containers/layout-grid/layout-grid-column/layout-grid-column.directive.d.ts +3 -4
- app-ng-runtime/components/containers/layout-grid/layout-grid-row/layout-grid-row.directive.d.ts +2 -4
- app-ng-runtime/components/containers/layout-grid/layout-grid.directive.d.ts +2 -4
- app-ng-runtime/components/containers/linear-layout/bundles/index.umd.js +12 -23
- app-ng-runtime/components/containers/linear-layout/esm2020/linear-layout-item/linear-layout-item.directive.mjs +6 -11
- app-ng-runtime/components/containers/linear-layout/esm2020/linear-layout.directive.mjs +6 -11
- app-ng-runtime/components/containers/linear-layout/fesm2015/index.mjs +9 -20
- app-ng-runtime/components/containers/linear-layout/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/containers/linear-layout/fesm2020/index.mjs +9 -16
- app-ng-runtime/components/containers/linear-layout/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/containers/linear-layout/linear-layout-item/linear-layout-item.directive.d.ts +2 -4
- app-ng-runtime/components/containers/linear-layout/linear-layout.directive.d.ts +2 -4
- app-ng-runtime/components/containers/panel/bundles/index.umd.js +65 -71
- app-ng-runtime/components/containers/panel/esm2020/panel.component.mjs +12 -16
- app-ng-runtime/components/containers/panel/fesm2015/index.mjs +10 -16
- app-ng-runtime/components/containers/panel/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/containers/panel/fesm2020/index.mjs +10 -14
- app-ng-runtime/components/containers/panel/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/containers/panel/panel.component.d.ts +2 -4
- app-ng-runtime/components/containers/tabs/bundles/index.umd.js +57 -63
- app-ng-runtime/components/containers/tabs/esm2020/tab-pane/tab-pane.component.mjs +8 -12
- app-ng-runtime/components/containers/tabs/esm2020/tabs.component.mjs +7 -10
- app-ng-runtime/components/containers/tabs/fesm2015/index.mjs +12 -18
- app-ng-runtime/components/containers/tabs/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/containers/tabs/fesm2020/index.mjs +12 -18
- app-ng-runtime/components/containers/tabs/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/containers/tabs/tab-pane/tab-pane.component.d.ts +2 -4
- app-ng-runtime/components/containers/tabs/tabs.component.d.ts +3 -4
- app-ng-runtime/components/containers/tile/bundles/index.umd.js +8 -14
- app-ng-runtime/components/containers/tile/esm2020/tile.directive.mjs +6 -11
- app-ng-runtime/components/containers/tile/fesm2015/index.mjs +5 -11
- app-ng-runtime/components/containers/tile/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/containers/tile/fesm2020/index.mjs +5 -9
- app-ng-runtime/components/containers/tile/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/containers/tile/tile.directive.d.ts +2 -4
- app-ng-runtime/components/containers/wizard/bundles/index.umd.js +48 -57
- app-ng-runtime/components/containers/wizard/esm2020/wizard-step/wizard-step.directive.mjs +5 -10
- app-ng-runtime/components/containers/wizard/esm2020/wizard.component.mjs +10 -14
- app-ng-runtime/components/containers/wizard/fesm2015/index.mjs +11 -20
- app-ng-runtime/components/containers/wizard/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/containers/wizard/fesm2020/index.mjs +11 -18
- app-ng-runtime/components/containers/wizard/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/containers/wizard/wizard-step/wizard-step.directive.d.ts +2 -4
- app-ng-runtime/components/containers/wizard/wizard.component.d.ts +2 -4
- app-ng-runtime/components/data/card/bundles/index.umd.js +83 -106
- app-ng-runtime/components/data/card/card-actions/card-actions.directive.d.ts +2 -4
- app-ng-runtime/components/data/card/card-content/card-content.component.d.ts +2 -4
- app-ng-runtime/components/data/card/card-footer/card-footer.directive.d.ts +2 -4
- app-ng-runtime/components/data/card/card.component.d.ts +2 -4
- app-ng-runtime/components/data/card/esm2020/card-actions/card-actions.directive.mjs +6 -11
- app-ng-runtime/components/data/card/esm2020/card-content/card-content.component.mjs +6 -11
- app-ng-runtime/components/data/card/esm2020/card-footer/card-footer.directive.mjs +6 -11
- app-ng-runtime/components/data/card/esm2020/card.component.mjs +12 -18
- app-ng-runtime/components/data/card/fesm2015/index.mjs +23 -46
- app-ng-runtime/components/data/card/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/data/card/fesm2020/index.mjs +23 -38
- app-ng-runtime/components/data/card/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/data/form/bundles/index.umd.js +128 -137
- app-ng-runtime/components/data/form/esm2020/form-action/form-action.directive.mjs +4 -9
- app-ng-runtime/components/data/form/esm2020/form-field/form-field.directive.mjs +5 -8
- app-ng-runtime/components/data/form/esm2020/form.component.mjs +5 -8
- app-ng-runtime/components/data/form/fesm2015/index.mjs +20 -29
- app-ng-runtime/components/data/form/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/data/form/fesm2020/index.mjs +20 -29
- app-ng-runtime/components/data/form/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/data/form/form-action/form-action.directive.d.ts +2 -4
- app-ng-runtime/components/data/form/form-field/form-field.directive.d.ts +3 -4
- app-ng-runtime/components/data/form/form.component.d.ts +3 -4
- app-ng-runtime/components/data/list/bundles/index.umd.js +4 -7
- app-ng-runtime/components/data/list/esm2020/list.component.mjs +7 -10
- app-ng-runtime/components/data/list/fesm2015/index.mjs +4 -7
- app-ng-runtime/components/data/list/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/data/list/fesm2020/index.mjs +4 -7
- app-ng-runtime/components/data/list/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/data/list/list.component.d.ts +3 -4
- app-ng-runtime/components/data/live-table/bundles/index.umd.js +3 -6
- app-ng-runtime/components/data/live-table/esm2020/live-table.component.mjs +6 -9
- app-ng-runtime/components/data/live-table/fesm2015/index.mjs +4 -7
- app-ng-runtime/components/data/live-table/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/data/live-table/fesm2020/index.mjs +4 -7
- app-ng-runtime/components/data/live-table/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/data/live-table/live-table.component.d.ts +3 -4
- app-ng-runtime/components/data/pagination/bundles/index.umd.js +30 -34
- app-ng-runtime/components/data/pagination/esm2020/pagination.component.mjs +10 -14
- app-ng-runtime/components/data/pagination/fesm2015/index.mjs +8 -12
- app-ng-runtime/components/data/pagination/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/data/pagination/fesm2020/index.mjs +8 -12
- app-ng-runtime/components/data/pagination/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/data/pagination/pagination.component.d.ts +2 -4
- app-ng-runtime/components/data/table/bundles/index.umd.js +19 -37
- app-ng-runtime/components/data/table/esm2020/table-action/table-action.directive.mjs +4 -9
- app-ng-runtime/components/data/table/esm2020/table-column/table-column.directive.mjs +5 -8
- app-ng-runtime/components/data/table/esm2020/table-column-group/table-column-group.directive.mjs +4 -9
- app-ng-runtime/components/data/table/esm2020/table-row/table-row.directive.mjs +4 -9
- app-ng-runtime/components/data/table/esm2020/table-row-action/table-row-action.directive.mjs +4 -9
- app-ng-runtime/components/data/table/esm2020/table.component.mjs +6 -9
- app-ng-runtime/components/data/table/fesm2015/index.mjs +19 -37
- app-ng-runtime/components/data/table/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/data/table/fesm2020/index.mjs +19 -37
- app-ng-runtime/components/data/table/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/data/table/table-action/table-action.directive.d.ts +2 -4
- app-ng-runtime/components/data/table/table-column/table-column.directive.d.ts +3 -4
- app-ng-runtime/components/data/table/table-column-group/table-column-group.directive.d.ts +2 -4
- app-ng-runtime/components/data/table/table-row/table-row.directive.d.ts +2 -4
- app-ng-runtime/components/data/table/table-row-action/table-row-action.directive.d.ts +2 -4
- app-ng-runtime/components/data/table/table.component.d.ts +3 -4
- app-ng-runtime/components/dialogs/alert-dialog/alert-dialog.component.d.ts +2 -4
- app-ng-runtime/components/dialogs/alert-dialog/bundles/index.umd.js +40 -46
- app-ng-runtime/components/dialogs/alert-dialog/esm2020/alert-dialog.component.mjs +9 -15
- app-ng-runtime/components/dialogs/alert-dialog/fesm2015/index.mjs +8 -14
- app-ng-runtime/components/dialogs/alert-dialog/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/alert-dialog/fesm2020/index.mjs +8 -14
- app-ng-runtime/components/dialogs/alert-dialog/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/confirm-dialog/bundles/index.umd.js +16 -22
- app-ng-runtime/components/dialogs/confirm-dialog/confirm-dialog.component.d.ts +2 -4
- app-ng-runtime/components/dialogs/confirm-dialog/esm2020/confirm-dialog.component.mjs +8 -14
- app-ng-runtime/components/dialogs/confirm-dialog/fesm2015/index.mjs +7 -13
- app-ng-runtime/components/dialogs/confirm-dialog/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/confirm-dialog/fesm2020/index.mjs +7 -13
- app-ng-runtime/components/dialogs/confirm-dialog/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/default/base-dialog.d.ts +1 -2
- app-ng-runtime/components/dialogs/default/bundles/index.umd.js +25 -31
- app-ng-runtime/components/dialogs/default/dialog-footer/dialog-footer.directive.d.ts +2 -4
- app-ng-runtime/components/dialogs/default/esm2020/base-dialog.mjs +7 -8
- app-ng-runtime/components/dialogs/default/esm2020/dialog-footer/dialog-footer.directive.mjs +6 -11
- app-ng-runtime/components/dialogs/default/fesm2015/index.mjs +11 -17
- app-ng-runtime/components/dialogs/default/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/default/fesm2020/index.mjs +11 -15
- app-ng-runtime/components/dialogs/default/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/design-dialog/bundles/index.umd.js +17 -23
- app-ng-runtime/components/dialogs/design-dialog/dialog.component.d.ts +2 -4
- app-ng-runtime/components/dialogs/design-dialog/esm2020/dialog.component.mjs +8 -14
- app-ng-runtime/components/dialogs/design-dialog/fesm2015/index.mjs +7 -13
- app-ng-runtime/components/dialogs/design-dialog/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/design-dialog/fesm2020/index.mjs +7 -13
- app-ng-runtime/components/dialogs/design-dialog/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/iframe-dialog/bundles/index.umd.js +24 -30
- app-ng-runtime/components/dialogs/iframe-dialog/esm2020/iframe-dialog.component.mjs +10 -16
- app-ng-runtime/components/dialogs/iframe-dialog/fesm2015/index.mjs +9 -15
- app-ng-runtime/components/dialogs/iframe-dialog/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/iframe-dialog/fesm2020/index.mjs +9 -15
- app-ng-runtime/components/dialogs/iframe-dialog/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/iframe-dialog/iframe-dialog.component.d.ts +2 -4
- app-ng-runtime/components/dialogs/partial-dialog/bundles/index.umd.js +3 -8
- app-ng-runtime/components/dialogs/partial-dialog/esm2020/partial-dialog.component.mjs +5 -10
- app-ng-runtime/components/dialogs/partial-dialog/fesm2015/index.mjs +4 -9
- app-ng-runtime/components/dialogs/partial-dialog/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/partial-dialog/fesm2020/index.mjs +4 -9
- app-ng-runtime/components/dialogs/partial-dialog/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/partial-dialog/partial-dialog.component.d.ts +3 -4
- app-ng-runtime/components/input/calendar/bundles/index.umd.js +5 -10
- app-ng-runtime/components/input/calendar/calendar.component.d.ts +3 -4
- app-ng-runtime/components/input/calendar/esm2020/calendar.component.mjs +8 -11
- app-ng-runtime/components/input/calendar/fesm2015/index.mjs +6 -11
- app-ng-runtime/components/input/calendar/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/input/calendar/fesm2020/index.mjs +6 -9
- app-ng-runtime/components/input/calendar/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/input/chips/bundles/index.umd.js +87 -93
- app-ng-runtime/components/input/chips/chips.component.d.ts +2 -4
- app-ng-runtime/components/input/chips/esm2020/chips.component.mjs +9 -15
- app-ng-runtime/components/input/chips/fesm2015/index.mjs +8 -14
- app-ng-runtime/components/input/chips/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/input/chips/fesm2020/index.mjs +8 -14
- app-ng-runtime/components/input/chips/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/input/color-picker/bundles/index.umd.js +22 -28
- app-ng-runtime/components/input/color-picker/color-picker.component.d.ts +2 -4
- app-ng-runtime/components/input/color-picker/esm2020/color-picker.component.mjs +10 -14
- app-ng-runtime/components/input/color-picker/fesm2015/index.mjs +8 -14
- app-ng-runtime/components/input/color-picker/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/input/color-picker/fesm2020/index.mjs +8 -12
- app-ng-runtime/components/input/color-picker/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/input/currency/bundles/index.umd.js +4 -9
- app-ng-runtime/components/input/currency/currency.component.d.ts +3 -4
- app-ng-runtime/components/input/currency/esm2020/currency.component.mjs +7 -10
- app-ng-runtime/components/input/currency/fesm2015/index.mjs +5 -10
- app-ng-runtime/components/input/currency/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/input/currency/fesm2020/index.mjs +5 -8
- app-ng-runtime/components/input/currency/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/input/default/base-form.component.d.ts +1 -2
- app-ng-runtime/components/input/default/bundles/index.umd.js +575 -648
- app-ng-runtime/components/input/default/button/button.component.d.ts +2 -4
- app-ng-runtime/components/input/default/button-group/button-group.directive.d.ts +2 -4
- app-ng-runtime/components/input/default/checkbox/checkbox.component.d.ts +2 -4
- app-ng-runtime/components/input/default/checkboxset/checkboxset.component.d.ts +2 -4
- app-ng-runtime/components/input/default/composite/composite.directive.d.ts +2 -4
- app-ng-runtime/components/input/default/dataset-aware-form.component.d.ts +2 -3
- app-ng-runtime/components/input/default/esm2020/base-form.component.mjs +6 -7
- app-ng-runtime/components/input/default/esm2020/button/button.component.mjs +9 -14
- app-ng-runtime/components/input/default/esm2020/button-group/button-group.directive.mjs +6 -11
- app-ng-runtime/components/input/default/esm2020/checkbox/checkbox.component.mjs +9 -13
- app-ng-runtime/components/input/default/esm2020/checkboxset/checkboxset.component.mjs +10 -14
- app-ng-runtime/components/input/default/esm2020/composite/composite.directive.mjs +7 -11
- app-ng-runtime/components/input/default/esm2020/dataset-aware-form.component.mjs +6 -7
- app-ng-runtime/components/input/default/esm2020/number/number.component.mjs +7 -10
- app-ng-runtime/components/input/default/esm2020/radioset/radioset.component.mjs +10 -14
- app-ng-runtime/components/input/default/esm2020/select/select.component.mjs +11 -15
- app-ng-runtime/components/input/default/esm2020/switch/switch.component.mjs +10 -14
- app-ng-runtime/components/input/default/esm2020/text/base/base-input.mjs +6 -7
- app-ng-runtime/components/input/default/esm2020/text/calendar/input-calendar.component.mjs +8 -13
- app-ng-runtime/components/input/default/esm2020/text/color/input-color.component.mjs +8 -13
- app-ng-runtime/components/input/default/esm2020/text/email/input-email.component.mjs +8 -13
- app-ng-runtime/components/input/default/esm2020/text/locale/number-locale.mjs +3 -3
- app-ng-runtime/components/input/default/esm2020/text/number/input-number.component.mjs +9 -14
- app-ng-runtime/components/input/default/esm2020/text/text/input-text.component.mjs +9 -14
- app-ng-runtime/components/input/default/esm2020/textarea/textarea.component.mjs +9 -14
- app-ng-runtime/components/input/default/fesm2015/index.mjs +94 -167
- app-ng-runtime/components/input/default/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/input/default/fesm2020/index.mjs +94 -139
- app-ng-runtime/components/input/default/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/input/default/number/number.component.d.ts +3 -4
- app-ng-runtime/components/input/default/radioset/radioset.component.d.ts +2 -4
- app-ng-runtime/components/input/default/select/select.component.d.ts +2 -4
- app-ng-runtime/components/input/default/switch/switch.component.d.ts +2 -4
- app-ng-runtime/components/input/default/text/base/base-input.d.ts +1 -2
- app-ng-runtime/components/input/default/text/calendar/input-calendar.component.d.ts +2 -4
- app-ng-runtime/components/input/default/text/color/input-color.component.d.ts +2 -4
- app-ng-runtime/components/input/default/text/email/input-email.component.d.ts +2 -4
- app-ng-runtime/components/input/default/text/locale/number-locale.d.ts +2 -2
- app-ng-runtime/components/input/default/text/number/input-number.component.d.ts +2 -4
- app-ng-runtime/components/input/default/text/text/input-text.component.d.ts +2 -4
- app-ng-runtime/components/input/default/textarea/textarea.component.d.ts +2 -4
- app-ng-runtime/components/input/epoch/base-date-time.component.d.ts +1 -2
- app-ng-runtime/components/input/epoch/bundles/index.umd.js +12 -21
- app-ng-runtime/components/input/epoch/date/date.component.d.ts +3 -4
- app-ng-runtime/components/input/epoch/date-time/date-time.component.d.ts +3 -4
- app-ng-runtime/components/input/epoch/esm2020/base-date-time.component.mjs +5 -6
- app-ng-runtime/components/input/epoch/esm2020/date/date.component.mjs +6 -9
- app-ng-runtime/components/input/epoch/esm2020/date-time/date-time.component.mjs +6 -9
- app-ng-runtime/components/input/epoch/esm2020/time/time.component.mjs +6 -9
- app-ng-runtime/components/input/epoch/fesm2015/index.mjs +13 -22
- app-ng-runtime/components/input/epoch/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/input/epoch/fesm2020/index.mjs +13 -22
- app-ng-runtime/components/input/epoch/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/input/epoch/time/time.component.d.ts +3 -4
- app-ng-runtime/components/input/file-upload/bundles/index.umd.js +3 -6
- app-ng-runtime/components/input/file-upload/esm2020/file-upload.component.mjs +6 -9
- app-ng-runtime/components/input/file-upload/fesm2015/index.mjs +4 -7
- app-ng-runtime/components/input/file-upload/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/input/file-upload/fesm2020/index.mjs +4 -7
- app-ng-runtime/components/input/file-upload/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/input/file-upload/file-upload.component.d.ts +3 -4
- app-ng-runtime/components/input/rating/bundles/index.umd.js +45 -51
- app-ng-runtime/components/input/rating/esm2020/rating.component.mjs +11 -15
- app-ng-runtime/components/input/rating/fesm2015/index.mjs +9 -15
- app-ng-runtime/components/input/rating/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/input/rating/fesm2020/index.mjs +9 -13
- app-ng-runtime/components/input/rating/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/input/rating/rating.component.d.ts +2 -4
- app-ng-runtime/components/input/slider/bundles/index.umd.js +37 -43
- app-ng-runtime/components/input/slider/esm2020/slider.component.mjs +10 -15
- app-ng-runtime/components/input/slider/fesm2015/index.mjs +9 -15
- app-ng-runtime/components/input/slider/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/input/slider/fesm2020/index.mjs +9 -13
- app-ng-runtime/components/input/slider/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/input/slider/slider.component.d.ts +2 -4
- app-ng-runtime/components/navigation/menu/bundles/index.umd.js +13 -25
- app-ng-runtime/components/navigation/menu/esm2020/menu-adapator.component.mjs +4 -6
- app-ng-runtime/components/navigation/menu/esm2020/menu.component.mjs +4 -7
- app-ng-runtime/components/navigation/menu/esm2020/nav/nav-item/nav-item.directive.mjs +7 -11
- app-ng-runtime/components/navigation/menu/esm2020/nav/nav.component.mjs +5 -9
- app-ng-runtime/components/navigation/menu/fesm2015/index.mjs +14 -26
- app-ng-runtime/components/navigation/menu/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/navigation/menu/fesm2020/index.mjs +14 -24
- app-ng-runtime/components/navigation/menu/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/navigation/menu/menu-adapator.component.d.ts +1 -2
- app-ng-runtime/components/navigation/menu/menu.component.d.ts +2 -3
- app-ng-runtime/components/navigation/menu/nav/nav-item/nav-item.directive.d.ts +2 -4
- app-ng-runtime/components/navigation/menu/nav/nav.component.d.ts +3 -3
- app-ng-runtime/components/navigation/navbar/bundles/index.umd.js +28 -34
- app-ng-runtime/components/navigation/navbar/esm2020/navbar.component.mjs +9 -14
- app-ng-runtime/components/navigation/navbar/fesm2015/index.mjs +8 -14
- app-ng-runtime/components/navigation/navbar/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/navigation/navbar/fesm2020/index.mjs +8 -12
- app-ng-runtime/components/navigation/navbar/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/navigation/navbar/navbar.component.d.ts +2 -4
- app-ng-runtime/components/page/default/bundles/index.umd.js +32 -64
- app-ng-runtime/components/page/default/content/content.component.d.ts +2 -4
- app-ng-runtime/components/page/default/esm2020/content/content.component.mjs +6 -11
- app-ng-runtime/components/page/default/esm2020/layout.directive.mjs +7 -11
- app-ng-runtime/components/page/default/esm2020/page-content/page-content.component.mjs +7 -10
- app-ng-runtime/components/page/default/esm2020/page.directive.mjs +7 -12
- app-ng-runtime/components/page/default/esm2020/router-outlet.directive.mjs +7 -11
- app-ng-runtime/components/page/default/esm2020/spa-page.directive.mjs +7 -10
- app-ng-runtime/components/page/default/fesm2015/index.mjs +26 -58
- app-ng-runtime/components/page/default/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/page/default/fesm2020/index.mjs +26 -46
- app-ng-runtime/components/page/default/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/page/default/layout.directive.d.ts +2 -4
- app-ng-runtime/components/page/default/page-content/page-content.component.d.ts +3 -4
- app-ng-runtime/components/page/default/page.directive.d.ts +3 -4
- app-ng-runtime/components/page/default/router-outlet.directive.d.ts +2 -4
- app-ng-runtime/components/page/default/spa-page.directive.d.ts +3 -4
- app-ng-runtime/components/page/footer/bundles/index.umd.js +8 -14
- app-ng-runtime/components/page/footer/esm2020/footer.directive.mjs +6 -11
- app-ng-runtime/components/page/footer/fesm2015/index.mjs +5 -11
- app-ng-runtime/components/page/footer/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/page/footer/fesm2020/index.mjs +5 -9
- app-ng-runtime/components/page/footer/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/page/footer/footer.directive.d.ts +2 -4
- app-ng-runtime/components/page/header/bundles/index.umd.js +8 -14
- app-ng-runtime/components/page/header/esm2020/header.component.mjs +6 -11
- app-ng-runtime/components/page/header/fesm2015/index.mjs +5 -11
- app-ng-runtime/components/page/header/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/page/header/fesm2020/index.mjs +5 -9
- app-ng-runtime/components/page/header/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/page/header/header.component.d.ts +2 -4
- app-ng-runtime/components/page/left-panel/bundles/index.umd.js +4 -7
- app-ng-runtime/components/page/left-panel/esm2020/left-panel.directive.mjs +6 -9
- app-ng-runtime/components/page/left-panel/fesm2015/index.mjs +4 -7
- app-ng-runtime/components/page/left-panel/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/page/left-panel/fesm2020/index.mjs +4 -7
- app-ng-runtime/components/page/left-panel/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/page/left-panel/left-panel.directive.d.ts +3 -4
- app-ng-runtime/components/page/right-panel/bundles/index.umd.js +6 -12
- app-ng-runtime/components/page/right-panel/esm2020/right-panel.directive.mjs +7 -11
- app-ng-runtime/components/page/right-panel/fesm2015/index.mjs +5 -11
- app-ng-runtime/components/page/right-panel/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/page/right-panel/fesm2020/index.mjs +5 -9
- app-ng-runtime/components/page/right-panel/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/page/right-panel/right-panel.directive.d.ts +2 -4
- app-ng-runtime/components/page/top-nav/bundles/index.umd.js +8 -14
- app-ng-runtime/components/page/top-nav/esm2020/top-nav.directive.mjs +6 -11
- app-ng-runtime/components/page/top-nav/fesm2015/index.mjs +5 -11
- app-ng-runtime/components/page/top-nav/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/page/top-nav/fesm2020/index.mjs +5 -9
- app-ng-runtime/components/page/top-nav/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/page/top-nav/top-nav.directive.d.ts +2 -4
- app-ng-runtime/components/prefab/bundles/index.umd.js +7 -15
- app-ng-runtime/components/prefab/esm2020/prefab-container/prefab-container.directive.mjs +7 -10
- app-ng-runtime/components/prefab/esm2020/prefab.directive.mjs +6 -10
- app-ng-runtime/components/prefab/fesm2015/index.mjs +8 -16
- app-ng-runtime/components/prefab/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/prefab/fesm2020/index.mjs +8 -14
- app-ng-runtime/components/prefab/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/prefab/prefab-container/prefab-container.directive.d.ts +3 -4
- app-ng-runtime/components/prefab/prefab.directive.d.ts +2 -4
- app-ng-runtime/mobile/components/basic/default/bundles/index.umd.js +32 -37
- app-ng-runtime/mobile/components/basic/default/esm2020/network-info-toaster/network-info-toaster.component.mjs +7 -10
- app-ng-runtime/mobile/components/basic/default/fesm2015/index.mjs +10 -15
- app-ng-runtime/mobile/components/basic/default/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/basic/default/fesm2020/index.mjs +10 -13
- app-ng-runtime/mobile/components/basic/default/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/basic/default/network-info-toaster/network-info-toaster.component.d.ts +3 -4
- app-ng-runtime/mobile/components/containers/segmented-control/bundles/index.umd.js +18 -29
- app-ng-runtime/mobile/components/containers/segmented-control/esm2020/segment-content/segment-content.component.mjs +8 -13
- app-ng-runtime/mobile/components/containers/segmented-control/esm2020/segmented-control.component.mjs +9 -13
- app-ng-runtime/mobile/components/containers/segmented-control/fesm2015/index.mjs +12 -23
- app-ng-runtime/mobile/components/containers/segmented-control/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/containers/segmented-control/fesm2020/index.mjs +12 -19
- app-ng-runtime/mobile/components/containers/segmented-control/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/containers/segmented-control/segment-content/segment-content.component.d.ts +2 -4
- app-ng-runtime/mobile/components/containers/segmented-control/segmented-control.component.d.ts +2 -4
- app-ng-runtime/mobile/components/data/media-list/bundles/index.umd.js +30 -36
- app-ng-runtime/mobile/components/data/media-list/esm2020/media-list.component.mjs +14 -18
- app-ng-runtime/mobile/components/data/media-list/fesm2015/index.mjs +11 -17
- app-ng-runtime/mobile/components/data/media-list/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/data/media-list/fesm2020/index.mjs +11 -15
- app-ng-runtime/mobile/components/data/media-list/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/data/media-list/media-list.component.d.ts +2 -4
- app-ng-runtime/mobile/components/device/barcode-scanner/barcode-scanner.component.d.ts +2 -4
- app-ng-runtime/mobile/components/device/barcode-scanner/bundles/index.umd.js +28 -34
- app-ng-runtime/mobile/components/device/barcode-scanner/esm2020/barcode-scanner.component.mjs +10 -14
- app-ng-runtime/mobile/components/device/barcode-scanner/fesm2015/index.mjs +8 -14
- app-ng-runtime/mobile/components/device/barcode-scanner/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/device/barcode-scanner/fesm2020/index.mjs +8 -12
- app-ng-runtime/mobile/components/device/barcode-scanner/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/device/camera/bundles/index.umd.js +12 -18
- app-ng-runtime/mobile/components/device/camera/camera.component.d.ts +2 -4
- app-ng-runtime/mobile/components/device/camera/esm2020/camera.component.mjs +9 -13
- app-ng-runtime/mobile/components/device/camera/fesm2015/index.mjs +7 -13
- app-ng-runtime/mobile/components/device/camera/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/device/camera/fesm2020/index.mjs +7 -11
- app-ng-runtime/mobile/components/device/camera/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/page/mobile-navbar/bundles/index.umd.js +3 -6
- app-ng-runtime/mobile/components/page/mobile-navbar/esm2020/mobile-navbar.component.mjs +6 -9
- app-ng-runtime/mobile/components/page/mobile-navbar/fesm2015/index.mjs +4 -7
- app-ng-runtime/mobile/components/page/mobile-navbar/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/page/mobile-navbar/fesm2020/index.mjs +4 -7
- app-ng-runtime/mobile/components/page/mobile-navbar/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/page/mobile-navbar/mobile-navbar.component.d.ts +3 -4
- app-ng-runtime/mobile/components/page/tab-bar/bundles/index.umd.js +32 -36
- app-ng-runtime/mobile/components/page/tab-bar/esm2020/tabbar.component.mjs +8 -13
- app-ng-runtime/mobile/components/page/tab-bar/fesm2015/index.mjs +7 -11
- app-ng-runtime/mobile/components/page/tab-bar/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/page/tab-bar/fesm2020/index.mjs +7 -11
- app-ng-runtime/mobile/components/page/tab-bar/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/page/tab-bar/tabbar.component.d.ts +2 -4
- app-ng-runtime/package.json +1 -1
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Component,
|
|
3
|
-
import * as
|
|
2
|
+
import { Component, HostBinding, Directive, HostListener, Injectable, Inject, ElementRef, Attribute, ViewChild, ContentChildren, NgModule } from '@angular/core';
|
|
3
|
+
import * as i1 from '@angular/common';
|
|
4
4
|
import { getLocaleNumberSymbol, NumberSymbol, CommonModule } from '@angular/common';
|
|
5
|
-
import * as
|
|
5
|
+
import * as i1$1 from '@angular/forms';
|
|
6
6
|
import { FormControlName, NgModel, NG_VALUE_ACCESSOR, NG_VALIDATORS, FormsModule } from '@angular/forms';
|
|
7
|
-
import * as
|
|
7
|
+
import * as i2$1 from 'angular-imask';
|
|
8
8
|
import { IMaskDirective, IMaskModule } from 'angular-imask';
|
|
9
|
-
import * as
|
|
9
|
+
import * as i2 from '@wm/components/base';
|
|
10
10
|
import { register, PROP_STRING, PROP_ANY, PROP_BOOLEAN, PROP_NUMBER, DISPLAY_TYPE, StylableComponent, styler, provideAsWidgetRef, APPLY_STYLES_TYPE, WidgetConfig, registerFormWidget, provideAs, extractDataAsArray, ToDatePipe, ALLFIELDS, getOrderedDataset, convertDataToObject, transformDataWithKeys, transformFormData, getUniqObjsByDataField, groupData, handleHeaderClick, toggleAllHeaders, WidgetRef, INPUTMODE, WmComponentsModule } from '@wm/components/base';
|
|
11
|
-
import * as i1 from '@wm/core';
|
|
11
|
+
import * as i1$2 from '@wm/core';
|
|
12
12
|
import { DataSource, FormWidgetType, isDefined, toggleClass, AppDefaults, debounce, $appDigest, noop, isEqualWithFields, toBoolean, setListClass, switchClass, addForIdAttributes, addClass, setAttr, removeAttr, setCSS } from '@wm/core';
|
|
13
13
|
import { Subject } from 'rxjs';
|
|
14
14
|
|
|
@@ -77,14 +77,13 @@ const WIDGET_CONFIG$e = {
|
|
|
77
77
|
displayType: DISPLAY_TYPE.INLINE_BLOCK
|
|
78
78
|
};
|
|
79
79
|
class ButtonComponent extends StylableComponent {
|
|
80
|
-
constructor(inj
|
|
81
|
-
super(inj, WIDGET_CONFIG$e
|
|
82
|
-
this._viewParent = _viewParent;
|
|
80
|
+
constructor(inj) {
|
|
81
|
+
super(inj, WIDGET_CONFIG$e);
|
|
83
82
|
styler(this.nativeElement, this);
|
|
84
83
|
}
|
|
85
84
|
}
|
|
86
85
|
ButtonComponent.initializeProps = registerProps$e();
|
|
87
|
-
ButtonComponent.ɵfac = function ButtonComponent_Factory(t) { return new (t || ButtonComponent)(i0.ɵɵdirectiveInject(i0.Injector)
|
|
86
|
+
ButtonComponent.ɵfac = function ButtonComponent_Factory(t) { return new (t || ButtonComponent)(i0.ɵɵdirectiveInject(i0.Injector)); };
|
|
88
87
|
ButtonComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ButtonComponent, selectors: [["button", "wmButton", ""]], hostVars: 5, hostBindings: function ButtonComponent_HostBindings(rf, ctx) { if (rf & 2) {
|
|
89
88
|
i0.ɵɵhostProperty("type", ctx.type)("tabIndex", ctx.tabindex)("disabled", ctx.disabled);
|
|
90
89
|
i0.ɵɵattribute("accesskey", ctx.shortcutkey)("icon-position", ctx.iconposition);
|
|
@@ -108,15 +107,13 @@ ButtonComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ButtonCompo
|
|
|
108
107
|
i0.ɵɵproperty("innerHTML", ctx.caption, i0.ɵɵsanitizeHtml);
|
|
109
108
|
i0.ɵɵadvance(2);
|
|
110
109
|
i0.ɵɵproperty("ngIf", ctx.badgevalue);
|
|
111
|
-
} }, dependencies: [
|
|
110
|
+
} }, dependencies: [i1.NgIf, i1.NgStyle, i2.TextContentDirective, i2.ImagePipe], encapsulation: 2 });
|
|
112
111
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ButtonComponent, [{
|
|
113
112
|
type: Component,
|
|
114
113
|
args: [{ selector: 'button[wmButton]', providers: [
|
|
115
114
|
provideAsWidgetRef(ButtonComponent)
|
|
116
115
|
], exportAs: 'wmButton', template: "<img data-identifier=\"img\" alt=\"button image\" class=\"button-image-icon\" [src]=\"iconurl | image\" *ngIf=\"iconurl\" [ngStyle]=\"{width:iconwidth, height:iconheight, margin:iconmargin}\"/>\n<i class=\"app-icon {{iconclass}}\" aria-hidden=\"true\" [ngStyle]=\"{width:iconwidth, height:iconheight, margin:iconmargin, fontSize:iconwidth}\" *ngIf=\"iconclass\"></i>\n<span class=\"sr-only\" *ngIf=\"iconclass\">{{caption}} {{appLocale.LABEL_ICON}}</span>\n<span class=\"btn-caption\" [innerHTML]=\"caption\"></span>\n<ng-content select=\".caret\"></ng-content>\n<span *ngIf=\"badgevalue\" class=\"badge pull-right\" [textContent]=\"badgevalue\"></span>\n" }]
|
|
117
|
-
}], function () { return [{ type: i0.Injector }, { type:
|
|
118
|
-
type: Optional
|
|
119
|
-
}] }]; }, { type: [{
|
|
116
|
+
}], function () { return [{ type: i0.Injector }]; }, { type: [{
|
|
120
117
|
type: HostBinding,
|
|
121
118
|
args: ['type']
|
|
122
119
|
}], tabindex: [{
|
|
@@ -153,14 +150,13 @@ class ButtonGroupDirective extends StylableComponent {
|
|
|
153
150
|
this.$element.find('.app-button').removeClass('selected');
|
|
154
151
|
$target.addClass('selected');
|
|
155
152
|
}
|
|
156
|
-
constructor(inj
|
|
157
|
-
super(inj, WIDGET_CONFIG$d
|
|
158
|
-
this._viewParent = _viewParent;
|
|
153
|
+
constructor(inj) {
|
|
154
|
+
super(inj, WIDGET_CONFIG$d);
|
|
159
155
|
styler(this.nativeElement, this, APPLY_STYLES_TYPE.CONTAINER);
|
|
160
156
|
}
|
|
161
157
|
}
|
|
162
158
|
ButtonGroupDirective.initializeProps = registerProps$d();
|
|
163
|
-
ButtonGroupDirective.ɵfac = function ButtonGroupDirective_Factory(t) { return new (t || ButtonGroupDirective)(i0.ɵɵdirectiveInject(i0.Injector)
|
|
159
|
+
ButtonGroupDirective.ɵfac = function ButtonGroupDirective_Factory(t) { return new (t || ButtonGroupDirective)(i0.ɵɵdirectiveInject(i0.Injector)); };
|
|
164
160
|
ButtonGroupDirective.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: ButtonGroupDirective, selectors: [["", "wmButtonGroup", ""]], hostVars: 2, hostBindings: function ButtonGroupDirective_HostBindings(rf, ctx) { if (rf & 1) {
|
|
165
161
|
i0.ɵɵlistener("click", function ButtonGroupDirective_click_HostBindingHandler($event) { return ctx.handleClick($event); });
|
|
166
162
|
} if (rf & 2) {
|
|
@@ -176,9 +172,7 @@ ButtonGroupDirective.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: Button
|
|
|
176
172
|
provideAsWidgetRef(ButtonGroupDirective)
|
|
177
173
|
]
|
|
178
174
|
}]
|
|
179
|
-
}], function () { return [{ type: i0.Injector }, {
|
|
180
|
-
type: Optional
|
|
181
|
-
}] }]; }, { vertical: [{
|
|
175
|
+
}], function () { return [{ type: i0.Injector }]; }, { vertical: [{
|
|
182
176
|
type: HostBinding,
|
|
183
177
|
args: ['class.btn-group-vertical']
|
|
184
178
|
}], handleClick: [{
|
|
@@ -187,8 +181,8 @@ ButtonGroupDirective.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: Button
|
|
|
187
181
|
}] }); })();
|
|
188
182
|
|
|
189
183
|
class BaseFormComponent extends StylableComponent {
|
|
190
|
-
constructor(inj, config,
|
|
191
|
-
super(inj, config,
|
|
184
|
+
constructor(inj, config, initPromise) {
|
|
185
|
+
super(inj, config, initPromise);
|
|
192
186
|
this.inj = inj;
|
|
193
187
|
this.binddatavalue = this.$element.attr('datavalue.bind');
|
|
194
188
|
}
|
|
@@ -255,14 +249,14 @@ class BaseFormComponent extends StylableComponent {
|
|
|
255
249
|
}
|
|
256
250
|
}
|
|
257
251
|
}
|
|
258
|
-
BaseFormComponent.ɵfac = function BaseFormComponent_Factory(t) { return new (t || BaseFormComponent)(i0.ɵɵinject(i0.Injector), i0.ɵɵinject(WidgetConfig), i0.ɵɵinject(
|
|
252
|
+
BaseFormComponent.ɵfac = function BaseFormComponent_Factory(t) { return new (t || BaseFormComponent)(i0.ɵɵinject(i0.Injector), i0.ɵɵinject(WidgetConfig), i0.ɵɵinject(Promise)); };
|
|
259
253
|
BaseFormComponent.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: BaseFormComponent, factory: BaseFormComponent.ɵfac });
|
|
260
254
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(BaseFormComponent, [{
|
|
261
255
|
type: Injectable
|
|
262
256
|
}], function () { return [{ type: i0.Injector }, { type: undefined, decorators: [{
|
|
263
257
|
type: Inject,
|
|
264
258
|
args: [WidgetConfig]
|
|
265
|
-
}] }, { type:
|
|
259
|
+
}] }, { type: Promise }]; }, null); })();
|
|
266
260
|
|
|
267
261
|
/*
|
|
268
262
|
* WMS-18269
|
|
@@ -408,10 +402,9 @@ class CheckboxComponent extends BaseFormCustomComponent {
|
|
|
408
402
|
this.proxyModel = (isDefined(v) && v !== '') ? v === this._checkedvalue : undefined;
|
|
409
403
|
this.updatePrevDatavalue(this.datavalue);
|
|
410
404
|
}
|
|
411
|
-
constructor(inj, checkedVal, uncheckedVal, type
|
|
412
|
-
super(inj, WIDGET_CONFIG$c
|
|
405
|
+
constructor(inj, checkedVal, uncheckedVal, type) {
|
|
406
|
+
super(inj, WIDGET_CONFIG$c);
|
|
413
407
|
this.type = type;
|
|
414
|
-
this._viewParent = _viewParent;
|
|
415
408
|
this._caption = ' ';
|
|
416
409
|
this._checkedvalue = unStringify(checkedVal, true);
|
|
417
410
|
this._uncheckedvalue = unStringify(uncheckedVal, false);
|
|
@@ -469,7 +462,7 @@ class CheckboxComponent extends BaseFormCustomComponent {
|
|
|
469
462
|
}
|
|
470
463
|
}
|
|
471
464
|
CheckboxComponent.initializeProps = registerProps$c();
|
|
472
|
-
CheckboxComponent.ɵfac = function CheckboxComponent_Factory(t) { return new (t || CheckboxComponent)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵinjectAttribute('checkedvalue'), i0.ɵɵinjectAttribute('uncheckedvalue'), i0.ɵɵinjectAttribute('type')
|
|
465
|
+
CheckboxComponent.ɵfac = function CheckboxComponent_Factory(t) { return new (t || CheckboxComponent)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵinjectAttribute('checkedvalue'), i0.ɵɵinjectAttribute('uncheckedvalue'), i0.ɵɵinjectAttribute('type')); };
|
|
473
466
|
CheckboxComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CheckboxComponent, selectors: [["", "wmCheckbox", ""]], viewQuery: function CheckboxComponent_Query(rf, ctx) { if (rf & 1) {
|
|
474
467
|
i0.ɵɵviewQuery(NgModel, 5);
|
|
475
468
|
i0.ɵɵviewQuery(_c0$b, 7, ElementRef);
|
|
@@ -499,7 +492,7 @@ CheckboxComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CheckboxC
|
|
|
499
492
|
i0.ɵɵproperty("innerHtml", ctx._caption, i0.ɵɵsanitizeHtml);
|
|
500
493
|
i0.ɵɵadvance(2);
|
|
501
494
|
i0.ɵɵproperty("disabled", ctx.disabled)("value", ctx.proxyModel);
|
|
502
|
-
} }, dependencies: [
|
|
495
|
+
} }, dependencies: [i1.NgClass, i1$1.CheckboxControlValueAccessor, i1$1.NgControlStatus, i1$1.CheckboxRequiredValidator, i1$1.NgModel], encapsulation: 2 });
|
|
503
496
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CheckboxComponent, [{
|
|
504
497
|
type: Component,
|
|
505
498
|
args: [{ selector: '[wmCheckbox]', providers: [
|
|
@@ -516,8 +509,6 @@ CheckboxComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CheckboxC
|
|
|
516
509
|
}] }, { type: undefined, decorators: [{
|
|
517
510
|
type: Attribute,
|
|
518
511
|
args: ['type']
|
|
519
|
-
}] }, { type: i1.UserDefinedExecutionContext, decorators: [{
|
|
520
|
-
type: Optional
|
|
521
512
|
}] }]; }, { ngModel: [{
|
|
522
513
|
type: ViewChild,
|
|
523
514
|
args: [NgModel]
|
|
@@ -556,8 +547,8 @@ class DatasetAwareFormComponent extends BaseFormCustomComponent {
|
|
|
556
547
|
// invoke on datavalue change.
|
|
557
548
|
this.invokeOnChange(val, undefined, true);
|
|
558
549
|
}
|
|
559
|
-
constructor(inj, config,
|
|
560
|
-
super(inj, config
|
|
550
|
+
constructor(inj, config, groupby) {
|
|
551
|
+
super(inj, config);
|
|
561
552
|
this.groupby = groupby;
|
|
562
553
|
this.datasetItems = [];
|
|
563
554
|
this.acceptsArray = false; // set to true if proxyModel on widget accepts array type.
|
|
@@ -802,14 +793,14 @@ class DatasetAwareFormComponent extends BaseFormCustomComponent {
|
|
|
802
793
|
}
|
|
803
794
|
}
|
|
804
795
|
}
|
|
805
|
-
DatasetAwareFormComponent.ɵfac = function DatasetAwareFormComponent_Factory(t) { return new (t || DatasetAwareFormComponent)(i0.ɵɵinject(i0.Injector), i0.ɵɵinject(WidgetConfig), i0.ɵɵ
|
|
796
|
+
DatasetAwareFormComponent.ɵfac = function DatasetAwareFormComponent_Factory(t) { return new (t || DatasetAwareFormComponent)(i0.ɵɵinject(i0.Injector), i0.ɵɵinject(WidgetConfig), i0.ɵɵinjectAttribute('groupby')); };
|
|
806
797
|
DatasetAwareFormComponent.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: DatasetAwareFormComponent, factory: DatasetAwareFormComponent.ɵfac });
|
|
807
798
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DatasetAwareFormComponent, [{
|
|
808
799
|
type: Injectable
|
|
809
800
|
}], function () { return [{ type: i0.Injector }, { type: undefined, decorators: [{
|
|
810
801
|
type: Inject,
|
|
811
802
|
args: [WidgetConfig]
|
|
812
|
-
}] }, { type:
|
|
803
|
+
}] }, { type: undefined, decorators: [{
|
|
813
804
|
type: Attribute,
|
|
814
805
|
args: ['groupby']
|
|
815
806
|
}] }]; }, null); })();
|
|
@@ -1002,9 +993,8 @@ function CheckboxsetComponent_ng_template_3_Template(rf, ctx) { if (rf & 1) {
|
|
|
1002
993
|
const DEFAULT_CLS$3 = 'app-checkboxset list-group inline';
|
|
1003
994
|
const WIDGET_CONFIG$b = { widgetType: 'wm-checkboxset', hostClass: DEFAULT_CLS$3 };
|
|
1004
995
|
class CheckboxsetComponent extends DatasetAwareFormComponent {
|
|
1005
|
-
constructor(inj
|
|
1006
|
-
super(inj, WIDGET_CONFIG$b
|
|
1007
|
-
this._viewParent = _viewParent;
|
|
996
|
+
constructor(inj) {
|
|
997
|
+
super(inj, WIDGET_CONFIG$b);
|
|
1008
998
|
this.layout = '';
|
|
1009
999
|
styler(this.nativeElement, this);
|
|
1010
1000
|
this.multiple = true;
|
|
@@ -1060,7 +1050,7 @@ class CheckboxsetComponent extends DatasetAwareFormComponent {
|
|
|
1060
1050
|
}
|
|
1061
1051
|
}
|
|
1062
1052
|
CheckboxsetComponent.initializeProps = registerProps$b();
|
|
1063
|
-
CheckboxsetComponent.ɵfac = function CheckboxsetComponent_Factory(t) { return new (t || CheckboxsetComponent)(i0.ɵɵdirectiveInject(i0.Injector)
|
|
1053
|
+
CheckboxsetComponent.ɵfac = function CheckboxsetComponent_Factory(t) { return new (t || CheckboxsetComponent)(i0.ɵɵdirectiveInject(i0.Injector)); };
|
|
1064
1054
|
CheckboxsetComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CheckboxsetComponent, selectors: [["", "wmCheckboxset", ""]], hostBindings: function CheckboxsetComponent_HostBindings(rf, ctx) { if (rf & 1) {
|
|
1065
1055
|
i0.ɵɵlistener("keydown.enter", function CheckboxsetComponent_keydown_enter_HostBindingHandler($event) { return ctx.onKeyDown($event, "ENTER"); });
|
|
1066
1056
|
} }, exportAs: ["wmCheckboxset"], features: [i0.ɵɵProvidersFeature([
|
|
@@ -1079,7 +1069,7 @@ CheckboxsetComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Checkb
|
|
|
1079
1069
|
i0.ɵɵproperty("disabled", ctx.disabled || ctx.readonly);
|
|
1080
1070
|
i0.ɵɵadvance(1);
|
|
1081
1071
|
i0.ɵɵproperty("ngIf", ctx.readonly || ctx.disabled);
|
|
1082
|
-
} }, dependencies: [
|
|
1072
|
+
} }, dependencies: [i1.NgClass, i1.NgForOf, i1.NgIf, i2.ItemTemplateDirective, i2.PartialParamHandlerDirective, i2.PartialContainerDirective, i2.TextContentDirective], encapsulation: 2 });
|
|
1083
1073
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CheckboxsetComponent, [{
|
|
1084
1074
|
type: Component,
|
|
1085
1075
|
args: [{ selector: '[wmCheckboxset]', exportAs: 'wmCheckboxset', providers: [
|
|
@@ -1087,9 +1077,7 @@ CheckboxsetComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Checkb
|
|
|
1087
1077
|
provideAs(CheckboxsetComponent, NG_VALIDATORS, true),
|
|
1088
1078
|
provideAsWidgetRef(CheckboxsetComponent)
|
|
1089
1079
|
], 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" }]
|
|
1090
|
-
}], function () { return [{ type: i0.Injector }, {
|
|
1091
|
-
type: Optional
|
|
1092
|
-
}] }]; }, { onKeyDown: [{
|
|
1080
|
+
}], function () { return [{ type: i0.Injector }]; }, { onKeyDown: [{
|
|
1093
1081
|
type: HostListener,
|
|
1094
1082
|
args: ['keydown.enter', ['$event', '"ENTER"']]
|
|
1095
1083
|
}] }); })();
|
|
@@ -1115,9 +1103,8 @@ const CAPTION_POSITION = {
|
|
|
1115
1103
|
floating: 'caption-floating'
|
|
1116
1104
|
};
|
|
1117
1105
|
class CompositeDirective extends StylableComponent {
|
|
1118
|
-
constructor(inj
|
|
1119
|
-
super(inj, WIDGET_CONFIG$a
|
|
1120
|
-
this._viewParent = _viewParent;
|
|
1106
|
+
constructor(inj) {
|
|
1107
|
+
super(inj, WIDGET_CONFIG$a);
|
|
1121
1108
|
styler(this.nativeElement, this, APPLY_STYLES_TYPE.CONTAINER);
|
|
1122
1109
|
}
|
|
1123
1110
|
/**
|
|
@@ -1155,7 +1142,7 @@ class CompositeDirective extends StylableComponent {
|
|
|
1155
1142
|
}
|
|
1156
1143
|
}
|
|
1157
1144
|
CompositeDirective.initializeProps = registerProps$a();
|
|
1158
|
-
CompositeDirective.ɵfac = function CompositeDirective_Factory(t) { return new (t || CompositeDirective)(i0.ɵɵdirectiveInject(i0.Injector)
|
|
1145
|
+
CompositeDirective.ɵfac = function CompositeDirective_Factory(t) { return new (t || CompositeDirective)(i0.ɵɵdirectiveInject(i0.Injector)); };
|
|
1159
1146
|
CompositeDirective.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: CompositeDirective, selectors: [["div", "wmComposite", ""]], contentQueries: function CompositeDirective_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {
|
|
1160
1147
|
i0.ɵɵcontentQuery(dirIndex, WidgetRef, 5);
|
|
1161
1148
|
} if (rf & 2) {
|
|
@@ -1172,9 +1159,7 @@ CompositeDirective.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: Composit
|
|
|
1172
1159
|
provideAsWidgetRef(CompositeDirective)
|
|
1173
1160
|
]
|
|
1174
1161
|
}]
|
|
1175
|
-
}], function () { return [{ type: i0.Injector }, {
|
|
1176
|
-
type: Optional
|
|
1177
|
-
}] }]; }, { componentRefs: [{
|
|
1162
|
+
}], function () { return [{ type: i0.Injector }]; }, { componentRefs: [{
|
|
1178
1163
|
type: ContentChildren,
|
|
1179
1164
|
args: [WidgetRef, { descendants: true }]
|
|
1180
1165
|
}] }); })();
|
|
@@ -1265,8 +1250,8 @@ class BaseInput extends BaseFormCustomComponent {
|
|
|
1265
1250
|
}
|
|
1266
1251
|
styler(this.inputEl.nativeElement, this);
|
|
1267
1252
|
}
|
|
1268
|
-
constructor(inj, config
|
|
1269
|
-
super(inj, config
|
|
1253
|
+
constructor(inj, config) {
|
|
1254
|
+
super(inj, config);
|
|
1270
1255
|
// possible values for ngModelOptions are 'blur' and 'change'
|
|
1271
1256
|
// default is 'blur'
|
|
1272
1257
|
this.ngModelOptions = {
|
|
@@ -1277,18 +1262,18 @@ class BaseInput extends BaseFormCustomComponent {
|
|
|
1277
1262
|
this.ngModelOptions.updateOn = updateOn;
|
|
1278
1263
|
}
|
|
1279
1264
|
}
|
|
1280
|
-
BaseInput.ɵfac = function BaseInput_Factory(t) { return new (t || BaseInput)(i0.ɵɵinject(i0.Injector), i0.ɵɵinject(WidgetConfig)
|
|
1265
|
+
BaseInput.ɵfac = function BaseInput_Factory(t) { return new (t || BaseInput)(i0.ɵɵinject(i0.Injector), i0.ɵɵinject(WidgetConfig)); };
|
|
1281
1266
|
BaseInput.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: BaseInput, factory: BaseInput.ɵfac });
|
|
1282
1267
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(BaseInput, [{
|
|
1283
1268
|
type: Injectable
|
|
1284
1269
|
}], function () { return [{ type: i0.Injector }, { type: undefined, decorators: [{
|
|
1285
1270
|
type: Inject,
|
|
1286
1271
|
args: [WidgetConfig]
|
|
1287
|
-
}] }
|
|
1272
|
+
}] }]; }, null); })();
|
|
1288
1273
|
|
|
1289
1274
|
class NumberLocale extends BaseInput {
|
|
1290
|
-
constructor(inj, config,
|
|
1291
|
-
super(inj, config
|
|
1275
|
+
constructor(inj, config, i18nService, trailingZeroDecimalPipe) {
|
|
1276
|
+
super(inj, config);
|
|
1292
1277
|
this.i18nService = i18nService;
|
|
1293
1278
|
this.trailingZeroDecimalPipe = trailingZeroDecimalPipe;
|
|
1294
1279
|
this.isDefaultQuery = true;
|
|
@@ -1737,13 +1722,12 @@ const WIDGET_CONFIG$9 = {
|
|
|
1737
1722
|
hostClass: 'app-input-wrapper'
|
|
1738
1723
|
};
|
|
1739
1724
|
class NumberComponent extends NumberLocale {
|
|
1740
|
-
constructor(inj, i18nService, trailingZeroDecimalPipe
|
|
1741
|
-
super(inj, WIDGET_CONFIG$9,
|
|
1742
|
-
this._viewParent = _viewParent;
|
|
1725
|
+
constructor(inj, i18nService, trailingZeroDecimalPipe) {
|
|
1726
|
+
super(inj, WIDGET_CONFIG$9, i18nService, trailingZeroDecimalPipe);
|
|
1743
1727
|
}
|
|
1744
1728
|
}
|
|
1745
1729
|
NumberComponent.initializeProps = registerProps$9();
|
|
1746
|
-
NumberComponent.ɵfac = function NumberComponent_Factory(t) { return new (t || NumberComponent)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(i1.AbstractI18nService), i0.ɵɵdirectiveInject(
|
|
1730
|
+
NumberComponent.ɵfac = function NumberComponent_Factory(t) { return new (t || NumberComponent)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(i1$2.AbstractI18nService), i0.ɵɵdirectiveInject(i2.TrailingZeroDecimalPipe)); };
|
|
1747
1731
|
NumberComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: NumberComponent, selectors: [["", "wmNumber", ""]], viewQuery: function NumberComponent_Query(rf, ctx) { if (rf & 1) {
|
|
1748
1732
|
i0.ɵɵviewQuery(_c0$9, 7);
|
|
1749
1733
|
i0.ɵɵviewQuery(NgModel, 7);
|
|
@@ -1762,7 +1746,7 @@ NumberComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: NumberCompo
|
|
|
1762
1746
|
} if (rf & 2) {
|
|
1763
1747
|
i0.ɵɵproperty("ngModel", ctx.displayValue)("readonly", ctx.readonly)("disabled", ctx.disabled)("pattern", ctx.regexp)("autofocus", ctx.autofocus)("ngModelOptions", ctx.ngModelOptions)("required", ctx.required);
|
|
1764
1748
|
i0.ɵɵattribute("name", ctx.name)("tabindex", ctx.tabindex)("placeholder", ctx.placeholder)("accesskey", ctx.shortcutkey)("aria-label", ctx.hint);
|
|
1765
|
-
} }, dependencies: [
|
|
1749
|
+
} }, dependencies: [i1$1.DefaultValueAccessor, i1$1.NgControlStatus, i1$1.RequiredValidator, i1$1.PatternValidator, i1$1.NgModel], encapsulation: 2 });
|
|
1766
1750
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(NumberComponent, [{
|
|
1767
1751
|
type: Component,
|
|
1768
1752
|
args: [{ selector: '[wmNumber]', providers: [
|
|
@@ -1770,9 +1754,7 @@ NumberComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: NumberCompo
|
|
|
1770
1754
|
provideAs(NumberComponent, NG_VALIDATORS, true),
|
|
1771
1755
|
provideAsWidgetRef(NumberComponent)
|
|
1772
1756
|
], 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 (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" }]
|
|
1773
|
-
}], function () { return [{ type: i0.Injector }, { type: i1.AbstractI18nService }, { type:
|
|
1774
|
-
type: Optional
|
|
1775
|
-
}] }]; }, { inputEl: [{
|
|
1757
|
+
}], function () { return [{ type: i0.Injector }, { type: i1$2.AbstractI18nService }, { type: i2.TrailingZeroDecimalPipe }]; }, { inputEl: [{
|
|
1776
1758
|
type: ViewChild,
|
|
1777
1759
|
args: ['input', { static: true }]
|
|
1778
1760
|
}], ngModel: [{
|
|
@@ -1968,9 +1950,8 @@ function RadiosetComponent_ng_template_3_Template(rf, ctx) { if (rf & 1) {
|
|
|
1968
1950
|
const DEFAULT_CLS$1 = 'app-radioset list-group inline';
|
|
1969
1951
|
const WIDGET_CONFIG$8 = { widgetType: 'wm-radioset', hostClass: DEFAULT_CLS$1 };
|
|
1970
1952
|
class RadiosetComponent extends DatasetAwareFormComponent {
|
|
1971
|
-
constructor(inj
|
|
1972
|
-
super(inj, WIDGET_CONFIG$8
|
|
1973
|
-
this._viewParent = _viewParent;
|
|
1953
|
+
constructor(inj) {
|
|
1954
|
+
super(inj, WIDGET_CONFIG$8);
|
|
1974
1955
|
this.layout = '';
|
|
1975
1956
|
styler(this.nativeElement, this);
|
|
1976
1957
|
this.multiple = false;
|
|
@@ -2015,7 +1996,7 @@ class RadiosetComponent extends DatasetAwareFormComponent {
|
|
|
2015
1996
|
}
|
|
2016
1997
|
}
|
|
2017
1998
|
RadiosetComponent.initializeProps = registerProps$8();
|
|
2018
|
-
RadiosetComponent.ɵfac = function RadiosetComponent_Factory(t) { return new (t || RadiosetComponent)(i0.ɵɵdirectiveInject(i0.Injector)
|
|
1999
|
+
RadiosetComponent.ɵfac = function RadiosetComponent_Factory(t) { return new (t || RadiosetComponent)(i0.ɵɵdirectiveInject(i0.Injector)); };
|
|
2019
2000
|
RadiosetComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: RadiosetComponent, selectors: [["", "wmRadioset", ""]], exportAs: ["wmRadioset"], features: [i0.ɵɵProvidersFeature([
|
|
2020
2001
|
provideAs(RadiosetComponent, NG_VALUE_ACCESSOR, true),
|
|
2021
2002
|
provideAs(RadiosetComponent, NG_VALIDATORS, true),
|
|
@@ -2032,7 +2013,7 @@ RadiosetComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: RadiosetC
|
|
|
2032
2013
|
i0.ɵɵproperty("disabled", ctx.disabled || ctx.readonly);
|
|
2033
2014
|
i0.ɵɵadvance(1);
|
|
2034
2015
|
i0.ɵɵproperty("ngIf", ctx.readonly || ctx.disabled);
|
|
2035
|
-
} }, dependencies: [
|
|
2016
|
+
} }, dependencies: [i1.NgClass, i1.NgForOf, i1.NgIf, i2.ItemTemplateDirective, i2.PartialParamHandlerDirective, i2.PartialContainerDirective, i2.TextContentDirective], encapsulation: 2 });
|
|
2036
2017
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(RadiosetComponent, [{
|
|
2037
2018
|
type: Component,
|
|
2038
2019
|
args: [{ selector: '[wmRadioset]', exportAs: 'wmRadioset', providers: [
|
|
@@ -2040,9 +2021,7 @@ RadiosetComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: RadiosetC
|
|
|
2040
2021
|
provideAs(RadiosetComponent, NG_VALIDATORS, true),
|
|
2041
2022
|
provideAsWidgetRef(RadiosetComponent)
|
|
2042
2023
|
], 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" }]
|
|
2043
|
-
}], function () { return [{ type: i0.Injector }
|
|
2044
|
-
type: Optional
|
|
2045
|
-
}] }]; }, null); })();
|
|
2024
|
+
}], function () { return [{ type: i0.Injector }]; }, null); })();
|
|
2046
2025
|
|
|
2047
2026
|
const selectProps = new Map([
|
|
2048
2027
|
['autofocus', PROP_BOOLEAN],
|
|
@@ -2126,9 +2105,8 @@ class SelectComponent extends DatasetAwareFormComponent {
|
|
|
2126
2105
|
this.datavalue = ds.execute(DataSource.Operation.GET_DEFAULT_LOCALE);
|
|
2127
2106
|
}
|
|
2128
2107
|
}
|
|
2129
|
-
constructor(inj
|
|
2130
|
-
super(inj, WIDGET_CONFIG$7
|
|
2131
|
-
this._viewParent = _viewParent;
|
|
2108
|
+
constructor(inj) {
|
|
2109
|
+
super(inj, WIDGET_CONFIG$7);
|
|
2132
2110
|
this.acceptsArray = true;
|
|
2133
2111
|
}
|
|
2134
2112
|
ngAfterViewInit() {
|
|
@@ -2189,7 +2167,7 @@ class SelectComponent extends DatasetAwareFormComponent {
|
|
|
2189
2167
|
}
|
|
2190
2168
|
}
|
|
2191
2169
|
SelectComponent.initializeProps = registerProps$7();
|
|
2192
|
-
SelectComponent.ɵfac = function SelectComponent_Factory(t) { return new (t || SelectComponent)(i0.ɵɵdirectiveInject(i0.Injector)
|
|
2170
|
+
SelectComponent.ɵfac = function SelectComponent_Factory(t) { return new (t || SelectComponent)(i0.ɵɵdirectiveInject(i0.Injector)); };
|
|
2193
2171
|
SelectComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SelectComponent, selectors: [["wm-select"]], viewQuery: function SelectComponent_Query(rf, ctx) { if (rf & 1) {
|
|
2194
2172
|
i0.ɵɵviewQuery(_c0$7, 7, ElementRef);
|
|
2195
2173
|
} if (rf & 2) {
|
|
@@ -2215,7 +2193,7 @@ SelectComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SelectCompo
|
|
|
2215
2193
|
i0.ɵɵproperty("ngIf", ctx.groupby);
|
|
2216
2194
|
i0.ɵɵadvance(1);
|
|
2217
2195
|
i0.ɵɵproperty("ngIf", !ctx.groupby);
|
|
2218
|
-
} }, dependencies: [
|
|
2196
|
+
} }, dependencies: [i1.NgClass, i1.NgForOf, i1.NgIf, i1$1.NgSelectOption, i1$1.ɵNgSelectMultipleOption, i1$1.SelectMultipleControlValueAccessor, i1$1.NgControlStatus, i1$1.RequiredValidator, i1$1.NgModel, i2.TextContentDirective], encapsulation: 2 });
|
|
2219
2197
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SelectComponent, [{
|
|
2220
2198
|
type: Component,
|
|
2221
2199
|
args: [{ selector: 'wm-select', providers: [
|
|
@@ -2223,9 +2201,7 @@ SelectComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SelectCompo
|
|
|
2223
2201
|
provideAs(SelectComponent, NG_VALIDATORS, true),
|
|
2224
2202
|
provideAsWidgetRef(SelectComponent)
|
|
2225
2203
|
], template: "<select role=\"listbox\" aria-haspopup=\"true\" aria-expanded=\"false\" #select\n focus-target\n [ngClass]=\"['app-select form-control', class]\"\n [disabled]=\"disabled\"\n [required]=\"required\"\n [tabindex]=\"tabindex\"\n [(ngModel)]=\"modelByKey\"\n [multiple]=\"multiple\"\n (change)=\"onSelectValueChange($event)\"\n (focus)=\"checkForFloatingLabel($event)\"\n (blur)=\"invokeOnTouched($event); checkForFloatingLabel($event)\"\n [attr.name]=\"name\"\n [attr.aria-label]=\"hint\"\n [attr.aria-multiselectable]=\"multiple\"\n [autofocus]=\"autofocus\"\n>\n <option selected\n value=\"undefined\"\n [textContent]=\"placeholder\"\n [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" }]
|
|
2226
|
-
}], function () { return [{ type: i0.Injector }, {
|
|
2227
|
-
type: Optional
|
|
2228
|
-
}] }]; }, { selectEl: [{
|
|
2204
|
+
}], function () { return [{ type: i0.Injector }]; }, { selectEl: [{
|
|
2229
2205
|
type: ViewChild,
|
|
2230
2206
|
args: ['select', { static: true, read: ElementRef }]
|
|
2231
2207
|
}] }); })();
|
|
@@ -2289,9 +2265,8 @@ function SwitchComponent_i_3_Template(rf, ctx) { if (rf & 1) {
|
|
|
2289
2265
|
const DEFAULT_CLS = 'app-switch';
|
|
2290
2266
|
const WIDGET_CONFIG$6 = { widgetType: 'wm-switch', hostClass: DEFAULT_CLS };
|
|
2291
2267
|
class SwitchComponent extends DatasetAwareFormComponent {
|
|
2292
|
-
constructor(inj
|
|
2293
|
-
super(inj, WIDGET_CONFIG$6
|
|
2294
|
-
this._viewParent = _viewParent;
|
|
2268
|
+
constructor(inj) {
|
|
2269
|
+
super(inj, WIDGET_CONFIG$6);
|
|
2295
2270
|
this.options = [];
|
|
2296
2271
|
this._debounceSetSelectedValue = debounce((val) => {
|
|
2297
2272
|
this.setSelectedValue();
|
|
@@ -2396,7 +2371,7 @@ class SwitchComponent extends DatasetAwareFormComponent {
|
|
|
2396
2371
|
}
|
|
2397
2372
|
}
|
|
2398
2373
|
SwitchComponent.initializeProps = registerProps$6();
|
|
2399
|
-
SwitchComponent.ɵfac = function SwitchComponent_Factory(t) { return new (t || SwitchComponent)(i0.ɵɵdirectiveInject(i0.Injector)
|
|
2374
|
+
SwitchComponent.ɵfac = function SwitchComponent_Factory(t) { return new (t || SwitchComponent)(i0.ɵɵdirectiveInject(i0.Injector)); };
|
|
2400
2375
|
SwitchComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SwitchComponent, selectors: [["", "wmSwitch", ""]], exportAs: ["wmSwitch"], features: [i0.ɵɵProvidersFeature([
|
|
2401
2376
|
provideAs(SwitchComponent, NG_VALUE_ACCESSOR, true),
|
|
2402
2377
|
provideAsWidgetRef(SwitchComponent)
|
|
@@ -2420,16 +2395,14 @@ SwitchComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SwitchCompo
|
|
|
2420
2395
|
i0.ɵɵtextInterpolate1(" ", ctx.selectedItem ? ctx.selectedItem.label : ctx.modelByKey, "\n");
|
|
2421
2396
|
i0.ɵɵadvance(1);
|
|
2422
2397
|
i0.ɵɵproperty("name", ctx.name)("disabled", ctx.disabled)("value", ctx.modelByKey)("required", ctx.required);
|
|
2423
|
-
} }, dependencies: [
|
|
2398
|
+
} }, dependencies: [i1.NgClass, i1.NgForOf, i1.NgIf, i2.TextContentDirective], encapsulation: 2 });
|
|
2424
2399
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SwitchComponent, [{
|
|
2425
2400
|
type: Component,
|
|
2426
2401
|
args: [{ selector: '[wmSwitch]', providers: [
|
|
2427
2402
|
provideAs(SwitchComponent, NG_VALUE_ACCESSOR, true),
|
|
2428
2403
|
provideAsWidgetRef(SwitchComponent)
|
|
2429
2404
|
], 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" }]
|
|
2430
|
-
}], function () { return [{ type: i0.Injector }
|
|
2431
|
-
type: Optional
|
|
2432
|
-
}] }]; }, null); })();
|
|
2405
|
+
}], function () { return [{ type: i0.Injector }]; }, null); })();
|
|
2433
2406
|
|
|
2434
2407
|
const inputCalendarTypeProps = new Map([
|
|
2435
2408
|
['autocomplete', { value: true, ...PROP_BOOLEAN }],
|
|
@@ -2464,13 +2437,12 @@ const WIDGET_CONFIG$5 = {
|
|
|
2464
2437
|
hostClass: 'app-input-wrapper'
|
|
2465
2438
|
};
|
|
2466
2439
|
class InputCalendarComponent extends BaseInput {
|
|
2467
|
-
constructor(inj
|
|
2468
|
-
super(inj, WIDGET_CONFIG$5
|
|
2469
|
-
this._viewParent = _viewParent;
|
|
2440
|
+
constructor(inj) {
|
|
2441
|
+
super(inj, WIDGET_CONFIG$5);
|
|
2470
2442
|
}
|
|
2471
2443
|
}
|
|
2472
2444
|
InputCalendarComponent.initializeProps = registerProps$5();
|
|
2473
|
-
InputCalendarComponent.ɵfac = function InputCalendarComponent_Factory(t) { return new (t || InputCalendarComponent)(i0.ɵɵdirectiveInject(i0.Injector)
|
|
2445
|
+
InputCalendarComponent.ɵfac = function InputCalendarComponent_Factory(t) { return new (t || InputCalendarComponent)(i0.ɵɵdirectiveInject(i0.Injector)); };
|
|
2474
2446
|
InputCalendarComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: InputCalendarComponent, selectors: [["wm-input", "type", "date"], ["wm-input", "type", "datetime-local"], ["wm-input", "type", "month"], ["wm-input", "type", "time"], ["wm-input", "type", "week"]], viewQuery: function InputCalendarComponent_Query(rf, ctx) { if (rf & 1) {
|
|
2475
2447
|
i0.ɵɵviewQuery(_c0$5, 7);
|
|
2476
2448
|
i0.ɵɵviewQuery(NgModel, 5);
|
|
@@ -2489,7 +2461,7 @@ InputCalendarComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Inpu
|
|
|
2489
2461
|
} if (rf & 2) {
|
|
2490
2462
|
i0.ɵɵproperty("type", ctx.type)("ngModel", ctx.datavalue)("readonly", ctx.readonly)("required", ctx.required)("disabled", ctx.disabled)("min", ctx.minvalue)("max", ctx.maxvalue)("step", ctx.step)("autofocus", ctx.autofocus)("autocomplete", ctx.autocomplete ? "on" : "off");
|
|
2491
2463
|
i0.ɵɵattribute("name", ctx.name)("tabindex", ctx.tabindex)("placeholder", ctx.placeholder)("accesskey", ctx.shortcutkey)("aria-label", ctx.hint || ctx.type + " field");
|
|
2492
|
-
} }, dependencies: [
|
|
2464
|
+
} }, dependencies: [i1$1.DefaultValueAccessor, i1$1.NgControlStatus, i1$1.RequiredValidator, i1$1.NgModel], encapsulation: 2 });
|
|
2493
2465
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(InputCalendarComponent, [{
|
|
2494
2466
|
type: Component,
|
|
2495
2467
|
args: [{ selector: 'wm-input[type="date"], wm-input[type="datetime-local"], wm-input[type="month"], wm-input[type="time"], wm-input[type="week"]', providers: [
|
|
@@ -2497,9 +2469,7 @@ InputCalendarComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Inpu
|
|
|
2497
2469
|
provideAs(InputCalendarComponent, NG_VALIDATORS, true),
|
|
2498
2470
|
provideAsWidgetRef(InputCalendarComponent)
|
|
2499
2471
|
], 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 #input>\n" }]
|
|
2500
|
-
}], function () { return [{ type: i0.Injector }, {
|
|
2501
|
-
type: Optional
|
|
2502
|
-
}] }]; }, { inputEl: [{
|
|
2472
|
+
}], function () { return [{ type: i0.Injector }]; }, { inputEl: [{
|
|
2503
2473
|
type: ViewChild,
|
|
2504
2474
|
args: ['input', { static: true }]
|
|
2505
2475
|
}], ngModel: [{
|
|
@@ -2537,13 +2507,12 @@ const WIDGET_CONFIG$4 = {
|
|
|
2537
2507
|
hostClass: 'app-input-wrapper'
|
|
2538
2508
|
};
|
|
2539
2509
|
class InputColorComponent extends BaseInput {
|
|
2540
|
-
constructor(inj
|
|
2541
|
-
super(inj, WIDGET_CONFIG$4
|
|
2542
|
-
this._viewParent = _viewParent;
|
|
2510
|
+
constructor(inj) {
|
|
2511
|
+
super(inj, WIDGET_CONFIG$4);
|
|
2543
2512
|
}
|
|
2544
2513
|
}
|
|
2545
2514
|
InputColorComponent.initializeProps = registerProps$4();
|
|
2546
|
-
InputColorComponent.ɵfac = function InputColorComponent_Factory(t) { return new (t || InputColorComponent)(i0.ɵɵdirectiveInject(i0.Injector)
|
|
2515
|
+
InputColorComponent.ɵfac = function InputColorComponent_Factory(t) { return new (t || InputColorComponent)(i0.ɵɵdirectiveInject(i0.Injector)); };
|
|
2547
2516
|
InputColorComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: InputColorComponent, selectors: [["wm-input", "type", "color"]], viewQuery: function InputColorComponent_Query(rf, ctx) { if (rf & 1) {
|
|
2548
2517
|
i0.ɵɵviewQuery(_c0$4, 7);
|
|
2549
2518
|
i0.ɵɵviewQuery(NgModel, 5);
|
|
@@ -2562,7 +2531,7 @@ InputColorComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: InputCo
|
|
|
2562
2531
|
} if (rf & 2) {
|
|
2563
2532
|
i0.ɵɵproperty("type", ctx.type)("ngModel", ctx.datavalue)("readonly", ctx.readonly)("required", ctx.required)("disabled", ctx.disabled)("maxlength", ctx.maxchars)("autofocus", ctx.autofocus);
|
|
2564
2533
|
i0.ɵɵattribute("name", ctx.name)("tabindex", ctx.tabindex)("placeholder", ctx.placeholder)("accesskey", ctx.shortcutkey)("aria-label", ctx.hint);
|
|
2565
|
-
} }, dependencies: [
|
|
2534
|
+
} }, dependencies: [i1$1.DefaultValueAccessor, i1$1.NgControlStatus, i1$1.RequiredValidator, i1$1.MaxLengthValidator, i1$1.NgModel], encapsulation: 2 });
|
|
2566
2535
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(InputColorComponent, [{
|
|
2567
2536
|
type: Component,
|
|
2568
2537
|
args: [{ selector: 'wm-input[type="color"]', providers: [
|
|
@@ -2570,9 +2539,7 @@ InputColorComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: InputCo
|
|
|
2570
2539
|
provideAs(InputColorComponent, NG_VALIDATORS, true),
|
|
2571
2540
|
provideAsWidgetRef(InputColorComponent)
|
|
2572
2541
|
], 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 (blur)=\"handleBlur($event)\"\n (ngModelChange)=\"handleChange($event)\"\n #input>\n" }]
|
|
2573
|
-
}], function () { return [{ type: i0.Injector }, {
|
|
2574
|
-
type: Optional
|
|
2575
|
-
}] }]; }, { inputEl: [{
|
|
2542
|
+
}], function () { return [{ type: i0.Injector }]; }, { inputEl: [{
|
|
2576
2543
|
type: ViewChild,
|
|
2577
2544
|
args: ['input', { static: true }]
|
|
2578
2545
|
}], ngModel: [{
|
|
@@ -2612,13 +2579,12 @@ const WIDGET_CONFIG$3 = {
|
|
|
2612
2579
|
hostClass: 'app-input-wrapper'
|
|
2613
2580
|
};
|
|
2614
2581
|
class InputEmailComponent extends BaseInput {
|
|
2615
|
-
constructor(inj
|
|
2616
|
-
super(inj, WIDGET_CONFIG$3
|
|
2617
|
-
this._viewParent = _viewParent;
|
|
2582
|
+
constructor(inj) {
|
|
2583
|
+
super(inj, WIDGET_CONFIG$3);
|
|
2618
2584
|
}
|
|
2619
2585
|
}
|
|
2620
2586
|
InputEmailComponent.initializeProps = registerProps$3();
|
|
2621
|
-
InputEmailComponent.ɵfac = function InputEmailComponent_Factory(t) { return new (t || InputEmailComponent)(i0.ɵɵdirectiveInject(i0.Injector)
|
|
2587
|
+
InputEmailComponent.ɵfac = function InputEmailComponent_Factory(t) { return new (t || InputEmailComponent)(i0.ɵɵdirectiveInject(i0.Injector)); };
|
|
2622
2588
|
InputEmailComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: InputEmailComponent, selectors: [["wm-input", "type", "email"]], viewQuery: function InputEmailComponent_Query(rf, ctx) { if (rf & 1) {
|
|
2623
2589
|
i0.ɵɵviewQuery(_c0$3, 7);
|
|
2624
2590
|
i0.ɵɵviewQuery(NgModel, 5);
|
|
@@ -2638,7 +2604,7 @@ InputEmailComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: InputEm
|
|
|
2638
2604
|
} if (rf & 2) {
|
|
2639
2605
|
i0.ɵɵproperty("type", ctx.type)("ngModel", ctx.datavalue)("ngModelOptions", ctx.ngModelOptions)("readonly", ctx.readonly)("required", ctx.required)("disabled", ctx.disabled)("maxlength", ctx.maxchars)("pattern", ctx.regexp)("autofocus", ctx.autofocus)("autocomplete", ctx.autocomplete ? "on" : "off");
|
|
2640
2606
|
i0.ɵɵattribute("name", ctx.name)("tabindex", ctx.tabindex)("placeholder", ctx.placeholder)("accesskey", ctx.shortcutkey)("aria-label", ctx.hint);
|
|
2641
|
-
} }, dependencies: [
|
|
2607
|
+
} }, dependencies: [i1$1.DefaultValueAccessor, i1$1.NgControlStatus, i1$1.RequiredValidator, i1$1.MaxLengthValidator, i1$1.PatternValidator, i1$1.EmailValidator, i1$1.NgModel], encapsulation: 2 });
|
|
2642
2608
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(InputEmailComponent, [{
|
|
2643
2609
|
type: Component,
|
|
2644
2610
|
args: [{ selector: 'wm-input[type="email"]', providers: [
|
|
@@ -2646,9 +2612,7 @@ InputEmailComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: InputEm
|
|
|
2646
2612
|
provideAs(InputEmailComponent, NG_VALIDATORS, true),
|
|
2647
2613
|
provideAsWidgetRef(InputEmailComponent)
|
|
2648
2614
|
], 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 (blur)=\"handleBlur($event)\"\n (ngModelChange)=\"handleChange($event)\"\n [autocomplete]=\"autocomplete ? 'on' : 'off'\"\n (keyup.enter)=\"flushViewChanges(input.value)\"\n email\n #input>\n" }]
|
|
2649
|
-
}], function () { return [{ type: i0.Injector }, {
|
|
2650
|
-
type: Optional
|
|
2651
|
-
}] }]; }, { inputEl: [{
|
|
2615
|
+
}], function () { return [{ type: i0.Injector }]; }, { inputEl: [{
|
|
2652
2616
|
type: ViewChild,
|
|
2653
2617
|
args: ['input', { static: true }]
|
|
2654
2618
|
}], ngModel: [{
|
|
@@ -2692,9 +2656,8 @@ const WIDGET_CONFIG$2 = {
|
|
|
2692
2656
|
hostClass: 'app-input-wrapper'
|
|
2693
2657
|
};
|
|
2694
2658
|
class InputNumberComponent extends BaseInput {
|
|
2695
|
-
constructor(inj
|
|
2696
|
-
super(inj, WIDGET_CONFIG$2
|
|
2697
|
-
this._viewParent = _viewParent;
|
|
2659
|
+
constructor(inj) {
|
|
2660
|
+
super(inj, WIDGET_CONFIG$2);
|
|
2698
2661
|
}
|
|
2699
2662
|
onArrowPress($event) {
|
|
2700
2663
|
if (this.step === 0) {
|
|
@@ -2708,7 +2671,7 @@ class InputNumberComponent extends BaseInput {
|
|
|
2708
2671
|
}
|
|
2709
2672
|
}
|
|
2710
2673
|
InputNumberComponent.initializeProps = registerProps$2();
|
|
2711
|
-
InputNumberComponent.ɵfac = function InputNumberComponent_Factory(t) { return new (t || InputNumberComponent)(i0.ɵɵdirectiveInject(i0.Injector)
|
|
2674
|
+
InputNumberComponent.ɵfac = function InputNumberComponent_Factory(t) { return new (t || InputNumberComponent)(i0.ɵɵdirectiveInject(i0.Injector)); };
|
|
2712
2675
|
InputNumberComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: InputNumberComponent, selectors: [["wm-input", "type", "number"]], viewQuery: function InputNumberComponent_Query(rf, ctx) { if (rf & 1) {
|
|
2713
2676
|
i0.ɵɵviewQuery(_c0$2, 7);
|
|
2714
2677
|
i0.ɵɵviewQuery(NgModel, 5);
|
|
@@ -2728,7 +2691,7 @@ InputNumberComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: InputN
|
|
|
2728
2691
|
} if (rf & 2) {
|
|
2729
2692
|
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(18, _c2, ctx.step === 0))("type", ctx.type)("ngModel", ctx.datavalue)("ngModelOptions", ctx.ngModelOptions)("readonly", ctx.readonly)("required", ctx.required)("disabled", ctx.disabled)("maxlength", ctx.maxchars)("min", ctx.minvalue)("max", ctx.maxvalue)("step", ctx.step)("autofocus", ctx.autofocus)("autocomplete", ctx.autocomplete ? "on" : "off");
|
|
2730
2693
|
i0.ɵɵattribute("name", ctx.name)("tabindex", ctx.tabindex)("placeholder", ctx.placeholder)("accesskey", ctx.shortcutkey)("aria-label", ctx.hint);
|
|
2731
|
-
} }, dependencies: [
|
|
2694
|
+
} }, dependencies: [i1.NgClass, i1$1.DefaultValueAccessor, i1$1.NgControlStatus, i1$1.RequiredValidator, i1$1.MaxLengthValidator, i1$1.NgModel], encapsulation: 2 });
|
|
2732
2695
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(InputNumberComponent, [{
|
|
2733
2696
|
type: Component,
|
|
2734
2697
|
args: [{ selector: 'wm-input[type="number"]', providers: [
|
|
@@ -2736,9 +2699,7 @@ InputNumberComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: InputN
|
|
|
2736
2699
|
provideAs(InputNumberComponent, NG_VALIDATORS, true),
|
|
2737
2700
|
provideAsWidgetRef(InputNumberComponent)
|
|
2738
2701
|
], 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 (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" }]
|
|
2739
|
-
}], function () { return [{ type: i0.Injector }, {
|
|
2740
|
-
type: Optional
|
|
2741
|
-
}] }]; }, { inputEl: [{
|
|
2702
|
+
}], function () { return [{ type: i0.Injector }]; }, { inputEl: [{
|
|
2742
2703
|
type: ViewChild,
|
|
2743
2704
|
args: ['input', { static: true }]
|
|
2744
2705
|
}], ngModel: [{
|
|
@@ -2790,9 +2751,8 @@ const WIDGET_CONFIG$1 = {
|
|
|
2790
2751
|
hostClass: 'app-input-wrapper'
|
|
2791
2752
|
};
|
|
2792
2753
|
class InputTextComponent extends BaseInput {
|
|
2793
|
-
constructor(inj
|
|
2794
|
-
super(inj, WIDGET_CONFIG$1
|
|
2795
|
-
this._viewParent = _viewParent;
|
|
2754
|
+
constructor(inj) {
|
|
2755
|
+
super(inj, WIDGET_CONFIG$1);
|
|
2796
2756
|
this.lazy = false;
|
|
2797
2757
|
}
|
|
2798
2758
|
/* Define the property change handler. This function will be triggered when there is a change in the widget property */
|
|
@@ -2865,7 +2825,7 @@ class InputTextComponent extends BaseInput {
|
|
|
2865
2825
|
}
|
|
2866
2826
|
}
|
|
2867
2827
|
InputTextComponent.initializeProps = registerProps$1();
|
|
2868
|
-
InputTextComponent.ɵfac = function InputTextComponent_Factory(t) { return new (t || InputTextComponent)(i0.ɵɵdirectiveInject(i0.Injector)
|
|
2828
|
+
InputTextComponent.ɵfac = function InputTextComponent_Factory(t) { return new (t || InputTextComponent)(i0.ɵɵdirectiveInject(i0.Injector)); };
|
|
2869
2829
|
InputTextComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: InputTextComponent, selectors: [["wm-input", "type", "text"], ["wm-input", 3, "type", ""], ["wm-input", "type", "password"], ["wm-input", "type", "search"], ["wm-input", "type", "tel"], ["wm-input", "type", "url"]], viewQuery: function InputTextComponent_Query(rf, ctx) { if (rf & 1) {
|
|
2870
2830
|
i0.ɵɵviewQuery(_c0$1, 7);
|
|
2871
2831
|
i0.ɵɵviewQuery(NgModel, 5);
|
|
@@ -2887,7 +2847,7 @@ InputTextComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: InputTex
|
|
|
2887
2847
|
} if (rf & 2) {
|
|
2888
2848
|
i0.ɵɵproperty("type", ctx.type)("ngModel", ctx.datavalue)("imask", ctx.mask)("unmask", true)("ngModelOptions", ctx.ngModelOptions)("readonly", ctx.readonly)("required", ctx.required)("disabled", ctx.disabled)("maxlength", ctx.maxchars)("pattern", ctx.regexp)("autofocus", ctx.autofocus)("autocomplete", ctx.autocomplete ? "on" : "off");
|
|
2889
2849
|
i0.ɵɵattribute("name", ctx.name)("aria-label", ctx.hint)("tabindex", ctx.tabindex)("placeholder", ctx.placeholder)("accesskey", ctx.shortcutkey);
|
|
2890
|
-
} }, dependencies: [
|
|
2850
|
+
} }, dependencies: [i1$1.DefaultValueAccessor, i1$1.NgControlStatus, i1$1.RequiredValidator, i1$1.MaxLengthValidator, i1$1.PatternValidator, i1$1.NgModel, i2$1.IMaskDirective], encapsulation: 2 });
|
|
2891
2851
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(InputTextComponent, [{
|
|
2892
2852
|
type: Component,
|
|
2893
2853
|
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: [
|
|
@@ -2895,9 +2855,7 @@ InputTextComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: InputTex
|
|
|
2895
2855
|
provideAs(InputTextComponent, NG_VALIDATORS, true),
|
|
2896
2856
|
provideAsWidgetRef(InputTextComponent)
|
|
2897
2857
|
], 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 (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" }]
|
|
2898
|
-
}], function () { return [{ type: i0.Injector }, {
|
|
2899
|
-
type: Optional
|
|
2900
|
-
}] }]; }, { inputEl: [{
|
|
2858
|
+
}], function () { return [{ type: i0.Injector }]; }, { inputEl: [{
|
|
2901
2859
|
type: ViewChild,
|
|
2902
2860
|
args: ['input', { static: true }]
|
|
2903
2861
|
}], ngModel: [{
|
|
@@ -2948,9 +2906,8 @@ const WIDGET_CONFIG = {
|
|
|
2948
2906
|
hostClass: 'app-input-wrapper'
|
|
2949
2907
|
};
|
|
2950
2908
|
class TextareaComponent extends BaseInput {
|
|
2951
|
-
constructor(inj
|
|
2952
|
-
super(inj, WIDGET_CONFIG
|
|
2953
|
-
this._viewParent = _viewParent;
|
|
2909
|
+
constructor(inj) {
|
|
2910
|
+
super(inj, WIDGET_CONFIG);
|
|
2954
2911
|
this.charlength = 0;
|
|
2955
2912
|
}
|
|
2956
2913
|
onInputChange() {
|
|
@@ -2958,7 +2915,7 @@ class TextareaComponent extends BaseInput {
|
|
|
2958
2915
|
}
|
|
2959
2916
|
}
|
|
2960
2917
|
TextareaComponent.initializeProps = registerProps();
|
|
2961
|
-
TextareaComponent.ɵfac = function TextareaComponent_Factory(t) { return new (t || TextareaComponent)(i0.ɵɵdirectiveInject(i0.Injector)
|
|
2918
|
+
TextareaComponent.ɵfac = function TextareaComponent_Factory(t) { return new (t || TextareaComponent)(i0.ɵɵdirectiveInject(i0.Injector)); };
|
|
2962
2919
|
TextareaComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TextareaComponent, selectors: [["wm-textarea"]], viewQuery: function TextareaComponent_Query(rf, ctx) { if (rf & 1) {
|
|
2963
2920
|
i0.ɵɵviewQuery(_c0, 7);
|
|
2964
2921
|
i0.ɵɵviewQuery(NgModel, 5);
|
|
@@ -2980,7 +2937,7 @@ TextareaComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TextareaC
|
|
|
2980
2937
|
i0.ɵɵattribute("name", ctx.name)("tabindex", ctx.tabindex)("placeholder", ctx.placeholder)("accesskey", ctx.shortcutkey)("aria-label", ctx.hint);
|
|
2981
2938
|
i0.ɵɵadvance(2);
|
|
2982
2939
|
i0.ɵɵproperty("ngIf", ctx.maxchars);
|
|
2983
|
-
} }, dependencies: [
|
|
2940
|
+
} }, dependencies: [i1.NgIf, i1$1.DefaultValueAccessor, i1$1.NgControlStatus, i1$1.RequiredValidator, i1$1.MaxLengthValidator, i1$1.NgModel], encapsulation: 2 });
|
|
2984
2941
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TextareaComponent, [{
|
|
2985
2942
|
type: Component,
|
|
2986
2943
|
args: [{ selector: 'wm-textarea', providers: [
|
|
@@ -2988,9 +2945,7 @@ TextareaComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TextareaC
|
|
|
2988
2945
|
provideAs(TextareaComponent, NG_VALIDATORS, true),
|
|
2989
2946
|
provideAsWidgetRef(TextareaComponent)
|
|
2990
2947
|
], 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 (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" }]
|
|
2991
|
-
}], function () { return [{ type: i0.Injector }, {
|
|
2992
|
-
type: Optional
|
|
2993
|
-
}] }]; }, { inputEl: [{
|
|
2948
|
+
}], function () { return [{ type: i0.Injector }]; }, { inputEl: [{
|
|
2994
2949
|
type: ViewChild,
|
|
2995
2950
|
args: ['textarea', { static: true }]
|
|
2996
2951
|
}], ngModel: [{
|
|
@@ -3154,14 +3109,14 @@ class CaptionPositionDirective {
|
|
|
3154
3109
|
}
|
|
3155
3110
|
}
|
|
3156
3111
|
}
|
|
3157
|
-
CaptionPositionDirective.ɵfac = function CaptionPositionDirective_Factory(t) { return new (t || CaptionPositionDirective)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(i1.App)); };
|
|
3112
|
+
CaptionPositionDirective.ɵfac = function CaptionPositionDirective_Factory(t) { return new (t || CaptionPositionDirective)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(i1$2.App)); };
|
|
3158
3113
|
CaptionPositionDirective.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: CaptionPositionDirective, selectors: [["", "captionPosition", ""]] });
|
|
3159
3114
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaptionPositionDirective, [{
|
|
3160
3115
|
type: Directive,
|
|
3161
3116
|
args: [{
|
|
3162
3117
|
selector: '[captionPosition]'
|
|
3163
3118
|
}]
|
|
3164
|
-
}], function () { return [{ type: i0.Injector }, { type: i1.App }]; }, null); })();
|
|
3119
|
+
}], function () { return [{ type: i0.Injector }, { type: i1$2.App }]; }, null); })();
|
|
3165
3120
|
|
|
3166
3121
|
const components = [
|
|
3167
3122
|
ButtonComponent,
|