@wavemaker/app-ng-runtime 11.4.1-next.141653 → 11.4.1-next.141654
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/components/advanced/carousel/bundles/index.umd.js +12 -23
- app-ng-runtime/components/advanced/carousel/carousel-template/carousel-template.directive.d.ts +2 -4
- app-ng-runtime/components/advanced/carousel/carousel.directive.d.ts +2 -4
- app-ng-runtime/components/advanced/carousel/esm2020/carousel-template/carousel-template.directive.mjs +6 -11
- app-ng-runtime/components/advanced/carousel/esm2020/carousel.directive.mjs +6 -11
- app-ng-runtime/components/advanced/carousel/fesm2015/index.mjs +9 -20
- app-ng-runtime/components/advanced/carousel/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/advanced/carousel/fesm2020/index.mjs +9 -16
- app-ng-runtime/components/advanced/carousel/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/advanced/login/bundles/index.umd.js +21 -27
- app-ng-runtime/components/advanced/login/esm2020/login.component.mjs +8 -13
- app-ng-runtime/components/advanced/login/fesm2015/index.mjs +7 -13
- app-ng-runtime/components/advanced/login/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/advanced/login/fesm2020/index.mjs +7 -11
- app-ng-runtime/components/advanced/login/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/advanced/login/login.component.d.ts +2 -4
- app-ng-runtime/components/advanced/marquee/bundles/index.umd.js +8 -14
- app-ng-runtime/components/advanced/marquee/esm2020/marquee.directive.mjs +6 -11
- app-ng-runtime/components/advanced/marquee/fesm2015/index.mjs +5 -11
- app-ng-runtime/components/advanced/marquee/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/advanced/marquee/fesm2020/index.mjs +5 -9
- app-ng-runtime/components/advanced/marquee/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/advanced/marquee/marquee.directive.d.ts +2 -4
- app-ng-runtime/components/base/bundles/index.umd.js +31 -61
- app-ng-runtime/components/base/esm2020/widgets/common/base/base-container.component.mjs +4 -6
- app-ng-runtime/components/base/esm2020/widgets/common/base/base.component.mjs +5 -6
- app-ng-runtime/components/base/esm2020/widgets/common/base/dataset-aware-nav.component.mjs +3 -3
- app-ng-runtime/components/base/esm2020/widgets/common/container/container.directive.mjs +7 -11
- app-ng-runtime/components/base/esm2020/widgets/common/item-template/item-template.directive.mjs +7 -10
- app-ng-runtime/components/base/esm2020/widgets/common/lazy-load/lazy-load.directive.mjs +6 -10
- app-ng-runtime/components/base/esm2020/widgets/common/message/message.component.mjs +7 -11
- app-ng-runtime/components/base/esm2020/widgets/common/partial/partial.directive.mjs +7 -10
- app-ng-runtime/components/base/esm2020/widgets/common/repeat-template/repeat-template.directive.mjs +6 -11
- app-ng-runtime/components/base/fesm2015/index.mjs +32 -62
- app-ng-runtime/components/base/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/base/fesm2020/index.mjs +32 -50
- app-ng-runtime/components/base/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/base/widgets/common/base/base-container.component.d.ts +1 -2
- app-ng-runtime/components/base/widgets/common/base/base.component.d.ts +2 -3
- app-ng-runtime/components/base/widgets/common/base/dataset-aware-nav.component.d.ts +1 -2
- app-ng-runtime/components/base/widgets/common/container/container.directive.d.ts +2 -4
- app-ng-runtime/components/base/widgets/common/item-template/item-template.directive.d.ts +3 -4
- app-ng-runtime/components/base/widgets/common/lazy-load/lazy-load.directive.d.ts +2 -4
- app-ng-runtime/components/base/widgets/common/message/message.component.d.ts +2 -4
- app-ng-runtime/components/base/widgets/common/partial/partial.directive.d.ts +3 -4
- app-ng-runtime/components/base/widgets/common/repeat-template/repeat-template.directive.d.ts +2 -4
- app-ng-runtime/components/basic/default/anchor/anchor.component.d.ts +3 -4
- app-ng-runtime/components/basic/default/audio/audio.component.d.ts +2 -4
- app-ng-runtime/components/basic/default/bundles/index.umd.js +247 -290
- app-ng-runtime/components/basic/default/esm2020/anchor/anchor.component.mjs +7 -10
- app-ng-runtime/components/basic/default/esm2020/audio/audio.component.mjs +8 -13
- app-ng-runtime/components/basic/default/esm2020/html/html.directive.mjs +7 -11
- app-ng-runtime/components/basic/default/esm2020/icon/icon.component.mjs +9 -14
- app-ng-runtime/components/basic/default/esm2020/iframe/iframe.component.mjs +9 -13
- app-ng-runtime/components/basic/default/esm2020/label/label.directive.mjs +7 -11
- app-ng-runtime/components/basic/default/esm2020/picture/picture.directive.mjs +7 -11
- app-ng-runtime/components/basic/default/esm2020/spinner/spinner.component.mjs +9 -13
- app-ng-runtime/components/basic/default/esm2020/video/video.component.mjs +9 -13
- app-ng-runtime/components/basic/default/fesm2015/index.mjs +46 -89
- app-ng-runtime/components/basic/default/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/basic/default/fesm2020/index.mjs +46 -73
- app-ng-runtime/components/basic/default/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/basic/default/html/html.directive.d.ts +2 -4
- app-ng-runtime/components/basic/default/icon/icon.component.d.ts +2 -4
- app-ng-runtime/components/basic/default/iframe/iframe.component.d.ts +2 -4
- app-ng-runtime/components/basic/default/label/label.directive.d.ts +2 -4
- app-ng-runtime/components/basic/default/picture/picture.directive.d.ts +2 -4
- app-ng-runtime/components/basic/default/spinner/spinner.component.d.ts +2 -4
- app-ng-runtime/components/basic/default/video/video.component.d.ts +2 -4
- app-ng-runtime/components/basic/progress/bundles/index.umd.js +23 -32
- app-ng-runtime/components/basic/progress/esm2020/progress-bar/progress-bar.component.mjs +8 -12
- app-ng-runtime/components/basic/progress/esm2020/progress-circle/progress-circle.component.mjs +8 -13
- app-ng-runtime/components/basic/progress/fesm2015/index.mjs +12 -21
- app-ng-runtime/components/basic/progress/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/basic/progress/fesm2020/index.mjs +12 -19
- app-ng-runtime/components/basic/progress/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/basic/progress/progress-bar/progress-bar.component.d.ts +2 -4
- app-ng-runtime/components/basic/progress/progress-circle/progress-circle.component.d.ts +2 -4
- app-ng-runtime/components/basic/rich-text-editor/bundles/index.umd.js +14 -20
- app-ng-runtime/components/basic/rich-text-editor/esm2020/rich-text-editor.component.mjs +9 -13
- app-ng-runtime/components/basic/rich-text-editor/fesm2015/index.mjs +7 -13
- app-ng-runtime/components/basic/rich-text-editor/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/basic/rich-text-editor/fesm2020/index.mjs +7 -11
- app-ng-runtime/components/basic/rich-text-editor/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/basic/rich-text-editor/rich-text-editor.component.d.ts +2 -4
- app-ng-runtime/components/basic/search/bundles/index.umd.js +3 -6
- app-ng-runtime/components/basic/search/esm2020/search.component.mjs +6 -9
- app-ng-runtime/components/basic/search/fesm2015/index.mjs +4 -7
- app-ng-runtime/components/basic/search/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/basic/search/fesm2020/index.mjs +4 -7
- app-ng-runtime/components/basic/search/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/basic/search/search.component.d.ts +3 -4
- app-ng-runtime/components/chart/bundles/index.umd.js +4 -9
- app-ng-runtime/components/chart/chart.component.d.ts +3 -4
- app-ng-runtime/components/chart/esm2020/chart.component.mjs +7 -10
- app-ng-runtime/components/chart/fesm2015/index.mjs +5 -10
- app-ng-runtime/components/chart/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/chart/fesm2020/index.mjs +5 -8
- app-ng-runtime/components/chart/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/containers/accordion/accordion-pane/accordion-pane.component.d.ts +2 -4
- app-ng-runtime/components/containers/accordion/accordion.directive.d.ts +3 -4
- app-ng-runtime/components/containers/accordion/bundles/index.umd.js +56 -66
- app-ng-runtime/components/containers/accordion/esm2020/accordion-pane/accordion-pane.component.mjs +10 -14
- app-ng-runtime/components/containers/accordion/esm2020/accordion.directive.mjs +7 -10
- app-ng-runtime/components/containers/accordion/fesm2015/index.mjs +12 -22
- app-ng-runtime/components/containers/accordion/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/containers/accordion/fesm2020/index.mjs +12 -18
- app-ng-runtime/components/containers/accordion/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/containers/layout-grid/bundles/index.umd.js +12 -25
- app-ng-runtime/components/containers/layout-grid/esm2020/layout-grid-column/layout-grid-column.directive.mjs +7 -10
- app-ng-runtime/components/containers/layout-grid/esm2020/layout-grid-row/layout-grid-row.directive.mjs +6 -11
- app-ng-runtime/components/containers/layout-grid/esm2020/layout-grid.directive.mjs +6 -11
- app-ng-runtime/components/containers/layout-grid/fesm2015/index.mjs +13 -26
- app-ng-runtime/components/containers/layout-grid/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/containers/layout-grid/fesm2020/index.mjs +13 -22
- app-ng-runtime/components/containers/layout-grid/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/containers/layout-grid/layout-grid-column/layout-grid-column.directive.d.ts +3 -4
- app-ng-runtime/components/containers/layout-grid/layout-grid-row/layout-grid-row.directive.d.ts +2 -4
- app-ng-runtime/components/containers/layout-grid/layout-grid.directive.d.ts +2 -4
- app-ng-runtime/components/containers/linear-layout/bundles/index.umd.js +12 -23
- app-ng-runtime/components/containers/linear-layout/esm2020/linear-layout-item/linear-layout-item.directive.mjs +6 -11
- app-ng-runtime/components/containers/linear-layout/esm2020/linear-layout.directive.mjs +6 -11
- app-ng-runtime/components/containers/linear-layout/fesm2015/index.mjs +9 -20
- app-ng-runtime/components/containers/linear-layout/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/containers/linear-layout/fesm2020/index.mjs +9 -16
- app-ng-runtime/components/containers/linear-layout/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/containers/linear-layout/linear-layout-item/linear-layout-item.directive.d.ts +2 -4
- app-ng-runtime/components/containers/linear-layout/linear-layout.directive.d.ts +2 -4
- app-ng-runtime/components/containers/panel/bundles/index.umd.js +65 -71
- app-ng-runtime/components/containers/panel/esm2020/panel.component.mjs +12 -16
- app-ng-runtime/components/containers/panel/fesm2015/index.mjs +10 -16
- app-ng-runtime/components/containers/panel/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/containers/panel/fesm2020/index.mjs +10 -14
- app-ng-runtime/components/containers/panel/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/containers/panel/panel.component.d.ts +2 -4
- app-ng-runtime/components/containers/tabs/bundles/index.umd.js +57 -63
- app-ng-runtime/components/containers/tabs/esm2020/tab-pane/tab-pane.component.mjs +8 -12
- app-ng-runtime/components/containers/tabs/esm2020/tabs.component.mjs +7 -10
- app-ng-runtime/components/containers/tabs/fesm2015/index.mjs +12 -18
- app-ng-runtime/components/containers/tabs/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/containers/tabs/fesm2020/index.mjs +12 -18
- app-ng-runtime/components/containers/tabs/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/containers/tabs/tab-pane/tab-pane.component.d.ts +2 -4
- app-ng-runtime/components/containers/tabs/tabs.component.d.ts +3 -4
- app-ng-runtime/components/containers/tile/bundles/index.umd.js +8 -14
- app-ng-runtime/components/containers/tile/esm2020/tile.directive.mjs +6 -11
- app-ng-runtime/components/containers/tile/fesm2015/index.mjs +5 -11
- app-ng-runtime/components/containers/tile/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/containers/tile/fesm2020/index.mjs +5 -9
- app-ng-runtime/components/containers/tile/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/containers/tile/tile.directive.d.ts +2 -4
- app-ng-runtime/components/containers/wizard/bundles/index.umd.js +48 -57
- app-ng-runtime/components/containers/wizard/esm2020/wizard-step/wizard-step.directive.mjs +5 -10
- app-ng-runtime/components/containers/wizard/esm2020/wizard.component.mjs +10 -14
- app-ng-runtime/components/containers/wizard/fesm2015/index.mjs +11 -20
- app-ng-runtime/components/containers/wizard/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/containers/wizard/fesm2020/index.mjs +11 -18
- app-ng-runtime/components/containers/wizard/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/containers/wizard/wizard-step/wizard-step.directive.d.ts +2 -4
- app-ng-runtime/components/containers/wizard/wizard.component.d.ts +2 -4
- app-ng-runtime/components/data/card/bundles/index.umd.js +83 -106
- app-ng-runtime/components/data/card/card-actions/card-actions.directive.d.ts +2 -4
- app-ng-runtime/components/data/card/card-content/card-content.component.d.ts +2 -4
- app-ng-runtime/components/data/card/card-footer/card-footer.directive.d.ts +2 -4
- app-ng-runtime/components/data/card/card.component.d.ts +2 -4
- app-ng-runtime/components/data/card/esm2020/card-actions/card-actions.directive.mjs +6 -11
- app-ng-runtime/components/data/card/esm2020/card-content/card-content.component.mjs +6 -11
- app-ng-runtime/components/data/card/esm2020/card-footer/card-footer.directive.mjs +6 -11
- app-ng-runtime/components/data/card/esm2020/card.component.mjs +12 -18
- app-ng-runtime/components/data/card/fesm2015/index.mjs +23 -46
- app-ng-runtime/components/data/card/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/data/card/fesm2020/index.mjs +23 -38
- app-ng-runtime/components/data/card/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/data/form/bundles/index.umd.js +128 -137
- app-ng-runtime/components/data/form/esm2020/form-action/form-action.directive.mjs +4 -9
- app-ng-runtime/components/data/form/esm2020/form-field/form-field.directive.mjs +5 -8
- app-ng-runtime/components/data/form/esm2020/form.component.mjs +5 -8
- app-ng-runtime/components/data/form/fesm2015/index.mjs +20 -29
- app-ng-runtime/components/data/form/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/data/form/fesm2020/index.mjs +20 -29
- app-ng-runtime/components/data/form/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/data/form/form-action/form-action.directive.d.ts +2 -4
- app-ng-runtime/components/data/form/form-field/form-field.directive.d.ts +3 -4
- app-ng-runtime/components/data/form/form.component.d.ts +3 -4
- app-ng-runtime/components/data/list/bundles/index.umd.js +4 -7
- app-ng-runtime/components/data/list/esm2020/list.component.mjs +7 -10
- app-ng-runtime/components/data/list/fesm2015/index.mjs +4 -7
- app-ng-runtime/components/data/list/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/data/list/fesm2020/index.mjs +4 -7
- app-ng-runtime/components/data/list/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/data/list/list.component.d.ts +3 -4
- app-ng-runtime/components/data/live-table/bundles/index.umd.js +3 -6
- app-ng-runtime/components/data/live-table/esm2020/live-table.component.mjs +6 -9
- app-ng-runtime/components/data/live-table/fesm2015/index.mjs +4 -7
- app-ng-runtime/components/data/live-table/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/data/live-table/fesm2020/index.mjs +4 -7
- app-ng-runtime/components/data/live-table/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/data/live-table/live-table.component.d.ts +3 -4
- app-ng-runtime/components/data/pagination/bundles/index.umd.js +30 -34
- app-ng-runtime/components/data/pagination/esm2020/pagination.component.mjs +10 -14
- app-ng-runtime/components/data/pagination/fesm2015/index.mjs +8 -12
- app-ng-runtime/components/data/pagination/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/data/pagination/fesm2020/index.mjs +8 -12
- app-ng-runtime/components/data/pagination/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/data/pagination/pagination.component.d.ts +2 -4
- app-ng-runtime/components/data/table/bundles/index.umd.js +19 -37
- app-ng-runtime/components/data/table/esm2020/table-action/table-action.directive.mjs +4 -9
- app-ng-runtime/components/data/table/esm2020/table-column/table-column.directive.mjs +5 -8
- app-ng-runtime/components/data/table/esm2020/table-column-group/table-column-group.directive.mjs +4 -9
- app-ng-runtime/components/data/table/esm2020/table-row/table-row.directive.mjs +4 -9
- app-ng-runtime/components/data/table/esm2020/table-row-action/table-row-action.directive.mjs +4 -9
- app-ng-runtime/components/data/table/esm2020/table.component.mjs +6 -9
- app-ng-runtime/components/data/table/fesm2015/index.mjs +19 -37
- app-ng-runtime/components/data/table/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/data/table/fesm2020/index.mjs +19 -37
- app-ng-runtime/components/data/table/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/data/table/table-action/table-action.directive.d.ts +2 -4
- app-ng-runtime/components/data/table/table-column/table-column.directive.d.ts +3 -4
- app-ng-runtime/components/data/table/table-column-group/table-column-group.directive.d.ts +2 -4
- app-ng-runtime/components/data/table/table-row/table-row.directive.d.ts +2 -4
- app-ng-runtime/components/data/table/table-row-action/table-row-action.directive.d.ts +2 -4
- app-ng-runtime/components/data/table/table.component.d.ts +3 -4
- app-ng-runtime/components/dialogs/alert-dialog/alert-dialog.component.d.ts +2 -4
- app-ng-runtime/components/dialogs/alert-dialog/bundles/index.umd.js +40 -46
- app-ng-runtime/components/dialogs/alert-dialog/esm2020/alert-dialog.component.mjs +9 -15
- app-ng-runtime/components/dialogs/alert-dialog/fesm2015/index.mjs +8 -14
- app-ng-runtime/components/dialogs/alert-dialog/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/alert-dialog/fesm2020/index.mjs +8 -14
- app-ng-runtime/components/dialogs/alert-dialog/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/confirm-dialog/bundles/index.umd.js +16 -22
- app-ng-runtime/components/dialogs/confirm-dialog/confirm-dialog.component.d.ts +2 -4
- app-ng-runtime/components/dialogs/confirm-dialog/esm2020/confirm-dialog.component.mjs +8 -14
- app-ng-runtime/components/dialogs/confirm-dialog/fesm2015/index.mjs +7 -13
- app-ng-runtime/components/dialogs/confirm-dialog/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/confirm-dialog/fesm2020/index.mjs +7 -13
- app-ng-runtime/components/dialogs/confirm-dialog/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/default/base-dialog.d.ts +1 -2
- app-ng-runtime/components/dialogs/default/bundles/index.umd.js +25 -31
- app-ng-runtime/components/dialogs/default/dialog-footer/dialog-footer.directive.d.ts +2 -4
- app-ng-runtime/components/dialogs/default/esm2020/base-dialog.mjs +7 -8
- app-ng-runtime/components/dialogs/default/esm2020/dialog-footer/dialog-footer.directive.mjs +6 -11
- app-ng-runtime/components/dialogs/default/fesm2015/index.mjs +11 -17
- app-ng-runtime/components/dialogs/default/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/default/fesm2020/index.mjs +11 -15
- app-ng-runtime/components/dialogs/default/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/design-dialog/bundles/index.umd.js +17 -23
- app-ng-runtime/components/dialogs/design-dialog/dialog.component.d.ts +2 -4
- app-ng-runtime/components/dialogs/design-dialog/esm2020/dialog.component.mjs +8 -14
- app-ng-runtime/components/dialogs/design-dialog/fesm2015/index.mjs +7 -13
- app-ng-runtime/components/dialogs/design-dialog/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/design-dialog/fesm2020/index.mjs +7 -13
- app-ng-runtime/components/dialogs/design-dialog/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/iframe-dialog/bundles/index.umd.js +24 -30
- app-ng-runtime/components/dialogs/iframe-dialog/esm2020/iframe-dialog.component.mjs +10 -16
- app-ng-runtime/components/dialogs/iframe-dialog/fesm2015/index.mjs +9 -15
- app-ng-runtime/components/dialogs/iframe-dialog/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/iframe-dialog/fesm2020/index.mjs +9 -15
- app-ng-runtime/components/dialogs/iframe-dialog/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/iframe-dialog/iframe-dialog.component.d.ts +2 -4
- app-ng-runtime/components/dialogs/partial-dialog/bundles/index.umd.js +3 -8
- app-ng-runtime/components/dialogs/partial-dialog/esm2020/partial-dialog.component.mjs +5 -10
- app-ng-runtime/components/dialogs/partial-dialog/fesm2015/index.mjs +4 -9
- app-ng-runtime/components/dialogs/partial-dialog/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/partial-dialog/fesm2020/index.mjs +4 -9
- app-ng-runtime/components/dialogs/partial-dialog/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/partial-dialog/partial-dialog.component.d.ts +3 -4
- app-ng-runtime/components/input/calendar/bundles/index.umd.js +5 -10
- app-ng-runtime/components/input/calendar/calendar.component.d.ts +3 -4
- app-ng-runtime/components/input/calendar/esm2020/calendar.component.mjs +8 -11
- app-ng-runtime/components/input/calendar/fesm2015/index.mjs +6 -11
- app-ng-runtime/components/input/calendar/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/input/calendar/fesm2020/index.mjs +6 -9
- app-ng-runtime/components/input/calendar/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/input/chips/bundles/index.umd.js +87 -93
- app-ng-runtime/components/input/chips/chips.component.d.ts +2 -4
- app-ng-runtime/components/input/chips/esm2020/chips.component.mjs +9 -15
- app-ng-runtime/components/input/chips/fesm2015/index.mjs +8 -14
- app-ng-runtime/components/input/chips/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/input/chips/fesm2020/index.mjs +8 -14
- app-ng-runtime/components/input/chips/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/input/color-picker/bundles/index.umd.js +22 -28
- app-ng-runtime/components/input/color-picker/color-picker.component.d.ts +2 -4
- app-ng-runtime/components/input/color-picker/esm2020/color-picker.component.mjs +10 -14
- app-ng-runtime/components/input/color-picker/fesm2015/index.mjs +8 -14
- app-ng-runtime/components/input/color-picker/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/input/color-picker/fesm2020/index.mjs +8 -12
- app-ng-runtime/components/input/color-picker/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/input/currency/bundles/index.umd.js +4 -9
- app-ng-runtime/components/input/currency/currency.component.d.ts +3 -4
- app-ng-runtime/components/input/currency/esm2020/currency.component.mjs +7 -10
- app-ng-runtime/components/input/currency/fesm2015/index.mjs +5 -10
- app-ng-runtime/components/input/currency/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/input/currency/fesm2020/index.mjs +5 -8
- app-ng-runtime/components/input/currency/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/input/default/base-form.component.d.ts +1 -2
- app-ng-runtime/components/input/default/bundles/index.umd.js +575 -648
- app-ng-runtime/components/input/default/button/button.component.d.ts +2 -4
- app-ng-runtime/components/input/default/button-group/button-group.directive.d.ts +2 -4
- app-ng-runtime/components/input/default/checkbox/checkbox.component.d.ts +2 -4
- app-ng-runtime/components/input/default/checkboxset/checkboxset.component.d.ts +2 -4
- app-ng-runtime/components/input/default/composite/composite.directive.d.ts +2 -4
- app-ng-runtime/components/input/default/dataset-aware-form.component.d.ts +2 -3
- app-ng-runtime/components/input/default/esm2020/base-form.component.mjs +6 -7
- app-ng-runtime/components/input/default/esm2020/button/button.component.mjs +9 -14
- app-ng-runtime/components/input/default/esm2020/button-group/button-group.directive.mjs +6 -11
- app-ng-runtime/components/input/default/esm2020/checkbox/checkbox.component.mjs +9 -13
- app-ng-runtime/components/input/default/esm2020/checkboxset/checkboxset.component.mjs +10 -14
- app-ng-runtime/components/input/default/esm2020/composite/composite.directive.mjs +7 -11
- app-ng-runtime/components/input/default/esm2020/dataset-aware-form.component.mjs +6 -7
- app-ng-runtime/components/input/default/esm2020/number/number.component.mjs +7 -10
- app-ng-runtime/components/input/default/esm2020/radioset/radioset.component.mjs +10 -14
- app-ng-runtime/components/input/default/esm2020/select/select.component.mjs +11 -15
- app-ng-runtime/components/input/default/esm2020/switch/switch.component.mjs +10 -14
- app-ng-runtime/components/input/default/esm2020/text/base/base-input.mjs +6 -7
- app-ng-runtime/components/input/default/esm2020/text/calendar/input-calendar.component.mjs +8 -13
- app-ng-runtime/components/input/default/esm2020/text/color/input-color.component.mjs +8 -13
- app-ng-runtime/components/input/default/esm2020/text/email/input-email.component.mjs +8 -13
- app-ng-runtime/components/input/default/esm2020/text/locale/number-locale.mjs +3 -3
- app-ng-runtime/components/input/default/esm2020/text/number/input-number.component.mjs +9 -14
- app-ng-runtime/components/input/default/esm2020/text/text/input-text.component.mjs +9 -14
- app-ng-runtime/components/input/default/esm2020/textarea/textarea.component.mjs +9 -14
- app-ng-runtime/components/input/default/fesm2015/index.mjs +94 -167
- app-ng-runtime/components/input/default/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/input/default/fesm2020/index.mjs +94 -139
- app-ng-runtime/components/input/default/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/input/default/number/number.component.d.ts +3 -4
- app-ng-runtime/components/input/default/radioset/radioset.component.d.ts +2 -4
- app-ng-runtime/components/input/default/select/select.component.d.ts +2 -4
- app-ng-runtime/components/input/default/switch/switch.component.d.ts +2 -4
- app-ng-runtime/components/input/default/text/base/base-input.d.ts +1 -2
- app-ng-runtime/components/input/default/text/calendar/input-calendar.component.d.ts +2 -4
- app-ng-runtime/components/input/default/text/color/input-color.component.d.ts +2 -4
- app-ng-runtime/components/input/default/text/email/input-email.component.d.ts +2 -4
- app-ng-runtime/components/input/default/text/locale/number-locale.d.ts +2 -2
- app-ng-runtime/components/input/default/text/number/input-number.component.d.ts +2 -4
- app-ng-runtime/components/input/default/text/text/input-text.component.d.ts +2 -4
- app-ng-runtime/components/input/default/textarea/textarea.component.d.ts +2 -4
- app-ng-runtime/components/input/epoch/base-date-time.component.d.ts +1 -2
- app-ng-runtime/components/input/epoch/bundles/index.umd.js +12 -21
- app-ng-runtime/components/input/epoch/date/date.component.d.ts +3 -4
- app-ng-runtime/components/input/epoch/date-time/date-time.component.d.ts +3 -4
- app-ng-runtime/components/input/epoch/esm2020/base-date-time.component.mjs +5 -6
- app-ng-runtime/components/input/epoch/esm2020/date/date.component.mjs +6 -9
- app-ng-runtime/components/input/epoch/esm2020/date-time/date-time.component.mjs +6 -9
- app-ng-runtime/components/input/epoch/esm2020/time/time.component.mjs +6 -9
- app-ng-runtime/components/input/epoch/fesm2015/index.mjs +13 -22
- app-ng-runtime/components/input/epoch/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/input/epoch/fesm2020/index.mjs +13 -22
- app-ng-runtime/components/input/epoch/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/input/epoch/time/time.component.d.ts +3 -4
- app-ng-runtime/components/input/file-upload/bundles/index.umd.js +3 -6
- app-ng-runtime/components/input/file-upload/esm2020/file-upload.component.mjs +6 -9
- app-ng-runtime/components/input/file-upload/fesm2015/index.mjs +4 -7
- app-ng-runtime/components/input/file-upload/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/input/file-upload/fesm2020/index.mjs +4 -7
- app-ng-runtime/components/input/file-upload/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/input/file-upload/file-upload.component.d.ts +3 -4
- app-ng-runtime/components/input/rating/bundles/index.umd.js +45 -51
- app-ng-runtime/components/input/rating/esm2020/rating.component.mjs +11 -15
- app-ng-runtime/components/input/rating/fesm2015/index.mjs +9 -15
- app-ng-runtime/components/input/rating/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/input/rating/fesm2020/index.mjs +9 -13
- app-ng-runtime/components/input/rating/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/input/rating/rating.component.d.ts +2 -4
- app-ng-runtime/components/input/slider/bundles/index.umd.js +37 -43
- app-ng-runtime/components/input/slider/esm2020/slider.component.mjs +10 -15
- app-ng-runtime/components/input/slider/fesm2015/index.mjs +9 -15
- app-ng-runtime/components/input/slider/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/input/slider/fesm2020/index.mjs +9 -13
- app-ng-runtime/components/input/slider/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/input/slider/slider.component.d.ts +2 -4
- app-ng-runtime/components/navigation/menu/bundles/index.umd.js +13 -25
- app-ng-runtime/components/navigation/menu/esm2020/menu-adapator.component.mjs +4 -6
- app-ng-runtime/components/navigation/menu/esm2020/menu.component.mjs +4 -7
- app-ng-runtime/components/navigation/menu/esm2020/nav/nav-item/nav-item.directive.mjs +7 -11
- app-ng-runtime/components/navigation/menu/esm2020/nav/nav.component.mjs +5 -9
- app-ng-runtime/components/navigation/menu/fesm2015/index.mjs +14 -26
- app-ng-runtime/components/navigation/menu/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/navigation/menu/fesm2020/index.mjs +14 -24
- app-ng-runtime/components/navigation/menu/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/navigation/menu/menu-adapator.component.d.ts +1 -2
- app-ng-runtime/components/navigation/menu/menu.component.d.ts +2 -3
- app-ng-runtime/components/navigation/menu/nav/nav-item/nav-item.directive.d.ts +2 -4
- app-ng-runtime/components/navigation/menu/nav/nav.component.d.ts +3 -3
- app-ng-runtime/components/navigation/navbar/bundles/index.umd.js +28 -34
- app-ng-runtime/components/navigation/navbar/esm2020/navbar.component.mjs +9 -14
- app-ng-runtime/components/navigation/navbar/fesm2015/index.mjs +8 -14
- app-ng-runtime/components/navigation/navbar/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/navigation/navbar/fesm2020/index.mjs +8 -12
- app-ng-runtime/components/navigation/navbar/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/navigation/navbar/navbar.component.d.ts +2 -4
- app-ng-runtime/components/page/default/bundles/index.umd.js +32 -66
- app-ng-runtime/components/page/default/content/content.component.d.ts +2 -4
- app-ng-runtime/components/page/default/esm2020/content/content.component.mjs +6 -11
- app-ng-runtime/components/page/default/esm2020/layout.directive.mjs +7 -11
- app-ng-runtime/components/page/default/esm2020/page-content/page-content.component.mjs +7 -10
- app-ng-runtime/components/page/default/esm2020/page.directive.mjs +7 -12
- app-ng-runtime/components/page/default/esm2020/router-outlet.directive.mjs +7 -11
- app-ng-runtime/components/page/default/esm2020/spa-page.directive.mjs +7 -12
- app-ng-runtime/components/page/default/fesm2015/index.mjs +26 -60
- app-ng-runtime/components/page/default/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/page/default/fesm2020/index.mjs +26 -48
- app-ng-runtime/components/page/default/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/page/default/layout.directive.d.ts +2 -4
- app-ng-runtime/components/page/default/page-content/page-content.component.d.ts +3 -4
- app-ng-runtime/components/page/default/page.directive.d.ts +3 -4
- app-ng-runtime/components/page/default/router-outlet.directive.d.ts +2 -4
- app-ng-runtime/components/page/default/spa-page.directive.d.ts +3 -4
- app-ng-runtime/components/page/footer/bundles/index.umd.js +8 -14
- app-ng-runtime/components/page/footer/esm2020/footer.directive.mjs +6 -11
- app-ng-runtime/components/page/footer/fesm2015/index.mjs +5 -11
- app-ng-runtime/components/page/footer/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/page/footer/fesm2020/index.mjs +5 -9
- app-ng-runtime/components/page/footer/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/page/footer/footer.directive.d.ts +2 -4
- app-ng-runtime/components/page/header/bundles/index.umd.js +8 -14
- app-ng-runtime/components/page/header/esm2020/header.component.mjs +6 -11
- app-ng-runtime/components/page/header/fesm2015/index.mjs +5 -11
- app-ng-runtime/components/page/header/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/page/header/fesm2020/index.mjs +5 -9
- app-ng-runtime/components/page/header/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/page/header/header.component.d.ts +2 -4
- app-ng-runtime/components/page/left-panel/bundles/index.umd.js +4 -7
- app-ng-runtime/components/page/left-panel/esm2020/left-panel.directive.mjs +6 -9
- app-ng-runtime/components/page/left-panel/fesm2015/index.mjs +4 -7
- app-ng-runtime/components/page/left-panel/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/page/left-panel/fesm2020/index.mjs +4 -7
- app-ng-runtime/components/page/left-panel/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/page/left-panel/left-panel.directive.d.ts +3 -4
- app-ng-runtime/components/page/right-panel/bundles/index.umd.js +6 -12
- app-ng-runtime/components/page/right-panel/esm2020/right-panel.directive.mjs +7 -11
- app-ng-runtime/components/page/right-panel/fesm2015/index.mjs +5 -11
- app-ng-runtime/components/page/right-panel/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/page/right-panel/fesm2020/index.mjs +5 -9
- app-ng-runtime/components/page/right-panel/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/page/right-panel/right-panel.directive.d.ts +2 -4
- app-ng-runtime/components/page/top-nav/bundles/index.umd.js +8 -14
- app-ng-runtime/components/page/top-nav/esm2020/top-nav.directive.mjs +6 -11
- app-ng-runtime/components/page/top-nav/fesm2015/index.mjs +5 -11
- app-ng-runtime/components/page/top-nav/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/page/top-nav/fesm2020/index.mjs +5 -9
- app-ng-runtime/components/page/top-nav/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/page/top-nav/top-nav.directive.d.ts +2 -4
- app-ng-runtime/components/prefab/bundles/index.umd.js +7 -15
- app-ng-runtime/components/prefab/esm2020/prefab-container/prefab-container.directive.mjs +7 -10
- app-ng-runtime/components/prefab/esm2020/prefab.directive.mjs +6 -10
- app-ng-runtime/components/prefab/fesm2015/index.mjs +8 -16
- app-ng-runtime/components/prefab/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/prefab/fesm2020/index.mjs +8 -14
- app-ng-runtime/components/prefab/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/prefab/prefab-container/prefab-container.directive.d.ts +3 -4
- app-ng-runtime/components/prefab/prefab.directive.d.ts +2 -4
- app-ng-runtime/mobile/components/basic/default/bundles/index.umd.js +32 -37
- app-ng-runtime/mobile/components/basic/default/esm2020/network-info-toaster/network-info-toaster.component.mjs +7 -10
- app-ng-runtime/mobile/components/basic/default/fesm2015/index.mjs +10 -15
- app-ng-runtime/mobile/components/basic/default/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/basic/default/fesm2020/index.mjs +10 -13
- app-ng-runtime/mobile/components/basic/default/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/basic/default/network-info-toaster/network-info-toaster.component.d.ts +3 -4
- app-ng-runtime/mobile/components/containers/segmented-control/bundles/index.umd.js +18 -29
- app-ng-runtime/mobile/components/containers/segmented-control/esm2020/segment-content/segment-content.component.mjs +8 -13
- app-ng-runtime/mobile/components/containers/segmented-control/esm2020/segmented-control.component.mjs +9 -13
- app-ng-runtime/mobile/components/containers/segmented-control/fesm2015/index.mjs +12 -23
- app-ng-runtime/mobile/components/containers/segmented-control/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/containers/segmented-control/fesm2020/index.mjs +12 -19
- app-ng-runtime/mobile/components/containers/segmented-control/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/containers/segmented-control/segment-content/segment-content.component.d.ts +2 -4
- app-ng-runtime/mobile/components/containers/segmented-control/segmented-control.component.d.ts +2 -4
- app-ng-runtime/mobile/components/data/media-list/bundles/index.umd.js +30 -36
- app-ng-runtime/mobile/components/data/media-list/esm2020/media-list.component.mjs +14 -18
- app-ng-runtime/mobile/components/data/media-list/fesm2015/index.mjs +11 -17
- app-ng-runtime/mobile/components/data/media-list/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/data/media-list/fesm2020/index.mjs +11 -15
- app-ng-runtime/mobile/components/data/media-list/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/data/media-list/media-list.component.d.ts +2 -4
- app-ng-runtime/mobile/components/device/barcode-scanner/barcode-scanner.component.d.ts +2 -4
- app-ng-runtime/mobile/components/device/barcode-scanner/bundles/index.umd.js +28 -34
- app-ng-runtime/mobile/components/device/barcode-scanner/esm2020/barcode-scanner.component.mjs +10 -14
- app-ng-runtime/mobile/components/device/barcode-scanner/fesm2015/index.mjs +8 -14
- app-ng-runtime/mobile/components/device/barcode-scanner/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/device/barcode-scanner/fesm2020/index.mjs +8 -12
- app-ng-runtime/mobile/components/device/barcode-scanner/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/device/camera/bundles/index.umd.js +12 -18
- app-ng-runtime/mobile/components/device/camera/camera.component.d.ts +2 -4
- app-ng-runtime/mobile/components/device/camera/esm2020/camera.component.mjs +9 -13
- app-ng-runtime/mobile/components/device/camera/fesm2015/index.mjs +7 -13
- app-ng-runtime/mobile/components/device/camera/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/device/camera/fesm2020/index.mjs +7 -11
- app-ng-runtime/mobile/components/device/camera/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/page/mobile-navbar/bundles/index.umd.js +3 -6
- app-ng-runtime/mobile/components/page/mobile-navbar/esm2020/mobile-navbar.component.mjs +6 -9
- app-ng-runtime/mobile/components/page/mobile-navbar/fesm2015/index.mjs +4 -7
- app-ng-runtime/mobile/components/page/mobile-navbar/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/page/mobile-navbar/fesm2020/index.mjs +4 -7
- app-ng-runtime/mobile/components/page/mobile-navbar/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/page/mobile-navbar/mobile-navbar.component.d.ts +3 -4
- app-ng-runtime/mobile/components/page/tab-bar/bundles/index.umd.js +32 -36
- app-ng-runtime/mobile/components/page/tab-bar/esm2020/tabbar.component.mjs +8 -13
- app-ng-runtime/mobile/components/page/tab-bar/fesm2015/index.mjs +7 -11
- app-ng-runtime/mobile/components/page/tab-bar/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/page/tab-bar/fesm2020/index.mjs +7 -11
- app-ng-runtime/mobile/components/page/tab-bar/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/page/tab-bar/tabbar.component.d.ts +2 -4
- app-ng-runtime/package.json +1 -1
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import { Injector, OnInit } from '@angular/core';
|
|
2
2
|
import { BaseComponent } from '@wm/components/base';
|
|
3
3
|
import { TableComponent } from '../table.component';
|
|
4
|
-
import { UserDefinedExecutionContext } from '@wm/core';
|
|
5
4
|
import * as i0 from "@angular/core";
|
|
6
5
|
export declare class TableActionDirective extends BaseComponent implements OnInit {
|
|
7
6
|
table: TableComponent;
|
|
8
|
-
_viewParent: UserDefinedExecutionContext;
|
|
9
7
|
static initializeProps: void;
|
|
10
8
|
accessroles: any;
|
|
11
9
|
action: any;
|
|
@@ -27,10 +25,10 @@ export declare class TableActionDirective extends BaseComponent implements OnIni
|
|
|
27
25
|
conditionalclass: any;
|
|
28
26
|
conditionalstyle: any;
|
|
29
27
|
private _propsInitialized;
|
|
30
|
-
constructor(inj: Injector, table: TableComponent
|
|
28
|
+
constructor(inj: Injector, table: TableComponent);
|
|
31
29
|
populateAction(): void;
|
|
32
30
|
ngOnInit(): void;
|
|
33
31
|
onPropertyChange(key: any, nv: any): void;
|
|
34
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TableActionDirective, [null, { optional: true; }
|
|
32
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TableActionDirective, [null, { optional: true; }]>;
|
|
35
33
|
static ɵdir: i0.ɵɵDirectiveDeclaration<TableActionDirective, "[wmTableAction]", never, {}, {}, never, never, false, never>;
|
|
36
34
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AfterContentInit, AfterViewInit, TemplateRef, Injector, OnInit } from '@angular/core';
|
|
2
|
-
import { AppDefaults
|
|
2
|
+
import { AppDefaults } from '@wm/core';
|
|
3
3
|
import { BaseComponent } from '@wm/components/base';
|
|
4
4
|
import { TableComponent } from '../table.component';
|
|
5
5
|
import { TableColumnGroupDirective } from '../table-column-group/table-column-group.directive';
|
|
@@ -10,7 +10,6 @@ export declare class TableColumnDirective extends BaseComponent implements OnIni
|
|
|
10
10
|
group: TableColumnGroupDirective;
|
|
11
11
|
bindfilterdataset: any;
|
|
12
12
|
binddataset: any;
|
|
13
|
-
_viewParent: UserDefinedExecutionContext;
|
|
14
13
|
static initializeProps: void;
|
|
15
14
|
_filterInstances: any;
|
|
16
15
|
_inlineInstances: any;
|
|
@@ -93,7 +92,7 @@ export declare class TableColumnDirective extends BaseComponent implements OnIni
|
|
|
93
92
|
private asyncValidators;
|
|
94
93
|
private observeOnFields;
|
|
95
94
|
filterTemplateRef: TemplateRef<any>;
|
|
96
|
-
constructor(inj: Injector, appDefaults: AppDefaults, table: TableComponent, group: TableColumnGroupDirective, bindfilterdataset: any, binddataset: any
|
|
95
|
+
constructor(inj: Injector, appDefaults: AppDefaults, table: TableComponent, group: TableColumnGroupDirective, bindfilterdataset: any, binddataset: any);
|
|
97
96
|
get dataoptions(): any;
|
|
98
97
|
set dataoptions(options: any);
|
|
99
98
|
get datasource(): any;
|
|
@@ -145,6 +144,6 @@ export declare class TableColumnDirective extends BaseComponent implements OnIni
|
|
|
145
144
|
populateFieldDef(): void;
|
|
146
145
|
onPropertyChange(key: any, nv: any, ov: any): void;
|
|
147
146
|
setProperty(property: any, nv: any): void;
|
|
148
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TableColumnDirective, [null, null, { optional: true; }, { optional: true; }, { attribute: "filterdataset.bind"; }, { attribute: "dataset.bind"; }
|
|
147
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TableColumnDirective, [null, null, { optional: true; }, { optional: true; }, { attribute: "filterdataset.bind"; }, { attribute: "dataset.bind"; }]>;
|
|
149
148
|
static ɵdir: i0.ɵɵDirectiveDeclaration<TableColumnDirective, "[wmTableColumn]", never, {}, {}, ["customExprTmpl", "inlineWidthTempRef", "filterTemplateRef", "_filterInstances", "_inlineInstances", "_inlineInstancesNew"], never, false, never>;
|
|
150
149
|
}
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
import { Injector, OnInit } from '@angular/core';
|
|
2
2
|
import { BaseComponent } from '@wm/components/base';
|
|
3
3
|
import { TableComponent } from '../table.component';
|
|
4
|
-
import { UserDefinedExecutionContext } from '@wm/core';
|
|
5
4
|
import * as i0 from "@angular/core";
|
|
6
5
|
export declare class TableColumnGroupDirective extends BaseComponent implements OnInit {
|
|
7
6
|
group: TableColumnGroupDirective;
|
|
8
7
|
table: TableComponent;
|
|
9
|
-
_viewParent: UserDefinedExecutionContext;
|
|
10
8
|
static initializeProps: void;
|
|
11
9
|
accessroles: any;
|
|
12
10
|
backgroundcolor: any;
|
|
@@ -15,10 +13,10 @@ export declare class TableColumnGroupDirective extends BaseComponent implements
|
|
|
15
13
|
name: any;
|
|
16
14
|
textalignment: any;
|
|
17
15
|
config: any;
|
|
18
|
-
constructor(inj: Injector, group: TableColumnGroupDirective, table: TableComponent
|
|
16
|
+
constructor(inj: Injector, group: TableColumnGroupDirective, table: TableComponent);
|
|
19
17
|
populateConfig(): void;
|
|
20
18
|
onPropertyChange(key: any, nv: any, ov?: any): void;
|
|
21
19
|
ngOnInit(): void;
|
|
22
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TableColumnGroupDirective, [null, { optional: true; skipSelf: true; }, { optional: true; }
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TableColumnGroupDirective, [null, { optional: true; skipSelf: true; }, { optional: true; }]>;
|
|
23
21
|
static ɵdir: i0.ɵɵDirectiveDeclaration<TableColumnGroupDirective, "[wmTableColumnGroup]", never, {}, {}, never, never, false, never>;
|
|
24
22
|
}
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import { Injector, OnInit } from '@angular/core';
|
|
2
2
|
import { BaseComponent } from '@wm/components/base';
|
|
3
3
|
import { TableComponent } from '../table.component';
|
|
4
|
-
import { UserDefinedExecutionContext } from '@wm/core';
|
|
5
4
|
import * as i0 from "@angular/core";
|
|
6
5
|
export declare class TableRowDirective extends BaseComponent implements OnInit {
|
|
7
6
|
table: TableComponent;
|
|
8
|
-
_viewParent: UserDefinedExecutionContext;
|
|
9
7
|
static initializeProps: void;
|
|
10
8
|
config: any;
|
|
11
9
|
columnwidth: any;
|
|
@@ -15,10 +13,10 @@ export declare class TableRowDirective extends BaseComponent implements OnInit {
|
|
|
15
13
|
collapseicon: any;
|
|
16
14
|
height: any;
|
|
17
15
|
position: any;
|
|
18
|
-
constructor(inj: Injector, table: TableComponent
|
|
16
|
+
constructor(inj: Injector, table: TableComponent);
|
|
19
17
|
populateConfig(): void;
|
|
20
18
|
ngOnInit(): void;
|
|
21
19
|
onPropertyChange(key: string, nv: any): void;
|
|
22
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TableRowDirective, [null, { optional: true; skipSelf: true; }
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TableRowDirective, [null, { optional: true; skipSelf: true; }]>;
|
|
23
21
|
static ɵdir: i0.ɵɵDirectiveDeclaration<TableRowDirective, "[wmTableRow]", never, {}, {}, never, never, false, never>;
|
|
24
22
|
}
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import { Injector, OnInit } from '@angular/core';
|
|
2
2
|
import { BaseComponent } from '@wm/components/base';
|
|
3
3
|
import { TableComponent } from '../table.component';
|
|
4
|
-
import { UserDefinedExecutionContext } from '@wm/core';
|
|
5
4
|
import * as i0 from "@angular/core";
|
|
6
5
|
export declare class TableRowActionDirective extends BaseComponent implements OnInit {
|
|
7
6
|
table: TableComponent;
|
|
8
|
-
_viewParent: UserDefinedExecutionContext;
|
|
9
7
|
static initializeProps: void;
|
|
10
8
|
accessroles: any;
|
|
11
9
|
action: any;
|
|
@@ -23,10 +21,10 @@ export declare class TableRowActionDirective extends BaseComponent implements On
|
|
|
23
21
|
target: any;
|
|
24
22
|
conditionalclass: any;
|
|
25
23
|
conditionalstyle: any;
|
|
26
|
-
constructor(inj: Injector, table: TableComponent, contexts: Array<any
|
|
24
|
+
constructor(inj: Injector, table: TableComponent, contexts: Array<any>);
|
|
27
25
|
getTitle(): any;
|
|
28
26
|
populateAction(): void;
|
|
29
27
|
ngOnInit(): void;
|
|
30
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TableRowActionDirective, [null, { optional: true; }, { self: true; }
|
|
28
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TableRowActionDirective, [null, { optional: true; }, { self: true; }]>;
|
|
31
29
|
static ɵdir: i0.ɵɵDirectiveDeclaration<TableRowActionDirective, "[wmTableRowAction]", never, {}, {}, never, never, false, never>;
|
|
32
30
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AfterContentInit, Injector, NgZone, OnDestroy, QueryList, ViewContainerRef, TemplateRef } from '@angular/core';
|
|
2
2
|
import { ControlValueAccessor, FormBuilder, FormGroup } from '@angular/forms';
|
|
3
|
-
import { Viewport, StatePersistence, PaginationService
|
|
3
|
+
import { Viewport, StatePersistence, PaginationService } from '@wm/core';
|
|
4
4
|
import { Observable, Subject } from 'rxjs';
|
|
5
5
|
import { App, DynamicComponentRefProvider } from '@wm/core';
|
|
6
6
|
import { StylableComponent, TrustAsPipe } from '@wm/components/base';
|
|
@@ -20,7 +20,6 @@ export declare class TableComponent extends StylableComponent implements AfterCo
|
|
|
20
20
|
readonlygrid: any;
|
|
21
21
|
private ngZone;
|
|
22
22
|
private trustAsPipe;
|
|
23
|
-
_viewParent: UserDefinedExecutionContext;
|
|
24
23
|
static initializeProps: void;
|
|
25
24
|
dataNavigator: any;
|
|
26
25
|
private _tableElement;
|
|
@@ -310,7 +309,7 @@ export declare class TableComponent extends StylableComponent implements AfterCo
|
|
|
310
309
|
get selecteditem(): any;
|
|
311
310
|
set selecteditem(val: any);
|
|
312
311
|
onKeyPress($event: any): void;
|
|
313
|
-
constructor(inj: Injector, fb: FormBuilder, app: App, dynamicComponentProvider: DynamicComponentRefProvider, statePersistence: StatePersistence, paginationService: PaginationService, viewport: Viewport, parentList: ListComponent, binddataset: any, binddatasource: any, readonlygrid: any, ngZone: NgZone, trustAsPipe: TrustAsPipe
|
|
312
|
+
constructor(inj: Injector, fb: FormBuilder, app: App, dynamicComponentProvider: DynamicComponentRefProvider, statePersistence: StatePersistence, paginationService: PaginationService, viewport: Viewport, parentList: ListComponent, binddataset: any, binddatasource: any, readonlygrid: any, ngZone: NgZone, trustAsPipe: TrustAsPipe);
|
|
314
313
|
ngAfterContentInit(): void;
|
|
315
314
|
private getConfiguredState;
|
|
316
315
|
private handleStateParams;
|
|
@@ -378,6 +377,6 @@ export declare class TableComponent extends StylableComponent implements AfterCo
|
|
|
378
377
|
registerOnChange(fn: any): void;
|
|
379
378
|
registerOnTouched(fn: any): void;
|
|
380
379
|
ngOnDetach(): void;
|
|
381
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TableComponent, [null, null, null, null, null, null, null, { optional: true; }, { attribute: "dataset.bind"; }, { attribute: "datasource.bind"; }, { attribute: "readonlygrid"; }, null, null
|
|
380
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TableComponent, [null, null, null, null, null, null, null, { optional: true; }, { attribute: "dataset.bind"; }, { attribute: "datasource.bind"; }, { attribute: "readonlygrid"; }, null, null]>;
|
|
382
381
|
static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent, "[wmTable]", never, {}, {}, ["rowExpansionTmpl", "rowActionTmpl", "filterTmpl", "inlineWidgetTmpl", "inlineWidgetNewTmpl", "customExprTmpl", "rowExpansionActionTmpl"], never, false, never>;
|
|
383
382
|
}
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
import { Injector, OnInit, TemplateRef } from '@angular/core';
|
|
2
|
-
import { UserDefinedExecutionContext } from '@wm/core';
|
|
3
2
|
import { BaseDialog } from '@wm/components/dialogs';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
4
|
export declare class AlertDialogComponent extends BaseDialog implements OnInit {
|
|
6
|
-
_viewParent: UserDefinedExecutionContext;
|
|
7
5
|
static initializeProps: void;
|
|
8
6
|
dialogTemplate: TemplateRef<any>;
|
|
9
|
-
constructor(inj: Injector, dialogClass: string, modal: string | boolean, closable: string | boolean
|
|
7
|
+
constructor(inj: Injector, dialogClass: string, modal: string | boolean, closable: string | boolean);
|
|
10
8
|
protected getTemplateRef(): TemplateRef<any>;
|
|
11
9
|
/**
|
|
12
10
|
* Click event handler for the ok button
|
|
@@ -15,6 +13,6 @@ export declare class AlertDialogComponent extends BaseDialog implements OnInit {
|
|
|
15
13
|
*/
|
|
16
14
|
onOk($event: Event): void;
|
|
17
15
|
ngOnInit(): void;
|
|
18
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AlertDialogComponent, [null, { attribute: "class"; }, { attribute: "modal"; }, { attribute: "closable"; }
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AlertDialogComponent, [null, { attribute: "class"; }, { attribute: "modal"; }, { attribute: "closable"; }]>;
|
|
19
17
|
static ɵcmp: i0.ɵɵComponentDeclaration<AlertDialogComponent, "div[wmAlertDialog]", never, {}, {}, never, never, false, never>;
|
|
20
18
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('@wm/components/base'), require('@wm/components/dialogs'), require('@wm/components/input'), require('@wm/core')) :
|
|
3
3
|
typeof define === 'function' && define.amd ? define(['exports', '@angular/core', '@angular/common', '@wm/components/base', '@wm/components/dialogs', '@wm/components/input', '@wm/core'], factory) :
|
|
4
4
|
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.wm = global.wm || {}, global.wm.components = global.wm.components || {}, global.wm.components.dialogs = global.wm.components.dialogs || {}, global.wm.components.dialogs.alertdialog = {}), global.ng.core, global.ng.common, global.wm.components.base, global.wm.components.dialogs, global.wm.components.input, global.wm.core));
|
|
5
|
-
})(this, (function (exports, i0, common,
|
|
5
|
+
})(this, (function (exports, i0, common, i3, i1, i2, core) { 'use strict';
|
|
6
6
|
|
|
7
7
|
function _interopNamespaceDefault(e) {
|
|
8
8
|
var n = Object.create(null);
|
|
@@ -22,28 +22,27 @@
|
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
var i0__namespace = /*#__PURE__*/_interopNamespaceDefault(i0);
|
|
25
|
-
var i4__namespace = /*#__PURE__*/_interopNamespaceDefault(i4);
|
|
26
|
-
var i2__namespace = /*#__PURE__*/_interopNamespaceDefault(i2);
|
|
27
25
|
var i3__namespace = /*#__PURE__*/_interopNamespaceDefault(i3);
|
|
28
26
|
var i1__namespace = /*#__PURE__*/_interopNamespaceDefault(i1);
|
|
27
|
+
var i2__namespace = /*#__PURE__*/_interopNamespaceDefault(i2);
|
|
29
28
|
|
|
30
29
|
const registerProps = () => {
|
|
31
|
-
|
|
32
|
-
['alerttype', Object.assign({ value: 'error' },
|
|
33
|
-
['animation',
|
|
34
|
-
['class',
|
|
35
|
-
['closable', { value: true, PROP_BOOLEAN:
|
|
36
|
-
['iconclass', { value: 'wi wi-warning', PROP_STRING:
|
|
37
|
-
['iconheight',
|
|
38
|
-
['iconmargin',
|
|
39
|
-
['iconurl',
|
|
40
|
-
['iconwidth',
|
|
41
|
-
['message', Object.assign({ value: 'Am an alert box!' },
|
|
42
|
-
['modal', Object.assign({ value: false },
|
|
43
|
-
['name',
|
|
44
|
-
['oktext', Object.assign({ value: 'OK' },
|
|
45
|
-
['tabindex', Object.assign({ value: 0 },
|
|
46
|
-
['title', Object.assign({ value: 'Alert' },
|
|
30
|
+
i3.register('wm-alertdialog', new Map([
|
|
31
|
+
['alerttype', Object.assign({ value: 'error' }, i3.PROP_STRING)],
|
|
32
|
+
['animation', i3.PROP_STRING],
|
|
33
|
+
['class', i3.PROP_STRING],
|
|
34
|
+
['closable', { value: true, PROP_BOOLEAN: i3.PROP_BOOLEAN }],
|
|
35
|
+
['iconclass', { value: 'wi wi-warning', PROP_STRING: i3.PROP_STRING }],
|
|
36
|
+
['iconheight', i3.PROP_STRING],
|
|
37
|
+
['iconmargin', i3.PROP_STRING],
|
|
38
|
+
['iconurl', i3.PROP_STRING],
|
|
39
|
+
['iconwidth', i3.PROP_STRING],
|
|
40
|
+
['message', Object.assign({ value: 'Am an alert box!' }, i3.PROP_STRING)],
|
|
41
|
+
['modal', Object.assign({ value: false }, i3.PROP_BOOLEAN)],
|
|
42
|
+
['name', i3.PROP_STRING],
|
|
43
|
+
['oktext', Object.assign({ value: 'OK' }, i3.PROP_STRING)],
|
|
44
|
+
['tabindex', Object.assign({ value: 0 }, i3.PROP_NUMBER)],
|
|
45
|
+
['title', Object.assign({ value: 'Alert' }, i3.PROP_STRING)]
|
|
47
46
|
]));
|
|
48
47
|
};
|
|
49
48
|
|
|
@@ -71,19 +70,18 @@
|
|
|
71
70
|
}
|
|
72
71
|
const DIALOG_CLS = 'app-dialog modal-dialog app-alert-dialog';
|
|
73
72
|
const WIDGET_INFO = { widgetType: 'wm-alertdialog' };
|
|
74
|
-
class AlertDialogComponent extends
|
|
75
|
-
constructor(inj, dialogClass, modal, closable
|
|
73
|
+
class AlertDialogComponent extends i1.BaseDialog {
|
|
74
|
+
constructor(inj, dialogClass, modal, closable) {
|
|
76
75
|
if (modal === null || modal === undefined) {
|
|
77
76
|
modal = false;
|
|
78
77
|
}
|
|
79
78
|
// setting the backdrop to 'static' will not close the dialog on backdrop click
|
|
80
|
-
const backdrop =
|
|
81
|
-
super(inj, WIDGET_INFO,
|
|
79
|
+
const backdrop = core.toBoolean(modal) ? 'static' : true;
|
|
80
|
+
super(inj, WIDGET_INFO, {
|
|
82
81
|
class: `${DIALOG_CLS} ${dialogClass || ''}`,
|
|
83
82
|
backdrop,
|
|
84
|
-
keyboard: !
|
|
83
|
+
keyboard: !core.toBoolean(modal)
|
|
85
84
|
});
|
|
86
|
-
this._viewParent = _viewParent;
|
|
87
85
|
}
|
|
88
86
|
getTemplateRef() {
|
|
89
87
|
return this.dialogTemplate;
|
|
@@ -102,7 +100,7 @@
|
|
|
102
100
|
}
|
|
103
101
|
}
|
|
104
102
|
AlertDialogComponent.initializeProps = registerProps();
|
|
105
|
-
AlertDialogComponent.ɵfac = function AlertDialogComponent_Factory(t) { return new (t || AlertDialogComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵinjectAttribute('class'), i0__namespace.ɵɵinjectAttribute('modal'), i0__namespace.ɵɵinjectAttribute('closable')
|
|
103
|
+
AlertDialogComponent.ɵfac = function AlertDialogComponent_Factory(t) { return new (t || AlertDialogComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵinjectAttribute('class'), i0__namespace.ɵɵinjectAttribute('modal'), i0__namespace.ɵɵinjectAttribute('closable')); };
|
|
106
104
|
AlertDialogComponent.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: AlertDialogComponent, selectors: [["div", "wmAlertDialog", ""]], viewQuery: function AlertDialogComponent_Query(rf, ctx) {
|
|
107
105
|
if (rf & 1) {
|
|
108
106
|
i0__namespace.ɵɵviewQuery(_c0, 7);
|
|
@@ -112,25 +110,25 @@
|
|
|
112
110
|
i0__namespace.ɵɵqueryRefresh(_t = i0__namespace.ɵɵloadQuery()) && (ctx.dialogTemplate = _t.first);
|
|
113
111
|
}
|
|
114
112
|
}, features: [i0__namespace.ɵɵProvidersFeature([
|
|
115
|
-
|
|
116
|
-
|
|
113
|
+
i3.provideAsWidgetRef(AlertDialogComponent),
|
|
114
|
+
i3.provideAsDialogRef(AlertDialogComponent),
|
|
117
115
|
{
|
|
118
|
-
provide:
|
|
116
|
+
provide: core.UserDefinedExecutionContext,
|
|
119
117
|
useExisting: AlertDialogComponent
|
|
120
118
|
}
|
|
121
119
|
]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c1, decls: 2, vars: 0, consts: [["dialogTemplate", ""], ["wmDialogHeader", "", 3, "closable", "iconclass", "iconurl", "iconwidth", "iconheight", "iconmargin", "heading", "titleid"], ["wmDialogBody", ""], [3, "textContent"], ["wmDialogFooter", ""], ["wmButton", "", "caption.bind", "oktext", "aria-label", "Submit button", 1, "btn-primary", "ok-action", 3, "click"]], template: function AlertDialogComponent_Template(rf, ctx) {
|
|
122
120
|
if (rf & 1) {
|
|
123
121
|
i0__namespace.ɵɵtemplate(0, AlertDialogComponent_ng_template_0_Template, 5, 13, "ng-template", null, 0, i0__namespace.ɵɵtemplateRefExtractor);
|
|
124
122
|
}
|
|
125
|
-
}, dependencies: [
|
|
123
|
+
}, dependencies: [i1__namespace.DialogBodyDirective, i1__namespace.DialogFooterDirective, i1__namespace.DialogHeaderComponent, i2__namespace.ButtonComponent, i3__namespace.TextContentDirective], encapsulation: 2 });
|
|
126
124
|
(function () {
|
|
127
125
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(AlertDialogComponent, [{
|
|
128
126
|
type: i0.Component,
|
|
129
127
|
args: [{ selector: 'div[wmAlertDialog]', providers: [
|
|
130
|
-
|
|
131
|
-
|
|
128
|
+
i3.provideAsWidgetRef(AlertDialogComponent),
|
|
129
|
+
i3.provideAsDialogRef(AlertDialogComponent),
|
|
132
130
|
{
|
|
133
|
-
provide:
|
|
131
|
+
provide: core.UserDefinedExecutionContext,
|
|
134
132
|
useExisting: AlertDialogComponent
|
|
135
133
|
}
|
|
136
134
|
], template: "<ng-template #dialogTemplate>\n <div wmDialogHeader [closable]=\"closable\"\n [iconclass]=\"iconclass\"\n [iconurl]=\"iconurl\"\n [iconwidth]=\"iconwidth\"\n [iconheight]=\"iconheight\"\n [iconmargin]=\"iconmargin\"\n [heading]=\"title\"\n [titleid]=\"titleId\"></div>\n <div wmDialogBody>\n <p class=\"app-dialog-message text-{{alerttype}}\" [attr.aria-describedby]=\"message\" [textContent]=\"message\"></p>\n </div>\n <div wmDialogFooter>\n <button wmButton class=\"btn-primary ok-action\" caption.bind=\"oktext\" aria-label=\"Submit button\" (click)=\"onOk($event)\"></button>\n </div>\n</ng-template>\n" }]
|
|
@@ -144,10 +142,6 @@
|
|
|
144
142
|
}] }, { type: undefined, decorators: [{
|
|
145
143
|
type: i0.Attribute,
|
|
146
144
|
args: ['closable']
|
|
147
|
-
}] }, { type: i1__namespace.UserDefinedExecutionContext, decorators: [{
|
|
148
|
-
type: i0.SkipSelf
|
|
149
|
-
}, {
|
|
150
|
-
type: i0.Optional
|
|
151
145
|
}] }];
|
|
152
146
|
}, { dialogTemplate: [{
|
|
153
147
|
type: i0.ViewChild,
|
|
@@ -163,18 +157,18 @@
|
|
|
163
157
|
AlertDialogModule.ɵfac = function AlertDialogModule_Factory(t) { return new (t || AlertDialogModule)(); };
|
|
164
158
|
AlertDialogModule.ɵmod = /*@__PURE__*/ i0__namespace.ɵɵdefineNgModule({ type: AlertDialogModule });
|
|
165
159
|
AlertDialogModule.ɵinj = /*@__PURE__*/ i0__namespace.ɵɵdefineInjector({ imports: [common.CommonModule,
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
160
|
+
i1.DialogModule,
|
|
161
|
+
i2.InputModule,
|
|
162
|
+
i3.WmComponentsModule] });
|
|
169
163
|
(function () {
|
|
170
164
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(AlertDialogModule, [{
|
|
171
165
|
type: i0.NgModule,
|
|
172
166
|
args: [{
|
|
173
167
|
imports: [
|
|
174
168
|
common.CommonModule,
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
169
|
+
i1.DialogModule,
|
|
170
|
+
i2.InputModule,
|
|
171
|
+
i3.WmComponentsModule
|
|
178
172
|
],
|
|
179
173
|
declarations: [...components],
|
|
180
174
|
exports: [...components]
|
|
@@ -183,9 +177,9 @@
|
|
|
183
177
|
})();
|
|
184
178
|
(function () {
|
|
185
179
|
(typeof ngJitMode === "undefined" || ngJitMode) && i0__namespace.ɵɵsetNgModuleScope(AlertDialogModule, { declarations: [AlertDialogComponent], imports: [common.CommonModule,
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
180
|
+
i1.DialogModule,
|
|
181
|
+
i2.InputModule,
|
|
182
|
+
i3.WmComponentsModule], exports: [AlertDialogComponent] });
|
|
189
183
|
})();
|
|
190
184
|
|
|
191
185
|
exports.AlertDialogComponent = AlertDialogComponent;
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import { Attribute, Component, Injector,
|
|
1
|
+
import { Attribute, Component, Injector, TemplateRef, ViewChild } from '@angular/core';
|
|
2
2
|
import { toBoolean, UserDefinedExecutionContext } from '@wm/core';
|
|
3
3
|
import { provideAsDialogRef, provideAsWidgetRef } from '@wm/components/base';
|
|
4
4
|
import { BaseDialog } from '@wm/components/dialogs';
|
|
5
5
|
import { registerProps } from './alert-dialog.props';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
|
-
import * as i1 from "@wm/
|
|
8
|
-
import * as i2 from "@wm/components/
|
|
9
|
-
import * as i3 from "@wm/components/
|
|
10
|
-
import * as i4 from "@wm/components/base";
|
|
7
|
+
import * as i1 from "@wm/components/dialogs";
|
|
8
|
+
import * as i2 from "@wm/components/input";
|
|
9
|
+
import * as i3 from "@wm/components/base";
|
|
11
10
|
const _c0 = ["dialogTemplate"];
|
|
12
11
|
const _c1 = ["wmAlertDialog", ""];
|
|
13
12
|
function AlertDialogComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -30,7 +29,7 @@ function AlertDialogComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
30
29
|
const DIALOG_CLS = 'app-dialog modal-dialog app-alert-dialog';
|
|
31
30
|
const WIDGET_INFO = { widgetType: 'wm-alertdialog' };
|
|
32
31
|
export class AlertDialogComponent extends BaseDialog {
|
|
33
|
-
constructor(inj, dialogClass, modal, closable
|
|
32
|
+
constructor(inj, dialogClass, modal, closable) {
|
|
34
33
|
if (modal === null || modal === undefined) {
|
|
35
34
|
modal = false;
|
|
36
35
|
}
|
|
@@ -39,12 +38,11 @@ export class AlertDialogComponent extends BaseDialog {
|
|
|
39
38
|
}
|
|
40
39
|
// setting the backdrop to 'static' will not close the dialog on backdrop click
|
|
41
40
|
const backdrop = toBoolean(modal) ? 'static' : true;
|
|
42
|
-
super(inj, WIDGET_INFO,
|
|
41
|
+
super(inj, WIDGET_INFO, {
|
|
43
42
|
class: `${DIALOG_CLS} ${dialogClass || ''}`,
|
|
44
43
|
backdrop,
|
|
45
44
|
keyboard: !toBoolean(modal)
|
|
46
45
|
});
|
|
47
|
-
this._viewParent = _viewParent;
|
|
48
46
|
}
|
|
49
47
|
getTemplateRef() {
|
|
50
48
|
return this.dialogTemplate;
|
|
@@ -63,7 +61,7 @@ export class AlertDialogComponent extends BaseDialog {
|
|
|
63
61
|
}
|
|
64
62
|
}
|
|
65
63
|
AlertDialogComponent.initializeProps = registerProps();
|
|
66
|
-
AlertDialogComponent.ɵfac = function AlertDialogComponent_Factory(t) { return new (t || AlertDialogComponent)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵinjectAttribute('class'), i0.ɵɵinjectAttribute('modal'), i0.ɵɵinjectAttribute('closable')
|
|
64
|
+
AlertDialogComponent.ɵfac = function AlertDialogComponent_Factory(t) { return new (t || AlertDialogComponent)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵinjectAttribute('class'), i0.ɵɵinjectAttribute('modal'), i0.ɵɵinjectAttribute('closable')); };
|
|
67
65
|
AlertDialogComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AlertDialogComponent, selectors: [["div", "wmAlertDialog", ""]], viewQuery: function AlertDialogComponent_Query(rf, ctx) { if (rf & 1) {
|
|
68
66
|
i0.ɵɵviewQuery(_c0, 7);
|
|
69
67
|
} if (rf & 2) {
|
|
@@ -78,7 +76,7 @@ AlertDialogComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AlertD
|
|
|
78
76
|
}
|
|
79
77
|
]), i0.ɵɵInheritDefinitionFeature], attrs: _c1, decls: 2, vars: 0, consts: [["dialogTemplate", ""], ["wmDialogHeader", "", 3, "closable", "iconclass", "iconurl", "iconwidth", "iconheight", "iconmargin", "heading", "titleid"], ["wmDialogBody", ""], [3, "textContent"], ["wmDialogFooter", ""], ["wmButton", "", "caption.bind", "oktext", "aria-label", "Submit button", 1, "btn-primary", "ok-action", 3, "click"]], template: function AlertDialogComponent_Template(rf, ctx) { if (rf & 1) {
|
|
80
78
|
i0.ɵɵtemplate(0, AlertDialogComponent_ng_template_0_Template, 5, 13, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor);
|
|
81
|
-
} }, dependencies: [
|
|
79
|
+
} }, dependencies: [i1.DialogBodyDirective, i1.DialogFooterDirective, i1.DialogHeaderComponent, i2.ButtonComponent, i3.TextContentDirective], encapsulation: 2 });
|
|
82
80
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AlertDialogComponent, [{
|
|
83
81
|
type: Component,
|
|
84
82
|
args: [{ selector: 'div[wmAlertDialog]', providers: [
|
|
@@ -98,12 +96,8 @@ AlertDialogComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AlertD
|
|
|
98
96
|
}] }, { type: undefined, decorators: [{
|
|
99
97
|
type: Attribute,
|
|
100
98
|
args: ['closable']
|
|
101
|
-
}] }, { type: i1.UserDefinedExecutionContext, decorators: [{
|
|
102
|
-
type: SkipSelf
|
|
103
|
-
}, {
|
|
104
|
-
type: Optional
|
|
105
99
|
}] }]; }, { dialogTemplate: [{
|
|
106
100
|
type: ViewChild,
|
|
107
101
|
args: ['dialogTemplate', { static: true }]
|
|
108
102
|
}] }); })();
|
|
109
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
103
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWxlcnQtZGlhbG9nLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvbXBvbmVudHMvd2lkZ2V0cy9kaWFsb2dzL2FsZXJ0LWRpYWxvZy9zcmMvYWxlcnQtZGlhbG9nLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvbXBvbmVudHMvd2lkZ2V0cy9kaWFsb2dzL2FsZXJ0LWRpYWxvZy9zcmMvYWxlcnQtZGlhbG9nLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxTQUFTLEVBQUUsU0F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JtaXQgYnV0dG9uXCIgKGNsaWNrKT1cIm9uT2soJGV2ZW50KVwiPjwvYnV0dG9uPlxuICAgIDwvZGl2PlxuPC9uZy10ZW1wbGF0ZT5cbiJdfQ==
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Component, Attribute,
|
|
2
|
+
import { Component, Attribute, ViewChild, NgModule } from '@angular/core';
|
|
3
3
|
import { CommonModule } from '@angular/common';
|
|
4
|
-
import * as
|
|
4
|
+
import * as i3 from '@wm/components/base';
|
|
5
5
|
import { register, PROP_STRING, PROP_BOOLEAN, PROP_NUMBER, provideAsWidgetRef, provideAsDialogRef, WmComponentsModule } from '@wm/components/base';
|
|
6
|
-
import * as
|
|
6
|
+
import * as i1 from '@wm/components/dialogs';
|
|
7
7
|
import { BaseDialog, DialogModule } from '@wm/components/dialogs';
|
|
8
|
-
import * as
|
|
8
|
+
import * as i2 from '@wm/components/input';
|
|
9
9
|
import { InputModule } from '@wm/components/input';
|
|
10
|
-
import * as i1 from '@wm/core';
|
|
11
10
|
import { toBoolean, UserDefinedExecutionContext } from '@wm/core';
|
|
12
11
|
|
|
13
12
|
const registerProps = () => {
|
|
@@ -55,7 +54,7 @@ function AlertDialogComponent_ng_template_0_Template(rf, ctx) {
|
|
|
55
54
|
const DIALOG_CLS = 'app-dialog modal-dialog app-alert-dialog';
|
|
56
55
|
const WIDGET_INFO = { widgetType: 'wm-alertdialog' };
|
|
57
56
|
class AlertDialogComponent extends BaseDialog {
|
|
58
|
-
constructor(inj, dialogClass, modal, closable
|
|
57
|
+
constructor(inj, dialogClass, modal, closable) {
|
|
59
58
|
if (modal === null || modal === undefined) {
|
|
60
59
|
modal = false;
|
|
61
60
|
}
|
|
@@ -64,12 +63,11 @@ class AlertDialogComponent extends BaseDialog {
|
|
|
64
63
|
}
|
|
65
64
|
// setting the backdrop to 'static' will not close the dialog on backdrop click
|
|
66
65
|
const backdrop = toBoolean(modal) ? 'static' : true;
|
|
67
|
-
super(inj, WIDGET_INFO,
|
|
66
|
+
super(inj, WIDGET_INFO, {
|
|
68
67
|
class: `${DIALOG_CLS} ${dialogClass || ''}`,
|
|
69
68
|
backdrop,
|
|
70
69
|
keyboard: !toBoolean(modal)
|
|
71
70
|
});
|
|
72
|
-
this._viewParent = _viewParent;
|
|
73
71
|
}
|
|
74
72
|
getTemplateRef() {
|
|
75
73
|
return this.dialogTemplate;
|
|
@@ -88,7 +86,7 @@ class AlertDialogComponent extends BaseDialog {
|
|
|
88
86
|
}
|
|
89
87
|
}
|
|
90
88
|
AlertDialogComponent.initializeProps = registerProps();
|
|
91
|
-
AlertDialogComponent.ɵfac = function AlertDialogComponent_Factory(t) { return new (t || AlertDialogComponent)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵinjectAttribute('class'), i0.ɵɵinjectAttribute('modal'), i0.ɵɵinjectAttribute('closable')
|
|
89
|
+
AlertDialogComponent.ɵfac = function AlertDialogComponent_Factory(t) { return new (t || AlertDialogComponent)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵinjectAttribute('class'), i0.ɵɵinjectAttribute('modal'), i0.ɵɵinjectAttribute('closable')); };
|
|
92
90
|
AlertDialogComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AlertDialogComponent, selectors: [["div", "wmAlertDialog", ""]], viewQuery: function AlertDialogComponent_Query(rf, ctx) {
|
|
93
91
|
if (rf & 1) {
|
|
94
92
|
i0.ɵɵviewQuery(_c0, 7);
|
|
@@ -108,7 +106,7 @@ AlertDialogComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AlertD
|
|
|
108
106
|
if (rf & 1) {
|
|
109
107
|
i0.ɵɵtemplate(0, AlertDialogComponent_ng_template_0_Template, 5, 13, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor);
|
|
110
108
|
}
|
|
111
|
-
}, dependencies: [
|
|
109
|
+
}, dependencies: [i1.DialogBodyDirective, i1.DialogFooterDirective, i1.DialogHeaderComponent, i2.ButtonComponent, i3.TextContentDirective], encapsulation: 2 });
|
|
112
110
|
(function () {
|
|
113
111
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AlertDialogComponent, [{
|
|
114
112
|
type: Component,
|
|
@@ -130,10 +128,6 @@ AlertDialogComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AlertD
|
|
|
130
128
|
}] }, { type: undefined, decorators: [{
|
|
131
129
|
type: Attribute,
|
|
132
130
|
args: ['closable']
|
|
133
|
-
}] }, { type: i1.UserDefinedExecutionContext, decorators: [{
|
|
134
|
-
type: SkipSelf
|
|
135
|
-
}, {
|
|
136
|
-
type: Optional
|
|
137
131
|
}] }];
|
|
138
132
|
}, { dialogTemplate: [{
|
|
139
133
|
type: ViewChild,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":["../../../../../projects/components/widgets/dialogs/alert-dialog/src/alert-dialog.props.ts","../../../../../projects/components/widgets/dialogs/alert-dialog/src/alert-dialog.component.html","../../../../../projects/components/widgets/dialogs/alert-dialog/src/alert-dialog.component.ts","../../../../../projects/components/widgets/dialogs/alert-dialog/src/alert-dialog.module.ts","../../../../../projects/components/widgets/dialogs/alert-dialog/src/index.ts"],"sourcesContent":["import { PROP_BOOLEAN, PROP_NUMBER, PROP_STRING, register } from '@wm/components/base';\n\nexport const registerProps = () => {\n register(\n 'wm-alertdialog',\n new Map(\n [\n ['alerttype', {value: 'error', ...PROP_STRING}],\n ['animation', PROP_STRING],\n ['class', PROP_STRING],\n ['closable', {value: true, PROP_BOOLEAN}],\n ['iconclass', {value: 'wi wi-warning', PROP_STRING}],\n ['iconheight', PROP_STRING],\n ['iconmargin', PROP_STRING],\n ['iconurl', PROP_STRING],\n ['iconwidth', PROP_STRING],\n ['message', {value: 'Am an alert box!', ...PROP_STRING}],\n ['modal', {value: false, ...PROP_BOOLEAN}],\n ['name', PROP_STRING],\n ['oktext', {value: 'OK', ...PROP_STRING}],\n ['tabindex', {value: 0, ...PROP_NUMBER}],\n ['title', {value: 'Alert', ...PROP_STRING}]\n ]\n )\n );\n};\n","<ng-template #dialogTemplate>\n <div wmDialogHeader [closable]=\"closable\"\n [iconclass]=\"iconclass\"\n [iconurl]=\"iconurl\"\n [iconwidth]=\"iconwidth\"\n [iconheight]=\"iconheight\"\n [iconmargin]=\"iconmargin\"\n [heading]=\"title\"\n [titleid]=\"titleId\"></div>\n <div wmDialogBody>\n <p class=\"app-dialog-message text-{{alerttype}}\" [attr.aria-describedby]=\"message\" [textContent]=\"message\"></p>\n </div>\n <div wmDialogFooter>\n <button wmButton class=\"btn-primary ok-action\" caption.bind=\"oktext\" aria-label=\"Submit button\" (click)=\"onOk($event)\"></button>\n </div>\n</ng-template>\n","import {Attribute, Component, Injector, OnInit, Optional, SkipSelf, TemplateRef, ViewChild} from '@angular/core';\n\nimport { toBoolean, UserDefinedExecutionContext } from '@wm/core';\nimport { IWidgetConfig, provideAsDialogRef, provideAsWidgetRef } from '@wm/components/base';\nimport { BaseDialog } from '@wm/components/dialogs';\n\nimport { registerProps } from './alert-dialog.props';\n\nconst DIALOG_CLS = 'app-dialog modal-dialog app-alert-dialog';\n\nconst WIDGET_INFO: IWidgetConfig = {widgetType: 'wm-alertdialog'};\n\n@Component({\n selector: 'div[wmAlertDialog]',\n templateUrl: './alert-dialog.component.html',\n providers: [\n provideAsWidgetRef(AlertDialogComponent),\n provideAsDialogRef(AlertDialogComponent),\n {\n provide: UserDefinedExecutionContext,\n useExisting: AlertDialogComponent\n }\n ]\n})\nexport class AlertDialogComponent extends BaseDialog implements OnInit {\n static initializeProps = registerProps();\n\n @ViewChild('dialogTemplate',{ static: true }) dialogTemplate: TemplateRef<any>;\n\n constructor(\n inj: Injector,\n @Attribute('class') dialogClass: string,\n @Attribute('modal') modal: string | boolean,\n @Attribute('closable') closable: string | boolean,\n @SkipSelf() @Optional() public _viewParent: UserDefinedExecutionContext\n ) {\n if (modal === null || modal === undefined) {\n modal = false;\n }\n\n if (closable === null || closable === undefined) {\n closable = true;\n }\n\n // setting the backdrop to 'static' will not close the dialog on backdrop click\n const backdrop: boolean | 'static' = toBoolean(modal) ? 'static' : true;\n\n super(\n inj,\n WIDGET_INFO,\n _viewParent,\n {\n class: `${DIALOG_CLS} ${dialogClass || ''}`,\n backdrop,\n keyboard: !toBoolean(modal)\n }\n );\n }\n\n protected getTemplateRef(): TemplateRef<any> {\n return this.dialogTemplate;\n }\n\n /**\n * Click event handler for the ok button\n * invokes on-ok event callback\n * @param {Event} $event\n */\n onOk($event: Event) {\n this.invokeEventCallback('ok', {$event});\n }\n\n ngOnInit() {\n super.ngOnInit();\n this.register(this.viewParent);\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { WmComponentsModule } from '@wm/components/base';\nimport { DialogModule } from '@wm/components/dialogs';\nimport { InputModule } from '@wm/components/input';\n\nimport { AlertDialogComponent } from './alert-dialog.component';\n\nconst components = [\n AlertDialogComponent\n];\n\n@NgModule({\n imports: [\n CommonModule,\n DialogModule,\n InputModule,\n WmComponentsModule\n ],\n declarations: [...components],\n exports: [...components]\n})\nexport class AlertDialogModule {\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;;;;;AAEO,MAAM,aAAa,GAAG,MAAK;AAC9B,IAAA,QAAQ,CACJ,gBAAgB,EAChB,IAAI,GAAG,CACH;AACI,QAAA,CAAC,WAAW,EAAG,MAAA,CAAA,MAAA,CAAA,EAAA,KAAK,EAAE,OAAO,EAAA,EAAK,WAAW,CAAE,CAAA;QAC/C,CAAC,WAAW,EAAE,WAAW,CAAC;QAC1B,CAAC,OAAO,EAAE,WAAW,CAAC;QACtB,CAAC,UAAU,EAAE,EAAC,KAAK,EAAE,IAAI,EAAE,YAAY,EAAC,CAAC;QACzC,CAAC,WAAW,EAAE,EAAC,KAAK,EAAE,eAAe,EAAE,WAAW,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;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":["../../../../../projects/components/widgets/dialogs/alert-dialog/src/alert-dialog.props.ts","../../../../../projects/components/widgets/dialogs/alert-dialog/src/alert-dialog.component.html","../../../../../projects/components/widgets/dialogs/alert-dialog/src/alert-dialog.component.ts","../../../../../projects/components/widgets/dialogs/alert-dialog/src/alert-dialog.module.ts","../../../../../projects/components/widgets/dialogs/alert-dialog/src/index.ts"],"sourcesContent":["import { PROP_BOOLEAN, PROP_NUMBER, PROP_STRING, register } from '@wm/components/base';\n\nexport const registerProps = () => {\n register(\n 'wm-alertdialog',\n new Map(\n [\n ['alerttype', {value: 'error', ...PROP_STRING}],\n ['animation', PROP_STRING],\n ['class', PROP_STRING],\n ['closable', {value: true, PROP_BOOLEAN}],\n ['iconclass', {value: 'wi wi-warning', PROP_STRING}],\n ['iconheight', PROP_STRING],\n ['iconmargin', PROP_STRING],\n ['iconurl', PROP_STRING],\n ['iconwidth', PROP_STRING],\n ['message', {value: 'Am an alert box!', ...PROP_STRING}],\n ['modal', {value: false, ...PROP_BOOLEAN}],\n ['name', PROP_STRING],\n ['oktext', {value: 'OK', ...PROP_STRING}],\n ['tabindex', {value: 0, ...PROP_NUMBER}],\n ['title', {value: 'Alert', ...PROP_STRING}]\n ]\n )\n );\n};\n","<ng-template #dialogTemplate>\n <div wmDialogHeader [closable]=\"closable\"\n [iconclass]=\"iconclass\"\n [iconurl]=\"iconurl\"\n [iconwidth]=\"iconwidth\"\n [iconheight]=\"iconheight\"\n [iconmargin]=\"iconmargin\"\n [heading]=\"title\"\n [titleid]=\"titleId\"></div>\n <div wmDialogBody>\n <p class=\"app-dialog-message text-{{alerttype}}\" [attr.aria-describedby]=\"message\" [textContent]=\"message\"></p>\n </div>\n <div wmDialogFooter>\n <button wmButton class=\"btn-primary ok-action\" caption.bind=\"oktext\" aria-label=\"Submit button\" (click)=\"onOk($event)\"></button>\n </div>\n</ng-template>\n","import {Attribute, Component, Injector, OnInit, Optional, SkipSelf, TemplateRef, ViewChild} from '@angular/core';\n\nimport { toBoolean, UserDefinedExecutionContext } from '@wm/core';\nimport { IWidgetConfig, provideAsDialogRef, provideAsWidgetRef } from '@wm/components/base';\nimport { BaseDialog } from '@wm/components/dialogs';\n\nimport { registerProps } from './alert-dialog.props';\n\nconst DIALOG_CLS = 'app-dialog modal-dialog app-alert-dialog';\n\nconst WIDGET_INFO: IWidgetConfig = {widgetType: 'wm-alertdialog'};\n\n@Component({\n selector: 'div[wmAlertDialog]',\n templateUrl: './alert-dialog.component.html',\n providers: [\n provideAsWidgetRef(AlertDialogComponent),\n provideAsDialogRef(AlertDialogComponent),\n {\n provide: UserDefinedExecutionContext,\n useExisting: AlertDialogComponent\n }\n ]\n})\nexport class AlertDialogComponent extends BaseDialog implements OnInit {\n static initializeProps = registerProps();\n\n @ViewChild('dialogTemplate',{ static: true }) dialogTemplate: TemplateRef<any>;\n\n constructor(\n inj: Injector,\n @Attribute('class') dialogClass: string,\n @Attribute('modal') modal: string | boolean,\n @Attribute('closable') closable: string | boolean\n ) {\n if (modal === null || modal === undefined) {\n modal = false;\n }\n\n if (closable === null || closable === undefined) {\n closable = true;\n }\n\n // setting the backdrop to 'static' will not close the dialog on backdrop click\n const backdrop: boolean | 'static' = toBoolean(modal) ? 'static' : true;\n\n super(\n inj,\n WIDGET_INFO,\n {\n class: `${DIALOG_CLS} ${dialogClass || ''}`,\n backdrop,\n keyboard: !toBoolean(modal)\n }\n );\n }\n\n protected getTemplateRef(): TemplateRef<any> {\n return this.dialogTemplate;\n }\n\n /**\n * Click event handler for the ok button\n * invokes on-ok event callback\n * @param {Event} $event\n */\n onOk($event: Event) {\n this.invokeEventCallback('ok', {$event});\n }\n\n ngOnInit() {\n super.ngOnInit();\n this.register(this.viewParent);\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { WmComponentsModule } from '@wm/components/base';\nimport { DialogModule } from '@wm/components/dialogs';\nimport { InputModule } from '@wm/components/input';\n\nimport { AlertDialogComponent } from './alert-dialog.component';\n\nconst components = [\n AlertDialogComponent\n];\n\n@NgModule({\n imports: [\n CommonModule,\n DialogModule,\n InputModule,\n WmComponentsModule\n ],\n declarations: [...components],\n exports: [...components]\n})\nexport class AlertDialogModule {\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;;;;AAEO,MAAM,aAAa,GAAG,MAAK;AAC9B,IAAA,QAAQ,CACJ,gBAAgB,EAChB,IAAI,GAAG,CACH;AACI,QAAA,CAAC,WAAW,EAAG,MAAA,CAAA,MAAA,CAAA,EAAA,KAAK,EAAE,OAAO,EAAA,EAAK,WAAW,CAAE,CAAA;QAC/C,CAAC,WAAW,EAAE,WAAW,CAAC;QAC1B,CAAC,OAAO,EAAE,WAAW,CAAC;QACtB,CAAC,UAAU,EAAE,EAAC,KAAK,EAAE,IAAI,EAAE,YAAY,EAAC,CAAC;QACzC,CAAC,WAAW,EAAE,EAAC,KAAK,EAAE,eAAe,EAAE,WAAW,EAAC,CAAC;QACpD,CAAC,YAAY,EAAE,WAAW,CAAC;QAC3B,CAAC,YAAY,EAAE,WAAW,CAAC;QAC3B,CAAC,SAAS,EAAE,WAAW,CAAC;QACxB,CAAC,WAAW,EAAE,WAAW,CAAC;AAC1B,QAAA,CAAC,SAAS,EAAG,MAAA,CAAA,MAAA,CAAA,EAAA,KAAK,EAAE,kBAAkB,EAAA,EAAK,WAAW,CAAE,CAAA;AACxD,QAAA,CAAC,OAAO,EAAG,MAAA,CAAA,MAAA,CAAA,EAAA,KAAK,EAAE,KAAK,EAAA,EAAK,YAAY,CAAE,CAAA;QAC1C,CAAC,MAAM,EAAE,WAAW,CAAC;AACrB,QAAA,CAAC,QAAQ,EAAG,MAAA,CAAA,MAAA,CAAA,EAAA,KAAK,EAAE,IAAI,EAAA,EAAK,WAAW,CAAE,CAAA;AACzC,QAAA,CAAC,UAAU,EAAG,MAAA,CAAA,MAAA,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