ngx-bootstrap 19.0.1 → 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 +89 -89
- 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
@@ -1,28 +0,0 @@
|
|
1
|
-
import { Action } from 'ngx-bootstrap/mini-ngrx';
|
2
|
-
import { TimeChangeEvent, TimepickerComponentState, Time } from '../timepicker.models';
|
3
|
-
import * as i0 from "@angular/core";
|
4
|
-
export declare class TimepickerActions {
|
5
|
-
static readonly WRITE_VALUE = "[timepicker] write value from ng model";
|
6
|
-
static readonly CHANGE_HOURS = "[timepicker] change hours";
|
7
|
-
static readonly CHANGE_MINUTES = "[timepicker] change minutes";
|
8
|
-
static readonly CHANGE_SECONDS = "[timepicker] change seconds";
|
9
|
-
static readonly SET_TIME_UNIT = "[timepicker] set time unit";
|
10
|
-
static readonly UPDATE_CONTROLS = "[timepicker] update controls";
|
11
|
-
writeValue(value?: Date | string): {
|
12
|
-
type: string;
|
13
|
-
payload: string | Date | undefined;
|
14
|
-
};
|
15
|
-
changeHours(event: TimeChangeEvent): {
|
16
|
-
type: string;
|
17
|
-
payload: TimeChangeEvent;
|
18
|
-
};
|
19
|
-
changeMinutes(event: TimeChangeEvent): {
|
20
|
-
type: string;
|
21
|
-
payload: TimeChangeEvent;
|
22
|
-
};
|
23
|
-
changeSeconds(event: TimeChangeEvent): Action;
|
24
|
-
setTime(value: Time): Action;
|
25
|
-
updateControls(value: TimepickerComponentState): Action;
|
26
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TimepickerActions, never>;
|
27
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<TimepickerActions>;
|
28
|
-
}
|
@@ -1,9 +0,0 @@
|
|
1
|
-
import { Action } from 'ngx-bootstrap/mini-ngrx';
|
2
|
-
import { TimepickerComponentState, TimepickerControls } from '../timepicker.models';
|
3
|
-
export interface TimepickerState {
|
4
|
-
value?: Date;
|
5
|
-
config: TimepickerComponentState;
|
6
|
-
controls: TimepickerControls;
|
7
|
-
}
|
8
|
-
export declare const initialState: TimepickerState;
|
9
|
-
export declare function timepickerReducer(state: TimepickerState | undefined, action: Action): TimepickerState;
|
@@ -1,8 +0,0 @@
|
|
1
|
-
import { TimepickerState } from './timepicker.reducer';
|
2
|
-
import { MiniStore } from 'ngx-bootstrap/mini-ngrx';
|
3
|
-
import * as i0 from "@angular/core";
|
4
|
-
export declare class TimepickerStore extends MiniStore<TimepickerState> {
|
5
|
-
constructor();
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TimepickerStore, never>;
|
7
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<TimepickerStore>;
|
8
|
-
}
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import { TimeChangeEvent, TimepickerComponentState, TimepickerControls } from './timepicker.models';
|
2
|
-
export declare function canChangeValue(state: TimepickerComponentState, event?: TimeChangeEvent): boolean;
|
3
|
-
export declare function canChangeHours(event: TimeChangeEvent, controls: TimepickerControls): boolean;
|
4
|
-
export declare function canChangeMinutes(event: TimeChangeEvent, controls: TimepickerControls): boolean;
|
5
|
-
export declare function canChangeSeconds(event: TimeChangeEvent, controls: TimepickerControls): boolean;
|
6
|
-
export declare function getControlsValue(state: TimepickerComponentState): TimepickerComponentState;
|
7
|
-
export declare function timepickerControls(value: Date | undefined, state: TimepickerComponentState): TimepickerControls;
|
@@ -1,116 +0,0 @@
|
|
1
|
-
import { ChangeDetectorRef, EventEmitter, OnChanges, OnDestroy } from '@angular/core';
|
2
|
-
import { ControlValueAccessor } from '@angular/forms';
|
3
|
-
import { Subscription } from 'rxjs';
|
4
|
-
import { ControlValueAccessorModel } from './models';
|
5
|
-
import { TimepickerActions } from './reducer/timepicker.actions';
|
6
|
-
import { TimepickerStore } from './reducer/timepicker.store';
|
7
|
-
import { TimepickerConfig } from './timepicker.config';
|
8
|
-
import { TimeChangeSource, TimepickerComponentState, TimepickerControls } from './timepicker.models';
|
9
|
-
import * as i0 from "@angular/core";
|
10
|
-
export declare const TIMEPICKER_CONTROL_VALUE_ACCESSOR: ControlValueAccessorModel;
|
11
|
-
export declare class TimepickerComponent implements ControlValueAccessor, TimepickerComponentState, TimepickerControls, OnChanges, OnDestroy {
|
12
|
-
private _cd;
|
13
|
-
private _store;
|
14
|
-
private _timepickerActions;
|
15
|
-
/** hours change step */
|
16
|
-
hourStep: number;
|
17
|
-
/** minutes change step */
|
18
|
-
minuteStep: number;
|
19
|
-
/** seconds change step */
|
20
|
-
secondsStep: number;
|
21
|
-
/** if true hours and minutes fields will be readonly */
|
22
|
-
readonlyInput: boolean;
|
23
|
-
/** if true hours and minutes fields will be disabled */
|
24
|
-
disabled: boolean;
|
25
|
-
/** if true scroll inside hours and minutes inputs will change time */
|
26
|
-
mousewheel: boolean;
|
27
|
-
/** if true the values of hours and minutes can be changed using the up/down arrow keys on the keyboard */
|
28
|
-
arrowkeys: boolean;
|
29
|
-
/** if true spinner arrows above and below the inputs will be shown */
|
30
|
-
showSpinners: boolean;
|
31
|
-
/** if true meridian button will be shown */
|
32
|
-
showMeridian: boolean;
|
33
|
-
/** show minutes in timepicker */
|
34
|
-
showMinutes: boolean;
|
35
|
-
/** show seconds in timepicker */
|
36
|
-
showSeconds: boolean;
|
37
|
-
/** meridian labels based on locale */
|
38
|
-
meridians: string[];
|
39
|
-
/** minimum time user can select */
|
40
|
-
min?: Date;
|
41
|
-
/** maximum time user can select */
|
42
|
-
max?: Date;
|
43
|
-
/** placeholder for hours field in timepicker */
|
44
|
-
hoursPlaceholder: string;
|
45
|
-
/** placeholder for minutes field in timepicker */
|
46
|
-
minutesPlaceholder: string;
|
47
|
-
/** placeholder for seconds field in timepicker */
|
48
|
-
secondsPlaceholder: string;
|
49
|
-
/** emits true if value is a valid date */
|
50
|
-
isValid: EventEmitter<boolean>;
|
51
|
-
/** emits value of meridian*/
|
52
|
-
meridianChange: EventEmitter<string>;
|
53
|
-
hours: string;
|
54
|
-
minutes: string;
|
55
|
-
seconds: string;
|
56
|
-
meridian: string;
|
57
|
-
invalidHours: boolean;
|
58
|
-
invalidMinutes: boolean;
|
59
|
-
invalidSeconds: boolean;
|
60
|
-
labelHours: string;
|
61
|
-
labelMinutes: string;
|
62
|
-
labelSeconds: string;
|
63
|
-
canIncrementHours: boolean;
|
64
|
-
canIncrementMinutes: boolean;
|
65
|
-
canIncrementSeconds: boolean;
|
66
|
-
canDecrementHours: boolean;
|
67
|
-
canDecrementMinutes: boolean;
|
68
|
-
canDecrementSeconds: boolean;
|
69
|
-
canToggleMeridian: boolean;
|
70
|
-
onChange: Function;
|
71
|
-
onTouched: Function;
|
72
|
-
config: TimepickerConfig;
|
73
|
-
timepickerSub?: Subscription;
|
74
|
-
constructor(_config: TimepickerConfig, _cd: ChangeDetectorRef, _store: TimepickerStore, _timepickerActions: TimepickerActions);
|
75
|
-
/** @deprecated - please use `isEditable` instead */
|
76
|
-
get isSpinnersVisible(): boolean;
|
77
|
-
get isEditable(): boolean;
|
78
|
-
resetValidation(): void;
|
79
|
-
isPM(): boolean;
|
80
|
-
prevDef($event: Event): void;
|
81
|
-
wheelSign($event: WheelEventInit): number;
|
82
|
-
ngOnChanges(): void;
|
83
|
-
changeHours(step: number, source?: TimeChangeSource): void;
|
84
|
-
changeMinutes(step: number, source?: TimeChangeSource): void;
|
85
|
-
changeSeconds(step: number, source?: TimeChangeSource): void;
|
86
|
-
updateHours(target?: Partial<EventTarget> | null): void;
|
87
|
-
updateMinutes(target: Partial<EventTarget> | null): void;
|
88
|
-
updateSeconds(target: Partial<EventTarget> | null): void;
|
89
|
-
isValidLimit(): boolean;
|
90
|
-
isOneOfDatesIsEmpty(): boolean;
|
91
|
-
_updateTime(): void;
|
92
|
-
toggleMeridian(): void;
|
93
|
-
/**
|
94
|
-
* Write a new value to the element.
|
95
|
-
*/
|
96
|
-
writeValue(obj?: string | Date): void;
|
97
|
-
/**
|
98
|
-
* Set the function to be called when the control receives a change event.
|
99
|
-
*/
|
100
|
-
registerOnChange(fn: (_: any) => void): void;
|
101
|
-
/**
|
102
|
-
* Set the function to be called when the control receives a touch event.
|
103
|
-
*/
|
104
|
-
registerOnTouched(fn: () => void): void;
|
105
|
-
/**
|
106
|
-
* This function is called when the control status changes to or from "disabled".
|
107
|
-
* Depending on the value, it will enable or disable the appropriate DOM element.
|
108
|
-
*
|
109
|
-
* @param isDisabled
|
110
|
-
*/
|
111
|
-
setDisabledState(isDisabled: boolean): void;
|
112
|
-
ngOnDestroy(): void;
|
113
|
-
private _renderTime;
|
114
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TimepickerComponent, never>;
|
115
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TimepickerComponent, "timepicker", never, { "hourStep": { "alias": "hourStep"; "required": false; }; "minuteStep": { "alias": "minuteStep"; "required": false; }; "secondsStep": { "alias": "secondsStep"; "required": false; }; "readonlyInput": { "alias": "readonlyInput"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "mousewheel": { "alias": "mousewheel"; "required": false; }; "arrowkeys": { "alias": "arrowkeys"; "required": false; }; "showSpinners": { "alias": "showSpinners"; "required": false; }; "showMeridian": { "alias": "showMeridian"; "required": false; }; "showMinutes": { "alias": "showMinutes"; "required": false; }; "showSeconds": { "alias": "showSeconds"; "required": false; }; "meridians": { "alias": "meridians"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "hoursPlaceholder": { "alias": "hoursPlaceholder"; "required": false; }; "minutesPlaceholder": { "alias": "minutesPlaceholder"; "required": false; }; "secondsPlaceholder": { "alias": "secondsPlaceholder"; "required": false; }; }, { "isValid": "isValid"; "meridianChange": "meridianChange"; }, never, never, true, never>;
|
116
|
-
}
|
@@ -1,48 +0,0 @@
|
|
1
|
-
import * as i0 from "@angular/core";
|
2
|
-
/** Provides default configuration values for timepicker */
|
3
|
-
export declare class TimepickerConfig {
|
4
|
-
/** hours change step */
|
5
|
-
hourStep: number;
|
6
|
-
/** minutes change step */
|
7
|
-
minuteStep: number;
|
8
|
-
/** seconds changes step */
|
9
|
-
secondsStep: number;
|
10
|
-
/** if true works in 12H mode and displays AM/PM. If false works in 24H mode and hides AM/PM */
|
11
|
-
showMeridian: boolean;
|
12
|
-
/** meridian labels based on locale */
|
13
|
-
meridians: string[];
|
14
|
-
/** if true hours and minutes fields will be readonly */
|
15
|
-
readonlyInput: boolean;
|
16
|
-
/** if true hours and minutes fields will be disabled */
|
17
|
-
disabled: boolean;
|
18
|
-
/** if true emptyTime is not marked as invalid */
|
19
|
-
allowEmptyTime: boolean;
|
20
|
-
/** if true scroll inside hours and minutes inputs will change time */
|
21
|
-
mousewheel: boolean;
|
22
|
-
/** if true the values of hours and minutes can be changed using the up/down arrow keys on the keyboard */
|
23
|
-
arrowkeys: boolean;
|
24
|
-
/** if true spinner arrows above and below the inputs will be shown */
|
25
|
-
showSpinners: boolean;
|
26
|
-
/** show seconds in timepicker */
|
27
|
-
showSeconds: boolean;
|
28
|
-
/** show minutes in timepicker */
|
29
|
-
showMinutes: boolean;
|
30
|
-
/** minimum time user can select */
|
31
|
-
min?: Date;
|
32
|
-
/** maximum time user can select */
|
33
|
-
max?: Date;
|
34
|
-
/** placeholder for hours field in timepicker */
|
35
|
-
hoursPlaceholder: string;
|
36
|
-
/** placeholder for minutes field in timepicker */
|
37
|
-
minutesPlaceholder: string;
|
38
|
-
/** placeholder for seconds field in timepicker */
|
39
|
-
secondsPlaceholder: string;
|
40
|
-
/** hours aria label */
|
41
|
-
ariaLabelHours: string;
|
42
|
-
/** minutes aria label */
|
43
|
-
ariaLabelMinutes: string;
|
44
|
-
/** seconds aria label */
|
45
|
-
ariaLabelSeconds: string;
|
46
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TimepickerConfig, never>;
|
47
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<TimepickerConfig>;
|
48
|
-
}
|
@@ -1,35 +0,0 @@
|
|
1
|
-
export interface Time {
|
2
|
-
hour?: string | number;
|
3
|
-
minute?: string | number;
|
4
|
-
seconds?: string | number;
|
5
|
-
isPM?: boolean;
|
6
|
-
}
|
7
|
-
export interface TimepickerControls {
|
8
|
-
canIncrementHours: boolean;
|
9
|
-
canIncrementMinutes: boolean;
|
10
|
-
canIncrementSeconds: boolean;
|
11
|
-
canDecrementHours: boolean;
|
12
|
-
canDecrementMinutes: boolean;
|
13
|
-
canDecrementSeconds: boolean;
|
14
|
-
canToggleMeridian: boolean;
|
15
|
-
}
|
16
|
-
export interface TimepickerComponentState {
|
17
|
-
min?: Date;
|
18
|
-
max?: Date;
|
19
|
-
hourStep: number;
|
20
|
-
minuteStep: number;
|
21
|
-
secondsStep: number;
|
22
|
-
readonlyInput: boolean;
|
23
|
-
disabled: boolean;
|
24
|
-
mousewheel: boolean;
|
25
|
-
arrowkeys: boolean;
|
26
|
-
showSpinners: boolean;
|
27
|
-
showMeridian: boolean;
|
28
|
-
showSeconds: boolean;
|
29
|
-
meridians: string[];
|
30
|
-
}
|
31
|
-
export type TimeChangeSource = 'wheel' | 'key' | '';
|
32
|
-
export interface TimeChangeEvent {
|
33
|
-
step: number;
|
34
|
-
source: TimeChangeSource;
|
35
|
-
}
|
@@ -1,9 +0,0 @@
|
|
1
|
-
import { ModuleWithProviders } from '@angular/core';
|
2
|
-
import * as i0 from "@angular/core";
|
3
|
-
import * as i1 from "./timepicker.component";
|
4
|
-
export declare class TimepickerModule {
|
5
|
-
static forRoot(): ModuleWithProviders<TimepickerModule>;
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TimepickerModule, never>;
|
7
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<TimepickerModule, never, [typeof i1.TimepickerComponent], [typeof i1.TimepickerComponent]>;
|
8
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<TimepickerModule>;
|
9
|
-
}
|
@@ -1,19 +0,0 @@
|
|
1
|
-
import { Time, TimepickerComponentState } from './timepicker.models';
|
2
|
-
export declare function isValidDate(value?: string | Date): boolean;
|
3
|
-
export declare function isValidLimit(controls: TimepickerComponentState, newDate: Date): boolean;
|
4
|
-
export declare function toNumber(value?: string | number): number;
|
5
|
-
export declare function isNumber(value: string | number): value is number;
|
6
|
-
export declare function parseHours(value?: string | number, isPM?: boolean): number;
|
7
|
-
export declare function parseMinutes(value?: string | number): number;
|
8
|
-
export declare function parseSeconds(value?: string | number): number;
|
9
|
-
export declare function parseTime(value?: string | Date): Date | undefined;
|
10
|
-
export declare function changeTime(value?: Date, diff?: Time): Date;
|
11
|
-
export declare function setTime(value: Date | undefined, opts: Time): Date | undefined;
|
12
|
-
export declare function createDate(value: Date, hours: number, minutes: number, seconds: number): Date;
|
13
|
-
export declare function padNumber(value: number): string;
|
14
|
-
export declare function isHourInputValid(hours: string, isPM: boolean): boolean;
|
15
|
-
export declare function isMinuteInputValid(minutes: string): boolean;
|
16
|
-
export declare function isSecondInputValid(seconds: string): boolean;
|
17
|
-
export declare function isInputLimitValid(diff: Time, max?: Date, min?: Date): boolean;
|
18
|
-
export declare function isOneOfDatesEmpty(hours: string, minutes: string, seconds: string): boolean;
|
19
|
-
export declare function isInputValid(hours: string, minutes: string | undefined, seconds: string | undefined, isPM: boolean): boolean;
|
package/tooltip/public_api.d.ts
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
import { AfterViewInit } from '@angular/core';
|
2
|
-
import { TooltipConfig } from './tooltip.config';
|
3
|
-
import { IBsVersion } from 'ngx-bootstrap/utils';
|
4
|
-
import * as i0 from "@angular/core";
|
5
|
-
export declare class TooltipContainerComponent implements AfterViewInit {
|
6
|
-
classMap?: {
|
7
|
-
[key: string]: boolean;
|
8
|
-
};
|
9
|
-
placement?: string;
|
10
|
-
containerClass?: string;
|
11
|
-
animation?: boolean;
|
12
|
-
id?: string;
|
13
|
-
get _bsVersions(): IBsVersion;
|
14
|
-
constructor(config: TooltipConfig);
|
15
|
-
ngAfterViewInit(): void;
|
16
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TooltipContainerComponent, never>;
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TooltipContainerComponent, "bs-tooltip-container", never, {}, {}, never, ["*"], true, never>;
|
18
|
-
}
|
@@ -1,16 +0,0 @@
|
|
1
|
-
import * as i0 from "@angular/core";
|
2
|
-
/** Default values provider for tooltip */
|
3
|
-
export declare class TooltipConfig {
|
4
|
-
/** sets disable adaptive position */
|
5
|
-
adaptivePosition: boolean;
|
6
|
-
/** tooltip placement, supported positions: 'top', 'bottom', 'left', 'right' */
|
7
|
-
placement: string;
|
8
|
-
/** array of event names which triggers tooltip opening */
|
9
|
-
triggers: string;
|
10
|
-
/** a selector specifying the element the tooltip should be appended to. */
|
11
|
-
container?: string;
|
12
|
-
/** delay before showing the tooltip */
|
13
|
-
delay: number;
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TooltipConfig, never>;
|
15
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<TooltipConfig>;
|
16
|
-
}
|
@@ -1,113 +0,0 @@
|
|
1
|
-
import { ElementRef, EventEmitter, OnDestroy, OnInit, Renderer2, TemplateRef, ViewContainerRef } from '@angular/core';
|
2
|
-
import { TooltipConfig } from './tooltip.config';
|
3
|
-
import { ComponentLoaderFactory } from 'ngx-bootstrap/component-loader';
|
4
|
-
import { PositioningService } from 'ngx-bootstrap/positioning';
|
5
|
-
import { AvailableBSPositions } from 'ngx-bootstrap/positioning';
|
6
|
-
import * as i0 from "@angular/core";
|
7
|
-
export declare class TooltipDirective implements OnInit, OnDestroy {
|
8
|
-
private _elementRef;
|
9
|
-
private _renderer;
|
10
|
-
private _positionService;
|
11
|
-
tooltipId: number;
|
12
|
-
/** sets disable adaptive position */
|
13
|
-
adaptivePosition: boolean;
|
14
|
-
/**
|
15
|
-
* Content to be displayed as tooltip.
|
16
|
-
*/
|
17
|
-
tooltip?: string | TemplateRef<unknown>;
|
18
|
-
/** Fired when tooltip content changes */
|
19
|
-
tooltipChange: EventEmitter<string | TemplateRef<unknown>>;
|
20
|
-
/**
|
21
|
-
* Placement of a tooltip. Accepts: "top", "bottom", "left", "right"
|
22
|
-
*/
|
23
|
-
placement: AvailableBSPositions;
|
24
|
-
/**
|
25
|
-
* Specifies events that should trigger. Supports a space separated list of
|
26
|
-
* event names.
|
27
|
-
*/
|
28
|
-
triggers: string;
|
29
|
-
/**
|
30
|
-
* A selector specifying the element the tooltip should be appended to.
|
31
|
-
*/
|
32
|
-
container?: string;
|
33
|
-
/**
|
34
|
-
* Css class for tooltip container
|
35
|
-
*/
|
36
|
-
containerClass: string;
|
37
|
-
boundariesElement?: 'viewport' | 'scrollParent' | 'window';
|
38
|
-
/**
|
39
|
-
* Returns whether or not the tooltip is currently being shown
|
40
|
-
*/
|
41
|
-
get isOpen(): boolean;
|
42
|
-
set isOpen(value: boolean);
|
43
|
-
/**
|
44
|
-
* Allows to disable tooltip
|
45
|
-
*/
|
46
|
-
isDisabled: boolean;
|
47
|
-
/**
|
48
|
-
* Delay before showing the tooltip
|
49
|
-
*/
|
50
|
-
delay: number;
|
51
|
-
/**
|
52
|
-
* Emits an event when the tooltip is shown
|
53
|
-
*/
|
54
|
-
onShown: EventEmitter<unknown>;
|
55
|
-
/**
|
56
|
-
* Emits an event when the tooltip is hidden
|
57
|
-
*/
|
58
|
-
onHidden: EventEmitter<unknown>;
|
59
|
-
/** @deprecated - please use `tooltip` instead */
|
60
|
-
set htmlContent(value: string | TemplateRef<unknown>);
|
61
|
-
/** @deprecated - please use `placement` instead */
|
62
|
-
set _placement(value: AvailableBSPositions);
|
63
|
-
/** @deprecated - please use `isOpen` instead */
|
64
|
-
set _isOpen(value: boolean);
|
65
|
-
get _isOpen(): boolean;
|
66
|
-
/** @deprecated - please use `isDisabled` instead */
|
67
|
-
set _enable(value: boolean);
|
68
|
-
get _enable(): boolean;
|
69
|
-
/** @deprecated - please use `container="body"` instead */
|
70
|
-
set _appendToBody(value: boolean);
|
71
|
-
get _appendToBody(): boolean;
|
72
|
-
/** @deprecated - removed, will be added to configuration */
|
73
|
-
tooltipAnimation: boolean;
|
74
|
-
/** @deprecated - will replaced with customClass */
|
75
|
-
set _popupClass(value: string);
|
76
|
-
/** @deprecated - removed */
|
77
|
-
set _tooltipContext(value: undefined);
|
78
|
-
/** @deprecated */
|
79
|
-
set _tooltipPopupDelay(value: number);
|
80
|
-
/** @deprecated */
|
81
|
-
tooltipFadeDuration: number;
|
82
|
-
/** @deprecated - please use `triggers` instead */
|
83
|
-
get _tooltipTrigger(): string | string[];
|
84
|
-
set _tooltipTrigger(value: string | string[]);
|
85
|
-
/** @deprecated */
|
86
|
-
tooltipStateChanged: EventEmitter<boolean>;
|
87
|
-
protected _delayTimeoutId?: number;
|
88
|
-
protected _tooltipCancelShowFn?: () => void;
|
89
|
-
private _tooltip;
|
90
|
-
private _delaySubscription?;
|
91
|
-
private _ariaDescribedby?;
|
92
|
-
constructor(_viewContainerRef: ViewContainerRef, cis: ComponentLoaderFactory, config: TooltipConfig, _elementRef: ElementRef, _renderer: Renderer2, _positionService: PositioningService);
|
93
|
-
ngOnInit(): void;
|
94
|
-
setAriaDescribedBy(): void;
|
95
|
-
/**
|
96
|
-
* Toggles an element’s tooltip. This is considered a “manual” triggering of
|
97
|
-
* the tooltip.
|
98
|
-
*/
|
99
|
-
toggle(): void;
|
100
|
-
/**
|
101
|
-
* Opens an element’s tooltip. This is considered a “manual” triggering of
|
102
|
-
* the tooltip.
|
103
|
-
*/
|
104
|
-
show(): void;
|
105
|
-
/**
|
106
|
-
* Closes an element’s tooltip. This is considered a “manual” triggering of
|
107
|
-
* the tooltip.
|
108
|
-
*/
|
109
|
-
hide(): void;
|
110
|
-
ngOnDestroy(): void;
|
111
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TooltipDirective, never>;
|
112
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TooltipDirective, "[tooltip], [tooltipHtml]", ["bs-tooltip"], { "adaptivePosition": { "alias": "adaptivePosition"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; "triggers": { "alias": "triggers"; "required": false; }; "container": { "alias": "container"; "required": false; }; "containerClass": { "alias": "containerClass"; "required": false; }; "boundariesElement": { "alias": "boundariesElement"; "required": false; }; "isOpen": { "alias": "isOpen"; "required": false; }; "isDisabled": { "alias": "isDisabled"; "required": false; }; "delay": { "alias": "delay"; "required": false; }; "htmlContent": { "alias": "tooltipHtml"; "required": false; }; "_placement": { "alias": "tooltipPlacement"; "required": false; }; "_isOpen": { "alias": "tooltipIsOpen"; "required": false; }; "_enable": { "alias": "tooltipEnable"; "required": false; }; "_appendToBody": { "alias": "tooltipAppendToBody"; "required": false; }; "tooltipAnimation": { "alias": "tooltipAnimation"; "required": false; }; "_popupClass": { "alias": "tooltipClass"; "required": false; }; "_tooltipContext": { "alias": "tooltipContext"; "required": false; }; "_tooltipPopupDelay": { "alias": "tooltipPopupDelay"; "required": false; }; "tooltipFadeDuration": { "alias": "tooltipFadeDuration"; "required": false; }; "_tooltipTrigger": { "alias": "tooltipTrigger"; "required": false; }; }, { "tooltipChange": "tooltipChange"; "onShown": "onShown"; "onHidden": "onHidden"; "tooltipStateChanged": "tooltipStateChanged"; }, never, never, true, never>;
|
113
|
-
}
|
@@ -1,11 +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 "./tooltip.directive";
|
5
|
-
import * as i3 from "./tooltip-container.component";
|
6
|
-
export declare class TooltipModule {
|
7
|
-
static forRoot(): ModuleWithProviders<TooltipModule>;
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TooltipModule, never>;
|
9
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<TooltipModule, never, [typeof i1.CommonModule, typeof i2.TooltipDirective, typeof i3.TooltipContainerComponent], [typeof i2.TooltipDirective]>;
|
10
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<TooltipModule>;
|
11
|
-
}
|
package/typeahead/latin-map.d.ts
DELETED
@@ -1,41 +0,0 @@
|
|
1
|
-
import { TemplateRef } from '@angular/core';
|
2
|
-
import { TypeaheadMatch } from '../typeahead-match.class';
|
3
|
-
/**
|
4
|
-
* A context for the `optionsListTemplate`
|
5
|
-
* input template in case you want to override default one
|
6
|
-
*/
|
7
|
-
export interface TypeaheadOptionListContext {
|
8
|
-
/** All matches */
|
9
|
-
matches: TypeaheadMatch[];
|
10
|
-
/** Item template */
|
11
|
-
itemTemplate: TemplateRef<TypeaheadOptionItemContext>;
|
12
|
-
/** Search query */
|
13
|
-
query: string[] | string;
|
14
|
-
/** Typeahead template methods */
|
15
|
-
$implicit: TypeaheadTemplateMethods;
|
16
|
-
}
|
17
|
-
/**
|
18
|
-
* A context for the `typeaheadItemTemplate`
|
19
|
-
* input template in case you want to override default one
|
20
|
-
*/
|
21
|
-
export interface TypeaheadOptionItemContext {
|
22
|
-
/** Item */
|
23
|
-
item: unknown;
|
24
|
-
/** Item index */
|
25
|
-
index: number;
|
26
|
-
/** Typeahead match */
|
27
|
-
match: TypeaheadMatch;
|
28
|
-
/** Search query */
|
29
|
-
query: string[] | string;
|
30
|
-
}
|
31
|
-
/**
|
32
|
-
* Methods for `optionsListTemplate` context
|
33
|
-
*/
|
34
|
-
export interface TypeaheadTemplateMethods {
|
35
|
-
/** Function to select an option by click event */
|
36
|
-
selectMatch(value: TypeaheadMatch, e?: Event): void;
|
37
|
-
/** Function to select an option by mouseenter event */
|
38
|
-
selectActive(value: TypeaheadMatch): void;
|
39
|
-
/** Function to check if an option is active */
|
40
|
-
isActive(value: TypeaheadMatch): boolean;
|
41
|
-
}
|
@@ -1,10 +0,0 @@
|
|
1
|
-
export { latinMap } from './latin-map';
|
2
|
-
export { TypeaheadOptions } from './typeahead-options.class';
|
3
|
-
export { TypeaheadMatch } from './typeahead-match.class';
|
4
|
-
export { TypeaheadOrder } from './typeahead-order.class';
|
5
|
-
export { escapeRegexp, getValueFromObject, tokenize, latinize } from './typeahead-utils';
|
6
|
-
export { TypeaheadContainerComponent } from './typeahead-container.component';
|
7
|
-
export { TypeaheadDirective } from './typeahead.directive';
|
8
|
-
export { TypeaheadModule } from './typeahead.module';
|
9
|
-
export { TypeaheadConfig } from './typeahead.config';
|
10
|
-
export { TypeaheadOptionItemContext, TypeaheadOptionListContext, TypeaheadTemplateMethods } from './models';
|
@@ -1,66 +0,0 @@
|
|
1
|
-
import { ChangeDetectorRef, ElementRef, OnDestroy, Renderer2, TemplateRef, EventEmitter } from '@angular/core';
|
2
|
-
import { PositioningService } from 'ngx-bootstrap/positioning';
|
3
|
-
import { Subscription } from 'rxjs';
|
4
|
-
import { TypeaheadMatch } from './typeahead-match.class';
|
5
|
-
import { TypeaheadDirective } from './typeahead.directive';
|
6
|
-
import { TypeaheadOptionItemContext, TypeaheadOptionListContext, TypeaheadTemplateMethods } from './models';
|
7
|
-
import * as i0 from "@angular/core";
|
8
|
-
export declare class TypeaheadContainerComponent implements OnDestroy {
|
9
|
-
private positionService;
|
10
|
-
private renderer;
|
11
|
-
element: ElementRef;
|
12
|
-
private changeDetectorRef;
|
13
|
-
activeChangeEvent: EventEmitter<any>;
|
14
|
-
parent?: TypeaheadDirective;
|
15
|
-
query?: string[] | string;
|
16
|
-
isFocused: boolean;
|
17
|
-
top?: string;
|
18
|
-
left?: string;
|
19
|
-
display?: string;
|
20
|
-
placemen?: string;
|
21
|
-
dropup?: boolean;
|
22
|
-
guiHeight?: string;
|
23
|
-
needScrollbar?: boolean;
|
24
|
-
animationState?: string;
|
25
|
-
positionServiceSubscription: Subscription;
|
26
|
-
height: number;
|
27
|
-
popupId: string;
|
28
|
-
get typeaheadTemplateMethods(): TypeaheadTemplateMethods;
|
29
|
-
protected _active?: TypeaheadMatch;
|
30
|
-
protected _matches: TypeaheadMatch[];
|
31
|
-
private ulElement?;
|
32
|
-
private liElements?;
|
33
|
-
constructor(positionService: PositioningService, renderer: Renderer2, element: ElementRef, changeDetectorRef: ChangeDetectorRef);
|
34
|
-
get active(): TypeaheadMatch | undefined;
|
35
|
-
set active(active: TypeaheadMatch | undefined);
|
36
|
-
get matches(): TypeaheadMatch[];
|
37
|
-
set matches(value: TypeaheadMatch[]);
|
38
|
-
get isTopPosition(): boolean;
|
39
|
-
get optionsListTemplate(): TemplateRef<TypeaheadOptionListContext> | undefined;
|
40
|
-
get isAnimated(): boolean;
|
41
|
-
get adaptivePosition(): boolean;
|
42
|
-
get typeaheadScrollable(): boolean;
|
43
|
-
get typeaheadOptionsInScrollableView(): number;
|
44
|
-
get typeaheadIsFirstItemActive(): boolean;
|
45
|
-
get itemTemplate(): TemplateRef<TypeaheadOptionItemContext> | undefined;
|
46
|
-
get canSelectItemsOnBlur(): boolean;
|
47
|
-
selectActiveMatch(isActiveItemChanged?: boolean): void;
|
48
|
-
activeChanged(): void;
|
49
|
-
prevActiveMatch(): void;
|
50
|
-
nextActiveMatch(): void;
|
51
|
-
selectActive(value: TypeaheadMatch): void;
|
52
|
-
highlight(match: TypeaheadMatch, query: string[] | string): string;
|
53
|
-
focusLost(): void;
|
54
|
-
isActive(value: TypeaheadMatch): boolean;
|
55
|
-
selectMatch(value?: TypeaheadMatch, event?: Event): boolean;
|
56
|
-
setScrollableMode(): void;
|
57
|
-
scrollPrevious(index: number): void;
|
58
|
-
scrollNext(index: number): void;
|
59
|
-
ngOnDestroy(): void;
|
60
|
-
protected setActive(value?: TypeaheadMatch): void;
|
61
|
-
private isScrolledIntoView;
|
62
|
-
private scrollToBottom;
|
63
|
-
private scrollToTop;
|
64
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TypeaheadContainerComponent, never>;
|
65
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TypeaheadContainerComponent, "typeahead-container", never, {}, { "activeChangeEvent": "activeChange"; }, never, never, true, never>;
|
66
|
-
}
|
@@ -1,4 +0,0 @@
|
|
1
|
-
export declare function latinize(str: string): string;
|
2
|
-
export declare function escapeRegexp(queryToEscape: string): string;
|
3
|
-
export declare function tokenize(str: string, wordRegexDelimiters?: string, phraseRegexDelimiters?: string, delimitersForMultipleSearch?: string): Array<string>;
|
4
|
-
export declare function getValueFromObject(object: string | Record<string | number, any>, option?: string): string;
|
@@ -1,26 +0,0 @@
|
|
1
|
-
import * as i0 from "@angular/core";
|
2
|
-
/** Default values provider for typeahead */
|
3
|
-
export declare class TypeaheadConfig {
|
4
|
-
/** sets use adaptive position */
|
5
|
-
adaptivePosition: boolean;
|
6
|
-
/** turn on/off animation */
|
7
|
-
isAnimated: boolean;
|
8
|
-
/** used to hide results on blur */
|
9
|
-
hideResultsOnBlur: boolean;
|
10
|
-
/** if true, typeahead will cancel async request on blur */
|
11
|
-
cancelRequestOnFocusLost: boolean;
|
12
|
-
/** used to choose the first item in typeahead container */
|
13
|
-
selectFirstItem: boolean;
|
14
|
-
/** used to active/inactive the first item in typeahead container */
|
15
|
-
isFirstItemActive: boolean;
|
16
|
-
/** used to choose set minimal no of characters that needs to
|
17
|
-
* be entered before typeahead kicks-in
|
18
|
-
*/
|
19
|
-
minLength: number;
|
20
|
-
/**
|
21
|
-
* used to choose item on blur event
|
22
|
-
*/
|
23
|
-
selectItemOnBlur: boolean;
|
24
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TypeaheadConfig, never>;
|
25
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<TypeaheadConfig>;
|
26
|
-
}
|