@wavemaker/app-ng-runtime 12.0.0-next.141165 → 12.0.0-next.141174
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- app-ng-runtime/build-task/bundles/index.umd.js +46 -38
- app-ng-runtime/build-task/esm2022/basic/default/anchor/anchor.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/basic/default/html/html.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/basic/default/icon/icon.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/basic/default/label/label.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/basic/default/picture/picture.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/basic/default/spinner/spinner.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/basic/progress/progress-circle/progress-circle.build.mjs +7 -2
- app-ng-runtime/build-task/esm2022/basic/rich-text-editor/rich-text-editor.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/containers/tile/tile.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/data/form/form-field/form-field.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/device/barcode-scanner/barcode-scanner.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/device/camera/camera.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/dialogs/alert-dialog/alert-dialog.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/input/calendar/calendar.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/input/color-picker/color-picker.build.mjs +3 -3
- app-ng-runtime/build-task/esm2022/input/currency/currency.build.mjs +3 -3
- app-ng-runtime/build-task/esm2022/input/default/button/button.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/input/default/button-group/button-group.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/input/default/switch/switch.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/input/file-upload/file-upload.build.mjs +5 -1
- app-ng-runtime/build-task/esm2022/page/footer/footer.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/page/header/header.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/page/layout.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/page/left-panel/left-panel.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/page/page.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/page/right-panel/right-panel.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/page/top-nav/top-nav.build.mjs +2 -2
- app-ng-runtime/build-task/fesm2022/index.mjs +46 -38
- app-ng-runtime/build-task/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/advanced/carousel/bundles/index.umd.js +1 -1
- app-ng-runtime/components/advanced/carousel/esm2022/carousel.animator.mjs +2 -2
- app-ng-runtime/components/advanced/carousel/fesm2022/index.mjs +1 -1
- app-ng-runtime/components/advanced/carousel/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/base/bundles/index.umd.js +1 -1
- app-ng-runtime/components/base/esm2022/pipes/custom-pipes.mjs +3 -3
- app-ng-runtime/components/base/fesm2022/index.mjs +1 -1
- app-ng-runtime/components/base/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/base/pipes/custom-pipes.d.ts +1 -1
- app-ng-runtime/components/basic/default/anchor/anchor.component.d.ts +1 -0
- app-ng-runtime/components/basic/default/audio/audio.component.d.ts +1 -0
- app-ng-runtime/components/basic/default/bundles/index.umd.js +27 -18
- app-ng-runtime/components/basic/default/esm2022/anchor/anchor.component.mjs +4 -4
- app-ng-runtime/components/basic/default/esm2022/anchor/anchor.props.mjs +2 -1
- app-ng-runtime/components/basic/default/esm2022/audio/audio.component.mjs +5 -5
- app-ng-runtime/components/basic/default/esm2022/audio/audio.props.mjs +2 -1
- app-ng-runtime/components/basic/default/esm2022/html/html.props.mjs +2 -1
- app-ng-runtime/components/basic/default/esm2022/icon/icon.component.mjs +6 -7
- app-ng-runtime/components/basic/default/esm2022/icon/icon.props.mjs +2 -1
- app-ng-runtime/components/basic/default/esm2022/iframe/iframe.component.mjs +3 -3
- app-ng-runtime/components/basic/default/esm2022/iframe/iframe.props.mjs +3 -2
- app-ng-runtime/components/basic/default/esm2022/label/label.props.mjs +1 -1
- app-ng-runtime/components/basic/default/esm2022/picture/picture.directive.mjs +2 -2
- app-ng-runtime/components/basic/default/esm2022/picture/picture.props.mjs +3 -1
- app-ng-runtime/components/basic/default/esm2022/spinner/spinner.props.mjs +3 -2
- app-ng-runtime/components/basic/default/esm2022/video/video.component.mjs +5 -4
- app-ng-runtime/components/basic/default/esm2022/video/video.props.mjs +2 -1
- app-ng-runtime/components/basic/default/fesm2022/index.mjs +27 -18
- app-ng-runtime/components/basic/default/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/basic/default/icon/icon.component.d.ts +1 -0
- app-ng-runtime/components/basic/default/iframe/iframe.component.d.ts +1 -0
- app-ng-runtime/components/basic/default/picture/picture.directive.d.ts +2 -1
- app-ng-runtime/components/basic/default/video/video.component.d.ts +1 -0
- app-ng-runtime/components/basic/progress/bundles/index.umd.js +12 -8
- app-ng-runtime/components/basic/progress/esm2022/progress-bar/progress-bar.component.mjs +4 -4
- app-ng-runtime/components/basic/progress/esm2022/progress-bar/progress-bar.props.mjs +2 -1
- app-ng-runtime/components/basic/progress/esm2022/progress-circle/progress-circle.component.mjs +8 -6
- app-ng-runtime/components/basic/progress/esm2022/progress-circle/progress-circle.props.mjs +2 -1
- app-ng-runtime/components/basic/progress/fesm2022/index.mjs +12 -8
- app-ng-runtime/components/basic/progress/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/basic/progress/progress-bar/progress-bar.component.d.ts +1 -0
- app-ng-runtime/components/basic/progress/progress-circle/progress-circle.component.d.ts +3 -1
- app-ng-runtime/components/basic/rich-text-editor/bundles/index.umd.js +2 -0
- app-ng-runtime/components/basic/rich-text-editor/esm2022/rich-text-editor.component.mjs +2 -1
- app-ng-runtime/components/basic/rich-text-editor/esm2022/rich-text-editor.props.mjs +2 -1
- app-ng-runtime/components/basic/rich-text-editor/fesm2022/index.mjs +2 -0
- app-ng-runtime/components/basic/rich-text-editor/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/basic/search/bundles/index.umd.js +11 -9
- app-ng-runtime/components/basic/search/esm2022/search.component.mjs +14 -13
- app-ng-runtime/components/basic/search/esm2022/search.props.mjs +2 -1
- app-ng-runtime/components/basic/search/fesm2022/index.mjs +11 -9
- app-ng-runtime/components/basic/search/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/basic/search/search.component.d.ts +1 -0
- app-ng-runtime/components/containers/accordion/bundles/index.umd.js +3 -3
- app-ng-runtime/components/containers/accordion/esm2022/accordion-pane/accordion-pane.component.mjs +4 -4
- app-ng-runtime/components/containers/accordion/fesm2022/index.mjs +3 -3
- app-ng-runtime/components/containers/accordion/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/containers/panel/bundles/index.umd.js +14 -14
- app-ng-runtime/components/containers/panel/esm2022/panel.component.mjs +15 -15
- app-ng-runtime/components/containers/panel/fesm2022/index.mjs +14 -14
- app-ng-runtime/components/containers/panel/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/containers/tabs/bundles/index.umd.js +2 -2
- app-ng-runtime/components/containers/tabs/esm2022/tabs.component.mjs +3 -3
- app-ng-runtime/components/containers/tabs/fesm2022/index.mjs +2 -2
- app-ng-runtime/components/containers/tabs/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/data/live-table/bundles/index.umd.js +2 -2
- app-ng-runtime/components/data/live-table/esm2022/live-table.component.mjs +3 -3
- app-ng-runtime/components/data/live-table/fesm2022/index.mjs +2 -2
- app-ng-runtime/components/data/live-table/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/data/pagination/bundles/index.umd.js +2 -2
- app-ng-runtime/components/data/pagination/esm2022/pagination.component.mjs +3 -3
- app-ng-runtime/components/data/pagination/fesm2022/index.mjs +2 -2
- app-ng-runtime/components/data/pagination/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/data/table/bundles/index.umd.js +14 -5
- app-ng-runtime/components/data/table/esm2022/table-column/table-column.directive.mjs +14 -5
- app-ng-runtime/components/data/table/esm2022/table.component.mjs +2 -2
- app-ng-runtime/components/data/table/fesm2022/index.mjs +14 -5
- app-ng-runtime/components/data/table/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/alert-dialog/bundles/index.umd.js +6 -4
- app-ng-runtime/components/dialogs/alert-dialog/esm2022/alert-dialog.component.mjs +7 -5
- app-ng-runtime/components/dialogs/alert-dialog/fesm2022/index.mjs +6 -4
- app-ng-runtime/components/dialogs/alert-dialog/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/confirm-dialog/bundles/index.umd.js +8 -5
- app-ng-runtime/components/dialogs/confirm-dialog/esm2022/confirm-dialog.component.mjs +9 -6
- app-ng-runtime/components/dialogs/confirm-dialog/fesm2022/index.mjs +8 -5
- app-ng-runtime/components/dialogs/confirm-dialog/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/default/bundles/index.umd.js +9 -3
- app-ng-runtime/components/dialogs/default/dialog-header/dialog-header.component.d.ts +2 -1
- app-ng-runtime/components/dialogs/default/esm2022/base-dialog.mjs +2 -1
- app-ng-runtime/components/dialogs/default/esm2022/dialog-header/dialog-header.component.mjs +9 -4
- app-ng-runtime/components/dialogs/default/fesm2022/index.mjs +9 -3
- app-ng-runtime/components/dialogs/default/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/design-dialog/bundles/index.umd.js +4 -4
- app-ng-runtime/components/dialogs/design-dialog/esm2022/dialog.component.mjs +5 -5
- app-ng-runtime/components/dialogs/design-dialog/fesm2022/index.mjs +4 -4
- app-ng-runtime/components/dialogs/design-dialog/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/iframe-dialog/bundles/index.umd.js +9 -5
- app-ng-runtime/components/dialogs/iframe-dialog/esm2022/iframe-dialog.component.mjs +10 -6
- app-ng-runtime/components/dialogs/iframe-dialog/fesm2022/index.mjs +9 -5
- app-ng-runtime/components/dialogs/iframe-dialog/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/partial-dialog/bundles/index.umd.js +9 -5
- app-ng-runtime/components/dialogs/partial-dialog/esm2022/partial-dialog.component.mjs +10 -6
- app-ng-runtime/components/dialogs/partial-dialog/fesm2022/index.mjs +9 -5
- app-ng-runtime/components/dialogs/partial-dialog/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/calendar/bundles/index.umd.js +2 -4
- app-ng-runtime/components/input/calendar/esm2022/calendar.component.mjs +3 -5
- app-ng-runtime/components/input/calendar/fesm2022/index.mjs +2 -4
- app-ng-runtime/components/input/calendar/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/chips/bundles/index.umd.js +3 -2
- app-ng-runtime/components/input/chips/esm2022/chips.component.mjs +3 -3
- app-ng-runtime/components/input/chips/esm2022/chips.props.mjs +2 -1
- app-ng-runtime/components/input/chips/fesm2022/index.mjs +3 -2
- app-ng-runtime/components/input/chips/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/color-picker/bundles/index.umd.js +5 -3
- app-ng-runtime/components/input/color-picker/color-picker.component.d.ts +1 -0
- app-ng-runtime/components/input/color-picker/esm2022/color-picker.component.mjs +6 -5
- app-ng-runtime/components/input/color-picker/esm2022/color-picker.props.mjs +2 -1
- app-ng-runtime/components/input/color-picker/fesm2022/index.mjs +5 -3
- app-ng-runtime/components/input/color-picker/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/currency/bundles/index.umd.js +4 -3
- app-ng-runtime/components/input/currency/currency.component.d.ts +1 -0
- app-ng-runtime/components/input/currency/esm2022/currency.component.mjs +6 -6
- app-ng-runtime/components/input/currency/esm2022/currency.props.mjs +2 -1
- app-ng-runtime/components/input/currency/fesm2022/index.mjs +4 -3
- app-ng-runtime/components/input/currency/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/default/bundles/index.umd.js +96 -74
- app-ng-runtime/components/input/default/button/button.component.d.ts +1 -0
- app-ng-runtime/components/input/default/checkbox/checkbox.component.d.ts +1 -0
- app-ng-runtime/components/input/default/esm2022/button/button.component.mjs +1 -1
- app-ng-runtime/components/input/default/esm2022/button/button.props.mjs +2 -1
- app-ng-runtime/components/input/default/esm2022/checkbox/checkbox.component.mjs +7 -7
- app-ng-runtime/components/input/default/esm2022/checkbox/checkbox.props.mjs +2 -1
- app-ng-runtime/components/input/default/esm2022/checkboxset/checkboxset.component.mjs +21 -16
- app-ng-runtime/components/input/default/esm2022/number/number.component.mjs +6 -6
- app-ng-runtime/components/input/default/esm2022/number/number.props.mjs +2 -1
- app-ng-runtime/components/input/default/esm2022/radioset/radioset.component.mjs +28 -23
- app-ng-runtime/components/input/default/esm2022/select/select.component.mjs +7 -7
- app-ng-runtime/components/input/default/esm2022/select/select.props.mjs +2 -1
- app-ng-runtime/components/input/default/esm2022/switch/switch.component.mjs +6 -5
- app-ng-runtime/components/input/default/esm2022/switch/switch.props.mjs +2 -1
- app-ng-runtime/components/input/default/esm2022/text/calendar/input-calendar.component.mjs +5 -5
- app-ng-runtime/components/input/default/esm2022/text/calendar/input-calendar.props.mjs +2 -1
- app-ng-runtime/components/input/default/esm2022/text/color/input-color.component.mjs +5 -5
- app-ng-runtime/components/input/default/esm2022/text/color/input-color.props.mjs +2 -1
- app-ng-runtime/components/input/default/esm2022/text/email/input-email.component.mjs +5 -5
- app-ng-runtime/components/input/default/esm2022/text/email/input-email.props.mjs +2 -1
- app-ng-runtime/components/input/default/esm2022/text/number/input-number.component.mjs +5 -5
- app-ng-runtime/components/input/default/esm2022/text/number/input-number.props.mjs +2 -1
- app-ng-runtime/components/input/default/esm2022/text/text/input-text.component.mjs +5 -5
- app-ng-runtime/components/input/default/esm2022/text/text/input-text.props.mjs +2 -1
- app-ng-runtime/components/input/default/esm2022/textarea/textarea.component.mjs +6 -6
- app-ng-runtime/components/input/default/esm2022/textarea/textarea.props.mjs +2 -1
- app-ng-runtime/components/input/default/fesm2022/index.mjs +97 -75
- app-ng-runtime/components/input/default/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/default/number/number.component.d.ts +1 -0
- app-ng-runtime/components/input/default/select/select.component.d.ts +2 -0
- app-ng-runtime/components/input/default/text/calendar/input-calendar.component.d.ts +1 -0
- app-ng-runtime/components/input/default/text/color/input-color.component.d.ts +1 -0
- app-ng-runtime/components/input/default/text/email/input-email.component.d.ts +1 -0
- app-ng-runtime/components/input/default/text/number/input-number.component.d.ts +1 -0
- app-ng-runtime/components/input/default/text/text/input-text.component.d.ts +1 -0
- app-ng-runtime/components/input/default/textarea/textarea.component.d.ts +1 -0
- app-ng-runtime/components/input/epoch/bundles/index.umd.js +12 -9
- app-ng-runtime/components/input/epoch/date/date.component.d.ts +1 -0
- app-ng-runtime/components/input/epoch/date-time/date-time.component.d.ts +2 -1
- app-ng-runtime/components/input/epoch/esm2022/date/date.component.mjs +6 -6
- app-ng-runtime/components/input/epoch/esm2022/date/date.props.mjs +2 -1
- app-ng-runtime/components/input/epoch/esm2022/date-time/date-time.component.mjs +7 -7
- app-ng-runtime/components/input/epoch/esm2022/date-time/date-time.props.mjs +2 -1
- app-ng-runtime/components/input/epoch/esm2022/time/time.component.mjs +7 -7
- app-ng-runtime/components/input/epoch/esm2022/time/time.props.mjs +2 -1
- app-ng-runtime/components/input/epoch/fesm2022/index.mjs +12 -9
- app-ng-runtime/components/input/epoch/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/epoch/time/time.component.d.ts +1 -0
- app-ng-runtime/components/input/file-upload/bundles/index.umd.js +187 -100
- app-ng-runtime/components/input/file-upload/esm2022/file-upload.component.mjs +184 -102
- app-ng-runtime/components/input/file-upload/esm2022/file-upload.props.mjs +6 -1
- app-ng-runtime/components/input/file-upload/fesm2022/index.mjs +187 -100
- app-ng-runtime/components/input/file-upload/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/file-upload/file-upload.component.d.ts +12 -10
- app-ng-runtime/components/input/slider/bundles/index.umd.js +5 -6
- app-ng-runtime/components/input/slider/esm2022/slider.component.mjs +6 -8
- app-ng-runtime/components/input/slider/esm2022/slider.props.mjs +2 -1
- app-ng-runtime/components/input/slider/fesm2022/index.mjs +5 -6
- app-ng-runtime/components/input/slider/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/slider/slider.component.d.ts +1 -0
- app-ng-runtime/components/navigation/menu/bundles/index.umd.js +8 -6
- app-ng-runtime/components/navigation/menu/esm2022/menu.component.mjs +8 -7
- app-ng-runtime/components/navigation/menu/esm2022/menu.props.mjs +2 -1
- app-ng-runtime/components/navigation/menu/fesm2022/index.mjs +8 -6
- app-ng-runtime/components/navigation/menu/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/navigation/menu/menu.component.d.ts +1 -0
- app-ng-runtime/components/navigation/popover/bundles/index.umd.js +102 -10
- app-ng-runtime/components/navigation/popover/esm2022/popover.component.mjs +102 -11
- app-ng-runtime/components/navigation/popover/esm2022/popover.props.mjs +2 -1
- app-ng-runtime/components/navigation/popover/fesm2022/index.mjs +102 -10
- app-ng-runtime/components/navigation/popover/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/navigation/popover/popover.component.d.ts +11 -0
- app-ng-runtime/components/page/default/bundles/index.umd.js +2 -1
- app-ng-runtime/components/page/default/esm2022/page.props.mjs +4 -3
- app-ng-runtime/components/page/default/fesm2022/index.mjs +2 -1
- app-ng-runtime/components/page/default/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/page/footer/bundles/index.umd.js +2 -1
- app-ng-runtime/components/page/footer/esm2022/footer.props.mjs +3 -2
- app-ng-runtime/components/page/footer/fesm2022/index.mjs +2 -1
- app-ng-runtime/components/page/footer/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/page/header/bundles/index.umd.js +2 -1
- app-ng-runtime/components/page/header/esm2022/header.props.mjs +3 -2
- app-ng-runtime/components/page/header/fesm2022/index.mjs +2 -1
- app-ng-runtime/components/page/header/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/page/left-panel/bundles/index.umd.js +2 -1
- app-ng-runtime/components/page/left-panel/esm2022/left-panel.props.mjs +3 -2
- app-ng-runtime/components/page/left-panel/fesm2022/index.mjs +2 -1
- app-ng-runtime/components/page/left-panel/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/page/right-panel/bundles/index.umd.js +2 -1
- app-ng-runtime/components/page/right-panel/esm2022/right-panel.props.mjs +3 -2
- app-ng-runtime/components/page/right-panel/fesm2022/index.mjs +2 -1
- app-ng-runtime/components/page/right-panel/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/page/top-nav/bundles/index.umd.js +2 -1
- app-ng-runtime/components/page/top-nav/esm2022/top-nav.props.mjs +3 -2
- app-ng-runtime/components/page/top-nav/fesm2022/index.mjs +2 -1
- app-ng-runtime/components/page/top-nav/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/core/bundles/index.umd.js +10 -8
- app-ng-runtime/core/esm2022/public_api.mjs +2 -2
- app-ng-runtime/core/esm2022/utils/build-utils.mjs +7 -7
- app-ng-runtime/core/esm2022/utils/utils.mjs +3 -3
- app-ng-runtime/core/fesm2022/index.mjs +10 -9
- app-ng-runtime/core/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/core/public_api.d.ts +1 -1
- app-ng-runtime/core/utils/utils.d.ts +1 -0
- app-ng-runtime/mobile/components/device/barcode-scanner/bundles/index.umd.js +2 -1
- app-ng-runtime/mobile/components/device/barcode-scanner/esm2022/barcode-scanner.props.mjs +3 -2
- app-ng-runtime/mobile/components/device/barcode-scanner/fesm2022/index.mjs +2 -1
- app-ng-runtime/mobile/components/device/barcode-scanner/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/device/camera/bundles/index.umd.js +2 -1
- app-ng-runtime/mobile/components/device/camera/esm2022/camera.props.mjs +3 -2
- app-ng-runtime/mobile/components/device/camera/fesm2022/index.mjs +2 -1
- app-ng-runtime/mobile/components/device/camera/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/package.json +1 -1
- app-ng-runtime/runtime/base/bundles/index.umd.js +6 -4
- app-ng-runtime/runtime/base/components/app-component/app.component.d.ts +2 -3
- app-ng-runtime/runtime/base/esm2022/components/app-component/app.component.mjs +5 -5
- app-ng-runtime/runtime/base/esm2022/guards/can-deactivate-page.guard.mjs +5 -4
- app-ng-runtime/runtime/base/fesm2022/index.mjs +6 -4
- app-ng-runtime/runtime/base/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/runtime/base/guards/can-deactivate-page.guard.d.ts +2 -1
|
@@ -9,7 +9,7 @@ import { IMaskDirective, IMaskModule } from 'angular-imask';
|
|
|
9
9
|
import * as i2 from '@wm/components/base';
|
|
10
10
|
import { PROP_STRING, PROP_ANY, PROP_BOOLEAN, PROP_NUMBER, register, DISPLAY_TYPE, StylableComponent, styler, provideAsWidgetRef, APPLY_STYLES_TYPE, WidgetConfig, registerFormWidget, provideAs, extractDataAsArray, ToDatePipe, ALLFIELDS, convertDataToObject, getOrderedDataset, transformDataWithKeys, transformFormData, getUniqObjsByDataField, groupData, handleHeaderClick, toggleAllHeaders, WidgetRef, INPUTMODE, TrailingZeroDecimalPipe, WmComponentsModule } from '@wm/components/base';
|
|
11
11
|
import * as i1$1 from '@wm/core';
|
|
12
|
-
import { DataSource, FormWidgetType, isDefined, toggleClass, AppDefaults, $appDigest, debounce as debounce$1, noop, isEqualWithFields, toBoolean, setListClass, switchClass, addForIdAttributes, addClass, AbstractI18nService, isIos, setAttr, removeAttr, setCSS } from '@wm/core';
|
|
12
|
+
import { DataSource, FormWidgetType, isDefined, toggleClass, AppDefaults, $appDigest, debounce as debounce$1, noop, isEqualWithFields, toBoolean, setListClass, switchClass, addForIdAttributes, addClass, AbstractI18nService, isIos, isSafari, setAttr, removeAttr, setCSS } from '@wm/core';
|
|
13
13
|
import { has, set, isArray, debounce, toString, find, isNull, isObject, isEqual, isEmpty, forEach, includes, isString, get, isUndefined, round, toArray, intersection, findIndex } from 'lodash-es';
|
|
14
14
|
import { Subject } from 'rxjs';
|
|
15
15
|
import { __param, __metadata, __decorate } from 'tslib';
|
|
@@ -24,6 +24,7 @@ const registerProps$e = () => {
|
|
|
24
24
|
['conditionalstyle', PROP_ANY],
|
|
25
25
|
['disabled', PROP_BOOLEAN],
|
|
26
26
|
['hint', PROP_STRING],
|
|
27
|
+
['arialabel', PROP_STRING],
|
|
27
28
|
['iconclass', PROP_STRING],
|
|
28
29
|
['iconheight', PROP_STRING],
|
|
29
30
|
['iconmargin', PROP_STRING],
|
|
@@ -369,6 +370,7 @@ const checkboxProps = new Map([
|
|
|
369
370
|
['datavalue', PROP_STRING],
|
|
370
371
|
['disabled', PROP_BOOLEAN],
|
|
371
372
|
['hint', PROP_STRING],
|
|
373
|
+
['arialabel', PROP_STRING],
|
|
372
374
|
['name', PROP_STRING],
|
|
373
375
|
['readonly', PROP_BOOLEAN],
|
|
374
376
|
['required', PROP_BOOLEAN],
|
|
@@ -496,7 +498,7 @@ class CheckboxComponent extends BaseFormCustomComponent {
|
|
|
496
498
|
provideAs(CheckboxComponent, NG_VALUE_ACCESSOR, true),
|
|
497
499
|
provideAs(CheckboxComponent, NG_VALIDATORS, true),
|
|
498
500
|
provideAsWidgetRef(CheckboxComponent)
|
|
499
|
-
]), i0.ɵɵInheritDefinitionFeature], attrs: _c1$a, decls: 6, vars:
|
|
501
|
+
]), i0.ɵɵInheritDefinitionFeature], attrs: _c1$a, decls: 6, vars: 18, consts: [["checkbox", ""], [3, "ngClass"], ["type", "checkbox", "focus-target", "", 3, "ngModelChange", "blur", "ngModel", "ngModelOptions", "readonly", "required", "disabled", "tabindex"], [1, "caption", 3, "innerHtml"], ["alt", "Checkbox Image", "aria-hidden", "true", "src", "data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==", 1, "switch"], ["type", "hidden", "aria-hidden", "true", "tabindex", "-1", 1, "ng-hide", "model-holder", 3, "disabled", "value"]], template: function CheckboxComponent_Template(rf, ctx) { if (rf & 1) {
|
|
500
502
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
501
503
|
i0.ɵɵelementStart(0, "label", 1)(1, "input", 2, 0);
|
|
502
504
|
i0.ɵɵtwoWayListener("ngModelChange", function CheckboxComponent_Template_input_ngModelChange_1_listener($event) { i0.ɵɵrestoreView(_r1); i0.ɵɵtwoWayBindingSet(ctx.proxyModel, $event) || (ctx.proxyModel = $event); return i0.ɵɵresetView($event); });
|
|
@@ -506,11 +508,11 @@ class CheckboxComponent extends BaseFormCustomComponent {
|
|
|
506
508
|
i0.ɵɵelementEnd();
|
|
507
509
|
i0.ɵɵelement(5, "input", 5);
|
|
508
510
|
} if (rf & 2) {
|
|
509
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction3(
|
|
511
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction3(13, _c2$7, !ctx.proxyModel, ctx.disabled || ctx.readonly, ctx.required && ctx._caption));
|
|
510
512
|
i0.ɵɵadvance();
|
|
511
513
|
i0.ɵɵtwoWayProperty("ngModel", ctx.proxyModel);
|
|
512
|
-
i0.ɵɵproperty("ngModelOptions", i0.ɵɵpureFunction0(
|
|
513
|
-
i0.ɵɵattribute("name", ctx.name)("aria-label", ctx.
|
|
514
|
+
i0.ɵɵproperty("ngModelOptions", i0.ɵɵpureFunction0(17, _c3$2))("readonly", ctx.readonly)("required", ctx.required)("disabled", ctx.disabled || ctx.readonly)("tabindex", ctx.tabindex);
|
|
515
|
+
i0.ɵɵattribute("name", ctx.name)("aria-label", ctx.arialabel)("accesskey", ctx.shortcutkey);
|
|
514
516
|
i0.ɵɵadvance(2);
|
|
515
517
|
i0.ɵɵproperty("innerHtml", ctx._caption, i0.ɵɵsanitizeHtml);
|
|
516
518
|
i0.ɵɵadvance(2);
|
|
@@ -523,7 +525,7 @@ class CheckboxComponent extends BaseFormCustomComponent {
|
|
|
523
525
|
provideAs(CheckboxComponent, NG_VALUE_ACCESSOR, true),
|
|
524
526
|
provideAs(CheckboxComponent, NG_VALIDATORS, true),
|
|
525
527
|
provideAsWidgetRef(CheckboxComponent)
|
|
526
|
-
], template: "<label [ngClass]=\"{'unchecked': !proxyModel, 'disabled': (disabled || readonly), 'required': (required && _caption)}\">\n <input type=\"checkbox\"\n
|
|
528
|
+
], template: "<label [ngClass]=\"{'unchecked': !proxyModel, 'disabled': (disabled || readonly), 'required': (required && _caption)}\">\n <input type=\"checkbox\"\n #checkbox\n [attr.name]=\"name\"\n [attr.aria-label]=\"arialabel\"\n focus-target\n [(ngModel)]=\"proxyModel\"\n [ngModelOptions]=\"{standalone: true}\"\n [readonly]=\"readonly\"\n [required]=\"required\"\n [disabled]=\"disabled || readonly\"\n [attr.accesskey]=\"shortcutkey\"\n [tabindex]=\"tabindex\"\n (blur)=\"invokeOnTouched($event)\"\n (ngModelChange)=\"handleChange($event)\">\n <span class=\"caption\" [innerHtml]=\"_caption\"></span>\n <img alt=\"Checkbox Image\" aria-hidden=\"true\" src=\"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" class=\"switch\"/>\n</label>\n<input type=\"hidden\" class=\"ng-hide model-holder\" aria-hidden=\"true\" tabindex=\"-1\" [disabled]=\"disabled\" [value]=\"proxyModel\">\n" }]
|
|
527
529
|
}], () => [{ type: i0.Injector }, { type: undefined, decorators: [{
|
|
528
530
|
type: Attribute,
|
|
529
531
|
args: ['checkedvalue']
|
|
@@ -895,10 +897,10 @@ function CheckboxsetComponent_ng_template_0_li_0_label_1_Template(rf, ctx) { if
|
|
|
895
897
|
const item_r2 = ctx_r3.$implicit;
|
|
896
898
|
const i_r5 = ctx_r3.index;
|
|
897
899
|
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
898
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(
|
|
900
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c2$6, ctx_r2.disabled || ctx_r2.readonly))("title", item_r2.label);
|
|
899
901
|
i0.ɵɵadvance();
|
|
900
902
|
i0.ɵɵproperty("name", "checkboxset_" + ctx_r2.widgetId)("tabindex", ctx_r2.tabindex)("disabled", ctx_r2.disabled || ctx_r2.readonly)("value", item_r2.key)("tabindex", ctx_r2.tabindex)("checked", item_r2.selected);
|
|
901
|
-
i0.ɵɵattribute("
|
|
903
|
+
i0.ɵɵattribute("data-attr-index", i_r5);
|
|
902
904
|
i0.ɵɵadvance();
|
|
903
905
|
i0.ɵɵproperty("textContent", item_r2.label);
|
|
904
906
|
} }
|
|
@@ -911,16 +913,16 @@ function CheckboxsetComponent_ng_template_0_li_0_label_2_Template(rf, ctx) { if
|
|
|
911
913
|
const item_r2 = ctx_r3.$implicit;
|
|
912
914
|
const i_r5 = ctx_r3.index;
|
|
913
915
|
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
914
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(
|
|
916
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c2$6, ctx_r2.disabled || ctx_r2.readonly));
|
|
915
917
|
i0.ɵɵadvance();
|
|
916
918
|
i0.ɵɵproperty("name", "checkboxset_" + ctx_r2.widgetId)("tabindex", ctx_r2.tabindex)("disabled", ctx_r2.disabled || ctx_r2.readonly)("value", item_r2.key)("tabindex", ctx_r2.tabindex)("checked", item_r2.selected);
|
|
917
|
-
i0.ɵɵattribute("
|
|
919
|
+
i0.ɵɵattribute("data-attr-index", i_r5);
|
|
918
920
|
} }
|
|
919
921
|
function CheckboxsetComponent_ng_template_0_li_0_Template(rf, ctx) { if (rf & 1) {
|
|
920
922
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
921
923
|
i0.ɵɵelementStart(0, "li", 5);
|
|
922
924
|
i0.ɵɵlistener("click", function CheckboxsetComponent_ng_template_0_li_0_Template_li_click_0_listener($event) { const item_r2 = i0.ɵɵrestoreView(_r1).$implicit; const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.onCheckboxLabelClick($event, item_r2.key)); });
|
|
923
|
-
i0.ɵɵtemplate(1, CheckboxsetComponent_ng_template_0_li_0_label_1_Template, 3,
|
|
925
|
+
i0.ɵɵtemplate(1, CheckboxsetComponent_ng_template_0_li_0_label_1_Template, 3, 12, "label", 6)(2, CheckboxsetComponent_ng_template_0_li_0_label_2_Template, 3, 10, "label", 7);
|
|
924
926
|
i0.ɵɵelementEnd();
|
|
925
927
|
} if (rf & 2) {
|
|
926
928
|
const item_r2 = ctx.$implicit;
|
|
@@ -955,7 +957,7 @@ function CheckboxsetComponent_ng_template_3_li_0_span_7_Template(rf, ctx) { if (
|
|
|
955
957
|
} }
|
|
956
958
|
function CheckboxsetComponent_ng_template_3_li_0_li_8_label_1_Template(rf, ctx) { if (rf & 1) {
|
|
957
959
|
i0.ɵɵelementStart(0, "label", 8);
|
|
958
|
-
i0.ɵɵelement(1, "input",
|
|
960
|
+
i0.ɵɵelement(1, "input", 9)(2, "span", 10);
|
|
959
961
|
i0.ɵɵelementEnd();
|
|
960
962
|
} if (rf & 2) {
|
|
961
963
|
const ctx_r9 = i0.ɵɵnextContext();
|
|
@@ -971,7 +973,7 @@ function CheckboxsetComponent_ng_template_3_li_0_li_8_label_1_Template(rf, ctx)
|
|
|
971
973
|
} }
|
|
972
974
|
function CheckboxsetComponent_ng_template_3_li_0_li_8_label_2_Template(rf, ctx) { if (rf & 1) {
|
|
973
975
|
i0.ɵɵelementStart(0, "label", 11);
|
|
974
|
-
i0.ɵɵelement(1, "input",
|
|
976
|
+
i0.ɵɵelement(1, "input", 9)(2, "span", 26);
|
|
975
977
|
i0.ɵɵelementEnd();
|
|
976
978
|
} if (rf & 2) {
|
|
977
979
|
const ctx_r9 = i0.ɵɵnextContext();
|
|
@@ -1012,10 +1014,15 @@ function CheckboxsetComponent_ng_template_3_li_0_Template(rf, ctx) { if (rf & 1)
|
|
|
1012
1014
|
i0.ɵɵelementEnd()();
|
|
1013
1015
|
} if (rf & 2) {
|
|
1014
1016
|
const groupObj_r7 = ctx.$implicit;
|
|
1017
|
+
const groupindex_r12 = ctx.index;
|
|
1015
1018
|
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
1016
|
-
i0.ɵɵadvance(
|
|
1017
|
-
i0.ɵɵ
|
|
1018
|
-
i0.ɵɵadvance(
|
|
1019
|
+
i0.ɵɵadvance();
|
|
1020
|
+
i0.ɵɵattribute("aria-labelledby", "group_" + ctx_r2.widgetId + "_" + groupindex_r12);
|
|
1021
|
+
i0.ɵɵadvance();
|
|
1022
|
+
i0.ɵɵproperty("id", "group_" + ctx_r2.widgetId + "_" + groupindex_r12)("title", groupObj_r7.key)("ngClass", i0.ɵɵpureFunction1(9, _c3$1, ctx_r2.collapsible));
|
|
1023
|
+
i0.ɵɵadvance();
|
|
1024
|
+
i0.ɵɵattribute("aria-label", "Group " + groupObj_r7.key);
|
|
1025
|
+
i0.ɵɵadvance();
|
|
1019
1026
|
i0.ɵɵtextInterpolate1("", groupObj_r7.key, " ");
|
|
1020
1027
|
i0.ɵɵadvance(2);
|
|
1021
1028
|
i0.ɵɵproperty("ngIf", ctx_r2.collapsible);
|
|
@@ -1025,7 +1032,7 @@ function CheckboxsetComponent_ng_template_3_li_0_Template(rf, ctx) { if (rf & 1)
|
|
|
1025
1032
|
i0.ɵɵproperty("ngForOf", groupObj_r7.data);
|
|
1026
1033
|
} }
|
|
1027
1034
|
function CheckboxsetComponent_ng_template_3_Template(rf, ctx) { if (rf & 1) {
|
|
1028
|
-
i0.ɵɵtemplate(0, CheckboxsetComponent_ng_template_3_li_0_Template, 9,
|
|
1035
|
+
i0.ɵɵtemplate(0, CheckboxsetComponent_ng_template_3_li_0_Template, 9, 11, "li", 14);
|
|
1029
1036
|
} if (rf & 2) {
|
|
1030
1037
|
const ctx_r2 = i0.ɵɵnextContext();
|
|
1031
1038
|
i0.ɵɵproperty("ngForOf", ctx_r2.groupedData);
|
|
@@ -1097,13 +1104,13 @@ class CheckboxsetComponent extends DatasetAwareFormComponent {
|
|
|
1097
1104
|
provideAs(CheckboxsetComponent, NG_VALUE_ACCESSOR, true),
|
|
1098
1105
|
provideAs(CheckboxsetComponent, NG_VALIDATORS, true),
|
|
1099
1106
|
provideAsWidgetRef(CheckboxsetComponent)
|
|
1100
|
-
]), i0.ɵɵInheritDefinitionFeature], attrs: _c0$a, decls: 5, vars: 4, consts: [["groupedListTemplate", ""], [3, "ngIf", "ngIfElse"], ["hidden", "", 1, "model-holder", 3, "disabled"], ["class", "readonly-wrapper", 4, "ngIf"], ["partialContainer", "", "role", "presentation", 3, "ngClass", "active", "wmItemTemplate", "userComponentParams", "click", 4, "ngFor", "ngForOf"], ["partialContainer", "", "role", "presentation", 3, "click", "ngClass", "wmItemTemplate", "userComponentParams"], ["class", "app-checkboxset-label", 3, "ngClass", "title", 4, "ngIf"], ["class", "app-checkboxset-label", 3, "ngClass", 4, "ngIf"], [1, "app-checkboxset-label", 3, "ngClass", "title"], ["type", "checkbox", 3, "name", "tabindex", "disabled", "value", "checked"], [1, "caption", 3, "textContent"], [1, "app-checkboxset-label", 3, "ngClass"], ["partial-container-target", "", 1, "caption", "customTemplate"], [1, "readonly-wrapper"], ["class", "app-list-item-group", "role", "presentation", 4, "ngFor", "ngForOf"], ["role", "presentation", 1, "app-list-item-group"], [1, "item-group"], [1, "list-group-header", 3, "click", "title", "ngClass"], [1, "group-title"], [1, "header-action"], ["class", "app-icon wi action wi-chevron-up", 3, "title", 4, "ngIf"], ["class", "label label-default", 3, "textContent", 4, "ngIf"], ["partialContainer", "", 3, "ngClass", "active", "wmItemTemplate", "userComponentParams", "click", 4, "ngFor", "ngForOf"], [1, "app-icon", "wi", "action", "wi-chevron-up", 3, "title"], [1, "label", "label-default", 3, "textContent"], ["partialContainer", "", 3, "click", "ngClass", "wmItemTemplate", "userComponentParams"], ["
|
|
1107
|
+
]), i0.ɵɵInheritDefinitionFeature], attrs: _c0$a, decls: 5, vars: 4, consts: [["groupedListTemplate", ""], [3, "ngIf", "ngIfElse"], ["hidden", "", 1, "model-holder", 3, "disabled"], ["class", "readonly-wrapper", 4, "ngIf"], ["partialContainer", "", "role", "presentation", 3, "ngClass", "active", "wmItemTemplate", "userComponentParams", "click", 4, "ngFor", "ngForOf"], ["partialContainer", "", "role", "presentation", 3, "click", "ngClass", "wmItemTemplate", "userComponentParams"], ["class", "app-checkboxset-label", 3, "ngClass", "title", 4, "ngIf"], ["class", "app-checkboxset-label", 3, "ngClass", 4, "ngIf"], [1, "app-checkboxset-label", 3, "ngClass", "title"], ["type", "checkbox", 3, "name", "tabindex", "disabled", "value", "checked"], [1, "caption", 3, "textContent"], [1, "app-checkboxset-label", 3, "ngClass"], ["partial-container-target", "", 1, "caption", "customTemplate"], [1, "readonly-wrapper"], ["class", "app-list-item-group", "role", "presentation", 4, "ngFor", "ngForOf"], ["role", "presentation", 1, "app-list-item-group"], [1, "item-group"], ["aria-hidden", "true", 1, "list-group-header", 3, "click", "id", "title", "ngClass"], [1, "group-title"], [1, "header-action"], ["class", "app-icon wi action wi-chevron-up", 3, "title", 4, "ngIf"], ["class", "label label-default", 3, "textContent", 4, "ngIf"], ["partialContainer", "", 3, "ngClass", "active", "wmItemTemplate", "userComponentParams", "click", 4, "ngFor", "ngForOf"], [1, "app-icon", "wi", "action", "wi-chevron-up", 3, "title"], [1, "label", "label-default", 3, "textContent"], ["partialContainer", "", 3, "click", "ngClass", "wmItemTemplate", "userComponentParams"], ["partial-container-target", "", 1, "caption"]], template: function CheckboxsetComponent_Template(rf, ctx) { if (rf & 1) {
|
|
1101
1108
|
i0.ɵɵtemplate(0, CheckboxsetComponent_ng_template_0_Template, 1, 1, "ng-template", 1);
|
|
1102
1109
|
i0.ɵɵelement(1, "input", 2);
|
|
1103
1110
|
i0.ɵɵtemplate(2, CheckboxsetComponent_div_2_Template, 1, 0, "div", 3)(3, CheckboxsetComponent_ng_template_3_Template, 1, 1, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor);
|
|
1104
1111
|
} if (rf & 2) {
|
|
1105
|
-
const
|
|
1106
|
-
i0.ɵɵproperty("ngIf", !ctx.groupby)("ngIfElse",
|
|
1112
|
+
const groupedListTemplate_r13 = i0.ɵɵreference(4);
|
|
1113
|
+
i0.ɵɵproperty("ngIf", !ctx.groupby)("ngIfElse", groupedListTemplate_r13);
|
|
1107
1114
|
i0.ɵɵadvance();
|
|
1108
1115
|
i0.ɵɵproperty("disabled", ctx.disabled || ctx.readonly);
|
|
1109
1116
|
i0.ɵɵadvance();
|
|
@@ -1116,7 +1123,7 @@ class CheckboxsetComponent extends DatasetAwareFormComponent {
|
|
|
1116
1123
|
provideAs(CheckboxsetComponent, NG_VALUE_ACCESSOR, true),
|
|
1117
1124
|
provideAs(CheckboxsetComponent, NG_VALIDATORS, true),
|
|
1118
1125
|
provideAsWidgetRef(CheckboxsetComponent)
|
|
1119
|
-
], template: "<ng-template [ngIf]=\"!groupby\" [ngIfElse]=\"groupedListTemplate\">\n <li [ngClass]=\"['checkbox', 'app-checkbox', itemclass, itemsPerRowClass]\"\n [class.active]=\"item.selected\"\n *ngFor=\"let item of datasetItems; let i = index\"\n [wmItemTemplate]=\"content\" [userComponentParams]=\"item\" partialContainer\n (click)=\"onCheckboxLabelClick($event, item.key)\" role=\"presentation\">\n <!-- Default item template -->\n <label *ngIf=\"!content\" class=\"app-checkboxset-label\" [ngClass]=\"{'disabled':disabled || readonly}\" [title]=\"item.label\">\n <input [name]=\"'checkboxset_' + widgetId\"
|
|
1126
|
+
], 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\" [tabindex]=\"tabindex\"\n type=\"checkbox\"\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\" [tabindex]=\"tabindex\"\n type=\"checkbox\"\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; let groupindex = index;\" class=\"app-list-item-group\" role=\"presentation\">\n <ul class=\"item-group\" [attr.aria-labelledby]=\"'group_' + widgetId + '_' + groupindex\">\n <li [id]=\"'group_' + widgetId + '_' + groupindex\" aria-hidden=\"true\" class=\"list-group-header\" (click)=\"handleHeaderClick($event)\" [title]=\"groupObj.key\" [ngClass]=\"{'collapsible-content': collapsible}\">\n <h4 class=\"group-title\" [attr.aria-label]=\"'Group '+groupObj.key\">{{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\"\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\"\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" }]
|
|
1120
1127
|
}], () => [{ type: i0.Injector }, { type: undefined, decorators: [{
|
|
1121
1128
|
type: Inject,
|
|
1122
1129
|
args: ['EXPLICIT_CONTEXT']
|
|
@@ -1222,6 +1229,7 @@ const numberProps = new Map([
|
|
|
1222
1229
|
['datavalue', PROP_STRING],
|
|
1223
1230
|
['disabled', PROP_BOOLEAN],
|
|
1224
1231
|
['hint', PROP_STRING],
|
|
1232
|
+
['arialabel', PROP_STRING],
|
|
1225
1233
|
['localefilter', PROP_STRING],
|
|
1226
1234
|
['minvalue', PROP_NUMBER],
|
|
1227
1235
|
['maxvalue', PROP_NUMBER],
|
|
@@ -1835,15 +1843,15 @@ class NumberComponent extends NumberLocale {
|
|
|
1835
1843
|
provideAs(NumberComponent, NG_VALUE_ACCESSOR, true),
|
|
1836
1844
|
provideAs(NumberComponent, NG_VALIDATORS, true),
|
|
1837
1845
|
provideAsWidgetRef(NumberComponent)
|
|
1838
|
-
]), i0.ɵɵInheritDefinitionFeature], attrs: _c1$8, decls: 2, vars: 14, consts: [["input", ""], ["inputmode", "decimal", "focus-target", "", "
|
|
1846
|
+
]), i0.ɵɵInheritDefinitionFeature], attrs: _c1$8, decls: 2, vars: 14, consts: [["input", ""], ["inputmode", "decimal", "focus-target", "", "type", "number", 1, "form-control", "app-textbox", "app-number-input", 3, "ngModelChange", "blur", "focus", "input", "keypress", "keydown.backspace", "keydown.enter", "keydown.ArrowUp", "keydown.ArrowDown", "ngModel", "readonly", "disabled", "pattern", "autofocus", "ngClass", "ngStyle", "ngModelOptions", "required"]], template: function NumberComponent_Template(rf, ctx) { if (rf & 1) {
|
|
1839
1847
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
1840
1848
|
i0.ɵɵelementStart(0, "input", 1, 0);
|
|
1841
1849
|
i0.ɵɵlistener("ngModelChange", function NumberComponent_Template_input_ngModelChange_0_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onModelChange($event)); })("blur", function NumberComponent_Template_input_blur_0_listener($event) { i0.ɵɵrestoreView(_r1); ctx.handleBlur($event); return i0.ɵɵresetView(ctx.checkForTrailingZeros($event)); })("focus", function NumberComponent_Template_input_focus_0_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.checkForTrailingZeros($event)); })("input", function NumberComponent_Template_input_input_0_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onInputChange($event.target.value)); })("keypress", function NumberComponent_Template_input_keypress_0_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.validateInputEntry($event)); })("keydown.backspace", function NumberComponent_Template_input_keydown_backspace_0_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onBackspace($event)); })("keydown.enter", function NumberComponent_Template_input_keydown_enter_0_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onEnter($event)); })("keydown.ArrowUp", function NumberComponent_Template_input_keydown_ArrowUp_0_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onArrowPress($event, "UP")); })("keydown.ArrowDown", function NumberComponent_Template_input_keydown_ArrowDown_0_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onArrowPress($event, "DOWN")); });
|
|
1842
1850
|
i0.ɵɵelementEnd();
|
|
1843
1851
|
} if (rf & 2) {
|
|
1844
1852
|
i0.ɵɵproperty("ngModel", ctx.displayValue)("readonly", ctx.readonly)("disabled", ctx.disabled)("pattern", ctx.regexp)("autofocus", ctx.autofocus)("ngClass", ctx.conditionalclass)("ngStyle", ctx.conditionalstyle)("ngModelOptions", ctx.ngModelOptions)("required", ctx.required);
|
|
1845
|
-
i0.ɵɵattribute("name", ctx.name)("tabindex", ctx.tabindex)("placeholder", ctx.placeholder)("accesskey", ctx.shortcutkey)("aria-label", ctx.
|
|
1846
|
-
} }, dependencies: [i1.NgClass, i1.NgStyle, i2$1.DefaultValueAccessor, i2$1.NgControlStatus, i2$1.RequiredValidator, i2$1.PatternValidator, i2$1.NgModel], encapsulation: 2 }); }
|
|
1853
|
+
i0.ɵɵattribute("name", ctx.name)("tabindex", ctx.tabindex)("placeholder", ctx.placeholder)("accesskey", ctx.shortcutkey)("aria-label", ctx.arialabel);
|
|
1854
|
+
} }, dependencies: [i1.NgClass, i1.NgStyle, i2$1.DefaultValueAccessor, i2$1.NumberValueAccessor, i2$1.NgControlStatus, i2$1.RequiredValidator, i2$1.PatternValidator, i2$1.NgModel], encapsulation: 2 }); }
|
|
1847
1855
|
}
|
|
1848
1856
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(NumberComponent, [{
|
|
1849
1857
|
type: Component,
|
|
@@ -1851,7 +1859,7 @@ class NumberComponent extends NumberLocale {
|
|
|
1851
1859
|
provideAs(NumberComponent, NG_VALUE_ACCESSOR, true),
|
|
1852
1860
|
provideAs(NumberComponent, NG_VALIDATORS, true),
|
|
1853
1861
|
provideAsWidgetRef(NumberComponent)
|
|
1854
|
-
], template: "<input class=\"form-control app-textbox app-number-input\"\n inputmode=\"decimal\"\n focus-target\n [attr.name]=\"name\"\n
|
|
1862
|
+
], template: "<input class=\"form-control app-textbox app-number-input\"\n inputmode=\"decimal\"\n focus-target\n [attr.name]=\"name\"\n type=\"number\"\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]=\"arialabel\"\n [autofocus]=\"autofocus\"\n [ngClass]=\"conditionalclass\"\n [ngStyle]=\"conditionalstyle\"\n (ngModelChange)=\"onModelChange($event)\"\n (blur)=\"handleBlur($event); checkForTrailingZeros($event);\"\n (focus)=\"checkForTrailingZeros($event)\"\n (input)=\"onInputChange($event.target.value)\"\n [ngModelOptions]=\"ngModelOptions\"\n [required]=\"required\"\n (keypress)=\"validateInputEntry($event)\"\n (keydown.backspace)=\"onBackspace($event)\"\n (keydown.enter)=\"onEnter($event)\"\n (keydown.ArrowUp)=\"onArrowPress($event, 'UP')\"\n (keydown.ArrowDown)=\"onArrowPress($event, 'DOWN')\"\n #input>\n" }]
|
|
1855
1863
|
}], () => [{ type: i0.Injector }, { type: i1$1.AbstractI18nService }, { type: i2.TrailingZeroDecimalPipe }, { type: undefined, decorators: [{
|
|
1856
1864
|
type: Inject,
|
|
1857
1865
|
args: ['EXPLICIT_CONTEXT']
|
|
@@ -1913,10 +1921,10 @@ function RadiosetComponent_ng_template_0_li_0_label_1_Template(rf, ctx) { if (rf
|
|
|
1913
1921
|
const item_r2 = ctx_r3.$implicit;
|
|
1914
1922
|
const i_r5 = ctx_r3.index;
|
|
1915
1923
|
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
1916
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(
|
|
1924
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c2$5, ctx_r2.disabled || ctx_r2.readonly));
|
|
1917
1925
|
i0.ɵɵadvance();
|
|
1918
|
-
i0.ɵɵproperty("
|
|
1919
|
-
i0.ɵɵattribute("
|
|
1926
|
+
i0.ɵɵproperty("checked", item_r2.selected)("disabled", ctx_r2.disabled || ctx_r2.readonly)("name", "radioset_" + ctx_r2.widgetId)("tabindex", ctx_r2.tabindex)("value", item_r2.key);
|
|
1927
|
+
i0.ɵɵattribute("data-attr-index", i_r5);
|
|
1920
1928
|
i0.ɵɵadvance();
|
|
1921
1929
|
i0.ɵɵproperty("textContent", item_r2.label);
|
|
1922
1930
|
} }
|
|
@@ -1929,16 +1937,16 @@ function RadiosetComponent_ng_template_0_li_0_label_2_Template(rf, ctx) { if (rf
|
|
|
1929
1937
|
const item_r2 = ctx_r3.$implicit;
|
|
1930
1938
|
const i_r5 = ctx_r3.index;
|
|
1931
1939
|
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
1932
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(
|
|
1940
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c2$5, ctx_r2.disabled || ctx_r2.readonly));
|
|
1933
1941
|
i0.ɵɵadvance();
|
|
1934
|
-
i0.ɵɵproperty("
|
|
1935
|
-
i0.ɵɵattribute("
|
|
1942
|
+
i0.ɵɵproperty("checked", item_r2.selected)("disabled", ctx_r2.disabled || ctx_r2.readonly)("name", "radioset_" + ctx_r2.widgetId)("tabindex", ctx_r2.tabindex)("value", item_r2.key);
|
|
1943
|
+
i0.ɵɵattribute("data-attr-index", i_r5);
|
|
1936
1944
|
} }
|
|
1937
1945
|
function RadiosetComponent_ng_template_0_li_0_Template(rf, ctx) { if (rf & 1) {
|
|
1938
1946
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
1939
1947
|
i0.ɵɵelementStart(0, "li", 5);
|
|
1940
1948
|
i0.ɵɵlistener("click", function RadiosetComponent_ng_template_0_li_0_Template_li_click_0_listener($event) { const item_r2 = i0.ɵɵrestoreView(_r1).$implicit; const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.onRadioLabelClick($event, item_r2.key)); });
|
|
1941
|
-
i0.ɵɵtemplate(1, RadiosetComponent_ng_template_0_li_0_label_1_Template, 3,
|
|
1949
|
+
i0.ɵɵtemplate(1, RadiosetComponent_ng_template_0_li_0_label_1_Template, 3, 10, "label", 6)(2, RadiosetComponent_ng_template_0_li_0_label_2_Template, 3, 9, "label", 6);
|
|
1942
1950
|
i0.ɵɵelementEnd();
|
|
1943
1951
|
} if (rf & 2) {
|
|
1944
1952
|
const item_r2 = ctx.$implicit;
|
|
@@ -1973,39 +1981,39 @@ function RadiosetComponent_ng_template_3_li_0_span_7_Template(rf, ctx) { if (rf
|
|
|
1973
1981
|
} }
|
|
1974
1982
|
function RadiosetComponent_ng_template_3_li_0_li_8_label_1_Template(rf, ctx) { if (rf & 1) {
|
|
1975
1983
|
i0.ɵɵelementStart(0, "label", 7);
|
|
1976
|
-
i0.ɵɵelement(1, "input",
|
|
1984
|
+
i0.ɵɵelement(1, "input", 24)(2, "span", 9);
|
|
1977
1985
|
i0.ɵɵelementEnd();
|
|
1978
1986
|
} if (rf & 2) {
|
|
1979
1987
|
const ctx_r9 = i0.ɵɵnextContext();
|
|
1980
1988
|
const item_r9 = ctx_r9.$implicit;
|
|
1981
1989
|
const i_r11 = ctx_r9.index;
|
|
1982
1990
|
const ctx_r2 = i0.ɵɵnextContext(3);
|
|
1983
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(
|
|
1991
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c2$5, ctx_r2.disabled || ctx_r2.readonly));
|
|
1984
1992
|
i0.ɵɵadvance();
|
|
1985
1993
|
i0.ɵɵproperty("name", "radioset_" + ctx_r2.widgetId)("value", item_r9.key)("disabled", ctx_r2.disabled || ctx_r2.readonly)("tabindex", ctx_r2.tabindex)("checked", item_r9.selected);
|
|
1986
|
-
i0.ɵɵattribute("
|
|
1994
|
+
i0.ɵɵattribute("data-attr-index", i_r11);
|
|
1987
1995
|
i0.ɵɵadvance();
|
|
1988
1996
|
i0.ɵɵproperty("textContent", item_r9.label);
|
|
1989
1997
|
} }
|
|
1990
1998
|
function RadiosetComponent_ng_template_3_li_0_li_8_label_2_Template(rf, ctx) { if (rf & 1) {
|
|
1991
1999
|
i0.ɵɵelementStart(0, "label", 7);
|
|
1992
|
-
i0.ɵɵelement(1, "input",
|
|
2000
|
+
i0.ɵɵelement(1, "input", 24)(2, "span", 10);
|
|
1993
2001
|
i0.ɵɵelementEnd();
|
|
1994
2002
|
} if (rf & 2) {
|
|
1995
2003
|
const ctx_r9 = i0.ɵɵnextContext();
|
|
1996
2004
|
const item_r9 = ctx_r9.$implicit;
|
|
1997
2005
|
const i_r11 = ctx_r9.index;
|
|
1998
2006
|
const ctx_r2 = i0.ɵɵnextContext(3);
|
|
1999
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(
|
|
2007
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c2$5, ctx_r2.disabled || ctx_r2.readonly));
|
|
2000
2008
|
i0.ɵɵadvance();
|
|
2001
2009
|
i0.ɵɵproperty("name", "radioset_" + ctx_r2.widgetId)("value", item_r9.key)("disabled", ctx_r2.disabled || ctx_r2.readonly)("tabindex", ctx_r2.tabindex)("checked", item_r9.selected);
|
|
2002
|
-
i0.ɵɵattribute("
|
|
2010
|
+
i0.ɵɵattribute("data-attr-index", i_r11);
|
|
2003
2011
|
} }
|
|
2004
2012
|
function RadiosetComponent_ng_template_3_li_0_li_8_Template(rf, ctx) { if (rf & 1) {
|
|
2005
2013
|
const _r8 = i0.ɵɵgetCurrentView();
|
|
2006
2014
|
i0.ɵɵelementStart(0, "li", 23);
|
|
2007
2015
|
i0.ɵɵlistener("click", function RadiosetComponent_ng_template_3_li_0_li_8_Template_li_click_0_listener($event) { const item_r9 = i0.ɵɵrestoreView(_r8).$implicit; const ctx_r2 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r2.onRadioLabelClick($event, item_r9)); });
|
|
2008
|
-
i0.ɵɵtemplate(1, RadiosetComponent_ng_template_3_li_0_li_8_label_1_Template, 3,
|
|
2016
|
+
i0.ɵɵtemplate(1, RadiosetComponent_ng_template_3_li_0_li_8_label_1_Template, 3, 10, "label", 6)(2, RadiosetComponent_ng_template_3_li_0_li_8_label_2_Template, 3, 9, "label", 6);
|
|
2009
2017
|
i0.ɵɵelementEnd();
|
|
2010
2018
|
} if (rf & 2) {
|
|
2011
2019
|
const item_r9 = ctx.$implicit;
|
|
@@ -2030,10 +2038,15 @@ function RadiosetComponent_ng_template_3_li_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
2030
2038
|
i0.ɵɵelementEnd()();
|
|
2031
2039
|
} if (rf & 2) {
|
|
2032
2040
|
const groupObj_r7 = ctx.$implicit;
|
|
2041
|
+
const groupindex_r12 = ctx.index;
|
|
2033
2042
|
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
2034
|
-
i0.ɵɵadvance(
|
|
2035
|
-
i0.ɵɵ
|
|
2036
|
-
i0.ɵɵadvance(
|
|
2043
|
+
i0.ɵɵadvance();
|
|
2044
|
+
i0.ɵɵattribute("aria-labelledby", "group_" + ctx_r2.widgetId + "_" + groupindex_r12);
|
|
2045
|
+
i0.ɵɵadvance();
|
|
2046
|
+
i0.ɵɵproperty("id", "group_" + ctx_r2.widgetId + "_" + groupindex_r12)("title", groupObj_r7.key)("ngClass", i0.ɵɵpureFunction1(9, _c3, ctx_r2.collapsible));
|
|
2047
|
+
i0.ɵɵadvance();
|
|
2048
|
+
i0.ɵɵattribute("aria-label", "Group " + groupObj_r7.key);
|
|
2049
|
+
i0.ɵɵadvance();
|
|
2037
2050
|
i0.ɵɵtextInterpolate1("", groupObj_r7.key, " ");
|
|
2038
2051
|
i0.ɵɵadvance(2);
|
|
2039
2052
|
i0.ɵɵproperty("ngIf", ctx_r2.collapsible);
|
|
@@ -2043,7 +2056,7 @@ function RadiosetComponent_ng_template_3_li_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
2043
2056
|
i0.ɵɵproperty("ngForOf", groupObj_r7.data);
|
|
2044
2057
|
} }
|
|
2045
2058
|
function RadiosetComponent_ng_template_3_Template(rf, ctx) { if (rf & 1) {
|
|
2046
|
-
i0.ɵɵtemplate(0, RadiosetComponent_ng_template_3_li_0_Template, 9,
|
|
2059
|
+
i0.ɵɵtemplate(0, RadiosetComponent_ng_template_3_li_0_Template, 9, 11, "li", 12);
|
|
2047
2060
|
} if (rf & 2) {
|
|
2048
2061
|
const ctx_r2 = i0.ɵɵnextContext();
|
|
2049
2062
|
i0.ɵɵproperty("ngForOf", ctx_r2.groupedData);
|
|
@@ -2101,13 +2114,13 @@ class RadiosetComponent extends DatasetAwareFormComponent {
|
|
|
2101
2114
|
provideAs(RadiosetComponent, NG_VALUE_ACCESSOR, true),
|
|
2102
2115
|
provideAs(RadiosetComponent, NG_VALIDATORS, true),
|
|
2103
2116
|
provideAsWidgetRef(RadiosetComponent)
|
|
2104
|
-
]), i0.ɵɵInheritDefinitionFeature], attrs: _c0$8, decls: 5, vars: 4, consts: [["groupedListTemplate", ""], [3, "ngIf", "ngIfElse"], ["hidden", "", 1, "model-holder", 3, "disabled"], ["aria-readonly", "true", "class", "readonly-wrapper", 4, "ngIf"], ["partialContainer", "", "role", "presentation", 3, "ngClass", "active", "wmItemTemplate", "userComponentParams", "click", 4, "ngFor", "ngForOf"], ["partialContainer", "", "role", "presentation", 3, "click", "ngClass", "wmItemTemplate", "userComponentParams"], ["class", "app-radioset-label", 3, "ngClass", 4, "ngIf"], [1, "app-radioset-label", 3, "ngClass"], ["type", "radio", 3, "
|
|
2117
|
+
]), i0.ɵɵInheritDefinitionFeature], attrs: _c0$8, decls: 5, vars: 4, consts: [["groupedListTemplate", ""], [3, "ngIf", "ngIfElse"], ["hidden", "", 1, "model-holder", 3, "disabled"], ["aria-readonly", "true", "class", "readonly-wrapper", 4, "ngIf"], ["partialContainer", "", "role", "presentation", 3, "ngClass", "active", "wmItemTemplate", "userComponentParams", "click", 4, "ngFor", "ngForOf"], ["partialContainer", "", "role", "presentation", 3, "click", "ngClass", "wmItemTemplate", "userComponentParams"], ["class", "app-radioset-label", 3, "ngClass", 4, "ngIf"], [1, "app-radioset-label", 3, "ngClass"], ["type", "radio", 3, "checked", "disabled", "name", "tabindex", "value"], [1, "caption", 3, "textContent"], ["partial-container-target", "", 1, "caption", "customTemplate"], ["aria-readonly", "true", 1, "readonly-wrapper"], ["class", "app-list-item-group", "role", "presentation", 4, "ngFor", "ngForOf"], ["role", "presentation", 1, "app-list-item-group"], [1, "item-group"], ["aria-hidden", "true", 1, "list-group-header", 3, "click", "id", "title", "ngClass"], [1, "group-title"], [1, "header-action"], ["class", "app-icon wi action wi-chevron-up", 3, "title", 4, "ngIf"], ["class", "label label-default", 3, "textContent", 4, "ngIf"], ["partialContainer", "", 3, "ngClass", "active", "wmItemTemplate", "userComponentParams", "click", 4, "ngFor", "ngForOf"], [1, "app-icon", "wi", "action", "wi-chevron-up", 3, "title"], [1, "label", "label-default", 3, "textContent"], ["partialContainer", "", 3, "click", "ngClass", "wmItemTemplate", "userComponentParams"], ["type", "radio", 3, "name", "value", "disabled", "tabindex", "checked"]], template: function RadiosetComponent_Template(rf, ctx) { if (rf & 1) {
|
|
2105
2118
|
i0.ɵɵtemplate(0, RadiosetComponent_ng_template_0_Template, 1, 1, "ng-template", 1);
|
|
2106
2119
|
i0.ɵɵelement(1, "input", 2);
|
|
2107
2120
|
i0.ɵɵtemplate(2, RadiosetComponent_div_2_Template, 1, 0, "div", 3)(3, RadiosetComponent_ng_template_3_Template, 1, 1, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor);
|
|
2108
2121
|
} if (rf & 2) {
|
|
2109
|
-
const
|
|
2110
|
-
i0.ɵɵproperty("ngIf", !ctx.groupby)("ngIfElse",
|
|
2122
|
+
const groupedListTemplate_r13 = i0.ɵɵreference(4);
|
|
2123
|
+
i0.ɵɵproperty("ngIf", !ctx.groupby)("ngIfElse", groupedListTemplate_r13);
|
|
2111
2124
|
i0.ɵɵadvance();
|
|
2112
2125
|
i0.ɵɵproperty("disabled", ctx.disabled || ctx.readonly);
|
|
2113
2126
|
i0.ɵɵadvance();
|
|
@@ -2120,7 +2133,7 @@ class RadiosetComponent extends DatasetAwareFormComponent {
|
|
|
2120
2133
|
provideAs(RadiosetComponent, NG_VALUE_ACCESSOR, true),
|
|
2121
2134
|
provideAs(RadiosetComponent, NG_VALIDATORS, true),
|
|
2122
2135
|
provideAsWidgetRef(RadiosetComponent)
|
|
2123
|
-
], 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 [
|
|
2136
|
+
], 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 [attr.data-attr-index]=\"i\" [checked]=\"item.selected\" [disabled]=\"disabled || readonly\"\n [name]=\"'radioset_' + widgetId\" [tabindex]=\"tabindex\" [value]=\"item.key\"\n type=\"radio\"/>\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 [attr.data-attr-index]=\"i\" [checked]=\"item.selected\" [disabled]=\"disabled || readonly\"\n [name]=\"'radioset_' + widgetId\" [tabindex]=\"tabindex\" [value]=\"item.key\"\n type=\"radio\"/>\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; let groupindex = index;\" class=\"app-list-item-group\" role=\"presentation\" >\n <ul class=\"item-group\" [attr.aria-labelledby]=\"'group_' + widgetId + '_' + groupindex\">\n <li [id]=\"'group_' + widgetId + '_' + groupindex\" aria-hidden=\"true\" class=\"list-group-header\" (click)=\"handleHeaderClick($event)\" [title]=\"groupObj.key\" [ngClass]=\"{'collapsible-content': collapsible}\">\n <h4 class=\"group-title\" [attr.aria-label]=\"'Group '+groupObj.key\">{{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 [attr.data-attr-index]=\"i\" [name]=\"'radioset_' + widgetId\" type=\"radio\"\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 [attr.data-attr-index]=\"i\" [name]=\"'radioset_' + widgetId\" type=\"radio\"\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" }]
|
|
2124
2137
|
}], () => [{ type: i0.Injector }, { type: undefined, decorators: [{
|
|
2125
2138
|
type: Inject,
|
|
2126
2139
|
args: ['EXPLICIT_CONTEXT']
|
|
@@ -2144,6 +2157,7 @@ const selectProps = new Map([
|
|
|
2144
2157
|
['displayValue', PROP_STRING],
|
|
2145
2158
|
['groupby', PROP_STRING],
|
|
2146
2159
|
['hint', PROP_STRING],
|
|
2160
|
+
['arialabel', PROP_STRING],
|
|
2147
2161
|
['match', PROP_STRING],
|
|
2148
2162
|
['multiple', { value: false, ...PROP_BOOLEAN }],
|
|
2149
2163
|
['name', PROP_STRING],
|
|
@@ -2223,7 +2237,7 @@ class SelectComponent extends DatasetAwareFormComponent {
|
|
|
2223
2237
|
* As this widget implements ControlValueAccessor, manually updating the ngModel (or modelByKey) is necessary to ensure correct form behavior.
|
|
2224
2238
|
* */
|
|
2225
2239
|
const datasetSubscription = this.dataset$.subscribe(() => {
|
|
2226
|
-
if (isIos()) {
|
|
2240
|
+
if (isIos() || isSafari()) {
|
|
2227
2241
|
if (this.datavalue) {
|
|
2228
2242
|
const selectedItem = this.datasetItems.find(item => item.selected);
|
|
2229
2243
|
if (!selectedItem) {
|
|
@@ -2303,7 +2317,7 @@ class SelectComponent extends DatasetAwareFormComponent {
|
|
|
2303
2317
|
*/
|
|
2304
2318
|
checkForFloatingLabel($event) {
|
|
2305
2319
|
const captionEl = $(this.selectEl.nativeElement).closest('.app-composite-widget.caption-floating');
|
|
2306
|
-
if (!this.placeholder && isIos()) {
|
|
2320
|
+
if (!this.placeholder && (isIos() || isSafari())) {
|
|
2307
2321
|
this.removePlaceholderOption();
|
|
2308
2322
|
}
|
|
2309
2323
|
if (captionEl.length > 0) {
|
|
@@ -2346,7 +2360,7 @@ class SelectComponent extends DatasetAwareFormComponent {
|
|
|
2346
2360
|
provideAs(SelectComponent, NG_VALUE_ACCESSOR, true),
|
|
2347
2361
|
provideAs(SelectComponent, NG_VALIDATORS, true),
|
|
2348
2362
|
provideAsWidgetRef(SelectComponent)
|
|
2349
|
-
]), i0.ɵɵInheritDefinitionFeature], decls: 5, vars: 18, consts: [["select", ""], ["
|
|
2363
|
+
]), i0.ɵɵInheritDefinitionFeature], decls: 5, vars: 18, consts: [["select", ""], ["focus-target", "", 3, "ngModelChange", "change", "mousedown", "blur", "ngClass", "disabled", "required", "tabindex", "ngModel", "ngModelOptions", "multiple", "autofocus"], ["selected", "", "value", "undefined", "id", "placeholderOption", 3, "textContent", "hidden"], [4, "ngIf"], [3, "label", 4, "ngFor", "ngForOf"], [3, "label"], [3, "value", "selected", "textContent", 4, "ngFor", "ngForOf"], [3, "value", "selected", "textContent"]], template: function SelectComponent_Template(rf, ctx) { if (rf & 1) {
|
|
2350
2364
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
2351
2365
|
i0.ɵɵelementStart(0, "select", 1, 0);
|
|
2352
2366
|
i0.ɵɵtwoWayListener("ngModelChange", function SelectComponent_Template_select_ngModelChange_0_listener($event) { i0.ɵɵrestoreView(_r1); i0.ɵɵtwoWayBindingSet(ctx.modelByKey, $event) || (ctx.modelByKey = $event); return i0.ɵɵresetView($event); });
|
|
@@ -2358,7 +2372,7 @@ class SelectComponent extends DatasetAwareFormComponent {
|
|
|
2358
2372
|
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(15, _c1$6, ctx.class))("disabled", ctx.disabled)("required", ctx.required)("tabindex", ctx.tabindex);
|
|
2359
2373
|
i0.ɵɵtwoWayProperty("ngModel", ctx.modelByKey);
|
|
2360
2374
|
i0.ɵɵproperty("ngModelOptions", i0.ɵɵpureFunction0(17, _c2$4))("multiple", ctx.multiple)("autofocus", ctx.autofocus);
|
|
2361
|
-
i0.ɵɵattribute("
|
|
2375
|
+
i0.ɵɵattribute("accesskey", ctx.shortcutkey)("name", ctx.name)("aria-label", ctx.arialabel);
|
|
2362
2376
|
i0.ɵɵadvance(2);
|
|
2363
2377
|
i0.ɵɵproperty("textContent", ctx.placeholder)("hidden", !ctx.placeholder);
|
|
2364
2378
|
i0.ɵɵadvance();
|
|
@@ -2373,7 +2387,7 @@ class SelectComponent extends DatasetAwareFormComponent {
|
|
|
2373
2387
|
provideAs(SelectComponent, NG_VALUE_ACCESSOR, true),
|
|
2374
2388
|
provideAs(SelectComponent, NG_VALIDATORS, true),
|
|
2375
2389
|
provideAsWidgetRef(SelectComponent)
|
|
2376
|
-
], template: "<!--Updated focus with mousedown event. IOS devices not allow update of option value after opening dropdown-->\n<select
|
|
2390
|
+
], template: "<!--Updated focus with mousedown event. IOS devices not allow update of option value after opening dropdown-->\n<select #select\n focus-target\n [ngClass]=\"['app-select form-control', class]\"\n [disabled]=\"disabled\"\n [required]=\"required\"\n [tabindex]=\"tabindex\"\n [attr.accesskey]=\"shortcutkey\"\n [(ngModel)]=\"modelByKey\"\n [ngModelOptions]=\"{standalone: true}\"\n [multiple]=\"multiple\"\n (change)=\"onSelectValueChange($event)\"\n (mousedown)=\"checkForFloatingLabel($event)\"\n (blur)=\"invokeOnTouched($event); checkForFloatingLabel($event)\"\n [attr.name]=\"name\"\n [attr.aria-label]=\"arialabel\"\n [autofocus]=\"autofocus\">\n\n <option selected\n value=\"undefined\"\n [textContent]=\"placeholder\"\n id=\"placeholderOption\"\n [hidden]=\"!placeholder\"></option>\n\n <ng-container *ngIf=\"groupby\">\n <optgroup *ngFor=\"let groupObj of groupedData\"\n [label]=\"groupObj.key\">\n <option *ngFor=\"let item of groupObj.data;\"\n [value]=\"item.key\"\n [selected]=\"item.selected\"\n [textContent]=\"item.label\"\n ></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 ></option>\n </ng-container>\n</select>\n" }]
|
|
2377
2391
|
}], () => [{ type: i0.Injector }, { type: undefined, decorators: [{
|
|
2378
2392
|
type: Inject,
|
|
2379
2393
|
args: ['EXPLICIT_CONTEXT']
|
|
@@ -2396,6 +2410,7 @@ const switchProps = new Map([
|
|
|
2396
2410
|
['displayexpression', PROP_STRING],
|
|
2397
2411
|
['displayfield', PROP_STRING],
|
|
2398
2412
|
['hint', PROP_STRING],
|
|
2413
|
+
['arialabel', PROP_STRING],
|
|
2399
2414
|
['iconclass', PROP_STRING],
|
|
2400
2415
|
['name', PROP_STRING],
|
|
2401
2416
|
['orderby', PROP_STRING],
|
|
@@ -2429,7 +2444,8 @@ function SwitchComponent_a_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
2429
2444
|
} if (rf & 2) {
|
|
2430
2445
|
const opt_r3 = ctx.$implicit;
|
|
2431
2446
|
const ctx_r4 = i0.ɵɵnextContext();
|
|
2432
|
-
i0.ɵɵproperty("name", "wm-switch-" + opt_r3.key)("ngClass", i0.ɵɵpureFunction2(
|
|
2447
|
+
i0.ɵɵproperty("name", "wm-switch-" + opt_r3.key)("ngClass", i0.ɵɵpureFunction2(5, _c1$5, opt_r3.selected, ctx_r4.disabled));
|
|
2448
|
+
i0.ɵɵattribute("aria-pressed", opt_r3.selected ? true : false);
|
|
2433
2449
|
i0.ɵɵadvance();
|
|
2434
2450
|
i0.ɵɵproperty("ngIf", opt_r3.dataObject && opt_r3.dataObject[ctx_r4.iconclass]);
|
|
2435
2451
|
i0.ɵɵadvance();
|
|
@@ -2553,9 +2569,9 @@ class SwitchComponent extends DatasetAwareFormComponent {
|
|
|
2553
2569
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SwitchComponent, selectors: [["", "wmSwitch", ""]], exportAs: ["wmSwitch"], features: [i0.ɵɵProvidersFeature([
|
|
2554
2570
|
provideAs(SwitchComponent, NG_VALUE_ACCESSOR, true),
|
|
2555
2571
|
provideAsWidgetRef(SwitchComponent)
|
|
2556
|
-
]), i0.ɵɵInheritDefinitionFeature], attrs: _c0$6, decls: 6, vars: 8, consts: [[
|
|
2572
|
+
]), i0.ɵɵInheritDefinitionFeature], attrs: _c0$6, decls: 6, vars: 8, consts: [[1, "btn-group", "btn-group-justified"], ["focus-target", "", "href", "javascript:void(0);", "class", "btn btn-default", "role", "button", 3, "name", "ngClass", "click", 4, "ngFor", "ngForOf"], ["aria-hidden", "true", 1, "btn", "btn-primary", "app-switch-overlay", "switch-handle", 3, "title"], [3, "class", 4, "ngIf"], ["aria-hidden", "true", 1, "model-holder", "ng-hide", 3, "name", "disabled", "value", "required"], ["focus-target", "", "href", "javascript:void(0);", "role", "button", 1, "btn", "btn-default", 3, "click", "name", "ngClass"], ["aria-hidden", "true", 3, "ngClass", 4, "ngIf"], [1, "caption", 3, "textContent"], ["aria-hidden", "true", 3, "ngClass"]], template: function SwitchComponent_Template(rf, ctx) { if (rf & 1) {
|
|
2557
2573
|
i0.ɵɵelementStart(0, "div", 0);
|
|
2558
|
-
i0.ɵɵtemplate(1, SwitchComponent_a_1_Template, 3,
|
|
2574
|
+
i0.ɵɵtemplate(1, SwitchComponent_a_1_Template, 3, 8, "a", 1);
|
|
2559
2575
|
i0.ɵɵelementEnd();
|
|
2560
2576
|
i0.ɵɵelementStart(2, "span", 2);
|
|
2561
2577
|
i0.ɵɵtemplate(3, SwitchComponent_i_3_Template, 1, 3, "i", 3);
|
|
@@ -2580,7 +2596,7 @@ class SwitchComponent extends DatasetAwareFormComponent {
|
|
|
2580
2596
|
args: [{ selector: '[wmSwitch]', providers: [
|
|
2581
2597
|
provideAs(SwitchComponent, NG_VALUE_ACCESSOR, true),
|
|
2582
2598
|
provideAsWidgetRef(SwitchComponent)
|
|
2583
|
-
], exportAs: 'wmSwitch', template: "<div
|
|
2599
|
+
], exportAs: 'wmSwitch', template: "<div 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 role=\"button\"\n [ngClass]=\"{'selected': opt.selected, 'disabled': disabled}\"\n [attr.aria-pressed]=\"opt.selected ? true : false\"\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 aria-hidden=\"true\" [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" }]
|
|
2584
2600
|
}], () => [{ type: i0.Injector }, { type: undefined, decorators: [{
|
|
2585
2601
|
type: Inject,
|
|
2586
2602
|
args: ['EXPLICIT_CONTEXT']
|
|
@@ -2598,6 +2614,7 @@ const inputCalendarTypeProps = new Map([
|
|
|
2598
2614
|
['datavalue', PROP_STRING],
|
|
2599
2615
|
['disabled', PROP_BOOLEAN],
|
|
2600
2616
|
['hint', PROP_STRING],
|
|
2617
|
+
['arialabel', PROP_STRING],
|
|
2601
2618
|
['maxvalue', PROP_NUMBER],
|
|
2602
2619
|
['minvalue', PROP_NUMBER],
|
|
2603
2620
|
['name', PROP_STRING],
|
|
@@ -2641,7 +2658,7 @@ class InputCalendarComponent extends BaseInput {
|
|
|
2641
2658
|
provideAs(InputCalendarComponent, NG_VALUE_ACCESSOR, true),
|
|
2642
2659
|
provideAs(InputCalendarComponent, NG_VALIDATORS, true),
|
|
2643
2660
|
provideAsWidgetRef(InputCalendarComponent)
|
|
2644
|
-
]), i0.ɵɵInheritDefinitionFeature], attrs: _c1$4, decls: 2, vars: 19, consts: [["input", ""], ["focus-target", "",
|
|
2661
|
+
]), i0.ɵɵInheritDefinitionFeature], attrs: _c1$4, decls: 2, vars: 19, consts: [["input", ""], ["focus-target", "", 1, "form-control", "app-textbox", 3, "ngModelChange", "blur", "type", "ngModel", "ngModelOptions", "readonly", "required", "disabled", "min", "max", "step", "autofocus", "autocomplete", "ngClass", "ngStyle"]], template: function InputCalendarComponent_Template(rf, ctx) { if (rf & 1) {
|
|
2645
2662
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
2646
2663
|
i0.ɵɵelementStart(0, "input", 1, 0);
|
|
2647
2664
|
i0.ɵɵtwoWayListener("ngModelChange", function InputCalendarComponent_Template_input_ngModelChange_0_listener($event) { i0.ɵɵrestoreView(_r1); i0.ɵɵtwoWayBindingSet(ctx.datavalue, $event) || (ctx.datavalue = $event); return i0.ɵɵresetView($event); });
|
|
@@ -2651,7 +2668,7 @@ class InputCalendarComponent extends BaseInput {
|
|
|
2651
2668
|
i0.ɵɵproperty("type", ctx.type);
|
|
2652
2669
|
i0.ɵɵtwoWayProperty("ngModel", ctx.datavalue);
|
|
2653
2670
|
i0.ɵɵproperty("ngModelOptions", i0.ɵɵpureFunction0(18, _c2$2))("readonly", ctx.readonly)("required", ctx.required)("disabled", ctx.disabled)("min", ctx.minvalue)("max", ctx.maxvalue)("step", ctx.step)("autofocus", ctx.autofocus)("autocomplete", ctx.autocomplete ? "on" : "off")("ngClass", ctx.conditionalclass)("ngStyle", ctx.conditionalstyle);
|
|
2654
|
-
i0.ɵɵattribute("name", ctx.name)("tabindex", ctx.tabindex)("placeholder", ctx.placeholder)("accesskey", ctx.shortcutkey)("aria-label", ctx.
|
|
2671
|
+
i0.ɵɵattribute("name", ctx.name)("tabindex", ctx.tabindex)("placeholder", ctx.placeholder)("accesskey", ctx.shortcutkey)("aria-label", ctx.arialabel || ctx.type + " field");
|
|
2655
2672
|
} }, dependencies: [i1.NgClass, i1.NgStyle, i2$1.DefaultValueAccessor, i2$1.NgControlStatus, i2$1.RequiredValidator, i2$1.NgModel], encapsulation: 2 }); }
|
|
2656
2673
|
}
|
|
2657
2674
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(InputCalendarComponent, [{
|
|
@@ -2660,7 +2677,7 @@ class InputCalendarComponent extends BaseInput {
|
|
|
2660
2677
|
provideAs(InputCalendarComponent, NG_VALUE_ACCESSOR, true),
|
|
2661
2678
|
provideAs(InputCalendarComponent, NG_VALIDATORS, true),
|
|
2662
2679
|
provideAsWidgetRef(InputCalendarComponent)
|
|
2663
|
-
], template: "<input class=\"form-control app-textbox\"\n focus-target\n
|
|
2680
|
+
], template: "<input class=\"form-control app-textbox\"\n focus-target\n [type]=\"type\"\n [attr.name]=\"name\"\n [(ngModel)]=\"datavalue\"\n [ngModelOptions]=\"{standalone: true}\"\n [readonly]=\"readonly\"\n [required]=\"required\"\n [disabled]=\"disabled\"\n [min]=\"minvalue\"\n [max]=\"maxvalue\"\n [step]=\"step\"\n [attr.tabindex]=\"tabindex\"\n [attr.placeholder]=\"placeholder\"\n [attr.accesskey]=\"shortcutkey\"\n [attr.aria-label]=\"arialabel || type + ' field'\"\n [autofocus]=\"autofocus\"\n (blur)=\"handleBlur($event)\"\n (ngModelChange)=\"handleChange($event)\"\n [autocomplete]=\"autocomplete ? 'on' : 'off'\"\n [ngClass]=\"conditionalclass\"\n [ngStyle]=\"conditionalstyle\"\n #input>\n" }]
|
|
2664
2681
|
}], () => [{ type: i0.Injector }, { type: undefined, decorators: [{
|
|
2665
2682
|
type: Inject,
|
|
2666
2683
|
args: ['EXPLICIT_CONTEXT']
|
|
@@ -2684,6 +2701,7 @@ const inputColorTypeProps = new Map([
|
|
|
2684
2701
|
['datavalue', PROP_STRING],
|
|
2685
2702
|
['disabled', PROP_BOOLEAN],
|
|
2686
2703
|
['hint', PROP_STRING],
|
|
2704
|
+
['arialabel', PROP_STRING],
|
|
2687
2705
|
['name', PROP_STRING],
|
|
2688
2706
|
['placeholder', { value: 'Enter text', ...PROP_STRING }],
|
|
2689
2707
|
['readonly', PROP_BOOLEAN],
|
|
@@ -2724,7 +2742,7 @@ class InputColorComponent extends BaseInput {
|
|
|
2724
2742
|
provideAs(InputColorComponent, NG_VALUE_ACCESSOR, true),
|
|
2725
2743
|
provideAs(InputColorComponent, NG_VALIDATORS, true),
|
|
2726
2744
|
provideAsWidgetRef(InputColorComponent)
|
|
2727
|
-
]), i0.ɵɵInheritDefinitionFeature], attrs: _c1$3, decls: 2, vars: 16, consts: [["input", ""], ["focus-target", "",
|
|
2745
|
+
]), i0.ɵɵInheritDefinitionFeature], attrs: _c1$3, decls: 2, vars: 16, consts: [["input", ""], ["focus-target", "", 1, "form-control", "app-textbox", 3, "ngModelChange", "blur", "type", "ngModel", "ngModelOptions", "readonly", "required", "disabled", "maxlength", "autofocus", "ngClass", "ngStyle"]], template: function InputColorComponent_Template(rf, ctx) { if (rf & 1) {
|
|
2728
2746
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
2729
2747
|
i0.ɵɵelementStart(0, "input", 1, 0);
|
|
2730
2748
|
i0.ɵɵtwoWayListener("ngModelChange", function InputColorComponent_Template_input_ngModelChange_0_listener($event) { i0.ɵɵrestoreView(_r1); i0.ɵɵtwoWayBindingSet(ctx.datavalue, $event) || (ctx.datavalue = $event); return i0.ɵɵresetView($event); });
|
|
@@ -2734,7 +2752,7 @@ class InputColorComponent extends BaseInput {
|
|
|
2734
2752
|
i0.ɵɵproperty("type", ctx.type);
|
|
2735
2753
|
i0.ɵɵtwoWayProperty("ngModel", ctx.datavalue);
|
|
2736
2754
|
i0.ɵɵproperty("ngModelOptions", i0.ɵɵpureFunction0(15, _c2$1))("readonly", ctx.readonly)("required", ctx.required)("disabled", ctx.disabled)("maxlength", ctx.maxchars)("autofocus", ctx.autofocus)("ngClass", ctx.conditionalclass)("ngStyle", ctx.conditionalstyle);
|
|
2737
|
-
i0.ɵɵattribute("name", ctx.name)("tabindex", ctx.tabindex)("placeholder", ctx.placeholder)("accesskey", ctx.shortcutkey)("aria-label", ctx.
|
|
2755
|
+
i0.ɵɵattribute("name", ctx.name)("tabindex", ctx.tabindex)("placeholder", ctx.placeholder)("accesskey", ctx.shortcutkey)("aria-label", ctx.arialabel);
|
|
2738
2756
|
} }, dependencies: [i1.NgClass, i1.NgStyle, i2$1.DefaultValueAccessor, i2$1.NgControlStatus, i2$1.RequiredValidator, i2$1.MaxLengthValidator, i2$1.NgModel], encapsulation: 2 }); }
|
|
2739
2757
|
}
|
|
2740
2758
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(InputColorComponent, [{
|
|
@@ -2743,7 +2761,7 @@ class InputColorComponent extends BaseInput {
|
|
|
2743
2761
|
provideAs(InputColorComponent, NG_VALUE_ACCESSOR, true),
|
|
2744
2762
|
provideAs(InputColorComponent, NG_VALIDATORS, true),
|
|
2745
2763
|
provideAsWidgetRef(InputColorComponent)
|
|
2746
|
-
], template: "<input class=\"form-control app-textbox\"\n focus-target\n [type]=\"type\"\n
|
|
2764
|
+
], template: "<input class=\"form-control app-textbox\"\n focus-target\n [type]=\"type\"\n [attr.name]=\"name\"\n [(ngModel)]=\"datavalue\"\n [ngModelOptions]=\"{standalone: true}\"\n [readonly]=\"readonly\"\n [required]=\"required\"\n [disabled]=\"disabled\"\n [maxlength]=\"maxchars\"\n [attr.tabindex]=\"tabindex\"\n [attr.placeholder]=\"placeholder\"\n [attr.accesskey]=\"shortcutkey\"\n [attr.aria-label]=\"arialabel\"\n [autofocus]=\"autofocus\"\n [ngClass]=\"conditionalclass\"\n [ngStyle]=\"conditionalstyle\"\n (blur)=\"handleBlur($event)\"\n (ngModelChange)=\"handleChange($event)\"\n #input>\n" }]
|
|
2747
2765
|
}], () => [{ type: i0.Injector }, { type: undefined, decorators: [{
|
|
2748
2766
|
type: Inject,
|
|
2749
2767
|
args: ['EXPLICIT_CONTEXT']
|
|
@@ -2767,6 +2785,7 @@ const inputEmailTypeProps = new Map([
|
|
|
2767
2785
|
['datavalue', PROP_STRING],
|
|
2768
2786
|
['disabled', PROP_BOOLEAN],
|
|
2769
2787
|
['hint', PROP_STRING],
|
|
2788
|
+
['arialabel', PROP_STRING],
|
|
2770
2789
|
['maxchars', PROP_NUMBER],
|
|
2771
2790
|
['name', PROP_STRING],
|
|
2772
2791
|
['placeholder', { value: 'Enter text', ...PROP_STRING }],
|
|
@@ -2808,7 +2827,7 @@ class InputEmailComponent extends BaseInput {
|
|
|
2808
2827
|
provideAs(InputEmailComponent, NG_VALUE_ACCESSOR, true),
|
|
2809
2828
|
provideAs(InputEmailComponent, NG_VALIDATORS, true),
|
|
2810
2829
|
provideAsWidgetRef(InputEmailComponent)
|
|
2811
|
-
]), i0.ɵɵInheritDefinitionFeature], attrs: _c1$2, decls: 2, vars: 17, consts: [["input", ""], ["focus-target", "", "
|
|
2830
|
+
]), i0.ɵɵInheritDefinitionFeature], attrs: _c1$2, decls: 2, vars: 17, consts: [["input", ""], ["focus-target", "", "email", "", 1, "form-control", "app-textbox", 3, "ngModelChange", "blur", "keyup.enter", "type", "ngModel", "ngModelOptions", "readonly", "required", "disabled", "maxlength", "pattern", "autofocus", "ngClass", "ngStyle", "autocomplete"]], template: function InputEmailComponent_Template(rf, ctx) { if (rf & 1) {
|
|
2812
2831
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
2813
2832
|
i0.ɵɵelementStart(0, "input", 1, 0);
|
|
2814
2833
|
i0.ɵɵtwoWayListener("ngModelChange", function InputEmailComponent_Template_input_ngModelChange_0_listener($event) { i0.ɵɵrestoreView(_r1); i0.ɵɵtwoWayBindingSet(ctx.datavalue, $event) || (ctx.datavalue = $event); return i0.ɵɵresetView($event); });
|
|
@@ -2818,7 +2837,7 @@ class InputEmailComponent extends BaseInput {
|
|
|
2818
2837
|
i0.ɵɵproperty("type", ctx.type);
|
|
2819
2838
|
i0.ɵɵtwoWayProperty("ngModel", ctx.datavalue);
|
|
2820
2839
|
i0.ɵɵproperty("ngModelOptions", ctx.ngModelOptions)("readonly", ctx.readonly)("required", ctx.required)("disabled", ctx.disabled)("maxlength", ctx.maxchars)("pattern", ctx.regexp)("autofocus", ctx.autofocus)("ngClass", ctx.conditionalclass)("ngStyle", ctx.conditionalstyle)("autocomplete", ctx.autocomplete ? "on" : "off");
|
|
2821
|
-
i0.ɵɵattribute("name", ctx.name)("tabindex", ctx.tabindex)("placeholder", ctx.placeholder)("accesskey", ctx.shortcutkey)("aria-label", ctx.
|
|
2840
|
+
i0.ɵɵattribute("name", ctx.name)("tabindex", ctx.tabindex)("placeholder", ctx.placeholder)("accesskey", ctx.shortcutkey)("aria-label", ctx.arialabel);
|
|
2822
2841
|
} }, dependencies: [i1.NgClass, i1.NgStyle, i2$1.DefaultValueAccessor, i2$1.NgControlStatus, i2$1.RequiredValidator, i2$1.MaxLengthValidator, i2$1.PatternValidator, i2$1.EmailValidator, i2$1.NgModel], encapsulation: 2 }); }
|
|
2823
2842
|
}
|
|
2824
2843
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(InputEmailComponent, [{
|
|
@@ -2827,7 +2846,7 @@ class InputEmailComponent extends BaseInput {
|
|
|
2827
2846
|
provideAs(InputEmailComponent, NG_VALUE_ACCESSOR, true),
|
|
2828
2847
|
provideAs(InputEmailComponent, NG_VALIDATORS, true),
|
|
2829
2848
|
provideAsWidgetRef(InputEmailComponent)
|
|
2830
|
-
], template: "<input class=\"form-control app-textbox\"\n focus-target\n
|
|
2849
|
+
], template: "<input class=\"form-control app-textbox\"\n focus-target\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]=\"arialabel\"\n [autofocus]=\"autofocus\"\n [ngClass]=\"conditionalclass\"\n [ngStyle]=\"conditionalstyle\"\n (blur)=\"handleBlur($event)\"\n (ngModelChange)=\"handleChange($event)\"\n [autocomplete]=\"autocomplete ? 'on' : 'off'\"\n (keyup.enter)=\"flushViewChanges(input.value)\"\n email\n #input>\n" }]
|
|
2831
2850
|
}], () => [{ type: i0.Injector }, { type: undefined, decorators: [{
|
|
2832
2851
|
type: Inject,
|
|
2833
2852
|
args: ['EXPLICIT_CONTEXT']
|
|
@@ -2851,6 +2870,7 @@ const inputNumberTypeProps = new Map([
|
|
|
2851
2870
|
['datavalue', PROP_STRING],
|
|
2852
2871
|
['disabled', PROP_BOOLEAN],
|
|
2853
2872
|
['hint', PROP_STRING],
|
|
2873
|
+
['arialabel', PROP_STRING],
|
|
2854
2874
|
['maxchars', PROP_NUMBER],
|
|
2855
2875
|
['maxvalue', PROP_NUMBER],
|
|
2856
2876
|
['minvalue', PROP_NUMBER],
|
|
@@ -2906,7 +2926,7 @@ class InputNumberComponent extends BaseInput {
|
|
|
2906
2926
|
provideAs(InputNumberComponent, NG_VALUE_ACCESSOR, true),
|
|
2907
2927
|
provideAs(InputNumberComponent, NG_VALIDATORS, true),
|
|
2908
2928
|
provideAsWidgetRef(InputNumberComponent)
|
|
2909
|
-
]), i0.ɵɵInheritDefinitionFeature], attrs: _c1$1, decls: 2, vars: 22, consts: [["input", ""], ["focus-target", "",
|
|
2929
|
+
]), i0.ɵɵInheritDefinitionFeature], attrs: _c1$1, decls: 2, vars: 22, consts: [["input", ""], ["focus-target", "", 1, "form-control", "app-textbox", 3, "ngModelChange", "blur", "keyup.enter", "keydown.ArrowUp", "keydown.ArrowDown", "keypress", "ngClass", "type", "ngModel", "ngModelOptions", "readonly", "required", "disabled", "maxlength", "min", "max", "step", "autofocus", "ngStyle", "autocomplete"]], template: function InputNumberComponent_Template(rf, ctx) { if (rf & 1) {
|
|
2910
2930
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
2911
2931
|
i0.ɵɵelementStart(0, "input", 1, 0);
|
|
2912
2932
|
i0.ɵɵtwoWayListener("ngModelChange", function InputNumberComponent_Template_input_ngModelChange_0_listener($event) { i0.ɵɵrestoreView(_r1); i0.ɵɵtwoWayBindingSet(ctx.datavalue, $event) || (ctx.datavalue = $event); return i0.ɵɵresetView($event); });
|
|
@@ -2916,7 +2936,7 @@ class InputNumberComponent extends BaseInput {
|
|
|
2916
2936
|
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(20, _c2, ctx.step === 0))("type", ctx.type);
|
|
2917
2937
|
i0.ɵɵtwoWayProperty("ngModel", ctx.datavalue);
|
|
2918
2938
|
i0.ɵɵproperty("ngModelOptions", ctx.ngModelOptions)("readonly", ctx.readonly)("required", ctx.required)("disabled", ctx.disabled)("maxlength", ctx.maxchars)("min", ctx.minvalue)("max", ctx.maxvalue)("step", ctx.step)("autofocus", ctx.autofocus)("ngClass", ctx.conditionalclass)("ngStyle", ctx.conditionalstyle)("autocomplete", ctx.autocomplete ? "on" : "off");
|
|
2919
|
-
i0.ɵɵattribute("name", ctx.name)("tabindex", ctx.tabindex)("placeholder", ctx.placeholder)("accesskey", ctx.shortcutkey)("aria-label", ctx.
|
|
2939
|
+
i0.ɵɵattribute("name", ctx.name)("tabindex", ctx.tabindex)("placeholder", ctx.placeholder)("accesskey", ctx.shortcutkey)("aria-label", ctx.arialabel);
|
|
2920
2940
|
} }, dependencies: [i1.NgClass, i1.NgStyle, i2$1.DefaultValueAccessor, i2$1.NgControlStatus, i2$1.RequiredValidator, i2$1.MaxLengthValidator, i2$1.NgModel], encapsulation: 2 }); }
|
|
2921
2941
|
}
|
|
2922
2942
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(InputNumberComponent, [{
|
|
@@ -2925,7 +2945,7 @@ class InputNumberComponent extends BaseInput {
|
|
|
2925
2945
|
provideAs(InputNumberComponent, NG_VALUE_ACCESSOR, true),
|
|
2926
2946
|
provideAs(InputNumberComponent, NG_VALIDATORS, true),
|
|
2927
2947
|
provideAsWidgetRef(InputNumberComponent)
|
|
2928
|
-
], template: "<input class=\"form-control app-textbox\"\n [ngClass]=\"{'step-hidden': step === 0}\"\n focus-target\n
|
|
2948
|
+
], template: "<input class=\"form-control app-textbox\"\n [ngClass]=\"{'step-hidden': step === 0}\"\n focus-target\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]=\"arialabel\"\n [autofocus]=\"autofocus\"\n [ngClass]=\"conditionalclass\"\n [ngStyle]=\"conditionalstyle\"\n (blur)=\"handleBlur($event)\"\n (ngModelChange)=\"handleChange($event)\"\n [autocomplete]=\"autocomplete ? 'on' : 'off'\"\n (keyup.enter)=\"flushViewChanges(input.value)\"\n (keydown.ArrowUp)=\"onArrowPress($event)\"\n (keydown.ArrowDown)=\"onArrowPress($event)\"\n (keypress)=\"validateInputEntry($event)\"\n #input>\n" }]
|
|
2929
2949
|
}], () => [{ type: i0.Injector }, { type: undefined, decorators: [{
|
|
2930
2950
|
type: Inject,
|
|
2931
2951
|
args: ['EXPLICIT_CONTEXT']
|
|
@@ -2950,6 +2970,7 @@ const inputTextTypeProps = new Map([
|
|
|
2950
2970
|
['disabled', PROP_BOOLEAN],
|
|
2951
2971
|
['displayformat', PROP_STRING],
|
|
2952
2972
|
['hint', PROP_STRING],
|
|
2973
|
+
['arialabel', PROP_STRING],
|
|
2953
2974
|
['maxchars', PROP_NUMBER],
|
|
2954
2975
|
['name', PROP_STRING],
|
|
2955
2976
|
['placeholder', { value: 'Enter text', ...PROP_STRING }],
|
|
@@ -3073,7 +3094,7 @@ class InputTextComponent extends BaseInput {
|
|
|
3073
3094
|
provideAs(InputTextComponent, NG_VALUE_ACCESSOR, true),
|
|
3074
3095
|
provideAs(InputTextComponent, NG_VALIDATORS, true),
|
|
3075
3096
|
provideAsWidgetRef(InputTextComponent)
|
|
3076
|
-
]), i0.ɵɵInheritDefinitionFeature], attrs: _c1, decls: 2, vars: 19, consts: [["input", ""], ["focus-target", "",
|
|
3097
|
+
]), i0.ɵɵInheritDefinitionFeature], attrs: _c1, decls: 2, vars: 19, consts: [["input", ""], ["focus-target", "", 1, "form-control", "app-textbox", 3, "ngModelChange", "blur", "focus", "keyup.enter", "type", "ngModel", "imask", "unmask", "ngModelOptions", "readonly", "required", "disabled", "maxlength", "pattern", "autofocus", "ngClass", "ngStyle", "autocomplete"]], template: function InputTextComponent_Template(rf, ctx) { if (rf & 1) {
|
|
3077
3098
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
3078
3099
|
i0.ɵɵelementStart(0, "input", 1, 0);
|
|
3079
3100
|
i0.ɵɵtwoWayListener("ngModelChange", function InputTextComponent_Template_input_ngModelChange_0_listener($event) { i0.ɵɵrestoreView(_r1); i0.ɵɵtwoWayBindingSet(ctx.datavalue, $event) || (ctx.datavalue = $event); return i0.ɵɵresetView($event); });
|
|
@@ -3083,7 +3104,7 @@ class InputTextComponent extends BaseInput {
|
|
|
3083
3104
|
i0.ɵɵproperty("type", ctx.type);
|
|
3084
3105
|
i0.ɵɵtwoWayProperty("ngModel", ctx.datavalue);
|
|
3085
3106
|
i0.ɵɵproperty("imask", ctx.mask)("unmask", true)("ngModelOptions", ctx.ngModelOptions)("readonly", ctx.readonly)("required", ctx.required)("disabled", ctx.disabled)("maxlength", ctx.maxchars)("pattern", ctx.regexp)("autofocus", ctx.autofocus)("ngClass", ctx.conditionalclass)("ngStyle", ctx.conditionalstyle)("autocomplete", ctx.autocomplete ? "on" : "off");
|
|
3086
|
-
i0.ɵɵattribute("name", ctx.name)("aria-label", ctx.
|
|
3107
|
+
i0.ɵɵattribute("name", ctx.name)("aria-label", ctx.arialabel)("tabindex", ctx.tabindex)("placeholder", ctx.placeholder)("accesskey", ctx.shortcutkey);
|
|
3087
3108
|
} }, dependencies: [i1.NgClass, i1.NgStyle, i2$1.DefaultValueAccessor, i2$1.NgControlStatus, i2$1.RequiredValidator, i2$1.MaxLengthValidator, i2$1.PatternValidator, i2$1.NgModel, i3.IMaskDirective], encapsulation: 2 }); }
|
|
3088
3109
|
}
|
|
3089
3110
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(InputTextComponent, [{
|
|
@@ -3092,7 +3113,7 @@ class InputTextComponent extends BaseInput {
|
|
|
3092
3113
|
provideAs(InputTextComponent, NG_VALUE_ACCESSOR, true),
|
|
3093
3114
|
provideAs(InputTextComponent, NG_VALIDATORS, true),
|
|
3094
3115
|
provideAsWidgetRef(InputTextComponent)
|
|
3095
|
-
], template: "<input class=\"form-control app-textbox\"\n focus-target\n
|
|
3116
|
+
], template: "<input class=\"form-control app-textbox\"\n focus-target\n [type]=\"type\"\n [attr.name]=\"name\"\n [attr.aria-label]=\"arialabel\"\n [(ngModel)]=\"datavalue\"\n [imask]=\"mask\"\n [unmask]=\"true\"\n [ngModelOptions]=\"ngModelOptions\"\n [readonly]=\"readonly\"\n [required]=\"required\"\n [disabled]=\"disabled\"\n [maxlength]=\"maxchars\"\n [pattern]=\"regexp\"\n [attr.tabindex]=\"tabindex\"\n [attr.placeholder]=\"placeholder\"\n [attr.accesskey]=\"shortcutkey\"\n [autofocus]=\"autofocus\"\n [ngClass]=\"conditionalclass\"\n [ngStyle]=\"conditionalstyle\"\n (ngModelChange)=\"handleChange($event)\"\n (blur)=\"handleBlur($event); checkForDisplayFormat($event)\"\n (focus)=\"checkForDisplayFormat($event)\"\n [autocomplete]=\"autocomplete ? 'on' : 'off'\"\n (keyup.enter)=\"flushViewChanges(input.value)\"\n #input>\n" }]
|
|
3096
3117
|
}], () => [{ type: i0.Injector }, { type: undefined, decorators: [{
|
|
3097
3118
|
type: Inject,
|
|
3098
3119
|
args: ['EXPLICIT_CONTEXT']
|
|
@@ -3118,6 +3139,7 @@ const textareaProps = new Map([
|
|
|
3118
3139
|
['datavalue', PROP_STRING],
|
|
3119
3140
|
['disabled', PROP_BOOLEAN],
|
|
3120
3141
|
['hint', PROP_STRING],
|
|
3142
|
+
['arialabel', PROP_STRING],
|
|
3121
3143
|
['maxchars', PROP_NUMBER],
|
|
3122
3144
|
['name', PROP_STRING],
|
|
3123
3145
|
['placeholder', { value: 'Place your text', ...PROP_STRING }],
|
|
@@ -3175,7 +3197,7 @@ class TextareaComponent extends BaseInput {
|
|
|
3175
3197
|
provideAs(TextareaComponent, NG_VALUE_ACCESSOR, true),
|
|
3176
3198
|
provideAs(TextareaComponent, NG_VALIDATORS, true),
|
|
3177
3199
|
provideAsWidgetRef(TextareaComponent)
|
|
3178
|
-
]), i0.ɵɵInheritDefinitionFeature], decls: 3, vars: 15, consts: [["textarea", ""], ["focus-target", "", "
|
|
3200
|
+
]), i0.ɵɵInheritDefinitionFeature], decls: 3, vars: 15, consts: [["textarea", ""], ["focus-target", "", "aria-multiline", "true", 1, "form-control", "app-textarea", 3, "ngModelChange", "blur", "input", "ngModel", "ngModelOptions", "readonly", "required", "disabled", "maxlength", "autofocus", "ngClass", "ngStyle"], ["class", "textarea-count", 4, "ngIf"], [1, "textarea-count"]], template: function TextareaComponent_Template(rf, ctx) { if (rf & 1) {
|
|
3179
3201
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
3180
3202
|
i0.ɵɵelementStart(0, "textarea", 1, 0);
|
|
3181
3203
|
i0.ɵɵtwoWayListener("ngModelChange", function TextareaComponent_Template_textarea_ngModelChange_0_listener($event) { i0.ɵɵrestoreView(_r1); i0.ɵɵtwoWayBindingSet(ctx.datavalue, $event) || (ctx.datavalue = $event); return i0.ɵɵresetView($event); });
|
|
@@ -3185,7 +3207,7 @@ class TextareaComponent extends BaseInput {
|
|
|
3185
3207
|
} if (rf & 2) {
|
|
3186
3208
|
i0.ɵɵtwoWayProperty("ngModel", ctx.datavalue);
|
|
3187
3209
|
i0.ɵɵproperty("ngModelOptions", ctx.ngModelOptions)("readonly", ctx.readonly)("required", ctx.required)("disabled", ctx.disabled)("maxlength", ctx.maxchars)("autofocus", ctx.autofocus)("ngClass", ctx.conditionalclass)("ngStyle", ctx.conditionalstyle);
|
|
3188
|
-
i0.ɵɵattribute("name", ctx.name)("tabindex", ctx.tabindex)("placeholder", ctx.placeholder)("accesskey", ctx.shortcutkey)("aria-label", ctx.
|
|
3210
|
+
i0.ɵɵattribute("name", ctx.name)("tabindex", ctx.tabindex)("placeholder", ctx.placeholder)("accesskey", ctx.shortcutkey)("aria-label", ctx.arialabel);
|
|
3189
3211
|
i0.ɵɵadvance(2);
|
|
3190
3212
|
i0.ɵɵproperty("ngIf", ctx.maxchars);
|
|
3191
3213
|
} }, dependencies: [i1.NgClass, i1.NgIf, i1.NgStyle, i2$1.DefaultValueAccessor, i2$1.NgControlStatus, i2$1.RequiredValidator, i2$1.MaxLengthValidator, i2$1.NgModel], encapsulation: 2 }); }
|
|
@@ -3196,7 +3218,7 @@ class TextareaComponent extends BaseInput {
|
|
|
3196
3218
|
provideAs(TextareaComponent, NG_VALUE_ACCESSOR, true),
|
|
3197
3219
|
provideAs(TextareaComponent, NG_VALIDATORS, true),
|
|
3198
3220
|
provideAsWidgetRef(TextareaComponent)
|
|
3199
|
-
], template: "<textarea class=\"form-control app-textarea\"\n focus-target\n
|
|
3221
|
+
], template: "<textarea class=\"form-control app-textarea\"\n focus-target\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]=\"arialabel\"\n aria-multiline=\"true\"\n [autofocus]=\"autofocus\"\n [ngClass]=\"conditionalclass\"\n [ngStyle]=\"conditionalstyle\"\n (blur)=\"handleBlur($event)\"\n (input)=\"onInputChange()\"\n (ngModelChange)=\"handleChange($event); onInputChange();\"\n #textarea\n></textarea>\n\n<div *ngIf=\"maxchars\" class=\"textarea-count\" >{{limitdisplaytext}}</div>\n" }]
|
|
3200
3222
|
}], () => [{ type: i0.Injector }, { type: undefined, decorators: [{
|
|
3201
3223
|
type: Inject,
|
|
3202
3224
|
args: ['EXPLICIT_CONTEXT']
|
|
@@ -3209,7 +3231,7 @@ class TextareaComponent extends BaseInput {
|
|
|
3209
3231
|
type: ViewChild,
|
|
3210
3232
|
args: [NgModel]
|
|
3211
3233
|
}] }); })();
|
|
3212
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TextareaComponent, { className: "TextareaComponent", filePath: "textarea/textarea.component.ts", lineNumber:
|
|
3234
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TextareaComponent, { className: "TextareaComponent", filePath: "textarea/textarea.component.ts", lineNumber: 23 }); })();
|
|
3213
3235
|
|
|
3214
3236
|
class CaptionPositionDirective {
|
|
3215
3237
|
constructor(inj, app) {
|