@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 } from '@angular/core';
|
|
2
2
|
import { BaseContainerComponent } from '@wm/components/base';
|
|
3
|
-
import { UserDefinedExecutionContext } from '@wm/core';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
4
|
export declare class LayoutgridDirective extends BaseContainerComponent {
|
|
6
|
-
_viewParent: UserDefinedExecutionContext;
|
|
7
5
|
static initializeProps: void;
|
|
8
|
-
constructor(inj: Injector
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LayoutgridDirective,
|
|
6
|
+
constructor(inj: Injector);
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LayoutgridDirective, never>;
|
|
10
8
|
static ɵdir: i0.ɵɵDirectiveDeclaration<LayoutgridDirective, "[wmLayoutGrid]", never, {}, {}, never, never, false, never>;
|
|
11
9
|
}
|
|
@@ -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.containers = global.wm.components.containers || {}, global.wm.components.containers.linearlayout = {}), 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.containers = global.wm.components.containers || {}, global.wm.components.containers.linearlayout = {}), 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$1 = () => {
|
|
28
27
|
base.register('wm-linearlayout', new Map([
|
|
@@ -51,9 +50,8 @@
|
|
|
51
50
|
'center': 'center',
|
|
52
51
|
};
|
|
53
52
|
class LinearLayoutDirective extends base.BaseContainerComponent {
|
|
54
|
-
constructor(inj
|
|
55
|
-
super(inj, WIDGET_CONFIG$1
|
|
56
|
-
this._viewParent = _viewParent;
|
|
53
|
+
constructor(inj) {
|
|
54
|
+
super(inj, WIDGET_CONFIG$1);
|
|
57
55
|
base.styler(this.nativeElement, this, base.APPLY_STYLES_TYPE.CONTAINER);
|
|
58
56
|
}
|
|
59
57
|
removeClass($el, prefix) {
|
|
@@ -113,7 +111,7 @@
|
|
|
113
111
|
}
|
|
114
112
|
}
|
|
115
113
|
LinearLayoutDirective.initializeProps = registerProps$1();
|
|
116
|
-
LinearLayoutDirective.ɵfac = function LinearLayoutDirective_Factory(t) { return new (t || LinearLayoutDirective)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector)
|
|
114
|
+
LinearLayoutDirective.ɵfac = function LinearLayoutDirective_Factory(t) { return new (t || LinearLayoutDirective)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector)); };
|
|
117
115
|
LinearLayoutDirective.ɵdir = /*@__PURE__*/ i0__namespace.ɵɵdefineDirective({ type: LinearLayoutDirective, selectors: [["", "wmLinearLayout", ""]], features: [i0__namespace.ɵɵProvidersFeature([
|
|
118
116
|
base.provideAsWidgetRef(LinearLayoutDirective)
|
|
119
117
|
]), i0__namespace.ɵɵInheritDefinitionFeature] });
|
|
@@ -126,11 +124,7 @@
|
|
|
126
124
|
base.provideAsWidgetRef(LinearLayoutDirective)
|
|
127
125
|
]
|
|
128
126
|
}]
|
|
129
|
-
}], function () {
|
|
130
|
-
return [{ type: i0__namespace.Injector }, { type: i1__namespace.UserDefinedExecutionContext, decorators: [{
|
|
131
|
-
type: i0.Optional
|
|
132
|
-
}] }];
|
|
133
|
-
}, null);
|
|
127
|
+
}], function () { return [{ type: i0__namespace.Injector }]; }, null);
|
|
134
128
|
})();
|
|
135
129
|
|
|
136
130
|
const registerProps = () => {
|
|
@@ -148,9 +142,8 @@
|
|
|
148
142
|
hostClass: DEFAULT_CLS
|
|
149
143
|
};
|
|
150
144
|
class LinearLayoutItemDirective extends base.StylableComponent {
|
|
151
|
-
constructor(inj
|
|
152
|
-
super(inj, WIDGET_CONFIG
|
|
153
|
-
this._viewParent = _viewParent;
|
|
145
|
+
constructor(inj) {
|
|
146
|
+
super(inj, WIDGET_CONFIG);
|
|
154
147
|
base.styler(this.nativeElement, this, base.APPLY_STYLES_TYPE.CONTAINER);
|
|
155
148
|
}
|
|
156
149
|
onPropertyChange(key, nv, ov) {
|
|
@@ -163,7 +156,7 @@
|
|
|
163
156
|
}
|
|
164
157
|
}
|
|
165
158
|
LinearLayoutItemDirective.initializeProps = registerProps();
|
|
166
|
-
LinearLayoutItemDirective.ɵfac = function LinearLayoutItemDirective_Factory(t) { return new (t || LinearLayoutItemDirective)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector)
|
|
159
|
+
LinearLayoutItemDirective.ɵfac = function LinearLayoutItemDirective_Factory(t) { return new (t || LinearLayoutItemDirective)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector)); };
|
|
167
160
|
LinearLayoutItemDirective.ɵdir = /*@__PURE__*/ i0__namespace.ɵɵdefineDirective({ type: LinearLayoutItemDirective, selectors: [["", "wmLinearLayoutItem", ""]], features: [i0__namespace.ɵɵProvidersFeature([
|
|
168
161
|
base.provideAsWidgetRef(LinearLayoutItemDirective)
|
|
169
162
|
]), i0__namespace.ɵɵInheritDefinitionFeature] });
|
|
@@ -176,11 +169,7 @@
|
|
|
176
169
|
base.provideAsWidgetRef(LinearLayoutItemDirective)
|
|
177
170
|
]
|
|
178
171
|
}]
|
|
179
|
-
}], function () {
|
|
180
|
-
return [{ type: i0__namespace.Injector }, { type: i1__namespace.UserDefinedExecutionContext, decorators: [{
|
|
181
|
-
type: i0.Optional
|
|
182
|
-
}] }];
|
|
183
|
-
}, null);
|
|
172
|
+
}], function () { return [{ type: i0__namespace.Injector }]; }, null);
|
|
184
173
|
})();
|
|
185
174
|
|
|
186
175
|
const components = [
|
|
@@ -1,18 +1,15 @@
|
|
|
1
|
-
import { Directive, Injector
|
|
1
|
+
import { Directive, Injector } from '@angular/core';
|
|
2
2
|
import { APPLY_STYLES_TYPE, provideAsWidgetRef, styler, StylableComponent } from '@wm/components/base';
|
|
3
3
|
import { registerProps } from './linear-layout-item.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-linear-layout-item clearfix';
|
|
8
6
|
const WIDGET_CONFIG = {
|
|
9
7
|
widgetType: 'wm-linearlayoutitem',
|
|
10
8
|
hostClass: DEFAULT_CLS
|
|
11
9
|
};
|
|
12
10
|
export class LinearLayoutItemDirective extends StylableComponent {
|
|
13
|
-
constructor(inj
|
|
14
|
-
super(inj, WIDGET_CONFIG
|
|
15
|
-
this._viewParent = _viewParent;
|
|
11
|
+
constructor(inj) {
|
|
12
|
+
super(inj, WIDGET_CONFIG);
|
|
16
13
|
styler(this.nativeElement, this, APPLY_STYLES_TYPE.CONTAINER);
|
|
17
14
|
}
|
|
18
15
|
onPropertyChange(key, nv, ov) {
|
|
@@ -25,7 +22,7 @@ export class LinearLayoutItemDirective extends StylableComponent {
|
|
|
25
22
|
}
|
|
26
23
|
}
|
|
27
24
|
LinearLayoutItemDirective.initializeProps = registerProps();
|
|
28
|
-
LinearLayoutItemDirective.ɵfac = function LinearLayoutItemDirective_Factory(t) { return new (t || LinearLayoutItemDirective)(i0.ɵɵdirectiveInject(i0.Injector)
|
|
25
|
+
LinearLayoutItemDirective.ɵfac = function LinearLayoutItemDirective_Factory(t) { return new (t || LinearLayoutItemDirective)(i0.ɵɵdirectiveInject(i0.Injector)); };
|
|
29
26
|
LinearLayoutItemDirective.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: LinearLayoutItemDirective, selectors: [["", "wmLinearLayoutItem", ""]], features: [i0.ɵɵProvidersFeature([
|
|
30
27
|
provideAsWidgetRef(LinearLayoutItemDirective)
|
|
31
28
|
]), i0.ɵɵInheritDefinitionFeature] });
|
|
@@ -37,7 +34,5 @@ LinearLayoutItemDirective.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: L
|
|
|
37
34
|
provideAsWidgetRef(LinearLayoutItemDirective)
|
|
38
35
|
]
|
|
39
36
|
}]
|
|
40
|
-
}], function () { return [{ type: i0.Injector }
|
|
41
|
-
|
|
42
|
-
}] }]; }, null); })();
|
|
43
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGluZWFyLWxheW91dC1pdGVtLmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvbXBvbmVudHMvd2lkZ2V0cy9jb250YWluZXJzL2xpbmVhci1sYXlvdXQvc3JjL2xpbmVhci1sYXlvdXQtaXRlbS9saW5lYXItbGF5b3V0LWl0ZW0uZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxTQUFTLEVBQUUsUUFBUSxFQUFFLFFBQVEsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUU1RCxPQUFPLEVBQUUsaUJBQWlCLEVBQWlCLGtCQUFrQixFQUFFLE1BQU0sRUFBRSxpQkFBaUIsRUFBRSxNQUFNLHFCQUFxQixDQUFDO0FBRXRILE9BQU8sRUFBRSxhQUFhLEVBQUUsTUFBTSw0QkFBNEIsQ0FB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GluajogSW5qZWN0b3IsIEBPcHRpb25hbCgpIHB1YmxpYyBfdmlld1BhcmVudDogVXNlckRlZmluZWRFeGVjdXRpb25Db250ZXh0KSB7XG4gICAgICAgIHN1cGVyKGluaiwgV0lER0VUX0NPTkZJRywgX3ZpZXdQYXJlbnQpO1xuXG4gICAgICAgIHN0eWxlcih0aGlzLm5hdGl2ZUVsZW1lbnQsIHRoaXMsIEFQUExZX1NUWUxFU19UWVBFLkNPTlRBSU5FUik7XG4gICAgfVxuXG4gICAgb25Qcm9wZXJ0eUNoYW5nZShrZXk6IHN0cmluZywgbnY6IGFueSwgb3Y/OiBhbnkpIHtcbiAgICAgICAgc3dpdGNoIChrZXkpIHtcbiAgICAgICAgICAgIGNhc2UgJ2ZsZXhncm93JzpcbiAgICAgICAgICAgICAgICB0aGlzLiRlbGVtZW50LmNzcygnZmxleC1ncm93JywgbnYpO1xuICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgIH1cbiAgICAgICAgc3VwZXIub25Qcm9wZXJ0eUNoYW5nZShrZXksIG52LCBvdik7XG4gICAgfVxufVxuIl19
|
|
37
|
+
}], function () { return [{ type: i0.Injector }]; }, null); })();
|
|
38
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGluZWFyLWxheW91dC1pdGVtLmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvbXBvbmVudHMvd2lkZ2V0cy9jb250YWluZXJzL2xpbmVhci1sYXlvdXQvc3JjL2xpbmVhci1sYXlvdXQtaXRlbS9saW5lYXItbGF5b3V0LWl0ZW0uZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxTQUFTLEVBQUUsUUFBUSxFQUFXLE1BQU0sZUFBZSxDQUFDO0FBRTVELE9BQU8sRUFBRSxpQkFB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o6IEluamVjdG9yKSB7XG4gICAgICAgIHN1cGVyKGluaiwgV0lER0VUX0NPTkZJRyk7XG5cbiAgICAgICAgc3R5bGVyKHRoaXMubmF0aXZlRWxlbWVudCwgdGhpcywgQVBQTFlfU1RZTEVTX1RZUEUuQ09OVEFJTkVSKTtcbiAgICB9XG5cbiAgICBvblByb3BlcnR5Q2hhbmdlKGtleTogc3RyaW5nLCBudjogYW55LCBvdj86IGFueSkge1xuICAgICAgICBzd2l0Y2ggKGtleSkge1xuICAgICAgICAgICAgY2FzZSAnZmxleGdyb3cnOlxuICAgICAgICAgICAgICAgIHRoaXMuJGVsZW1lbnQuY3NzKCdmbGV4LWdyb3cnLCBudik7XG4gICAgICAgICAgICBicmVhaztcbiAgICAgICAgfVxuICAgICAgICBzdXBlci5vblByb3BlcnR5Q2hhbmdlKGtleSwgbnYsIG92KTtcbiAgICB9XG59XG4iXX0=
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
import { Directive, Injector
|
|
1
|
+
import { Directive, Injector } from '@angular/core';
|
|
2
2
|
import { APPLY_STYLES_TYPE, provideAsWidgetRef, styler, BaseContainerComponent } from '@wm/components/base';
|
|
3
3
|
import { registerProps } from './linear-layout.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-linear-layout clearfix';
|
|
8
6
|
const WIDGET_CONFIG = {
|
|
9
7
|
widgetType: 'wm-linearlayout',
|
|
@@ -19,9 +17,8 @@ const hAlignValues = {
|
|
|
19
17
|
'center': 'center',
|
|
20
18
|
};
|
|
21
19
|
export class LinearLayoutDirective extends BaseContainerComponent {
|
|
22
|
-
constructor(inj
|
|
23
|
-
super(inj, WIDGET_CONFIG
|
|
24
|
-
this._viewParent = _viewParent;
|
|
20
|
+
constructor(inj) {
|
|
21
|
+
super(inj, WIDGET_CONFIG);
|
|
25
22
|
styler(this.nativeElement, this, APPLY_STYLES_TYPE.CONTAINER);
|
|
26
23
|
}
|
|
27
24
|
removeClass($el, prefix) {
|
|
@@ -81,7 +78,7 @@ export class LinearLayoutDirective extends BaseContainerComponent {
|
|
|
81
78
|
}
|
|
82
79
|
}
|
|
83
80
|
LinearLayoutDirective.initializeProps = registerProps();
|
|
84
|
-
LinearLayoutDirective.ɵfac = function LinearLayoutDirective_Factory(t) { return new (t || LinearLayoutDirective)(i0.ɵɵdirectiveInject(i0.Injector)
|
|
81
|
+
LinearLayoutDirective.ɵfac = function LinearLayoutDirective_Factory(t) { return new (t || LinearLayoutDirective)(i0.ɵɵdirectiveInject(i0.Injector)); };
|
|
85
82
|
LinearLayoutDirective.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: LinearLayoutDirective, selectors: [["", "wmLinearLayout", ""]], features: [i0.ɵɵProvidersFeature([
|
|
86
83
|
provideAsWidgetRef(LinearLayoutDirective)
|
|
87
84
|
]), i0.ɵɵInheritDefinitionFeature] });
|
|
@@ -93,7 +90,5 @@ LinearLayoutDirective.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: Linea
|
|
|
93
90
|
provideAsWidgetRef(LinearLayoutDirective)
|
|
94
91
|
]
|
|
95
92
|
}]
|
|
96
|
-
}], function () { return [{ type: i0.Injector }
|
|
97
|
-
|
|
98
|
-
}] }]; }, null); })();
|
|
99
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGluZWFyLWxheW91dC5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb21wb25lbnRzL3dpZGdldHMvY29udGFpbmVycy9saW5lYXItbGF5b3V0L3NyYy9saW5lYXItbGF5b3V0LmRpcmVjdGl2ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUMsU0FBUyxFQUFFL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GVsLmNzcygnanVzdGlmeS1jb250ZW50JywgdkFsaWduVmFsdWVzW3RoaXMudmVydGljYWxhbGlnbl0pO1xuICAgICAgICB9XG4gICAgICAgICRlbC5jc3MoJ2ZsZXgtZGlyZWN0aW9uJywgdik7XG4gICAgfVxuXG4gICAgcHJvdGVjdGVkIG9uU3R5bGVDaGFuZ2Uoa2V5OiBzdHJpbmcsIG52OiBhbnksIG92PzogYW55KSB7XG4gICAgICAgIGlmIChrZXkgPT09ICdob3Jpem9udGFsYWxpZ24nKSB7XG4gICAgICAgICAgICBpZiAodGhpcy5kaXJlY3Rpb24gPT09ICdyb3cnIHx8IHRoaXMuZGlyZWN0aW9uID09PSAncm93LXJldmVyc2UnKSB7XG4gICAgICAgICAgICAgICAgdGhpcy4kZWxlbWVudC5jc3MoJ2p1c3RpZnktY29udGVudCcsIGhBbGlnblZhbHVlc1tudl0pO1xuICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICB0aGlzLiRlbGVtZW50LmNzcygnYWxpZ24taXRlbXMnLCBoQWxpZ25WYWx1ZXNbbnZdKTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgfSBlbHNlIGlmIChrZXkgPT09ICd2ZXJ0aWNhbGFsaWduJykge1xuICAgICAgICAgICAgaWYgKHRoaXMuZGlyZWN0aW9uID09PSAnY29sdW1uJyB8fCB0aGlzLmRpcmVjdGlvbiA9PT0gJ2NvbHVtbi1yZXZlcnNlJykge1xuICAgICAgICAgICAgICAgIHRoaXMuJGVsZW1lbnQuY3NzKCdqdXN0aWZ5LWNvbnRlbnQnLCB2QWxpZ25WYWx1ZXNbbnZdKTtcbiAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgdGhpcy4kZWxlbWVudC5jc3MoJ2FsaWduLWl0ZW1zJywgdkFsaWduVmFsdWVzW252XSk7XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICAgICAgc3VwZXIub25TdHlsZUNoYW5nZShrZXksIG52LCBvdik7XG4gICAgfVxuXG4gICAgb25Qcm9wZXJ0eUNoYW5nZShrZXk6IHN0cmluZywgbnY6IGFueSwgb3Y/OiBhbnkpIHtcbiAgICAgICAgc3dpdGNoIChrZXkpIHtcbiAgICAgICAgICAgIGNhc2UgJ2RpcmVjdGlvbic6XG4gICAgICAgICAgICAgICAgdGhpcy5jaGFuZ2VEaXJlY3Rpb24odGhpcy4kZWxlbWVudCwgbnYpO1xuICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgICAgICBjYXNlICdob3Jpem9udGFsYWxpZ24nOlxuICAgICAgICAgICAgICAgIHRoaXMuJGVsZW1lbnQuY3NzKCdqdXN0aWZ5LWNvbnRlbnQnLCBoQWxpZ25WYWx1ZXNbbnZdKTtcbiAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgICAgY2FzZSAndmVydGljYWxhbGlnbic6XG4gICAgICAgICAgICAgICAgdGhpcy4kZWxlbWVudC5jc3MoJ2p1c3RpZnktY29udGVudCcsIHZBbGlnblZhbHVlc1tudl0pO1xuICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgICAgICBjYXNlICdzcGFjaW5nJzpcbiAgICAgICAgICAgICAgICB0aGlzLnJlbW92ZUNsYXNzKHRoaXMuJGVsZW1lbnQsICdhcHAtbGluZWFyLWxheW91dC1zcGFjaW5nJyk7XG4gICAgICAgICAgICAgICAgdGhpcy4kZWxlbWVudC5hZGRDbGFzcygnYXBwLWxpbmVhci1sYXlvdXQtc3BhY2luZy0nICsgbnYpO1xuICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgIH1cbiAgICAgICAgc3VwZXIub25Qcm9wZXJ0eUNoYW5nZShrZXksIG52LCBvdik7XG4gICAgfVxufVxuIl19
|
|
93
|
+
}], function () { return [{ type: i0.Injector }]; }, null); })();
|
|
94
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGluZWFyLWxheW91dC5kaXJlY3RpdmUuanMiLCJzb3Vy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nYsIG92KTtcbiAgICB9XG5cbiAgICBvblByb3BlcnR5Q2hhbmdlKGtleTogc3RyaW5nLCBudjogYW55LCBvdj86IGFueSkge1xuICAgICAgICBzd2l0Y2ggKGtleSkge1xuICAgICAgICAgICAgY2FzZSAnZGlyZWN0aW9uJzpcbiAgICAgICAgICAgICAgICB0aGlzLmNoYW5nZURpcmVjdGlvbih0aGlzLiRlbGVtZW50LCBudik7XG4gICAgICAgICAgICBicmVhaztcbiAgICAgICAgICAgIGNhc2UgJ2hvcml6b250YWxhbGlnbic6XG4gICAgICAgICAgICAgICAgdGhpcy4kZWxlbWVudC5jc3MoJ2p1c3RpZnktY29udGVudCcsIGhBbGlnblZhbHVlc1tudl0pO1xuICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgICAgICBjYXNlICd2ZXJ0aWNhbGFsaWduJzpcbiAgICAgICAgICAgICAgICB0aGlzLiRlbGVtZW50LmNzcygnanVzdGlmeS1jb250ZW50JywgdkFsaWduVmFsdWVzW252XSk7XG4gICAgICAgICAgICBicmVhaztcbiAgICAgICAgICAgIGNhc2UgJ3NwYWNpbmcnOlxuICAgICAgICAgICAgICAgIHRoaXMucmVtb3ZlQ2xhc3ModGhpcy4kZWxlbWVudCwgJ2FwcC1saW5lYXItbGF5b3V0LXNwYWNpbmcnKTtcbiAgICAgICAgICAgICAgICB0aGlzLiRlbGVtZW50LmFkZENsYXNzKCdhcHAtbGluZWFyLWxheW91dC1zcGFjaW5nLScgKyBudik7XG4gICAgICAgICAgICBicmVhaztcbiAgICAgICAgfVxuICAgICAgICBzdXBlci5vblByb3BlcnR5Q2hhbmdlKGtleSwgbnYsIG92KTtcbiAgICB9XG59XG4iXX0=
|
|
@@ -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_BOOLEAN, BaseContainerComponent, styler, APPLY_STYLES_TYPE, provideAsWidgetRef, PROP_NUMBER, StylableComponent, WmComponentsModule } from '@wm/components/base';
|
|
5
|
-
import * as i1 from '@wm/core';
|
|
6
5
|
|
|
7
6
|
const registerProps$1 = () => {
|
|
8
7
|
register('wm-linearlayout', new Map([
|
|
@@ -31,9 +30,8 @@ const hAlignValues = {
|
|
|
31
30
|
'center': 'center',
|
|
32
31
|
};
|
|
33
32
|
class LinearLayoutDirective extends BaseContainerComponent {
|
|
34
|
-
constructor(inj
|
|
35
|
-
super(inj, WIDGET_CONFIG$1
|
|
36
|
-
this._viewParent = _viewParent;
|
|
33
|
+
constructor(inj) {
|
|
34
|
+
super(inj, WIDGET_CONFIG$1);
|
|
37
35
|
styler(this.nativeElement, this, APPLY_STYLES_TYPE.CONTAINER);
|
|
38
36
|
}
|
|
39
37
|
removeClass($el, prefix) {
|
|
@@ -93,7 +91,7 @@ class LinearLayoutDirective extends BaseContainerComponent {
|
|
|
93
91
|
}
|
|
94
92
|
}
|
|
95
93
|
LinearLayoutDirective.initializeProps = registerProps$1();
|
|
96
|
-
LinearLayoutDirective.ɵfac = function LinearLayoutDirective_Factory(t) { return new (t || LinearLayoutDirective)(i0.ɵɵdirectiveInject(i0.Injector)
|
|
94
|
+
LinearLayoutDirective.ɵfac = function LinearLayoutDirective_Factory(t) { return new (t || LinearLayoutDirective)(i0.ɵɵdirectiveInject(i0.Injector)); };
|
|
97
95
|
LinearLayoutDirective.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: LinearLayoutDirective, selectors: [["", "wmLinearLayout", ""]], features: [i0.ɵɵProvidersFeature([
|
|
98
96
|
provideAsWidgetRef(LinearLayoutDirective)
|
|
99
97
|
]), i0.ɵɵInheritDefinitionFeature] });
|
|
@@ -106,11 +104,7 @@ LinearLayoutDirective.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: Linea
|
|
|
106
104
|
provideAsWidgetRef(LinearLayoutDirective)
|
|
107
105
|
]
|
|
108
106
|
}]
|
|
109
|
-
}], function () {
|
|
110
|
-
return [{ type: i0.Injector }, { type: i1.UserDefinedExecutionContext, decorators: [{
|
|
111
|
-
type: Optional
|
|
112
|
-
}] }];
|
|
113
|
-
}, null);
|
|
107
|
+
}], function () { return [{ type: i0.Injector }]; }, null);
|
|
114
108
|
})();
|
|
115
109
|
|
|
116
110
|
const registerProps = () => {
|
|
@@ -128,9 +122,8 @@ const WIDGET_CONFIG = {
|
|
|
128
122
|
hostClass: DEFAULT_CLS
|
|
129
123
|
};
|
|
130
124
|
class LinearLayoutItemDirective extends StylableComponent {
|
|
131
|
-
constructor(inj
|
|
132
|
-
super(inj, WIDGET_CONFIG
|
|
133
|
-
this._viewParent = _viewParent;
|
|
125
|
+
constructor(inj) {
|
|
126
|
+
super(inj, WIDGET_CONFIG);
|
|
134
127
|
styler(this.nativeElement, this, APPLY_STYLES_TYPE.CONTAINER);
|
|
135
128
|
}
|
|
136
129
|
onPropertyChange(key, nv, ov) {
|
|
@@ -143,7 +136,7 @@ class LinearLayoutItemDirective extends StylableComponent {
|
|
|
143
136
|
}
|
|
144
137
|
}
|
|
145
138
|
LinearLayoutItemDirective.initializeProps = registerProps();
|
|
146
|
-
LinearLayoutItemDirective.ɵfac = function LinearLayoutItemDirective_Factory(t) { return new (t || LinearLayoutItemDirective)(i0.ɵɵdirectiveInject(i0.Injector)
|
|
139
|
+
LinearLayoutItemDirective.ɵfac = function LinearLayoutItemDirective_Factory(t) { return new (t || LinearLayoutItemDirective)(i0.ɵɵdirectiveInject(i0.Injector)); };
|
|
147
140
|
LinearLayoutItemDirective.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: LinearLayoutItemDirective, selectors: [["", "wmLinearLayoutItem", ""]], features: [i0.ɵɵProvidersFeature([
|
|
148
141
|
provideAsWidgetRef(LinearLayoutItemDirective)
|
|
149
142
|
]), i0.ɵɵInheritDefinitionFeature] });
|
|
@@ -156,11 +149,7 @@ LinearLayoutItemDirective.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: L
|
|
|
156
149
|
provideAsWidgetRef(LinearLayoutItemDirective)
|
|
157
150
|
]
|
|
158
151
|
}]
|
|
159
|
-
}], function () {
|
|
160
|
-
return [{ type: i0.Injector }, { type: i1.UserDefinedExecutionContext, decorators: [{
|
|
161
|
-
type: Optional
|
|
162
|
-
}] }];
|
|
163
|
-
}, null);
|
|
152
|
+
}], function () { return [{ type: i0.Injector }]; }, null);
|
|
164
153
|
})();
|
|
165
154
|
|
|
166
155
|
const components = [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":["../../../../../projects/components/widgets/containers/linear-layout/src/linear-layout.props.ts","../../../../../projects/components/widgets/containers/linear-layout/src/linear-layout.directive.ts","../../../../../projects/components/widgets/containers/linear-layout/src/linear-layout-item/linear-layout-item.props.ts","../../../../../projects/components/widgets/containers/linear-layout/src/linear-layout-item/linear-layout-item.directive.ts","../../../../../projects/components/widgets/containers/linear-layout/src/linear-layout.module.ts","../../../../../projects/components/widgets/containers/linear-layout/src/index.ts"],"sourcesContent":["import { PROP_BOOLEAN, PROP_STRING, register } from '@wm/components/base';\n\nexport const registerProps = () => {\n register(\n 'wm-linearlayout',\n new Map(\n [\n ['class', PROP_STRING],\n ['direction', PROP_STRING],\n ['horizontalalign', PROP_STRING],\n ['name', PROP_STRING],\n ['show', {value: true, ...PROP_BOOLEAN}],\n ['spacing', PROP_STRING],\n ['verticalalign', PROP_STRING],\n ]\n )\n );\n};\n","import {Directive, Injector, Optional} from '@angular/core';\n\nimport { APPLY_STYLES_TYPE, IWidgetConfig, provideAsWidgetRef, styler, BaseContainerComponent } from '@wm/components/base';\n\nimport { registerProps } from './linear-layout.props';\nimport {UserDefinedExecutionContext} from '@wm/core';\n\nconst DEFAULT_CLS = 'app-linear-layout clearfix';\nconst WIDGET_CONFIG: IWidgetConfig = {\n widgetType: 'wm-linearlayout',\n hostClass: DEFAULT_CLS\n};\nconst hAlignValues = {\n 'left': 'flex-start',\n 'right': 'flex-end',\n 'center': 'center',\n},\nvAlignValues = {\n 'top': 'flex-start',\n 'bottom': 'flex-end',\n 'center': 'center',\n};\n\n@Directive({\n selector: '[wmLinearLayout]',\n providers: [\n provideAsWidgetRef(LinearLayoutDirective)\n ]\n})\nexport class LinearLayoutDirective extends BaseContainerComponent {\n static initializeProps = registerProps();\n\n public direction;\n public horizontalalign: string;\n public verticalalign: string;\n\n constructor(inj: Injector, @Optional() public _viewParent: UserDefinedExecutionContext) {\n super(inj, WIDGET_CONFIG, _viewParent);\n\n styler(this.nativeElement, this, APPLY_STYLES_TYPE.CONTAINER);\n }\n\n private removeClass($el, prefix) {\n $el.removeClass((i, className) => {\n return className.split(' ')\n .filter(s => s.startsWith(prefix))\n .join(' ');\n });\n }\n\n private changeDirection($el, v) {\n this.removeClass($el, 'app-linear-layout-direction');\n $el.addClass('app-linear-layout-direction-' + v);\n if (v === 'row' || v === 'row-reverse') {\n $el.css('justify-content', hAlignValues[this.horizontalalign]);\n } else if (v === 'column' || v === 'column-reverse') {\n $el.css('justify-content', vAlignValues[this.verticalalign]);\n }\n $el.css('flex-direction', v);\n }\n\n protected onStyleChange(key: string, nv: any, ov?: any) {\n if (key === 'horizontalalign') {\n if (this.direction === 'row' || this.direction === 'row-reverse') {\n this.$element.css('justify-content', hAlignValues[nv]);\n } else {\n this.$element.css('align-items', hAlignValues[nv]);\n }\n } else if (key === 'verticalalign') {\n if (this.direction === 'column' || this.direction === 'column-reverse') {\n this.$element.css('justify-content', vAlignValues[nv]);\n } else {\n this.$element.css('align-items', vAlignValues[nv]);\n }\n }\n super.onStyleChange(key, nv, ov);\n }\n\n onPropertyChange(key: string, nv: any, ov?: any) {\n switch (key) {\n case 'direction':\n this.changeDirection(this.$element, nv);\n break;\n case 'horizontalalign':\n this.$element.css('justify-content', hAlignValues[nv]);\n break;\n case 'verticalalign':\n this.$element.css('justify-content', vAlignValues[nv]);\n break;\n case 'spacing':\n this.removeClass(this.$element, 'app-linear-layout-spacing');\n this.$element.addClass('app-linear-layout-spacing-' + nv);\n break;\n }\n super.onPropertyChange(key, nv, ov);\n }\n}\n","import { PROP_BOOLEAN, PROP_NUMBER, PROP_STRING, register } from '@wm/components/base';\n\nexport const registerProps = () => {\n register(\n 'wm-linearlayoutitem',\n new Map(\n [\n ['class', PROP_STRING],\n ['flexgrow', PROP_NUMBER],\n ['name', PROP_STRING],\n ['show', {value: true, ...PROP_BOOLEAN}]\n ]\n )\n );\n};\n","import {Directive, Injector, Optional} from '@angular/core';\n\nimport { APPLY_STYLES_TYPE, IWidgetConfig, provideAsWidgetRef, styler, StylableComponent } from '@wm/components/base';\n\nimport { registerProps } from './linear-layout-item.props';\nimport {UserDefinedExecutionContext} from '@wm/core';\n\nconst DEFAULT_CLS = 'app-linear-layout-item clearfix';\nconst WIDGET_CONFIG: IWidgetConfig = {\n widgetType: 'wm-linearlayoutitem',\n hostClass: DEFAULT_CLS\n};\n\n@Directive({\n selector: '[wmLinearLayoutItem]',\n providers: [\n provideAsWidgetRef(LinearLayoutItemDirective)\n ]\n})\nexport class LinearLayoutItemDirective extends StylableComponent {\n static initializeProps = registerProps();\n constructor(inj: Injector, @Optional() public _viewParent: UserDefinedExecutionContext) {\n super(inj, WIDGET_CONFIG, _viewParent);\n\n styler(this.nativeElement, this, APPLY_STYLES_TYPE.CONTAINER);\n }\n\n onPropertyChange(key: string, nv: any, ov?: any) {\n switch (key) {\n case 'flexgrow':\n this.$element.css('flex-grow', nv);\n break;\n }\n super.onPropertyChange(key, nv, ov);\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { WmComponentsModule } from '@wm/components/base';\n\nimport { LinearLayoutDirective } from './linear-layout.directive';\nimport { LinearLayoutItemDirective } from './linear-layout-item/linear-layout-item.directive';\n\nconst components = [\n LinearLayoutDirective,\n LinearLayoutItemDirective\n];\n\n@NgModule({\n imports: [\n CommonModule,\n WmComponentsModule\n ],\n declarations: [...components],\n exports: [...components]\n})\nexport class LinearLayoutModule {\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["registerProps","DEFAULT_CLS","WIDGET_CONFIG"],"mappings":";;;;;;AAEO,MAAMA,eAAa,GAAG,MAAK;AAC9B,IAAA,QAAQ,CACJ,iBAAiB,EACjB,IAAI,GAAG,CACH;QACI,CAAC,OAAO,EAAE,WAAW,CAAC;QACtB,CAAC,WAAW,EAAE,WAAW,CAAC;QAC1B,CAAC,iBAAiB,EAAE,WAAW,CAAC;QAChC,CAAC,MAAM,EAAE,WAAW,CAAC;AACrB,QAAA,CAAC,MAAM,EAAG,MAAA,CAAA,MAAA,CAAA,EAAA,KAAK,EAAE,IAAI,EAAA,EAAK,YAAY,CAAE,CAAA;QACxC,CAAC,SAAS,EAAE,WAAW,CAAC;QACxB,CAAC,eAAe,EAAE,WAAW,CAAC;AACjC,KAAA,CACJ,CACJ,CAAC;AACN,CAAC;;ACVD,MAAMC,aAAW,GAAG,4BAA4B,CAAC;AACjD,MAAMC,eAAa,GAAkB;AACjC,IAAA,UAAU,EAAE,iBAAiB;AAC7B,IAAA,SAAS,EAAED,aAAW;CACzB,CAAC;AACF,MAAM,YAAY,GAAG;AACjB,IAAA,MAAM,EAAE,YAAY;AACpB,IAAA,OAAO,EAAE,UAAU;AACnB,IAAA,QAAQ,EAAE,QAAQ;AACrB,CAAA,EACD,YAAY,GAAG;AACX,IAAA,KAAK,EAAE,YAAY;AACnB,IAAA,QAAQ,EAAE,UAAU;AACpB,IAAA,QAAQ,EAAE,QAAQ;CACrB,CAAC;AAQI,MAAO,qBAAsB,SAAQ,sBAAsB,CAAA;IAO7D,WAAY,CAAA,GAAa,EAAqB,WAAwC,EAAA;AAClF,QAAA,KAAK,CAAC,GAAG,EAAEC,eAAa,EAAE,WAAW,CAAC,CAAC;AADG,QAAA,IAAW,CAAA,WAAA,GAAX,WAAW,CAA6B;QAGlF,MAAM,CAAC,IAAI,CAAC,aAAa,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AAA,CAAA,EAAA,CAAA,CAAA;;4EAEQ,yBAAyB,EAAA,CAAA;kBANrC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,QAAQ,EAAE,sBAAsB;AAChC,oBAAA,SAAS,EAAE;wBACP,kBAAkB,CAA2B,yBAAA,CAAA;AAChD,qBAAA;iBACJ,CAAA;;;8BAG+B,QAAQ;;;;;ACbxC,MAAM,UAAU,GAAG;IACf,qBAAqB;IACrB,yBAAyB;CAC5B,CAAC;MAUW,kBAAkB,CAAA;;oFAAlB,kBAAkB,GAAA,CAAA,EAAA,CAAA;oEAAlB,kBAAkB,EAAA,CAAA,CAAA;wEANvB,YAAY;QACZ,kBAAkB,CAAA,EAAA,CAAA,CAAA;;4EAKb,kBAAkB,EAAA,CAAA;kBAR9B,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;;;AACY,CAAA,YAAA;AAAA,IAAA,CAAA,OAAA,SAAA,KAAA,WAAA,IAAA,SAAA,KAAA,EAAA,CAAA,kBAAA,CAAA,kBAAkB,mBAZ3B,qBAAqB;AACrB,YAAA,yBAAyB,aAKrB,YAAY;AACZ,YAAA,kBAAkB,aAPtB,qBAAqB;YACrB,yBAAyB,CAAA,EAAA,CAAA,CAAA;AAAA,CAAA,GAAA;;ACV7B;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":["../../../../../projects/components/widgets/containers/linear-layout/src/linear-layout.props.ts","../../../../../projects/components/widgets/containers/linear-layout/src/linear-layout.directive.ts","../../../../../projects/components/widgets/containers/linear-layout/src/linear-layout-item/linear-layout-item.props.ts","../../../../../projects/components/widgets/containers/linear-layout/src/linear-layout-item/linear-layout-item.directive.ts","../../../../../projects/components/widgets/containers/linear-layout/src/linear-layout.module.ts","../../../../../projects/components/widgets/containers/linear-layout/src/index.ts"],"sourcesContent":["import { PROP_BOOLEAN, PROP_STRING, register } from '@wm/components/base';\n\nexport const registerProps = () => {\n register(\n 'wm-linearlayout',\n new Map(\n [\n ['class', PROP_STRING],\n ['direction', PROP_STRING],\n ['horizontalalign', PROP_STRING],\n ['name', PROP_STRING],\n ['show', {value: true, ...PROP_BOOLEAN}],\n ['spacing', PROP_STRING],\n ['verticalalign', PROP_STRING],\n ]\n )\n );\n};\n","import {Directive, Injector, Optional} from '@angular/core';\n\nimport { APPLY_STYLES_TYPE, IWidgetConfig, provideAsWidgetRef, styler, BaseContainerComponent } from '@wm/components/base';\n\nimport { registerProps } from './linear-layout.props';\nimport {UserDefinedExecutionContext} from '@wm/core';\n\nconst DEFAULT_CLS = 'app-linear-layout clearfix';\nconst WIDGET_CONFIG: IWidgetConfig = {\n widgetType: 'wm-linearlayout',\n hostClass: DEFAULT_CLS\n};\nconst hAlignValues = {\n 'left': 'flex-start',\n 'right': 'flex-end',\n 'center': 'center',\n},\nvAlignValues = {\n 'top': 'flex-start',\n 'bottom': 'flex-end',\n 'center': 'center',\n};\n\n@Directive({\n selector: '[wmLinearLayout]',\n providers: [\n provideAsWidgetRef(LinearLayoutDirective)\n ]\n})\nexport class LinearLayoutDirective extends BaseContainerComponent {\n static initializeProps = registerProps();\n\n public direction;\n public horizontalalign: string;\n public verticalalign: string;\n\n constructor(inj: Injector) {\n super(inj, WIDGET_CONFIG);\n\n styler(this.nativeElement, this, APPLY_STYLES_TYPE.CONTAINER);\n }\n\n private removeClass($el, prefix) {\n $el.removeClass((i, className) => {\n return className.split(' ')\n .filter(s => s.startsWith(prefix))\n .join(' ');\n });\n }\n\n private changeDirection($el, v) {\n this.removeClass($el, 'app-linear-layout-direction');\n $el.addClass('app-linear-layout-direction-' + v);\n if (v === 'row' || v === 'row-reverse') {\n $el.css('justify-content', hAlignValues[this.horizontalalign]);\n } else if (v === 'column' || v === 'column-reverse') {\n $el.css('justify-content', vAlignValues[this.verticalalign]);\n }\n $el.css('flex-direction', v);\n }\n\n protected onStyleChange(key: string, nv: any, ov?: any) {\n if (key === 'horizontalalign') {\n if (this.direction === 'row' || this.direction === 'row-reverse') {\n this.$element.css('justify-content', hAlignValues[nv]);\n } else {\n this.$element.css('align-items', hAlignValues[nv]);\n }\n } else if (key === 'verticalalign') {\n if (this.direction === 'column' || this.direction === 'column-reverse') {\n this.$element.css('justify-content', vAlignValues[nv]);\n } else {\n this.$element.css('align-items', vAlignValues[nv]);\n }\n }\n super.onStyleChange(key, nv, ov);\n }\n\n onPropertyChange(key: string, nv: any, ov?: any) {\n switch (key) {\n case 'direction':\n this.changeDirection(this.$element, nv);\n break;\n case 'horizontalalign':\n this.$element.css('justify-content', hAlignValues[nv]);\n break;\n case 'verticalalign':\n this.$element.css('justify-content', vAlignValues[nv]);\n break;\n case 'spacing':\n this.removeClass(this.$element, 'app-linear-layout-spacing');\n this.$element.addClass('app-linear-layout-spacing-' + nv);\n break;\n }\n super.onPropertyChange(key, nv, ov);\n }\n}\n","import { PROP_BOOLEAN, PROP_NUMBER, PROP_STRING, register } from '@wm/components/base';\n\nexport const registerProps = () => {\n register(\n 'wm-linearlayoutitem',\n new Map(\n [\n ['class', PROP_STRING],\n ['flexgrow', PROP_NUMBER],\n ['name', PROP_STRING],\n ['show', {value: true, ...PROP_BOOLEAN}]\n ]\n )\n );\n};\n","import {Directive, Injector, Optional} from '@angular/core';\n\nimport { APPLY_STYLES_TYPE, IWidgetConfig, provideAsWidgetRef, styler, StylableComponent } from '@wm/components/base';\n\nimport { registerProps } from './linear-layout-item.props';\nimport {UserDefinedExecutionContext} from '@wm/core';\n\nconst DEFAULT_CLS = 'app-linear-layout-item clearfix';\nconst WIDGET_CONFIG: IWidgetConfig = {\n widgetType: 'wm-linearlayoutitem',\n hostClass: DEFAULT_CLS\n};\n\n@Directive({\n selector: '[wmLinearLayoutItem]',\n providers: [\n provideAsWidgetRef(LinearLayoutItemDirective)\n ]\n})\nexport class LinearLayoutItemDirective 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 switch (key) {\n case 'flexgrow':\n this.$element.css('flex-grow', nv);\n break;\n }\n super.onPropertyChange(key, nv, ov);\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { WmComponentsModule } from '@wm/components/base';\n\nimport { LinearLayoutDirective } from './linear-layout.directive';\nimport { LinearLayoutItemDirective } from './linear-layout-item/linear-layout-item.directive';\n\nconst components = [\n LinearLayoutDirective,\n LinearLayoutItemDirective\n];\n\n@NgModule({\n imports: [\n CommonModule,\n WmComponentsModule\n ],\n declarations: [...components],\n exports: [...components]\n})\nexport class LinearLayoutModule {\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["registerProps","DEFAULT_CLS","WIDGET_CONFIG"],"mappings":";;;;;AAEO,MAAMA,eAAa,GAAG,MAAK;AAC9B,IAAA,QAAQ,CACJ,iBAAiB,EACjB,IAAI,GAAG,CACH;QACI,CAAC,OAAO,EAAE,WAAW,CAAC;QACtB,CAAC,WAAW,EAAE,WAAW,CAAC;QAC1B,CAAC,iBAAiB,EAAE,WAAW,CAAC;QAChC,CAAC,MAAM,EAAE,WAAW,CAAC;AACrB,QAAA,CAAC,MAAM,EAAG,MAAA,CAAA,MAAA,CAAA,EAAA,KAAK,EAAE,IAAI,EAAA,EAAK,YAAY,CAAE,CAAA;QACxC,CAAC,SAAS,EAAE,WAAW,CAAC;QACxB,CAAC,eAAe,EAAE,WAAW,CAAC;AACjC,KAAA,CACJ,CACJ,CAAC;AACN,CAAC;;ACVD,MAAMC,aAAW,GAAG,4BAA4B,CAAC;AACjD,MAAMC,eAAa,GAAkB;AACjC,IAAA,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|
|
@@ -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_BOOLEAN, BaseContainerComponent, styler, APPLY_STYLES_TYPE, provideAsWidgetRef, PROP_NUMBER, StylableComponent, WmComponentsModule } from '@wm/components/base';
|
|
5
|
-
import * as i1 from '@wm/core';
|
|
6
5
|
|
|
7
6
|
const registerProps$1 = () => {
|
|
8
7
|
register('wm-linearlayout', new Map([
|
|
@@ -31,9 +30,8 @@ const hAlignValues = {
|
|
|
31
30
|
'center': 'center',
|
|
32
31
|
};
|
|
33
32
|
class LinearLayoutDirective extends BaseContainerComponent {
|
|
34
|
-
constructor(inj
|
|
35
|
-
super(inj, WIDGET_CONFIG$1
|
|
36
|
-
this._viewParent = _viewParent;
|
|
33
|
+
constructor(inj) {
|
|
34
|
+
super(inj, WIDGET_CONFIG$1);
|
|
37
35
|
styler(this.nativeElement, this, APPLY_STYLES_TYPE.CONTAINER);
|
|
38
36
|
}
|
|
39
37
|
removeClass($el, prefix) {
|
|
@@ -93,7 +91,7 @@ class LinearLayoutDirective extends BaseContainerComponent {
|
|
|
93
91
|
}
|
|
94
92
|
}
|
|
95
93
|
LinearLayoutDirective.initializeProps = registerProps$1();
|
|
96
|
-
LinearLayoutDirective.ɵfac = function LinearLayoutDirective_Factory(t) { return new (t || LinearLayoutDirective)(i0.ɵɵdirectiveInject(i0.Injector)
|
|
94
|
+
LinearLayoutDirective.ɵfac = function LinearLayoutDirective_Factory(t) { return new (t || LinearLayoutDirective)(i0.ɵɵdirectiveInject(i0.Injector)); };
|
|
97
95
|
LinearLayoutDirective.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: LinearLayoutDirective, selectors: [["", "wmLinearLayout", ""]], features: [i0.ɵɵProvidersFeature([
|
|
98
96
|
provideAsWidgetRef(LinearLayoutDirective)
|
|
99
97
|
]), i0.ɵɵInheritDefinitionFeature] });
|
|
@@ -105,9 +103,7 @@ LinearLayoutDirective.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: Linea
|
|
|
105
103
|
provideAsWidgetRef(LinearLayoutDirective)
|
|
106
104
|
]
|
|
107
105
|
}]
|
|
108
|
-
}], function () { return [{ type: i0.Injector }
|
|
109
|
-
type: Optional
|
|
110
|
-
}] }]; }, null); })();
|
|
106
|
+
}], function () { return [{ type: i0.Injector }]; }, null); })();
|
|
111
107
|
|
|
112
108
|
const registerProps = () => {
|
|
113
109
|
register('wm-linearlayoutitem', new Map([
|
|
@@ -124,9 +120,8 @@ const WIDGET_CONFIG = {
|
|
|
124
120
|
hostClass: DEFAULT_CLS
|
|
125
121
|
};
|
|
126
122
|
class LinearLayoutItemDirective extends StylableComponent {
|
|
127
|
-
constructor(inj
|
|
128
|
-
super(inj, WIDGET_CONFIG
|
|
129
|
-
this._viewParent = _viewParent;
|
|
123
|
+
constructor(inj) {
|
|
124
|
+
super(inj, WIDGET_CONFIG);
|
|
130
125
|
styler(this.nativeElement, this, APPLY_STYLES_TYPE.CONTAINER);
|
|
131
126
|
}
|
|
132
127
|
onPropertyChange(key, nv, ov) {
|
|
@@ -139,7 +134,7 @@ class LinearLayoutItemDirective extends StylableComponent {
|
|
|
139
134
|
}
|
|
140
135
|
}
|
|
141
136
|
LinearLayoutItemDirective.initializeProps = registerProps();
|
|
142
|
-
LinearLayoutItemDirective.ɵfac = function LinearLayoutItemDirective_Factory(t) { return new (t || LinearLayoutItemDirective)(i0.ɵɵdirectiveInject(i0.Injector)
|
|
137
|
+
LinearLayoutItemDirective.ɵfac = function LinearLayoutItemDirective_Factory(t) { return new (t || LinearLayoutItemDirective)(i0.ɵɵdirectiveInject(i0.Injector)); };
|
|
143
138
|
LinearLayoutItemDirective.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: LinearLayoutItemDirective, selectors: [["", "wmLinearLayoutItem", ""]], features: [i0.ɵɵProvidersFeature([
|
|
144
139
|
provideAsWidgetRef(LinearLayoutItemDirective)
|
|
145
140
|
]), i0.ɵɵInheritDefinitionFeature] });
|
|
@@ -151,9 +146,7 @@ LinearLayoutItemDirective.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: L
|
|
|
151
146
|
provideAsWidgetRef(LinearLayoutItemDirective)
|
|
152
147
|
]
|
|
153
148
|
}]
|
|
154
|
-
}], function () { return [{ type: i0.Injector }
|
|
155
|
-
type: Optional
|
|
156
|
-
}] }]; }, null); })();
|
|
149
|
+
}], function () { return [{ type: i0.Injector }]; }, null); })();
|
|
157
150
|
|
|
158
151
|
const components = [
|
|
159
152
|
LinearLayoutDirective,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":["../../../../../projects/components/widgets/containers/linear-layout/src/linear-layout.props.ts","../../../../../projects/components/widgets/containers/linear-layout/src/linear-layout.directive.ts","../../../../../projects/components/widgets/containers/linear-layout/src/linear-layout-item/linear-layout-item.props.ts","../../../../../projects/components/widgets/containers/linear-layout/src/linear-layout-item/linear-layout-item.directive.ts","../../../../../projects/components/widgets/containers/linear-layout/src/linear-layout.module.ts","../../../../../projects/components/widgets/containers/linear-layout/src/index.ts"],"sourcesContent":["import { PROP_BOOLEAN, PROP_STRING, register } from '@wm/components/base';\n\nexport const registerProps = () => {\n register(\n 'wm-linearlayout',\n new Map(\n [\n ['class', PROP_STRING],\n ['direction', PROP_STRING],\n ['horizontalalign', PROP_STRING],\n ['name', PROP_STRING],\n ['show', {value: true, ...PROP_BOOLEAN}],\n ['spacing', PROP_STRING],\n ['verticalalign', PROP_STRING],\n ]\n )\n );\n};\n","import {Directive, Injector, Optional} from '@angular/core';\n\nimport { APPLY_STYLES_TYPE, IWidgetConfig, provideAsWidgetRef, styler, BaseContainerComponent } from '@wm/components/base';\n\nimport { registerProps } from './linear-layout.props';\nimport {UserDefinedExecutionContext} from '@wm/core';\n\nconst DEFAULT_CLS = 'app-linear-layout clearfix';\nconst WIDGET_CONFIG: IWidgetConfig = {\n widgetType: 'wm-linearlayout',\n hostClass: DEFAULT_CLS\n};\nconst hAlignValues = {\n 'left': 'flex-start',\n 'right': 'flex-end',\n 'center': 'center',\n},\nvAlignValues = {\n 'top': 'flex-start',\n 'bottom': 'flex-end',\n 'center': 'center',\n};\n\n@Directive({\n selector: '[wmLinearLayout]',\n providers: [\n provideAsWidgetRef(LinearLayoutDirective)\n ]\n})\nexport class LinearLayoutDirective extends BaseContainerComponent {\n static initializeProps = registerProps();\n\n public direction;\n public horizontalalign: string;\n public verticalalign: string;\n\n constructor(inj: Injector, @Optional() public _viewParent: UserDefinedExecutionContext) {\n super(inj, WIDGET_CONFIG, _viewParent);\n\n styler(this.nativeElement, this, APPLY_STYLES_TYPE.CONTAINER);\n }\n\n private removeClass($el, prefix) {\n $el.removeClass((i, className) => {\n return className.split(' ')\n .filter(s => s.startsWith(prefix))\n .join(' ');\n });\n }\n\n private changeDirection($el, v) {\n this.removeClass($el, 'app-linear-layout-direction');\n $el.addClass('app-linear-layout-direction-' + v);\n if (v === 'row' || v === 'row-reverse') {\n $el.css('justify-content', hAlignValues[this.horizontalalign]);\n } else if (v === 'column' || v === 'column-reverse') {\n $el.css('justify-content', vAlignValues[this.verticalalign]);\n }\n $el.css('flex-direction', v);\n }\n\n protected onStyleChange(key: string, nv: any, ov?: any) {\n if (key === 'horizontalalign') {\n if (this.direction === 'row' || this.direction === 'row-reverse') {\n this.$element.css('justify-content', hAlignValues[nv]);\n } else {\n this.$element.css('align-items', hAlignValues[nv]);\n }\n } else if (key === 'verticalalign') {\n if (this.direction === 'column' || this.direction === 'column-reverse') {\n this.$element.css('justify-content', vAlignValues[nv]);\n } else {\n this.$element.css('align-items', vAlignValues[nv]);\n }\n }\n super.onStyleChange(key, nv, ov);\n }\n\n onPropertyChange(key: string, nv: any, ov?: any) {\n switch (key) {\n case 'direction':\n this.changeDirection(this.$element, nv);\n break;\n case 'horizontalalign':\n this.$element.css('justify-content', hAlignValues[nv]);\n break;\n case 'verticalalign':\n this.$element.css('justify-content', vAlignValues[nv]);\n break;\n case 'spacing':\n this.removeClass(this.$element, 'app-linear-layout-spacing');\n this.$element.addClass('app-linear-layout-spacing-' + nv);\n break;\n }\n super.onPropertyChange(key, nv, ov);\n }\n}\n","import { PROP_BOOLEAN, PROP_NUMBER, PROP_STRING, register } from '@wm/components/base';\n\nexport const registerProps = () => {\n register(\n 'wm-linearlayoutitem',\n new Map(\n [\n ['class', PROP_STRING],\n ['flexgrow', PROP_NUMBER],\n ['name', PROP_STRING],\n ['show', {value: true, ...PROP_BOOLEAN}]\n ]\n )\n );\n};\n","import {Directive, Injector, Optional} from '@angular/core';\n\nimport { APPLY_STYLES_TYPE, IWidgetConfig, provideAsWidgetRef, styler, StylableComponent } from '@wm/components/base';\n\nimport { registerProps } from './linear-layout-item.props';\nimport {UserDefinedExecutionContext} from '@wm/core';\n\nconst DEFAULT_CLS = 'app-linear-layout-item clearfix';\nconst WIDGET_CONFIG: IWidgetConfig = {\n widgetType: 'wm-linearlayoutitem',\n hostClass: DEFAULT_CLS\n};\n\n@Directive({\n selector: '[wmLinearLayoutItem]',\n providers: [\n provideAsWidgetRef(LinearLayoutItemDirective)\n ]\n})\nexport class LinearLayoutItemDirective extends StylableComponent {\n static initializeProps = registerProps();\n constructor(inj: Injector, @Optional() public _viewParent: UserDefinedExecutionContext) {\n super(inj, WIDGET_CONFIG, _viewParent);\n\n styler(this.nativeElement, this, APPLY_STYLES_TYPE.CONTAINER);\n }\n\n onPropertyChange(key: string, nv: any, ov?: any) {\n switch (key) {\n case 'flexgrow':\n this.$element.css('flex-grow', nv);\n break;\n }\n super.onPropertyChange(key, nv, ov);\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { WmComponentsModule } from '@wm/components/base';\n\nimport { LinearLayoutDirective } from './linear-layout.directive';\nimport { LinearLayoutItemDirective } from './linear-layout-item/linear-layout-item.directive';\n\nconst components = [\n LinearLayoutDirective,\n LinearLayoutItemDirective\n];\n\n@NgModule({\n imports: [\n CommonModule,\n WmComponentsModule\n ],\n declarations: [...components],\n exports: [...components]\n})\nexport class LinearLayoutModule {\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["registerProps","DEFAULT_CLS","WIDGET_CONFIG"],"mappings":";;;;;;AAEO,MAAMA,eAAa,GAAG,MAAK;AAC9B,IAAA,QAAQ,CACJ,iBAAiB,EACjB,IAAI,GAAG,CACH;QACI,CAAC,OAAO,EAAE,WAAW,CAAC;QACtB,CAAC,WAAW,EAAE,WAAW,CAAC;QAC1B,CAAC,iBAAiB,EAAE,WAAW,CAAC;QAChC,CAAC,MAAM,EAAE,WAAW,CAAC;QACrB,CAAC,MAAM,EAAE,EAAC,KAAK,EAAE,IAAI,EAAE,GAAG,YAAY,EAAC,CAAC;QACxC,CAAC,SAAS,EAAE,WAAW,CAAC;QACxB,CAAC,eAAe,EAAE,WAAW,CAAC;AACjC,KAAA,CACJ,CACJ,CAAC;AACN,CAAC;;ACVD,MAAMC,aAAW,GAAG,4BAA4B,CAAC;AACjD,MAAMC,eAAa,GAAkB;AACjC,IAAA,UAAU,EAAE,iBAAiB;AAC7B,IAAA,SAAS,EAAED,aAAW;CACzB,CAAC;AACF,MAAM,YAAY,GAAG;AACjB,IAAA,MAAM,EAAE,YAAY;AACpB,IAAA,OAAO,EAAE,UAAU;AACnB,IAAA,QAAQ,EAAE,QAAQ;AACrB,CAAA,EACD,YAAY,GAAG;AACX,IAAA,KAAK,EAAE,YAAY;AACnB,IAAA,QAAQ,EAAE,UAAU;AACpB,IAAA,QAAQ,EAAE,QAAQ;CACrB,CAAC;AAQI,MAAO,qBAAsB,SAAQ,sBAAsB,CAAA;IAO7D,WAAY,CAAA,GAAa,EAAqB,WAAwC,EAAA;AAClF,QAAA,KAAK,CAAC,GAAG,EAAEC,eAAa,EAAE,WAAW,CAAC,CAAC;Q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B,CAAC;AAChD,SAAA,CAAA,EAAA,EAAA,CAAA,0BAAA,CAAA,EAAA,CAAA,CAAA;uFAEQ,yBAAyB,EAAA,CAAA;cANrC,SAAS;AAAC,QAAA,IAAA,EAAA,CAAA;AACP,gBAAA,QAAQ,EAAE,sBAAsB;AAChC,gBAAA,SAAS,EAAE;AACP,oBAAA,kBAAkB,CAA2B,yBAAA,CAAA;AAChD,iBAAA;AACJ,aAAA,CAAA;;sBAG+B,QAAQ;;;ACbxC,MAAM,UAAU,GAAG;IACf,qBAAqB;IACrB,yBAAyB;CAC5B,CAAC;MAUW,kBAAkB,CAAA;;oFAAlB,kBAAkB,GAAA,CAAA,EAAA,CAAA;oEAAlB,kBAAkB,EAAA,CAAA,CAAA;wEANvB,YAAY;QACZ,kBAAkB,CAAA,EAAA,CAAA,CAAA;uFAKb,kBAAkB,EAAA,CAAA;cAR9B,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;;AACY,CAAA,YAAA,EAAA,CAAA,OAAA,SAAA,KAAA,WAAA,IAAA,SAAA,KAAA,EAAA,CAAA,kBAAA,CAAA,kBAAkB,mBAZ3B,qBAAqB;AACrB,QAAA,yBAAyB,aAKrB,YAAY;AACZ,QAAA,kBAAkB,aAPtB,qBAAqB;QACrB,yBAAyB,CAAA,EAAA,CAAA,CAAA,EAAA,GAAA;;ACV7B;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":["../../../../../projects/components/widgets/containers/linear-layout/src/linear-layout.props.ts","../../../../../projects/components/widgets/containers/linear-layout/src/linear-layout.directive.ts","../../../../../projects/components/widgets/containers/linear-layout/src/linear-layout-item/linear-layout-item.props.ts","../../../../../projects/components/widgets/containers/linear-layout/src/linear-layout-item/linear-layout-item.directive.ts","../../../../../projects/components/widgets/containers/linear-layout/src/linear-layout.module.ts","../../../../../projects/components/widgets/containers/linear-layout/src/index.ts"],"sourcesContent":["import { PROP_BOOLEAN, PROP_STRING, register } from '@wm/components/base';\n\nexport const registerProps = () => {\n register(\n 'wm-linearlayout',\n new Map(\n [\n ['class', PROP_STRING],\n ['direction', PROP_STRING],\n ['horizontalalign', PROP_STRING],\n ['name', PROP_STRING],\n ['show', {value: true, ...PROP_BOOLEAN}],\n ['spacing', PROP_STRING],\n ['verticalalign', PROP_STRING],\n ]\n )\n );\n};\n","import {Directive, Injector, Optional} from '@angular/core';\n\nimport { APPLY_STYLES_TYPE, IWidgetConfig, provideAsWidgetRef, styler, BaseContainerComponent } from '@wm/components/base';\n\nimport { registerProps } from './linear-layout.props';\nimport {UserDefinedExecutionContext} from '@wm/core';\n\nconst DEFAULT_CLS = 'app-linear-layout clearfix';\nconst WIDGET_CONFIG: IWidgetConfig = {\n widgetType: 'wm-linearlayout',\n hostClass: DEFAULT_CLS\n};\nconst hAlignValues = {\n 'left': 'flex-start',\n 'right': 'flex-end',\n 'center': 'center',\n},\nvAlignValues = {\n 'top': 'flex-start',\n 'bottom': 'flex-end',\n 'center': 'center',\n};\n\n@Directive({\n selector: '[wmLinearLayout]',\n providers: [\n provideAsWidgetRef(LinearLayoutDirective)\n ]\n})\nexport class LinearLayoutDirective extends BaseContainerComponent {\n static initializeProps = registerProps();\n\n public direction;\n public horizontalalign: string;\n public verticalalign: string;\n\n constructor(inj: Injector) {\n super(inj, WIDGET_CONFIG);\n\n styler(this.nativeElement, this, APPLY_STYLES_TYPE.CONTAINER);\n }\n\n private removeClass($el, prefix) {\n $el.removeClass((i, className) => {\n return className.split(' ')\n .filter(s => s.startsWith(prefix))\n .join(' ');\n });\n }\n\n private changeDirection($el, v) {\n this.removeClass($el, 'app-linear-layout-direction');\n $el.addClass('app-linear-layout-direction-' + v);\n if (v === 'row' || v === 'row-reverse') {\n $el.css('justify-content', hAlignValues[this.horizontalalign]);\n } else if (v === 'column' || v === 'column-reverse') {\n $el.css('justify-content', vAlignValues[this.verticalalign]);\n }\n $el.css('flex-direction', v);\n }\n\n protected onStyleChange(key: string, nv: any, ov?: any) {\n if (key === 'horizontalalign') {\n if (this.direction === 'row' || this.direction === 'row-reverse') {\n this.$element.css('justify-content', hAlignValues[nv]);\n } else {\n this.$element.css('align-items', hAlignValues[nv]);\n }\n } else if (key === 'verticalalign') {\n if (this.direction === 'column' || this.direction === 'column-reverse') {\n this.$element.css('justify-content', vAlignValues[nv]);\n } else {\n this.$element.css('align-items', vAlignValues[nv]);\n }\n }\n super.onStyleChange(key, nv, ov);\n }\n\n onPropertyChange(key: string, nv: any, ov?: any) {\n switch (key) {\n case 'direction':\n this.changeDirection(this.$element, nv);\n break;\n case 'horizontalalign':\n this.$element.css('justify-content', hAlignValues[nv]);\n break;\n case 'verticalalign':\n this.$element.css('justify-content', vAlignValues[nv]);\n break;\n case 'spacing':\n this.removeClass(this.$element, 'app-linear-layout-spacing');\n this.$element.addClass('app-linear-layout-spacing-' + nv);\n break;\n }\n super.onPropertyChange(key, nv, ov);\n }\n}\n","import { PROP_BOOLEAN, PROP_NUMBER, PROP_STRING, register } from '@wm/components/base';\n\nexport const registerProps = () => {\n register(\n 'wm-linearlayoutitem',\n new Map(\n [\n ['class', PROP_STRING],\n ['flexgrow', PROP_NUMBER],\n ['name', PROP_STRING],\n ['show', {value: true, ...PROP_BOOLEAN}]\n ]\n )\n );\n};\n","import {Directive, Injector, Optional} from '@angular/core';\n\nimport { APPLY_STYLES_TYPE, IWidgetConfig, provideAsWidgetRef, styler, StylableComponent } from '@wm/components/base';\n\nimport { registerProps } from './linear-layout-item.props';\nimport {UserDefinedExecutionContext} from '@wm/core';\n\nconst DEFAULT_CLS = 'app-linear-layout-item clearfix';\nconst WIDGET_CONFIG: IWidgetConfig = {\n widgetType: 'wm-linearlayoutitem',\n hostClass: DEFAULT_CLS\n};\n\n@Directive({\n selector: '[wmLinearLayoutItem]',\n providers: [\n provideAsWidgetRef(LinearLayoutItemDirective)\n ]\n})\nexport class LinearLayoutItemDirective 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 switch (key) {\n case 'flexgrow':\n this.$element.css('flex-grow', nv);\n break;\n }\n super.onPropertyChange(key, nv, ov);\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { WmComponentsModule } from '@wm/components/base';\n\nimport { LinearLayoutDirective } from './linear-layout.directive';\nimport { LinearLayoutItemDirective } from './linear-layout-item/linear-layout-item.directive';\n\nconst components = [\n LinearLayoutDirective,\n LinearLayoutItemDirective\n];\n\n@NgModule({\n imports: [\n CommonModule,\n WmComponentsModule\n ],\n declarations: [...components],\n exports: [...components]\n})\nexport class LinearLayoutModule {\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["registerProps","DEFAULT_CLS","WIDGET_CONFIG"],"mappings":";;;;;AAEO,MAAMA,eAAa,GAAG,MAAK;AAC9B,IAAA,QAAQ,CACJ,iBAAiB,EACjB,IAAI,GAAG,CACH;QACI,CAAC,OAAO,EAAE,WAAW,CAAC;QACtB,CAAC,WAAW,EAAE,WAAW,CAAC;QAC1B,CAAC,iBAAiB,EAAE,WAAW,CAAC;QAChC,CAAC,MAAM,EAAE,WAAW,CAAC;QACrB,CAAC,MAAM,EAAE,EAAC,KAAK,EAAE,IAAI,EAAE,GAAG,YAAY,EAAC,CAAC;QACxC,CAAC,SAAS,EAAE,WAAW,CAAC;QACxB,CAAC,eAAe,EAAE,WAAW,CAAC;AACjC,KAAA,CACJ,CACJ,CAAC;AACN,CAAC;;ACVD,MAAMC,aAAW,GAAG,4BAA4B,CAAC;AACjD,MAAMC,eAAa,GAAkB;A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1,10 @@
|
|
|
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 LinearLayoutItemDirective 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<LinearLayoutItemDirective,
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LinearLayoutItemDirective, never>;
|
|
11
9
|
static ɵdir: i0.ɵɵDirectiveDeclaration<LinearLayoutItemDirective, "[wmLinearLayoutItem]", never, {}, {}, never, never, false, never>;
|
|
12
10
|
}
|
|
@@ -1,18 +1,16 @@
|
|
|
1
1
|
import { Injector } from '@angular/core';
|
|
2
2
|
import { BaseContainerComponent } from '@wm/components/base';
|
|
3
|
-
import { UserDefinedExecutionContext } from '@wm/core';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
4
|
export declare class LinearLayoutDirective extends BaseContainerComponent {
|
|
6
|
-
_viewParent: UserDefinedExecutionContext;
|
|
7
5
|
static initializeProps: void;
|
|
8
6
|
direction: any;
|
|
9
7
|
horizontalalign: string;
|
|
10
8
|
verticalalign: string;
|
|
11
|
-
constructor(inj: Injector
|
|
9
|
+
constructor(inj: Injector);
|
|
12
10
|
private removeClass;
|
|
13
11
|
private changeDirection;
|
|
14
12
|
protected onStyleChange(key: string, nv: any, ov?: any): void;
|
|
15
13
|
onPropertyChange(key: string, nv: any, ov?: any): void;
|
|
16
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LinearLayoutDirective,
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LinearLayoutDirective, never>;
|
|
17
15
|
static ɵdir: i0.ɵɵDirectiveDeclaration<LinearLayoutDirective, "[wmLinearLayout]", never, {}, {}, never, never, false, never>;
|
|
18
16
|
}
|