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
@@ -1,162 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* @license
|
3
|
-
* Copyright Google LLC All Rights Reserved.
|
4
|
-
*
|
5
|
-
* Use of this source code is governed by an MIT-style license that can be
|
6
|
-
* found in the LICENSE file at https://angular.io/license
|
7
|
-
*/
|
8
|
-
import { BooleanInput } from './boolean-property';
|
9
|
-
import { AfterContentInit, ElementRef, NgZone, OnDestroy, DoCheck, SimpleChanges, OnChanges } from '@angular/core';
|
10
|
-
import { InteractivityChecker } from './interactivity-checker';
|
11
|
-
import * as i0 from "@angular/core";
|
12
|
-
/**
|
13
|
-
* Class that allows for trapping focus within a DOM element.
|
14
|
-
*
|
15
|
-
* This class currently uses a relatively simple approach to focus trapping.
|
16
|
-
* It assumes that the tab order is the same as DOM order, which is not necessarily true.
|
17
|
-
* Things like `tabIndex > 0`, flex `order`, and shadow roots can cause the two to misalign.
|
18
|
-
*
|
19
|
-
* @deprecated Use `ConfigurableFocusTrap` instead.
|
20
|
-
* @breaking-change for 11.0.0 Remove this class.
|
21
|
-
*/
|
22
|
-
export declare class FocusTrap {
|
23
|
-
readonly _element: HTMLElement;
|
24
|
-
private _checker;
|
25
|
-
readonly _ngZone: NgZone;
|
26
|
-
readonly _document: Document;
|
27
|
-
private _startAnchor?;
|
28
|
-
private _endAnchor?;
|
29
|
-
private _hasAttached;
|
30
|
-
protected startAnchorListener: () => boolean;
|
31
|
-
protected endAnchorListener: () => boolean;
|
32
|
-
/** Whether the focus trap is active. */
|
33
|
-
get enabled(): boolean;
|
34
|
-
set enabled(value: boolean);
|
35
|
-
protected _enabled: boolean;
|
36
|
-
constructor(_element: HTMLElement, _checker: InteractivityChecker, _ngZone: NgZone, _document: Document, deferAnchors?: boolean);
|
37
|
-
/** Destroys the focus trap by cleaning up the anchors. */
|
38
|
-
destroy(): void;
|
39
|
-
/**
|
40
|
-
* Inserts the anchors into the DOM. This is usually done automatically
|
41
|
-
* in the constructor, but can be deferred for cases like directives with `*ngIf`.
|
42
|
-
* @returns Whether the focus trap managed to attach successfuly. This may not be the case
|
43
|
-
* if the target element isn't currently in the DOM.
|
44
|
-
*/
|
45
|
-
attachAnchors(): boolean;
|
46
|
-
/**
|
47
|
-
* Waits for the zone to stabilize, then either focuses the first element that the
|
48
|
-
* user specified, or the first tabbable element.
|
49
|
-
* @returns Returns a promise that resolves with a boolean, depending
|
50
|
-
* on whether focus was moved successfully.
|
51
|
-
*/
|
52
|
-
focusInitialElementWhenReady(): Promise<boolean>;
|
53
|
-
/**
|
54
|
-
* Waits for the zone to stabilize, then focuses
|
55
|
-
* the first tabbable element within the focus trap region.
|
56
|
-
* @returns Returns a promise that resolves with a boolean, depending
|
57
|
-
* on whether focus was moved successfully.
|
58
|
-
*/
|
59
|
-
focusFirstTabbableElementWhenReady(): Promise<boolean>;
|
60
|
-
/**
|
61
|
-
* Waits for the zone to stabilize, then focuses
|
62
|
-
* the last tabbable element within the focus trap region.
|
63
|
-
* @returns Returns a promise that resolves with a boolean, depending
|
64
|
-
* on whether focus was moved successfully.
|
65
|
-
*/
|
66
|
-
focusLastTabbableElementWhenReady(): Promise<boolean>;
|
67
|
-
/**
|
68
|
-
* Get the specified boundary element of the trapped region.
|
69
|
-
* @param bound The boundary to get (start or end of trapped region).
|
70
|
-
* @returns The boundary element.
|
71
|
-
*/
|
72
|
-
private _getRegionBoundary;
|
73
|
-
/**
|
74
|
-
* Focuses the element that should be focused when the focus trap is initialized.
|
75
|
-
* @returns Whether focus was moved successfully.
|
76
|
-
*/
|
77
|
-
focusInitialElement(): boolean;
|
78
|
-
/**
|
79
|
-
* Focuses the first tabbable element within the focus trap region.
|
80
|
-
* @returns Whether focus was moved successfully.
|
81
|
-
*/
|
82
|
-
focusFirstTabbableElement(): boolean;
|
83
|
-
/**
|
84
|
-
* Focuses the last tabbable element within the focus trap region.
|
85
|
-
* @returns Whether focus was moved successfully.
|
86
|
-
*/
|
87
|
-
focusLastTabbableElement(): boolean;
|
88
|
-
/**
|
89
|
-
* Checks whether the focus trap has successfully been attached.
|
90
|
-
*/
|
91
|
-
hasAttached(): boolean;
|
92
|
-
/** Get the first tabbable element from a DOM subtree (inclusive). */
|
93
|
-
private _getFirstTabbableElement;
|
94
|
-
/** Get the last tabbable element from a DOM subtree (inclusive). */
|
95
|
-
private _getLastTabbableElement;
|
96
|
-
/** Creates an anchor element. */
|
97
|
-
private _createAnchor;
|
98
|
-
/**
|
99
|
-
* Toggles the `tabindex` of an anchor, based on the enabled state of the focus trap.
|
100
|
-
* @param isEnabled Whether the focus trap is enabled.
|
101
|
-
* @param anchor Anchor on which to toggle the tabindex.
|
102
|
-
*/
|
103
|
-
private _toggleAnchorTabIndex;
|
104
|
-
/**
|
105
|
-
* Toggles the`tabindex` of both anchors to either trap Tab focus or allow it to escape.
|
106
|
-
* @param enabled: Whether the anchors should trap Tab.
|
107
|
-
*/
|
108
|
-
protected toggleAnchors(enabled: boolean): void;
|
109
|
-
/** Executes a function when the zone is stable. */
|
110
|
-
private _executeOnStable;
|
111
|
-
}
|
112
|
-
/**
|
113
|
-
* Factory that allows easy instantiation of focus traps.
|
114
|
-
* @deprecated Use `ConfigurableFocusTrapFactory` instead.
|
115
|
-
* @breaking-change for 11.0.0 Remove this class.
|
116
|
-
*/
|
117
|
-
export declare class FocusTrapFactory {
|
118
|
-
private _checker;
|
119
|
-
private _ngZone;
|
120
|
-
private _document;
|
121
|
-
constructor(_checker: InteractivityChecker, _ngZone: NgZone, _document: any);
|
122
|
-
/**
|
123
|
-
* Creates a focus-trapped region around the given element.
|
124
|
-
* @param element The element around which focus will be trapped.
|
125
|
-
* @param deferCaptureElements Defers the creation of focus-capturing elements to be done
|
126
|
-
* manually by the user.
|
127
|
-
* @returns The created focus trap instance.
|
128
|
-
*/
|
129
|
-
create(element: HTMLElement, deferCaptureElements?: boolean): FocusTrap;
|
130
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FocusTrapFactory, never>;
|
131
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<FocusTrapFactory>;
|
132
|
-
}
|
133
|
-
/** Directive for trapping focus within a region. */
|
134
|
-
export declare class FocusTrapDirective implements OnDestroy, AfterContentInit, OnChanges, DoCheck {
|
135
|
-
private _elementRef;
|
136
|
-
private _focusTrapFactory;
|
137
|
-
private _document;
|
138
|
-
/** Underlying FocusTrap instance. */
|
139
|
-
focusTrap: FocusTrap;
|
140
|
-
/** Previously focused element to restore focus to upon destroy when using autoCapture. */
|
141
|
-
private _previouslyFocusedElement;
|
142
|
-
/** Whether the focus trap is active. */
|
143
|
-
get enabled(): boolean;
|
144
|
-
set enabled(value: boolean);
|
145
|
-
/**
|
146
|
-
* Whether the directive should automatically move focus into the trapped region upon
|
147
|
-
* initialization and return focus to the previous activeElement upon destruction.
|
148
|
-
*/
|
149
|
-
get autoCapture(): boolean;
|
150
|
-
set autoCapture(value: boolean);
|
151
|
-
private _autoCapture;
|
152
|
-
constructor(_elementRef: ElementRef<HTMLElement>, _focusTrapFactory: FocusTrapFactory, _document: any);
|
153
|
-
ngOnDestroy(): void;
|
154
|
-
ngAfterContentInit(): void;
|
155
|
-
ngDoCheck(): void;
|
156
|
-
ngOnChanges(changes: SimpleChanges): void;
|
157
|
-
private _captureFocus;
|
158
|
-
static ngAcceptInputType_enabled: BooleanInput;
|
159
|
-
static ngAcceptInputType_autoCapture: BooleanInput;
|
160
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FocusTrapDirective, never>;
|
161
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FocusTrapDirective, "[focusTrap]", ["focusTrap"], { "enabled": { "alias": "cdkTrapFocus"; "required": false; }; "autoCapture": { "alias": "cdkTrapFocusAutoCapture"; "required": false; }; }, {}, never, never, true, never>;
|
162
|
-
}
|
@@ -1,10 +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 "./focus-trap";
|
5
|
-
export declare class FocusTrapModule {
|
6
|
-
static forRoot(): ModuleWithProviders<FocusTrapModule>;
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FocusTrapModule, never>;
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<FocusTrapModule, never, [typeof i1.CommonModule, typeof i2.FocusTrapDirective], [typeof i2.FocusTrapDirective]>;
|
9
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<FocusTrapModule>;
|
10
|
-
}
|
@@ -1,60 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* @license
|
3
|
-
* Copyright Google LLC All Rights Reserved.
|
4
|
-
*
|
5
|
-
* Use of this source code is governed by an MIT-style license that can be
|
6
|
-
* found in the LICENSE file at https://angular.io/license
|
7
|
-
*/
|
8
|
-
import { Platform } from './platform';
|
9
|
-
import * as i0 from "@angular/core";
|
10
|
-
/**
|
11
|
-
* Configuration for the isFocusable method.
|
12
|
-
*/
|
13
|
-
export declare class IsFocusableConfig {
|
14
|
-
/**
|
15
|
-
* Whether to count an element as focusable even if it is not currently visible.
|
16
|
-
*/
|
17
|
-
ignoreVisibility: boolean;
|
18
|
-
}
|
19
|
-
/**
|
20
|
-
* Utility for checking the interactivity of an element, such as whether is is focusable or
|
21
|
-
* tabbable.
|
22
|
-
*/
|
23
|
-
export declare class InteractivityChecker {
|
24
|
-
private _platform;
|
25
|
-
constructor(_platform: Platform);
|
26
|
-
/**
|
27
|
-
* Gets whether an element is disabled.
|
28
|
-
*
|
29
|
-
* @param element Element to be checked.
|
30
|
-
* @returns Whether the element is disabled.
|
31
|
-
*/
|
32
|
-
isDisabled(element: HTMLElement): boolean;
|
33
|
-
/**
|
34
|
-
* Gets whether an element is visible for the purposes of interactivity.
|
35
|
-
*
|
36
|
-
* This will capture states like `display: none` and `visibility: hidden`, but not things like
|
37
|
-
* being clipped by an `overflow: hidden` parent or being outside the viewport.
|
38
|
-
*
|
39
|
-
* @returns Whether the element is visible.
|
40
|
-
*/
|
41
|
-
isVisible(element: HTMLElement): boolean;
|
42
|
-
/**
|
43
|
-
* Gets whether an element can be reached via Tab key.
|
44
|
-
* Assumes that the element has already been checked with isFocusable.
|
45
|
-
*
|
46
|
-
* @param element Element to be checked.
|
47
|
-
* @returns Whether the element is tabbable.
|
48
|
-
*/
|
49
|
-
isTabbable(element: HTMLElement): boolean;
|
50
|
-
/**
|
51
|
-
* Gets whether an element can be focused by the user.
|
52
|
-
*
|
53
|
-
* @param element Element to be checked.
|
54
|
-
* @param config The config object with options to customize this method's behavior
|
55
|
-
* @returns Whether the element is focusable.
|
56
|
-
*/
|
57
|
-
isFocusable(element: HTMLElement, config?: IsFocusableConfig): boolean;
|
58
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<InteractivityChecker, never>;
|
59
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<InteractivityChecker>;
|
60
|
-
}
|
package/focus-trap/platform.d.ts
DELETED
@@ -1,29 +0,0 @@
|
|
1
|
-
import * as i0 from "@angular/core";
|
2
|
-
/**
|
3
|
-
* Service to detect the current platform by comparing the userAgent strings and
|
4
|
-
* checking browser-specific global properties.
|
5
|
-
*/
|
6
|
-
export declare class Platform {
|
7
|
-
private _platformId;
|
8
|
-
/** Whether the Angular application is being rendered in the browser. */
|
9
|
-
isBrowser: boolean;
|
10
|
-
/** Whether the current browser is Microsoft Edge. */
|
11
|
-
EDGE: boolean;
|
12
|
-
/** Whether the current rendering engine is Microsoft Trident. */
|
13
|
-
TRIDENT: boolean;
|
14
|
-
/** Whether the current rendering engine is Blink. */
|
15
|
-
BLINK: boolean;
|
16
|
-
/** Whether the current rendering engine is WebKit. */
|
17
|
-
WEBKIT: boolean;
|
18
|
-
/** Whether the current platform is Apple iOS. */
|
19
|
-
IOS: boolean;
|
20
|
-
/** Whether the current browser is Firefox. */
|
21
|
-
FIREFOX: boolean;
|
22
|
-
/** Whether the current platform is Android. */
|
23
|
-
ANDROID: boolean;
|
24
|
-
/** Whether the current browser is Safari. */
|
25
|
-
SAFARI: boolean;
|
26
|
-
constructor(_platformId: Object);
|
27
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<Platform, never>;
|
28
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<Platform>;
|
29
|
-
}
|
package/locale/public_api.d.ts
DELETED
@@ -1,46 +0,0 @@
|
|
1
|
-
export { arLocale } from 'ngx-bootstrap/chronos';
|
2
|
-
export { bgLocale } from 'ngx-bootstrap/chronos';
|
3
|
-
export { caLocale } from 'ngx-bootstrap/chronos';
|
4
|
-
export { csLocale } from 'ngx-bootstrap/chronos';
|
5
|
-
export { daLocale } from 'ngx-bootstrap/chronos';
|
6
|
-
export { deLocale } from 'ngx-bootstrap/chronos';
|
7
|
-
export { enGbLocale } from 'ngx-bootstrap/chronos';
|
8
|
-
export { esDoLocale } from 'ngx-bootstrap/chronos';
|
9
|
-
export { esLocale } from 'ngx-bootstrap/chronos';
|
10
|
-
export { esPrLocale } from 'ngx-bootstrap/chronos';
|
11
|
-
export { esUsLocale } from 'ngx-bootstrap/chronos';
|
12
|
-
export { etLocale } from 'ngx-bootstrap/chronos';
|
13
|
-
export { fiLocale } from 'ngx-bootstrap/chronos';
|
14
|
-
export { frLocale } from 'ngx-bootstrap/chronos';
|
15
|
-
export { frCaLocale } from 'ngx-bootstrap/chronos';
|
16
|
-
export { glLocale } from 'ngx-bootstrap/chronos';
|
17
|
-
export { heLocale } from 'ngx-bootstrap/chronos';
|
18
|
-
export { hiLocale } from 'ngx-bootstrap/chronos';
|
19
|
-
export { huLocale } from 'ngx-bootstrap/chronos';
|
20
|
-
export { hrLocale } from 'ngx-bootstrap/chronos';
|
21
|
-
export { idLocale } from 'ngx-bootstrap/chronos';
|
22
|
-
export { itLocale } from 'ngx-bootstrap/chronos';
|
23
|
-
export { jaLocale } from 'ngx-bootstrap/chronos';
|
24
|
-
export { kaLocale } from 'ngx-bootstrap/chronos';
|
25
|
-
export { kkLocale } from 'ngx-bootstrap/chronos';
|
26
|
-
export { koLocale } from 'ngx-bootstrap/chronos';
|
27
|
-
export { ltLocale } from 'ngx-bootstrap/chronos';
|
28
|
-
export { lvLocale } from 'ngx-bootstrap/chronos';
|
29
|
-
export { mnLocale } from 'ngx-bootstrap/chronos';
|
30
|
-
export { nbLocale } from 'ngx-bootstrap/chronos';
|
31
|
-
export { nlBeLocale } from 'ngx-bootstrap/chronos';
|
32
|
-
export { nlLocale } from 'ngx-bootstrap/chronos';
|
33
|
-
export { plLocale } from 'ngx-bootstrap/chronos';
|
34
|
-
export { ptBrLocale } from 'ngx-bootstrap/chronos';
|
35
|
-
export { roLocale } from 'ngx-bootstrap/chronos';
|
36
|
-
export { ruLocale } from 'ngx-bootstrap/chronos';
|
37
|
-
export { skLocale } from 'ngx-bootstrap/chronos';
|
38
|
-
export { slLocale } from 'ngx-bootstrap/chronos';
|
39
|
-
export { sqLocale } from 'ngx-bootstrap/chronos';
|
40
|
-
export { svLocale } from 'ngx-bootstrap/chronos';
|
41
|
-
export { thLocale } from 'ngx-bootstrap/chronos';
|
42
|
-
export { thBeLocale } from 'ngx-bootstrap/chronos';
|
43
|
-
export { trLocale } from 'ngx-bootstrap/chronos';
|
44
|
-
export { ukLocale } from 'ngx-bootstrap/chronos';
|
45
|
-
export { viLocale } from 'ngx-bootstrap/chronos';
|
46
|
-
export { zhCnLocale } from 'ngx-bootstrap/chronos';
|
@@ -1,8 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* @copyright ngrx
|
3
|
-
*/
|
4
|
-
import { Action, ActionReducer } from './index';
|
5
|
-
import { BehaviorSubject, Observable } from 'rxjs';
|
6
|
-
export declare class MiniState<T> extends BehaviorSubject<T> {
|
7
|
-
constructor(_initialState: T, actionsDispatcher$: Observable<Action>, reducer: ActionReducer<T>);
|
8
|
-
}
|
@@ -1,16 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* @copyright ngrx
|
3
|
-
*/
|
4
|
-
import { Observable, Observer, Operator } from 'rxjs';
|
5
|
-
import { Action, ActionReducer } from './index';
|
6
|
-
export declare class MiniStore<T> extends Observable<T> implements Observer<Action> {
|
7
|
-
private _dispatcher;
|
8
|
-
private _reducer;
|
9
|
-
constructor(_dispatcher: Observer<Action>, _reducer: ActionReducer<any>, state$: Observable<any>);
|
10
|
-
select<R>(pathOrMapFn: (state: T) => R): Observable<R>;
|
11
|
-
lift<R>(operator: Operator<T, R>): MiniStore<R>;
|
12
|
-
dispatch(action: Action): void;
|
13
|
-
next(action: Action): void;
|
14
|
-
error(err: any): void;
|
15
|
-
complete(): void;
|
16
|
-
}
|
@@ -1,30 +0,0 @@
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
2
|
-
import * as i0 from "@angular/core";
|
3
|
-
export declare class BsModalRef<T = any> {
|
4
|
-
/**
|
5
|
-
* Event that is fired when the modal behind the ref starts hiding
|
6
|
-
*/
|
7
|
-
onHide?: EventEmitter<unknown>;
|
8
|
-
/**
|
9
|
-
* Event that is fired when the modal behind the ref finishes hiding
|
10
|
-
*/
|
11
|
-
onHidden?: EventEmitter<unknown>;
|
12
|
-
/**
|
13
|
-
* Allow user to ID for the modal. Otherwise, a unique number will be given
|
14
|
-
*/
|
15
|
-
id?: number | string;
|
16
|
-
/**
|
17
|
-
* Reference to a component inside the modal. Null if modal's been created with TemplateRef
|
18
|
-
*/
|
19
|
-
content?: T;
|
20
|
-
/**
|
21
|
-
* Hides the modal
|
22
|
-
*/
|
23
|
-
hide: () => void;
|
24
|
-
/**
|
25
|
-
* Sets new class to modal window
|
26
|
-
*/
|
27
|
-
setClass: (newClass: string) => void;
|
28
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BsModalRef<any>, never>;
|
29
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<BsModalRef<any>>;
|
30
|
-
}
|
@@ -1,50 +0,0 @@
|
|
1
|
-
import { ComponentRef, TemplateRef, EventEmitter, RendererFactory2 } from '@angular/core';
|
2
|
-
import { ComponentLoaderFactory } from 'ngx-bootstrap/component-loader';
|
3
|
-
import { ModalBackdropComponent } from './modal-backdrop.component';
|
4
|
-
import { ModalOptions } from './modal-options.class';
|
5
|
-
import { BsModalRef } from './bs-modal-ref.service';
|
6
|
-
import * as i0 from "@angular/core";
|
7
|
-
export declare class BsModalService {
|
8
|
-
private clf;
|
9
|
-
private modalDefaultOption;
|
10
|
-
config: ModalOptions;
|
11
|
-
onShow: EventEmitter<any>;
|
12
|
-
onShown: EventEmitter<any>;
|
13
|
-
onHide: EventEmitter<any>;
|
14
|
-
onHidden: EventEmitter<any>;
|
15
|
-
protected isBodyOverflowing: boolean;
|
16
|
-
protected originalBodyPadding: number;
|
17
|
-
protected scrollbarWidth: number;
|
18
|
-
protected backdropRef?: ComponentRef<ModalBackdropComponent>;
|
19
|
-
private _backdropLoader;
|
20
|
-
private modalsCount;
|
21
|
-
private lastHiddenId;
|
22
|
-
private lastDismissReason?;
|
23
|
-
private loaders;
|
24
|
-
private _renderer;
|
25
|
-
private _focusEl;
|
26
|
-
constructor(rendererFactory: RendererFactory2, clf: ComponentLoaderFactory, modalDefaultOption: ModalOptions);
|
27
|
-
/** Shows a modal */
|
28
|
-
show<T>(content: string | TemplateRef<any> | {
|
29
|
-
new (...args: any[]): T;
|
30
|
-
}, config?: ModalOptions<T>): BsModalRef<T>;
|
31
|
-
hide(id?: number | string): void;
|
32
|
-
_showBackdrop(): void;
|
33
|
-
_hideBackdrop(): void;
|
34
|
-
_showModal<T>(content: any): BsModalRef<T>;
|
35
|
-
_hideModal(id?: number | string): void;
|
36
|
-
getModalsCount(): number;
|
37
|
-
setDismissReason(reason: string): void;
|
38
|
-
removeBackdrop(): void;
|
39
|
-
/** Checks if the body is overflowing and sets scrollbar width */
|
40
|
-
/** @internal */
|
41
|
-
checkScrollbar(): void;
|
42
|
-
setScrollbar(): void;
|
43
|
-
private resetScrollbar;
|
44
|
-
private getScrollbarWidth;
|
45
|
-
private _createLoaders;
|
46
|
-
private removeLoaders;
|
47
|
-
private copyEvent;
|
48
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BsModalService, [null, null, { optional: true; }]>;
|
49
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<BsModalService>;
|
50
|
-
}
|
@@ -1,17 +0,0 @@
|
|
1
|
-
import { ElementRef, OnInit, Renderer2 } from '@angular/core';
|
2
|
-
import * as i0 from "@angular/core";
|
3
|
-
/** This component will be added as background layout for modals if enabled */
|
4
|
-
export declare class ModalBackdropComponent implements OnInit {
|
5
|
-
get isAnimated(): boolean;
|
6
|
-
set isAnimated(value: boolean);
|
7
|
-
get isShown(): boolean;
|
8
|
-
set isShown(value: boolean);
|
9
|
-
element: ElementRef;
|
10
|
-
renderer: Renderer2;
|
11
|
-
protected _isAnimated: boolean;
|
12
|
-
protected _isShown: boolean;
|
13
|
-
constructor(element: ElementRef, renderer: Renderer2);
|
14
|
-
ngOnInit(): void;
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ModalBackdropComponent, never>;
|
16
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ModalBackdropComponent, "bs-modal-backdrop", never, {}, {}, never, never, true, never>;
|
17
|
-
}
|
@@ -1,27 +0,0 @@
|
|
1
|
-
import { ElementRef, OnDestroy, OnInit, Renderer2 } from '@angular/core';
|
2
|
-
import { ModalOptions } from './modal-options.class';
|
3
|
-
import { BsModalService } from './bs-modal.service';
|
4
|
-
import * as i0 from "@angular/core";
|
5
|
-
export declare class ModalContainerComponent implements OnInit, OnDestroy {
|
6
|
-
protected _element: ElementRef;
|
7
|
-
private _renderer;
|
8
|
-
config: ModalOptions;
|
9
|
-
isShown: boolean;
|
10
|
-
level?: number;
|
11
|
-
isAnimated: boolean;
|
12
|
-
bsModalService?: BsModalService;
|
13
|
-
_focusEl: Element | null;
|
14
|
-
private isModalHiding;
|
15
|
-
private clickStartedInContent;
|
16
|
-
constructor(options: ModalOptions, _element: ElementRef, _renderer: Renderer2);
|
17
|
-
ngOnInit(): void;
|
18
|
-
onClickStarted(event: MouseEvent): void;
|
19
|
-
onClickStop(event: MouseEvent): void;
|
20
|
-
onPopState(): void;
|
21
|
-
onEsc(event: KeyboardEvent): void;
|
22
|
-
ngOnDestroy(): void;
|
23
|
-
hide(): void;
|
24
|
-
private _hide;
|
25
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ModalContainerComponent, never>;
|
26
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ModalContainerComponent, "modal-container", never, {}, {}, never, ["*"], true, never>;
|
27
|
-
}
|
@@ -1,63 +0,0 @@
|
|
1
|
-
import { StaticProvider, InjectionToken } from '@angular/core';
|
2
|
-
import { ClassName, CloseInterceptorFn, DismissReasons, Selector, TransitionDurations } from './models';
|
3
|
-
import * as i0 from "@angular/core";
|
4
|
-
export declare class ModalOptions<T = Record<string, unknown>> {
|
5
|
-
/**
|
6
|
-
* Allow user to ID for the modal. Otherwise, a unique number will be given
|
7
|
-
*/
|
8
|
-
id?: number | string;
|
9
|
-
/**
|
10
|
-
* Includes a modal-backdrop element. Alternatively,
|
11
|
-
* specify static for a backdrop which doesn't close the modal on click.
|
12
|
-
*/
|
13
|
-
backdrop?: boolean | 'static';
|
14
|
-
/**
|
15
|
-
* Closes the modal when escape key is pressed.
|
16
|
-
*/
|
17
|
-
keyboard?: boolean;
|
18
|
-
focus?: boolean;
|
19
|
-
/**
|
20
|
-
* Shows the modal when initialized.
|
21
|
-
*/
|
22
|
-
show?: boolean;
|
23
|
-
/**
|
24
|
-
* Ignore the backdrop click
|
25
|
-
*/
|
26
|
-
ignoreBackdropClick?: boolean;
|
27
|
-
/**
|
28
|
-
* Css class for opened modal
|
29
|
-
*/
|
30
|
-
class?: string;
|
31
|
-
/**
|
32
|
-
* Toggle animation
|
33
|
-
*/
|
34
|
-
animated?: boolean;
|
35
|
-
/**
|
36
|
-
* Modal data
|
37
|
-
*/
|
38
|
-
initialState?: Partial<T>;
|
39
|
-
/**
|
40
|
-
* Function to intercept the closure
|
41
|
-
*/
|
42
|
-
closeInterceptor?: CloseInterceptorFn;
|
43
|
-
/**
|
44
|
-
* Modal providers
|
45
|
-
*/
|
46
|
-
providers?: StaticProvider[];
|
47
|
-
/**
|
48
|
-
* aria-labelledby attribute value to set on the modal window
|
49
|
-
*/
|
50
|
-
ariaLabelledBy?: string;
|
51
|
-
/**
|
52
|
-
* aria-describedby attribute value to set on the modal window
|
53
|
-
*/
|
54
|
-
ariaDescribedby?: string;
|
55
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ModalOptions<any>, never>;
|
56
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ModalOptions<any>>;
|
57
|
-
}
|
58
|
-
export declare const modalConfigDefaults: ModalOptions;
|
59
|
-
export declare const MODAL_CONFIG_DEFAULT_OVERRIDE: InjectionToken<ModalOptions>;
|
60
|
-
export declare const CLASS_NAME: ClassName;
|
61
|
-
export declare const SELECTOR: Selector;
|
62
|
-
export declare const TRANSITION_DURATIONS: TransitionDurations;
|
63
|
-
export declare const DISMISS_REASONS: DismissReasons;
|
@@ -1,90 +0,0 @@
|
|
1
|
-
import { ComponentRef, ElementRef, EventEmitter, OnDestroy, OnInit, Renderer2, ViewContainerRef } from '@angular/core';
|
2
|
-
import { ModalBackdropComponent } from './modal-backdrop.component';
|
3
|
-
import { ModalOptions } from './modal-options.class';
|
4
|
-
import { ComponentLoaderFactory } from 'ngx-bootstrap/component-loader';
|
5
|
-
import { CloseInterceptorFn } from './models';
|
6
|
-
import * as i0 from "@angular/core";
|
7
|
-
/** Mark any code with directive to show it's content in modal */
|
8
|
-
export declare class ModalDirective implements OnDestroy, OnInit {
|
9
|
-
private _element;
|
10
|
-
private _renderer;
|
11
|
-
/** allows to set modal configuration via element property */
|
12
|
-
set config(conf: ModalOptions);
|
13
|
-
get config(): ModalOptions;
|
14
|
-
/** allows to provide a callback to intercept the closure of the modal */
|
15
|
-
closeInterceptor?: CloseInterceptorFn;
|
16
|
-
/** This event fires immediately when the `show` instance method is called. */
|
17
|
-
onShow: EventEmitter<ModalDirective>;
|
18
|
-
/** This event is fired when the modal has been made visible to the user
|
19
|
-
* (will wait for CSS transitions to complete)
|
20
|
-
*/
|
21
|
-
onShown: EventEmitter<ModalDirective>;
|
22
|
-
/** This event is fired immediately when
|
23
|
-
* the hide instance method has been called.
|
24
|
-
*/
|
25
|
-
onHide: EventEmitter<ModalDirective>;
|
26
|
-
/** This event is fired when the modal has finished being
|
27
|
-
* hidden from the user (will wait for CSS transitions to complete).
|
28
|
-
*/
|
29
|
-
onHidden: EventEmitter<ModalDirective>;
|
30
|
-
/** This field contains last dismiss reason.
|
31
|
-
* Possible values: `backdrop-click`, `esc` and `id: number`
|
32
|
-
* (if modal was closed by direct call of `.hide()`).
|
33
|
-
*/
|
34
|
-
dismissReason?: string;
|
35
|
-
get isShown(): boolean;
|
36
|
-
protected _config: ModalOptions;
|
37
|
-
protected _isShown: boolean;
|
38
|
-
protected isBodyOverflowing: boolean;
|
39
|
-
protected originalBodyPadding: number;
|
40
|
-
protected scrollbarWidth: number;
|
41
|
-
protected timerHideModal: number;
|
42
|
-
protected timerRmBackDrop: number;
|
43
|
-
protected backdrop?: ComponentRef<ModalBackdropComponent>;
|
44
|
-
private _backdrop;
|
45
|
-
private isNested;
|
46
|
-
private clickStartedInContent;
|
47
|
-
private _focusEl;
|
48
|
-
constructor(_element: ElementRef, _viewContainerRef: ViewContainerRef, _renderer: Renderer2, clf: ComponentLoaderFactory, modalDefaultOption: ModalOptions);
|
49
|
-
onClickStarted(event: MouseEvent): void;
|
50
|
-
onClickStop(event: MouseEvent): void;
|
51
|
-
onEsc(event: KeyboardEvent): void;
|
52
|
-
ngOnDestroy(): void;
|
53
|
-
ngOnInit(): void;
|
54
|
-
/** Allows to manually toggle modal visibility */
|
55
|
-
toggle(): void;
|
56
|
-
/** Allows to manually open modal */
|
57
|
-
show(): void;
|
58
|
-
/** Check if we can close the modal */
|
59
|
-
hide(event?: Event): void;
|
60
|
-
/** Private methods @internal */
|
61
|
-
/**
|
62
|
-
* Manually close modal
|
63
|
-
* @internal
|
64
|
-
*/
|
65
|
-
protected _hide(): void;
|
66
|
-
protected getConfig(config?: ModalOptions): ModalOptions;
|
67
|
-
/**
|
68
|
-
* Show dialog
|
69
|
-
* @internal
|
70
|
-
*/
|
71
|
-
protected showElement(): void;
|
72
|
-
/** @internal */
|
73
|
-
protected hideModal(): void;
|
74
|
-
/** @internal */
|
75
|
-
protected showBackdrop(callback?: () => void): void;
|
76
|
-
/** @internal */
|
77
|
-
protected removeBackdrop(): void;
|
78
|
-
/** Events tricks */
|
79
|
-
protected focusOtherModal(): void;
|
80
|
-
/** @internal */
|
81
|
-
protected resetAdjustments(): void;
|
82
|
-
/** Scroll bar tricks */
|
83
|
-
/** @internal */
|
84
|
-
protected checkScrollbar(): void;
|
85
|
-
protected setScrollbar(): void;
|
86
|
-
protected resetScrollbar(): void;
|
87
|
-
protected getScrollbarWidth(): number;
|
88
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ModalDirective, [null, null, null, null, { optional: true; }]>;
|
89
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ModalDirective, "[bsModal]", ["bs-modal"], { "config": { "alias": "config"; "required": false; }; "closeInterceptor": { "alias": "closeInterceptor"; "required": false; }; }, { "onShow": "onShow"; "onShown": "onShown"; "onHide": "onHide"; "onHidden": "onHidden"; }, never, never, true, never>;
|
90
|
-
}
|
package/modal/modal.module.d.ts
DELETED
@@ -1,13 +0,0 @@
|
|
1
|
-
import { ModuleWithProviders } from '@angular/core';
|
2
|
-
import * as i0 from "@angular/core";
|
3
|
-
import * as i1 from "ngx-bootstrap/focus-trap";
|
4
|
-
import * as i2 from "./modal-backdrop.component";
|
5
|
-
import * as i3 from "./modal.directive";
|
6
|
-
import * as i4 from "./modal-container.component";
|
7
|
-
export declare class ModalModule {
|
8
|
-
static forRoot(): ModuleWithProviders<ModalModule>;
|
9
|
-
static forChild(): ModuleWithProviders<ModalModule>;
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ModalModule, never>;
|
11
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ModalModule, never, [typeof i1.FocusTrapModule, typeof i2.ModalBackdropComponent, typeof i3.ModalDirective, typeof i4.ModalContainerComponent], [typeof i2.ModalBackdropComponent, typeof i3.ModalDirective]>;
|
12
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<ModalModule>;
|
13
|
-
}
|