@wavemaker/app-ng-runtime 11.4.1-next.141652 → 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 -64
- 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 -10
- app-ng-runtime/components/page/default/fesm2015/index.mjs +26 -58
- app-ng-runtime/components/page/default/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/page/default/fesm2020/index.mjs +26 -46
- 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,8 +1,7 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Directive,
|
|
2
|
+
import { Directive, NgModule } from '@angular/core';
|
|
3
3
|
import { CommonModule } from '@angular/common';
|
|
4
4
|
import { register, PROP_STRING, PROP_NUMBER, StylableComponent, styler, APPLY_STYLES_TYPE, provideAsWidgetRef, WmComponentsModule } from '@wm/components/base';
|
|
5
|
-
import * as i1 from '@wm/core';
|
|
6
5
|
import { switchClass } from '@wm/core';
|
|
7
6
|
|
|
8
7
|
const registerProps = () => {
|
|
@@ -21,9 +20,8 @@ const WIDGET_CONFIG = {
|
|
|
21
20
|
hostClass: DEFAULT_CLS
|
|
22
21
|
};
|
|
23
22
|
class RightPanelDirective extends StylableComponent {
|
|
24
|
-
constructor(inj
|
|
25
|
-
super(inj, WIDGET_CONFIG
|
|
26
|
-
this._viewParent = _viewParent;
|
|
23
|
+
constructor(inj) {
|
|
24
|
+
super(inj, WIDGET_CONFIG);
|
|
27
25
|
styler(this.nativeElement, this, APPLY_STYLES_TYPE.CONTAINER);
|
|
28
26
|
}
|
|
29
27
|
onPropertyChange(key, nv, ov) {
|
|
@@ -36,7 +34,7 @@ class RightPanelDirective extends StylableComponent {
|
|
|
36
34
|
}
|
|
37
35
|
}
|
|
38
36
|
RightPanelDirective.initializeProps = registerProps();
|
|
39
|
-
RightPanelDirective.ɵfac = function RightPanelDirective_Factory(t) { return new (t || RightPanelDirective)(i0.ɵɵdirectiveInject(i0.Injector)
|
|
37
|
+
RightPanelDirective.ɵfac = function RightPanelDirective_Factory(t) { return new (t || RightPanelDirective)(i0.ɵɵdirectiveInject(i0.Injector)); };
|
|
40
38
|
RightPanelDirective.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: RightPanelDirective, selectors: [["", "wmRightPanel", ""]], exportAs: ["wmRightPanel"], features: [i0.ɵɵProvidersFeature([
|
|
41
39
|
provideAsWidgetRef(RightPanelDirective)
|
|
42
40
|
]), i0.ɵɵInheritDefinitionFeature] });
|
|
@@ -49,9 +47,7 @@ RightPanelDirective.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: RightPa
|
|
|
49
47
|
],
|
|
50
48
|
exportAs: 'wmRightPanel'
|
|
51
49
|
}]
|
|
52
|
-
}], function () { return [{ type: i0.Injector }
|
|
53
|
-
type: Optional
|
|
54
|
-
}] }]; }, null); })();
|
|
50
|
+
}], function () { return [{ type: i0.Injector }]; }, null); })();
|
|
55
51
|
|
|
56
52
|
const components = [
|
|
57
53
|
RightPanelDirective
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":["../../../../../projects/components/widgets/page/right-panel/src/right-panel.props.ts","../../../../../projects/components/widgets/page/right-panel/src/right-panel.directive.ts","../../../../../projects/components/widgets/page/right-panel/src/right-panel.module.ts","../../../../../projects/components/widgets/page/right-panel/src/index.ts"],"sourcesContent":["import { PROP_NUMBER, PROP_STRING, register } from '@wm/components/base';\n\nexport const registerProps = () => {\n register(\n 'wm-right-panel',\n new Map(\n [\n ['class', PROP_STRING],\n ['columnwidth', PROP_NUMBER],\n ['content', PROP_STRING],\n ['name', PROP_STRING],\n ['hint', PROP_STRING]\n ]\n )\n );\n};\n","import {Directive, Injector, Optional} from '@angular/core';\n\nimport {switchClass, UserDefinedExecutionContext} from '@wm/core';\n\nimport { APPLY_STYLES_TYPE, IWidgetConfig, provideAsWidgetRef, StylableComponent, styler } from '@wm/components/base';\nimport { registerProps } from './right-panel.props';\n\nconst DEFAULT_CLS = 'app-right-panel';\nconst WIDGET_CONFIG: IWidgetConfig = {\n widgetType: 'wm-right-panel',\n hostClass: DEFAULT_CLS\n};\n\n@Directive({\n selector: '[wmRightPanel]',\n providers: [\n provideAsWidgetRef(RightPanelDirective)\n ],\n exportAs: 'wmRightPanel'\n})\nexport class RightPanelDirective extends StylableComponent {\n static initializeProps = registerProps();\n constructor(inj: Injector
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":["../../../../../projects/components/widgets/page/right-panel/src/right-panel.props.ts","../../../../../projects/components/widgets/page/right-panel/src/right-panel.directive.ts","../../../../../projects/components/widgets/page/right-panel/src/right-panel.module.ts","../../../../../projects/components/widgets/page/right-panel/src/index.ts"],"sourcesContent":["import { PROP_NUMBER, PROP_STRING, register } from '@wm/components/base';\n\nexport const registerProps = () => {\n register(\n 'wm-right-panel',\n new Map(\n [\n ['class', PROP_STRING],\n ['columnwidth', PROP_NUMBER],\n ['content', PROP_STRING],\n ['name', PROP_STRING],\n ['hint', PROP_STRING]\n ]\n )\n );\n};\n","import {Directive, Injector, Optional} from '@angular/core';\n\nimport {switchClass, UserDefinedExecutionContext} from '@wm/core';\n\nimport { APPLY_STYLES_TYPE, IWidgetConfig, provideAsWidgetRef, StylableComponent, styler } from '@wm/components/base';\nimport { registerProps } from './right-panel.props';\n\nconst DEFAULT_CLS = 'app-right-panel';\nconst WIDGET_CONFIG: IWidgetConfig = {\n widgetType: 'wm-right-panel',\n hostClass: DEFAULT_CLS\n};\n\n@Directive({\n selector: '[wmRightPanel]',\n providers: [\n provideAsWidgetRef(RightPanelDirective)\n ],\n exportAs: 'wmRightPanel'\n})\nexport class RightPanelDirective extends StylableComponent {\n static initializeProps = registerProps();\n constructor(inj: Injector) {\n super(inj, WIDGET_CONFIG);\n\n styler(this.nativeElement, this, APPLY_STYLES_TYPE.CONTAINER);\n }\n\n onPropertyChange(key: string, nv: any, ov?: any) {\n if (key === 'columnwidth') {\n switchClass(this.nativeElement, `col-sm-${nv}`, ov ? ` col-sm-${ov}` : '');\n } else {\n super.onPropertyChange(key, nv, ov);\n }\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { WmComponentsModule } from '@wm/components/base';\n\nimport { RightPanelDirective } from './right-panel.directive';\n\nconst components = [\n RightPanelDirective\n];\n\n@NgModule({\n imports: [\n CommonModule,\n WmComponentsModule\n ],\n declarations: [...components],\n exports: [...components]\n})\nexport class RightPanelModule {\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;QACI,CAAC,OAAO,EAAE,WAAW,CAAC;QACtB,CAAC,aAAa,EAAE,WAAW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AAA,CAAA,EAAA,CAAA,kBAAA,CAAA;YACP,kBAAkB,CAAC,mBAAmB,CAAC;AAC1C,SAAA,CAAA,EAAA,EAAA,CAAA,0BAAA,CAAA,EAAA,CAAA,CAAA;uFAGQ,mBAAmB,EAAA,CAAA;cAP/B,SAAS;AAAC,QAAA,IAAA,EAAA,CAAA;AACP,gBAAA,QAAQ,EAAE,gBAAgB;AAC1B,gBAAA,SAAS,EAAE;AACP,oBAAA,kBAAkB,CAAqB,mBAAA,CAAA;AAC1C,iBAAA;AACD,gBAAA,QAAQ,EAAE,cAAc;AAC3B,aAAA,CAAA;;;ACZD,MAAM,UAAU,GAAG;IACf,mBAAmB;CACtB,CAAC;MAUW,gBAAgB,CAAA;;gFAAhB,gBAAgB,GAAA,CAAA,EAAA,CAAA;kEAAhB,gBAAgB,EAAA,CAAA,CAAA;sEANrB,YAAY;QACZ,kBAAkB,CAAA,EAAA,CAAA,CAAA;uFAKb,gBAAgB,EAAA,CAAA;cAR5B,QAAQ;AAAC,QAAA,IAAA,EAAA,CAAA;AACN,gBAAA,OAAO,EAAE;oBACL,YAAY;oBACZ,kBAAkB;AACrB,iBAAA;AACD,gBAAA,YAAY,EAAE,CAAC,GAAG,UAAU,CAAC;AAC7B,gBAAA,OAAO,EAAE,CAAC,GAAG,UAAU,CAAC;AAC3B,aAAA,CAAA;;wFACY,gBAAgB,EAAA,EAAA,YAAA,EAAA,CAXzB,mBAAmB,CAAA,EAAA,OAAA,EAAA,CAKf,YAAY;AACZ,QAAA,kBAAkB,aANtB,mBAAmB,CAAA,EAAA,CAAA,CAAA,EAAA,GAAA;;ACRvB;;AAEG;;;;"}
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
import { Injector } from '@angular/core';
|
|
2
|
-
import { UserDefinedExecutionContext } from '@wm/core';
|
|
3
2
|
import { StylableComponent } from '@wm/components/base';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
4
|
export declare class RightPanelDirective extends StylableComponent {
|
|
6
|
-
_viewParent: UserDefinedExecutionContext;
|
|
7
5
|
static initializeProps: void;
|
|
8
|
-
constructor(inj: Injector
|
|
6
|
+
constructor(inj: Injector);
|
|
9
7
|
onPropertyChange(key: string, nv: any, ov?: any): void;
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RightPanelDirective,
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RightPanelDirective, never>;
|
|
11
9
|
static ɵdir: i0.ɵɵDirectiveDeclaration<RightPanelDirective, "[wmRightPanel]", ["wmRightPanel"], {}, {}, never, never, false, never>;
|
|
12
10
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('@wm/components/base')
|
|
3
|
-
typeof define === 'function' && define.amd ? define(['exports', '@angular/core', '@angular/common', '@wm/components/base'
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.wm = global.wm || {}, global.wm.components = global.wm.components || {}, global.wm.components.page = global.wm.components.page || {}, global.wm.components.page.topnav = {}), global.ng.core, global.ng.common, global.wm.components.base
|
|
5
|
-
})(this, (function (exports, i0, common, base
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('@wm/components/base')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define(['exports', '@angular/core', '@angular/common', '@wm/components/base'], factory) :
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.wm = global.wm || {}, global.wm.components = global.wm.components || {}, global.wm.components.page = global.wm.components.page || {}, global.wm.components.page.topnav = {}), global.ng.core, global.ng.common, global.wm.components.base));
|
|
5
|
+
})(this, (function (exports, i0, common, base) { 'use strict';
|
|
6
6
|
|
|
7
7
|
function _interopNamespaceDefault(e) {
|
|
8
8
|
var n = Object.create(null);
|
|
@@ -22,7 +22,6 @@
|
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
var i0__namespace = /*#__PURE__*/_interopNamespaceDefault(i0);
|
|
25
|
-
var i1__namespace = /*#__PURE__*/_interopNamespaceDefault(i1);
|
|
26
25
|
|
|
27
26
|
const registerProps = () => {
|
|
28
27
|
base.register('wm-top-nav', new Map([
|
|
@@ -35,14 +34,13 @@
|
|
|
35
34
|
const DEFAULT_CLS = 'app-top-nav';
|
|
36
35
|
const WIDGET_CONFIG = { widgetType: 'wm-top-nav', hostClass: DEFAULT_CLS };
|
|
37
36
|
class TopNavDirective extends base.StylableComponent {
|
|
38
|
-
constructor(inj
|
|
39
|
-
super(inj, WIDGET_CONFIG
|
|
40
|
-
this._viewParent = _viewParent;
|
|
37
|
+
constructor(inj) {
|
|
38
|
+
super(inj, WIDGET_CONFIG);
|
|
41
39
|
base.styler(this.nativeElement, this);
|
|
42
40
|
}
|
|
43
41
|
}
|
|
44
42
|
TopNavDirective.initializeProps = registerProps();
|
|
45
|
-
TopNavDirective.ɵfac = function TopNavDirective_Factory(t) { return new (t || TopNavDirective)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector)
|
|
43
|
+
TopNavDirective.ɵfac = function TopNavDirective_Factory(t) { return new (t || TopNavDirective)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector)); };
|
|
46
44
|
TopNavDirective.ɵdir = /*@__PURE__*/ i0__namespace.ɵɵdefineDirective({ type: TopNavDirective, selectors: [["", "wmTopNav", ""]], exportAs: ["wmTopNav"], features: [i0__namespace.ɵɵProvidersFeature([
|
|
47
45
|
base.provideAsWidgetRef(TopNavDirective)
|
|
48
46
|
]), i0__namespace.ɵɵInheritDefinitionFeature] });
|
|
@@ -56,11 +54,7 @@
|
|
|
56
54
|
],
|
|
57
55
|
exportAs: 'wmTopNav'
|
|
58
56
|
}]
|
|
59
|
-
}], function () {
|
|
60
|
-
return [{ type: i0__namespace.Injector }, { type: i1__namespace.UserDefinedExecutionContext, decorators: [{
|
|
61
|
-
type: i0.Optional
|
|
62
|
-
}] }];
|
|
63
|
-
}, null);
|
|
57
|
+
}], function () { return [{ type: i0__namespace.Injector }]; }, null);
|
|
64
58
|
})();
|
|
65
59
|
|
|
66
60
|
const components = [
|
|
@@ -1,20 +1,17 @@
|
|
|
1
|
-
import { Directive, Injector
|
|
1
|
+
import { Directive, Injector } from '@angular/core';
|
|
2
2
|
import { provideAsWidgetRef, StylableComponent, styler } from '@wm/components/base';
|
|
3
3
|
import { registerProps } from './top-nav.props';
|
|
4
|
-
import { UserDefinedExecutionContext } from '@wm/core';
|
|
5
4
|
import * as i0 from "@angular/core";
|
|
6
|
-
import * as i1 from "@wm/core";
|
|
7
5
|
const DEFAULT_CLS = 'app-top-nav';
|
|
8
6
|
const WIDGET_CONFIG = { widgetType: 'wm-top-nav', hostClass: DEFAULT_CLS };
|
|
9
7
|
export class TopNavDirective extends StylableComponent {
|
|
10
|
-
constructor(inj
|
|
11
|
-
super(inj, WIDGET_CONFIG
|
|
12
|
-
this._viewParent = _viewParent;
|
|
8
|
+
constructor(inj) {
|
|
9
|
+
super(inj, WIDGET_CONFIG);
|
|
13
10
|
styler(this.nativeElement, this);
|
|
14
11
|
}
|
|
15
12
|
}
|
|
16
13
|
TopNavDirective.initializeProps = registerProps();
|
|
17
|
-
TopNavDirective.ɵfac = function TopNavDirective_Factory(t) { return new (t || TopNavDirective)(i0.ɵɵdirectiveInject(i0.Injector)
|
|
14
|
+
TopNavDirective.ɵfac = function TopNavDirective_Factory(t) { return new (t || TopNavDirective)(i0.ɵɵdirectiveInject(i0.Injector)); };
|
|
18
15
|
TopNavDirective.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: TopNavDirective, selectors: [["", "wmTopNav", ""]], exportAs: ["wmTopNav"], features: [i0.ɵɵProvidersFeature([
|
|
19
16
|
provideAsWidgetRef(TopNavDirective)
|
|
20
17
|
]), i0.ɵɵInheritDefinitionFeature] });
|
|
@@ -27,7 +24,5 @@ TopNavDirective.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: TopNavDirec
|
|
|
27
24
|
],
|
|
28
25
|
exportAs: 'wmTopNav'
|
|
29
26
|
}]
|
|
30
|
-
}], function () { return [{ type: i0.Injector }
|
|
31
|
-
|
|
32
|
-
}] }]; }, null); })();
|
|
33
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9wLW5hdi5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb21wb25lbnRzL3dpZGdldHMvcGFnZS90b3AtbmF2L3NyYy90b3AtbmF2LmRpcmVjdGl2ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUMsU0FBUyxFQUFFLFFBQVEsRUFBRSxRQUFRLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFFNUQsT0FBTyxFQUFFLGtCQUFrQixFQUFFLGlCQUFpQixFQUFFLE1BQU0sRUFBRSxNQUFNLHFCQUFxQixDQUFDO0FBQ3BGLE9BQU8sRUFBRSxhQUFhLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUNoRCxPQUFPLEVBQUMsMkJBQTJCLEVBQUMsTUFBTSxVQUFVLENBQUM7OztBQUVyRCxNQUFNLFdBQVcsR0FBRyxhQUFhLENBQUM7QUFDbEMsTUFBTSxhQUFhLEdBQUcsRUFBQyxVQUFVLEVBQUUsWUFBWSxFQUFFLFNBQVMsRUFBRSxXQUFXLEVBQUMsQ0FBQztBQVN6RSxNQUFNLE9BQU8sZUFBZ0IsU0FBUSxpQkFBaUI7SUFHbEQsWUFBWSxHQUFhLEVBQXFCLFdBQXdDO1FBQ2xGLEtBQUssQ0FBQyxHQUFHLEVBQUUsYUFBYSxFQUFFLFdBQVcsQ0FBQyxDQUFDO1FBREcsZ0JBQVcsR0FBWCxXQUFXLENBQTZCO1FBR2xGLE1BQU0sQ0FBQyxJ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J1xufSlcbmV4cG9ydCBjbGFzcyBUb3BOYXZEaXJlY3RpdmUgZXh0ZW5kcyBTdHlsYWJsZUNvbXBvbmVudCB7XG4gICAgc3RhdGljIGluaXRpYWxpemVQcm9wcyA9IHJlZ2lzdGVyUHJvcHMoKTtcblxuICAgIGNvbnN0cnVjdG9yKGluajogSW5qZWN0b3IsIEBPcHRpb25hbCgpIHB1YmxpYyBfdmlld1BhcmVudDogVXNlckRlZmluZWRFeGVjdXRpb25Db250ZXh0KSB7XG4gICAgICAgIHN1cGVyKGluaiwgV0lER0VUX0NPTkZJRywgX3ZpZXdQYXJlbnQpO1xuXG4gICAgICAgIHN0eWxlcih0aGlzLm5hdGl2ZUVsZW1lbnQsIHRoaXMpO1xuICAgIH1cbn1cbiJdfQ==
|
|
27
|
+
}], function () { return [{ type: i0.Injector }]; }, null); })();
|
|
28
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9wLW5hdi5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb21wb25lbnRzL3dpZGdldHMvcGFnZS90b3AtbmF2L3NyYy90b3AtbmF2LmRpcmVjdGl2ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUMsU0FBUyxFQUFFLFFBQVEsRUFBVyxNQUFNLGVBQWUsQ0FBQztBQUU1RCxPQUFPLEVBQUUsa0JBQWtCLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSxFQUFFLE1BQU0scUJBQXFCLENBQUM7QUFDcEYsT0FBTyxFQUFFLGFBQWEsRUFBRSxNQUFNLGlCQUFpQixDQUFDOztBQUdoRCxNQUFNLFdBQVcsR0FBRyxhQUFhLENBQUM7QUFDbEMsTUFBTSxhQUFhLEdBQUcsRUFBQyxVQUFVLEVBQUUsWUFBWSxFQUFFLFNBQVMsRUFBRSxXQUFXL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3RvcjogJ1t3bVRvcE5hdl0nLFxuICAgIHByb3ZpZGVyczogW1xuICAgICAgICBwcm92aWRlQXNXaWRnZXRSZWYoVG9wTmF2RGlyZWN0aXZlKVxuICAgIF0sXG4gICAgZXhwb3J0QXM6ICd3bVRvcE5hdidcbn0pXG5leHBvcnQgY2xhc3MgVG9wTmF2RGlyZWN0aXZlIGV4dGVuZHMgU3R5bGFibGVDb21wb25lbnQge1xuICAgIHN0YXRpYyBpbml0aWFsaXplUHJvcHMgPSByZWdpc3RlclByb3BzKCk7XG5cbiAgICBjb25zdHJ1Y3Rvcihpbmo6IEluamVjdG9yKSB7XG4gICAgICAgIHN1cGVyKGluaiwgV0lER0VUX0NPTkZJRyk7XG5cbiAgICAgICAgc3R5bGVyKHRoaXMubmF0aXZlRWxlbWVudCwgdGhpcyk7XG4gICAgfVxufVxuIl19
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Directive,
|
|
2
|
+
import { Directive, NgModule } from '@angular/core';
|
|
3
3
|
import { CommonModule } from '@angular/common';
|
|
4
4
|
import { register, PROP_STRING, StylableComponent, styler, provideAsWidgetRef, WmComponentsModule } from '@wm/components/base';
|
|
5
|
-
import * as i1 from '@wm/core';
|
|
6
5
|
|
|
7
6
|
const registerProps = () => {
|
|
8
7
|
register('wm-top-nav', new Map([
|
|
@@ -15,14 +14,13 @@ const registerProps = () => {
|
|
|
15
14
|
const DEFAULT_CLS = 'app-top-nav';
|
|
16
15
|
const WIDGET_CONFIG = { widgetType: 'wm-top-nav', hostClass: DEFAULT_CLS };
|
|
17
16
|
class TopNavDirective extends StylableComponent {
|
|
18
|
-
constructor(inj
|
|
19
|
-
super(inj, WIDGET_CONFIG
|
|
20
|
-
this._viewParent = _viewParent;
|
|
17
|
+
constructor(inj) {
|
|
18
|
+
super(inj, WIDGET_CONFIG);
|
|
21
19
|
styler(this.nativeElement, this);
|
|
22
20
|
}
|
|
23
21
|
}
|
|
24
22
|
TopNavDirective.initializeProps = registerProps();
|
|
25
|
-
TopNavDirective.ɵfac = function TopNavDirective_Factory(t) { return new (t || TopNavDirective)(i0.ɵɵdirectiveInject(i0.Injector)
|
|
23
|
+
TopNavDirective.ɵfac = function TopNavDirective_Factory(t) { return new (t || TopNavDirective)(i0.ɵɵdirectiveInject(i0.Injector)); };
|
|
26
24
|
TopNavDirective.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: TopNavDirective, selectors: [["", "wmTopNav", ""]], exportAs: ["wmTopNav"], features: [i0.ɵɵProvidersFeature([
|
|
27
25
|
provideAsWidgetRef(TopNavDirective)
|
|
28
26
|
]), i0.ɵɵInheritDefinitionFeature] });
|
|
@@ -36,11 +34,7 @@ TopNavDirective.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: TopNavDirec
|
|
|
36
34
|
],
|
|
37
35
|
exportAs: 'wmTopNav'
|
|
38
36
|
}]
|
|
39
|
-
}], function () {
|
|
40
|
-
return [{ type: i0.Injector }, { type: i1.UserDefinedExecutionContext, decorators: [{
|
|
41
|
-
type: Optional
|
|
42
|
-
}] }];
|
|
43
|
-
}, null);
|
|
37
|
+
}], function () { return [{ type: i0.Injector }]; }, null);
|
|
44
38
|
})();
|
|
45
39
|
|
|
46
40
|
const components = [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":["../../../../../projects/components/widgets/page/top-nav/src/top-nav.props.ts","../../../../../projects/components/widgets/page/top-nav/src/top-nav.directive.ts","../../../../../projects/components/widgets/page/top-nav/src/top-nav.module.ts","../../../../../projects/components/widgets/page/top-nav/src/index.ts"],"sourcesContent":["import { PROP_STRING, register } from '@wm/components/base';\n\nexport const registerProps = () => {\n register(\n 'wm-top-nav',\n new Map(\n [\n ['name', PROP_STRING],\n ['content', PROP_STRING],\n ['hint', PROP_STRING]\n ]\n )\n );\n};\n","import {Directive, Injector, Optional} from '@angular/core';\n\nimport { provideAsWidgetRef, StylableComponent, styler } from '@wm/components/base';\nimport { registerProps } from './top-nav.props';\nimport {UserDefinedExecutionContext} from '@wm/core';\n\nconst DEFAULT_CLS = 'app-top-nav';\nconst WIDGET_CONFIG = {widgetType: 'wm-top-nav', hostClass: DEFAULT_CLS};\n\n@Directive({\n selector: '[wmTopNav]',\n providers: [\n provideAsWidgetRef(TopNavDirective)\n ],\n exportAs: 'wmTopNav'\n})\nexport class TopNavDirective extends StylableComponent {\n static initializeProps = registerProps();\n\n constructor(inj: Injector
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":["../../../../../projects/components/widgets/page/top-nav/src/top-nav.props.ts","../../../../../projects/components/widgets/page/top-nav/src/top-nav.directive.ts","../../../../../projects/components/widgets/page/top-nav/src/top-nav.module.ts","../../../../../projects/components/widgets/page/top-nav/src/index.ts"],"sourcesContent":["import { PROP_STRING, register } from '@wm/components/base';\n\nexport const registerProps = () => {\n register(\n 'wm-top-nav',\n new Map(\n [\n ['name', PROP_STRING],\n ['content', PROP_STRING],\n ['hint', PROP_STRING]\n ]\n )\n );\n};\n","import {Directive, Injector, Optional} from '@angular/core';\n\nimport { provideAsWidgetRef, StylableComponent, styler } from '@wm/components/base';\nimport { registerProps } from './top-nav.props';\nimport {UserDefinedExecutionContext} from '@wm/core';\n\nconst DEFAULT_CLS = 'app-top-nav';\nconst WIDGET_CONFIG = {widgetType: 'wm-top-nav', hostClass: DEFAULT_CLS};\n\n@Directive({\n selector: '[wmTopNav]',\n providers: [\n provideAsWidgetRef(TopNavDirective)\n ],\n exportAs: 'wmTopNav'\n})\nexport class TopNavDirective extends StylableComponent {\n static initializeProps = registerProps();\n\n constructor(inj: Injector) {\n super(inj, WIDGET_CONFIG);\n\n styler(this.nativeElement, this);\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { WmComponentsModule } from '@wm/components/base';\n\nimport { TopNavDirective } from './top-nav.directive';\n\nconst components = [\n TopNavDirective\n];\n\n@NgModule({\n imports: [\n CommonModule,\n WmComponentsModule\n ],\n declarations: [...components],\n exports: [...components]\n})\nexport class TopNavModule {\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,YAAY,EACZ,IAAI,GAAG,CACH;QACI,CAAC,MAAM,EAAE,WAAW,CAAC;QACrB,CAAC,SAAS,EAAE,WAAW,CAAC;QACxB,CAAC,MAAM,EAAE,WAAW,CAAC;AACxB,KAAA,CACJ,CACJ,CAAC;AACN,CAAC;;ACPD,MAAM,WAAW,GAAG,aAAa,CAAC;AAClC,MAAM,aAAa,GAAG,EAAC,UAAU,EAAE,YAAY,EAAE,SAAS,EAAE,WAAW,EAAC,CAAC;AASnE,MAAO,eAAgB,SAAQ,iBAAiB,CAAA;AAGlD,IAAA,WAAA,CAAY,GAAa,EAAA;AACrB,QAAA,KAAK,CAAC,GAAG,EAAE,aAAa,CAAC,CAAC;AAE1B,QAAA,MAAM,CAAC,IAAI,CAAC,aAAa,EAAE,IAAI,CAAC,CAAC;KACpC;;AANM,eAAe,CAAA,eAAA,GAAG,aAAa,EAAE,CAAC;8EADhC,eAAe,EAAA,EAAA,CAAA,iBAAA,CAAA,EAAA,CAAA,QAAA,CAAA,CAAA,CAAA,EAAA,CAAA;AAAf,eAAA,CAAA,IAAA,iBAAA,EAAA,CAAA,iBAAA,CAAA,EAAA,IAAA,EAAA,eAAe,EALb,SAAA,EAAA,CAAA,CAAA,EAAA,EAAA,UAAA,EAAA,EAAA,CAAA,CAAA,EAAA,QAAA,EAAA,CAAA,UAAA,CAAA,EAAA,QAAA,EAAA,CAAA,EAAA,CAAA,kBAAA,CAAA;YACP,kBAAkB,CAAC,eAAe,CAAC;AACtC,SAAA,CAAA,EAAA,EAAA,CAAA,0BAAA,CAAA,EAAA,CAAA,CAAA;;4EAGQ,eAAe,EAAA,CAAA;kBAP3B,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,QAAQ,EAAE,YAAY;AACtB,oBAAA,SAAS,EAAE;wBACP,kBAAkB,CAAiB,eAAA,CAAA;AACtC,qBAAA;AACD,oBAAA,QAAQ,EAAE,UAAU;iBACvB,CAAA;;;;ACRD,MAAM,UAAU,GAAG;IACf,eAAe;CAClB,CAAC;MAUW,YAAY,CAAA;;wEAAZ,YAAY,GAAA,CAAA,EAAA,CAAA;8DAAZ,YAAY,EAAA,CAAA,CAAA;kEANjB,YAAY;QACZ,kBAAkB,CAAA,EAAA,CAAA,CAAA;;4EAKb,YAAY,EAAA,CAAA;kBARxB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE;wBACL,YAAY;wBACZ,kBAAkB;AACrB,qBAAA;AACD,oBAAA,YAAY,EAAE,CAAC,GAAG,UAAU,CAAC;AAC7B,oBAAA,OAAO,EAAE,CAAC,GAAG,UAAU,CAAC;iBAC3B,CAAA;;;;6EACY,YAAY,EAAA,EAAA,YAAA,EAAA,CAXrB,eAAe,CAAA,EAAA,OAAA,EAAA,CAKX,YAAY;YACZ,kBAAkB,aANtB,eAAe,CAAA,EAAA,CAAA,CAAA;AAAA,CAAA,GAAA;;ACRnB;;AAEG;;;;"}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Directive,
|
|
2
|
+
import { Directive, NgModule } from '@angular/core';
|
|
3
3
|
import { CommonModule } from '@angular/common';
|
|
4
4
|
import { register, PROP_STRING, StylableComponent, styler, provideAsWidgetRef, WmComponentsModule } from '@wm/components/base';
|
|
5
|
-
import * as i1 from '@wm/core';
|
|
6
5
|
|
|
7
6
|
const registerProps = () => {
|
|
8
7
|
register('wm-top-nav', new Map([
|
|
@@ -15,14 +14,13 @@ const registerProps = () => {
|
|
|
15
14
|
const DEFAULT_CLS = 'app-top-nav';
|
|
16
15
|
const WIDGET_CONFIG = { widgetType: 'wm-top-nav', hostClass: DEFAULT_CLS };
|
|
17
16
|
class TopNavDirective extends StylableComponent {
|
|
18
|
-
constructor(inj
|
|
19
|
-
super(inj, WIDGET_CONFIG
|
|
20
|
-
this._viewParent = _viewParent;
|
|
17
|
+
constructor(inj) {
|
|
18
|
+
super(inj, WIDGET_CONFIG);
|
|
21
19
|
styler(this.nativeElement, this);
|
|
22
20
|
}
|
|
23
21
|
}
|
|
24
22
|
TopNavDirective.initializeProps = registerProps();
|
|
25
|
-
TopNavDirective.ɵfac = function TopNavDirective_Factory(t) { return new (t || TopNavDirective)(i0.ɵɵdirectiveInject(i0.Injector)
|
|
23
|
+
TopNavDirective.ɵfac = function TopNavDirective_Factory(t) { return new (t || TopNavDirective)(i0.ɵɵdirectiveInject(i0.Injector)); };
|
|
26
24
|
TopNavDirective.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: TopNavDirective, selectors: [["", "wmTopNav", ""]], exportAs: ["wmTopNav"], features: [i0.ɵɵProvidersFeature([
|
|
27
25
|
provideAsWidgetRef(TopNavDirective)
|
|
28
26
|
]), i0.ɵɵInheritDefinitionFeature] });
|
|
@@ -35,9 +33,7 @@ TopNavDirective.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: TopNavDirec
|
|
|
35
33
|
],
|
|
36
34
|
exportAs: 'wmTopNav'
|
|
37
35
|
}]
|
|
38
|
-
}], function () { return [{ type: i0.Injector }
|
|
39
|
-
type: Optional
|
|
40
|
-
}] }]; }, null); })();
|
|
36
|
+
}], function () { return [{ type: i0.Injector }]; }, null); })();
|
|
41
37
|
|
|
42
38
|
const components = [
|
|
43
39
|
TopNavDirective
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":["../../../../../projects/components/widgets/page/top-nav/src/top-nav.props.ts","../../../../../projects/components/widgets/page/top-nav/src/top-nav.directive.ts","../../../../../projects/components/widgets/page/top-nav/src/top-nav.module.ts","../../../../../projects/components/widgets/page/top-nav/src/index.ts"],"sourcesContent":["import { PROP_STRING, register } from '@wm/components/base';\n\nexport const registerProps = () => {\n register(\n 'wm-top-nav',\n new Map(\n [\n ['name', PROP_STRING],\n ['content', PROP_STRING],\n ['hint', PROP_STRING]\n ]\n )\n );\n};\n","import {Directive, Injector, Optional} from '@angular/core';\n\nimport { provideAsWidgetRef, StylableComponent, styler } from '@wm/components/base';\nimport { registerProps } from './top-nav.props';\nimport {UserDefinedExecutionContext} from '@wm/core';\n\nconst DEFAULT_CLS = 'app-top-nav';\nconst WIDGET_CONFIG = {widgetType: 'wm-top-nav', hostClass: DEFAULT_CLS};\n\n@Directive({\n selector: '[wmTopNav]',\n providers: [\n provideAsWidgetRef(TopNavDirective)\n ],\n exportAs: 'wmTopNav'\n})\nexport class TopNavDirective extends StylableComponent {\n static initializeProps = registerProps();\n\n constructor(inj: Injector
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":["../../../../../projects/components/widgets/page/top-nav/src/top-nav.props.ts","../../../../../projects/components/widgets/page/top-nav/src/top-nav.directive.ts","../../../../../projects/components/widgets/page/top-nav/src/top-nav.module.ts","../../../../../projects/components/widgets/page/top-nav/src/index.ts"],"sourcesContent":["import { PROP_STRING, register } from '@wm/components/base';\n\nexport const registerProps = () => {\n register(\n 'wm-top-nav',\n new Map(\n [\n ['name', PROP_STRING],\n ['content', PROP_STRING],\n ['hint', PROP_STRING]\n ]\n )\n );\n};\n","import {Directive, Injector, Optional} from '@angular/core';\n\nimport { provideAsWidgetRef, StylableComponent, styler } from '@wm/components/base';\nimport { registerProps } from './top-nav.props';\nimport {UserDefinedExecutionContext} from '@wm/core';\n\nconst DEFAULT_CLS = 'app-top-nav';\nconst WIDGET_CONFIG = {widgetType: 'wm-top-nav', hostClass: DEFAULT_CLS};\n\n@Directive({\n selector: '[wmTopNav]',\n providers: [\n provideAsWidgetRef(TopNavDirective)\n ],\n exportAs: 'wmTopNav'\n})\nexport class TopNavDirective extends StylableComponent {\n static initializeProps = registerProps();\n\n constructor(inj: Injector) {\n super(inj, WIDGET_CONFIG);\n\n styler(this.nativeElement, this);\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { WmComponentsModule } from '@wm/components/base';\n\nimport { TopNavDirective } from './top-nav.directive';\n\nconst components = [\n TopNavDirective\n];\n\n@NgModule({\n imports: [\n CommonModule,\n WmComponentsModule\n ],\n declarations: [...components],\n exports: [...components]\n})\nexport class TopNavModule {\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,YAAY,EACZ,IAAI,GAAG,CACH;QACI,CAAC,MAAM,EAAE,WAAW,CAAC;QACrB,CAAC,SAAS,EAAE,WAAW,CAAC;QACxB,CAAC,MAAM,EAAE,WAAW,CAAC;AACxB,KAAA,CACJ,CACJ,CAAC;AACN,CAAC;;ACPD,MAAM,WAAW,GAAG,aAAa,CAAC;AAClC,MAAM,aAAa,GAAG,EAAC,UAAU,EAAE,YAAY,EAAE,SAAS,EAAE,WAAW,EAAC,CAAC;AASnE,MAAO,eAAgB,SAAQ,iBAAiB,CAAA;AAGlD,IAAA,WAAA,CAAY,GAAa,EAAA;AACrB,QAAA,KAAK,CAAC,GAAG,EAAE,aAAa,CAAC,CAAC;AAE1B,QAAA,MAAM,CAAC,IAAI,CAAC,aAAa,EAAE,IAAI,CAAC,CAAC;KACpC;;AANM,eAAe,CAAA,eAAA,GAAG,aAAa,EAAE,CAAC;8EADhC,eAAe,EAAA,EAAA,CAAA,iBAAA,CAAA,EAAA,CAAA,QAAA,CAAA,CAAA,CAAA,EAAA,CAAA;AAAf,eAAA,CAAA,IAAA,iBAAA,EAAA,CAAA,iBAAA,CAAA,EAAA,IAAA,EAAA,eAAe,EALb,SAAA,EAAA,CAAA,CAAA,EAAA,EAAA,UAAA,EAAA,EAAA,CAAA,CAAA,EAAA,QAAA,EAAA,CAAA,UAAA,CAAA,EAAA,QAAA,EAAA,CAAA,EAAA,CAAA,kBAAA,CAAA;YACP,kBAAkB,CAAC,eAAe,CAAC;AACtC,SAAA,CAAA,EAAA,EAAA,CAAA,0BAAA,CAAA,EAAA,CAAA,CAAA;uFAGQ,eAAe,EAAA,CAAA;cAP3B,SAAS;AAAC,QAAA,IAAA,EAAA,CAAA;AACP,gBAAA,QAAQ,EAAE,YAAY;AACtB,gBAAA,SAAS,EAAE;AACP,oBAAA,kBAAkB,CAAiB,eAAA,CAAA;AACtC,iBAAA;AACD,gBAAA,QAAQ,EAAE,UAAU;AACvB,aAAA,CAAA;;;ACRD,MAAM,UAAU,GAAG;IACf,eAAe;CAClB,CAAC;MAUW,YAAY,CAAA;;wEAAZ,YAAY,GAAA,CAAA,EAAA,CAAA;8DAAZ,YAAY,EAAA,CAAA,CAAA;kEANjB,YAAY;QACZ,kBAAkB,CAAA,EAAA,CAAA,CAAA;uFAKb,YAAY,EAAA,CAAA;cARxB,QAAQ;AAAC,QAAA,IAAA,EAAA,CAAA;AACN,gBAAA,OAAO,EAAE;oBACL,YAAY;oBACZ,kBAAkB;AACrB,iBAAA;AACD,gBAAA,YAAY,EAAE,CAAC,GAAG,UAAU,CAAC;AAC7B,gBAAA,OAAO,EAAE,CAAC,GAAG,UAAU,CAAC;AAC3B,aAAA,CAAA;;wFACY,YAAY,EAAA,EAAA,YAAA,EAAA,CAXrB,eAAe,CAAA,EAAA,OAAA,EAAA,CAKX,YAAY;AACZ,QAAA,kBAAkB,aANtB,eAAe,CAAA,EAAA,CAAA,CAAA,EAAA,GAAA;;ACRnB;;AAEG;;;;"}
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import { Injector } from '@angular/core';
|
|
2
2
|
import { StylableComponent } from '@wm/components/base';
|
|
3
|
-
import { UserDefinedExecutionContext } from '@wm/core';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
4
|
export declare class TopNavDirective extends StylableComponent {
|
|
6
|
-
_viewParent: UserDefinedExecutionContext;
|
|
7
5
|
static initializeProps: void;
|
|
8
|
-
constructor(inj: Injector
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TopNavDirective,
|
|
6
|
+
constructor(inj: Injector);
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TopNavDirective, never>;
|
|
10
8
|
static ɵdir: i0.ɵɵDirectiveDeclaration<TopNavDirective, "[wmTopNav]", ["wmTopNav"], {}, {}, never, never, false, never>;
|
|
11
9
|
}
|
|
@@ -34,12 +34,11 @@
|
|
|
34
34
|
const DEFAULT_CLS$1 = 'app-prefab';
|
|
35
35
|
const registeredPropsSet = new Set();
|
|
36
36
|
class PrefabDirective extends base.StylableComponent {
|
|
37
|
-
constructor(inj, elRef, cdr, prefabName
|
|
37
|
+
constructor(inj, elRef, cdr, prefabName) {
|
|
38
38
|
const widgetType = `wm-prefab-${prefabName}`;
|
|
39
39
|
const WIDGET_CONFIG = { widgetType, hostClass: DEFAULT_CLS$1 };
|
|
40
40
|
let resolveFn = i1.noop;
|
|
41
|
-
super(inj, WIDGET_CONFIG,
|
|
42
|
-
this._viewParent = _viewParent;
|
|
41
|
+
super(inj, WIDGET_CONFIG, new Promise(res => resolveFn = res));
|
|
43
42
|
this.propsReady = resolveFn;
|
|
44
43
|
this.prefabName = prefabName;
|
|
45
44
|
this.widgetType = widgetType;
|
|
@@ -91,7 +90,7 @@
|
|
|
91
90
|
this.invokeEventCallback('destroy', { widget: this });
|
|
92
91
|
}
|
|
93
92
|
}
|
|
94
|
-
PrefabDirective.ɵfac = function PrefabDirective_Factory(t) { return new (t || PrefabDirective)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵdirectiveInject(i0__namespace.ElementRef), i0__namespace.ɵɵdirectiveInject(i0__namespace.ChangeDetectorRef), i0__namespace.ɵɵinjectAttribute('prefabname')
|
|
93
|
+
PrefabDirective.ɵfac = function PrefabDirective_Factory(t) { return new (t || PrefabDirective)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵdirectiveInject(i0__namespace.ElementRef), i0__namespace.ɵɵdirectiveInject(i0__namespace.ChangeDetectorRef), i0__namespace.ɵɵinjectAttribute('prefabname')); };
|
|
95
94
|
PrefabDirective.ɵdir = /*@__PURE__*/ i0__namespace.ɵɵdefineDirective({ type: PrefabDirective, selectors: [["section", "wmPrefab", ""]], features: [i0__namespace.ɵɵProvidersFeature([
|
|
96
95
|
base.provideAsWidgetRef(PrefabDirective)
|
|
97
96
|
]), i0__namespace.ɵɵInheritDefinitionFeature] });
|
|
@@ -108,8 +107,6 @@
|
|
|
108
107
|
return [{ type: i0__namespace.Injector }, { type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }, { type: undefined, decorators: [{
|
|
109
108
|
type: i0.Attribute,
|
|
110
109
|
args: ['prefabname']
|
|
111
|
-
}] }, { type: i1__namespace.UserDefinedExecutionContext, decorators: [{
|
|
112
|
-
type: i0.Optional
|
|
113
110
|
}] }];
|
|
114
111
|
}, null);
|
|
115
112
|
})();
|
|
@@ -128,10 +125,9 @@
|
|
|
128
125
|
hostClass: DEFAULT_CLS
|
|
129
126
|
};
|
|
130
127
|
class PrefabContainerDirective extends base.StylableComponent {
|
|
131
|
-
constructor(inj, viewport
|
|
132
|
-
super(inj, WIDGET_CONFIG
|
|
128
|
+
constructor(inj, viewport) {
|
|
129
|
+
super(inj, WIDGET_CONFIG);
|
|
133
130
|
this.viewport = viewport;
|
|
134
|
-
this._viewParent = _viewParent;
|
|
135
131
|
base.styler(this.nativeElement, this);
|
|
136
132
|
this.registerDestroyListener(this.viewport.subscribe("resize" /* ViewportEvent.RESIZE */, data => this.callback('resize', data)));
|
|
137
133
|
this.registerDestroyListener(this.viewport.subscribe("orientationchange" /* ViewportEvent.ORIENTATION_CHANGE */, data => this.callback('orientationchange', data)));
|
|
@@ -151,7 +147,7 @@
|
|
|
151
147
|
}
|
|
152
148
|
}
|
|
153
149
|
PrefabContainerDirective.initializeProps = registerProps();
|
|
154
|
-
PrefabContainerDirective.ɵfac = function PrefabContainerDirective_Factory(t) { return new (t || PrefabContainerDirective)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵdirectiveInject(i1__namespace.Viewport)
|
|
150
|
+
PrefabContainerDirective.ɵfac = function PrefabContainerDirective_Factory(t) { return new (t || PrefabContainerDirective)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵdirectiveInject(i1__namespace.Viewport)); };
|
|
155
151
|
PrefabContainerDirective.ɵdir = /*@__PURE__*/ i0__namespace.ɵɵdefineDirective({ type: PrefabContainerDirective, selectors: [["", "wmPrefabContainer", ""]], features: [i0__namespace.ɵɵProvidersFeature([
|
|
156
152
|
base.provideAsWidgetRef(PrefabContainerDirective)
|
|
157
153
|
]), i0__namespace.ɵɵInheritDefinitionFeature] });
|
|
@@ -164,11 +160,7 @@
|
|
|
164
160
|
base.provideAsWidgetRef(PrefabContainerDirective)
|
|
165
161
|
]
|
|
166
162
|
}]
|
|
167
|
-
}], function () {
|
|
168
|
-
return [{ type: i0__namespace.Injector }, { type: i1__namespace.Viewport }, { type: i1__namespace.UserDefinedExecutionContext, decorators: [{
|
|
169
|
-
type: i0.Optional
|
|
170
|
-
}] }];
|
|
171
|
-
}, null);
|
|
163
|
+
}], function () { return [{ type: i0__namespace.Injector }, { type: i1__namespace.Viewport }]; }, null);
|
|
172
164
|
})();
|
|
173
165
|
|
|
174
166
|
const components = [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Directive, Injector
|
|
1
|
+
import { Directive, Injector } from '@angular/core';
|
|
2
2
|
import { provideAsWidgetRef, StylableComponent, styler } from '@wm/components/base';
|
|
3
|
-
import {
|
|
3
|
+
import { Viewport } from '@wm/core';
|
|
4
4
|
import { registerProps } from './prefab-container.props';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
import * as i1 from "@wm/core";
|
|
@@ -10,10 +10,9 @@ const WIDGET_CONFIG = {
|
|
|
10
10
|
hostClass: DEFAULT_CLS
|
|
11
11
|
};
|
|
12
12
|
export class PrefabContainerDirective extends StylableComponent {
|
|
13
|
-
constructor(inj, viewport
|
|
14
|
-
super(inj, WIDGET_CONFIG
|
|
13
|
+
constructor(inj, viewport) {
|
|
14
|
+
super(inj, WIDGET_CONFIG);
|
|
15
15
|
this.viewport = viewport;
|
|
16
|
-
this._viewParent = _viewParent;
|
|
17
16
|
styler(this.nativeElement, this);
|
|
18
17
|
this.registerDestroyListener(this.viewport.subscribe("resize" /* ViewportEvent.RESIZE */, data => this.callback('resize', data)));
|
|
19
18
|
this.registerDestroyListener(this.viewport.subscribe("orientationchange" /* ViewportEvent.ORIENTATION_CHANGE */, data => this.callback('orientationchange', data)));
|
|
@@ -33,7 +32,7 @@ export class PrefabContainerDirective extends StylableComponent {
|
|
|
33
32
|
}
|
|
34
33
|
}
|
|
35
34
|
PrefabContainerDirective.initializeProps = registerProps();
|
|
36
|
-
PrefabContainerDirective.ɵfac = function PrefabContainerDirective_Factory(t) { return new (t || PrefabContainerDirective)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(i1.Viewport)
|
|
35
|
+
PrefabContainerDirective.ɵfac = function PrefabContainerDirective_Factory(t) { return new (t || PrefabContainerDirective)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(i1.Viewport)); };
|
|
37
36
|
PrefabContainerDirective.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: PrefabContainerDirective, selectors: [["", "wmPrefabContainer", ""]], features: [i0.ɵɵProvidersFeature([
|
|
38
37
|
provideAsWidgetRef(PrefabContainerDirective)
|
|
39
38
|
]), i0.ɵɵInheritDefinitionFeature] });
|
|
@@ -45,7 +44,5 @@ PrefabContainerDirective.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: Pr
|
|
|
45
44
|
provideAsWidgetRef(PrefabContainerDirective)
|
|
46
45
|
]
|
|
47
46
|
}]
|
|
48
|
-
}], function ()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ge1xuICAgICAgICB0aGlzLmNhbGxiYWNrKCdhdHRhY2gnKTtcbiAgICB9XG5cbiAgICBwdWJsaWMgbmdPbkRldGFjaCgpIHtcbiAgICAgICAgdGhpcy5jYWxsYmFjaygnZGV0YWNoJyk7XG4gICAgfVxuXG4gICAgcHVibGljIG5nT25EZXN0cm95KCkge1xuICAgICAgICB0aGlzLmNhbGxiYWNrKCdkZXN0cm95Jyk7XG4gICAgfVxufVxuIl19
|
|
47
|
+
}], function () { return [{ type: i0.Injector }, { type: i1.Viewport }]; }, null); })();
|
|
48
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJlZmFiLWNvbnRhaW5lci5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb21wb25lbnRzL3dpZGdldHMvcHJlZmFiL3NyYy9wcmVmYWItY29udGFpbmVyL3ByZWZhYi1jb250YWluZXIuZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxTQUFTLEVBQUUsUUFBUSxFQUFzQixNQUFNLGVBQWUsQ0FBQztBQUV2RSxPQUFPLEVBQWlCLGtCQUFrQixFQUFFLGlCQUFpQixFQUFFLE1BQU0sRUFBRSxNQUFNLHFCQUFxQixDQUFDO0FBQ25HLE9BQU8sRUFBOEIsUUFBUSxFQUFnQixNQUFNLFVBQVUsQ0FBQztBQUM5RSxPQUFPLEVBQUUsYUFBYSxFQUFFLE1BQU0sMEJBQTBCLENBQUM7OztBQUV6RCxNQUFNLFdBQVcsR0FBRyxrQ0FBa0MsQ0FBQztBQUN2RCxNQUFNLGFBQWEsR0FBa0I7SUFDakMsVUFBVSxFQUFFLHFCQUFxQjtJQUNqQyxTQUFTLEVBQUUsV0FBVztDQUN6QixDQUFDO0FBU0YsTUFBTSxPQUFPLHdCQUF5QixTQUFRLGlCQ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dHRhY2goKSB7XG4gICAgICAgIHRoaXMuY2FsbGJhY2soJ2F0dGFjaCcpO1xuICAgIH1cblxuICAgIHB1YmxpYyBuZ09uRGV0YWNoKCkge1xuICAgICAgICB0aGlzLmNhbGxiYWNrKCdkZXRhY2gnKTtcbiAgICB9XG5cbiAgICBwdWJsaWMgbmdPbkRlc3Ryb3koKSB7XG4gICAgICAgIHRoaXMuY2FsbGJhY2soJ2Rlc3Ryb3knKTtcbiAgICB9XG59XG4iXX0=
|
|
@@ -1,18 +1,16 @@
|
|
|
1
|
-
import { Attribute, ChangeDetectorRef, Directive, ElementRef, Injector
|
|
2
|
-
import { setCSS, noop
|
|
1
|
+
import { Attribute, ChangeDetectorRef, Directive, ElementRef, Injector } from '@angular/core';
|
|
2
|
+
import { setCSS, noop } from '@wm/core';
|
|
3
3
|
import { PROP_TYPE, register, provideAsWidgetRef, StylableComponent, styler } from '@wm/components/base';
|
|
4
4
|
import { prefabProps } from './prefab.props';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
-
import * as i1 from "@wm/core";
|
|
7
6
|
const DEFAULT_CLS = 'app-prefab';
|
|
8
7
|
const registeredPropsSet = new Set();
|
|
9
8
|
export class PrefabDirective extends StylableComponent {
|
|
10
|
-
constructor(inj, elRef, cdr, prefabName
|
|
9
|
+
constructor(inj, elRef, cdr, prefabName) {
|
|
11
10
|
const widgetType = `wm-prefab-${prefabName}`;
|
|
12
11
|
const WIDGET_CONFIG = { widgetType, hostClass: DEFAULT_CLS };
|
|
13
12
|
let resolveFn = noop;
|
|
14
|
-
super(inj, WIDGET_CONFIG,
|
|
15
|
-
this._viewParent = _viewParent;
|
|
13
|
+
super(inj, WIDGET_CONFIG, new Promise(res => resolveFn = res));
|
|
16
14
|
this.propsReady = resolveFn;
|
|
17
15
|
this.prefabName = prefabName;
|
|
18
16
|
this.widgetType = widgetType;
|
|
@@ -64,7 +62,7 @@ export class PrefabDirective extends StylableComponent {
|
|
|
64
62
|
this.invokeEventCallback('destroy', { widget: this });
|
|
65
63
|
}
|
|
66
64
|
}
|
|
67
|
-
PrefabDirective.ɵfac = function PrefabDirective_Factory(t) { return new (t || PrefabDirective)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵinjectAttribute('prefabname')
|
|
65
|
+
PrefabDirective.ɵfac = function PrefabDirective_Factory(t) { return new (t || PrefabDirective)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵinjectAttribute('prefabname')); };
|
|
68
66
|
PrefabDirective.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: PrefabDirective, selectors: [["section", "wmPrefab", ""]], features: [i0.ɵɵProvidersFeature([
|
|
69
67
|
provideAsWidgetRef(PrefabDirective)
|
|
70
68
|
]), i0.ɵɵInheritDefinitionFeature] });
|
|
@@ -79,7 +77,5 @@ PrefabDirective.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: PrefabDirec
|
|
|
79
77
|
}], function () { return [{ type: i0.Injector }, { type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: undefined, decorators: [{
|
|
80
78
|
type: Attribute,
|
|
81
79
|
args: ['prefabname']
|
|
82
|
-
}] }, { type: i1.UserDefinedExecutionContext, decorators: [{
|
|
83
|
-
type: Optional
|
|
84
80
|
}] }]; }, null); })();
|
|
85
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
81
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJlZmFiLmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL2NvbXBvbmVudHMvd2lkZ2V0cy9wcmVmYWIvc3JjL3ByZWZhYi5kaXJlY3RpdmUudHMiXSwib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AgPSBuZXcgTWFwKHByZWZhYlByb3BzKTtcbiAgICAgICAgT2JqZWN0LmVudHJpZXMocHJvcHMpLmZvckVhY2goKFtrLCB2XTogW3N0cmluZywgYW55XSkgPT4ge1xuICAgICAgICAgICAgbGV0IHR5cGUgPSBQUk9QX1RZUEUuU1RSSU5HO1xuXG4gICAgICAgICAgICBpZiAodi50eXBlID09PSAnYm9vbGVhbicpIHtcbiAgICAgICAgICAgICAgICB0eXBlID0gUFJPUF9UWVBFLkJPT0xFQU47XG4gICAgICAgICAgICB9IGVsc2UgaWYgKHYudHlwZSA9PT0gJ251bWJlcicpIHtcbiAgICAgICAgICAgICAgICB0eXBlID0gUFJPUF9UWVBFLk5VTUJFUjtcbiAgICAgICAgICAgIH0gZWxzZSBpZiAodi50eXBlICE9PSAnc3RyaW5nJykge1xuICAgICAgICAgICAgICAgIHR5cGUgPSB2LnR5cGU7XG4gICAgICAgICAgICB9XG5cbiAgICAgICAgICAgIC8vIERvIG5vdCBzZXQgdGhlICdiaW5kOionIHZhbHVlc1xuICAgICAgICAgICAgcHJvcHNNYXAuc2V0KGssIHt0eXBlLCB2YWx1ZTogXy5zdGFydHNXaXRoKHYudmFsdWUsICdiaW5kOicpID8gdW5kZWZpbmVkIDogdi52YWx1ZX0pO1xuICAgICAgICB9KTtcblxuICAgICAgICByZWdpc3RlcmVkUHJvcHNTZXQuYWRkKHRoaXMud2lkZ2V0VHlwZSk7XG5cbiAgICAgICAgcmV0dXJuIHByb3BzTWFwO1xuICAgIH1cblxuICAgIG5nT25EZXN0cm95KCkge1xuICAgICAgICB0aGlzLmludm9rZUV2ZW50Q2FsbGJhY2soJ2Rlc3Ryb3knLCB7IHdpZGdldDogdGhpcyB9KTtcbiAgICB9XG59XG4iXX0=
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Directive, Attribute,
|
|
2
|
+
import { Directive, Attribute, NgModule } from '@angular/core';
|
|
3
3
|
import { CommonModule } from '@angular/common';
|
|
4
4
|
import { PROP_STRING, PROP_BOOLEAN, StylableComponent, styler, register, PROP_TYPE, provideAsWidgetRef, WmComponentsModule } from '@wm/components/base';
|
|
5
5
|
import * as i1 from '@wm/core';
|
|
@@ -15,12 +15,11 @@ const prefabProps = new Map([
|
|
|
15
15
|
const DEFAULT_CLS$1 = 'app-prefab';
|
|
16
16
|
const registeredPropsSet = new Set();
|
|
17
17
|
class PrefabDirective extends StylableComponent {
|
|
18
|
-
constructor(inj, elRef, cdr, prefabName
|
|
18
|
+
constructor(inj, elRef, cdr, prefabName) {
|
|
19
19
|
const widgetType = `wm-prefab-${prefabName}`;
|
|
20
20
|
const WIDGET_CONFIG = { widgetType, hostClass: DEFAULT_CLS$1 };
|
|
21
21
|
let resolveFn = noop;
|
|
22
|
-
super(inj, WIDGET_CONFIG,
|
|
23
|
-
this._viewParent = _viewParent;
|
|
22
|
+
super(inj, WIDGET_CONFIG, new Promise(res => resolveFn = res));
|
|
24
23
|
this.propsReady = resolveFn;
|
|
25
24
|
this.prefabName = prefabName;
|
|
26
25
|
this.widgetType = widgetType;
|
|
@@ -72,7 +71,7 @@ class PrefabDirective extends StylableComponent {
|
|
|
72
71
|
this.invokeEventCallback('destroy', { widget: this });
|
|
73
72
|
}
|
|
74
73
|
}
|
|
75
|
-
PrefabDirective.ɵfac = function PrefabDirective_Factory(t) { return new (t || PrefabDirective)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵinjectAttribute('prefabname')
|
|
74
|
+
PrefabDirective.ɵfac = function PrefabDirective_Factory(t) { return new (t || PrefabDirective)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵinjectAttribute('prefabname')); };
|
|
76
75
|
PrefabDirective.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: PrefabDirective, selectors: [["section", "wmPrefab", ""]], features: [i0.ɵɵProvidersFeature([
|
|
77
76
|
provideAsWidgetRef(PrefabDirective)
|
|
78
77
|
]), i0.ɵɵInheritDefinitionFeature] });
|
|
@@ -89,8 +88,6 @@ PrefabDirective.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: PrefabDirec
|
|
|
89
88
|
return [{ type: i0.Injector }, { type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: undefined, decorators: [{
|
|
90
89
|
type: Attribute,
|
|
91
90
|
args: ['prefabname']
|
|
92
|
-
}] }, { type: i1.UserDefinedExecutionContext, decorators: [{
|
|
93
|
-
type: Optional
|
|
94
91
|
}] }];
|
|
95
92
|
}, null);
|
|
96
93
|
})();
|
|
@@ -109,10 +106,9 @@ const WIDGET_CONFIG = {
|
|
|
109
106
|
hostClass: DEFAULT_CLS
|
|
110
107
|
};
|
|
111
108
|
class PrefabContainerDirective extends StylableComponent {
|
|
112
|
-
constructor(inj, viewport
|
|
113
|
-
super(inj, WIDGET_CONFIG
|
|
109
|
+
constructor(inj, viewport) {
|
|
110
|
+
super(inj, WIDGET_CONFIG);
|
|
114
111
|
this.viewport = viewport;
|
|
115
|
-
this._viewParent = _viewParent;
|
|
116
112
|
styler(this.nativeElement, this);
|
|
117
113
|
this.registerDestroyListener(this.viewport.subscribe("resize" /* ViewportEvent.RESIZE */, data => this.callback('resize', data)));
|
|
118
114
|
this.registerDestroyListener(this.viewport.subscribe("orientationchange" /* ViewportEvent.ORIENTATION_CHANGE */, data => this.callback('orientationchange', data)));
|
|
@@ -132,7 +128,7 @@ class PrefabContainerDirective extends StylableComponent {
|
|
|
132
128
|
}
|
|
133
129
|
}
|
|
134
130
|
PrefabContainerDirective.initializeProps = registerProps();
|
|
135
|
-
PrefabContainerDirective.ɵfac = function PrefabContainerDirective_Factory(t) { return new (t || PrefabContainerDirective)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(i1.Viewport)
|
|
131
|
+
PrefabContainerDirective.ɵfac = function PrefabContainerDirective_Factory(t) { return new (t || PrefabContainerDirective)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(i1.Viewport)); };
|
|
136
132
|
PrefabContainerDirective.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: PrefabContainerDirective, selectors: [["", "wmPrefabContainer", ""]], features: [i0.ɵɵProvidersFeature([
|
|
137
133
|
provideAsWidgetRef(PrefabContainerDirective)
|
|
138
134
|
]), i0.ɵɵInheritDefinitionFeature] });
|
|
@@ -145,11 +141,7 @@ PrefabContainerDirective.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: Pr
|
|
|
145
141
|
provideAsWidgetRef(PrefabContainerDirective)
|
|
146
142
|
]
|
|
147
143
|
}]
|
|
148
|
-
}], function () {
|
|
149
|
-
return [{ type: i0.Injector }, { type: i1.Viewport }, { type: i1.UserDefinedExecutionContext, decorators: [{
|
|
150
|
-
type: Optional
|
|
151
|
-
}] }];
|
|
152
|
-
}, null);
|
|
144
|
+
}], function () { return [{ type: i0.Injector }, { type: i1.Viewport }]; }, null);
|
|
153
145
|
})();
|
|
154
146
|
|
|
155
147
|
const components = [
|