ngx-bootstrap 19.0.2 → 20.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/accordion/fesm2022/ngx-bootstrap-accordion.mjs +14 -14
- package/accordion/fesm2022/ngx-bootstrap-accordion.mjs.map +1 -1
- package/accordion/index.d.ts +72 -1
- package/alert/fesm2022/ngx-bootstrap-alert.mjs +11 -11
- package/alert/fesm2022/ngx-bootstrap-alert.mjs.map +1 -1
- package/alert/index.d.ts +53 -1
- package/buttons/fesm2022/ngx-bootstrap-buttons.mjs +14 -14
- package/buttons/fesm2022/ngx-bootstrap-buttons.mjs.map +1 -1
- package/buttons/index.d.ts +117 -1
- package/carousel/fesm2022/ngx-bootstrap-carousel.mjs +14 -14
- package/carousel/fesm2022/ngx-bootstrap-carousel.mjs.map +1 -1
- package/carousel/index.d.ts +238 -1
- package/chronos/fesm2022/ngx-bootstrap-chronos.mjs +1 -1
- package/chronos/fesm2022/ngx-bootstrap-chronos.mjs.map +1 -1
- package/chronos/index.d.ts +315 -1
- package/collapse/fesm2022/ngx-bootstrap-collapse.mjs +8 -8
- package/collapse/fesm2022/ngx-bootstrap-collapse.mjs.map +1 -1
- package/collapse/index.d.ts +55 -1
- package/component-loader/fesm2022/ngx-bootstrap-component-loader.mjs +4 -4
- package/component-loader/fesm2022/ngx-bootstrap-component-loader.mjs.map +1 -1
- package/component-loader/index.d.ts +127 -1
- package/datepicker/fesm2022/ngx-bootstrap-datepicker.mjs +88 -88
- package/datepicker/fesm2022/ngx-bootstrap-datepicker.mjs.map +1 -1
- package/datepicker/index.d.ts +1113 -1
- package/dropdown/fesm2022/ngx-bootstrap-dropdown.mjs +23 -23
- package/dropdown/fesm2022/ngx-bootstrap-dropdown.mjs.map +1 -1
- package/dropdown/index.d.ts +191 -1
- package/fesm2022/ngx-bootstrap.mjs.map +1 -1
- package/focus-trap/fesm2022/ngx-bootstrap-focus-trap.mjs +20 -20
- package/focus-trap/fesm2022/ngx-bootstrap-focus-trap.mjs.map +1 -1
- package/focus-trap/index.d.ts +274 -1
- package/index.d.ts +2 -2
- package/locale/fesm2022/ngx-bootstrap-locale.mjs.map +1 -1
- package/locale/index.d.ts +1 -1
- package/mini-ngrx/fesm2022/ngx-bootstrap-mini-ngrx.mjs.map +1 -1
- package/mini-ngrx/index.d.ts +34 -1
- package/modal/fesm2022/ngx-bootstrap-modal.mjs +23 -23
- package/modal/fesm2022/ngx-bootstrap-modal.mjs.map +1 -1
- package/modal/index.d.ts +277 -1
- package/package.json +8 -8
- package/pagination/fesm2022/ngx-bootstrap-pagination.mjs +14 -14
- package/pagination/fesm2022/ngx-bootstrap-pagination.mjs.map +1 -1
- package/pagination/index.d.ts +234 -1
- package/popover/fesm2022/ngx-bootstrap-popover.mjs +14 -14
- package/popover/fesm2022/ngx-bootstrap-popover.mjs.map +1 -1
- package/popover/index.d.ts +152 -1
- package/positioning/fesm2022/ngx-bootstrap-positioning.mjs +6 -5
- package/positioning/fesm2022/ngx-bootstrap-positioning.mjs.map +1 -1
- package/positioning/index.d.ts +134 -1
- package/progressbar/fesm2022/ngx-bootstrap-progressbar.mjs +14 -14
- package/progressbar/fesm2022/ngx-bootstrap-progressbar.mjs.map +1 -1
- package/progressbar/index.d.ts +72 -1
- package/rating/fesm2022/ngx-bootstrap-rating.mjs +11 -11
- package/rating/fesm2022/ngx-bootstrap-rating.mjs.map +1 -1
- package/rating/index.d.ts +60 -1
- package/schematics/utils/current_dependency_versions.json +1 -1
- package/sortable/fesm2022/ngx-bootstrap-sortable.mjs +11 -11
- package/sortable/fesm2022/ngx-bootstrap-sortable.mjs.map +1 -1
- package/sortable/index.d.ts +92 -1
- package/tabs/fesm2022/ngx-bootstrap-tabs.mjs +55 -22
- package/tabs/fesm2022/ngx-bootstrap-tabs.mjs.map +1 -1
- package/tabs/index.d.ts +122 -1
- package/timepicker/fesm2022/ngx-bootstrap-timepicker.mjs +17 -17
- package/timepicker/fesm2022/ngx-bootstrap-timepicker.mjs.map +1 -1
- package/timepicker/index.d.ts +243 -1
- package/tooltip/fesm2022/ngx-bootstrap-tooltip.mjs +14 -14
- package/tooltip/fesm2022/ngx-bootstrap-tooltip.mjs.map +1 -1
- package/tooltip/index.d.ts +154 -1
- package/typeahead/fesm2022/ngx-bootstrap-typeahead.mjs +15 -15
- package/typeahead/fesm2022/ngx-bootstrap-typeahead.mjs.map +1 -1
- package/typeahead/index.d.ts +341 -1
- package/utils/fesm2022/ngx-bootstrap-utils.mjs.map +1 -1
- package/utils/index.d.ts +116 -1
- package/accordion/accordion-group.component.d.ts +0 -36
- package/accordion/accordion.component.d.ts +0 -17
- package/accordion/accordion.config.d.ts +0 -12
- package/accordion/accordion.module.d.ts +0 -10
- package/accordion/public_api.d.ts +0 -4
- package/alert/alert.component.d.ts +0 -33
- package/alert/alert.config.d.ts +0 -11
- package/alert/alert.module.d.ts +0 -9
- package/alert/public_api.d.ts +0 -3
- package/buttons/button-checkbox.directive.d.ts +0 -31
- package/buttons/button-radio-group.directive.d.ts +0 -35
- package/buttons/button-radio.directive.d.ts +0 -51
- package/buttons/buttons.module.d.ts +0 -11
- package/buttons/public_api.d.ts +0 -4
- package/carousel/carousel.component.d.ts +0 -192
- package/carousel/carousel.config.d.ts +0 -13
- package/carousel/carousel.module.d.ts +0 -10
- package/carousel/models/index.d.ts +0 -9
- package/carousel/public_api.d.ts +0 -4
- package/carousel/slide.component.d.ts +0 -22
- package/carousel/utils.d.ts +0 -11
- package/chronos/create/check-overflow.d.ts +0 -2
- package/chronos/create/clone.d.ts +0 -1
- package/chronos/create/date-from-array.d.ts +0 -2
- package/chronos/create/from-anything.d.ts +0 -4
- package/chronos/create/from-array.d.ts +0 -2
- package/chronos/create/from-object.d.ts +0 -2
- package/chronos/create/from-string-and-array.d.ts +0 -2
- package/chronos/create/from-string-and-format.d.ts +0 -4
- package/chronos/create/from-string.d.ts +0 -4
- package/chronos/create/local.d.ts +0 -3
- package/chronos/create/parsing-flags.d.ts +0 -2
- package/chronos/create/parsing.types.d.ts +0 -64
- package/chronos/create/valid.d.ts +0 -6
- package/chronos/duration/bubble.d.ts +0 -4
- package/chronos/duration/constructor.d.ts +0 -21
- package/chronos/duration/create.d.ts +0 -8
- package/chronos/duration/humanize.d.ts +0 -5
- package/chronos/duration/valid.d.ts +0 -2
- package/chronos/format/format.d.ts +0 -11
- package/chronos/format.d.ts +0 -5
- package/chronos/i18n/ar.d.ts +0 -2
- package/chronos/i18n/bg.d.ts +0 -2
- package/chronos/i18n/ca.d.ts +0 -2
- package/chronos/i18n/cs.d.ts +0 -2
- package/chronos/i18n/da.d.ts +0 -2
- package/chronos/i18n/de.d.ts +0 -2
- package/chronos/i18n/en-gb.d.ts +0 -2
- package/chronos/i18n/es-do.d.ts +0 -2
- package/chronos/i18n/es-pr.d.ts +0 -2
- package/chronos/i18n/es-us.d.ts +0 -2
- package/chronos/i18n/es.d.ts +0 -2
- package/chronos/i18n/et.d.ts +0 -2
- package/chronos/i18n/fa.d.ts +0 -2
- package/chronos/i18n/fi.d.ts +0 -2
- package/chronos/i18n/fr-ca.d.ts +0 -2
- package/chronos/i18n/fr.d.ts +0 -2
- package/chronos/i18n/gl.d.ts +0 -2
- package/chronos/i18n/he.d.ts +0 -2
- package/chronos/i18n/hi.d.ts +0 -2
- package/chronos/i18n/hr.d.ts +0 -2
- package/chronos/i18n/hu.d.ts +0 -2
- package/chronos/i18n/id.d.ts +0 -2
- package/chronos/i18n/it.d.ts +0 -2
- package/chronos/i18n/ja.d.ts +0 -2
- package/chronos/i18n/ka.d.ts +0 -2
- package/chronos/i18n/kk.d.ts +0 -2
- package/chronos/i18n/ko.d.ts +0 -2
- package/chronos/i18n/lt.d.ts +0 -2
- package/chronos/i18n/lv.d.ts +0 -2
- package/chronos/i18n/mn.d.ts +0 -2
- package/chronos/i18n/nb.d.ts +0 -2
- package/chronos/i18n/nl-be.d.ts +0 -2
- package/chronos/i18n/nl.d.ts +0 -2
- package/chronos/i18n/pl.d.ts +0 -2
- package/chronos/i18n/pt-br.d.ts +0 -2
- package/chronos/i18n/ro.d.ts +0 -2
- package/chronos/i18n/ru.d.ts +0 -2
- package/chronos/i18n/sk.d.ts +0 -2
- package/chronos/i18n/sl.d.ts +0 -2
- package/chronos/i18n/sq.d.ts +0 -2
- package/chronos/i18n/sv.d.ts +0 -2
- package/chronos/i18n/th-be.d.ts +0 -2
- package/chronos/i18n/th.d.ts +0 -2
- package/chronos/i18n/tr.d.ts +0 -2
- package/chronos/i18n/uk.d.ts +0 -2
- package/chronos/i18n/vi.d.ts +0 -2
- package/chronos/i18n/zh-cn.d.ts +0 -2
- package/chronos/locale/calendar.d.ts +0 -8
- package/chronos/locale/locale.class.d.ts +0 -143
- package/chronos/locale/locale.defaults.d.ts +0 -11
- package/chronos/locale/locales.d.ts +0 -7
- package/chronos/moment/add-subtract.d.ts +0 -5
- package/chronos/moment/calendar.d.ts +0 -15
- package/chronos/moment/diff.d.ts +0 -3
- package/chronos/moment/min-max.d.ts +0 -2
- package/chronos/parse/regex.d.ts +0 -22
- package/chronos/parse/token.d.ts +0 -5
- package/chronos/public_api.d.ts +0 -60
- package/chronos/testing/chain.d.ts +0 -214
- package/chronos/types.d.ts +0 -36
- package/chronos/units/aliases.d.ts +0 -5
- package/chronos/units/constants.d.ts +0 -9
- package/chronos/units/day-of-month.d.ts +0 -1
- package/chronos/units/day-of-week.d.ts +0 -20
- package/chronos/units/day-of-year.d.ts +0 -3
- package/chronos/units/hour.d.ts +0 -1
- package/chronos/units/index.d.ts +0 -18
- package/chronos/units/millisecond.d.ts +0 -1
- package/chronos/units/minute.d.ts +0 -1
- package/chronos/units/month.d.ts +0 -2
- package/chronos/units/offset.d.ts +0 -10
- package/chronos/units/priorities.d.ts +0 -1
- package/chronos/units/quarter.d.ts +0 -3
- package/chronos/units/second.d.ts +0 -1
- package/chronos/units/timestamp.d.ts +0 -1
- package/chronos/units/timezone.d.ts +0 -3
- package/chronos/units/week-calendar-utils.d.ts +0 -9
- package/chronos/units/week-year.d.ts +0 -8
- package/chronos/units/week.d.ts +0 -6
- package/chronos/units/year.d.ts +0 -4
- package/chronos/utils/abs-ceil.d.ts +0 -1
- package/chronos/utils/abs-round.d.ts +0 -1
- package/chronos/utils/compare-arrays.d.ts +0 -1
- package/chronos/utils/date-compare.d.ts +0 -9
- package/chronos/utils/date-getters.d.ts +0 -18
- package/chronos/utils/date-setters.d.ts +0 -12
- package/chronos/utils/defaults.d.ts +0 -1
- package/chronos/utils/start-end-of.d.ts +0 -3
- package/chronos/utils/type-checks.d.ts +0 -12
- package/chronos/utils/zero-fill.d.ts +0 -1
- package/chronos/utils.d.ts +0 -2
- package/collapse/collapse-animations.d.ts +0 -4
- package/collapse/collapse.directive.d.ts +0 -45
- package/collapse/collapse.module.d.ts +0 -9
- package/collapse/public_api.d.ts +0 -2
- package/component-loader/bs-component-ref.class.d.ts +0 -5
- package/component-loader/component-loader.class.d.ts +0 -76
- package/component-loader/component-loader.factory.d.ts +0 -22
- package/component-loader/content-ref.class.d.ts +0 -11
- package/component-loader/listen-options.model.d.ts +0 -11
- package/component-loader/public_api.d.ts +0 -4
- package/datepicker/base/bs-datepicker-container.d.ts +0 -53
- package/datepicker/bs-datepicker-inline.component.d.ts +0 -66
- package/datepicker/bs-datepicker-inline.config.d.ts +0 -6
- package/datepicker/bs-datepicker-input.directive.d.ts +0 -32
- package/datepicker/bs-datepicker.component.d.ts +0 -135
- package/datepicker/bs-datepicker.config.d.ts +0 -166
- package/datepicker/bs-datepicker.module.d.ts +0 -30
- package/datepicker/bs-daterangepicker-inline.component.d.ts +0 -66
- package/datepicker/bs-daterangepicker-inline.config.d.ts +0 -9
- package/datepicker/bs-daterangepicker-input.directive.d.ts +0 -33
- package/datepicker/bs-daterangepicker.component.d.ts +0 -123
- package/datepicker/bs-daterangepicker.config.d.ts +0 -7
- package/datepicker/bs-locale.service.d.ts +0 -13
- package/datepicker/datepicker-animations.d.ts +0 -3
- package/datepicker/engine/calc-days-calendar.d.ts +0 -2
- package/datepicker/engine/flag-days-calendar.d.ts +0 -17
- package/datepicker/engine/flag-months-calendar.d.ts +0 -14
- package/datepicker/engine/flag-years-calendar.d.ts +0 -14
- package/datepicker/engine/format-days-calendar.d.ts +0 -4
- package/datepicker/engine/format-months-calendar.d.ts +0 -2
- package/datepicker/engine/format-years-calendar.d.ts +0 -4
- package/datepicker/engine/view-mode.d.ts +0 -2
- package/datepicker/models/index.d.ts +0 -102
- package/datepicker/public_api.d.ts +0 -17
- package/datepicker/reducer/_defaults.d.ts +0 -3
- package/datepicker/reducer/bs-datepicker.actions.d.ts +0 -48
- package/datepicker/reducer/bs-datepicker.effects.d.ts +0 -41
- package/datepicker/reducer/bs-datepicker.reducer.d.ts +0 -3
- package/datepicker/reducer/bs-datepicker.state.d.ts +0 -45
- package/datepicker/reducer/bs-datepicker.store.d.ts +0 -8
- package/datepicker/themes/bs/bs-calendar-layout.component.d.ts +0 -5
- package/datepicker/themes/bs/bs-current-date-view.component.d.ts +0 -6
- package/datepicker/themes/bs/bs-custom-dates-view.component.d.ts +0 -16
- package/datepicker/themes/bs/bs-datepicker-container.component.d.ts +0 -41
- package/datepicker/themes/bs/bs-datepicker-day-decorator.directive.d.ts +0 -14
- package/datepicker/themes/bs/bs-datepicker-inline-container.component.d.ts +0 -15
- package/datepicker/themes/bs/bs-datepicker-navigation-view.component.d.ts +0 -13
- package/datepicker/themes/bs/bs-daterangepicker-container.component.d.ts +0 -46
- package/datepicker/themes/bs/bs-daterangepicker-inline-container.component.d.ts +0 -15
- package/datepicker/themes/bs/bs-days-calendar-view.component.d.ts +0 -27
- package/datepicker/themes/bs/bs-months-calendar-view.component.d.ts +0 -16
- package/datepicker/themes/bs/bs-timepicker-view.component.d.ts +0 -8
- package/datepicker/themes/bs/bs-years-calendar-view.component.d.ts +0 -16
- package/datepicker/utils/bs-calendar-utils.d.ts +0 -15
- package/datepicker/utils/copy-time-utils.d.ts +0 -1
- package/datepicker/utils/matrix-utils.d.ts +0 -9
- package/dropdown/bs-dropdown-container.component.d.ts +0 -20
- package/dropdown/bs-dropdown-menu.directive.d.ts +0 -8
- package/dropdown/bs-dropdown-toggle.directive.d.ts +0 -21
- package/dropdown/bs-dropdown.config.d.ts +0 -14
- package/dropdown/bs-dropdown.directive.d.ts +0 -108
- package/dropdown/bs-dropdown.module.d.ts +0 -12
- package/dropdown/bs-dropdown.state.d.ts +0 -23
- package/dropdown/dropdown-animations.d.ts +0 -3
- package/dropdown/public_api.d.ts +0 -7
- package/focus-trap/boolean-property.d.ts +0 -14
- package/focus-trap/focus-trap-manager.d.ts +0 -26
- package/focus-trap/focus-trap.d.ts +0 -162
- package/focus-trap/focus-trap.module.d.ts +0 -10
- package/focus-trap/interactivity-checker.d.ts +0 -60
- package/focus-trap/platform.d.ts +0 -29
- package/focus-trap/public_api.d.ts +0 -3
- package/locale/public_api.d.ts +0 -46
- package/mini-ngrx/public_api.d.ts +0 -7
- package/mini-ngrx/state.class.d.ts +0 -8
- package/mini-ngrx/store.class.d.ts +0 -16
- package/modal/bs-modal-ref.service.d.ts +0 -30
- package/modal/bs-modal.service.d.ts +0 -50
- package/modal/modal-backdrop.component.d.ts +0 -17
- package/modal/modal-backdrop.options.d.ts +0 -4
- package/modal/modal-container.component.d.ts +0 -27
- package/modal/modal-options.class.d.ts +0 -63
- package/modal/modal.directive.d.ts +0 -90
- package/modal/modal.module.d.ts +0 -13
- package/modal/models/index.d.ts +0 -24
- package/modal/public_api.d.ts +0 -9
- package/pagination/models/index.d.ts +0 -53
- package/pagination/pager.component.d.ts +0 -78
- package/pagination/pagination.component.d.ts +0 -91
- package/pagination/pagination.config.d.ts +0 -9
- package/pagination/pagination.module.d.ts +0 -11
- package/pagination/public_api.d.ts +0 -5
- package/popover/popover-container.component.d.ts +0 -16
- package/popover/popover.config.d.ts +0 -30
- package/popover/popover.directive.d.ts +0 -98
- package/popover/popover.module.d.ts +0 -11
- package/popover/public_api.d.ts +0 -4
- package/positioning/models/index.d.ts +0 -96
- package/positioning/modifiers/arrow.d.ts +0 -2
- package/positioning/modifiers/flip.d.ts +0 -2
- package/positioning/modifiers/index.d.ts +0 -5
- package/positioning/modifiers/initData.d.ts +0 -2
- package/positioning/modifiers/preventOverflow.d.ts +0 -2
- package/positioning/modifiers/shift.d.ts +0 -2
- package/positioning/ng-positioning.d.ts +0 -12
- package/positioning/positioning.service.d.ts +0 -48
- package/positioning/public_api.d.ts +0 -4
- package/positioning/utils/checkMargin.d.ts +0 -3
- package/positioning/utils/computeAutoPlacement.d.ts +0 -2
- package/positioning/utils/findCommonOffsetParent.d.ts +0 -1
- package/positioning/utils/getBordersSize.d.ts +0 -4
- package/positioning/utils/getBoundaries.d.ts +0 -5
- package/positioning/utils/getBoundingClientRect.d.ts +0 -2
- package/positioning/utils/getClientRect.d.ts +0 -5
- package/positioning/utils/getFixedPositionOffsetParent.d.ts +0 -4
- package/positioning/utils/getOffsetParent.d.ts +0 -1
- package/positioning/utils/getOffsetRectRelativeToArbitraryNode.d.ts +0 -2
- package/positioning/utils/getOffsets.d.ts +0 -2
- package/positioning/utils/getOppositePlacement.d.ts +0 -4
- package/positioning/utils/getOppositeVariation.d.ts +0 -4
- package/positioning/utils/getOuterSizes.d.ts +0 -5
- package/positioning/utils/getParentNode.d.ts +0 -4
- package/positioning/utils/getReferenceOffsets.d.ts +0 -2
- package/positioning/utils/getRoot.d.ts +0 -4
- package/positioning/utils/getScroll.d.ts +0 -4
- package/positioning/utils/getScrollParent.d.ts +0 -1
- package/positioning/utils/getStyleComputedProperty.d.ts +0 -5
- package/positioning/utils/getTargetOffsets.d.ts +0 -2
- package/positioning/utils/getViewportOffsetRectRelativeToArtbitraryNode.d.ts +0 -2
- package/positioning/utils/getWindowSizes.d.ts +0 -4
- package/positioning/utils/index.d.ts +0 -23
- package/positioning/utils/isFixed.d.ts +0 -1
- package/positioning/utils/isModifierEnabled.d.ts +0 -5
- package/positioning/utils/isNumeric.d.ts +0 -5
- package/positioning/utils/isOffsetContainer.d.ts +0 -1
- package/positioning/utils/setStyles.d.ts +0 -5
- package/positioning/utils/updateContainerClass.d.ts +0 -6
- package/progressbar/bar.component.d.ts +0 -24
- package/progressbar/progressbar-type.interface.d.ts +0 -7
- package/progressbar/progressbar.component.d.ts +0 -23
- package/progressbar/progressbar.config.d.ts +0 -9
- package/progressbar/progressbar.module.d.ts +0 -10
- package/progressbar/public_api.d.ts +0 -5
- package/rating/models/index.d.ts +0 -4
- package/rating/public_api.d.ts +0 -3
- package/rating/rating.component.d.ts +0 -40
- package/rating/rating.config.d.ts +0 -8
- package/rating/rating.module.d.ts +0 -9
- package/sortable/draggable-item.d.ts +0 -8
- package/sortable/draggable-item.service.d.ts +0 -13
- package/sortable/public_api.d.ts +0 -4
- package/sortable/sortable.component.d.ts +0 -62
- package/sortable/sortable.module.d.ts +0 -9
- package/tabs/ng-transclude.directive.d.ts +0 -11
- package/tabs/public_api.d.ts +0 -6
- package/tabs/tab-heading.directive.d.ts +0 -10
- package/tabs/tab.directive.d.ts +0 -39
- package/tabs/tabs.module.d.ts +0 -13
- package/tabs/tabset.component.d.ts +0 -44
- package/tabs/tabset.config.d.ts +0 -11
- package/timepicker/models/index.d.ts +0 -7
- package/timepicker/public_api.d.ts +0 -5
- package/timepicker/reducer/timepicker.actions.d.ts +0 -28
- package/timepicker/reducer/timepicker.reducer.d.ts +0 -9
- package/timepicker/reducer/timepicker.store.d.ts +0 -8
- package/timepicker/timepicker-controls.util.d.ts +0 -7
- package/timepicker/timepicker.component.d.ts +0 -116
- package/timepicker/timepicker.config.d.ts +0 -48
- package/timepicker/timepicker.models.d.ts +0 -35
- package/timepicker/timepicker.module.d.ts +0 -9
- package/timepicker/timepicker.utils.d.ts +0 -19
- package/tooltip/public_api.d.ts +0 -4
- package/tooltip/tooltip-container.component.d.ts +0 -18
- package/tooltip/tooltip.config.d.ts +0 -16
- package/tooltip/tooltip.directive.d.ts +0 -113
- package/tooltip/tooltip.module.d.ts +0 -11
- package/typeahead/latin-map.d.ts +0 -3
- package/typeahead/models/index.d.ts +0 -41
- package/typeahead/public_api.d.ts +0 -10
- package/typeahead/typeahead-animations.d.ts +0 -3
- package/typeahead/typeahead-container.component.d.ts +0 -66
- package/typeahead/typeahead-match.class.d.ts +0 -8
- package/typeahead/typeahead-options.class.d.ts +0 -7
- package/typeahead/typeahead-order.class.d.ts +0 -6
- package/typeahead/typeahead-utils.d.ts +0 -4
- package/typeahead/typeahead.config.d.ts +0 -26
- package/typeahead/typeahead.directive.d.ts +0 -176
- package/typeahead/typeahead.module.d.ts +0 -11
- package/utils/decorators.d.ts +0 -1
- package/utils/facade/browser.d.ts +0 -23
- package/utils/linked-list.class.d.ts +0 -35
- package/utils/public_api.d.ts +0 -9
- package/utils/theme-provider.d.ts +0 -18
- package/utils/trigger.class.d.ts +0 -10
- package/utils/triggers.d.ts +0 -22
- package/utils/utils.class.d.ts +0 -9
- package/utils/warn-once.d.ts +0 -1
package/modal/models/index.d.ts
DELETED
@@ -1,24 +0,0 @@
|
|
1
|
-
export interface ClassName {
|
2
|
-
SCROLLBAR_MEASURER: string;
|
3
|
-
BACKDROP: string;
|
4
|
-
OPEN: string;
|
5
|
-
FADE: string;
|
6
|
-
IN: string;
|
7
|
-
SHOW: string;
|
8
|
-
}
|
9
|
-
export interface Selector {
|
10
|
-
DIALOG: string;
|
11
|
-
DATA_TOGGLE: string;
|
12
|
-
DATA_DISMISS: string;
|
13
|
-
FIXED_CONTENT: string;
|
14
|
-
}
|
15
|
-
export interface TransitionDurations {
|
16
|
-
MODAL: number;
|
17
|
-
BACKDROP: number;
|
18
|
-
}
|
19
|
-
export interface DismissReasons {
|
20
|
-
BACKRDOP: string;
|
21
|
-
ESC: string;
|
22
|
-
BACK: string;
|
23
|
-
}
|
24
|
-
export type CloseInterceptorFn = () => Promise<void>;
|
package/modal/public_api.d.ts
DELETED
@@ -1,9 +0,0 @@
|
|
1
|
-
export { BsModalRef } from './bs-modal-ref.service';
|
2
|
-
export { ModalBackdropOptions } from './modal-backdrop.options';
|
3
|
-
export { ModalContainerComponent } from './modal-container.component';
|
4
|
-
export { ModalBackdropComponent } from './modal-backdrop.component';
|
5
|
-
export { ModalOptions, MODAL_CONFIG_DEFAULT_OVERRIDE } from './modal-options.class';
|
6
|
-
export { ModalDirective } from './modal.directive';
|
7
|
-
export { ModalModule } from './modal.module';
|
8
|
-
export { BsModalService } from './bs-modal.service';
|
9
|
-
export { CloseInterceptorFn } from './models';
|
@@ -1,53 +0,0 @@
|
|
1
|
-
export interface ConfigModel {
|
2
|
-
align?: boolean;
|
3
|
-
boundaryLinks: boolean;
|
4
|
-
directionLinks: boolean;
|
5
|
-
firstText: string;
|
6
|
-
itemsPerPage: number;
|
7
|
-
lastText: string;
|
8
|
-
maxSize: number;
|
9
|
-
nextText: string;
|
10
|
-
pageBtnClass: string;
|
11
|
-
previousText: string;
|
12
|
-
rotate: boolean;
|
13
|
-
}
|
14
|
-
/**
|
15
|
-
* Contain information about the page
|
16
|
-
*/
|
17
|
-
export interface PagesModel {
|
18
|
-
/** Text, which is displayed in the link */
|
19
|
-
text: string;
|
20
|
-
/** Page number */
|
21
|
-
number: number;
|
22
|
-
/** If `true`, then this is the current page */
|
23
|
-
active: boolean;
|
24
|
-
}
|
25
|
-
export interface PagerModel {
|
26
|
-
itemsPerPage: number;
|
27
|
-
previousText: string;
|
28
|
-
nextText: string;
|
29
|
-
pageBtnClass: string;
|
30
|
-
align: boolean;
|
31
|
-
}
|
32
|
-
/**
|
33
|
-
* A context for the
|
34
|
-
* * `customPageTemplate`
|
35
|
-
* * `customNextTemplate`
|
36
|
-
* * `customPreviousTemplate`
|
37
|
-
* * `customFirstTemplate`
|
38
|
-
* * `customLastTemplate`
|
39
|
-
* inputs for link templates in case you want to override one
|
40
|
-
*/
|
41
|
-
export interface PaginationLinkContext {
|
42
|
-
/** The currently selected page number */
|
43
|
-
currentPage: number;
|
44
|
-
/** If `true`, the current link is disabled */
|
45
|
-
disabled: boolean;
|
46
|
-
}
|
47
|
-
/**
|
48
|
-
* A context for the `pageTemplate` inputs for link template
|
49
|
-
*/
|
50
|
-
export interface PaginationNumberLinkContext extends PaginationLinkContext {
|
51
|
-
/** Contain the page information */
|
52
|
-
$implicit: PagesModel;
|
53
|
-
}
|
@@ -1,78 +0,0 @@
|
|
1
|
-
import { ChangeDetectorRef, ElementRef, EventEmitter, OnInit, Provider } from '@angular/core';
|
2
|
-
import { ControlValueAccessor } from '@angular/forms';
|
3
|
-
import { ConfigModel, PagesModel } from './models';
|
4
|
-
import { PageChangedEvent } from './pagination.component';
|
5
|
-
import { PaginationConfig } from './pagination.config';
|
6
|
-
import * as i0 from "@angular/core";
|
7
|
-
export declare const PAGER_CONTROL_VALUE_ACCESSOR: Provider;
|
8
|
-
export declare class PagerComponent implements ControlValueAccessor, OnInit {
|
9
|
-
private elementRef;
|
10
|
-
private changeDetection;
|
11
|
-
config?: Partial<ConfigModel>;
|
12
|
-
/** if `true` aligns each link to the sides of pager */
|
13
|
-
align: boolean;
|
14
|
-
/** limit number for page links in pager */
|
15
|
-
maxSize?: number;
|
16
|
-
/** if false first and last buttons will be hidden */
|
17
|
-
boundaryLinks: boolean;
|
18
|
-
/** if false previous and next buttons will be hidden */
|
19
|
-
directionLinks: boolean;
|
20
|
-
/** first button text */
|
21
|
-
firstText: string;
|
22
|
-
/** previous button text */
|
23
|
-
previousText: string;
|
24
|
-
/** next button text */
|
25
|
-
nextText: string;
|
26
|
-
/** last button text */
|
27
|
-
lastText: string;
|
28
|
-
/** if true current page will in the middle of pages list */
|
29
|
-
rotate: boolean;
|
30
|
-
/** add class to <code><li\></code> */
|
31
|
-
pageBtnClass: string;
|
32
|
-
/** if true pagination component will be disabled */
|
33
|
-
disabled: boolean;
|
34
|
-
/** fired when total pages count changes, $event:number equals to total pages count */
|
35
|
-
numPages: EventEmitter<number>;
|
36
|
-
/** fired when page was changed, $event:{page, itemsPerPage} equals to
|
37
|
-
* object with current page index and number of items per page
|
38
|
-
*/
|
39
|
-
pageChanged: EventEmitter<PageChangedEvent>;
|
40
|
-
onChange: Function;
|
41
|
-
onTouched: Function;
|
42
|
-
classMap: string;
|
43
|
-
pages?: PagesModel[];
|
44
|
-
protected inited: boolean;
|
45
|
-
constructor(elementRef: ElementRef, paginationConfig: PaginationConfig, changeDetection: ChangeDetectorRef);
|
46
|
-
protected _itemsPerPage: number;
|
47
|
-
/** maximum number of items per page. If value less than 1 will display all items on one page */
|
48
|
-
get itemsPerPage(): number;
|
49
|
-
set itemsPerPage(v: number);
|
50
|
-
protected _totalItems: number;
|
51
|
-
/** total number of items in all pages */
|
52
|
-
get totalItems(): number;
|
53
|
-
set totalItems(v: number);
|
54
|
-
protected _totalPages: number;
|
55
|
-
get totalPages(): number;
|
56
|
-
set totalPages(v: number);
|
57
|
-
protected _page: number;
|
58
|
-
get page(): number;
|
59
|
-
set page(value: number);
|
60
|
-
configureOptions(config: Partial<ConfigModel>): void;
|
61
|
-
ngOnInit(): void;
|
62
|
-
writeValue(value: number): void;
|
63
|
-
getText(key: string): string;
|
64
|
-
noPrevious(): boolean;
|
65
|
-
noNext(): boolean;
|
66
|
-
registerOnChange(fn: () => void): void;
|
67
|
-
registerOnTouched(fn: () => void): void;
|
68
|
-
selectPage(page: number, event?: Event): void;
|
69
|
-
protected makePage(num: number, text: string, active: boolean): {
|
70
|
-
number: number;
|
71
|
-
text: string;
|
72
|
-
active: boolean;
|
73
|
-
};
|
74
|
-
protected getPages(currentPage: number, totalPages: number): PagesModel[];
|
75
|
-
protected calculateTotalPages(): number;
|
76
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PagerComponent, never>;
|
77
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PagerComponent, "pager", never, { "align": { "alias": "align"; "required": false; }; "maxSize": { "alias": "maxSize"; "required": false; }; "boundaryLinks": { "alias": "boundaryLinks"; "required": false; }; "directionLinks": { "alias": "directionLinks"; "required": false; }; "firstText": { "alias": "firstText"; "required": false; }; "previousText": { "alias": "previousText"; "required": false; }; "nextText": { "alias": "nextText"; "required": false; }; "lastText": { "alias": "lastText"; "required": false; }; "rotate": { "alias": "rotate"; "required": false; }; "pageBtnClass": { "alias": "pageBtnClass"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "itemsPerPage": { "alias": "itemsPerPage"; "required": false; }; "totalItems": { "alias": "totalItems"; "required": false; }; }, { "numPages": "numPages"; "pageChanged": "pageChanged"; }, never, never, true, never>;
|
78
|
-
}
|
@@ -1,91 +0,0 @@
|
|
1
|
-
import { ChangeDetectorRef, ElementRef, EventEmitter, OnInit, Provider, TemplateRef } from '@angular/core';
|
2
|
-
import { ControlValueAccessor } from '@angular/forms';
|
3
|
-
import { ConfigModel, PagesModel, PaginationLinkContext, PaginationNumberLinkContext } from './models';
|
4
|
-
import { PaginationConfig } from './pagination.config';
|
5
|
-
import * as i0 from "@angular/core";
|
6
|
-
export interface PageChangedEvent {
|
7
|
-
itemsPerPage: number;
|
8
|
-
page: number;
|
9
|
-
}
|
10
|
-
export declare const PAGINATION_CONTROL_VALUE_ACCESSOR: Provider;
|
11
|
-
export declare class PaginationComponent implements ControlValueAccessor, OnInit {
|
12
|
-
private elementRef;
|
13
|
-
private changeDetection;
|
14
|
-
config?: Partial<ConfigModel>;
|
15
|
-
/** if `true` aligns each link to the sides of pager */
|
16
|
-
align: boolean;
|
17
|
-
/** limit number for page links in pager */
|
18
|
-
maxSize?: number;
|
19
|
-
/** if false first and last buttons will be hidden */
|
20
|
-
boundaryLinks: boolean;
|
21
|
-
/** if false previous and next buttons will be hidden */
|
22
|
-
directionLinks: boolean;
|
23
|
-
/** first button text */
|
24
|
-
firstText?: string;
|
25
|
-
/** previous button text */
|
26
|
-
previousText?: string;
|
27
|
-
/** next button text */
|
28
|
-
nextText?: string;
|
29
|
-
/** last button text */
|
30
|
-
lastText?: string;
|
31
|
-
/** if true current page will in the middle of pages list */
|
32
|
-
rotate: boolean;
|
33
|
-
/** add class to <code><li\></code> */
|
34
|
-
pageBtnClass: string;
|
35
|
-
/** if true pagination component will be disabled */
|
36
|
-
disabled: boolean;
|
37
|
-
/** custom template for page link */
|
38
|
-
customPageTemplate?: TemplateRef<PaginationNumberLinkContext>;
|
39
|
-
/** custom template for next link */
|
40
|
-
customNextTemplate?: TemplateRef<PaginationLinkContext>;
|
41
|
-
/** custom template for previous link */
|
42
|
-
customPreviousTemplate?: TemplateRef<PaginationLinkContext>;
|
43
|
-
/** custom template for first link */
|
44
|
-
customFirstTemplate?: TemplateRef<PaginationLinkContext>;
|
45
|
-
/** custom template for last link */
|
46
|
-
customLastTemplate?: TemplateRef<PaginationLinkContext>;
|
47
|
-
/** fired when total pages count changes, $event:number equals to total pages count */
|
48
|
-
numPages: EventEmitter<number>;
|
49
|
-
/** fired when page was changed, $event:{page, itemsPerPage} equals to object
|
50
|
-
* with current page index and number of items per page
|
51
|
-
*/
|
52
|
-
pageChanged: EventEmitter<PageChangedEvent>;
|
53
|
-
onChange: Function;
|
54
|
-
onTouched: Function;
|
55
|
-
classMap: string;
|
56
|
-
pages?: PagesModel[];
|
57
|
-
protected inited: boolean;
|
58
|
-
constructor(elementRef: ElementRef, paginationConfig: PaginationConfig, changeDetection: ChangeDetectorRef);
|
59
|
-
protected _itemsPerPage: number;
|
60
|
-
/** maximum number of items per page. If value less than 1 will display all items on one page */
|
61
|
-
get itemsPerPage(): number;
|
62
|
-
set itemsPerPage(v: number);
|
63
|
-
protected _totalItems: number;
|
64
|
-
/** total number of items in all pages */
|
65
|
-
get totalItems(): number;
|
66
|
-
set totalItems(v: number);
|
67
|
-
protected _totalPages: number;
|
68
|
-
get totalPages(): number;
|
69
|
-
set totalPages(v: number);
|
70
|
-
protected _page: number;
|
71
|
-
get page(): number;
|
72
|
-
set page(value: number);
|
73
|
-
configureOptions(config: Partial<ConfigModel>): void;
|
74
|
-
ngOnInit(): void;
|
75
|
-
writeValue(value: number): void;
|
76
|
-
getText(key: string): string;
|
77
|
-
noPrevious(): boolean;
|
78
|
-
noNext(): boolean;
|
79
|
-
registerOnChange(fn: () => void): void;
|
80
|
-
registerOnTouched(fn: () => void): void;
|
81
|
-
selectPage(page: number, event?: Event): void;
|
82
|
-
protected makePage(num: number, text: string, active: boolean): {
|
83
|
-
number: number;
|
84
|
-
text: string;
|
85
|
-
active: boolean;
|
86
|
-
};
|
87
|
-
protected getPages(currentPage: number, totalPages: number): PagesModel[];
|
88
|
-
protected calculateTotalPages(): number;
|
89
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PaginationComponent, never>;
|
90
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PaginationComponent, "pagination", never, { "align": { "alias": "align"; "required": false; }; "maxSize": { "alias": "maxSize"; "required": false; }; "boundaryLinks": { "alias": "boundaryLinks"; "required": false; }; "directionLinks": { "alias": "directionLinks"; "required": false; }; "firstText": { "alias": "firstText"; "required": false; }; "previousText": { "alias": "previousText"; "required": false; }; "nextText": { "alias": "nextText"; "required": false; }; "lastText": { "alias": "lastText"; "required": false; }; "rotate": { "alias": "rotate"; "required": false; }; "pageBtnClass": { "alias": "pageBtnClass"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "customPageTemplate": { "alias": "customPageTemplate"; "required": false; }; "customNextTemplate": { "alias": "customNextTemplate"; "required": false; }; "customPreviousTemplate": { "alias": "customPreviousTemplate"; "required": false; }; "customFirstTemplate": { "alias": "customFirstTemplate"; "required": false; }; "customLastTemplate": { "alias": "customLastTemplate"; "required": false; }; "itemsPerPage": { "alias": "itemsPerPage"; "required": false; }; "totalItems": { "alias": "totalItems"; "required": false; }; }, { "numPages": "numPages"; "pageChanged": "pageChanged"; }, never, never, true, never>;
|
91
|
-
}
|
@@ -1,9 +0,0 @@
|
|
1
|
-
import { ConfigModel, PagerModel } from './models';
|
2
|
-
import * as i0 from "@angular/core";
|
3
|
-
/** Provides default values for Pagination and pager components */
|
4
|
-
export declare class PaginationConfig {
|
5
|
-
main: Partial<ConfigModel>;
|
6
|
-
pager: PagerModel;
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PaginationConfig, never>;
|
8
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<PaginationConfig>;
|
9
|
-
}
|
@@ -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 "./pager.component";
|
5
|
-
import * as i3 from "./pagination.component";
|
6
|
-
export declare class PaginationModule {
|
7
|
-
static forRoot(): ModuleWithProviders<PaginationModule>;
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PaginationModule, never>;
|
9
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<PaginationModule, never, [typeof i1.CommonModule, typeof i2.PagerComponent, typeof i3.PaginationComponent], [typeof i2.PagerComponent, typeof i3.PaginationComponent]>;
|
10
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<PaginationModule>;
|
11
|
-
}
|
@@ -1,5 +0,0 @@
|
|
1
|
-
export { PagerComponent } from './pager.component';
|
2
|
-
export { PaginationComponent, PageChangedEvent } from './pagination.component';
|
3
|
-
export { PaginationModule } from './pagination.module';
|
4
|
-
export { PaginationConfig } from './pagination.config';
|
5
|
-
export { PaginationLinkContext, PaginationNumberLinkContext, PagesModel } from './models';
|
@@ -1,16 +0,0 @@
|
|
1
|
-
import { PopoverConfig } from './popover.config';
|
2
|
-
import { IBsVersion } from 'ngx-bootstrap/utils';
|
3
|
-
import { AvailableBSPositions } from 'ngx-bootstrap/positioning';
|
4
|
-
import * as i0 from "@angular/core";
|
5
|
-
export declare class PopoverContainerComponent {
|
6
|
-
set placement(value: AvailableBSPositions);
|
7
|
-
title?: string;
|
8
|
-
containerClass?: string;
|
9
|
-
popoverId?: string;
|
10
|
-
_placement: AvailableBSPositions;
|
11
|
-
get _bsVersions(): IBsVersion;
|
12
|
-
constructor(config: PopoverConfig);
|
13
|
-
checkMarginNecessity(): string;
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PopoverContainerComponent, never>;
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PopoverContainerComponent, "popover-container", never, { "placement": { "alias": "placement"; "required": false; }; "title": { "alias": "title"; "required": false; }; }, {}, never, ["*"], true, never>;
|
16
|
-
}
|
@@ -1,30 +0,0 @@
|
|
1
|
-
import * as i0 from "@angular/core";
|
2
|
-
/**
|
3
|
-
* Configuration service for the Popover directive.
|
4
|
-
* You can inject this service, typically in your root component, and customize
|
5
|
-
* the values of its properties in order to provide default values for all the
|
6
|
-
* popovers used in the application.
|
7
|
-
*/
|
8
|
-
export declare class PopoverConfig {
|
9
|
-
/** sets disable adaptive position */
|
10
|
-
adaptivePosition: boolean;
|
11
|
-
/**
|
12
|
-
* Placement of a popover. Accepts: "top", "bottom", "left", "right", "auto"
|
13
|
-
*/
|
14
|
-
placement: string;
|
15
|
-
/**
|
16
|
-
* Specifies events that should trigger. Supports a space separated list of
|
17
|
-
* event names.
|
18
|
-
*/
|
19
|
-
triggers: string;
|
20
|
-
outsideClick: boolean;
|
21
|
-
/**
|
22
|
-
* A selector specifying the element the popover should be appended to.
|
23
|
-
*/
|
24
|
-
container?: string;
|
25
|
-
/** delay before showing the tooltip */
|
26
|
-
delay: number;
|
27
|
-
boundariesElement?: string;
|
28
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PopoverConfig, never>;
|
29
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<PopoverConfig>;
|
30
|
-
}
|
@@ -1,98 +0,0 @@
|
|
1
|
-
import { ElementRef, EventEmitter, OnDestroy, OnInit, Renderer2, TemplateRef, ViewContainerRef } from '@angular/core';
|
2
|
-
import { PopoverConfig } from './popover.config';
|
3
|
-
import { ComponentLoaderFactory } from 'ngx-bootstrap/component-loader';
|
4
|
-
import { PositioningService, AvailableBSPositions } from 'ngx-bootstrap/positioning';
|
5
|
-
import * as i0 from "@angular/core";
|
6
|
-
/**
|
7
|
-
* A lightweight, extensible directive for fancy popover creation.
|
8
|
-
*/
|
9
|
-
export declare class PopoverDirective implements OnInit, OnDestroy {
|
10
|
-
private _elementRef;
|
11
|
-
private _renderer;
|
12
|
-
private _positionService;
|
13
|
-
/** unique id popover - use for aria-describedby */
|
14
|
-
popoverId: number;
|
15
|
-
/** sets disable adaptive position */
|
16
|
-
adaptivePosition: boolean;
|
17
|
-
boundariesElement?: 'viewport' | 'scrollParent' | 'window';
|
18
|
-
/**
|
19
|
-
* Content to be displayed as popover.
|
20
|
-
*/
|
21
|
-
popover?: string | TemplateRef<any>;
|
22
|
-
/**
|
23
|
-
* Context to be used if popover is a template.
|
24
|
-
*/
|
25
|
-
popoverContext: any;
|
26
|
-
/**
|
27
|
-
* Title of a popover.
|
28
|
-
*/
|
29
|
-
popoverTitle?: string;
|
30
|
-
/**
|
31
|
-
* Placement of a popover. Accepts: "top", "bottom", "left", "right"
|
32
|
-
*/
|
33
|
-
placement: AvailableBSPositions;
|
34
|
-
/**
|
35
|
-
* Close popover on outside click
|
36
|
-
*/
|
37
|
-
outsideClick: boolean;
|
38
|
-
/**
|
39
|
-
* Specifies events that should trigger. Supports a space separated list of
|
40
|
-
* event names.
|
41
|
-
*/
|
42
|
-
triggers: string;
|
43
|
-
/**
|
44
|
-
* A selector specifying the element the popover should be appended to.
|
45
|
-
*/
|
46
|
-
container?: string;
|
47
|
-
/**
|
48
|
-
* Css class for popover container
|
49
|
-
*/
|
50
|
-
containerClass: string;
|
51
|
-
/**
|
52
|
-
* Returns whether or not the popover is currently being shown
|
53
|
-
*/
|
54
|
-
get isOpen(): boolean;
|
55
|
-
set isOpen(value: boolean);
|
56
|
-
/**
|
57
|
-
* Delay before showing the tooltip
|
58
|
-
*/
|
59
|
-
delay: number;
|
60
|
-
/**
|
61
|
-
* Emits an event when the popover is shown
|
62
|
-
*/
|
63
|
-
onShown: EventEmitter<unknown>;
|
64
|
-
/**
|
65
|
-
* Emits an event when the popover is hidden
|
66
|
-
*/
|
67
|
-
onHidden: EventEmitter<unknown>;
|
68
|
-
protected _popoverCancelShowFn?: () => void;
|
69
|
-
protected _delayTimeoutId?: number;
|
70
|
-
private _popover;
|
71
|
-
private _isInited;
|
72
|
-
private _ariaDescribedby?;
|
73
|
-
constructor(_config: PopoverConfig, _elementRef: ElementRef, _renderer: Renderer2, _viewContainerRef: ViewContainerRef, cis: ComponentLoaderFactory, _positionService: PositioningService);
|
74
|
-
/**
|
75
|
-
* Set attribute aria-describedBy for element directive and
|
76
|
-
* set id for the popover
|
77
|
-
*/
|
78
|
-
setAriaDescribedBy(): void;
|
79
|
-
/**
|
80
|
-
* Opens an element’s popover. This is considered a “manual” triggering of
|
81
|
-
* the popover.
|
82
|
-
*/
|
83
|
-
show(): void;
|
84
|
-
/**
|
85
|
-
* Closes an element’s popover. This is considered a “manual” triggering of
|
86
|
-
* the popover.
|
87
|
-
*/
|
88
|
-
hide(): void;
|
89
|
-
/**
|
90
|
-
* Toggles an element’s popover. This is considered a “manual” triggering of
|
91
|
-
* the popover.
|
92
|
-
*/
|
93
|
-
toggle(): void;
|
94
|
-
ngOnInit(): void;
|
95
|
-
ngOnDestroy(): void;
|
96
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PopoverDirective, never>;
|
97
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<PopoverDirective, "[popover]", ["bs-popover"], { "adaptivePosition": { "alias": "adaptivePosition"; "required": false; }; "boundariesElement": { "alias": "boundariesElement"; "required": false; }; "popover": { "alias": "popover"; "required": false; }; "popoverContext": { "alias": "popoverContext"; "required": false; }; "popoverTitle": { "alias": "popoverTitle"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; "outsideClick": { "alias": "outsideClick"; "required": false; }; "triggers": { "alias": "triggers"; "required": false; }; "container": { "alias": "container"; "required": false; }; "containerClass": { "alias": "containerClass"; "required": false; }; "isOpen": { "alias": "isOpen"; "required": false; }; "delay": { "alias": "delay"; "required": false; }; }, { "onShown": "onShown"; "onHidden": "onHidden"; }, never, never, true, never>;
|
98
|
-
}
|
@@ -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 "./popover.directive";
|
5
|
-
import * as i3 from "./popover-container.component";
|
6
|
-
export declare class PopoverModule {
|
7
|
-
static forRoot(): ModuleWithProviders<PopoverModule>;
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PopoverModule, never>;
|
9
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<PopoverModule, never, [typeof i1.CommonModule, typeof i2.PopoverDirective, typeof i3.PopoverContainerComponent], [typeof i2.PopoverDirective]>;
|
10
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<PopoverModule>;
|
11
|
-
}
|
package/popover/public_api.d.ts
DELETED
@@ -1,96 +0,0 @@
|
|
1
|
-
export interface Offsets {
|
2
|
-
width: number;
|
3
|
-
height: number;
|
4
|
-
bottom?: number;
|
5
|
-
left?: number;
|
6
|
-
right?: number;
|
7
|
-
top?: number;
|
8
|
-
marginTop?: number;
|
9
|
-
marginLeft?: number;
|
10
|
-
}
|
11
|
-
export interface Data {
|
12
|
-
options: Options;
|
13
|
-
instance: {
|
14
|
-
target: HTMLElement;
|
15
|
-
host: HTMLElement;
|
16
|
-
arrow?: HTMLElement;
|
17
|
-
};
|
18
|
-
offsets: {
|
19
|
-
target: Offsets;
|
20
|
-
host: Offsets;
|
21
|
-
arrow?: Record<string, string | number | HTMLElement>;
|
22
|
-
};
|
23
|
-
positionFixed: boolean;
|
24
|
-
placement: string;
|
25
|
-
placementAuto: boolean;
|
26
|
-
}
|
27
|
-
export interface Options {
|
28
|
-
placement?: string;
|
29
|
-
modifiers: {
|
30
|
-
flip?: {
|
31
|
-
enabled: boolean;
|
32
|
-
};
|
33
|
-
preventOverflow?: {
|
34
|
-
enabled: boolean;
|
35
|
-
boundariesElement?: string;
|
36
|
-
};
|
37
|
-
};
|
38
|
-
allowedPositions?: string[];
|
39
|
-
}
|
40
|
-
export declare enum MapPlacementInToRL {
|
41
|
-
top = "top",
|
42
|
-
bottom = "bottom",
|
43
|
-
left = "left",
|
44
|
-
right = "right",
|
45
|
-
auto = "auto",
|
46
|
-
end = "right",
|
47
|
-
start = "left",
|
48
|
-
'top left' = "top left",
|
49
|
-
'top right' = "top right",
|
50
|
-
'right top' = "right top",
|
51
|
-
'right bottom' = "right bottom",
|
52
|
-
'bottom right' = "bottom right",
|
53
|
-
'bottom left' = "bottom left",
|
54
|
-
'left bottom' = "left bottom",
|
55
|
-
'left top' = "left top",
|
56
|
-
'top start' = "top left",
|
57
|
-
'top end' = "top right",
|
58
|
-
'end top' = "right top",
|
59
|
-
'end bottom' = "right bottom",
|
60
|
-
'bottom end' = "bottom right",
|
61
|
-
'bottom start' = "bottom left",
|
62
|
-
'start bottom' = "start bottom",
|
63
|
-
'start top' = "left top"
|
64
|
-
}
|
65
|
-
export declare enum PlacementForBs5 {
|
66
|
-
top = "top",
|
67
|
-
bottom = "bottom",
|
68
|
-
left = "start",
|
69
|
-
right = "end",
|
70
|
-
auto = "auto",
|
71
|
-
end = "end",
|
72
|
-
start = "start",
|
73
|
-
'top left' = "top start",
|
74
|
-
'top right' = "top end",
|
75
|
-
'right top' = "end top",
|
76
|
-
'right bottom' = "end bottom",
|
77
|
-
'bottom right' = "bottom end",
|
78
|
-
'bottom left' = "bottom start",
|
79
|
-
'left bottom' = "start bottom",
|
80
|
-
'left top' = "start top",
|
81
|
-
'top start' = "top start",
|
82
|
-
'top end' = "top end",
|
83
|
-
'end top' = "end top",
|
84
|
-
'end bottom' = "end bottom",
|
85
|
-
'bottom end' = "bottom end",
|
86
|
-
'bottom start' = "bottom start",
|
87
|
-
'start bottom' = "start bottom",
|
88
|
-
'start top' = "start top"
|
89
|
-
}
|
90
|
-
type VerticalPosition = 'top' | 'bottom';
|
91
|
-
type HorizontalPosition = 'left' | 'right';
|
92
|
-
type RtlFriendlyHorizontalPosition = 'start' | 'end';
|
93
|
-
export type AvailableBSPositions = VerticalPosition | HorizontalPosition | RtlFriendlyHorizontalPosition | 'auto' | `${VerticalPosition} ${HorizontalPosition}` | `${HorizontalPosition} ${VerticalPosition}` | `${VerticalPosition} ${RtlFriendlyHorizontalPosition}` | `${RtlFriendlyHorizontalPosition} ${VerticalPosition}`;
|
94
|
-
/** @deprecated use AvailablePositions */
|
95
|
-
export type AvailbleBSPositions = AvailableBSPositions;
|
96
|
-
export {};
|
@@ -1,12 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* @copyright Valor Software
|
3
|
-
* @copyright Federico Zivolo and contributors
|
4
|
-
*/
|
5
|
-
import { Renderer2 } from '@angular/core';
|
6
|
-
import { Data, Offsets, Options } from './models';
|
7
|
-
export declare class Positioning {
|
8
|
-
position(hostElement: HTMLElement, targetElement: HTMLElement): Offsets | undefined;
|
9
|
-
offset(hostElement: HTMLElement, targetElement: HTMLElement): Offsets | undefined;
|
10
|
-
positionElements(hostElement: HTMLElement | null, targetElement: HTMLElement | null, position: string, appendToBody?: boolean, options?: Options): Data | undefined;
|
11
|
-
}
|
12
|
-
export declare function positionElements(hostElement: HTMLElement | null, targetElement: HTMLElement | null, placement: string, appendToBody?: boolean, options?: Options, renderer?: Renderer2): void;
|
@@ -1,48 +0,0 @@
|
|
1
|
-
import { ElementRef, RendererFactory2, NgZone } from '@angular/core';
|
2
|
-
import { Observable } from 'rxjs';
|
3
|
-
import { Options } from './models';
|
4
|
-
import * as i0 from "@angular/core";
|
5
|
-
export interface PositioningOptions {
|
6
|
-
/** The DOM element, ElementRef, or a selector string of an element which will be moved */
|
7
|
-
element?: HTMLElement | ElementRef | string;
|
8
|
-
/** The DOM element, ElementRef, or a selector string of an element which the element will be attached to */
|
9
|
-
target?: HTMLElement | ElementRef | string;
|
10
|
-
/**
|
11
|
-
* A string of the form 'vert-attachment horiz-attachment' or 'placement'
|
12
|
-
* - placement can be "top", "bottom", "left", "right"
|
13
|
-
* not yet supported:
|
14
|
-
* - vert-attachment can be any of 'top', 'middle', 'bottom'
|
15
|
-
* - horiz-attachment can be any of 'left', 'center', 'right'
|
16
|
-
*/
|
17
|
-
attachment?: string;
|
18
|
-
/** A string similar to `attachment`. The one difference is that, if it's not provided,
|
19
|
-
* `targetAttachment` will assume the mirror image of `attachment`.
|
20
|
-
*/
|
21
|
-
targetAttachment?: string;
|
22
|
-
/** A string of the form 'vert-offset horiz-offset'
|
23
|
-
* - vert-offset and horiz-offset can be of the form "20px" or "55%"
|
24
|
-
*/
|
25
|
-
offset?: string;
|
26
|
-
/** A string similar to `offset`, but referring to the offset of the target */
|
27
|
-
targetOffset?: string;
|
28
|
-
/** If true component will be attached to body */
|
29
|
-
appendToBody?: boolean;
|
30
|
-
}
|
31
|
-
export declare class PositioningService {
|
32
|
-
private options?;
|
33
|
-
private update$$;
|
34
|
-
private positionElements;
|
35
|
-
private triggerEvent$?;
|
36
|
-
private isDisabled;
|
37
|
-
constructor(ngZone: NgZone, rendererFactory: RendererFactory2, platformId: number);
|
38
|
-
position(options: PositioningOptions): void;
|
39
|
-
get event$(): Observable<number | Event | null> | undefined;
|
40
|
-
disable(): void;
|
41
|
-
enable(): void;
|
42
|
-
addPositionElement(options: PositioningOptions): void;
|
43
|
-
calcPosition(): void;
|
44
|
-
deletePositionElement(elRef: ElementRef): void;
|
45
|
-
setOptions(options: Options): void;
|
46
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PositioningService, never>;
|
47
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<PositioningService>;
|
48
|
-
}
|