@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('@angular/common'), require('ngx-bootstrap/carousel'), require('@wm/components/base'), require('@swipey')
|
|
3
|
-
typeof define === 'function' && define.amd ? define(['exports', '@angular/core', '@angular/common', 'ngx-bootstrap/carousel', '@wm/components/base', '@swipey'
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.wm = global.wm || {}, global.wm.components = global.wm.components || {}, global.wm.components.advanced = global.wm.components.advanced || {}, global.wm.components.advanced.carousel = {}), global.ng.core, global.ng.common, global.carousel, global.wm.components.base, global.swipey
|
|
5
|
-
})(this, (function (exports, i0, common, i1, base, _swipey
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('ngx-bootstrap/carousel'), require('@wm/components/base'), require('@swipey')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define(['exports', '@angular/core', '@angular/common', 'ngx-bootstrap/carousel', '@wm/components/base', '@swipey'], factory) :
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.wm = global.wm || {}, global.wm.components = global.wm.components || {}, global.wm.components.advanced = global.wm.components.advanced || {}, global.wm.components.advanced.carousel = {}), global.ng.core, global.ng.common, global.carousel, global.wm.components.base, global.swipey));
|
|
5
|
+
})(this, (function (exports, i0, common, i1, base, _swipey) { 'use strict';
|
|
6
6
|
|
|
7
7
|
function _interopNamespaceDefault(e) {
|
|
8
8
|
var n = Object.create(null);
|
|
@@ -23,7 +23,6 @@
|
|
|
23
23
|
|
|
24
24
|
var i0__namespace = /*#__PURE__*/_interopNamespaceDefault(i0);
|
|
25
25
|
var i1__namespace = /*#__PURE__*/_interopNamespaceDefault(i1);
|
|
26
|
-
var i2__namespace = /*#__PURE__*/_interopNamespaceDefault(i2);
|
|
27
26
|
|
|
28
27
|
const registerProps$1 = () => {
|
|
29
28
|
base.register('wm-carousel', new Map([
|
|
@@ -193,11 +192,10 @@
|
|
|
193
192
|
none: 'hide-both'
|
|
194
193
|
};
|
|
195
194
|
class CarouselDirective extends base.StylableComponent {
|
|
196
|
-
constructor(component, inj, ngZone
|
|
197
|
-
super(inj, WIDGET_CONFIG$1
|
|
195
|
+
constructor(component, inj, ngZone) {
|
|
196
|
+
super(inj, WIDGET_CONFIG$1);
|
|
198
197
|
this.component = component;
|
|
199
198
|
this.ngZone = ngZone;
|
|
200
|
-
this._viewParent = _viewParent;
|
|
201
199
|
base.styler(this.nativeElement, this);
|
|
202
200
|
}
|
|
203
201
|
onDataChange(newVal) {
|
|
@@ -280,7 +278,7 @@
|
|
|
280
278
|
}
|
|
281
279
|
}
|
|
282
280
|
CarouselDirective.initializeProps = registerProps$1();
|
|
283
|
-
CarouselDirective.ɵfac = function CarouselDirective_Factory(t) { return new (t || CarouselDirective)(i0__namespace.ɵɵdirectiveInject(i1__namespace.CarouselComponent), i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵdirectiveInject(i0__namespace.NgZone)
|
|
281
|
+
CarouselDirective.ɵfac = function CarouselDirective_Factory(t) { return new (t || CarouselDirective)(i0__namespace.ɵɵdirectiveInject(i1__namespace.CarouselComponent), i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵdirectiveInject(i0__namespace.NgZone)); };
|
|
284
282
|
CarouselDirective.ɵdir = /*@__PURE__*/ i0__namespace.ɵɵdefineDirective({ type: CarouselDirective, selectors: [["", "wmCarousel", ""]], contentQueries: function CarouselDirective_ContentQueries(rf, ctx, dirIndex) {
|
|
285
283
|
if (rf & 1) {
|
|
286
284
|
i0__namespace.ɵɵcontentQuery(dirIndex, i1.SlideComponent, 4);
|
|
@@ -297,11 +295,7 @@
|
|
|
297
295
|
selector: '[wmCarousel]',
|
|
298
296
|
exportAs: 'wmCarousel'
|
|
299
297
|
}]
|
|
300
|
-
}], function () {
|
|
301
|
-
return [{ type: i1__namespace.CarouselComponent }, { type: i0__namespace.Injector }, { type: i0__namespace.NgZone }, { type: i2__namespace.UserDefinedExecutionContext, decorators: [{
|
|
302
|
-
type: i0.Optional
|
|
303
|
-
}] }];
|
|
304
|
-
}, { slides: [{
|
|
298
|
+
}], function () { return [{ type: i1__namespace.CarouselComponent }, { type: i0__namespace.Injector }, { type: i0__namespace.NgZone }]; }, { slides: [{
|
|
305
299
|
type: i0.ContentChildren,
|
|
306
300
|
args: [i1.SlideComponent]
|
|
307
301
|
}] });
|
|
@@ -319,14 +313,13 @@
|
|
|
319
313
|
hostClass: DEFAULT_CLS
|
|
320
314
|
};
|
|
321
315
|
class CarouselTemplateDirective extends base.StylableComponent {
|
|
322
|
-
constructor(inj
|
|
323
|
-
super(inj, WIDGET_CONFIG
|
|
324
|
-
this._viewParent = _viewParent;
|
|
316
|
+
constructor(inj) {
|
|
317
|
+
super(inj, WIDGET_CONFIG);
|
|
325
318
|
base.styler(this.nativeElement, this);
|
|
326
319
|
}
|
|
327
320
|
}
|
|
328
321
|
CarouselTemplateDirective.initializeProps = registerProps();
|
|
329
|
-
CarouselTemplateDirective.ɵfac = function CarouselTemplateDirective_Factory(t) { return new (t || CarouselTemplateDirective)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector)
|
|
322
|
+
CarouselTemplateDirective.ɵfac = function CarouselTemplateDirective_Factory(t) { return new (t || CarouselTemplateDirective)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector)); };
|
|
330
323
|
CarouselTemplateDirective.ɵdir = /*@__PURE__*/ i0__namespace.ɵɵdefineDirective({ type: CarouselTemplateDirective, selectors: [["", "wmCarouselTemplate", ""]], features: [i0__namespace.ɵɵInheritDefinitionFeature] });
|
|
331
324
|
(function () {
|
|
332
325
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(CarouselTemplateDirective, [{
|
|
@@ -334,11 +327,7 @@
|
|
|
334
327
|
args: [{
|
|
335
328
|
selector: '[wmCarouselTemplate]'
|
|
336
329
|
}]
|
|
337
|
-
}], function () {
|
|
338
|
-
return [{ type: i0__namespace.Injector }, { type: i2__namespace.UserDefinedExecutionContext, decorators: [{
|
|
339
|
-
type: i0.Optional
|
|
340
|
-
}] }];
|
|
341
|
-
}, null);
|
|
330
|
+
}], function () { return [{ type: i0__namespace.Injector }]; }, null);
|
|
342
331
|
})();
|
|
343
332
|
|
|
344
333
|
const components = [
|
app-ng-runtime/components/advanced/carousel/carousel-template/carousel-template.directive.d.ts
CHANGED
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import { Injector } from '@angular/core';
|
|
2
2
|
import { StylableComponent } from '@wm/components/base';
|
|
3
|
-
import { UserDefinedExecutionContext } from '@wm/core';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
4
|
export declare class CarouselTemplateDirective extends StylableComponent {
|
|
6
|
-
_viewParent: UserDefinedExecutionContext;
|
|
7
5
|
static initializeProps: void;
|
|
8
|
-
constructor(inj: Injector
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CarouselTemplateDirective,
|
|
6
|
+
constructor(inj: Injector);
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CarouselTemplateDirective, never>;
|
|
10
8
|
static ɵdir: i0.ɵɵDirectiveDeclaration<CarouselTemplateDirective, "[wmCarouselTemplate]", never, {}, {}, never, never, false, never>;
|
|
11
9
|
}
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
import { AfterContentInit, Injector, NgZone, OnDestroy, OnInit, QueryList } from '@angular/core';
|
|
2
2
|
import { CarouselComponent, SlideComponent } from 'ngx-bootstrap/carousel';
|
|
3
3
|
import { StylableComponent } from '@wm/components/base';
|
|
4
|
-
import { UserDefinedExecutionContext } from '@wm/core';
|
|
5
4
|
import * as i0 from "@angular/core";
|
|
6
5
|
export declare class CarouselDirective extends StylableComponent implements AfterContentInit, OnDestroy, OnInit {
|
|
7
6
|
component: CarouselComponent;
|
|
8
7
|
private ngZone;
|
|
9
|
-
_viewParent: UserDefinedExecutionContext;
|
|
10
8
|
static initializeProps: void;
|
|
11
9
|
private animator;
|
|
12
10
|
private navigationClass;
|
|
@@ -18,7 +16,7 @@ export declare class CarouselDirective extends StylableComponent implements Afte
|
|
|
18
16
|
currentslide: any;
|
|
19
17
|
previousslide: any;
|
|
20
18
|
slides: QueryList<SlideComponent>;
|
|
21
|
-
constructor(component: CarouselComponent, inj: Injector, ngZone: NgZone
|
|
19
|
+
constructor(component: CarouselComponent, inj: Injector, ngZone: NgZone);
|
|
22
20
|
private onDataChange;
|
|
23
21
|
private stopAnimation;
|
|
24
22
|
private startAnimation;
|
|
@@ -31,6 +29,6 @@ export declare class CarouselDirective extends StylableComponent implements Afte
|
|
|
31
29
|
triggerAnimation(slides: any): void;
|
|
32
30
|
ngOnInit(): void;
|
|
33
31
|
onPropertyChange(key: string, nv: any, ov?: any): void;
|
|
34
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CarouselDirective,
|
|
32
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CarouselDirective, never>;
|
|
35
33
|
static ɵdir: i0.ɵɵDirectiveDeclaration<CarouselDirective, "[wmCarousel]", ["wmCarousel"], {}, {}, ["slides"], never, false, never>;
|
|
36
34
|
}
|
|
@@ -1,30 +1,25 @@
|
|
|
1
|
-
import { Directive, Injector
|
|
1
|
+
import { Directive, Injector } from '@angular/core';
|
|
2
2
|
import { StylableComponent, styler } from '@wm/components/base';
|
|
3
3
|
import { registerProps } from './carousel-template.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-carousel-item';
|
|
8
6
|
const WIDGET_CONFIG = {
|
|
9
7
|
widgetType: 'wm-carousel-template',
|
|
10
8
|
hostClass: DEFAULT_CLS
|
|
11
9
|
};
|
|
12
10
|
export class CarouselTemplateDirective 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);
|
|
17
14
|
}
|
|
18
15
|
}
|
|
19
16
|
CarouselTemplateDirective.initializeProps = registerProps();
|
|
20
|
-
CarouselTemplateDirective.ɵfac = function CarouselTemplateDirective_Factory(t) { return new (t || CarouselTemplateDirective)(i0.ɵɵdirectiveInject(i0.Injector)
|
|
17
|
+
CarouselTemplateDirective.ɵfac = function CarouselTemplateDirective_Factory(t) { return new (t || CarouselTemplateDirective)(i0.ɵɵdirectiveInject(i0.Injector)); };
|
|
21
18
|
CarouselTemplateDirective.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: CarouselTemplateDirective, selectors: [["", "wmCarouselTemplate", ""]], features: [i0.ɵɵInheritDefinitionFeature] });
|
|
22
19
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CarouselTemplateDirective, [{
|
|
23
20
|
type: Directive,
|
|
24
21
|
args: [{
|
|
25
22
|
selector: '[wmCarouselTemplate]'
|
|
26
23
|
}]
|
|
27
|
-
}], function () { return [{ type: i0.Injector }
|
|
28
|
-
|
|
29
|
-
}] }]; }, null); })();
|
|
30
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2Fyb3VzZWwtdGVtcGxhdGUuZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29tcG9uZW50cy93aWRnZXRzL2FkdmFuY2VkL2Nhcm91c2VsL3NyYy9jYXJvdXNlbC10ZW1wbGF0ZS9jYXJvdXNlbC10ZW1wbGF0ZS5kaXJlY3RpdmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLFNBQVMsRUFBRSxRQUFRLEVBQUUsUUFBUSxFQUFDLE1BQU0sZUFBZSxDQUFDO0FBRTVELE9BQU8sRUFBaUIsaUJBQWlCLEVBQUUsTUFBTSxFQUFFLE1BQU0scUJBQXFCLENBQUM7QUFDL0UsT0FBTyxFQUFF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0IERFRkFVTFRfQ0xTID0gJ2FwcC1jYXJvdXNlbC1pdGVtJztcbmNvbnN0IFdJREdFVF9DT05GSUc6IElXaWRnZXRDb25maWcgPSB7XG4gICAgd2lkZ2V0VHlwZTogJ3dtLWNhcm91c2VsLXRlbXBsYXRlJyxcbiAgICBob3N0Q2xhc3M6IERFRkFVTFRfQ0xTXG59O1xuXG5ARGlyZWN0aXZlKHtcbiAgICBzZWxlY3RvcjogJ1t3bUNhcm91c2VsVGVtcGxhdGVdJ1xufSlcbmV4cG9ydCBjbGFzcyBDYXJvdXNlbFRlbXBsYXRlRGlyZWN0aXZlIGV4dGVuZHMgU3R5bGFibGVDb21wb25lbnQge1xuICAgIHN0YXRpYyBpbml0aWFsaXplUHJvcHMgPSByZWdpc3RlclByb3BzKCk7XG5cbiAgICBjb25zdHJ1Y3Rvcihpbmo6IEluamVjdG9yLCBAT3B0aW9uYWwoKSBwdWJsaWMgX3ZpZXdQYXJlbnQ6IFVzZXJEZWZpbmVkRXhlY3V0aW9uQ29udGV4dCkge1xuICAgICAgICBzdXBlcihpbmosIFdJREdFVF9DT05GSUcsIF92aWV3UGFyZW50KTtcbiAgICAgICAgc3R5bGVyKHRoaXMubmF0aXZlRWxlbWVudCwgdGhpcyk7XG4gICAgfVxufVxuIl19
|
|
24
|
+
}], function () { return [{ type: i0.Injector }]; }, null); })();
|
|
25
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2Fyb3VzZWwtdGVtcGxhdGUuZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29tcG9uZW50cy93aWRnZXRzL2FkdmFuY2VkL2Nhcm91c2VsL3NyYy9jYXJvdXNlbC10ZW1wbGF0ZS9jYXJvdXNlbC10ZW1wbGF0ZS5kaXJlY3RpdmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQ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29udGV4dH0gZnJvbSAnQHdtL2NvcmUnO1xuXG5jb25zdCBERUZBVUxUX0NMUyA9ICdhcHAtY2Fyb3VzZWwtaXRlbSc7XG5jb25zdCBXSURHRVRfQ09ORklHOiBJV2lkZ2V0Q29uZmlnID0ge1xuICAgIHdpZGdldFR5cGU6ICd3bS1jYXJvdXNlbC10ZW1wbGF0ZScsXG4gICAgaG9zdENsYXNzOiBERUZBVUxUX0NMU1xufTtcblxuQERpcmVjdGl2ZSh7XG4gICAgc2VsZWN0b3I6ICdbd21DYXJvdXNlbFRlbXBsYXRlXSdcbn0pXG5leHBvcnQgY2xhc3MgQ2Fyb3VzZWxUZW1wbGF0ZURpcmVjdGl2ZSBleHRlbmRzIFN0eWxhYmxlQ29tcG9uZW50IHtcbiAgICBzdGF0aWMgaW5pdGlhbGl6ZVByb3BzID0gcmVnaXN0ZXJQcm9wcygpO1xuXG4gICAgY29uc3RydWN0b3IoaW5qOiBJbmplY3Rvcikge1xuICAgICAgICBzdXBlcihpbmosIFdJREdFVF9DT05GSUcpO1xuICAgICAgICBzdHlsZXIodGhpcy5uYXRpdmVFbGVtZW50LCB0aGlzKTtcbiAgICB9XG59XG4iXX0=
|
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
import { ContentChildren, Directive, Injector, NgZone,
|
|
1
|
+
import { ContentChildren, Directive, Injector, NgZone, QueryList } from '@angular/core';
|
|
2
2
|
import { CarouselComponent, SlideComponent } from 'ngx-bootstrap/carousel';
|
|
3
3
|
import { createArrayFrom, StylableComponent, styler } from '@wm/components/base';
|
|
4
4
|
import { registerProps } from './carousel.props';
|
|
5
5
|
import { CarouselAnimator } from './carousel.animator';
|
|
6
|
-
import { UserDefinedExecutionContext } from '@wm/core';
|
|
7
6
|
import * as i0 from "@angular/core";
|
|
8
7
|
import * as i1 from "ngx-bootstrap/carousel";
|
|
9
|
-
import * as i2 from "@wm/core";
|
|
10
8
|
const WIDGET_CONFIG = {
|
|
11
9
|
widgetType: 'wm-carousel'
|
|
12
10
|
};
|
|
@@ -16,11 +14,10 @@ const navigationClassMap = {
|
|
|
16
14
|
none: 'hide-both'
|
|
17
15
|
};
|
|
18
16
|
export class CarouselDirective extends StylableComponent {
|
|
19
|
-
constructor(component, inj, ngZone
|
|
20
|
-
super(inj, WIDGET_CONFIG
|
|
17
|
+
constructor(component, inj, ngZone) {
|
|
18
|
+
super(inj, WIDGET_CONFIG);
|
|
21
19
|
this.component = component;
|
|
22
20
|
this.ngZone = ngZone;
|
|
23
|
-
this._viewParent = _viewParent;
|
|
24
21
|
styler(this.nativeElement, this);
|
|
25
22
|
}
|
|
26
23
|
onDataChange(newVal) {
|
|
@@ -103,7 +100,7 @@ export class CarouselDirective extends StylableComponent {
|
|
|
103
100
|
}
|
|
104
101
|
}
|
|
105
102
|
CarouselDirective.initializeProps = registerProps();
|
|
106
|
-
CarouselDirective.ɵfac = function CarouselDirective_Factory(t) { return new (t || CarouselDirective)(i0.ɵɵdirectiveInject(i1.CarouselComponent), i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(i0.NgZone)
|
|
103
|
+
CarouselDirective.ɵfac = function CarouselDirective_Factory(t) { return new (t || CarouselDirective)(i0.ɵɵdirectiveInject(i1.CarouselComponent), i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(i0.NgZone)); };
|
|
107
104
|
CarouselDirective.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: CarouselDirective, selectors: [["", "wmCarousel", ""]], contentQueries: function CarouselDirective_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {
|
|
108
105
|
i0.ɵɵcontentQuery(dirIndex, SlideComponent, 4);
|
|
109
106
|
} if (rf & 2) {
|
|
@@ -116,10 +113,8 @@ CarouselDirective.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: CarouselD
|
|
|
116
113
|
selector: '[wmCarousel]',
|
|
117
114
|
exportAs: 'wmCarousel'
|
|
118
115
|
}]
|
|
119
|
-
}], function () { return [{ type: i1.CarouselComponent }, { type: i0.Injector }, { type: i0.NgZone }, {
|
|
120
|
-
type: Optional
|
|
121
|
-
}] }]; }, { slides: [{
|
|
116
|
+
}], function () { return [{ type: i1.CarouselComponent }, { type: i0.Injector }, { type: i0.NgZone }]; }, { slides: [{
|
|
122
117
|
type: ContentChildren,
|
|
123
118
|
args: [SlideComponent]
|
|
124
119
|
}] }); })();
|
|
125
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2Fyb3VzZWwuZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29tcG9uZW50cy93aWRnZXRzL2FkdmFuY2VkL2Nhcm91c2VsL3NyYy9jYXJvdXNlbC5kaXJlY3RpdmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUVILGVBQWUsRUFDZixTQUFTLEVBQ1QsUUFBUSxFQUNSLE1BQU0sRUFHTixRQUFRLEVBQ1IsU0FBUyxFQUNaLE1BQU0sZUFBZSxDQUFDO0FBRXZCLE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxjQUFjLEVBQUUsTUFBTSx3QkFBd0IsQ0FBQztBQUUzRSxPQUFPLEVBQUUsZUFBZSxFQUFpQixpQkFBaUIsRUFBRSxNQUFNLEVBQUUsTUFBTSxxQkFBcUIsQ0FBQztBQUVoRyxPQUFPLEVBQUUsYUFBYSxFQUFFLE1BQU0sa0JBQWtCLENBQUM7QUFDakQsT0FBTyxFQUFFLGdCQUFnQixFQUFFLE1BQU0scUJBQXFCLENBQUM7QUFDdkQsT0FBTyxFQUFDLDJCQUEyQixFQUFDLE1BQU0sVUFBVSxDQUFDOzs7O0FBSXJELE1BQU0sYUFBYSxHQUFrQjtJQUNqQyxVQUFVLEVBQUUsYUFBYTtDQUM1QixDQUFDO0FBRUYsTUFBTSxrQkFBa0IsR0FBR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iAgICAgICAgIHRoaXMuc2V0YW5pbWF0aW9uaW50ZXJ2YWwoKTtcbiAgICAgICAgLy8gVE9ETyB0cmFuc2l0aW9uIGlzIHBlbmRpbmdcblxuICAgIH1cblxuICAgIC8vIG9uIHByb3BlcnR5IGNoYW5nZSBoYW5kbGVyXG4gICAgb25Qcm9wZXJ0eUNoYW5nZShrZXk6IHN0cmluZywgbnY6IGFueSwgb3Y/OiBhbnkpIHtcbiAgICAgICAgaWYgKGtleSA9PT0gJ2RhdGFzZXQnKSB7XG4gICAgICAgICAgICB0aGlzLm9uRGF0YUNoYW5nZShudik7XG4gICAgICAgIH0gZWxzZSBpZiAoa2V5ID09PSAnY29udHJvbHMnKSB7XG4gICAgICAgICAgICAvLyBGb3Igc2hvd2luZyBjb250cm9sc1xuICAgICAgICAgICAgdGhpcy5uYXZpZ2F0aW9uQ2xhc3MgPSBuYXZpZ2F0aW9uQ2xhc3NNYXBbdGhpcy5jb250cm9sc107XG4gICAgICAgIH0gIGVsc2UgaWYgKGtleSA9PT0gJ2FuaW1hdGlvbicgfHwga2V5ID09PSAnYW5pbWF0aW9uaW50ZXJ2YWwnKSB7XG4gICAgICAgICAgICBpZiAoa2V5ID09PSAnYW5pbWF0aW9uaW50ZXJ2YWwnKSB7XG4gICAgICAgICAgICAgICAgdGhpcy5zdG9wQW5pbWF0aW9uKCk7XG4gICAgICAgICAgICAgICAgdGhpcy5zZXRhbmltYXRpb25pbnRlcnZhbCgpO1xuICAgICAgICAgICAgfVxuICAgICAgICAgICAgdGhpcy5hbmltYXRpb24gPT09ICdub25lJyA/IHRoaXMuc3RvcEFuaW1hdGlvbigpIDogIHRoaXMuc3RhcnRBbmltYXRpb24oKTtcbiAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgIHN1cGVyLm9uUHJvcGVydHlDaGFuZ2Uoa2V5LCBudiwgb3YpO1xuICAgICAgICB9XG4gICAgfVxufVxuIl19
|
|
120
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2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ICAgICAgfSAgZWxzZSBpZiAoa2V5ID09PSAnYW5pbWF0aW9uJyB8fCBrZXkgPT09ICdhbmltYXRpb25pbnRlcnZhbCcpIHtcbiAgICAgICAgICAgIGlmIChrZXkgPT09ICdhbmltYXRpb25pbnRlcnZhbCcpIHtcbiAgICAgICAgICAgICAgICB0aGlzLnN0b3BBbmltYXRpb24oKTtcbiAgICAgICAgICAgICAgICB0aGlzLnNldGFuaW1hdGlvbmludGVydmFsKCk7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICB0aGlzLmFuaW1hdGlvbiA9PT0gJ25vbmUnID8gdGhpcy5zdG9wQW5pbWF0aW9uKCkgOiAgdGhpcy5zdGFydEFuaW1hdGlvbigpO1xuICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgc3VwZXIub25Qcm9wZXJ0eUNoYW5nZShrZXksIG52LCBvdik7XG4gICAgICAgIH1cbiAgICB9XG59XG4iXX0=
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Directive,
|
|
2
|
+
import { Directive, ContentChildren, NgModule } from '@angular/core';
|
|
3
3
|
import { CommonModule } from '@angular/common';
|
|
4
4
|
import * as i1 from 'ngx-bootstrap/carousel';
|
|
5
5
|
import { SlideComponent, CarouselModule as CarouselModule$1 } from 'ngx-bootstrap/carousel';
|
|
6
6
|
import { register, PROP_STRING, PROP_NUMBER, PROP_ANY, PROP_BOOLEAN, StylableComponent, styler, createArrayFrom, WmComponentsModule } from '@wm/components/base';
|
|
7
7
|
import { SwipeAnimation } from '@swipey';
|
|
8
|
-
import * as i2 from '@wm/core';
|
|
9
8
|
|
|
10
9
|
const registerProps$1 = () => {
|
|
11
10
|
register('wm-carousel', new Map([
|
|
@@ -175,11 +174,10 @@ const navigationClassMap = {
|
|
|
175
174
|
none: 'hide-both'
|
|
176
175
|
};
|
|
177
176
|
class CarouselDirective extends StylableComponent {
|
|
178
|
-
constructor(component, inj, ngZone
|
|
179
|
-
super(inj, WIDGET_CONFIG$1
|
|
177
|
+
constructor(component, inj, ngZone) {
|
|
178
|
+
super(inj, WIDGET_CONFIG$1);
|
|
180
179
|
this.component = component;
|
|
181
180
|
this.ngZone = ngZone;
|
|
182
|
-
this._viewParent = _viewParent;
|
|
183
181
|
styler(this.nativeElement, this);
|
|
184
182
|
}
|
|
185
183
|
onDataChange(newVal) {
|
|
@@ -262,7 +260,7 @@ class CarouselDirective extends StylableComponent {
|
|
|
262
260
|
}
|
|
263
261
|
}
|
|
264
262
|
CarouselDirective.initializeProps = registerProps$1();
|
|
265
|
-
CarouselDirective.ɵfac = function CarouselDirective_Factory(t) { return new (t || CarouselDirective)(i0.ɵɵdirectiveInject(i1.CarouselComponent), i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(i0.NgZone)
|
|
263
|
+
CarouselDirective.ɵfac = function CarouselDirective_Factory(t) { return new (t || CarouselDirective)(i0.ɵɵdirectiveInject(i1.CarouselComponent), i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(i0.NgZone)); };
|
|
266
264
|
CarouselDirective.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: CarouselDirective, selectors: [["", "wmCarousel", ""]], contentQueries: function CarouselDirective_ContentQueries(rf, ctx, dirIndex) {
|
|
267
265
|
if (rf & 1) {
|
|
268
266
|
i0.ɵɵcontentQuery(dirIndex, SlideComponent, 4);
|
|
@@ -279,11 +277,7 @@ CarouselDirective.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: CarouselD
|
|
|
279
277
|
selector: '[wmCarousel]',
|
|
280
278
|
exportAs: 'wmCarousel'
|
|
281
279
|
}]
|
|
282
|
-
}], function () {
|
|
283
|
-
return [{ type: i1.CarouselComponent }, { type: i0.Injector }, { type: i0.NgZone }, { type: i2.UserDefinedExecutionContext, decorators: [{
|
|
284
|
-
type: Optional
|
|
285
|
-
}] }];
|
|
286
|
-
}, { slides: [{
|
|
280
|
+
}], function () { return [{ type: i1.CarouselComponent }, { type: i0.Injector }, { type: i0.NgZone }]; }, { slides: [{
|
|
287
281
|
type: ContentChildren,
|
|
288
282
|
args: [SlideComponent]
|
|
289
283
|
}] });
|
|
@@ -301,14 +295,13 @@ const WIDGET_CONFIG = {
|
|
|
301
295
|
hostClass: DEFAULT_CLS
|
|
302
296
|
};
|
|
303
297
|
class CarouselTemplateDirective extends StylableComponent {
|
|
304
|
-
constructor(inj
|
|
305
|
-
super(inj, WIDGET_CONFIG
|
|
306
|
-
this._viewParent = _viewParent;
|
|
298
|
+
constructor(inj) {
|
|
299
|
+
super(inj, WIDGET_CONFIG);
|
|
307
300
|
styler(this.nativeElement, this);
|
|
308
301
|
}
|
|
309
302
|
}
|
|
310
303
|
CarouselTemplateDirective.initializeProps = registerProps();
|
|
311
|
-
CarouselTemplateDirective.ɵfac = function CarouselTemplateDirective_Factory(t) { return new (t || CarouselTemplateDirective)(i0.ɵɵdirectiveInject(i0.Injector)
|
|
304
|
+
CarouselTemplateDirective.ɵfac = function CarouselTemplateDirective_Factory(t) { return new (t || CarouselTemplateDirective)(i0.ɵɵdirectiveInject(i0.Injector)); };
|
|
312
305
|
CarouselTemplateDirective.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: CarouselTemplateDirective, selectors: [["", "wmCarouselTemplate", ""]], features: [i0.ɵɵInheritDefinitionFeature] });
|
|
313
306
|
(function () {
|
|
314
307
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CarouselTemplateDirective, [{
|
|
@@ -316,11 +309,7 @@ CarouselTemplateDirective.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: C
|
|
|
316
309
|
args: [{
|
|
317
310
|
selector: '[wmCarouselTemplate]'
|
|
318
311
|
}]
|
|
319
|
-
}], function () {
|
|
320
|
-
return [{ type: i0.Injector }, { type: i2.UserDefinedExecutionContext, decorators: [{
|
|
321
|
-
type: Optional
|
|
322
|
-
}] }];
|
|
323
|
-
}, null);
|
|
312
|
+
}], function () { return [{ type: i0.Injector }]; }, null);
|
|
324
313
|
})();
|
|
325
314
|
|
|
326
315
|
const components = [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":["../../../../../projects/components/widgets/advanced/carousel/src/carousel.props.ts","../../../../../projects/components/widgets/advanced/carousel/src/carousel.animator.ts","../../../../../projects/components/widgets/advanced/carousel/src/carousel.directive.ts","../../../../../projects/components/widgets/advanced/carousel/src/carousel-template/carousel-template.props.ts","../../../../../projects/components/widgets/advanced/carousel/src/carousel-template/carousel-template.directive.ts","../../../../../projects/components/widgets/advanced/carousel/src/carousel.module.ts","../../../../../projects/components/widgets/advanced/carousel/src/index.ts"],"sourcesContent":["import { PROP_ANY, PROP_BOOLEAN, PROP_NUMBER, PROP_STRING, register } from '@wm/components/base';\n\nexport const registerProps = () => {\n register(\n 'wm-carousel',\n new Map(\n [\n ['animation', {value: 'auto', ... PROP_STRING}],\n ['animationinterval', {value: 3, ... PROP_NUMBER}],\n ['controls', {value: 'both', ... PROP_STRING}],\n ['dataset', PROP_ANY],\n ['name', PROP_STRING],\n ['nodatamessage', {value: 'No Data Found', ... PROP_STRING}],\n ['show', PROP_BOOLEAN]\n ]\n )\n );\n};\n","import { NgZone } from '@angular/core';\n\nimport { SwipeAnimation } from '@swipey';\n\nimport { CarouselDirective } from './carousel.directive';\n\ndeclare const $;\ndeclare const _;\n\nexport class CarouselAnimator extends SwipeAnimation {\n\n private _$el;\n private _activeIndex = 0;\n private _animationPaused = false;\n private _indicators;\n private _items;\n private _intervalId;\n private _pauseCaroselTill = 0;\n private _swiping;\n private _width;\n private _oldIndex = 0;\n\n public constructor(private carousel: CarouselDirective, private interval: number, private ngZone: NgZone) {\n super();\n const self = this;\n this._$el = $(this.carousel.getNativeElement()).find('>.carousel');\n this.init(this._$el.find('>.carousel-inner'));\n this._items = this._$el.find('>.carousel-inner >.carousel-item');\n this._indicators = this._$el.find('>.carousel-indicators');\n this._indicators.find('li').each(function (i) {\n $(this).on('click', () => {\n self._activeIndex = i;\n self.setActiveItem();\n // WMS-17583: Triggering onChange event\n self.carousel.onChangeCB(self._activeIndex, self._oldIndex);\n self._oldIndex = self._activeIndex;\n });\n });\n this._$el.find('>.left.carousel-control').on('click', () => {\n // WMS-22278, If a swipe is already in process do not process other events\n if (this._swiping) {\n return;\n }\n this._pauseCaroselTill = Date.now() + this.interval;\n this.goToUpper();\n });\n this._$el.find('>.right.carousel-control').on('click', () => {\n // WMS-22278, If a swipe is already in process do not process other events\n if (this._swiping) {\n return;\n }\n this._pauseCaroselTill = Date.now() + this.interval;\n this.goToLower();\n });\n this.setActiveItem();\n if (this.interval) {\n this.start();\n }\n this._$el.find('>.left.carousel-control').append('<span class=\"sr-only\">Previous</span>');\n }\n\n public bounds() {\n this._width = this._items.width();\n this._swiping = true;\n return {\n 'lower': -this._width,\n 'center': 0,\n 'upper': this._width\n };\n }\n\n public context() {\n return {\n 'w': this._width\n };\n }\n\n\n public animation() {\n return [{\n 'target': this.getTarget.bind(this),\n 'css': {\n 'transform': 'translate3d(${{ (($D + $d) / w) * 100 + \\'%\\'}}, 0, 0)',\n '-webkit-transform': 'translate3d(${{ (($D + $d) / w) * 100 + \\'%\\'}}, 0, 0)'\n }\n }];\n }\n\n public onUpper() {\n this.resetTransition();\n this._activeIndex -= 1;\n this.setActiveItem();\n this._swiping = false;\n }\n\n public onLower() {\n this.resetTransition();\n this._activeIndex += 1;\n this.setActiveItem();\n this._swiping = false;\n }\n\n public onAnimation() {\n const newIndex = (this._items.length + this._activeIndex) % this._items.length;\n this.carousel.onChangeCB(newIndex, this._oldIndex);\n this._oldIndex = newIndex;\n const activeElementIndex = _.findIndex(this._items, this._$el.find('>.carousel-inner >.carousel-item.active')[0]);\n this._$el.find('>.left.carousel-control').attr('aria-label', (activeElementIndex === 0 ? this._items.length : activeElementIndex) + ' of ' + this._items.length);\n this._$el.find('>.right.carousel-control').attr('aria-label', (activeElementIndex === this._items.length - 1 ? 1 : activeElementIndex + 2) + ' of ' + this._items.length);\n }\n\n public start() {\n this.ngZone.runOutsideAngular(() => {\n this._intervalId = setInterval(() => {\n if (!this._swiping && this._pauseCaroselTill < Date.now()) {\n this.goToLower(600);\n }\n }, this.interval);\n });\n }\n\n public pause() {\n this._animationPaused = true;\n if (!this._intervalId) {\n this.start();\n }\n }\n\n public resume() {\n this._animationPaused = false;\n }\n\n public stop() {\n if (this._intervalId) {\n clearInterval(this._intervalId);\n this._intervalId = 0;\n }\n }\n\n public threshold() {\n return 5;\n }\n\n // Returns multiple elements as single jQuery element.\n private getTarget() {\n const noOfItems = this._items.length,\n activeItem = this._items.eq((noOfItems + this._activeIndex) % noOfItems),\n leftItem = this._items.eq((noOfItems + this._activeIndex - 1) % noOfItems),\n rightItem = this._items.eq((noOfItems + this._activeIndex + 1) % noOfItems);\n return activeItem.add(rightItem).add(leftItem);\n }\n\n private resetTransition() {\n this.getTarget().css({\n '-webkit-transition': 'none',\n '-webkit-transform': '',\n 'transition': 'none',\n 'transform': ''\n });\n }\n\n // Sets active item, leftItem, rightItem by removing / adding respective classes.\n private setActiveItem() {\n const items = this._items,\n left = this._activeIndex - 1,\n right = this._activeIndex + 1;\n // if there is only one carousel-item then there won't be any right or left-item.\n if (items.length === 1) {\n items.eq(0).removeClass('left-item right-item');\n return;\n }\n\n this._indicators.find('>.active').removeClass('active');\n this._indicators.find('> li').eq((items.length + this._activeIndex) % items.length).addClass('active');\n\n\n items.filter('.active').removeClass('active');\n items.addClass('left-item');\n items.eq((items.length + left) % items.length).addClass('left-item').removeClass('right-item');\n items.eq((items.length + this._activeIndex) % items.length).removeClass('left-item right-item').addClass('active');\n items.eq((items.length + right) % items.length).addClass('right-item').removeClass('left-item');\n }\n}\n","import {\n AfterContentInit,\n ContentChildren,\n Directive,\n Injector,\n NgZone,\n OnDestroy,\n OnInit,\n Optional,\n QueryList\n} from '@angular/core';\n\nimport { CarouselComponent, SlideComponent } from 'ngx-bootstrap/carousel';\n\nimport { createArrayFrom, IWidgetConfig, StylableComponent, styler } from '@wm/components/base';\n\nimport { registerProps } from './carousel.props';\nimport { CarouselAnimator } from './carousel.animator';\nimport {UserDefinedExecutionContext} from '@wm/core';\n\ndeclare const _;\n\nconst WIDGET_CONFIG: IWidgetConfig = {\n widgetType: 'wm-carousel'\n};\n\nconst navigationClassMap = {\n indicators: 'hide-navs',\n navs: 'hide-indicators',\n none: 'hide-both'\n};\n\n@Directive({\n selector: '[wmCarousel]',\n exportAs: 'wmCarousel'\n})\nexport class CarouselDirective extends StylableComponent implements AfterContentInit, OnDestroy, OnInit {\n static initializeProps = registerProps();\n\n private animator;\n private navigationClass;\n private fieldDefs;\n private interval;\n\n public animationinterval;\n public animation;\n public controls;\n public currentslide;\n public previousslide;\n\n @ContentChildren(SlideComponent) slides: QueryList<SlideComponent>;\n\n constructor(public component: CarouselComponent, inj: Injector, private ngZone: NgZone, @Optional() public _viewParent: UserDefinedExecutionContext) {\n super(inj, WIDGET_CONFIG, _viewParent);\n styler(this.nativeElement, this);\n }\n\n private onDataChange(newVal) {\n this.fieldDefs = createArrayFrom(newVal);\n }\n\n private stopAnimation() {\n if (this.animator) {\n this.animator.stop();\n }\n }\n\n private startAnimation() {\n if (this.animator) {\n this.animator.interval = this.animationinterval * 1000;\n this.animator.start();\n }\n }\n\n private onSlidesRender(slides) {\n // if dynamic carousel, initialize the 'currentslide' property as the first object\n if (this.fieldDefs && this.fieldDefs.length) {\n this.currentslide = this.fieldDefs[0];\n }\n if (slides.length) {\n setTimeout(() => {\n this.animator = new CarouselAnimator(this, this.interval, this.ngZone);\n }, 50);\n }\n }\n\n private setupHandlers() {\n this.slides.changes.subscribe( slides => {\n this.triggerAnimation(slides);\n });\n this.slides.setDirty();\n }\n\n public onChangeCB(newIndex, oldIndex) {\n // assign current and previous slides on widget. In case of static carousel, fieldDefs will be undefined, hence the check\n this.currentslide = this.fieldDefs && this.fieldDefs[newIndex];\n this.previousslide = this.fieldDefs && this.fieldDefs[oldIndex];\n this.invokeEventCallback('change', {newIndex: newIndex, oldIndex: oldIndex});\n }\n\n ngAfterContentInit() {\n this.triggerAnimation(this.slides);\n this.setupHandlers();\n }\n\n ngOnDestroy() {\n this.stopAnimation();\n super.ngOnDestroy();\n }\n\n // Calculating animation interval if animation is enabled\n setanimationinterval() {\n this.interval = this.animation === 'auto' ? this.animationinterval * 1000 : 0 ;\n }\n\n triggerAnimation(slides) {\n this.stopAnimation();\n this.onSlidesRender(slides);\n }\n\n ngOnInit() {\n super.ngOnInit();\n this.setanimationinterval();\n // TODO transition is pending\n\n }\n\n // on property change handler\n onPropertyChange(key: string, nv: any, ov?: any) {\n if (key === 'dataset') {\n this.onDataChange(nv);\n } else if (key === 'controls') {\n // For showing controls\n this.navigationClass = navigationClassMap[this.controls];\n } else if (key === 'animation' || key === 'animationinterval') {\n if (key === 'animationinterval') {\n this.stopAnimation();\n this.setanimationinterval();\n }\n this.animation === 'none' ? this.stopAnimation() : this.startAnimation();\n } else {\n super.onPropertyChange(key, nv, ov);\n }\n }\n}\n","import { PROP_BOOLEAN, register } from '@wm/components/base';\n\nexport const registerProps = () => {\n register(\n 'wm-carousel-template',\n new Map(\n [\n ['show', PROP_BOOLEAN]\n ]\n )\n );\n};\n","import {Directive, Injector, Optional} from '@angular/core';\n\nimport { IWidgetConfig, StylableComponent, styler } from '@wm/components/base';\nimport { registerProps } from './carousel-template.props';\nimport {UserDefinedExecutionContext} from '@wm/core';\n\nconst DEFAULT_CLS = 'app-carousel-item';\nconst WIDGET_CONFIG: IWidgetConfig = {\n widgetType: 'wm-carousel-template',\n hostClass: DEFAULT_CLS\n};\n\n@Directive({\n selector: '[wmCarouselTemplate]'\n})\nexport class CarouselTemplateDirective extends StylableComponent {\n static initializeProps = registerProps();\n\n constructor(inj: Injector, @Optional() public _viewParent: UserDefinedExecutionContext) {\n super(inj, WIDGET_CONFIG, _viewParent);\n styler(this.nativeElement, this);\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { CarouselModule as ngxCarouselModule } from 'ngx-bootstrap/carousel';\n\nimport { WmComponentsModule } from '@wm/components/base';\n\nimport { CarouselDirective } from './carousel.directive';\nimport { CarouselTemplateDirective } from './carousel-template/carousel-template.directive';\n\nconst components = [\n CarouselDirective,\n CarouselTemplateDirective\n];\n\n@NgModule({\n imports: [\n CommonModule,\n ngxCarouselModule,\n WmComponentsModule\n ],\n declarations: [...components],\n exports: [...components]\n})\nexport class CarouselModule {\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["registerProps","WIDGET_CONFIG","i1","ngxCarouselModule"],"mappings":";;;;;;;;;AAEO,MAAMA,eAAa,GAAG,MAAK;AAC9B,IAAA,QAAQ,CACJ,aAAa,EACb,IAAI,GAAG,CACH;AACI,QAAA,CAAC,WAAW,EAAG,MAAA,CAAA,MAAA,CAAA,EAAA,KAAK,EAAE,MAAM,EAAA,EAAM,WAAW,CAAE,CAAA;AAC/C,QAAA,CAAC,mBAAmB,EAAG,MAAA,CAAA,MAAA,CAAA,EAAA,KAAK,EAAE,CAAC,EAAA,EAAO,WAAW,CAAE,CAAA;AACnD,QAAA,CAAC,UAAU,EAAG,MAAA,CAAA,MAAA,CAAA,EAAA,KAAK,EAAE,MAAM,EAAA,EAAM,WAAW,CAAE,CAAA;QAC9C,CAAC,SAAS,EAAE,QAAQ,CAAC;QACrB,CAAC,MAAM,EAAE,WAAW,CAAC;AACrB,QAAA,CAAC,eAAe,EAAG,MAAA,CAAA,MAAA,CAAA,EAAA,KAAK,EAAE,eAAe,EAAA,EAAM,WAAW,CAAE,CAAA;QAC5D,CAAC,MAAM,EAAE,YAAY,CAAC;AACzB,KAAA,CACJ,CACJ,CAAC;AACN,CAAC;;ACRK,MAAO,gBAAiB,SAAQ,cAAc,CAAA;AAahD,IAAA,WAAA,CAA2B,QAA2B,EAAU,QAAgB,EAAU,MAAc,EAAA;AACpG,QAAA,KAAK,EAAE,CAAC;AADe,QAAA,I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AAA,EAAA,CAAA;gEAAd,cAAc,EAAA,CAAA,CAAA;oEAPnB,YAAY;QACZC,gBAAiB;QACjB,kBAAkB,CAAA,EAAA,CAAA,CAAA;;4EAKb,cAAc,EAAA,CAAA;kBAT1B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE;wBACL,YAAY;wBACZA,gBAAiB;wBACjB,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,cAAc,mBAbvB,iBAAiB;AACjB,YAAA,yBAAyB,aAKrB,YAAY;YACZA,gBAAiB;AACjB,YAAA,kBAAkB,aARtB,iBAAiB;YACjB,yBAAyB,CAAA,EAAA,CAAA,CAAA;AAAA,CAAA,GAAA;;ACZ7B;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":["../../../../../projects/components/widgets/advanced/carousel/src/carousel.props.ts","../../../../../projects/components/widgets/advanced/carousel/src/carousel.animator.ts","../../../../../projects/components/widgets/advanced/carousel/src/carousel.directive.ts","../../../../../projects/components/widgets/advanced/carousel/src/carousel-template/carousel-template.props.ts","../../../../../projects/components/widgets/advanced/carousel/src/carousel-template/carousel-template.directive.ts","../../../../../projects/components/widgets/advanced/carousel/src/carousel.module.ts","../../../../../projects/components/widgets/advanced/carousel/src/index.ts"],"sourcesContent":["import { PROP_ANY, PROP_BOOLEAN, PROP_NUMBER, PROP_STRING, register } from '@wm/components/base';\n\nexport const registerProps = () => {\n register(\n 'wm-carousel',\n new Map(\n [\n ['animation', {value: 'auto', ... PROP_STRING}],\n ['animationinterval', {value: 3, ... PROP_NUMBER}],\n ['controls', {value: 'both', ... PROP_STRING}],\n ['dataset', PROP_ANY],\n ['name', PROP_STRING],\n ['nodatamessage', {value: 'No Data Found', ... PROP_STRING}],\n ['show', PROP_BOOLEAN]\n ]\n )\n );\n};\n","import { NgZone } from '@angular/core';\n\nimport { SwipeAnimation } from '@swipey';\n\nimport { CarouselDirective } from './carousel.directive';\n\ndeclare const $;\ndeclare const _;\n\nexport class CarouselAnimator extends SwipeAnimation {\n\n private _$el;\n private _activeIndex = 0;\n private _animationPaused = false;\n private _indicators;\n private _items;\n private _intervalId;\n private _pauseCaroselTill = 0;\n private _swiping;\n private _width;\n private _oldIndex = 0;\n\n public constructor(private carousel: CarouselDirective, private interval: number, private ngZone: NgZone) {\n super();\n const self = this;\n this._$el = $(this.carousel.getNativeElement()).find('>.carousel');\n this.init(this._$el.find('>.carousel-inner'));\n this._items = this._$el.find('>.carousel-inner >.carousel-item');\n this._indicators = this._$el.find('>.carousel-indicators');\n this._indicators.find('li').each(function (i) {\n $(this).on('click', () => {\n self._activeIndex = i;\n self.setActiveItem();\n // WMS-17583: Triggering onChange event\n self.carousel.onChangeCB(self._activeIndex, self._oldIndex);\n self._oldIndex = self._activeIndex;\n });\n });\n this._$el.find('>.left.carousel-control').on('click', () => {\n // WMS-22278, If a swipe is already in process do not process other events\n if (this._swiping) {\n return;\n }\n this._pauseCaroselTill = Date.now() + this.interval;\n this.goToUpper();\n });\n this._$el.find('>.right.carousel-control').on('click', () => {\n // WMS-22278, If a swipe is already in process do not process other events\n if (this._swiping) {\n return;\n }\n this._pauseCaroselTill = Date.now() + this.interval;\n this.goToLower();\n });\n this.setActiveItem();\n if (this.interval) {\n this.start();\n }\n this._$el.find('>.left.carousel-control').append('<span class=\"sr-only\">Previous</span>');\n }\n\n public bounds() {\n this._width = this._items.width();\n this._swiping = true;\n return {\n 'lower': -this._width,\n 'center': 0,\n 'upper': this._width\n };\n }\n\n public context() {\n return {\n 'w': this._width\n };\n }\n\n\n public animation() {\n return [{\n 'target': this.getTarget.bind(this),\n 'css': {\n 'transform': 'translate3d(${{ (($D + $d) / w) * 100 + \\'%\\'}}, 0, 0)',\n '-webkit-transform': 'translate3d(${{ (($D + $d) / w) * 100 + \\'%\\'}}, 0, 0)'\n }\n }];\n }\n\n public onUpper() {\n this.resetTransition();\n this._activeIndex -= 1;\n this.setActiveItem();\n this._swiping = false;\n }\n\n public onLower() {\n this.resetTransition();\n this._activeIndex += 1;\n this.setActiveItem();\n this._swiping = false;\n }\n\n public onAnimation() {\n const newIndex = (this._items.length + this._activeIndex) % this._items.length;\n this.carousel.onChangeCB(newIndex, this._oldIndex);\n this._oldIndex = newIndex;\n const activeElementIndex = _.findIndex(this._items, this._$el.find('>.carousel-inner >.carousel-item.active')[0]);\n this._$el.find('>.left.carousel-control').attr('aria-label', (activeElementIndex === 0 ? this._items.length : activeElementIndex) + ' of ' + this._items.length);\n this._$el.find('>.right.carousel-control').attr('aria-label', (activeElementIndex === this._items.length - 1 ? 1 : activeElementIndex + 2) + ' of ' + this._items.length);\n }\n\n public start() {\n this.ngZone.runOutsideAngular(() => {\n this._intervalId = setInterval(() => {\n if (!this._swiping && this._pauseCaroselTill < Date.now()) {\n this.goToLower(600);\n }\n }, this.interval);\n });\n }\n\n public pause() {\n this._animationPaused = true;\n if (!this._intervalId) {\n this.start();\n }\n }\n\n public resume() {\n this._animationPaused = false;\n }\n\n public stop() {\n if (this._intervalId) {\n clearInterval(this._intervalId);\n this._intervalId = 0;\n }\n }\n\n public threshold() {\n return 5;\n }\n\n // Returns multiple elements as single jQuery element.\n private getTarget() {\n const noOfItems = this._items.length,\n activeItem = this._items.eq((noOfItems + this._activeIndex) % noOfItems),\n leftItem = this._items.eq((noOfItems + this._activeIndex - 1) % noOfItems),\n rightItem = this._items.eq((noOfItems + this._activeIndex + 1) % noOfItems);\n return activeItem.add(rightItem).add(leftItem);\n }\n\n private resetTransition() {\n this.getTarget().css({\n '-webkit-transition': 'none',\n '-webkit-transform': '',\n 'transition': 'none',\n 'transform': ''\n });\n }\n\n // Sets active item, leftItem, rightItem by removing / adding respective classes.\n private setActiveItem() {\n const items = this._items,\n left = this._activeIndex - 1,\n right = this._activeIndex + 1;\n // if there is only one carousel-item then there won't be any right or left-item.\n if (items.length === 1) {\n items.eq(0).removeClass('left-item right-item');\n return;\n }\n\n this._indicators.find('>.active').removeClass('active');\n this._indicators.find('> li').eq((items.length + this._activeIndex) % items.length).addClass('active');\n\n\n items.filter('.active').removeClass('active');\n items.addClass('left-item');\n items.eq((items.length + left) % items.length).addClass('left-item').removeClass('right-item');\n items.eq((items.length + this._activeIndex) % items.length).removeClass('left-item right-item').addClass('active');\n items.eq((items.length + right) % items.length).addClass('right-item').removeClass('left-item');\n }\n}\n","import {\n AfterContentInit,\n ContentChildren,\n Directive,\n Injector,\n NgZone,\n OnDestroy,\n OnInit,\n Optional,\n QueryList\n} from '@angular/core';\n\nimport { CarouselComponent, SlideComponent } from 'ngx-bootstrap/carousel';\n\nimport { createArrayFrom, IWidgetConfig, StylableComponent, styler } from '@wm/components/base';\n\nimport { registerProps } from './carousel.props';\nimport { CarouselAnimator } from './carousel.animator';\nimport {UserDefinedExecutionContext} from '@wm/core';\n\ndeclare const _;\n\nconst WIDGET_CONFIG: IWidgetConfig = {\n widgetType: 'wm-carousel'\n};\n\nconst navigationClassMap = {\n indicators: 'hide-navs',\n navs: 'hide-indicators',\n none: 'hide-both'\n};\n\n@Directive({\n selector: '[wmCarousel]',\n exportAs: 'wmCarousel'\n})\nexport class CarouselDirective extends StylableComponent implements AfterContentInit, OnDestroy, OnInit {\n static initializeProps = registerProps();\n\n private animator;\n private navigationClass;\n private fieldDefs;\n private interval;\n\n public animationinterval;\n public animation;\n public controls;\n public currentslide;\n public previousslide;\n\n @ContentChildren(SlideComponent) slides: QueryList<SlideComponent>;\n\n constructor(public component: CarouselComponent, inj: Injector, private ngZone: NgZone) {\n super(inj, WIDGET_CONFIG);\n styler(this.nativeElement, this);\n }\n\n private onDataChange(newVal) {\n this.fieldDefs = createArrayFrom(newVal);\n }\n\n private stopAnimation() {\n if (this.animator) {\n this.animator.stop();\n }\n }\n\n private startAnimation() {\n if (this.animator) {\n this.animator.interval = this.animationinterval * 1000;\n this.animator.start();\n }\n }\n\n private onSlidesRender(slides) {\n // if dynamic carousel, initialize the 'currentslide' property as the first object\n if (this.fieldDefs && this.fieldDefs.length) {\n this.currentslide = this.fieldDefs[0];\n }\n if (slides.length) {\n setTimeout(() => {\n this.animator = new CarouselAnimator(this, this.interval, this.ngZone);\n }, 50);\n }\n }\n\n private setupHandlers() {\n this.slides.changes.subscribe( slides => {\n this.triggerAnimation(slides);\n });\n this.slides.setDirty();\n }\n\n public onChangeCB(newIndex, oldIndex) {\n // assign current and previous slides on widget. In case of static carousel, fieldDefs will be undefined, hence the check\n this.currentslide = this.fieldDefs && this.fieldDefs[newIndex];\n this.previousslide = this.fieldDefs && this.fieldDefs[oldIndex];\n this.invokeEventCallback('change', {newIndex: newIndex, oldIndex: oldIndex});\n }\n\n ngAfterContentInit() {\n this.triggerAnimation(this.slides);\n this.setupHandlers();\n }\n\n ngOnDestroy() {\n this.stopAnimation();\n super.ngOnDestroy();\n }\n\n // Calculating animation interval if animation is enabled\n setanimationinterval() {\n this.interval = this.animation === 'auto' ? this.animationinterval * 1000 : 0 ;\n }\n\n triggerAnimation(slides) {\n this.stopAnimation();\n this.onSlidesRender(slides);\n }\n\n ngOnInit() {\n super.ngOnInit();\n this.setanimationinterval();\n // TODO transition is pending\n\n }\n\n // on property change handler\n onPropertyChange(key: string, nv: any, ov?: any) {\n if (key === 'dataset') {\n this.onDataChange(nv);\n } else if (key === 'controls') {\n // For showing controls\n this.navigationClass = navigationClassMap[this.controls];\n } else if (key === 'animation' || key === 'animationinterval') {\n if (key === 'animationinterval') {\n this.stopAnimation();\n this.setanimationinterval();\n }\n this.animation === 'none' ? this.stopAnimation() : this.startAnimation();\n } else {\n super.onPropertyChange(key, nv, ov);\n }\n }\n}\n","import { PROP_BOOLEAN, register } from '@wm/components/base';\n\nexport const registerProps = () => {\n register(\n 'wm-carousel-template',\n new Map(\n [\n ['show', PROP_BOOLEAN]\n ]\n )\n );\n};\n","import {Directive, Injector, Optional} from '@angular/core';\n\nimport { IWidgetConfig, StylableComponent, styler } from '@wm/components/base';\nimport { registerProps } from './carousel-template.props';\nimport {UserDefinedExecutionContext} from '@wm/core';\n\nconst DEFAULT_CLS = 'app-carousel-item';\nconst WIDGET_CONFIG: IWidgetConfig = {\n widgetType: 'wm-carousel-template',\n hostClass: DEFAULT_CLS\n};\n\n@Directive({\n selector: '[wmCarouselTemplate]'\n})\nexport class CarouselTemplateDirective extends StylableComponent {\n static initializeProps = registerProps();\n\n constructor(inj: Injector) {\n super(inj, WIDGET_CONFIG);\n styler(this.nativeElement, this);\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { CarouselModule as ngxCarouselModule } from 'ngx-bootstrap/carousel';\n\nimport { WmComponentsModule } from '@wm/components/base';\n\nimport { CarouselDirective } from './carousel.directive';\nimport { CarouselTemplateDirective } from './carousel-template/carousel-template.directive';\n\nconst components = [\n CarouselDirective,\n CarouselTemplateDirective\n];\n\n@NgModule({\n imports: [\n CommonModule,\n ngxCarouselModule,\n WmComponentsModule\n ],\n declarations: [...components],\n exports: [...components]\n})\nexport class CarouselModule {\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["registerProps","WIDGET_CONFIG","ngxCarouselModule"],"mappings":";;;;;;;;AAEO,MAAMA,eAAa,GAAG,MAAK;AAC9B,IAAA,QAAQ,CACJ,aAAa,EACb,IAAI,GAAG,CACH;AACI,QAAA,CAAC,WAAW,EAAG,MAAA,CAAA,MAAA,CAAA,EAAA,KAAK,EAAE,MAAM,EAAA,EAAM,WAAW,CAAE,CAAA;AAC/C,QAAA,CAAC,mBAAmB,EAAG,MAAA,CAAA,MAAA,CAAA,EAAA,KAAK,EAAE,CAAC,EAAA,EAAO,WAAW,CAAE,CAAA;AACnD,QAAA,CAAC,UAAU,EAAG,MAAA,CA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,oBAAA,QAAQ,EAAE,sBAAsB;iBACnC,CAAA;;;;ACJD,MAAM,UAAU,GAAG;IACf,iBAAiB;IACjB,yBAAyB;CAC5B,CAAC;MAWW,cAAc,CAAA;;4EAAd,cAAc,GAAA,CAAA,EAAA,CAAA;gEAAd,cAAc,EAAA,CAAA,CAAA;oEAPnB,YAAY;QACZE,gBAAiB;QACjB,kBAAkB,CAAA,EAAA,CAAA,CAAA;;4EAKb,cAAc,EAAA,CAAA;kBAT1B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE;wBACL,YAAY;wBACZA,gBAAiB;wBACjB,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,cAAc,mBAbvB,iBAAiB;AACjB,YAAA,yBAAyB,aAKrB,YAAY;YACZA,gBAAiB;AACjB,YAAA,kBAAkB,aARtB,iBAAiB;YACjB,yBAAyB,CAAA,EAAA,CAAA,CAAA;AAAA,CAAA,GAAA;;ACZ7B;;AAEG;;;;"}
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Directive,
|
|
2
|
+
import { Directive, ContentChildren, NgModule } from '@angular/core';
|
|
3
3
|
import { CommonModule } from '@angular/common';
|
|
4
4
|
import * as i1 from 'ngx-bootstrap/carousel';
|
|
5
5
|
import { SlideComponent, CarouselModule as CarouselModule$1 } from 'ngx-bootstrap/carousel';
|
|
6
6
|
import { register, PROP_STRING, PROP_NUMBER, PROP_ANY, PROP_BOOLEAN, StylableComponent, styler, createArrayFrom, WmComponentsModule } from '@wm/components/base';
|
|
7
7
|
import { SwipeAnimation } from '@swipey';
|
|
8
|
-
import * as i2 from '@wm/core';
|
|
9
8
|
|
|
10
9
|
const registerProps$1 = () => {
|
|
11
10
|
register('wm-carousel', new Map([
|
|
@@ -175,11 +174,10 @@ const navigationClassMap = {
|
|
|
175
174
|
none: 'hide-both'
|
|
176
175
|
};
|
|
177
176
|
class CarouselDirective extends StylableComponent {
|
|
178
|
-
constructor(component, inj, ngZone
|
|
179
|
-
super(inj, WIDGET_CONFIG$1
|
|
177
|
+
constructor(component, inj, ngZone) {
|
|
178
|
+
super(inj, WIDGET_CONFIG$1);
|
|
180
179
|
this.component = component;
|
|
181
180
|
this.ngZone = ngZone;
|
|
182
|
-
this._viewParent = _viewParent;
|
|
183
181
|
styler(this.nativeElement, this);
|
|
184
182
|
}
|
|
185
183
|
onDataChange(newVal) {
|
|
@@ -262,7 +260,7 @@ class CarouselDirective extends StylableComponent {
|
|
|
262
260
|
}
|
|
263
261
|
}
|
|
264
262
|
CarouselDirective.initializeProps = registerProps$1();
|
|
265
|
-
CarouselDirective.ɵfac = function CarouselDirective_Factory(t) { return new (t || CarouselDirective)(i0.ɵɵdirectiveInject(i1.CarouselComponent), i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(i0.NgZone)
|
|
263
|
+
CarouselDirective.ɵfac = function CarouselDirective_Factory(t) { return new (t || CarouselDirective)(i0.ɵɵdirectiveInject(i1.CarouselComponent), i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(i0.NgZone)); };
|
|
266
264
|
CarouselDirective.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: CarouselDirective, selectors: [["", "wmCarousel", ""]], contentQueries: function CarouselDirective_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {
|
|
267
265
|
i0.ɵɵcontentQuery(dirIndex, SlideComponent, 4);
|
|
268
266
|
} if (rf & 2) {
|
|
@@ -275,9 +273,7 @@ CarouselDirective.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: CarouselD
|
|
|
275
273
|
selector: '[wmCarousel]',
|
|
276
274
|
exportAs: 'wmCarousel'
|
|
277
275
|
}]
|
|
278
|
-
}], function () { return [{ type: i1.CarouselComponent }, { type: i0.Injector }, { type: i0.NgZone }, {
|
|
279
|
-
type: Optional
|
|
280
|
-
}] }]; }, { slides: [{
|
|
276
|
+
}], function () { return [{ type: i1.CarouselComponent }, { type: i0.Injector }, { type: i0.NgZone }]; }, { slides: [{
|
|
281
277
|
type: ContentChildren,
|
|
282
278
|
args: [SlideComponent]
|
|
283
279
|
}] }); })();
|
|
@@ -294,23 +290,20 @@ const WIDGET_CONFIG = {
|
|
|
294
290
|
hostClass: DEFAULT_CLS
|
|
295
291
|
};
|
|
296
292
|
class CarouselTemplateDirective extends StylableComponent {
|
|
297
|
-
constructor(inj
|
|
298
|
-
super(inj, WIDGET_CONFIG
|
|
299
|
-
this._viewParent = _viewParent;
|
|
293
|
+
constructor(inj) {
|
|
294
|
+
super(inj, WIDGET_CONFIG);
|
|
300
295
|
styler(this.nativeElement, this);
|
|
301
296
|
}
|
|
302
297
|
}
|
|
303
298
|
CarouselTemplateDirective.initializeProps = registerProps();
|
|
304
|
-
CarouselTemplateDirective.ɵfac = function CarouselTemplateDirective_Factory(t) { return new (t || CarouselTemplateDirective)(i0.ɵɵdirectiveInject(i0.Injector)
|
|
299
|
+
CarouselTemplateDirective.ɵfac = function CarouselTemplateDirective_Factory(t) { return new (t || CarouselTemplateDirective)(i0.ɵɵdirectiveInject(i0.Injector)); };
|
|
305
300
|
CarouselTemplateDirective.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: CarouselTemplateDirective, selectors: [["", "wmCarouselTemplate", ""]], features: [i0.ɵɵInheritDefinitionFeature] });
|
|
306
301
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CarouselTemplateDirective, [{
|
|
307
302
|
type: Directive,
|
|
308
303
|
args: [{
|
|
309
304
|
selector: '[wmCarouselTemplate]'
|
|
310
305
|
}]
|
|
311
|
-
}], function () { return [{ type: i0.Injector }
|
|
312
|
-
type: Optional
|
|
313
|
-
}] }]; }, null); })();
|
|
306
|
+
}], function () { return [{ type: i0.Injector }]; }, null); })();
|
|
314
307
|
|
|
315
308
|
const components = [
|
|
316
309
|
CarouselDirective,
|