@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
|
@@ -80,11 +80,11 @@
|
|
|
80
80
|
default: carouselTemplate_build
|
|
81
81
|
});
|
|
82
82
|
|
|
83
|
-
const tagName$
|
|
83
|
+
const tagName$1C = 'div';
|
|
84
84
|
transpiler.register('wm-login', () => {
|
|
85
85
|
return {
|
|
86
|
-
pre: attrs => `<${tagName$
|
|
87
|
-
post: () => `</${tagName$
|
|
86
|
+
pre: attrs => `<${tagName$1C} wmLogin ${transpiler.getAttrMarkup(attrs)} eventsource.bind="Actions.loginAction">`,
|
|
87
|
+
post: () => `</${tagName$1C}>`,
|
|
88
88
|
provide: () => {
|
|
89
89
|
const provider = new Map();
|
|
90
90
|
provider.set('isLogin', true);
|
|
@@ -99,11 +99,11 @@
|
|
|
99
99
|
default: login_build
|
|
100
100
|
});
|
|
101
101
|
|
|
102
|
-
const tagName$
|
|
102
|
+
const tagName$1B = 'marquee';
|
|
103
103
|
transpiler.register('wm-marquee', () => {
|
|
104
104
|
return {
|
|
105
|
-
pre: attrs => `<${tagName$
|
|
106
|
-
post: () => `</${tagName$
|
|
105
|
+
pre: attrs => `<${tagName$1B} onmouseover="this.stop();" onmouseout="this.start();" wmMarquee role="marquee" aria-live="off" ${transpiler.getAttrMarkup(attrs)}>`,
|
|
106
|
+
post: () => `</${tagName$1B}>`
|
|
107
107
|
};
|
|
108
108
|
});
|
|
109
109
|
var marquee_build = () => { };
|
|
@@ -113,15 +113,15 @@
|
|
|
113
113
|
default: marquee_build
|
|
114
114
|
});
|
|
115
115
|
|
|
116
|
-
const tagName$
|
|
116
|
+
const tagName$1A = 'a';
|
|
117
117
|
const idGen$s = new core.IDGenerator('wm_anchor');
|
|
118
118
|
transpiler.register('wm-anchor', () => {
|
|
119
119
|
return {
|
|
120
120
|
pre: (attrs) => {
|
|
121
121
|
const counter = idGen$s.nextUid();
|
|
122
|
-
return `<${tagName$
|
|
122
|
+
return `<${tagName$1A} wmAnchor #${counter}="wmAnchor" role="link" data-identifier="anchor" [attr.aria-label]="${counter}.arialabel || (${counter}.badgevalue ? ${counter}.caption + ' ' + ${counter}.badgevalue : ${counter}.caption) || null" ${transpiler.getAttrMarkup(attrs)}>`;
|
|
123
123
|
},
|
|
124
|
-
post: () => `</${tagName$
|
|
124
|
+
post: () => `</${tagName$1A}>`
|
|
125
125
|
};
|
|
126
126
|
});
|
|
127
127
|
var anchor_build = () => { };
|
|
@@ -131,11 +131,11 @@
|
|
|
131
131
|
default: anchor_build
|
|
132
132
|
});
|
|
133
133
|
|
|
134
|
-
const tagName$
|
|
134
|
+
const tagName$1z = 'div';
|
|
135
135
|
transpiler.register('wm-audio', () => {
|
|
136
136
|
return {
|
|
137
|
-
pre: attrs => `<${tagName$
|
|
138
|
-
post: () => `</${tagName$
|
|
137
|
+
pre: attrs => `<${tagName$1z} wmAudio ${transpiler.getAttrMarkup(attrs)}>`,
|
|
138
|
+
post: () => `</${tagName$1z}>`
|
|
139
139
|
};
|
|
140
140
|
});
|
|
141
141
|
var audio_build = () => { };
|
|
@@ -145,15 +145,15 @@
|
|
|
145
145
|
default: audio_build
|
|
146
146
|
});
|
|
147
147
|
|
|
148
|
-
const tagName$
|
|
148
|
+
const tagName$1y = 'div';
|
|
149
149
|
const idGen$r = new core.IDGenerator('wm_html');
|
|
150
150
|
transpiler.register('wm-html', () => {
|
|
151
151
|
return {
|
|
152
152
|
pre: (attrs) => {
|
|
153
153
|
const counter = idGen$r.nextUid();
|
|
154
|
-
return `<${tagName$
|
|
154
|
+
return `<${tagName$1y} wmHtml #${counter}="wmHtml" role="application" [attr.aria-label]="${counter}.arialabel || 'HTML content'" ${transpiler.getAttrMarkup(attrs)}>`;
|
|
155
155
|
},
|
|
156
|
-
post: () => `</${tagName$
|
|
156
|
+
post: () => `</${tagName$1y}>`
|
|
157
157
|
};
|
|
158
158
|
});
|
|
159
159
|
var html_build = () => { };
|
|
@@ -163,11 +163,11 @@
|
|
|
163
163
|
default: html_build
|
|
164
164
|
});
|
|
165
165
|
|
|
166
|
-
const tagName$
|
|
166
|
+
const tagName$1x = 'span';
|
|
167
167
|
transpiler.register('wm-icon', () => {
|
|
168
168
|
return {
|
|
169
|
-
pre: attrs => `<${tagName$
|
|
170
|
-
post: () => `</${tagName$
|
|
169
|
+
pre: attrs => `<${tagName$1x} wmIcon ${transpiler.getAttrMarkup(attrs)}>`,
|
|
170
|
+
post: () => `</${tagName$1x}>`
|
|
171
171
|
};
|
|
172
172
|
});
|
|
173
173
|
var icon_build = () => { };
|
|
@@ -177,11 +177,11 @@
|
|
|
177
177
|
default: icon_build
|
|
178
178
|
});
|
|
179
179
|
|
|
180
|
-
const tagName$
|
|
180
|
+
const tagName$1w = 'div';
|
|
181
181
|
transpiler.register('wm-iframe', () => {
|
|
182
182
|
return {
|
|
183
|
-
pre: attrs => `<${tagName$
|
|
184
|
-
post: () => `</${tagName$
|
|
183
|
+
pre: attrs => `<${tagName$1w} wmIframe ${transpiler.getAttrMarkup(attrs)}>`,
|
|
184
|
+
post: () => `</${tagName$1w}>`
|
|
185
185
|
};
|
|
186
186
|
});
|
|
187
187
|
var iframe_build = () => { };
|
|
@@ -191,7 +191,7 @@
|
|
|
191
191
|
default: iframe_build
|
|
192
192
|
});
|
|
193
193
|
|
|
194
|
-
let tagName$
|
|
194
|
+
let tagName$1v = 'p';
|
|
195
195
|
const idGen$q = new core.IDGenerator('wm_label');
|
|
196
196
|
transpiler.register('wm-label', () => {
|
|
197
197
|
return {
|
|
@@ -201,15 +201,15 @@
|
|
|
201
201
|
const classList = attrs.get('class') ? attrs.get('class').split(' ').filter(element => ["h1", "h2", "h3", "h4", "h5", "h6", "p"].includes(element)) : [];
|
|
202
202
|
attrs.set('type', classList.length ? classList[0] : "p");
|
|
203
203
|
}
|
|
204
|
-
tagName$
|
|
204
|
+
tagName$1v = attrs.get('type');
|
|
205
205
|
}
|
|
206
206
|
else {
|
|
207
|
-
tagName$
|
|
207
|
+
tagName$1v = 'label';
|
|
208
208
|
}
|
|
209
209
|
const counter = idGen$q.nextUid();
|
|
210
|
-
return `<${tagName$
|
|
210
|
+
return `<${tagName$1v} wmLabel #${counter}="wmLabel" ${transpiler.getAttrMarkup(attrs)}>`;
|
|
211
211
|
},
|
|
212
|
-
post: () => `</${tagName$
|
|
212
|
+
post: () => `</${tagName$1v}>`
|
|
213
213
|
};
|
|
214
214
|
});
|
|
215
215
|
var label_build = () => { };
|
|
@@ -219,13 +219,13 @@
|
|
|
219
219
|
default: label_build
|
|
220
220
|
});
|
|
221
221
|
|
|
222
|
-
const tagName$
|
|
222
|
+
const tagName$1u = 'img';
|
|
223
223
|
const idGen$p = new core.IDGenerator('wm_picture');
|
|
224
224
|
transpiler.register('wm-picture', () => {
|
|
225
225
|
return {
|
|
226
226
|
pre: (attrs) => {
|
|
227
227
|
const counter = idGen$p.nextUid();
|
|
228
|
-
return `<${tagName$
|
|
228
|
+
return `<${tagName$1u} wmPicture #${counter}="wmPicture" [alt]="${counter}.alttext" wmImageCache="${attrs.get('offline') || 'true'}" [attr.aria-label]="${counter}.arialabel || 'Image'" ${transpiler.getAttrMarkup(attrs)}>`;
|
|
229
229
|
}
|
|
230
230
|
};
|
|
231
231
|
});
|
|
@@ -236,15 +236,15 @@
|
|
|
236
236
|
default: picture_build
|
|
237
237
|
});
|
|
238
238
|
|
|
239
|
-
const tagName$
|
|
239
|
+
const tagName$1t = 'div';
|
|
240
240
|
const idGen$o = new core.IDGenerator('wm_spinner');
|
|
241
241
|
transpiler.register('wm-spinner', () => {
|
|
242
242
|
return {
|
|
243
243
|
pre: (attrs) => {
|
|
244
244
|
const counter = idGen$o.nextUid();
|
|
245
|
-
return `<${tagName$
|
|
245
|
+
return `<${tagName$1t} wmSpinner #${counter}="wmSpinner" role="alert" [attr.aria-label]="${counter}.arialabel || 'Loading...'" aria-live="assertive" aria-busy="true" ${transpiler.getAttrMarkup(attrs)}>`;
|
|
246
246
|
},
|
|
247
|
-
post: () => `</${tagName$
|
|
247
|
+
post: () => `</${tagName$1t}>`
|
|
248
248
|
};
|
|
249
249
|
});
|
|
250
250
|
var spinner_build = () => { };
|
|
@@ -254,7 +254,7 @@
|
|
|
254
254
|
default: spinner_build
|
|
255
255
|
});
|
|
256
256
|
|
|
257
|
-
const tagName$
|
|
257
|
+
const tagName$1s = 'div';
|
|
258
258
|
const getAttr = (node, attrName) => node.attrs.find(attr => attr.name === attrName);
|
|
259
259
|
const getAttrValue = (node, attrName) => {
|
|
260
260
|
const match = getAttr(node, attrName);
|
|
@@ -282,8 +282,8 @@
|
|
|
282
282
|
}
|
|
283
283
|
}
|
|
284
284
|
},
|
|
285
|
-
pre: attrs => `<${tagName$
|
|
286
|
-
post: () => `</${tagName$
|
|
285
|
+
pre: attrs => `<${tagName$1s} wmProgressBar ${transpiler.getAttrMarkup(attrs)}>`,
|
|
286
|
+
post: () => `</${tagName$1s}>`
|
|
287
287
|
};
|
|
288
288
|
});
|
|
289
289
|
var progressBar_build = () => { };
|
|
@@ -293,11 +293,15 @@
|
|
|
293
293
|
default: progressBar_build
|
|
294
294
|
});
|
|
295
295
|
|
|
296
|
-
const tagName$
|
|
296
|
+
const tagName$1r = 'div';
|
|
297
|
+
const idGen$n = new core.IDGenerator('wm_progress_circle');
|
|
297
298
|
transpiler.register('wm-progress-circle', () => {
|
|
298
299
|
return {
|
|
299
|
-
pre: attrs =>
|
|
300
|
-
|
|
300
|
+
pre: (attrs) => {
|
|
301
|
+
const counter = idGen$n.nextUid();
|
|
302
|
+
return `<${tagName$1r} wmProgressCircle #${counter}="wmProgressCircle" role="progressbar" [attr.aria-label]="${counter}.arialabel || 'circle-progress'" [attr.hint]="${counter}.hint" [attr.aria-valuetext]="${counter}.displayValue" [attr.aria-valuemin]="${counter}.minvalue" [attr.aria-valuemax]="${counter}.maxvalue" ${transpiler.getAttrMarkup(attrs)}>`;
|
|
303
|
+
},
|
|
304
|
+
post: () => `</${tagName$1r}>`
|
|
301
305
|
};
|
|
302
306
|
});
|
|
303
307
|
var progressCircle_build = () => { };
|
|
@@ -307,15 +311,15 @@
|
|
|
307
311
|
default: progressCircle_build
|
|
308
312
|
});
|
|
309
313
|
|
|
310
|
-
const tagName$
|
|
311
|
-
const idGen$
|
|
314
|
+
const tagName$1q = 'div';
|
|
315
|
+
const idGen$m = new core.IDGenerator('wm_richtexteditor');
|
|
312
316
|
transpiler.register('wm-richtexteditor', () => {
|
|
313
317
|
return {
|
|
314
318
|
pre: (attrs) => {
|
|
315
|
-
const counter = idGen$
|
|
316
|
-
return `<${tagName$
|
|
319
|
+
const counter = idGen$m.nextUid();
|
|
320
|
+
return `<${tagName$1q} wmRichTextEditor #${counter}="wmRichTextEditor" role="textbox" [attr.aria-label]="${counter}.arialabel || 'Richtext editor'" ${transpiler.getFormMarkupAttr(attrs)}>`;
|
|
317
321
|
},
|
|
318
|
-
post: () => `</${tagName$
|
|
322
|
+
post: () => `</${tagName$1q}>`
|
|
319
323
|
};
|
|
320
324
|
});
|
|
321
325
|
var richTextEditor_build = () => { };
|
|
@@ -325,11 +329,11 @@
|
|
|
325
329
|
default: richTextEditor_build
|
|
326
330
|
});
|
|
327
331
|
|
|
328
|
-
const tagName$
|
|
332
|
+
const tagName$1p = 'div';
|
|
329
333
|
transpiler.register('wm-search', () => {
|
|
330
334
|
return {
|
|
331
|
-
pre: attrs => `<${tagName$
|
|
332
|
-
post: () => `</${tagName$
|
|
335
|
+
pre: attrs => `<${tagName$1p} wmSearch ${transpiler.getFormMarkupAttr(attrs)} ${core.getNgModelAttr(attrs)}>`,
|
|
336
|
+
post: () => `</${tagName$1p}>`
|
|
333
337
|
};
|
|
334
338
|
});
|
|
335
339
|
var search_build = () => { };
|
|
@@ -339,11 +343,11 @@
|
|
|
339
343
|
default: search_build
|
|
340
344
|
});
|
|
341
345
|
|
|
342
|
-
const tagName$
|
|
346
|
+
const tagName$1o = 'ul';
|
|
343
347
|
transpiler.register('wm-tree', () => {
|
|
344
348
|
return {
|
|
345
|
-
pre: attrs => `<${tagName$
|
|
346
|
-
post: () => `</${tagName$
|
|
349
|
+
pre: attrs => `<${tagName$1o} wmTree class="ztree" ${transpiler.getAttrMarkup(attrs)}>`,
|
|
350
|
+
post: () => `</${tagName$1o}>`
|
|
347
351
|
};
|
|
348
352
|
});
|
|
349
353
|
|
|
@@ -351,11 +355,11 @@
|
|
|
351
355
|
__proto__: null
|
|
352
356
|
});
|
|
353
357
|
|
|
354
|
-
const tagName$
|
|
358
|
+
const tagName$1n = 'div';
|
|
355
359
|
transpiler.register('wm-card', () => {
|
|
356
360
|
return {
|
|
357
|
-
pre: attrs => `<${tagName$
|
|
358
|
-
post: () => `</${tagName$
|
|
361
|
+
pre: attrs => `<${tagName$1n} wmCard ${transpiler.getAttrMarkup(attrs)}>`,
|
|
362
|
+
post: () => `</${tagName$1n}>`
|
|
359
363
|
};
|
|
360
364
|
});
|
|
361
365
|
var card_build = () => { };
|
|
@@ -365,11 +369,11 @@
|
|
|
365
369
|
default: card_build
|
|
366
370
|
});
|
|
367
371
|
|
|
368
|
-
const tagName$
|
|
372
|
+
const tagName$1m = 'div';
|
|
369
373
|
transpiler.register('wm-card-content', () => {
|
|
370
374
|
return {
|
|
371
|
-
pre: attrs => `<${tagName$
|
|
372
|
-
post: () => `</${tagName$
|
|
375
|
+
pre: attrs => `<${tagName$1m} wmCardContent partialContainer ${transpiler.getAttrMarkup(attrs)}>`,
|
|
376
|
+
post: () => `</${tagName$1m}>`
|
|
373
377
|
};
|
|
374
378
|
});
|
|
375
379
|
var cardContent_build = () => { };
|
|
@@ -379,11 +383,11 @@
|
|
|
379
383
|
default: cardContent_build
|
|
380
384
|
});
|
|
381
385
|
|
|
382
|
-
const tagName$
|
|
386
|
+
const tagName$1l = 'div';
|
|
383
387
|
transpiler.register('wm-card-actions', () => {
|
|
384
388
|
return {
|
|
385
|
-
pre: attrs => `<${tagName$
|
|
386
|
-
post: () => `</${tagName$
|
|
389
|
+
pre: attrs => `<${tagName$1l} wmCardActions ${transpiler.getAttrMarkup(attrs)}>`,
|
|
390
|
+
post: () => `</${tagName$1l}>`
|
|
387
391
|
};
|
|
388
392
|
});
|
|
389
393
|
var cardActions_build = () => { };
|
|
@@ -393,11 +397,11 @@
|
|
|
393
397
|
default: cardActions_build
|
|
394
398
|
});
|
|
395
399
|
|
|
396
|
-
const tagName$
|
|
400
|
+
const tagName$1k = 'div';
|
|
397
401
|
transpiler.register('wm-card-footer', () => {
|
|
398
402
|
return {
|
|
399
|
-
pre: attrs => `<${tagName$
|
|
400
|
-
post: () => `</${tagName$
|
|
403
|
+
pre: attrs => `<${tagName$1k} wmCardFooter ${transpiler.getAttrMarkup(attrs)}>`,
|
|
404
|
+
post: () => `</${tagName$1k}>`
|
|
401
405
|
};
|
|
402
406
|
});
|
|
403
407
|
var cardFooter_build = () => { };
|
|
@@ -407,11 +411,11 @@
|
|
|
407
411
|
default: cardFooter_build
|
|
408
412
|
});
|
|
409
413
|
|
|
410
|
-
const tagName$
|
|
414
|
+
const tagName$1j = 'div';
|
|
411
415
|
transpiler.register('wm-chart', () => {
|
|
412
416
|
return {
|
|
413
|
-
pre: attrs => `<${tagName$
|
|
414
|
-
post: () => `</${tagName$
|
|
417
|
+
pre: attrs => `<${tagName$1j} wmChart redrawable aria-label="${attrs.get('type')} Chart" ${transpiler.getAttrMarkup(attrs)}>`,
|
|
418
|
+
post: () => `</${tagName$1j}>`
|
|
415
419
|
};
|
|
416
420
|
});
|
|
417
421
|
var chart_build = () => { };
|
|
@@ -421,19 +425,19 @@
|
|
|
421
425
|
default: chart_build
|
|
422
426
|
});
|
|
423
427
|
|
|
424
|
-
const tagName$
|
|
428
|
+
const tagName$1i = 'div';
|
|
425
429
|
const dataSetKey$4 = 'dataset';
|
|
426
|
-
const idGen$
|
|
430
|
+
const idGen$l = new core.IDGenerator('wm_accordion_ref_');
|
|
427
431
|
const isDynamicAccordion = node => node.attrs.find(attr => attr.name === 'type' && attr.value === 'dynamic');
|
|
428
432
|
transpiler.register('wm-accordion', () => {
|
|
429
433
|
return {
|
|
430
434
|
pre: (attrs, shared) => {
|
|
431
435
|
// generating unique Id for the accordion
|
|
432
|
-
const counter = idGen$
|
|
436
|
+
const counter = idGen$l.nextUid();
|
|
433
437
|
shared.set('accordion_ref', counter);
|
|
434
|
-
return `<${tagName$
|
|
438
|
+
return `<${tagName$1i} wmAccordion #${counter}="wmAccordion" ${transpiler.getAttrMarkup(attrs)}>`;
|
|
435
439
|
},
|
|
436
|
-
post: () => `</${tagName$
|
|
440
|
+
post: () => `</${tagName$1i}>`,
|
|
437
441
|
template: (node, shared) => {
|
|
438
442
|
// check if the accordion is dynamic
|
|
439
443
|
if (isDynamicAccordion(node)) {
|
|
@@ -464,15 +468,15 @@
|
|
|
464
468
|
default: accordion_build
|
|
465
469
|
});
|
|
466
470
|
|
|
467
|
-
const tagName$
|
|
468
|
-
const idGen$
|
|
471
|
+
const tagName$1h = 'div';
|
|
472
|
+
const idGen$k = new core.IDGenerator('wm_accordionpane');
|
|
469
473
|
transpiler.register('wm-accordionpane', () => {
|
|
470
474
|
return {
|
|
471
475
|
pre: (attrs) => {
|
|
472
|
-
const counter = idGen$
|
|
473
|
-
return `<${tagName$
|
|
476
|
+
const counter = idGen$k.nextUid();
|
|
477
|
+
return `<${tagName$1h} #${counter}="wmAccordionPane" wmAccordionPane partialContainer wm-navigable-element="true" ${transpiler.getAttrMarkup(attrs)}>`;
|
|
474
478
|
},
|
|
475
|
-
post: () => `</${tagName$
|
|
479
|
+
post: () => `</${tagName$1h}>`
|
|
476
480
|
};
|
|
477
481
|
});
|
|
478
482
|
var accordionPane_build = () => { };
|
|
@@ -482,11 +486,11 @@
|
|
|
482
486
|
default: accordionPane_build
|
|
483
487
|
});
|
|
484
488
|
|
|
485
|
-
const tagName$
|
|
489
|
+
const tagName$1g = 'div';
|
|
486
490
|
transpiler.register('wm-container', () => {
|
|
487
491
|
return {
|
|
488
|
-
pre: attrs => `<${tagName$
|
|
489
|
-
post: () => `</${tagName$
|
|
492
|
+
pre: attrs => `<${tagName$1g} wmContainer partialContainer wmSmoothscroll="${attrs.get('smoothscroll') || 'false'}" ${transpiler.getAttrMarkup(attrs)}>`,
|
|
493
|
+
post: () => `</${tagName$1g}>`
|
|
490
494
|
};
|
|
491
495
|
});
|
|
492
496
|
var container_build = () => { };
|
|
@@ -496,11 +500,11 @@
|
|
|
496
500
|
default: container_build
|
|
497
501
|
});
|
|
498
502
|
|
|
499
|
-
const tagName$
|
|
503
|
+
const tagName$1f = 'div';
|
|
500
504
|
transpiler.register('wm-gridcolumn', () => {
|
|
501
505
|
return {
|
|
502
|
-
pre: attrs => `<${tagName$
|
|
503
|
-
post: () => `</${tagName$
|
|
506
|
+
pre: attrs => `<${tagName$1f} wmLayoutGridColumn ${transpiler.getAttrMarkup(attrs)}>`,
|
|
507
|
+
post: () => `</${tagName$1f}>`
|
|
504
508
|
};
|
|
505
509
|
});
|
|
506
510
|
var layoutGridColumn_build = () => { };
|
|
@@ -510,11 +514,11 @@
|
|
|
510
514
|
default: layoutGridColumn_build
|
|
511
515
|
});
|
|
512
516
|
|
|
513
|
-
const tagName$
|
|
517
|
+
const tagName$1e = 'div';
|
|
514
518
|
transpiler.register('wm-gridrow', () => {
|
|
515
519
|
return {
|
|
516
|
-
pre: attrs => `<${tagName$
|
|
517
|
-
post: () => `</${tagName$
|
|
520
|
+
pre: attrs => `<${tagName$1e} wmLayoutGridRow ${transpiler.getAttrMarkup(attrs)}>`,
|
|
521
|
+
post: () => `</${tagName$1e}>`
|
|
518
522
|
};
|
|
519
523
|
});
|
|
520
524
|
var layoutGridRow_build = () => { };
|
|
@@ -524,11 +528,11 @@
|
|
|
524
528
|
default: layoutGridRow_build
|
|
525
529
|
});
|
|
526
530
|
|
|
527
|
-
const tagName$
|
|
531
|
+
const tagName$1d = 'div';
|
|
528
532
|
transpiler.register('wm-layoutgrid', () => {
|
|
529
533
|
return {
|
|
530
|
-
pre: attrs => `<${tagName$
|
|
531
|
-
post: () => `</${tagName$
|
|
534
|
+
pre: attrs => `<${tagName$1d} wmLayoutGrid ${transpiler.getAttrMarkup(attrs)}>`,
|
|
535
|
+
post: () => `</${tagName$1d}>`
|
|
532
536
|
};
|
|
533
537
|
});
|
|
534
538
|
var layoutGrid_build = () => { };
|
|
@@ -538,21 +542,21 @@
|
|
|
538
542
|
default: layoutGrid_build
|
|
539
543
|
});
|
|
540
544
|
|
|
541
|
-
const tagName$
|
|
542
|
-
const idGen$
|
|
545
|
+
const tagName$1c = 'div';
|
|
546
|
+
const idGen$j = new core.IDGenerator('wm_panel');
|
|
543
547
|
transpiler.register('wm-panel', () => {
|
|
544
548
|
return {
|
|
545
549
|
pre: (attrs) => {
|
|
546
|
-
const counter = idGen$
|
|
547
|
-
return `<${tagName$
|
|
550
|
+
const counter = idGen$j.nextUid();
|
|
551
|
+
return `<${tagName$1c} wmPanel #${counter}="wmPanel" partialContainer wm-navigable-element="true" ${transpiler.getAttrMarkup(attrs)}>`;
|
|
548
552
|
},
|
|
549
|
-
post: () => `</${tagName$
|
|
553
|
+
post: () => `</${tagName$1c}>`
|
|
550
554
|
};
|
|
551
555
|
});
|
|
552
556
|
transpiler.register('wm-panel-footer', () => {
|
|
553
557
|
return {
|
|
554
|
-
pre: attrs => `<${tagName$
|
|
555
|
-
post: () => `</${tagName$
|
|
558
|
+
pre: attrs => `<${tagName$1c} wmPanelFooter ${transpiler.getAttrMarkup(attrs)}>`,
|
|
559
|
+
post: () => `</${tagName$1c}>`
|
|
556
560
|
};
|
|
557
561
|
});
|
|
558
562
|
var panel_build = () => { };
|
|
@@ -562,11 +566,11 @@
|
|
|
562
566
|
default: panel_build
|
|
563
567
|
});
|
|
564
568
|
|
|
565
|
-
const tagName$
|
|
569
|
+
const tagName$1b = 'div';
|
|
566
570
|
transpiler.register('wm-segmented-control', () => {
|
|
567
571
|
return {
|
|
568
|
-
pre: attrs => `<${tagName$
|
|
569
|
-
post: () => `</${tagName$
|
|
572
|
+
pre: attrs => `<${tagName$1b} wmSegmentedControl ${transpiler.getAttrMarkup(attrs)}>`,
|
|
573
|
+
post: () => `</${tagName$1b}>`
|
|
570
574
|
};
|
|
571
575
|
});
|
|
572
576
|
var segmentedControl_build = () => { };
|
|
@@ -576,11 +580,11 @@
|
|
|
576
580
|
default: segmentedControl_build
|
|
577
581
|
});
|
|
578
582
|
|
|
579
|
-
const tagName$
|
|
583
|
+
const tagName$1a = 'li';
|
|
580
584
|
transpiler.register('wm-segment-content', () => {
|
|
581
585
|
return {
|
|
582
|
-
pre: attrs => `<${tagName$
|
|
583
|
-
post: () => `</${tagName$
|
|
586
|
+
pre: attrs => `<${tagName$1a} wmSegmentContent partialContainer wmSmoothscroll=${attrs.get('smoothscroll') || 'false'} wm-navigable-element="true" ${transpiler.getAttrMarkup(attrs)}>`,
|
|
587
|
+
post: () => `</${tagName$1a}>`
|
|
584
588
|
};
|
|
585
589
|
});
|
|
586
590
|
var segmentContent_build = () => { };
|
|
@@ -618,19 +622,19 @@
|
|
|
618
622
|
default: repeatTemplate_build
|
|
619
623
|
});
|
|
620
624
|
|
|
621
|
-
const tagName$
|
|
625
|
+
const tagName$19 = 'div';
|
|
622
626
|
const dataSetKey$3 = 'dataset';
|
|
623
|
-
const idGen$
|
|
627
|
+
const idGen$i = new core.IDGenerator('wm_tabs_ref_');
|
|
624
628
|
const isDynamicTabs = node => node.attrs.find(attr => attr.name === 'type' && attr.value === 'dynamic');
|
|
625
629
|
transpiler.register('wm-tabs', () => {
|
|
626
630
|
return {
|
|
627
631
|
pre: (attrs, shared) => {
|
|
628
632
|
// generating unique Id for the tabs
|
|
629
|
-
const counter = idGen$
|
|
633
|
+
const counter = idGen$i.nextUid();
|
|
630
634
|
shared.set('tabs_ref', counter);
|
|
631
|
-
return `<${tagName$
|
|
635
|
+
return `<${tagName$19} wmTabs #${counter}="wmTabs" ${transpiler.getAttrMarkup(attrs)}>`;
|
|
632
636
|
},
|
|
633
|
-
post: () => `</${tagName$
|
|
637
|
+
post: () => `</${tagName$19}>`,
|
|
634
638
|
template: (node, shared) => {
|
|
635
639
|
// check if the tab widget is dynamic
|
|
636
640
|
if (isDynamicTabs(node)) {
|
|
@@ -661,11 +665,11 @@
|
|
|
661
665
|
default: tabs_build
|
|
662
666
|
});
|
|
663
667
|
|
|
664
|
-
const tagName$
|
|
668
|
+
const tagName$18 = 'div';
|
|
665
669
|
transpiler.register('wm-tabpane', () => {
|
|
666
670
|
return {
|
|
667
|
-
pre: attrs => `<${tagName$
|
|
668
|
-
post: () => `</${tagName$
|
|
671
|
+
pre: attrs => `<${tagName$18} wmTabPane partialContainer ${transpiler.getAttrMarkup(attrs)} wm-navigable-element="true" role="tabpanel">`,
|
|
672
|
+
post: () => `</${tagName$18}>`
|
|
669
673
|
};
|
|
670
674
|
});
|
|
671
675
|
var tabPane_build = () => { };
|
|
@@ -675,11 +679,11 @@
|
|
|
675
679
|
default: tabPane_build
|
|
676
680
|
});
|
|
677
681
|
|
|
678
|
-
const tagName$
|
|
682
|
+
const tagName$17 = 'div';
|
|
679
683
|
transpiler.register('wm-tile', () => {
|
|
680
684
|
return {
|
|
681
|
-
pre: attrs => `<${tagName$
|
|
682
|
-
post: () => `</${tagName$
|
|
685
|
+
pre: attrs => `<${tagName$17} wmTile wm-navigable-element="true" ${transpiler.getAttrMarkup(attrs)}>`,
|
|
686
|
+
post: () => `</${tagName$17}>`
|
|
683
687
|
};
|
|
684
688
|
});
|
|
685
689
|
var tile_build = () => { };
|
|
@@ -689,11 +693,11 @@
|
|
|
689
693
|
default: tile_build
|
|
690
694
|
});
|
|
691
695
|
|
|
692
|
-
const tagName$
|
|
696
|
+
const tagName$16 = 'div';
|
|
693
697
|
transpiler.register('wm-wizard', () => {
|
|
694
698
|
return {
|
|
695
|
-
pre: attrs => `<${tagName$
|
|
696
|
-
post: () => `</${tagName$
|
|
699
|
+
pre: attrs => `<${tagName$16} wmWizard ${transpiler.getAttrMarkup(attrs)}>`,
|
|
700
|
+
post: () => `</${tagName$16}>`
|
|
697
701
|
};
|
|
698
702
|
});
|
|
699
703
|
var wizard_build = () => { };
|
|
@@ -703,16 +707,16 @@
|
|
|
703
707
|
default: wizard_build
|
|
704
708
|
});
|
|
705
709
|
|
|
706
|
-
const tagName$
|
|
707
|
-
const idGen$
|
|
710
|
+
const tagName$15 = 'form';
|
|
711
|
+
const idGen$h = new core.IDGenerator('wizard_step_id_');
|
|
708
712
|
transpiler.register('wm-wizardstep', () => {
|
|
709
713
|
return {
|
|
710
714
|
pre: attrs => {
|
|
711
|
-
const counter = idGen$
|
|
712
|
-
return `<${tagName$
|
|
715
|
+
const counter = idGen$h.nextUid();
|
|
716
|
+
return `<${tagName$15} wmWizardStep #${counter}="wmWizardStep" ${transpiler.getAttrMarkup(attrs)}>
|
|
713
717
|
<ng-template [ngIf]="${counter}.isInitialized">`;
|
|
714
718
|
},
|
|
715
|
-
post: () => `</ng-template></${tagName$
|
|
719
|
+
post: () => `</ng-template></${tagName$15}>`
|
|
716
720
|
};
|
|
717
721
|
});
|
|
718
722
|
var wizardStep_build = () => { };
|
|
@@ -722,15 +726,15 @@
|
|
|
722
726
|
default: wizardStep_build
|
|
723
727
|
});
|
|
724
728
|
|
|
725
|
-
const tagName$
|
|
726
|
-
const idGen$
|
|
729
|
+
const tagName$14 = 'button';
|
|
730
|
+
const idGen$g = new core.IDGenerator('wm_barcodescanner');
|
|
727
731
|
transpiler.register('wm-barcodescanner', () => {
|
|
728
732
|
return {
|
|
729
733
|
pre: (attrs) => {
|
|
730
|
-
const counter = idGen$
|
|
731
|
-
return `<${tagName$
|
|
734
|
+
const counter = idGen$g.nextUid();
|
|
735
|
+
return `<${tagName$14} wmBarcodescanner #${counter}="wmBarcodescanner" [attr.aria-label]="${counter}.arialabel || 'Barcode scanner'" ${transpiler.getAttrMarkup(attrs)}>`;
|
|
732
736
|
},
|
|
733
|
-
post: () => `</${tagName$
|
|
737
|
+
post: () => `</${tagName$14}>`
|
|
734
738
|
};
|
|
735
739
|
});
|
|
736
740
|
var barcodeScanner_build = () => { };
|
|
@@ -740,15 +744,15 @@
|
|
|
740
744
|
default: barcodeScanner_build
|
|
741
745
|
});
|
|
742
746
|
|
|
743
|
-
const tagName$
|
|
744
|
-
const idGen$
|
|
747
|
+
const tagName$13 = 'button';
|
|
748
|
+
const idGen$f = new core.IDGenerator('wm_camera');
|
|
745
749
|
transpiler.register('wm-camera', () => {
|
|
746
750
|
return {
|
|
747
751
|
pre: (attrs) => {
|
|
748
|
-
const counter = idGen$
|
|
749
|
-
return `<${tagName$
|
|
752
|
+
const counter = idGen$f.nextUid();
|
|
753
|
+
return `<${tagName$13} type='button' wmCamera #${counter}="wmCamera" [attr.aria-label]="${counter}.arialabel || 'Camera'" ${transpiler.getAttrMarkup(attrs)}>`;
|
|
750
754
|
},
|
|
751
|
-
post: () => `</${tagName$
|
|
755
|
+
post: () => `</${tagName$13}>`
|
|
752
756
|
};
|
|
753
757
|
});
|
|
754
758
|
var camera_build = () => { };
|
|
@@ -758,11 +762,11 @@
|
|
|
758
762
|
default: camera_build
|
|
759
763
|
});
|
|
760
764
|
|
|
761
|
-
const tagName$
|
|
765
|
+
const tagName$12 = 'div';
|
|
762
766
|
transpiler.register('wm-alertdialog', () => {
|
|
763
767
|
return {
|
|
764
|
-
pre: attrs => `<${tagName$
|
|
765
|
-
post: () => `</${tagName$
|
|
768
|
+
pre: attrs => `<${tagName$12} wmAlertDialog wm-navigable-element="true" ${transpiler.getAttrMarkup(attrs)}>`,
|
|
769
|
+
post: () => `</${tagName$12}>`
|
|
766
770
|
};
|
|
767
771
|
});
|
|
768
772
|
var alertDialog_build = () => { };
|
|
@@ -772,11 +776,11 @@
|
|
|
772
776
|
default: alertDialog_build
|
|
773
777
|
});
|
|
774
778
|
|
|
775
|
-
const tagName$
|
|
779
|
+
const tagName$11 = 'div';
|
|
776
780
|
transpiler.register('wm-confirmdialog', () => {
|
|
777
781
|
return {
|
|
778
|
-
pre: attrs => `<${tagName$
|
|
779
|
-
post: () => `</${tagName$
|
|
782
|
+
pre: attrs => `<${tagName$11} wmConfirmDialog wm-navigable-element="true" ${transpiler.getAttrMarkup(attrs)}>`,
|
|
783
|
+
post: () => `</${tagName$11}>`
|
|
780
784
|
};
|
|
781
785
|
});
|
|
782
786
|
var confirmDialog_build = () => { };
|
|
@@ -786,11 +790,11 @@
|
|
|
786
790
|
default: confirmDialog_build
|
|
787
791
|
});
|
|
788
792
|
|
|
789
|
-
const tagName$
|
|
793
|
+
const tagName$10 = 'div';
|
|
790
794
|
transpiler.register('wm-dialogactions', () => {
|
|
791
795
|
return {
|
|
792
|
-
pre: attrs => `<ng-template #dialogFooter><${tagName$
|
|
793
|
-
post: () => `</${tagName$
|
|
796
|
+
pre: attrs => `<ng-template #dialogFooter><${tagName$10} wmDialogFooter data-identfier="actions" ${transpiler.getAttrMarkup(attrs)}>`,
|
|
797
|
+
post: () => `</${tagName$10}></ng-template>`
|
|
794
798
|
};
|
|
795
799
|
});
|
|
796
800
|
var dialogFooter_build = () => { };
|
|
@@ -800,11 +804,11 @@
|
|
|
800
804
|
default: dialogFooter_build
|
|
801
805
|
});
|
|
802
806
|
|
|
803
|
-
const tagName
|
|
807
|
+
const tagName$$ = 'div';
|
|
804
808
|
transpiler.register('wm-dialog', () => {
|
|
805
809
|
return {
|
|
806
|
-
pre: attrs => `<${tagName
|
|
807
|
-
post: () => `</ng-template></${tagName
|
|
810
|
+
pre: attrs => `<${tagName$$} wmDialog ${transpiler.getAttrMarkup(attrs)} aria-modal="true" role="dialog" wm-navigable-element="true"><ng-template #dialogBody>`,
|
|
811
|
+
post: () => `</ng-template></${tagName$$}>`
|
|
808
812
|
};
|
|
809
813
|
});
|
|
810
814
|
// Todo:vinay remove wm-view in migration
|
|
@@ -821,11 +825,11 @@
|
|
|
821
825
|
default: dialog_build
|
|
822
826
|
});
|
|
823
827
|
|
|
824
|
-
const tagName$
|
|
828
|
+
const tagName$_ = 'div';
|
|
825
829
|
transpiler.register('wm-iframedialog', () => {
|
|
826
830
|
return {
|
|
827
|
-
pre: attrs => `<${tagName$
|
|
828
|
-
post: () => `</${tagName$
|
|
831
|
+
pre: attrs => `<${tagName$_} wmIframeDialog wm-navigable-element="true" ${transpiler.getAttrMarkup(attrs)}>`,
|
|
832
|
+
post: () => `</${tagName$_}>`
|
|
829
833
|
};
|
|
830
834
|
});
|
|
831
835
|
var iframeDialog_build = () => { };
|
|
@@ -835,11 +839,11 @@
|
|
|
835
839
|
default: iframeDialog_build
|
|
836
840
|
});
|
|
837
841
|
|
|
838
|
-
const tagName
|
|
842
|
+
const tagName$Z = 'div';
|
|
839
843
|
transpiler.register('wm-logindialog', () => {
|
|
840
844
|
return {
|
|
841
|
-
pre: attrs => `<${tagName
|
|
842
|
-
post: () => `</ng-template></${tagName
|
|
845
|
+
pre: attrs => `<${tagName$Z} wmDialog wmLoginDialog ${transpiler.getAttrMarkup(attrs)} eventsource.bind="Actions.loginAction" wm-navigable-element="true"><ng-template #dialogBody>`,
|
|
846
|
+
post: () => `</ng-template></${tagName$Z}>`
|
|
843
847
|
};
|
|
844
848
|
});
|
|
845
849
|
var loginDialog_build = () => { };
|
|
@@ -849,7 +853,7 @@
|
|
|
849
853
|
default: loginDialog_build
|
|
850
854
|
});
|
|
851
855
|
|
|
852
|
-
const tagName$
|
|
856
|
+
const tagName$Y = 'div';
|
|
853
857
|
transpiler.register('wm-pagedialog', () => {
|
|
854
858
|
return {
|
|
855
859
|
pre: (attrs, shared) => {
|
|
@@ -875,14 +879,14 @@
|
|
|
875
879
|
shared.set('hasPartialContent', true);
|
|
876
880
|
containerMarkup += `<ng-template><div wmContainer #partial partialContainer ${contentMarkup} width="100%" height="100%" ${onLoadEvtMarkup}>`;
|
|
877
881
|
}
|
|
878
|
-
return `<${tagName$
|
|
882
|
+
return `<${tagName$Y} wmPartialDialog ${transpiler.getAttrMarkup(attrs)}>${containerMarkup}`;
|
|
879
883
|
},
|
|
880
884
|
post: (attrs, shared) => {
|
|
881
885
|
let preContent = '';
|
|
882
886
|
if (shared.get('hasPartialContent')) {
|
|
883
887
|
preContent = `</div></ng-template>`;
|
|
884
888
|
}
|
|
885
|
-
return `${preContent}</${tagName$
|
|
889
|
+
return `${preContent}</${tagName$Y}>`;
|
|
886
890
|
}
|
|
887
891
|
};
|
|
888
892
|
});
|
|
@@ -961,8 +965,8 @@
|
|
|
961
965
|
return (fieldTypeWidgetTypeMap[colDef.type] && fieldTypeWidgetTypeMap[colDef.type][0]) || core.FormWidgetType.TEXT;
|
|
962
966
|
};
|
|
963
967
|
|
|
964
|
-
const tagName$
|
|
965
|
-
const idGen$
|
|
968
|
+
const tagName$X = 'div';
|
|
969
|
+
const idGen$e = new core.IDGenerator('formfield_');
|
|
966
970
|
const getEventsTemplate = (attrs) => {
|
|
967
971
|
const eventAttrs = new Map();
|
|
968
972
|
if (!attrs.has('focus.event')) {
|
|
@@ -1013,13 +1017,12 @@
|
|
|
1013
1017
|
};
|
|
1014
1018
|
const getWidgetTemplate = (attrs, options) => {
|
|
1015
1019
|
const name = attrs.get('name');
|
|
1016
|
-
const customWidgetName = attrs.get('widgetname');
|
|
1017
1020
|
const fieldName = (attrs.get('key') || name || '').trim();
|
|
1018
1021
|
const formControl = options.isMaxWidget ? `formControlName="${fieldName}_max"` : (options.isInList ? `[formControlName]="${options.counter}._fieldName"` : `formControlName="${fieldName}"`);
|
|
1019
1022
|
const tmplRef = options.isMaxWidget ? `#formWidgetMax` : `#formWidget`;
|
|
1020
1023
|
const widgetName = name ? (options.isMaxWidget ? `name="${name}_formWidgetMax"` : `name="${name}_formWidget"`) : '';
|
|
1021
1024
|
const conditionalClass = `[ngClass]="${attrs.get('ngclass')}"`;
|
|
1022
|
-
const defaultTmpl = `[class.hidden]="!${options.pCounter}.isUpdateMode && ${options.counter}.viewmodewidget !== 'default'" ${formControl} ${options.eventsTmpl} ${conditionalClass} ${tmplRef} ${widgetName}
|
|
1025
|
+
const defaultTmpl = `[class.hidden]="!${options.pCounter}.isUpdateMode && ${options.counter}.viewmodewidget !== 'default'" ${formControl} ${options.eventsTmpl} ${conditionalClass} ${tmplRef} ${widgetName}`;
|
|
1023
1026
|
return core.getFormWidgetTemplate(options.widgetType, defaultTmpl, attrs, { counter: options.counter, pCounter: options.pCounter });
|
|
1024
1027
|
};
|
|
1025
1028
|
const getTemplate = (attrs, widgetType, eventsTmpl, counter, pCounter, isInList) => {
|
|
@@ -1063,14 +1066,14 @@
|
|
|
1063
1066
|
return {
|
|
1064
1067
|
requires: ['wm-form', 'wm-liveform', 'wm-livefilter', 'wm-list'],
|
|
1065
1068
|
pre: (attrs, shared, parentForm, parentLiveForm, parentFilter, parentList) => {
|
|
1066
|
-
const counter = idGen$
|
|
1069
|
+
const counter = idGen$e.nextUid();
|
|
1067
1070
|
const parent = parentForm || parentLiveForm || parentFilter;
|
|
1068
1071
|
const pCounter = (parent && parent.get('form_reference')) || 'form';
|
|
1069
1072
|
const widgetType = attrs.get('widget') || core.FormWidgetType.TEXT;
|
|
1070
1073
|
const dataRole = isFormField ? 'form-field' : 'filter-field';
|
|
1071
1074
|
const formFieldErrorMsgId = 'wmform-field-error-' + core.generateGUId();
|
|
1072
1075
|
const validationMsg = isFormField ? `<p *ngIf="${counter}._control?.invalid && ${counter}._control?.touched && ${pCounter}.isUpdateMode"
|
|
1073
|
-
class="help-block text-danger" aria-hidden="false"
|
|
1076
|
+
class="help-block text-danger" aria-hidden="false" role="alert"
|
|
1074
1077
|
aria-live="assertive" [attr.aria-label]="${counter}.validationmessage" id="${formFieldErrorMsgId}"><span aria-hidden="true" [textContent]="${counter}.validationmessage"></span></p>` : '';
|
|
1075
1078
|
const eventsTmpl = widgetType === core.FormWidgetType.UPLOAD ? '' : getEventsTemplate(attrs);
|
|
1076
1079
|
const controlLayout = core.isMobileApp() ? 'col-xs-12' : 'col-sm-12';
|
|
@@ -1086,7 +1089,7 @@
|
|
|
1086
1089
|
else {
|
|
1087
1090
|
setDefaultPlaceholder(attrs, widgetType, 2);
|
|
1088
1091
|
}
|
|
1089
|
-
return `<${tagName$
|
|
1092
|
+
return `<${tagName$X} data-role="${dataRole}" [formGroup]="${pCounter}.ngform" wmFormField wmCaptionPosition #${counter}="wmFormField" widgettype="${widgetType}" ${transpiler.getFormMarkupAttr(attrs)}>
|
|
1090
1093
|
<div class="live-field form-group app-composite-widget clearfix caption-{{${pCounter}.captionposition}}" widget="${widgetType}">
|
|
1091
1094
|
<label [hidden]="!${counter}.displayname" class="app-label control-label formfield-label {{${pCounter}._captionClass}}"
|
|
1092
1095
|
[ngStyle]="{width: ${pCounter}.captionsize}" [ngClass]="{'text-danger': ${counter}._control?.invalid && ${counter}._control?.touched && ${pCounter}.isUpdateMode,
|
|
@@ -1102,7 +1105,7 @@
|
|
|
1102
1105
|
</div>
|
|
1103
1106
|
</div>`;
|
|
1104
1107
|
},
|
|
1105
|
-
post: () => `</${tagName$
|
|
1108
|
+
post: () => `</${tagName$X}>`,
|
|
1106
1109
|
provide: (attrs, shared) => {
|
|
1107
1110
|
const provider = new Map();
|
|
1108
1111
|
provider.set('form_reference', shared.get('counter'));
|
|
@@ -1124,11 +1127,11 @@
|
|
|
1124
1127
|
default: formField_build
|
|
1125
1128
|
});
|
|
1126
1129
|
|
|
1127
|
-
const tagName$
|
|
1130
|
+
const tagName$W = 'div';
|
|
1128
1131
|
const registerAction = (tmpl) => {
|
|
1129
1132
|
return {
|
|
1130
|
-
pre: attrs => `<${tagName$
|
|
1131
|
-
post: () => `</${tagName$
|
|
1133
|
+
pre: attrs => `<${tagName$W} wmFormAction name="${attrs.get('name') || attrs.get('key')}" ${transpiler.getAttrMarkup(attrs)} ${tmpl}>`,
|
|
1134
|
+
post: () => `</${tagName$W}>`
|
|
1132
1135
|
};
|
|
1133
1136
|
};
|
|
1134
1137
|
transpiler.register('wm-form-action', registerAction.bind(undefined, ''));
|
|
@@ -1140,8 +1143,8 @@
|
|
|
1140
1143
|
default: formAction_build
|
|
1141
1144
|
});
|
|
1142
1145
|
|
|
1143
|
-
const tagName$
|
|
1144
|
-
const idGen$
|
|
1146
|
+
const tagName$V = 'form';
|
|
1147
|
+
const idGen$d = new core.IDGenerator('form_');
|
|
1145
1148
|
const formWidgets$1 = new Set([
|
|
1146
1149
|
'wm-text',
|
|
1147
1150
|
'wm-textarea',
|
|
@@ -1209,7 +1212,7 @@
|
|
|
1209
1212
|
let tmpl;
|
|
1210
1213
|
let dialogId;
|
|
1211
1214
|
const role = parentLoginWidget && parentLoginWidget.get('isLogin') ? 'app-login' : '';
|
|
1212
|
-
const counter = idGen$
|
|
1215
|
+
const counter = idGen$d.nextUid();
|
|
1213
1216
|
const dependsOn = attrs.get('dependson') ? `dependson="${attrs.get('dependson')}"` : '';
|
|
1214
1217
|
if (dependsOn) {
|
|
1215
1218
|
attrs.set('dependsontable', attrs.get('dependson'));
|
|
@@ -1217,7 +1220,7 @@
|
|
|
1217
1220
|
const classProp = attrs.get('formlayout') === 'page' ? 'app-device-liveform panel liveform-inline' : '';
|
|
1218
1221
|
const dialogAttributes = ['title', 'title.bind', 'iconclass', 'iconclass.bind', 'width'];
|
|
1219
1222
|
attrs.delete('dependson');
|
|
1220
|
-
const liveFormTmpl = `<${tagName$
|
|
1223
|
+
const liveFormTmpl = `<${tagName$V} wmForm data-role="${role}" ${directiveAttr} #${counter} ngNativeValidate [formGroup]="${counter}.ngform" [noValidate]="${counter}.validationtype !== 'html'"
|
|
1221
1224
|
class="${classProp}" [class]="${counter}.captionAlignClass" [autocomplete]="${counter}.autocomplete ? 'on' : 'off'" captionposition=${attrs.get('captionposition')}`;
|
|
1222
1225
|
attrs.set('numberOfFields', `${numberOfFields}`);
|
|
1223
1226
|
shared.set('counter', counter);
|
|
@@ -1270,12 +1273,12 @@
|
|
|
1270
1273
|
return '</form></ng-template></div></div>';
|
|
1271
1274
|
}
|
|
1272
1275
|
if (attrs.get('formlayout') === 'page') {
|
|
1273
|
-
return `</div></${tagName$
|
|
1276
|
+
return `</div></${tagName$V}>`;
|
|
1274
1277
|
}
|
|
1275
1278
|
if (attrs.get('dependsontable')) {
|
|
1276
|
-
return `</${tagName$
|
|
1279
|
+
return `</${tagName$V}></div>`;
|
|
1277
1280
|
}
|
|
1278
|
-
return `</${tagName$
|
|
1281
|
+
return `</${tagName$V}>`;
|
|
1279
1282
|
},
|
|
1280
1283
|
provide: (attrs, shared) => {
|
|
1281
1284
|
const provider = new Map();
|
|
@@ -1294,14 +1297,14 @@
|
|
|
1294
1297
|
default: form_build
|
|
1295
1298
|
});
|
|
1296
1299
|
|
|
1297
|
-
const tagName$
|
|
1300
|
+
const tagName$U = 'div';
|
|
1298
1301
|
transpiler.register('wm-calendar', () => {
|
|
1299
1302
|
return {
|
|
1300
1303
|
pre: (attrs) => {
|
|
1301
1304
|
let viewType = attrs.get('view') ? attrs.get('view') + ' view' : 'month view';
|
|
1302
|
-
return `<${tagName$
|
|
1305
|
+
return `<${tagName$U} wmCalendar redrawable style="width:100%" role="region" aria-label="${viewType}" ${transpiler.getAttrMarkup(attrs)}>`;
|
|
1303
1306
|
},
|
|
1304
|
-
post: () => `</${tagName$
|
|
1307
|
+
post: () => `</${tagName$U}>`
|
|
1305
1308
|
};
|
|
1306
1309
|
});
|
|
1307
1310
|
var calendar_build = () => { };
|
|
@@ -1311,11 +1314,11 @@
|
|
|
1311
1314
|
default: calendar_build
|
|
1312
1315
|
});
|
|
1313
1316
|
|
|
1314
|
-
const tagName$
|
|
1317
|
+
const tagName$T = 'ul';
|
|
1315
1318
|
transpiler.register('wm-chips', () => {
|
|
1316
1319
|
return {
|
|
1317
|
-
pre: attrs => `<${tagName$
|
|
1318
|
-
post: () => `</${tagName$
|
|
1320
|
+
pre: attrs => `<${tagName$T} wmChips ${transpiler.getAttrMarkup(attrs)} ${core.getNgModelAttr(attrs)}>`,
|
|
1321
|
+
post: () => `</${tagName$T}>`
|
|
1319
1322
|
};
|
|
1320
1323
|
});
|
|
1321
1324
|
var chips_build = () => { };
|
|
@@ -1325,11 +1328,11 @@
|
|
|
1325
1328
|
default: chips_build
|
|
1326
1329
|
});
|
|
1327
1330
|
|
|
1328
|
-
const tagName$
|
|
1331
|
+
const tagName$S = 'div';
|
|
1329
1332
|
transpiler.register('wm-colorpicker', () => {
|
|
1330
1333
|
return {
|
|
1331
|
-
pre: attrs => `<${tagName$
|
|
1332
|
-
post: () => `</${tagName$
|
|
1334
|
+
pre: attrs => `<${tagName$S} wmColorPicker ${transpiler.getAttrMarkup(attrs)} ${transpiler.getChildAttrs(attrs)} ${core.getNgModelAttr(attrs)}>`,
|
|
1335
|
+
post: () => `</${tagName$S}>`
|
|
1333
1336
|
};
|
|
1334
1337
|
});
|
|
1335
1338
|
var colorPicker_build = () => { };
|
|
@@ -1339,11 +1342,11 @@
|
|
|
1339
1342
|
default: colorPicker_build
|
|
1340
1343
|
});
|
|
1341
1344
|
|
|
1342
|
-
const tagName$
|
|
1345
|
+
const tagName$R = 'div';
|
|
1343
1346
|
transpiler.register('wm-currency', () => {
|
|
1344
1347
|
return {
|
|
1345
|
-
pre: attrs => `<${tagName$
|
|
1346
|
-
post: () => `</${tagName$
|
|
1348
|
+
pre: attrs => `<${tagName$R} wmCurrency ${transpiler.getAttrMarkup(attrs)} ${transpiler.getChildAttrs(attrs)} ${core.getNgModelAttr(attrs)}>`,
|
|
1349
|
+
post: () => `</${tagName$R}>`
|
|
1347
1350
|
};
|
|
1348
1351
|
});
|
|
1349
1352
|
var currency_build = () => { };
|
|
@@ -1353,11 +1356,11 @@
|
|
|
1353
1356
|
default: currency_build
|
|
1354
1357
|
});
|
|
1355
1358
|
|
|
1356
|
-
const tagName$
|
|
1359
|
+
const tagName$Q = 'div';
|
|
1357
1360
|
transpiler.register('wm-buttongroup', () => {
|
|
1358
1361
|
return {
|
|
1359
|
-
pre: attrs => `<${tagName$
|
|
1360
|
-
post: () => `</${tagName$
|
|
1362
|
+
pre: attrs => `<${tagName$Q} wmButtonGroup role="group" ${transpiler.getAttrMarkup(attrs)}>`,
|
|
1363
|
+
post: () => `</${tagName$Q}>`
|
|
1361
1364
|
};
|
|
1362
1365
|
});
|
|
1363
1366
|
var buttonGroup_build = () => { };
|
|
@@ -1367,15 +1370,15 @@
|
|
|
1367
1370
|
default: buttonGroup_build
|
|
1368
1371
|
});
|
|
1369
1372
|
|
|
1370
|
-
const tagName$
|
|
1371
|
-
const idGen$
|
|
1373
|
+
const tagName$P = 'button';
|
|
1374
|
+
const idGen$c = new core.IDGenerator('wm_button');
|
|
1372
1375
|
transpiler.register('wm-button', () => {
|
|
1373
1376
|
return {
|
|
1374
1377
|
pre: (attrs) => {
|
|
1375
|
-
const counter = idGen$
|
|
1376
|
-
return `<${tagName$
|
|
1378
|
+
const counter = idGen$c.nextUid();
|
|
1379
|
+
return `<${tagName$P} wmButton #${counter}="wmButton" [attr.aria-label]="${counter}.arialabel || (${counter}.badgevalue ? ${counter}.caption + ' ' + ${counter}.badgevalue : ${counter}.caption) || null" ${transpiler.getAttrMarkup(attrs)}>`;
|
|
1377
1380
|
},
|
|
1378
|
-
post: () => `</${tagName$
|
|
1381
|
+
post: () => `</${tagName$P}>`
|
|
1379
1382
|
};
|
|
1380
1383
|
});
|
|
1381
1384
|
var button_build = () => { };
|
|
@@ -1385,11 +1388,11 @@
|
|
|
1385
1388
|
default: button_build
|
|
1386
1389
|
});
|
|
1387
1390
|
|
|
1388
|
-
const tagName$
|
|
1391
|
+
const tagName$O = 'div';
|
|
1389
1392
|
transpiler.register('wm-checkbox', () => {
|
|
1390
1393
|
return {
|
|
1391
|
-
pre: attrs => `<${tagName$
|
|
1392
|
-
post: () => `</${tagName$
|
|
1394
|
+
pre: attrs => `<${tagName$O} wmCheckbox ${transpiler.getFormMarkupAttr(attrs)} ${transpiler.getChildAttrs(attrs)} ${core.getNgModelAttr(attrs)}>`,
|
|
1395
|
+
post: () => `</${tagName$O}>`
|
|
1393
1396
|
};
|
|
1394
1397
|
});
|
|
1395
1398
|
var checkbox_build = () => { };
|
|
@@ -1399,11 +1402,11 @@
|
|
|
1399
1402
|
default: checkbox_build
|
|
1400
1403
|
});
|
|
1401
1404
|
|
|
1402
|
-
const tagName$
|
|
1405
|
+
const tagName$N = 'ul';
|
|
1403
1406
|
transpiler.register('wm-checkboxset', () => {
|
|
1404
1407
|
return {
|
|
1405
|
-
pre: attrs => `<${tagName$
|
|
1406
|
-
post: () => `</${tagName$
|
|
1408
|
+
pre: attrs => `<${tagName$N} role="group" wmCheckboxset ${transpiler.getFormMarkupAttr(attrs)} ${transpiler.getChildAttrs(attrs)} ${core.getNgModelAttr(attrs)}>`,
|
|
1409
|
+
post: () => `</${tagName$N}>`
|
|
1407
1410
|
};
|
|
1408
1411
|
});
|
|
1409
1412
|
var checkboxset_build = () => { };
|
|
@@ -1413,11 +1416,11 @@
|
|
|
1413
1416
|
default: checkboxset_build
|
|
1414
1417
|
});
|
|
1415
1418
|
|
|
1416
|
-
const tagName$
|
|
1419
|
+
const tagName$M = 'div';
|
|
1417
1420
|
transpiler.register('wm-composite', () => {
|
|
1418
1421
|
return {
|
|
1419
|
-
pre: attrs => `<${tagName$
|
|
1420
|
-
post: () => `</${tagName$
|
|
1422
|
+
pre: attrs => `<${tagName$M} wmComposite wmCaptionPosition ${transpiler.setChildAttrs(attrs)} ${transpiler.getAttrMarkup(attrs)}>`,
|
|
1423
|
+
post: () => `</${tagName$M}${transpiler.clearChildAttrs()}>`
|
|
1421
1424
|
};
|
|
1422
1425
|
});
|
|
1423
1426
|
var composite_build = () => { };
|
|
@@ -1427,11 +1430,11 @@
|
|
|
1427
1430
|
default: composite_build
|
|
1428
1431
|
});
|
|
1429
1432
|
|
|
1430
|
-
const tagName$
|
|
1433
|
+
const tagName$L = 'div';
|
|
1431
1434
|
transpiler.register('wm-number', () => {
|
|
1432
1435
|
return {
|
|
1433
|
-
pre: attrs => `<${tagName$
|
|
1434
|
-
post: () => `</${tagName$
|
|
1436
|
+
pre: attrs => `<${tagName$L} wmNumber ${transpiler.getFormMarkupAttr(attrs)} ${transpiler.getChildAttrs(attrs)} ${core.getNgModelAttr(attrs)}>`,
|
|
1437
|
+
post: () => `</${tagName$L}>`
|
|
1435
1438
|
};
|
|
1436
1439
|
});
|
|
1437
1440
|
var number_build = () => { };
|
|
@@ -1441,11 +1444,11 @@
|
|
|
1441
1444
|
default: number_build
|
|
1442
1445
|
});
|
|
1443
1446
|
|
|
1444
|
-
const tagName$
|
|
1447
|
+
const tagName$K = 'ul';
|
|
1445
1448
|
transpiler.register('wm-radioset', () => {
|
|
1446
1449
|
return {
|
|
1447
|
-
pre: attrs => `<${tagName$
|
|
1448
|
-
post: () => `</${tagName$
|
|
1450
|
+
pre: attrs => `<${tagName$K} role="radiogroup" wmRadioset ${transpiler.getFormMarkupAttr(attrs)} ${transpiler.getChildAttrs(attrs)} ${core.getNgModelAttr(attrs)}>`,
|
|
1451
|
+
post: () => `</${tagName$K}>`
|
|
1449
1452
|
};
|
|
1450
1453
|
});
|
|
1451
1454
|
var radioset_build = () => { };
|
|
@@ -1455,11 +1458,11 @@
|
|
|
1455
1458
|
default: radioset_build
|
|
1456
1459
|
});
|
|
1457
1460
|
|
|
1458
|
-
const tagName$
|
|
1461
|
+
const tagName$J = 'wm-select';
|
|
1459
1462
|
transpiler.register('wm-select', () => {
|
|
1460
1463
|
return {
|
|
1461
|
-
pre: attrs => `<${tagName$
|
|
1462
|
-
post: () => `</${tagName$
|
|
1464
|
+
pre: attrs => `<${tagName$J} ${transpiler.getFormMarkupAttr(attrs)} ${transpiler.getChildAttrs(attrs)} ${core.getNgModelAttr(attrs)}>`,
|
|
1465
|
+
post: () => `</${tagName$J}>`
|
|
1463
1466
|
};
|
|
1464
1467
|
});
|
|
1465
1468
|
var select_build = () => { };
|
|
@@ -1469,15 +1472,15 @@
|
|
|
1469
1472
|
default: select_build
|
|
1470
1473
|
});
|
|
1471
1474
|
|
|
1472
|
-
const tagName$
|
|
1473
|
-
const idGen$
|
|
1475
|
+
const tagName$I = 'div';
|
|
1476
|
+
const idGen$b = new core.IDGenerator('wm_switch');
|
|
1474
1477
|
transpiler.register('wm-switch', () => {
|
|
1475
1478
|
return {
|
|
1476
1479
|
pre: (attrs) => {
|
|
1477
|
-
const counter = idGen$
|
|
1478
|
-
return `<${tagName$
|
|
1480
|
+
const counter = idGen$b.nextUid();
|
|
1481
|
+
return `<${tagName$I} wmSwitch #${counter}="wmSwitch" role="group" [attr.aria-label]="${counter}.arialabel || 'Switch choose options'" ${transpiler.getFormMarkupAttr(attrs)} ${core.getNgModelAttr(attrs)}>`;
|
|
1479
1482
|
},
|
|
1480
|
-
post: () => `</${tagName$
|
|
1483
|
+
post: () => `</${tagName$I}>`
|
|
1481
1484
|
};
|
|
1482
1485
|
});
|
|
1483
1486
|
var switch_build = () => { };
|
|
@@ -1487,11 +1490,11 @@
|
|
|
1487
1490
|
default: switch_build
|
|
1488
1491
|
});
|
|
1489
1492
|
|
|
1490
|
-
const tagName$
|
|
1493
|
+
const tagName$H = 'wm-input';
|
|
1491
1494
|
transpiler.register('wm-text', () => {
|
|
1492
1495
|
return {
|
|
1493
|
-
pre: attrs => `<${tagName$
|
|
1494
|
-
post: () => `</${tagName$
|
|
1496
|
+
pre: attrs => `<${tagName$H} ${transpiler.getFormMarkupAttr(attrs)} ${transpiler.getChildAttrs(attrs)} ${core.getNgModelAttr(attrs)}>`,
|
|
1497
|
+
post: () => `</${tagName$H}>`
|
|
1495
1498
|
};
|
|
1496
1499
|
});
|
|
1497
1500
|
var text_build = () => { };
|
|
@@ -1501,11 +1504,11 @@
|
|
|
1501
1504
|
default: text_build
|
|
1502
1505
|
});
|
|
1503
1506
|
|
|
1504
|
-
const tagName$
|
|
1507
|
+
const tagName$G = 'wm-textarea';
|
|
1505
1508
|
transpiler.register('wm-textarea', () => {
|
|
1506
1509
|
return {
|
|
1507
|
-
pre: attrs => `<${tagName$
|
|
1508
|
-
post: () => `</${tagName$
|
|
1510
|
+
pre: attrs => `<${tagName$G} ${transpiler.getFormMarkupAttr(attrs)} ${transpiler.getChildAttrs(attrs)} ${core.getNgModelAttr(attrs)}>`,
|
|
1511
|
+
post: () => `</${tagName$G}>`
|
|
1509
1512
|
};
|
|
1510
1513
|
});
|
|
1511
1514
|
var textarea_build = () => { };
|
|
@@ -1515,11 +1518,11 @@
|
|
|
1515
1518
|
default: textarea_build
|
|
1516
1519
|
});
|
|
1517
1520
|
|
|
1518
|
-
const tagName$
|
|
1521
|
+
const tagName$F = 'div';
|
|
1519
1522
|
transpiler.register('wm-datetime', () => {
|
|
1520
1523
|
return {
|
|
1521
|
-
pre: attrs => `<${tagName$
|
|
1522
|
-
post: () => `</${tagName$
|
|
1524
|
+
pre: attrs => `<${tagName$F} wmDateTime ${transpiler.getFormMarkupAttr(attrs)} ${transpiler.getChildAttrs(attrs)} ${core.getNgModelAttr(attrs)}>`,
|
|
1525
|
+
post: () => `</${tagName$F}>`
|
|
1523
1526
|
};
|
|
1524
1527
|
});
|
|
1525
1528
|
var dateTime_build = () => { };
|
|
@@ -1529,11 +1532,11 @@
|
|
|
1529
1532
|
default: dateTime_build
|
|
1530
1533
|
});
|
|
1531
1534
|
|
|
1532
|
-
const tagName$
|
|
1535
|
+
const tagName$E = 'div';
|
|
1533
1536
|
transpiler.register('wm-date', () => {
|
|
1534
1537
|
return {
|
|
1535
|
-
pre: attrs => `<${tagName$
|
|
1536
|
-
post: () => `</${tagName$
|
|
1538
|
+
pre: attrs => `<${tagName$E} wmDate ${transpiler.getFormMarkupAttr(attrs)} ${transpiler.getChildAttrs(attrs)} ${core.getNgModelAttr(attrs)}>`,
|
|
1539
|
+
post: () => `</${tagName$E}>`
|
|
1537
1540
|
};
|
|
1538
1541
|
});
|
|
1539
1542
|
var date_build = () => { };
|
|
@@ -1543,11 +1546,11 @@
|
|
|
1543
1546
|
default: date_build
|
|
1544
1547
|
});
|
|
1545
1548
|
|
|
1546
|
-
const tagName$
|
|
1549
|
+
const tagName$D = 'div';
|
|
1547
1550
|
transpiler.register('wm-time', () => {
|
|
1548
1551
|
return {
|
|
1549
|
-
pre: attrs => `<${tagName$
|
|
1550
|
-
post: () => `</${tagName$
|
|
1552
|
+
pre: attrs => `<${tagName$D} wmTime ${transpiler.getFormMarkupAttr(attrs)} ${transpiler.getChildAttrs(attrs)} ${core.getNgModelAttr(attrs)}>`,
|
|
1553
|
+
post: () => `</${tagName$D}>`
|
|
1551
1554
|
};
|
|
1552
1555
|
});
|
|
1553
1556
|
var time_build = () => { };
|
|
@@ -1557,7 +1560,7 @@
|
|
|
1557
1560
|
default: time_build
|
|
1558
1561
|
});
|
|
1559
1562
|
|
|
1560
|
-
const tagName$
|
|
1563
|
+
const tagName$C = 'div';
|
|
1561
1564
|
transpiler.register('wm-fileupload', () => {
|
|
1562
1565
|
return {
|
|
1563
1566
|
pre: attrs => {
|
|
@@ -1565,9 +1568,13 @@
|
|
|
1565
1568
|
const onSelectBinding = transpiler.getDataSource(attrs.get('select.event'));
|
|
1566
1569
|
attrs.set('datasource.bind', onSelectBinding);
|
|
1567
1570
|
}
|
|
1568
|
-
|
|
1571
|
+
if (attrs.get('delete.event')) {
|
|
1572
|
+
const onDeleteBinding = transpiler.getDataSource(attrs.get('delete.event'));
|
|
1573
|
+
attrs.set('deletedatasource.bind', onDeleteBinding);
|
|
1574
|
+
}
|
|
1575
|
+
return `<${tagName$C} wmFileUpload ${transpiler.getAttrMarkup(attrs)}>`;
|
|
1569
1576
|
},
|
|
1570
|
-
post: () => `</${tagName$
|
|
1577
|
+
post: () => `</${tagName$C}>`
|
|
1571
1578
|
};
|
|
1572
1579
|
});
|
|
1573
1580
|
var fileUpload_build = () => { };
|
|
@@ -1577,11 +1584,11 @@
|
|
|
1577
1584
|
default: fileUpload_build
|
|
1578
1585
|
});
|
|
1579
1586
|
|
|
1580
|
-
const tagName$
|
|
1587
|
+
const tagName$B = 'div';
|
|
1581
1588
|
transpiler.register('wm-rating', () => {
|
|
1582
1589
|
return {
|
|
1583
|
-
pre: attrs => `<${tagName$
|
|
1584
|
-
post: () => `</${tagName$
|
|
1590
|
+
pre: attrs => `<${tagName$B} wmRating ${transpiler.getFormMarkupAttr(attrs)} ${core.getNgModelAttr(attrs)}>`,
|
|
1591
|
+
post: () => `</${tagName$B}>`
|
|
1585
1592
|
};
|
|
1586
1593
|
});
|
|
1587
1594
|
var rating_build = () => { };
|
|
@@ -1591,11 +1598,11 @@
|
|
|
1591
1598
|
default: rating_build
|
|
1592
1599
|
});
|
|
1593
1600
|
|
|
1594
|
-
const tagName$
|
|
1601
|
+
const tagName$A = 'div';
|
|
1595
1602
|
transpiler.register('wm-slider', () => {
|
|
1596
1603
|
return {
|
|
1597
|
-
pre: attrs => `<${tagName$
|
|
1598
|
-
post: () => `</${tagName$
|
|
1604
|
+
pre: attrs => `<${tagName$A} wmSlider ${transpiler.getAttrMarkup(attrs)} ${core.getNgModelAttr(attrs)}>`,
|
|
1605
|
+
post: () => `</${tagName$A}>`
|
|
1599
1606
|
};
|
|
1600
1607
|
});
|
|
1601
1608
|
var slider_build = () => { };
|
|
@@ -1606,7 +1613,7 @@
|
|
|
1606
1613
|
});
|
|
1607
1614
|
|
|
1608
1615
|
const wmlistTag = 'wm-list';
|
|
1609
|
-
const tagName$
|
|
1616
|
+
const tagName$z = 'div';
|
|
1610
1617
|
const dataSetKey$2 = 'dataset';
|
|
1611
1618
|
function copyAttribute$1(from, fromAttrName, to, toAttrName) {
|
|
1612
1619
|
const fromAttr = from.attrs.find(a => a.name === fromAttrName);
|
|
@@ -1654,8 +1661,8 @@
|
|
|
1654
1661
|
copyAttribute$1(template, 'height', node, 'thumbnailheight');
|
|
1655
1662
|
}
|
|
1656
1663
|
},
|
|
1657
|
-
pre: attrs => `<${tagName$
|
|
1658
|
-
post: () => `</${tagName$
|
|
1664
|
+
pre: attrs => `<${tagName$z} wmMediaList ${transpiler.getAttrMarkup(attrs)}>`,
|
|
1665
|
+
post: () => `</${tagName$z}>`
|
|
1659
1666
|
};
|
|
1660
1667
|
});
|
|
1661
1668
|
var mediaList_build = () => { };
|
|
@@ -1665,11 +1672,11 @@
|
|
|
1665
1672
|
default: mediaList_build
|
|
1666
1673
|
});
|
|
1667
1674
|
|
|
1668
|
-
const tagName$
|
|
1675
|
+
const tagName$y = 'ng-template';
|
|
1669
1676
|
transpiler.register('wm-media-template', () => {
|
|
1670
1677
|
return {
|
|
1671
|
-
pre: () => `<${tagName$
|
|
1672
|
-
post: () => `</${tagName$
|
|
1678
|
+
pre: () => `<${tagName$y} #mediaListTemplate let-item="item" let-index="index">`,
|
|
1679
|
+
post: () => `</${tagName$y}>`
|
|
1673
1680
|
};
|
|
1674
1681
|
});
|
|
1675
1682
|
var mediaListItem_build = () => { };
|
|
@@ -1753,16 +1760,16 @@
|
|
|
1753
1760
|
default: list_build
|
|
1754
1761
|
});
|
|
1755
1762
|
|
|
1756
|
-
const tagName$
|
|
1757
|
-
const idGen$
|
|
1763
|
+
const tagName$x = 'div';
|
|
1764
|
+
const idGen$a = new core.IDGenerator('liveform_dialog_id_');
|
|
1758
1765
|
transpiler.register('wm-livetable', () => {
|
|
1759
1766
|
return {
|
|
1760
1767
|
pre: (attrs, shared) => {
|
|
1761
|
-
const counter = idGen$
|
|
1768
|
+
const counter = idGen$a.nextUid();
|
|
1762
1769
|
shared.set('counter', counter);
|
|
1763
|
-
return `<${tagName$
|
|
1770
|
+
return `<${tagName$x} wmLiveTable ${transpiler.getAttrMarkup(attrs)} dialogid="${counter}">`;
|
|
1764
1771
|
},
|
|
1765
|
-
post: () => `</${tagName$
|
|
1772
|
+
post: () => `</${tagName$x}>`,
|
|
1766
1773
|
provide: (attrs, shared) => {
|
|
1767
1774
|
const provider = new Map();
|
|
1768
1775
|
provider.set('liveform_dialog_id', shared.get('counter'));
|
|
@@ -1777,15 +1784,15 @@
|
|
|
1777
1784
|
default: liveTable_build
|
|
1778
1785
|
});
|
|
1779
1786
|
|
|
1780
|
-
const tagName$
|
|
1781
|
-
const idGen$
|
|
1787
|
+
const tagName$w = 'p';
|
|
1788
|
+
const idGen$9 = new core.IDGenerator('wm_message');
|
|
1782
1789
|
transpiler.register('wm-message', () => {
|
|
1783
1790
|
return {
|
|
1784
1791
|
pre: (attrs) => {
|
|
1785
|
-
const counter = idGen$
|
|
1786
|
-
return `<${tagName$
|
|
1792
|
+
const counter = idGen$9.nextUid();
|
|
1793
|
+
return `<${tagName$w} wmMessage tabindex="0" #${counter}="wmMessage" ${transpiler.getAttrMarkup(attrs)}>`;
|
|
1787
1794
|
},
|
|
1788
|
-
post: () => `</${tagName$
|
|
1795
|
+
post: () => `</${tagName$w}>`
|
|
1789
1796
|
};
|
|
1790
1797
|
});
|
|
1791
1798
|
var message_build = () => { };
|
|
@@ -1795,11 +1802,11 @@
|
|
|
1795
1802
|
default: message_build
|
|
1796
1803
|
});
|
|
1797
1804
|
|
|
1798
|
-
const tagName$
|
|
1805
|
+
const tagName$v = 'ol';
|
|
1799
1806
|
transpiler.register('wm-breadcrumb', () => {
|
|
1800
1807
|
return {
|
|
1801
|
-
pre: attrs => `<${tagName$
|
|
1802
|
-
post: () => `</${tagName$
|
|
1808
|
+
pre: attrs => `<${tagName$v} wmBreadcrumb ${transpiler.getAttrMarkup(attrs)}>`,
|
|
1809
|
+
post: () => `</${tagName$v}>`
|
|
1803
1810
|
};
|
|
1804
1811
|
});
|
|
1805
1812
|
var breadcrumb_build = () => { };
|
|
@@ -1809,7 +1816,7 @@
|
|
|
1809
1816
|
default: breadcrumb_build
|
|
1810
1817
|
});
|
|
1811
1818
|
|
|
1812
|
-
const tagName$
|
|
1819
|
+
const tagName$u = 'div';
|
|
1813
1820
|
transpiler.register('wm-menu', () => {
|
|
1814
1821
|
return {
|
|
1815
1822
|
pre: attrs => {
|
|
@@ -1824,13 +1831,13 @@
|
|
|
1824
1831
|
else {
|
|
1825
1832
|
styleBinding = `[ngStyle]="{'width': '${menuWidth}px'}"`;
|
|
1826
1833
|
}
|
|
1827
|
-
return `<${tagName$
|
|
1834
|
+
return `<${tagName$u} wmMenu dropdown ${transpiler.getAttrMarkup(attrs)} ${styleBinding}>`;
|
|
1828
1835
|
}
|
|
1829
1836
|
else {
|
|
1830
|
-
return `<${tagName$
|
|
1837
|
+
return `<${tagName$u} wmMenu dropdown ${transpiler.getAttrMarkup(attrs)}>`;
|
|
1831
1838
|
}
|
|
1832
1839
|
},
|
|
1833
|
-
post: () => `</${tagName$
|
|
1840
|
+
post: () => `</${tagName$u}>`
|
|
1834
1841
|
};
|
|
1835
1842
|
});
|
|
1836
1843
|
var menu_build = () => { };
|
|
@@ -1840,11 +1847,11 @@
|
|
|
1840
1847
|
default: menu_build
|
|
1841
1848
|
});
|
|
1842
1849
|
|
|
1843
|
-
const tagName$
|
|
1850
|
+
const tagName$t = 'li';
|
|
1844
1851
|
transpiler.register('wm-nav-item', () => {
|
|
1845
1852
|
return {
|
|
1846
|
-
pre: attrs => `<${tagName$
|
|
1847
|
-
post: () => `</${tagName$
|
|
1853
|
+
pre: attrs => `<${tagName$t} wmNavItem role="listitem" ${transpiler.getAttrMarkup(attrs)}>`,
|
|
1854
|
+
post: () => `</${tagName$t}>`
|
|
1848
1855
|
};
|
|
1849
1856
|
});
|
|
1850
1857
|
var navItem_build = () => { };
|
|
@@ -1854,11 +1861,11 @@
|
|
|
1854
1861
|
default: navItem_build
|
|
1855
1862
|
});
|
|
1856
1863
|
|
|
1857
|
-
const tagName$
|
|
1864
|
+
const tagName$s = 'ul';
|
|
1858
1865
|
transpiler.register('wm-nav', () => {
|
|
1859
1866
|
return {
|
|
1860
|
-
pre: attrs => `<${tagName$
|
|
1861
|
-
post: () => `</${tagName$
|
|
1867
|
+
pre: attrs => `<${tagName$s} wmNav data-element-type="wmNav" data-role="page-header" role="list" ${transpiler.getAttrMarkup(attrs)}>`,
|
|
1868
|
+
post: () => `</${tagName$s}>`
|
|
1862
1869
|
};
|
|
1863
1870
|
});
|
|
1864
1871
|
var nav_build = () => { };
|
|
@@ -1868,11 +1875,11 @@
|
|
|
1868
1875
|
default: nav_build
|
|
1869
1876
|
});
|
|
1870
1877
|
|
|
1871
|
-
const tagName$
|
|
1878
|
+
const tagName$r = 'nav';
|
|
1872
1879
|
transpiler.register('wm-navbar', () => {
|
|
1873
1880
|
return {
|
|
1874
|
-
pre: attrs => `<${tagName$
|
|
1875
|
-
post: () => `</${tagName$
|
|
1881
|
+
pre: attrs => `<${tagName$r} wmNavbar data-element-type="wmNavbar" role="navigation" ${transpiler.getAttrMarkup(attrs)}>`,
|
|
1882
|
+
post: () => `</${tagName$r}>`
|
|
1876
1883
|
};
|
|
1877
1884
|
});
|
|
1878
1885
|
var navbar_build = () => { };
|
|
@@ -1882,7 +1889,7 @@
|
|
|
1882
1889
|
default: navbar_build
|
|
1883
1890
|
});
|
|
1884
1891
|
|
|
1885
|
-
const tagName$
|
|
1892
|
+
const tagName$q = 'wm-popover';
|
|
1886
1893
|
transpiler.register('wm-popover', () => {
|
|
1887
1894
|
return {
|
|
1888
1895
|
requires: ['wm-table'],
|
|
@@ -1902,7 +1909,7 @@
|
|
|
1902
1909
|
popoverTemplate = `<div wmContainer #partial partialContainer ${contentMarkup}>`;
|
|
1903
1910
|
shared.set('hasPopoverContent', true);
|
|
1904
1911
|
}
|
|
1905
|
-
let markup = `<${tagName$
|
|
1912
|
+
let markup = `<${tagName$q} wmPopover ${transpiler.getAttrMarkup(attrs)}>`;
|
|
1906
1913
|
const contextAttrs = table ? `let-row="row"` : ``;
|
|
1907
1914
|
markup += `<ng-template ${contextAttrs}><div tabindex="0" class="popover-start sr-only" aria-label="">popover content start</div>`;
|
|
1908
1915
|
// todo keyboard navigation - tab
|
|
@@ -1916,7 +1923,7 @@
|
|
|
1916
1923
|
if (shared.get('hasPopoverContent')) {
|
|
1917
1924
|
markup += `</div>`;
|
|
1918
1925
|
}
|
|
1919
|
-
return `${markup}<div tabindex="0" class="popover-end sr-only" aria-label="">popover content ended</div></ng-template></${tagName$
|
|
1926
|
+
return `${markup}<div tabindex="0" class="popover-end sr-only" aria-label="">popover content ended</div></ng-template></${tagName$q}>`;
|
|
1920
1927
|
}
|
|
1921
1928
|
};
|
|
1922
1929
|
});
|
|
@@ -1927,16 +1934,16 @@
|
|
|
1927
1934
|
default: popover_build
|
|
1928
1935
|
});
|
|
1929
1936
|
|
|
1930
|
-
const tagName$
|
|
1937
|
+
const tagName$p = 'div';
|
|
1931
1938
|
const findChild = (node, childName) => {
|
|
1932
1939
|
const child = node && node.children.find(e => (e instanceof compiler.Element && e.name === childName));
|
|
1933
1940
|
return child;
|
|
1934
1941
|
};
|
|
1935
|
-
const createElement$
|
|
1936
|
-
return new compiler.Element(name, [], [], noSpan$
|
|
1942
|
+
const createElement$3 = name => {
|
|
1943
|
+
return new compiler.Element(name, [], [], noSpan$3, noSpan$3, noSpan$3);
|
|
1937
1944
|
};
|
|
1938
|
-
const addAtrribute$
|
|
1939
|
-
const attr = new compiler.Attribute(name, value, noSpan$
|
|
1945
|
+
const addAtrribute$3 = (node, name, value) => {
|
|
1946
|
+
const attr = new compiler.Attribute(name, value, noSpan$3, noSpan$3, noSpan$3, undefined, undefined);
|
|
1940
1947
|
node.attrs.push(attr);
|
|
1941
1948
|
};
|
|
1942
1949
|
const getElementNode = (name, node) => {
|
|
@@ -1957,8 +1964,8 @@
|
|
|
1957
1964
|
});
|
|
1958
1965
|
return elementNode;
|
|
1959
1966
|
};
|
|
1960
|
-
const noSpan$
|
|
1961
|
-
const idGen$
|
|
1967
|
+
const noSpan$3 = {};
|
|
1968
|
+
const idGen$8 = new core.IDGenerator('wm_page');
|
|
1962
1969
|
transpiler.register('wm-page', () => {
|
|
1963
1970
|
return {
|
|
1964
1971
|
template: (node) => {
|
|
@@ -1967,24 +1974,24 @@
|
|
|
1967
1974
|
pageContentNode = getElementNode('wm-page-content', getElementNode('wm-content', node));
|
|
1968
1975
|
}
|
|
1969
1976
|
if (pageContentNode) {
|
|
1970
|
-
const conditionalNode = createElement$
|
|
1971
|
-
addAtrribute$
|
|
1977
|
+
const conditionalNode = createElement$3('ng-container');
|
|
1978
|
+
addAtrribute$3(conditionalNode, '*ngIf', 'compilePageContent');
|
|
1972
1979
|
conditionalNode.children = conditionalNode.children.concat(pageContentNode.children);
|
|
1973
1980
|
conditionalNode.children.push(new compiler.Text('{{onPageContentReady()}}', null, undefined, undefined));
|
|
1974
1981
|
pageContentNode.children = [conditionalNode];
|
|
1975
1982
|
if (core.isMobileApp()) {
|
|
1976
|
-
const loader = createElement$
|
|
1977
|
-
addAtrribute$
|
|
1978
|
-
addAtrribute$
|
|
1983
|
+
const loader = createElement$3('div');
|
|
1984
|
+
addAtrribute$3(loader, 'wmPageContentLoader', '');
|
|
1985
|
+
addAtrribute$3(loader, '*ngIf', '!showPageContent');
|
|
1979
1986
|
pageContentNode.children.push(loader);
|
|
1980
1987
|
}
|
|
1981
1988
|
}
|
|
1982
1989
|
},
|
|
1983
1990
|
pre: (attrs) => {
|
|
1984
|
-
const counter = idGen$
|
|
1985
|
-
return `<${tagName$
|
|
1991
|
+
const counter = idGen$8.nextUid();
|
|
1992
|
+
return `<${tagName$p} wmPage #${counter}="wmPage" data-role="pageContainer" [attr.aria-label]="${counter}.arialabel" ${transpiler.getAttrMarkup(attrs)}>`;
|
|
1986
1993
|
},
|
|
1987
|
-
post: () => `</${tagName$
|
|
1994
|
+
post: () => `</${tagName$p}>`
|
|
1988
1995
|
};
|
|
1989
1996
|
});
|
|
1990
1997
|
var page_build = () => { };
|
|
@@ -1994,15 +2001,15 @@
|
|
|
1994
2001
|
default: page_build
|
|
1995
2002
|
});
|
|
1996
2003
|
|
|
1997
|
-
const tagName$
|
|
1998
|
-
const idGen$
|
|
2004
|
+
const tagName$o = 'div';
|
|
2005
|
+
const idGen$7 = new core.IDGenerator('wm_layout');
|
|
1999
2006
|
transpiler.register('wm-layout', () => {
|
|
2000
2007
|
return {
|
|
2001
2008
|
pre: (attrs) => {
|
|
2002
|
-
const counter = idGen$
|
|
2003
|
-
return `<${tagName$
|
|
2009
|
+
const counter = idGen$7.nextUid();
|
|
2010
|
+
return `<${tagName$o} wmLayout #${counter}="wmLayout" data-role="pageContainer" [attr.aria-label]="${counter}.arialabel" ${transpiler.getAttrMarkup(attrs)}>`;
|
|
2004
2011
|
},
|
|
2005
|
-
post: () => `</${tagName$
|
|
2012
|
+
post: () => `</${tagName$o}>`
|
|
2006
2013
|
};
|
|
2007
2014
|
});
|
|
2008
2015
|
var layout_build = () => { };
|
|
@@ -2012,11 +2019,11 @@
|
|
|
2012
2019
|
default: layout_build
|
|
2013
2020
|
});
|
|
2014
2021
|
|
|
2015
|
-
const tagName$
|
|
2022
|
+
const tagName$n = 'router-outlet';
|
|
2016
2023
|
transpiler.register('wm-router-outlet', () => {
|
|
2017
2024
|
return {
|
|
2018
|
-
pre: attrs => `<div wmRouterOutlet name="wmRouterOutlet" ${transpiler.getAttrMarkup(attrs)}><${tagName$
|
|
2019
|
-
post: () => `</${tagName$
|
|
2025
|
+
pre: attrs => `<div wmRouterOutlet name="wmRouterOutlet" ${transpiler.getAttrMarkup(attrs)}><${tagName$n} (activate)="onActivate($event)">`,
|
|
2026
|
+
post: () => `</${tagName$n}></div>`
|
|
2020
2027
|
};
|
|
2021
2028
|
});
|
|
2022
2029
|
var routerOutlet_build = () => { };
|
|
@@ -2026,11 +2033,11 @@
|
|
|
2026
2033
|
default: routerOutlet_build
|
|
2027
2034
|
});
|
|
2028
2035
|
|
|
2029
|
-
const tagName$
|
|
2036
|
+
const tagName$m = 'nav';
|
|
2030
2037
|
transpiler.register('wm-pagination', () => {
|
|
2031
2038
|
return {
|
|
2032
|
-
pre: attrs => `<${tagName$
|
|
2033
|
-
post: () => `</${tagName$
|
|
2039
|
+
pre: attrs => `<${tagName$m} wmPagination data-identifier="pagination" aria-label="Page navigation" ${transpiler.getAttrMarkup(attrs)}>`,
|
|
2040
|
+
post: () => `</${tagName$m}>`
|
|
2034
2041
|
};
|
|
2035
2042
|
});
|
|
2036
2043
|
var pagination_build = () => { };
|
|
@@ -2040,11 +2047,11 @@
|
|
|
2040
2047
|
default: pagination_build
|
|
2041
2048
|
});
|
|
2042
2049
|
|
|
2043
|
-
const tagName$
|
|
2050
|
+
const tagName$l = 'main';
|
|
2044
2051
|
transpiler.register('wm-content', () => {
|
|
2045
2052
|
return {
|
|
2046
|
-
pre: attrs => `<${tagName$
|
|
2047
|
-
post: () => `</${tagName$
|
|
2053
|
+
pre: attrs => `<${tagName$l} wmContent data-role="page-content" role="main" ${transpiler.getAttrMarkup(attrs)}>`,
|
|
2054
|
+
post: () => `</${tagName$l}>`
|
|
2048
2055
|
};
|
|
2049
2056
|
});
|
|
2050
2057
|
var content_build = () => { };
|
|
@@ -2054,15 +2061,15 @@
|
|
|
2054
2061
|
default: content_build
|
|
2055
2062
|
});
|
|
2056
2063
|
|
|
2057
|
-
const tagName$
|
|
2058
|
-
const idGen$
|
|
2064
|
+
const tagName$k = 'footer';
|
|
2065
|
+
const idGen$6 = new core.IDGenerator('wm_footer');
|
|
2059
2066
|
transpiler.register('wm-footer', () => {
|
|
2060
2067
|
return {
|
|
2061
2068
|
pre: (attrs) => {
|
|
2062
|
-
const counter = idGen$
|
|
2063
|
-
return `<${tagName$
|
|
2069
|
+
const counter = idGen$6.nextUid();
|
|
2070
|
+
return `<${tagName$k} wmFooter #${counter}="wmFooter" partialContainer data-role="page-footer" role="contentinfo" [attr.aria-label]="${counter}.arialabel || 'Page footer'" ${transpiler.getAttrMarkup(attrs)}>`;
|
|
2064
2071
|
},
|
|
2065
|
-
post: () => `</${tagName$
|
|
2072
|
+
post: () => `</${tagName$k}>`
|
|
2066
2073
|
};
|
|
2067
2074
|
});
|
|
2068
2075
|
var footer_build = () => { };
|
|
@@ -2072,15 +2079,15 @@
|
|
|
2072
2079
|
default: footer_build
|
|
2073
2080
|
});
|
|
2074
2081
|
|
|
2075
|
-
const tagName$
|
|
2076
|
-
const idGen$
|
|
2082
|
+
const tagName$j = 'header';
|
|
2083
|
+
const idGen$5 = new core.IDGenerator('wm_header');
|
|
2077
2084
|
transpiler.register('wm-header', () => {
|
|
2078
2085
|
return {
|
|
2079
2086
|
pre: (attrs) => {
|
|
2080
|
-
const counter = idGen$
|
|
2081
|
-
return `<${tagName$
|
|
2087
|
+
const counter = idGen$5.nextUid();
|
|
2088
|
+
return `<${tagName$j} wmHeader #${counter}="wmHeader" partialContainer data-role="page-header" role="banner" [attr.aria-label]="${counter}.arialabel || 'Page header'" ${transpiler.getAttrMarkup(attrs)}>`;
|
|
2082
2089
|
},
|
|
2083
|
-
post: () => `</${tagName$
|
|
2090
|
+
post: () => `</${tagName$j}>`
|
|
2084
2091
|
};
|
|
2085
2092
|
});
|
|
2086
2093
|
var header_build = () => { };
|
|
@@ -2090,15 +2097,15 @@
|
|
|
2090
2097
|
default: header_build
|
|
2091
2098
|
});
|
|
2092
2099
|
|
|
2093
|
-
const tagName$
|
|
2094
|
-
const idGen$
|
|
2100
|
+
const tagName$i = 'aside';
|
|
2101
|
+
const idGen$4 = new core.IDGenerator('wm_left_panel');
|
|
2095
2102
|
transpiler.register('wm-left-panel', () => {
|
|
2096
2103
|
return {
|
|
2097
2104
|
pre: (attrs) => {
|
|
2098
|
-
const counter = idGen$
|
|
2099
|
-
return `<${tagName$
|
|
2105
|
+
const counter = idGen$4.nextUid();
|
|
2106
|
+
return `<${tagName$i} wmLeftPanel #${counter}="wmLeftPanel" partialContainer data-role="page-left-panel" [attr.aria-label]="${counter}.arialabel || 'Left navigation panel'" wmSmoothscroll="${attrs.get('smoothscroll') || 'false'}" ${transpiler.getAttrMarkup(attrs)}>`;
|
|
2100
2107
|
},
|
|
2101
|
-
post: () => `</${tagName$
|
|
2108
|
+
post: () => `</${tagName$i}>`
|
|
2102
2109
|
};
|
|
2103
2110
|
});
|
|
2104
2111
|
var leftPanel_build = () => { };
|
|
@@ -2108,11 +2115,11 @@
|
|
|
2108
2115
|
default: leftPanel_build
|
|
2109
2116
|
});
|
|
2110
2117
|
|
|
2111
|
-
const tagName$
|
|
2118
|
+
const tagName$h = 'header';
|
|
2112
2119
|
transpiler.register('wm-mobile-navbar', () => {
|
|
2113
2120
|
return {
|
|
2114
|
-
pre: attrs => `<${tagName$
|
|
2115
|
-
post: () => `</${tagName$
|
|
2121
|
+
pre: attrs => `<${tagName$h} wmMobileNavbar ${transpiler.getAttrMarkup(attrs)}>`,
|
|
2122
|
+
post: () => `</${tagName$h}>`
|
|
2116
2123
|
};
|
|
2117
2124
|
});
|
|
2118
2125
|
var mobileNavbar_build = () => { };
|
|
@@ -2122,15 +2129,15 @@
|
|
|
2122
2129
|
default: mobileNavbar_build
|
|
2123
2130
|
});
|
|
2124
2131
|
|
|
2125
|
-
const tagName$
|
|
2126
|
-
const idGen$
|
|
2132
|
+
const tagName$g = 'aside';
|
|
2133
|
+
const idGen$3 = new core.IDGenerator('wm_right_panel');
|
|
2127
2134
|
transpiler.register('wm-right-panel', () => {
|
|
2128
2135
|
return {
|
|
2129
2136
|
pre: (attrs) => {
|
|
2130
|
-
const counter = idGen$
|
|
2131
|
-
return `<${tagName$
|
|
2137
|
+
const counter = idGen$3.nextUid();
|
|
2138
|
+
return `<${tagName$g} wmRightPanel #${counter}="wmRightPanel" partialContainer data-role="page-right-panel" role="complementary" [attr.aria-label]="${counter}.arialabel || 'Right navigation panel'" ${transpiler.getAttrMarkup(attrs)}>`;
|
|
2132
2139
|
},
|
|
2133
|
-
post: () => `</${tagName$
|
|
2140
|
+
post: () => `</${tagName$g}>`
|
|
2134
2141
|
};
|
|
2135
2142
|
});
|
|
2136
2143
|
var rightPanel_build = () => { };
|
|
@@ -2140,22 +2147,22 @@
|
|
|
2140
2147
|
default: rightPanel_build
|
|
2141
2148
|
});
|
|
2142
2149
|
|
|
2143
|
-
const tagName$
|
|
2144
|
-
const createElement$
|
|
2145
|
-
return new compiler.Element(name, [], [], noSpan$
|
|
2150
|
+
const tagName$f = 'div';
|
|
2151
|
+
const createElement$2 = name => {
|
|
2152
|
+
return new compiler.Element(name, [], [], noSpan$2, noSpan$2, noSpan$2);
|
|
2146
2153
|
};
|
|
2147
|
-
const addAtrribute$
|
|
2148
|
-
const attr = new compiler.Attribute(name, value, noSpan$
|
|
2154
|
+
const addAtrribute$2 = (node, name, value) => {
|
|
2155
|
+
const attr = new compiler.Attribute(name, value, noSpan$2, noSpan$2, noSpan$2, undefined, undefined);
|
|
2149
2156
|
node.attrs.push(attr);
|
|
2150
2157
|
};
|
|
2151
|
-
const noSpan$
|
|
2158
|
+
const noSpan$2 = {};
|
|
2152
2159
|
transpiler.register('wm-page-content', () => {
|
|
2153
2160
|
return {
|
|
2154
2161
|
template: (node) => {
|
|
2155
2162
|
for (let attr of node.attrs) {
|
|
2156
2163
|
if (attr.name === 'spa' && attr.value === 'true') {
|
|
2157
|
-
const conditionalNode = createElement$
|
|
2158
|
-
addAtrribute$
|
|
2164
|
+
const conditionalNode = createElement$2('ng-container');
|
|
2165
|
+
addAtrribute$2(conditionalNode, '*ngIf', 'compilePageContent');
|
|
2159
2166
|
conditionalNode.children = conditionalNode.children.concat(node.children);
|
|
2160
2167
|
conditionalNode.children.push(new compiler.Text('{{onPageContentReady()}}', null, undefined, undefined));
|
|
2161
2168
|
node.children = [conditionalNode];
|
|
@@ -2163,8 +2170,8 @@
|
|
|
2163
2170
|
}
|
|
2164
2171
|
}
|
|
2165
2172
|
},
|
|
2166
|
-
pre: attrs => `<${tagName$
|
|
2167
|
-
post: () => `</${tagName$
|
|
2173
|
+
pre: attrs => `<${tagName$f} wmPageContent ${attrs.get('spa') && 'wmSpaPage' || ''} wmSmoothscroll="${attrs.get('smoothscroll') || 'false'}" ${transpiler.getAttrMarkup(attrs)}>`,
|
|
2174
|
+
post: () => `</${tagName$f}>`
|
|
2168
2175
|
};
|
|
2169
2176
|
});
|
|
2170
2177
|
var pageContent_build = () => { };
|
|
@@ -2174,11 +2181,11 @@
|
|
|
2174
2181
|
default: pageContent_build
|
|
2175
2182
|
});
|
|
2176
2183
|
|
|
2177
|
-
const tagName$
|
|
2184
|
+
const tagName$e = 'div';
|
|
2178
2185
|
transpiler.register('wm-mobile-tabbar', () => {
|
|
2179
2186
|
return {
|
|
2180
|
-
pre: attrs => `<${tagName$
|
|
2181
|
-
post: () => `</${tagName$
|
|
2187
|
+
pre: attrs => `<${tagName$e} wmMobileTabbar ${transpiler.getAttrMarkup(attrs)}>`,
|
|
2188
|
+
post: () => `</${tagName$e}>`
|
|
2182
2189
|
};
|
|
2183
2190
|
});
|
|
2184
2191
|
var tabBar_build = () => { };
|
|
@@ -2188,15 +2195,15 @@
|
|
|
2188
2195
|
default: tabBar_build
|
|
2189
2196
|
});
|
|
2190
2197
|
|
|
2191
|
-
const tagName$
|
|
2192
|
-
const idGen$
|
|
2198
|
+
const tagName$d = 'section';
|
|
2199
|
+
const idGen$2 = new core.IDGenerator('wm_top_nav');
|
|
2193
2200
|
transpiler.register('wm-top-nav', () => {
|
|
2194
2201
|
return {
|
|
2195
2202
|
pre: (attrs) => {
|
|
2196
|
-
const counter = idGen$
|
|
2197
|
-
return `<${tagName$
|
|
2203
|
+
const counter = idGen$2.nextUid();
|
|
2204
|
+
return `<${tagName$d} wmTopNav #${counter}="wmTopNav" partialContainer data-role="page-topnav" role="navigation" [attr.aria-label]="${counter}.arialabel || 'Second level navigation'" ${transpiler.getAttrMarkup(attrs)}>`;
|
|
2198
2205
|
},
|
|
2199
|
-
post: () => `</${tagName$
|
|
2206
|
+
post: () => `</${tagName$d}>`
|
|
2200
2207
|
};
|
|
2201
2208
|
});
|
|
2202
2209
|
var topNav_build = () => { };
|
|
@@ -2206,26 +2213,26 @@
|
|
|
2206
2213
|
default: topNav_build
|
|
2207
2214
|
});
|
|
2208
2215
|
|
|
2209
|
-
const tagName$
|
|
2210
|
-
const noSpan$
|
|
2211
|
-
const createElement$
|
|
2212
|
-
return new compiler.Element(name, [], [], noSpan$
|
|
2216
|
+
const tagName$c = 'section';
|
|
2217
|
+
const noSpan$1 = {};
|
|
2218
|
+
const createElement$1 = name => {
|
|
2219
|
+
return new compiler.Element(name, [], [], noSpan$1, noSpan$1, noSpan$1);
|
|
2213
2220
|
};
|
|
2214
|
-
const addAtrribute$
|
|
2215
|
-
const attr = new compiler.Attribute(name, value, noSpan$
|
|
2221
|
+
const addAtrribute$1 = (node, name, value) => {
|
|
2222
|
+
const attr = new compiler.Attribute(name, value, noSpan$1, noSpan$1, noSpan$1, undefined, undefined);
|
|
2216
2223
|
node.attrs.push(attr);
|
|
2217
2224
|
};
|
|
2218
2225
|
transpiler.register('wm-partial', () => {
|
|
2219
2226
|
return {
|
|
2220
2227
|
template: (node) => {
|
|
2221
|
-
const conditionalNode = createElement$
|
|
2222
|
-
addAtrribute$
|
|
2228
|
+
const conditionalNode = createElement$1('ng-container');
|
|
2229
|
+
addAtrribute$1(conditionalNode, '*ngIf', 'compileContent');
|
|
2223
2230
|
conditionalNode.children = conditionalNode.children.concat(node.children);
|
|
2224
2231
|
node.children.length = 0;
|
|
2225
2232
|
node.children.push(conditionalNode);
|
|
2226
2233
|
},
|
|
2227
|
-
pre: attrs => `<${tagName$
|
|
2228
|
-
post: () => `</${tagName$
|
|
2234
|
+
pre: attrs => `<${tagName$c} wmPartial data-role="partial" ${transpiler.getAttrMarkup(attrs)}>`,
|
|
2235
|
+
post: () => `</${tagName$c}>`
|
|
2229
2236
|
};
|
|
2230
2237
|
});
|
|
2231
2238
|
var partial_build = () => { };
|
|
@@ -2235,11 +2242,11 @@
|
|
|
2235
2242
|
default: partial_build
|
|
2236
2243
|
});
|
|
2237
2244
|
|
|
2238
|
-
const tagName$
|
|
2245
|
+
const tagName$b = 'div';
|
|
2239
2246
|
transpiler.register('wm-param', () => {
|
|
2240
2247
|
return {
|
|
2241
|
-
pre: attrs => `<${tagName$
|
|
2242
|
-
post: () => `</${tagName$
|
|
2248
|
+
pre: attrs => `<${tagName$b} wmParam hidden ${transpiler.getAttrMarkup(attrs)}>`,
|
|
2249
|
+
post: () => `</${tagName$b}>`
|
|
2243
2250
|
};
|
|
2244
2251
|
});
|
|
2245
2252
|
var partialParam_build = () => { };
|
|
@@ -2249,11 +2256,11 @@
|
|
|
2249
2256
|
default: partialParam_build
|
|
2250
2257
|
});
|
|
2251
2258
|
|
|
2252
|
-
const tagName$
|
|
2259
|
+
const tagName$a = 'section';
|
|
2253
2260
|
transpiler.register('wm-prefab', () => {
|
|
2254
2261
|
return {
|
|
2255
|
-
pre: attrs => `<${tagName$
|
|
2256
|
-
post: () => `</${tagName$
|
|
2262
|
+
pre: attrs => `<${tagName$a} wmPrefab redrawable data-role="prefab" ${transpiler.getAttrMarkup(attrs)}>`,
|
|
2263
|
+
post: () => `</${tagName$a}>`
|
|
2257
2264
|
};
|
|
2258
2265
|
});
|
|
2259
2266
|
var prefab_build = () => { };
|
|
@@ -2263,26 +2270,26 @@
|
|
|
2263
2270
|
default: prefab_build
|
|
2264
2271
|
});
|
|
2265
2272
|
|
|
2266
|
-
const noSpan
|
|
2267
|
-
const createElement
|
|
2268
|
-
return new compiler.Element(name, [], [], noSpan
|
|
2273
|
+
const noSpan = {};
|
|
2274
|
+
const createElement = name => {
|
|
2275
|
+
return new compiler.Element(name, [], [], noSpan, noSpan, noSpan);
|
|
2269
2276
|
};
|
|
2270
|
-
const addAtrribute
|
|
2271
|
-
const attr = new compiler.Attribute(name, value, noSpan
|
|
2277
|
+
const addAtrribute = (node, name, value) => {
|
|
2278
|
+
const attr = new compiler.Attribute(name, value, noSpan, noSpan, noSpan, undefined, undefined);
|
|
2272
2279
|
node.attrs.push(attr);
|
|
2273
2280
|
};
|
|
2274
|
-
const tagName$
|
|
2281
|
+
const tagName$9 = 'div';
|
|
2275
2282
|
transpiler.register('wm-prefab-container', () => {
|
|
2276
2283
|
return {
|
|
2277
2284
|
template: (node) => {
|
|
2278
|
-
const conditionalNode = createElement
|
|
2279
|
-
addAtrribute
|
|
2285
|
+
const conditionalNode = createElement('ng-container');
|
|
2286
|
+
addAtrribute(conditionalNode, '*ngIf', 'compileContent');
|
|
2280
2287
|
conditionalNode.children = conditionalNode.children.concat(node.children);
|
|
2281
2288
|
node.children.length = 0;
|
|
2282
2289
|
node.children.push(conditionalNode);
|
|
2283
2290
|
},
|
|
2284
|
-
pre: attrs => `<${tagName$
|
|
2285
|
-
post: () => `</${tagName$
|
|
2291
|
+
pre: attrs => `<${tagName$9} wmPrefabContainer ${transpiler.getAttrMarkup(attrs)}>`,
|
|
2292
|
+
post: () => `</${tagName$9}>`
|
|
2286
2293
|
};
|
|
2287
2294
|
});
|
|
2288
2295
|
var prefabContainer_build = () => { };
|
|
@@ -2292,11 +2299,11 @@
|
|
|
2292
2299
|
default: prefabContainer_build
|
|
2293
2300
|
});
|
|
2294
2301
|
|
|
2295
|
-
const tagName$
|
|
2302
|
+
const tagName$8 = 'div';
|
|
2296
2303
|
transpiler.register('wm-table-action', () => {
|
|
2297
2304
|
return {
|
|
2298
|
-
pre: attrs => `<${tagName$
|
|
2299
|
-
post: () => `</${tagName$
|
|
2305
|
+
pre: attrs => `<${tagName$8} name="${attrs.get('name') || attrs.get('key')}" wmTableAction ${transpiler.getAttrMarkup(attrs)}>`,
|
|
2306
|
+
post: () => `</${tagName$8}>`
|
|
2300
2307
|
};
|
|
2301
2308
|
});
|
|
2302
2309
|
var tableAction_build = () => { };
|
|
@@ -2306,11 +2313,11 @@
|
|
|
2306
2313
|
default: tableAction_build
|
|
2307
2314
|
});
|
|
2308
2315
|
|
|
2309
|
-
const tagName$
|
|
2316
|
+
const tagName$7 = 'div';
|
|
2310
2317
|
transpiler.register('wm-table-column-group', () => {
|
|
2311
2318
|
return {
|
|
2312
|
-
pre: attrs => `<${tagName$
|
|
2313
|
-
post: () => `</${tagName$
|
|
2319
|
+
pre: attrs => `<${tagName$7} wmTableColumnGroup ${transpiler.getAttrMarkup(attrs)}>`,
|
|
2320
|
+
post: () => `</${tagName$7}>`
|
|
2314
2321
|
};
|
|
2315
2322
|
});
|
|
2316
2323
|
var tableColumnGroup_build = () => { };
|
|
@@ -2320,8 +2327,8 @@
|
|
|
2320
2327
|
default: tableColumnGroup_build
|
|
2321
2328
|
});
|
|
2322
2329
|
|
|
2323
|
-
const tagName$
|
|
2324
|
-
const idGen$
|
|
2330
|
+
const tagName$6 = 'div';
|
|
2331
|
+
const idGen$1 = new core.IDGenerator('data_table_form_');
|
|
2325
2332
|
const formWidgets = new Set([
|
|
2326
2333
|
'wm-text',
|
|
2327
2334
|
'wm-textarea',
|
|
@@ -2433,7 +2440,7 @@
|
|
|
2433
2440
|
let wmFormWidget = '';
|
|
2434
2441
|
if (widget === core.FormWidgetType.UPLOAD) {
|
|
2435
2442
|
options.uploadProps = {
|
|
2436
|
-
formName: idGen$
|
|
2443
|
+
formName: idGen$1.nextUid(),
|
|
2437
2444
|
name: fieldName
|
|
2438
2445
|
};
|
|
2439
2446
|
options.counter = pCounter;
|
|
@@ -2573,7 +2580,7 @@
|
|
|
2573
2580
|
customExprTmpl = `${customExpr}<div data-col-identifier="${attrs.get('binding')}" title="${formatExprTmpl}">${formatExprTmpl}`;
|
|
2574
2581
|
}
|
|
2575
2582
|
}
|
|
2576
|
-
return `<${tagName$
|
|
2583
|
+
return `<${tagName$6} wmTableColumn ${transpiler.getAttrMarkup(attrs)} ${parentForm}>
|
|
2577
2584
|
${rowFilterTmpl}
|
|
2578
2585
|
${inlineEditTmpl}
|
|
2579
2586
|
${inlineNewEditTmpl}
|
|
@@ -2584,7 +2591,7 @@
|
|
|
2584
2591
|
if (shared.get('customExpression')) {
|
|
2585
2592
|
customExprTmpl = `</div></ng-template>`;
|
|
2586
2593
|
}
|
|
2587
|
-
return `${customExprTmpl}</${tagName$
|
|
2594
|
+
return `${customExprTmpl}</${tagName$6}>`;
|
|
2588
2595
|
},
|
|
2589
2596
|
imports: (attrs) => {
|
|
2590
2597
|
const editWidgetType = attrs.get('edit-widget-type');
|
|
@@ -2600,7 +2607,7 @@
|
|
|
2600
2607
|
default: tableColumn_build
|
|
2601
2608
|
});
|
|
2602
2609
|
|
|
2603
|
-
const tagName$
|
|
2610
|
+
const tagName$5 = 'div';
|
|
2604
2611
|
const getRowExpansionActionTmpl = (attrs) => {
|
|
2605
2612
|
const tag = attrs.get('widget-type') === 'anchor' ? 'a' : 'button';
|
|
2606
2613
|
const directive = attrs.get('widget-type') === 'anchor' ? 'wmAnchor' : 'wmButton';
|
|
@@ -2616,7 +2623,7 @@
|
|
|
2616
2623
|
transpiler.register('wm-table-row', () => {
|
|
2617
2624
|
return {
|
|
2618
2625
|
pre: (attrs) => {
|
|
2619
|
-
return `<${tagName$
|
|
2626
|
+
return `<${tagName$5} wmTableRow ${transpiler.getAttrMarkup(attrs)}>
|
|
2620
2627
|
${getRowExpansionActionTmpl(attrs)}
|
|
2621
2628
|
<ng-template #rowExpansionTmpl let-row="row" let-rowDef="rowDef" let-containerLoad="containerLoad">
|
|
2622
2629
|
<div wmContainer partialContainer content.bind="rowDef.content" load.event="containerLoad(widget)"
|
|
@@ -2624,7 +2631,7 @@
|
|
|
2624
2631
|
<div *ngFor="let param of rowDef.partialParams | keyvalue" wmParam hidden
|
|
2625
2632
|
[name]="param.key" [value]="param.value"></div>`;
|
|
2626
2633
|
},
|
|
2627
|
-
post: () => `</div></ng-template></${tagName$
|
|
2634
|
+
post: () => `</div></ng-template></${tagName$5}>`
|
|
2628
2635
|
};
|
|
2629
2636
|
});
|
|
2630
2637
|
var tableRow_build = () => { };
|
|
@@ -2634,7 +2641,7 @@
|
|
|
2634
2641
|
default: tableRow_build
|
|
2635
2642
|
});
|
|
2636
2643
|
|
|
2637
|
-
const tagName$
|
|
2644
|
+
const tagName$4 = 'div';
|
|
2638
2645
|
const getSaveCancelTemplate = () => {
|
|
2639
2646
|
return `<button type="button" aria-label="Save edit icon" class="save row-action-button btn app-button btn-transparent save-edit-row-button hidden" title="Save">
|
|
2640
2647
|
<i class="wi wi-done" aria-hidden="true"></i>
|
|
@@ -2666,9 +2673,9 @@
|
|
|
2666
2673
|
};
|
|
2667
2674
|
transpiler.register('wm-table-row-action', () => {
|
|
2668
2675
|
return {
|
|
2669
|
-
pre: attrs => `<${tagName$
|
|
2676
|
+
pre: attrs => `<${tagName$4} wmTableRowAction ${transpiler.getAttrMarkup(attrs)}>
|
|
2670
2677
|
${getRowActionTmpl(attrs)}`,
|
|
2671
|
-
post: () => `</${tagName$
|
|
2678
|
+
post: () => `</${tagName$4}>`
|
|
2672
2679
|
};
|
|
2673
2680
|
});
|
|
2674
2681
|
var tableRowAction_build = () => { };
|
|
@@ -2678,9 +2685,9 @@
|
|
|
2678
2685
|
default: tableRowAction_build
|
|
2679
2686
|
});
|
|
2680
2687
|
|
|
2681
|
-
const tagName$
|
|
2688
|
+
const tagName$3 = 'div';
|
|
2682
2689
|
const dataSetKey = 'dataset';
|
|
2683
|
-
const idGen
|
|
2690
|
+
const idGen = new core.IDGenerator('table_');
|
|
2684
2691
|
let columnIndex = 0;
|
|
2685
2692
|
/**
|
|
2686
2693
|
* This method assigns index to the table-column and column-groups in order to the maintain the columns in the same order
|
|
@@ -2740,14 +2747,14 @@
|
|
|
2740
2747
|
core.updateTemplateAttrs(node, boundExpr, widgetNameAttr.value, '', 'row');
|
|
2741
2748
|
},
|
|
2742
2749
|
pre: (attrs, shared) => {
|
|
2743
|
-
const counter = idGen
|
|
2750
|
+
const counter = idGen.nextUid();
|
|
2744
2751
|
shared.set('counter', counter);
|
|
2745
2752
|
attrs.set('isdynamictable', shared.get('isdynamictable'));
|
|
2746
2753
|
attrs.set('isrowexpansionenabled', shared.get('isrowexpansionenabled'));
|
|
2747
2754
|
attrs.set('table_reference', counter);
|
|
2748
|
-
return `<${tagName$
|
|
2755
|
+
return `<${tagName$3} wmTable="${counter}" wmTableFilterSort wmTableCUD #${counter} data-identifier="table" ${transpiler.getAttrMarkup(attrs)}>`;
|
|
2749
2756
|
},
|
|
2750
|
-
post: () => `</${tagName$
|
|
2757
|
+
post: () => `</${tagName$3}>`,
|
|
2751
2758
|
provide: (attrs, shared) => {
|
|
2752
2759
|
const provider = new Map();
|
|
2753
2760
|
provider.set('table_reference', shared.get('counter'));
|
|
@@ -2766,11 +2773,11 @@
|
|
|
2766
2773
|
default: table_build
|
|
2767
2774
|
});
|
|
2768
2775
|
|
|
2769
|
-
const tagName$
|
|
2776
|
+
const tagName$2 = 'div';
|
|
2770
2777
|
transpiler.register('wm-video', () => {
|
|
2771
2778
|
return {
|
|
2772
|
-
pre: attrs => `<${tagName$
|
|
2773
|
-
post: () => `</${tagName$
|
|
2779
|
+
pre: attrs => `<${tagName$2} wmVideo ${transpiler.getAttrMarkup(attrs)}>`,
|
|
2780
|
+
post: () => `</${tagName$2}>`
|
|
2774
2781
|
};
|
|
2775
2782
|
});
|
|
2776
2783
|
var video_build = () => { };
|
|
@@ -2780,7 +2787,7 @@
|
|
|
2780
2787
|
default: video_build
|
|
2781
2788
|
});
|
|
2782
2789
|
|
|
2783
|
-
const tagName$
|
|
2790
|
+
const tagName$1 = 'div';
|
|
2784
2791
|
const SPACING_KEY = 'parentLinearLayout.spacing';
|
|
2785
2792
|
transpiler.register('wm-linearlayout', () => {
|
|
2786
2793
|
return {
|
|
@@ -2788,9 +2795,9 @@
|
|
|
2788
2795
|
pre: (attrs, shared, provider) => {
|
|
2789
2796
|
let spacing = attrs.get('spacing');
|
|
2790
2797
|
attrs.set('spacing', (!spacing || spacing === '0') && provider ? provider.get(SPACING_KEY) : spacing);
|
|
2791
|
-
return `<${tagName$
|
|
2798
|
+
return `<${tagName$1} wmLinearLayout ${transpiler.getAttrMarkup(attrs)}>`;
|
|
2792
2799
|
},
|
|
2793
|
-
post: () => `</${tagName$
|
|
2800
|
+
post: () => `</${tagName$1}>`,
|
|
2794
2801
|
provide: (attrs, shared) => {
|
|
2795
2802
|
const provider = new Map();
|
|
2796
2803
|
provider.set(SPACING_KEY, attrs.get('spacing'));
|
|
@@ -2805,11 +2812,11 @@
|
|
|
2805
2812
|
default: linearLayout_build
|
|
2806
2813
|
});
|
|
2807
2814
|
|
|
2808
|
-
const tagName
|
|
2815
|
+
const tagName = 'div';
|
|
2809
2816
|
transpiler.register('wm-linearlayoutitem', () => {
|
|
2810
2817
|
return {
|
|
2811
|
-
pre: attrs => `<${tagName
|
|
2812
|
-
post: () => `</${tagName
|
|
2818
|
+
pre: attrs => `<${tagName} wmLinearLayoutItem ${transpiler.getAttrMarkup(attrs)}>`,
|
|
2819
|
+
post: () => `</${tagName}>`
|
|
2813
2820
|
};
|
|
2814
2821
|
});
|
|
2815
2822
|
var linearLayoutItem_build = () => { };
|
|
@@ -2819,49 +2826,6 @@
|
|
|
2819
2826
|
default: linearLayoutItem_build
|
|
2820
2827
|
});
|
|
2821
2828
|
|
|
2822
|
-
const tagName$1 = 'div';
|
|
2823
|
-
const idGen = new core.IDGenerator('wm_custom_widget');
|
|
2824
|
-
transpiler.register('wm-custom-widget', () => {
|
|
2825
|
-
return {
|
|
2826
|
-
pre: (attrs) => {
|
|
2827
|
-
const counter = idGen.nextUid();
|
|
2828
|
-
return `<${tagName$1} wmWidgetContainer customWidgetContainer #${counter}="wmWidgetContainer" ${transpiler.getAttrMarkup(attrs)}>`;
|
|
2829
|
-
},
|
|
2830
|
-
post: () => `</${tagName$1}>`
|
|
2831
|
-
};
|
|
2832
|
-
});
|
|
2833
|
-
var customWidgetContainer_build = () => { };
|
|
2834
|
-
|
|
2835
|
-
var customWidgetContainer_build$1 = /*#__PURE__*/Object.freeze({
|
|
2836
|
-
__proto__: null,
|
|
2837
|
-
default: customWidgetContainer_build
|
|
2838
|
-
});
|
|
2839
|
-
|
|
2840
|
-
const tagName = 'section';
|
|
2841
|
-
const noSpan = {};
|
|
2842
|
-
const createElement = name => {
|
|
2843
|
-
return new compiler.Element(name, [], [], noSpan, noSpan, noSpan);
|
|
2844
|
-
};
|
|
2845
|
-
transpiler.register('wm-custom-widget-container', () => {
|
|
2846
|
-
return {
|
|
2847
|
-
template: (node) => {
|
|
2848
|
-
const conditionalNode = createElement('ng-container');
|
|
2849
|
-
// addAtrribute(conditionalNode, '*ngIf', 'compileContent');
|
|
2850
|
-
conditionalNode.children = conditionalNode.children.concat(node.children);
|
|
2851
|
-
node.children.length = 0;
|
|
2852
|
-
node.children.push(conditionalNode);
|
|
2853
|
-
},
|
|
2854
|
-
pre: attrs => `<${tagName} wmCustomWidget data-role="widget" ${transpiler.getAttrMarkup(attrs)}>`,
|
|
2855
|
-
post: () => `</${tagName}>`
|
|
2856
|
-
};
|
|
2857
|
-
});
|
|
2858
|
-
var customWidgetWrapper_build = () => { };
|
|
2859
|
-
|
|
2860
|
-
var customWidgetWrapper_build$1 = /*#__PURE__*/Object.freeze({
|
|
2861
|
-
__proto__: null,
|
|
2862
|
-
default: customWidgetWrapper_build
|
|
2863
|
-
});
|
|
2864
|
-
|
|
2865
2829
|
const initComponentsBuildTask = () => { };
|
|
2866
2830
|
|
|
2867
2831
|
exports.accordionBuild = accordion_build$1;
|
|
@@ -2891,8 +2855,6 @@
|
|
|
2891
2855
|
exports.containerBuild = container_build$1;
|
|
2892
2856
|
exports.contentBuild = content_build$1;
|
|
2893
2857
|
exports.currencyBuild = currency_build$1;
|
|
2894
|
-
exports.customWidgetBuild = customWidgetContainer_build$1;
|
|
2895
|
-
exports.customWidgetWrapperBuild = customWidgetWrapper_build$1;
|
|
2896
2858
|
exports.dateBuild = date_build$1;
|
|
2897
2859
|
exports.dateTimeBuild = dateTime_build$1;
|
|
2898
2860
|
exports.dlgBuild = dialog_build$1;
|