@wavemaker/app-ng-runtime 12.0.0-next.45752 → 12.0.0-next.46502
Sign up to get free protection for your applications and to get access to all the features.
- app-ng-runtime/build-task/bundles/index.umd.js +53 -45
- 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/accordion/accordion-pane/accordion-pane.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/containers/accordion/accordion.build.mjs +3 -3
- app-ng-runtime/build-task/esm2022/containers/tile/tile.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/containers/wizard/wizard.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/data/form/form-field/form-field.build.mjs +4 -4
- 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/chips/chips.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 +6 -2
- 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 +53 -45
- 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 -6
- app-ng-runtime/components/base/esm2022/pipes/custom-pipes.mjs +3 -3
- app-ng-runtime/components/base/esm2022/widgets/common/base/base.component.mjs +1 -6
- app-ng-runtime/components/base/fesm2022/index.mjs +1 -6
- 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 +3 -0
- app-ng-runtime/components/basic/default/bundles/index.umd.js +39 -19
- 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 +14 -6
- 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 +8 -4
- app-ng-runtime/components/basic/default/esm2022/video/video.props.mjs +2 -1
- app-ng-runtime/components/basic/default/fesm2022/index.mjs +39 -19
- 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 +2 -0
- app-ng-runtime/components/basic/progress/bundles/index.umd.js +17 -9
- app-ng-runtime/components/basic/progress/esm2022/progress-bar/progress-bar.component.mjs +9 -5
- 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 +17 -9
- app-ng-runtime/components/basic/progress/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/basic/progress/progress-bar/progress-bar.component.d.ts +2 -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 +16 -9
- app-ng-runtime/components/basic/search/esm2022/search.component.mjs +19 -13
- app-ng-runtime/components/basic/search/esm2022/search.props.mjs +2 -1
- app-ng-runtime/components/basic/search/fesm2022/index.mjs +16 -9
- app-ng-runtime/components/basic/search/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/basic/search/search.component.d.ts +4 -2
- app-ng-runtime/components/chart/bundles/index.umd.js +1 -0
- app-ng-runtime/components/chart/esm2022/chart.utils.mjs +2 -1
- app-ng-runtime/components/chart/fesm2022/index.mjs +1 -0
- app-ng-runtime/components/chart/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/containers/accordion/accordion-pane/accordion-pane.component.d.ts +1 -0
- app-ng-runtime/components/containers/accordion/bundles/index.umd.js +15 -9
- app-ng-runtime/components/containers/accordion/esm2022/accordion-pane/accordion-pane.component.mjs +13 -10
- app-ng-runtime/components/containers/accordion/esm2022/accordion.directive.mjs +4 -1
- app-ng-runtime/components/containers/accordion/fesm2022/index.mjs +15 -9
- 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/containers/wizard/bundles/index.umd.js +6 -6
- app-ng-runtime/components/containers/wizard/esm2022/wizard.component.mjs +7 -7
- app-ng-runtime/components/containers/wizard/fesm2022/index.mjs +6 -6
- app-ng-runtime/components/containers/wizard/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/data/list/bundles/index.umd.js +19 -11
- app-ng-runtime/components/data/list/esm2022/list-item.directive.mjs +10 -1
- app-ng-runtime/components/data/list/esm2022/list.component.mjs +12 -12
- app-ng-runtime/components/data/list/fesm2022/index.mjs +20 -12
- app-ng-runtime/components/data/list/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 -0
- app-ng-runtime/components/data/pagination/esm2022/pagination.component.mjs +3 -1
- app-ng-runtime/components/data/pagination/fesm2022/index.mjs +2 -0
- app-ng-runtime/components/data/pagination/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/data/table/bundles/index.umd.js +42 -8
- 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 +28 -5
- app-ng-runtime/components/data/table/esm2022/table.props.mjs +3 -1
- app-ng-runtime/components/data/table/fesm2022/index.mjs +43 -9
- app-ng-runtime/components/data/table/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/data/table/table.component.d.ts +7 -0
- 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 +25 -7
- app-ng-runtime/components/input/chips/esm2022/chips.component.mjs +25 -8
- app-ng-runtime/components/input/chips/esm2022/chips.props.mjs +2 -1
- app-ng-runtime/components/input/chips/fesm2022/index.mjs +25 -7
- 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 +171 -94
- 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/base-form.component.mjs +3 -3
- 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/caption-position.directive.mjs +8 -7
- 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 +5 -5
- app-ng-runtime/components/input/default/esm2022/number/number.props.mjs +3 -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/locale/number-locale.mjs +66 -13
- 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 +171 -94
- 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/locale/number-locale.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/base-date-time.component.d.ts +2 -1
- app-ng-runtime/components/input/epoch/bundles/index.umd.js +28 -21
- 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/base-date-time.component.mjs +10 -6
- app-ng-runtime/components/input/epoch/esm2022/date/date.component.mjs +8 -8
- 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 +9 -9
- 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 +25 -18
- 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 +224 -121
- app-ng-runtime/components/input/file-upload/esm2022/file-upload.component.mjs +220 -123
- app-ng-runtime/components/input/file-upload/esm2022/file-upload.props.mjs +7 -1
- app-ng-runtime/components/input/file-upload/fesm2022/index.mjs +225 -122
- 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 +18 -11
- app-ng-runtime/components/input/rating/bundles/index.umd.js +2 -2
- app-ng-runtime/components/input/rating/esm2022/rating.component.mjs +3 -3
- app-ng-runtime/components/input/rating/fesm2022/index.mjs +2 -2
- app-ng-runtime/components/input/rating/fesm2022/index.mjs.map +1 -1
- 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/breadcrumb/bundles/index.umd.js +6 -6
- app-ng-runtime/components/navigation/breadcrumb/esm2022/breadcrumb.component.mjs +7 -7
- app-ng-runtime/components/navigation/breadcrumb/fesm2022/index.mjs +6 -6
- app-ng-runtime/components/navigation/breadcrumb/fesm2022/index.mjs.map +1 -1
- 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 +121 -13
- app-ng-runtime/components/navigation/popover/esm2022/popover.component.mjs +122 -15
- app-ng-runtime/components/navigation/popover/esm2022/popover.props.mjs +2 -1
- app-ng-runtime/components/navigation/popover/fesm2022/index.mjs +121 -13
- app-ng-runtime/components/navigation/popover/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/navigation/popover/popover.component.d.ts +15 -3
- 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 +15 -13
- 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 +4 -5
- app-ng-runtime/core/fesm2022/index.mjs +11 -11
- 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 -1
- 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
- app-ng-runtime/scripts/datatable/datatable.js +32 -31
- app-ng-runtime/variables/bundles/index.umd.js +34 -16
- app-ng-runtime/variables/esm2022/manager/variable/web-socket-variable.manager.mjs +35 -17
- app-ng-runtime/variables/fesm2022/index.mjs +34 -16
- app-ng-runtime/variables/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/variables/manager/variable/web-socket-variable.manager.d.ts +0 -4
@@ -6,13 +6,13 @@
|
|
6
6
|
|
7
7
|
const carouselTagName = 'carousel';
|
8
8
|
const dataSetKey$5 = 'dataset';
|
9
|
-
const idGen$
|
9
|
+
const idGen$t = new core.IDGenerator('wm_carousel_ref_');
|
10
10
|
const isDynamicCarousel = node => node.attrs.find(attr => attr.name === 'type' && attr.value === 'dynamic');
|
11
11
|
transpiler.register('wm-carousel', () => {
|
12
12
|
return {
|
13
13
|
pre: (attrs, shared) => {
|
14
14
|
// generating unique Id for the carousel
|
15
|
-
const counter = idGen$
|
15
|
+
const counter = idGen$t.nextUid();
|
16
16
|
shared.set('carousel_ref', counter);
|
17
17
|
return `<div class="app-carousel carousel"><${carouselTagName} wmCarousel #${counter}="wmCarousel" ${transpiler.getAttrMarkup(attrs)} interval="0" [ngClass]="${counter}.navigationClass">`;
|
18
18
|
},
|
@@ -114,12 +114,12 @@
|
|
114
114
|
});
|
115
115
|
|
116
116
|
const tagName$1A = 'a';
|
117
|
-
const idGen$
|
117
|
+
const idGen$s = new core.IDGenerator('wm_anchor');
|
118
118
|
transpiler.register('wm-anchor', () => {
|
119
119
|
return {
|
120
120
|
pre: (attrs) => {
|
121
|
-
const counter = idGen$
|
122
|
-
return `<${tagName$1A} wmAnchor #${counter}="wmAnchor" role="link" data-identifier="anchor" [attr.aria-label]="${counter}.
|
121
|
+
const counter = idGen$s.nextUid();
|
122
|
+
return `<${tagName$1A} wmAnchor #${counter}="wmAnchor" role="link" data-identifier="anchor" [attr.aria-label]="${counter}.arialabel || (${counter}.badgevalue ? ${counter}.caption + ' ' + ${counter}.badgevalue : ${counter}.caption) || null" ${transpiler.getAttrMarkup(attrs)}>`;
|
123
123
|
},
|
124
124
|
post: () => `</${tagName$1A}>`
|
125
125
|
};
|
@@ -146,12 +146,12 @@
|
|
146
146
|
});
|
147
147
|
|
148
148
|
const tagName$1y = 'div';
|
149
|
-
const idGen$
|
149
|
+
const idGen$r = new core.IDGenerator('wm_html');
|
150
150
|
transpiler.register('wm-html', () => {
|
151
151
|
return {
|
152
152
|
pre: (attrs) => {
|
153
|
-
const counter = idGen$
|
154
|
-
return `<${tagName$1y} wmHtml #${counter}="wmHtml" [attr.aria-label]="${counter}.
|
153
|
+
const counter = idGen$r.nextUid();
|
154
|
+
return `<${tagName$1y} wmHtml #${counter}="wmHtml" role="application" [attr.aria-label]="${counter}.arialabel || 'HTML content'" ${transpiler.getAttrMarkup(attrs)}>`;
|
155
155
|
},
|
156
156
|
post: () => `</${tagName$1y}>`
|
157
157
|
};
|
@@ -166,7 +166,7 @@
|
|
166
166
|
const tagName$1x = 'span';
|
167
167
|
transpiler.register('wm-icon', () => {
|
168
168
|
return {
|
169
|
-
pre: attrs => `<${tagName$1x} wmIcon
|
169
|
+
pre: attrs => `<${tagName$1x} wmIcon ${transpiler.getAttrMarkup(attrs)}>`,
|
170
170
|
post: () => `</${tagName$1x}>`
|
171
171
|
};
|
172
172
|
});
|
@@ -192,7 +192,7 @@
|
|
192
192
|
});
|
193
193
|
|
194
194
|
let tagName$1v = 'p';
|
195
|
-
const idGen$
|
195
|
+
const idGen$q = new core.IDGenerator('wm_label');
|
196
196
|
transpiler.register('wm-label', () => {
|
197
197
|
return {
|
198
198
|
pre: (attrs) => {
|
@@ -206,8 +206,8 @@
|
|
206
206
|
else {
|
207
207
|
tagName$1v = 'label';
|
208
208
|
}
|
209
|
-
const counter = idGen$
|
210
|
-
return `<${tagName$1v} wmLabel #${counter}="wmLabel"
|
209
|
+
const counter = idGen$q.nextUid();
|
210
|
+
return `<${tagName$1v} wmLabel #${counter}="wmLabel" ${transpiler.getAttrMarkup(attrs)}>`;
|
211
211
|
},
|
212
212
|
post: () => `</${tagName$1v}>`
|
213
213
|
};
|
@@ -220,12 +220,12 @@
|
|
220
220
|
});
|
221
221
|
|
222
222
|
const tagName$1u = 'img';
|
223
|
-
const idGen$
|
223
|
+
const idGen$p = new core.IDGenerator('wm_picture');
|
224
224
|
transpiler.register('wm-picture', () => {
|
225
225
|
return {
|
226
226
|
pre: (attrs) => {
|
227
|
-
const counter = idGen$
|
228
|
-
return `<${tagName$1u} wmPicture #${counter}="wmPicture" alt="
|
227
|
+
const counter = idGen$p.nextUid();
|
228
|
+
return `<${tagName$1u} wmPicture #${counter}="wmPicture" [alt]="${counter}.alttext" wmImageCache="${attrs.get('offline') || 'true'}" [attr.aria-label]="${counter}.arialabel || 'Image'" ${transpiler.getAttrMarkup(attrs)}>`;
|
229
229
|
}
|
230
230
|
};
|
231
231
|
});
|
@@ -237,12 +237,12 @@
|
|
237
237
|
});
|
238
238
|
|
239
239
|
const tagName$1t = 'div';
|
240
|
-
const idGen$
|
240
|
+
const idGen$o = new core.IDGenerator('wm_spinner');
|
241
241
|
transpiler.register('wm-spinner', () => {
|
242
242
|
return {
|
243
243
|
pre: (attrs) => {
|
244
|
-
const counter = idGen$
|
245
|
-
return `<${tagName$1t} wmSpinner #${counter}="wmSpinner" role="alert" [attr.aria-label]="${counter}.
|
244
|
+
const counter = idGen$o.nextUid();
|
245
|
+
return `<${tagName$1t} wmSpinner #${counter}="wmSpinner" role="alert" [attr.aria-label]="${counter}.arialabel || 'Loading...'" aria-live="assertive" aria-busy="true" ${transpiler.getAttrMarkup(attrs)}>`;
|
246
246
|
},
|
247
247
|
post: () => `</${tagName$1t}>`
|
248
248
|
};
|
@@ -294,9 +294,13 @@
|
|
294
294
|
});
|
295
295
|
|
296
296
|
const tagName$1r = 'div';
|
297
|
+
const idGen$n = new core.IDGenerator('wm_progress_circle');
|
297
298
|
transpiler.register('wm-progress-circle', () => {
|
298
299
|
return {
|
299
|
-
pre: attrs =>
|
300
|
+
pre: (attrs) => {
|
301
|
+
const counter = idGen$n.nextUid();
|
302
|
+
return `<${tagName$1r} wmProgressCircle #${counter}="wmProgressCircle" role="progressbar" [attr.aria-label]="${counter}.arialabel || 'circle-progress'" [attr.hint]="${counter}.hint" [attr.aria-valuetext]="${counter}.displayValue" [attr.aria-valuemin]="${counter}.minvalue" [attr.aria-valuemax]="${counter}.maxvalue" ${transpiler.getAttrMarkup(attrs)}>`;
|
303
|
+
},
|
300
304
|
post: () => `</${tagName$1r}>`
|
301
305
|
};
|
302
306
|
});
|
@@ -313,7 +317,7 @@
|
|
313
317
|
return {
|
314
318
|
pre: (attrs) => {
|
315
319
|
const counter = idGen$m.nextUid();
|
316
|
-
return `<${tagName$1q} wmRichTextEditor #${counter}="wmRichTextEditor" role="textbox" [attr.aria-label]="${counter}.
|
320
|
+
return `<${tagName$1q} wmRichTextEditor #${counter}="wmRichTextEditor" role="textbox" [attr.aria-label]="${counter}.arialabel || 'Richtext editor'" ${transpiler.getFormMarkupAttr(attrs)}>`;
|
317
321
|
},
|
318
322
|
post: () => `</${tagName$1q}>`
|
319
323
|
};
|
@@ -431,7 +435,7 @@
|
|
431
435
|
// generating unique Id for the accordion
|
432
436
|
const counter = idGen$l.nextUid();
|
433
437
|
shared.set('accordion_ref', counter);
|
434
|
-
return `<${tagName$1i} wmAccordion #${counter}="wmAccordion"
|
438
|
+
return `<${tagName$1i} wmAccordion #${counter}="wmAccordion" ${transpiler.getAttrMarkup(attrs)}>`;
|
435
439
|
},
|
436
440
|
post: () => `</${tagName$1i}>`,
|
437
441
|
template: (node, shared) => {
|
@@ -470,7 +474,7 @@
|
|
470
474
|
return {
|
471
475
|
pre: (attrs) => {
|
472
476
|
const counter = idGen$k.nextUid();
|
473
|
-
return `<${tagName$1h} #${counter}="wmAccordionPane"
|
477
|
+
return `<${tagName$1h} #${counter}="wmAccordionPane" wmAccordionPane partialContainer wm-navigable-element="true" ${transpiler.getAttrMarkup(attrs)}>`;
|
474
478
|
},
|
475
479
|
post: () => `</${tagName$1h}>`
|
476
480
|
};
|
@@ -678,7 +682,7 @@
|
|
678
682
|
const tagName$17 = 'div';
|
679
683
|
transpiler.register('wm-tile', () => {
|
680
684
|
return {
|
681
|
-
pre: attrs => `<${tagName$17} wmTile
|
685
|
+
pre: attrs => `<${tagName$17} wmTile wm-navigable-element="true" ${transpiler.getAttrMarkup(attrs)}>`,
|
682
686
|
post: () => `</${tagName$17}>`
|
683
687
|
};
|
684
688
|
});
|
@@ -692,7 +696,7 @@
|
|
692
696
|
const tagName$16 = 'div';
|
693
697
|
transpiler.register('wm-wizard', () => {
|
694
698
|
return {
|
695
|
-
pre: attrs => `<${tagName$16} wmWizard
|
699
|
+
pre: attrs => `<${tagName$16} wmWizard ${transpiler.getAttrMarkup(attrs)}>`,
|
696
700
|
post: () => `</${tagName$16}>`
|
697
701
|
};
|
698
702
|
});
|
@@ -728,7 +732,7 @@
|
|
728
732
|
return {
|
729
733
|
pre: (attrs) => {
|
730
734
|
const counter = idGen$g.nextUid();
|
731
|
-
return `<${tagName$14} wmBarcodescanner #${counter}="wmBarcodescanner" [attr.aria-label]="${counter}.
|
735
|
+
return `<${tagName$14} wmBarcodescanner #${counter}="wmBarcodescanner" [attr.aria-label]="${counter}.arialabel || 'Barcode scanner'" ${transpiler.getAttrMarkup(attrs)}>`;
|
732
736
|
},
|
733
737
|
post: () => `</${tagName$14}>`
|
734
738
|
};
|
@@ -746,7 +750,7 @@
|
|
746
750
|
return {
|
747
751
|
pre: (attrs) => {
|
748
752
|
const counter = idGen$f.nextUid();
|
749
|
-
return `<${tagName$13} type='button' wmCamera #${counter}="wmCamera" [attr.aria-label]="${counter}.
|
753
|
+
return `<${tagName$13} type='button' wmCamera #${counter}="wmCamera" [attr.aria-label]="${counter}.arialabel || 'Camera'" ${transpiler.getAttrMarkup(attrs)}>`;
|
750
754
|
},
|
751
755
|
post: () => `</${tagName$13}>`
|
752
756
|
};
|
@@ -761,7 +765,7 @@
|
|
761
765
|
const tagName$12 = 'div';
|
762
766
|
transpiler.register('wm-alertdialog', () => {
|
763
767
|
return {
|
764
|
-
pre: attrs => `<${tagName$12} wmAlertDialog
|
768
|
+
pre: attrs => `<${tagName$12} wmAlertDialog wm-navigable-element="true" ${transpiler.getAttrMarkup(attrs)}>`,
|
765
769
|
post: () => `</${tagName$12}>`
|
766
770
|
};
|
767
771
|
});
|
@@ -1069,7 +1073,7 @@
|
|
1069
1073
|
const dataRole = isFormField ? 'form-field' : 'filter-field';
|
1070
1074
|
const formFieldErrorMsgId = 'wmform-field-error-' + core.generateGUId();
|
1071
1075
|
const validationMsg = isFormField ? `<p *ngIf="${counter}._control?.invalid && ${counter}._control?.touched && ${pCounter}.isUpdateMode"
|
1072
|
-
class="help-block text-danger" aria-hidden="false"
|
1076
|
+
class="help-block text-danger" aria-hidden="false" role="alert"
|
1073
1077
|
aria-live="assertive" [attr.aria-label]="${counter}.validationmessage" id="${formFieldErrorMsgId}"><span aria-hidden="true" [textContent]="${counter}.validationmessage"></span></p>` : '';
|
1074
1078
|
const eventsTmpl = widgetType === core.FormWidgetType.UPLOAD ? '' : getEventsTemplate(attrs);
|
1075
1079
|
const controlLayout = core.isMobileApp() ? 'col-xs-12' : 'col-sm-12';
|
@@ -1091,8 +1095,8 @@
|
|
1091
1095
|
[ngStyle]="{width: ${pCounter}.captionsize}" [ngClass]="{'text-danger': ${counter}._control?.invalid && ${counter}._control?.touched && ${pCounter}.isUpdateMode,
|
1092
1096
|
required: ${pCounter}.isUpdateMode && ${counter}.required}" [textContent]="${counter}.displayname"> </label>
|
1093
1097
|
<div [ngClass]="${counter}.displayname ? ${pCounter}._widgetClass : '${controlLayout}'">
|
1094
|
-
<
|
1095
|
-
[hidden]="${pCounter}.isUpdateMode || ${counter}.viewmodewidget === 'default' || ${counter}.widgettype === 'upload'" [innerHTML]="${getCaptionByWidget(attrs, widgetType, counter)}"></
|
1098
|
+
<span class="form-control-static app-label"
|
1099
|
+
[hidden]="${pCounter}.isUpdateMode || ${counter}.viewmodewidget === 'default' || ${counter}.widgettype === 'upload'" [innerHTML]="${getCaptionByWidget(attrs, widgetType, counter)}"></span>
|
1096
1100
|
${getTemplate(attrs, widgetType, eventsTmpl, counter, pCounter, isInList)}
|
1097
1101
|
<span aria-hidden="true" *ngIf="${counter}.showPendingSpinner" class="form-field-spinner fa fa-circle-o-notch fa-spin form-control-feedback"></span>
|
1098
1102
|
<p *ngIf="!(${counter}._control?.invalid && ${counter}._control?.touched) && ${pCounter}.isUpdateMode"
|
@@ -1298,7 +1302,7 @@
|
|
1298
1302
|
return {
|
1299
1303
|
pre: (attrs) => {
|
1300
1304
|
let viewType = attrs.get('view') ? attrs.get('view') + ' view' : 'month view';
|
1301
|
-
return `<${tagName$U} wmCalendar redrawable style="width:100%" aria-label="${viewType}" ${transpiler.getAttrMarkup(attrs)}>`;
|
1305
|
+
return `<${tagName$U} wmCalendar redrawable style="width:100%" role="region" aria-label="${viewType}" ${transpiler.getAttrMarkup(attrs)}>`;
|
1302
1306
|
},
|
1303
1307
|
post: () => `</${tagName$U}>`
|
1304
1308
|
};
|
@@ -1313,7 +1317,7 @@
|
|
1313
1317
|
const tagName$T = 'ul';
|
1314
1318
|
transpiler.register('wm-chips', () => {
|
1315
1319
|
return {
|
1316
|
-
pre: attrs => `<${tagName$T} wmChips
|
1320
|
+
pre: attrs => `<${tagName$T} wmChips ${transpiler.getAttrMarkup(attrs)} ${core.getNgModelAttr(attrs)}>`,
|
1317
1321
|
post: () => `</${tagName$T}>`
|
1318
1322
|
};
|
1319
1323
|
});
|
@@ -1327,7 +1331,7 @@
|
|
1327
1331
|
const tagName$S = 'div';
|
1328
1332
|
transpiler.register('wm-colorpicker', () => {
|
1329
1333
|
return {
|
1330
|
-
pre: attrs => `<${tagName$S} wmColorPicker ${transpiler.getAttrMarkup(attrs)}
|
1334
|
+
pre: attrs => `<${tagName$S} wmColorPicker ${transpiler.getAttrMarkup(attrs)} ${transpiler.getChildAttrs(attrs)} ${core.getNgModelAttr(attrs)}>`,
|
1331
1335
|
post: () => `</${tagName$S}>`
|
1332
1336
|
};
|
1333
1337
|
});
|
@@ -1341,7 +1345,7 @@
|
|
1341
1345
|
const tagName$R = 'div';
|
1342
1346
|
transpiler.register('wm-currency', () => {
|
1343
1347
|
return {
|
1344
|
-
pre: attrs => `<${tagName$R} wmCurrency ${transpiler.getAttrMarkup(attrs)}
|
1348
|
+
pre: attrs => `<${tagName$R} wmCurrency ${transpiler.getAttrMarkup(attrs)} ${transpiler.getChildAttrs(attrs)} ${core.getNgModelAttr(attrs)}>`,
|
1345
1349
|
post: () => `</${tagName$R}>`
|
1346
1350
|
};
|
1347
1351
|
});
|
@@ -1355,7 +1359,7 @@
|
|
1355
1359
|
const tagName$Q = 'div';
|
1356
1360
|
transpiler.register('wm-buttongroup', () => {
|
1357
1361
|
return {
|
1358
|
-
pre: attrs => `<${tagName$Q} wmButtonGroup role="group"
|
1362
|
+
pre: attrs => `<${tagName$Q} wmButtonGroup role="group" ${transpiler.getAttrMarkup(attrs)}>`,
|
1359
1363
|
post: () => `</${tagName$Q}>`
|
1360
1364
|
};
|
1361
1365
|
});
|
@@ -1372,7 +1376,7 @@
|
|
1372
1376
|
return {
|
1373
1377
|
pre: (attrs) => {
|
1374
1378
|
const counter = idGen$c.nextUid();
|
1375
|
-
return `<${tagName$P} wmButton #${counter}="wmButton" [attr.aria-label]="${counter}.
|
1379
|
+
return `<${tagName$P} wmButton #${counter}="wmButton" [attr.aria-label]="${counter}.arialabel || (${counter}.badgevalue ? ${counter}.caption + ' ' + ${counter}.badgevalue : ${counter}.caption) || null" ${transpiler.getAttrMarkup(attrs)}>`;
|
1376
1380
|
},
|
1377
1381
|
post: () => `</${tagName$P}>`
|
1378
1382
|
};
|
@@ -1474,7 +1478,7 @@
|
|
1474
1478
|
return {
|
1475
1479
|
pre: (attrs) => {
|
1476
1480
|
const counter = idGen$b.nextUid();
|
1477
|
-
return `<${tagName$I} wmSwitch #${counter}="wmSwitch" [attr.aria-label]="${counter}.
|
1481
|
+
return `<${tagName$I} wmSwitch #${counter}="wmSwitch" role="group" [attr.aria-label]="${counter}.arialabel || 'Switch choose options'" ${transpiler.getFormMarkupAttr(attrs)} ${core.getNgModelAttr(attrs)}>`;
|
1478
1482
|
},
|
1479
1483
|
post: () => `</${tagName$I}>`
|
1480
1484
|
};
|
@@ -1564,7 +1568,11 @@
|
|
1564
1568
|
const onSelectBinding = transpiler.getDataSource(attrs.get('select.event'));
|
1565
1569
|
attrs.set('datasource.bind', onSelectBinding);
|
1566
1570
|
}
|
1567
|
-
|
1571
|
+
if (attrs.get('delete.event')) {
|
1572
|
+
const onDeleteBinding = transpiler.getDataSource(attrs.get('delete.event'));
|
1573
|
+
attrs.set('deletedatasource.bind', onDeleteBinding);
|
1574
|
+
}
|
1575
|
+
return `<${tagName$C} wmFileUpload ${transpiler.getAttrMarkup(attrs)}>`;
|
1568
1576
|
},
|
1569
1577
|
post: () => `</${tagName$C}>`
|
1570
1578
|
};
|
@@ -1981,7 +1989,7 @@
|
|
1981
1989
|
},
|
1982
1990
|
pre: (attrs) => {
|
1983
1991
|
const counter = idGen$8.nextUid();
|
1984
|
-
return `<${tagName$p} wmPage #${counter}="wmPage" data-role="pageContainer" [attr.aria-label]="${counter}.
|
1992
|
+
return `<${tagName$p} wmPage #${counter}="wmPage" data-role="pageContainer" [attr.aria-label]="${counter}.arialabel" ${transpiler.getAttrMarkup(attrs)}>`;
|
1985
1993
|
},
|
1986
1994
|
post: () => `</${tagName$p}>`
|
1987
1995
|
};
|
@@ -1999,7 +2007,7 @@
|
|
1999
2007
|
return {
|
2000
2008
|
pre: (attrs) => {
|
2001
2009
|
const counter = idGen$7.nextUid();
|
2002
|
-
return `<${tagName$o} wmLayout #${counter}="wmLayout" data-role="pageContainer" [attr.aria-label]="${counter}.
|
2010
|
+
return `<${tagName$o} wmLayout #${counter}="wmLayout" data-role="pageContainer" [attr.aria-label]="${counter}.arialabel" ${transpiler.getAttrMarkup(attrs)}>`;
|
2003
2011
|
},
|
2004
2012
|
post: () => `</${tagName$o}>`
|
2005
2013
|
};
|
@@ -2059,7 +2067,7 @@
|
|
2059
2067
|
return {
|
2060
2068
|
pre: (attrs) => {
|
2061
2069
|
const counter = idGen$6.nextUid();
|
2062
|
-
return `<${tagName$k} wmFooter #${counter}="wmFooter" partialContainer data-role="page-footer" role="contentinfo" [attr.aria-label]="${counter}.
|
2070
|
+
return `<${tagName$k} wmFooter #${counter}="wmFooter" partialContainer data-role="page-footer" role="contentinfo" [attr.aria-label]="${counter}.arialabel || 'Page footer'" ${transpiler.getAttrMarkup(attrs)}>`;
|
2063
2071
|
},
|
2064
2072
|
post: () => `</${tagName$k}>`
|
2065
2073
|
};
|
@@ -2077,7 +2085,7 @@
|
|
2077
2085
|
return {
|
2078
2086
|
pre: (attrs) => {
|
2079
2087
|
const counter = idGen$5.nextUid();
|
2080
|
-
return `<${tagName$j} wmHeader #${counter}="wmHeader" partialContainer data-role="page-header" role="banner" [attr.aria-label]="${counter}.
|
2088
|
+
return `<${tagName$j} wmHeader #${counter}="wmHeader" partialContainer data-role="page-header" role="banner" [attr.aria-label]="${counter}.arialabel || 'Page header'" ${transpiler.getAttrMarkup(attrs)}>`;
|
2081
2089
|
},
|
2082
2090
|
post: () => `</${tagName$j}>`
|
2083
2091
|
};
|
@@ -2095,7 +2103,7 @@
|
|
2095
2103
|
return {
|
2096
2104
|
pre: (attrs) => {
|
2097
2105
|
const counter = idGen$4.nextUid();
|
2098
|
-
return `<${tagName$i} wmLeftPanel #${counter}="wmLeftPanel" partialContainer data-role="page-left-panel" [attr.aria-label]="${counter}.
|
2106
|
+
return `<${tagName$i} wmLeftPanel #${counter}="wmLeftPanel" partialContainer data-role="page-left-panel" [attr.aria-label]="${counter}.arialabel || 'Left navigation panel'" wmSmoothscroll="${attrs.get('smoothscroll') || 'false'}" ${transpiler.getAttrMarkup(attrs)}>`;
|
2099
2107
|
},
|
2100
2108
|
post: () => `</${tagName$i}>`
|
2101
2109
|
};
|
@@ -2127,7 +2135,7 @@
|
|
2127
2135
|
return {
|
2128
2136
|
pre: (attrs) => {
|
2129
2137
|
const counter = idGen$3.nextUid();
|
2130
|
-
return `<${tagName$g} wmRightPanel #${counter}="wmRightPanel" partialContainer data-role="page-right-panel" role="complementary" [attr.aria-label]="${counter}.
|
2138
|
+
return `<${tagName$g} wmRightPanel #${counter}="wmRightPanel" partialContainer data-role="page-right-panel" role="complementary" [attr.aria-label]="${counter}.arialabel || 'Right navigation panel'" ${transpiler.getAttrMarkup(attrs)}>`;
|
2131
2139
|
},
|
2132
2140
|
post: () => `</${tagName$g}>`
|
2133
2141
|
};
|
@@ -2193,7 +2201,7 @@
|
|
2193
2201
|
return {
|
2194
2202
|
pre: (attrs) => {
|
2195
2203
|
const counter = idGen$2.nextUid();
|
2196
|
-
return `<${tagName$d} wmTopNav #${counter}="wmTopNav" partialContainer data-role="page-topnav" role="navigation" [attr.aria-label]="${counter}.
|
2204
|
+
return `<${tagName$d} wmTopNav #${counter}="wmTopNav" partialContainer data-role="page-topnav" role="navigation" [attr.aria-label]="${counter}.arialabel || 'Second level navigation'" ${transpiler.getAttrMarkup(attrs)}>`;
|
2197
2205
|
},
|
2198
2206
|
post: () => `</${tagName$d}>`
|
2199
2207
|
};
|
@@ -6,10 +6,10 @@ register('wm-anchor', () => {
|
|
6
6
|
return {
|
7
7
|
pre: (attrs) => {
|
8
8
|
const counter = idGen.nextUid();
|
9
|
-
return `<${tagName} wmAnchor #${counter}="wmAnchor" role="link" data-identifier="anchor" [attr.aria-label]="${counter}.
|
9
|
+
return `<${tagName} wmAnchor #${counter}="wmAnchor" role="link" data-identifier="anchor" [attr.aria-label]="${counter}.arialabel || (${counter}.badgevalue ? ${counter}.caption + ' ' + ${counter}.badgevalue : ${counter}.caption) || null" ${getAttrMarkup(attrs)}>`;
|
10
10
|
},
|
11
11
|
post: () => `</${tagName}>`
|
12
12
|
};
|
13
13
|
});
|
14
14
|
export default () => { };
|
15
|
-
//# sourceMappingURL=data:application/json;base64,
|
15
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYW5jaG9yLmJ1aWxkLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29tcG9uZW50cy90cmFuc3BpbGUvc3JjL2Jhc2ljL2RlZmF1bHQvYW5jaG9yL2FuY2hvci5idWlsZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUMsYUFBYSxFQUFpQixRQUFRLEVBQUMsTUFBTSxnQkFBZ0IsQ0FBQztBQUN0RSxPQUFPLEVBQUMsV0FBVyxFQUFDLE1BQU0sVUFBVSxDQUFDO0FBRXJDLE1BQU0sT0FBTyxHQUFHLEdBQUcsQ0FBQztBQUNwQixNQUFNLEtBQUssR0FBRyxJQUFJLFdBQVc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gcm9sZT1cImxpbmtcIiBkYXRhLWlkZW50aWZpZXI9XCJhbmNob3JcIiBbYXR0ci5hcmlhLWxhYmVsXT1cIiR7Y291bnRlcn0uYXJpYWxhYmVsIHx8ICgke2NvdW50ZXJ9LmJhZGdldmFsdWUgPyAke2NvdW50ZXJ9LmNhcHRpb24gKyAnICcgKyAke2NvdW50ZXJ9LmJhZGdldmFsdWUgOiAke2NvdW50ZXJ9LmNhcHRpb24pIHx8IG51bGxcIiAke2dldEF0dHJNYXJrdXAoYXR0cnMpfT5gO1xuICAgICAgICB9LFxuICAgICAgICBwb3N0OiAoKSA9PiBgPC8ke3RhZ05hbWV9PmBcbiAgICB9O1xufSk7XG5cbmV4cG9ydCBkZWZhdWx0ICgpID0+IHt9O1xuIl19
|
@@ -6,10 +6,10 @@ register('wm-html', () => {
|
|
6
6
|
return {
|
7
7
|
pre: (attrs) => {
|
8
8
|
const counter = idGen.nextUid();
|
9
|
-
return `<${tagName} wmHtml #${counter}="wmHtml" [attr.aria-label]="${counter}.
|
9
|
+
return `<${tagName} wmHtml #${counter}="wmHtml" role="application" [attr.aria-label]="${counter}.arialabel || 'HTML content'" ${getAttrMarkup(attrs)}>`;
|
10
10
|
},
|
11
11
|
post: () => `</${tagName}>`
|
12
12
|
};
|
13
13
|
});
|
14
14
|
export default () => { };
|
15
|
-
//# sourceMappingURL=data:application/json;base64,
|
15
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaHRtbC5idWlsZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvbXBvbmVudHMvdHJhbnNwaWxlL3NyYy9iYXNpYy9kZWZhdWx0L2h0bWwvaHRtbC5idWlsZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUMsYUFBYSxFQUFpQixRQUFRLEVBQUMsTUFBTSxnQkFBZ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JldHVybiBgPCR7dGFnTmFtZX0gd21IdG1sICMke2NvdW50ZXJ9PVwid21IdG1sXCIgcm9sZT1cImFwcGxpY2F0aW9uXCIgW2F0dHIuYXJpYS1sYWJlbF09XCIke2NvdW50ZXJ9LmFyaWFsYWJlbCB8fCAnSFRNTCBjb250ZW50J1wiICR7Z2V0QXR0ck1hcmt1cChhdHRycyl9PmA7XG4gICAgICAgIH0sXG4gICAgICAgIHBvc3Q6ICgpID0+IGA8LyR7dGFnTmFtZX0+YFxuICAgIH07XG59KTtcblxuZXhwb3J0IGRlZmF1bHQgKCkgPT4ge307XG4iXX0=
|
@@ -2,9 +2,9 @@ import { getAttrMarkup, register } from '@wm/transpiler';
|
|
2
2
|
const tagName = 'span';
|
3
3
|
register('wm-icon', () => {
|
4
4
|
return {
|
5
|
-
pre: attrs => `<${tagName} wmIcon
|
5
|
+
pre: attrs => `<${tagName} wmIcon ${getAttrMarkup(attrs)}>`,
|
6
6
|
post: () => `</${tagName}>`
|
7
7
|
};
|
8
8
|
});
|
9
9
|
export default () => { };
|
10
|
-
//# sourceMappingURL=data:application/json;base64,
|
10
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaWNvbi5idWlsZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvbXBvbmVudHMvdHJhbnNwaWxlL3NyYy9iYXNpYy9kZWZhdWx0L2ljb24vaWNvbi5idWlsZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUMsYUFBYSxFQUFpQixRQUFRLEVBQUMsTUFBTSxnQkFBZ0IsQ0FBQztBQUV0RSxNQUFNLE9BQU8sR0FBRyxNQUFNLENBQUM7QUFFdkIsUUFBUSxDQUFDLFNBQVMsRUFBRSxHQUFrQixFQUFFO0lBQ3BDLE9BQU87UUFDSCxHQUFHLEVBQUUsS0FBSyxDQUFDLEVBQUUsQ0FBQyxJQUFJLE9BQU8sV0FBVyxhQUFhLENBQUMsS0FBSyxDQUFDLEdBQUc7UUFDM0QsSUFBSSxFQUFFLEdBQUcsRUFBRSxDQUFDLEtBQUssT0FBTyxHQUFHO0tBQzlCLENBQUM7QUFDTixDQUFDLENBQUMsQ0FBQztBQUVILGVBQWUsR0FBRyxFQUFFLEdBQUUsQ0FBQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHtnZXRBdHRyTWFya3VwLCBJQnVpbGRUYXNrRGVmLCByZWdpc3Rlcn0gZnJvbSAnQHdtL3RyYW5zcGlsZXInO1xuXG5jb25zdCB0YWdOYW1lID0gJ3NwYW4nO1xuXG5yZWdpc3Rlcignd20taWNvbicsICgpOiBJQnVpbGRUYXNrRGVmID0+IHtcbiAgICByZXR1cm4ge1xuICAgICAgICBwcmU6IGF0dHJzID0+IGA8JHt0YWdOYW1lfSB3bUljb24gJHtnZXRBdHRyTWFya3VwKGF0dHJzKX0+YCxcbiAgICAgICAgcG9zdDogKCkgPT4gYDwvJHt0YWdOYW1lfT5gXG4gICAgfTtcbn0pO1xuXG5leHBvcnQgZGVmYXVsdCAoKSA9PiB7fTtcbiJdfQ==
|
@@ -16,10 +16,10 @@ register('wm-label', () => {
|
|
16
16
|
tagName = 'label';
|
17
17
|
}
|
18
18
|
const counter = idGen.nextUid();
|
19
|
-
return `<${tagName} wmLabel #${counter}="wmLabel"
|
19
|
+
return `<${tagName} wmLabel #${counter}="wmLabel" ${getAttrMarkup(attrs)}>`;
|
20
20
|
},
|
21
21
|
post: () => `</${tagName}>`
|
22
22
|
};
|
23
23
|
});
|
24
24
|
export default () => { };
|
25
|
-
//# sourceMappingURL=data:application/json;base64,
|
25
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGFiZWwuYnVpbGQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uL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dHRycy5nZXQoJ3R5cGUnKSl7XG4gICAgICAgICAgICBjb25zdCBjbGFzc0xpc3Q9YXR0cnMuZ2V0KCdjbGFzcycpID8gYXR0cnMuZ2V0KCdjbGFzcycpLnNwbGl0KCcgJykuZmlsdGVyKGVsZW1lbnQgPT4gW1wiaDFcIixcImgyXCIsXCJoM1wiLFwiaDRcIixcImg1XCIsXCJoNlwiLFwicFwiXS5pbmNsdWRlcyhlbGVtZW50KSk6W107XG4gICAgICAgICAgICBhdHRycy5zZXQoJ3R5cGUnLGNsYXNzTGlzdC5sZW5ndGggPyBjbGFzc0xpc3RbMF0gOiAgXCJwXCIpO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIHRhZ05hbWU9IGF0dHJzLmdldCgndHlwZScpO1xuICAgICAgICAgICAgfVxuICAgICAgICAgICAgZWxzZXtcbiAgICAgICAgICAgICAgICB0YWdOYW1lPSdsYWJlbCc7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICBjb25zdCBjb3VudGVyID0gaWRHZW4ubmV4dFVpZCgpO1xuICAgICAgICAgICAgcmV0dXJuIGA8JHt0YWdOYW1lfSB3bUxhYmVsICMke2NvdW50ZXJ9PVwid21MYWJlbFwiICR7Z2V0QXR0ck1hcmt1cChhdHRycyl9PmA7XG4gICAgICAgIH0sXG4gICAgICAgIHBvc3Q6ICgpID0+IGA8LyR7dGFnTmFtZX0+YFxuICAgIH07XG59KTtcblxuZXhwb3J0IGRlZmF1bHQgKCkgPT4ge307XG4iXX0=
|
@@ -6,9 +6,9 @@ register('wm-picture', () => {
|
|
6
6
|
return {
|
7
7
|
pre: (attrs) => {
|
8
8
|
const counter = idGen.nextUid();
|
9
|
-
return `<${tagName} wmPicture #${counter}="wmPicture" alt="
|
9
|
+
return `<${tagName} wmPicture #${counter}="wmPicture" [alt]="${counter}.alttext" wmImageCache="${attrs.get('offline') || 'true'}" [attr.aria-label]="${counter}.arialabel || 'Image'" ${getAttrMarkup(attrs)}>`;
|
10
10
|
}
|
11
11
|
};
|
12
12
|
});
|
13
13
|
export default () => { };
|
14
|
-
//# sourceMappingURL=data:application/json;base64,
|
14
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGljdHVyZS5idWlsZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvbXBvbmVudHMvdHJhbnNwaWxlL3NyYy9iYXNpYy9kZWZhdWx0L3BpY3R1cmUvcGljdHVyZS5idWlsZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUMsYUFBYSxFQUFpQixRQUFRLEVBQUMsTUFBTSxnQkFBZ0IsQ0FBQztBQUN0RSxPQUFPLEVBQUMsV0FBVyxFQUFDLE1BQU0sVUFBVSxDQUFDO0FBRXJDLE1BQU0sT0FBTyxHQUFHLEtBQUssQ0FBQztBQUN0QixNQUFNLEtBQUssR0FBRyxJQUFJLFdBQVcsQ0FBQyxZQUFZLENBQUMsQ0FBQztBQUU1QyxRQUFRLENBQUMsWUFBWSxFQUFFLEdBQWtCLEVBQUU7SUFDdkMsT0FBTztRQUNILEdBQUcsRUFBRSxDQUFDLEtBQUssRUFBRSxFQUFFO1lBQ1gsTUFBTSxPQUFPLEdBQUcsS0FBSyxDQUFDLE9BQU8sRUFBRSxDQUFDO1lBQ2hDLE9BQU8sSUFBSSxPQUFPLGVBQWUsT0FBTyx1QkFBdUIsT0FBTywyQkFBMkIsS0FBSyxDQUFDLEdBQUcsQ0FBQyxTQUFTLENBQUMsSUFBSSxNQUFNLHdCQUF3QixPQUFPLDBCQUEwQixhQUFhLENBQUMsS0FBSyxDQUFDLEdBQUcsQ0FBQztRQUNwTixDQUFDO0tBQ0osQ0FBQztBQUNOLENBQUMsQ0FBQyxDQUFDO0FBRUgsZUFBZSxHQUFHLEVBQUUsR0FBRSxDQUFDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQge2dldEF0dHJNYXJrdXAsIElCdWlsZFRhc2tEZWYsIHJlZ2lzdGVyfSBmcm9tICdAd20vdHJhbnNwaWxlcic7XG5pbXBvcnQge0lER2VuZXJhdG9yfSBmcm9tIFwiQHdtL2NvcmVcIjtcblxuY29uc3QgdGFnTmFtZSA9ICdpbWcnO1xuY29uc3QgaWRHZW4gPSBuZXcgSURHZW5lcmF0b3IoJ3dtX3BpY3R1cmUnKTtcblxucmVnaXN0ZXIoJ3dtLXBpY3R1cmUnLCAoKTogSUJ1aWxkVGFza0RlZiA9PiB7XG4gICAgcmV0dXJuIHtcbiAgICAgICAgcHJlOiAoYXR0cnMpID0+IHtcbiAgICAgICAgICAgIGNvbnN0IGNvdW50ZXIgPSBpZEdlbi5uZXh0VWlkKCk7XG4gICAgICAgICAgICByZXR1cm4gYDwke3RhZ05hbWV9IHdtUGljdHVyZSAjJHtjb3VudGVyfT1cIndtUGljdHVyZVwiIFthbHRdPVwiJHtjb3VudGVyfS5hbHR0ZXh0XCIgd21JbWFnZUNhY2hlPVwiJHthdHRycy5nZXQoJ29mZmxpbmUnKSB8fCAndHJ1ZSd9XCIgW2F0dHIuYXJpYS1sYWJlbF09XCIke2NvdW50ZXJ9LmFyaWFsYWJlbCB8fCAnSW1hZ2UnXCIgJHtnZXRBdHRyTWFya3VwKGF0dHJzKX0+YDtcbiAgICAgICAgfVxuICAgIH07XG59KTtcblxuZXhwb3J0IGRlZmF1bHQgKCkgPT4ge307XG4iXX0=
|
@@ -6,10 +6,10 @@ register('wm-spinner', () => {
|
|
6
6
|
return {
|
7
7
|
pre: (attrs) => {
|
8
8
|
const counter = idGen.nextUid();
|
9
|
-
return `<${tagName} wmSpinner #${counter}="wmSpinner" role="alert" [attr.aria-label]="${counter}.
|
9
|
+
return `<${tagName} wmSpinner #${counter}="wmSpinner" role="alert" [attr.aria-label]="${counter}.arialabel || 'Loading...'" aria-live="assertive" aria-busy="true" ${getAttrMarkup(attrs)}>`;
|
10
10
|
},
|
11
11
|
post: () => `</${tagName}>`
|
12
12
|
};
|
13
13
|
});
|
14
14
|
export default () => { };
|
15
|
-
//# sourceMappingURL=data:application/json;base64,
|
15
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3Bpbm5lci5idWlsZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvbXBvbmVudHMvdHJhbnNwaWxlL3NyYy9iYXNpYy9kZWZhdWx0L3NwaW5uZXIvc3Bpbm5lci5idWlsZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUMsYUFBYSxFQUFpQixRQUFRLEVBQUMsTUFBTSxnQkFBZ0IsQ0FBQztBQUN0RSxPQUFPLEVBQUMsV0FBVyxFQUFDLE1BQU0sVUFBVSxDQUFDO0FBRXJDLE1BQU0sT0FBTyxHQUFHLEtBQUssQ0FBQztBQUN0QixNQUFNLEtBQUssR0FBRyxJQUFJLFdBQVcsQ0FBQyxZQUFZLENBQUMsQ0FBQztBQUU1QyxRQUFRLENBQUMsWUFBWSxFQUFFLEdBQWtCLEVBQUU7SUFDdkMsT0FBTztRQUNILEdBQUcsRUFBRSxDQUFDLEtBQUssRUFBRSxFQUFFO1lBQ1gsTUFBTSxPQUFPLEdBQUcsS0FBSyxDQUFDLE9BQU8sRUFBRSxDQUFDO1lBQ2hDLE9BQU8sSUFBSSxPQUFPLGVBQWUsT0FBTyxnREFBZ0QsT0FBTyxzRUFBc0UsYUFBYSxDQUFDLEtBQUssQ0FBQyxHQUFHLENBQUM7UUFDak0sQ0FBQztRQUNELElBQUksRUFBRSxHQUFHLEVBQUUsQ0FBQyxLQUFLLE9BQU8sR0FBRztLQUM5QixDQUFDO0FBQ04sQ0FBQyxDQUFDLENBQUM7QUFFSCxlQUFlLEdBQUcsRUFBRSxHQUFFLENBQUMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7Z2V0QXR0ck1hcmt1cCwgSUJ1aWxkVGFza0RlZiwgcmVnaXN0ZXJ9IGZyb20gJ0B3bS90cmFuc3BpbGVyJztcbmltcG9ydCB7SURHZW5lcmF0b3J9IGZyb20gXCJAd20vY29yZVwiO1xuXG5jb25zdCB0YWdOYW1lID0gJ2Rpdic7XG5jb25zdCBpZEdlbiA9IG5ldyBJREdlbmVyYXRvcignd21fc3Bpbm5lcicpO1xuXG5yZWdpc3Rlcignd20tc3Bpbm5lcicsICgpOiBJQnVpbGRUYXNrRGVmID0+IHtcbiAgICByZXR1cm4ge1xuICAgICAgICBwcmU6IChhdHRycykgPT4ge1xuICAgICAgICAgICAgY29uc3QgY291bnRlciA9IGlkR2VuLm5leHRVaWQoKTtcbiAgICAgICAgICAgIHJldHVybiBgPCR7dGFnTmFtZX0gd21TcGlubmVyICMke2NvdW50ZXJ9PVwid21TcGlubmVyXCIgcm9sZT1cImFsZXJ0XCIgW2F0dHIuYXJpYS1sYWJlbF09XCIke2NvdW50ZXJ9LmFyaWFsYWJlbCB8fCAnTG9hZGluZy4uLidcIiBhcmlhLWxpdmU9XCJhc3NlcnRpdmVcIiBhcmlhLWJ1c3k9XCJ0cnVlXCIgJHtnZXRBdHRyTWFya3VwKGF0dHJzKX0+YDtcbiAgICAgICAgfSxcbiAgICAgICAgcG9zdDogKCkgPT4gYDwvJHt0YWdOYW1lfT5gXG4gICAgfTtcbn0pO1xuXG5leHBvcnQgZGVmYXVsdCAoKSA9PiB7fTtcbiJdfQ==
|
@@ -1,10 +1,15 @@
|
|
1
1
|
import { getAttrMarkup, register } from '@wm/transpiler';
|
2
|
+
import { IDGenerator } from "@wm/core";
|
2
3
|
const tagName = 'div';
|
4
|
+
const idGen = new IDGenerator('wm_progress_circle');
|
3
5
|
register('wm-progress-circle', () => {
|
4
6
|
return {
|
5
|
-
pre: attrs =>
|
7
|
+
pre: (attrs) => {
|
8
|
+
const counter = idGen.nextUid();
|
9
|
+
return `<${tagName} wmProgressCircle #${counter}="wmProgressCircle" role="progressbar" [attr.aria-label]="${counter}.arialabel || 'circle-progress'" [attr.hint]="${counter}.hint" [attr.aria-valuetext]="${counter}.displayValue" [attr.aria-valuemin]="${counter}.minvalue" [attr.aria-valuemax]="${counter}.maxvalue" ${getAttrMarkup(attrs)}>`;
|
10
|
+
},
|
6
11
|
post: () => `</${tagName}>`
|
7
12
|
};
|
8
13
|
});
|
9
14
|
export default () => { };
|
10
|
-
//# sourceMappingURL=data:application/json;base64,
|
15
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvZ3Jlc3MtY2lyY2xlLmJ1aWxkLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29tcG9uZW50cy90cmFuc3BpbGUvc3JjL2Jhc2ljL3Byb2dyZXNzL3Byb2dyZXNzLWNpcmNsZS9wcm9ncmVzcy1jaXJjbGUuYnVpbGQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLGFBQWEsRUFBaUIsUUFBUSxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFDeEUsT0FBTyxFQUFDLFdBQVcsRUFBQyxNQUFNLFVBQVUsQ0FBQztBQUVyQyxNQUFNLE9BQU8sR0FBRyxLQUFLLENBQUM7QUFDdEIsTUFBTSxLQUFLLEdBQUcsSUFBSSxXQUFXLENBQUMsb0JBQW9CLENBQUMsQ0FBQztBQUVwRCxRQUFRLENBQUMsb0JBQW9CLEVBQUUsR0FBa0IsRUFBRTtJQUMvQyxPQUFPO1FBQ0gsR0FBRyxFQUFFLENBQUMsS0FBSyxFQUFFLEVBQUU7WUFDWCxNQUFNLE9BQU8sR0FBRyxLQUFLLENBQUMsT0FBTyxFQUFFLENBQUM7WUFDaEMsT0FBTyxJQUFJLE9BQU8sc0JB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T1cIiR7Y291bnRlcn0uZGlzcGxheVZhbHVlXCIgW2F0dHIuYXJpYS12YWx1ZW1pbl09XCIke2NvdW50ZXJ9Lm1pbnZhbHVlXCIgW2F0dHIuYXJpYS12YWx1ZW1heF09XCIke2NvdW50ZXJ9Lm1heHZhbHVlXCIgJHtnZXRBdHRyTWFya3VwKGF0dHJzKX0+YDtcbiAgICAgICAgfSxcbiAgICAgICAgcG9zdDogKCkgPT4gYDwvJHt0YWdOYW1lfT5gXG4gICAgfTtcbn0pO1xuXG5cbmV4cG9ydCBkZWZhdWx0ICgpID0+IHt9O1xuIl19
|
@@ -6,10 +6,10 @@ register('wm-richtexteditor', () => {
|
|
6
6
|
return {
|
7
7
|
pre: (attrs) => {
|
8
8
|
const counter = idGen.nextUid();
|
9
|
-
return `<${tagName} wmRichTextEditor #${counter}="wmRichTextEditor" role="textbox" [attr.aria-label]="${counter}.
|
9
|
+
return `<${tagName} wmRichTextEditor #${counter}="wmRichTextEditor" role="textbox" [attr.aria-label]="${counter}.arialabel || 'Richtext editor'" ${getFormMarkupAttr(attrs)}>`;
|
10
10
|
},
|
11
11
|
post: () => `</${tagName}>`
|
12
12
|
};
|
13
13
|
});
|
14
14
|
export default () => { };
|
15
|
-
//# sourceMappingURL=data:application/json;base64,
|
15
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmljaC10ZXh0LWVkaXRvci5idWlsZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvbXBvbmVudHMvdHJhbnNwaWxlL3NyYy9iYXNpYy9yaWNoLXRleHQtZWRpdG9yL3JpY2gtdGV4dC1lZGl0b3IuYnVpbGQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLGlCQUFpQixFQUFpQixRQUFRLEVBQUMsTUFBTSxnQkFBZ0IsQ0FBQztBQUMxRSxPQU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W4ubmV4dFVpZCgpXG4gICAgICAgICAgICByZXR1cm4gYDwke3RhZ05hbWV9IHdtUmljaFRleHRFZGl0b3IgIyR7Y291bnRlcn09XCJ3bVJpY2hUZXh0RWRpdG9yXCIgcm9sZT1cInRleHRib3hcIiBbYXR0ci5hcmlhLWxhYmVsXT1cIiR7Y291bnRlcn0uYXJpYWxhYmVsIHx8ICdSaWNodGV4dCBlZGl0b3InXCIgJHtnZXRGb3JtTWFya3VwQXR0cihhdHRycyl9PmA7XG4gICAgICAgIH0sXG4gICAgICAgIHBvc3Q6ICgpID0+IGA8LyR7dGFnTmFtZX0+YFxuICAgIH07XG59KTtcblxuZXhwb3J0IGRlZmF1bHQgKCkgPT4ge307XG4iXX0=
|
app-ng-runtime/build-task/esm2022/containers/accordion/accordion-pane/accordion-pane.build.mjs
CHANGED
@@ -6,10 +6,10 @@ register('wm-accordionpane', () => {
|
|
6
6
|
return {
|
7
7
|
pre: (attrs) => {
|
8
8
|
const counter = idGen.nextUid();
|
9
|
-
return `<${tagName} #${counter}="wmAccordionPane"
|
9
|
+
return `<${tagName} #${counter}="wmAccordionPane" wmAccordionPane partialContainer wm-navigable-element="true" ${getAttrMarkup(attrs)}>`;
|
10
10
|
},
|
11
11
|
post: () => `</${tagName}>`
|
12
12
|
};
|
13
13
|
});
|
14
14
|
export default () => { };
|
15
|
-
//# sourceMappingURL=data:application/json;base64,
|
15
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWNjb3JkaW9uLXBhbmUuYnVpbGQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb21wb25lbnRzL3RyYW5zcGlsZS9zcmMvY29udGFpbmVycy9hY2NvcmRpb24vYWNjb3JkaW9uLXBhbmUvYWNjb3JkaW9uLXBhbmUuYnVpbGQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBT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PiB7XG4gICAgICAgICAgICBjb25zdCBjb3VudGVyID0gaWRHZW4ubmV4dFVpZCgpO1xuICAgICAgICAgICAgcmV0dXJuIGA8JHt0YWdOYW1lfSAjJHtjb3VudGVyfT1cIndtQWNjb3JkaW9uUGFuZVwiIHdtQWNjb3JkaW9uUGFuZSBwYXJ0aWFsQ29udGFpbmVyIHdtLW5hdmlnYWJsZS1lbGVtZW50PVwidHJ1ZVwiICR7Z2V0QXR0ck1hcmt1cChhdHRycyl9PmA7XG4gICAgICAgIH0sXG4gICAgICAgIHBvc3Q6ICgpID0+IGA8LyR7dGFnTmFtZX0+YFxuICAgIH07XG59KTtcblxuZXhwb3J0IGRlZmF1bHQgKCkgPT4ge307XG4iXX0=
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { getAttrMarkup,
|
1
|
+
import { getAttrMarkup, getBoundToExpr, register } from '@wm/transpiler';
|
2
2
|
import { IDGenerator, updateTemplateAttrs } from '@wm/core';
|
3
3
|
const tagName = 'div';
|
4
4
|
const dataSetKey = 'dataset';
|
@@ -10,7 +10,7 @@ register('wm-accordion', () => {
|
|
10
10
|
// generating unique Id for the accordion
|
11
11
|
const counter = idGen.nextUid();
|
12
12
|
shared.set('accordion_ref', counter);
|
13
|
-
return `<${tagName} wmAccordion #${counter}="wmAccordion"
|
13
|
+
return `<${tagName} wmAccordion #${counter}="wmAccordion" ${getAttrMarkup(attrs)}>`;
|
14
14
|
},
|
15
15
|
post: () => `</${tagName}>`,
|
16
16
|
template: (node, shared) => {
|
@@ -37,4 +37,4 @@ register('wm-accordion', () => {
|
|
37
37
|
};
|
38
38
|
});
|
39
39
|
export default () => { };
|
40
|
-
//# sourceMappingURL=data:application/json;base64,
|
40
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWNjb3JkaW9uLmJ1aWxkLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHM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jb3JkaW9uXCIgJHtnZXRBdHRyTWFya3VwKGF0dHJzKX0+YDtcbiAgICAgICAgfSxcbiAgICAgICAgcG9zdDogKCkgPT4gYDwvJHt0YWdOYW1lfT5gLFxuICAgICAgICB0ZW1wbGF0ZTogKG5vZGU6IEVsZW1lbnQsIHNoYXJlZCkgPT4ge1xuICAgICAgICAgICAgLy8gY2hlY2sgaWYgdGhlIGFjY29yZGlvbiBpcyBkeW5hbWljXG4gICAgICAgICAgICBpZiAoaXNEeW5hbWljQWNjb3JkaW9uKG5vZGUpKSB7XG4gICAgICAgICAgICAgICAgY29uc3QgZGF0YXNldEF0dHIgPSBub2RlLmF0dHJzLmZpbmQoYXR0ciA9PiBhdHRyLm5hbWUgPT09IGRhdGFTZXRLZXkpO1xuICAgICAgICAgICAgICAgIGNvbnN0IHdpZGdldE5hbWVBdHRyID0gbm9kZS5hdHRycy5maW5kKGF0dHIgPT4gYXR0ci5uYW1lID09PSAnbmFtZScpO1xuXG4gICAgICAgICAgICAgICAgaWYgKCFkYXRhc2V0QXR0cikge1xuICAgICAgICAgICAgICAgICAgICByZXR1cm47XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIGNvbnN0IGJvdW5kRXhwciA9IGdldEJvdW5kVG9FeHByKGRhdGFzZXRBdHRyLnZhbHVlKTtcblxuICAgICAgICAgICAgICAgIGlmICghYm91bmRFeHByKSB7XG4gICAgICAgICAgICAgICAgICAgIHJldHVybjtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgdXBkYXRlVGVtcGxhdGVBdHRycyhub2RlLCBib3VuZEV4cHIsIHdpZGdldE5hbWVBdHRyLnZhbHVlKTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgfSxcbiAgICAgICAgLy8gVG8gcHJvdmlkZSBwYXJlbnQgYWNjb3JkaW9uIHJlZmVyZW5jZSBmb3IgY2hpbGRyZW5cbiAgICAgICAgcHJvdmlkZTogKGF0dHJzLCBzaGFyZWQpID0+IHtcbiAgICAgICAgICAgIGNvbnN0IHByb3ZpZGVyID0gbmV3IE1hcCgpO1xuICAgICAgICAgICAgcHJvdmlkZXIuc2V0KCdhY2NvcmRpb25fcmVmJywgc2hhcmVkLmdldCgnYWNjb3JkaW9uX3JlZicpKTtcbiAgICAgICAgICAgIHJldHVybiBwcm92aWRlcjtcbiAgICAgICAgfVxuICAgIH07XG59KTtcblxuZXhwb3J0IGRlZmF1bHQgKCkgPT4ge307XG4iXX0=
|
@@ -2,9 +2,9 @@ import { getAttrMarkup, register } from '@wm/transpiler';
|
|
2
2
|
const tagName = 'div';
|
3
3
|
register('wm-tile', () => {
|
4
4
|
return {
|
5
|
-
pre: attrs => `<${tagName} wmTile
|
5
|
+
pre: attrs => `<${tagName} wmTile wm-navigable-element="true" ${getAttrMarkup(attrs)}>`,
|
6
6
|
post: () => `</${tagName}>`
|
7
7
|
};
|
8
8
|
});
|
9
9
|
export default () => { };
|
10
|
-
//# sourceMappingURL=data:application/json;base64,
|
10
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGlsZS5idWlsZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvbXBvbmVudHMvdHJhbnNwaWxlL3NyYy9jb250YWluZXJzL3RpbGUvdGlsZS5idWlsZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUMsYUFBYSxFQUFpQixRQUFRLEVBQUMsTUFBTSxnQkFBZ0IsQ0FBQztBQUV0RSxNQUFPLE9BQU8sR0FBRyxLQUFLLENBQUM7QUFFdkIsUUFBUSxDQUFDLFNBQVMsRUFBRSxHQUFrQixFQUFFO0lBQ3BDLE9BQU87UUFDSCxHQUFHLEVBQUUsS0FBSyxDQUFDLEVBQUUsQ0FBQyxJQUFJLE9BQU8sdUNBQXVDLGFBQWEsQ0FBQyxLQUFLLENBQUMsR0F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