ngx-bootstrap 19.0.1 → 20.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/accordion/fesm2022/ngx-bootstrap-accordion.mjs +14 -14
- package/accordion/fesm2022/ngx-bootstrap-accordion.mjs.map +1 -1
- package/accordion/index.d.ts +72 -1
- package/alert/fesm2022/ngx-bootstrap-alert.mjs +11 -11
- package/alert/fesm2022/ngx-bootstrap-alert.mjs.map +1 -1
- package/alert/index.d.ts +53 -1
- package/buttons/fesm2022/ngx-bootstrap-buttons.mjs +14 -14
- package/buttons/fesm2022/ngx-bootstrap-buttons.mjs.map +1 -1
- package/buttons/index.d.ts +117 -1
- package/carousel/fesm2022/ngx-bootstrap-carousel.mjs +14 -14
- package/carousel/fesm2022/ngx-bootstrap-carousel.mjs.map +1 -1
- package/carousel/index.d.ts +238 -1
- package/chronos/fesm2022/ngx-bootstrap-chronos.mjs +1 -1
- package/chronos/fesm2022/ngx-bootstrap-chronos.mjs.map +1 -1
- package/chronos/index.d.ts +315 -1
- package/collapse/fesm2022/ngx-bootstrap-collapse.mjs +8 -8
- package/collapse/fesm2022/ngx-bootstrap-collapse.mjs.map +1 -1
- package/collapse/index.d.ts +55 -1
- package/component-loader/fesm2022/ngx-bootstrap-component-loader.mjs +4 -4
- package/component-loader/fesm2022/ngx-bootstrap-component-loader.mjs.map +1 -1
- package/component-loader/index.d.ts +127 -1
- package/datepicker/fesm2022/ngx-bootstrap-datepicker.mjs +89 -89
- package/datepicker/fesm2022/ngx-bootstrap-datepicker.mjs.map +1 -1
- package/datepicker/index.d.ts +1113 -1
- package/dropdown/fesm2022/ngx-bootstrap-dropdown.mjs +23 -23
- package/dropdown/fesm2022/ngx-bootstrap-dropdown.mjs.map +1 -1
- package/dropdown/index.d.ts +191 -1
- package/fesm2022/ngx-bootstrap.mjs.map +1 -1
- package/focus-trap/fesm2022/ngx-bootstrap-focus-trap.mjs +20 -20
- package/focus-trap/fesm2022/ngx-bootstrap-focus-trap.mjs.map +1 -1
- package/focus-trap/index.d.ts +274 -1
- package/index.d.ts +2 -2
- package/locale/fesm2022/ngx-bootstrap-locale.mjs.map +1 -1
- package/locale/index.d.ts +1 -1
- package/mini-ngrx/fesm2022/ngx-bootstrap-mini-ngrx.mjs.map +1 -1
- package/mini-ngrx/index.d.ts +34 -1
- package/modal/fesm2022/ngx-bootstrap-modal.mjs +23 -23
- package/modal/fesm2022/ngx-bootstrap-modal.mjs.map +1 -1
- package/modal/index.d.ts +277 -1
- package/package.json +8 -8
- package/pagination/fesm2022/ngx-bootstrap-pagination.mjs +14 -14
- package/pagination/fesm2022/ngx-bootstrap-pagination.mjs.map +1 -1
- package/pagination/index.d.ts +234 -1
- package/popover/fesm2022/ngx-bootstrap-popover.mjs +14 -14
- package/popover/fesm2022/ngx-bootstrap-popover.mjs.map +1 -1
- package/popover/index.d.ts +152 -1
- package/positioning/fesm2022/ngx-bootstrap-positioning.mjs +6 -5
- package/positioning/fesm2022/ngx-bootstrap-positioning.mjs.map +1 -1
- package/positioning/index.d.ts +134 -1
- package/progressbar/fesm2022/ngx-bootstrap-progressbar.mjs +14 -14
- package/progressbar/fesm2022/ngx-bootstrap-progressbar.mjs.map +1 -1
- package/progressbar/index.d.ts +72 -1
- package/rating/fesm2022/ngx-bootstrap-rating.mjs +11 -11
- package/rating/fesm2022/ngx-bootstrap-rating.mjs.map +1 -1
- package/rating/index.d.ts +60 -1
- package/schematics/utils/current_dependency_versions.json +1 -1
- package/sortable/fesm2022/ngx-bootstrap-sortable.mjs +11 -11
- package/sortable/fesm2022/ngx-bootstrap-sortable.mjs.map +1 -1
- package/sortable/index.d.ts +92 -1
- package/tabs/fesm2022/ngx-bootstrap-tabs.mjs +55 -22
- package/tabs/fesm2022/ngx-bootstrap-tabs.mjs.map +1 -1
- package/tabs/index.d.ts +122 -1
- package/timepicker/fesm2022/ngx-bootstrap-timepicker.mjs +17 -17
- package/timepicker/fesm2022/ngx-bootstrap-timepicker.mjs.map +1 -1
- package/timepicker/index.d.ts +243 -1
- package/tooltip/fesm2022/ngx-bootstrap-tooltip.mjs +14 -14
- package/tooltip/fesm2022/ngx-bootstrap-tooltip.mjs.map +1 -1
- package/tooltip/index.d.ts +154 -1
- package/typeahead/fesm2022/ngx-bootstrap-typeahead.mjs +15 -15
- package/typeahead/fesm2022/ngx-bootstrap-typeahead.mjs.map +1 -1
- package/typeahead/index.d.ts +341 -1
- package/utils/fesm2022/ngx-bootstrap-utils.mjs.map +1 -1
- package/utils/index.d.ts +116 -1
- package/accordion/accordion-group.component.d.ts +0 -36
- package/accordion/accordion.component.d.ts +0 -17
- package/accordion/accordion.config.d.ts +0 -12
- package/accordion/accordion.module.d.ts +0 -10
- package/accordion/public_api.d.ts +0 -4
- package/alert/alert.component.d.ts +0 -33
- package/alert/alert.config.d.ts +0 -11
- package/alert/alert.module.d.ts +0 -9
- package/alert/public_api.d.ts +0 -3
- package/buttons/button-checkbox.directive.d.ts +0 -31
- package/buttons/button-radio-group.directive.d.ts +0 -35
- package/buttons/button-radio.directive.d.ts +0 -51
- package/buttons/buttons.module.d.ts +0 -11
- package/buttons/public_api.d.ts +0 -4
- package/carousel/carousel.component.d.ts +0 -192
- package/carousel/carousel.config.d.ts +0 -13
- package/carousel/carousel.module.d.ts +0 -10
- package/carousel/models/index.d.ts +0 -9
- package/carousel/public_api.d.ts +0 -4
- package/carousel/slide.component.d.ts +0 -22
- package/carousel/utils.d.ts +0 -11
- package/chronos/create/check-overflow.d.ts +0 -2
- package/chronos/create/clone.d.ts +0 -1
- package/chronos/create/date-from-array.d.ts +0 -2
- package/chronos/create/from-anything.d.ts +0 -4
- package/chronos/create/from-array.d.ts +0 -2
- package/chronos/create/from-object.d.ts +0 -2
- package/chronos/create/from-string-and-array.d.ts +0 -2
- package/chronos/create/from-string-and-format.d.ts +0 -4
- package/chronos/create/from-string.d.ts +0 -4
- package/chronos/create/local.d.ts +0 -3
- package/chronos/create/parsing-flags.d.ts +0 -2
- package/chronos/create/parsing.types.d.ts +0 -64
- package/chronos/create/valid.d.ts +0 -6
- package/chronos/duration/bubble.d.ts +0 -4
- package/chronos/duration/constructor.d.ts +0 -21
- package/chronos/duration/create.d.ts +0 -8
- package/chronos/duration/humanize.d.ts +0 -5
- package/chronos/duration/valid.d.ts +0 -2
- package/chronos/format/format.d.ts +0 -11
- package/chronos/format.d.ts +0 -5
- package/chronos/i18n/ar.d.ts +0 -2
- package/chronos/i18n/bg.d.ts +0 -2
- package/chronos/i18n/ca.d.ts +0 -2
- package/chronos/i18n/cs.d.ts +0 -2
- package/chronos/i18n/da.d.ts +0 -2
- package/chronos/i18n/de.d.ts +0 -2
- package/chronos/i18n/en-gb.d.ts +0 -2
- package/chronos/i18n/es-do.d.ts +0 -2
- package/chronos/i18n/es-pr.d.ts +0 -2
- package/chronos/i18n/es-us.d.ts +0 -2
- package/chronos/i18n/es.d.ts +0 -2
- package/chronos/i18n/et.d.ts +0 -2
- package/chronos/i18n/fa.d.ts +0 -2
- package/chronos/i18n/fi.d.ts +0 -2
- package/chronos/i18n/fr-ca.d.ts +0 -2
- package/chronos/i18n/fr.d.ts +0 -2
- package/chronos/i18n/gl.d.ts +0 -2
- package/chronos/i18n/he.d.ts +0 -2
- package/chronos/i18n/hi.d.ts +0 -2
- package/chronos/i18n/hr.d.ts +0 -2
- package/chronos/i18n/hu.d.ts +0 -2
- package/chronos/i18n/id.d.ts +0 -2
- package/chronos/i18n/it.d.ts +0 -2
- package/chronos/i18n/ja.d.ts +0 -2
- package/chronos/i18n/ka.d.ts +0 -2
- package/chronos/i18n/kk.d.ts +0 -2
- package/chronos/i18n/ko.d.ts +0 -2
- package/chronos/i18n/lt.d.ts +0 -2
- package/chronos/i18n/lv.d.ts +0 -2
- package/chronos/i18n/mn.d.ts +0 -2
- package/chronos/i18n/nb.d.ts +0 -2
- package/chronos/i18n/nl-be.d.ts +0 -2
- package/chronos/i18n/nl.d.ts +0 -2
- package/chronos/i18n/pl.d.ts +0 -2
- package/chronos/i18n/pt-br.d.ts +0 -2
- package/chronos/i18n/ro.d.ts +0 -2
- package/chronos/i18n/ru.d.ts +0 -2
- package/chronos/i18n/sk.d.ts +0 -2
- package/chronos/i18n/sl.d.ts +0 -2
- package/chronos/i18n/sq.d.ts +0 -2
- package/chronos/i18n/sv.d.ts +0 -2
- package/chronos/i18n/th-be.d.ts +0 -2
- package/chronos/i18n/th.d.ts +0 -2
- package/chronos/i18n/tr.d.ts +0 -2
- package/chronos/i18n/uk.d.ts +0 -2
- package/chronos/i18n/vi.d.ts +0 -2
- package/chronos/i18n/zh-cn.d.ts +0 -2
- package/chronos/locale/calendar.d.ts +0 -8
- package/chronos/locale/locale.class.d.ts +0 -143
- package/chronos/locale/locale.defaults.d.ts +0 -11
- package/chronos/locale/locales.d.ts +0 -7
- package/chronos/moment/add-subtract.d.ts +0 -5
- package/chronos/moment/calendar.d.ts +0 -15
- package/chronos/moment/diff.d.ts +0 -3
- package/chronos/moment/min-max.d.ts +0 -2
- package/chronos/parse/regex.d.ts +0 -22
- package/chronos/parse/token.d.ts +0 -5
- package/chronos/public_api.d.ts +0 -60
- package/chronos/testing/chain.d.ts +0 -214
- package/chronos/types.d.ts +0 -36
- package/chronos/units/aliases.d.ts +0 -5
- package/chronos/units/constants.d.ts +0 -9
- package/chronos/units/day-of-month.d.ts +0 -1
- package/chronos/units/day-of-week.d.ts +0 -20
- package/chronos/units/day-of-year.d.ts +0 -3
- package/chronos/units/hour.d.ts +0 -1
- package/chronos/units/index.d.ts +0 -18
- package/chronos/units/millisecond.d.ts +0 -1
- package/chronos/units/minute.d.ts +0 -1
- package/chronos/units/month.d.ts +0 -2
- package/chronos/units/offset.d.ts +0 -10
- package/chronos/units/priorities.d.ts +0 -1
- package/chronos/units/quarter.d.ts +0 -3
- package/chronos/units/second.d.ts +0 -1
- package/chronos/units/timestamp.d.ts +0 -1
- package/chronos/units/timezone.d.ts +0 -3
- package/chronos/units/week-calendar-utils.d.ts +0 -9
- package/chronos/units/week-year.d.ts +0 -8
- package/chronos/units/week.d.ts +0 -6
- package/chronos/units/year.d.ts +0 -4
- package/chronos/utils/abs-ceil.d.ts +0 -1
- package/chronos/utils/abs-round.d.ts +0 -1
- package/chronos/utils/compare-arrays.d.ts +0 -1
- package/chronos/utils/date-compare.d.ts +0 -9
- package/chronos/utils/date-getters.d.ts +0 -18
- package/chronos/utils/date-setters.d.ts +0 -12
- package/chronos/utils/defaults.d.ts +0 -1
- package/chronos/utils/start-end-of.d.ts +0 -3
- package/chronos/utils/type-checks.d.ts +0 -12
- package/chronos/utils/zero-fill.d.ts +0 -1
- package/chronos/utils.d.ts +0 -2
- package/collapse/collapse-animations.d.ts +0 -4
- package/collapse/collapse.directive.d.ts +0 -45
- package/collapse/collapse.module.d.ts +0 -9
- package/collapse/public_api.d.ts +0 -2
- package/component-loader/bs-component-ref.class.d.ts +0 -5
- package/component-loader/component-loader.class.d.ts +0 -76
- package/component-loader/component-loader.factory.d.ts +0 -22
- package/component-loader/content-ref.class.d.ts +0 -11
- package/component-loader/listen-options.model.d.ts +0 -11
- package/component-loader/public_api.d.ts +0 -4
- package/datepicker/base/bs-datepicker-container.d.ts +0 -53
- package/datepicker/bs-datepicker-inline.component.d.ts +0 -66
- package/datepicker/bs-datepicker-inline.config.d.ts +0 -6
- package/datepicker/bs-datepicker-input.directive.d.ts +0 -32
- package/datepicker/bs-datepicker.component.d.ts +0 -135
- package/datepicker/bs-datepicker.config.d.ts +0 -166
- package/datepicker/bs-datepicker.module.d.ts +0 -30
- package/datepicker/bs-daterangepicker-inline.component.d.ts +0 -66
- package/datepicker/bs-daterangepicker-inline.config.d.ts +0 -9
- package/datepicker/bs-daterangepicker-input.directive.d.ts +0 -33
- package/datepicker/bs-daterangepicker.component.d.ts +0 -123
- package/datepicker/bs-daterangepicker.config.d.ts +0 -7
- package/datepicker/bs-locale.service.d.ts +0 -13
- package/datepicker/datepicker-animations.d.ts +0 -3
- package/datepicker/engine/calc-days-calendar.d.ts +0 -2
- package/datepicker/engine/flag-days-calendar.d.ts +0 -17
- package/datepicker/engine/flag-months-calendar.d.ts +0 -14
- package/datepicker/engine/flag-years-calendar.d.ts +0 -14
- package/datepicker/engine/format-days-calendar.d.ts +0 -4
- package/datepicker/engine/format-months-calendar.d.ts +0 -2
- package/datepicker/engine/format-years-calendar.d.ts +0 -4
- package/datepicker/engine/view-mode.d.ts +0 -2
- package/datepicker/models/index.d.ts +0 -102
- package/datepicker/public_api.d.ts +0 -17
- package/datepicker/reducer/_defaults.d.ts +0 -3
- package/datepicker/reducer/bs-datepicker.actions.d.ts +0 -48
- package/datepicker/reducer/bs-datepicker.effects.d.ts +0 -41
- package/datepicker/reducer/bs-datepicker.reducer.d.ts +0 -3
- package/datepicker/reducer/bs-datepicker.state.d.ts +0 -45
- package/datepicker/reducer/bs-datepicker.store.d.ts +0 -8
- package/datepicker/themes/bs/bs-calendar-layout.component.d.ts +0 -5
- package/datepicker/themes/bs/bs-current-date-view.component.d.ts +0 -6
- package/datepicker/themes/bs/bs-custom-dates-view.component.d.ts +0 -16
- package/datepicker/themes/bs/bs-datepicker-container.component.d.ts +0 -41
- package/datepicker/themes/bs/bs-datepicker-day-decorator.directive.d.ts +0 -14
- package/datepicker/themes/bs/bs-datepicker-inline-container.component.d.ts +0 -15
- package/datepicker/themes/bs/bs-datepicker-navigation-view.component.d.ts +0 -13
- package/datepicker/themes/bs/bs-daterangepicker-container.component.d.ts +0 -46
- package/datepicker/themes/bs/bs-daterangepicker-inline-container.component.d.ts +0 -15
- package/datepicker/themes/bs/bs-days-calendar-view.component.d.ts +0 -27
- package/datepicker/themes/bs/bs-months-calendar-view.component.d.ts +0 -16
- package/datepicker/themes/bs/bs-timepicker-view.component.d.ts +0 -8
- package/datepicker/themes/bs/bs-years-calendar-view.component.d.ts +0 -16
- package/datepicker/utils/bs-calendar-utils.d.ts +0 -15
- package/datepicker/utils/copy-time-utils.d.ts +0 -1
- package/datepicker/utils/matrix-utils.d.ts +0 -9
- package/dropdown/bs-dropdown-container.component.d.ts +0 -20
- package/dropdown/bs-dropdown-menu.directive.d.ts +0 -8
- package/dropdown/bs-dropdown-toggle.directive.d.ts +0 -21
- package/dropdown/bs-dropdown.config.d.ts +0 -14
- package/dropdown/bs-dropdown.directive.d.ts +0 -108
- package/dropdown/bs-dropdown.module.d.ts +0 -12
- package/dropdown/bs-dropdown.state.d.ts +0 -23
- package/dropdown/dropdown-animations.d.ts +0 -3
- package/dropdown/public_api.d.ts +0 -7
- package/focus-trap/boolean-property.d.ts +0 -14
- package/focus-trap/focus-trap-manager.d.ts +0 -26
- package/focus-trap/focus-trap.d.ts +0 -162
- package/focus-trap/focus-trap.module.d.ts +0 -10
- package/focus-trap/interactivity-checker.d.ts +0 -60
- package/focus-trap/platform.d.ts +0 -29
- package/focus-trap/public_api.d.ts +0 -3
- package/locale/public_api.d.ts +0 -46
- package/mini-ngrx/public_api.d.ts +0 -7
- package/mini-ngrx/state.class.d.ts +0 -8
- package/mini-ngrx/store.class.d.ts +0 -16
- package/modal/bs-modal-ref.service.d.ts +0 -30
- package/modal/bs-modal.service.d.ts +0 -50
- package/modal/modal-backdrop.component.d.ts +0 -17
- package/modal/modal-backdrop.options.d.ts +0 -4
- package/modal/modal-container.component.d.ts +0 -27
- package/modal/modal-options.class.d.ts +0 -63
- package/modal/modal.directive.d.ts +0 -90
- package/modal/modal.module.d.ts +0 -13
- package/modal/models/index.d.ts +0 -24
- package/modal/public_api.d.ts +0 -9
- package/pagination/models/index.d.ts +0 -53
- package/pagination/pager.component.d.ts +0 -78
- package/pagination/pagination.component.d.ts +0 -91
- package/pagination/pagination.config.d.ts +0 -9
- package/pagination/pagination.module.d.ts +0 -11
- package/pagination/public_api.d.ts +0 -5
- package/popover/popover-container.component.d.ts +0 -16
- package/popover/popover.config.d.ts +0 -30
- package/popover/popover.directive.d.ts +0 -98
- package/popover/popover.module.d.ts +0 -11
- package/popover/public_api.d.ts +0 -4
- package/positioning/models/index.d.ts +0 -96
- package/positioning/modifiers/arrow.d.ts +0 -2
- package/positioning/modifiers/flip.d.ts +0 -2
- package/positioning/modifiers/index.d.ts +0 -5
- package/positioning/modifiers/initData.d.ts +0 -2
- package/positioning/modifiers/preventOverflow.d.ts +0 -2
- package/positioning/modifiers/shift.d.ts +0 -2
- package/positioning/ng-positioning.d.ts +0 -12
- package/positioning/positioning.service.d.ts +0 -48
- package/positioning/public_api.d.ts +0 -4
- package/positioning/utils/checkMargin.d.ts +0 -3
- package/positioning/utils/computeAutoPlacement.d.ts +0 -2
- package/positioning/utils/findCommonOffsetParent.d.ts +0 -1
- package/positioning/utils/getBordersSize.d.ts +0 -4
- package/positioning/utils/getBoundaries.d.ts +0 -5
- package/positioning/utils/getBoundingClientRect.d.ts +0 -2
- package/positioning/utils/getClientRect.d.ts +0 -5
- package/positioning/utils/getFixedPositionOffsetParent.d.ts +0 -4
- package/positioning/utils/getOffsetParent.d.ts +0 -1
- package/positioning/utils/getOffsetRectRelativeToArbitraryNode.d.ts +0 -2
- package/positioning/utils/getOffsets.d.ts +0 -2
- package/positioning/utils/getOppositePlacement.d.ts +0 -4
- package/positioning/utils/getOppositeVariation.d.ts +0 -4
- package/positioning/utils/getOuterSizes.d.ts +0 -5
- package/positioning/utils/getParentNode.d.ts +0 -4
- package/positioning/utils/getReferenceOffsets.d.ts +0 -2
- package/positioning/utils/getRoot.d.ts +0 -4
- package/positioning/utils/getScroll.d.ts +0 -4
- package/positioning/utils/getScrollParent.d.ts +0 -1
- package/positioning/utils/getStyleComputedProperty.d.ts +0 -5
- package/positioning/utils/getTargetOffsets.d.ts +0 -2
- package/positioning/utils/getViewportOffsetRectRelativeToArtbitraryNode.d.ts +0 -2
- package/positioning/utils/getWindowSizes.d.ts +0 -4
- package/positioning/utils/index.d.ts +0 -23
- package/positioning/utils/isFixed.d.ts +0 -1
- package/positioning/utils/isModifierEnabled.d.ts +0 -5
- package/positioning/utils/isNumeric.d.ts +0 -5
- package/positioning/utils/isOffsetContainer.d.ts +0 -1
- package/positioning/utils/setStyles.d.ts +0 -5
- package/positioning/utils/updateContainerClass.d.ts +0 -6
- package/progressbar/bar.component.d.ts +0 -24
- package/progressbar/progressbar-type.interface.d.ts +0 -7
- package/progressbar/progressbar.component.d.ts +0 -23
- package/progressbar/progressbar.config.d.ts +0 -9
- package/progressbar/progressbar.module.d.ts +0 -10
- package/progressbar/public_api.d.ts +0 -5
- package/rating/models/index.d.ts +0 -4
- package/rating/public_api.d.ts +0 -3
- package/rating/rating.component.d.ts +0 -40
- package/rating/rating.config.d.ts +0 -8
- package/rating/rating.module.d.ts +0 -9
- package/sortable/draggable-item.d.ts +0 -8
- package/sortable/draggable-item.service.d.ts +0 -13
- package/sortable/public_api.d.ts +0 -4
- package/sortable/sortable.component.d.ts +0 -62
- package/sortable/sortable.module.d.ts +0 -9
- package/tabs/ng-transclude.directive.d.ts +0 -11
- package/tabs/public_api.d.ts +0 -6
- package/tabs/tab-heading.directive.d.ts +0 -10
- package/tabs/tab.directive.d.ts +0 -39
- package/tabs/tabs.module.d.ts +0 -13
- package/tabs/tabset.component.d.ts +0 -44
- package/tabs/tabset.config.d.ts +0 -11
- package/timepicker/models/index.d.ts +0 -7
- package/timepicker/public_api.d.ts +0 -5
- package/timepicker/reducer/timepicker.actions.d.ts +0 -28
- package/timepicker/reducer/timepicker.reducer.d.ts +0 -9
- package/timepicker/reducer/timepicker.store.d.ts +0 -8
- package/timepicker/timepicker-controls.util.d.ts +0 -7
- package/timepicker/timepicker.component.d.ts +0 -116
- package/timepicker/timepicker.config.d.ts +0 -48
- package/timepicker/timepicker.models.d.ts +0 -35
- package/timepicker/timepicker.module.d.ts +0 -9
- package/timepicker/timepicker.utils.d.ts +0 -19
- package/tooltip/public_api.d.ts +0 -4
- package/tooltip/tooltip-container.component.d.ts +0 -18
- package/tooltip/tooltip.config.d.ts +0 -16
- package/tooltip/tooltip.directive.d.ts +0 -113
- package/tooltip/tooltip.module.d.ts +0 -11
- package/typeahead/latin-map.d.ts +0 -3
- package/typeahead/models/index.d.ts +0 -41
- package/typeahead/public_api.d.ts +0 -10
- package/typeahead/typeahead-animations.d.ts +0 -3
- package/typeahead/typeahead-container.component.d.ts +0 -66
- package/typeahead/typeahead-match.class.d.ts +0 -8
- package/typeahead/typeahead-options.class.d.ts +0 -7
- package/typeahead/typeahead-order.class.d.ts +0 -6
- package/typeahead/typeahead-utils.d.ts +0 -4
- package/typeahead/typeahead.config.d.ts +0 -26
- package/typeahead/typeahead.directive.d.ts +0 -176
- package/typeahead/typeahead.module.d.ts +0 -11
- package/utils/decorators.d.ts +0 -1
- package/utils/facade/browser.d.ts +0 -23
- package/utils/linked-list.class.d.ts +0 -35
- package/utils/public_api.d.ts +0 -9
- package/utils/theme-provider.d.ts +0 -18
- package/utils/trigger.class.d.ts +0 -10
- package/utils/triggers.d.ts +0 -22
- package/utils/utils.class.d.ts +0 -9
- package/utils/warn-once.d.ts +0 -1
package/focus-trap/index.d.ts
CHANGED
@@ -1 +1,274 @@
|
|
1
|
-
|
1
|
+
import * as i0 from '@angular/core';
|
2
|
+
import { OnDestroy, AfterContentInit, OnChanges, DoCheck, NgZone, ElementRef, SimpleChanges, ModuleWithProviders } from '@angular/core';
|
3
|
+
import * as i1 from '@angular/common';
|
4
|
+
|
5
|
+
/**
|
6
|
+
* @license
|
7
|
+
* Copyright Google LLC All Rights Reserved.
|
8
|
+
*
|
9
|
+
* Use of this source code is governed by an MIT-style license that can be
|
10
|
+
* found in the LICENSE file at https://angular.io/license
|
11
|
+
*/
|
12
|
+
/**
|
13
|
+
* Type describing the allowed values for a boolean input.
|
14
|
+
* @docs-private
|
15
|
+
*/
|
16
|
+
type BooleanInput = string | boolean | null | undefined;
|
17
|
+
|
18
|
+
/**
|
19
|
+
* Service to detect the current platform by comparing the userAgent strings and
|
20
|
+
* checking browser-specific global properties.
|
21
|
+
*/
|
22
|
+
declare class Platform {
|
23
|
+
private _platformId;
|
24
|
+
/** Whether the Angular application is being rendered in the browser. */
|
25
|
+
isBrowser: boolean;
|
26
|
+
/** Whether the current browser is Microsoft Edge. */
|
27
|
+
EDGE: boolean;
|
28
|
+
/** Whether the current rendering engine is Microsoft Trident. */
|
29
|
+
TRIDENT: boolean;
|
30
|
+
/** Whether the current rendering engine is Blink. */
|
31
|
+
BLINK: boolean;
|
32
|
+
/** Whether the current rendering engine is WebKit. */
|
33
|
+
WEBKIT: boolean;
|
34
|
+
/** Whether the current platform is Apple iOS. */
|
35
|
+
IOS: boolean;
|
36
|
+
/** Whether the current browser is Firefox. */
|
37
|
+
FIREFOX: boolean;
|
38
|
+
/** Whether the current platform is Android. */
|
39
|
+
ANDROID: boolean;
|
40
|
+
/** Whether the current browser is Safari. */
|
41
|
+
SAFARI: boolean;
|
42
|
+
constructor(_platformId: Object);
|
43
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<Platform, never>;
|
44
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<Platform>;
|
45
|
+
}
|
46
|
+
|
47
|
+
/**
|
48
|
+
* @license
|
49
|
+
* Copyright Google LLC All Rights Reserved.
|
50
|
+
*
|
51
|
+
* Use of this source code is governed by an MIT-style license that can be
|
52
|
+
* found in the LICENSE file at https://angular.io/license
|
53
|
+
*/
|
54
|
+
|
55
|
+
/**
|
56
|
+
* Configuration for the isFocusable method.
|
57
|
+
*/
|
58
|
+
declare class IsFocusableConfig {
|
59
|
+
/**
|
60
|
+
* Whether to count an element as focusable even if it is not currently visible.
|
61
|
+
*/
|
62
|
+
ignoreVisibility: boolean;
|
63
|
+
}
|
64
|
+
/**
|
65
|
+
* Utility for checking the interactivity of an element, such as whether is is focusable or
|
66
|
+
* tabbable.
|
67
|
+
*/
|
68
|
+
declare class InteractivityChecker {
|
69
|
+
private _platform;
|
70
|
+
constructor(_platform: Platform);
|
71
|
+
/**
|
72
|
+
* Gets whether an element is disabled.
|
73
|
+
*
|
74
|
+
* @param element Element to be checked.
|
75
|
+
* @returns Whether the element is disabled.
|
76
|
+
*/
|
77
|
+
isDisabled(element: HTMLElement): boolean;
|
78
|
+
/**
|
79
|
+
* Gets whether an element is visible for the purposes of interactivity.
|
80
|
+
*
|
81
|
+
* This will capture states like `display: none` and `visibility: hidden`, but not things like
|
82
|
+
* being clipped by an `overflow: hidden` parent or being outside the viewport.
|
83
|
+
*
|
84
|
+
* @returns Whether the element is visible.
|
85
|
+
*/
|
86
|
+
isVisible(element: HTMLElement): boolean;
|
87
|
+
/**
|
88
|
+
* Gets whether an element can be reached via Tab key.
|
89
|
+
* Assumes that the element has already been checked with isFocusable.
|
90
|
+
*
|
91
|
+
* @param element Element to be checked.
|
92
|
+
* @returns Whether the element is tabbable.
|
93
|
+
*/
|
94
|
+
isTabbable(element: HTMLElement): boolean;
|
95
|
+
/**
|
96
|
+
* Gets whether an element can be focused by the user.
|
97
|
+
*
|
98
|
+
* @param element Element to be checked.
|
99
|
+
* @param config The config object with options to customize this method's behavior
|
100
|
+
* @returns Whether the element is focusable.
|
101
|
+
*/
|
102
|
+
isFocusable(element: HTMLElement, config?: IsFocusableConfig): boolean;
|
103
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InteractivityChecker, never>;
|
104
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<InteractivityChecker>;
|
105
|
+
}
|
106
|
+
|
107
|
+
/**
|
108
|
+
* @license
|
109
|
+
* Copyright Google LLC All Rights Reserved.
|
110
|
+
*
|
111
|
+
* Use of this source code is governed by an MIT-style license that can be
|
112
|
+
* found in the LICENSE file at https://angular.io/license
|
113
|
+
*/
|
114
|
+
|
115
|
+
/**
|
116
|
+
* Class that allows for trapping focus within a DOM element.
|
117
|
+
*
|
118
|
+
* This class currently uses a relatively simple approach to focus trapping.
|
119
|
+
* It assumes that the tab order is the same as DOM order, which is not necessarily true.
|
120
|
+
* Things like `tabIndex > 0`, flex `order`, and shadow roots can cause the two to misalign.
|
121
|
+
*
|
122
|
+
* @deprecated Use `ConfigurableFocusTrap` instead.
|
123
|
+
* @breaking-change for 11.0.0 Remove this class.
|
124
|
+
*/
|
125
|
+
declare class FocusTrap {
|
126
|
+
readonly _element: HTMLElement;
|
127
|
+
private _checker;
|
128
|
+
readonly _ngZone: NgZone;
|
129
|
+
readonly _document: Document;
|
130
|
+
private _startAnchor?;
|
131
|
+
private _endAnchor?;
|
132
|
+
private _hasAttached;
|
133
|
+
protected startAnchorListener: () => boolean;
|
134
|
+
protected endAnchorListener: () => boolean;
|
135
|
+
/** Whether the focus trap is active. */
|
136
|
+
get enabled(): boolean;
|
137
|
+
set enabled(value: boolean);
|
138
|
+
protected _enabled: boolean;
|
139
|
+
constructor(_element: HTMLElement, _checker: InteractivityChecker, _ngZone: NgZone, _document: Document, deferAnchors?: boolean);
|
140
|
+
/** Destroys the focus trap by cleaning up the anchors. */
|
141
|
+
destroy(): void;
|
142
|
+
/**
|
143
|
+
* Inserts the anchors into the DOM. This is usually done automatically
|
144
|
+
* in the constructor, but can be deferred for cases like directives with `*ngIf`.
|
145
|
+
* @returns Whether the focus trap managed to attach successfuly. This may not be the case
|
146
|
+
* if the target element isn't currently in the DOM.
|
147
|
+
*/
|
148
|
+
attachAnchors(): boolean;
|
149
|
+
/**
|
150
|
+
* Waits for the zone to stabilize, then either focuses the first element that the
|
151
|
+
* user specified, or the first tabbable element.
|
152
|
+
* @returns Returns a promise that resolves with a boolean, depending
|
153
|
+
* on whether focus was moved successfully.
|
154
|
+
*/
|
155
|
+
focusInitialElementWhenReady(): Promise<boolean>;
|
156
|
+
/**
|
157
|
+
* Waits for the zone to stabilize, then focuses
|
158
|
+
* the first tabbable element within the focus trap region.
|
159
|
+
* @returns Returns a promise that resolves with a boolean, depending
|
160
|
+
* on whether focus was moved successfully.
|
161
|
+
*/
|
162
|
+
focusFirstTabbableElementWhenReady(): Promise<boolean>;
|
163
|
+
/**
|
164
|
+
* Waits for the zone to stabilize, then focuses
|
165
|
+
* the last tabbable element within the focus trap region.
|
166
|
+
* @returns Returns a promise that resolves with a boolean, depending
|
167
|
+
* on whether focus was moved successfully.
|
168
|
+
*/
|
169
|
+
focusLastTabbableElementWhenReady(): Promise<boolean>;
|
170
|
+
/**
|
171
|
+
* Get the specified boundary element of the trapped region.
|
172
|
+
* @param bound The boundary to get (start or end of trapped region).
|
173
|
+
* @returns The boundary element.
|
174
|
+
*/
|
175
|
+
private _getRegionBoundary;
|
176
|
+
/**
|
177
|
+
* Focuses the element that should be focused when the focus trap is initialized.
|
178
|
+
* @returns Whether focus was moved successfully.
|
179
|
+
*/
|
180
|
+
focusInitialElement(): boolean;
|
181
|
+
/**
|
182
|
+
* Focuses the first tabbable element within the focus trap region.
|
183
|
+
* @returns Whether focus was moved successfully.
|
184
|
+
*/
|
185
|
+
focusFirstTabbableElement(): boolean;
|
186
|
+
/**
|
187
|
+
* Focuses the last tabbable element within the focus trap region.
|
188
|
+
* @returns Whether focus was moved successfully.
|
189
|
+
*/
|
190
|
+
focusLastTabbableElement(): boolean;
|
191
|
+
/**
|
192
|
+
* Checks whether the focus trap has successfully been attached.
|
193
|
+
*/
|
194
|
+
hasAttached(): boolean;
|
195
|
+
/** Get the first tabbable element from a DOM subtree (inclusive). */
|
196
|
+
private _getFirstTabbableElement;
|
197
|
+
/** Get the last tabbable element from a DOM subtree (inclusive). */
|
198
|
+
private _getLastTabbableElement;
|
199
|
+
/** Creates an anchor element. */
|
200
|
+
private _createAnchor;
|
201
|
+
/**
|
202
|
+
* Toggles the `tabindex` of an anchor, based on the enabled state of the focus trap.
|
203
|
+
* @param isEnabled Whether the focus trap is enabled.
|
204
|
+
* @param anchor Anchor on which to toggle the tabindex.
|
205
|
+
*/
|
206
|
+
private _toggleAnchorTabIndex;
|
207
|
+
/**
|
208
|
+
* Toggles the`tabindex` of both anchors to either trap Tab focus or allow it to escape.
|
209
|
+
* @param enabled: Whether the anchors should trap Tab.
|
210
|
+
*/
|
211
|
+
protected toggleAnchors(enabled: boolean): void;
|
212
|
+
/** Executes a function when the zone is stable. */
|
213
|
+
private _executeOnStable;
|
214
|
+
}
|
215
|
+
/**
|
216
|
+
* Factory that allows easy instantiation of focus traps.
|
217
|
+
* @deprecated Use `ConfigurableFocusTrapFactory` instead.
|
218
|
+
* @breaking-change for 11.0.0 Remove this class.
|
219
|
+
*/
|
220
|
+
declare class FocusTrapFactory {
|
221
|
+
private _checker;
|
222
|
+
private _ngZone;
|
223
|
+
private _document;
|
224
|
+
constructor(_checker: InteractivityChecker, _ngZone: NgZone, _document: any);
|
225
|
+
/**
|
226
|
+
* Creates a focus-trapped region around the given element.
|
227
|
+
* @param element The element around which focus will be trapped.
|
228
|
+
* @param deferCaptureElements Defers the creation of focus-capturing elements to be done
|
229
|
+
* manually by the user.
|
230
|
+
* @returns The created focus trap instance.
|
231
|
+
*/
|
232
|
+
create(element: HTMLElement, deferCaptureElements?: boolean): FocusTrap;
|
233
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FocusTrapFactory, never>;
|
234
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<FocusTrapFactory>;
|
235
|
+
}
|
236
|
+
/** Directive for trapping focus within a region. */
|
237
|
+
declare class FocusTrapDirective implements OnDestroy, AfterContentInit, OnChanges, DoCheck {
|
238
|
+
private _elementRef;
|
239
|
+
private _focusTrapFactory;
|
240
|
+
private _document;
|
241
|
+
/** Underlying FocusTrap instance. */
|
242
|
+
focusTrap: FocusTrap;
|
243
|
+
/** Previously focused element to restore focus to upon destroy when using autoCapture. */
|
244
|
+
private _previouslyFocusedElement;
|
245
|
+
/** Whether the focus trap is active. */
|
246
|
+
get enabled(): boolean;
|
247
|
+
set enabled(value: boolean);
|
248
|
+
/**
|
249
|
+
* Whether the directive should automatically move focus into the trapped region upon
|
250
|
+
* initialization and return focus to the previous activeElement upon destruction.
|
251
|
+
*/
|
252
|
+
get autoCapture(): boolean;
|
253
|
+
set autoCapture(value: boolean);
|
254
|
+
private _autoCapture;
|
255
|
+
constructor(_elementRef: ElementRef<HTMLElement>, _focusTrapFactory: FocusTrapFactory, _document: any);
|
256
|
+
ngOnDestroy(): void;
|
257
|
+
ngAfterContentInit(): void;
|
258
|
+
ngDoCheck(): void;
|
259
|
+
ngOnChanges(changes: SimpleChanges): void;
|
260
|
+
private _captureFocus;
|
261
|
+
static ngAcceptInputType_enabled: BooleanInput;
|
262
|
+
static ngAcceptInputType_autoCapture: BooleanInput;
|
263
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FocusTrapDirective, never>;
|
264
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FocusTrapDirective, "[focusTrap]", ["focusTrap"], { "enabled": { "alias": "cdkTrapFocus"; "required": false; }; "autoCapture": { "alias": "cdkTrapFocusAutoCapture"; "required": false; }; }, {}, never, never, true, never>;
|
265
|
+
}
|
266
|
+
|
267
|
+
declare class FocusTrapModule {
|
268
|
+
static forRoot(): ModuleWithProviders<FocusTrapModule>;
|
269
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FocusTrapModule, never>;
|
270
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FocusTrapModule, never, [typeof i1.CommonModule, typeof FocusTrapDirective], [typeof FocusTrapDirective]>;
|
271
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<FocusTrapModule>;
|
272
|
+
}
|
273
|
+
|
274
|
+
export { FocusTrap, FocusTrapDirective, FocusTrapModule };
|
package/index.d.ts
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
|
2
|
-
export
|
1
|
+
|
2
|
+
export { };
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ngx-bootstrap-locale.mjs","sources":["
|
1
|
+
{"version":3,"file":"ngx-bootstrap-locale.mjs","sources":["../tmp-esm2022/ngx-bootstrap-locale.js"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\nexport * from './index';\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LWJvb3RzdHJhcC1sb2NhbGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvbG9jYWxlL25neC1ib290c3RyYXAtbG9jYWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxTQUFTLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vaW5kZXgnO1xuIl19"],"names":[],"mappings":";;AAAA;AACA;AACA"}
|
package/locale/index.d.ts
CHANGED
@@ -1 +1 @@
|
|
1
|
-
export
|
1
|
+
export { arLocale, bgLocale, caLocale, csLocale, daLocale, deLocale, enGbLocale, esDoLocale, esLocale, esPrLocale, esUsLocale, etLocale, fiLocale, frCaLocale, frLocale, glLocale, heLocale, hiLocale, hrLocale, huLocale, idLocale, itLocale, jaLocale, kaLocale, kkLocale, koLocale, ltLocale, lvLocale, mnLocale, nbLocale, nlBeLocale, nlLocale, plLocale, ptBrLocale, roLocale, ruLocale, skLocale, slLocale, sqLocale, svLocale, thBeLocale, thLocale, trLocale, ukLocale, viLocale, zhCnLocale } from 'ngx-bootstrap/chronos';
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ngx-bootstrap-mini-ngrx.mjs","sources":["
|
1
|
+
{"version":3,"file":"ngx-bootstrap-mini-ngrx.mjs","sources":["../tmp-esm2022/state.class.js","../tmp-esm2022/store.class.js","../tmp-esm2022/ngx-bootstrap-mini-ngrx.js"],"sourcesContent":["import { BehaviorSubject, queueScheduler } from 'rxjs';\nimport { observeOn, scan } from 'rxjs/operators';\nexport class MiniState extends BehaviorSubject {\n constructor(_initialState, actionsDispatcher$, reducer) {\n super(_initialState);\n const actionInQueue$ = actionsDispatcher$.pipe(observeOn(queueScheduler));\n const state$ = actionInQueue$.pipe(scan((state, action) => {\n if (!action) {\n return state;\n }\n return reducer(state, action);\n }, _initialState));\n state$.subscribe((value) => this.next(value));\n }\n}\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJm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BY3Rpb24sIEFjdGlvblJlZHVjZXIgfSBmcm9tICcuL2luZGV4JztcbmltcG9ydCB7IEJlaGF2aW9yU3ViamVjdCwgT2JzZXJ2YWJsZSwgcXVldWVTY2hlZHVsZXIgfSBmcm9tICdyeGpzJztcbmltcG9ydCB7IG9ic2VydmVPbiwgc2NhbiB9IGZyb20gJ3J4anMvb3BlcmF0b3JzJztcblxuXG5leHBvcnQgY2xhc3MgTWluaVN0YXRlPFQ+IGV4dGVuZHMgQmVoYXZpb3JTdWJqZWN0PFQ+IHtcbiAgY29uc3RydWN0b3IoXG4gICAgX2luaXRpYWxTdGF0ZTogVCxcbiAgICBhY3Rpb25zRGlzcGF0Y2hlciQ6IE9ic2VydmFibGU8QWN0aW9uPixcbiAgICByZWR1Y2VyOiBBY3Rpb25SZWR1Y2VyPFQ+XG4gICkge1xuICAgIHN1cGVyKF9pbml0aWFsU3RhdGUpO1xuXG4gICAgY29uc3QgYWN0aW9uSW5RdWV1ZSQgPSBhY3Rpb25zRGlzcGF0Y2hlciQucGlwZShcbiAgICAgIG9ic2VydmVPbihxdWV1ZVNjaGVkdWxlcilcbiAgICApO1xuICAgIGNvbnN0IHN0YXRlJCA9IGFjdGlvbkluUXVldWUkLnBpcGUoXG4gICAgICBzY2FuKChzdGF0ZTogVCwgYWN0aW9uOiBBY3Rpb24pID0+IHtcbiAgICAgICAgaWYgKCFhY3Rpb24pIHtcbiAgICAgICAgICByZXR1cm4gc3RhdGU7XG4gICAgICAgIH1cblxuICAgICAgICByZXR1cm4gcmVkdWNlcihzdGF0ZSwgYWN0aW9uKTtcbiAgICAgIH0sXG4gICAgICBfaW5pdGlhbFN0YXRlXG4gICAgKSk7XG5cbiAgICBzdGF0ZSQuc3Vic2NyaWJlKCh2YWx1ZTogVCkgPT4gdGhpcy5uZXh0KHZhbHVlKSk7XG4gIH1cbn1cbiJdfQ==","/**\n * @copyright ngrx\n */\nimport { Observable } from 'rxjs';\nimport { distinctUntilChanged, map } from 'rxjs/operators';\nexport class MiniStore extends Observable {\n constructor(_dispatcher, \n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n _reducer, \n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n state$) {\n super();\n this._dispatcher = _dispatcher;\n this._reducer = _reducer;\n this.source = state$;\n }\n select(pathOrMapFn) {\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n const mapped$ = this.source?.pipe(map(pathOrMapFn)) || new Observable().pipe(map(pathOrMapFn));\n return mapped$.pipe(distinctUntilChanged());\n }\n lift(operator) {\n const store = new MiniStore(this._dispatcher, this._reducer, this);\n store.operator = operator;\n return store;\n }\n dispatch(action) {\n this._dispatcher.next(action);\n }\n next(action) {\n this._dispatcher.next(action);\n }\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n error(err) {\n this._dispatcher.error(err);\n }\n complete() {\n /*noop*/\n }\n}\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3RvcmUuY2xhc3MuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvbWluaS1uZ3J4L3N0b3JlLmNsYXNzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBQ0gsT0FBTyxFQUFFLFVBQVUsRUFBc0IsTUFBTSxNQUFNLENBQUM7QUFDdEQsT0FBTyxFQUFFLG9CQUFvQixFQUFFLEdBQUcsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBRzNELE1BQU0sT0FBTyxTQUFhLFNBQVEsVUFBYTtJQUM3QyxZQUNVLFdBQTZCO0lBQ3JDLDhEQUE4RDtJQUN0RCxRQUE0QjtJQUNwQyw4REFBOEQ7SUFDOUQsTUFBdUI7UUFFdkIsS0FBSyxFQUFFLENBQUM7UUFOQSxnQkFBVyxHQUFYLFdBQVcsQ0FBa0I7UUFFN0IsYUFBUSxHQUFSLFFBQVEsQ0FBb0I7UUFNaEMs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ucGlwZShtYXAocGF0aE9yTWFwRm4pKSB8fCBuZXcgT2JzZXJ2YWJsZSgpLnBpcGUobWFwKHBhdGhPck1hcEZuKSk7XG4gICAgcmV0dXJuIG1hcHBlZCQucGlwZShkaXN0aW5jdFVudGlsQ2hhbmdlZCgpKTtcbiAgfVxuXG4gIG92ZXJyaWRlIGxpZnQ8Uj4ob3BlcmF0b3I6IE9wZXJhdG9yPFQsIFI+KTogTWluaVN0b3JlPFI+IHtcbiAgICBjb25zdCBzdG9yZSA9IG5ldyBNaW5pU3RvcmU8Uj4odGhpcy5fZGlzcGF0Y2hlciwgdGhpcy5fcmVkdWNlciwgdGhpcyk7XG4gICAgICAgIHN0b3JlLm9wZXJhdG9yID0gb3BlcmF0b3I7XG5cbiAgICByZXR1cm4gc3RvcmU7XG4gIH1cblxuICBkaXNwYXRjaChhY3Rpb246IEFjdGlvbikge1xuICAgIHRoaXMuX2Rpc3BhdGNoZXIubmV4dChhY3Rpb24pO1xuICB9XG5cbiAgbmV4dChhY3Rpb246IEFjdGlvbikge1xuICAgIHRoaXMuX2Rpc3BhdGNoZXIubmV4dChhY3Rpb24pO1xuICB9XG5cbiAgLy8gZXNsaW50LWRpc2FibGUtbmV4dC1saW5lIEB0eXBlc2NyaXB0LWVzbGludC9uby1leHBsaWNpdC1hbnlcbiAgZXJyb3IoZXJyOiBhbnkpIHtcbiAgICB0aGlzLl9kaXNwYXRjaGVyLmVycm9yKGVycik7XG4gIH1cblxuICBjb21wbGV0ZSgpIHtcbiAgICAvKm5vb3AqL1xuICB9XG59XG4iXX0=","/**\n * Generated bundle index. Do not edit.\n */\nexport * from './index';\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LWJvb3RzdHJhcC1taW5pLW5ncnguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvbWluaS1uZ3J4L25neC1ib290c3RyYXAtbWluaS1uZ3J4LnRzIl0s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AC,MAAM,EAAE,IAAI,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC,IAAI,IAAI,UAAU,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC;AACtG,QAAQ,OAAO,OAAO,CAAC,IAAI,CAAC,oBAAoB,EAAE,CAAC;AACnD;AACA,IAAI,IAAI,CAAC,QAAQ,EAAE;AACnB,QAAQ,MAAM,KAAK,GAAG,IAAI,SAAS,CAAC,IAAI,CAAC,WAAW,EAAE,IAAI,CAAC,QAAQ,EAAE,IAAI,CAAC;AAC1E,QAAQ,KAAK,CAAC,QAAQ,GAAG,QAAQ;AACjC,QAAQ,OAAO,KAAK;AACpB;AACA,IAAI,QAAQ,CAAC,MAAM,EAAE;AACrB,QAAQ,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,MAAM,CAAC;AACrC;AACA,IAAI,IAAI,CAAC,MAAM,EAAE;AACjB,QAAQ,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,MAAM,CAAC;AACrC;AACA;AACA,IAAI,KAAK,CAAC,GAAG,EAAE;AACf,QAAQ,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,GAAG,CAAC;AACnC;AACA,IAAI,QAAQ,GAAG;AACf;AACA;AACA;;ACxCA;AACA;AACA;;;;"}
|
package/mini-ngrx/index.d.ts
CHANGED
@@ -1 +1,34 @@
|
|
1
|
-
|
1
|
+
import { BehaviorSubject, Observable, Observer, Operator } from 'rxjs';
|
2
|
+
|
3
|
+
/**
|
4
|
+
* @copyright ngrx
|
5
|
+
*/
|
6
|
+
|
7
|
+
declare class MiniState<T> extends BehaviorSubject<T> {
|
8
|
+
constructor(_initialState: T, actionsDispatcher$: Observable<Action>, reducer: ActionReducer<T>);
|
9
|
+
}
|
10
|
+
|
11
|
+
/**
|
12
|
+
* @copyright ngrx
|
13
|
+
*/
|
14
|
+
|
15
|
+
declare class MiniStore<T> extends Observable<T> implements Observer<Action> {
|
16
|
+
private _dispatcher;
|
17
|
+
private _reducer;
|
18
|
+
constructor(_dispatcher: Observer<Action>, _reducer: ActionReducer<any>, state$: Observable<any>);
|
19
|
+
select<R>(pathOrMapFn: (state: T) => R): Observable<R>;
|
20
|
+
lift<R>(operator: Operator<T, R>): MiniStore<R>;
|
21
|
+
dispatch(action: Action): void;
|
22
|
+
next(action: Action): void;
|
23
|
+
error(err: any): void;
|
24
|
+
complete(): void;
|
25
|
+
}
|
26
|
+
|
27
|
+
interface Action {
|
28
|
+
type: string;
|
29
|
+
payload?: any;
|
30
|
+
}
|
31
|
+
type ActionReducer<T> = (state: T, action: Action) => T;
|
32
|
+
|
33
|
+
export { MiniState, MiniStore };
|
34
|
+
export type { Action, ActionReducer };
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import * as i0 from '@angular/core';
|
2
|
-
import { Injectable, InjectionToken, Component, EventEmitter, Optional, Inject, HostListener,
|
2
|
+
import { Injectable, InjectionToken, Component, EventEmitter, Optional, Inject, HostListener, Output, Input, Directive, NgModule } from '@angular/core';
|
3
3
|
import * as i1 from 'ngx-bootstrap/component-loader';
|
4
4
|
import { ComponentLoaderFactory } from 'ngx-bootstrap/component-loader';
|
5
5
|
import { Utils, document, window as window$1 } from 'ngx-bootstrap/utils';
|
@@ -18,10 +18,10 @@ class BsModalRef {
|
|
18
18
|
*/
|
19
19
|
this.setClass = () => void 0;
|
20
20
|
}
|
21
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
22
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
21
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.2", ngImport: i0, type: BsModalRef, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
22
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.2", ngImport: i0, type: BsModalRef, providedIn: 'platform' }); }
|
23
23
|
}
|
24
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
24
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.2", ngImport: i0, type: BsModalRef, decorators: [{
|
25
25
|
type: Injectable,
|
26
26
|
args: [{ providedIn: 'platform' }]
|
27
27
|
}] });
|
@@ -34,10 +34,10 @@ class ModalBackdropOptions {
|
|
34
34
|
}
|
35
35
|
|
36
36
|
class ModalOptions {
|
37
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
38
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
37
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.2", ngImport: i0, type: ModalOptions, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
38
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.2", ngImport: i0, type: ModalOptions, providedIn: 'platform' }); }
|
39
39
|
}
|
40
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
40
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.2", ngImport: i0, type: ModalOptions, decorators: [{
|
41
41
|
type: Injectable,
|
42
42
|
args: [{ providedIn: 'platform' }]
|
43
43
|
}] });
|
@@ -110,10 +110,10 @@ class ModalBackdropComponent {
|
|
110
110
|
}
|
111
111
|
this.isShown = true;
|
112
112
|
}
|
113
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
114
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
113
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.2", ngImport: i0, type: ModalBackdropComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component }); }
|
114
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.2", type: ModalBackdropComponent, isStandalone: true, selector: "bs-modal-backdrop", host: { classAttribute: "modal-backdrop" }, ngImport: i0, template: ' ', isInline: true }); }
|
115
115
|
}
|
116
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
116
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.2", ngImport: i0, type: ModalBackdropComponent, decorators: [{
|
117
117
|
type: Component,
|
118
118
|
args: [{
|
119
119
|
selector: 'bs-modal-backdrop',
|
@@ -331,10 +331,10 @@ class BsModalService {
|
|
331
331
|
to.emit(this.lastDismissReason || data);
|
332
332
|
});
|
333
333
|
}
|
334
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
335
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
334
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.2", ngImport: i0, type: BsModalService, deps: [{ token: i0.RendererFactory2 }, { token: i1.ComponentLoaderFactory }, { token: MODAL_CONFIG_DEFAULT_OVERRIDE, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
335
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.2", ngImport: i0, type: BsModalService, providedIn: 'platform' }); }
|
336
336
|
}
|
337
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
337
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.2", ngImport: i0, type: BsModalService, decorators: [{
|
338
338
|
type: Injectable,
|
339
339
|
args: [{ providedIn: 'platform' }]
|
340
340
|
}], ctorParameters: () => [{ type: i0.RendererFactory2 }, { type: i1.ComponentLoaderFactory }, { type: ModalOptions, decorators: [{
|
@@ -442,8 +442,8 @@ class ModalContainerComponent {
|
|
442
442
|
}
|
443
443
|
}, this.isAnimated ? TRANSITION_DURATIONS.MODAL : 0);
|
444
444
|
}
|
445
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
446
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
445
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.2", ngImport: i0, type: ModalContainerComponent, deps: [{ token: ModalOptions }, { token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component }); }
|
446
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.2", type: ModalContainerComponent, isStandalone: true, selector: "modal-container", host: { attributes: { "role": "dialog", "tabindex": "-1" }, listeners: { "mousedown": "onClickStarted($event)", "click": "onClickStop($event)", "window:popstate": "onPopState()", "window:keydown.esc": "onEsc($event)" }, properties: { "attr.aria-modal": "true", "attr.aria-labelledby": "config.ariaLabelledBy", "attr.aria-describedby": "config.ariaDescribedby" }, classAttribute: "modal" }, providers: [BsModalService], ngImport: i0, template: `
|
447
447
|
<div [class]="'modal-dialog' + (config.class ? ' ' + config.class : '')"
|
448
448
|
role="document"
|
449
449
|
focusTrap>
|
@@ -453,7 +453,7 @@ class ModalContainerComponent {
|
|
453
453
|
</div>
|
454
454
|
`, isInline: true, dependencies: [{ kind: "directive", type: FocusTrapDirective, selector: "[focusTrap]", inputs: ["cdkTrapFocus", "cdkTrapFocusAutoCapture"], exportAs: ["focusTrap"] }] }); }
|
455
455
|
}
|
456
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
456
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.2", ngImport: i0, type: ModalContainerComponent, decorators: [{
|
457
457
|
type: Component,
|
458
458
|
args: [{
|
459
459
|
selector: 'modal-container',
|
@@ -811,10 +811,10 @@ class ModalDirective {
|
|
811
811
|
this._renderer.removeChild(document.body, scrollDiv);
|
812
812
|
return scrollbarWidth;
|
813
813
|
}
|
814
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
815
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
814
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.2", ngImport: i0, type: ModalDirective, deps: [{ token: i0.ElementRef }, { token: i0.ViewContainerRef }, { token: i0.Renderer2 }, { token: i1.ComponentLoaderFactory }, { token: MODAL_CONFIG_DEFAULT_OVERRIDE, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
|
815
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.2", type: ModalDirective, isStandalone: true, selector: "[bsModal]", inputs: { config: "config", closeInterceptor: "closeInterceptor" }, outputs: { onShow: "onShow", onShown: "onShown", onHide: "onHide", onHidden: "onHidden" }, host: { listeners: { "mousedown": "onClickStarted($event)", "mouseup": "onClickStop($event)", "keydown.esc": "onEsc($event)" } }, exportAs: ["bs-modal"], ngImport: i0 }); }
|
816
816
|
}
|
817
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
817
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.2", ngImport: i0, type: ModalDirective, decorators: [{
|
818
818
|
type: Directive,
|
819
819
|
args: [{
|
820
820
|
selector: '[bsModal]',
|
@@ -864,14 +864,14 @@ class ModalModule {
|
|
864
864
|
providers: [BsModalService, ComponentLoaderFactory, PositioningService]
|
865
865
|
};
|
866
866
|
}
|
867
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
868
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
867
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.2", ngImport: i0, type: ModalModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
868
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.2", ngImport: i0, type: ModalModule, imports: [FocusTrapModule,
|
869
869
|
ModalBackdropComponent,
|
870
870
|
ModalDirective,
|
871
871
|
ModalContainerComponent], exports: [ModalBackdropComponent, ModalDirective] }); }
|
872
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
872
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.2", ngImport: i0, type: ModalModule, imports: [FocusTrapModule] }); }
|
873
873
|
}
|
874
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
874
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.2", ngImport: i0, type: ModalModule, decorators: [{
|
875
875
|
type: NgModule,
|
876
876
|
args: [{
|
877
877
|
imports: [
|