@wavemaker/app-ng-runtime 12.0.0-next.45104 → 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
@@ -155,6 +155,12 @@
|
|
155
155
|
setReturnFocus: focusTrapObj.activeElement,
|
156
156
|
});
|
157
157
|
focusTrapObj[ref.titleId].activate();
|
158
|
+
const openedDialogs = ref.dialogService.getOpenedDialogs();
|
159
|
+
if (openedDialogs.length > 1) {
|
160
|
+
let zIndex = Number($("[aria-labelledby= " + openedDialogs[openedDialogs.length - 2].titleId + "]").css('z-index'));
|
161
|
+
$('[aria-labelledby= ' + ref.dialogService.getLastOpenedDialog().titleId + ']').css('z-index', zIndex + 2);
|
162
|
+
$('bs-modal-backdrop').css('z-index', zIndex + 1);
|
163
|
+
}
|
158
164
|
});
|
159
165
|
}
|
160
166
|
};
|
@@ -162,6 +168,11 @@
|
|
162
168
|
if (ref) {
|
163
169
|
ref.invokeEventCallback('close');
|
164
170
|
ref.dialogRef = undefined;
|
171
|
+
const openedDialogs = ref.dialogService.getOpenedDialogs();
|
172
|
+
if (openedDialogs.length >= 1) {
|
173
|
+
let zIndex = Number($("[aria-labelledby= " + openedDialogs[openedDialogs.length - 1].titleId + "]").css('z-index'));
|
174
|
+
$('bs-modal-backdrop').css('z-index', zIndex - 1);
|
175
|
+
}
|
165
176
|
}
|
166
177
|
};
|
167
178
|
class BaseDialog extends i2.BaseComponent {
|
@@ -246,6 +257,7 @@
|
|
246
257
|
const parentSelector = $('body > app-root')[0];
|
247
258
|
parentSelector.setAttribute('aria-hidden', 'true');
|
248
259
|
}
|
260
|
+
$('.cdk-focus-trap-anchor').removeAttr('aria-hidden');
|
249
261
|
}
|
250
262
|
/**
|
251
263
|
* closes the dialog
|
@@ -315,6 +327,9 @@
|
|
315
327
|
i0__namespace.ɵɵlistener("click", function DialogHeaderComponent_button_0_Template_button_click_0_listener() { i0__namespace.ɵɵrestoreView(_r1); const ctx_r1 = i0__namespace.ɵɵnextContext(); return i0__namespace.ɵɵresetView(ctx_r1.closeDialog()); });
|
316
328
|
i0__namespace.ɵɵelement(1, "i", 6);
|
317
329
|
i0__namespace.ɵɵelementEnd();
|
330
|
+
} if (rf & 2) {
|
331
|
+
const ctx_r1 = i0__namespace.ɵɵnextContext();
|
332
|
+
i0__namespace.ɵɵattribute("aria-label", "Close " + (ctx_r1.title ? ctx_r1.title : "") + " dialog");
|
318
333
|
} }
|
319
334
|
function DialogHeaderComponent_ng_container_2_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
320
335
|
i0__namespace.ɵɵelementContainer(0);
|
@@ -472,8 +487,8 @@
|
|
472
487
|
this.dialogRef.close();
|
473
488
|
}
|
474
489
|
static { this.ɵfac = function DialogHeaderComponent_Factory(t) { return new (t || DialogHeaderComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.ElementRef), i0__namespace.ɵɵdirectiveInject(i2.DialogRef)); }; }
|
475
|
-
static { this.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: DialogHeaderComponent, selectors: [["div", "wmDialogHeader", ""]], inputs: { iconwidth: "iconwidth", iconheight: "iconheight", iconmargin: "iconmargin", iconclass: "iconclass", iconurl: "iconurl", closable: "closable", heading: "heading", headinglevel: "headinglevel", subheading: "subheading", titleid: "titleid" }, attrs: _c0, decls: 11, vars: 8, consts: [["headerTemplate", ""], ["
|
476
|
-
i0__namespace.ɵɵtemplate(0, DialogHeaderComponent_button_0_Template, 2,
|
490
|
+
static { this.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: DialogHeaderComponent, selectors: [["div", "wmDialogHeader", ""]], inputs: { iconwidth: "iconwidth", iconheight: "iconheight", iconmargin: "iconmargin", iconclass: "iconclass", iconurl: "iconurl", closable: "closable", heading: "heading", headinglevel: "headinglevel", subheading: "subheading", titleid: "titleid", title: "title" }, attrs: _c0, decls: 11, vars: 8, consts: [["headerTemplate", ""], ["title", "Close", "class", "app-dialog-close close btn btn-icon", 3, "click", 4, "ngIf"], [3, "ngSwitch"], [4, "ngSwitchCase"], [4, "ngSwitchDefault"], ["title", "Close", 1, "app-dialog-close", "close", "btn", "btn-icon", 3, "click"], ["aria-hidden", "true", 1, "app-icon", "wi", "wi-clear"], [1, "app-dialog-title", "modal-title"], [4, "ngTemplateOutlet"], [3, "ngClass", "ngStyle", 4, "ngIf"], ["data-identifier", "img", 3, "src", "ngStyle", 4, "ngIf"], [1, "dialog-heading", 3, "textContent", "id"], ["class", "dialog-sub-heading", 3, "title", "textContent", 4, "ngIf"], [3, "ngClass", "ngStyle"], ["data-identifier", "img", 3, "src", "ngStyle"], [1, "dialog-sub-heading", 3, "title", "textContent"]], template: function DialogHeaderComponent_Template(rf, ctx) { if (rf & 1) {
|
491
|
+
i0__namespace.ɵɵtemplate(0, DialogHeaderComponent_button_0_Template, 2, 1, "button", 1);
|
477
492
|
i0__namespace.ɵɵelementContainerStart(1, 2);
|
478
493
|
i0__namespace.ɵɵtemplate(2, DialogHeaderComponent_ng_container_2_Template, 3, 1, "ng-container", 3)(3, DialogHeaderComponent_ng_container_3_Template, 3, 1, "ng-container", 3)(4, DialogHeaderComponent_ng_container_4_Template, 3, 1, "ng-container", 3)(5, DialogHeaderComponent_ng_container_5_Template, 3, 1, "ng-container", 3)(6, DialogHeaderComponent_ng_container_6_Template, 3, 1, "ng-container", 3)(7, DialogHeaderComponent_ng_container_7_Template, 3, 1, "ng-container", 3)(8, DialogHeaderComponent_ng_container_8_Template, 3, 1, "ng-container", 4);
|
479
494
|
i0__namespace.ɵɵelementContainerEnd();
|
@@ -498,7 +513,7 @@
|
|
498
513
|
}
|
499
514
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(DialogHeaderComponent, [{
|
500
515
|
type: i0.Component,
|
501
|
-
args: [{ selector: 'div[wmDialogHeader]', template: "<button *ngIf=\"isClosable\" aria-label=\"Close\" title=\"Close\" class=\"app-dialog-close close btn btn-icon\" (click)=\"closeDialog();\">\n <i class=\"app-icon wi wi-clear\" aria-hidden=\"true\"></i>\n</button>\n\n<ng-container [ngSwitch]=\"headinglevel\">\n <ng-container *ngSwitchCase=\"'h1'\">\n <h1 class=\"app-dialog-title modal-title\">\n <ng-container *ngTemplateOutlet=\"headerTemplate\"></ng-container>\n </h1>\n </ng-container>\n <ng-container *ngSwitchCase=\"'h2'\">\n <h2 class=\"app-dialog-title modal-title\">\n <ng-container *ngTemplateOutlet=\"headerTemplate\"></ng-container>\n </h2>\n </ng-container>\n <ng-container *ngSwitchCase=\"'h3'\">\n <h3 class=\"app-dialog-title modal-title\">\n <ng-container *ngTemplateOutlet=\"headerTemplate\"></ng-container>\n </h3>\n </ng-container>\n <ng-container *ngSwitchCase=\"'h4'\">\n <h4 class=\"app-dialog-title modal-title\">\n <ng-container *ngTemplateOutlet=\"headerTemplate\"></ng-container>\n </h4>\n </ng-container>\n <ng-container *ngSwitchCase=\"'h5'\">\n <h5 class=\"app-dialog-title modal-title\">\n <ng-container *ngTemplateOutlet=\"headerTemplate\"></ng-container>\n </h5>\n </ng-container>\n <ng-container *ngSwitchCase=\"'h6'\">\n <h6 class=\"app-dialog-title modal-title\">\n <ng-container *ngTemplateOutlet=\"headerTemplate\"></ng-container>\n </h6>\n </ng-container>\n <ng-container *ngSwitchDefault>\n <h4 class=\"app-dialog-title modal-title\">\n <ng-container *ngTemplateOutlet=\"headerTemplate\"></ng-container>\n </h4>\n </ng-container>\n</ng-container>\n\n<ng-template #headerTemplate>\n <i [ngClass]=\"iconclass\" [ngStyle]=\"{width: iconwidth, height: iconheight, margin: iconmargin}\" *ngIf=\"iconclass && !iconurl\"></i>\n <img data-identifier=\"img\" [src]=\"iconurl | image\" *ngIf=\"iconurl\" [ngStyle]=\"{width: iconwidth, height: iconheight, margin: iconmargin}\"/>\n <span class=\"dialog-heading\" [textContent]=\"heading\" [id]=\"titleid\"></span>\n <span class=\"dialog-sub-heading\" *ngIf=\"subheading\" [title]=\"subheading\" [textContent]=\"subheading\"></span>\n</ng-template>\n" }]
|
516
|
+
args: [{ selector: 'div[wmDialogHeader]', template: "<button *ngIf=\"isClosable\" [attr.aria-label]=\"'Close ' + (title ? title : '') + ' dialog'\" title=\"Close\" class=\"app-dialog-close close btn btn-icon\" (click)=\"closeDialog();\">\n <i class=\"app-icon wi wi-clear\" aria-hidden=\"true\"></i>\n</button>\n\n<ng-container [ngSwitch]=\"headinglevel\">\n <ng-container *ngSwitchCase=\"'h1'\">\n <h1 class=\"app-dialog-title modal-title\">\n <ng-container *ngTemplateOutlet=\"headerTemplate\"></ng-container>\n </h1>\n </ng-container>\n <ng-container *ngSwitchCase=\"'h2'\">\n <h2 class=\"app-dialog-title modal-title\">\n <ng-container *ngTemplateOutlet=\"headerTemplate\"></ng-container>\n </h2>\n </ng-container>\n <ng-container *ngSwitchCase=\"'h3'\">\n <h3 class=\"app-dialog-title modal-title\">\n <ng-container *ngTemplateOutlet=\"headerTemplate\"></ng-container>\n </h3>\n </ng-container>\n <ng-container *ngSwitchCase=\"'h4'\">\n <h4 class=\"app-dialog-title modal-title\">\n <ng-container *ngTemplateOutlet=\"headerTemplate\"></ng-container>\n </h4>\n </ng-container>\n <ng-container *ngSwitchCase=\"'h5'\">\n <h5 class=\"app-dialog-title modal-title\">\n <ng-container *ngTemplateOutlet=\"headerTemplate\"></ng-container>\n </h5>\n </ng-container>\n <ng-container *ngSwitchCase=\"'h6'\">\n <h6 class=\"app-dialog-title modal-title\">\n <ng-container *ngTemplateOutlet=\"headerTemplate\"></ng-container>\n </h6>\n </ng-container>\n <ng-container *ngSwitchDefault>\n <h4 class=\"app-dialog-title modal-title\">\n <ng-container *ngTemplateOutlet=\"headerTemplate\"></ng-container>\n </h4>\n </ng-container>\n</ng-container>\n\n<ng-template #headerTemplate>\n <i [ngClass]=\"iconclass\" [ngStyle]=\"{width: iconwidth, height: iconheight, margin: iconmargin}\" *ngIf=\"iconclass && !iconurl\"></i>\n <img data-identifier=\"img\" [src]=\"iconurl | image\" *ngIf=\"iconurl\" [ngStyle]=\"{width: iconwidth, height: iconheight, margin: iconmargin}\"/>\n <span class=\"dialog-heading\" [textContent]=\"heading\" [id]=\"titleid\"></span>\n <span class=\"dialog-sub-heading\" *ngIf=\"subheading\" [title]=\"subheading\" [textContent]=\"subheading\"></span>\n</ng-template>\n" }]
|
502
517
|
}], () => [{ type: i0__namespace.ElementRef }, { type: BaseDialog, decorators: [{
|
503
518
|
type: i0.Inject,
|
504
519
|
args: [i2.DialogRef]
|
@@ -522,6 +537,8 @@
|
|
522
537
|
type: i0.Input
|
523
538
|
}], titleid: [{
|
524
539
|
type: i0.Input
|
540
|
+
}], title: [{
|
541
|
+
type: i0.Input
|
525
542
|
}] }); })();
|
526
543
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassDebugInfo(DialogHeaderComponent, { className: "DialogHeaderComponent", filePath: "dialog-header/dialog-header.component.ts", lineNumber: 15 }); })();
|
527
544
|
|
@@ -13,9 +13,10 @@ export declare class DialogHeaderComponent {
|
|
13
13
|
headinglevel?: string;
|
14
14
|
subheading: string;
|
15
15
|
titleid: string;
|
16
|
+
title: string;
|
16
17
|
get isClosable(): boolean;
|
17
18
|
constructor(elRef: ElementRef, dialogRef: BaseDialog);
|
18
19
|
closeDialog(): void;
|
19
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<DialogHeaderComponent, never>;
|
20
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DialogHeaderComponent, "div[wmDialogHeader]", never, { "iconwidth": { "alias": "iconwidth"; "required": false; }; "iconheight": { "alias": "iconheight"; "required": false; }; "iconmargin": { "alias": "iconmargin"; "required": false; }; "iconclass": { "alias": "iconclass"; "required": false; }; "iconurl": { "alias": "iconurl"; "required": false; }; "closable": { "alias": "closable"; "required": false; }; "heading": { "alias": "heading"; "required": false; }; "headinglevel": { "alias": "headinglevel"; "required": false; }; "subheading": { "alias": "subheading"; "required": false; }; "titleid": { "alias": "titleid"; "required": false; }; }, {}, never, never, false, never>;
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DialogHeaderComponent, "div[wmDialogHeader]", never, { "iconwidth": { "alias": "iconwidth"; "required": false; }; "iconheight": { "alias": "iconheight"; "required": false; }; "iconmargin": { "alias": "iconmargin"; "required": false; }; "iconclass": { "alias": "iconclass"; "required": false; }; "iconurl": { "alias": "iconurl"; "required": false; }; "closable": { "alias": "closable"; "required": false; }; "heading": { "alias": "heading"; "required": false; }; "headinglevel": { "alias": "headinglevel"; "required": false; }; "subheading": { "alias": "subheading"; "required": false; }; "titleid": { "alias": "titleid"; "required": false; }; "title": { "alias": "title"; "required": false; }; }, {}, never, never, false, never>;
|
21
22
|
}
|
@@ -32,6 +32,12 @@ const invokeOpenedCallback = (ref) => {
|
|
32
32
|
setReturnFocus: focusTrapObj.activeElement,
|
33
33
|
});
|
34
34
|
focusTrapObj[ref.titleId].activate();
|
35
|
+
const openedDialogs = ref.dialogService.getOpenedDialogs();
|
36
|
+
if (openedDialogs.length > 1) {
|
37
|
+
let zIndex = Number($("[aria-labelledby= " + openedDialogs[openedDialogs.length - 2].titleId + "]").css('z-index'));
|
38
|
+
$('[aria-labelledby= ' + ref.dialogService.getLastOpenedDialog().titleId + ']').css('z-index', zIndex + 2);
|
39
|
+
$('bs-modal-backdrop').css('z-index', zIndex + 1);
|
40
|
+
}
|
35
41
|
});
|
36
42
|
}
|
37
43
|
};
|
@@ -39,6 +45,11 @@ const invokeClosedCallback = (ref) => {
|
|
39
45
|
if (ref) {
|
40
46
|
ref.invokeEventCallback('close');
|
41
47
|
ref.dialogRef = undefined;
|
48
|
+
const openedDialogs = ref.dialogService.getOpenedDialogs();
|
49
|
+
if (openedDialogs.length >= 1) {
|
50
|
+
let zIndex = Number($("[aria-labelledby= " + openedDialogs[openedDialogs.length - 1].titleId + "]").css('z-index'));
|
51
|
+
$('bs-modal-backdrop').css('z-index', zIndex - 1);
|
52
|
+
}
|
42
53
|
}
|
43
54
|
};
|
44
55
|
export class BaseDialog extends BaseComponent {
|
@@ -123,6 +134,7 @@ export class BaseDialog extends BaseComponent {
|
|
123
134
|
const parentSelector = $('body > app-root')[0];
|
124
135
|
parentSelector.setAttribute('aria-hidden', 'true');
|
125
136
|
}
|
137
|
+
$('.cdk-focus-trap-anchor').removeAttr('aria-hidden');
|
126
138
|
}
|
127
139
|
/**
|
128
140
|
* closes the dialog
|
@@ -183,4 +195,4 @@ export class BaseDialog extends BaseComponent {
|
|
183
195
|
}, {
|
184
196
|
type: Optional
|
185
197
|
}] }], null); })();
|
186
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFzZS1kaWFsb2cuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb21wb25lbnRzL3dpZGdldHMvZGlhbG9ncy9kZWZhdWx0L3NyYy9iYXNlLWRpYWxvZy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsTUFBTSxFQUFFLFVBQVUsRUFBRSxRQUFRLEVBQWEsUUFBUSxFQUFlLE1BQU0sZUFBZSxDQUFDO0FBQy9GLE9BQU8sRUFBRSxhQUFhLEVBQUUsTUFBTSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDeEQsT0FBTyxFQUFjLGNBQWMsRUFBRSxZQUFZLEVBQUUsTUFBTSxxQkFBcUIsQ0FBQztBQUkvRSxPQUFPLEVBQUUscUJBQXFCLEVBQUUsaUJBQWlCLEVBQUUsWUFBWSxFQUFFLFFBQVEsRUFBRSxXQUFXLEVBQXlCLE1BQU0sVUFBVSxDQUFDO0FBRWhJLE9BQU8sRUFBRSxhQUFhLEVBQTBC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gcHJvdGVjdGVkIG1vZGFsT3B0aW9uczogTW9kYWxPcHRpb25zLFxuICAgICAgICBASW5qZWN0KCdFWFBMSUNJVF9DT05URVhUJykgQE9wdGlvbmFsKCkgZXhwbGljaXRDb250ZXh0OiBhbnlcbiAgICApIHtcbiAgICAgICAgc3VwZXIoaW5qLCBjb25maWcsIGV4cGxpY2l0Q29udGV4dCk7XG4gICAgICAgIHRoaXMuZGlhbG9nU2VydmljZSA9IGluai5nZXQoQWJzdHJhY3REaWFsb2dTZXJ2aWNlKTtcbiAgICAgICAgdGhpcy5ic01vZGFsID0gaW5qLmdldChCc01vZGFsU2VydmljZSk7XG4gICAgICAgIGNvbnN0IHJvdXRlciA9IGluai5nZXQoUm91dGVyKTtcblxuICAgICAgICBjb25zdCBzdWJzY3JpcHRpb25zOiBTdWJzY3JpcHRpb25bXSA9IFtcbiAgICAgICAgICAgIHRoaXMuYnNNb2RhbC5vblNob3duLnN1YnNjcmliZSgoeyBpZCB9KSA9PiB7XG4gICAgICAgICAgICAgICAgY29uc3QgcmVmID0gdGhpcy5kaWFsb2dTZXJ2aWNlLmdldExhc3RPcGVuZWREaWFsb2coKTtcbiAgICAgICAgICAgICAgICBpZiAocmVmID09PSB0aGlzICYmICF0aGlzLmRpYWxvZ0lkKSB7XG4gICAgICAgICAgICAgICAgICAgIC8vIEFsd2F5cyBnZXQgdGhlIHJlZmVyZW5jZSBvZiBsYXN0IHB1c2hlZCBkaWFsb2cgaW4gdGhlIGFycmF5IGZvciBjYWxsaW5nIG9uT3BlbiBjYWxsYmFja1xuICAgICAgICAgICAgICAgICAgICBpbnZva2VPcGVuZWRDYWxsYmFjayhyZWYpO1xuICAgICAgICAgICAgICAgICAgICB0aGlzLmRpYWxvZ0lkID0gaWQ7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfSksXG4gICAgICAgICAgICB0aGlzLmJzTW9kYWwub25TaG93LnN1YnNjcmliZSgoKSA9PiB7XG4gICAgICAgICAgICAgICAgZm9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mFjayhyZWYpO1xuICAgICAgICAgICAgICAgICAgICBpZiAocmVmLmNsb3NlQ2FsbEJhY2tGbikge1xuICAgICAgICAgICAgICAgICAgICAgICAgcmVmLmNsb3NlQ2FsbEJhY2tGbigpO1xuICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfSksXG4gICAgICAgICAgICB0aGlzLmJzTW9kYWwub25IaWRlLnN1YnNjcmliZSgoKSA9PiB7XG4gICAgICAgICAgICAgICAgLy8gIFdpbGwgZGUtYWN0aXZhdGUgZm9jdXMgdHJhcCBmb3IgdGhlIHJlc3BlY3RpdmUgZGlhbG9nIHdoZW4gdGhleSBhcmUgY2xvc2VkLlxuICAgICAgICAgICAgICAgIGNvbnN0IHJlZiA9IHRoaXMuZGlhbG9nU2VydmljZS5nZXREaWFsb2dSZWZGcm9tQ2xvc2VkRGlhbG9ncygpO1xuICAgICAgICAgICAgICAgIGlmIChyZWYgJiYgZm9jdXNUcmFwT2JqW3JlZi50aXRsZUlkXSAhPT0gdW5kZWZpbmVkKSB7XG4gICAgICAgICAgICAgICAgICAgIGZvY3VzVHJhcE9ialtyZWYudGl0bGVJZF0uZGVhY3RpdmF0ZSgpO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH0pLFxuICAgICAgICAgICAgcm91dGVyLmV2ZW50cy5zdWJzY3JpYmUoZSA9PiB7XG4gICAgICAgICAgICAgICAgaWYgKGUgaW5zdGFuY2VvZiBOYXZpZ2F0aW9uRW5kKSB7XG4gICAgICAgICAgICAgICAgICAgIHRoaXMuY2xvc2UoKTtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9KVxuICAgICAgICBdO1xuICAgICAgICB0aGlzLnJlZ2lzdGVyRGVzdHJveUxpc3RlbmVyKCgpID0+IHsvLyByZW1vdmUgdGhlIGRpYWxvZyByZWZlcmVuY2UgZnJvbSBvcGVuZWQgZGlhbG9ncyBhbmQgY2xvc2VkIGRpYWxv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gICAgICAgICAgICAgICAgICAvLyBBbHdheXMgZ2V0IHRoZSByZWZlcmVuY2Ugb2YgbGFzdCBwdXNoZWQgZGlhbG9nIGluIHRoZSBhcnJheSBmb3IgY2FsbGluZyBvbk9wZW4gY2FsbGJhY2tcbiAgICAgICAgICAgICAgICAgICAgaW52b2tlT3BlbmVkQ2FsbGJhY2socmVmKTtcbiAgICAgICAgICAgICAgICAgICAgdGhpcy5kaWFsb2dJZCA9IGlkO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH0pLFxuICAgICAgICAgICAgdGhpcy5ic01vZGFsLm9uU2hvdy5zdWJzY3JpYmUoKCkgPT4ge1xuICAgICAgICAgICAgICAgIGZvY3VzVHJhcE9iai5hY3RpdmVFbGVtZW50ID0gZG9jdW1lbnQuYWN0aXZlRWxlbWVudDtcbiAgICAgICAgICAgIH0pLFxuICAgICAgICAgICAgdGhpcy5ic01vZGFsLm9uSGlkZGVuLnN1YnNjcmliZSgoY2xvc2VSZWFzb24pID0+IHtcbiAgICAgICAgICAgICAgICBsZXQgcmVmID0gdGhpcy5kaWFsb2dTZXJ2aWNlLmdldERpYWxvZ1JlZkZyb21DbG9zZWREaWFsb2dzKCk7XG4gICAgICAgICAgICAgICAgaWYgKHRoaXMuZGlhbG9nSWQgJiYgY2xvc2VSZWFzb24/LmlkID09PSB0aGlzLmRpYWxvZ0lkKSB7XG4gICAgICAgICAgICAgICAgICAgIHJlZiA9IHRoaXM7XG4gICAgICAgICAgICAgICAgfSBlbHNlIGlmIChjbG9zZVJlYXNvbiA9PT0gJ2VzYycgfHwgY2xvc2VSZWFzb24gPT09ICdiYWNrZHJvcC1jbGljaycpIHtcbiAgICAgICAgICAgICAgICAgICAgcmVmID0gdGhpcy5kaWFsb2dTZXJ2aWNlLmdldExhc3RPcGVuZWREaWFsb2coKTtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgaWYgKHJlZiA9PT0gdGhpcykge1xuICAgICAgICAgICAgICAg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GVSZWdpc3Rlcih0aGlzLnZpZXdQYXJlbnQpO1xuICAgICAgICBzdXBlci5uZ09uRGVzdHJveSgpO1xuICAgIH1cbn1cbiJdfQ==
|
@@ -14,6 +14,9 @@ function DialogHeaderComponent_button_0_Template(rf, ctx) { if (rf & 1) {
|
|
14
14
|
i0.ɵɵlistener("click", function DialogHeaderComponent_button_0_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.closeDialog()); });
|
15
15
|
i0.ɵɵelement(1, "i", 6);
|
16
16
|
i0.ɵɵelementEnd();
|
17
|
+
} if (rf & 2) {
|
18
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
19
|
+
i0.ɵɵattribute("aria-label", "Close " + (ctx_r1.title ? ctx_r1.title : "") + " dialog");
|
17
20
|
} }
|
18
21
|
function DialogHeaderComponent_ng_container_2_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
19
22
|
i0.ɵɵelementContainer(0);
|
@@ -171,8 +174,8 @@ export class DialogHeaderComponent {
|
|
171
174
|
this.dialogRef.close();
|
172
175
|
}
|
173
176
|
static { this.ɵfac = function DialogHeaderComponent_Factory(t) { return new (t || DialogHeaderComponent)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(DialogRef)); }; }
|
174
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: DialogHeaderComponent, selectors: [["div", "wmDialogHeader", ""]], inputs: { iconwidth: "iconwidth", iconheight: "iconheight", iconmargin: "iconmargin", iconclass: "iconclass", iconurl: "iconurl", closable: "closable", heading: "heading", headinglevel: "headinglevel", subheading: "subheading", titleid: "titleid" }, attrs: _c0, decls: 11, vars: 8, consts: [["headerTemplate", ""], ["
|
175
|
-
i0.ɵɵtemplate(0, DialogHeaderComponent_button_0_Template, 2,
|
177
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: DialogHeaderComponent, selectors: [["div", "wmDialogHeader", ""]], inputs: { iconwidth: "iconwidth", iconheight: "iconheight", iconmargin: "iconmargin", iconclass: "iconclass", iconurl: "iconurl", closable: "closable", heading: "heading", headinglevel: "headinglevel", subheading: "subheading", titleid: "titleid", title: "title" }, attrs: _c0, decls: 11, vars: 8, consts: [["headerTemplate", ""], ["title", "Close", "class", "app-dialog-close close btn btn-icon", 3, "click", 4, "ngIf"], [3, "ngSwitch"], [4, "ngSwitchCase"], [4, "ngSwitchDefault"], ["title", "Close", 1, "app-dialog-close", "close", "btn", "btn-icon", 3, "click"], ["aria-hidden", "true", 1, "app-icon", "wi", "wi-clear"], [1, "app-dialog-title", "modal-title"], [4, "ngTemplateOutlet"], [3, "ngClass", "ngStyle", 4, "ngIf"], ["data-identifier", "img", 3, "src", "ngStyle", 4, "ngIf"], [1, "dialog-heading", 3, "textContent", "id"], ["class", "dialog-sub-heading", 3, "title", "textContent", 4, "ngIf"], [3, "ngClass", "ngStyle"], ["data-identifier", "img", 3, "src", "ngStyle"], [1, "dialog-sub-heading", 3, "title", "textContent"]], template: function DialogHeaderComponent_Template(rf, ctx) { if (rf & 1) {
|
178
|
+
i0.ɵɵtemplate(0, DialogHeaderComponent_button_0_Template, 2, 1, "button", 1);
|
176
179
|
i0.ɵɵelementContainerStart(1, 2);
|
177
180
|
i0.ɵɵtemplate(2, DialogHeaderComponent_ng_container_2_Template, 3, 1, "ng-container", 3)(3, DialogHeaderComponent_ng_container_3_Template, 3, 1, "ng-container", 3)(4, DialogHeaderComponent_ng_container_4_Template, 3, 1, "ng-container", 3)(5, DialogHeaderComponent_ng_container_5_Template, 3, 1, "ng-container", 3)(6, DialogHeaderComponent_ng_container_6_Template, 3, 1, "ng-container", 3)(7, DialogHeaderComponent_ng_container_7_Template, 3, 1, "ng-container", 3)(8, DialogHeaderComponent_ng_container_8_Template, 3, 1, "ng-container", 4);
|
178
181
|
i0.ɵɵelementContainerEnd();
|
@@ -197,7 +200,7 @@ export class DialogHeaderComponent {
|
|
197
200
|
}
|
198
201
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DialogHeaderComponent, [{
|
199
202
|
type: Component,
|
200
|
-
args: [{ selector: 'div[wmDialogHeader]', template: "<button *ngIf=\"isClosable\" aria-label=\"Close\" title=\"Close\" class=\"app-dialog-close close btn btn-icon\" (click)=\"closeDialog();\">\n <i class=\"app-icon wi wi-clear\" aria-hidden=\"true\"></i>\n</button>\n\n<ng-container [ngSwitch]=\"headinglevel\">\n <ng-container *ngSwitchCase=\"'h1'\">\n <h1 class=\"app-dialog-title modal-title\">\n <ng-container *ngTemplateOutlet=\"headerTemplate\"></ng-container>\n </h1>\n </ng-container>\n <ng-container *ngSwitchCase=\"'h2'\">\n <h2 class=\"app-dialog-title modal-title\">\n <ng-container *ngTemplateOutlet=\"headerTemplate\"></ng-container>\n </h2>\n </ng-container>\n <ng-container *ngSwitchCase=\"'h3'\">\n <h3 class=\"app-dialog-title modal-title\">\n <ng-container *ngTemplateOutlet=\"headerTemplate\"></ng-container>\n </h3>\n </ng-container>\n <ng-container *ngSwitchCase=\"'h4'\">\n <h4 class=\"app-dialog-title modal-title\">\n <ng-container *ngTemplateOutlet=\"headerTemplate\"></ng-container>\n </h4>\n </ng-container>\n <ng-container *ngSwitchCase=\"'h5'\">\n <h5 class=\"app-dialog-title modal-title\">\n <ng-container *ngTemplateOutlet=\"headerTemplate\"></ng-container>\n </h5>\n </ng-container>\n <ng-container *ngSwitchCase=\"'h6'\">\n <h6 class=\"app-dialog-title modal-title\">\n <ng-container *ngTemplateOutlet=\"headerTemplate\"></ng-container>\n </h6>\n </ng-container>\n <ng-container *ngSwitchDefault>\n <h4 class=\"app-dialog-title modal-title\">\n <ng-container *ngTemplateOutlet=\"headerTemplate\"></ng-container>\n </h4>\n </ng-container>\n</ng-container>\n\n<ng-template #headerTemplate>\n <i [ngClass]=\"iconclass\" [ngStyle]=\"{width: iconwidth, height: iconheight, margin: iconmargin}\" *ngIf=\"iconclass && !iconurl\"></i>\n <img data-identifier=\"img\" [src]=\"iconurl | image\" *ngIf=\"iconurl\" [ngStyle]=\"{width: iconwidth, height: iconheight, margin: iconmargin}\"/>\n <span class=\"dialog-heading\" [textContent]=\"heading\" [id]=\"titleid\"></span>\n <span class=\"dialog-sub-heading\" *ngIf=\"subheading\" [title]=\"subheading\" [textContent]=\"subheading\"></span>\n</ng-template>\n" }]
|
203
|
+
args: [{ selector: 'div[wmDialogHeader]', template: "<button *ngIf=\"isClosable\" [attr.aria-label]=\"'Close ' + (title ? title : '') + ' dialog'\" title=\"Close\" class=\"app-dialog-close close btn btn-icon\" (click)=\"closeDialog();\">\n <i class=\"app-icon wi wi-clear\" aria-hidden=\"true\"></i>\n</button>\n\n<ng-container [ngSwitch]=\"headinglevel\">\n <ng-container *ngSwitchCase=\"'h1'\">\n <h1 class=\"app-dialog-title modal-title\">\n <ng-container *ngTemplateOutlet=\"headerTemplate\"></ng-container>\n </h1>\n </ng-container>\n <ng-container *ngSwitchCase=\"'h2'\">\n <h2 class=\"app-dialog-title modal-title\">\n <ng-container *ngTemplateOutlet=\"headerTemplate\"></ng-container>\n </h2>\n </ng-container>\n <ng-container *ngSwitchCase=\"'h3'\">\n <h3 class=\"app-dialog-title modal-title\">\n <ng-container *ngTemplateOutlet=\"headerTemplate\"></ng-container>\n </h3>\n </ng-container>\n <ng-container *ngSwitchCase=\"'h4'\">\n <h4 class=\"app-dialog-title modal-title\">\n <ng-container *ngTemplateOutlet=\"headerTemplate\"></ng-container>\n </h4>\n </ng-container>\n <ng-container *ngSwitchCase=\"'h5'\">\n <h5 class=\"app-dialog-title modal-title\">\n <ng-container *ngTemplateOutlet=\"headerTemplate\"></ng-container>\n </h5>\n </ng-container>\n <ng-container *ngSwitchCase=\"'h6'\">\n <h6 class=\"app-dialog-title modal-title\">\n <ng-container *ngTemplateOutlet=\"headerTemplate\"></ng-container>\n </h6>\n </ng-container>\n <ng-container *ngSwitchDefault>\n <h4 class=\"app-dialog-title modal-title\">\n <ng-container *ngTemplateOutlet=\"headerTemplate\"></ng-container>\n </h4>\n </ng-container>\n</ng-container>\n\n<ng-template #headerTemplate>\n <i [ngClass]=\"iconclass\" [ngStyle]=\"{width: iconwidth, height: iconheight, margin: iconmargin}\" *ngIf=\"iconclass && !iconurl\"></i>\n <img data-identifier=\"img\" [src]=\"iconurl | image\" *ngIf=\"iconurl\" [ngStyle]=\"{width: iconwidth, height: iconheight, margin: iconmargin}\"/>\n <span class=\"dialog-heading\" [textContent]=\"heading\" [id]=\"titleid\"></span>\n <span class=\"dialog-sub-heading\" *ngIf=\"subheading\" [title]=\"subheading\" [textContent]=\"subheading\"></span>\n</ng-template>\n" }]
|
201
204
|
}], () => [{ type: i0.ElementRef }, { type: i3.BaseDialog, decorators: [{
|
202
205
|
type: Inject,
|
203
206
|
args: [DialogRef]
|
@@ -221,6 +224,8 @@ export class DialogHeaderComponent {
|
|
221
224
|
type: Input
|
222
225
|
}], titleid: [{
|
223
226
|
type: Input
|
227
|
+
}], title: [{
|
228
|
+
type: Input
|
224
229
|
}] }); })();
|
225
230
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(DialogHeaderComponent, { className: "DialogHeaderComponent", filePath: "dialog-header/dialog-header.component.ts", lineNumber: 15 }); })();
|
226
|
-
//# sourceMappingURL=data:application/json;base64,
|
231
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGlhbG9nLWhlYWRlci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb21wb25lbnRzL3dpZGdldHMvZGlhbG9ncy9kZWZhdWx0L3NyYy9kaWFsb2ctaGVhZGVyL2RpYWxvZy1oZWFkZXIuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29tcG9uZW50cy93aWRnZXRz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kdGgsIGhlaWdodDogaWNvbmhlaWdodCwgbWFyZ2luOiBpY29ubWFyZ2lufVwiICpuZ0lmPVwiaWNvbmNsYXNzICYmICFpY29udXJsXCI+PC9pPlxuICAgIDxpbWcgZGF0YS1pZGVudGlmaWVyPVwiaW1nXCIgW3NyY109XCJpY29udXJsIHwgaW1hZ2VcIiAqbmdJZj1cImljb251cmxcIiBbbmdTdHlsZV09XCJ7d2lkdGg6IGljb253aWR0aCwgaGVpZ2h0OiBpY29uaGVpZ2h0LCBtYXJnaW46IGljb25tYXJnaW59XCIvPlxuICAgIDxzcGFuIGNsYXNzPVwiZGlhbG9nLWhlYWRpbmdcIiBbdGV4dENvbnRlbnRdPVwiaGVhZGluZ1wiIFtpZF09XCJ0aXRsZWlkXCI+PC9zcGFuPlxuICAgIDxzcGFuIGNsYXNzPVwiZGlhbG9nLXN1Yi1oZWFkaW5nXCIgKm5nSWY9XCJzdWJoZWFkaW5nXCIgW3RpdGxlXT1cInN1YmhlYWRpbmdcIiBbdGV4dENvbnRlbnRdPVwic3ViaGVhZGluZ1wiPjwvc3Bhbj5cbjwvbmctdGVtcGxhdGU+XG4iXX0=
|
@@ -141,6 +141,12 @@ const invokeOpenedCallback = (ref) => {
|
|
141
141
|
setReturnFocus: focusTrapObj.activeElement,
|
142
142
|
});
|
143
143
|
focusTrapObj[ref.titleId].activate();
|
144
|
+
const openedDialogs = ref.dialogService.getOpenedDialogs();
|
145
|
+
if (openedDialogs.length > 1) {
|
146
|
+
let zIndex = Number($("[aria-labelledby= " + openedDialogs[openedDialogs.length - 2].titleId + "]").css('z-index'));
|
147
|
+
$('[aria-labelledby= ' + ref.dialogService.getLastOpenedDialog().titleId + ']').css('z-index', zIndex + 2);
|
148
|
+
$('bs-modal-backdrop').css('z-index', zIndex + 1);
|
149
|
+
}
|
144
150
|
});
|
145
151
|
}
|
146
152
|
};
|
@@ -148,6 +154,11 @@ const invokeClosedCallback = (ref) => {
|
|
148
154
|
if (ref) {
|
149
155
|
ref.invokeEventCallback('close');
|
150
156
|
ref.dialogRef = undefined;
|
157
|
+
const openedDialogs = ref.dialogService.getOpenedDialogs();
|
158
|
+
if (openedDialogs.length >= 1) {
|
159
|
+
let zIndex = Number($("[aria-labelledby= " + openedDialogs[openedDialogs.length - 1].titleId + "]").css('z-index'));
|
160
|
+
$('bs-modal-backdrop').css('z-index', zIndex - 1);
|
161
|
+
}
|
151
162
|
}
|
152
163
|
};
|
153
164
|
class BaseDialog extends BaseComponent {
|
@@ -232,6 +243,7 @@ class BaseDialog extends BaseComponent {
|
|
232
243
|
const parentSelector = $('body > app-root')[0];
|
233
244
|
parentSelector.setAttribute('aria-hidden', 'true');
|
234
245
|
}
|
246
|
+
$('.cdk-focus-trap-anchor').removeAttr('aria-hidden');
|
235
247
|
}
|
236
248
|
/**
|
237
249
|
* closes the dialog
|
@@ -301,6 +313,9 @@ function DialogHeaderComponent_button_0_Template(rf, ctx) { if (rf & 1) {
|
|
301
313
|
i0.ɵɵlistener("click", function DialogHeaderComponent_button_0_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.closeDialog()); });
|
302
314
|
i0.ɵɵelement(1, "i", 6);
|
303
315
|
i0.ɵɵelementEnd();
|
316
|
+
} if (rf & 2) {
|
317
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
318
|
+
i0.ɵɵattribute("aria-label", "Close " + (ctx_r1.title ? ctx_r1.title : "") + " dialog");
|
304
319
|
} }
|
305
320
|
function DialogHeaderComponent_ng_container_2_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
306
321
|
i0.ɵɵelementContainer(0);
|
@@ -458,8 +473,8 @@ class DialogHeaderComponent {
|
|
458
473
|
this.dialogRef.close();
|
459
474
|
}
|
460
475
|
static { this.ɵfac = function DialogHeaderComponent_Factory(t) { return new (t || DialogHeaderComponent)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(DialogRef)); }; }
|
461
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: DialogHeaderComponent, selectors: [["div", "wmDialogHeader", ""]], inputs: { iconwidth: "iconwidth", iconheight: "iconheight", iconmargin: "iconmargin", iconclass: "iconclass", iconurl: "iconurl", closable: "closable", heading: "heading", headinglevel: "headinglevel", subheading: "subheading", titleid: "titleid" }, attrs: _c0, decls: 11, vars: 8, consts: [["headerTemplate", ""], ["
|
462
|
-
i0.ɵɵtemplate(0, DialogHeaderComponent_button_0_Template, 2,
|
476
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: DialogHeaderComponent, selectors: [["div", "wmDialogHeader", ""]], inputs: { iconwidth: "iconwidth", iconheight: "iconheight", iconmargin: "iconmargin", iconclass: "iconclass", iconurl: "iconurl", closable: "closable", heading: "heading", headinglevel: "headinglevel", subheading: "subheading", titleid: "titleid", title: "title" }, attrs: _c0, decls: 11, vars: 8, consts: [["headerTemplate", ""], ["title", "Close", "class", "app-dialog-close close btn btn-icon", 3, "click", 4, "ngIf"], [3, "ngSwitch"], [4, "ngSwitchCase"], [4, "ngSwitchDefault"], ["title", "Close", 1, "app-dialog-close", "close", "btn", "btn-icon", 3, "click"], ["aria-hidden", "true", 1, "app-icon", "wi", "wi-clear"], [1, "app-dialog-title", "modal-title"], [4, "ngTemplateOutlet"], [3, "ngClass", "ngStyle", 4, "ngIf"], ["data-identifier", "img", 3, "src", "ngStyle", 4, "ngIf"], [1, "dialog-heading", 3, "textContent", "id"], ["class", "dialog-sub-heading", 3, "title", "textContent", 4, "ngIf"], [3, "ngClass", "ngStyle"], ["data-identifier", "img", 3, "src", "ngStyle"], [1, "dialog-sub-heading", 3, "title", "textContent"]], template: function DialogHeaderComponent_Template(rf, ctx) { if (rf & 1) {
|
477
|
+
i0.ɵɵtemplate(0, DialogHeaderComponent_button_0_Template, 2, 1, "button", 1);
|
463
478
|
i0.ɵɵelementContainerStart(1, 2);
|
464
479
|
i0.ɵɵtemplate(2, DialogHeaderComponent_ng_container_2_Template, 3, 1, "ng-container", 3)(3, DialogHeaderComponent_ng_container_3_Template, 3, 1, "ng-container", 3)(4, DialogHeaderComponent_ng_container_4_Template, 3, 1, "ng-container", 3)(5, DialogHeaderComponent_ng_container_5_Template, 3, 1, "ng-container", 3)(6, DialogHeaderComponent_ng_container_6_Template, 3, 1, "ng-container", 3)(7, DialogHeaderComponent_ng_container_7_Template, 3, 1, "ng-container", 3)(8, DialogHeaderComponent_ng_container_8_Template, 3, 1, "ng-container", 4);
|
465
480
|
i0.ɵɵelementContainerEnd();
|
@@ -484,7 +499,7 @@ class DialogHeaderComponent {
|
|
484
499
|
}
|
485
500
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DialogHeaderComponent, [{
|
486
501
|
type: Component,
|
487
|
-
args: [{ selector: 'div[wmDialogHeader]', template: "<button *ngIf=\"isClosable\" aria-label=\"Close\" title=\"Close\" class=\"app-dialog-close close btn btn-icon\" (click)=\"closeDialog();\">\n <i class=\"app-icon wi wi-clear\" aria-hidden=\"true\"></i>\n</button>\n\n<ng-container [ngSwitch]=\"headinglevel\">\n <ng-container *ngSwitchCase=\"'h1'\">\n <h1 class=\"app-dialog-title modal-title\">\n <ng-container *ngTemplateOutlet=\"headerTemplate\"></ng-container>\n </h1>\n </ng-container>\n <ng-container *ngSwitchCase=\"'h2'\">\n <h2 class=\"app-dialog-title modal-title\">\n <ng-container *ngTemplateOutlet=\"headerTemplate\"></ng-container>\n </h2>\n </ng-container>\n <ng-container *ngSwitchCase=\"'h3'\">\n <h3 class=\"app-dialog-title modal-title\">\n <ng-container *ngTemplateOutlet=\"headerTemplate\"></ng-container>\n </h3>\n </ng-container>\n <ng-container *ngSwitchCase=\"'h4'\">\n <h4 class=\"app-dialog-title modal-title\">\n <ng-container *ngTemplateOutlet=\"headerTemplate\"></ng-container>\n </h4>\n </ng-container>\n <ng-container *ngSwitchCase=\"'h5'\">\n <h5 class=\"app-dialog-title modal-title\">\n <ng-container *ngTemplateOutlet=\"headerTemplate\"></ng-container>\n </h5>\n </ng-container>\n <ng-container *ngSwitchCase=\"'h6'\">\n <h6 class=\"app-dialog-title modal-title\">\n <ng-container *ngTemplateOutlet=\"headerTemplate\"></ng-container>\n </h6>\n </ng-container>\n <ng-container *ngSwitchDefault>\n <h4 class=\"app-dialog-title modal-title\">\n <ng-container *ngTemplateOutlet=\"headerTemplate\"></ng-container>\n </h4>\n </ng-container>\n</ng-container>\n\n<ng-template #headerTemplate>\n <i [ngClass]=\"iconclass\" [ngStyle]=\"{width: iconwidth, height: iconheight, margin: iconmargin}\" *ngIf=\"iconclass && !iconurl\"></i>\n <img data-identifier=\"img\" [src]=\"iconurl | image\" *ngIf=\"iconurl\" [ngStyle]=\"{width: iconwidth, height: iconheight, margin: iconmargin}\"/>\n <span class=\"dialog-heading\" [textContent]=\"heading\" [id]=\"titleid\"></span>\n <span class=\"dialog-sub-heading\" *ngIf=\"subheading\" [title]=\"subheading\" [textContent]=\"subheading\"></span>\n</ng-template>\n" }]
|
502
|
+
args: [{ selector: 'div[wmDialogHeader]', template: "<button *ngIf=\"isClosable\" [attr.aria-label]=\"'Close ' + (title ? title : '') + ' dialog'\" title=\"Close\" class=\"app-dialog-close close btn btn-icon\" (click)=\"closeDialog();\">\n <i class=\"app-icon wi wi-clear\" aria-hidden=\"true\"></i>\n</button>\n\n<ng-container [ngSwitch]=\"headinglevel\">\n <ng-container *ngSwitchCase=\"'h1'\">\n <h1 class=\"app-dialog-title modal-title\">\n <ng-container *ngTemplateOutlet=\"headerTemplate\"></ng-container>\n </h1>\n </ng-container>\n <ng-container *ngSwitchCase=\"'h2'\">\n <h2 class=\"app-dialog-title modal-title\">\n <ng-container *ngTemplateOutlet=\"headerTemplate\"></ng-container>\n </h2>\n </ng-container>\n <ng-container *ngSwitchCase=\"'h3'\">\n <h3 class=\"app-dialog-title modal-title\">\n <ng-container *ngTemplateOutlet=\"headerTemplate\"></ng-container>\n </h3>\n </ng-container>\n <ng-container *ngSwitchCase=\"'h4'\">\n <h4 class=\"app-dialog-title modal-title\">\n <ng-container *ngTemplateOutlet=\"headerTemplate\"></ng-container>\n </h4>\n </ng-container>\n <ng-container *ngSwitchCase=\"'h5'\">\n <h5 class=\"app-dialog-title modal-title\">\n <ng-container *ngTemplateOutlet=\"headerTemplate\"></ng-container>\n </h5>\n </ng-container>\n <ng-container *ngSwitchCase=\"'h6'\">\n <h6 class=\"app-dialog-title modal-title\">\n <ng-container *ngTemplateOutlet=\"headerTemplate\"></ng-container>\n </h6>\n </ng-container>\n <ng-container *ngSwitchDefault>\n <h4 class=\"app-dialog-title modal-title\">\n <ng-container *ngTemplateOutlet=\"headerTemplate\"></ng-container>\n </h4>\n </ng-container>\n</ng-container>\n\n<ng-template #headerTemplate>\n <i [ngClass]=\"iconclass\" [ngStyle]=\"{width: iconwidth, height: iconheight, margin: iconmargin}\" *ngIf=\"iconclass && !iconurl\"></i>\n <img data-identifier=\"img\" [src]=\"iconurl | image\" *ngIf=\"iconurl\" [ngStyle]=\"{width: iconwidth, height: iconheight, margin: iconmargin}\"/>\n <span class=\"dialog-heading\" [textContent]=\"heading\" [id]=\"titleid\"></span>\n <span class=\"dialog-sub-heading\" *ngIf=\"subheading\" [title]=\"subheading\" [textContent]=\"subheading\"></span>\n</ng-template>\n" }]
|
488
503
|
}], () => [{ type: i0.ElementRef }, { type: BaseDialog, decorators: [{
|
489
504
|
type: Inject,
|
490
505
|
args: [DialogRef]
|
@@ -508,6 +523,8 @@ class DialogHeaderComponent {
|
|
508
523
|
type: Input
|
509
524
|
}], titleid: [{
|
510
525
|
type: Input
|
526
|
+
}], title: [{
|
527
|
+
type: Input
|
511
528
|
}] }); })();
|
512
529
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(DialogHeaderComponent, { className: "DialogHeaderComponent", filePath: "dialog-header/dialog-header.component.ts", lineNumber: 15 }); })();
|
513
530
|
|