ngx-bootstrap 19.0.2 → 20.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/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 +81 -23
- package/tabs/fesm2022/ngx-bootstrap-tabs.mjs.map +1 -1
- package/tabs/index.d.ts +123 -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
@@ -1,76 +0,0 @@
|
|
1
|
-
import { ApplicationRef, ComponentFactoryResolver, ComponentRef, ElementRef, EmbeddedViewRef, EventEmitter, Injector, NgZone, Renderer2, StaticProvider, TemplateRef, Type, ViewContainerRef } from '@angular/core';
|
2
|
-
import { PositioningOptions, PositioningService } from 'ngx-bootstrap/positioning';
|
3
|
-
import { ListenOptions } from './listen-options.model';
|
4
|
-
export declare class ComponentLoader<T extends object> {
|
5
|
-
private _viewContainerRef;
|
6
|
-
private _renderer;
|
7
|
-
private _elementRef;
|
8
|
-
private _injector;
|
9
|
-
private _componentFactoryResolver;
|
10
|
-
private _ngZone;
|
11
|
-
private _applicationRef;
|
12
|
-
private _posService;
|
13
|
-
private _document;
|
14
|
-
onBeforeShow: EventEmitter<any>;
|
15
|
-
onShown: EventEmitter<any>;
|
16
|
-
onBeforeHide: EventEmitter<any>;
|
17
|
-
onHidden: EventEmitter<any>;
|
18
|
-
instance?: T;
|
19
|
-
_componentRef?: ComponentRef<T>;
|
20
|
-
_inlineViewRef?: EmbeddedViewRef<T>;
|
21
|
-
private _providers;
|
22
|
-
private _componentFactory?;
|
23
|
-
private _zoneSubscription?;
|
24
|
-
private _contentRef?;
|
25
|
-
private _innerComponent?;
|
26
|
-
private _unregisterListenersFn?;
|
27
|
-
private _isHiding;
|
28
|
-
/**
|
29
|
-
* Placement of a component. Accepts: "top", "bottom", "left", "right"
|
30
|
-
*/
|
31
|
-
private attachment?;
|
32
|
-
/**
|
33
|
-
* A selector specifying the element the popover should be appended to.
|
34
|
-
*/
|
35
|
-
private container;
|
36
|
-
/**
|
37
|
-
* A selector used if container element was not found
|
38
|
-
*/
|
39
|
-
private containerDefaultSelector;
|
40
|
-
/**
|
41
|
-
* Specifies events that should trigger. Supports a space separated list of
|
42
|
-
* event names.
|
43
|
-
*/
|
44
|
-
private triggers?;
|
45
|
-
private _listenOpts;
|
46
|
-
private _globalListener;
|
47
|
-
/**
|
48
|
-
* Do not use this directly, it should be instanced via
|
49
|
-
* `ComponentLoadFactory.attach`
|
50
|
-
* @internal
|
51
|
-
*/
|
52
|
-
constructor(_viewContainerRef: ViewContainerRef | undefined, _renderer: Renderer2 | undefined, _elementRef: ElementRef | undefined, _injector: Injector, _componentFactoryResolver: ComponentFactoryResolver, _ngZone: NgZone, _applicationRef: ApplicationRef, _posService: PositioningService, _document: Document);
|
53
|
-
get isShown(): boolean;
|
54
|
-
attach(compType: Type<T>): ComponentLoader<T>;
|
55
|
-
to(container?: string | ElementRef): ComponentLoader<T>;
|
56
|
-
position(opts?: PositioningOptions): ComponentLoader<T>;
|
57
|
-
provide(provider: StaticProvider): ComponentLoader<T>;
|
58
|
-
show(opts?: {
|
59
|
-
content?: string | TemplateRef<unknown>;
|
60
|
-
context?: unknown;
|
61
|
-
initialState?: unknown;
|
62
|
-
[key: string]: unknown;
|
63
|
-
id?: number | string;
|
64
|
-
}): ComponentRef<T> | undefined;
|
65
|
-
hide(id?: number | string): ComponentLoader<T>;
|
66
|
-
toggle(): void;
|
67
|
-
dispose(): void;
|
68
|
-
listen(listenOpts: ListenOptions): ComponentLoader<T>;
|
69
|
-
_removeGlobalListener(): void;
|
70
|
-
attachInline(vRef: ViewContainerRef | undefined, template: TemplateRef<any> | undefined): ComponentLoader<T>;
|
71
|
-
_registerOutsideClick(): void;
|
72
|
-
getInnerComponent(): ComponentRef<T> | undefined;
|
73
|
-
private _subscribePositioning;
|
74
|
-
private _unsubscribePositioning;
|
75
|
-
private _getContentRef;
|
76
|
-
}
|
@@ -1,22 +0,0 @@
|
|
1
|
-
import { ApplicationRef, ComponentFactoryResolver, ElementRef, Injector, NgZone, Renderer2, ViewContainerRef } from '@angular/core';
|
2
|
-
import { ComponentLoader } from './component-loader.class';
|
3
|
-
import { PositioningService } from 'ngx-bootstrap/positioning';
|
4
|
-
import * as i0 from "@angular/core";
|
5
|
-
export declare class ComponentLoaderFactory {
|
6
|
-
private _componentFactoryResolver;
|
7
|
-
private _ngZone;
|
8
|
-
private _injector;
|
9
|
-
private _posService;
|
10
|
-
private _applicationRef;
|
11
|
-
private _document;
|
12
|
-
constructor(_componentFactoryResolver: ComponentFactoryResolver, _ngZone: NgZone, _injector: Injector, _posService: PositioningService, _applicationRef: ApplicationRef, _document: Document);
|
13
|
-
/**
|
14
|
-
*
|
15
|
-
* @param _elementRef
|
16
|
-
* @param _viewContainerRef
|
17
|
-
* @param _renderer
|
18
|
-
*/
|
19
|
-
createLoader<T extends object>(_elementRef?: ElementRef, _viewContainerRef?: ViewContainerRef, _renderer?: Renderer2): ComponentLoader<T>;
|
20
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ComponentLoaderFactory, never>;
|
21
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ComponentLoaderFactory>;
|
22
|
-
}
|
@@ -1,11 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* @copyright Valor Software
|
3
|
-
* @copyright Angular ng-bootstrap team
|
4
|
-
*/
|
5
|
-
import { ComponentRef, ViewRef } from '@angular/core';
|
6
|
-
export declare class ContentRef {
|
7
|
-
nodes: any[];
|
8
|
-
viewRef?: ViewRef;
|
9
|
-
componentRef?: ComponentRef<any>;
|
10
|
-
constructor(nodes: any[], viewRef?: ViewRef, componentRef?: ComponentRef<any>);
|
11
|
-
}
|
@@ -1,11 +0,0 @@
|
|
1
|
-
export type BsEventCallback = (event?: any) => boolean | void;
|
2
|
-
export interface ListenOptions {
|
3
|
-
target?: HTMLElement;
|
4
|
-
targets?: HTMLElement[];
|
5
|
-
triggers?: string;
|
6
|
-
outsideClick?: boolean;
|
7
|
-
outsideEsc?: boolean;
|
8
|
-
show?: BsEventCallback;
|
9
|
-
hide?: BsEventCallback;
|
10
|
-
toggle?: BsEventCallback;
|
11
|
-
}
|
@@ -1,53 +0,0 @@
|
|
1
|
-
import { BsCustomDates } from '../themes/bs/bs-custom-dates-view.component';
|
2
|
-
import { BsDatepickerEffects } from '../reducer/bs-datepicker.effects';
|
3
|
-
import { Observable, Subscription } from 'rxjs';
|
4
|
-
import { BsDatepickerViewMode, BsNavigationEvent, CalendarCellViewModel, CellHoverEvent, DatepickerRenderOptions, DatepickerDateCustomClasses, DatepickerDateTooltipText, DaysCalendarViewModel, DayViewModel, MonthsCalendarViewModel, WeekViewModel, YearsCalendarViewModel } from '../models';
|
5
|
-
export declare abstract class BsDatepickerAbstractComponent {
|
6
|
-
containerClass: string;
|
7
|
-
isOtherMonthsActive?: boolean;
|
8
|
-
showTodayBtn?: boolean;
|
9
|
-
todayBtnLbl?: string;
|
10
|
-
todayPos?: string;
|
11
|
-
showClearBtn?: boolean;
|
12
|
-
clearBtnLbl?: string;
|
13
|
-
clearPos?: string;
|
14
|
-
_effects?: BsDatepickerEffects;
|
15
|
-
customRanges: BsCustomDates[];
|
16
|
-
customRangeBtnLbl?: string;
|
17
|
-
chosenRange: Date[];
|
18
|
-
multipleCalendars?: boolean;
|
19
|
-
isRangePicker?: boolean;
|
20
|
-
withTimepicker?: boolean;
|
21
|
-
set minDate(value: Date | undefined);
|
22
|
-
set maxDate(value: Date | undefined);
|
23
|
-
set daysDisabled(value: number[] | undefined);
|
24
|
-
set datesDisabled(value: Date[] | undefined);
|
25
|
-
set datesEnabled(value: Date[] | undefined);
|
26
|
-
set isDisabled(value: boolean | undefined);
|
27
|
-
set dateCustomClasses(value: DatepickerDateCustomClasses[] | undefined);
|
28
|
-
set dateTooltipTexts(value: DatepickerDateTooltipText[] | undefined);
|
29
|
-
viewMode?: Observable<BsDatepickerViewMode | undefined>;
|
30
|
-
monthsCalendar?: Observable<MonthsCalendarViewModel[] | undefined>;
|
31
|
-
yearsCalendar?: Observable<YearsCalendarViewModel[] | undefined>;
|
32
|
-
options$: Observable<DatepickerRenderOptions | undefined>;
|
33
|
-
_daysCalendar$: Observable<DaysCalendarViewModel[] | undefined>;
|
34
|
-
_daysCalendarSub: Subscription;
|
35
|
-
set daysCalendar$(value: Observable<DaysCalendarViewModel[] | undefined>);
|
36
|
-
get daysCalendar$(): Observable<DaysCalendarViewModel[] | undefined>;
|
37
|
-
selectedTime?: Observable<Date[] | undefined>;
|
38
|
-
selectedTimeSub: Subscription;
|
39
|
-
setViewMode(event: BsDatepickerViewMode): void;
|
40
|
-
navigateTo(event: BsNavigationEvent): void;
|
41
|
-
dayHoverHandler(event: CellHoverEvent): void;
|
42
|
-
weekHoverHandler(event: WeekViewModel): void;
|
43
|
-
monthHoverHandler(event: CellHoverEvent): void;
|
44
|
-
yearHoverHandler(event: CellHoverEvent): void;
|
45
|
-
timeSelectHandler(date: Date, index: number): void;
|
46
|
-
daySelectHandler(day: DayViewModel): void;
|
47
|
-
monthSelectHandler(event: CalendarCellViewModel): void;
|
48
|
-
yearSelectHandler(event: CalendarCellViewModel): void;
|
49
|
-
setRangeOnCalendar(dates: BsCustomDates): void;
|
50
|
-
setToday(): void;
|
51
|
-
clearDate(): void;
|
52
|
-
_stopPropagation(event: any): void;
|
53
|
-
}
|
@@ -1,66 +0,0 @@
|
|
1
|
-
import { ElementRef, EventEmitter, OnChanges, OnDestroy, OnInit, Renderer2, SimpleChanges, ViewContainerRef } from '@angular/core';
|
2
|
-
import { ComponentLoaderFactory } from 'ngx-bootstrap/component-loader';
|
3
|
-
import { Subscription } from 'rxjs';
|
4
|
-
import { BsDatepickerInlineConfig } from './bs-datepicker-inline.config';
|
5
|
-
import { DatepickerDateCustomClasses, DatepickerDateTooltipText } from './models';
|
6
|
-
import * as i0 from "@angular/core";
|
7
|
-
export declare class BsDatepickerInlineDirective implements OnInit, OnDestroy, OnChanges {
|
8
|
-
_config: BsDatepickerInlineConfig;
|
9
|
-
private _elementRef;
|
10
|
-
/**
|
11
|
-
* Config object for datepicker
|
12
|
-
*/
|
13
|
-
bsConfig?: Partial<BsDatepickerInlineConfig>;
|
14
|
-
/**
|
15
|
-
* Indicates whether datepicker is enabled or not
|
16
|
-
*/
|
17
|
-
isDisabled: boolean;
|
18
|
-
/**
|
19
|
-
* Minimum date which is available for selection
|
20
|
-
*/
|
21
|
-
minDate?: Date;
|
22
|
-
/**
|
23
|
-
* Maximum date which is available for selection
|
24
|
-
*/
|
25
|
-
maxDate?: Date;
|
26
|
-
/**
|
27
|
-
* Date custom classes
|
28
|
-
*/
|
29
|
-
dateCustomClasses?: DatepickerDateCustomClasses[];
|
30
|
-
/**
|
31
|
-
* Date tooltip text
|
32
|
-
*/
|
33
|
-
dateTooltipTexts?: DatepickerDateTooltipText[];
|
34
|
-
/**
|
35
|
-
* Disable specific dates
|
36
|
-
*/
|
37
|
-
datesEnabled?: Date[];
|
38
|
-
/**
|
39
|
-
* Enable specific dates
|
40
|
-
*/
|
41
|
-
datesDisabled?: Date[];
|
42
|
-
/**
|
43
|
-
* Emits when datepicker value has been changed
|
44
|
-
*/
|
45
|
-
bsValueChange: EventEmitter<Date>;
|
46
|
-
protected _subs: Subscription[];
|
47
|
-
private readonly _datepicker;
|
48
|
-
private _datepickerRef?;
|
49
|
-
constructor(_config: BsDatepickerInlineConfig, _elementRef: ElementRef, _renderer: Renderer2, _viewContainerRef: ViewContainerRef, cis: ComponentLoaderFactory);
|
50
|
-
_bsValue?: Date;
|
51
|
-
/**
|
52
|
-
* Initial value of datepicker
|
53
|
-
*/
|
54
|
-
set bsValue(value: Date | undefined);
|
55
|
-
ngOnInit(): void;
|
56
|
-
initSubscribes(): void;
|
57
|
-
unsubscribeSubscriptions(): void;
|
58
|
-
ngOnChanges(changes: SimpleChanges): void;
|
59
|
-
/**
|
60
|
-
* Set config for datepicker
|
61
|
-
*/
|
62
|
-
setConfig(): void;
|
63
|
-
ngOnDestroy(): void;
|
64
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BsDatepickerInlineDirective, never>;
|
65
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BsDatepickerInlineDirective, "bs-datepicker-inline", ["bsDatepickerInline"], { "bsConfig": { "alias": "bsConfig"; "required": false; }; "isDisabled": { "alias": "isDisabled"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "dateCustomClasses": { "alias": "dateCustomClasses"; "required": false; }; "dateTooltipTexts": { "alias": "dateTooltipTexts"; "required": false; }; "datesEnabled": { "alias": "datesEnabled"; "required": false; }; "datesDisabled": { "alias": "datesDisabled"; "required": false; }; "bsValue": { "alias": "bsValue"; "required": false; }; }, { "bsValueChange": "bsValueChange"; }, never, never, true, never>;
|
66
|
-
}
|
@@ -1,6 +0,0 @@
|
|
1
|
-
import { BsDatepickerConfig } from './bs-datepicker.config';
|
2
|
-
import * as i0 from "@angular/core";
|
3
|
-
export declare class BsDatepickerInlineConfig extends BsDatepickerConfig {
|
4
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BsDatepickerInlineConfig, never>;
|
5
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<BsDatepickerInlineConfig>;
|
6
|
-
}
|
@@ -1,32 +0,0 @@
|
|
1
|
-
import { ChangeDetectorRef, ElementRef, OnDestroy, OnInit, Renderer2 } from '@angular/core';
|
2
|
-
import { AbstractControl, ControlValueAccessor, ValidationErrors, Validator } from '@angular/forms';
|
3
|
-
import { BsDatepickerDirective } from './bs-datepicker.component';
|
4
|
-
import { BsLocaleService } from './bs-locale.service';
|
5
|
-
import * as i0 from "@angular/core";
|
6
|
-
export declare class BsDatepickerInputDirective implements ControlValueAccessor, Validator, OnInit, OnDestroy {
|
7
|
-
private _picker;
|
8
|
-
private _localeService;
|
9
|
-
private _renderer;
|
10
|
-
private _elRef;
|
11
|
-
private changeDetection;
|
12
|
-
private _onChange;
|
13
|
-
private _onTouched;
|
14
|
-
private _validatorChange;
|
15
|
-
private _value?;
|
16
|
-
private _subs;
|
17
|
-
constructor(_picker: BsDatepickerDirective, _localeService: BsLocaleService, _renderer: Renderer2, _elRef: ElementRef, changeDetection: ChangeDetectorRef);
|
18
|
-
onChange(event: Event): void;
|
19
|
-
onBlur(): void;
|
20
|
-
hide(): void;
|
21
|
-
ngOnInit(): void;
|
22
|
-
ngOnDestroy(): void;
|
23
|
-
_setInputValue(value?: Date): void;
|
24
|
-
validate(c: AbstractControl): ValidationErrors | null;
|
25
|
-
registerOnValidatorChange(fn: () => void): void;
|
26
|
-
writeValue(value: Date | string): void;
|
27
|
-
setDisabledState(isDisabled: boolean): void;
|
28
|
-
registerOnChange(fn: () => void): void;
|
29
|
-
registerOnTouched(fn: () => void): void;
|
30
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BsDatepickerInputDirective, [{ host: true; }, null, null, null, null]>;
|
31
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BsDatepickerInputDirective, "input[bsDatepicker]", never, {}, {}, never, never, true, never>;
|
32
|
-
}
|
@@ -1,135 +0,0 @@
|
|
1
|
-
import { AfterViewInit, ElementRef, EventEmitter, OnChanges, OnDestroy, OnInit, Renderer2, SimpleChanges, ViewContainerRef } from '@angular/core';
|
2
|
-
import { ComponentLoaderFactory } from 'ngx-bootstrap/component-loader';
|
3
|
-
import { BehaviorSubject, Observable, Subject, Subscription } from 'rxjs';
|
4
|
-
import { BsDatepickerConfig } from './bs-datepicker.config';
|
5
|
-
import { BsDatepickerViewMode, DatepickerDateCustomClasses, DatepickerDateTooltipText } from './models';
|
6
|
-
import * as i0 from "@angular/core";
|
7
|
-
export declare let previousDate: Date | Date[] | undefined;
|
8
|
-
export declare class BsDatepickerDirective implements OnInit, OnDestroy, OnChanges, AfterViewInit {
|
9
|
-
_config: BsDatepickerConfig;
|
10
|
-
private _elementRef;
|
11
|
-
private _renderer;
|
12
|
-
/**
|
13
|
-
* Placement of a datepicker. Accepts: "top", "bottom", "left", "right"
|
14
|
-
*/
|
15
|
-
placement: 'top' | 'bottom' | 'left' | 'right';
|
16
|
-
/**
|
17
|
-
* Specifies events that should trigger. Supports a space separated list of
|
18
|
-
* event names.
|
19
|
-
*/
|
20
|
-
triggers: string;
|
21
|
-
/**
|
22
|
-
* Close datepicker on outside click
|
23
|
-
*/
|
24
|
-
outsideClick: boolean;
|
25
|
-
/**
|
26
|
-
* A selector specifying the element the datepicker should be appended to.
|
27
|
-
*/
|
28
|
-
container: string;
|
29
|
-
outsideEsc: boolean;
|
30
|
-
/**
|
31
|
-
* Emits an event when the datepicker is shown
|
32
|
-
*/
|
33
|
-
onShown: EventEmitter<unknown>;
|
34
|
-
/**
|
35
|
-
* Emits an event when the datepicker is hidden
|
36
|
-
*/
|
37
|
-
onHidden: EventEmitter<unknown>;
|
38
|
-
isOpen$: BehaviorSubject<boolean>;
|
39
|
-
isDestroy$: Subject<unknown>;
|
40
|
-
/**
|
41
|
-
* Indicates whether datepicker's content is enabled or not
|
42
|
-
*/
|
43
|
-
isDisabled: boolean;
|
44
|
-
/**
|
45
|
-
* Minimum date which is available for selection
|
46
|
-
*/
|
47
|
-
minDate?: Date;
|
48
|
-
/**
|
49
|
-
* Maximum date which is available for selection
|
50
|
-
*/
|
51
|
-
maxDate?: Date;
|
52
|
-
/**
|
53
|
-
* Ignore validation errors when you reset to minDate or maxDate
|
54
|
-
*/
|
55
|
-
ignoreMinMaxErrors?: boolean;
|
56
|
-
/**
|
57
|
-
* Minimum view mode : day, month, or year
|
58
|
-
*/
|
59
|
-
minMode?: BsDatepickerViewMode;
|
60
|
-
/**
|
61
|
-
* Disable Certain days in the week
|
62
|
-
*/
|
63
|
-
daysDisabled?: number[];
|
64
|
-
/**
|
65
|
-
* Disable specific dates
|
66
|
-
*/
|
67
|
-
datesDisabled?: Date[];
|
68
|
-
/**
|
69
|
-
* Enable specific dates
|
70
|
-
*/
|
71
|
-
datesEnabled?: Date[];
|
72
|
-
/**
|
73
|
-
* Date custom classes
|
74
|
-
*/
|
75
|
-
dateCustomClasses?: DatepickerDateCustomClasses[];
|
76
|
-
/**
|
77
|
-
* Date tooltip text
|
78
|
-
*/
|
79
|
-
dateTooltipTexts?: DatepickerDateTooltipText[];
|
80
|
-
/**
|
81
|
-
* Emits when datepicker value has been changed
|
82
|
-
*/
|
83
|
-
bsValueChange: EventEmitter<Date>;
|
84
|
-
get readonlyValue(): "" | null;
|
85
|
-
protected _subs: Subscription[];
|
86
|
-
private _datepicker;
|
87
|
-
private _datepickerRef?;
|
88
|
-
private readonly _dateInputFormat$;
|
89
|
-
constructor(_config: BsDatepickerConfig, _elementRef: ElementRef, _renderer: Renderer2, _viewContainerRef: ViewContainerRef, cis: ComponentLoaderFactory);
|
90
|
-
/**
|
91
|
-
* Returns whether or not the datepicker is currently being shown
|
92
|
-
*/
|
93
|
-
get isOpen(): boolean;
|
94
|
-
set isOpen(value: boolean);
|
95
|
-
_bsValue?: Date;
|
96
|
-
/**
|
97
|
-
* Initial value of datepicker
|
98
|
-
*/
|
99
|
-
set bsValue(value: Date | undefined);
|
100
|
-
get dateInputFormat$(): Observable<string | undefined>;
|
101
|
-
/**
|
102
|
-
* Config object for datepicker
|
103
|
-
*/
|
104
|
-
bsConfig?: Partial<BsDatepickerConfig>;
|
105
|
-
ngOnInit(): void;
|
106
|
-
initPreviousValue(): void;
|
107
|
-
ngOnChanges(changes: SimpleChanges): void;
|
108
|
-
initSubscribes(): void;
|
109
|
-
keepDatepickerModalOpened(): boolean;
|
110
|
-
isDateSame(): boolean;
|
111
|
-
ngAfterViewInit(): void;
|
112
|
-
/**
|
113
|
-
* Opens an element’s datepicker. This is considered a “manual” triggering of
|
114
|
-
* the datepicker.
|
115
|
-
*/
|
116
|
-
show(): void;
|
117
|
-
/**
|
118
|
-
* Closes an element’s datepicker. This is considered a “manual” triggering of
|
119
|
-
* the datepicker.
|
120
|
-
*/
|
121
|
-
hide(): void;
|
122
|
-
/**
|
123
|
-
* Toggles an element’s datepicker. This is considered a “manual” triggering
|
124
|
-
* of the datepicker.
|
125
|
-
*/
|
126
|
-
toggle(): void;
|
127
|
-
/**
|
128
|
-
* Set config for datepicker
|
129
|
-
*/
|
130
|
-
setConfig(): void;
|
131
|
-
unsubscribeSubscriptions(): void;
|
132
|
-
ngOnDestroy(): void;
|
133
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BsDatepickerDirective, never>;
|
134
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BsDatepickerDirective, "[bsDatepicker]", ["bsDatepicker"], { "placement": { "alias": "placement"; "required": false; }; "triggers": { "alias": "triggers"; "required": false; }; "outsideClick": { "alias": "outsideClick"; "required": false; }; "container": { "alias": "container"; "required": false; }; "outsideEsc": { "alias": "outsideEsc"; "required": false; }; "isDisabled": { "alias": "isDisabled"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "ignoreMinMaxErrors": { "alias": "ignoreMinMaxErrors"; "required": false; }; "minMode": { "alias": "minMode"; "required": false; }; "daysDisabled": { "alias": "daysDisabled"; "required": false; }; "datesDisabled": { "alias": "datesDisabled"; "required": false; }; "datesEnabled": { "alias": "datesEnabled"; "required": false; }; "dateCustomClasses": { "alias": "dateCustomClasses"; "required": false; }; "dateTooltipTexts": { "alias": "dateTooltipTexts"; "required": false; }; "isOpen": { "alias": "isOpen"; "required": false; }; "bsValue": { "alias": "bsValue"; "required": false; }; "bsConfig": { "alias": "bsConfig"; "required": false; }; }, { "onShown": "onShown"; "onHidden": "onHidden"; "bsValueChange": "bsValueChange"; }, never, never, true, never>;
|
135
|
-
}
|
@@ -1,166 +0,0 @@
|
|
1
|
-
import { DatepickerRenderOptions, BsDatepickerViewMode, DatepickerDateCustomClasses, DatepickerDateTooltipText } from './models';
|
2
|
-
import { BsCustomDates } from './themes/bs/bs-custom-dates-view.component';
|
3
|
-
import * as i0 from "@angular/core";
|
4
|
-
/**
|
5
|
-
* For date range picker there are `BsDaterangepickerConfig` which inherits all properties,
|
6
|
-
* except `displayMonths`, for range picker it default to `2`
|
7
|
-
*/
|
8
|
-
export declare class BsDatepickerConfig implements DatepickerRenderOptions {
|
9
|
-
/** sets use adaptive position */
|
10
|
-
adaptivePosition: boolean;
|
11
|
-
/** sets use UTC date time format */
|
12
|
-
useUtc: boolean;
|
13
|
-
/** turn on/off animation */
|
14
|
-
isAnimated: boolean;
|
15
|
-
value?: Date | Date[];
|
16
|
-
isDisabled?: boolean;
|
17
|
-
/**
|
18
|
-
* Default min date for all date/range pickers
|
19
|
-
*/
|
20
|
-
minDate?: Date;
|
21
|
-
/**
|
22
|
-
* Default max date for all date/range pickers
|
23
|
-
*/
|
24
|
-
maxDate?: Date;
|
25
|
-
/**
|
26
|
-
* The view that the datepicker should start in
|
27
|
-
*/
|
28
|
-
startView: BsDatepickerViewMode;
|
29
|
-
/**
|
30
|
-
* Default date custom classes for all date/range pickers
|
31
|
-
*/
|
32
|
-
dateCustomClasses?: DatepickerDateCustomClasses[];
|
33
|
-
/**
|
34
|
-
* Default tooltip text for all date/range pickers
|
35
|
-
*/
|
36
|
-
dateTooltipTexts?: DatepickerDateTooltipText[];
|
37
|
-
/**
|
38
|
-
* Disable specific days, e.g. [0,6] will disable all Saturdays and Sundays
|
39
|
-
*/
|
40
|
-
daysDisabled?: number[];
|
41
|
-
/**
|
42
|
-
* Disable specific dates
|
43
|
-
*/
|
44
|
-
datesDisabled?: Date[];
|
45
|
-
/**
|
46
|
-
* Show one months for special cases (only for dateRangePicker)
|
47
|
-
* 1. maxDate is equal to today's date
|
48
|
-
* 2. minDate's month is equal to maxDate's month
|
49
|
-
*/
|
50
|
-
displayOneMonthRange?: boolean;
|
51
|
-
/**
|
52
|
-
* Enable specific dates
|
53
|
-
*/
|
54
|
-
datesEnabled?: Date[];
|
55
|
-
/**
|
56
|
-
* Makes dates from other months active
|
57
|
-
*/
|
58
|
-
selectFromOtherMonth?: boolean;
|
59
|
-
/**
|
60
|
-
* Allows select first date of the week by click on week number
|
61
|
-
*/
|
62
|
-
selectWeek?: boolean;
|
63
|
-
/**
|
64
|
-
* Allows select daterange as first and last day of week by click on week number (dateRangePicker only)
|
65
|
-
*/
|
66
|
-
selectWeekDateRange?: boolean;
|
67
|
-
/**
|
68
|
-
* Shows previous and current month, instead of current and next (dateRangePicker only)
|
69
|
-
*/
|
70
|
-
showPreviousMonth?: boolean;
|
71
|
-
/**
|
72
|
-
* Prevents change to next month for right calendar in two calendars view (dateRangePicker only)
|
73
|
-
*/
|
74
|
-
preventChangeToNextMonth?: boolean;
|
75
|
-
/**
|
76
|
-
* Add class to current day
|
77
|
-
*/
|
78
|
-
customTodayClass?: string;
|
79
|
-
/**
|
80
|
-
* Default mode for all date pickers
|
81
|
-
*/
|
82
|
-
minMode?: BsDatepickerViewMode;
|
83
|
-
/**
|
84
|
-
* If true, returns focus to the datepicker / daterangepicker input after date selection
|
85
|
-
*/
|
86
|
-
returnFocusToInput: boolean;
|
87
|
-
/** CSS class which will be applied to datepicker container,
|
88
|
-
* usually used to set color theme
|
89
|
-
*/
|
90
|
-
containerClass: string;
|
91
|
-
displayMonths: number;
|
92
|
-
/**
|
93
|
-
* Allows to hide week numbers in datepicker
|
94
|
-
*/
|
95
|
-
showWeekNumbers: boolean;
|
96
|
-
dateInputFormat: string;
|
97
|
-
rangeSeparator: string;
|
98
|
-
/**
|
99
|
-
* Date format for date range input field
|
100
|
-
*/
|
101
|
-
rangeInputFormat: string;
|
102
|
-
/**
|
103
|
-
* Predefined ranges
|
104
|
-
*/
|
105
|
-
ranges?: BsCustomDates[];
|
106
|
-
/**
|
107
|
-
* Max Date Range in days
|
108
|
-
*/
|
109
|
-
maxDateRange?: number;
|
110
|
-
monthTitle: string;
|
111
|
-
yearTitle: string;
|
112
|
-
dayLabel: string;
|
113
|
-
monthLabel: string;
|
114
|
-
yearLabel: string;
|
115
|
-
weekNumbers: string;
|
116
|
-
/**
|
117
|
-
* Shows 'today' button
|
118
|
-
*/
|
119
|
-
showTodayButton: boolean;
|
120
|
-
/**
|
121
|
-
* Shows clear button
|
122
|
-
*/
|
123
|
-
showClearButton: boolean;
|
124
|
-
/**
|
125
|
-
* Positioning of 'today' button
|
126
|
-
*/
|
127
|
-
todayPosition: string;
|
128
|
-
/**
|
129
|
-
* Positioning of 'clear' button
|
130
|
-
*/
|
131
|
-
clearPosition: string;
|
132
|
-
/**
|
133
|
-
* Label for 'today' button
|
134
|
-
*/
|
135
|
-
todayButtonLabel: string;
|
136
|
-
/**
|
137
|
-
* Label for 'clear' button
|
138
|
-
*/
|
139
|
-
clearButtonLabel: string;
|
140
|
-
/**
|
141
|
-
* Label for 'custom range' button
|
142
|
-
*/
|
143
|
-
customRangeButtonLabel: string;
|
144
|
-
/**
|
145
|
-
* Shows timepicker under datepicker
|
146
|
-
*/
|
147
|
-
withTimepicker: boolean;
|
148
|
-
/**
|
149
|
-
* Set current hours, minutes, seconds and milliseconds for bsValue
|
150
|
-
*/
|
151
|
-
initCurrentTime?: boolean;
|
152
|
-
/**
|
153
|
-
* Set allowed positions of container.
|
154
|
-
*/
|
155
|
-
allowedPositions: string[];
|
156
|
-
/**
|
157
|
-
* Set rule for datepicker closing. If value is true datepicker closes only if date is changed, if user changes only time datepicker doesn't close. It is available only if property withTimepicker is set true
|
158
|
-
* */
|
159
|
-
keepDatepickerOpened: boolean;
|
160
|
-
/**
|
161
|
-
* Allows keep invalid dates in range. Can be used with minDate, maxDate
|
162
|
-
* */
|
163
|
-
keepDatesOutOfRules: boolean;
|
164
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BsDatepickerConfig, never>;
|
165
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<BsDatepickerConfig>;
|
166
|
-
}
|
@@ -1,30 +0,0 @@
|
|
1
|
-
import { ModuleWithProviders } from '@angular/core';
|
2
|
-
import * as i0 from "@angular/core";
|
3
|
-
import * as i1 from "@angular/common";
|
4
|
-
import * as i2 from "ngx-bootstrap/tooltip";
|
5
|
-
import * as i3 from "ngx-bootstrap/timepicker";
|
6
|
-
import * as i4 from "./themes/bs/bs-calendar-layout.component";
|
7
|
-
import * as i5 from "./themes/bs/bs-current-date-view.component";
|
8
|
-
import * as i6 from "./themes/bs/bs-custom-dates-view.component";
|
9
|
-
import * as i7 from "./themes/bs/bs-datepicker-day-decorator.directive";
|
10
|
-
import * as i8 from "./themes/bs/bs-datepicker-navigation-view.component";
|
11
|
-
import * as i9 from "./themes/bs/bs-days-calendar-view.component";
|
12
|
-
import * as i10 from "./themes/bs/bs-months-calendar-view.component";
|
13
|
-
import * as i11 from "./themes/bs/bs-timepicker-view.component";
|
14
|
-
import * as i12 from "./themes/bs/bs-years-calendar-view.component";
|
15
|
-
import * as i13 from "./themes/bs/bs-datepicker-container.component";
|
16
|
-
import * as i14 from "./bs-datepicker.component";
|
17
|
-
import * as i15 from "./themes/bs/bs-datepicker-inline-container.component";
|
18
|
-
import * as i16 from "./bs-datepicker-inline.component";
|
19
|
-
import * as i17 from "./bs-datepicker-input.directive";
|
20
|
-
import * as i18 from "./themes/bs/bs-daterangepicker-container.component";
|
21
|
-
import * as i19 from "./bs-daterangepicker.component";
|
22
|
-
import * as i20 from "./themes/bs/bs-daterangepicker-inline-container.component";
|
23
|
-
import * as i21 from "./bs-daterangepicker-inline.component";
|
24
|
-
import * as i22 from "./bs-daterangepicker-input.directive";
|
25
|
-
export declare class BsDatepickerModule {
|
26
|
-
static forRoot(): ModuleWithProviders<BsDatepickerModule>;
|
27
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BsDatepickerModule, never>;
|
28
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<BsDatepickerModule, never, [typeof i1.CommonModule, typeof i2.TooltipModule, typeof i3.TimepickerModule, typeof i4.BsCalendarLayoutComponent, typeof i5.BsCurrentDateViewComponent, typeof i6.BsCustomDatesViewComponent, typeof i7.BsDatepickerDayDecoratorComponent, typeof i8.BsDatepickerNavigationViewComponent, typeof i9.BsDaysCalendarViewComponent, typeof i10.BsMonthCalendarViewComponent, typeof i11.BsTimepickerViewComponent, typeof i12.BsYearsCalendarViewComponent, typeof i13.BsDatepickerContainerComponent, typeof i14.BsDatepickerDirective, typeof i15.BsDatepickerInlineContainerComponent, typeof i16.BsDatepickerInlineDirective, typeof i17.BsDatepickerInputDirective, typeof i18.BsDaterangepickerContainerComponent, typeof i19.BsDaterangepickerDirective, typeof i20.BsDaterangepickerInlineContainerComponent, typeof i21.BsDaterangepickerInlineDirective, typeof i22.BsDaterangepickerInputDirective], [typeof i13.BsDatepickerContainerComponent, typeof i14.BsDatepickerDirective, typeof i15.BsDatepickerInlineContainerComponent, typeof i16.BsDatepickerInlineDirective, typeof i17.BsDatepickerInputDirective, typeof i18.BsDaterangepickerContainerComponent, typeof i19.BsDaterangepickerDirective, typeof i20.BsDaterangepickerInlineContainerComponent, typeof i21.BsDaterangepickerInlineDirective, typeof i22.BsDaterangepickerInputDirective]>;
|
29
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<BsDatepickerModule>;
|
30
|
-
}
|