@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
@@ -1,6 +1,6 @@
|
|
1
1
|
import { PipeTransform } from '@angular/core';
|
2
2
|
import { DatePipe, DecimalPipe } from '@angular/common';
|
3
|
-
import {
|
3
|
+
import { AbstractI18nService, CustomPipeManager } from '@wm/core';
|
4
4
|
import { WmPipe } from "./wm-pipe";
|
5
5
|
import * as i0 from "@angular/core";
|
6
6
|
export declare class TrailingZeroDecimalPipe implements PipeTransform {
|
@@ -14,7 +14,7 @@ export declare class BaseFieldValidations {
|
|
14
14
|
setUpValidators(customValidator?: any): void;
|
15
15
|
getPromiseList(validators: any): any[];
|
16
16
|
setAsyncValidators(validators: any): void;
|
17
|
-
isDefaultValidator(type: any):
|
17
|
+
isDefaultValidator(type: any): undefined;
|
18
18
|
setDefaultValidator(key: any, value: any): void;
|
19
19
|
setValidators(validators: any): void;
|
20
20
|
observeOn(fields: any, context: any): void;
|
@@ -11,6 +11,7 @@ export declare class AudioComponent extends StylableComponent {
|
|
11
11
|
audiosupportmessage: any;
|
12
12
|
autoplay: boolean;
|
13
13
|
hint: string;
|
14
|
+
arialabel: string;
|
14
15
|
constructor(inj: Injector, explicitContext: any);
|
15
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<AudioComponent, [null, { optional: true; }]>;
|
16
17
|
static ɵcmp: i0.ɵɵComponentDeclaration<AudioComponent, "[wmAudio]", never, {}, {}, never, never, false, never>;
|
@@ -36,6 +36,7 @@
|
|
36
36
|
['conditionalstyle', i1$1.PROP_ANY],
|
37
37
|
['encodeurl', i1$1.PROP_BOOLEAN],
|
38
38
|
['hint', i1$1.PROP_STRING],
|
39
|
+
['arialabel', i1$1.PROP_STRING],
|
39
40
|
['hyperlink', { value: '', ...i1$1.PROP_STRING }],
|
40
41
|
['iconclass', i1$1.PROP_STRING],
|
41
42
|
['iconheight', i1$1.PROP_STRING],
|
@@ -237,7 +238,7 @@
|
|
237
238
|
type: i0.HostBinding,
|
238
239
|
args: ['attr.icon-position']
|
239
240
|
}] }); })();
|
240
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassDebugInfo(AnchorComponent, { className: "AnchorComponent", filePath: "anchor/anchor.component.ts", lineNumber:
|
241
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassDebugInfo(AnchorComponent, { className: "AnchorComponent", filePath: "anchor/anchor.component.ts", lineNumber: 37 }); })();
|
241
242
|
|
242
243
|
const registerProps$7 = () => {
|
243
244
|
i1$1.register('wm-audio', new Map([
|
@@ -247,6 +248,7 @@
|
|
247
248
|
['class', i1$1.PROP_STRING],
|
248
249
|
['controls', i1$1.PROP_BOOLEAN],
|
249
250
|
['hint', i1$1.PROP_STRING],
|
251
|
+
['arialabel', i1$1.PROP_STRING],
|
250
252
|
['loop', i1$1.PROP_BOOLEAN],
|
251
253
|
['mp3format', i1$1.PROP_STRING],
|
252
254
|
['muted', i1$1.PROP_BOOLEAN],
|
@@ -272,7 +274,7 @@
|
|
272
274
|
static { this.ɵfac = function AudioComponent_Factory(t) { return new (t || AudioComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵdirectiveInject('EXPLICIT_CONTEXT', 8)); }; }
|
273
275
|
static { this.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: AudioComponent, selectors: [["", "wmAudio", ""]], features: [i0__namespace.ɵɵProvidersFeature([
|
274
276
|
i1$1.provideAsWidgetRef(AudioComponent)
|
275
|
-
]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c0$4, decls: 5, vars: 16, consts: [["name", "wmAudio", "
|
277
|
+
]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c0$4, decls: 5, vars: 16, consts: [["name", "wmAudio", "role", "application", 3, "autoplay", "controls", "loop", "muted", "preload", "src"], ["type", "audio/mp3", 3, "src"]], template: function AudioComponent_Template(rf, ctx) { if (rf & 1) {
|
276
278
|
i0__namespace.ɵɵelementStart(0, "audio", 0);
|
277
279
|
i0__namespace.ɵɵpipe(1, "trustAs");
|
278
280
|
i0__namespace.ɵɵelement(2, "source", 1);
|
@@ -280,8 +282,8 @@
|
|
280
282
|
i0__namespace.ɵɵtext(4);
|
281
283
|
i0__namespace.ɵɵelementEnd();
|
282
284
|
} if (rf & 2) {
|
283
|
-
i0__namespace.ɵɵproperty("
|
284
|
-
i0__namespace.ɵɵattribute("aria-label", ctx.
|
285
|
+
i0__namespace.ɵɵproperty("autoplay", ctx.autoplay)("controls", ctx.controls)("loop", ctx.loop)("muted", ctx.muted)("preload", ctx.audiopreload)("src", i0__namespace.ɵɵpipeBind2(1, 10, ctx.mp3format, "resource"), i0__namespace.ɵɵsanitizeUrl);
|
286
|
+
i0__namespace.ɵɵattribute("aria-label", ctx.arialabel || "Audio")("hint", ctx.hint);
|
285
287
|
i0__namespace.ɵɵadvance(2);
|
286
288
|
i0__namespace.ɵɵproperty("src", i0__namespace.ɵɵpipeBind2(3, 13, ctx.mp3format, "resource"), i0__namespace.ɵɵsanitizeUrl);
|
287
289
|
i0__namespace.ɵɵadvance(2);
|
@@ -292,7 +294,7 @@
|
|
292
294
|
type: i0.Component,
|
293
295
|
args: [{ selector: '[wmAudio]', providers: [
|
294
296
|
i1$1.provideAsWidgetRef(AudioComponent)
|
295
|
-
], template: "<audio [attr.aria-label]=\"
|
297
|
+
], template: "<audio [attr.aria-label]=\"arialabel || 'Audio'\" [attr.hint]=\"hint\" [autoplay]=\"autoplay\"\n [controls]=\"controls\" [loop]=\"loop\" [muted]=\"muted\" [preload]=\"audiopreload\" [src]=\"mp3format | trustAs: 'resource'\"\n name=\"wmAudio\" role=\"application\">\n <source type=\"audio/mp3\" [src]=\"mp3format | trustAs: 'resource'\">\n {{audiosupportmessage}}\n</audio>\n" }]
|
296
298
|
}], () => [{ type: i0__namespace.Injector }, { type: undefined, decorators: [{
|
297
299
|
type: i0.Inject,
|
298
300
|
args: ['EXPLICIT_CONTEXT']
|
@@ -306,6 +308,7 @@
|
|
306
308
|
['class', i1$1.PROP_STRING],
|
307
309
|
['content', i1$1.PROP_STRING],
|
308
310
|
['hint', i1$1.PROP_STRING],
|
311
|
+
['arialabel', i1$1.PROP_STRING],
|
309
312
|
['name', i1$1.PROP_STRING],
|
310
313
|
['show', { value: true, ...i1$1.PROP_BOOLEAN }]
|
311
314
|
]));
|
@@ -388,6 +391,7 @@
|
|
388
391
|
['conditionalclass', i1$1.PROP_ANY],
|
389
392
|
['conditionalstyle', i1$1.PROP_ANY],
|
390
393
|
['hint', i1$1.PROP_STRING],
|
394
|
+
['arialabel', i1$1.PROP_STRING],
|
391
395
|
['iconclass', { value: 'wm-sl-l sl-user', ...i1$1.PROP_STRING }],
|
392
396
|
['iconposition', { value: 'left', ...i1$1.PROP_STRING }],
|
393
397
|
['iconsize', i1$1.PROP_STRING],
|
@@ -405,7 +409,7 @@
|
|
405
409
|
} if (rf & 2) {
|
406
410
|
const ctx_r0 = i0__namespace.ɵɵnextContext();
|
407
411
|
i0__namespace.ɵɵadvance();
|
408
|
-
i0__namespace.ɵɵ
|
412
|
+
i0__namespace.ɵɵtextInterpolate(ctx_r0.arialabel || ctx_r0.caption || ctx_r0.appLocale.LABEL_ICON);
|
409
413
|
} }
|
410
414
|
function IconComponent_label_2_Template(rf, ctx) { if (rf & 1) {
|
411
415
|
i0__namespace.ɵɵelement(0, "label", 3);
|
@@ -430,12 +434,11 @@
|
|
430
434
|
i0__namespace.ɵɵstyleProp("font-size", ctx.iconsize);
|
431
435
|
} }, features: [i0__namespace.ɵɵProvidersFeature([
|
432
436
|
i1$1.provideAsWidgetRef(IconComponent)
|
433
|
-
]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c0$3, decls: 3, vars:
|
437
|
+
]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c0$3, decls: 3, vars: 5, consts: [["class", "sr-only", 4, "ngIf"], ["aria-hidden", "true", "class", "app-label", 3, "textContent", 4, "ngIf"], [1, "sr-only"], ["aria-hidden", "true", 1, "app-label", 3, "textContent"]], template: function IconComponent_Template(rf, ctx) { if (rf & 1) {
|
434
438
|
i0__namespace.ɵɵelement(0, "i");
|
435
|
-
i0__namespace.ɵɵtemplate(1, IconComponent_span_1_Template, 2,
|
439
|
+
i0__namespace.ɵɵtemplate(1, IconComponent_span_1_Template, 2, 1, "span", 0)(2, IconComponent_label_2_Template, 1, 1, "label", 1);
|
436
440
|
} if (rf & 2) {
|
437
441
|
i0__namespace.ɵɵclassMapInterpolate1("app-icon ", ctx.iconclass, "");
|
438
|
-
i0__namespace.ɵɵattribute("aria-label", ctx.hint || "Icon");
|
439
442
|
i0__namespace.ɵɵadvance();
|
440
443
|
i0__namespace.ɵɵproperty("ngIf", ctx.iconclass);
|
441
444
|
i0__namespace.ɵɵadvance();
|
@@ -446,7 +449,7 @@
|
|
446
449
|
type: i0.Component,
|
447
450
|
args: [{ selector: '[wmIcon]', providers: [
|
448
451
|
i1$1.provideAsWidgetRef(IconComponent)
|
449
|
-
], template: "<i class=\"app-icon {{iconclass}}\"
|
452
|
+
], template: "<i class=\"app-icon {{iconclass}}\"></i>\n<span *ngIf=\"iconclass\" class=\"sr-only\">{{ arialabel || caption || appLocale.LABEL_ICON }}</span>\n<label *ngIf=\"caption\" [textContent]=\"caption\" aria-hidden=\"true\" class=\"app-label\"></label>\n" }]
|
450
453
|
}], () => [{ type: i0__namespace.Injector }, { type: undefined, decorators: [{
|
451
454
|
type: i0.Inject,
|
452
455
|
args: ['EXPLICIT_CONTEXT']
|
@@ -459,7 +462,7 @@
|
|
459
462
|
type: i0.HostBinding,
|
460
463
|
args: ['style.fontSize']
|
461
464
|
}] }); })();
|
462
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassDebugInfo(IconComponent, { className: "IconComponent", filePath: "icon/icon.component.ts", lineNumber:
|
465
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassDebugInfo(IconComponent, { className: "IconComponent", filePath: "icon/icon.component.ts", lineNumber: 19 }); })();
|
463
466
|
|
464
467
|
const registerProps$4 = () => {
|
465
468
|
i1$1.register('wm-iframe', new Map([
|
@@ -470,7 +473,8 @@
|
|
470
473
|
['name', i1$1.PROP_STRING],
|
471
474
|
['show', { value: true, ...i1$1.PROP_BOOLEAN }],
|
472
475
|
['width', { value: '300px', ...i1$1.PROP_STRING }],
|
473
|
-
['hint', i1$1.PROP_STRING]
|
476
|
+
['hint', i1$1.PROP_STRING],
|
477
|
+
['arialabel', i1$1.PROP_STRING]
|
474
478
|
]));
|
475
479
|
};
|
476
480
|
|
@@ -533,7 +537,7 @@
|
|
533
537
|
i0__namespace.ɵɵtemplate(1, IframeComponent_div_1_Template, 2, 2, "div", 1);
|
534
538
|
} if (rf & 2) {
|
535
539
|
i0__namespace.ɵɵproperty("name", ctx.name);
|
536
|
-
i0__namespace.ɵɵattribute("src", ctx._iframesrc, i0__namespace.ɵɵsanitizeResourceUrl)("aria-label", ctx.
|
540
|
+
i0__namespace.ɵɵattribute("src", ctx._iframesrc, i0__namespace.ɵɵsanitizeResourceUrl)("aria-label", ctx.arialabel || "iframe");
|
537
541
|
i0__namespace.ɵɵadvance();
|
538
542
|
i0__namespace.ɵɵproperty("ngIf", ctx.showContentLoadError);
|
539
543
|
} }, dependencies: [i2__namespace.NgIf, i1$1__namespace.TextContentDirective], encapsulation: 2 }); }
|
@@ -542,7 +546,7 @@
|
|
542
546
|
type: i0.Component,
|
543
547
|
args: [{ selector: '[wmIframe]', providers: [
|
544
548
|
i1$1.provideAsWidgetRef(IframeComponent)
|
545
|
-
], template: "<iframe class=\"embed-responsive-item iframe-content\" role=\"document\"\n scrolling=\"auto\"\n marginheight=\"0\"\n marginwidth=\"0\"\n frameborder=\"0\"\n [name]=\"name\"\n [attr.src]=\"_iframesrc\"\n
|
549
|
+
], template: "<iframe class=\"embed-responsive-item iframe-content\" role=\"document\"\n scrolling=\"auto\"\n marginheight=\"0\"\n marginwidth=\"0\"\n frameborder=\"0\"\n [name]=\"name\"\n [attr.src]=\"_iframesrc\"\n [attr.aria-label]=\"arialabel || 'iframe'\"\n seamless=\"seamless\">\n</iframe>\n<div class=\"wm-content-info readonly-wrapper\" *ngIf=\"showContentLoadError\">\n <p class=\"wm-message\" [title]=\"hintMsg\" [textContent]=\"errMsg\"></p>\n</div>\n" }]
|
546
550
|
}], () => [{ type: i0__namespace.Injector }, { type: i1$1__namespace.TrustAsPipe }, { type: undefined, decorators: [{
|
547
551
|
type: i0.Inject,
|
548
552
|
args: ['EXPLICIT_CONTEXT']
|
@@ -631,8 +635,10 @@
|
|
631
635
|
['conditionalstyle', i1$1.PROP_ANY],
|
632
636
|
['encodeurl', i1$1.PROP_STRING],
|
633
637
|
['hint', i1$1.PROP_STRING],
|
638
|
+
['arialabel', i1$1.PROP_STRING],
|
634
639
|
['name', i1$1.PROP_STRING],
|
635
640
|
['pictureaspect', { value: 'None', ...i1$1.PROP_STRING }],
|
641
|
+
['alttext', { value: 'Image alt text not provided', ...i1$1.PROP_STRING }],
|
636
642
|
['pictureplaceholder', i1$1.PROP_STRING],
|
637
643
|
['picturesource', i1$1.PROP_STRING],
|
638
644
|
['resizemode', { value: 'fill', ...i1$1.PROP_STRING }],
|
@@ -751,7 +757,8 @@
|
|
751
757
|
['show', { value: true, ...i1$1.PROP_BOOLEAN }],
|
752
758
|
['type', { value: 'icon', ...i1$1.PROP_STRING }],
|
753
759
|
['servicevariabletotrack', i1$1.PROP_STRING],
|
754
|
-
['hint', i1$1.PROP_STRING]
|
760
|
+
['hint', i1$1.PROP_STRING],
|
761
|
+
['arialabel', i1$1.PROP_STRING]
|
755
762
|
]));
|
756
763
|
};
|
757
764
|
|
@@ -881,6 +888,7 @@
|
|
881
888
|
['class', i1$1.PROP_STRING],
|
882
889
|
['controls', i1$1.PROP_BOOLEAN],
|
883
890
|
['hint', i1$1.PROP_STRING],
|
891
|
+
['arialabel', i1$1.PROP_STRING],
|
884
892
|
['loop', i1$1.PROP_BOOLEAN],
|
885
893
|
['mp4format', i1$1.PROP_STRING],
|
886
894
|
['muted', i1$1.PROP_BOOLEAN],
|
@@ -966,7 +974,7 @@
|
|
966
974
|
static { this.ɵfac = function VideoComponent_Factory(t) { return new (t || VideoComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵdirectiveInject(i1$1__namespace.TrustAsPipe), i0__namespace.ɵɵdirectiveInject('EXPLICIT_CONTEXT', 8)); }; }
|
967
975
|
static { this.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: VideoComponent, selectors: [["", "wmVideo", ""]], features: [i0__namespace.ɵɵProvidersFeature([
|
968
976
|
i1$1.provideAsWidgetRef(VideoComponent)
|
969
|
-
]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c0, decls: 7, vars:
|
977
|
+
]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c0, decls: 7, vars: 17, consts: [[3, "preload", "src", "muted", "poster", "controls", "loop", "autoplay"], ["type", "video/mp4", 3, "src", 4, "ngIf"], ["type", "video/webm", 3, "src", 4, "ngIf"], ["type", "video/ogg", 3, "src", 4, "ngIf"], ["type", "video/mp4", 3, "src"], ["type", "video/webm", 3, "src"], ["type", "video/ogg", 3, "src"]], template: function VideoComponent_Template(rf, ctx) { if (rf & 1) {
|
970
978
|
i0__namespace.ɵɵelementStart(0, "video", 0);
|
971
979
|
i0__namespace.ɵɵpipe(1, "trustAs");
|
972
980
|
i0__namespace.ɵɵpipe(2, "image");
|
@@ -974,7 +982,8 @@
|
|
974
982
|
i0__namespace.ɵɵtext(6);
|
975
983
|
i0__namespace.ɵɵelementEnd();
|
976
984
|
} if (rf & 2) {
|
977
|
-
i0__namespace.ɵɵproperty("preload", ctx.videopreload)("src", i0__namespace.ɵɵpipeBind2(1,
|
985
|
+
i0__namespace.ɵɵproperty("preload", ctx.videopreload)("src", i0__namespace.ɵɵpipeBind2(1, 12, ctx.mp4format, "resource"), i0__namespace.ɵɵsanitizeUrl)("muted", ctx.muted)("poster", i0__namespace.ɵɵpipeBind1(2, 15, ctx.videoposter), i0__namespace.ɵɵsanitizeUrl)("controls", ctx.controls)("loop", ctx.loop)("autoplay", ctx.autoplay);
|
986
|
+
i0__namespace.ɵɵattribute("aria-label", ctx.arialabel || "video");
|
978
987
|
i0__namespace.ɵɵadvance(3);
|
979
988
|
i0__namespace.ɵɵproperty("ngIf", ctx.mp4format);
|
980
989
|
i0__namespace.ɵɵadvance();
|
@@ -989,7 +998,7 @@
|
|
989
998
|
type: i0.Component,
|
990
999
|
args: [{ selector: '[wmVideo]', providers: [
|
991
1000
|
i1$1.provideAsWidgetRef(VideoComponent)
|
992
|
-
], template: "<video [
|
1001
|
+
], template: "<video [attr.aria-label]=\"arialabel || 'video'\" [preload]=\"videopreload\"\n [src]=\"mp4format | trustAs: 'resource'\"\n [muted]=\"muted\"\n [poster]=\"videoposter | image\"\n [controls]=\"controls\"\n [loop]=\"loop\"\n [autoplay]=\"autoplay\">\n <source type=\"video/mp4\" [src]=\"mp4format | trustAs: 'resource'\" *ngIf=\"mp4format\">\n <source type=\"video/webm\" [src]=\"webmformat | trustAs: 'resource'\" *ngIf=\"webmformat\">\n <source type=\"video/ogg\" [src]=\"oggformat | trustAs: 'resource'\" *ngIf=\"oggformat\">\n {{videosupportmessage}}\n</video>\n" }]
|
993
1002
|
}], () => [{ type: i0__namespace.Injector }, { type: i1$1__namespace.TrustAsPipe }, { type: undefined, decorators: [{
|
994
1003
|
type: i0.Inject,
|
995
1004
|
args: ['EXPLICIT_CONTEXT']
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { Component, HostBinding, Injector, Optional
|
2
|
-
import { addClass, App, encodeUrl, EventNotifier, getRouteNameFromLink,
|
1
|
+
import { Component, HostBinding, Inject, Injector, Optional } from '@angular/core';
|
2
|
+
import { addClass, App, encodeUrl, EventNotifier, getRouteNameFromLink, removeAttr, removeClass, setAttr } from '@wm/core';
|
3
3
|
import { DISPLAY_TYPE, provideAsWidgetRef, StylableComponent, styler } from '@wm/components/base';
|
4
4
|
import { registerProps } from './anchor.props';
|
5
5
|
import * as i0 from "@angular/core";
|
@@ -192,5 +192,5 @@ export class AnchorComponent extends StylableComponent {
|
|
192
192
|
type: HostBinding,
|
193
193
|
args: ['attr.icon-position']
|
194
194
|
}] }); })();
|
195
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(AnchorComponent, { className: "AnchorComponent", filePath: "anchor/anchor.component.ts", lineNumber:
|
196
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYW5jaG9yLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvbXBvbmVudHMvd2lkZ2V0cy9iYXNpYy9kZWZhdWx0L3NyYy9hbmNob3IvYW5jaG9yLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvbXBvbmVudHMvd2lkZ2V0cy9iYXNpYy9kZWZhdWx0L3NyYy9hbmNob3IvYW5jaG9yLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBaUIsU0FBUyxFQUFFLFdBQVcsRUFBRSxRQUFRLEVBQWEsUUFBUSxFQUFFLE1BQU0sRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUU3RyxPQUFPLEVBQUUsUUFBUSxFQUFFLEdBQUcsRUFBRSxTQUFTLEVBQUUsYUFBYSxFQUF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V4LmV4ZWMoZm4pO1xuXG4gICAgICAgICAgICAgICAgY29uc3QgaGFzR29Ub1BhZ2VFeHByID0gbWF0Y2hlcyAmJiAobWF0Y2hlcy5sZW5ndGggPiAwKTtcbiAgICAgICAgICAgICAgICBpZihoYXNHb1RvUGFnZUV4cHIgJiYgIXRoaXMuaGFzR29Ub1BhZ2VFeHByKSB7XG4gICAgICAgICAgICAgICAgICAgIHRoaXMuaGFzR29Ub1BhZ2VFeHByID0gdHJ1ZTtcbiAgICAgICAgICAgICAgICAgICAgdGhpcy5nb1RvUGFnZU5hbWUgPSBtYXRjaGVzWzFdO1xuICAgICAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgICAgIHJldHVybiBoYXNHb1RvUGFnZUV4cHIgJiYgbWF0Y2hlc1sxXSA9PT0gYXBwLmFjdGl2ZVBhZ2VOYW1lO1xuICAgICAgICAgICAgfSkpIHtcbiAgICAgICAgICAgICAgICB0aGlzLmhhc05hdmlnYXRpb25Ub0N1cnJlbnRQYWdlRXhwciA9IHRydWU7XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICB9XG5cbiAgICBwdWJsaWMgb25BY3RpdmUoY2FsbGJhY2s6IChkYXRhOiBhbnkpID0+dm9pZCkge1xuICAgICAgICB0aGlzLl9ldmVudE5vdGlmaWVyLnN1YnNjcmliZSgnb24tYWN0aXZlJywgY2FsbGJhY2spO1xuICAgIH1cblxuICAgIHByb3RlY3RlZCBoYW5kbGVFdmVudChub2RlOiBIVE1MRWxlbWVudCwgZXZlbnROYW1lOiBzdHJpbmcsIGV2ZW50Q2FsbGJhY2s6IEZ1bmN0aW9uLCBsb2NhbHM6IGFueSwgbWV0YT86IHN0cmluZykge1xuICAgICAgICBzdXBlci5oYW5kbGVFdmVudChcbiAgICAgICAgICAgIG5vZGUsXG4gICAgICAgICAgICBldmVudE5hbWUsXG4gICAgICAgICAgICBlID0+IHtcbiAgICAgICAgICAgICAgICBpZiAodGhpcy5oYXNHb1RvUGFnZUV4cHIgJiYgbG9jYWxzLiRldmVudCkge1xuICAgICAgICAgICAgICAgICAgICBsb2NhbHMuJGV2ZW50LnByZXZlbnREZWZhdWx0KCk7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIGV2ZW50Q2FsbGJhY2soKTtcbiAgICAgICAgICAgIH0sXG4gICAgICAgICAgICBsb2NhbHMsXG4gICAgICAgICAgICBtZXRhXG4gICAgICAgICk7XG4gICAgfVxuXG4gICAgb25Qcm9wZXJ0eUNoYW5nZShrZXk6IHN0cmluZywgbnY6IGFueSwgb3Y/OiBhbnkpIHtcbiAgICAgICAgaWYgKGtleSA9PT0gJ2h5cGVybGluaycpIHtcbiAgICAgICAgICAgIGlmICghbnYpIHtcbiAgICAgICAgICAgICAgICBzZXRBdHRyKHRoaXMubmF0aXZlRWxlbWVudCwgJ2hyZWYnLCAnamF2YXNjcmlwdDp2b2lkKDApJyk7XG4gICAgICAgICAgICAgICAgdGhpcy5uYXRpdmVFbGVtZW50LmFkZEV2ZW50TGlzdGVuZXIoJ2NvbnRleHRtZW51JywgZGlzYWJsZUNvbnRleHRNZW51KTtcbiAgICAgICAgICAgICAgICByZXR1cm47XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICBpZiAodGhpcy5lbmNvZGV1cmwpIHtcbiAgICAgICAgICAgICAgICBudiA9IGVuY29kZVVybChudik7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICAvLyBpZiBoeXBlcmxpbmsgc3RhcnRzIHdpdGggJ3d3dy4nIGFwcGVuZCAnLy8nIGluIHRoZSBiZWdpbm5pbmdcbiAgICAgICAgICAgIGlmIChudi5zdGFydHNXaXRoKCd3d3cuJykpIHtcbiAgICAgICAgICAgICAgICBudiA9IGAvLyR7bnZ9YDtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIHNldEF0dHIodGhpcy5uYXRpdmVFbGVtZW50LCAnaHJlZicsIG52KTtcbiAgICAgICAgICAgIHRoaXMubmF0aXZlRWxlbWVudC5yZ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veSgpO1xuICAgICAgICBpZih0aGlzLmNhbmNlbFN1YnNjcmlwdGlvbikge1xuICAgICAgICAgICAgdGhpcy5jYW5jZWxTdWJzY3JpcHRpb24oKTtcbiAgICAgICAgfVxuICAgICAgICBzdXBlci5uZ09uRGVzdHJveSgpO1xuICAgIH1cbn1cbiIsIjxpbWcgZGF0YS1pZGVudGlmaWVyPVwiaW1nXCIgYWx0PVwiSW1hZ2VcIiBjbGFzcz1cImFuY2hvci1pbWFnZS1pY29uXCIgW3NyY109XCJpY29udXJsIHwgaW1hZ2VcIiAqbmdJZj1cImljb251cmxcIiBbbmdTdHlsZV09XCJ7d2lkdGg6aWNvbndpZHRoLCBoZWlnaHQ6aWNvbmhlaWdodCwgbWFyZ2luOmljb25tYXJnaW59XCIvPlxuPGkgY2xhc3M9XCJhcHAtaWNvbiB7e2ljb25jbGFzc319XCIgYXJpYS1oaWRkZW49XCJ0cnVlXCIgW25nU3R5bGVdPVwie3dpZHRoOmljb253aWR0aCwgaGVpZ2h0Omljb25oZWlnaHQsIG1hcmdpbjppY29ubWFyZ2lufVwiICpuZ0lmPVwiaWNvbmNsYXNzXCI+PC9pPlxuPHNwYW4gY2xhc3M9XCJzci1vbmx5XCIgKm5nSWY9XCJpY29uY2xhc3NcIj57e2NhcHRpb259fSB7e2FwcExvY2FsZS5MQUJFTF9JQ09OfX08L3NwYW4+XG48c3BhbiBjbGFzcz1cImFuY2hvci1jYXB0aW9uXCIgW2lubmVySFRNTF09XCJjYXB0aW9uXCI+PC9zcGFuPlxuPG5nLWNvbnRlbnQgc2VsZWN0PVwiLmNhcmV0XCI+PC9uZy1jb250ZW50PlxuPHNwYW4gKm5nSWY9XCJiYWRnZXZhbHVlXCIgY2xhc3M9XCJiYWRnZSBwdWxsLXJpZ2h0XCIgW3RleHRDb250ZW50XT1cImJhZGdldmFsdWVcIj48L3NwYW4+XG4iXX0=
|
195
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(AnchorComponent, { className: "AnchorComponent", filePath: "anchor/anchor.component.ts", lineNumber: 37 }); })();
|
196
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYW5jaG9yLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvbXBvbmVudHMvd2lkZ2V0cy9iYXNpYy9kZWZhdWx0L3NyYy9hbmNob3IvYW5jaG9yLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvbXBvbmVudHMvd2lkZ2V0cy9iYXNpYy9kZWZhdWx0L3NyYy9hbmNob3IvYW5jaG9yLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBZ0IsU0FBUyxFQUFFLFdBQVcsRUFBRSxNQUFNLEVBQUUsUUFBUSxFQUFhLFFBQVEsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUUzRyxPQUFPLEVBQ0gsUUFBUSxFQUNSLEdBQUcsRUFDSCxTQUFTLEVBQ1QsYUFBYSxFQUNiLG9CQUFvQixFQUNwQixVQUFVLEVBQ1YsV0FBVyxFQUNYLE9BQU8sRUFDVixNQUFNLFVBQVUsQ0FBQztBQUNsQixPQUFPLEVBQUMsWUFBWSxFQUFpQixrQkFBa0IsRUFBRSxpQkFBaUIsRUFBRSxNQUFNLEVBQUMsTUFBTSxxQkFBcUIsQ0FBQztBQUUvRyxPQUFPLEVBQUMsYUFBYSxFQUFDLE1BQU0sZ0JBQWdCLENBQUM7Ozs7Ozs7Ozs7SUNkN0MseUJBQThLOzs7O0lBQXJFLEFBQXhDLDRFQUF1QiwrRkFBb0Y7OztJQUM1Syx1QkFBK0k7OztJQUE1SSw0REFBOEI7SUFBb0IsNEdBQW1FOzs7SUFDeEgsK0JBQXdDO0lBQUEsWUFBb0M7S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VybiBoYXNHb1RvUGFnZUV4cHIgJiYgbWF0Y2hlc1sxXSA9PT0gYXBwLmFjdGl2ZVBhZ2VOYW1lO1xuICAgICAgICAgICAgfSkpIHtcbiAgICAgICAgICAgICAgICB0aGlzLmhhc05hdmlnYXRpb25Ub0N1cnJlbnRQYWdlRXhwciA9IHRydWU7XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICB9XG5cbiAgICBwdWJsaWMgb25BY3RpdmUoY2FsbGJhY2s6IChkYXRhOiBhbnkpID0+dm9pZCkge1xuICAgICAgICB0aGlzLl9ldmVudE5vdGlmaWVyLnN1YnNjcmliZSgnb24tYWN0aXZlJywgY2FsbGJhY2spO1xuICAgIH1cblxuICAgIHByb3RlY3RlZCBoYW5kbGVFdmVudChub2RlOiBIVE1MRWxlbWVudCwgZXZlbnROYW1lOiBzdHJpbmcsIGV2ZW50Q2FsbGJhY2s6IEZ1bmN0aW9uLCBsb2NhbHM6IGFueSwgbWV0YT86IHN0cmluZykge1xuICAgICAgICBzdXBlci5oYW5kbGVFdmVudChcbiAgICAgICAgICAgIG5vZGUsXG4gICAgICAgICAgICBldmVudE5hbWUsXG4gICAgICAgICAgICBlID0+IHtcbiAgICAgICAgICAgICAgICBpZiAodGhpcy5oYXNHb1RvUGFnZUV4cHIgJiYgbG9jYWxzLiRldmVudCkge1xuICAgICAgICAgICAgICAgICAgICBsb2NhbHMuJGV2ZW50LnByZXZlbnREZWZhdWx0KCk7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIGV2ZW50Q2FsbGJhY2soKTtcbiAgICAgICAgICAgIH0sXG4gICAgICAgICAgICBsb2NhbHMsXG4gICAgICAgICAgICBtZXRhXG4gICAgICAgICk7XG4gICAgfVxuXG4gICAgb25Qcm9wZXJ0eUNoYW5nZShrZXk6IHN0cmluZywgbnY6IGFueSwgb3Y/OiBhbnkpIHtcbiAgICAgICAgaWYgKGtleSA9PT0gJ2h5cGVybGluaycpIHtcbiAgICAgICAgICAgIGlmICghbnYpIHtcbiAgICAgICAgICAgICAgICBzZXRBdHRyKHRoaXMubmF0aXZlRWxlbWVudCwgJ2hyZWYnLCAnamF2YXNjcmlwdDp2b2lkKDApJyk7XG4gICAgICAgICAgICAgICAgdGhpcy5uYXRpdmVFbGVtZW50LmFkZEV2ZW50TGlzdGVuZXIoJ2NvbnRleHRtZW51JywgZGlzYWJsZUNvbnRleHRNZW51KTtcbiAgICAgICAgICAgICAgICByZXR1cm47XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICBpZiAodGhpcy5lbmNvZGV1cmwpIHtcbiAgICAgICAgICAgICAgICBudiA9IGVuY29kZVVybChudik7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICAvLyBpZiBoeXBlcmxpbmsgc3RhcnRzIHdpdGggJ3d3dy4nIGFwcGVuZCAnLy8nIGluIHRoZSBiZWdpbm5pbmdcbiAgICAgICAgICAgIGlmIChudi5zdGFydHNXaXRoKCd3d3cuJykpIHtcbiAgICAgICAgICAgICAgICBudiA9IGAvLyR7bnZ9YDtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIHNldEF0dHIodGhpcy5uYXRpdmVFbGVtZW50LCAnaHJlZicsIG52KTtcbiAgICAgICAgICAgIHRoaXMubmF0aXZlRWxlbWVudC5yZW1vdmVFdmVudExpc3RlbmVyKCdjb250ZXh0bWVudScsIGRpc2FibGVDb250ZXh0TWVudSk7XG4gICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICBzdXBlci5vblByb3BlcnR5Q2hhbmdlKGtleSwgbnYsIG92KTtcbiAgICAgICAgfVxuICAgIH1cblxuICAgIGluaXQoKSB7XG4gICAgICAgIGlmICh0aGlzLmhhc05hdmlnYXRpb25Ub0N1cnJlbnRQYWdlRXhwcikge1xuICAgICAgICAgICAgYWRkQ2xhc3ModGhpcy5uYXRpdmVFbGVtZW50LCAnYWN0aXZlJyk7XG4gICAgICAgICAgICBzZXRBdHRyKHRoaXMubmF0aXZlRWxlbWVudCw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NvbmhlaWdodCwgbWFyZ2luOmljb25tYXJnaW59XCIvPlxuPGkgY2xhc3M9XCJhcHAtaWNvbiB7e2ljb25jbGFzc319XCIgYXJpYS1oaWRkZW49XCJ0cnVlXCIgW25nU3R5bGVdPVwie3dpZHRoOmljb253aWR0aCwgaGVpZ2h0Omljb25oZWlnaHQsIG1hcmdpbjppY29ubWFyZ2lufVwiICpuZ0lmPVwiaWNvbmNsYXNzXCI+PC9pPlxuPHNwYW4gY2xhc3M9XCJzci1vbmx5XCIgKm5nSWY9XCJpY29uY2xhc3NcIj57e2NhcHRpb259fSB7e2FwcExvY2FsZS5MQUJFTF9JQ09OfX08L3NwYW4+XG48c3BhbiBjbGFzcz1cImFuY2hvci1jYXB0aW9uXCIgW2lubmVySFRNTF09XCJjYXB0aW9uXCI+PC9zcGFuPlxuPG5nLWNvbnRlbnQgc2VsZWN0PVwiLmNhcmV0XCI+PC9uZy1jb250ZW50PlxuPHNwYW4gKm5nSWY9XCJiYWRnZXZhbHVlXCIgY2xhc3M9XCJiYWRnZSBwdWxsLXJpZ2h0XCIgW3RleHRDb250ZW50XT1cImJhZGdldmFsdWVcIj48L3NwYW4+XG4iXX0=
|
@@ -9,6 +9,7 @@ export const registerProps = () => {
|
|
9
9
|
['conditionalstyle', PROP_ANY],
|
10
10
|
['encodeurl', PROP_BOOLEAN],
|
11
11
|
['hint', PROP_STRING],
|
12
|
+
['arialabel', PROP_STRING],
|
12
13
|
['hyperlink', { value: '', ...PROP_STRING }],
|
13
14
|
['iconclass', PROP_STRING],
|
14
15
|
['iconheight', PROP_STRING],
|
@@ -23,4 +24,4 @@ export const registerProps = () => {
|
|
23
24
|
['target', { value: '_self', ...PROP_STRING }]
|
24
25
|
]));
|
25
26
|
};
|
26
|
-
//# sourceMappingURL=data:application/json;base64,
|
27
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYW5jaG9yLnByb3BzLmpzIiwic291cmNlUm9vdCI6IiIsIn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Gl0aW9uYWxjbGFzcycsIFBST1BfQU5ZXSxcbiAgICAgICAgICAgICAgICBbJ2NvbmRpdGlvbmFsc3R5bGUnLCBQUk9QX0FOWV0sXG4gICAgICAgICAgICAgICAgWydlbmNvZGV1cmwnLCBQUk9QX0JPT0xFQU5dLFxuICAgICAgICAgICAgICAgIFsnaGludCcsIFBST1BfU1RSSU5HXSxcbiAgICAgICAgICAgICAgICBbJ2FyaWFsYWJlbCcsIFBST1BfU1RSSU5HXSxcbiAgICAgICAgICAgICAgICBbJ2h5cGVybGluaycsIHt2YWx1ZTogJycsIC4uLlBST1BfU1RSSU5HfV0sXG4gICAgICAgICAgICAgICAgWydpY29uY2xhc3MnLCBQUk9QX1NUUklOR10sXG4gICAgICAgICAgICAgICAgWydpY29uaGVpZ2h0JywgUFJPUF9TVFJJTkddLFxuICAgICAgICAgICAgICAgIFsnaWNvbm1hcmdpbicsIFBST1BfU1RSSU5HXSxcbiAgICAgICAgICAgICAgICBbJ2ljb25wb3NpdGlvbicsIFBST1BfU1RSSU5HXSxcbiAgICAgICAgICAgICAgICBbJ2ljb251cmwnLCBQUk9QX1NUUklOR10sXG4gICAgICAgICAgICAgICAgWydpY29ud2lkdGgnLCBQUk9QX1NUUklOR10sXG4gICAgICAgICAgICAgICAgWyduYW1lJywgUFJPUF9TVFJJTkddLFxuICAgICAgICAgICAgICAgIFsnc2hvcnRjdXRrZXknLCBQUk9QX1NUUklOR10sXG4gICAgICAgICAgICAgICAgWydzaG93Jywge3ZhbHVlOiB0cnVlLCAuLi5QUk9QX0JPT0xFQU59XSxcbiAgICAgICAgICAgICAgICBbJ3RhYmluZGV4Jywge3ZhbHVlOiAwLCAuLi5QUk9QX05VTUJFUn1dLFxuICAgICAgICAgICAgICAgIFsndGFyZ2V0Jywge3ZhbHVlOiAnX3NlbGYnLCAuLi5QUk9QX1NUUklOR31dXG4gICAgICAgICAgICBdXG4gICAgICAgIClcbiAgICApO1xufTtcbiJdfQ==
|
@@ -19,7 +19,7 @@ export class AudioComponent extends StylableComponent {
|
|
19
19
|
static { this.ɵfac = function AudioComponent_Factory(t) { return new (t || AudioComponent)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject('EXPLICIT_CONTEXT', 8)); }; }
|
20
20
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AudioComponent, selectors: [["", "wmAudio", ""]], features: [i0.ɵɵProvidersFeature([
|
21
21
|
provideAsWidgetRef(AudioComponent)
|
22
|
-
]), i0.ɵɵInheritDefinitionFeature], attrs: _c0, decls: 5, vars: 16, consts: [["name", "wmAudio", "
|
22
|
+
]), i0.ɵɵInheritDefinitionFeature], attrs: _c0, decls: 5, vars: 16, consts: [["name", "wmAudio", "role", "application", 3, "autoplay", "controls", "loop", "muted", "preload", "src"], ["type", "audio/mp3", 3, "src"]], template: function AudioComponent_Template(rf, ctx) { if (rf & 1) {
|
23
23
|
i0.ɵɵelementStart(0, "audio", 0);
|
24
24
|
i0.ɵɵpipe(1, "trustAs");
|
25
25
|
i0.ɵɵelement(2, "source", 1);
|
@@ -27,8 +27,8 @@ export class AudioComponent extends StylableComponent {
|
|
27
27
|
i0.ɵɵtext(4);
|
28
28
|
i0.ɵɵelementEnd();
|
29
29
|
} if (rf & 2) {
|
30
|
-
i0.ɵɵproperty("
|
31
|
-
i0.ɵɵattribute("aria-label", ctx.
|
30
|
+
i0.ɵɵproperty("autoplay", ctx.autoplay)("controls", ctx.controls)("loop", ctx.loop)("muted", ctx.muted)("preload", ctx.audiopreload)("src", i0.ɵɵpipeBind2(1, 10, ctx.mp3format, "resource"), i0.ɵɵsanitizeUrl);
|
31
|
+
i0.ɵɵattribute("aria-label", ctx.arialabel || "Audio")("hint", ctx.hint);
|
32
32
|
i0.ɵɵadvance(2);
|
33
33
|
i0.ɵɵproperty("src", i0.ɵɵpipeBind2(3, 13, ctx.mp3format, "resource"), i0.ɵɵsanitizeUrl);
|
34
34
|
i0.ɵɵadvance(2);
|
@@ -39,7 +39,7 @@ export class AudioComponent extends StylableComponent {
|
|
39
39
|
type: Component,
|
40
40
|
args: [{ selector: '[wmAudio]', providers: [
|
41
41
|
provideAsWidgetRef(AudioComponent)
|
42
|
-
], template: "<audio [attr.aria-label]=\"
|
42
|
+
], template: "<audio [attr.aria-label]=\"arialabel || 'Audio'\" [attr.hint]=\"hint\" [autoplay]=\"autoplay\"\n [controls]=\"controls\" [loop]=\"loop\" [muted]=\"muted\" [preload]=\"audiopreload\" [src]=\"mp3format | trustAs: 'resource'\"\n name=\"wmAudio\" role=\"application\">\n <source type=\"audio/mp3\" [src]=\"mp3format | trustAs: 'resource'\">\n {{audiosupportmessage}}\n</audio>\n" }]
|
43
43
|
}], () => [{ type: i0.Injector }, { type: undefined, decorators: [{
|
44
44
|
type: Inject,
|
45
45
|
args: ['EXPLICIT_CONTEXT']
|
@@ -47,4 +47,4 @@ export class AudioComponent extends StylableComponent {
|
|
47
47
|
type: Optional
|
48
48
|
}] }], null); })();
|
49
49
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(AudioComponent, { className: "AudioComponent", filePath: "audio/audio.component.ts", lineNumber: 20 }); })();
|
50
|
-
//# sourceMappingURL=data:application/json;base64,
|
50
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXVkaW8uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29tcG9uZW50cy93aWRnZXRzL2Jhc2ljL2RlZmF1bHQvc3JjL2F1ZGlvL2F1ZGlvLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvbXBvbmVudHMvd2lkZ2V0cy9iYXNpYy9kZWZhdWx0L3NyYy9hdWRpby9hdWRpby5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSx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Zm9ybWF0IHwgdHJ1c3RBczogJ3Jlc291cmNlJ1wiPlxuICAgIHt7YXVkaW9zdXBwb3J0bWVzc2FnZX19XG48L2F1ZGlvPlxuIl19
|
@@ -7,6 +7,7 @@ export const registerProps = () => {
|
|
7
7
|
['class', PROP_STRING],
|
8
8
|
['controls', PROP_BOOLEAN],
|
9
9
|
['hint', PROP_STRING],
|
10
|
+
['arialabel', PROP_STRING],
|
10
11
|
['loop', PROP_BOOLEAN],
|
11
12
|
['mp3format', PROP_STRING],
|
12
13
|
['muted', PROP_BOOLEAN],
|
@@ -15,4 +16,4 @@ export const registerProps = () => {
|
|
15
16
|
['tabindex', { value: 0, ...PROP_NUMBER }]
|
16
17
|
]));
|
17
18
|
};
|
18
|
-
//# sourceMappingURL=data:application/json;base64,
|
19
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXVkaW8ucHJvcHMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb21wb25lbnRzL3dpZGdldHMvYmFzaWMvZGVmYXVsdC9zcmMvYXVkaW8vYXVkaW8ucHJvcHMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLFlBQVksRUFBRSxXQUFXLEVBQUUsV0FBVyxFQUFFLFFBQVEsRUFBQyxNQUFNLHFCQUFxQixDQUFDO0FBRXJGLE1BQU0sQ0FBQyxNQUFNLGFBQWEsR0FBRyxHQUFHLEVBQUU7SUFDOUIsUUFBUSxDQUNKLFVBQVUsRUFDVixJQUFJLEdBQUcsQ0FDSDtRQUNJLENBQUMsY0FBYyxFQUFFLEVBQUMsS0FBSyxFQUFFLE1BQU0sRUFBRSxHQUFHLFdBQVcsRUFBQyxDQUFDO1FBQ2pELENBQUMscUJBQXFCLEVBQUUsRUFBQyxLQUFLLEVBQUUsOENBQThDLEVBQUUsR0FBRyxXQUFXLEV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ZXIgZG9lcyBub3Qgc3VwcG9ydCB0aGUgYXVkaW8gdGFnLicsIC4uLlBST1BfU1RSSU5HfV0sXG4gICAgICAgICAgICAgICAgWydhdXRvcGxheScsIFBST1BfQk9PTEVBTl0sXG4gICAgICAgICAgICAgICAgWydjbGFzcycsIFBST1BfU1RSSU5HXSxcbiAgICAgICAgICAgICAgICBbJ2NvbnRyb2xzJywgUFJPUF9CT09MRUFOXSxcbiAgICAgICAgICAgICAgICBbJ2hpbnQnLCBQUk9QX1NUUklOR10sXG4gICAgICAgICAgICAgICAgWydhcmlhbGFiZWwnLCBQUk9QX1NUUklOR10sXG4gICAgICAgICAgICAgICAgWydsb29wJywgUFJPUF9CT09MRUFOXSxcbiAgICAgICAgICAgICAgICBbJ21wM2Zvcm1hdCcsIFBST1BfU1RSSU5HXSxcbiAgICAgICAgICAgICAgICBbJ211dGVkJywgUFJPUF9CT09MRUFOXSxcbiAgICAgICAgICAgICAgICBbJ25hbWUnLCBQUk9QX1NUUklOR10sXG4gICAgICAgICAgICAgICAgWydzaG93Jywge3ZhbHVlOiB0cnVlLCAuLi5QUk9QX0JPT0xFQU59XSxcbiAgICAgICAgICAgICAgICBbJ3RhYmluZGV4Jywge3ZhbHVlOiAwLCAuLi5QUk9QX05VTUJFUn1dXG4gICAgICAgICAgICBdXG4gICAgICAgIClcbiAgICApO1xufTtcbiJdfQ==
|
@@ -4,8 +4,9 @@ export const registerProps = () => {
|
|
4
4
|
['class', PROP_STRING],
|
5
5
|
['content', PROP_STRING],
|
6
6
|
['hint', PROP_STRING],
|
7
|
+
['arialabel', PROP_STRING],
|
7
8
|
['name', PROP_STRING],
|
8
9
|
['show', { value: true, ...PROP_BOOLEAN }]
|
9
10
|
]));
|
10
11
|
};
|
11
|
-
//# sourceMappingURL=data:application/json;base64,
|
12
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaHRtbC5wcm9wcy5qcyIsInNvdXJjZVJvb3QiOiIiLC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ICAgICAgICAgIFsnaGludCcsIFBST1BfU1RSSU5HXSxcbiAgICAgICAgICAgICAgICBbJ2FyaWFsYWJlbCcsIFBST1BfU1RSSU5HXSxcbiAgICAgICAgICAgICAgICBbJ25hbWUnLCBQUk9QX1NUUklOR10sXG4gICAgICAgICAgICAgICAgWydzaG93Jywge3ZhbHVlOiB0cnVlLCAuLi5QUk9QX0JPT0xFQU59XVxuICAgICAgICAgICAgXVxuICAgICAgICApXG4gICAgKTtcbn07XG4iXX0=
|
@@ -12,7 +12,7 @@ function IconComponent_span_1_Template(rf, ctx) { if (rf & 1) {
|
|
12
12
|
} if (rf & 2) {
|
13
13
|
const ctx_r0 = i0.ɵɵnextContext();
|
14
14
|
i0.ɵɵadvance();
|
15
|
-
i0.ɵɵ
|
15
|
+
i0.ɵɵtextInterpolate(ctx_r0.arialabel || ctx_r0.caption || ctx_r0.appLocale.LABEL_ICON);
|
16
16
|
} }
|
17
17
|
function IconComponent_label_2_Template(rf, ctx) { if (rf & 1) {
|
18
18
|
i0.ɵɵelement(0, "label", 3);
|
@@ -37,12 +37,11 @@ export class IconComponent extends StylableComponent {
|
|
37
37
|
i0.ɵɵstyleProp("font-size", ctx.iconsize);
|
38
38
|
} }, features: [i0.ɵɵProvidersFeature([
|
39
39
|
provideAsWidgetRef(IconComponent)
|
40
|
-
]), i0.ɵɵInheritDefinitionFeature], attrs: _c0, decls: 3, vars:
|
40
|
+
]), i0.ɵɵInheritDefinitionFeature], attrs: _c0, decls: 3, vars: 5, consts: [["class", "sr-only", 4, "ngIf"], ["aria-hidden", "true", "class", "app-label", 3, "textContent", 4, "ngIf"], [1, "sr-only"], ["aria-hidden", "true", 1, "app-label", 3, "textContent"]], template: function IconComponent_Template(rf, ctx) { if (rf & 1) {
|
41
41
|
i0.ɵɵelement(0, "i");
|
42
|
-
i0.ɵɵtemplate(1, IconComponent_span_1_Template, 2,
|
42
|
+
i0.ɵɵtemplate(1, IconComponent_span_1_Template, 2, 1, "span", 0)(2, IconComponent_label_2_Template, 1, 1, "label", 1);
|
43
43
|
} if (rf & 2) {
|
44
44
|
i0.ɵɵclassMapInterpolate1("app-icon ", ctx.iconclass, "");
|
45
|
-
i0.ɵɵattribute("aria-label", ctx.hint || "Icon");
|
46
45
|
i0.ɵɵadvance();
|
47
46
|
i0.ɵɵproperty("ngIf", ctx.iconclass);
|
48
47
|
i0.ɵɵadvance();
|
@@ -53,7 +52,7 @@ export class IconComponent extends StylableComponent {
|
|
53
52
|
type: Component,
|
54
53
|
args: [{ selector: '[wmIcon]', providers: [
|
55
54
|
provideAsWidgetRef(IconComponent)
|
56
|
-
], template: "<i class=\"app-icon {{iconclass}}\"
|
55
|
+
], template: "<i class=\"app-icon {{iconclass}}\"></i>\n<span *ngIf=\"iconclass\" class=\"sr-only\">{{ arialabel || caption || appLocale.LABEL_ICON }}</span>\n<label *ngIf=\"caption\" [textContent]=\"caption\" aria-hidden=\"true\" class=\"app-label\"></label>\n" }]
|
57
56
|
}], () => [{ type: i0.Injector }, { type: undefined, decorators: [{
|
58
57
|
type: Inject,
|
59
58
|
args: ['EXPLICIT_CONTEXT']
|
@@ -66,5 +65,5 @@ export class IconComponent extends StylableComponent {
|
|
66
65
|
type: HostBinding,
|
67
66
|
args: ['style.fontSize']
|
68
67
|
}] }); })();
|
69
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(IconComponent, { className: "IconComponent", filePath: "icon/icon.component.ts", lineNumber:
|
70
|
-
//# sourceMappingURL=data:application/json;base64,
|
68
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(IconComponent, { className: "IconComponent", filePath: "icon/icon.component.ts", lineNumber: 19 }); })();
|
69
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaWNvbi5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9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nSWY9XCJjYXB0aW9uXCIgW3RleHRDb250ZW50XT1cImNhcHRpb25cIiBhcmlhLWhpZGRlbj1cInRydWVcIiBjbGFzcz1cImFwcC1sYWJlbFwiPjwvbGFiZWw+XG4iXX0=
|
@@ -7,6 +7,7 @@ export const registerProps = () => {
|
|
7
7
|
['conditionalclass', PROP_ANY],
|
8
8
|
['conditionalstyle', PROP_ANY],
|
9
9
|
['hint', PROP_STRING],
|
10
|
+
['arialabel', PROP_STRING],
|
10
11
|
['iconclass', { value: 'wm-sl-l sl-user', ...PROP_STRING }],
|
11
12
|
['iconposition', { value: 'left', ...PROP_STRING }],
|
12
13
|
['iconsize', PROP_STRING],
|
@@ -15,4 +16,4 @@ export const registerProps = () => {
|
|
15
16
|
['show', { value: true, ...PROP_BOOLEAN }]
|
16
17
|
]));
|
17
18
|
};
|
18
|
-
//# sourceMappingURL=data:application/json;base64,
|
19
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaWNvbi5wcm9wcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvbXBvbmVudHMvd2lkZ2V0cy9iYXNpYy9kZWZhdWx0L3NyYy9pY29uL2ljb24ucHJvcHMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLFFBQVEsRUFBRSxZQUFZLEVBQUUsV0FBVyxFQUFFLFFBQVEsRUFBQyxNQUFNLHFCQUFxQixDQUFDO0FBRWxGLE1BQU0sQ0FBQyxNQUFNLGFBQWEsR0FBRyxHQUFHLEVBQUU7SUFDOUIsUUFBUSxDQUNKLFNBQVMsRUFDVCxJQUFJLEdBQUcsQ0FDSDtRQUNJLENBQUMsV0FBVyxFQUFFLFdBQVcsQ0FBQztRQUMxQixDQUFDLFNBQVMsRUFBRSxXQUFXLENBQUM7UUFDeEIsQ0FBQyxPQUFPLEVBQUU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SxcbiAgICAgICAgICAgICAgICBbJ2NvbmRpdGlvbmFsY2xhc3MnLCBQUk9QX0FOWV0sXG4gICAgICAgICAgICAgICAgWydjb25kaXRpb25hbHN0eWxlJywgUFJPUF9BTlldLFxuICAgICAgICAgICAgICAgIFsnaGludCcsIFBST1BfU1RSSU5HXSxcbiAgICAgICAgICAgICAgICBbJ2FyaWFsYWJlbCcsIFBST1BfU1RSSU5HXSxcbiAgICAgICAgICAgICAgICBbJ2ljb25jbGFzcycsIHt2YWx1ZTogJ3dtLXNsLWwgc2wtdXNlcicsIC4uLlBST1BfU1RSSU5HfV0sXG4gICAgICAgICAgICAgICAgWydpY29ucG9zaXRpb24nLCB7dmFsdWU6ICdsZWZ0JywgLi4uUFJPUF9TVFJJTkd9XSxcbiAgICAgICAgICAgICAgICBbJ2ljb25zaXplJywgUFJPUF9TVFJJTkddLFxuICAgICAgICAgICAgICAgIFsnaWNvbnVybCcsIFBST1BfU1RSSU5HXSxcbiAgICAgICAgICAgICAgICBbJ25hbWUnLCBQUk9QX1NUUklOR10sXG4gICAgICAgICAgICAgICAgWydzaG93Jywge3ZhbHVlOiB0cnVlLCAuLi5QUk9QX0JPT0xFQU59XVxuICAgICAgICAgICAgXVxuICAgICAgICApXG4gICAgKTtcbn07XG4iXX0=
|
@@ -64,7 +64,7 @@ export class IframeComponent extends StylableComponent {
|
|
64
64
|
i0.ɵɵtemplate(1, IframeComponent_div_1_Template, 2, 2, "div", 1);
|
65
65
|
} if (rf & 2) {
|
66
66
|
i0.ɵɵproperty("name", ctx.name);
|
67
|
-
i0.ɵɵattribute("src", ctx._iframesrc, i0.ɵɵsanitizeResourceUrl)("aria-label", ctx.
|
67
|
+
i0.ɵɵattribute("src", ctx._iframesrc, i0.ɵɵsanitizeResourceUrl)("aria-label", ctx.arialabel || "iframe");
|
68
68
|
i0.ɵɵadvance();
|
69
69
|
i0.ɵɵproperty("ngIf", ctx.showContentLoadError);
|
70
70
|
} }, dependencies: [i2.NgIf, i1.TextContentDirective], encapsulation: 2 }); }
|
@@ -73,7 +73,7 @@ export class IframeComponent extends StylableComponent {
|
|
73
73
|
type: Component,
|
74
74
|
args: [{ selector: '[wmIframe]', providers: [
|
75
75
|
provideAsWidgetRef(IframeComponent)
|
76
|
-
], template: "<iframe class=\"embed-responsive-item iframe-content\" role=\"document\"\n scrolling=\"auto\"\n marginheight=\"0\"\n marginwidth=\"0\"\n frameborder=\"0\"\n [name]=\"name\"\n [attr.src]=\"_iframesrc\"\n
|
76
|
+
], template: "<iframe class=\"embed-responsive-item iframe-content\" role=\"document\"\n scrolling=\"auto\"\n marginheight=\"0\"\n marginwidth=\"0\"\n frameborder=\"0\"\n [name]=\"name\"\n [attr.src]=\"_iframesrc\"\n [attr.aria-label]=\"arialabel || 'iframe'\"\n seamless=\"seamless\">\n</iframe>\n<div class=\"wm-content-info readonly-wrapper\" *ngIf=\"showContentLoadError\">\n <p class=\"wm-message\" [title]=\"hintMsg\" [textContent]=\"errMsg\"></p>\n</div>\n" }]
|
77
77
|
}], () => [{ type: i0.Injector }, { type: i1.TrustAsPipe }, { type: undefined, decorators: [{
|
78
78
|
type: Inject,
|
79
79
|
args: ['EXPLICIT_CONTEXT']
|
@@ -81,4 +81,4 @@ export class IframeComponent extends StylableComponent {
|
|
81
81
|
type: Optional
|
82
82
|
}] }], null); })();
|
83
83
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(IframeComponent, { className: "IframeComponent", filePath: "iframe/iframe.component.ts", lineNumber: 22 }); })();
|
84
|
-
//# sourceMappingURL=data:application/json;base64,
|
84
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaWZyYW1lLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvbXBvbmVudHMvd2lkZ2V0cy9iYXNpYy9kZWZhdWx0L3NyYy9pZ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