@wavemaker/app-ng-runtime 12.0.0-next.45102 → 12.0.0-next.45127
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 +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 +8 -2
- app-ng-runtime/components/base/esm2022/pipes/custom-pipes.mjs +3 -3
- app-ng-runtime/components/base/esm2022/utils/live-utils.mjs +8 -2
- app-ng-runtime/components/base/fesm2022/index.mjs +8 -2
- app-ng-runtime/components/base/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/base/pipes/custom-pipes.d.ts +1 -1
- app-ng-runtime/components/base/widgets/common/base/base-field-validations.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/containers/wizard/bundles/index.umd.js +17 -0
- app-ng-runtime/components/containers/wizard/esm2022/wizard.component.mjs +18 -1
- app-ng-runtime/components/containers/wizard/fesm2022/index.mjs +17 -0
- app-ng-runtime/components/containers/wizard/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/containers/wizard/wizard.component.d.ts +1 -0
- app-ng-runtime/components/data/form/bundles/index.umd.js +4 -0
- app-ng-runtime/components/data/form/esm2022/form-field/form-field.directive.mjs +5 -3
- app-ng-runtime/components/data/form/fesm2022/index.mjs +4 -2
- app-ng-runtime/components/data/form/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/data/form/form-field/form-field.directive.d.ts +1 -0
- 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 +44 -10
- 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 +30 -7
- app-ng-runtime/components/data/table/esm2022/table.props.mjs +3 -1
- app-ng-runtime/components/data/table/fesm2022/index.mjs +45 -11
- app-ng-runtime/components/data/table/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/data/table/table.component.d.ts +8 -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 +20 -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 +13 -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 +20 -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 +206 -110
- 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/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 +60 -30
- 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 +51 -14
- 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 +9 -6
- app-ng-runtime/components/input/default/esm2022/textarea/textarea.props.mjs +2 -1
- app-ng-runtime/components/input/default/fesm2022/index.mjs +206 -110
- 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 +4 -4
- 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 +4 -2
- app-ng-runtime/components/input/epoch/bundles/index.umd.js +15 -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 +10 -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 +15 -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 +208 -95
- app-ng-runtime/components/input/file-upload/esm2022/file-upload.component.mjs +206 -98
- app-ng-runtime/components/input/file-upload/esm2022/file-upload.props.mjs +6 -1
- app-ng-runtime/components/input/file-upload/fesm2022/index.mjs +209 -96
- 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 +17 -11
- 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 +10 -8
- app-ng-runtime/components/navigation/menu/esm2022/menu.component.mjs +9 -8
- app-ng-runtime/components/navigation/menu/esm2022/menu.props.mjs +2 -1
- app-ng-runtime/components/navigation/menu/esm2022/nav/nav.component.mjs +2 -2
- app-ng-runtime/components/navigation/menu/fesm2022/index.mjs +10 -8
- 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 +12 -9
- 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 +5 -4
- app-ng-runtime/core/fesm2022/index.mjs +12 -10
- 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/locales/moment-timezone/moment-timezone-with-data.js +37 -37
- 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/mobile/core/bundles/index.umd.js +18 -2
- app-ng-runtime/mobile/core/esm2022/native.xhr.mjs +19 -3
- app-ng-runtime/mobile/core/fesm2022/index.mjs +18 -2
- app-ng-runtime/mobile/core/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/package.json +1 -1
- app-ng-runtime/runtime/base/bundles/index.umd.js +7 -5
- 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/esm2022/services/i18n.service.mjs +2 -2
- app-ng-runtime/runtime/base/fesm2022/index.mjs +7 -5
- 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/runtime/base/services/i18n.service.d.ts +1 -1
- app-ng-runtime/scripts/@wavemaker/nvd3/build/nv.d3.min.js +1 -1
- app-ng-runtime/scripts/datatable/datatable.js +29 -29
- app-ng-runtime/scripts/summernote/dist/summernote-lite.min.js +2 -3
@@ -6,13 +6,13 @@
|
|
6
6
|
|
7
7
|
const carouselTagName = 'carousel';
|
8
8
|
const dataSetKey$5 = 'dataset';
|
9
|
-
const idGen$
|
9
|
+
const idGen$u = 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$u.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$1C = 'a';
|
117
|
-
const idGen$
|
117
|
+
const idGen$t = 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$1C} wmAnchor #${counter}="wmAnchor" role="link" data-identifier="anchor" [attr.aria-label]="${counter}.
|
121
|
+
const counter = idGen$t.nextUid();
|
122
|
+
return `<${tagName$1C} 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$1C}>`
|
125
125
|
};
|
@@ -146,12 +146,12 @@
|
|
146
146
|
});
|
147
147
|
|
148
148
|
const tagName$1A = 'div';
|
149
|
-
const idGen$
|
149
|
+
const idGen$s = 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$1A} wmHtml #${counter}="wmHtml" [attr.aria-label]="${counter}.
|
153
|
+
const counter = idGen$s.nextUid();
|
154
|
+
return `<${tagName$1A} wmHtml #${counter}="wmHtml" role="application" [attr.aria-label]="${counter}.arialabel || 'HTML content'" ${transpiler.getAttrMarkup(attrs)}>`;
|
155
155
|
},
|
156
156
|
post: () => `</${tagName$1A}>`
|
157
157
|
};
|
@@ -166,7 +166,7 @@
|
|
166
166
|
const tagName$1z = 'span';
|
167
167
|
transpiler.register('wm-icon', () => {
|
168
168
|
return {
|
169
|
-
pre: attrs => `<${tagName$1z} wmIcon
|
169
|
+
pre: attrs => `<${tagName$1z} wmIcon ${transpiler.getAttrMarkup(attrs)}>`,
|
170
170
|
post: () => `</${tagName$1z}>`
|
171
171
|
};
|
172
172
|
});
|
@@ -192,7 +192,7 @@
|
|
192
192
|
});
|
193
193
|
|
194
194
|
let tagName$1x = 'p';
|
195
|
-
const idGen$
|
195
|
+
const idGen$r = 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$1x = 'label';
|
208
208
|
}
|
209
|
-
const counter = idGen$
|
210
|
-
return `<${tagName$1x} wmLabel #${counter}="wmLabel"
|
209
|
+
const counter = idGen$r.nextUid();
|
210
|
+
return `<${tagName$1x} wmLabel #${counter}="wmLabel" ${transpiler.getAttrMarkup(attrs)}>`;
|
211
211
|
},
|
212
212
|
post: () => `</${tagName$1x}>`
|
213
213
|
};
|
@@ -220,12 +220,12 @@
|
|
220
220
|
});
|
221
221
|
|
222
222
|
const tagName$1w = 'img';
|
223
|
-
const idGen$
|
223
|
+
const idGen$q = 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$1w} wmPicture #${counter}="wmPicture" alt="
|
227
|
+
const counter = idGen$q.nextUid();
|
228
|
+
return `<${tagName$1w} 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$1v = 'div';
|
240
|
-
const idGen$
|
240
|
+
const idGen$p = 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$1v} wmSpinner #${counter}="wmSpinner" role="alert" [attr.aria-label]="${counter}.
|
244
|
+
const counter = idGen$p.nextUid();
|
245
|
+
return `<${tagName$1v} 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$1v}>`
|
248
248
|
};
|
@@ -294,9 +294,13 @@
|
|
294
294
|
});
|
295
295
|
|
296
296
|
const tagName$1t = 'div';
|
297
|
+
const idGen$o = 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$o.nextUid();
|
302
|
+
return `<${tagName$1t} 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$1t}>`
|
301
305
|
};
|
302
306
|
});
|
@@ -313,7 +317,7 @@
|
|
313
317
|
return {
|
314
318
|
pre: (attrs) => {
|
315
319
|
const counter = idGen$n.nextUid();
|
316
|
-
return `<${tagName$1s} wmRichTextEditor #${counter}="wmRichTextEditor" role="textbox" [attr.aria-label]="${counter}.
|
320
|
+
return `<${tagName$1s} wmRichTextEditor #${counter}="wmRichTextEditor" role="textbox" [attr.aria-label]="${counter}.arialabel || 'Richtext editor'" ${transpiler.getFormMarkupAttr(attrs)}>`;
|
317
321
|
},
|
318
322
|
post: () => `</${tagName$1s}>`
|
319
323
|
};
|
@@ -678,7 +682,7 @@
|
|
678
682
|
const tagName$19 = 'div';
|
679
683
|
transpiler.register('wm-tile', () => {
|
680
684
|
return {
|
681
|
-
pre: attrs => `<${tagName$19} wmTile
|
685
|
+
pre: attrs => `<${tagName$19} wmTile wm-navigable-element="true" ${transpiler.getAttrMarkup(attrs)}>`,
|
682
686
|
post: () => `</${tagName$19}>`
|
683
687
|
};
|
684
688
|
});
|
@@ -728,7 +732,7 @@
|
|
728
732
|
return {
|
729
733
|
pre: (attrs) => {
|
730
734
|
const counter = idGen$h.nextUid();
|
731
|
-
return `<${tagName$16} wmBarcodescanner #${counter}="wmBarcodescanner" [attr.aria-label]="${counter}.
|
735
|
+
return `<${tagName$16} wmBarcodescanner #${counter}="wmBarcodescanner" [attr.aria-label]="${counter}.arialabel || 'Barcode scanner'" ${transpiler.getAttrMarkup(attrs)}>`;
|
732
736
|
},
|
733
737
|
post: () => `</${tagName$16}>`
|
734
738
|
};
|
@@ -746,7 +750,7 @@
|
|
746
750
|
return {
|
747
751
|
pre: (attrs) => {
|
748
752
|
const counter = idGen$g.nextUid();
|
749
|
-
return `<${tagName$15} type='button' wmCamera #${counter}="wmCamera" [attr.aria-label]="${counter}.
|
753
|
+
return `<${tagName$15} type='button' wmCamera #${counter}="wmCamera" [attr.aria-label]="${counter}.arialabel || 'Camera'" ${transpiler.getAttrMarkup(attrs)}>`;
|
750
754
|
},
|
751
755
|
post: () => `</${tagName$15}>`
|
752
756
|
};
|
@@ -761,7 +765,7 @@
|
|
761
765
|
const tagName$14 = 'div';
|
762
766
|
transpiler.register('wm-alertdialog', () => {
|
763
767
|
return {
|
764
|
-
pre: attrs => `<${tagName$14} wmAlertDialog
|
768
|
+
pre: attrs => `<${tagName$14} wmAlertDialog wm-navigable-element="true" ${transpiler.getAttrMarkup(attrs)}>`,
|
765
769
|
post: () => `</${tagName$14}>`
|
766
770
|
};
|
767
771
|
});
|
@@ -1077,7 +1081,7 @@
|
|
1077
1081
|
const dataRole = isFormField ? 'form-field' : 'filter-field';
|
1078
1082
|
const formFieldErrorMsgId = 'wmform-field-error-' + core.generateGUId();
|
1079
1083
|
const validationMsg = isFormField ? `<p *ngIf="${counter}._control?.invalid && ${counter}._control?.touched && ${pCounter}.isUpdateMode"
|
1080
|
-
class="help-block text-danger" aria-hidden="false"
|
1084
|
+
class="help-block text-danger" aria-hidden="false" role="alert"
|
1081
1085
|
aria-live="assertive" [attr.aria-label]="${counter}.validationmessage" id="${formFieldErrorMsgId}"><span aria-hidden="true" [textContent]="${counter}.validationmessage"></span></p>` : '';
|
1082
1086
|
const eventsTmpl = widgetType === core.FormWidgetType.UPLOAD ? '' : getEventsTemplate(attrs);
|
1083
1087
|
const controlLayout = core.isMobileApp() ? 'col-xs-12' : 'col-sm-12';
|
@@ -1306,7 +1310,7 @@
|
|
1306
1310
|
return {
|
1307
1311
|
pre: (attrs) => {
|
1308
1312
|
let viewType = attrs.get('view') ? attrs.get('view') + ' view' : 'month view';
|
1309
|
-
return `<${tagName$W} wmCalendar redrawable style="width:100%" aria-label="${viewType}" ${transpiler.getAttrMarkup(attrs)}>`;
|
1313
|
+
return `<${tagName$W} wmCalendar redrawable style="width:100%" role="region" aria-label="${viewType}" ${transpiler.getAttrMarkup(attrs)}>`;
|
1310
1314
|
},
|
1311
1315
|
post: () => `</${tagName$W}>`
|
1312
1316
|
};
|
@@ -1335,7 +1339,7 @@
|
|
1335
1339
|
const tagName$U = 'div';
|
1336
1340
|
transpiler.register('wm-colorpicker', () => {
|
1337
1341
|
return {
|
1338
|
-
pre: attrs => `<${tagName$U} wmColorPicker ${transpiler.getAttrMarkup(attrs)}
|
1342
|
+
pre: attrs => `<${tagName$U} wmColorPicker ${transpiler.getAttrMarkup(attrs)} ${transpiler.getChildAttrs(attrs)} ${core.getNgModelAttr(attrs)}>`,
|
1339
1343
|
post: () => `</${tagName$U}>`
|
1340
1344
|
};
|
1341
1345
|
});
|
@@ -1349,7 +1353,7 @@
|
|
1349
1353
|
const tagName$T = 'div';
|
1350
1354
|
transpiler.register('wm-currency', () => {
|
1351
1355
|
return {
|
1352
|
-
pre: attrs => `<${tagName$T} wmCurrency ${transpiler.getAttrMarkup(attrs)}
|
1356
|
+
pre: attrs => `<${tagName$T} wmCurrency ${transpiler.getAttrMarkup(attrs)} ${transpiler.getChildAttrs(attrs)} ${core.getNgModelAttr(attrs)}>`,
|
1353
1357
|
post: () => `</${tagName$T}>`
|
1354
1358
|
};
|
1355
1359
|
});
|
@@ -1363,7 +1367,7 @@
|
|
1363
1367
|
const tagName$S = 'div';
|
1364
1368
|
transpiler.register('wm-buttongroup', () => {
|
1365
1369
|
return {
|
1366
|
-
pre: attrs => `<${tagName$S} wmButtonGroup role="group"
|
1370
|
+
pre: attrs => `<${tagName$S} wmButtonGroup role="group" ${transpiler.getAttrMarkup(attrs)}>`,
|
1367
1371
|
post: () => `</${tagName$S}>`
|
1368
1372
|
};
|
1369
1373
|
});
|
@@ -1380,7 +1384,7 @@
|
|
1380
1384
|
return {
|
1381
1385
|
pre: (attrs) => {
|
1382
1386
|
const counter = idGen$d.nextUid();
|
1383
|
-
return `<${tagName$R} wmButton #${counter}="wmButton" [attr.aria-label]="${counter}.
|
1387
|
+
return `<${tagName$R} wmButton #${counter}="wmButton" [attr.aria-label]="${counter}.arialabel || (${counter}.badgevalue ? ${counter}.caption + ' ' + ${counter}.badgevalue : ${counter}.caption) || null" ${transpiler.getAttrMarkup(attrs)}>`;
|
1384
1388
|
},
|
1385
1389
|
post: () => `</${tagName$R}>`
|
1386
1390
|
};
|
@@ -1482,7 +1486,7 @@
|
|
1482
1486
|
return {
|
1483
1487
|
pre: (attrs) => {
|
1484
1488
|
const counter = idGen$c.nextUid();
|
1485
|
-
return `<${tagName$K} wmSwitch #${counter}="wmSwitch" [attr.aria-label]="${counter}.
|
1489
|
+
return `<${tagName$K} wmSwitch #${counter}="wmSwitch" role="group" [attr.aria-label]="${counter}.arialabel || 'Switch choose options'" ${transpiler.getFormMarkupAttr(attrs)} ${core.getNgModelAttr(attrs)}>`;
|
1486
1490
|
},
|
1487
1491
|
post: () => `</${tagName$K}>`
|
1488
1492
|
};
|
@@ -1572,6 +1576,10 @@
|
|
1572
1576
|
const onSelectBinding = transpiler.getDataSource(attrs.get('select.event'));
|
1573
1577
|
attrs.set('datasource.bind', onSelectBinding);
|
1574
1578
|
}
|
1579
|
+
if (attrs.get('delete.event')) {
|
1580
|
+
const onDeleteBinding = transpiler.getDataSource(attrs.get('delete.event'));
|
1581
|
+
attrs.set('deletedatasource.bind', onDeleteBinding);
|
1582
|
+
}
|
1575
1583
|
return `<${tagName$E} wmFileUpload ${transpiler.getAttrMarkup(attrs)} role="input">`;
|
1576
1584
|
},
|
1577
1585
|
post: () => `</${tagName$E}>`
|
@@ -1989,7 +1997,7 @@
|
|
1989
1997
|
},
|
1990
1998
|
pre: (attrs) => {
|
1991
1999
|
const counter = idGen$9.nextUid();
|
1992
|
-
return `<${tagName$r} wmPage #${counter}="wmPage" data-role="pageContainer" [attr.aria-label]="${counter}.
|
2000
|
+
return `<${tagName$r} wmPage #${counter}="wmPage" data-role="pageContainer" [attr.aria-label]="${counter}.arialabel" ${transpiler.getAttrMarkup(attrs)}>`;
|
1993
2001
|
},
|
1994
2002
|
post: () => `</${tagName$r}>`
|
1995
2003
|
};
|
@@ -2007,7 +2015,7 @@
|
|
2007
2015
|
return {
|
2008
2016
|
pre: (attrs) => {
|
2009
2017
|
const counter = idGen$8.nextUid();
|
2010
|
-
return `<${tagName$q} wmLayout #${counter}="wmLayout" data-role="pageContainer" [attr.aria-label]="${counter}.
|
2018
|
+
return `<${tagName$q} wmLayout #${counter}="wmLayout" data-role="pageContainer" [attr.aria-label]="${counter}.arialabel" ${transpiler.getAttrMarkup(attrs)}>`;
|
2011
2019
|
},
|
2012
2020
|
post: () => `</${tagName$q}>`
|
2013
2021
|
};
|
@@ -2067,7 +2075,7 @@
|
|
2067
2075
|
return {
|
2068
2076
|
pre: (attrs) => {
|
2069
2077
|
const counter = idGen$7.nextUid();
|
2070
|
-
return `<${tagName$m} wmFooter #${counter}="wmFooter" partialContainer data-role="page-footer" role="contentinfo" [attr.aria-label]="${counter}.
|
2078
|
+
return `<${tagName$m} wmFooter #${counter}="wmFooter" partialContainer data-role="page-footer" role="contentinfo" [attr.aria-label]="${counter}.arialabel || 'Page footer'" ${transpiler.getAttrMarkup(attrs)}>`;
|
2071
2079
|
},
|
2072
2080
|
post: () => `</${tagName$m}>`
|
2073
2081
|
};
|
@@ -2085,7 +2093,7 @@
|
|
2085
2093
|
return {
|
2086
2094
|
pre: (attrs) => {
|
2087
2095
|
const counter = idGen$6.nextUid();
|
2088
|
-
return `<${tagName$l} wmHeader #${counter}="wmHeader" partialContainer data-role="page-header" role="banner" [attr.aria-label]="${counter}.
|
2096
|
+
return `<${tagName$l} wmHeader #${counter}="wmHeader" partialContainer data-role="page-header" role="banner" [attr.aria-label]="${counter}.arialabel || 'Page header'" ${transpiler.getAttrMarkup(attrs)}>`;
|
2089
2097
|
},
|
2090
2098
|
post: () => `</${tagName$l}>`
|
2091
2099
|
};
|
@@ -2103,7 +2111,7 @@
|
|
2103
2111
|
return {
|
2104
2112
|
pre: (attrs) => {
|
2105
2113
|
const counter = idGen$5.nextUid();
|
2106
|
-
return `<${tagName$k} wmLeftPanel #${counter}="wmLeftPanel" partialContainer data-role="page-left-panel" [attr.aria-label]="${counter}.
|
2114
|
+
return `<${tagName$k} 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)}>`;
|
2107
2115
|
},
|
2108
2116
|
post: () => `</${tagName$k}>`
|
2109
2117
|
};
|
@@ -2135,7 +2143,7 @@
|
|
2135
2143
|
return {
|
2136
2144
|
pre: (attrs) => {
|
2137
2145
|
const counter = idGen$4.nextUid();
|
2138
|
-
return `<${tagName$i} wmRightPanel #${counter}="wmRightPanel" partialContainer data-role="page-right-panel" role="complementary" [attr.aria-label]="${counter}.
|
2146
|
+
return `<${tagName$i} wmRightPanel #${counter}="wmRightPanel" partialContainer data-role="page-right-panel" role="complementary" [attr.aria-label]="${counter}.arialabel || 'Right navigation panel'" ${transpiler.getAttrMarkup(attrs)}>`;
|
2139
2147
|
},
|
2140
2148
|
post: () => `</${tagName$i}>`
|
2141
2149
|
};
|
@@ -2201,7 +2209,7 @@
|
|
2201
2209
|
return {
|
2202
2210
|
pre: (attrs) => {
|
2203
2211
|
const counter = idGen$3.nextUid();
|
2204
|
-
return `<${tagName$f} wmTopNav #${counter}="wmTopNav" partialContainer data-role="page-topnav" role="navigation" [attr.aria-label]="${counter}.
|
2212
|
+
return `<${tagName$f} wmTopNav #${counter}="wmTopNav" partialContainer data-role="page-topnav" role="navigation" [attr.aria-label]="${counter}.arialabel || 'Second level navigation'" ${transpiler.getAttrMarkup(attrs)}>`;
|
2205
2213
|
},
|
2206
2214
|
post: () => `</${tagName$f}>`
|
2207
2215
|
};
|
@@ -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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYW5jaG9yLmJ1aWxkLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29tcG9uZW50cy90cmFuc3BpbGUvc3JjL2Jhc2ljL2RlZmF1bHQvYW5jaG9yL2FuY2hvci5idWlsZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUMsYUFBYSxFQUFpQixRQUFRLEVBQUMsTUFBTSxnQkFBZ0IsQ0FBQztBQUN0RSxPQUFPLEVBQUMsV0FBVyxFQUFDLE1BQU0sVUFBVSxDQUFDO0FBRXJDLE1BQU0sT0FBTyxHQUFHLEdBQUcsQ0FBQztBQUNwQixNQUFNLEtBQUssR0FBRyxJQUFJLFdBQVcsQ0FBQyxXQUFXLENBQUMsQ0FBQztBQUUzQyxRQUFRLENBQUMsV0FBVyxFQUFFLEdBQWtCLEVBQUU7SUFDdEMsT0F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Rlcn0uYXJpYWxhYmVsIHx8ICgke2NvdW50ZXJ9LmJhZGdldmFsdWUgPyAke2NvdW50ZXJ9LmNhcHRpb24gKyAnICcgKyAke2NvdW50ZXJ9LmJhZGdldmFsdWUgOiAke2NvdW50ZXJ9LmNhcHRpb24pIHx8IG51bGxcIiAke2dldEF0dHJNYXJrdXAoYXR0cnMpfT5gO1xuICAgICAgICB9LFxuICAgICAgICBwb3N0OiAoKSA9PiBgPC8ke3RhZ05hbWV9PmBcbiAgICB9O1xufSk7XG5cbmV4cG9ydCBkZWZhdWx0ICgpID0+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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaHRtbC5idWlsZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvbXBvbmVudHMvdHJhbnNwaWxlL3NyYy9iYXNpYy9kZWZhdWx0L2h0bWwvaHRtbC5idWlsZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUMsYUFBYSxFQUFpQixRQUFRLEVBQUMsTUFBTSxnQkFBZ0IsQ0FBQztBQUN0RSxPQUFPLEVBQUMsV0FBVyxFQUFDLE1BQU0sVUFBVSxDQUFDO0FBRXJDLE1BQU0sT0FBTyxH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W2F0dHIuYXJpYS1sYWJlbF09XCIke2NvdW50ZXJ9LmFyaWFsYWJlbCB8fCAnSFRNTCBjb250ZW50J1wiICR7Z2V0QXR0ck1hcmt1cChhdHRycyl9PmA7XG4gICAgICAgIH0sXG4gICAgICAgIHBvc3Q6ICgpID0+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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGFiZWwuYnVpbGQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb21wb25lbnRzL3RyYW5zcGlsZS9zcmMvYmFzaWMvZGVmYXVsdC9sYWJlbC9sYWJlbC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YXR0cnMuZ2V0KCdjbGFzcycpLnNwbGl0KCcgJykuZmlsdGVyKGVsZW1lbnQgPT4gW1wiaDFcIixcImgyXCIsXCJoM1wiLFwiaDRcIixcImg1XCIsXCJoNlwiLFwicFwiXS5pbmNsdWRlcyhlbGVtZW50KSk6W107XG4gICAgICAgICAgICBhdHRycy5zZXQoJ3R5cGUnLGNsYXNzTGlzdC5sZW5ndGggPyBjbGFzc0xpc3RbMF0gOiAgXCJwXCIpO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIHRhZ05hbWU9IGF0dHJzLmdldCgndHlwZScpO1xuICAgICAgICAgICAgfVxuICAgICAgICAgICAgZWxzZXtcbiAgICAgICAgICAgICAgICB0YWdOYW1lPSdsYWJlbCc7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICBjb25zdCBjb3VudGVyID0gaWRHZW4ubmV4dFVpZCgpO1xuICAgICAgICAgICAgcmV0dXJuIGA8JHt0YWdOYW1lfSB3bUxhYmVsICMke2NvdW50ZXJ9PVwid21MYWJlbFwiICR7Z2V0QXR0ck1hcmt1cChhdHRycyl9PmA7XG4gICAgICAgIH0sXG4gICAgICAgIHBvc3Q6ICgpID0+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=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HJhbnNwaWxlcic7XG5pbXBvcnQge0lER2VuZXJhdG9yfSBmcm9tIFwiQHdtL2NvcmVcIjtcblxuY29uc3QgdGFnTmFtZSA9ICdpbWcnO1xuY29uc3QgaWRHZW4gPSBuZXcgSURHZW5lcmF0b3IoJ3dtX3BpY3R1cmUnKTtcblxucmVnaXN0ZXIoJ3dtLXBpY3R1cmUnLCAoKTogSUJ1aWxkVGFza0RlZiA9PiB7XG4gICAgcmV0dXJuIHtcbiAgICAgICAgcHJlOiAoYXR0cnMpID0+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
|
-
//# sourceMapp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ZXJ9IGZyb20gJ0B3bS90cmFuc3BpbGVyJztcbmltcG9ydCB7SURHZW5lcmF0b3J9IGZyb20gXCJAd20vY29yZVwiO1xuXG5jb25zdCB0YWdOYW1lID0gJ2Rpdic7XG5jb25zdCBpZEdlbiA9IG5ldyBJREdlbmVyYXRvcignd21fc3Bpbm5lcicpO1xuXG5yZWdpc3Rlcignd20tc3Bpbm5lcicsICgpOiBJQnVpbGRUYXNrRGVmID0+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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvZ3Jlc3MtY2lyY2xlLmJ1aWxkLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29tcG9uZW50cy90cmFuc3BpbGUvc3JjL2Jhc2ljL3Byb2dyZXNzL3Byb2dyZXNzLWNpcmNsZS9wcm9ncmVzcy1jaXJjbGUuYnVpbGQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLGFBQWEsRUFBaUIsUUFBUSxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFDeEUsT0FBTyxFQUFDLFdBQVcsRUFBQyxNQUFNLFVBQVUsQ0FBQztBQUVyQyxNQUFNLE9BQU8sR0FBRyxLQUFLLENBQUM7QUFDdEIsTUFBTSxLQUFLLEdBQUcsSUFBSSxXQUFXLENBQUMsb0JBQW9CLENBQUMsQ0FBQztBQUVwRCxRQUFRLENBQUMsb0JBQW9CLEVBQUUsR0FBa0IsRUFBRTtJQUMvQyxPQUFPO1FBQ0gsR0FBRyxFQUFFLENBQUMsS0FBSyxFQUFFLEVBQUU7WUFDWCxNQUFNLE9BQU8sR0FBRyxLQUFLLENBQUMsT0FBTyxFQUFFLENBQUM7WUFDaEMsT0FBTyxJQUFJLE9BQU8sc0JBQXNCLE9BQU8sNkRBQTZELE9BQU8saURBQWlELE9BQU8saUNBQWlDLE9BQU8sd0NBQXdDLE9BQU8sb0NBQW9DLE9BQU8s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ZhbHVlXCIgW2F0dHIuYXJpYS12YWx1ZW1heF09XCIke2NvdW50ZXJ9Lm1heHZhbHVlXCIgJHtnZXRBdHRyTWFya3VwKGF0dHJzKX0+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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmljaC10ZXh0LWVkaXRvci5idWlsZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvbXBvbmVudHMvdHJhbnNwaWxlL3NyYy9iYXNpYy9yaWNoLXRleHQtZWRpdG9yL3JpY2gtdGV4dC1lZGl0b3IuYnVpbGQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLGlCQUFpQixFQUFpQixRQUFRLEVBQUMsTUFBTSxnQkFBZ0IsQ0FBQztBQUMxRSxPQUFPLEVBQUMsV0FBVyxFQUFDLE1BQU0sVUFBVSxDQUFDO0FBRXJDLE1BQU0sT0FBTyxHQUFHLEtBQUssQ0FBQztBQU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n09XCJ3bVJpY2hUZXh0RWRpdG9yXCIgcm9sZT1cInRleHRib3hcIiBbYXR0ci5hcmlhLWxhYmVsXT1cIiR7Y291bnRlcn0uYXJpYWxhYmVsIHx8ICdSaWNodGV4dCBlZGl0b3InXCIgJHtnZXRGb3JtTWFya3VwQXR0cihhdHRycyl9PmA7XG4gICAgICAgIH0sXG4gICAgICAgIHBvc3Q6ICgpID0+IGA8LyR7dGFnTmFtZX0+YFxuICAgIH07XG59KTtcblxuZXhwb3J0IGRlZmF1bHQgKCkgPT4ge307XG4iXX0=
|
@@ -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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGlsZS5idWlsZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvbXBvbmVudHMvdHJhbnNwaWxlL3NyYy9jb250YWluZXJzL3RpbGUvdGlsZS5idWlsZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUMsYUFBYSxFQUFpQixRQUFRLEVBQUMsTUFBTSxnQkFBZ0IsQ0FBQztBQUV0RSxNQUFPLE9BQU8sR0FBRyxLQUFLLENBQUM7QUFFdkIsUUFBUSxDQUFDLFNBQVMsRUFBRSxHQUFrQixFQUFFO0lBQ3BDLE9BQU87UUFDSCxHQUFHLEVBQUUsS0FBSyxDQUFDLEVBQUUsQ0FBQyxJQUFJLE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