ngx-bootstrap 19.0.2 → 20.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/accordion/fesm2022/ngx-bootstrap-accordion.mjs +14 -14
- package/accordion/fesm2022/ngx-bootstrap-accordion.mjs.map +1 -1
- package/accordion/index.d.ts +72 -1
- package/alert/fesm2022/ngx-bootstrap-alert.mjs +11 -11
- package/alert/fesm2022/ngx-bootstrap-alert.mjs.map +1 -1
- package/alert/index.d.ts +53 -1
- package/buttons/fesm2022/ngx-bootstrap-buttons.mjs +14 -14
- package/buttons/fesm2022/ngx-bootstrap-buttons.mjs.map +1 -1
- package/buttons/index.d.ts +117 -1
- package/carousel/fesm2022/ngx-bootstrap-carousel.mjs +14 -14
- package/carousel/fesm2022/ngx-bootstrap-carousel.mjs.map +1 -1
- package/carousel/index.d.ts +238 -1
- package/chronos/fesm2022/ngx-bootstrap-chronos.mjs +1 -1
- package/chronos/fesm2022/ngx-bootstrap-chronos.mjs.map +1 -1
- package/chronos/index.d.ts +315 -1
- package/collapse/fesm2022/ngx-bootstrap-collapse.mjs +8 -8
- package/collapse/fesm2022/ngx-bootstrap-collapse.mjs.map +1 -1
- package/collapse/index.d.ts +55 -1
- package/component-loader/fesm2022/ngx-bootstrap-component-loader.mjs +4 -4
- package/component-loader/fesm2022/ngx-bootstrap-component-loader.mjs.map +1 -1
- package/component-loader/index.d.ts +127 -1
- package/datepicker/fesm2022/ngx-bootstrap-datepicker.mjs +88 -88
- package/datepicker/fesm2022/ngx-bootstrap-datepicker.mjs.map +1 -1
- package/datepicker/index.d.ts +1113 -1
- package/dropdown/fesm2022/ngx-bootstrap-dropdown.mjs +23 -23
- package/dropdown/fesm2022/ngx-bootstrap-dropdown.mjs.map +1 -1
- package/dropdown/index.d.ts +191 -1
- package/fesm2022/ngx-bootstrap.mjs.map +1 -1
- package/focus-trap/fesm2022/ngx-bootstrap-focus-trap.mjs +20 -20
- package/focus-trap/fesm2022/ngx-bootstrap-focus-trap.mjs.map +1 -1
- package/focus-trap/index.d.ts +274 -1
- package/index.d.ts +2 -2
- package/locale/fesm2022/ngx-bootstrap-locale.mjs.map +1 -1
- package/locale/index.d.ts +1 -1
- package/mini-ngrx/fesm2022/ngx-bootstrap-mini-ngrx.mjs.map +1 -1
- package/mini-ngrx/index.d.ts +34 -1
- package/modal/fesm2022/ngx-bootstrap-modal.mjs +23 -23
- package/modal/fesm2022/ngx-bootstrap-modal.mjs.map +1 -1
- package/modal/index.d.ts +277 -1
- package/package.json +8 -8
- package/pagination/fesm2022/ngx-bootstrap-pagination.mjs +14 -14
- package/pagination/fesm2022/ngx-bootstrap-pagination.mjs.map +1 -1
- package/pagination/index.d.ts +234 -1
- package/popover/fesm2022/ngx-bootstrap-popover.mjs +14 -14
- package/popover/fesm2022/ngx-bootstrap-popover.mjs.map +1 -1
- package/popover/index.d.ts +152 -1
- package/positioning/fesm2022/ngx-bootstrap-positioning.mjs +6 -5
- package/positioning/fesm2022/ngx-bootstrap-positioning.mjs.map +1 -1
- package/positioning/index.d.ts +134 -1
- package/progressbar/fesm2022/ngx-bootstrap-progressbar.mjs +14 -14
- package/progressbar/fesm2022/ngx-bootstrap-progressbar.mjs.map +1 -1
- package/progressbar/index.d.ts +72 -1
- package/rating/fesm2022/ngx-bootstrap-rating.mjs +11 -11
- package/rating/fesm2022/ngx-bootstrap-rating.mjs.map +1 -1
- package/rating/index.d.ts +60 -1
- package/schematics/utils/current_dependency_versions.json +1 -1
- package/sortable/fesm2022/ngx-bootstrap-sortable.mjs +11 -11
- package/sortable/fesm2022/ngx-bootstrap-sortable.mjs.map +1 -1
- package/sortable/index.d.ts +92 -1
- package/tabs/fesm2022/ngx-bootstrap-tabs.mjs +55 -22
- package/tabs/fesm2022/ngx-bootstrap-tabs.mjs.map +1 -1
- package/tabs/index.d.ts +122 -1
- package/timepicker/fesm2022/ngx-bootstrap-timepicker.mjs +17 -17
- package/timepicker/fesm2022/ngx-bootstrap-timepicker.mjs.map +1 -1
- package/timepicker/index.d.ts +243 -1
- package/tooltip/fesm2022/ngx-bootstrap-tooltip.mjs +14 -14
- package/tooltip/fesm2022/ngx-bootstrap-tooltip.mjs.map +1 -1
- package/tooltip/index.d.ts +154 -1
- package/typeahead/fesm2022/ngx-bootstrap-typeahead.mjs +15 -15
- package/typeahead/fesm2022/ngx-bootstrap-typeahead.mjs.map +1 -1
- package/typeahead/index.d.ts +341 -1
- package/utils/fesm2022/ngx-bootstrap-utils.mjs.map +1 -1
- package/utils/index.d.ts +116 -1
- package/accordion/accordion-group.component.d.ts +0 -36
- package/accordion/accordion.component.d.ts +0 -17
- package/accordion/accordion.config.d.ts +0 -12
- package/accordion/accordion.module.d.ts +0 -10
- package/accordion/public_api.d.ts +0 -4
- package/alert/alert.component.d.ts +0 -33
- package/alert/alert.config.d.ts +0 -11
- package/alert/alert.module.d.ts +0 -9
- package/alert/public_api.d.ts +0 -3
- package/buttons/button-checkbox.directive.d.ts +0 -31
- package/buttons/button-radio-group.directive.d.ts +0 -35
- package/buttons/button-radio.directive.d.ts +0 -51
- package/buttons/buttons.module.d.ts +0 -11
- package/buttons/public_api.d.ts +0 -4
- package/carousel/carousel.component.d.ts +0 -192
- package/carousel/carousel.config.d.ts +0 -13
- package/carousel/carousel.module.d.ts +0 -10
- package/carousel/models/index.d.ts +0 -9
- package/carousel/public_api.d.ts +0 -4
- package/carousel/slide.component.d.ts +0 -22
- package/carousel/utils.d.ts +0 -11
- package/chronos/create/check-overflow.d.ts +0 -2
- package/chronos/create/clone.d.ts +0 -1
- package/chronos/create/date-from-array.d.ts +0 -2
- package/chronos/create/from-anything.d.ts +0 -4
- package/chronos/create/from-array.d.ts +0 -2
- package/chronos/create/from-object.d.ts +0 -2
- package/chronos/create/from-string-and-array.d.ts +0 -2
- package/chronos/create/from-string-and-format.d.ts +0 -4
- package/chronos/create/from-string.d.ts +0 -4
- package/chronos/create/local.d.ts +0 -3
- package/chronos/create/parsing-flags.d.ts +0 -2
- package/chronos/create/parsing.types.d.ts +0 -64
- package/chronos/create/valid.d.ts +0 -6
- package/chronos/duration/bubble.d.ts +0 -4
- package/chronos/duration/constructor.d.ts +0 -21
- package/chronos/duration/create.d.ts +0 -8
- package/chronos/duration/humanize.d.ts +0 -5
- package/chronos/duration/valid.d.ts +0 -2
- package/chronos/format/format.d.ts +0 -11
- package/chronos/format.d.ts +0 -5
- package/chronos/i18n/ar.d.ts +0 -2
- package/chronos/i18n/bg.d.ts +0 -2
- package/chronos/i18n/ca.d.ts +0 -2
- package/chronos/i18n/cs.d.ts +0 -2
- package/chronos/i18n/da.d.ts +0 -2
- package/chronos/i18n/de.d.ts +0 -2
- package/chronos/i18n/en-gb.d.ts +0 -2
- package/chronos/i18n/es-do.d.ts +0 -2
- package/chronos/i18n/es-pr.d.ts +0 -2
- package/chronos/i18n/es-us.d.ts +0 -2
- package/chronos/i18n/es.d.ts +0 -2
- package/chronos/i18n/et.d.ts +0 -2
- package/chronos/i18n/fa.d.ts +0 -2
- package/chronos/i18n/fi.d.ts +0 -2
- package/chronos/i18n/fr-ca.d.ts +0 -2
- package/chronos/i18n/fr.d.ts +0 -2
- package/chronos/i18n/gl.d.ts +0 -2
- package/chronos/i18n/he.d.ts +0 -2
- package/chronos/i18n/hi.d.ts +0 -2
- package/chronos/i18n/hr.d.ts +0 -2
- package/chronos/i18n/hu.d.ts +0 -2
- package/chronos/i18n/id.d.ts +0 -2
- package/chronos/i18n/it.d.ts +0 -2
- package/chronos/i18n/ja.d.ts +0 -2
- package/chronos/i18n/ka.d.ts +0 -2
- package/chronos/i18n/kk.d.ts +0 -2
- package/chronos/i18n/ko.d.ts +0 -2
- package/chronos/i18n/lt.d.ts +0 -2
- package/chronos/i18n/lv.d.ts +0 -2
- package/chronos/i18n/mn.d.ts +0 -2
- package/chronos/i18n/nb.d.ts +0 -2
- package/chronos/i18n/nl-be.d.ts +0 -2
- package/chronos/i18n/nl.d.ts +0 -2
- package/chronos/i18n/pl.d.ts +0 -2
- package/chronos/i18n/pt-br.d.ts +0 -2
- package/chronos/i18n/ro.d.ts +0 -2
- package/chronos/i18n/ru.d.ts +0 -2
- package/chronos/i18n/sk.d.ts +0 -2
- package/chronos/i18n/sl.d.ts +0 -2
- package/chronos/i18n/sq.d.ts +0 -2
- package/chronos/i18n/sv.d.ts +0 -2
- package/chronos/i18n/th-be.d.ts +0 -2
- package/chronos/i18n/th.d.ts +0 -2
- package/chronos/i18n/tr.d.ts +0 -2
- package/chronos/i18n/uk.d.ts +0 -2
- package/chronos/i18n/vi.d.ts +0 -2
- package/chronos/i18n/zh-cn.d.ts +0 -2
- package/chronos/locale/calendar.d.ts +0 -8
- package/chronos/locale/locale.class.d.ts +0 -143
- package/chronos/locale/locale.defaults.d.ts +0 -11
- package/chronos/locale/locales.d.ts +0 -7
- package/chronos/moment/add-subtract.d.ts +0 -5
- package/chronos/moment/calendar.d.ts +0 -15
- package/chronos/moment/diff.d.ts +0 -3
- package/chronos/moment/min-max.d.ts +0 -2
- package/chronos/parse/regex.d.ts +0 -22
- package/chronos/parse/token.d.ts +0 -5
- package/chronos/public_api.d.ts +0 -60
- package/chronos/testing/chain.d.ts +0 -214
- package/chronos/types.d.ts +0 -36
- package/chronos/units/aliases.d.ts +0 -5
- package/chronos/units/constants.d.ts +0 -9
- package/chronos/units/day-of-month.d.ts +0 -1
- package/chronos/units/day-of-week.d.ts +0 -20
- package/chronos/units/day-of-year.d.ts +0 -3
- package/chronos/units/hour.d.ts +0 -1
- package/chronos/units/index.d.ts +0 -18
- package/chronos/units/millisecond.d.ts +0 -1
- package/chronos/units/minute.d.ts +0 -1
- package/chronos/units/month.d.ts +0 -2
- package/chronos/units/offset.d.ts +0 -10
- package/chronos/units/priorities.d.ts +0 -1
- package/chronos/units/quarter.d.ts +0 -3
- package/chronos/units/second.d.ts +0 -1
- package/chronos/units/timestamp.d.ts +0 -1
- package/chronos/units/timezone.d.ts +0 -3
- package/chronos/units/week-calendar-utils.d.ts +0 -9
- package/chronos/units/week-year.d.ts +0 -8
- package/chronos/units/week.d.ts +0 -6
- package/chronos/units/year.d.ts +0 -4
- package/chronos/utils/abs-ceil.d.ts +0 -1
- package/chronos/utils/abs-round.d.ts +0 -1
- package/chronos/utils/compare-arrays.d.ts +0 -1
- package/chronos/utils/date-compare.d.ts +0 -9
- package/chronos/utils/date-getters.d.ts +0 -18
- package/chronos/utils/date-setters.d.ts +0 -12
- package/chronos/utils/defaults.d.ts +0 -1
- package/chronos/utils/start-end-of.d.ts +0 -3
- package/chronos/utils/type-checks.d.ts +0 -12
- package/chronos/utils/zero-fill.d.ts +0 -1
- package/chronos/utils.d.ts +0 -2
- package/collapse/collapse-animations.d.ts +0 -4
- package/collapse/collapse.directive.d.ts +0 -45
- package/collapse/collapse.module.d.ts +0 -9
- package/collapse/public_api.d.ts +0 -2
- package/component-loader/bs-component-ref.class.d.ts +0 -5
- package/component-loader/component-loader.class.d.ts +0 -76
- package/component-loader/component-loader.factory.d.ts +0 -22
- package/component-loader/content-ref.class.d.ts +0 -11
- package/component-loader/listen-options.model.d.ts +0 -11
- package/component-loader/public_api.d.ts +0 -4
- package/datepicker/base/bs-datepicker-container.d.ts +0 -53
- package/datepicker/bs-datepicker-inline.component.d.ts +0 -66
- package/datepicker/bs-datepicker-inline.config.d.ts +0 -6
- package/datepicker/bs-datepicker-input.directive.d.ts +0 -32
- package/datepicker/bs-datepicker.component.d.ts +0 -135
- package/datepicker/bs-datepicker.config.d.ts +0 -166
- package/datepicker/bs-datepicker.module.d.ts +0 -30
- package/datepicker/bs-daterangepicker-inline.component.d.ts +0 -66
- package/datepicker/bs-daterangepicker-inline.config.d.ts +0 -9
- package/datepicker/bs-daterangepicker-input.directive.d.ts +0 -33
- package/datepicker/bs-daterangepicker.component.d.ts +0 -123
- package/datepicker/bs-daterangepicker.config.d.ts +0 -7
- package/datepicker/bs-locale.service.d.ts +0 -13
- package/datepicker/datepicker-animations.d.ts +0 -3
- package/datepicker/engine/calc-days-calendar.d.ts +0 -2
- package/datepicker/engine/flag-days-calendar.d.ts +0 -17
- package/datepicker/engine/flag-months-calendar.d.ts +0 -14
- package/datepicker/engine/flag-years-calendar.d.ts +0 -14
- package/datepicker/engine/format-days-calendar.d.ts +0 -4
- package/datepicker/engine/format-months-calendar.d.ts +0 -2
- package/datepicker/engine/format-years-calendar.d.ts +0 -4
- package/datepicker/engine/view-mode.d.ts +0 -2
- package/datepicker/models/index.d.ts +0 -102
- package/datepicker/public_api.d.ts +0 -17
- package/datepicker/reducer/_defaults.d.ts +0 -3
- package/datepicker/reducer/bs-datepicker.actions.d.ts +0 -48
- package/datepicker/reducer/bs-datepicker.effects.d.ts +0 -41
- package/datepicker/reducer/bs-datepicker.reducer.d.ts +0 -3
- package/datepicker/reducer/bs-datepicker.state.d.ts +0 -45
- package/datepicker/reducer/bs-datepicker.store.d.ts +0 -8
- package/datepicker/themes/bs/bs-calendar-layout.component.d.ts +0 -5
- package/datepicker/themes/bs/bs-current-date-view.component.d.ts +0 -6
- package/datepicker/themes/bs/bs-custom-dates-view.component.d.ts +0 -16
- package/datepicker/themes/bs/bs-datepicker-container.component.d.ts +0 -41
- package/datepicker/themes/bs/bs-datepicker-day-decorator.directive.d.ts +0 -14
- package/datepicker/themes/bs/bs-datepicker-inline-container.component.d.ts +0 -15
- package/datepicker/themes/bs/bs-datepicker-navigation-view.component.d.ts +0 -13
- package/datepicker/themes/bs/bs-daterangepicker-container.component.d.ts +0 -46
- package/datepicker/themes/bs/bs-daterangepicker-inline-container.component.d.ts +0 -15
- package/datepicker/themes/bs/bs-days-calendar-view.component.d.ts +0 -27
- package/datepicker/themes/bs/bs-months-calendar-view.component.d.ts +0 -16
- package/datepicker/themes/bs/bs-timepicker-view.component.d.ts +0 -8
- package/datepicker/themes/bs/bs-years-calendar-view.component.d.ts +0 -16
- package/datepicker/utils/bs-calendar-utils.d.ts +0 -15
- package/datepicker/utils/copy-time-utils.d.ts +0 -1
- package/datepicker/utils/matrix-utils.d.ts +0 -9
- package/dropdown/bs-dropdown-container.component.d.ts +0 -20
- package/dropdown/bs-dropdown-menu.directive.d.ts +0 -8
- package/dropdown/bs-dropdown-toggle.directive.d.ts +0 -21
- package/dropdown/bs-dropdown.config.d.ts +0 -14
- package/dropdown/bs-dropdown.directive.d.ts +0 -108
- package/dropdown/bs-dropdown.module.d.ts +0 -12
- package/dropdown/bs-dropdown.state.d.ts +0 -23
- package/dropdown/dropdown-animations.d.ts +0 -3
- package/dropdown/public_api.d.ts +0 -7
- package/focus-trap/boolean-property.d.ts +0 -14
- package/focus-trap/focus-trap-manager.d.ts +0 -26
- package/focus-trap/focus-trap.d.ts +0 -162
- package/focus-trap/focus-trap.module.d.ts +0 -10
- package/focus-trap/interactivity-checker.d.ts +0 -60
- package/focus-trap/platform.d.ts +0 -29
- package/focus-trap/public_api.d.ts +0 -3
- package/locale/public_api.d.ts +0 -46
- package/mini-ngrx/public_api.d.ts +0 -7
- package/mini-ngrx/state.class.d.ts +0 -8
- package/mini-ngrx/store.class.d.ts +0 -16
- package/modal/bs-modal-ref.service.d.ts +0 -30
- package/modal/bs-modal.service.d.ts +0 -50
- package/modal/modal-backdrop.component.d.ts +0 -17
- package/modal/modal-backdrop.options.d.ts +0 -4
- package/modal/modal-container.component.d.ts +0 -27
- package/modal/modal-options.class.d.ts +0 -63
- package/modal/modal.directive.d.ts +0 -90
- package/modal/modal.module.d.ts +0 -13
- package/modal/models/index.d.ts +0 -24
- package/modal/public_api.d.ts +0 -9
- package/pagination/models/index.d.ts +0 -53
- package/pagination/pager.component.d.ts +0 -78
- package/pagination/pagination.component.d.ts +0 -91
- package/pagination/pagination.config.d.ts +0 -9
- package/pagination/pagination.module.d.ts +0 -11
- package/pagination/public_api.d.ts +0 -5
- package/popover/popover-container.component.d.ts +0 -16
- package/popover/popover.config.d.ts +0 -30
- package/popover/popover.directive.d.ts +0 -98
- package/popover/popover.module.d.ts +0 -11
- package/popover/public_api.d.ts +0 -4
- package/positioning/models/index.d.ts +0 -96
- package/positioning/modifiers/arrow.d.ts +0 -2
- package/positioning/modifiers/flip.d.ts +0 -2
- package/positioning/modifiers/index.d.ts +0 -5
- package/positioning/modifiers/initData.d.ts +0 -2
- package/positioning/modifiers/preventOverflow.d.ts +0 -2
- package/positioning/modifiers/shift.d.ts +0 -2
- package/positioning/ng-positioning.d.ts +0 -12
- package/positioning/positioning.service.d.ts +0 -48
- package/positioning/public_api.d.ts +0 -4
- package/positioning/utils/checkMargin.d.ts +0 -3
- package/positioning/utils/computeAutoPlacement.d.ts +0 -2
- package/positioning/utils/findCommonOffsetParent.d.ts +0 -1
- package/positioning/utils/getBordersSize.d.ts +0 -4
- package/positioning/utils/getBoundaries.d.ts +0 -5
- package/positioning/utils/getBoundingClientRect.d.ts +0 -2
- package/positioning/utils/getClientRect.d.ts +0 -5
- package/positioning/utils/getFixedPositionOffsetParent.d.ts +0 -4
- package/positioning/utils/getOffsetParent.d.ts +0 -1
- package/positioning/utils/getOffsetRectRelativeToArbitraryNode.d.ts +0 -2
- package/positioning/utils/getOffsets.d.ts +0 -2
- package/positioning/utils/getOppositePlacement.d.ts +0 -4
- package/positioning/utils/getOppositeVariation.d.ts +0 -4
- package/positioning/utils/getOuterSizes.d.ts +0 -5
- package/positioning/utils/getParentNode.d.ts +0 -4
- package/positioning/utils/getReferenceOffsets.d.ts +0 -2
- package/positioning/utils/getRoot.d.ts +0 -4
- package/positioning/utils/getScroll.d.ts +0 -4
- package/positioning/utils/getScrollParent.d.ts +0 -1
- package/positioning/utils/getStyleComputedProperty.d.ts +0 -5
- package/positioning/utils/getTargetOffsets.d.ts +0 -2
- package/positioning/utils/getViewportOffsetRectRelativeToArtbitraryNode.d.ts +0 -2
- package/positioning/utils/getWindowSizes.d.ts +0 -4
- package/positioning/utils/index.d.ts +0 -23
- package/positioning/utils/isFixed.d.ts +0 -1
- package/positioning/utils/isModifierEnabled.d.ts +0 -5
- package/positioning/utils/isNumeric.d.ts +0 -5
- package/positioning/utils/isOffsetContainer.d.ts +0 -1
- package/positioning/utils/setStyles.d.ts +0 -5
- package/positioning/utils/updateContainerClass.d.ts +0 -6
- package/progressbar/bar.component.d.ts +0 -24
- package/progressbar/progressbar-type.interface.d.ts +0 -7
- package/progressbar/progressbar.component.d.ts +0 -23
- package/progressbar/progressbar.config.d.ts +0 -9
- package/progressbar/progressbar.module.d.ts +0 -10
- package/progressbar/public_api.d.ts +0 -5
- package/rating/models/index.d.ts +0 -4
- package/rating/public_api.d.ts +0 -3
- package/rating/rating.component.d.ts +0 -40
- package/rating/rating.config.d.ts +0 -8
- package/rating/rating.module.d.ts +0 -9
- package/sortable/draggable-item.d.ts +0 -8
- package/sortable/draggable-item.service.d.ts +0 -13
- package/sortable/public_api.d.ts +0 -4
- package/sortable/sortable.component.d.ts +0 -62
- package/sortable/sortable.module.d.ts +0 -9
- package/tabs/ng-transclude.directive.d.ts +0 -11
- package/tabs/public_api.d.ts +0 -6
- package/tabs/tab-heading.directive.d.ts +0 -10
- package/tabs/tab.directive.d.ts +0 -39
- package/tabs/tabs.module.d.ts +0 -13
- package/tabs/tabset.component.d.ts +0 -44
- package/tabs/tabset.config.d.ts +0 -11
- package/timepicker/models/index.d.ts +0 -7
- package/timepicker/public_api.d.ts +0 -5
- package/timepicker/reducer/timepicker.actions.d.ts +0 -28
- package/timepicker/reducer/timepicker.reducer.d.ts +0 -9
- package/timepicker/reducer/timepicker.store.d.ts +0 -8
- package/timepicker/timepicker-controls.util.d.ts +0 -7
- package/timepicker/timepicker.component.d.ts +0 -116
- package/timepicker/timepicker.config.d.ts +0 -48
- package/timepicker/timepicker.models.d.ts +0 -35
- package/timepicker/timepicker.module.d.ts +0 -9
- package/timepicker/timepicker.utils.d.ts +0 -19
- package/tooltip/public_api.d.ts +0 -4
- package/tooltip/tooltip-container.component.d.ts +0 -18
- package/tooltip/tooltip.config.d.ts +0 -16
- package/tooltip/tooltip.directive.d.ts +0 -113
- package/tooltip/tooltip.module.d.ts +0 -11
- package/typeahead/latin-map.d.ts +0 -3
- package/typeahead/models/index.d.ts +0 -41
- package/typeahead/public_api.d.ts +0 -10
- package/typeahead/typeahead-animations.d.ts +0 -3
- package/typeahead/typeahead-container.component.d.ts +0 -66
- package/typeahead/typeahead-match.class.d.ts +0 -8
- package/typeahead/typeahead-options.class.d.ts +0 -7
- package/typeahead/typeahead-order.class.d.ts +0 -6
- package/typeahead/typeahead-utils.d.ts +0 -4
- package/typeahead/typeahead.config.d.ts +0 -26
- package/typeahead/typeahead.directive.d.ts +0 -176
- package/typeahead/typeahead.module.d.ts +0 -11
- package/utils/decorators.d.ts +0 -1
- package/utils/facade/browser.d.ts +0 -23
- package/utils/linked-list.class.d.ts +0 -35
- package/utils/public_api.d.ts +0 -9
- package/utils/theme-provider.d.ts +0 -18
- package/utils/trigger.class.d.ts +0 -10
- package/utils/triggers.d.ts +0 -22
- package/utils/utils.class.d.ts +0 -9
- package/utils/warn-once.d.ts +0 -1
package/modal/index.d.ts
CHANGED
@@ -1 +1,277 @@
|
|
1
|
-
|
1
|
+
import * as i0 from '@angular/core';
|
2
|
+
import { EventEmitter, StaticProvider, InjectionToken, OnInit, ElementRef, Renderer2, ComponentRef, RendererFactory2, TemplateRef, OnDestroy, ViewContainerRef, ModuleWithProviders } from '@angular/core';
|
3
|
+
import { ComponentLoaderFactory } from 'ngx-bootstrap/component-loader';
|
4
|
+
import * as i1 from 'ngx-bootstrap/focus-trap';
|
5
|
+
|
6
|
+
declare class BsModalRef<T = any> {
|
7
|
+
/**
|
8
|
+
* Event that is fired when the modal behind the ref starts hiding
|
9
|
+
*/
|
10
|
+
onHide?: EventEmitter<unknown>;
|
11
|
+
/**
|
12
|
+
* Event that is fired when the modal behind the ref finishes hiding
|
13
|
+
*/
|
14
|
+
onHidden?: EventEmitter<unknown>;
|
15
|
+
/**
|
16
|
+
* Allow user to ID for the modal. Otherwise, a unique number will be given
|
17
|
+
*/
|
18
|
+
id?: number | string;
|
19
|
+
/**
|
20
|
+
* Reference to a component inside the modal. Null if modal's been created with TemplateRef
|
21
|
+
*/
|
22
|
+
content?: T;
|
23
|
+
/**
|
24
|
+
* Hides the modal
|
25
|
+
*/
|
26
|
+
hide: () => void;
|
27
|
+
/**
|
28
|
+
* Sets new class to modal window
|
29
|
+
*/
|
30
|
+
setClass: (newClass: string) => void;
|
31
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BsModalRef<any>, never>;
|
32
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<BsModalRef<any>>;
|
33
|
+
}
|
34
|
+
|
35
|
+
declare class ModalBackdropOptions {
|
36
|
+
animate: boolean;
|
37
|
+
constructor(options: ModalBackdropOptions);
|
38
|
+
}
|
39
|
+
|
40
|
+
type CloseInterceptorFn = () => Promise<void>;
|
41
|
+
|
42
|
+
declare class ModalOptions<T = Record<string, unknown>> {
|
43
|
+
/**
|
44
|
+
* Allow user to ID for the modal. Otherwise, a unique number will be given
|
45
|
+
*/
|
46
|
+
id?: number | string;
|
47
|
+
/**
|
48
|
+
* Includes a modal-backdrop element. Alternatively,
|
49
|
+
* specify static for a backdrop which doesn't close the modal on click.
|
50
|
+
*/
|
51
|
+
backdrop?: boolean | 'static';
|
52
|
+
/**
|
53
|
+
* Closes the modal when escape key is pressed.
|
54
|
+
*/
|
55
|
+
keyboard?: boolean;
|
56
|
+
focus?: boolean;
|
57
|
+
/**
|
58
|
+
* Shows the modal when initialized.
|
59
|
+
*/
|
60
|
+
show?: boolean;
|
61
|
+
/**
|
62
|
+
* Ignore the backdrop click
|
63
|
+
*/
|
64
|
+
ignoreBackdropClick?: boolean;
|
65
|
+
/**
|
66
|
+
* Css class for opened modal
|
67
|
+
*/
|
68
|
+
class?: string;
|
69
|
+
/**
|
70
|
+
* Toggle animation
|
71
|
+
*/
|
72
|
+
animated?: boolean;
|
73
|
+
/**
|
74
|
+
* Modal data
|
75
|
+
*/
|
76
|
+
initialState?: Partial<T>;
|
77
|
+
/**
|
78
|
+
* Function to intercept the closure
|
79
|
+
*/
|
80
|
+
closeInterceptor?: CloseInterceptorFn;
|
81
|
+
/**
|
82
|
+
* Modal providers
|
83
|
+
*/
|
84
|
+
providers?: StaticProvider[];
|
85
|
+
/**
|
86
|
+
* aria-labelledby attribute value to set on the modal window
|
87
|
+
*/
|
88
|
+
ariaLabelledBy?: string;
|
89
|
+
/**
|
90
|
+
* aria-describedby attribute value to set on the modal window
|
91
|
+
*/
|
92
|
+
ariaDescribedby?: string;
|
93
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ModalOptions<any>, never>;
|
94
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ModalOptions<any>>;
|
95
|
+
}
|
96
|
+
declare const MODAL_CONFIG_DEFAULT_OVERRIDE: InjectionToken<ModalOptions>;
|
97
|
+
|
98
|
+
/** This component will be added as background layout for modals if enabled */
|
99
|
+
declare class ModalBackdropComponent implements OnInit {
|
100
|
+
get isAnimated(): boolean;
|
101
|
+
set isAnimated(value: boolean);
|
102
|
+
get isShown(): boolean;
|
103
|
+
set isShown(value: boolean);
|
104
|
+
element: ElementRef;
|
105
|
+
renderer: Renderer2;
|
106
|
+
protected _isAnimated: boolean;
|
107
|
+
protected _isShown: boolean;
|
108
|
+
constructor(element: ElementRef, renderer: Renderer2);
|
109
|
+
ngOnInit(): void;
|
110
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ModalBackdropComponent, never>;
|
111
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ModalBackdropComponent, "bs-modal-backdrop", never, {}, {}, never, never, true, never>;
|
112
|
+
}
|
113
|
+
|
114
|
+
declare class BsModalService {
|
115
|
+
private clf;
|
116
|
+
private modalDefaultOption;
|
117
|
+
config: ModalOptions;
|
118
|
+
onShow: EventEmitter<any>;
|
119
|
+
onShown: EventEmitter<any>;
|
120
|
+
onHide: EventEmitter<any>;
|
121
|
+
onHidden: EventEmitter<any>;
|
122
|
+
protected isBodyOverflowing: boolean;
|
123
|
+
protected originalBodyPadding: number;
|
124
|
+
protected scrollbarWidth: number;
|
125
|
+
protected backdropRef?: ComponentRef<ModalBackdropComponent>;
|
126
|
+
private _backdropLoader;
|
127
|
+
private modalsCount;
|
128
|
+
private lastHiddenId;
|
129
|
+
private lastDismissReason?;
|
130
|
+
private loaders;
|
131
|
+
private _renderer;
|
132
|
+
private _focusEl;
|
133
|
+
constructor(rendererFactory: RendererFactory2, clf: ComponentLoaderFactory, modalDefaultOption: ModalOptions);
|
134
|
+
/** Shows a modal */
|
135
|
+
show<T>(content: string | TemplateRef<any> | {
|
136
|
+
new (...args: any[]): T;
|
137
|
+
}, config?: ModalOptions<T>): BsModalRef<T>;
|
138
|
+
hide(id?: number | string): void;
|
139
|
+
_showBackdrop(): void;
|
140
|
+
_hideBackdrop(): void;
|
141
|
+
_showModal<T>(content: any): BsModalRef<T>;
|
142
|
+
_hideModal(id?: number | string): void;
|
143
|
+
getModalsCount(): number;
|
144
|
+
setDismissReason(reason: string): void;
|
145
|
+
removeBackdrop(): void;
|
146
|
+
/** Checks if the body is overflowing and sets scrollbar width */
|
147
|
+
/** @internal */
|
148
|
+
checkScrollbar(): void;
|
149
|
+
setScrollbar(): void;
|
150
|
+
private resetScrollbar;
|
151
|
+
private getScrollbarWidth;
|
152
|
+
private _createLoaders;
|
153
|
+
private removeLoaders;
|
154
|
+
private copyEvent;
|
155
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BsModalService, [null, null, { optional: true; }]>;
|
156
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<BsModalService>;
|
157
|
+
}
|
158
|
+
|
159
|
+
declare class ModalContainerComponent implements OnInit, OnDestroy {
|
160
|
+
protected _element: ElementRef;
|
161
|
+
private _renderer;
|
162
|
+
config: ModalOptions;
|
163
|
+
isShown: boolean;
|
164
|
+
level?: number;
|
165
|
+
isAnimated: boolean;
|
166
|
+
bsModalService?: BsModalService;
|
167
|
+
_focusEl: Element | null;
|
168
|
+
private isModalHiding;
|
169
|
+
private clickStartedInContent;
|
170
|
+
constructor(options: ModalOptions, _element: ElementRef, _renderer: Renderer2);
|
171
|
+
ngOnInit(): void;
|
172
|
+
onClickStarted(event: MouseEvent): void;
|
173
|
+
onClickStop(event: MouseEvent): void;
|
174
|
+
onPopState(): void;
|
175
|
+
onEsc(event: KeyboardEvent): void;
|
176
|
+
ngOnDestroy(): void;
|
177
|
+
hide(): void;
|
178
|
+
private _hide;
|
179
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ModalContainerComponent, never>;
|
180
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ModalContainerComponent, "modal-container", never, {}, {}, never, ["*"], true, never>;
|
181
|
+
}
|
182
|
+
|
183
|
+
/** Mark any code with directive to show it's content in modal */
|
184
|
+
declare class ModalDirective implements OnDestroy, OnInit {
|
185
|
+
private _element;
|
186
|
+
private _renderer;
|
187
|
+
/** allows to set modal configuration via element property */
|
188
|
+
set config(conf: ModalOptions);
|
189
|
+
get config(): ModalOptions;
|
190
|
+
/** allows to provide a callback to intercept the closure of the modal */
|
191
|
+
closeInterceptor?: CloseInterceptorFn;
|
192
|
+
/** This event fires immediately when the `show` instance method is called. */
|
193
|
+
onShow: EventEmitter<ModalDirective>;
|
194
|
+
/** This event is fired when the modal has been made visible to the user
|
195
|
+
* (will wait for CSS transitions to complete)
|
196
|
+
*/
|
197
|
+
onShown: EventEmitter<ModalDirective>;
|
198
|
+
/** This event is fired immediately when
|
199
|
+
* the hide instance method has been called.
|
200
|
+
*/
|
201
|
+
onHide: EventEmitter<ModalDirective>;
|
202
|
+
/** This event is fired when the modal has finished being
|
203
|
+
* hidden from the user (will wait for CSS transitions to complete).
|
204
|
+
*/
|
205
|
+
onHidden: EventEmitter<ModalDirective>;
|
206
|
+
/** This field contains last dismiss reason.
|
207
|
+
* Possible values: `backdrop-click`, `esc` and `id: number`
|
208
|
+
* (if modal was closed by direct call of `.hide()`).
|
209
|
+
*/
|
210
|
+
dismissReason?: string;
|
211
|
+
get isShown(): boolean;
|
212
|
+
protected _config: ModalOptions;
|
213
|
+
protected _isShown: boolean;
|
214
|
+
protected isBodyOverflowing: boolean;
|
215
|
+
protected originalBodyPadding: number;
|
216
|
+
protected scrollbarWidth: number;
|
217
|
+
protected timerHideModal: number;
|
218
|
+
protected timerRmBackDrop: number;
|
219
|
+
protected backdrop?: ComponentRef<ModalBackdropComponent>;
|
220
|
+
private _backdrop;
|
221
|
+
private isNested;
|
222
|
+
private clickStartedInContent;
|
223
|
+
private _focusEl;
|
224
|
+
constructor(_element: ElementRef, _viewContainerRef: ViewContainerRef, _renderer: Renderer2, clf: ComponentLoaderFactory, modalDefaultOption: ModalOptions);
|
225
|
+
onClickStarted(event: MouseEvent): void;
|
226
|
+
onClickStop(event: MouseEvent): void;
|
227
|
+
onEsc(event: KeyboardEvent): void;
|
228
|
+
ngOnDestroy(): void;
|
229
|
+
ngOnInit(): void;
|
230
|
+
/** Allows to manually toggle modal visibility */
|
231
|
+
toggle(): void;
|
232
|
+
/** Allows to manually open modal */
|
233
|
+
show(): void;
|
234
|
+
/** Check if we can close the modal */
|
235
|
+
hide(event?: Event): void;
|
236
|
+
/** Private methods @internal */
|
237
|
+
/**
|
238
|
+
* Manually close modal
|
239
|
+
* @internal
|
240
|
+
*/
|
241
|
+
protected _hide(): void;
|
242
|
+
protected getConfig(config?: ModalOptions): ModalOptions;
|
243
|
+
/**
|
244
|
+
* Show dialog
|
245
|
+
* @internal
|
246
|
+
*/
|
247
|
+
protected showElement(): void;
|
248
|
+
/** @internal */
|
249
|
+
protected hideModal(): void;
|
250
|
+
/** @internal */
|
251
|
+
protected showBackdrop(callback?: () => void): void;
|
252
|
+
/** @internal */
|
253
|
+
protected removeBackdrop(): void;
|
254
|
+
/** Events tricks */
|
255
|
+
protected focusOtherModal(): void;
|
256
|
+
/** @internal */
|
257
|
+
protected resetAdjustments(): void;
|
258
|
+
/** Scroll bar tricks */
|
259
|
+
/** @internal */
|
260
|
+
protected checkScrollbar(): void;
|
261
|
+
protected setScrollbar(): void;
|
262
|
+
protected resetScrollbar(): void;
|
263
|
+
protected getScrollbarWidth(): number;
|
264
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ModalDirective, [null, null, null, null, { optional: true; }]>;
|
265
|
+
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>;
|
266
|
+
}
|
267
|
+
|
268
|
+
declare class ModalModule {
|
269
|
+
static forRoot(): ModuleWithProviders<ModalModule>;
|
270
|
+
static forChild(): ModuleWithProviders<ModalModule>;
|
271
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ModalModule, never>;
|
272
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ModalModule, never, [typeof i1.FocusTrapModule, typeof ModalBackdropComponent, typeof ModalDirective, typeof ModalContainerComponent], [typeof ModalBackdropComponent, typeof ModalDirective]>;
|
273
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ModalModule>;
|
274
|
+
}
|
275
|
+
|
276
|
+
export { BsModalRef, BsModalService, MODAL_CONFIG_DEFAULT_OVERRIDE, ModalBackdropComponent, ModalBackdropOptions, ModalContainerComponent, ModalDirective, ModalModule, ModalOptions };
|
277
|
+
export type { CloseInterceptorFn };
|
package/package.json
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
{
|
2
2
|
"name": "ngx-bootstrap",
|
3
|
-
"version": "
|
3
|
+
"version": "20.0.0",
|
4
4
|
"description": "Angular Bootstrap",
|
5
5
|
"author": "Dmitriy Shekhovtsov <valorkin@gmail.com>",
|
6
6
|
"license": "MIT",
|
7
7
|
"schematics": "./schematics/collection.json",
|
8
8
|
"peerDependencies": {
|
9
|
-
"@angular/animations": "^
|
10
|
-
"@angular/common": "^
|
11
|
-
"@angular/core": "^
|
12
|
-
"@angular/forms": "^
|
9
|
+
"@angular/animations": "^20.0.2",
|
10
|
+
"@angular/common": "^20.0.2",
|
11
|
+
"@angular/core": "^20.0.2",
|
12
|
+
"@angular/forms": "^20.0.2",
|
13
13
|
"rxjs": "^6.5.3 || ^7.4.0"
|
14
14
|
},
|
15
15
|
"dependencies": {
|
@@ -53,7 +53,7 @@
|
|
53
53
|
"default": "./collapse/fesm2022/ngx-bootstrap-collapse.mjs"
|
54
54
|
},
|
55
55
|
"./component-loader": {
|
56
|
-
"types": "./component-loader/
|
56
|
+
"types": "./component-loader/index.d.ts",
|
57
57
|
"esm2022": "./component-loader/esm2022/ngx-bootstrap-component-loader.mjs",
|
58
58
|
"esm": "./component-loader/esm2022/ngx-bootstrap-component-loader.mjs",
|
59
59
|
"default": "./component-loader/fesm2022/ngx-bootstrap-component-loader.mjs"
|
@@ -74,7 +74,7 @@
|
|
74
74
|
"default": "./dropdown/fesm2022/ngx-bootstrap-dropdown.mjs"
|
75
75
|
},
|
76
76
|
"./focus-trap": {
|
77
|
-
"types": "./focus-trap/
|
77
|
+
"types": "./focus-trap/index.d.ts",
|
78
78
|
"esm2022": "./focus-trap/esm2022/ngx-bootstrap-focus-trap.mjs",
|
79
79
|
"esm": "./focus-trap/esm2022/ngx-bootstrap-focus-trap.mjs",
|
80
80
|
"default": "./focus-trap/fesm2022/ngx-bootstrap-focus-trap.mjs"
|
@@ -86,7 +86,7 @@
|
|
86
86
|
"default": "./locale/fesm2022/ngx-bootstrap-locale.mjs"
|
87
87
|
},
|
88
88
|
"./mini-ngrx": {
|
89
|
-
"types": "./mini-ngrx/
|
89
|
+
"types": "./mini-ngrx/index.d.ts",
|
90
90
|
"esm2022": "./mini-ngrx/esm2022/ngx-bootstrap-mini-ngrx.mjs",
|
91
91
|
"esm": "./mini-ngrx/esm2022/ngx-bootstrap-mini-ngrx.mjs",
|
92
92
|
"default": "./mini-ngrx/fesm2022/ngx-bootstrap-mini-ngrx.mjs"
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import * as i0 from '@angular/core';
|
2
|
-
import { Injectable, forwardRef, EventEmitter,
|
2
|
+
import { Injectable, forwardRef, EventEmitter, Input, Output, Component, NgModule } from '@angular/core';
|
3
3
|
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
4
4
|
import { NgClass, NgIf, NgTemplateOutlet, NgFor, CommonModule } from '@angular/common';
|
5
5
|
|
@@ -26,10 +26,10 @@ class PaginationConfig {
|
|
26
26
|
align: true
|
27
27
|
};
|
28
28
|
}
|
29
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
30
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
29
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.2", ngImport: i0, type: PaginationConfig, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
30
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.2", ngImport: i0, type: PaginationConfig, providedIn: 'root' }); }
|
31
31
|
}
|
32
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
32
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.2", ngImport: i0, type: PaginationConfig, decorators: [{
|
33
33
|
type: Injectable,
|
34
34
|
args: [{
|
35
35
|
providedIn: 'root'
|
@@ -248,10 +248,10 @@ class PagerComponent {
|
|
248
248
|
: Math.ceil(this.totalItems / this.itemsPerPage);
|
249
249
|
return Math.max(totalPages || 0, 1);
|
250
250
|
}
|
251
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
252
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
251
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.2", ngImport: i0, type: PagerComponent, deps: [{ token: i0.ElementRef }, { token: PaginationConfig }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
252
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.2", type: PagerComponent, isStandalone: true, selector: "pager", inputs: { align: "align", maxSize: "maxSize", boundaryLinks: "boundaryLinks", directionLinks: "directionLinks", firstText: "firstText", previousText: "previousText", nextText: "nextText", lastText: "lastText", rotate: "rotate", pageBtnClass: "pageBtnClass", disabled: "disabled", itemsPerPage: "itemsPerPage", totalItems: "totalItems" }, outputs: { numPages: "numPages", pageChanged: "pageChanged" }, providers: [PAGER_CONTROL_VALUE_ACCESSOR], ngImport: i0, template: "<ul class=\"pager\">\n <li [class.disabled]=\"noPrevious()\" [class.previous]=\"align\"\n [ngClass]=\"{'pull-left': align, 'float-left': align}\"\n class=\"{{ pageBtnClass }}\">\n <a href (click)=\"selectPage(page - 1, $event)\">{{ getText('previous') }}</a>\n </li>\n <li [class.disabled]=\"noNext()\" [class.next]=\"align\"\n [ngClass]=\"{'pull-right': align, 'float-right': align}\"\n class=\"{{ pageBtnClass }}\">\n <a href (click)=\"selectPage(page + 1, $event)\">{{ getText('next') }}</a>\n </li>\n</ul>\n", dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] }); }
|
253
253
|
}
|
254
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
254
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.2", ngImport: i0, type: PagerComponent, decorators: [{
|
255
255
|
type: Component,
|
256
256
|
args: [{ selector: 'pager', providers: [PAGER_CONTROL_VALUE_ACCESSOR], standalone: true, imports: [NgClass], template: "<ul class=\"pager\">\n <li [class.disabled]=\"noPrevious()\" [class.previous]=\"align\"\n [ngClass]=\"{'pull-left': align, 'float-left': align}\"\n class=\"{{ pageBtnClass }}\">\n <a href (click)=\"selectPage(page - 1, $event)\">{{ getText('previous') }}</a>\n </li>\n <li [class.disabled]=\"noNext()\" [class.next]=\"align\"\n [ngClass]=\"{'pull-right': align, 'float-right': align}\"\n class=\"{{ pageBtnClass }}\">\n <a href (click)=\"selectPage(page + 1, $event)\">{{ getText('next') }}</a>\n </li>\n</ul>\n" }]
|
257
257
|
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: PaginationConfig }, { type: i0.ChangeDetectorRef }], propDecorators: { align: [{
|
@@ -489,10 +489,10 @@ class PaginationComponent {
|
|
489
489
|
: Math.ceil(this.totalItems / this.itemsPerPage);
|
490
490
|
return Math.max(totalPages || 0, 1);
|
491
491
|
}
|
492
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
493
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
492
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.2", ngImport: i0, type: PaginationComponent, deps: [{ token: i0.ElementRef }, { token: PaginationConfig }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
493
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.2", type: PaginationComponent, isStandalone: true, selector: "pagination", inputs: { align: "align", maxSize: "maxSize", boundaryLinks: "boundaryLinks", directionLinks: "directionLinks", firstText: "firstText", previousText: "previousText", nextText: "nextText", lastText: "lastText", rotate: "rotate", pageBtnClass: "pageBtnClass", disabled: "disabled", customPageTemplate: "customPageTemplate", customNextTemplate: "customNextTemplate", customPreviousTemplate: "customPreviousTemplate", customFirstTemplate: "customFirstTemplate", customLastTemplate: "customLastTemplate", itemsPerPage: "itemsPerPage", totalItems: "totalItems" }, outputs: { numPages: "numPages", pageChanged: "pageChanged" }, providers: [PAGINATION_CONTROL_VALUE_ACCESSOR], ngImport: i0, template: "<ul class=\"pagination\" [ngClass]=\"classMap\">\n <li class=\"pagination-first page-item\"\n *ngIf=\"boundaryLinks\"\n [class.disabled]=\"noPrevious() || disabled\">\n <a class=\"page-link\" href (click)=\"selectPage(1, $event)\">\n <ng-container [ngTemplateOutlet]=\"customFirstTemplate || defaultFirstTemplate\"\n [ngTemplateOutletContext]=\"{disabled: noPrevious() || disabled, currentPage: page}\">\n </ng-container>\n </a>\n </li>\n\n <li class=\"pagination-prev page-item\"\n *ngIf=\"directionLinks\"\n [class.disabled]=\"noPrevious() || disabled\">\n <a class=\"page-link\" href (click)=\"selectPage(page - 1, $event)\">\n <ng-container [ngTemplateOutlet]=\"customPreviousTemplate || defaultPreviousTemplate\"\n [ngTemplateOutletContext]=\"{disabled: noPrevious() || disabled, currentPage: page}\">\n </ng-container>\n </a>\n </li>\n\n <li *ngFor=\"let pg of pages\"\n [class.active]=\"pg.active\"\n [class.disabled]=\"disabled && !pg.active\"\n class=\"pagination-page page-item\">\n <a class=\"page-link\" href (click)=\"selectPage(pg.number, $event)\">\n <ng-container [ngTemplateOutlet]=\"customPageTemplate || defaultPageTemplate\"\n [ngTemplateOutletContext]=\"{disabled: disabled, $implicit: pg, currentPage: page}\">\n </ng-container>\n </a>\n </li>\n\n <li class=\"pagination-next page-item\"\n *ngIf=\"directionLinks\"\n [class.disabled]=\"noNext() || disabled\">\n <a class=\"page-link\" href (click)=\"selectPage(page + 1, $event)\">\n <ng-container [ngTemplateOutlet]=\"customNextTemplate || defaultNextTemplate\"\n [ngTemplateOutletContext]=\"{disabled: noNext() || disabled, currentPage: page}\">\n </ng-container>\n </a>\n </li>\n\n <li class=\"pagination-last page-item\"\n *ngIf=\"boundaryLinks\"\n [class.disabled]=\"noNext() || disabled\">\n <a class=\"page-link\" href (click)=\"selectPage(totalPages, $event)\">\n <ng-container [ngTemplateOutlet]=\"customLastTemplate || defaultLastTemplate\"\n [ngTemplateOutletContext]=\"{disabled: noNext() || disabled, currentPage: page}\">\n </ng-container>\n </a>\n </li>\n</ul>\n\n<ng-template #defaultPageTemplate let-page>{{ page.text }}</ng-template>\n\n<ng-template #defaultNextTemplate>{{ getText('next') }}</ng-template>\n\n<ng-template #defaultPreviousTemplate>{{ getText('previous') }}</ng-template>\n\n<ng-template #defaultFirstTemplate>{{ getText('first') }}</ng-template>\n\n<ng-template #defaultLastTemplate>{{ getText('last') }}</ng-template>\n", dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] }); }
|
494
494
|
}
|
495
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
495
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.2", ngImport: i0, type: PaginationComponent, decorators: [{
|
496
496
|
type: Component,
|
497
497
|
args: [{ selector: 'pagination', providers: [PAGINATION_CONTROL_VALUE_ACCESSOR], standalone: true, imports: [NgClass, NgIf, NgTemplateOutlet, NgFor], template: "<ul class=\"pagination\" [ngClass]=\"classMap\">\n <li class=\"pagination-first page-item\"\n *ngIf=\"boundaryLinks\"\n [class.disabled]=\"noPrevious() || disabled\">\n <a class=\"page-link\" href (click)=\"selectPage(1, $event)\">\n <ng-container [ngTemplateOutlet]=\"customFirstTemplate || defaultFirstTemplate\"\n [ngTemplateOutletContext]=\"{disabled: noPrevious() || disabled, currentPage: page}\">\n </ng-container>\n </a>\n </li>\n\n <li class=\"pagination-prev page-item\"\n *ngIf=\"directionLinks\"\n [class.disabled]=\"noPrevious() || disabled\">\n <a class=\"page-link\" href (click)=\"selectPage(page - 1, $event)\">\n <ng-container [ngTemplateOutlet]=\"customPreviousTemplate || defaultPreviousTemplate\"\n [ngTemplateOutletContext]=\"{disabled: noPrevious() || disabled, currentPage: page}\">\n </ng-container>\n </a>\n </li>\n\n <li *ngFor=\"let pg of pages\"\n [class.active]=\"pg.active\"\n [class.disabled]=\"disabled && !pg.active\"\n class=\"pagination-page page-item\">\n <a class=\"page-link\" href (click)=\"selectPage(pg.number, $event)\">\n <ng-container [ngTemplateOutlet]=\"customPageTemplate || defaultPageTemplate\"\n [ngTemplateOutletContext]=\"{disabled: disabled, $implicit: pg, currentPage: page}\">\n </ng-container>\n </a>\n </li>\n\n <li class=\"pagination-next page-item\"\n *ngIf=\"directionLinks\"\n [class.disabled]=\"noNext() || disabled\">\n <a class=\"page-link\" href (click)=\"selectPage(page + 1, $event)\">\n <ng-container [ngTemplateOutlet]=\"customNextTemplate || defaultNextTemplate\"\n [ngTemplateOutletContext]=\"{disabled: noNext() || disabled, currentPage: page}\">\n </ng-container>\n </a>\n </li>\n\n <li class=\"pagination-last page-item\"\n *ngIf=\"boundaryLinks\"\n [class.disabled]=\"noNext() || disabled\">\n <a class=\"page-link\" href (click)=\"selectPage(totalPages, $event)\">\n <ng-container [ngTemplateOutlet]=\"customLastTemplate || defaultLastTemplate\"\n [ngTemplateOutletContext]=\"{disabled: noNext() || disabled, currentPage: page}\">\n </ng-container>\n </a>\n </li>\n</ul>\n\n<ng-template #defaultPageTemplate let-page>{{ page.text }}</ng-template>\n\n<ng-template #defaultNextTemplate>{{ getText('next') }}</ng-template>\n\n<ng-template #defaultPreviousTemplate>{{ getText('previous') }}</ng-template>\n\n<ng-template #defaultFirstTemplate>{{ getText('first') }}</ng-template>\n\n<ng-template #defaultLastTemplate>{{ getText('last') }}</ng-template>\n" }]
|
498
498
|
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: PaginationConfig }, { type: i0.ChangeDetectorRef }], propDecorators: { align: [{
|
@@ -545,11 +545,11 @@ class PaginationModule {
|
|
545
545
|
providers: []
|
546
546
|
};
|
547
547
|
}
|
548
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
549
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
550
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
548
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.2", ngImport: i0, type: PaginationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
549
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.2", ngImport: i0, type: PaginationModule, imports: [CommonModule, PagerComponent, PaginationComponent], exports: [PagerComponent, PaginationComponent] }); }
|
550
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.2", ngImport: i0, type: PaginationModule, imports: [CommonModule] }); }
|
551
551
|
}
|
552
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
552
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.2", ngImport: i0, type: PaginationModule, decorators: [{
|
553
553
|
type: NgModule,
|
554
554
|
args: [{
|
555
555
|
imports: [CommonModule, PagerComponent, PaginationComponent],
|