ngx-bootstrap 19.0.2 → 20.0.0
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/accordion/fesm2022/ngx-bootstrap-accordion.mjs +14 -14
- package/accordion/fesm2022/ngx-bootstrap-accordion.mjs.map +1 -1
- package/accordion/index.d.ts +72 -1
- package/alert/fesm2022/ngx-bootstrap-alert.mjs +11 -11
- package/alert/fesm2022/ngx-bootstrap-alert.mjs.map +1 -1
- package/alert/index.d.ts +53 -1
- package/buttons/fesm2022/ngx-bootstrap-buttons.mjs +14 -14
- package/buttons/fesm2022/ngx-bootstrap-buttons.mjs.map +1 -1
- package/buttons/index.d.ts +117 -1
- package/carousel/fesm2022/ngx-bootstrap-carousel.mjs +14 -14
- package/carousel/fesm2022/ngx-bootstrap-carousel.mjs.map +1 -1
- package/carousel/index.d.ts +238 -1
- package/chronos/fesm2022/ngx-bootstrap-chronos.mjs +1 -1
- package/chronos/fesm2022/ngx-bootstrap-chronos.mjs.map +1 -1
- package/chronos/index.d.ts +315 -1
- package/collapse/fesm2022/ngx-bootstrap-collapse.mjs +8 -8
- package/collapse/fesm2022/ngx-bootstrap-collapse.mjs.map +1 -1
- package/collapse/index.d.ts +55 -1
- package/component-loader/fesm2022/ngx-bootstrap-component-loader.mjs +4 -4
- package/component-loader/fesm2022/ngx-bootstrap-component-loader.mjs.map +1 -1
- package/component-loader/index.d.ts +127 -1
- package/datepicker/fesm2022/ngx-bootstrap-datepicker.mjs +88 -88
- package/datepicker/fesm2022/ngx-bootstrap-datepicker.mjs.map +1 -1
- package/datepicker/index.d.ts +1113 -1
- package/dropdown/fesm2022/ngx-bootstrap-dropdown.mjs +23 -23
- package/dropdown/fesm2022/ngx-bootstrap-dropdown.mjs.map +1 -1
- package/dropdown/index.d.ts +191 -1
- package/fesm2022/ngx-bootstrap.mjs.map +1 -1
- package/focus-trap/fesm2022/ngx-bootstrap-focus-trap.mjs +20 -20
- package/focus-trap/fesm2022/ngx-bootstrap-focus-trap.mjs.map +1 -1
- package/focus-trap/index.d.ts +274 -1
- package/index.d.ts +2 -2
- package/locale/fesm2022/ngx-bootstrap-locale.mjs.map +1 -1
- package/locale/index.d.ts +1 -1
- package/mini-ngrx/fesm2022/ngx-bootstrap-mini-ngrx.mjs.map +1 -1
- package/mini-ngrx/index.d.ts +34 -1
- package/modal/fesm2022/ngx-bootstrap-modal.mjs +23 -23
- package/modal/fesm2022/ngx-bootstrap-modal.mjs.map +1 -1
- package/modal/index.d.ts +277 -1
- package/package.json +8 -8
- package/pagination/fesm2022/ngx-bootstrap-pagination.mjs +14 -14
- package/pagination/fesm2022/ngx-bootstrap-pagination.mjs.map +1 -1
- package/pagination/index.d.ts +234 -1
- package/popover/fesm2022/ngx-bootstrap-popover.mjs +14 -14
- package/popover/fesm2022/ngx-bootstrap-popover.mjs.map +1 -1
- package/popover/index.d.ts +152 -1
- package/positioning/fesm2022/ngx-bootstrap-positioning.mjs +6 -5
- package/positioning/fesm2022/ngx-bootstrap-positioning.mjs.map +1 -1
- package/positioning/index.d.ts +134 -1
- package/progressbar/fesm2022/ngx-bootstrap-progressbar.mjs +14 -14
- package/progressbar/fesm2022/ngx-bootstrap-progressbar.mjs.map +1 -1
- package/progressbar/index.d.ts +72 -1
- package/rating/fesm2022/ngx-bootstrap-rating.mjs +11 -11
- package/rating/fesm2022/ngx-bootstrap-rating.mjs.map +1 -1
- package/rating/index.d.ts +60 -1
- package/schematics/utils/current_dependency_versions.json +1 -1
- package/sortable/fesm2022/ngx-bootstrap-sortable.mjs +11 -11
- package/sortable/fesm2022/ngx-bootstrap-sortable.mjs.map +1 -1
- package/sortable/index.d.ts +92 -1
- package/tabs/fesm2022/ngx-bootstrap-tabs.mjs +55 -22
- package/tabs/fesm2022/ngx-bootstrap-tabs.mjs.map +1 -1
- package/tabs/index.d.ts +122 -1
- package/timepicker/fesm2022/ngx-bootstrap-timepicker.mjs +17 -17
- package/timepicker/fesm2022/ngx-bootstrap-timepicker.mjs.map +1 -1
- package/timepicker/index.d.ts +243 -1
- package/tooltip/fesm2022/ngx-bootstrap-tooltip.mjs +14 -14
- package/tooltip/fesm2022/ngx-bootstrap-tooltip.mjs.map +1 -1
- package/tooltip/index.d.ts +154 -1
- package/typeahead/fesm2022/ngx-bootstrap-typeahead.mjs +15 -15
- package/typeahead/fesm2022/ngx-bootstrap-typeahead.mjs.map +1 -1
- package/typeahead/index.d.ts +341 -1
- package/utils/fesm2022/ngx-bootstrap-utils.mjs.map +1 -1
- package/utils/index.d.ts +116 -1
- package/accordion/accordion-group.component.d.ts +0 -36
- package/accordion/accordion.component.d.ts +0 -17
- package/accordion/accordion.config.d.ts +0 -12
- package/accordion/accordion.module.d.ts +0 -10
- package/accordion/public_api.d.ts +0 -4
- package/alert/alert.component.d.ts +0 -33
- package/alert/alert.config.d.ts +0 -11
- package/alert/alert.module.d.ts +0 -9
- package/alert/public_api.d.ts +0 -3
- package/buttons/button-checkbox.directive.d.ts +0 -31
- package/buttons/button-radio-group.directive.d.ts +0 -35
- package/buttons/button-radio.directive.d.ts +0 -51
- package/buttons/buttons.module.d.ts +0 -11
- package/buttons/public_api.d.ts +0 -4
- package/carousel/carousel.component.d.ts +0 -192
- package/carousel/carousel.config.d.ts +0 -13
- package/carousel/carousel.module.d.ts +0 -10
- package/carousel/models/index.d.ts +0 -9
- package/carousel/public_api.d.ts +0 -4
- package/carousel/slide.component.d.ts +0 -22
- package/carousel/utils.d.ts +0 -11
- package/chronos/create/check-overflow.d.ts +0 -2
- package/chronos/create/clone.d.ts +0 -1
- package/chronos/create/date-from-array.d.ts +0 -2
- package/chronos/create/from-anything.d.ts +0 -4
- package/chronos/create/from-array.d.ts +0 -2
- package/chronos/create/from-object.d.ts +0 -2
- package/chronos/create/from-string-and-array.d.ts +0 -2
- package/chronos/create/from-string-and-format.d.ts +0 -4
- package/chronos/create/from-string.d.ts +0 -4
- package/chronos/create/local.d.ts +0 -3
- package/chronos/create/parsing-flags.d.ts +0 -2
- package/chronos/create/parsing.types.d.ts +0 -64
- package/chronos/create/valid.d.ts +0 -6
- package/chronos/duration/bubble.d.ts +0 -4
- package/chronos/duration/constructor.d.ts +0 -21
- package/chronos/duration/create.d.ts +0 -8
- package/chronos/duration/humanize.d.ts +0 -5
- package/chronos/duration/valid.d.ts +0 -2
- package/chronos/format/format.d.ts +0 -11
- package/chronos/format.d.ts +0 -5
- package/chronos/i18n/ar.d.ts +0 -2
- package/chronos/i18n/bg.d.ts +0 -2
- package/chronos/i18n/ca.d.ts +0 -2
- package/chronos/i18n/cs.d.ts +0 -2
- package/chronos/i18n/da.d.ts +0 -2
- package/chronos/i18n/de.d.ts +0 -2
- package/chronos/i18n/en-gb.d.ts +0 -2
- package/chronos/i18n/es-do.d.ts +0 -2
- package/chronos/i18n/es-pr.d.ts +0 -2
- package/chronos/i18n/es-us.d.ts +0 -2
- package/chronos/i18n/es.d.ts +0 -2
- package/chronos/i18n/et.d.ts +0 -2
- package/chronos/i18n/fa.d.ts +0 -2
- package/chronos/i18n/fi.d.ts +0 -2
- package/chronos/i18n/fr-ca.d.ts +0 -2
- package/chronos/i18n/fr.d.ts +0 -2
- package/chronos/i18n/gl.d.ts +0 -2
- package/chronos/i18n/he.d.ts +0 -2
- package/chronos/i18n/hi.d.ts +0 -2
- package/chronos/i18n/hr.d.ts +0 -2
- package/chronos/i18n/hu.d.ts +0 -2
- package/chronos/i18n/id.d.ts +0 -2
- package/chronos/i18n/it.d.ts +0 -2
- package/chronos/i18n/ja.d.ts +0 -2
- package/chronos/i18n/ka.d.ts +0 -2
- package/chronos/i18n/kk.d.ts +0 -2
- package/chronos/i18n/ko.d.ts +0 -2
- package/chronos/i18n/lt.d.ts +0 -2
- package/chronos/i18n/lv.d.ts +0 -2
- package/chronos/i18n/mn.d.ts +0 -2
- package/chronos/i18n/nb.d.ts +0 -2
- package/chronos/i18n/nl-be.d.ts +0 -2
- package/chronos/i18n/nl.d.ts +0 -2
- package/chronos/i18n/pl.d.ts +0 -2
- package/chronos/i18n/pt-br.d.ts +0 -2
- package/chronos/i18n/ro.d.ts +0 -2
- package/chronos/i18n/ru.d.ts +0 -2
- package/chronos/i18n/sk.d.ts +0 -2
- package/chronos/i18n/sl.d.ts +0 -2
- package/chronos/i18n/sq.d.ts +0 -2
- package/chronos/i18n/sv.d.ts +0 -2
- package/chronos/i18n/th-be.d.ts +0 -2
- package/chronos/i18n/th.d.ts +0 -2
- package/chronos/i18n/tr.d.ts +0 -2
- package/chronos/i18n/uk.d.ts +0 -2
- package/chronos/i18n/vi.d.ts +0 -2
- package/chronos/i18n/zh-cn.d.ts +0 -2
- package/chronos/locale/calendar.d.ts +0 -8
- package/chronos/locale/locale.class.d.ts +0 -143
- package/chronos/locale/locale.defaults.d.ts +0 -11
- package/chronos/locale/locales.d.ts +0 -7
- package/chronos/moment/add-subtract.d.ts +0 -5
- package/chronos/moment/calendar.d.ts +0 -15
- package/chronos/moment/diff.d.ts +0 -3
- package/chronos/moment/min-max.d.ts +0 -2
- package/chronos/parse/regex.d.ts +0 -22
- package/chronos/parse/token.d.ts +0 -5
- package/chronos/public_api.d.ts +0 -60
- package/chronos/testing/chain.d.ts +0 -214
- package/chronos/types.d.ts +0 -36
- package/chronos/units/aliases.d.ts +0 -5
- package/chronos/units/constants.d.ts +0 -9
- package/chronos/units/day-of-month.d.ts +0 -1
- package/chronos/units/day-of-week.d.ts +0 -20
- package/chronos/units/day-of-year.d.ts +0 -3
- package/chronos/units/hour.d.ts +0 -1
- package/chronos/units/index.d.ts +0 -18
- package/chronos/units/millisecond.d.ts +0 -1
- package/chronos/units/minute.d.ts +0 -1
- package/chronos/units/month.d.ts +0 -2
- package/chronos/units/offset.d.ts +0 -10
- package/chronos/units/priorities.d.ts +0 -1
- package/chronos/units/quarter.d.ts +0 -3
- package/chronos/units/second.d.ts +0 -1
- package/chronos/units/timestamp.d.ts +0 -1
- package/chronos/units/timezone.d.ts +0 -3
- package/chronos/units/week-calendar-utils.d.ts +0 -9
- package/chronos/units/week-year.d.ts +0 -8
- package/chronos/units/week.d.ts +0 -6
- package/chronos/units/year.d.ts +0 -4
- package/chronos/utils/abs-ceil.d.ts +0 -1
- package/chronos/utils/abs-round.d.ts +0 -1
- package/chronos/utils/compare-arrays.d.ts +0 -1
- package/chronos/utils/date-compare.d.ts +0 -9
- package/chronos/utils/date-getters.d.ts +0 -18
- package/chronos/utils/date-setters.d.ts +0 -12
- package/chronos/utils/defaults.d.ts +0 -1
- package/chronos/utils/start-end-of.d.ts +0 -3
- package/chronos/utils/type-checks.d.ts +0 -12
- package/chronos/utils/zero-fill.d.ts +0 -1
- package/chronos/utils.d.ts +0 -2
- package/collapse/collapse-animations.d.ts +0 -4
- package/collapse/collapse.directive.d.ts +0 -45
- package/collapse/collapse.module.d.ts +0 -9
- package/collapse/public_api.d.ts +0 -2
- package/component-loader/bs-component-ref.class.d.ts +0 -5
- package/component-loader/component-loader.class.d.ts +0 -76
- package/component-loader/component-loader.factory.d.ts +0 -22
- package/component-loader/content-ref.class.d.ts +0 -11
- package/component-loader/listen-options.model.d.ts +0 -11
- package/component-loader/public_api.d.ts +0 -4
- package/datepicker/base/bs-datepicker-container.d.ts +0 -53
- package/datepicker/bs-datepicker-inline.component.d.ts +0 -66
- package/datepicker/bs-datepicker-inline.config.d.ts +0 -6
- package/datepicker/bs-datepicker-input.directive.d.ts +0 -32
- package/datepicker/bs-datepicker.component.d.ts +0 -135
- package/datepicker/bs-datepicker.config.d.ts +0 -166
- package/datepicker/bs-datepicker.module.d.ts +0 -30
- package/datepicker/bs-daterangepicker-inline.component.d.ts +0 -66
- package/datepicker/bs-daterangepicker-inline.config.d.ts +0 -9
- package/datepicker/bs-daterangepicker-input.directive.d.ts +0 -33
- package/datepicker/bs-daterangepicker.component.d.ts +0 -123
- package/datepicker/bs-daterangepicker.config.d.ts +0 -7
- package/datepicker/bs-locale.service.d.ts +0 -13
- package/datepicker/datepicker-animations.d.ts +0 -3
- package/datepicker/engine/calc-days-calendar.d.ts +0 -2
- package/datepicker/engine/flag-days-calendar.d.ts +0 -17
- package/datepicker/engine/flag-months-calendar.d.ts +0 -14
- package/datepicker/engine/flag-years-calendar.d.ts +0 -14
- package/datepicker/engine/format-days-calendar.d.ts +0 -4
- package/datepicker/engine/format-months-calendar.d.ts +0 -2
- package/datepicker/engine/format-years-calendar.d.ts +0 -4
- package/datepicker/engine/view-mode.d.ts +0 -2
- package/datepicker/models/index.d.ts +0 -102
- package/datepicker/public_api.d.ts +0 -17
- package/datepicker/reducer/_defaults.d.ts +0 -3
- package/datepicker/reducer/bs-datepicker.actions.d.ts +0 -48
- package/datepicker/reducer/bs-datepicker.effects.d.ts +0 -41
- package/datepicker/reducer/bs-datepicker.reducer.d.ts +0 -3
- package/datepicker/reducer/bs-datepicker.state.d.ts +0 -45
- package/datepicker/reducer/bs-datepicker.store.d.ts +0 -8
- package/datepicker/themes/bs/bs-calendar-layout.component.d.ts +0 -5
- package/datepicker/themes/bs/bs-current-date-view.component.d.ts +0 -6
- package/datepicker/themes/bs/bs-custom-dates-view.component.d.ts +0 -16
- package/datepicker/themes/bs/bs-datepicker-container.component.d.ts +0 -41
- package/datepicker/themes/bs/bs-datepicker-day-decorator.directive.d.ts +0 -14
- package/datepicker/themes/bs/bs-datepicker-inline-container.component.d.ts +0 -15
- package/datepicker/themes/bs/bs-datepicker-navigation-view.component.d.ts +0 -13
- package/datepicker/themes/bs/bs-daterangepicker-container.component.d.ts +0 -46
- package/datepicker/themes/bs/bs-daterangepicker-inline-container.component.d.ts +0 -15
- package/datepicker/themes/bs/bs-days-calendar-view.component.d.ts +0 -27
- package/datepicker/themes/bs/bs-months-calendar-view.component.d.ts +0 -16
- package/datepicker/themes/bs/bs-timepicker-view.component.d.ts +0 -8
- package/datepicker/themes/bs/bs-years-calendar-view.component.d.ts +0 -16
- package/datepicker/utils/bs-calendar-utils.d.ts +0 -15
- package/datepicker/utils/copy-time-utils.d.ts +0 -1
- package/datepicker/utils/matrix-utils.d.ts +0 -9
- package/dropdown/bs-dropdown-container.component.d.ts +0 -20
- package/dropdown/bs-dropdown-menu.directive.d.ts +0 -8
- package/dropdown/bs-dropdown-toggle.directive.d.ts +0 -21
- package/dropdown/bs-dropdown.config.d.ts +0 -14
- package/dropdown/bs-dropdown.directive.d.ts +0 -108
- package/dropdown/bs-dropdown.module.d.ts +0 -12
- package/dropdown/bs-dropdown.state.d.ts +0 -23
- package/dropdown/dropdown-animations.d.ts +0 -3
- package/dropdown/public_api.d.ts +0 -7
- package/focus-trap/boolean-property.d.ts +0 -14
- package/focus-trap/focus-trap-manager.d.ts +0 -26
- package/focus-trap/focus-trap.d.ts +0 -162
- package/focus-trap/focus-trap.module.d.ts +0 -10
- package/focus-trap/interactivity-checker.d.ts +0 -60
- package/focus-trap/platform.d.ts +0 -29
- package/focus-trap/public_api.d.ts +0 -3
- package/locale/public_api.d.ts +0 -46
- package/mini-ngrx/public_api.d.ts +0 -7
- package/mini-ngrx/state.class.d.ts +0 -8
- package/mini-ngrx/store.class.d.ts +0 -16
- package/modal/bs-modal-ref.service.d.ts +0 -30
- package/modal/bs-modal.service.d.ts +0 -50
- package/modal/modal-backdrop.component.d.ts +0 -17
- package/modal/modal-backdrop.options.d.ts +0 -4
- package/modal/modal-container.component.d.ts +0 -27
- package/modal/modal-options.class.d.ts +0 -63
- package/modal/modal.directive.d.ts +0 -90
- package/modal/modal.module.d.ts +0 -13
- package/modal/models/index.d.ts +0 -24
- package/modal/public_api.d.ts +0 -9
- package/pagination/models/index.d.ts +0 -53
- package/pagination/pager.component.d.ts +0 -78
- package/pagination/pagination.component.d.ts +0 -91
- package/pagination/pagination.config.d.ts +0 -9
- package/pagination/pagination.module.d.ts +0 -11
- package/pagination/public_api.d.ts +0 -5
- package/popover/popover-container.component.d.ts +0 -16
- package/popover/popover.config.d.ts +0 -30
- package/popover/popover.directive.d.ts +0 -98
- package/popover/popover.module.d.ts +0 -11
- package/popover/public_api.d.ts +0 -4
- package/positioning/models/index.d.ts +0 -96
- package/positioning/modifiers/arrow.d.ts +0 -2
- package/positioning/modifiers/flip.d.ts +0 -2
- package/positioning/modifiers/index.d.ts +0 -5
- package/positioning/modifiers/initData.d.ts +0 -2
- package/positioning/modifiers/preventOverflow.d.ts +0 -2
- package/positioning/modifiers/shift.d.ts +0 -2
- package/positioning/ng-positioning.d.ts +0 -12
- package/positioning/positioning.service.d.ts +0 -48
- package/positioning/public_api.d.ts +0 -4
- package/positioning/utils/checkMargin.d.ts +0 -3
- package/positioning/utils/computeAutoPlacement.d.ts +0 -2
- package/positioning/utils/findCommonOffsetParent.d.ts +0 -1
- package/positioning/utils/getBordersSize.d.ts +0 -4
- package/positioning/utils/getBoundaries.d.ts +0 -5
- package/positioning/utils/getBoundingClientRect.d.ts +0 -2
- package/positioning/utils/getClientRect.d.ts +0 -5
- package/positioning/utils/getFixedPositionOffsetParent.d.ts +0 -4
- package/positioning/utils/getOffsetParent.d.ts +0 -1
- package/positioning/utils/getOffsetRectRelativeToArbitraryNode.d.ts +0 -2
- package/positioning/utils/getOffsets.d.ts +0 -2
- package/positioning/utils/getOppositePlacement.d.ts +0 -4
- package/positioning/utils/getOppositeVariation.d.ts +0 -4
- package/positioning/utils/getOuterSizes.d.ts +0 -5
- package/positioning/utils/getParentNode.d.ts +0 -4
- package/positioning/utils/getReferenceOffsets.d.ts +0 -2
- package/positioning/utils/getRoot.d.ts +0 -4
- package/positioning/utils/getScroll.d.ts +0 -4
- package/positioning/utils/getScrollParent.d.ts +0 -1
- package/positioning/utils/getStyleComputedProperty.d.ts +0 -5
- package/positioning/utils/getTargetOffsets.d.ts +0 -2
- package/positioning/utils/getViewportOffsetRectRelativeToArtbitraryNode.d.ts +0 -2
- package/positioning/utils/getWindowSizes.d.ts +0 -4
- package/positioning/utils/index.d.ts +0 -23
- package/positioning/utils/isFixed.d.ts +0 -1
- package/positioning/utils/isModifierEnabled.d.ts +0 -5
- package/positioning/utils/isNumeric.d.ts +0 -5
- package/positioning/utils/isOffsetContainer.d.ts +0 -1
- package/positioning/utils/setStyles.d.ts +0 -5
- package/positioning/utils/updateContainerClass.d.ts +0 -6
- package/progressbar/bar.component.d.ts +0 -24
- package/progressbar/progressbar-type.interface.d.ts +0 -7
- package/progressbar/progressbar.component.d.ts +0 -23
- package/progressbar/progressbar.config.d.ts +0 -9
- package/progressbar/progressbar.module.d.ts +0 -10
- package/progressbar/public_api.d.ts +0 -5
- package/rating/models/index.d.ts +0 -4
- package/rating/public_api.d.ts +0 -3
- package/rating/rating.component.d.ts +0 -40
- package/rating/rating.config.d.ts +0 -8
- package/rating/rating.module.d.ts +0 -9
- package/sortable/draggable-item.d.ts +0 -8
- package/sortable/draggable-item.service.d.ts +0 -13
- package/sortable/public_api.d.ts +0 -4
- package/sortable/sortable.component.d.ts +0 -62
- package/sortable/sortable.module.d.ts +0 -9
- package/tabs/ng-transclude.directive.d.ts +0 -11
- package/tabs/public_api.d.ts +0 -6
- package/tabs/tab-heading.directive.d.ts +0 -10
- package/tabs/tab.directive.d.ts +0 -39
- package/tabs/tabs.module.d.ts +0 -13
- package/tabs/tabset.component.d.ts +0 -44
- package/tabs/tabset.config.d.ts +0 -11
- package/timepicker/models/index.d.ts +0 -7
- package/timepicker/public_api.d.ts +0 -5
- package/timepicker/reducer/timepicker.actions.d.ts +0 -28
- package/timepicker/reducer/timepicker.reducer.d.ts +0 -9
- package/timepicker/reducer/timepicker.store.d.ts +0 -8
- package/timepicker/timepicker-controls.util.d.ts +0 -7
- package/timepicker/timepicker.component.d.ts +0 -116
- package/timepicker/timepicker.config.d.ts +0 -48
- package/timepicker/timepicker.models.d.ts +0 -35
- package/timepicker/timepicker.module.d.ts +0 -9
- package/timepicker/timepicker.utils.d.ts +0 -19
- package/tooltip/public_api.d.ts +0 -4
- package/tooltip/tooltip-container.component.d.ts +0 -18
- package/tooltip/tooltip.config.d.ts +0 -16
- package/tooltip/tooltip.directive.d.ts +0 -113
- package/tooltip/tooltip.module.d.ts +0 -11
- package/typeahead/latin-map.d.ts +0 -3
- package/typeahead/models/index.d.ts +0 -41
- package/typeahead/public_api.d.ts +0 -10
- package/typeahead/typeahead-animations.d.ts +0 -3
- package/typeahead/typeahead-container.component.d.ts +0 -66
- package/typeahead/typeahead-match.class.d.ts +0 -8
- package/typeahead/typeahead-options.class.d.ts +0 -7
- package/typeahead/typeahead-order.class.d.ts +0 -6
- package/typeahead/typeahead-utils.d.ts +0 -4
- package/typeahead/typeahead.config.d.ts +0 -26
- package/typeahead/typeahead.directive.d.ts +0 -176
- package/typeahead/typeahead.module.d.ts +0 -11
- package/utils/decorators.d.ts +0 -1
- package/utils/facade/browser.d.ts +0 -23
- package/utils/linked-list.class.d.ts +0 -35
- package/utils/public_api.d.ts +0 -9
- package/utils/theme-provider.d.ts +0 -18
- package/utils/trigger.class.d.ts +0 -10
- package/utils/triggers.d.ts +0 -22
- package/utils/utils.class.d.ts +0 -9
- package/utils/warn-once.d.ts +0 -1
package/carousel/index.d.ts
CHANGED
@@ -1 +1,238 @@
|
|
1
|
-
|
1
|
+
import * as i0 from '@angular/core';
|
2
|
+
import { OnInit, OnDestroy, AfterViewInit, EventEmitter, NgZone, ModuleWithProviders } from '@angular/core';
|
3
|
+
import { LinkedList, IBsVersion } from 'ngx-bootstrap/utils';
|
4
|
+
|
5
|
+
declare class SlideComponent implements OnInit, OnDestroy {
|
6
|
+
/** Is current slide active */
|
7
|
+
active: boolean;
|
8
|
+
itemWidth: string;
|
9
|
+
order: number;
|
10
|
+
isAnimated: boolean;
|
11
|
+
/** Wraps element by appropriate CSS classes */
|
12
|
+
addClass: boolean;
|
13
|
+
/** Link to Parent(container-collection) component */
|
14
|
+
protected carousel: CarouselComponent;
|
15
|
+
multilist: boolean;
|
16
|
+
constructor(carousel: CarouselComponent);
|
17
|
+
/** Fires changes in container collection after adding a new slide instance */
|
18
|
+
ngOnInit(): void;
|
19
|
+
/** Fires changes in container collection after removing of this slide instance */
|
20
|
+
ngOnDestroy(): void;
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SlideComponent, never>;
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SlideComponent, "slide", never, { "active": { "alias": "active"; "required": false; }; }, {}, never, ["*"], true, never>;
|
23
|
+
}
|
24
|
+
|
25
|
+
declare class CarouselConfig {
|
26
|
+
interval: number;
|
27
|
+
noPause: boolean;
|
28
|
+
noWrap: boolean;
|
29
|
+
showIndicators: boolean;
|
30
|
+
pauseOnFocus: boolean;
|
31
|
+
indicatorsByChunk: boolean;
|
32
|
+
itemsPerSlide: number;
|
33
|
+
singleSlideOffset: boolean;
|
34
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CarouselConfig, never>;
|
35
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<CarouselConfig>;
|
36
|
+
}
|
37
|
+
|
38
|
+
interface SlideWithIndex {
|
39
|
+
item: SlideComponent;
|
40
|
+
index: number;
|
41
|
+
}
|
42
|
+
|
43
|
+
/***
|
44
|
+
* pause (not yet supported) (?string='hover') - event group name which pauses
|
45
|
+
* the cycling of the carousel, if hover pauses on mouseenter and resumes on
|
46
|
+
* mouseleave keyboard (not yet supported) (?boolean=true) - if false
|
47
|
+
* carousel will not react to keyboard events
|
48
|
+
* note: swiping not yet supported
|
49
|
+
*/
|
50
|
+
/****
|
51
|
+
* Problems:
|
52
|
+
* 1) if we set an active slide via model changes, .active class remains on a
|
53
|
+
* current slide.
|
54
|
+
* 2) if we have only one slide, we shouldn't show prev/next nav buttons
|
55
|
+
* 3) if first or last slide is active and noWrap is true, there should be
|
56
|
+
* "disabled" class on the nav buttons.
|
57
|
+
* 4) default interval should be equal 5000
|
58
|
+
*/
|
59
|
+
|
60
|
+
declare enum Direction {
|
61
|
+
UNKNOWN = 0,
|
62
|
+
NEXT = 1,
|
63
|
+
PREV = 2
|
64
|
+
}
|
65
|
+
/**
|
66
|
+
* Base element to create carousel
|
67
|
+
*/
|
68
|
+
declare class CarouselComponent implements AfterViewInit, OnDestroy {
|
69
|
+
private ngZone;
|
70
|
+
platformId: number;
|
71
|
+
noWrap: boolean;
|
72
|
+
noPause: boolean;
|
73
|
+
showIndicators: boolean;
|
74
|
+
pauseOnFocus: boolean;
|
75
|
+
indicatorsByChunk: boolean;
|
76
|
+
itemsPerSlide: number;
|
77
|
+
singleSlideOffset: boolean;
|
78
|
+
/** Turn on/off animation. Animation doesn't work for multilist carousel */
|
79
|
+
isAnimated: boolean;
|
80
|
+
/** Will be emitted when active slide has been changed. Part of two-way-bindable [(activeSlide)] property */
|
81
|
+
activeSlideChange: EventEmitter<number>;
|
82
|
+
/** Will be emitted when active slides has been changed in multilist mode */
|
83
|
+
slideRangeChange: EventEmitter<void | number[]>;
|
84
|
+
/** Index of currently displayed slide(started for 0) */
|
85
|
+
set activeSlide(index: number);
|
86
|
+
get activeSlide(): number;
|
87
|
+
startFromIndex: number;
|
88
|
+
/**
|
89
|
+
* Delay of item cycling in milliseconds. If false, carousel won't cycle
|
90
|
+
* automatically.
|
91
|
+
*/
|
92
|
+
get interval(): number;
|
93
|
+
set interval(value: number);
|
94
|
+
get slides(): SlideComponent[];
|
95
|
+
get isFirstSlideVisible(): boolean;
|
96
|
+
get isLastSlideVisible(): boolean;
|
97
|
+
protected currentInterval?: number;
|
98
|
+
protected _currentActiveSlide?: number;
|
99
|
+
protected _interval: number;
|
100
|
+
protected _slides: LinkedList<SlideComponent>;
|
101
|
+
protected _chunkedSlides?: SlideWithIndex[][];
|
102
|
+
protected _slidesWithIndexes?: SlideWithIndex[];
|
103
|
+
protected _currentVisibleSlidesIndex: number;
|
104
|
+
protected isPlaying: boolean;
|
105
|
+
protected destroyed: boolean;
|
106
|
+
private customActiveSlide?;
|
107
|
+
currentId: number;
|
108
|
+
get _bsVer(): IBsVersion;
|
109
|
+
constructor(config: CarouselConfig, ngZone: NgZone, platformId: number);
|
110
|
+
ngAfterViewInit(): void;
|
111
|
+
ngOnDestroy(): void;
|
112
|
+
/**
|
113
|
+
* Adds new slide. If this slide is first in collection - set it as active
|
114
|
+
* and starts auto changing
|
115
|
+
* @param slide
|
116
|
+
*/
|
117
|
+
addSlide(slide: SlideComponent): void;
|
118
|
+
/**
|
119
|
+
* Removes specified slide. If this slide is active - will roll to another
|
120
|
+
* slide
|
121
|
+
* @param slide
|
122
|
+
*/
|
123
|
+
removeSlide(slide: SlideComponent): void;
|
124
|
+
nextSlideFromInterval(force?: boolean): void;
|
125
|
+
/**
|
126
|
+
* Rolling to next slide
|
127
|
+
* @param force: {boolean} if true - will ignore noWrap flag
|
128
|
+
*/
|
129
|
+
nextSlide(force?: boolean): void;
|
130
|
+
/**
|
131
|
+
* Rolling to previous slide
|
132
|
+
* @param force: {boolean} if true - will ignore noWrap flag
|
133
|
+
*/
|
134
|
+
previousSlide(force?: boolean): void;
|
135
|
+
getFirstVisibleIndex(): number;
|
136
|
+
getLastVisibleIndex(): number;
|
137
|
+
getActive: (slide: SlideComponent) => boolean;
|
138
|
+
move(direction: Direction, force?: boolean): void;
|
139
|
+
/**
|
140
|
+
* Swith slides by enter, space and arrows keys
|
141
|
+
* @internal
|
142
|
+
*/
|
143
|
+
keydownPress(event: KeyboardEvent): void;
|
144
|
+
/**
|
145
|
+
* Play on mouse leave
|
146
|
+
* @internal
|
147
|
+
*/
|
148
|
+
onMouseLeave(): void;
|
149
|
+
/**
|
150
|
+
* Play on mouse up
|
151
|
+
* @internal
|
152
|
+
*/
|
153
|
+
onMouseUp(): void;
|
154
|
+
/**
|
155
|
+
* When slides on focus autoplay is stopped(optional)
|
156
|
+
* @internal
|
157
|
+
*/
|
158
|
+
pauseFocusIn(): void;
|
159
|
+
/**
|
160
|
+
* When slides out of focus autoplay is started
|
161
|
+
* @internal
|
162
|
+
*/
|
163
|
+
pauseFocusOut(): void;
|
164
|
+
/**
|
165
|
+
* Rolling to specified slide
|
166
|
+
* @param index: {number} index of slide, which must be shown
|
167
|
+
*/
|
168
|
+
selectSlide(index: number): void;
|
169
|
+
/**
|
170
|
+
* Starts a auto changing of slides
|
171
|
+
*/
|
172
|
+
play(): void;
|
173
|
+
/**
|
174
|
+
* Stops a auto changing of slides
|
175
|
+
*/
|
176
|
+
pause(): void;
|
177
|
+
/**
|
178
|
+
* Finds and returns index of currently displayed slide
|
179
|
+
*/
|
180
|
+
getCurrentSlideIndex(): number;
|
181
|
+
/**
|
182
|
+
* Defines, whether the specified index is last in collection
|
183
|
+
* @param index
|
184
|
+
*/
|
185
|
+
isLast(index: number): boolean;
|
186
|
+
/**
|
187
|
+
* Defines, whether the specified index is first in collection
|
188
|
+
* @param index
|
189
|
+
*/
|
190
|
+
isFirst(index: number): boolean;
|
191
|
+
indicatorsSlides(): SlideComponent[];
|
192
|
+
private selectInitialSlides;
|
193
|
+
/**
|
194
|
+
* Defines next slide index, depending of direction
|
195
|
+
* @param direction: Direction(UNKNOWN|PREV|NEXT)
|
196
|
+
* @param force: {boolean} if TRUE - will ignore noWrap flag, else will
|
197
|
+
* return undefined if next slide require wrapping
|
198
|
+
*/
|
199
|
+
private findNextSlideIndex;
|
200
|
+
private mapSlidesAndIndexes;
|
201
|
+
private selectSlideRange;
|
202
|
+
private selectRangeByNestedIndex;
|
203
|
+
private isIndexOnTheEdges;
|
204
|
+
private isIndexInRange;
|
205
|
+
private hideSlides;
|
206
|
+
private isVisibleSlideListLast;
|
207
|
+
private isVisibleSlideListFirst;
|
208
|
+
private moveSliderByOneItem;
|
209
|
+
private makeSlidesConsistent;
|
210
|
+
private moveMultilist;
|
211
|
+
private getVisibleIndexes;
|
212
|
+
/**
|
213
|
+
* Sets a slide, which specified through index, as active
|
214
|
+
* @param index
|
215
|
+
*/
|
216
|
+
private _select;
|
217
|
+
/**
|
218
|
+
* Starts loop of auto changing of slides
|
219
|
+
*/
|
220
|
+
private restartTimer;
|
221
|
+
get multilist(): boolean;
|
222
|
+
/**
|
223
|
+
* Stops loop of auto changing of slides
|
224
|
+
*/
|
225
|
+
private resetTimer;
|
226
|
+
checkDisabledClass(buttonType: 'prev' | 'next'): boolean;
|
227
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CarouselComponent, never>;
|
228
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CarouselComponent, "carousel", never, { "noWrap": { "alias": "noWrap"; "required": false; }; "noPause": { "alias": "noPause"; "required": false; }; "showIndicators": { "alias": "showIndicators"; "required": false; }; "pauseOnFocus": { "alias": "pauseOnFocus"; "required": false; }; "indicatorsByChunk": { "alias": "indicatorsByChunk"; "required": false; }; "itemsPerSlide": { "alias": "itemsPerSlide"; "required": false; }; "singleSlideOffset": { "alias": "singleSlideOffset"; "required": false; }; "isAnimated": { "alias": "isAnimated"; "required": false; }; "activeSlide": { "alias": "activeSlide"; "required": false; }; "startFromIndex": { "alias": "startFromIndex"; "required": false; }; "interval": { "alias": "interval"; "required": false; }; }, { "activeSlideChange": "activeSlideChange"; "slideRangeChange": "slideRangeChange"; }, never, ["*"], true, never>;
|
229
|
+
}
|
230
|
+
|
231
|
+
declare class CarouselModule {
|
232
|
+
static forRoot(): ModuleWithProviders<CarouselModule>;
|
233
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CarouselModule, never>;
|
234
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CarouselModule, never, [typeof SlideComponent, typeof CarouselComponent], [typeof SlideComponent, typeof CarouselComponent]>;
|
235
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<CarouselModule>;
|
236
|
+
}
|
237
|
+
|
238
|
+
export { CarouselComponent, CarouselConfig, CarouselModule, SlideComponent };
|
@@ -17,7 +17,7 @@ function isBoolean(value) {
|
|
17
17
|
function isDateValid(date) {
|
18
18
|
return date && date.getTime && !isNaN(date.getTime());
|
19
19
|
}
|
20
|
-
// eslint-disable-next-line @typescript-eslint/
|
20
|
+
// eslint-disable-next-line @typescript-eslint/no-unsafe-function-type
|
21
21
|
function isFunction(fn) {
|
22
22
|
return (fn instanceof Function ||
|
23
23
|
Object.prototype.toString.call(fn) === '[object Function]');
|