ngx-bootstrap 10.3.0 → 11.0.1
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.
- package/README.md +3 -5
- package/accordion/accordion-group.component.d.ts +1 -1
- package/accordion/accordion.component.d.ts +1 -1
- package/accordion/esm2022/accordion-group.component.mjs +84 -0
- package/accordion/{esm2020 → esm2022}/accordion.component.mjs +4 -4
- package/accordion/{esm2020 → esm2022}/accordion.config.mjs +4 -4
- package/accordion/{esm2020 → esm2022}/accordion.module.mjs +5 -5
- package/accordion/{fesm2020 → fesm2022}/ngx-bootstrap-accordion.mjs +29 -29
- package/accordion/fesm2022/ngx-bootstrap-accordion.mjs.map +1 -0
- package/accordion/package.json +8 -14
- package/alert/alert.component.d.ts +1 -1
- package/alert/esm2022/alert.component.mjs +77 -0
- package/alert/{esm2020 → esm2022}/alert.config.mjs +4 -4
- package/alert/{esm2020 → esm2022}/alert.module.mjs +5 -5
- package/alert/{fesm2015 → fesm2022}/ngx-bootstrap-alert.mjs +10 -10
- package/alert/fesm2022/ngx-bootstrap-alert.mjs.map +1 -0
- package/alert/package.json +8 -14
- package/buttons/button-checkbox.directive.d.ts +2 -2
- package/buttons/button-radio.directive.d.ts +1 -1
- package/buttons/{esm2020 → esm2022}/button-checkbox.directive.mjs +4 -4
- package/buttons/{esm2020 → esm2022}/button-radio-group.directive.mjs +4 -4
- package/buttons/esm2022/button-radio.directive.mjs +188 -0
- package/buttons/{esm2020 → esm2022}/buttons.module.mjs +5 -5
- package/buttons/{fesm2020 → fesm2022}/ngx-bootstrap-buttons.mjs +26 -26
- package/buttons/fesm2022/ngx-bootstrap-buttons.mjs.map +1 -0
- package/buttons/package.json +7 -13
- package/carousel/carousel.component.d.ts +1 -1
- package/carousel/esm2022/carousel.component.mjs +713 -0
- package/carousel/{esm2020 → esm2022}/carousel.config.mjs +4 -4
- package/carousel/{esm2020 → esm2022}/carousel.module.mjs +5 -5
- package/carousel/{esm2020 → esm2022}/slide.component.mjs +6 -6
- package/carousel/{fesm2020 → fesm2022}/ngx-bootstrap-carousel.mjs +65 -56
- package/carousel/fesm2022/ngx-bootstrap-carousel.mjs.map +1 -0
- package/carousel/package.json +8 -14
- package/carousel/slide.component.d.ts +1 -1
- package/chronos/duration/create.d.ts +1 -1
- package/chronos/{fesm2020 → fesm2022}/ngx-bootstrap-chronos.mjs +4 -0
- package/chronos/fesm2022/ngx-bootstrap-chronos.mjs.map +1 -0
- package/chronos/locale/locale.class.d.ts +3 -3
- package/chronos/moment/calendar.d.ts +1 -1
- package/chronos/package.json +5 -11
- package/chronos/parse/regex.d.ts +1 -1
- package/chronos/testing/chain.d.ts +3 -3
- package/chronos/types.d.ts +4 -4
- package/chronos/units/aliases.d.ts +1 -1
- package/collapse/collapse.directive.d.ts +1 -1
- package/collapse/esm2022/collapse.directive.mjs +168 -0
- package/collapse/{esm2020 → esm2022}/collapse.module.mjs +5 -5
- package/collapse/{fesm2020 → fesm2022}/ngx-bootstrap-collapse.mjs +26 -26
- package/collapse/fesm2022/ngx-bootstrap-collapse.mjs.map +1 -0
- package/collapse/package.json +8 -14
- package/component-loader/{esm2020 → esm2022}/component-loader.factory.mjs +4 -4
- package/component-loader/{fesm2020 → fesm2022}/ngx-bootstrap-component-loader.mjs +5 -3
- package/component-loader/fesm2022/ngx-bootstrap-component-loader.mjs.map +1 -0
- package/component-loader/listen-options.model.d.ts +1 -1
- package/component-loader/package.json +7 -13
- package/datepicker/bs-datepicker-inline.component.d.ts +1 -1
- package/datepicker/bs-datepicker.component.d.ts +1 -1
- package/datepicker/bs-daterangepicker-inline.component.d.ts +1 -1
- package/datepicker/bs-daterangepicker.component.d.ts +1 -1
- package/datepicker/{esm2020 → esm2022}/bs-datepicker-inline.component.mjs +4 -4
- package/datepicker/{esm2020 → esm2022}/bs-datepicker-inline.config.mjs +4 -4
- package/datepicker/{esm2020 → esm2022}/bs-datepicker-input.directive.mjs +4 -4
- package/datepicker/esm2022/bs-datepicker.component.mjs +303 -0
- package/datepicker/{esm2020 → esm2022}/bs-datepicker.config.mjs +4 -4
- package/datepicker/{esm2020 → esm2022}/bs-datepicker.module.mjs +32 -32
- package/datepicker/esm2022/bs-daterangepicker-inline.component.mjs +163 -0
- package/datepicker/{esm2020 → esm2022}/bs-daterangepicker-inline.config.mjs +4 -4
- package/datepicker/{esm2020 → esm2022}/bs-daterangepicker-input.directive.mjs +4 -4
- package/datepicker/esm2022/bs-daterangepicker.component.mjs +296 -0
- package/datepicker/{esm2020 → esm2022}/bs-daterangepicker.config.mjs +4 -4
- package/datepicker/{esm2020 → esm2022}/bs-locale.service.mjs +4 -4
- package/datepicker/esm2022/reducer/bs-datepicker.actions.mjs +143 -0
- package/datepicker/{esm2020 → esm2022}/reducer/bs-datepicker.effects.mjs +4 -4
- package/datepicker/{esm2020 → esm2022}/reducer/bs-datepicker.store.mjs +4 -4
- package/datepicker/{esm2020 → esm2022}/themes/bs/bs-calendar-layout.component.mjs +6 -6
- package/datepicker/{esm2020 → esm2022}/themes/bs/bs-current-date-view.component.mjs +4 -4
- package/datepicker/{esm2020 → esm2022}/themes/bs/bs-custom-dates-view.component.mjs +6 -6
- package/datepicker/esm2022/themes/bs/bs-datepicker-container.component.mjs +192 -0
- package/datepicker/{esm2020 → esm2022}/themes/bs/bs-datepicker-day-decorator.directive.mjs +4 -4
- package/datepicker/{esm2020 → esm2022}/themes/bs/bs-datepicker-inline-container.component.mjs +9 -9
- package/datepicker/{esm2020 → esm2022}/themes/bs/bs-datepicker-navigation-view.component.mjs +6 -6
- package/datepicker/esm2022/themes/bs/bs-daterangepicker-container.component.mjs +261 -0
- package/datepicker/{esm2020 → esm2022}/themes/bs/bs-daterangepicker-inline-container.component.mjs +9 -9
- package/datepicker/{esm2020 → esm2022}/themes/bs/bs-days-calendar-view.component.mjs +6 -6
- package/datepicker/{esm2020 → esm2022}/themes/bs/bs-months-calendar-view.component.mjs +6 -6
- package/datepicker/{esm2020 → esm2022}/themes/bs/bs-timepicker-view.component.mjs +6 -6
- package/datepicker/{esm2020 → esm2022}/themes/bs/bs-years-calendar-view.component.mjs +6 -6
- package/datepicker/{fesm2020 → fesm2022}/ngx-bootstrap-datepicker.mjs +226 -226
- package/datepicker/fesm2022/ngx-bootstrap-datepicker.mjs.map +1 -0
- package/datepicker/models/index.d.ts +1 -1
- package/datepicker/package.json +13 -19
- package/datepicker/themes/bs/bs-current-date-view.component.d.ts +1 -1
- package/datepicker/themes/bs/bs-custom-dates-view.component.d.ts +1 -1
- package/datepicker/themes/bs/bs-datepicker-day-decorator.directive.d.ts +1 -1
- package/datepicker/themes/bs/bs-datepicker-navigation-view.component.d.ts +1 -1
- package/datepicker/themes/bs/bs-days-calendar-view.component.d.ts +1 -1
- package/datepicker/themes/bs/bs-months-calendar-view.component.d.ts +1 -1
- package/datepicker/themes/bs/bs-years-calendar-view.component.d.ts +1 -1
- package/datepicker/utils/matrix-utils.d.ts +1 -1
- package/dropdown/bs-dropdown.directive.d.ts +1 -1
- package/dropdown/esm2022/bs-dropdown-container.component.mjs +79 -0
- package/dropdown/{esm2020 → esm2022}/bs-dropdown-menu.directive.mjs +4 -4
- package/dropdown/{esm2020 → esm2022}/bs-dropdown-toggle.directive.mjs +4 -4
- package/dropdown/{esm2020 → esm2022}/bs-dropdown.config.mjs +4 -4
- package/dropdown/esm2022/bs-dropdown.directive.mjs +340 -0
- package/dropdown/{esm2020 → esm2022}/bs-dropdown.module.mjs +10 -10
- package/dropdown/{esm2020 → esm2022}/bs-dropdown.state.mjs +4 -4
- package/dropdown/{fesm2020 → fesm2022}/ngx-bootstrap-dropdown.mjs +62 -62
- package/dropdown/fesm2022/ngx-bootstrap-dropdown.mjs.map +1 -0
- package/dropdown/package.json +10 -16
- package/fesm2022/ngx-bootstrap.mjs.map +1 -0
- package/focus-trap/boolean-property.d.ts +1 -1
- package/focus-trap/{esm2020 → esm2022}/focus-trap-manager.mjs +4 -4
- package/focus-trap/esm2022/focus-trap.mjs +399 -0
- package/focus-trap/{esm2020 → esm2022}/focus-trap.module.mjs +5 -5
- package/focus-trap/{esm2020 → esm2022}/interactivity-checker.mjs +4 -4
- package/focus-trap/{esm2020 → esm2022}/platform.mjs +4 -4
- package/focus-trap/{fesm2020 → fesm2022}/ngx-bootstrap-focus-trap.mjs +43 -39
- package/focus-trap/fesm2022/ngx-bootstrap-focus-trap.mjs.map +1 -0
- package/focus-trap/focus-trap.d.ts +1 -1
- package/focus-trap/package.json +8 -14
- package/locale/fesm2022/ngx-bootstrap-locale.mjs.map +1 -0
- package/locale/package.json +6 -12
- package/mini-ngrx/fesm2022/ngx-bootstrap-mini-ngrx.mjs.map +1 -0
- package/mini-ngrx/package.json +6 -12
- package/mini-ngrx/public_api.d.ts +1 -1
- package/modal/{esm2020 → esm2022}/bs-modal-ref.service.mjs +4 -4
- package/modal/{esm2020 → esm2022}/bs-modal.service.mjs +4 -4
- package/modal/esm2022/modal-backdrop.component.mjs +50 -0
- package/modal/{esm2020 → esm2022}/modal-container.component.mjs +6 -6
- package/modal/{esm2020 → esm2022}/modal-options.class.mjs +4 -4
- package/modal/esm2022/modal.directive.mjs +364 -0
- package/modal/{esm2020 → esm2022}/modal.module.mjs +7 -7
- package/modal/{fesm2020 → fesm2022}/ngx-bootstrap-modal.mjs +44 -42
- package/modal/fesm2022/ngx-bootstrap-modal.mjs.map +1 -0
- package/modal/modal.directive.d.ts +1 -1
- package/modal/models/index.d.ts +1 -1
- package/modal/package.json +8 -14
- package/package.json +81 -87
- package/pagination/{esm2020 → esm2022}/pager.component.mjs +4 -4
- package/pagination/{esm2020 → esm2022}/pagination.component.mjs +4 -4
- package/pagination/{esm2020 → esm2022}/pagination.config.mjs +4 -4
- package/pagination/{esm2020 → esm2022}/pagination.module.mjs +5 -5
- package/pagination/{fesm2020 → fesm2022}/ngx-bootstrap-pagination.mjs +13 -13
- package/pagination/fesm2022/ngx-bootstrap-pagination.mjs.map +1 -0
- package/pagination/package.json +8 -14
- package/pagination/pager.component.d.ts +1 -1
- package/pagination/pagination.component.d.ts +1 -1
- package/popover/esm2022/popover-container.component.mjs +46 -0
- package/popover/{esm2020 → esm2022}/popover.config.mjs +4 -4
- package/popover/esm2022/popover.directive.mjs +241 -0
- package/popover/{esm2020 → esm2022}/popover.module.mjs +5 -5
- package/popover/{fesm2020 → fesm2022}/ngx-bootstrap-popover.mjs +31 -31
- package/popover/fesm2022/ngx-bootstrap-popover.mjs.map +1 -0
- package/popover/package.json +9 -15
- package/popover/popover-container.component.d.ts +1 -1
- package/popover/popover.directive.d.ts +1 -1
- package/positioning/{esm2020 → esm2022}/positioning.service.mjs +4 -4
- package/positioning/{fesm2020 → fesm2022}/ngx-bootstrap-positioning.mjs +3 -3
- package/positioning/fesm2022/ngx-bootstrap-positioning.mjs.map +1 -0
- package/positioning/models/index.d.ts +1 -1
- package/positioning/package.json +10 -16
- package/progressbar/bar.component.d.ts +1 -1
- package/progressbar/{esm2020 → esm2022}/bar.component.mjs +4 -4
- package/progressbar/esm2022/progressbar.component.mjs +53 -0
- package/progressbar/{esm2020 → esm2022}/progressbar.config.mjs +4 -4
- package/progressbar/{esm2020 → esm2022}/progressbar.module.mjs +5 -5
- package/progressbar/{fesm2020 → fesm2022}/ngx-bootstrap-progressbar.mjs +24 -24
- package/progressbar/fesm2022/ngx-bootstrap-progressbar.mjs.map +1 -0
- package/progressbar/package.json +7 -13
- package/progressbar/progressbar-type.interface.d.ts +1 -1
- package/progressbar/progressbar.component.d.ts +1 -1
- package/rating/{esm2020 → esm2022}/rating.component.mjs +4 -4
- package/rating/{esm2020 → esm2022}/rating.config.mjs +4 -4
- package/rating/{esm2020 → esm2022}/rating.module.mjs +5 -5
- package/rating/{fesm2015 → fesm2022}/ngx-bootstrap-rating.mjs +10 -10
- package/rating/fesm2022/ngx-bootstrap-rating.mjs.map +1 -0
- package/rating/package.json +8 -14
- package/rating/rating.component.d.ts +1 -1
- package/schematics/collection.json +1 -1
- package/schematics/package.json +7 -7
- package/schematics/utils/current_dependency_versions.json +1 -1
- package/schematics/utils/index.d.ts +0 -2
- package/schematics/utils/index.js +1 -13
- package/schematics/utils/index.js.map +1 -1
- package/sortable/{esm2020 → esm2022}/draggable-item.service.mjs +4 -4
- package/sortable/esm2022/sortable.component.mjs +266 -0
- package/sortable/{esm2020 → esm2022}/sortable.module.mjs +5 -5
- package/sortable/{fesm2020 → fesm2022}/ngx-bootstrap-sortable.mjs +28 -28
- package/sortable/fesm2022/ngx-bootstrap-sortable.mjs.map +1 -0
- package/sortable/package.json +10 -16
- package/sortable/sortable.component.d.ts +1 -1
- package/tabs/esm2022/ng-transclude.directive.mjs +28 -0
- package/tabs/{esm2020 → esm2022}/tab-heading.directive.mjs +4 -4
- package/tabs/esm2022/tab.directive.mjs +115 -0
- package/tabs/{esm2020 → esm2022}/tabs.module.mjs +11 -11
- package/tabs/esm2022/tabset.component.mjs +216 -0
- package/tabs/{esm2020 → esm2022}/tabset.config.mjs +4 -4
- package/tabs/{fesm2015 → fesm2022}/ngx-bootstrap-tabs.mjs +63 -63
- package/tabs/fesm2022/ngx-bootstrap-tabs.mjs.map +1 -0
- package/tabs/ng-transclude.directive.d.ts +1 -1
- package/tabs/package.json +7 -13
- package/tabs/tab.directive.d.ts +1 -1
- package/tabs/tabset.component.d.ts +1 -1
- package/timepicker/esm2022/reducer/timepicker.actions.mjs +53 -0
- package/timepicker/{esm2020 → esm2022}/reducer/timepicker.store.mjs +4 -4
- package/timepicker/{esm2020 → esm2022}/timepicker.component.mjs +4 -4
- package/timepicker/{esm2020 → esm2022}/timepicker.config.mjs +4 -4
- package/timepicker/{esm2020 → esm2022}/timepicker.module.mjs +5 -5
- package/timepicker/{fesm2020 → fesm2022}/ngx-bootstrap-timepicker.mjs +22 -22
- package/timepicker/fesm2022/ngx-bootstrap-timepicker.mjs.map +1 -0
- package/timepicker/package.json +10 -16
- package/timepicker/reducer/timepicker.reducer.d.ts +1 -3
- package/timepicker/timepicker.component.d.ts +1 -1
- package/timepicker/timepicker.models.d.ts +1 -1
- package/tooltip/{esm2020 → esm2022}/tooltip-container.component.mjs +9 -9
- package/tooltip/{esm2020 → esm2022}/tooltip.config.mjs +4 -4
- package/tooltip/esm2022/tooltip.directive.mjs +342 -0
- package/tooltip/{esm2020 → esm2022}/tooltip.module.mjs +5 -5
- package/tooltip/{fesm2020 → fesm2022}/ngx-bootstrap-tooltip.mjs +61 -61
- package/tooltip/fesm2022/ngx-bootstrap-tooltip.mjs.map +1 -0
- package/tooltip/package.json +10 -16
- package/tooltip/tooltip.directive.d.ts +1 -1
- package/typeahead/esm2022/typeahead-container.component.mjs +311 -0
- package/typeahead/{esm2020 → esm2022}/typeahead.config.mjs +4 -4
- package/typeahead/{esm2020 → esm2022}/typeahead.directive.mjs +4 -4
- package/typeahead/{esm2020 → esm2022}/typeahead.module.mjs +5 -5
- package/typeahead/{fesm2020 → fesm2022}/ngx-bootstrap-typeahead.mjs +20 -20
- package/typeahead/fesm2022/ngx-bootstrap-typeahead.mjs.map +1 -0
- package/typeahead/package.json +12 -18
- package/typeahead/typeahead.directive.d.ts +3 -3
- package/utils/fesm2022/ngx-bootstrap-utils.mjs.map +1 -0
- package/utils/package.json +6 -12
- package/utils/theme-provider.d.ts +1 -1
- package/utils/triggers.d.ts +1 -1
- package/accordion/esm2020/accordion-group.component.mjs +0 -84
- package/accordion/fesm2015/ngx-bootstrap-accordion.mjs +0 -182
- package/accordion/fesm2015/ngx-bootstrap-accordion.mjs.map +0 -1
- package/accordion/fesm2020/ngx-bootstrap-accordion.mjs.map +0 -1
- package/alert/esm2020/alert.component.mjs +0 -77
- package/alert/fesm2015/ngx-bootstrap-alert.mjs.map +0 -1
- package/alert/fesm2020/ngx-bootstrap-alert.mjs +0 -119
- package/alert/fesm2020/ngx-bootstrap-alert.mjs.map +0 -1
- package/buttons/esm2020/button-radio.directive.mjs +0 -188
- package/buttons/fesm2015/ngx-bootstrap-buttons.mjs +0 -448
- package/buttons/fesm2015/ngx-bootstrap-buttons.mjs.map +0 -1
- package/buttons/fesm2020/ngx-bootstrap-buttons.mjs.map +0 -1
- package/carousel/esm2020/carousel.component.mjs +0 -713
- package/carousel/fesm2015/ngx-bootstrap-carousel.mjs +0 -851
- package/carousel/fesm2015/ngx-bootstrap-carousel.mjs.map +0 -1
- package/carousel/fesm2020/ngx-bootstrap-carousel.mjs.map +0 -1
- package/chronos/fesm2015/ngx-bootstrap-chronos.mjs +0 -7384
- package/chronos/fesm2015/ngx-bootstrap-chronos.mjs.map +0 -1
- package/chronos/fesm2020/ngx-bootstrap-chronos.mjs.map +0 -1
- package/collapse/esm2020/collapse.directive.mjs +0 -168
- package/collapse/fesm2015/ngx-bootstrap-collapse.mjs +0 -200
- package/collapse/fesm2015/ngx-bootstrap-collapse.mjs.map +0 -1
- package/collapse/fesm2020/ngx-bootstrap-collapse.mjs.map +0 -1
- package/component-loader/fesm2015/ngx-bootstrap-component-loader.mjs +0 -345
- package/component-loader/fesm2015/ngx-bootstrap-component-loader.mjs.map +0 -1
- package/component-loader/fesm2020/ngx-bootstrap-component-loader.mjs.map +0 -1
- package/datepicker/esm2020/bs-datepicker.component.mjs +0 -303
- package/datepicker/esm2020/bs-daterangepicker-inline.component.mjs +0 -163
- package/datepicker/esm2020/bs-daterangepicker.component.mjs +0 -296
- package/datepicker/esm2020/reducer/bs-datepicker.actions.mjs +0 -143
- package/datepicker/esm2020/themes/bs/bs-datepicker-container.component.mjs +0 -192
- package/datepicker/esm2020/themes/bs/bs-daterangepicker-container.component.mjs +0 -261
- package/datepicker/fesm2015/ngx-bootstrap-datepicker.mjs +0 -3971
- package/datepicker/fesm2015/ngx-bootstrap-datepicker.mjs.map +0 -1
- package/datepicker/fesm2020/ngx-bootstrap-datepicker.mjs.map +0 -1
- package/dropdown/esm2020/bs-dropdown-container.component.mjs +0 -79
- package/dropdown/esm2020/bs-dropdown.directive.mjs +0 -340
- package/dropdown/fesm2015/ngx-bootstrap-dropdown.mjs +0 -603
- package/dropdown/fesm2015/ngx-bootstrap-dropdown.mjs.map +0 -1
- package/dropdown/fesm2020/ngx-bootstrap-dropdown.mjs.map +0 -1
- package/fesm2015/ngx-bootstrap.mjs.map +0 -1
- package/fesm2020/ngx-bootstrap.mjs +0 -6
- package/fesm2020/ngx-bootstrap.mjs.map +0 -1
- package/focus-trap/esm2020/focus-trap.mjs +0 -399
- package/focus-trap/fesm2015/ngx-bootstrap-focus-trap.mjs +0 -800
- package/focus-trap/fesm2015/ngx-bootstrap-focus-trap.mjs.map +0 -1
- package/focus-trap/fesm2020/ngx-bootstrap-focus-trap.mjs.map +0 -1
- package/locale/fesm2015/ngx-bootstrap-locale.mjs.map +0 -1
- package/locale/fesm2020/ngx-bootstrap-locale.mjs +0 -6
- package/locale/fesm2020/ngx-bootstrap-locale.mjs.map +0 -1
- package/mini-ngrx/fesm2015/ngx-bootstrap-mini-ngrx.mjs +0 -64
- package/mini-ngrx/fesm2015/ngx-bootstrap-mini-ngrx.mjs.map +0 -1
- package/mini-ngrx/fesm2020/ngx-bootstrap-mini-ngrx.mjs.map +0 -1
- package/modal/esm2020/modal-backdrop.component.mjs +0 -50
- package/modal/esm2020/modal.directive.mjs +0 -364
- package/modal/fesm2015/ngx-bootstrap-modal.mjs +0 -888
- package/modal/fesm2015/ngx-bootstrap-modal.mjs.map +0 -1
- package/modal/fesm2020/ngx-bootstrap-modal.mjs.map +0 -1
- package/pagination/fesm2015/ngx-bootstrap-pagination.mjs +0 -565
- package/pagination/fesm2015/ngx-bootstrap-pagination.mjs.map +0 -1
- package/pagination/fesm2020/ngx-bootstrap-pagination.mjs.map +0 -1
- package/popover/esm2020/popover-container.component.mjs +0 -46
- package/popover/esm2020/popover.directive.mjs +0 -241
- package/popover/fesm2015/ngx-bootstrap-popover.mjs +0 -339
- package/popover/fesm2015/ngx-bootstrap-popover.mjs.map +0 -1
- package/popover/fesm2020/ngx-bootstrap-popover.mjs.map +0 -1
- package/positioning/fesm2015/ngx-bootstrap-positioning.mjs +0 -1018
- package/positioning/fesm2015/ngx-bootstrap-positioning.mjs.map +0 -1
- package/positioning/fesm2020/ngx-bootstrap-positioning.mjs.map +0 -1
- package/progressbar/esm2020/progressbar.component.mjs +0 -53
- package/progressbar/fesm2015/ngx-bootstrap-progressbar.mjs +0 -163
- package/progressbar/fesm2015/ngx-bootstrap-progressbar.mjs.map +0 -1
- package/progressbar/fesm2020/ngx-bootstrap-progressbar.mjs.map +0 -1
- package/rating/fesm2015/ngx-bootstrap-rating.mjs.map +0 -1
- package/rating/fesm2020/ngx-bootstrap-rating.mjs +0 -163
- package/rating/fesm2020/ngx-bootstrap-rating.mjs.map +0 -1
- package/sortable/esm2020/sortable.component.mjs +0 -266
- package/sortable/fesm2015/ngx-bootstrap-sortable.mjs +0 -324
- package/sortable/fesm2015/ngx-bootstrap-sortable.mjs.map +0 -1
- package/sortable/fesm2020/ngx-bootstrap-sortable.mjs.map +0 -1
- package/tabs/esm2020/ng-transclude.directive.mjs +0 -28
- package/tabs/esm2020/tab.directive.mjs +0 -115
- package/tabs/esm2020/tabset.component.mjs +0 -216
- package/tabs/fesm2015/ngx-bootstrap-tabs.mjs.map +0 -1
- package/tabs/fesm2020/ngx-bootstrap-tabs.mjs +0 -427
- package/tabs/fesm2020/ngx-bootstrap-tabs.mjs.map +0 -1
- package/timepicker/esm2020/reducer/timepicker.actions.mjs +0 -53
- package/timepicker/fesm2015/ngx-bootstrap-timepicker.mjs +0 -830
- package/timepicker/fesm2015/ngx-bootstrap-timepicker.mjs.map +0 -1
- package/timepicker/fesm2020/ngx-bootstrap-timepicker.mjs.map +0 -1
- package/tooltip/esm2020/tooltip.directive.mjs +0 -342
- package/tooltip/fesm2015/ngx-bootstrap-tooltip.mjs +0 -431
- package/tooltip/fesm2015/ngx-bootstrap-tooltip.mjs.map +0 -1
- package/tooltip/fesm2020/ngx-bootstrap-tooltip.mjs.map +0 -1
- package/typeahead/esm2020/typeahead-container.component.mjs +0 -311
- package/typeahead/fesm2015/ngx-bootstrap-typeahead.mjs +0 -1890
- package/typeahead/fesm2015/ngx-bootstrap-typeahead.mjs.map +0 -1
- package/typeahead/fesm2020/ngx-bootstrap-typeahead.mjs.map +0 -1
- package/utils/fesm2015/ngx-bootstrap-utils.mjs +0 -523
- package/utils/fesm2015/ngx-bootstrap-utils.mjs.map +0 -1
- package/utils/fesm2020/ngx-bootstrap-utils.mjs.map +0 -1
- /package/accordion/{esm2020 → esm2022}/index.mjs +0 -0
- /package/accordion/{esm2020 → esm2022}/ngx-bootstrap-accordion.mjs +0 -0
- /package/accordion/{esm2020 → esm2022}/public_api.mjs +0 -0
- /package/alert/{esm2020 → esm2022}/index.mjs +0 -0
- /package/alert/{esm2020 → esm2022}/ngx-bootstrap-alert.mjs +0 -0
- /package/alert/{esm2020 → esm2022}/public_api.mjs +0 -0
- /package/buttons/{esm2020 → esm2022}/index.mjs +0 -0
- /package/buttons/{esm2020 → esm2022}/ngx-bootstrap-buttons.mjs +0 -0
- /package/buttons/{esm2020 → esm2022}/public_api.mjs +0 -0
- /package/carousel/{esm2020 → esm2022}/index.mjs +0 -0
- /package/carousel/{esm2020 → esm2022}/models/index.mjs +0 -0
- /package/carousel/{esm2020 → esm2022}/ngx-bootstrap-carousel.mjs +0 -0
- /package/carousel/{esm2020 → esm2022}/public_api.mjs +0 -0
- /package/carousel/{esm2020 → esm2022}/utils.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/create/check-overflow.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/create/clone.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/create/date-from-array.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/create/from-anything.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/create/from-array.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/create/from-object.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/create/from-string-and-array.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/create/from-string-and-format.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/create/from-string.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/create/local.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/create/parsing-flags.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/create/parsing.types.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/create/valid.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/duration/bubble.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/duration/constructor.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/duration/create.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/duration/humanize.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/duration/valid.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/format/format.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/format.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/ar.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/bg.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/ca.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/cs.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/da.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/de.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/en-gb.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/es-do.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/es-pr.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/es-us.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/es.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/et.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/fi.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/fr.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/gl.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/he.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/hi.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/hr.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/hu.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/id.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/it.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/ja.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/ka.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/kk.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/ko.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/lt.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/lv.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/mn.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/nb.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/nl-be.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/nl.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/pl.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/pt-br.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/ro.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/ru.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/sk.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/sl.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/sq.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/sv.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/th-be.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/th.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/tr.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/uk.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/vi.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/zh-cn.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/index.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/locale/calendar.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/locale/locale.class.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/locale/locale.defaults.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/locale/locales.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/moment/add-subtract.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/moment/calendar.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/moment/diff.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/moment/min-max.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/ngx-bootstrap-chronos.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/parse/regex.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/parse/token.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/public_api.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/testing/chain.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/types.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/units/aliases.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/units/constants.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/units/day-of-month.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/units/day-of-week.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/units/day-of-year.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/units/hour.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/units/index.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/units/millisecond.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/units/minute.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/units/month.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/units/offset.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/units/priorities.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/units/quarter.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/units/second.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/units/timestamp.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/units/timezone.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/units/week-calendar-utils.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/units/week-year.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/units/week.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/units/year.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/utils/abs-ceil.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/utils/abs-round.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/utils/compare-arrays.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/utils/date-compare.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/utils/date-getters.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/utils/date-setters.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/utils/defaults.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/utils/start-end-of.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/utils/type-checks.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/utils/zero-fill.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/utils.mjs +0 -0
- /package/collapse/{esm2020 → esm2022}/collapse-animations.mjs +0 -0
- /package/collapse/{esm2020 → esm2022}/index.mjs +0 -0
- /package/collapse/{esm2020 → esm2022}/ngx-bootstrap-collapse.mjs +0 -0
- /package/collapse/{esm2020 → esm2022}/public_api.mjs +0 -0
- /package/component-loader/{esm2020 → esm2022}/bs-component-ref.class.mjs +0 -0
- /package/component-loader/{esm2020 → esm2022}/component-loader.class.mjs +0 -0
- /package/component-loader/{esm2020 → esm2022}/content-ref.class.mjs +0 -0
- /package/component-loader/{esm2020 → esm2022}/index.mjs +0 -0
- /package/component-loader/{esm2020 → esm2022}/listen-options.model.mjs +0 -0
- /package/component-loader/{esm2020 → esm2022}/ngx-bootstrap-component-loader.mjs +0 -0
- /package/component-loader/{esm2020 → esm2022}/public_api.mjs +0 -0
- /package/datepicker/{esm2020 → esm2022}/base/bs-datepicker-container.mjs +0 -0
- /package/datepicker/{esm2020 → esm2022}/datepicker-animations.mjs +0 -0
- /package/datepicker/{esm2020 → esm2022}/engine/calc-days-calendar.mjs +0 -0
- /package/datepicker/{esm2020 → esm2022}/engine/flag-days-calendar.mjs +0 -0
- /package/datepicker/{esm2020 → esm2022}/engine/flag-months-calendar.mjs +0 -0
- /package/datepicker/{esm2020 → esm2022}/engine/flag-years-calendar.mjs +0 -0
- /package/datepicker/{esm2020 → esm2022}/engine/format-days-calendar.mjs +0 -0
- /package/datepicker/{esm2020 → esm2022}/engine/format-months-calendar.mjs +0 -0
- /package/datepicker/{esm2020 → esm2022}/engine/format-years-calendar.mjs +0 -0
- /package/datepicker/{esm2020 → esm2022}/engine/view-mode.mjs +0 -0
- /package/datepicker/{esm2020 → esm2022}/index.mjs +0 -0
- /package/datepicker/{esm2020 → esm2022}/models/index.mjs +0 -0
- /package/datepicker/{esm2020 → esm2022}/ngx-bootstrap-datepicker.mjs +0 -0
- /package/datepicker/{esm2020 → esm2022}/public_api.mjs +0 -0
- /package/datepicker/{esm2020 → esm2022}/reducer/_defaults.mjs +0 -0
- /package/datepicker/{esm2020 → esm2022}/reducer/bs-datepicker.reducer.mjs +0 -0
- /package/datepicker/{esm2020 → esm2022}/reducer/bs-datepicker.state.mjs +0 -0
- /package/datepicker/{esm2020 → esm2022}/utils/bs-calendar-utils.mjs +0 -0
- /package/datepicker/{esm2020 → esm2022}/utils/copy-time-utils.mjs +0 -0
- /package/datepicker/{esm2020 → esm2022}/utils/matrix-utils.mjs +0 -0
- /package/dropdown/{esm2020 → esm2022}/dropdown-animations.mjs +0 -0
- /package/dropdown/{esm2020 → esm2022}/index.mjs +0 -0
- /package/dropdown/{esm2020 → esm2022}/ngx-bootstrap-dropdown.mjs +0 -0
- /package/dropdown/{esm2020 → esm2022}/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/index.mjs +0 -0
- /package/{esm2020 → esm2022}/ngx-bootstrap.mjs +0 -0
- /package/{fesm2015 → fesm2022}/ngx-bootstrap.mjs +0 -0
- /package/focus-trap/{esm2020 → esm2022}/boolean-property.mjs +0 -0
- /package/focus-trap/{esm2020 → esm2022}/index.mjs +0 -0
- /package/focus-trap/{esm2020 → esm2022}/ngx-bootstrap-focus-trap.mjs +0 -0
- /package/focus-trap/{esm2020 → esm2022}/public_api.mjs +0 -0
- /package/locale/{esm2020 → esm2022}/index.mjs +0 -0
- /package/locale/{esm2020 → esm2022}/ngx-bootstrap-locale.mjs +0 -0
- /package/locale/{esm2020 → esm2022}/public_api.mjs +0 -0
- /package/locale/{fesm2015 → fesm2022}/ngx-bootstrap-locale.mjs +0 -0
- /package/mini-ngrx/{esm2020 → esm2022}/index.mjs +0 -0
- /package/mini-ngrx/{esm2020 → esm2022}/ngx-bootstrap-mini-ngrx.mjs +0 -0
- /package/mini-ngrx/{esm2020 → esm2022}/public_api.mjs +0 -0
- /package/mini-ngrx/{esm2020 → esm2022}/state.class.mjs +0 -0
- /package/mini-ngrx/{esm2020 → esm2022}/store.class.mjs +0 -0
- /package/mini-ngrx/{fesm2020 → fesm2022}/ngx-bootstrap-mini-ngrx.mjs +0 -0
- /package/modal/{esm2020 → esm2022}/index.mjs +0 -0
- /package/modal/{esm2020 → esm2022}/modal-backdrop.options.mjs +0 -0
- /package/modal/{esm2020 → esm2022}/models/index.mjs +0 -0
- /package/modal/{esm2020 → esm2022}/ngx-bootstrap-modal.mjs +0 -0
- /package/modal/{esm2020 → esm2022}/public_api.mjs +0 -0
- /package/pagination/{esm2020 → esm2022}/index.mjs +0 -0
- /package/pagination/{esm2020 → esm2022}/models/index.mjs +0 -0
- /package/pagination/{esm2020 → esm2022}/ngx-bootstrap-pagination.mjs +0 -0
- /package/pagination/{esm2020 → esm2022}/public_api.mjs +0 -0
- /package/popover/{esm2020 → esm2022}/index.mjs +0 -0
- /package/popover/{esm2020 → esm2022}/ngx-bootstrap-popover.mjs +0 -0
- /package/popover/{esm2020 → esm2022}/public_api.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/index.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/models/index.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/modifiers/arrow.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/modifiers/flip.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/modifiers/index.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/modifiers/initData.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/modifiers/preventOverflow.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/modifiers/shift.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/ng-positioning.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/ngx-bootstrap-positioning.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/public_api.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/utils/checkMargin.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/utils/computeAutoPlacement.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/utils/findCommonOffsetParent.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/utils/getBordersSize.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/utils/getBoundaries.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/utils/getBoundingClientRect.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/utils/getClientRect.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/utils/getFixedPositionOffsetParent.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/utils/getOffsetParent.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/utils/getOffsetRectRelativeToArbitraryNode.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/utils/getOffsets.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/utils/getOppositePlacement.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/utils/getOppositeVariation.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/utils/getOuterSizes.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/utils/getParentNode.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/utils/getReferenceOffsets.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/utils/getRoot.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/utils/getScroll.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/utils/getScrollParent.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/utils/getStyleComputedProperty.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/utils/getTargetOffsets.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/utils/getViewportOffsetRectRelativeToArtbitraryNode.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/utils/getWindowSizes.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/utils/includeScroll.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/utils/index.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/utils/isFixed.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/utils/isModifierEnabled.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/utils/isNumeric.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/utils/isOffsetContainer.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/utils/setStyles.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/utils/updateContainerClass.mjs +0 -0
- /package/progressbar/{esm2020 → esm2022}/index.mjs +0 -0
- /package/progressbar/{esm2020 → esm2022}/ngx-bootstrap-progressbar.mjs +0 -0
- /package/progressbar/{esm2020 → esm2022}/progressbar-type.interface.mjs +0 -0
- /package/progressbar/{esm2020 → esm2022}/public_api.mjs +0 -0
- /package/rating/{esm2020 → esm2022}/index.mjs +0 -0
- /package/rating/{esm2020 → esm2022}/models/index.mjs +0 -0
- /package/rating/{esm2020 → esm2022}/ngx-bootstrap-rating.mjs +0 -0
- /package/rating/{esm2020 → esm2022}/public_api.mjs +0 -0
- /package/sortable/{esm2020 → esm2022}/draggable-item.mjs +0 -0
- /package/sortable/{esm2020 → esm2022}/index.mjs +0 -0
- /package/sortable/{esm2020 → esm2022}/ngx-bootstrap-sortable.mjs +0 -0
- /package/sortable/{esm2020 → esm2022}/public_api.mjs +0 -0
- /package/tabs/{esm2020 → esm2022}/index.mjs +0 -0
- /package/tabs/{esm2020 → esm2022}/ngx-bootstrap-tabs.mjs +0 -0
- /package/tabs/{esm2020 → esm2022}/public_api.mjs +0 -0
- /package/timepicker/{esm2020 → esm2022}/index.mjs +0 -0
- /package/timepicker/{esm2020 → esm2022}/models/index.mjs +0 -0
- /package/timepicker/{esm2020 → esm2022}/ngx-bootstrap-timepicker.mjs +0 -0
- /package/timepicker/{esm2020 → esm2022}/public_api.mjs +0 -0
- /package/timepicker/{esm2020 → esm2022}/reducer/timepicker.reducer.mjs +0 -0
- /package/timepicker/{esm2020 → esm2022}/timepicker-controls.util.mjs +0 -0
- /package/timepicker/{esm2020 → esm2022}/timepicker.models.mjs +0 -0
- /package/timepicker/{esm2020 → esm2022}/timepicker.utils.mjs +0 -0
- /package/tooltip/{esm2020 → esm2022}/index.mjs +0 -0
- /package/tooltip/{esm2020 → esm2022}/ngx-bootstrap-tooltip.mjs +0 -0
- /package/tooltip/{esm2020 → esm2022}/public_api.mjs +0 -0
- /package/typeahead/{esm2020 → esm2022}/index.mjs +0 -0
- /package/typeahead/{esm2020 → esm2022}/latin-map.mjs +0 -0
- /package/typeahead/{esm2020 → esm2022}/models/index.mjs +0 -0
- /package/typeahead/{esm2020 → esm2022}/ngx-bootstrap-typeahead.mjs +0 -0
- /package/typeahead/{esm2020 → esm2022}/public_api.mjs +0 -0
- /package/typeahead/{esm2020 → esm2022}/typeahead-animations.mjs +0 -0
- /package/typeahead/{esm2020 → esm2022}/typeahead-match.class.mjs +0 -0
- /package/typeahead/{esm2020 → esm2022}/typeahead-options.class.mjs +0 -0
- /package/typeahead/{esm2020 → esm2022}/typeahead-order.class.mjs +0 -0
- /package/typeahead/{esm2020 → esm2022}/typeahead-utils.mjs +0 -0
- /package/utils/{esm2020 → esm2022}/decorators.mjs +0 -0
- /package/utils/{esm2020 → esm2022}/facade/browser.mjs +0 -0
- /package/utils/{esm2020 → esm2022}/index.mjs +0 -0
- /package/utils/{esm2020 → esm2022}/linked-list.class.mjs +0 -0
- /package/utils/{esm2020 → esm2022}/ngx-bootstrap-utils.mjs +0 -0
- /package/utils/{esm2020 → esm2022}/public_api.mjs +0 -0
- /package/utils/{esm2020 → esm2022}/theme-provider.mjs +0 -0
- /package/utils/{esm2020 → esm2022}/trigger.class.mjs +0 -0
- /package/utils/{esm2020 → esm2022}/triggers.mjs +0 -0
- /package/utils/{esm2020 → esm2022}/utils.class.mjs +0 -0
- /package/utils/{esm2020 → esm2022}/warn-once.mjs +0 -0
- /package/utils/{fesm2020 → fesm2022}/ngx-bootstrap-utils.mjs +0 -0
@@ -1,851 +0,0 @@
|
|
1
|
-
import * as i0 from '@angular/core';
|
2
|
-
import { Injectable, EventEmitter, PLATFORM_ID, Component, Inject, Input, Output, HostBinding, NgModule } from '@angular/core';
|
3
|
-
import * as i2 from '@angular/common';
|
4
|
-
import { isPlatformBrowser, CommonModule } from '@angular/common';
|
5
|
-
import { LinkedList, getBsVer } from 'ngx-bootstrap/utils';
|
6
|
-
|
7
|
-
/**
|
8
|
-
* Returns the index of the last element in the array where predicate is true, and -1
|
9
|
-
* otherwise.
|
10
|
-
* @param array The source array to search in
|
11
|
-
* @param predicate find calls predicate once for each element of the array, in descending
|
12
|
-
* order, until it finds one where predicate returns true. If such an element is found,
|
13
|
-
* findLastIndex immediately returns that element index. Otherwise, findLastIndex returns -1.
|
14
|
-
*/
|
15
|
-
function findLastIndex(array, predicate) {
|
16
|
-
let l = array.length;
|
17
|
-
while (l--) {
|
18
|
-
if (predicate(array[l], l, array)) {
|
19
|
-
return l;
|
20
|
-
}
|
21
|
-
}
|
22
|
-
return -1;
|
23
|
-
}
|
24
|
-
function chunkByNumber(array, size) {
|
25
|
-
const out = [];
|
26
|
-
const n = Math.ceil((array.length) / size);
|
27
|
-
let i = 0;
|
28
|
-
while (i < n) {
|
29
|
-
const chunk = array.splice(0, (i === n - 1) && size < array.length ? array.length : size);
|
30
|
-
out.push(chunk);
|
31
|
-
i++;
|
32
|
-
}
|
33
|
-
return out;
|
34
|
-
}
|
35
|
-
function isNumber(value) {
|
36
|
-
return typeof value === 'number' || Object.prototype.toString.call(value) === '[object Number]';
|
37
|
-
}
|
38
|
-
|
39
|
-
class CarouselConfig {
|
40
|
-
constructor() {
|
41
|
-
/* Default interval of auto changing of slides */
|
42
|
-
this.interval = 5000;
|
43
|
-
/* Is loop of auto changing of slides can be paused */
|
44
|
-
this.noPause = false;
|
45
|
-
/* Is slides can wrap from the last to the first slide */
|
46
|
-
this.noWrap = false;
|
47
|
-
/* Show carousel-indicators */
|
48
|
-
this.showIndicators = true;
|
49
|
-
/* Slides can be paused on focus */
|
50
|
-
this.pauseOnFocus = false;
|
51
|
-
/* If `true` - carousel indicators indicate slides chunks works ONLY if singleSlideOffset = FALSE */
|
52
|
-
this.indicatorsByChunk = false;
|
53
|
-
/* If value more then 1 — carousel works in multilist mode */
|
54
|
-
this.itemsPerSlide = 1;
|
55
|
-
/* If `true` — carousel shifts by one element. By default carousel shifts by number
|
56
|
-
of visible elements (itemsPerSlide field) */
|
57
|
-
this.singleSlideOffset = false;
|
58
|
-
}
|
59
|
-
}
|
60
|
-
CarouselConfig.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: CarouselConfig, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
61
|
-
CarouselConfig.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: CarouselConfig, providedIn: 'root' });
|
62
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: CarouselConfig, decorators: [{
|
63
|
-
type: Injectable,
|
64
|
-
args: [{
|
65
|
-
providedIn: 'root'
|
66
|
-
}]
|
67
|
-
}] });
|
68
|
-
|
69
|
-
/***
|
70
|
-
* pause (not yet supported) (?string='hover') - event group name which pauses
|
71
|
-
* the cycling of the carousel, if hover pauses on mouseenter and resumes on
|
72
|
-
* mouseleave keyboard (not yet supported) (?boolean=true) - if false
|
73
|
-
* carousel will not react to keyboard events
|
74
|
-
* note: swiping not yet supported
|
75
|
-
*/
|
76
|
-
var Direction;
|
77
|
-
(function (Direction) {
|
78
|
-
Direction[Direction["UNKNOWN"] = 0] = "UNKNOWN";
|
79
|
-
Direction[Direction["NEXT"] = 1] = "NEXT";
|
80
|
-
Direction[Direction["PREV"] = 2] = "PREV";
|
81
|
-
})(Direction || (Direction = {}));
|
82
|
-
let _currentId = 1;
|
83
|
-
/**
|
84
|
-
* Base element to create carousel
|
85
|
-
*/
|
86
|
-
class CarouselComponent {
|
87
|
-
constructor(config, ngZone, platformId) {
|
88
|
-
this.ngZone = ngZone;
|
89
|
-
this.platformId = platformId;
|
90
|
-
/* If `true` — carousel will not cycle continuously and will have hard stops (prevent looping) */
|
91
|
-
this.noWrap = false;
|
92
|
-
/* If `true` — will disable pausing on carousel mouse hover */
|
93
|
-
this.noPause = false;
|
94
|
-
/* If `true` — carousel-indicators are visible */
|
95
|
-
this.showIndicators = true;
|
96
|
-
/* If `true` - autoplay will be stopped on focus */
|
97
|
-
this.pauseOnFocus = false;
|
98
|
-
/* If `true` - carousel indicators indicate slides chunks
|
99
|
-
works ONLY if singleSlideOffset = FALSE */
|
100
|
-
this.indicatorsByChunk = false;
|
101
|
-
/* If value more then 1 — carousel works in multilist mode */
|
102
|
-
this.itemsPerSlide = 1;
|
103
|
-
/* If `true` — carousel shifts by one element. By default carousel shifts by number
|
104
|
-
of visible elements (itemsPerSlide field) */
|
105
|
-
this.singleSlideOffset = false;
|
106
|
-
/** Turn on/off animation. Animation doesn't work for multilist carousel */
|
107
|
-
this.isAnimated = false;
|
108
|
-
/** Will be emitted when active slide has been changed. Part of two-way-bindable [(activeSlide)] property */
|
109
|
-
this.activeSlideChange = new EventEmitter(false);
|
110
|
-
/** Will be emitted when active slides has been changed in multilist mode */
|
111
|
-
this.slideRangeChange = new EventEmitter();
|
112
|
-
/* Index to start display slides from it */
|
113
|
-
this.startFromIndex = 0;
|
114
|
-
this._interval = 5000;
|
115
|
-
this._slides = new LinkedList();
|
116
|
-
this._currentVisibleSlidesIndex = 0;
|
117
|
-
this.isPlaying = false;
|
118
|
-
this.destroyed = false;
|
119
|
-
this.currentId = 0;
|
120
|
-
this.getActive = (slide) => slide.active;
|
121
|
-
this.makeSlidesConsistent = (slides) => {
|
122
|
-
slides.forEach((slide, index) => slide.item.order = index);
|
123
|
-
};
|
124
|
-
Object.assign(this, config);
|
125
|
-
this.currentId = _currentId++;
|
126
|
-
}
|
127
|
-
/** Index of currently displayed slide(started for 0) */
|
128
|
-
set activeSlide(index) {
|
129
|
-
if (this.multilist) {
|
130
|
-
return;
|
131
|
-
}
|
132
|
-
if (isNumber(index)) {
|
133
|
-
this.customActiveSlide = index;
|
134
|
-
}
|
135
|
-
if (this._slides.length && index !== this._currentActiveSlide) {
|
136
|
-
this._select(index);
|
137
|
-
}
|
138
|
-
}
|
139
|
-
get activeSlide() {
|
140
|
-
return this._currentActiveSlide || 0;
|
141
|
-
}
|
142
|
-
/**
|
143
|
-
* Delay of item cycling in milliseconds. If false, carousel won't cycle
|
144
|
-
* automatically.
|
145
|
-
*/
|
146
|
-
get interval() {
|
147
|
-
return this._interval;
|
148
|
-
}
|
149
|
-
set interval(value) {
|
150
|
-
this._interval = value;
|
151
|
-
this.restartTimer();
|
152
|
-
}
|
153
|
-
get slides() {
|
154
|
-
return this._slides.toArray();
|
155
|
-
}
|
156
|
-
get isFirstSlideVisible() {
|
157
|
-
const indexes = this.getVisibleIndexes();
|
158
|
-
if (!indexes || (indexes instanceof Array && !indexes.length)) {
|
159
|
-
return false;
|
160
|
-
}
|
161
|
-
return indexes.includes(0);
|
162
|
-
}
|
163
|
-
get isLastSlideVisible() {
|
164
|
-
const indexes = this.getVisibleIndexes();
|
165
|
-
if (!indexes || (indexes instanceof Array && !indexes.length)) {
|
166
|
-
return false;
|
167
|
-
}
|
168
|
-
return indexes.includes(this._slides.length - 1);
|
169
|
-
}
|
170
|
-
get _bsVer() {
|
171
|
-
return getBsVer();
|
172
|
-
}
|
173
|
-
ngAfterViewInit() {
|
174
|
-
setTimeout(() => {
|
175
|
-
if (this.singleSlideOffset) {
|
176
|
-
this.indicatorsByChunk = false;
|
177
|
-
}
|
178
|
-
if (this.multilist) {
|
179
|
-
this._chunkedSlides = chunkByNumber(this.mapSlidesAndIndexes(), this.itemsPerSlide);
|
180
|
-
this.selectInitialSlides();
|
181
|
-
}
|
182
|
-
if (this.customActiveSlide && !this.multilist) {
|
183
|
-
this._select(this.customActiveSlide);
|
184
|
-
}
|
185
|
-
}, 0);
|
186
|
-
}
|
187
|
-
ngOnDestroy() {
|
188
|
-
this.destroyed = true;
|
189
|
-
}
|
190
|
-
/**
|
191
|
-
* Adds new slide. If this slide is first in collection - set it as active
|
192
|
-
* and starts auto changing
|
193
|
-
* @param slide
|
194
|
-
*/
|
195
|
-
addSlide(slide) {
|
196
|
-
this._slides.add(slide);
|
197
|
-
if (this.multilist && this._slides.length <= this.itemsPerSlide) {
|
198
|
-
slide.active = true;
|
199
|
-
}
|
200
|
-
if (!this.multilist && this.isAnimated) {
|
201
|
-
slide.isAnimated = true;
|
202
|
-
}
|
203
|
-
if (!this.multilist && this._slides.length === 1) {
|
204
|
-
this._currentActiveSlide = undefined;
|
205
|
-
if (!this.customActiveSlide) {
|
206
|
-
this.activeSlide = 0;
|
207
|
-
}
|
208
|
-
this.play();
|
209
|
-
}
|
210
|
-
if (this.multilist && this._slides.length > this.itemsPerSlide) {
|
211
|
-
this.play();
|
212
|
-
}
|
213
|
-
}
|
214
|
-
/**
|
215
|
-
* Removes specified slide. If this slide is active - will roll to another
|
216
|
-
* slide
|
217
|
-
* @param slide
|
218
|
-
*/
|
219
|
-
removeSlide(slide) {
|
220
|
-
const remIndex = this._slides.indexOf(slide);
|
221
|
-
if (this._currentActiveSlide === remIndex) {
|
222
|
-
// removing of active slide
|
223
|
-
let nextSlideIndex;
|
224
|
-
if (this._slides.length > 1) {
|
225
|
-
// if this slide last - will roll to first slide, if noWrap flag is
|
226
|
-
// FALSE or to previous, if noWrap is TRUE in case, if this slide in
|
227
|
-
// middle of collection, index of next slide is same to removed
|
228
|
-
nextSlideIndex = !this.isLast(remIndex)
|
229
|
-
? remIndex
|
230
|
-
: this.noWrap ? remIndex - 1 : 0;
|
231
|
-
}
|
232
|
-
this._slides.remove(remIndex);
|
233
|
-
// prevents exception with changing some value after checking
|
234
|
-
setTimeout(() => {
|
235
|
-
this._select(nextSlideIndex);
|
236
|
-
}, 0);
|
237
|
-
}
|
238
|
-
else {
|
239
|
-
this._slides.remove(remIndex);
|
240
|
-
const currentSlideIndex = this.getCurrentSlideIndex();
|
241
|
-
setTimeout(() => {
|
242
|
-
// after removing, need to actualize index of current active slide
|
243
|
-
this._currentActiveSlide = currentSlideIndex;
|
244
|
-
this.activeSlideChange.emit(this._currentActiveSlide);
|
245
|
-
}, 0);
|
246
|
-
}
|
247
|
-
}
|
248
|
-
nextSlideFromInterval(force = false) {
|
249
|
-
this.move(Direction.NEXT, force);
|
250
|
-
}
|
251
|
-
/**
|
252
|
-
* Rolling to next slide
|
253
|
-
* @param force: {boolean} if true - will ignore noWrap flag
|
254
|
-
*/
|
255
|
-
nextSlide(force = false) {
|
256
|
-
if (this.isPlaying) {
|
257
|
-
this.restartTimer();
|
258
|
-
}
|
259
|
-
this.move(Direction.NEXT, force);
|
260
|
-
}
|
261
|
-
/**
|
262
|
-
* Rolling to previous slide
|
263
|
-
* @param force: {boolean} if true - will ignore noWrap flag
|
264
|
-
*/
|
265
|
-
previousSlide(force = false) {
|
266
|
-
if (this.isPlaying) {
|
267
|
-
this.restartTimer();
|
268
|
-
}
|
269
|
-
this.move(Direction.PREV, force);
|
270
|
-
}
|
271
|
-
getFirstVisibleIndex() {
|
272
|
-
return this.slides.findIndex(this.getActive);
|
273
|
-
}
|
274
|
-
getLastVisibleIndex() {
|
275
|
-
return findLastIndex(this.slides, this.getActive);
|
276
|
-
}
|
277
|
-
move(direction, force = false) {
|
278
|
-
const firstVisibleIndex = this.getFirstVisibleIndex();
|
279
|
-
const lastVisibleIndex = this.getLastVisibleIndex();
|
280
|
-
if (this.noWrap) {
|
281
|
-
if (direction === Direction.NEXT &&
|
282
|
-
this.isLast(lastVisibleIndex) ||
|
283
|
-
direction === Direction.PREV &&
|
284
|
-
firstVisibleIndex === 0) {
|
285
|
-
return;
|
286
|
-
}
|
287
|
-
}
|
288
|
-
if (!this.multilist) {
|
289
|
-
this.activeSlide = this.findNextSlideIndex(direction, force) || 0;
|
290
|
-
}
|
291
|
-
else {
|
292
|
-
this.moveMultilist(direction);
|
293
|
-
}
|
294
|
-
}
|
295
|
-
/**
|
296
|
-
* Swith slides by enter, space and arrows keys
|
297
|
-
* @internal
|
298
|
-
*/
|
299
|
-
keydownPress(event) {
|
300
|
-
if (event.keyCode === 13 || event.key === 'Enter' || event.keyCode === 32 || event.key === 'Space') {
|
301
|
-
this.nextSlide();
|
302
|
-
event.preventDefault();
|
303
|
-
return;
|
304
|
-
}
|
305
|
-
if (event.keyCode === 37 || event.key === 'LeftArrow') {
|
306
|
-
this.previousSlide();
|
307
|
-
return;
|
308
|
-
}
|
309
|
-
if (event.keyCode === 39 || event.key === 'RightArrow') {
|
310
|
-
this.nextSlide();
|
311
|
-
return;
|
312
|
-
}
|
313
|
-
}
|
314
|
-
/**
|
315
|
-
* Play on mouse leave
|
316
|
-
* @internal
|
317
|
-
*/
|
318
|
-
onMouseLeave() {
|
319
|
-
if (!this.pauseOnFocus) {
|
320
|
-
this.play();
|
321
|
-
}
|
322
|
-
}
|
323
|
-
/**
|
324
|
-
* Play on mouse up
|
325
|
-
* @internal
|
326
|
-
*/
|
327
|
-
onMouseUp() {
|
328
|
-
if (!this.pauseOnFocus) {
|
329
|
-
this.play();
|
330
|
-
}
|
331
|
-
}
|
332
|
-
/**
|
333
|
-
* When slides on focus autoplay is stopped(optional)
|
334
|
-
* @internal
|
335
|
-
*/
|
336
|
-
pauseFocusIn() {
|
337
|
-
if (this.pauseOnFocus) {
|
338
|
-
this.isPlaying = false;
|
339
|
-
this.resetTimer();
|
340
|
-
}
|
341
|
-
}
|
342
|
-
/**
|
343
|
-
* When slides out of focus autoplay is started
|
344
|
-
* @internal
|
345
|
-
*/
|
346
|
-
pauseFocusOut() {
|
347
|
-
this.play();
|
348
|
-
}
|
349
|
-
/**
|
350
|
-
* Rolling to specified slide
|
351
|
-
* @param index: {number} index of slide, which must be shown
|
352
|
-
*/
|
353
|
-
selectSlide(index) {
|
354
|
-
if (this.isPlaying) {
|
355
|
-
this.restartTimer();
|
356
|
-
}
|
357
|
-
if (!this.multilist) {
|
358
|
-
this.activeSlide = this.indicatorsByChunk ? index * this.itemsPerSlide : index;
|
359
|
-
}
|
360
|
-
else {
|
361
|
-
this.selectSlideRange(this.indicatorsByChunk ? index * this.itemsPerSlide : index);
|
362
|
-
}
|
363
|
-
}
|
364
|
-
/**
|
365
|
-
* Starts a auto changing of slides
|
366
|
-
*/
|
367
|
-
play() {
|
368
|
-
if (!this.isPlaying) {
|
369
|
-
this.isPlaying = true;
|
370
|
-
this.restartTimer();
|
371
|
-
}
|
372
|
-
}
|
373
|
-
/**
|
374
|
-
* Stops a auto changing of slides
|
375
|
-
*/
|
376
|
-
pause() {
|
377
|
-
if (!this.noPause) {
|
378
|
-
this.isPlaying = false;
|
379
|
-
this.resetTimer();
|
380
|
-
}
|
381
|
-
}
|
382
|
-
/**
|
383
|
-
* Finds and returns index of currently displayed slide
|
384
|
-
*/
|
385
|
-
getCurrentSlideIndex() {
|
386
|
-
return this._slides.findIndex(this.getActive);
|
387
|
-
}
|
388
|
-
/**
|
389
|
-
* Defines, whether the specified index is last in collection
|
390
|
-
* @param index
|
391
|
-
*/
|
392
|
-
isLast(index) {
|
393
|
-
return index + 1 >= this._slides.length;
|
394
|
-
}
|
395
|
-
/**
|
396
|
-
* Defines, whether the specified index is first in collection
|
397
|
-
* @param index
|
398
|
-
*/
|
399
|
-
isFirst(index) {
|
400
|
-
return index === 0;
|
401
|
-
}
|
402
|
-
indicatorsSlides() {
|
403
|
-
return this.slides.filter((slide, index) => !this.indicatorsByChunk || index % this.itemsPerSlide === 0);
|
404
|
-
}
|
405
|
-
selectInitialSlides() {
|
406
|
-
const startIndex = this.startFromIndex <= this._slides.length
|
407
|
-
? this.startFromIndex
|
408
|
-
: 0;
|
409
|
-
this.hideSlides();
|
410
|
-
if (this.singleSlideOffset) {
|
411
|
-
this._slidesWithIndexes = this.mapSlidesAndIndexes();
|
412
|
-
if (this._slides.length - startIndex < this.itemsPerSlide) {
|
413
|
-
const slidesToAppend = this._slidesWithIndexes.slice(0, startIndex);
|
414
|
-
this._slidesWithIndexes = [
|
415
|
-
...this._slidesWithIndexes,
|
416
|
-
...slidesToAppend
|
417
|
-
]
|
418
|
-
.slice(slidesToAppend.length)
|
419
|
-
.slice(0, this.itemsPerSlide);
|
420
|
-
}
|
421
|
-
else {
|
422
|
-
this._slidesWithIndexes = this._slidesWithIndexes.slice(startIndex, startIndex + this.itemsPerSlide);
|
423
|
-
}
|
424
|
-
this._slidesWithIndexes.forEach((slide) => slide.item.active = true);
|
425
|
-
this.makeSlidesConsistent(this._slidesWithIndexes);
|
426
|
-
}
|
427
|
-
else {
|
428
|
-
this.selectRangeByNestedIndex(startIndex);
|
429
|
-
}
|
430
|
-
this.slideRangeChange.emit(this.getVisibleIndexes());
|
431
|
-
}
|
432
|
-
/**
|
433
|
-
* Defines next slide index, depending of direction
|
434
|
-
* @param direction: Direction(UNKNOWN|PREV|NEXT)
|
435
|
-
* @param force: {boolean} if TRUE - will ignore noWrap flag, else will
|
436
|
-
* return undefined if next slide require wrapping
|
437
|
-
*/
|
438
|
-
findNextSlideIndex(direction, force) {
|
439
|
-
let nextSlideIndex = 0;
|
440
|
-
if (!force &&
|
441
|
-
(this.isLast(this.activeSlide) &&
|
442
|
-
direction !== Direction.PREV &&
|
443
|
-
this.noWrap)) {
|
444
|
-
return;
|
445
|
-
}
|
446
|
-
switch (direction) {
|
447
|
-
case Direction.NEXT:
|
448
|
-
// if this is last slide, not force, looping is disabled
|
449
|
-
// and need to going forward - select current slide, as a next
|
450
|
-
if (typeof this._currentActiveSlide === 'undefined') {
|
451
|
-
nextSlideIndex = 0;
|
452
|
-
break;
|
453
|
-
}
|
454
|
-
if (!this.isLast(this._currentActiveSlide)) {
|
455
|
-
nextSlideIndex = this._currentActiveSlide + 1;
|
456
|
-
break;
|
457
|
-
}
|
458
|
-
nextSlideIndex = !force && this.noWrap ? this._currentActiveSlide : 0;
|
459
|
-
break;
|
460
|
-
case Direction.PREV:
|
461
|
-
// if this is first slide, not force, looping is disabled
|
462
|
-
// and need to going backward - select current slide, as a next
|
463
|
-
if (typeof this._currentActiveSlide === 'undefined') {
|
464
|
-
nextSlideIndex = 0;
|
465
|
-
break;
|
466
|
-
}
|
467
|
-
if (this._currentActiveSlide > 0) {
|
468
|
-
nextSlideIndex = this._currentActiveSlide - 1;
|
469
|
-
break;
|
470
|
-
}
|
471
|
-
if (!force && this.noWrap) {
|
472
|
-
nextSlideIndex = this._currentActiveSlide;
|
473
|
-
break;
|
474
|
-
}
|
475
|
-
nextSlideIndex = this._slides.length - 1;
|
476
|
-
break;
|
477
|
-
default:
|
478
|
-
throw new Error('Unknown direction');
|
479
|
-
}
|
480
|
-
return nextSlideIndex;
|
481
|
-
}
|
482
|
-
mapSlidesAndIndexes() {
|
483
|
-
return this.slides
|
484
|
-
.slice()
|
485
|
-
.map((slide, index) => {
|
486
|
-
return {
|
487
|
-
index,
|
488
|
-
item: slide
|
489
|
-
};
|
490
|
-
});
|
491
|
-
}
|
492
|
-
selectSlideRange(index) {
|
493
|
-
if (this.isIndexInRange(index)) {
|
494
|
-
return;
|
495
|
-
}
|
496
|
-
this.hideSlides();
|
497
|
-
if (!this.singleSlideOffset) {
|
498
|
-
this.selectRangeByNestedIndex(index);
|
499
|
-
}
|
500
|
-
else {
|
501
|
-
const startIndex = this.isIndexOnTheEdges(index)
|
502
|
-
? index
|
503
|
-
: index - this.itemsPerSlide + 1;
|
504
|
-
const endIndex = this.isIndexOnTheEdges(index)
|
505
|
-
? index + this.itemsPerSlide
|
506
|
-
: index + 1;
|
507
|
-
this._slidesWithIndexes = this.mapSlidesAndIndexes().slice(startIndex, endIndex);
|
508
|
-
this.makeSlidesConsistent(this._slidesWithIndexes);
|
509
|
-
this._slidesWithIndexes.forEach((slide) => slide.item.active = true);
|
510
|
-
}
|
511
|
-
this.slideRangeChange.emit(this.getVisibleIndexes());
|
512
|
-
}
|
513
|
-
selectRangeByNestedIndex(index) {
|
514
|
-
if (!this._chunkedSlides) {
|
515
|
-
return;
|
516
|
-
}
|
517
|
-
const selectedRange = this._chunkedSlides
|
518
|
-
.map((slidesList, i) => {
|
519
|
-
return {
|
520
|
-
index: i,
|
521
|
-
list: slidesList
|
522
|
-
};
|
523
|
-
})
|
524
|
-
.find((slidesList) => {
|
525
|
-
return slidesList.list.find(slide => slide.index === index) !== undefined;
|
526
|
-
});
|
527
|
-
if (!selectedRange) {
|
528
|
-
return;
|
529
|
-
}
|
530
|
-
this._currentVisibleSlidesIndex = selectedRange.index;
|
531
|
-
this._chunkedSlides[selectedRange.index].forEach((slide) => {
|
532
|
-
slide.item.active = true;
|
533
|
-
});
|
534
|
-
}
|
535
|
-
isIndexOnTheEdges(index) {
|
536
|
-
return (index + 1 - this.itemsPerSlide <= 0 ||
|
537
|
-
index + this.itemsPerSlide <= this._slides.length);
|
538
|
-
}
|
539
|
-
isIndexInRange(index) {
|
540
|
-
if (this.singleSlideOffset && this._slidesWithIndexes) {
|
541
|
-
const visibleIndexes = this._slidesWithIndexes.map((slide) => slide.index);
|
542
|
-
return visibleIndexes.indexOf(index) >= 0;
|
543
|
-
}
|
544
|
-
return (index <= this.getLastVisibleIndex() &&
|
545
|
-
index >= this.getFirstVisibleIndex());
|
546
|
-
}
|
547
|
-
hideSlides() {
|
548
|
-
this.slides.forEach((slide) => slide.active = false);
|
549
|
-
}
|
550
|
-
isVisibleSlideListLast() {
|
551
|
-
if (!this._chunkedSlides) {
|
552
|
-
return false;
|
553
|
-
}
|
554
|
-
return this._currentVisibleSlidesIndex === this._chunkedSlides.length - 1;
|
555
|
-
}
|
556
|
-
isVisibleSlideListFirst() {
|
557
|
-
return this._currentVisibleSlidesIndex === 0;
|
558
|
-
}
|
559
|
-
moveSliderByOneItem(direction) {
|
560
|
-
let firstVisibleIndex;
|
561
|
-
let lastVisibleIndex;
|
562
|
-
let indexToHide;
|
563
|
-
let indexToShow;
|
564
|
-
if (this.noWrap) {
|
565
|
-
firstVisibleIndex = this.getFirstVisibleIndex();
|
566
|
-
lastVisibleIndex = this.getLastVisibleIndex();
|
567
|
-
indexToHide = direction === Direction.NEXT
|
568
|
-
? firstVisibleIndex
|
569
|
-
: lastVisibleIndex;
|
570
|
-
indexToShow = direction !== Direction.NEXT
|
571
|
-
? firstVisibleIndex - 1
|
572
|
-
: !this.isLast(lastVisibleIndex)
|
573
|
-
? lastVisibleIndex + 1 : 0;
|
574
|
-
const slideToHide = this._slides.get(indexToHide);
|
575
|
-
if (slideToHide) {
|
576
|
-
slideToHide.active = false;
|
577
|
-
}
|
578
|
-
const slideToShow = this._slides.get(indexToShow);
|
579
|
-
if (slideToShow) {
|
580
|
-
slideToShow.active = true;
|
581
|
-
}
|
582
|
-
const slidesToReorder = this.mapSlidesAndIndexes().filter((slide) => slide.item.active);
|
583
|
-
this.makeSlidesConsistent(slidesToReorder);
|
584
|
-
if (this.singleSlideOffset) {
|
585
|
-
this._slidesWithIndexes = slidesToReorder;
|
586
|
-
}
|
587
|
-
this.slideRangeChange.emit(this.getVisibleIndexes());
|
588
|
-
return;
|
589
|
-
}
|
590
|
-
if (!this._slidesWithIndexes || !this._slidesWithIndexes[0]) {
|
591
|
-
return;
|
592
|
-
}
|
593
|
-
let index;
|
594
|
-
firstVisibleIndex = this._slidesWithIndexes[0].index;
|
595
|
-
lastVisibleIndex = this._slidesWithIndexes[this._slidesWithIndexes.length - 1].index;
|
596
|
-
if (direction === Direction.NEXT) {
|
597
|
-
this._slidesWithIndexes.shift();
|
598
|
-
index = this.isLast(lastVisibleIndex)
|
599
|
-
? 0
|
600
|
-
: lastVisibleIndex + 1;
|
601
|
-
const item = this._slides.get(index);
|
602
|
-
if (item) {
|
603
|
-
this._slidesWithIndexes.push({ index, item });
|
604
|
-
}
|
605
|
-
}
|
606
|
-
else {
|
607
|
-
this._slidesWithIndexes.pop();
|
608
|
-
index = this.isFirst(firstVisibleIndex)
|
609
|
-
? this._slides.length - 1
|
610
|
-
: firstVisibleIndex - 1;
|
611
|
-
const item = this._slides.get(index);
|
612
|
-
if (item) {
|
613
|
-
this._slidesWithIndexes = [{ index, item }, ...this._slidesWithIndexes];
|
614
|
-
}
|
615
|
-
}
|
616
|
-
this.hideSlides();
|
617
|
-
this._slidesWithIndexes.forEach(slide => slide.item.active = true);
|
618
|
-
this.makeSlidesConsistent(this._slidesWithIndexes);
|
619
|
-
this.slideRangeChange.emit(this._slidesWithIndexes.map((slide) => slide.index));
|
620
|
-
}
|
621
|
-
moveMultilist(direction) {
|
622
|
-
if (this.singleSlideOffset) {
|
623
|
-
this.moveSliderByOneItem(direction);
|
624
|
-
}
|
625
|
-
else {
|
626
|
-
this.hideSlides();
|
627
|
-
if (this.noWrap) {
|
628
|
-
this._currentVisibleSlidesIndex = direction === Direction.NEXT
|
629
|
-
? this._currentVisibleSlidesIndex + 1
|
630
|
-
: this._currentVisibleSlidesIndex - 1;
|
631
|
-
}
|
632
|
-
else if (direction === Direction.NEXT) {
|
633
|
-
this._currentVisibleSlidesIndex = this.isVisibleSlideListLast()
|
634
|
-
? 0
|
635
|
-
: this._currentVisibleSlidesIndex + 1;
|
636
|
-
}
|
637
|
-
else {
|
638
|
-
if (this.isVisibleSlideListFirst()) {
|
639
|
-
this._currentVisibleSlidesIndex = this._chunkedSlides
|
640
|
-
? this._chunkedSlides.length - 1
|
641
|
-
: 0;
|
642
|
-
}
|
643
|
-
else {
|
644
|
-
this._currentVisibleSlidesIndex = this._currentVisibleSlidesIndex - 1;
|
645
|
-
}
|
646
|
-
}
|
647
|
-
if (this._chunkedSlides) {
|
648
|
-
this._chunkedSlides[this._currentVisibleSlidesIndex].forEach((slide) => slide.item.active = true);
|
649
|
-
}
|
650
|
-
this.slideRangeChange.emit(this.getVisibleIndexes());
|
651
|
-
}
|
652
|
-
}
|
653
|
-
getVisibleIndexes() {
|
654
|
-
if (!this.singleSlideOffset && this._chunkedSlides) {
|
655
|
-
return this._chunkedSlides[this._currentVisibleSlidesIndex]
|
656
|
-
.map((slide) => slide.index);
|
657
|
-
}
|
658
|
-
if (this._slidesWithIndexes) {
|
659
|
-
return this._slidesWithIndexes.map((slide) => slide.index);
|
660
|
-
}
|
661
|
-
}
|
662
|
-
/**
|
663
|
-
* Sets a slide, which specified through index, as active
|
664
|
-
* @param index
|
665
|
-
*/
|
666
|
-
_select(index) {
|
667
|
-
if (isNaN(index)) {
|
668
|
-
this.pause();
|
669
|
-
return;
|
670
|
-
}
|
671
|
-
if (!this.multilist && typeof this._currentActiveSlide !== 'undefined') {
|
672
|
-
const currentSlide = this._slides.get(this._currentActiveSlide);
|
673
|
-
if (typeof currentSlide !== 'undefined') {
|
674
|
-
currentSlide.active = false;
|
675
|
-
}
|
676
|
-
}
|
677
|
-
const nextSlide = this._slides.get(index);
|
678
|
-
if (typeof nextSlide !== 'undefined') {
|
679
|
-
this._currentActiveSlide = index;
|
680
|
-
nextSlide.active = true;
|
681
|
-
this.activeSlide = index;
|
682
|
-
this.activeSlideChange.emit(index);
|
683
|
-
}
|
684
|
-
}
|
685
|
-
/**
|
686
|
-
* Starts loop of auto changing of slides
|
687
|
-
*/
|
688
|
-
restartTimer() {
|
689
|
-
this.resetTimer();
|
690
|
-
const interval = +this.interval;
|
691
|
-
if (!isNaN(interval) && interval > 0 && isPlatformBrowser(this.platformId)) {
|
692
|
-
this.currentInterval = this.ngZone.runOutsideAngular(() => {
|
693
|
-
return window.setInterval(() => {
|
694
|
-
const nInterval = +this.interval;
|
695
|
-
this.ngZone.run(() => {
|
696
|
-
if (this.isPlaying &&
|
697
|
-
!isNaN(this.interval) &&
|
698
|
-
nInterval > 0 &&
|
699
|
-
this.slides.length) {
|
700
|
-
this.nextSlideFromInterval();
|
701
|
-
}
|
702
|
-
else {
|
703
|
-
this.pause();
|
704
|
-
}
|
705
|
-
});
|
706
|
-
}, interval);
|
707
|
-
});
|
708
|
-
}
|
709
|
-
}
|
710
|
-
get multilist() {
|
711
|
-
return this.itemsPerSlide > 1;
|
712
|
-
}
|
713
|
-
/**
|
714
|
-
* Stops loop of auto changing of slides
|
715
|
-
*/
|
716
|
-
resetTimer() {
|
717
|
-
if (this.currentInterval) {
|
718
|
-
clearInterval(this.currentInterval);
|
719
|
-
this.currentInterval = void 0;
|
720
|
-
}
|
721
|
-
}
|
722
|
-
checkDisabledClass(buttonType) {
|
723
|
-
if (buttonType === 'prev') {
|
724
|
-
return (this.activeSlide === 0 && this.noWrap && !this.multilist) || (this.isFirstSlideVisible && this.noWrap && this.multilist);
|
725
|
-
}
|
726
|
-
return (this.isLast(this.activeSlide) && this.noWrap && !this.multilist) || (this.isLastSlideVisible && this.noWrap && this.multilist);
|
727
|
-
}
|
728
|
-
}
|
729
|
-
CarouselComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: CarouselComponent, deps: [{ token: CarouselConfig }, { token: i0.NgZone }, { token: PLATFORM_ID }], target: i0.ɵɵFactoryTarget.Component });
|
730
|
-
CarouselComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.3", type: CarouselComponent, selector: "carousel", inputs: { noWrap: "noWrap", noPause: "noPause", showIndicators: "showIndicators", pauseOnFocus: "pauseOnFocus", indicatorsByChunk: "indicatorsByChunk", itemsPerSlide: "itemsPerSlide", singleSlideOffset: "singleSlideOffset", isAnimated: "isAnimated", activeSlide: "activeSlide", startFromIndex: "startFromIndex", interval: "interval" }, outputs: { activeSlideChange: "activeSlideChange", slideRangeChange: "slideRangeChange" }, ngImport: i0, template: "<div (mouseenter)=\"pause()\"\n (mouseleave)=\"onMouseLeave()\"\n (mouseup)=\"onMouseUp()\"\n (keydown)=\"keydownPress($event)\"\n (focusin)=\"pauseFocusIn()\"\n (focusout)=\"pauseFocusOut()\"\n [id]=\"'carousel' + currentId\"\n class=\"carousel slide\" tabindex=\"0\">\n <ng-container *ngIf=\"!_bsVer.isBs5 && showIndicators && slides.length > 1\">\n <ol class=\"carousel-indicators\">\n <li *ngFor=\"let slide of indicatorsSlides(); let i = index;\"\n [class.active]=\"slide.active === true\"\n (click)=\"selectSlide(i)\">\n </li>\n </ol>\n </ng-container>\n <ng-container *ngIf=\"_bsVer.isBs5 && showIndicators && slides.length > 1\">\n <div class=\"carousel-indicators\">\n <button\n *ngFor=\"let slide of indicatorsSlides(); let i = index;\"\n [class.active]=\"slide.active === true\"\n (click)=\"selectSlide(i)\"\n type=\"button\"\n [attr.data-bs-target]=\"'#carousel' + currentId\"\n [attr.data-bs-slide-to]=\"i\" aria-current=\"true\"\n >\n </button>\n </div>\n </ng-container>\n <div class=\"carousel-inner\" [ngStyle]=\"{'display': multilist ? 'flex' : 'block'}\">\n <ng-content></ng-content>\n </div>\n <a class=\"left carousel-control carousel-control-prev\"\n href=\"javascript:void(0);\"\n [class.disabled]=\"checkDisabledClass('prev')\"\n [attr.data-bs-target]=\"'#carousel' + currentId\"\n *ngIf=\"slides.length > 1\"\n (click)=\"previousSlide()\"\n tabindex=\"0\" role=\"button\">\n <span class=\"icon-prev carousel-control-prev-icon\" aria-hidden=\"true\"></span>\n <span class=\"sr-only visually-hidden\">Previous</span>\n </a>\n\n <a class=\"right carousel-control carousel-control-next\"\n href=\"javascript:void(0);\"\n *ngIf=\"slides.length > 1\"\n (click)=\"nextSlide()\"\n [class.disabled]=\"checkDisabledClass('next')\"\n [attr.data-bs-target]=\"'#carousel' + currentId\"\n tabindex=\"0\" role=\"button\">\n <span class=\"icon-next carousel-control-next-icon\" aria-hidden=\"true\"></span>\n <span class=\"sr-only visually-hidden\">Next</span>\n </a>\n</div>\n", dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] });
|
731
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: CarouselComponent, decorators: [{
|
732
|
-
type: Component,
|
733
|
-
args: [{ selector: 'carousel', template: "<div (mouseenter)=\"pause()\"\n (mouseleave)=\"onMouseLeave()\"\n (mouseup)=\"onMouseUp()\"\n (keydown)=\"keydownPress($event)\"\n (focusin)=\"pauseFocusIn()\"\n (focusout)=\"pauseFocusOut()\"\n [id]=\"'carousel' + currentId\"\n class=\"carousel slide\" tabindex=\"0\">\n <ng-container *ngIf=\"!_bsVer.isBs5 && showIndicators && slides.length > 1\">\n <ol class=\"carousel-indicators\">\n <li *ngFor=\"let slide of indicatorsSlides(); let i = index;\"\n [class.active]=\"slide.active === true\"\n (click)=\"selectSlide(i)\">\n </li>\n </ol>\n </ng-container>\n <ng-container *ngIf=\"_bsVer.isBs5 && showIndicators && slides.length > 1\">\n <div class=\"carousel-indicators\">\n <button\n *ngFor=\"let slide of indicatorsSlides(); let i = index;\"\n [class.active]=\"slide.active === true\"\n (click)=\"selectSlide(i)\"\n type=\"button\"\n [attr.data-bs-target]=\"'#carousel' + currentId\"\n [attr.data-bs-slide-to]=\"i\" aria-current=\"true\"\n >\n </button>\n </div>\n </ng-container>\n <div class=\"carousel-inner\" [ngStyle]=\"{'display': multilist ? 'flex' : 'block'}\">\n <ng-content></ng-content>\n </div>\n <a class=\"left carousel-control carousel-control-prev\"\n href=\"javascript:void(0);\"\n [class.disabled]=\"checkDisabledClass('prev')\"\n [attr.data-bs-target]=\"'#carousel' + currentId\"\n *ngIf=\"slides.length > 1\"\n (click)=\"previousSlide()\"\n tabindex=\"0\" role=\"button\">\n <span class=\"icon-prev carousel-control-prev-icon\" aria-hidden=\"true\"></span>\n <span class=\"sr-only visually-hidden\">Previous</span>\n </a>\n\n <a class=\"right carousel-control carousel-control-next\"\n href=\"javascript:void(0);\"\n *ngIf=\"slides.length > 1\"\n (click)=\"nextSlide()\"\n [class.disabled]=\"checkDisabledClass('next')\"\n [attr.data-bs-target]=\"'#carousel' + currentId\"\n tabindex=\"0\" role=\"button\">\n <span class=\"icon-next carousel-control-next-icon\" aria-hidden=\"true\"></span>\n <span class=\"sr-only visually-hidden\">Next</span>\n </a>\n</div>\n" }]
|
734
|
-
}], ctorParameters: function () {
|
735
|
-
return [{ type: CarouselConfig }, { type: i0.NgZone }, { type: undefined, decorators: [{
|
736
|
-
type: Inject,
|
737
|
-
args: [PLATFORM_ID]
|
738
|
-
}] }];
|
739
|
-
}, propDecorators: { noWrap: [{
|
740
|
-
type: Input
|
741
|
-
}], noPause: [{
|
742
|
-
type: Input
|
743
|
-
}], showIndicators: [{
|
744
|
-
type: Input
|
745
|
-
}], pauseOnFocus: [{
|
746
|
-
type: Input
|
747
|
-
}], indicatorsByChunk: [{
|
748
|
-
type: Input
|
749
|
-
}], itemsPerSlide: [{
|
750
|
-
type: Input
|
751
|
-
}], singleSlideOffset: [{
|
752
|
-
type: Input
|
753
|
-
}], isAnimated: [{
|
754
|
-
type: Input
|
755
|
-
}], activeSlideChange: [{
|
756
|
-
type: Output
|
757
|
-
}], slideRangeChange: [{
|
758
|
-
type: Output
|
759
|
-
}], activeSlide: [{
|
760
|
-
type: Input
|
761
|
-
}], startFromIndex: [{
|
762
|
-
type: Input
|
763
|
-
}], interval: [{
|
764
|
-
type: Input
|
765
|
-
}] } });
|
766
|
-
|
767
|
-
class SlideComponent {
|
768
|
-
constructor(carousel) {
|
769
|
-
/** Is current slide active */
|
770
|
-
this.active = false;
|
771
|
-
this.itemWidth = '100%';
|
772
|
-
this.order = 0;
|
773
|
-
this.isAnimated = false;
|
774
|
-
/** Wraps element by appropriate CSS classes */
|
775
|
-
this.addClass = true;
|
776
|
-
this.multilist = false;
|
777
|
-
this.carousel = carousel;
|
778
|
-
}
|
779
|
-
/** Fires changes in container collection after adding a new slide instance */
|
780
|
-
ngOnInit() {
|
781
|
-
var _a;
|
782
|
-
this.carousel.addSlide(this);
|
783
|
-
this.itemWidth = `${100 / this.carousel.itemsPerSlide}%`;
|
784
|
-
this.multilist = ((_a = this.carousel) === null || _a === void 0 ? void 0 : _a.itemsPerSlide) > 1;
|
785
|
-
}
|
786
|
-
/** Fires changes in container collection after removing of this slide instance */
|
787
|
-
ngOnDestroy() {
|
788
|
-
this.carousel.removeSlide(this);
|
789
|
-
}
|
790
|
-
}
|
791
|
-
SlideComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: SlideComponent, deps: [{ token: CarouselComponent }], target: i0.ɵɵFactoryTarget.Component });
|
792
|
-
SlideComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.3", type: SlideComponent, selector: "slide", inputs: { active: "active" }, host: { properties: { "attr.aria-hidden": "!active", "class.multilist-margin": "multilist", "class.active": "this.active", "style.width": "this.itemWidth", "style.order": "this.order", "class.carousel-animation": "this.isAnimated", "class.item": "this.addClass", "class.carousel-item": "this.addClass" } }, ngImport: i0, template: `
|
793
|
-
<div [class.active]="active" class="item">
|
794
|
-
<ng-content></ng-content>
|
795
|
-
</div>
|
796
|
-
`, isInline: true, styles: [":host.carousel-animation{transition:opacity .6s ease,visibility .6s ease;float:left}:host.carousel-animation.active{opacity:1;visibility:visible}:host.carousel-animation:not(.active){display:block;position:absolute;opacity:0;visibility:hidden}:host.multilist-margin{margin-right:auto}:host.carousel-item{perspective:1000px}\n"] });
|
797
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: SlideComponent, decorators: [{
|
798
|
-
type: Component,
|
799
|
-
args: [{ selector: 'slide', template: `
|
800
|
-
<div [class.active]="active" class="item">
|
801
|
-
<ng-content></ng-content>
|
802
|
-
</div>
|
803
|
-
`, host: {
|
804
|
-
'[attr.aria-hidden]': '!active',
|
805
|
-
'[class.multilist-margin]': 'multilist'
|
806
|
-
}, styles: [":host.carousel-animation{transition:opacity .6s ease,visibility .6s ease;float:left}:host.carousel-animation.active{opacity:1;visibility:visible}:host.carousel-animation:not(.active){display:block;position:absolute;opacity:0;visibility:hidden}:host.multilist-margin{margin-right:auto}:host.carousel-item{perspective:1000px}\n"] }]
|
807
|
-
}], ctorParameters: function () { return [{ type: CarouselComponent }]; }, propDecorators: { active: [{
|
808
|
-
type: HostBinding,
|
809
|
-
args: ['class.active']
|
810
|
-
}, {
|
811
|
-
type: Input
|
812
|
-
}], itemWidth: [{
|
813
|
-
type: HostBinding,
|
814
|
-
args: ['style.width']
|
815
|
-
}], order: [{
|
816
|
-
type: HostBinding,
|
817
|
-
args: ['style.order']
|
818
|
-
}], isAnimated: [{
|
819
|
-
type: HostBinding,
|
820
|
-
args: ['class.carousel-animation']
|
821
|
-
}], addClass: [{
|
822
|
-
type: HostBinding,
|
823
|
-
args: ['class.item']
|
824
|
-
}, {
|
825
|
-
type: HostBinding,
|
826
|
-
args: ['class.carousel-item']
|
827
|
-
}] } });
|
828
|
-
|
829
|
-
class CarouselModule {
|
830
|
-
static forRoot() {
|
831
|
-
return { ngModule: CarouselModule, providers: [] };
|
832
|
-
}
|
833
|
-
}
|
834
|
-
CarouselModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: CarouselModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
835
|
-
CarouselModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.3", ngImport: i0, type: CarouselModule, declarations: [SlideComponent, CarouselComponent], imports: [CommonModule], exports: [SlideComponent, CarouselComponent] });
|
836
|
-
CarouselModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: CarouselModule, imports: [CommonModule] });
|
837
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: CarouselModule, decorators: [{
|
838
|
-
type: NgModule,
|
839
|
-
args: [{
|
840
|
-
imports: [CommonModule],
|
841
|
-
declarations: [SlideComponent, CarouselComponent],
|
842
|
-
exports: [SlideComponent, CarouselComponent]
|
843
|
-
}]
|
844
|
-
}] });
|
845
|
-
|
846
|
-
/**
|
847
|
-
* Generated bundle index. Do not edit.
|
848
|
-
*/
|
849
|
-
|
850
|
-
export { CarouselComponent, CarouselConfig, CarouselModule, SlideComponent };
|
851
|
-
//# sourceMappingURL=ngx-bootstrap-carousel.mjs.map
|