@wavemaker/app-ng-runtime 11.4.1-next.141652 → 11.4.1-next.141654
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- app-ng-runtime/components/advanced/carousel/bundles/index.umd.js +12 -23
- app-ng-runtime/components/advanced/carousel/carousel-template/carousel-template.directive.d.ts +2 -4
- app-ng-runtime/components/advanced/carousel/carousel.directive.d.ts +2 -4
- app-ng-runtime/components/advanced/carousel/esm2020/carousel-template/carousel-template.directive.mjs +6 -11
- app-ng-runtime/components/advanced/carousel/esm2020/carousel.directive.mjs +6 -11
- app-ng-runtime/components/advanced/carousel/fesm2015/index.mjs +9 -20
- app-ng-runtime/components/advanced/carousel/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/advanced/carousel/fesm2020/index.mjs +9 -16
- app-ng-runtime/components/advanced/carousel/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/advanced/login/bundles/index.umd.js +21 -27
- app-ng-runtime/components/advanced/login/esm2020/login.component.mjs +8 -13
- app-ng-runtime/components/advanced/login/fesm2015/index.mjs +7 -13
- app-ng-runtime/components/advanced/login/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/advanced/login/fesm2020/index.mjs +7 -11
- app-ng-runtime/components/advanced/login/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/advanced/login/login.component.d.ts +2 -4
- app-ng-runtime/components/advanced/marquee/bundles/index.umd.js +8 -14
- app-ng-runtime/components/advanced/marquee/esm2020/marquee.directive.mjs +6 -11
- app-ng-runtime/components/advanced/marquee/fesm2015/index.mjs +5 -11
- app-ng-runtime/components/advanced/marquee/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/advanced/marquee/fesm2020/index.mjs +5 -9
- app-ng-runtime/components/advanced/marquee/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/advanced/marquee/marquee.directive.d.ts +2 -4
- app-ng-runtime/components/base/bundles/index.umd.js +31 -61
- app-ng-runtime/components/base/esm2020/widgets/common/base/base-container.component.mjs +4 -6
- app-ng-runtime/components/base/esm2020/widgets/common/base/base.component.mjs +5 -6
- app-ng-runtime/components/base/esm2020/widgets/common/base/dataset-aware-nav.component.mjs +3 -3
- app-ng-runtime/components/base/esm2020/widgets/common/container/container.directive.mjs +7 -11
- app-ng-runtime/components/base/esm2020/widgets/common/item-template/item-template.directive.mjs +7 -10
- app-ng-runtime/components/base/esm2020/widgets/common/lazy-load/lazy-load.directive.mjs +6 -10
- app-ng-runtime/components/base/esm2020/widgets/common/message/message.component.mjs +7 -11
- app-ng-runtime/components/base/esm2020/widgets/common/partial/partial.directive.mjs +7 -10
- app-ng-runtime/components/base/esm2020/widgets/common/repeat-template/repeat-template.directive.mjs +6 -11
- app-ng-runtime/components/base/fesm2015/index.mjs +32 -62
- app-ng-runtime/components/base/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/base/fesm2020/index.mjs +32 -50
- app-ng-runtime/components/base/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/base/widgets/common/base/base-container.component.d.ts +1 -2
- app-ng-runtime/components/base/widgets/common/base/base.component.d.ts +2 -3
- app-ng-runtime/components/base/widgets/common/base/dataset-aware-nav.component.d.ts +1 -2
- app-ng-runtime/components/base/widgets/common/container/container.directive.d.ts +2 -4
- app-ng-runtime/components/base/widgets/common/item-template/item-template.directive.d.ts +3 -4
- app-ng-runtime/components/base/widgets/common/lazy-load/lazy-load.directive.d.ts +2 -4
- app-ng-runtime/components/base/widgets/common/message/message.component.d.ts +2 -4
- app-ng-runtime/components/base/widgets/common/partial/partial.directive.d.ts +3 -4
- app-ng-runtime/components/base/widgets/common/repeat-template/repeat-template.directive.d.ts +2 -4
- app-ng-runtime/components/basic/default/anchor/anchor.component.d.ts +3 -4
- app-ng-runtime/components/basic/default/audio/audio.component.d.ts +2 -4
- app-ng-runtime/components/basic/default/bundles/index.umd.js +247 -290
- app-ng-runtime/components/basic/default/esm2020/anchor/anchor.component.mjs +7 -10
- app-ng-runtime/components/basic/default/esm2020/audio/audio.component.mjs +8 -13
- app-ng-runtime/components/basic/default/esm2020/html/html.directive.mjs +7 -11
- app-ng-runtime/components/basic/default/esm2020/icon/icon.component.mjs +9 -14
- app-ng-runtime/components/basic/default/esm2020/iframe/iframe.component.mjs +9 -13
- app-ng-runtime/components/basic/default/esm2020/label/label.directive.mjs +7 -11
- app-ng-runtime/components/basic/default/esm2020/picture/picture.directive.mjs +7 -11
- app-ng-runtime/components/basic/default/esm2020/spinner/spinner.component.mjs +9 -13
- app-ng-runtime/components/basic/default/esm2020/video/video.component.mjs +9 -13
- app-ng-runtime/components/basic/default/fesm2015/index.mjs +46 -89
- app-ng-runtime/components/basic/default/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/basic/default/fesm2020/index.mjs +46 -73
- app-ng-runtime/components/basic/default/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/basic/default/html/html.directive.d.ts +2 -4
- app-ng-runtime/components/basic/default/icon/icon.component.d.ts +2 -4
- app-ng-runtime/components/basic/default/iframe/iframe.component.d.ts +2 -4
- app-ng-runtime/components/basic/default/label/label.directive.d.ts +2 -4
- app-ng-runtime/components/basic/default/picture/picture.directive.d.ts +2 -4
- app-ng-runtime/components/basic/default/spinner/spinner.component.d.ts +2 -4
- app-ng-runtime/components/basic/default/video/video.component.d.ts +2 -4
- app-ng-runtime/components/basic/progress/bundles/index.umd.js +23 -32
- app-ng-runtime/components/basic/progress/esm2020/progress-bar/progress-bar.component.mjs +8 -12
- app-ng-runtime/components/basic/progress/esm2020/progress-circle/progress-circle.component.mjs +8 -13
- app-ng-runtime/components/basic/progress/fesm2015/index.mjs +12 -21
- app-ng-runtime/components/basic/progress/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/basic/progress/fesm2020/index.mjs +12 -19
- app-ng-runtime/components/basic/progress/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/basic/progress/progress-bar/progress-bar.component.d.ts +2 -4
- app-ng-runtime/components/basic/progress/progress-circle/progress-circle.component.d.ts +2 -4
- app-ng-runtime/components/basic/rich-text-editor/bundles/index.umd.js +14 -20
- app-ng-runtime/components/basic/rich-text-editor/esm2020/rich-text-editor.component.mjs +9 -13
- app-ng-runtime/components/basic/rich-text-editor/fesm2015/index.mjs +7 -13
- app-ng-runtime/components/basic/rich-text-editor/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/basic/rich-text-editor/fesm2020/index.mjs +7 -11
- app-ng-runtime/components/basic/rich-text-editor/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/basic/rich-text-editor/rich-text-editor.component.d.ts +2 -4
- app-ng-runtime/components/basic/search/bundles/index.umd.js +3 -6
- app-ng-runtime/components/basic/search/esm2020/search.component.mjs +6 -9
- app-ng-runtime/components/basic/search/fesm2015/index.mjs +4 -7
- app-ng-runtime/components/basic/search/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/basic/search/fesm2020/index.mjs +4 -7
- app-ng-runtime/components/basic/search/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/basic/search/search.component.d.ts +3 -4
- app-ng-runtime/components/chart/bundles/index.umd.js +4 -9
- app-ng-runtime/components/chart/chart.component.d.ts +3 -4
- app-ng-runtime/components/chart/esm2020/chart.component.mjs +7 -10
- app-ng-runtime/components/chart/fesm2015/index.mjs +5 -10
- app-ng-runtime/components/chart/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/chart/fesm2020/index.mjs +5 -8
- app-ng-runtime/components/chart/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/containers/accordion/accordion-pane/accordion-pane.component.d.ts +2 -4
- app-ng-runtime/components/containers/accordion/accordion.directive.d.ts +3 -4
- app-ng-runtime/components/containers/accordion/bundles/index.umd.js +56 -66
- app-ng-runtime/components/containers/accordion/esm2020/accordion-pane/accordion-pane.component.mjs +10 -14
- app-ng-runtime/components/containers/accordion/esm2020/accordion.directive.mjs +7 -10
- app-ng-runtime/components/containers/accordion/fesm2015/index.mjs +12 -22
- app-ng-runtime/components/containers/accordion/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/containers/accordion/fesm2020/index.mjs +12 -18
- app-ng-runtime/components/containers/accordion/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/containers/layout-grid/bundles/index.umd.js +12 -25
- app-ng-runtime/components/containers/layout-grid/esm2020/layout-grid-column/layout-grid-column.directive.mjs +7 -10
- app-ng-runtime/components/containers/layout-grid/esm2020/layout-grid-row/layout-grid-row.directive.mjs +6 -11
- app-ng-runtime/components/containers/layout-grid/esm2020/layout-grid.directive.mjs +6 -11
- app-ng-runtime/components/containers/layout-grid/fesm2015/index.mjs +13 -26
- app-ng-runtime/components/containers/layout-grid/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/containers/layout-grid/fesm2020/index.mjs +13 -22
- app-ng-runtime/components/containers/layout-grid/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/containers/layout-grid/layout-grid-column/layout-grid-column.directive.d.ts +3 -4
- app-ng-runtime/components/containers/layout-grid/layout-grid-row/layout-grid-row.directive.d.ts +2 -4
- app-ng-runtime/components/containers/layout-grid/layout-grid.directive.d.ts +2 -4
- app-ng-runtime/components/containers/linear-layout/bundles/index.umd.js +12 -23
- app-ng-runtime/components/containers/linear-layout/esm2020/linear-layout-item/linear-layout-item.directive.mjs +6 -11
- app-ng-runtime/components/containers/linear-layout/esm2020/linear-layout.directive.mjs +6 -11
- app-ng-runtime/components/containers/linear-layout/fesm2015/index.mjs +9 -20
- app-ng-runtime/components/containers/linear-layout/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/containers/linear-layout/fesm2020/index.mjs +9 -16
- app-ng-runtime/components/containers/linear-layout/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/containers/linear-layout/linear-layout-item/linear-layout-item.directive.d.ts +2 -4
- app-ng-runtime/components/containers/linear-layout/linear-layout.directive.d.ts +2 -4
- app-ng-runtime/components/containers/panel/bundles/index.umd.js +65 -71
- app-ng-runtime/components/containers/panel/esm2020/panel.component.mjs +12 -16
- app-ng-runtime/components/containers/panel/fesm2015/index.mjs +10 -16
- app-ng-runtime/components/containers/panel/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/containers/panel/fesm2020/index.mjs +10 -14
- app-ng-runtime/components/containers/panel/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/containers/panel/panel.component.d.ts +2 -4
- app-ng-runtime/components/containers/tabs/bundles/index.umd.js +57 -63
- app-ng-runtime/components/containers/tabs/esm2020/tab-pane/tab-pane.component.mjs +8 -12
- app-ng-runtime/components/containers/tabs/esm2020/tabs.component.mjs +7 -10
- app-ng-runtime/components/containers/tabs/fesm2015/index.mjs +12 -18
- app-ng-runtime/components/containers/tabs/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/containers/tabs/fesm2020/index.mjs +12 -18
- app-ng-runtime/components/containers/tabs/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/containers/tabs/tab-pane/tab-pane.component.d.ts +2 -4
- app-ng-runtime/components/containers/tabs/tabs.component.d.ts +3 -4
- app-ng-runtime/components/containers/tile/bundles/index.umd.js +8 -14
- app-ng-runtime/components/containers/tile/esm2020/tile.directive.mjs +6 -11
- app-ng-runtime/components/containers/tile/fesm2015/index.mjs +5 -11
- app-ng-runtime/components/containers/tile/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/containers/tile/fesm2020/index.mjs +5 -9
- app-ng-runtime/components/containers/tile/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/containers/tile/tile.directive.d.ts +2 -4
- app-ng-runtime/components/containers/wizard/bundles/index.umd.js +48 -57
- app-ng-runtime/components/containers/wizard/esm2020/wizard-step/wizard-step.directive.mjs +5 -10
- app-ng-runtime/components/containers/wizard/esm2020/wizard.component.mjs +10 -14
- app-ng-runtime/components/containers/wizard/fesm2015/index.mjs +11 -20
- app-ng-runtime/components/containers/wizard/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/containers/wizard/fesm2020/index.mjs +11 -18
- app-ng-runtime/components/containers/wizard/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/containers/wizard/wizard-step/wizard-step.directive.d.ts +2 -4
- app-ng-runtime/components/containers/wizard/wizard.component.d.ts +2 -4
- app-ng-runtime/components/data/card/bundles/index.umd.js +83 -106
- app-ng-runtime/components/data/card/card-actions/card-actions.directive.d.ts +2 -4
- app-ng-runtime/components/data/card/card-content/card-content.component.d.ts +2 -4
- app-ng-runtime/components/data/card/card-footer/card-footer.directive.d.ts +2 -4
- app-ng-runtime/components/data/card/card.component.d.ts +2 -4
- app-ng-runtime/components/data/card/esm2020/card-actions/card-actions.directive.mjs +6 -11
- app-ng-runtime/components/data/card/esm2020/card-content/card-content.component.mjs +6 -11
- app-ng-runtime/components/data/card/esm2020/card-footer/card-footer.directive.mjs +6 -11
- app-ng-runtime/components/data/card/esm2020/card.component.mjs +12 -18
- app-ng-runtime/components/data/card/fesm2015/index.mjs +23 -46
- app-ng-runtime/components/data/card/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/data/card/fesm2020/index.mjs +23 -38
- app-ng-runtime/components/data/card/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/data/form/bundles/index.umd.js +128 -137
- app-ng-runtime/components/data/form/esm2020/form-action/form-action.directive.mjs +4 -9
- app-ng-runtime/components/data/form/esm2020/form-field/form-field.directive.mjs +5 -8
- app-ng-runtime/components/data/form/esm2020/form.component.mjs +5 -8
- app-ng-runtime/components/data/form/fesm2015/index.mjs +20 -29
- app-ng-runtime/components/data/form/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/data/form/fesm2020/index.mjs +20 -29
- app-ng-runtime/components/data/form/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/data/form/form-action/form-action.directive.d.ts +2 -4
- app-ng-runtime/components/data/form/form-field/form-field.directive.d.ts +3 -4
- app-ng-runtime/components/data/form/form.component.d.ts +3 -4
- app-ng-runtime/components/data/list/bundles/index.umd.js +4 -7
- app-ng-runtime/components/data/list/esm2020/list.component.mjs +7 -10
- app-ng-runtime/components/data/list/fesm2015/index.mjs +4 -7
- app-ng-runtime/components/data/list/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/data/list/fesm2020/index.mjs +4 -7
- app-ng-runtime/components/data/list/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/data/list/list.component.d.ts +3 -4
- app-ng-runtime/components/data/live-table/bundles/index.umd.js +3 -6
- app-ng-runtime/components/data/live-table/esm2020/live-table.component.mjs +6 -9
- app-ng-runtime/components/data/live-table/fesm2015/index.mjs +4 -7
- app-ng-runtime/components/data/live-table/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/data/live-table/fesm2020/index.mjs +4 -7
- app-ng-runtime/components/data/live-table/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/data/live-table/live-table.component.d.ts +3 -4
- app-ng-runtime/components/data/pagination/bundles/index.umd.js +30 -34
- app-ng-runtime/components/data/pagination/esm2020/pagination.component.mjs +10 -14
- app-ng-runtime/components/data/pagination/fesm2015/index.mjs +8 -12
- app-ng-runtime/components/data/pagination/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/data/pagination/fesm2020/index.mjs +8 -12
- app-ng-runtime/components/data/pagination/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/data/pagination/pagination.component.d.ts +2 -4
- app-ng-runtime/components/data/table/bundles/index.umd.js +19 -37
- app-ng-runtime/components/data/table/esm2020/table-action/table-action.directive.mjs +4 -9
- app-ng-runtime/components/data/table/esm2020/table-column/table-column.directive.mjs +5 -8
- app-ng-runtime/components/data/table/esm2020/table-column-group/table-column-group.directive.mjs +4 -9
- app-ng-runtime/components/data/table/esm2020/table-row/table-row.directive.mjs +4 -9
- app-ng-runtime/components/data/table/esm2020/table-row-action/table-row-action.directive.mjs +4 -9
- app-ng-runtime/components/data/table/esm2020/table.component.mjs +6 -9
- app-ng-runtime/components/data/table/fesm2015/index.mjs +19 -37
- app-ng-runtime/components/data/table/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/data/table/fesm2020/index.mjs +19 -37
- app-ng-runtime/components/data/table/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/data/table/table-action/table-action.directive.d.ts +2 -4
- app-ng-runtime/components/data/table/table-column/table-column.directive.d.ts +3 -4
- app-ng-runtime/components/data/table/table-column-group/table-column-group.directive.d.ts +2 -4
- app-ng-runtime/components/data/table/table-row/table-row.directive.d.ts +2 -4
- app-ng-runtime/components/data/table/table-row-action/table-row-action.directive.d.ts +2 -4
- app-ng-runtime/components/data/table/table.component.d.ts +3 -4
- app-ng-runtime/components/dialogs/alert-dialog/alert-dialog.component.d.ts +2 -4
- app-ng-runtime/components/dialogs/alert-dialog/bundles/index.umd.js +40 -46
- app-ng-runtime/components/dialogs/alert-dialog/esm2020/alert-dialog.component.mjs +9 -15
- app-ng-runtime/components/dialogs/alert-dialog/fesm2015/index.mjs +8 -14
- app-ng-runtime/components/dialogs/alert-dialog/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/alert-dialog/fesm2020/index.mjs +8 -14
- app-ng-runtime/components/dialogs/alert-dialog/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/confirm-dialog/bundles/index.umd.js +16 -22
- app-ng-runtime/components/dialogs/confirm-dialog/confirm-dialog.component.d.ts +2 -4
- app-ng-runtime/components/dialogs/confirm-dialog/esm2020/confirm-dialog.component.mjs +8 -14
- app-ng-runtime/components/dialogs/confirm-dialog/fesm2015/index.mjs +7 -13
- app-ng-runtime/components/dialogs/confirm-dialog/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/confirm-dialog/fesm2020/index.mjs +7 -13
- app-ng-runtime/components/dialogs/confirm-dialog/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/default/base-dialog.d.ts +1 -2
- app-ng-runtime/components/dialogs/default/bundles/index.umd.js +25 -31
- app-ng-runtime/components/dialogs/default/dialog-footer/dialog-footer.directive.d.ts +2 -4
- app-ng-runtime/components/dialogs/default/esm2020/base-dialog.mjs +7 -8
- app-ng-runtime/components/dialogs/default/esm2020/dialog-footer/dialog-footer.directive.mjs +6 -11
- app-ng-runtime/components/dialogs/default/fesm2015/index.mjs +11 -17
- app-ng-runtime/components/dialogs/default/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/default/fesm2020/index.mjs +11 -15
- app-ng-runtime/components/dialogs/default/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/design-dialog/bundles/index.umd.js +17 -23
- app-ng-runtime/components/dialogs/design-dialog/dialog.component.d.ts +2 -4
- app-ng-runtime/components/dialogs/design-dialog/esm2020/dialog.component.mjs +8 -14
- app-ng-runtime/components/dialogs/design-dialog/fesm2015/index.mjs +7 -13
- app-ng-runtime/components/dialogs/design-dialog/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/design-dialog/fesm2020/index.mjs +7 -13
- app-ng-runtime/components/dialogs/design-dialog/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/iframe-dialog/bundles/index.umd.js +24 -30
- app-ng-runtime/components/dialogs/iframe-dialog/esm2020/iframe-dialog.component.mjs +10 -16
- app-ng-runtime/components/dialogs/iframe-dialog/fesm2015/index.mjs +9 -15
- app-ng-runtime/components/dialogs/iframe-dialog/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/iframe-dialog/fesm2020/index.mjs +9 -15
- app-ng-runtime/components/dialogs/iframe-dialog/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/iframe-dialog/iframe-dialog.component.d.ts +2 -4
- app-ng-runtime/components/dialogs/partial-dialog/bundles/index.umd.js +3 -8
- app-ng-runtime/components/dialogs/partial-dialog/esm2020/partial-dialog.component.mjs +5 -10
- app-ng-runtime/components/dialogs/partial-dialog/fesm2015/index.mjs +4 -9
- app-ng-runtime/components/dialogs/partial-dialog/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/partial-dialog/fesm2020/index.mjs +4 -9
- app-ng-runtime/components/dialogs/partial-dialog/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/partial-dialog/partial-dialog.component.d.ts +3 -4
- app-ng-runtime/components/input/calendar/bundles/index.umd.js +5 -10
- app-ng-runtime/components/input/calendar/calendar.component.d.ts +3 -4
- app-ng-runtime/components/input/calendar/esm2020/calendar.component.mjs +8 -11
- app-ng-runtime/components/input/calendar/fesm2015/index.mjs +6 -11
- app-ng-runtime/components/input/calendar/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/input/calendar/fesm2020/index.mjs +6 -9
- app-ng-runtime/components/input/calendar/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/input/chips/bundles/index.umd.js +87 -93
- app-ng-runtime/components/input/chips/chips.component.d.ts +2 -4
- app-ng-runtime/components/input/chips/esm2020/chips.component.mjs +9 -15
- app-ng-runtime/components/input/chips/fesm2015/index.mjs +8 -14
- app-ng-runtime/components/input/chips/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/input/chips/fesm2020/index.mjs +8 -14
- app-ng-runtime/components/input/chips/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/input/color-picker/bundles/index.umd.js +22 -28
- app-ng-runtime/components/input/color-picker/color-picker.component.d.ts +2 -4
- app-ng-runtime/components/input/color-picker/esm2020/color-picker.component.mjs +10 -14
- app-ng-runtime/components/input/color-picker/fesm2015/index.mjs +8 -14
- app-ng-runtime/components/input/color-picker/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/input/color-picker/fesm2020/index.mjs +8 -12
- app-ng-runtime/components/input/color-picker/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/input/currency/bundles/index.umd.js +4 -9
- app-ng-runtime/components/input/currency/currency.component.d.ts +3 -4
- app-ng-runtime/components/input/currency/esm2020/currency.component.mjs +7 -10
- app-ng-runtime/components/input/currency/fesm2015/index.mjs +5 -10
- app-ng-runtime/components/input/currency/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/input/currency/fesm2020/index.mjs +5 -8
- app-ng-runtime/components/input/currency/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/input/default/base-form.component.d.ts +1 -2
- app-ng-runtime/components/input/default/bundles/index.umd.js +575 -648
- app-ng-runtime/components/input/default/button/button.component.d.ts +2 -4
- app-ng-runtime/components/input/default/button-group/button-group.directive.d.ts +2 -4
- app-ng-runtime/components/input/default/checkbox/checkbox.component.d.ts +2 -4
- app-ng-runtime/components/input/default/checkboxset/checkboxset.component.d.ts +2 -4
- app-ng-runtime/components/input/default/composite/composite.directive.d.ts +2 -4
- app-ng-runtime/components/input/default/dataset-aware-form.component.d.ts +2 -3
- app-ng-runtime/components/input/default/esm2020/base-form.component.mjs +6 -7
- app-ng-runtime/components/input/default/esm2020/button/button.component.mjs +9 -14
- app-ng-runtime/components/input/default/esm2020/button-group/button-group.directive.mjs +6 -11
- app-ng-runtime/components/input/default/esm2020/checkbox/checkbox.component.mjs +9 -13
- app-ng-runtime/components/input/default/esm2020/checkboxset/checkboxset.component.mjs +10 -14
- app-ng-runtime/components/input/default/esm2020/composite/composite.directive.mjs +7 -11
- app-ng-runtime/components/input/default/esm2020/dataset-aware-form.component.mjs +6 -7
- app-ng-runtime/components/input/default/esm2020/number/number.component.mjs +7 -10
- app-ng-runtime/components/input/default/esm2020/radioset/radioset.component.mjs +10 -14
- app-ng-runtime/components/input/default/esm2020/select/select.component.mjs +11 -15
- app-ng-runtime/components/input/default/esm2020/switch/switch.component.mjs +10 -14
- app-ng-runtime/components/input/default/esm2020/text/base/base-input.mjs +6 -7
- app-ng-runtime/components/input/default/esm2020/text/calendar/input-calendar.component.mjs +8 -13
- app-ng-runtime/components/input/default/esm2020/text/color/input-color.component.mjs +8 -13
- app-ng-runtime/components/input/default/esm2020/text/email/input-email.component.mjs +8 -13
- app-ng-runtime/components/input/default/esm2020/text/locale/number-locale.mjs +3 -3
- app-ng-runtime/components/input/default/esm2020/text/number/input-number.component.mjs +9 -14
- app-ng-runtime/components/input/default/esm2020/text/text/input-text.component.mjs +9 -14
- app-ng-runtime/components/input/default/esm2020/textarea/textarea.component.mjs +9 -14
- app-ng-runtime/components/input/default/fesm2015/index.mjs +94 -167
- app-ng-runtime/components/input/default/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/input/default/fesm2020/index.mjs +94 -139
- app-ng-runtime/components/input/default/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/input/default/number/number.component.d.ts +3 -4
- app-ng-runtime/components/input/default/radioset/radioset.component.d.ts +2 -4
- app-ng-runtime/components/input/default/select/select.component.d.ts +2 -4
- app-ng-runtime/components/input/default/switch/switch.component.d.ts +2 -4
- app-ng-runtime/components/input/default/text/base/base-input.d.ts +1 -2
- app-ng-runtime/components/input/default/text/calendar/input-calendar.component.d.ts +2 -4
- app-ng-runtime/components/input/default/text/color/input-color.component.d.ts +2 -4
- app-ng-runtime/components/input/default/text/email/input-email.component.d.ts +2 -4
- app-ng-runtime/components/input/default/text/locale/number-locale.d.ts +2 -2
- app-ng-runtime/components/input/default/text/number/input-number.component.d.ts +2 -4
- app-ng-runtime/components/input/default/text/text/input-text.component.d.ts +2 -4
- app-ng-runtime/components/input/default/textarea/textarea.component.d.ts +2 -4
- app-ng-runtime/components/input/epoch/base-date-time.component.d.ts +1 -2
- app-ng-runtime/components/input/epoch/bundles/index.umd.js +12 -21
- app-ng-runtime/components/input/epoch/date/date.component.d.ts +3 -4
- app-ng-runtime/components/input/epoch/date-time/date-time.component.d.ts +3 -4
- app-ng-runtime/components/input/epoch/esm2020/base-date-time.component.mjs +5 -6
- app-ng-runtime/components/input/epoch/esm2020/date/date.component.mjs +6 -9
- app-ng-runtime/components/input/epoch/esm2020/date-time/date-time.component.mjs +6 -9
- app-ng-runtime/components/input/epoch/esm2020/time/time.component.mjs +6 -9
- app-ng-runtime/components/input/epoch/fesm2015/index.mjs +13 -22
- app-ng-runtime/components/input/epoch/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/input/epoch/fesm2020/index.mjs +13 -22
- app-ng-runtime/components/input/epoch/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/input/epoch/time/time.component.d.ts +3 -4
- app-ng-runtime/components/input/file-upload/bundles/index.umd.js +3 -6
- app-ng-runtime/components/input/file-upload/esm2020/file-upload.component.mjs +6 -9
- app-ng-runtime/components/input/file-upload/fesm2015/index.mjs +4 -7
- app-ng-runtime/components/input/file-upload/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/input/file-upload/fesm2020/index.mjs +4 -7
- app-ng-runtime/components/input/file-upload/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/input/file-upload/file-upload.component.d.ts +3 -4
- app-ng-runtime/components/input/rating/bundles/index.umd.js +45 -51
- app-ng-runtime/components/input/rating/esm2020/rating.component.mjs +11 -15
- app-ng-runtime/components/input/rating/fesm2015/index.mjs +9 -15
- app-ng-runtime/components/input/rating/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/input/rating/fesm2020/index.mjs +9 -13
- app-ng-runtime/components/input/rating/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/input/rating/rating.component.d.ts +2 -4
- app-ng-runtime/components/input/slider/bundles/index.umd.js +37 -43
- app-ng-runtime/components/input/slider/esm2020/slider.component.mjs +10 -15
- app-ng-runtime/components/input/slider/fesm2015/index.mjs +9 -15
- app-ng-runtime/components/input/slider/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/input/slider/fesm2020/index.mjs +9 -13
- app-ng-runtime/components/input/slider/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/input/slider/slider.component.d.ts +2 -4
- app-ng-runtime/components/navigation/menu/bundles/index.umd.js +13 -25
- app-ng-runtime/components/navigation/menu/esm2020/menu-adapator.component.mjs +4 -6
- app-ng-runtime/components/navigation/menu/esm2020/menu.component.mjs +4 -7
- app-ng-runtime/components/navigation/menu/esm2020/nav/nav-item/nav-item.directive.mjs +7 -11
- app-ng-runtime/components/navigation/menu/esm2020/nav/nav.component.mjs +5 -9
- app-ng-runtime/components/navigation/menu/fesm2015/index.mjs +14 -26
- app-ng-runtime/components/navigation/menu/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/navigation/menu/fesm2020/index.mjs +14 -24
- app-ng-runtime/components/navigation/menu/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/navigation/menu/menu-adapator.component.d.ts +1 -2
- app-ng-runtime/components/navigation/menu/menu.component.d.ts +2 -3
- app-ng-runtime/components/navigation/menu/nav/nav-item/nav-item.directive.d.ts +2 -4
- app-ng-runtime/components/navigation/menu/nav/nav.component.d.ts +3 -3
- app-ng-runtime/components/navigation/navbar/bundles/index.umd.js +28 -34
- app-ng-runtime/components/navigation/navbar/esm2020/navbar.component.mjs +9 -14
- app-ng-runtime/components/navigation/navbar/fesm2015/index.mjs +8 -14
- app-ng-runtime/components/navigation/navbar/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/navigation/navbar/fesm2020/index.mjs +8 -12
- app-ng-runtime/components/navigation/navbar/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/navigation/navbar/navbar.component.d.ts +2 -4
- app-ng-runtime/components/page/default/bundles/index.umd.js +32 -64
- app-ng-runtime/components/page/default/content/content.component.d.ts +2 -4
- app-ng-runtime/components/page/default/esm2020/content/content.component.mjs +6 -11
- app-ng-runtime/components/page/default/esm2020/layout.directive.mjs +7 -11
- app-ng-runtime/components/page/default/esm2020/page-content/page-content.component.mjs +7 -10
- app-ng-runtime/components/page/default/esm2020/page.directive.mjs +7 -12
- app-ng-runtime/components/page/default/esm2020/router-outlet.directive.mjs +7 -11
- app-ng-runtime/components/page/default/esm2020/spa-page.directive.mjs +7 -10
- app-ng-runtime/components/page/default/fesm2015/index.mjs +26 -58
- app-ng-runtime/components/page/default/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/page/default/fesm2020/index.mjs +26 -46
- app-ng-runtime/components/page/default/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/page/default/layout.directive.d.ts +2 -4
- app-ng-runtime/components/page/default/page-content/page-content.component.d.ts +3 -4
- app-ng-runtime/components/page/default/page.directive.d.ts +3 -4
- app-ng-runtime/components/page/default/router-outlet.directive.d.ts +2 -4
- app-ng-runtime/components/page/default/spa-page.directive.d.ts +3 -4
- app-ng-runtime/components/page/footer/bundles/index.umd.js +8 -14
- app-ng-runtime/components/page/footer/esm2020/footer.directive.mjs +6 -11
- app-ng-runtime/components/page/footer/fesm2015/index.mjs +5 -11
- app-ng-runtime/components/page/footer/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/page/footer/fesm2020/index.mjs +5 -9
- app-ng-runtime/components/page/footer/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/page/footer/footer.directive.d.ts +2 -4
- app-ng-runtime/components/page/header/bundles/index.umd.js +8 -14
- app-ng-runtime/components/page/header/esm2020/header.component.mjs +6 -11
- app-ng-runtime/components/page/header/fesm2015/index.mjs +5 -11
- app-ng-runtime/components/page/header/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/page/header/fesm2020/index.mjs +5 -9
- app-ng-runtime/components/page/header/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/page/header/header.component.d.ts +2 -4
- app-ng-runtime/components/page/left-panel/bundles/index.umd.js +4 -7
- app-ng-runtime/components/page/left-panel/esm2020/left-panel.directive.mjs +6 -9
- app-ng-runtime/components/page/left-panel/fesm2015/index.mjs +4 -7
- app-ng-runtime/components/page/left-panel/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/page/left-panel/fesm2020/index.mjs +4 -7
- app-ng-runtime/components/page/left-panel/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/page/left-panel/left-panel.directive.d.ts +3 -4
- app-ng-runtime/components/page/right-panel/bundles/index.umd.js +6 -12
- app-ng-runtime/components/page/right-panel/esm2020/right-panel.directive.mjs +7 -11
- app-ng-runtime/components/page/right-panel/fesm2015/index.mjs +5 -11
- app-ng-runtime/components/page/right-panel/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/page/right-panel/fesm2020/index.mjs +5 -9
- app-ng-runtime/components/page/right-panel/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/page/right-panel/right-panel.directive.d.ts +2 -4
- app-ng-runtime/components/page/top-nav/bundles/index.umd.js +8 -14
- app-ng-runtime/components/page/top-nav/esm2020/top-nav.directive.mjs +6 -11
- app-ng-runtime/components/page/top-nav/fesm2015/index.mjs +5 -11
- app-ng-runtime/components/page/top-nav/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/page/top-nav/fesm2020/index.mjs +5 -9
- app-ng-runtime/components/page/top-nav/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/page/top-nav/top-nav.directive.d.ts +2 -4
- app-ng-runtime/components/prefab/bundles/index.umd.js +7 -15
- app-ng-runtime/components/prefab/esm2020/prefab-container/prefab-container.directive.mjs +7 -10
- app-ng-runtime/components/prefab/esm2020/prefab.directive.mjs +6 -10
- app-ng-runtime/components/prefab/fesm2015/index.mjs +8 -16
- app-ng-runtime/components/prefab/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/prefab/fesm2020/index.mjs +8 -14
- app-ng-runtime/components/prefab/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/prefab/prefab-container/prefab-container.directive.d.ts +3 -4
- app-ng-runtime/components/prefab/prefab.directive.d.ts +2 -4
- app-ng-runtime/mobile/components/basic/default/bundles/index.umd.js +32 -37
- app-ng-runtime/mobile/components/basic/default/esm2020/network-info-toaster/network-info-toaster.component.mjs +7 -10
- app-ng-runtime/mobile/components/basic/default/fesm2015/index.mjs +10 -15
- app-ng-runtime/mobile/components/basic/default/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/basic/default/fesm2020/index.mjs +10 -13
- app-ng-runtime/mobile/components/basic/default/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/basic/default/network-info-toaster/network-info-toaster.component.d.ts +3 -4
- app-ng-runtime/mobile/components/containers/segmented-control/bundles/index.umd.js +18 -29
- app-ng-runtime/mobile/components/containers/segmented-control/esm2020/segment-content/segment-content.component.mjs +8 -13
- app-ng-runtime/mobile/components/containers/segmented-control/esm2020/segmented-control.component.mjs +9 -13
- app-ng-runtime/mobile/components/containers/segmented-control/fesm2015/index.mjs +12 -23
- app-ng-runtime/mobile/components/containers/segmented-control/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/containers/segmented-control/fesm2020/index.mjs +12 -19
- app-ng-runtime/mobile/components/containers/segmented-control/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/containers/segmented-control/segment-content/segment-content.component.d.ts +2 -4
- app-ng-runtime/mobile/components/containers/segmented-control/segmented-control.component.d.ts +2 -4
- app-ng-runtime/mobile/components/data/media-list/bundles/index.umd.js +30 -36
- app-ng-runtime/mobile/components/data/media-list/esm2020/media-list.component.mjs +14 -18
- app-ng-runtime/mobile/components/data/media-list/fesm2015/index.mjs +11 -17
- app-ng-runtime/mobile/components/data/media-list/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/data/media-list/fesm2020/index.mjs +11 -15
- app-ng-runtime/mobile/components/data/media-list/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/data/media-list/media-list.component.d.ts +2 -4
- app-ng-runtime/mobile/components/device/barcode-scanner/barcode-scanner.component.d.ts +2 -4
- app-ng-runtime/mobile/components/device/barcode-scanner/bundles/index.umd.js +28 -34
- app-ng-runtime/mobile/components/device/barcode-scanner/esm2020/barcode-scanner.component.mjs +10 -14
- app-ng-runtime/mobile/components/device/barcode-scanner/fesm2015/index.mjs +8 -14
- app-ng-runtime/mobile/components/device/barcode-scanner/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/device/barcode-scanner/fesm2020/index.mjs +8 -12
- app-ng-runtime/mobile/components/device/barcode-scanner/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/device/camera/bundles/index.umd.js +12 -18
- app-ng-runtime/mobile/components/device/camera/camera.component.d.ts +2 -4
- app-ng-runtime/mobile/components/device/camera/esm2020/camera.component.mjs +9 -13
- app-ng-runtime/mobile/components/device/camera/fesm2015/index.mjs +7 -13
- app-ng-runtime/mobile/components/device/camera/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/device/camera/fesm2020/index.mjs +7 -11
- app-ng-runtime/mobile/components/device/camera/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/page/mobile-navbar/bundles/index.umd.js +3 -6
- app-ng-runtime/mobile/components/page/mobile-navbar/esm2020/mobile-navbar.component.mjs +6 -9
- app-ng-runtime/mobile/components/page/mobile-navbar/fesm2015/index.mjs +4 -7
- app-ng-runtime/mobile/components/page/mobile-navbar/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/page/mobile-navbar/fesm2020/index.mjs +4 -7
- app-ng-runtime/mobile/components/page/mobile-navbar/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/page/mobile-navbar/mobile-navbar.component.d.ts +3 -4
- app-ng-runtime/mobile/components/page/tab-bar/bundles/index.umd.js +32 -36
- app-ng-runtime/mobile/components/page/tab-bar/esm2020/tabbar.component.mjs +8 -13
- app-ng-runtime/mobile/components/page/tab-bar/fesm2015/index.mjs +7 -11
- app-ng-runtime/mobile/components/page/tab-bar/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/page/tab-bar/fesm2020/index.mjs +7 -11
- app-ng-runtime/mobile/components/page/tab-bar/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/page/tab-bar/tabbar.component.d.ts +2 -4
- app-ng-runtime/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@wm/components/base'), require('@wm/components/page'), require('@
|
|
3
|
-
typeof define === 'function' && define.amd ? define(['exports', '@angular/core', '@wm/components/base', '@wm/components/page', '@
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.wm = global.wm || {}, global.wm.mobile = global.wm.mobile || {}, global.wm.mobile.components = global.wm.mobile.components || {}, global.wm.mobile.components.page = global.wm.mobile.components.page || {}, global.wm.mobile.components.page.tabbar = {}), global.ng.core, global.wm.components.base, global.wm.components.page, global.
|
|
5
|
-
})(this, (function (exports, i0,
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@wm/components/base'), require('@wm/components/page'), require('@angular/common')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define(['exports', '@angular/core', '@wm/components/base', '@wm/components/page', '@angular/common'], factory) :
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.wm = global.wm || {}, global.wm.mobile = global.wm.mobile || {}, global.wm.mobile.components = global.wm.mobile.components || {}, global.wm.mobile.components.page = global.wm.mobile.components.page || {}, global.wm.mobile.components.page.tabbar = {}), global.ng.core, global.wm.components.base, global.wm.components.page, global.ng.common));
|
|
5
|
+
})(this, (function (exports, i0, i3, i1, i2) { 'use strict';
|
|
6
6
|
|
|
7
7
|
function _interopNamespaceDefault(e) {
|
|
8
8
|
var n = Object.create(null);
|
|
@@ -22,22 +22,21 @@
|
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
var i0__namespace = /*#__PURE__*/_interopNamespaceDefault(i0);
|
|
25
|
-
var
|
|
25
|
+
var i3__namespace = /*#__PURE__*/_interopNamespaceDefault(i3);
|
|
26
26
|
var i1__namespace = /*#__PURE__*/_interopNamespaceDefault(i1);
|
|
27
27
|
var i2__namespace = /*#__PURE__*/_interopNamespaceDefault(i2);
|
|
28
|
-
var i3__namespace = /*#__PURE__*/_interopNamespaceDefault(i3);
|
|
29
28
|
|
|
30
29
|
const registerProps = () => {
|
|
31
|
-
|
|
32
|
-
['class',
|
|
33
|
-
['dataset',
|
|
34
|
-
['itemicon', Object.assign({ value: 'icon' },
|
|
35
|
-
['itemlabel', Object.assign({ value: 'label' },
|
|
36
|
-
['itemlink', Object.assign({ value: 'label' },
|
|
37
|
-
['morebuttoniconclass', Object.assign({ value: 'wi wi-more-horiz' },
|
|
38
|
-
['morebuttonlabel', Object.assign({ value: 'more' },
|
|
39
|
-
['name',
|
|
40
|
-
['show', Object.assign({ value: true },
|
|
30
|
+
i3.register('wm-mobile-tabbar', new Map([
|
|
31
|
+
['class', i3.PROP_STRING],
|
|
32
|
+
['dataset', i3.PROP_ANY],
|
|
33
|
+
['itemicon', Object.assign({ value: 'icon' }, i3.PROP_STRING)],
|
|
34
|
+
['itemlabel', Object.assign({ value: 'label' }, i3.PROP_STRING)],
|
|
35
|
+
['itemlink', Object.assign({ value: 'label' }, i3.PROP_STRING)],
|
|
36
|
+
['morebuttoniconclass', Object.assign({ value: 'wi wi-more-horiz' }, i3.PROP_STRING)],
|
|
37
|
+
['morebuttonlabel', Object.assign({ value: 'more' }, i3.PROP_STRING)],
|
|
38
|
+
['name', i3.PROP_STRING],
|
|
39
|
+
['show', Object.assign({ value: true }, i3.PROP_BOOLEAN)]
|
|
41
40
|
]));
|
|
42
41
|
};
|
|
43
42
|
|
|
@@ -111,14 +110,13 @@
|
|
|
111
110
|
const _c3 = function (a0) { return { dropup: a0 }; };
|
|
112
111
|
const DEFAULT_CLS = 'app-tabbar app-top-nav';
|
|
113
112
|
const WIDGET_CONFIG = { widgetType: 'wm-mobile-tabbar', hostClass: DEFAULT_CLS };
|
|
114
|
-
class MobileTabbarComponent extends
|
|
115
|
-
constructor(page, inj, binditemlabel, binditemicon, binditemlink
|
|
116
|
-
super(inj, WIDGET_CONFIG
|
|
113
|
+
class MobileTabbarComponent extends i3.StylableComponent {
|
|
114
|
+
constructor(page, inj, binditemlabel, binditemicon, binditemlink) {
|
|
115
|
+
super(inj, WIDGET_CONFIG);
|
|
117
116
|
this.page = page;
|
|
118
117
|
this.binditemlabel = binditemlabel;
|
|
119
118
|
this.binditemicon = binditemicon;
|
|
120
119
|
this.binditemlink = binditemlink;
|
|
121
|
-
this._viewParent = _viewParent;
|
|
122
120
|
this.tabItems = [];
|
|
123
121
|
this.layout = {};
|
|
124
122
|
this.showMoreMenu = false;
|
|
@@ -129,7 +127,7 @@
|
|
|
129
127
|
{ minwidth: 480, max: 5 },
|
|
130
128
|
{ minwidth: 0, max: 4 }
|
|
131
129
|
];
|
|
132
|
-
|
|
130
|
+
i3.styler(this.nativeElement, this);
|
|
133
131
|
page.notify('wmMobileTabbar:ready', this);
|
|
134
132
|
this.tabItems = this.getDefaultItems();
|
|
135
133
|
}
|
|
@@ -190,11 +188,11 @@
|
|
|
190
188
|
if (_.isArray(value)) {
|
|
191
189
|
if (_.isObject(value[0])) {
|
|
192
190
|
return value.map(item => {
|
|
193
|
-
const link =
|
|
191
|
+
const link = i3.getEvaluatedData(item, { field: this.itemlink, 'bindExpression': this.binditemlink }, this.viewParent) || item.link;
|
|
194
192
|
const activePageName = window.location.hash.substr(2);
|
|
195
193
|
return {
|
|
196
|
-
label:
|
|
197
|
-
icon:
|
|
194
|
+
label: i3.getEvaluatedData(item, { field: this.itemlabel, bindExpression: this.binditemlabel }, this.viewParent) || item.label,
|
|
195
|
+
icon: i3.getEvaluatedData(item, { field: this.itemicon, bindExpression: this.binditemicon }, this.viewParent) || item.icon,
|
|
198
196
|
link: link,
|
|
199
197
|
active: _.includes([activePageName, '#' + activePageName, '#/' + activePageName], link)
|
|
200
198
|
};
|
|
@@ -210,9 +208,9 @@
|
|
|
210
208
|
}
|
|
211
209
|
}
|
|
212
210
|
MobileTabbarComponent.initializeProps = registerProps();
|
|
213
|
-
MobileTabbarComponent.ɵfac = function MobileTabbarComponent_Factory(t) { return new (t || MobileTabbarComponent)(i0__namespace.ɵɵdirectiveInject(i1__namespace.PageDirective), i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵinjectAttribute('itemlabel.bind'), i0__namespace.ɵɵinjectAttribute('itemicon.bind'), i0__namespace.ɵɵinjectAttribute('itemlink.bind')
|
|
211
|
+
MobileTabbarComponent.ɵfac = function MobileTabbarComponent_Factory(t) { return new (t || MobileTabbarComponent)(i0__namespace.ɵɵdirectiveInject(i1__namespace.PageDirective), i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵinjectAttribute('itemlabel.bind'), i0__namespace.ɵɵinjectAttribute('itemicon.bind'), i0__namespace.ɵɵinjectAttribute('itemlink.bind')); };
|
|
214
212
|
MobileTabbarComponent.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: MobileTabbarComponent, selectors: [["div", "wmMobileTabbar", ""]], features: [i0__namespace.ɵɵProvidersFeature([
|
|
215
|
-
|
|
213
|
+
i3.provideAsWidgetRef(MobileTabbarComponent)
|
|
216
214
|
]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c0, decls: 9, vars: 12, consts: [[1, "navbar", "navbar-default"], [1, "tab-items", "nav", "navbar-nav"], ["class", "tab-item", 3, "hidden", 4, "ngFor", "ngForOf"], [1, "menu-items", "dropdown", 3, "ngClass"], ["href", "javascript:void(0)", "role", "link", "aria-label", "More options", 3, "click"], ["aria-hidden", "true"], ["class", "dropdown-menu dropdown-menu-right", 3, "ngClass", 4, "ngIf"], [1, "tab-item"], ["role", "link", 3, "href", "click"], ["aria-hidden", "true", 1, "app-icon", 3, "ngClass"], [1, "dropdown-menu", "dropdown-menu-right", 3, "ngClass"], ["role", "menuitem", "class", "menu-item", 3, "hidden", 4, "ngFor", "ngForOf"], ["role", "menuitem", 1, "menu-item"], ["role", "link", 1, "dropdown-item", 3, "ngClass", "href", "click"]], template: function MobileTabbarComponent_Template(rf, ctx) {
|
|
217
215
|
if (rf & 1) {
|
|
218
216
|
i0__namespace.ɵɵelementStart(0, "nav", 0)(1, "ul", 1);
|
|
@@ -241,12 +239,12 @@
|
|
|
241
239
|
i0__namespace.ɵɵadvance(1);
|
|
242
240
|
i0__namespace.ɵɵproperty("ngIf", ctx.showMoreMenu);
|
|
243
241
|
}
|
|
244
|
-
}, dependencies: [
|
|
242
|
+
}, dependencies: [i2__namespace.NgClass, i2__namespace.NgForOf, i2__namespace.NgIf, i3__namespace.TrustAsPipe], encapsulation: 2 });
|
|
245
243
|
(function () {
|
|
246
244
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(MobileTabbarComponent, [{
|
|
247
245
|
type: i0.Component,
|
|
248
246
|
args: [{ selector: 'div[wmMobileTabbar]', providers: [
|
|
249
|
-
|
|
247
|
+
i3.provideAsWidgetRef(MobileTabbarComponent)
|
|
250
248
|
], template: "<nav class=\"navbar navbar-default\">\n <ul class=\"tab-items nav navbar-nav\">\n <li class=\"tab-item\" *ngFor=\"let item of tabItems; index as i\" [class.hidden]=\"!(tabItems.length === layout.max || i < layout.max)\" >\n <a [class.active]=\"item.active\" [href]=\"(item.link || 'javascript:void(0)')| trustAs: 'resource'\" (click)=\"onItemSelect($event, item)\" role=\"link\" [attr.aria-label]=\"item.label\" [attr.aria-current]=\"item.active ? 'page' : null\">\n <i class=\"app-icon\" [ngClass]=\"item.icon\" aria-hidden=\"true\"></i><label>{{item.label}}</label>\n </a>\n </li>\n <li class=\"menu-items dropdown\" [class.hidden]=\"tabItems.length <= layout.max\" [ngClass]=\"{dropup : position === bottom}\">\n <a (click)=\"showMoreMenu = !showMoreMenu\" href=\"javascript:void(0)\" role=\"link\" aria-label=\"More options\" [attr.aria-expanded]=\"showMoreMenu\">\n <i class=\"app-icon {{morebuttoniconclass}}\" aria-hidden=\"true\"></i><label>{{morebuttonlabel}}</label>\n </a>\n <ul class=\"dropdown-menu dropdown-menu-right\" [ngClass]=\"{'nav navbar-nav' : menutype === thumbnail}\" *ngIf=\"showMoreMenu\">\n <li role=\"menuitem\" class=\"menu-item\" *ngFor=\"let item of tabItems;index as i\" [class.hidden]=\"i < layout.max\">\n <a [ngClass]=\"{active : item.active}\" [href]=\"(item.link || 'javascript:void(0)')| trustAs: 'resource'\" (click)=\"onItemSelect($event, item)\" class=\"dropdown-item\" role=\"link\" [attr.aria-label]=\"item.label\" [attr.aria-current]=\"item.active ? 'page' : null\">\n <i class=\"app-icon\" [ngClass]=\"item.icon\" aria-hidden=\"true\"></i><label>{{item.label}}</label>\n </a>\n </li>\n </ul>\n </li>\n </ul>\n</nav>\n" }]
|
|
251
249
|
}], function () {
|
|
252
250
|
return [{ type: i1__namespace.PageDirective }, { type: i0__namespace.Injector }, { type: undefined, decorators: [{
|
|
@@ -258,8 +256,6 @@
|
|
|
258
256
|
}] }, { type: undefined, decorators: [{
|
|
259
257
|
type: i0.Attribute,
|
|
260
258
|
args: ['itemlink.bind']
|
|
261
|
-
}] }, { type: i2__namespace.UserDefinedExecutionContext, decorators: [{
|
|
262
|
-
type: i0.Optional
|
|
263
259
|
}] }];
|
|
264
260
|
}, null);
|
|
265
261
|
})();
|
|
@@ -271,15 +267,15 @@
|
|
|
271
267
|
}
|
|
272
268
|
TabBarModule.ɵfac = function TabBarModule_Factory(t) { return new (t || TabBarModule)(); };
|
|
273
269
|
TabBarModule.ɵmod = /*@__PURE__*/ i0__namespace.ɵɵdefineNgModule({ type: TabBarModule });
|
|
274
|
-
TabBarModule.ɵinj = /*@__PURE__*/ i0__namespace.ɵɵdefineInjector({ imports: [
|
|
275
|
-
|
|
270
|
+
TabBarModule.ɵinj = /*@__PURE__*/ i0__namespace.ɵɵdefineInjector({ imports: [i2.CommonModule,
|
|
271
|
+
i3.WmComponentsModule] });
|
|
276
272
|
(function () {
|
|
277
273
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(TabBarModule, [{
|
|
278
274
|
type: i0.NgModule,
|
|
279
275
|
args: [{
|
|
280
276
|
imports: [
|
|
281
|
-
|
|
282
|
-
|
|
277
|
+
i2.CommonModule,
|
|
278
|
+
i3.WmComponentsModule
|
|
283
279
|
],
|
|
284
280
|
declarations: [...components],
|
|
285
281
|
exports: [...components]
|
|
@@ -287,8 +283,8 @@
|
|
|
287
283
|
}], null, null);
|
|
288
284
|
})();
|
|
289
285
|
(function () {
|
|
290
|
-
(typeof ngJitMode === "undefined" || ngJitMode) && i0__namespace.ɵɵsetNgModuleScope(TabBarModule, { declarations: [MobileTabbarComponent], imports: [
|
|
291
|
-
|
|
286
|
+
(typeof ngJitMode === "undefined" || ngJitMode) && i0__namespace.ɵɵsetNgModuleScope(TabBarModule, { declarations: [MobileTabbarComponent], imports: [i2.CommonModule,
|
|
287
|
+
i3.WmComponentsModule], exports: [MobileTabbarComponent] });
|
|
292
288
|
})();
|
|
293
289
|
|
|
294
290
|
exports.MobileTabbarComponent = MobileTabbarComponent;
|
|
@@ -1,13 +1,11 @@
|
|
|
1
|
-
import { Attribute, Component, Injector
|
|
1
|
+
import { Attribute, Component, Injector } from '@angular/core';
|
|
2
2
|
import { getEvaluatedData, provideAsWidgetRef, StylableComponent, styler } from '@wm/components/base';
|
|
3
3
|
import { PageDirective } from '@wm/components/page';
|
|
4
4
|
import { registerProps } from './tabbar.props';
|
|
5
|
-
import { UserDefinedExecutionContext } from '@wm/core';
|
|
6
5
|
import * as i0 from "@angular/core";
|
|
7
6
|
import * as i1 from "@wm/components/page";
|
|
8
|
-
import * as i2 from "@
|
|
9
|
-
import * as i3 from "@
|
|
10
|
-
import * as i4 from "@wm/components/base";
|
|
7
|
+
import * as i2 from "@angular/common";
|
|
8
|
+
import * as i3 from "@wm/components/base";
|
|
11
9
|
const _c0 = ["wmMobileTabbar", ""];
|
|
12
10
|
function MobileTabbarComponent_li_2_Template(rf, ctx) { if (rf & 1) {
|
|
13
11
|
const _r5 = i0.ɵɵgetCurrentView();
|
|
@@ -70,13 +68,12 @@ const _c3 = function (a0) { return { dropup: a0 }; };
|
|
|
70
68
|
const DEFAULT_CLS = 'app-tabbar app-top-nav';
|
|
71
69
|
const WIDGET_CONFIG = { widgetType: 'wm-mobile-tabbar', hostClass: DEFAULT_CLS };
|
|
72
70
|
export class MobileTabbarComponent extends StylableComponent {
|
|
73
|
-
constructor(page, inj, binditemlabel, binditemicon, binditemlink
|
|
74
|
-
super(inj, WIDGET_CONFIG
|
|
71
|
+
constructor(page, inj, binditemlabel, binditemicon, binditemlink) {
|
|
72
|
+
super(inj, WIDGET_CONFIG);
|
|
75
73
|
this.page = page;
|
|
76
74
|
this.binditemlabel = binditemlabel;
|
|
77
75
|
this.binditemicon = binditemicon;
|
|
78
76
|
this.binditemlink = binditemlink;
|
|
79
|
-
this._viewParent = _viewParent;
|
|
80
77
|
this.tabItems = [];
|
|
81
78
|
this.layout = {};
|
|
82
79
|
this.showMoreMenu = false;
|
|
@@ -168,7 +165,7 @@ export class MobileTabbarComponent extends StylableComponent {
|
|
|
168
165
|
}
|
|
169
166
|
}
|
|
170
167
|
MobileTabbarComponent.initializeProps = registerProps();
|
|
171
|
-
MobileTabbarComponent.ɵfac = function MobileTabbarComponent_Factory(t) { return new (t || MobileTabbarComponent)(i0.ɵɵdirectiveInject(i1.PageDirective), i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵinjectAttribute('itemlabel.bind'), i0.ɵɵinjectAttribute('itemicon.bind'), i0.ɵɵinjectAttribute('itemlink.bind')
|
|
168
|
+
MobileTabbarComponent.ɵfac = function MobileTabbarComponent_Factory(t) { return new (t || MobileTabbarComponent)(i0.ɵɵdirectiveInject(i1.PageDirective), i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵinjectAttribute('itemlabel.bind'), i0.ɵɵinjectAttribute('itemicon.bind'), i0.ɵɵinjectAttribute('itemlink.bind')); };
|
|
172
169
|
MobileTabbarComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MobileTabbarComponent, selectors: [["div", "wmMobileTabbar", ""]], features: [i0.ɵɵProvidersFeature([
|
|
173
170
|
provideAsWidgetRef(MobileTabbarComponent)
|
|
174
171
|
]), i0.ɵɵInheritDefinitionFeature], attrs: _c0, decls: 9, vars: 12, consts: [[1, "navbar", "navbar-default"], [1, "tab-items", "nav", "navbar-nav"], ["class", "tab-item", 3, "hidden", 4, "ngFor", "ngForOf"], [1, "menu-items", "dropdown", 3, "ngClass"], ["href", "javascript:void(0)", "role", "link", "aria-label", "More options", 3, "click"], ["aria-hidden", "true"], ["class", "dropdown-menu dropdown-menu-right", 3, "ngClass", 4, "ngIf"], [1, "tab-item"], ["role", "link", 3, "href", "click"], ["aria-hidden", "true", 1, "app-icon", 3, "ngClass"], [1, "dropdown-menu", "dropdown-menu-right", 3, "ngClass"], ["role", "menuitem", "class", "menu-item", 3, "hidden", 4, "ngFor", "ngForOf"], ["role", "menuitem", 1, "menu-item"], ["role", "link", 1, "dropdown-item", 3, "ngClass", "href", "click"]], template: function MobileTabbarComponent_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -196,7 +193,7 @@ MobileTabbarComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Mobil
|
|
|
196
193
|
i0.ɵɵtextInterpolate(ctx.morebuttonlabel);
|
|
197
194
|
i0.ɵɵadvance(1);
|
|
198
195
|
i0.ɵɵproperty("ngIf", ctx.showMoreMenu);
|
|
199
|
-
} }, dependencies: [
|
|
196
|
+
} }, dependencies: [i2.NgClass, i2.NgForOf, i2.NgIf, i3.TrustAsPipe], encapsulation: 2 });
|
|
200
197
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MobileTabbarComponent, [{
|
|
201
198
|
type: Component,
|
|
202
199
|
args: [{ selector: 'div[wmMobileTabbar]', providers: [
|
|
@@ -211,7 +208,5 @@ MobileTabbarComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Mobil
|
|
|
211
208
|
}] }, { type: undefined, decorators: [{
|
|
212
209
|
type: Attribute,
|
|
213
210
|
args: ['itemlink.bind']
|
|
214
|
-
}] }, { type: i2.UserDefinedExecutionContext, decorators: [{
|
|
215
|
-
type: Optional
|
|
216
211
|
}] }]; }, null); })();
|
|
217
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlI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zXT1cInsnbmF2IG5hdmJhci1uYXYnIDogbWVudXR5cGUgPT09IHRodW1ibmFpbH1cIiAqbmdJZj1cInNob3dNb3JlTWVudVwiPlxuICAgICAgICAgICAgICAgIDxsaSByb2xlPVwibWVudWl0ZW1cIiBjbGFzcz1cIm1lbnUtaXRlbVwiICpuZ0Zvcj1cImxldCBpdGVtIG9mIHRhYkl0ZW1zO2luZGV4IGFzIGlcIiBbY2xhc3MuaGlkZGVuXT1cImkgPCBsYXlvdXQubWF4XCI+XG4gICAgICAgICAgICAgICAgICAgIDxhIFtuZ0NsYXNzXT1cInthY3RpdmUgOiBpdGVtLmFjdGl2ZX1cIiBbaHJlZl09XCIoaXRlbS5saW5rIHx8ICdqYXZhc2NyaXB0OnZvaWQoMCknKXwgdHJ1c3RBczogJ3Jlc291cmNlJ1wiIChjbGljayk9XCJvbkl0ZW1TZWxlY3QoJGV2ZW50LCBpdGVtKVwiIGNsYXNzPVwiZHJvcGRvd24taXRlbVwiIHJvbGU9XCJsaW5rXCIgIFthdHRyLmFyaWEtbGFiZWxdPVwiaXRlbS5sYWJlbFwiIFthdHRyLmFyaWEtY3VycmVudF09XCJpdGVtLmFjdGl2ZSA/ICdwYWdlJyA6IG51bGxcIj5cbiAgICAgICAgICAgICAgICAgICAgICAgIDxpIGNsYXNzPVwiYXBwLWljb25cIiBbbmdDbGFzc109XCJpdGVtLmljb25cIiBhcmlhLWhpZGRlbj1cInRydWVcIj48L2k+PGxhYmVsPnt7aXRlbS5sYWJlbH19PC9sYWJlbD5cbiAgICAgICAgICAgICAgICAgICAgPC9hPlxuICAgICAgICAgICAgICAgIDwvbGk+XG4gICAgICAgICAgICA8L3VsPlxuICAgICAgICA8L2xpPlxuICAgIDwvdWw+XG48L25hdj5cbiJdfQ==
|
|
212
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFiYmFyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY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AgICAgICAgICAgICAgICB0aGlzLnRhYkl0ZW1zID0gdGhpcy5nZXRUYWJJdGVtcyhudik7XG4gICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgIHRoaXMudGFiSXRlbXMgPSB0aGlzLmdldERlZmF1bHRJdGVtcygpO1xuICAgICAgICAgICAgfVxuICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgc3VwZXIub25Qcm9wZXJ0eUNoYW5nZShrZXksIG52LCBvdik7XG4gICAgICAgIH1cbiAgICB9XG5cbiAgICBwcml2YXRlIGdldERlZmF1bHRJdGVtcygpIHtcbiAgICAgICAgcmV0dXJuIFt7XG4gICAgICAgICAgICAnbGFiZWwnIDogJ0hvbWUnLFxuICAgICAgICAgICAgJ2ljb24nICA6ICd3bS1zbC1yIHNsLWhvbWUnXG4gICAgICAgIH0se1xuICAgICAgICAgICAgJ2xhYmVsJyA6ICdBbmFseXRpY3MnLFxuICAgICAgICAgICAgJ2ljb24nICA6ICd3bS1zbC1yIHNsLWdyYXBoLWFzY2VuZCdcbiAgICAgICAgfSx7XG4gICAgICAgICAgICAnbGFiZWwnIDogJ0FsZXJ0cycsXG4gICAgICAgICAgICAnaWNvbicgIDogJ3dtLXNsLXIgc2wtYWxhcm0tYmVsbCdcbiAgICAgICAgfSx7XG4gICAgICAgICAgICAnbGFiZWwnIDogJ1NldHRpbmdzJyxcbiAgICAgICAgICAgICdpY29uJyAgOiAnd20tc2wtciBzbC1zZXR0aW5ncydcbiAgICAgICAgfV07XG4gICAgfVxuXG4gICAgcHVibGljIG5nQWZ0ZXJWaWV3SW5pdCgpIHtcbiAgICAgICAgc2V0VGltZW91dCgoKSA9PiB7XG4gICAgICAgICAgICB0aGlzLmxheW91dCA9IHRoaXMuZ2V0U3VpdGFibGVMYXlvdXQoKTtcbiAgICAgICAgICAgICQod2luZG93KS5vbigncmVzaXplLnRhYmJhcicsIF8uZGVib3VuY2UoKCkgPT4gdGhpcy5sYXlvdXQgPSB0aGlzL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l0ZW0uYWN0aXZlfVwiIFtocmVmXT1cIihpdGVtLmxpbmsgfHwgJ2phdmFzY3JpcHQ6dm9pZCgwKScpfCB0cnVzdEFzOiAncmVzb3VyY2UnXCIgKGNsaWNrKT1cIm9uSXRlbVNlbGVjdCgkZXZlbnQsIGl0ZW0pXCIgY2xhc3M9XCJkcm9wZG93bi1pdGVtXCIgcm9sZT1cImxpbmtcIiAgW2F0dHIuYXJpYS1sYWJlbF09XCJpdGVtLmxhYmVsXCIgW2F0dHIuYXJpYS1jdXJyZW50XT1cIml0ZW0uYWN0aXZlID8gJ3BhZ2UnIDogbnVsbFwiPlxuICAgICAgICAgICAgICAgICAgICAgICAgPGkgY2xhc3M9XCJhcHAtaWNvblwiIFtuZ0NsYXNzXT1cIml0ZW0uaWNvblwiIGFyaWEtaGlkZGVuPVwidHJ1ZVwiPjwvaT48bGFiZWw+e3tpdGVtLmxhYmVsfX08L2xhYmVsPlxuICAgICAgICAgICAgICAgICAgICA8L2E+XG4gICAgICAgICAgICAgICAgPC9saT5cbiAgICAgICAgICAgIDwvdWw+XG4gICAgICAgIDwvbGk+XG4gICAgPC91bD5cbjwvbmF2PlxuIl19
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Component, Attribute,
|
|
3
|
-
import * as
|
|
2
|
+
import { Component, Attribute, NgModule } from '@angular/core';
|
|
3
|
+
import * as i3 from '@wm/components/base';
|
|
4
4
|
import { register, PROP_STRING, PROP_ANY, PROP_BOOLEAN, StylableComponent, styler, getEvaluatedData, provideAsWidgetRef, WmComponentsModule } from '@wm/components/base';
|
|
5
5
|
import * as i1 from '@wm/components/page';
|
|
6
|
-
import * as i2 from '@
|
|
7
|
-
import * as i3 from '@angular/common';
|
|
6
|
+
import * as i2 from '@angular/common';
|
|
8
7
|
import { CommonModule } from '@angular/common';
|
|
9
8
|
|
|
10
9
|
const registerProps = () => {
|
|
@@ -92,13 +91,12 @@ const _c3 = function (a0) { return { dropup: a0 }; };
|
|
|
92
91
|
const DEFAULT_CLS = 'app-tabbar app-top-nav';
|
|
93
92
|
const WIDGET_CONFIG = { widgetType: 'wm-mobile-tabbar', hostClass: DEFAULT_CLS };
|
|
94
93
|
class MobileTabbarComponent extends StylableComponent {
|
|
95
|
-
constructor(page, inj, binditemlabel, binditemicon, binditemlink
|
|
96
|
-
super(inj, WIDGET_CONFIG
|
|
94
|
+
constructor(page, inj, binditemlabel, binditemicon, binditemlink) {
|
|
95
|
+
super(inj, WIDGET_CONFIG);
|
|
97
96
|
this.page = page;
|
|
98
97
|
this.binditemlabel = binditemlabel;
|
|
99
98
|
this.binditemicon = binditemicon;
|
|
100
99
|
this.binditemlink = binditemlink;
|
|
101
|
-
this._viewParent = _viewParent;
|
|
102
100
|
this.tabItems = [];
|
|
103
101
|
this.layout = {};
|
|
104
102
|
this.showMoreMenu = false;
|
|
@@ -190,7 +188,7 @@ class MobileTabbarComponent extends StylableComponent {
|
|
|
190
188
|
}
|
|
191
189
|
}
|
|
192
190
|
MobileTabbarComponent.initializeProps = registerProps();
|
|
193
|
-
MobileTabbarComponent.ɵfac = function MobileTabbarComponent_Factory(t) { return new (t || MobileTabbarComponent)(i0.ɵɵdirectiveInject(i1.PageDirective), i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵinjectAttribute('itemlabel.bind'), i0.ɵɵinjectAttribute('itemicon.bind'), i0.ɵɵinjectAttribute('itemlink.bind')
|
|
191
|
+
MobileTabbarComponent.ɵfac = function MobileTabbarComponent_Factory(t) { return new (t || MobileTabbarComponent)(i0.ɵɵdirectiveInject(i1.PageDirective), i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵinjectAttribute('itemlabel.bind'), i0.ɵɵinjectAttribute('itemicon.bind'), i0.ɵɵinjectAttribute('itemlink.bind')); };
|
|
194
192
|
MobileTabbarComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MobileTabbarComponent, selectors: [["div", "wmMobileTabbar", ""]], features: [i0.ɵɵProvidersFeature([
|
|
195
193
|
provideAsWidgetRef(MobileTabbarComponent)
|
|
196
194
|
]), i0.ɵɵInheritDefinitionFeature], attrs: _c0, decls: 9, vars: 12, consts: [[1, "navbar", "navbar-default"], [1, "tab-items", "nav", "navbar-nav"], ["class", "tab-item", 3, "hidden", 4, "ngFor", "ngForOf"], [1, "menu-items", "dropdown", 3, "ngClass"], ["href", "javascript:void(0)", "role", "link", "aria-label", "More options", 3, "click"], ["aria-hidden", "true"], ["class", "dropdown-menu dropdown-menu-right", 3, "ngClass", 4, "ngIf"], [1, "tab-item"], ["role", "link", 3, "href", "click"], ["aria-hidden", "true", 1, "app-icon", 3, "ngClass"], [1, "dropdown-menu", "dropdown-menu-right", 3, "ngClass"], ["role", "menuitem", "class", "menu-item", 3, "hidden", 4, "ngFor", "ngForOf"], ["role", "menuitem", 1, "menu-item"], ["role", "link", 1, "dropdown-item", 3, "ngClass", "href", "click"]], template: function MobileTabbarComponent_Template(rf, ctx) {
|
|
@@ -221,7 +219,7 @@ MobileTabbarComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Mobil
|
|
|
221
219
|
i0.ɵɵadvance(1);
|
|
222
220
|
i0.ɵɵproperty("ngIf", ctx.showMoreMenu);
|
|
223
221
|
}
|
|
224
|
-
}, dependencies: [
|
|
222
|
+
}, dependencies: [i2.NgClass, i2.NgForOf, i2.NgIf, i3.TrustAsPipe], encapsulation: 2 });
|
|
225
223
|
(function () {
|
|
226
224
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MobileTabbarComponent, [{
|
|
227
225
|
type: Component,
|
|
@@ -238,8 +236,6 @@ MobileTabbarComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Mobil
|
|
|
238
236
|
}] }, { type: undefined, decorators: [{
|
|
239
237
|
type: Attribute,
|
|
240
238
|
args: ['itemlink.bind']
|
|
241
|
-
}] }, { type: i2.UserDefinedExecutionContext, decorators: [{
|
|
242
|
-
type: Optional
|
|
243
239
|
}] }];
|
|
244
240
|
}, null);
|
|
245
241
|
})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":["../../../../../../projects/mobile/components/page/tab-bar/src/tabbar.props.ts","../../../../../../projects/mobile/components/page/tab-bar/src/tabbar.component.html","../../../../../../projects/mobile/components/page/tab-bar/src/tabbar.component.ts","../../../../../../projects/mobile/components/page/tab-bar/src/tab-bar.module.ts","../../../../../../projects/mobile/components/page/tab-bar/src/index.ts"],"sourcesContent":["import { PROP_ANY, PROP_BOOLEAN, PROP_STRING, register } from '@wm/components/base';\n\nexport const registerProps = () => {\n register(\n 'wm-mobile-tabbar',\n new Map(\n [\n ['class', PROP_STRING],\n ['dataset', PROP_ANY],\n ['itemicon', {value: 'icon', ...PROP_STRING}],\n ['itemlabel', {value: 'label', ...PROP_STRING}],\n ['itemlink', {value: 'label', ...PROP_STRING}],\n ['morebuttoniconclass', {value: 'wi wi-more-horiz', ...PROP_STRING}],\n ['morebuttonlabel', {value: 'more', ...PROP_STRING}],\n ['name', PROP_STRING],\n ['show', {value: true, ...PROP_BOOLEAN}]\n ]\n )\n );\n};\n","<nav class=\"navbar navbar-default\">\n <ul class=\"tab-items nav navbar-nav\">\n <li class=\"tab-item\" *ngFor=\"let item of tabItems; index as i\" [class.hidden]=\"!(tabItems.length === layout.max || i < layout.max)\" >\n <a [class.active]=\"item.active\" [href]=\"(item.link || 'javascript:void(0)')| trustAs: 'resource'\" (click)=\"onItemSelect($event, item)\" role=\"link\" [attr.aria-label]=\"item.label\" [attr.aria-current]=\"item.active ? 'page' : null\">\n <i class=\"app-icon\" [ngClass]=\"item.icon\" aria-hidden=\"true\"></i><label>{{item.label}}</label>\n </a>\n </li>\n <li class=\"menu-items dropdown\" [class.hidden]=\"tabItems.length <= layout.max\" [ngClass]=\"{dropup : position === bottom}\">\n <a (click)=\"showMoreMenu = !showMoreMenu\" href=\"javascript:void(0)\" role=\"link\" aria-label=\"More options\" [attr.aria-expanded]=\"showMoreMenu\">\n <i class=\"app-icon {{morebuttoniconclass}}\" aria-hidden=\"true\"></i><label>{{morebuttonlabel}}</label>\n </a>\n <ul class=\"dropdown-menu dropdown-menu-right\" [ngClass]=\"{'nav navbar-nav' : menutype === thumbnail}\" *ngIf=\"showMoreMenu\">\n <li role=\"menuitem\" class=\"menu-item\" *ngFor=\"let item of tabItems;index as i\" [class.hidden]=\"i < layout.max\">\n <a [ngClass]=\"{active : item.active}\" [href]=\"(item.link || 'javascript:void(0)')| trustAs: 'resource'\" (click)=\"onItemSelect($event, item)\" class=\"dropdown-item\" role=\"link\" [attr.aria-label]=\"item.label\" [attr.aria-current]=\"item.active ? 'page' : null\">\n <i class=\"app-icon\" [ngClass]=\"item.icon\" aria-hidden=\"true\"></i><label>{{item.label}}</label>\n </a>\n </li>\n </ul>\n </li>\n </ul>\n</nav>\n","import {AfterViewInit, Attribute, Component, Injector, OnDestroy, Optional} from '@angular/core';\n\nimport { getEvaluatedData, IWidgetConfig, provideAsWidgetRef, StylableComponent, styler } from '@wm/components/base';\nimport { PageDirective } from '@wm/components/page';\n\nimport { registerProps } from './tabbar.props';\nimport {UserDefinedExecutionContext} from '@wm/core';\n\ndeclare const $;\ndeclare const _;\nconst DEFAULT_CLS = 'app-tabbar app-top-nav';\nconst WIDGET_CONFIG: IWidgetConfig = {widgetType: 'wm-mobile-tabbar', hostClass: DEFAULT_CLS};\n\ninterface TabItem {\n icon: string;\n label: string;\n link?: string;\n value?: string;\n}\n\n@Component({\n selector: 'div[wmMobileTabbar]',\n templateUrl: './tabbar.component.html',\n providers: [\n provideAsWidgetRef(MobileTabbarComponent)\n ]\n})\nexport class MobileTabbarComponent extends StylableComponent implements AfterViewInit, OnDestroy {\n static initializeProps = registerProps();\n\n public itemlabel: string;\n public itemlink: string;\n public itemicon: string;\n\n public tabItems = [];\n public layout: any = {};\n public position: any;\n public bottom: any;\n public morebuttoniconclass: any;\n public morebuttonlabel: any;\n public showMoreMenu: boolean = false;\n\n private readonly _layouts = [\n {minwidth: 2048, max: 12},\n {minwidth: 1024, max: 10},\n {minwidth: 768, max: 7},\n {minwidth: 480, max: 5},\n {minwidth: 0, max: 4}\n ];\n\n constructor(\n private page: PageDirective,\n inj: Injector,\n @Attribute('itemlabel.bind') public binditemlabel,\n @Attribute('itemicon.bind') public binditemicon,\n @Attribute('itemlink.bind') public binditemlink, @Optional() public _viewParent: UserDefinedExecutionContext\n ) {\n super(inj, WIDGET_CONFIG, _viewParent);\n styler(this.nativeElement, this);\n page.notify('wmMobileTabbar:ready', this);\n this.tabItems = this.getDefaultItems();\n }\n\n public onPropertyChange(key, nv, ov?) {\n if (key === 'dataset') {\n if (nv) {\n this.tabItems = this.getTabItems(nv);\n } else {\n this.tabItems = this.getDefaultItems();\n }\n } else {\n super.onPropertyChange(key, nv, ov);\n }\n }\n\n private getDefaultItems() {\n return [{\n 'label' : 'Home',\n 'icon' : 'wm-sl-r sl-home'\n },{\n 'label' : 'Analytics',\n 'icon' : 'wm-sl-r sl-graph-ascend'\n },{\n 'label' : 'Alerts',\n 'icon' : 'wm-sl-r sl-alarm-bell'\n },{\n 'label' : 'Settings',\n 'icon' : 'wm-sl-r sl-settings'\n }];\n }\n\n public ngAfterViewInit() {\n setTimeout(() => {\n this.layout = this.getSuitableLayout();\n $(window).on('resize.tabbar', _.debounce(() => this.layout = this.getSuitableLayout(), 20));\n });\n super.ngAfterViewInit();\n }\n\n public ngOnDestroy() {\n $(window).off('.tabbar');\n super.ngOnDestroy();\n }\n\n // triggered on item selection\n public onItemSelect($event, selectedItem: TabItem) {\n this.invokeEventCallback('select', {$event, $item: selectedItem.value || selectedItem.label});\n }\n\n private getItems(itemArray: any[]): TabItem[] {\n return itemArray.map(item => ({\n label: item,\n icon: 'wi wi-' + item\n }));\n }\n\n private getSuitableLayout() {\n const avaiableWidth: number = $(this.nativeElement).parent().width();\n return this._layouts.find(l => avaiableWidth >= l.minwidth);\n }\n\n private getTabItems(value: any): TabItem[] {\n if (_.isArray(value)) {\n if (_.isObject(value[0])) {\n return (value as any[]).map(item => {\n const link = getEvaluatedData(item, {field: this.itemlink, 'bindExpression': this.binditemlink}, this.viewParent) || item.link;\n const activePageName = window.location.hash.substr(2);\n return {\n label: getEvaluatedData(item, {field: this.itemlabel, bindExpression: this.binditemlabel}, this.viewParent) || item.label,\n icon: getEvaluatedData(item, {field: this.itemicon, bindExpression: this.binditemicon}, this.viewParent) || item.icon,\n link: link,\n active: _.includes([activePageName, '#' + activePageName, '#/' + activePageName], link)\n };\n });\n } else {\n return this.getItems(value as any[]);\n }\n } else if (_.isString(value)) {\n return this.getItems((value as string).split(','));\n }\n }\n\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { WmComponentsModule } from '@wm/components/base';\n\nimport { MobileTabbarComponent } from './tabbar.component';\n\nconst components = [\n MobileTabbarComponent\n];\n\n@NgModule({\n imports: [\n CommonModule,\n WmComponentsModule\n ],\n declarations: [...components],\n exports: [...components]\n})\nexport class TabBarModule {\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;;AAEO,MAAM,aAAa,GAAG,MAAK;AAC9B,IAAA,QAAQ,CACJ,kBAAkB,EAClB,IAAI,GAAG,CACH;QACI,CAAC,OAAO,EAAE,WAAW,CAAC;QACtB,CAAC,SAAS,EAAE,QAAQ,CAAC;AACrB,QAAA,CAAC,UAAU,EAAG,MAAA,CAAA,MAAA,CAAA,EAAA,KAAK,EAAE,MAAM,EAAA,EAAK,WAAW,CAAE,CAAA;AAC7C,QAAA,CAAC,WAAW,EAAG,MAAA,CAAA,MAAA,CAAA,EAAA,KAAK,EAAE,OAAO,EAAA,EAAK,WAAW,CAAE,CAAA;AAC/C,QAAA,CAAC,UAAU,EAAG,MAAA,CAAA,MAAA,CAAA,EAAA,KAAK,EAAE,OAAO,EAAA,EAAK,WAAW,CAAE,CAAA;AAC9C,QAAA,CA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A,CAAA,CAAA;AAAA,CAAA,GAAA;;ACRzB;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":["../../../../../../projects/mobile/components/page/tab-bar/src/tabbar.props.ts","../../../../../../projects/mobile/components/page/tab-bar/src/tabbar.component.html","../../../../../../projects/mobile/components/page/tab-bar/src/tabbar.component.ts","../../../../../../projects/mobile/components/page/tab-bar/src/tab-bar.module.ts","../../../../../../projects/mobile/components/page/tab-bar/src/index.ts"],"sourcesContent":["import { PROP_ANY, PROP_BOOLEAN, PROP_STRING, register } from '@wm/components/base';\n\nexport const registerProps = () => {\n register(\n 'wm-mobile-tabbar',\n new Map(\n [\n ['class', PROP_STRING],\n ['dataset', PROP_ANY],\n ['itemicon', {value: 'icon', ...PROP_STRING}],\n ['itemlabel', {value: 'label', ...PROP_STRING}],\n ['itemlink', {value: 'label', ...PROP_STRING}],\n ['morebuttoniconclass', {value: 'wi wi-more-horiz', ...PROP_STRING}],\n ['morebuttonlabel', {value: 'more', ...PROP_STRING}],\n ['name', PROP_STRING],\n ['show', {value: true, ...PROP_BOOLEAN}]\n ]\n )\n );\n};\n","<nav class=\"navbar navbar-default\">\n <ul class=\"tab-items nav navbar-nav\">\n <li class=\"tab-item\" *ngFor=\"let item of tabItems; index as i\" [class.hidden]=\"!(tabItems.length === layout.max || i < layout.max)\" >\n <a [class.active]=\"item.active\" [href]=\"(item.link || 'javascript:void(0)')| trustAs: 'resource'\" (click)=\"onItemSelect($event, item)\" role=\"link\" [attr.aria-label]=\"item.label\" [attr.aria-current]=\"item.active ? 'page' : null\">\n <i class=\"app-icon\" [ngClass]=\"item.icon\" aria-hidden=\"true\"></i><label>{{item.label}}</label>\n </a>\n </li>\n <li class=\"menu-items dropdown\" [class.hidden]=\"tabItems.length <= layout.max\" [ngClass]=\"{dropup : position === bottom}\">\n <a (click)=\"showMoreMenu = !showMoreMenu\" href=\"javascript:void(0)\" role=\"link\" aria-label=\"More options\" [attr.aria-expanded]=\"showMoreMenu\">\n <i class=\"app-icon {{morebuttoniconclass}}\" aria-hidden=\"true\"></i><label>{{morebuttonlabel}}</label>\n </a>\n <ul class=\"dropdown-menu dropdown-menu-right\" [ngClass]=\"{'nav navbar-nav' : menutype === thumbnail}\" *ngIf=\"showMoreMenu\">\n <li role=\"menuitem\" class=\"menu-item\" *ngFor=\"let item of tabItems;index as i\" [class.hidden]=\"i < layout.max\">\n <a [ngClass]=\"{active : item.active}\" [href]=\"(item.link || 'javascript:void(0)')| trustAs: 'resource'\" (click)=\"onItemSelect($event, item)\" class=\"dropdown-item\" role=\"link\" [attr.aria-label]=\"item.label\" [attr.aria-current]=\"item.active ? 'page' : null\">\n <i class=\"app-icon\" [ngClass]=\"item.icon\" aria-hidden=\"true\"></i><label>{{item.label}}</label>\n </a>\n </li>\n </ul>\n </li>\n </ul>\n</nav>\n","import {AfterViewInit, Attribute, Component, Injector, OnDestroy, Optional} from '@angular/core';\n\nimport { getEvaluatedData, IWidgetConfig, provideAsWidgetRef, StylableComponent, styler } from '@wm/components/base';\nimport { PageDirective } from '@wm/components/page';\n\nimport { registerProps } from './tabbar.props';\nimport {UserDefinedExecutionContext} from '@wm/core';\n\ndeclare const $;\ndeclare const _;\nconst DEFAULT_CLS = 'app-tabbar app-top-nav';\nconst WIDGET_CONFIG: IWidgetConfig = {widgetType: 'wm-mobile-tabbar', hostClass: DEFAULT_CLS};\n\ninterface TabItem {\n icon: string;\n label: string;\n link?: string;\n value?: string;\n}\n\n@Component({\n selector: 'div[wmMobileTabbar]',\n templateUrl: './tabbar.component.html',\n providers: [\n provideAsWidgetRef(MobileTabbarComponent)\n ]\n})\nexport class MobileTabbarComponent extends StylableComponent implements AfterViewInit, OnDestroy {\n static initializeProps = registerProps();\n\n public itemlabel: string;\n public itemlink: string;\n public itemicon: string;\n\n public tabItems = [];\n public layout: any = {};\n public position: any;\n public bottom: any;\n public morebuttoniconclass: any;\n public morebuttonlabel: any;\n public showMoreMenu: boolean = false;\n\n private readonly _layouts = [\n {minwidth: 2048, max: 12},\n {minwidth: 1024, max: 10},\n {minwidth: 768, max: 7},\n {minwidth: 480, max: 5},\n {minwidth: 0, max: 4}\n ];\n\n constructor(\n private page: PageDirective,\n inj: Injector,\n @Attribute('itemlabel.bind') public binditemlabel,\n @Attribute('itemicon.bind') public binditemicon,\n @Attribute('itemlink.bind') public binditemlink\n ) {\n super(inj, WIDGET_CONFIG);\n styler(this.nativeElement, this);\n page.notify('wmMobileTabbar:ready', this);\n this.tabItems = this.getDefaultItems();\n }\n\n public onPropertyChange(key, nv, ov?) {\n if (key === 'dataset') {\n if (nv) {\n this.tabItems = this.getTabItems(nv);\n } else {\n this.tabItems = this.getDefaultItems();\n }\n } else {\n super.onPropertyChange(key, nv, ov);\n }\n }\n\n private getDefaultItems() {\n return [{\n 'label' : 'Home',\n 'icon' : 'wm-sl-r sl-home'\n },{\n 'label' : 'Analytics',\n 'icon' : 'wm-sl-r sl-graph-ascend'\n },{\n 'label' : 'Alerts',\n 'icon' : 'wm-sl-r sl-alarm-bell'\n },{\n 'label' : 'Settings',\n 'icon' : 'wm-sl-r sl-settings'\n }];\n }\n\n public ngAfterViewInit() {\n setTimeout(() => {\n this.layout = this.getSuitableLayout();\n $(window).on('resize.tabbar', _.debounce(() => this.layout = this.getSuitableLayout(), 20));\n });\n super.ngAfterViewInit();\n }\n\n public ngOnDestroy() {\n $(window).off('.tabbar');\n super.ngOnDestroy();\n }\n\n // triggered on item selection\n public onItemSelect($event, selectedItem: TabItem) {\n this.invokeEventCallback('select', {$event, $item: selectedItem.value || selectedItem.label});\n }\n\n private getItems(itemArray: any[]): TabItem[] {\n return itemArray.map(item => ({\n label: item,\n icon: 'wi wi-' + item\n }));\n }\n\n private getSuitableLayout() {\n const avaiableWidth: number = $(this.nativeElement).parent().width();\n return this._layouts.find(l => avaiableWidth >= l.minwidth);\n }\n\n private getTabItems(value: any): TabItem[] {\n if (_.isArray(value)) {\n if (_.isObject(value[0])) {\n return (value as any[]).map(item => {\n const link = getEvaluatedData(item, {field: this.itemlink, 'bindExpression': this.binditemlink}, this.viewParent) || item.link;\n const activePageName = window.location.hash.substr(2);\n return {\n label: getEvaluatedData(item, {field: this.itemlabel, bindExpression: this.binditemlabel}, this.viewParent) || item.label,\n icon: getEvaluatedData(item, {field: this.itemicon, bindExpression: this.binditemicon}, this.viewParent) || item.icon,\n link: link,\n active: _.includes([activePageName, '#' + activePageName, '#/' + activePageName], link)\n };\n });\n } else {\n return this.getItems(value as any[]);\n }\n } else if (_.isString(value)) {\n return this.getItems((value as string).split(','));\n }\n }\n\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { WmComponentsModule } from '@wm/components/base';\n\nimport { MobileTabbarComponent } from './tabbar.component';\n\nconst components = [\n MobileTabbarComponent\n];\n\n@NgModule({\n imports: [\n CommonModule,\n WmComponentsModule\n ],\n declarations: [...components],\n exports: [...components]\n})\nexport class TabBarModule {\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;AAEO,MAAM,aAAa,GAAG,MAAK;AAC9B,IAAA,QAAQ,CACJ,kBAAkB,EAClB,IAAI,GAAG,CACH;QACI,CAAC,OAAO,EAAE,WAAW,CAAC;QACtB,CAAC,SAAS,EAAE,QAAQ,CAAC;AACrB,QAAA,CAAC,UAAU,EAAG,MAAA,CAAA,MAAA,CAAA,EAAA,KAAK,EAAE,MAAM,EAAA,EAAK,WAAW,CAAE,CAAA;AAC7C,QAAA,CAAC,WAAW,EAAG,MAAA,CAAA,MAAA,CAAA,EAAA,KAAK,EAAE,OAAO,EAAA,EAAK,WAAW,CAAE,CAAA;AAC/C,QAAA,CAAC,UAAU,EAAG,MAAA,CAAA,MAAA,CAAA,EAAA,KAAK,EAAE,OAAO,EAAA,EAAK,WAAW,CAAE,CAAA;AAC9C,QAAA,CAAC,qBAAqB,EAAG,MAAA,CAAA,MAAA,CAAA,EAAA,KAAK,EAAE,kBAAkB,EAAA,EAAK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,CAAA,CAAA,CAAA,CAAA;YAAlB,EAAkB,CAAA,UAAA,CAAA,MAAA,EAAA,GAAA,CAAA,YAAA,CAAA,CAAA;;;;4ECgBxH,qBAAqB,EAAA,CAAA;kBAPjC,SAAS;YACI,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,qBAAqB,EAEpB,SAAA,EAAA;wBACP,kBAAkB,CAAuB,qBAAA,CAAA;AAC5C,qBAAA,EAAA,QAAA,EAAA,+1DAAA,EAAA,CAAA;;;8BA4BI,SAAS;+BAAC,gBAAgB,CAAA;;8BAC1B,SAAS;+BAAC,eAAe,CAAA;;8BACzB,SAAS;+BAAC,eAAe,CAAA;;;;;AChDlC,MAAM,UAAU,GAAG;IACf,qBAAqB;CACxB,CAAC;MAUW,YAAY,CAAA;;wEAAZ,YAAY,GAAA,CAAA,EAAA,CAAA;8DAAZ,YAAY,EAAA,CAAA,CAAA;kEANjB,YAAY;QACZ,kBAAkB,CAAA,EAAA,CAAA,CAAA;;4EAKb,YAAY,EAAA,CAAA;kBARxB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE;wBACL,YAAY;wBACZ,kBAAkB;AACrB,qBAAA;AACD,oBAAA,YAAY,EAAE,CAAC,GAAG,UAAU,CAAC;AAC7B,oBAAA,OAAO,EAAE,CAAC,GAAG,UAAU,CAAC;iBAC3B,CAAA;;;;6EACY,YAAY,EAAA,EAAA,YAAA,EAAA,CAXrB,qBAAqB,CAAA,EAAA,OAAA,EAAA,CAKjB,YAAY;YACZ,kBAAkB,aANtB,qBAAqB,CAAA,EAAA,CAAA,CAAA;AAAA,CAAA,GAAA;;ACRzB;;AAEG;;;;"}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Component, Attribute,
|
|
3
|
-
import * as
|
|
2
|
+
import { Component, Attribute, NgModule } from '@angular/core';
|
|
3
|
+
import * as i3 from '@wm/components/base';
|
|
4
4
|
import { register, PROP_STRING, PROP_ANY, PROP_BOOLEAN, StylableComponent, styler, getEvaluatedData, provideAsWidgetRef, WmComponentsModule } from '@wm/components/base';
|
|
5
5
|
import * as i1 from '@wm/components/page';
|
|
6
|
-
import * as i2 from '@
|
|
7
|
-
import * as i3 from '@angular/common';
|
|
6
|
+
import * as i2 from '@angular/common';
|
|
8
7
|
import { CommonModule } from '@angular/common';
|
|
9
8
|
|
|
10
9
|
const registerProps = () => {
|
|
@@ -83,13 +82,12 @@ const _c3 = function (a0) { return { dropup: a0 }; };
|
|
|
83
82
|
const DEFAULT_CLS = 'app-tabbar app-top-nav';
|
|
84
83
|
const WIDGET_CONFIG = { widgetType: 'wm-mobile-tabbar', hostClass: DEFAULT_CLS };
|
|
85
84
|
class MobileTabbarComponent extends StylableComponent {
|
|
86
|
-
constructor(page, inj, binditemlabel, binditemicon, binditemlink
|
|
87
|
-
super(inj, WIDGET_CONFIG
|
|
85
|
+
constructor(page, inj, binditemlabel, binditemicon, binditemlink) {
|
|
86
|
+
super(inj, WIDGET_CONFIG);
|
|
88
87
|
this.page = page;
|
|
89
88
|
this.binditemlabel = binditemlabel;
|
|
90
89
|
this.binditemicon = binditemicon;
|
|
91
90
|
this.binditemlink = binditemlink;
|
|
92
|
-
this._viewParent = _viewParent;
|
|
93
91
|
this.tabItems = [];
|
|
94
92
|
this.layout = {};
|
|
95
93
|
this.showMoreMenu = false;
|
|
@@ -181,7 +179,7 @@ class MobileTabbarComponent extends StylableComponent {
|
|
|
181
179
|
}
|
|
182
180
|
}
|
|
183
181
|
MobileTabbarComponent.initializeProps = registerProps();
|
|
184
|
-
MobileTabbarComponent.ɵfac = function MobileTabbarComponent_Factory(t) { return new (t || MobileTabbarComponent)(i0.ɵɵdirectiveInject(i1.PageDirective), i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵinjectAttribute('itemlabel.bind'), i0.ɵɵinjectAttribute('itemicon.bind'), i0.ɵɵinjectAttribute('itemlink.bind')
|
|
182
|
+
MobileTabbarComponent.ɵfac = function MobileTabbarComponent_Factory(t) { return new (t || MobileTabbarComponent)(i0.ɵɵdirectiveInject(i1.PageDirective), i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵinjectAttribute('itemlabel.bind'), i0.ɵɵinjectAttribute('itemicon.bind'), i0.ɵɵinjectAttribute('itemlink.bind')); };
|
|
185
183
|
MobileTabbarComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MobileTabbarComponent, selectors: [["div", "wmMobileTabbar", ""]], features: [i0.ɵɵProvidersFeature([
|
|
186
184
|
provideAsWidgetRef(MobileTabbarComponent)
|
|
187
185
|
]), i0.ɵɵInheritDefinitionFeature], attrs: _c0, decls: 9, vars: 12, consts: [[1, "navbar", "navbar-default"], [1, "tab-items", "nav", "navbar-nav"], ["class", "tab-item", 3, "hidden", 4, "ngFor", "ngForOf"], [1, "menu-items", "dropdown", 3, "ngClass"], ["href", "javascript:void(0)", "role", "link", "aria-label", "More options", 3, "click"], ["aria-hidden", "true"], ["class", "dropdown-menu dropdown-menu-right", 3, "ngClass", 4, "ngIf"], [1, "tab-item"], ["role", "link", 3, "href", "click"], ["aria-hidden", "true", 1, "app-icon", 3, "ngClass"], [1, "dropdown-menu", "dropdown-menu-right", 3, "ngClass"], ["role", "menuitem", "class", "menu-item", 3, "hidden", 4, "ngFor", "ngForOf"], ["role", "menuitem", 1, "menu-item"], ["role", "link", 1, "dropdown-item", 3, "ngClass", "href", "click"]], template: function MobileTabbarComponent_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -209,7 +207,7 @@ MobileTabbarComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Mobil
|
|
|
209
207
|
i0.ɵɵtextInterpolate(ctx.morebuttonlabel);
|
|
210
208
|
i0.ɵɵadvance(1);
|
|
211
209
|
i0.ɵɵproperty("ngIf", ctx.showMoreMenu);
|
|
212
|
-
} }, dependencies: [
|
|
210
|
+
} }, dependencies: [i2.NgClass, i2.NgForOf, i2.NgIf, i3.TrustAsPipe], encapsulation: 2 });
|
|
213
211
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MobileTabbarComponent, [{
|
|
214
212
|
type: Component,
|
|
215
213
|
args: [{ selector: 'div[wmMobileTabbar]', providers: [
|
|
@@ -224,8 +222,6 @@ MobileTabbarComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Mobil
|
|
|
224
222
|
}] }, { type: undefined, decorators: [{
|
|
225
223
|
type: Attribute,
|
|
226
224
|
args: ['itemlink.bind']
|
|
227
|
-
}] }, { type: i2.UserDefinedExecutionContext, decorators: [{
|
|
228
|
-
type: Optional
|
|
229
225
|
}] }]; }, null); })();
|
|
230
226
|
|
|
231
227
|
const components = [
|