@wavemaker/app-ng-runtime 12.0.0-next.141131 → 12.0.0-next.141138
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- app-ng-runtime/build-task/bundles/index.umd.js +402 -440
- app-ng-runtime/build-task/esm2022/basic/default/anchor/anchor.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/basic/default/html/html.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/basic/default/icon/icon.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/basic/default/label/label.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/basic/default/picture/picture.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/basic/default/spinner/spinner.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/basic/progress/progress-circle/progress-circle.build.mjs +7 -2
- app-ng-runtime/build-task/esm2022/basic/rich-text-editor/rich-text-editor.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/containers/accordion/accordion-pane/accordion-pane.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/containers/accordion/accordion.build.mjs +3 -3
- app-ng-runtime/build-task/esm2022/containers/tile/tile.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/containers/wizard/wizard.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/data/form/form-field/form-field.build.mjs +3 -4
- app-ng-runtime/build-task/esm2022/device/barcode-scanner/barcode-scanner.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/device/camera/camera.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/dialogs/alert-dialog/alert-dialog.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/input/calendar/calendar.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/input/chips/chips.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/input/color-picker/color-picker.build.mjs +3 -3
- app-ng-runtime/build-task/esm2022/input/currency/currency.build.mjs +3 -3
- app-ng-runtime/build-task/esm2022/input/default/button/button.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/input/default/button-group/button-group.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/input/default/switch/switch.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/input/file-upload/file-upload.build.mjs +6 -2
- app-ng-runtime/build-task/esm2022/page/footer/footer.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/page/header/header.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/page/layout.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/page/left-panel/left-panel.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/page/page.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/page/right-panel/right-panel.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/page/top-nav/top-nav.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/public_api.mjs +1 -3
- app-ng-runtime/build-task/fesm2022/index.mjs +403 -443
- app-ng-runtime/build-task/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/build-task/public_api.d.ts +0 -2
- 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 +22 -69
- app-ng-runtime/components/base/components.module.d.ts +11 -12
- app-ng-runtime/components/base/esm2022/components.module.mjs +1 -5
- app-ng-runtime/components/base/esm2022/pipes/custom-pipes.mjs +3 -3
- app-ng-runtime/components/base/esm2022/public_api.mjs +1 -2
- app-ng-runtime/components/base/esm2022/utils/live-utils.mjs +8 -2
- app-ng-runtime/components/base/esm2022/widgets/common/base/base.component.mjs +15 -30
- app-ng-runtime/components/base/fesm2022/index.mjs +23 -69
- 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/public_api.d.ts +0 -1
- app-ng-runtime/components/base/widgets/common/base/base.component.d.ts +5 -10
- app-ng-runtime/components/basic/default/anchor/anchor.component.d.ts +1 -0
- app-ng-runtime/components/basic/default/audio/audio.component.d.ts +3 -0
- app-ng-runtime/components/basic/default/bundles/index.umd.js +39 -19
- app-ng-runtime/components/basic/default/esm2022/anchor/anchor.component.mjs +4 -4
- app-ng-runtime/components/basic/default/esm2022/anchor/anchor.props.mjs +2 -1
- app-ng-runtime/components/basic/default/esm2022/audio/audio.component.mjs +14 -6
- app-ng-runtime/components/basic/default/esm2022/audio/audio.props.mjs +2 -1
- app-ng-runtime/components/basic/default/esm2022/html/html.props.mjs +2 -1
- app-ng-runtime/components/basic/default/esm2022/icon/icon.component.mjs +6 -7
- app-ng-runtime/components/basic/default/esm2022/icon/icon.props.mjs +2 -1
- app-ng-runtime/components/basic/default/esm2022/iframe/iframe.component.mjs +3 -3
- app-ng-runtime/components/basic/default/esm2022/iframe/iframe.props.mjs +3 -2
- app-ng-runtime/components/basic/default/esm2022/label/label.props.mjs +1 -1
- app-ng-runtime/components/basic/default/esm2022/picture/picture.directive.mjs +2 -2
- app-ng-runtime/components/basic/default/esm2022/picture/picture.props.mjs +3 -1
- app-ng-runtime/components/basic/default/esm2022/spinner/spinner.props.mjs +3 -2
- app-ng-runtime/components/basic/default/esm2022/video/video.component.mjs +8 -4
- app-ng-runtime/components/basic/default/esm2022/video/video.props.mjs +2 -1
- app-ng-runtime/components/basic/default/fesm2022/index.mjs +39 -19
- app-ng-runtime/components/basic/default/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/basic/default/icon/icon.component.d.ts +1 -0
- app-ng-runtime/components/basic/default/iframe/iframe.component.d.ts +1 -0
- app-ng-runtime/components/basic/default/picture/picture.directive.d.ts +2 -1
- app-ng-runtime/components/basic/default/video/video.component.d.ts +2 -0
- app-ng-runtime/components/basic/progress/bundles/index.umd.js +17 -9
- app-ng-runtime/components/basic/progress/esm2022/progress-bar/progress-bar.component.mjs +9 -5
- app-ng-runtime/components/basic/progress/esm2022/progress-bar/progress-bar.props.mjs +2 -1
- app-ng-runtime/components/basic/progress/esm2022/progress-circle/progress-circle.component.mjs +8 -6
- app-ng-runtime/components/basic/progress/esm2022/progress-circle/progress-circle.props.mjs +2 -1
- app-ng-runtime/components/basic/progress/fesm2022/index.mjs +17 -9
- app-ng-runtime/components/basic/progress/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/basic/progress/progress-bar/progress-bar.component.d.ts +2 -0
- app-ng-runtime/components/basic/progress/progress-circle/progress-circle.component.d.ts +3 -1
- app-ng-runtime/components/basic/rich-text-editor/bundles/index.umd.js +2 -0
- app-ng-runtime/components/basic/rich-text-editor/esm2022/rich-text-editor.component.mjs +2 -1
- app-ng-runtime/components/basic/rich-text-editor/esm2022/rich-text-editor.props.mjs +2 -1
- app-ng-runtime/components/basic/rich-text-editor/fesm2022/index.mjs +2 -0
- app-ng-runtime/components/basic/rich-text-editor/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/basic/search/bundles/index.umd.js +35 -40
- app-ng-runtime/components/basic/search/esm2022/search.component.mjs +37 -40
- app-ng-runtime/components/basic/search/esm2022/search.props.mjs +3 -5
- app-ng-runtime/components/basic/search/fesm2022/index.mjs +35 -40
- app-ng-runtime/components/basic/search/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/basic/search/search.component.d.ts +4 -5
- app-ng-runtime/components/containers/accordion/accordion-pane/accordion-pane.component.d.ts +1 -0
- app-ng-runtime/components/containers/accordion/bundles/index.umd.js +15 -9
- app-ng-runtime/components/containers/accordion/esm2022/accordion-pane/accordion-pane.component.mjs +13 -10
- app-ng-runtime/components/containers/accordion/esm2022/accordion.directive.mjs +4 -1
- app-ng-runtime/components/containers/accordion/fesm2022/index.mjs +15 -9
- app-ng-runtime/components/containers/accordion/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/containers/panel/bundles/index.umd.js +14 -14
- app-ng-runtime/components/containers/panel/esm2022/panel.component.mjs +15 -15
- app-ng-runtime/components/containers/panel/fesm2022/index.mjs +14 -14
- app-ng-runtime/components/containers/panel/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/containers/tabs/bundles/index.umd.js +6 -14
- app-ng-runtime/components/containers/tabs/esm2022/tabs.component.mjs +7 -14
- app-ng-runtime/components/containers/tabs/esm2022/tabs.props.mjs +2 -3
- app-ng-runtime/components/containers/tabs/fesm2022/index.mjs +6 -14
- app-ng-runtime/components/containers/tabs/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/containers/tabs/tabs.component.d.ts +0 -1
- app-ng-runtime/components/containers/wizard/bundles/index.umd.js +23 -6
- app-ng-runtime/components/containers/wizard/esm2022/wizard.component.mjs +24 -7
- app-ng-runtime/components/containers/wizard/fesm2022/index.mjs +23 -6
- 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/list/bundles/index.umd.js +11 -11
- app-ng-runtime/components/data/list/esm2022/list.component.mjs +12 -12
- app-ng-runtime/components/data/list/fesm2022/index.mjs +11 -11
- app-ng-runtime/components/data/list/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/data/live-table/bundles/index.umd.js +2 -2
- app-ng-runtime/components/data/live-table/esm2022/live-table.component.mjs +3 -3
- app-ng-runtime/components/data/live-table/fesm2022/index.mjs +2 -2
- app-ng-runtime/components/data/live-table/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/data/pagination/bundles/index.umd.js +2 -0
- app-ng-runtime/components/data/pagination/esm2022/pagination.component.mjs +3 -1
- app-ng-runtime/components/data/pagination/fesm2022/index.mjs +2 -0
- app-ng-runtime/components/data/pagination/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/data/table/bundles/index.umd.js +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/base-dialog.d.ts +0 -2
- app-ng-runtime/components/dialogs/default/bundles/index.umd.js +23 -17
- 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-body/dialog-body.directive.mjs +2 -14
- app-ng-runtime/components/dialogs/default/esm2022/dialog-header/dialog-header.component.mjs +12 -6
- app-ng-runtime/components/dialogs/default/fesm2022/index.mjs +24 -18
- app-ng-runtime/components/dialogs/default/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/design-dialog/bundles/index.umd.js +7 -25
- app-ng-runtime/components/dialogs/design-dialog/dialog.component.d.ts +2 -3
- app-ng-runtime/components/dialogs/design-dialog/esm2022/dialog.component.mjs +8 -26
- app-ng-runtime/components/dialogs/design-dialog/fesm2022/index.mjs +7 -25
- 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 +7 -3
- app-ng-runtime/components/input/chips/esm2022/chips.component.mjs +7 -4
- app-ng-runtime/components/input/chips/esm2022/chips.props.mjs +2 -1
- app-ng-runtime/components/input/chips/fesm2022/index.mjs +7 -3
- 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 +257 -197
- 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/checkboxset/checkboxset.component.d.ts +0 -1
- 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 +25 -23
- 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 +32 -30
- 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 +39 -64
- app-ng-runtime/components/input/default/esm2022/switch/switch.props.mjs +2 -2
- app-ng-runtime/components/input/default/esm2022/text/base/base-input.mjs +1 -4
- 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 +257 -197
- 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/radioset/radioset.component.d.ts +0 -1
- app-ng-runtime/components/input/default/select/select.component.d.ts +4 -4
- app-ng-runtime/components/input/default/switch/switch.component.d.ts +0 -2
- 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/base-date-time.component.d.ts +2 -1
- app-ng-runtime/components/input/epoch/bundles/index.umd.js +31 -21
- app-ng-runtime/components/input/epoch/date/date.component.d.ts +1 -0
- app-ng-runtime/components/input/epoch/date-time/date-time.component.d.ts +2 -1
- app-ng-runtime/components/input/epoch/esm2022/base-date-time.component.mjs +10 -6
- app-ng-runtime/components/input/epoch/esm2022/date/date.component.mjs +8 -8
- app-ng-runtime/components/input/epoch/esm2022/date/date.props.mjs +2 -1
- app-ng-runtime/components/input/epoch/esm2022/date-time/date-time.component.mjs +12 -9
- app-ng-runtime/components/input/epoch/esm2022/date-time/date-time.props.mjs +2 -1
- app-ng-runtime/components/input/epoch/esm2022/time/time.component.mjs +7 -7
- app-ng-runtime/components/input/epoch/esm2022/time/time.props.mjs +2 -1
- app-ng-runtime/components/input/epoch/fesm2022/index.mjs +28 -18
- app-ng-runtime/components/input/epoch/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/epoch/time/time.component.d.ts +1 -0
- app-ng-runtime/components/input/file-upload/bundles/index.umd.js +241 -112
- app-ng-runtime/components/input/file-upload/esm2022/file-upload.component.mjs +238 -115
- app-ng-runtime/components/input/file-upload/esm2022/file-upload.props.mjs +7 -1
- app-ng-runtime/components/input/file-upload/fesm2022/index.mjs +242 -113
- 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 +23 -12
- app-ng-runtime/components/input/rating/bundles/index.umd.js +35 -26
- app-ng-runtime/components/input/rating/esm2022/rating.component.mjs +37 -26
- app-ng-runtime/components/input/rating/esm2022/rating.props.mjs +1 -3
- app-ng-runtime/components/input/rating/fesm2022/index.mjs +36 -27
- app-ng-runtime/components/input/rating/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/rating/rating.component.d.ts +1 -3
- app-ng-runtime/components/input/slider/bundles/index.umd.js +5 -6
- app-ng-runtime/components/input/slider/esm2022/slider.component.mjs +6 -8
- app-ng-runtime/components/input/slider/esm2022/slider.props.mjs +2 -1
- app-ng-runtime/components/input/slider/fesm2022/index.mjs +5 -6
- app-ng-runtime/components/input/slider/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/slider/slider.component.d.ts +1 -0
- app-ng-runtime/components/navigation/breadcrumb/bundles/index.umd.js +6 -6
- app-ng-runtime/components/navigation/breadcrumb/esm2022/breadcrumb.component.mjs +7 -7
- app-ng-runtime/components/navigation/breadcrumb/fesm2022/index.mjs +6 -6
- app-ng-runtime/components/navigation/breadcrumb/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/navigation/menu/bundles/index.umd.js +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 +4 -7
- app-ng-runtime/components/page/left-panel/esm2022/left-panel.directive.mjs +5 -9
- app-ng-runtime/components/page/left-panel/esm2022/left-panel.props.mjs +3 -2
- app-ng-runtime/components/page/left-panel/fesm2022/index.mjs +6 -9
- app-ng-runtime/components/page/left-panel/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/page/left-panel/left-panel.directive.d.ts +2 -2
- app-ng-runtime/components/page/right-panel/bundles/index.umd.js +4 -7
- app-ng-runtime/components/page/right-panel/esm2022/right-panel.directive.mjs +5 -9
- app-ng-runtime/components/page/right-panel/esm2022/right-panel.props.mjs +3 -2
- app-ng-runtime/components/page/right-panel/fesm2022/index.mjs +6 -9
- app-ng-runtime/components/page/right-panel/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/page/right-panel/right-panel.directive.d.ts +2 -2
- 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 +11 -31
- app-ng-runtime/core/enums/enums.d.ts +1 -2
- app-ng-runtime/core/esm2022/enums/enums.mjs +1 -2
- app-ng-runtime/core/esm2022/public_api.mjs +2 -2
- app-ng-runtime/core/esm2022/types/types.mjs +1 -4
- app-ng-runtime/core/esm2022/utils/build-utils.mjs +7 -12
- app-ng-runtime/core/esm2022/utils/utils.mjs +4 -12
- app-ng-runtime/core/fesm2022/index.mjs +11 -29
- app-ng-runtime/core/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/core/public_api.d.ts +1 -1
- app-ng-runtime/core/types/types.d.ts +1 -5
- app-ng-runtime/core/utils/utils.d.ts +1 -2
- 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 +11 -300
- 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/public_api.mjs +1 -2
- app-ng-runtime/runtime/base/esm2022/runtime-base.module.mjs +1 -6
- app-ng-runtime/runtime/base/esm2022/services/i18n.service.mjs +2 -2
- app-ng-runtime/runtime/base/esm2022/types/types.mjs +1 -4
- app-ng-runtime/runtime/base/fesm2022/index.mjs +10 -298
- 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/public_api.d.ts +0 -1
- app-ng-runtime/runtime/base/runtime-base.module.d.ts +8 -9
- app-ng-runtime/runtime/base/types/types.d.ts +1 -5
- app-ng-runtime/runtime/dynamic/bundles/index.umd.js +13 -49
- app-ng-runtime/runtime/dynamic/esm2022/app/app.module.mjs +3 -8
- app-ng-runtime/runtime/dynamic/esm2022/app/services/component-ref-provider.service.mjs +7 -23
- app-ng-runtime/runtime/dynamic/fesm2022/index.mjs +11 -50
- app-ng-runtime/runtime/dynamic/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/scripts/@wavemaker/nvd3/build/nv.d3.min.js +1 -1
- app-ng-runtime/scripts/datatable/datatable.js +38 -34
- app-ng-runtime/scripts/summernote/dist/summernote-lite.min.js +2 -3
- app-ng-runtime/transpiler/bundles/index.umd.js +0 -5
- app-ng-runtime/transpiler/esm2022/build.mjs +1 -4
- app-ng-runtime/transpiler/esm2022/imports.mjs +1 -3
- app-ng-runtime/transpiler/fesm2022/index.mjs +0 -5
- app-ng-runtime/transpiler/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/variables/bundles/index.umd.js +34 -16
- app-ng-runtime/variables/esm2022/manager/variable/web-socket-variable.manager.mjs +35 -17
- app-ng-runtime/variables/fesm2022/index.mjs +34 -16
- app-ng-runtime/variables/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/variables/manager/variable/web-socket-variable.manager.d.ts +0 -4
- app-ng-runtime/build-task/advanced/custom-widget-container/custom-widget-container.build.d.ts +0 -2
- app-ng-runtime/build-task/advanced/custom-widget-wrapper/custom-widget-wrapper.build.d.ts +0 -2
- app-ng-runtime/build-task/esm2022/advanced/custom-widget-container/custom-widget-container.build.mjs +0 -15
- app-ng-runtime/build-task/esm2022/advanced/custom-widget-wrapper/custom-widget-wrapper.build.mjs +0 -26
- app-ng-runtime/components/advanced/custom/.npmignore +0 -2
- app-ng-runtime/components/advanced/custom/bundles/index.umd.js +0 -232
- app-ng-runtime/components/advanced/custom/custom-widget-container/custom-widget-container.directive.d.ts +0 -19
- app-ng-runtime/components/advanced/custom/custom-widget-container/custom-widget.props.d.ts +0 -2
- app-ng-runtime/components/advanced/custom/custom-widget-prop.d.ts +0 -1
- app-ng-runtime/components/advanced/custom/custom-widget.directive.d.ts +0 -19
- app-ng-runtime/components/advanced/custom/custom-widget.module.d.ts +0 -10
- app-ng-runtime/components/advanced/custom/esm2022/custom-widget-container/custom-widget-container.directive.mjs +0 -102
- app-ng-runtime/components/advanced/custom/esm2022/custom-widget-container/custom-widget.props.mjs +0 -12
- app-ng-runtime/components/advanced/custom/esm2022/custom-widget-prop.mjs +0 -8
- app-ng-runtime/components/advanced/custom/esm2022/custom-widget.directive.mjs +0 -68
- app-ng-runtime/components/advanced/custom/esm2022/custom-widget.module.mjs +0 -32
- app-ng-runtime/components/advanced/custom/esm2022/index.mjs +0 -5
- app-ng-runtime/components/advanced/custom/esm2022/public_api.mjs +0 -4
- app-ng-runtime/components/advanced/custom/fesm2022/index.mjs +0 -215
- app-ng-runtime/components/advanced/custom/fesm2022/index.mjs.map +0 -1
- app-ng-runtime/components/advanced/custom/index.d.ts +0 -5
- app-ng-runtime/components/advanced/custom/package.json +0 -23
- app-ng-runtime/components/advanced/custom/public_api.d.ts +0 -3
- app-ng-runtime/components/base/esm2022/widgets/common/base/custom-widget-container.directive.mjs +0 -39
- app-ng-runtime/components/base/widgets/common/base/custom-widget-container.directive.d.ts +0 -14
- app-ng-runtime/runtime/base/components/base-custom-widget.component.d.ts +0 -73
- app-ng-runtime/runtime/base/esm2022/components/base-custom-widget.component.mjs +0 -294
- app-ng-runtime/runtime/dynamic/app/services/customwidget-config-provider.service.d.ts +0 -8
- app-ng-runtime/runtime/dynamic/esm2022/app/services/customwidget-config-provider.service.mjs +0 -22
|
@@ -57,20 +57,24 @@
|
|
|
57
57
|
i0__namespace.ɵɵelement(0, "div", 5);
|
|
58
58
|
} if (rf & 2) {
|
|
59
59
|
const ctx_r0 = i0__namespace.ɵɵnextContext(2);
|
|
60
|
-
i0__namespace.ɵɵproperty("closable", ctx_r0.closable)("iconclass", ctx_r0.iconclass)("iconurl", ctx_r0.iconurl)("iconwidth", ctx_r0.iconwidth)("iconheight", ctx_r0.iconheight)("iconmargin", ctx_r0.iconmargin)("heading", ctx_r0.title)("headinglevel", ctx_r0.headinglevel)("titleid", ctx_r0.titleId);
|
|
60
|
+
i0__namespace.ɵɵproperty("closable", ctx_r0.closable)("iconclass", ctx_r0.iconclass)("iconurl", ctx_r0.iconurl)("iconwidth", ctx_r0.iconwidth)("iconheight", ctx_r0.iconheight)("iconmargin", ctx_r0.iconmargin)("heading", ctx_r0.title)("headinglevel", ctx_r0.headinglevel)("title", ctx_r0.title)("titleid", ctx_r0.titleId);
|
|
61
61
|
} }
|
|
62
62
|
function IframeDialogComponent_ng_template_0_div_3_Template(rf, ctx) { if (rf & 1) {
|
|
63
63
|
const _r2 = i0__namespace.ɵɵgetCurrentView();
|
|
64
64
|
i0__namespace.ɵɵelementStart(0, "div", 6)(1, "button", 7);
|
|
65
65
|
i0__namespace.ɵɵlistener("click", function IframeDialogComponent_ng_template_0_div_3_Template_button_click_1_listener($event) { i0__namespace.ɵɵrestoreView(_r2); const ctx_r0 = i0__namespace.ɵɵnextContext(2); return i0__namespace.ɵɵresetView(ctx_r0.onOk($event)); });
|
|
66
66
|
i0__namespace.ɵɵelementEnd()();
|
|
67
|
+
} if (rf & 2) {
|
|
68
|
+
const ctx_r0 = i0__namespace.ɵɵnextContext(2);
|
|
69
|
+
i0__namespace.ɵɵadvance();
|
|
70
|
+
i0__namespace.ɵɵattribute("aria-label", ctx_r0.oktext);
|
|
67
71
|
} }
|
|
68
72
|
function IframeDialogComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {
|
|
69
|
-
i0__namespace.ɵɵtemplate(0, IframeDialogComponent_ng_template_0_div_0_Template, 1,
|
|
73
|
+
i0__namespace.ɵɵtemplate(0, IframeDialogComponent_ng_template_0_div_0_Template, 1, 10, "div", 1);
|
|
70
74
|
i0__namespace.ɵɵelementStart(1, "div", 2);
|
|
71
75
|
i0__namespace.ɵɵelement(2, "div", 3);
|
|
72
76
|
i0__namespace.ɵɵelementEnd();
|
|
73
|
-
i0__namespace.ɵɵtemplate(3, IframeDialogComponent_ng_template_0_div_3_Template, 2,
|
|
77
|
+
i0__namespace.ɵɵtemplate(3, IframeDialogComponent_ng_template_0_div_3_Template, 2, 1, "div", 4);
|
|
74
78
|
} if (rf & 2) {
|
|
75
79
|
const ctx_r0 = i0__namespace.ɵɵnextContext();
|
|
76
80
|
i0__namespace.ɵɵproperty("ngIf", ctx_r0.showheader);
|
|
@@ -117,7 +121,7 @@
|
|
|
117
121
|
} }, features: [i0__namespace.ɵɵProvidersFeature([
|
|
118
122
|
base.provideAsWidgetRef(IframeDialogComponent),
|
|
119
123
|
base.provideAsDialogRef(IframeDialogComponent)
|
|
120
|
-
]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c1, decls: 2, vars: 0, consts: [["dialogTemplate", ""], ["wmDialogHeader", "", 3, "closable", "iconclass", "iconurl", "iconwidth", "iconheight", "iconmargin", "heading", "headinglevel", "titleid", 4, "ngIf"], ["wmDialogBody", ""], ["wmIframe", "", "encodeurl.bind", "encodeurl", "iframesrc.bind", "url", "height.bind", "height", "width.bind", "width", "hint.bind", "hint"], ["wmDialogFooter", "", 4, "ngIf"], ["wmDialogHeader", "", 3, "closable", "iconclass", "iconurl", "iconwidth", "iconheight", "iconmargin", "heading", "headinglevel", "titleid"], ["wmDialogFooter", ""], ["
|
|
124
|
+
]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c1, decls: 2, vars: 0, consts: [["dialogTemplate", ""], ["wmDialogHeader", "", 3, "closable", "iconclass", "iconurl", "iconwidth", "iconheight", "iconmargin", "heading", "headinglevel", "title", "titleid", 4, "ngIf"], ["wmDialogBody", ""], ["wmIframe", "", "encodeurl.bind", "encodeurl", "iframesrc.bind", "url", "height.bind", "height", "width.bind", "width", "hint.bind", "hint"], ["wmDialogFooter", "", 4, "ngIf"], ["wmDialogHeader", "", 3, "closable", "iconclass", "iconurl", "iconwidth", "iconheight", "iconmargin", "heading", "headinglevel", "title", "titleid"], ["wmDialogFooter", ""], ["caption.bind", "oktext", "wmButton", "", 1, "btn-primary", "ok-action", 3, "click"]], template: function IframeDialogComponent_Template(rf, ctx) { if (rf & 1) {
|
|
121
125
|
i0__namespace.ɵɵtemplate(0, IframeDialogComponent_ng_template_0_Template, 4, 2, "ng-template", null, 0, i0__namespace.ɵɵtemplateRefExtractor);
|
|
122
126
|
} }, dependencies: [i1__namespace.IframeComponent, i2__namespace.NgIf, i3__namespace.DialogBodyDirective, i3__namespace.DialogFooterDirective, i3__namespace.DialogHeaderComponent, i4__namespace.ButtonComponent], encapsulation: 2 }); }
|
|
123
127
|
}
|
|
@@ -126,7 +130,7 @@
|
|
|
126
130
|
args: [{ selector: 'div[wmIframeDialog]', providers: [
|
|
127
131
|
base.provideAsWidgetRef(IframeDialogComponent),
|
|
128
132
|
base.provideAsDialogRef(IframeDialogComponent)
|
|
129
|
-
], template: "<ng-template #dialogTemplate>\n <div wmDialogHeader [closable]=\"closable\"\n [iconclass]=\"iconclass\"\n [iconurl]=\"iconurl\"\n [iconwidth]=\"iconwidth\"\n [iconheight]=\"iconheight\"\n [iconmargin]=\"iconmargin\"\n [heading]=\"title\"\n [headinglevel]=\"headinglevel\"\n *ngIf=\"showheader\"\n [titleid]=\"titleId\"\n ></div>\n <div wmDialogBody>\n <div wmIframe encodeurl.bind=\"encodeurl\" iframesrc.bind=\"url\" height.bind=\"height\" width.bind=\"width\" hint.bind=\"hint\"></div>\n </div>\n <div wmDialogFooter *ngIf=\"showactions\">\n <button
|
|
133
|
+
], template: "<ng-template #dialogTemplate>\n <div wmDialogHeader [closable]=\"closable\"\n [iconclass]=\"iconclass\"\n [iconurl]=\"iconurl\"\n [iconwidth]=\"iconwidth\"\n [iconheight]=\"iconheight\"\n [iconmargin]=\"iconmargin\"\n [heading]=\"title\"\n [headinglevel]=\"headinglevel\"\n *ngIf=\"showheader\"\n [title]=\"title\"\n [titleid]=\"titleId\"\n ></div>\n <div wmDialogBody>\n <div wmIframe encodeurl.bind=\"encodeurl\" iframesrc.bind=\"url\" height.bind=\"height\" width.bind=\"width\" hint.bind=\"hint\"></div>\n </div>\n <div wmDialogFooter *ngIf=\"showactions\">\n <button (click)=\"onOk($event)\" [attr.aria-label]=\"oktext\" caption.bind=\"oktext\" class=\"btn-primary ok-action\"\n wmButton></button>\n </div>\n</ng-template>\n" }]
|
|
130
134
|
}], () => [{ type: i0__namespace.Injector }, { type: undefined, decorators: [{
|
|
131
135
|
type: i0.Attribute,
|
|
132
136
|
args: ['class']
|
|
@@ -14,20 +14,24 @@ function IframeDialogComponent_ng_template_0_div_0_Template(rf, ctx) { if (rf &
|
|
|
14
14
|
i0.ɵɵelement(0, "div", 5);
|
|
15
15
|
} if (rf & 2) {
|
|
16
16
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
17
|
-
i0.ɵɵproperty("closable", ctx_r0.closable)("iconclass", ctx_r0.iconclass)("iconurl", ctx_r0.iconurl)("iconwidth", ctx_r0.iconwidth)("iconheight", ctx_r0.iconheight)("iconmargin", ctx_r0.iconmargin)("heading", ctx_r0.title)("headinglevel", ctx_r0.headinglevel)("titleid", ctx_r0.titleId);
|
|
17
|
+
i0.ɵɵproperty("closable", ctx_r0.closable)("iconclass", ctx_r0.iconclass)("iconurl", ctx_r0.iconurl)("iconwidth", ctx_r0.iconwidth)("iconheight", ctx_r0.iconheight)("iconmargin", ctx_r0.iconmargin)("heading", ctx_r0.title)("headinglevel", ctx_r0.headinglevel)("title", ctx_r0.title)("titleid", ctx_r0.titleId);
|
|
18
18
|
} }
|
|
19
19
|
function IframeDialogComponent_ng_template_0_div_3_Template(rf, ctx) { if (rf & 1) {
|
|
20
20
|
const _r2 = i0.ɵɵgetCurrentView();
|
|
21
21
|
i0.ɵɵelementStart(0, "div", 6)(1, "button", 7);
|
|
22
22
|
i0.ɵɵlistener("click", function IframeDialogComponent_ng_template_0_div_3_Template_button_click_1_listener($event) { i0.ɵɵrestoreView(_r2); const ctx_r0 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r0.onOk($event)); });
|
|
23
23
|
i0.ɵɵelementEnd()();
|
|
24
|
+
} if (rf & 2) {
|
|
25
|
+
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
26
|
+
i0.ɵɵadvance();
|
|
27
|
+
i0.ɵɵattribute("aria-label", ctx_r0.oktext);
|
|
24
28
|
} }
|
|
25
29
|
function IframeDialogComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {
|
|
26
|
-
i0.ɵɵtemplate(0, IframeDialogComponent_ng_template_0_div_0_Template, 1,
|
|
30
|
+
i0.ɵɵtemplate(0, IframeDialogComponent_ng_template_0_div_0_Template, 1, 10, "div", 1);
|
|
27
31
|
i0.ɵɵelementStart(1, "div", 2);
|
|
28
32
|
i0.ɵɵelement(2, "div", 3);
|
|
29
33
|
i0.ɵɵelementEnd();
|
|
30
|
-
i0.ɵɵtemplate(3, IframeDialogComponent_ng_template_0_div_3_Template, 2,
|
|
34
|
+
i0.ɵɵtemplate(3, IframeDialogComponent_ng_template_0_div_3_Template, 2, 1, "div", 4);
|
|
31
35
|
} if (rf & 2) {
|
|
32
36
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
33
37
|
i0.ɵɵproperty("ngIf", ctx_r0.showheader);
|
|
@@ -77,7 +81,7 @@ export class IframeDialogComponent extends BaseDialog {
|
|
|
77
81
|
} }, features: [i0.ɵɵProvidersFeature([
|
|
78
82
|
provideAsWidgetRef(IframeDialogComponent),
|
|
79
83
|
provideAsDialogRef(IframeDialogComponent)
|
|
80
|
-
]), i0.ɵɵInheritDefinitionFeature], attrs: _c1, decls: 2, vars: 0, consts: [["dialogTemplate", ""], ["wmDialogHeader", "", 3, "closable", "iconclass", "iconurl", "iconwidth", "iconheight", "iconmargin", "heading", "headinglevel", "titleid", 4, "ngIf"], ["wmDialogBody", ""], ["wmIframe", "", "encodeurl.bind", "encodeurl", "iframesrc.bind", "url", "height.bind", "height", "width.bind", "width", "hint.bind", "hint"], ["wmDialogFooter", "", 4, "ngIf"], ["wmDialogHeader", "", 3, "closable", "iconclass", "iconurl", "iconwidth", "iconheight", "iconmargin", "heading", "headinglevel", "titleid"], ["wmDialogFooter", ""], ["
|
|
84
|
+
]), i0.ɵɵInheritDefinitionFeature], attrs: _c1, decls: 2, vars: 0, consts: [["dialogTemplate", ""], ["wmDialogHeader", "", 3, "closable", "iconclass", "iconurl", "iconwidth", "iconheight", "iconmargin", "heading", "headinglevel", "title", "titleid", 4, "ngIf"], ["wmDialogBody", ""], ["wmIframe", "", "encodeurl.bind", "encodeurl", "iframesrc.bind", "url", "height.bind", "height", "width.bind", "width", "hint.bind", "hint"], ["wmDialogFooter", "", 4, "ngIf"], ["wmDialogHeader", "", 3, "closable", "iconclass", "iconurl", "iconwidth", "iconheight", "iconmargin", "heading", "headinglevel", "title", "titleid"], ["wmDialogFooter", ""], ["caption.bind", "oktext", "wmButton", "", 1, "btn-primary", "ok-action", 3, "click"]], template: function IframeDialogComponent_Template(rf, ctx) { if (rf & 1) {
|
|
81
85
|
i0.ɵɵtemplate(0, IframeDialogComponent_ng_template_0_Template, 4, 2, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor);
|
|
82
86
|
} }, dependencies: [i1.IframeComponent, i2.NgIf, i3.DialogBodyDirective, i3.DialogFooterDirective, i3.DialogHeaderComponent, i4.ButtonComponent], encapsulation: 2 }); }
|
|
83
87
|
}
|
|
@@ -86,7 +90,7 @@ export class IframeDialogComponent extends BaseDialog {
|
|
|
86
90
|
args: [{ selector: 'div[wmIframeDialog]', providers: [
|
|
87
91
|
provideAsWidgetRef(IframeDialogComponent),
|
|
88
92
|
provideAsDialogRef(IframeDialogComponent)
|
|
89
|
-
], template: "<ng-template #dialogTemplate>\n <div wmDialogHeader [closable]=\"closable\"\n [iconclass]=\"iconclass\"\n [iconurl]=\"iconurl\"\n [iconwidth]=\"iconwidth\"\n [iconheight]=\"iconheight\"\n [iconmargin]=\"iconmargin\"\n [heading]=\"title\"\n [headinglevel]=\"headinglevel\"\n *ngIf=\"showheader\"\n [titleid]=\"titleId\"\n ></div>\n <div wmDialogBody>\n <div wmIframe encodeurl.bind=\"encodeurl\" iframesrc.bind=\"url\" height.bind=\"height\" width.bind=\"width\" hint.bind=\"hint\"></div>\n </div>\n <div wmDialogFooter *ngIf=\"showactions\">\n <button
|
|
93
|
+
], template: "<ng-template #dialogTemplate>\n <div wmDialogHeader [closable]=\"closable\"\n [iconclass]=\"iconclass\"\n [iconurl]=\"iconurl\"\n [iconwidth]=\"iconwidth\"\n [iconheight]=\"iconheight\"\n [iconmargin]=\"iconmargin\"\n [heading]=\"title\"\n [headinglevel]=\"headinglevel\"\n *ngIf=\"showheader\"\n [title]=\"title\"\n [titleid]=\"titleId\"\n ></div>\n <div wmDialogBody>\n <div wmIframe encodeurl.bind=\"encodeurl\" iframesrc.bind=\"url\" height.bind=\"height\" width.bind=\"width\" hint.bind=\"hint\"></div>\n </div>\n <div wmDialogFooter *ngIf=\"showactions\">\n <button (click)=\"onOk($event)\" [attr.aria-label]=\"oktext\" caption.bind=\"oktext\" class=\"btn-primary ok-action\"\n wmButton></button>\n </div>\n</ng-template>\n" }]
|
|
90
94
|
}], () => [{ type: i0.Injector }, { type: undefined, decorators: [{
|
|
91
95
|
type: Attribute,
|
|
92
96
|
args: ['class']
|
|
@@ -106,4 +110,4 @@ export class IframeDialogComponent extends BaseDialog {
|
|
|
106
110
|
args: ['dialogTemplate', { static: true }]
|
|
107
111
|
}] }); })();
|
|
108
112
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(IframeDialogComponent, { className: "IframeDialogComponent", filePath: "iframe-dialog.component.ts", lineNumber: 30 }); })();
|
|
109
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
113
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaWZyYW1lLWRpYWxvZy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb21wb25lbnRzL3dpZGdldHMvZGlhbG9ncy9pZnJhbWUtZGlhbG9nL3NyYy9pZnJh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gICBbdGl0bGVdPVwidGl0bGVcIlxuICAgICAgICAgW3RpdGxlaWRdPVwidGl0bGVJZFwiXG4gICAgPjwvZGl2PlxuICAgIDxkaXYgd21EaWFsb2dCb2R5PlxuICAgICAgICA8ZGl2IHdtSWZyYW1lIGVuY29kZXVybC5iaW5kPVwiZW5jb2RldXJsXCIgaWZyYW1lc3JjLmJpbmQ9XCJ1cmxcIiBoZWlnaHQuYmluZD1cImhlaWdodFwiIHdpZHRoLmJpbmQ9XCJ3aWR0aFwiIGhpbnQuYmluZD1cImhpbnRcIj48L2Rpdj5cbiAgICA8L2Rpdj5cbiAgICA8ZGl2IHdtRGlhbG9nRm9vdGVyICpuZ0lmPVwic2hvd2FjdGlvbnNcIj5cbiAgICAgICAgPGJ1dHRvbiAoY2xpY2spPVwib25PaygkZXZlbnQpXCIgW2F0dHIuYXJpYS1sYWJlbF09XCJva3RleHRcIiBjYXB0aW9uLmJpbmQ9XCJva3RleHRcIiBjbGFzcz1cImJ0bi1wcmltYXJ5IG9rLWFjdGlvblwiXG4gICAgICAgICAgICAgICAgd21CdXR0b24+PC9idXR0b24+XG4gICAgPC9kaXY+XG48L25nLXRlbXBsYXRlPlxuIl19
|
|
@@ -41,20 +41,24 @@ function IframeDialogComponent_ng_template_0_div_0_Template(rf, ctx) { if (rf &
|
|
|
41
41
|
i0.ɵɵelement(0, "div", 5);
|
|
42
42
|
} if (rf & 2) {
|
|
43
43
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
44
|
-
i0.ɵɵproperty("closable", ctx_r0.closable)("iconclass", ctx_r0.iconclass)("iconurl", ctx_r0.iconurl)("iconwidth", ctx_r0.iconwidth)("iconheight", ctx_r0.iconheight)("iconmargin", ctx_r0.iconmargin)("heading", ctx_r0.title)("headinglevel", ctx_r0.headinglevel)("titleid", ctx_r0.titleId);
|
|
44
|
+
i0.ɵɵproperty("closable", ctx_r0.closable)("iconclass", ctx_r0.iconclass)("iconurl", ctx_r0.iconurl)("iconwidth", ctx_r0.iconwidth)("iconheight", ctx_r0.iconheight)("iconmargin", ctx_r0.iconmargin)("heading", ctx_r0.title)("headinglevel", ctx_r0.headinglevel)("title", ctx_r0.title)("titleid", ctx_r0.titleId);
|
|
45
45
|
} }
|
|
46
46
|
function IframeDialogComponent_ng_template_0_div_3_Template(rf, ctx) { if (rf & 1) {
|
|
47
47
|
const _r2 = i0.ɵɵgetCurrentView();
|
|
48
48
|
i0.ɵɵelementStart(0, "div", 6)(1, "button", 7);
|
|
49
49
|
i0.ɵɵlistener("click", function IframeDialogComponent_ng_template_0_div_3_Template_button_click_1_listener($event) { i0.ɵɵrestoreView(_r2); const ctx_r0 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r0.onOk($event)); });
|
|
50
50
|
i0.ɵɵelementEnd()();
|
|
51
|
+
} if (rf & 2) {
|
|
52
|
+
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
53
|
+
i0.ɵɵadvance();
|
|
54
|
+
i0.ɵɵattribute("aria-label", ctx_r0.oktext);
|
|
51
55
|
} }
|
|
52
56
|
function IframeDialogComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {
|
|
53
|
-
i0.ɵɵtemplate(0, IframeDialogComponent_ng_template_0_div_0_Template, 1,
|
|
57
|
+
i0.ɵɵtemplate(0, IframeDialogComponent_ng_template_0_div_0_Template, 1, 10, "div", 1);
|
|
54
58
|
i0.ɵɵelementStart(1, "div", 2);
|
|
55
59
|
i0.ɵɵelement(2, "div", 3);
|
|
56
60
|
i0.ɵɵelementEnd();
|
|
57
|
-
i0.ɵɵtemplate(3, IframeDialogComponent_ng_template_0_div_3_Template, 2,
|
|
61
|
+
i0.ɵɵtemplate(3, IframeDialogComponent_ng_template_0_div_3_Template, 2, 1, "div", 4);
|
|
58
62
|
} if (rf & 2) {
|
|
59
63
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
60
64
|
i0.ɵɵproperty("ngIf", ctx_r0.showheader);
|
|
@@ -104,7 +108,7 @@ class IframeDialogComponent extends BaseDialog {
|
|
|
104
108
|
} }, features: [i0.ɵɵProvidersFeature([
|
|
105
109
|
provideAsWidgetRef(IframeDialogComponent),
|
|
106
110
|
provideAsDialogRef(IframeDialogComponent)
|
|
107
|
-
]), i0.ɵɵInheritDefinitionFeature], attrs: _c1, decls: 2, vars: 0, consts: [["dialogTemplate", ""], ["wmDialogHeader", "", 3, "closable", "iconclass", "iconurl", "iconwidth", "iconheight", "iconmargin", "heading", "headinglevel", "titleid", 4, "ngIf"], ["wmDialogBody", ""], ["wmIframe", "", "encodeurl.bind", "encodeurl", "iframesrc.bind", "url", "height.bind", "height", "width.bind", "width", "hint.bind", "hint"], ["wmDialogFooter", "", 4, "ngIf"], ["wmDialogHeader", "", 3, "closable", "iconclass", "iconurl", "iconwidth", "iconheight", "iconmargin", "heading", "headinglevel", "titleid"], ["wmDialogFooter", ""], ["
|
|
111
|
+
]), i0.ɵɵInheritDefinitionFeature], attrs: _c1, decls: 2, vars: 0, consts: [["dialogTemplate", ""], ["wmDialogHeader", "", 3, "closable", "iconclass", "iconurl", "iconwidth", "iconheight", "iconmargin", "heading", "headinglevel", "title", "titleid", 4, "ngIf"], ["wmDialogBody", ""], ["wmIframe", "", "encodeurl.bind", "encodeurl", "iframesrc.bind", "url", "height.bind", "height", "width.bind", "width", "hint.bind", "hint"], ["wmDialogFooter", "", 4, "ngIf"], ["wmDialogHeader", "", 3, "closable", "iconclass", "iconurl", "iconwidth", "iconheight", "iconmargin", "heading", "headinglevel", "title", "titleid"], ["wmDialogFooter", ""], ["caption.bind", "oktext", "wmButton", "", 1, "btn-primary", "ok-action", 3, "click"]], template: function IframeDialogComponent_Template(rf, ctx) { if (rf & 1) {
|
|
108
112
|
i0.ɵɵtemplate(0, IframeDialogComponent_ng_template_0_Template, 4, 2, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor);
|
|
109
113
|
} }, dependencies: [i1.IframeComponent, i2.NgIf, i3.DialogBodyDirective, i3.DialogFooterDirective, i3.DialogHeaderComponent, i4.ButtonComponent], encapsulation: 2 }); }
|
|
110
114
|
}
|
|
@@ -113,7 +117,7 @@ class IframeDialogComponent extends BaseDialog {
|
|
|
113
117
|
args: [{ selector: 'div[wmIframeDialog]', providers: [
|
|
114
118
|
provideAsWidgetRef(IframeDialogComponent),
|
|
115
119
|
provideAsDialogRef(IframeDialogComponent)
|
|
116
|
-
], template: "<ng-template #dialogTemplate>\n <div wmDialogHeader [closable]=\"closable\"\n [iconclass]=\"iconclass\"\n [iconurl]=\"iconurl\"\n [iconwidth]=\"iconwidth\"\n [iconheight]=\"iconheight\"\n [iconmargin]=\"iconmargin\"\n [heading]=\"title\"\n [headinglevel]=\"headinglevel\"\n *ngIf=\"showheader\"\n [titleid]=\"titleId\"\n ></div>\n <div wmDialogBody>\n <div wmIframe encodeurl.bind=\"encodeurl\" iframesrc.bind=\"url\" height.bind=\"height\" width.bind=\"width\" hint.bind=\"hint\"></div>\n </div>\n <div wmDialogFooter *ngIf=\"showactions\">\n <button
|
|
120
|
+
], template: "<ng-template #dialogTemplate>\n <div wmDialogHeader [closable]=\"closable\"\n [iconclass]=\"iconclass\"\n [iconurl]=\"iconurl\"\n [iconwidth]=\"iconwidth\"\n [iconheight]=\"iconheight\"\n [iconmargin]=\"iconmargin\"\n [heading]=\"title\"\n [headinglevel]=\"headinglevel\"\n *ngIf=\"showheader\"\n [title]=\"title\"\n [titleid]=\"titleId\"\n ></div>\n <div wmDialogBody>\n <div wmIframe encodeurl.bind=\"encodeurl\" iframesrc.bind=\"url\" height.bind=\"height\" width.bind=\"width\" hint.bind=\"hint\"></div>\n </div>\n <div wmDialogFooter *ngIf=\"showactions\">\n <button (click)=\"onOk($event)\" [attr.aria-label]=\"oktext\" caption.bind=\"oktext\" class=\"btn-primary ok-action\"\n wmButton></button>\n </div>\n</ng-template>\n" }]
|
|
117
121
|
}], () => [{ type: i0.Injector }, { type: undefined, decorators: [{
|
|
118
122
|
type: Attribute,
|
|
119
123
|
args: ['class']
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":["../../../../../projects/components/widgets/dialogs/iframe-dialog/src/iframe-dialog.props.ts","../../../../../projects/components/widgets/dialogs/iframe-dialog/src/iframe-dialog.component.html","../../../../../projects/components/widgets/dialogs/iframe-dialog/src/iframe-dialog.component.ts","../../../../../projects/components/widgets/dialogs/iframe-dialog/src/iframe-dialog.module.ts","../../../../../projects/components/widgets/dialogs/iframe-dialog/src/index.ts"],"sourcesContent":["import { PROP_BOOLEAN, PROP_NUMBER, PROP_STRING, register } from '@wm/components/base';\n\nexport const registerProps = () => {\n register(\n 'wm-iframedialog',\n new Map(\n [\n ['animation', PROP_STRING],\n ['class', PROP_STRING],\n ['closable', {value: true, PROP_BOOLEAN}],\n ['encodeurl', {value: false, ...PROP_BOOLEAN}],\n ['height', {value: '400px', ...PROP_STRING}],\n ['iconclass', {value: 'wi wi-globe', PROP_STRING}],\n ['iconheight', PROP_STRING],\n ['iconmargin', PROP_STRING],\n ['iconurl', PROP_STRING],\n ['iconwidth', PROP_STRING],\n ['modal', {value: false, ...PROP_BOOLEAN}],\n ['name', PROP_STRING],\n ['oktext', {value: 'OK', ...PROP_STRING}],\n ['showactions', {value: true, ...PROP_BOOLEAN}],\n ['showheader', {value: true, ...PROP_BOOLEAN}],\n ['tabindex', {value: 0, ...PROP_NUMBER}],\n ['headinglevel', {value: 'h4', ...PROP_STRING}],\n ['title', {value: 'External Content', ...PROP_STRING}],\n ['url', {value: '//www.wavemaker.com', ...PROP_STRING}]\n ]\n )\n );\n};\n","<ng-template #dialogTemplate>\n <div wmDialogHeader [closable]=\"closable\"\n [iconclass]=\"iconclass\"\n [iconurl]=\"iconurl\"\n [iconwidth]=\"iconwidth\"\n [iconheight]=\"iconheight\"\n [iconmargin]=\"iconmargin\"\n [heading]=\"title\"\n [headinglevel]=\"headinglevel\"\n *ngIf=\"showheader\"\n [titleid]=\"titleId\"\n ></div>\n <div wmDialogBody>\n <div wmIframe encodeurl.bind=\"encodeurl\" iframesrc.bind=\"url\" height.bind=\"height\" width.bind=\"width\" hint.bind=\"hint\"></div>\n </div>\n <div wmDialogFooter *ngIf=\"showactions\">\n <button wmButton class=\"btn-primary ok-action\" caption.bind=\"oktext\" aria-label=\"Submit button\" (click)=\"onOk($event)\"></button>\n </div>\n</ng-template>\n","import {\n Attribute,\n Component,\n Inject,\n Injector,\n OnInit,\n Optional,\n SkipSelf,\n TemplateRef,\n ViewChild\n} from '@angular/core';\n\nimport {toBoolean} from '@wm/core';\nimport { provideAsDialogRef, provideAsWidgetRef } from '@wm/components/base';\nimport { BaseDialog } from '@wm/components/dialogs';\n\nimport { registerProps } from './iframe-dialog.props';\n\nconst DIALOG_CLS = 'app-dialog modal-dialog app-iframe-dialog';\nconst WIDGET_INFO = {widgetType: 'wm-iframedialog'};\n\n@Component({\n selector: 'div[wmIframeDialog]',\n templateUrl: './iframe-dialog.component.html',\n providers: [\n provideAsWidgetRef(IframeDialogComponent),\n provideAsDialogRef(IframeDialogComponent)\n ]\n})\nexport class IframeDialogComponent extends BaseDialog implements OnInit {\n static initializeProps = registerProps();\n\n @ViewChild('dialogTemplate' , { static: true }) dialogTemplate: TemplateRef<any>;\n\n constructor(\n inj: Injector,\n @Attribute('class') dialogClass: string,\n @Attribute('modal') modal: string | boolean,\n @Attribute('closable') closable: string | boolean,\n @Inject('EXPLICIT_CONTEXT') @Optional() explicitContext: any\n ) {\n if (modal === null || modal === undefined) {\n modal = false;\n }\n\n if (closable === null || closable === undefined) {\n closable = true;\n }\n\n // setting the backdrop to 'static' will not close the dialog on backdrop click\n const backdrop: boolean | 'static' = toBoolean(modal) ? 'static' : true;\n\n super(\n inj,\n WIDGET_INFO,\n {\n class: `${DIALOG_CLS} ${dialogClass || ''}`,\n backdrop,\n keyboard: !toBoolean(modal)\n },\n explicitContext\n );\n }\n\n protected getTemplateRef(): TemplateRef<any> {\n return this.dialogTemplate;\n }\n\n /**\n * Click event handler for the ok button\n * invokes on-ok event callback\n * @param {Event} $event\n */\n onOk($event: Event) {\n this.invokeEventCallback('ok', {$event});\n }\n\n ngOnInit() {\n super.ngOnInit();\n this.register(this.viewParent);\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { WmComponentsModule } from '@wm/components/base';\nimport { BasicModule } from '@wm/components/basic';\nimport { DialogModule } from '@wm/components/dialogs';\nimport { InputModule } from '@wm/components/input';\n\nimport { IframeDialogComponent } from './iframe-dialog.component';\n\nconst components = [\n IframeDialogComponent\n];\n\n@NgModule({\n imports: [\n BasicModule,\n CommonModule,\n DialogModule,\n InputModule,\n WmComponentsModule\n ],\n declarations: [...components],\n exports: [...components]\n})\nexport class IframeDialogModule {\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;;;;;;AAEO,MAAM,aAAa,GAAG,MAAK;AAC9B,IAAA,QAAQ,CACJ,iBAAiB,EACjB,IAAI,GAAG,CACH;QACI,CAAC,WAAW,EAAE,WAAW,CAAC;QAC1B,CAAC,OAAO,EAAE,WAAW,CAAC;QACtB,CAAC,UAAU,EAAE,EAAC,KAAK,EAAE,IAAI,EAAE,YAAY,EAAC,CAAC;QACzC,CAAC,WAAW,EAAE,EAAC,KAAK,EAAE,KAAK,EAAE,GAAG,YAAY,EAAC,CAAC;QAC9C,CAAC,QAAQ,EAAE,EAAC,KAAK,EAAE,OAAO,EAAE,GAAG,WAAW,EAAC,CAAC;QAC5C,CAAC,WAAW,EAAE,EAAC,KAAK,EAAE,aAAa,EAAE,WAAW,EAAC,CAAC;QAClD,CAAC,YAAY,EAAE,WAAW,CAAC;QAC3B,CAAC,YAAY,EAAE,WAAW,CAAC;QAC3B,CAAC,SAAS,EAAE,WAAW,CAAC;QACxB,CAAC,WAAW,EAAE,WAAW,CAAC;QAC1B,CAAC,OAAO,EAAE,EAAC,KAAK,EAAE,KAAK,EAAE,GAAG,YAAY,EAAC,CAAC;QAC1C,CAAC,MAAM,EAAE,W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kB,EAAA,EAAA,YAAA,EAAA,CAd3B,qBAAqB,CAAA,EAAA,OAAA,EAAA,CAKjB,WAAW;QACX,YAAY;QACZ,YAAY;QACZ,WAAW;AACX,QAAA,kBAAkB,aATtB,qBAAqB,CAAA,EAAA,CAAA,CAAA,EAAA,GAAA;;ACXzB;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":["../../../../../projects/components/widgets/dialogs/iframe-dialog/src/iframe-dialog.props.ts","../../../../../projects/components/widgets/dialogs/iframe-dialog/src/iframe-dialog.component.html","../../../../../projects/components/widgets/dialogs/iframe-dialog/src/iframe-dialog.component.ts","../../../../../projects/components/widgets/dialogs/iframe-dialog/src/iframe-dialog.module.ts","../../../../../projects/components/widgets/dialogs/iframe-dialog/src/index.ts"],"sourcesContent":["import { PROP_BOOLEAN, PROP_NUMBER, PROP_STRING, register } from '@wm/components/base';\n\nexport const registerProps = () => {\n register(\n 'wm-iframedialog',\n new Map(\n [\n ['animation', PROP_STRING],\n ['class', PROP_STRING],\n ['closable', {value: true, PROP_BOOLEAN}],\n ['encodeurl', {value: false, ...PROP_BOOLEAN}],\n ['height', {value: '400px', ...PROP_STRING}],\n ['iconclass', {value: 'wi wi-globe', PROP_STRING}],\n ['iconheight', PROP_STRING],\n ['iconmargin', PROP_STRING],\n ['iconurl', PROP_STRING],\n ['iconwidth', PROP_STRING],\n ['modal', {value: false, ...PROP_BOOLEAN}],\n ['name', PROP_STRING],\n ['oktext', {value: 'OK', ...PROP_STRING}],\n ['showactions', {value: true, ...PROP_BOOLEAN}],\n ['showheader', {value: true, ...PROP_BOOLEAN}],\n ['tabindex', {value: 0, ...PROP_NUMBER}],\n ['headinglevel', {value: 'h4', ...PROP_STRING}],\n ['title', {value: 'External Content', ...PROP_STRING}],\n ['url', {value: '//www.wavemaker.com', ...PROP_STRING}]\n ]\n )\n );\n};\n","<ng-template #dialogTemplate>\n <div wmDialogHeader [closable]=\"closable\"\n [iconclass]=\"iconclass\"\n [iconurl]=\"iconurl\"\n [iconwidth]=\"iconwidth\"\n [iconheight]=\"iconheight\"\n [iconmargin]=\"iconmargin\"\n [heading]=\"title\"\n [headinglevel]=\"headinglevel\"\n *ngIf=\"showheader\"\n [title]=\"title\"\n [titleid]=\"titleId\"\n ></div>\n <div wmDialogBody>\n <div wmIframe encodeurl.bind=\"encodeurl\" iframesrc.bind=\"url\" height.bind=\"height\" width.bind=\"width\" hint.bind=\"hint\"></div>\n </div>\n <div wmDialogFooter *ngIf=\"showactions\">\n <button (click)=\"onOk($event)\" [attr.aria-label]=\"oktext\" caption.bind=\"oktext\" class=\"btn-primary ok-action\"\n wmButton></button>\n </div>\n</ng-template>\n","import {\n Attribute,\n Component,\n Inject,\n Injector,\n OnInit,\n Optional,\n SkipSelf,\n TemplateRef,\n ViewChild\n} from '@angular/core';\n\nimport {toBoolean} from '@wm/core';\nimport { provideAsDialogRef, provideAsWidgetRef } from '@wm/components/base';\nimport { BaseDialog } from '@wm/components/dialogs';\n\nimport { registerProps } from './iframe-dialog.props';\n\nconst DIALOG_CLS = 'app-dialog modal-dialog app-iframe-dialog';\nconst WIDGET_INFO = {widgetType: 'wm-iframedialog'};\n\n@Component({\n selector: 'div[wmIframeDialog]',\n templateUrl: './iframe-dialog.component.html',\n providers: [\n provideAsWidgetRef(IframeDialogComponent),\n provideAsDialogRef(IframeDialogComponent)\n ]\n})\nexport class IframeDialogComponent extends BaseDialog implements OnInit {\n static initializeProps = registerProps();\n\n @ViewChild('dialogTemplate' , { static: true }) dialogTemplate: TemplateRef<any>;\n\n constructor(\n inj: Injector,\n @Attribute('class') dialogClass: string,\n @Attribute('modal') modal: string | boolean,\n @Attribute('closable') closable: string | boolean,\n @Inject('EXPLICIT_CONTEXT') @Optional() explicitContext: any\n ) {\n if (modal === null || modal === undefined) {\n modal = false;\n }\n\n if (closable === null || closable === undefined) {\n closable = true;\n }\n\n // setting the backdrop to 'static' will not close the dialog on backdrop click\n const backdrop: boolean | 'static' = toBoolean(modal) ? 'static' : true;\n\n super(\n inj,\n WIDGET_INFO,\n {\n class: `${DIALOG_CLS} ${dialogClass || ''}`,\n backdrop,\n keyboard: !toBoolean(modal)\n },\n explicitContext\n );\n }\n\n protected getTemplateRef(): TemplateRef<any> {\n return this.dialogTemplate;\n }\n\n /**\n * Click event handler for the ok button\n * invokes on-ok event callback\n * @param {Event} $event\n */\n onOk($event: Event) {\n this.invokeEventCallback('ok', {$event});\n }\n\n ngOnInit() {\n super.ngOnInit();\n this.register(this.viewParent);\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { WmComponentsModule } from '@wm/components/base';\nimport { BasicModule } from '@wm/components/basic';\nimport { DialogModule } from '@wm/components/dialogs';\nimport { InputModule } from '@wm/components/input';\n\nimport { IframeDialogComponent } from './iframe-dialog.component';\n\nconst components = [\n IframeDialogComponent\n];\n\n@NgModule({\n imports: [\n BasicModule,\n CommonModule,\n DialogModule,\n InputModule,\n WmComponentsModule\n ],\n declarations: [...components],\n exports: [...components]\n})\nexport class IframeDialogModule {\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;;;;;;AAEO,MAAM,aAAa,GAAG,MAAK;AAC9B,IAAA,QAAQ,CACJ,iBAAiB,EACjB,IAAI,GAAG,CACH;QACI,CAAC,WAAW,EAAE,WAAW,CAAC;QAC1B,CAAC,OAAO,EAAE,WAAW,CAAC;QACtB,CAAC,UAAU,EAAE,EAAC,KAAK,EAAE,IAAI,EAAE,YAAY,EAAC,CAAC;QACzC,CAAC,WAAW,EAAE,EAAC,KAAK,EAAE,KAAK,EAAE,GAAG,YAAY,EAAC,CAAC;QAC9C,CAAC,QAAQ,EAAE,EAAC,KAAK,EAAE,OAAO,EAAE,GAAG,WAAW,EAAC,CAAC;QAC5C,CAAC,WAAW,EAAE,EAAC,KAAK,EAAE,aAAa,EAAE,WAAW,EAAC,CAAC;QAClD,CAAC,YAAY,EAAE,WAAW,CAA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;AAAC,QAAA,IAAA,EAAA,CAAA;AACN,gBAAA,OAAO,EAAE;oBACL,WAAW;oBACX,YAAY;oBACZ,YAAY;oBACZ,WAAW;oBACX,kBAAkB;AACrB,iBAAA;AACD,gBAAA,YAAY,EAAE,CAAC,GAAG,UAAU,CAAC;AAC7B,gBAAA,OAAO,EAAE,CAAC,GAAG,UAAU,CAAC;AAC3B,aAAA,CAAA;;wFACY,kBAAkB,EAAA,EAAA,YAAA,EAAA,CAd3B,qBAAqB,CAAA,EAAA,OAAA,EAAA,CAKjB,WAAW;QACX,YAAY;QACZ,YAAY;QACZ,WAAW;AACX,QAAA,kBAAkB,aATtB,qBAAqB,CAAA,EAAA,CAAA,CAAA,EAAA,GAAA;;ACXzB;;AAEG;;;;"}
|
|
@@ -59,16 +59,20 @@
|
|
|
59
59
|
i0__namespace.ɵɵelementStart(0, "div", 5)(1, "button", 6);
|
|
60
60
|
i0__namespace.ɵɵlistener("click", function PartialDialogComponent_ng_template_0_div_3_Template_button_click_1_listener($event) { i0__namespace.ɵɵrestoreView(_r1); const ctx_r1 = i0__namespace.ɵɵnextContext(2); return i0__namespace.ɵɵresetView(ctx_r1.onOk($event)); });
|
|
61
61
|
i0__namespace.ɵɵelementEnd()();
|
|
62
|
+
} if (rf & 2) {
|
|
63
|
+
const ctx_r1 = i0__namespace.ɵɵnextContext(2);
|
|
64
|
+
i0__namespace.ɵɵadvance();
|
|
65
|
+
i0__namespace.ɵɵattribute("aria-label", ctx_r1.oktext);
|
|
62
66
|
} }
|
|
63
67
|
function PartialDialogComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {
|
|
64
68
|
i0__namespace.ɵɵelement(0, "div", 1);
|
|
65
69
|
i0__namespace.ɵɵelementStart(1, "div", 2);
|
|
66
70
|
i0__namespace.ɵɵtemplate(2, PartialDialogComponent_ng_template_0_ng_container_2_Template, 1, 0, "ng-container", 3);
|
|
67
71
|
i0__namespace.ɵɵelementEnd();
|
|
68
|
-
i0__namespace.ɵɵtemplate(3, PartialDialogComponent_ng_template_0_div_3_Template, 2,
|
|
72
|
+
i0__namespace.ɵɵtemplate(3, PartialDialogComponent_ng_template_0_div_3_Template, 2, 1, "div", 4);
|
|
69
73
|
} if (rf & 2) {
|
|
70
74
|
const ctx_r1 = i0__namespace.ɵɵnextContext();
|
|
71
|
-
i0__namespace.ɵɵproperty("closable", ctx_r1.closable)("iconclass", ctx_r1.iconclass)("iconurl", ctx_r1.iconurl)("iconwidth", ctx_r1.iconwidth)("iconheight", ctx_r1.iconheight)("iconmargin", ctx_r1.iconmargin)("heading", ctx_r1.title)("headinglevel", ctx_r1.headinglevel)("titleid", ctx_r1.titleId);
|
|
75
|
+
i0__namespace.ɵɵproperty("closable", ctx_r1.closable)("iconclass", ctx_r1.iconclass)("iconurl", ctx_r1.iconurl)("iconwidth", ctx_r1.iconwidth)("iconheight", ctx_r1.iconheight)("iconmargin", ctx_r1.iconmargin)("heading", ctx_r1.title)("headinglevel", ctx_r1.headinglevel)("title", ctx_r1.title)("titleid", ctx_r1.titleId);
|
|
72
76
|
i0__namespace.ɵɵadvance(2);
|
|
73
77
|
i0__namespace.ɵɵproperty("ngTemplateOutlet", ctx_r1.dialogContent);
|
|
74
78
|
i0__namespace.ɵɵadvance();
|
|
@@ -140,8 +144,8 @@
|
|
|
140
144
|
} }, features: [i0__namespace.ɵɵProvidersFeature([
|
|
141
145
|
base.provideAsWidgetRef(PartialDialogComponent),
|
|
142
146
|
base.provideAsDialogRef(PartialDialogComponent)
|
|
143
|
-
]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c2, decls: 2, vars: 0, consts: [["dialogTemplate", ""], ["wmDialogHeader", "", 3, "closable", "iconclass", "iconurl", "iconwidth", "iconheight", "iconmargin", "heading", "headinglevel", "titleid"], ["wmDialogBody", ""], [4, "ngTemplateOutlet"], ["wmDialogFooter", "", 4, "ngIf"], ["wmDialogFooter", ""], ["
|
|
144
|
-
i0__namespace.ɵɵtemplate(0, PartialDialogComponent_ng_template_0_Template, 4,
|
|
147
|
+
]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c2, decls: 2, vars: 0, consts: [["dialogTemplate", ""], ["wmDialogHeader", "", 3, "closable", "iconclass", "iconurl", "iconwidth", "iconheight", "iconmargin", "heading", "headinglevel", "title", "titleid"], ["wmDialogBody", ""], [4, "ngTemplateOutlet"], ["wmDialogFooter", "", 4, "ngIf"], ["wmDialogFooter", ""], ["caption.bind", "oktext", "wmButton", "", 1, "btn-primary", "ok-action", 3, "click"]], template: function PartialDialogComponent_Template(rf, ctx) { if (rf & 1) {
|
|
148
|
+
i0__namespace.ɵɵtemplate(0, PartialDialogComponent_ng_template_0_Template, 4, 12, "ng-template", null, 0, i0__namespace.ɵɵtemplateRefExtractor);
|
|
145
149
|
} }, dependencies: [i2__namespace.NgIf, i2__namespace.NgTemplateOutlet, i3__namespace.DialogBodyDirective, i3__namespace.DialogFooterDirective, i3__namespace.DialogHeaderComponent, i4__namespace.ButtonComponent], encapsulation: 2 }); }
|
|
146
150
|
}
|
|
147
151
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(PartialDialogComponent, [{
|
|
@@ -149,7 +153,7 @@
|
|
|
149
153
|
args: [{ selector: 'div[wmPartialDialog]', providers: [
|
|
150
154
|
base.provideAsWidgetRef(PartialDialogComponent),
|
|
151
155
|
base.provideAsDialogRef(PartialDialogComponent)
|
|
152
|
-
], template: "<ng-template #dialogTemplate>\n <div wmDialogHeader [closable]=\"closable\"\n [iconclass]=\"iconclass\"\n [iconurl]=\"iconurl\"\n [iconwidth]=\"iconwidth\"\n [iconheight]=\"iconheight\"\n [iconmargin]=\"iconmargin\"\n [heading]=\"title\"\n [headinglevel]=\"headinglevel\"\n [titleid]=\"titleId\"\n ></div>\n <div wmDialogBody>\n <ng-container *ngTemplateOutlet=\"dialogContent\"></ng-container>\n </div>\n <div wmDialogFooter *ngIf=\"showactions\">\n <button
|
|
156
|
+
], template: "<ng-template #dialogTemplate>\n <div wmDialogHeader [closable]=\"closable\"\n [iconclass]=\"iconclass\"\n [iconurl]=\"iconurl\"\n [iconwidth]=\"iconwidth\"\n [iconheight]=\"iconheight\"\n [iconmargin]=\"iconmargin\"\n [heading]=\"title\"\n [headinglevel]=\"headinglevel\"\n [title]=\"title\"\n [titleid]=\"titleId\"\n ></div>\n <div wmDialogBody>\n <ng-container *ngTemplateOutlet=\"dialogContent\"></ng-container>\n </div>\n <div wmDialogFooter *ngIf=\"showactions\">\n <button (click)=\"onOk($event)\" [attr.aria-label]=\"oktext\" caption.bind=\"oktext\" class=\"btn-primary ok-action\"\n wmButton></button>\n </div>\n</ng-template>\n" }]
|
|
153
157
|
}], () => [{ type: i0__namespace.Injector }, { type: i1__namespace.App }, { type: undefined, decorators: [{
|
|
154
158
|
type: i0.Attribute,
|
|
155
159
|
args: ['class']
|
|
@@ -19,16 +19,20 @@ function PartialDialogComponent_ng_template_0_div_3_Template(rf, ctx) { if (rf &
|
|
|
19
19
|
i0.ɵɵelementStart(0, "div", 5)(1, "button", 6);
|
|
20
20
|
i0.ɵɵlistener("click", function PartialDialogComponent_ng_template_0_div_3_Template_button_click_1_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onOk($event)); });
|
|
21
21
|
i0.ɵɵelementEnd()();
|
|
22
|
+
} if (rf & 2) {
|
|
23
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
24
|
+
i0.ɵɵadvance();
|
|
25
|
+
i0.ɵɵattribute("aria-label", ctx_r1.oktext);
|
|
22
26
|
} }
|
|
23
27
|
function PartialDialogComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {
|
|
24
28
|
i0.ɵɵelement(0, "div", 1);
|
|
25
29
|
i0.ɵɵelementStart(1, "div", 2);
|
|
26
30
|
i0.ɵɵtemplate(2, PartialDialogComponent_ng_template_0_ng_container_2_Template, 1, 0, "ng-container", 3);
|
|
27
31
|
i0.ɵɵelementEnd();
|
|
28
|
-
i0.ɵɵtemplate(3, PartialDialogComponent_ng_template_0_div_3_Template, 2,
|
|
32
|
+
i0.ɵɵtemplate(3, PartialDialogComponent_ng_template_0_div_3_Template, 2, 1, "div", 4);
|
|
29
33
|
} if (rf & 2) {
|
|
30
34
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
31
|
-
i0.ɵɵproperty("closable", ctx_r1.closable)("iconclass", ctx_r1.iconclass)("iconurl", ctx_r1.iconurl)("iconwidth", ctx_r1.iconwidth)("iconheight", ctx_r1.iconheight)("iconmargin", ctx_r1.iconmargin)("heading", ctx_r1.title)("headinglevel", ctx_r1.headinglevel)("titleid", ctx_r1.titleId);
|
|
35
|
+
i0.ɵɵproperty("closable", ctx_r1.closable)("iconclass", ctx_r1.iconclass)("iconurl", ctx_r1.iconurl)("iconwidth", ctx_r1.iconwidth)("iconheight", ctx_r1.iconheight)("iconmargin", ctx_r1.iconmargin)("heading", ctx_r1.title)("headinglevel", ctx_r1.headinglevel)("title", ctx_r1.title)("titleid", ctx_r1.titleId);
|
|
32
36
|
i0.ɵɵadvance(2);
|
|
33
37
|
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.dialogContent);
|
|
34
38
|
i0.ɵɵadvance();
|
|
@@ -103,8 +107,8 @@ export class PartialDialogComponent extends BaseDialog {
|
|
|
103
107
|
} }, features: [i0.ɵɵProvidersFeature([
|
|
104
108
|
provideAsWidgetRef(PartialDialogComponent),
|
|
105
109
|
provideAsDialogRef(PartialDialogComponent)
|
|
106
|
-
]), i0.ɵɵInheritDefinitionFeature], attrs: _c2, decls: 2, vars: 0, consts: [["dialogTemplate", ""], ["wmDialogHeader", "", 3, "closable", "iconclass", "iconurl", "iconwidth", "iconheight", "iconmargin", "heading", "headinglevel", "titleid"], ["wmDialogBody", ""], [4, "ngTemplateOutlet"], ["wmDialogFooter", "", 4, "ngIf"], ["wmDialogFooter", ""], ["
|
|
107
|
-
i0.ɵɵtemplate(0, PartialDialogComponent_ng_template_0_Template, 4,
|
|
110
|
+
]), i0.ɵɵInheritDefinitionFeature], attrs: _c2, decls: 2, vars: 0, consts: [["dialogTemplate", ""], ["wmDialogHeader", "", 3, "closable", "iconclass", "iconurl", "iconwidth", "iconheight", "iconmargin", "heading", "headinglevel", "title", "titleid"], ["wmDialogBody", ""], [4, "ngTemplateOutlet"], ["wmDialogFooter", "", 4, "ngIf"], ["wmDialogFooter", ""], ["caption.bind", "oktext", "wmButton", "", 1, "btn-primary", "ok-action", 3, "click"]], template: function PartialDialogComponent_Template(rf, ctx) { if (rf & 1) {
|
|
111
|
+
i0.ɵɵtemplate(0, PartialDialogComponent_ng_template_0_Template, 4, 12, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor);
|
|
108
112
|
} }, dependencies: [i2.NgIf, i2.NgTemplateOutlet, i3.DialogBodyDirective, i3.DialogFooterDirective, i3.DialogHeaderComponent, i4.ButtonComponent], encapsulation: 2 }); }
|
|
109
113
|
}
|
|
110
114
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PartialDialogComponent, [{
|
|
@@ -112,7 +116,7 @@ export class PartialDialogComponent extends BaseDialog {
|
|
|
112
116
|
args: [{ selector: 'div[wmPartialDialog]', providers: [
|
|
113
117
|
provideAsWidgetRef(PartialDialogComponent),
|
|
114
118
|
provideAsDialogRef(PartialDialogComponent)
|
|
115
|
-
], template: "<ng-template #dialogTemplate>\n <div wmDialogHeader [closable]=\"closable\"\n [iconclass]=\"iconclass\"\n [iconurl]=\"iconurl\"\n [iconwidth]=\"iconwidth\"\n [iconheight]=\"iconheight\"\n [iconmargin]=\"iconmargin\"\n [heading]=\"title\"\n [headinglevel]=\"headinglevel\"\n [titleid]=\"titleId\"\n ></div>\n <div wmDialogBody>\n <ng-container *ngTemplateOutlet=\"dialogContent\"></ng-container>\n </div>\n <div wmDialogFooter *ngIf=\"showactions\">\n <button
|
|
119
|
+
], template: "<ng-template #dialogTemplate>\n <div wmDialogHeader [closable]=\"closable\"\n [iconclass]=\"iconclass\"\n [iconurl]=\"iconurl\"\n [iconwidth]=\"iconwidth\"\n [iconheight]=\"iconheight\"\n [iconmargin]=\"iconmargin\"\n [heading]=\"title\"\n [headinglevel]=\"headinglevel\"\n [title]=\"title\"\n [titleid]=\"titleId\"\n ></div>\n <div wmDialogBody>\n <ng-container *ngTemplateOutlet=\"dialogContent\"></ng-container>\n </div>\n <div wmDialogFooter *ngIf=\"showactions\">\n <button (click)=\"onOk($event)\" [attr.aria-label]=\"oktext\" caption.bind=\"oktext\" class=\"btn-primary ok-action\"\n wmButton></button>\n </div>\n</ng-template>\n" }]
|
|
116
120
|
}], () => [{ type: i0.Injector }, { type: i1.App }, { type: undefined, decorators: [{
|
|
117
121
|
type: Attribute,
|
|
118
122
|
args: ['class']
|
|
@@ -138,4 +142,4 @@ export class PartialDialogComponent extends BaseDialog {
|
|
|
138
142
|
args: ['partial']
|
|
139
143
|
}] }); })();
|
|
140
144
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(PartialDialogComponent, { className: "PartialDialogComponent", filePath: "partial-dialog.component.ts", lineNumber: 31 }); })();
|
|
141
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
145
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGFydGlhbC1kaWFsb2cuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29tcG9uZW50cy93aWRnZXRzL2RpYWxvZ3MvcGFydGlhbC1kaWFsb2cvc3JjL3BhcnRpYWwtZGlhbG9nLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvbXBvbmVudHMvd2lkZ2V0cy9kaWFsb2dzL3BhcnRpYWwtZGlhbG9nL3NyYy9wYXJ0aWFsLWRpYWxvZy5jb21wb25lbnQuaHRtbCJdLCJu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GxlaWRdPVwidGl0bGVJZFwiXG4gICAgPjwvZGl2PlxuICAgIDxkaXYgd21EaWFsb2dCb2R5PlxuICAgICAgICA8bmctY29udGFpbmVyICpuZ1RlbXBsYXRlT3V0bGV0PVwiZGlhbG9nQ29udGVudFwiPjwvbmctY29udGFpbmVyPlxuICAgIDwvZGl2PlxuICAgIDxkaXYgd21EaWFsb2dGb290ZXIgKm5nSWY9XCJzaG93YWN0aW9uc1wiPlxuICAgICAgICA8YnV0dG9uIChjbGljayk9XCJvbk9rKCRldmVudClcIiBbYXR0ci5hcmlhLWxhYmVsXT1cIm9rdGV4dFwiIGNhcHRpb24uYmluZD1cIm9rdGV4dFwiIGNsYXNzPVwiYnRuLXByaW1hcnkgb2stYWN0aW9uXCJcbiAgICAgICAgICAgICAgICB3bUJ1dHRvbj48L2J1dHRvbj5cbiAgICA8L2Rpdj5cbjwvbmctdGVtcGxhdGU+XG4iXX0=
|
|
@@ -42,16 +42,20 @@ function PartialDialogComponent_ng_template_0_div_3_Template(rf, ctx) { if (rf &
|
|
|
42
42
|
i0.ɵɵelementStart(0, "div", 5)(1, "button", 6);
|
|
43
43
|
i0.ɵɵlistener("click", function PartialDialogComponent_ng_template_0_div_3_Template_button_click_1_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onOk($event)); });
|
|
44
44
|
i0.ɵɵelementEnd()();
|
|
45
|
+
} if (rf & 2) {
|
|
46
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
47
|
+
i0.ɵɵadvance();
|
|
48
|
+
i0.ɵɵattribute("aria-label", ctx_r1.oktext);
|
|
45
49
|
} }
|
|
46
50
|
function PartialDialogComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {
|
|
47
51
|
i0.ɵɵelement(0, "div", 1);
|
|
48
52
|
i0.ɵɵelementStart(1, "div", 2);
|
|
49
53
|
i0.ɵɵtemplate(2, PartialDialogComponent_ng_template_0_ng_container_2_Template, 1, 0, "ng-container", 3);
|
|
50
54
|
i0.ɵɵelementEnd();
|
|
51
|
-
i0.ɵɵtemplate(3, PartialDialogComponent_ng_template_0_div_3_Template, 2,
|
|
55
|
+
i0.ɵɵtemplate(3, PartialDialogComponent_ng_template_0_div_3_Template, 2, 1, "div", 4);
|
|
52
56
|
} if (rf & 2) {
|
|
53
57
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
54
|
-
i0.ɵɵproperty("closable", ctx_r1.closable)("iconclass", ctx_r1.iconclass)("iconurl", ctx_r1.iconurl)("iconwidth", ctx_r1.iconwidth)("iconheight", ctx_r1.iconheight)("iconmargin", ctx_r1.iconmargin)("heading", ctx_r1.title)("headinglevel", ctx_r1.headinglevel)("titleid", ctx_r1.titleId);
|
|
58
|
+
i0.ɵɵproperty("closable", ctx_r1.closable)("iconclass", ctx_r1.iconclass)("iconurl", ctx_r1.iconurl)("iconwidth", ctx_r1.iconwidth)("iconheight", ctx_r1.iconheight)("iconmargin", ctx_r1.iconmargin)("heading", ctx_r1.title)("headinglevel", ctx_r1.headinglevel)("title", ctx_r1.title)("titleid", ctx_r1.titleId);
|
|
55
59
|
i0.ɵɵadvance(2);
|
|
56
60
|
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.dialogContent);
|
|
57
61
|
i0.ɵɵadvance();
|
|
@@ -126,8 +130,8 @@ class PartialDialogComponent extends BaseDialog {
|
|
|
126
130
|
} }, features: [i0.ɵɵProvidersFeature([
|
|
127
131
|
provideAsWidgetRef(PartialDialogComponent),
|
|
128
132
|
provideAsDialogRef(PartialDialogComponent)
|
|
129
|
-
]), i0.ɵɵInheritDefinitionFeature], attrs: _c2, decls: 2, vars: 0, consts: [["dialogTemplate", ""], ["wmDialogHeader", "", 3, "closable", "iconclass", "iconurl", "iconwidth", "iconheight", "iconmargin", "heading", "headinglevel", "titleid"], ["wmDialogBody", ""], [4, "ngTemplateOutlet"], ["wmDialogFooter", "", 4, "ngIf"], ["wmDialogFooter", ""], ["
|
|
130
|
-
i0.ɵɵtemplate(0, PartialDialogComponent_ng_template_0_Template, 4,
|
|
133
|
+
]), i0.ɵɵInheritDefinitionFeature], attrs: _c2, decls: 2, vars: 0, consts: [["dialogTemplate", ""], ["wmDialogHeader", "", 3, "closable", "iconclass", "iconurl", "iconwidth", "iconheight", "iconmargin", "heading", "headinglevel", "title", "titleid"], ["wmDialogBody", ""], [4, "ngTemplateOutlet"], ["wmDialogFooter", "", 4, "ngIf"], ["wmDialogFooter", ""], ["caption.bind", "oktext", "wmButton", "", 1, "btn-primary", "ok-action", 3, "click"]], template: function PartialDialogComponent_Template(rf, ctx) { if (rf & 1) {
|
|
134
|
+
i0.ɵɵtemplate(0, PartialDialogComponent_ng_template_0_Template, 4, 12, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor);
|
|
131
135
|
} }, dependencies: [i2.NgIf, i2.NgTemplateOutlet, i3.DialogBodyDirective, i3.DialogFooterDirective, i3.DialogHeaderComponent, i4.ButtonComponent], encapsulation: 2 }); }
|
|
132
136
|
}
|
|
133
137
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PartialDialogComponent, [{
|
|
@@ -135,7 +139,7 @@ class PartialDialogComponent extends BaseDialog {
|
|
|
135
139
|
args: [{ selector: 'div[wmPartialDialog]', providers: [
|
|
136
140
|
provideAsWidgetRef(PartialDialogComponent),
|
|
137
141
|
provideAsDialogRef(PartialDialogComponent)
|
|
138
|
-
], template: "<ng-template #dialogTemplate>\n <div wmDialogHeader [closable]=\"closable\"\n [iconclass]=\"iconclass\"\n [iconurl]=\"iconurl\"\n [iconwidth]=\"iconwidth\"\n [iconheight]=\"iconheight\"\n [iconmargin]=\"iconmargin\"\n [heading]=\"title\"\n [headinglevel]=\"headinglevel\"\n [titleid]=\"titleId\"\n ></div>\n <div wmDialogBody>\n <ng-container *ngTemplateOutlet=\"dialogContent\"></ng-container>\n </div>\n <div wmDialogFooter *ngIf=\"showactions\">\n <button
|
|
142
|
+
], template: "<ng-template #dialogTemplate>\n <div wmDialogHeader [closable]=\"closable\"\n [iconclass]=\"iconclass\"\n [iconurl]=\"iconurl\"\n [iconwidth]=\"iconwidth\"\n [iconheight]=\"iconheight\"\n [iconmargin]=\"iconmargin\"\n [heading]=\"title\"\n [headinglevel]=\"headinglevel\"\n [title]=\"title\"\n [titleid]=\"titleId\"\n ></div>\n <div wmDialogBody>\n <ng-container *ngTemplateOutlet=\"dialogContent\"></ng-container>\n </div>\n <div wmDialogFooter *ngIf=\"showactions\">\n <button (click)=\"onOk($event)\" [attr.aria-label]=\"oktext\" caption.bind=\"oktext\" class=\"btn-primary ok-action\"\n wmButton></button>\n </div>\n</ng-template>\n" }]
|
|
139
143
|
}], () => [{ type: i0.Injector }, { type: i1.App }, { type: undefined, decorators: [{
|
|
140
144
|
type: Attribute,
|
|
141
145
|
args: ['class']
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":["../../../../../projects/components/widgets/dialogs/partial-dialog/src/partial-dialog.props.ts","../../../../../projects/components/widgets/dialogs/partial-dialog/src/partial-dialog.component.html","../../../../../projects/components/widgets/dialogs/partial-dialog/src/partial-dialog.component.ts","../../../../../projects/components/widgets/dialogs/partial-dialog/src/partial-dialog.module.ts","../../../../../projects/components/widgets/dialogs/partial-dialog/src/index.ts"],"sourcesContent":["import { PROP_BOOLEAN, PROP_NUMBER, PROP_STRING, register } from '@wm/components/base';\n\nexport const registerProps = () => {\n register(\n 'wm-partialdialog',\n new Map(\n [\n ['animation', PROP_STRING],\n ['class', PROP_STRING],\n ['closable', {value: true, PROP_BOOLEAN}],\n ['content', PROP_STRING],\n ['iconclass', {value: 'wi wi-file', PROP_STRING}],\n ['iconheight', PROP_STRING],\n ['iconmargin', PROP_STRING],\n ['iconurl', PROP_STRING],\n ['iconwidth', PROP_STRING],\n ['modal', {value: false, ...PROP_BOOLEAN}],\n ['name', PROP_STRING],\n ['oktext', {value: 'OK', ...PROP_STRING}],\n ['showactions', {value: true, ...PROP_BOOLEAN}],\n ['tabindex', {value: 0, ...PROP_NUMBER}],\n ['headinglevel', {value: 'h4', ...PROP_STRING}],\n ['title', {value: 'Page Content', ...PROP_STRING}]\n ]\n )\n );\n};\n","<ng-template #dialogTemplate>\n <div wmDialogHeader [closable]=\"closable\"\n [iconclass]=\"iconclass\"\n [iconurl]=\"iconurl\"\n [iconwidth]=\"iconwidth\"\n [iconheight]=\"iconheight\"\n [iconmargin]=\"iconmargin\"\n [heading]=\"title\"\n [headinglevel]=\"headinglevel\"\n [titleid]=\"titleId\"\n ></div>\n <div wmDialogBody>\n <ng-container *ngTemplateOutlet=\"dialogContent\"></ng-container>\n </div>\n <div wmDialogFooter *ngIf=\"showactions\">\n <button wmButton class=\"btn-primary ok-action\" caption.bind=\"oktext\" aria-label=\"Submit button\" (click)=\"onOk($event)\"></button>\n </div>\n</ng-template>\n","import {\n Attribute,\n Component,\n ContentChild,\n Inject,\n Injector,\n OnInit,\n Optional,\n SkipSelf,\n TemplateRef,\n ViewChild\n} from '@angular/core';\n\nimport {App, toBoolean} from '@wm/core';\nimport { provideAsDialogRef, provideAsWidgetRef } from '@wm/components/base';\nimport { BaseDialog } from '@wm/components/dialogs';\n\nimport { registerProps } from './partial-dialog.props';\n\nconst DIALOG_CLS = 'app-dialog modal-dialog app-page-dialog';\nconst WIDGET_INFO = {widgetType: 'wm-partialdialog'};\n\n@Component({\n selector: 'div[wmPartialDialog]',\n templateUrl: './partial-dialog.component.html',\n providers: [\n provideAsWidgetRef(PartialDialogComponent),\n provideAsDialogRef(PartialDialogComponent)\n ]\n})\nexport class PartialDialogComponent extends BaseDialog implements OnInit {\n static initializeProps = registerProps();\n @ViewChild('dialogTemplate', { static: true }) dialogTemplate: TemplateRef<any>;\n @ContentChild(TemplateRef) dialogContent: TemplateRef<any>;\n @ContentChild('partial') partialRef;\n\n protected app;\n protected Widgets;\n protected Variables;\n protected Actions;\n\n constructor(\n inj: Injector,\n app: App,\n @Attribute('class') dialogClass: string,\n @Attribute('modal') modal: string | boolean,\n @Attribute('closable') closable: string | boolean,\n @Inject('EXPLICIT_CONTEXT') @Optional() explicitContext: any\n ) {\n if (modal === null || modal === undefined) {\n modal = false;\n }\n\n if (closable === null || closable === undefined) {\n closable = true;\n }\n\n // setting the backdrop to 'static' will not close the dialog on backdrop click\n const backdrop: boolean | 'static' = toBoolean(modal) ? 'static' : true;\n\n super(\n inj,\n WIDGET_INFO,\n {\n class: `${DIALOG_CLS} ${dialogClass || ''}`,\n backdrop,\n keyboard: !toBoolean(modal)\n },\n explicitContext\n );\n this.app = app;\n }\n\n protected getTemplateRef(): TemplateRef<any> {\n return this.dialogTemplate;\n }\n\n /**\n * Click event handler for the ok button\n * invokes on-ok event callback\n * @param {Event} $event\n */\n onOk($event: Event) {\n this.invokeEventCallback('ok', {$event});\n }\n\n ngOnInit() {\n super.ngOnInit();\n this.register(this.viewParent);\n }\n\n private setPartialLoadListener() {\n const cancelSubscription = this.app.subscribe('partialLoaded', () => {\n const parEle = this.partialRef.nativeElement;\n let partialScope;\n if (parEle) {\n partialScope = parEle.widget;\n this.Widgets = partialScope.Widgets;\n this.Variables = partialScope.Variables;\n this.Actions = partialScope.Actions;\n }\n cancelSubscription();\n });\n }\n\n public open(initState?: any) {\n super.open(initState);\n // WMS-19410 - Set the partial load listener to access widgets, variables and actions of page dialog\n this.setPartialLoadListener();\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { WmComponentsModule } from '@wm/components/base';\nimport { DialogModule } from '@wm/components/dialogs';\nimport { InputModule } from '@wm/components/input';\n\nimport { PartialDialogComponent } from './partial-dialog.component';\n\nconst components = [\n PartialDialogComponent\n];\n\n@NgModule({\n imports: [\n CommonModule,\n DialogModule,\n InputModule,\n WmComponentsModule\n ],\n declarations: [...components],\n exports: [...components]\n})\nexport class PartialDialogModule {\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;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"version":3,"file":"index.mjs","sources":["../../../../../projects/components/widgets/dialogs/partial-dialog/src/partial-dialog.props.ts","../../../../../projects/components/widgets/dialogs/partial-dialog/src/partial-dialog.component.html","../../../../../projects/components/widgets/dialogs/partial-dialog/src/partial-dialog.component.ts","../../../../../projects/components/widgets/dialogs/partial-dialog/src/partial-dialog.module.ts","../../../../../projects/components/widgets/dialogs/partial-dialog/src/index.ts"],"sourcesContent":["import { PROP_BOOLEAN, PROP_NUMBER, PROP_STRING, register } from '@wm/components/base';\n\nexport const registerProps = () => {\n register(\n 'wm-partialdialog',\n new Map(\n [\n ['animation', PROP_STRING],\n ['class', PROP_STRING],\n ['closable', {value: true, PROP_BOOLEAN}],\n ['content', PROP_STRING],\n ['iconclass', {value: 'wi wi-file', PROP_STRING}],\n ['iconheight', PROP_STRING],\n ['iconmargin', PROP_STRING],\n ['iconurl', PROP_STRING],\n ['iconwidth', PROP_STRING],\n ['modal', {value: false, ...PROP_BOOLEAN}],\n ['name', PROP_STRING],\n ['oktext', {value: 'OK', ...PROP_STRING}],\n ['showactions', {value: true, ...PROP_BOOLEAN}],\n ['tabindex', {value: 0, ...PROP_NUMBER}],\n ['headinglevel', {value: 'h4', ...PROP_STRING}],\n ['title', {value: 'Page Content', ...PROP_STRING}]\n ]\n )\n );\n};\n","<ng-template #dialogTemplate>\n <div wmDialogHeader [closable]=\"closable\"\n [iconclass]=\"iconclass\"\n [iconurl]=\"iconurl\"\n [iconwidth]=\"iconwidth\"\n [iconheight]=\"iconheight\"\n [iconmargin]=\"iconmargin\"\n [heading]=\"title\"\n [headinglevel]=\"headinglevel\"\n [title]=\"title\"\n [titleid]=\"titleId\"\n ></div>\n <div wmDialogBody>\n <ng-container *ngTemplateOutlet=\"dialogContent\"></ng-container>\n </div>\n <div wmDialogFooter *ngIf=\"showactions\">\n <button (click)=\"onOk($event)\" [attr.aria-label]=\"oktext\" caption.bind=\"oktext\" class=\"btn-primary ok-action\"\n wmButton></button>\n </div>\n</ng-template>\n","import {\n Attribute,\n Component,\n ContentChild,\n Inject,\n Injector,\n OnInit,\n Optional,\n SkipSelf,\n TemplateRef,\n ViewChild\n} from '@angular/core';\n\nimport {App, toBoolean} from '@wm/core';\nimport { provideAsDialogRef, provideAsWidgetRef } from '@wm/components/base';\nimport { BaseDialog } from '@wm/components/dialogs';\n\nimport { registerProps } from './partial-dialog.props';\n\nconst DIALOG_CLS = 'app-dialog modal-dialog app-page-dialog';\nconst WIDGET_INFO = {widgetType: 'wm-partialdialog'};\n\n@Component({\n selector: 'div[wmPartialDialog]',\n templateUrl: './partial-dialog.component.html',\n providers: [\n provideAsWidgetRef(PartialDialogComponent),\n provideAsDialogRef(PartialDialogComponent)\n ]\n})\nexport class PartialDialogComponent extends BaseDialog implements OnInit {\n static initializeProps = registerProps();\n @ViewChild('dialogTemplate', { static: true }) dialogTemplate: TemplateRef<any>;\n @ContentChild(TemplateRef) dialogContent: TemplateRef<any>;\n @ContentChild('partial') partialRef;\n\n protected app;\n protected Widgets;\n protected Variables;\n protected Actions;\n\n constructor(\n inj: Injector,\n app: App,\n @Attribute('class') dialogClass: string,\n @Attribute('modal') modal: string | boolean,\n @Attribute('closable') closable: string | boolean,\n @Inject('EXPLICIT_CONTEXT') @Optional() explicitContext: any\n ) {\n if (modal === null || modal === undefined) {\n modal = false;\n }\n\n if (closable === null || closable === undefined) {\n closable = true;\n }\n\n // setting the backdrop to 'static' will not close the dialog on backdrop click\n const backdrop: boolean | 'static' = toBoolean(modal) ? 'static' : true;\n\n super(\n inj,\n WIDGET_INFO,\n {\n class: `${DIALOG_CLS} ${dialogClass || ''}`,\n backdrop,\n keyboard: !toBoolean(modal)\n },\n explicitContext\n );\n this.app = app;\n }\n\n protected getTemplateRef(): TemplateRef<any> {\n return this.dialogTemplate;\n }\n\n /**\n * Click event handler for the ok button\n * invokes on-ok event callback\n * @param {Event} $event\n */\n onOk($event: Event) {\n this.invokeEventCallback('ok', {$event});\n }\n\n ngOnInit() {\n super.ngOnInit();\n this.register(this.viewParent);\n }\n\n private setPartialLoadListener() {\n const cancelSubscription = this.app.subscribe('partialLoaded', () => {\n const parEle = this.partialRef.nativeElement;\n let partialScope;\n if (parEle) {\n partialScope = parEle.widget;\n this.Widgets = partialScope.Widgets;\n this.Variables = partialScope.Variables;\n this.Actions = partialScope.Actions;\n }\n cancelSubscription();\n });\n }\n\n public open(initState?: any) {\n super.open(initState);\n // WMS-19410 - Set the partial load listener to access widgets, variables and actions of page dialog\n this.setPartialLoadListener();\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { WmComponentsModule } from '@wm/components/base';\nimport { DialogModule } from '@wm/components/dialogs';\nimport { InputModule } from '@wm/components/input';\n\nimport { PartialDialogComponent } from './partial-dialog.component';\n\nconst components = [\n PartialDialogComponent\n];\n\n@NgModule({\n imports: [\n CommonModule,\n DialogModule,\n InputModule,\n WmComponentsModule\n ],\n declarations: [...components],\n exports: [...components]\n})\nexport class PartialDialogModule {\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;;;;;AAEO,MAAM,aAAa,GAAG,MAAK;AAC9B,IAAA,QAAQ,CACJ,kBAAkB,EAClB,IAAI,GAAG,CACH;QACI,CAAC,WAAW,EAAE,WAAW,CAAC;QAC1B,CAAC,OAAO,EAAE,WAAW,CAAC;QACtB,CAAC,UAAU,EAAE,EAAC,KAAK,EAAE,IAAI,EAAE,YAAY,EAAC,CAAC;QACzC,CAAC,SAAS,EAAE,WAAW,CAAC;QACxB,CAAC,WAAW,EAAE,EAAC,KAAK,EAAE,YAAY,EAAE,WAAW,EAAC,CAAC;QACjD,CAAC,YAAY,EAAE,WAAW,CAAC;QAC3B,CAAC,YAAY,EAAE,WAAW,CAAC;QAC3B,CAAC,SAAS,EAAE,WAAW,CAAC;QACxB,CAAC,WAAW,EAAE,WAAW,CAAC;QAC1B,CAAC,OAAO,EAAE,EAAC,KAAK,EAAE,KAAK,EAAE,GA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