ngx-bootstrap 10.2.1 → 11.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/README.md +3 -5
- package/accordion/accordion-group.component.d.ts +1 -1
- package/accordion/accordion.component.d.ts +1 -1
- package/accordion/esm2022/accordion-group.component.mjs +84 -0
- package/accordion/{esm2020 → esm2022}/accordion.component.mjs +4 -4
- package/accordion/{esm2020 → esm2022}/accordion.config.mjs +4 -4
- package/accordion/{esm2020 → esm2022}/accordion.module.mjs +5 -5
- package/accordion/{fesm2020 → fesm2022}/ngx-bootstrap-accordion.mjs +29 -29
- package/accordion/fesm2022/ngx-bootstrap-accordion.mjs.map +1 -0
- package/accordion/package.json +8 -14
- package/alert/alert.component.d.ts +1 -1
- package/alert/esm2022/alert.component.mjs +77 -0
- package/alert/{esm2020 → esm2022}/alert.config.mjs +4 -4
- package/alert/{esm2020 → esm2022}/alert.module.mjs +5 -5
- package/alert/{fesm2015 → fesm2022}/ngx-bootstrap-alert.mjs +10 -10
- package/alert/fesm2022/ngx-bootstrap-alert.mjs.map +1 -0
- package/alert/package.json +8 -14
- package/buttons/button-checkbox.directive.d.ts +2 -2
- package/buttons/button-radio.directive.d.ts +1 -1
- package/buttons/{esm2020 → esm2022}/button-checkbox.directive.mjs +4 -4
- package/buttons/{esm2020 → esm2022}/button-radio-group.directive.mjs +4 -4
- package/buttons/esm2022/button-radio.directive.mjs +188 -0
- package/buttons/{esm2020 → esm2022}/buttons.module.mjs +5 -5
- package/buttons/{fesm2020 → fesm2022}/ngx-bootstrap-buttons.mjs +26 -26
- package/buttons/fesm2022/ngx-bootstrap-buttons.mjs.map +1 -0
- package/buttons/package.json +7 -13
- package/carousel/carousel.component.d.ts +1 -1
- package/carousel/esm2022/carousel.component.mjs +713 -0
- package/carousel/{esm2020 → esm2022}/carousel.config.mjs +4 -4
- package/carousel/{esm2020 → esm2022}/carousel.module.mjs +5 -5
- package/carousel/{esm2020 → esm2022}/slide.component.mjs +6 -6
- package/carousel/{fesm2020 → fesm2022}/ngx-bootstrap-carousel.mjs +65 -56
- package/carousel/fesm2022/ngx-bootstrap-carousel.mjs.map +1 -0
- package/carousel/package.json +8 -14
- package/carousel/slide.component.d.ts +1 -1
- package/chronos/duration/create.d.ts +1 -1
- package/chronos/{fesm2020 → fesm2022}/ngx-bootstrap-chronos.mjs +4 -0
- package/chronos/fesm2022/ngx-bootstrap-chronos.mjs.map +1 -0
- package/chronos/locale/locale.class.d.ts +3 -3
- package/chronos/moment/calendar.d.ts +1 -1
- package/chronos/package.json +5 -11
- package/chronos/parse/regex.d.ts +1 -1
- package/chronos/testing/chain.d.ts +3 -3
- package/chronos/types.d.ts +4 -4
- package/chronos/units/aliases.d.ts +1 -1
- package/collapse/collapse.directive.d.ts +1 -1
- package/collapse/esm2022/collapse.directive.mjs +168 -0
- package/collapse/{esm2020 → esm2022}/collapse.module.mjs +5 -5
- package/collapse/{fesm2020 → fesm2022}/ngx-bootstrap-collapse.mjs +26 -26
- package/collapse/fesm2022/ngx-bootstrap-collapse.mjs.map +1 -0
- package/collapse/package.json +8 -14
- package/component-loader/{esm2020 → esm2022}/component-loader.factory.mjs +4 -4
- package/component-loader/{fesm2020 → fesm2022}/ngx-bootstrap-component-loader.mjs +5 -3
- package/component-loader/fesm2022/ngx-bootstrap-component-loader.mjs.map +1 -0
- package/component-loader/listen-options.model.d.ts +1 -1
- package/component-loader/package.json +7 -13
- package/datepicker/bs-datepicker-inline.component.d.ts +1 -1
- package/datepicker/bs-datepicker.component.d.ts +1 -1
- package/datepicker/bs-datepicker.config.d.ts +4 -0
- package/datepicker/bs-datepicker.css +6 -3
- package/datepicker/bs-datepicker.css.map +1 -1
- package/datepicker/bs-datepicker.scss +7 -2
- package/datepicker/bs-daterangepicker-inline.component.d.ts +1 -1
- package/datepicker/bs-daterangepicker.component.d.ts +1 -1
- package/datepicker/{esm2020 → esm2022}/bs-datepicker-inline.component.mjs +4 -4
- package/datepicker/{esm2020 → esm2022}/bs-datepicker-inline.config.mjs +4 -4
- package/datepicker/{esm2020 → esm2022}/bs-datepicker-input.directive.mjs +4 -4
- package/datepicker/esm2022/bs-datepicker.component.mjs +303 -0
- package/datepicker/esm2022/bs-datepicker.config.mjs +101 -0
- package/datepicker/{esm2020 → esm2022}/bs-datepicker.module.mjs +32 -32
- package/datepicker/esm2022/bs-daterangepicker-inline.component.mjs +163 -0
- package/datepicker/{esm2020 → esm2022}/bs-daterangepicker-inline.config.mjs +4 -4
- package/datepicker/{esm2020 → esm2022}/bs-daterangepicker-input.directive.mjs +4 -4
- package/datepicker/esm2022/bs-daterangepicker.component.mjs +296 -0
- package/datepicker/{esm2020 → esm2022}/bs-daterangepicker.config.mjs +4 -4
- package/datepicker/{esm2020 → esm2022}/bs-locale.service.mjs +4 -4
- package/datepicker/esm2022/reducer/bs-datepicker.actions.mjs +143 -0
- package/datepicker/{esm2020 → esm2022}/reducer/bs-datepicker.effects.mjs +4 -4
- package/datepicker/{esm2020 → esm2022}/reducer/bs-datepicker.store.mjs +4 -4
- package/datepicker/{esm2020 → esm2022}/themes/bs/bs-calendar-layout.component.mjs +6 -6
- package/datepicker/{esm2020 → esm2022}/themes/bs/bs-current-date-view.component.mjs +4 -4
- package/datepicker/{esm2020 → esm2022}/themes/bs/bs-custom-dates-view.component.mjs +6 -6
- package/datepicker/esm2022/themes/bs/bs-datepicker-container.component.mjs +192 -0
- package/datepicker/{esm2020 → esm2022}/themes/bs/bs-datepicker-day-decorator.directive.mjs +4 -4
- package/datepicker/{esm2020 → esm2022}/themes/bs/bs-datepicker-inline-container.component.mjs +9 -9
- package/datepicker/{esm2020 → esm2022}/themes/bs/bs-datepicker-navigation-view.component.mjs +6 -6
- package/datepicker/esm2022/themes/bs/bs-daterangepicker-container.component.mjs +261 -0
- package/datepicker/{esm2020 → esm2022}/themes/bs/bs-daterangepicker-inline-container.component.mjs +9 -9
- package/datepicker/{esm2020 → esm2022}/themes/bs/bs-days-calendar-view.component.mjs +6 -6
- package/datepicker/{esm2020 → esm2022}/themes/bs/bs-months-calendar-view.component.mjs +6 -6
- package/datepicker/{esm2020 → esm2022}/themes/bs/bs-timepicker-view.component.mjs +6 -6
- package/datepicker/{esm2020 → esm2022}/themes/bs/bs-years-calendar-view.component.mjs +6 -6
- package/datepicker/{fesm2020 → fesm2022}/ngx-bootstrap-datepicker.mjs +236 -230
- package/datepicker/fesm2022/ngx-bootstrap-datepicker.mjs.map +1 -0
- package/datepicker/models/index.d.ts +1 -1
- package/datepicker/package.json +13 -19
- package/datepicker/themes/bs/bs-current-date-view.component.d.ts +1 -1
- package/datepicker/themes/bs/bs-custom-dates-view.component.d.ts +1 -1
- package/datepicker/themes/bs/bs-datepicker-day-decorator.directive.d.ts +1 -1
- package/datepicker/themes/bs/bs-datepicker-navigation-view.component.d.ts +1 -1
- package/datepicker/themes/bs/bs-days-calendar-view.component.d.ts +1 -1
- package/datepicker/themes/bs/bs-months-calendar-view.component.d.ts +1 -1
- package/datepicker/themes/bs/bs-years-calendar-view.component.d.ts +1 -1
- package/datepicker/utils/matrix-utils.d.ts +1 -1
- package/dropdown/bs-dropdown.directive.d.ts +1 -1
- package/dropdown/esm2022/bs-dropdown-container.component.mjs +79 -0
- package/dropdown/{esm2020 → esm2022}/bs-dropdown-menu.directive.mjs +4 -4
- package/dropdown/{esm2020 → esm2022}/bs-dropdown-toggle.directive.mjs +4 -4
- package/dropdown/{esm2020 → esm2022}/bs-dropdown.config.mjs +4 -4
- package/dropdown/esm2022/bs-dropdown.directive.mjs +340 -0
- package/dropdown/{esm2020 → esm2022}/bs-dropdown.module.mjs +10 -10
- package/dropdown/{esm2020 → esm2022}/bs-dropdown.state.mjs +4 -4
- package/dropdown/{fesm2020 → fesm2022}/ngx-bootstrap-dropdown.mjs +62 -62
- package/dropdown/fesm2022/ngx-bootstrap-dropdown.mjs.map +1 -0
- package/dropdown/package.json +10 -16
- package/fesm2022/ngx-bootstrap.mjs.map +1 -0
- package/focus-trap/boolean-property.d.ts +1 -1
- package/focus-trap/{esm2020 → esm2022}/focus-trap-manager.mjs +4 -4
- package/focus-trap/esm2022/focus-trap.mjs +399 -0
- package/focus-trap/{esm2020 → esm2022}/focus-trap.module.mjs +5 -5
- package/focus-trap/{esm2020 → esm2022}/interactivity-checker.mjs +4 -4
- package/focus-trap/{esm2020 → esm2022}/platform.mjs +4 -4
- package/focus-trap/{fesm2020 → fesm2022}/ngx-bootstrap-focus-trap.mjs +43 -39
- package/focus-trap/fesm2022/ngx-bootstrap-focus-trap.mjs.map +1 -0
- package/focus-trap/focus-trap.d.ts +1 -1
- package/focus-trap/package.json +8 -14
- package/locale/fesm2022/ngx-bootstrap-locale.mjs.map +1 -0
- package/locale/package.json +6 -12
- package/mini-ngrx/fesm2022/ngx-bootstrap-mini-ngrx.mjs.map +1 -0
- package/mini-ngrx/package.json +6 -12
- package/mini-ngrx/public_api.d.ts +1 -1
- package/modal/bs-modal.service.d.ts +1 -0
- package/modal/{esm2020 → esm2022}/bs-modal-ref.service.mjs +4 -4
- package/modal/esm2022/bs-modal.service.mjs +225 -0
- package/modal/esm2022/modal-backdrop.component.mjs +50 -0
- package/modal/esm2022/modal-container.component.mjs +151 -0
- package/modal/{esm2020 → esm2022}/modal-options.class.mjs +4 -4
- package/modal/esm2022/modal.directive.mjs +364 -0
- package/modal/{esm2020 → esm2022}/modal.module.mjs +7 -7
- package/modal/{fesm2020 → fesm2022}/ngx-bootstrap-modal.mjs +75 -59
- package/modal/fesm2022/ngx-bootstrap-modal.mjs.map +1 -0
- package/modal/modal-container.component.d.ts +1 -0
- package/modal/modal.directive.d.ts +2 -1
- package/modal/models/index.d.ts +1 -1
- package/modal/package.json +8 -14
- package/package.json +9 -15
- package/pagination/{esm2020 → esm2022}/pager.component.mjs +4 -4
- package/pagination/{esm2020 → esm2022}/pagination.component.mjs +4 -4
- package/pagination/{esm2020 → esm2022}/pagination.config.mjs +4 -4
- package/pagination/{esm2020 → esm2022}/pagination.module.mjs +5 -5
- package/pagination/{fesm2020 → fesm2022}/ngx-bootstrap-pagination.mjs +13 -13
- package/pagination/fesm2022/ngx-bootstrap-pagination.mjs.map +1 -0
- package/pagination/package.json +8 -14
- package/pagination/pager.component.d.ts +1 -1
- package/pagination/pagination.component.d.ts +1 -1
- package/popover/esm2022/popover-container.component.mjs +46 -0
- package/popover/{esm2020 → esm2022}/popover.config.mjs +4 -4
- package/popover/esm2022/popover.directive.mjs +241 -0
- package/popover/{esm2020 → esm2022}/popover.module.mjs +5 -5
- package/popover/{fesm2020 → fesm2022}/ngx-bootstrap-popover.mjs +31 -31
- package/popover/fesm2022/ngx-bootstrap-popover.mjs.map +1 -0
- package/popover/package.json +9 -15
- package/popover/popover-container.component.d.ts +1 -1
- package/popover/popover.directive.d.ts +1 -1
- package/positioning/{esm2020 → esm2022}/positioning.service.mjs +4 -4
- package/positioning/{fesm2020 → fesm2022}/ngx-bootstrap-positioning.mjs +3 -3
- package/positioning/fesm2022/ngx-bootstrap-positioning.mjs.map +1 -0
- package/positioning/models/index.d.ts +1 -1
- package/positioning/package.json +10 -16
- package/progressbar/bar.component.d.ts +1 -1
- package/progressbar/{esm2020 → esm2022}/bar.component.mjs +4 -4
- package/progressbar/esm2022/progressbar.component.mjs +53 -0
- package/progressbar/{esm2020 → esm2022}/progressbar.config.mjs +4 -4
- package/progressbar/{esm2020 → esm2022}/progressbar.module.mjs +5 -5
- package/progressbar/{fesm2020 → fesm2022}/ngx-bootstrap-progressbar.mjs +24 -24
- package/progressbar/fesm2022/ngx-bootstrap-progressbar.mjs.map +1 -0
- package/progressbar/package.json +7 -13
- package/progressbar/progressbar-type.interface.d.ts +1 -1
- package/progressbar/progressbar.component.d.ts +1 -1
- package/rating/{esm2020 → esm2022}/rating.component.mjs +4 -4
- package/rating/{esm2020 → esm2022}/rating.config.mjs +4 -4
- package/rating/{esm2020 → esm2022}/rating.module.mjs +5 -5
- package/rating/{fesm2015 → fesm2022}/ngx-bootstrap-rating.mjs +10 -10
- package/rating/fesm2022/ngx-bootstrap-rating.mjs.map +1 -0
- package/rating/package.json +8 -14
- package/rating/rating.component.d.ts +1 -1
- package/schematics/collection.json +1 -1
- package/schematics/package.json +7 -7
- package/schematics/utils/current_dependency_versions.json +1 -1
- package/schematics/utils/index.d.ts +0 -2
- package/schematics/utils/index.js +1 -13
- package/schematics/utils/index.js.map +1 -1
- package/sortable/{esm2020 → esm2022}/draggable-item.service.mjs +4 -4
- package/sortable/esm2022/sortable.component.mjs +266 -0
- package/sortable/{esm2020 → esm2022}/sortable.module.mjs +5 -5
- package/sortable/{fesm2020 → fesm2022}/ngx-bootstrap-sortable.mjs +28 -28
- package/sortable/fesm2022/ngx-bootstrap-sortable.mjs.map +1 -0
- package/sortable/package.json +10 -16
- package/sortable/sortable.component.d.ts +1 -1
- package/tabs/esm2022/ng-transclude.directive.mjs +28 -0
- package/tabs/{esm2020 → esm2022}/tab-heading.directive.mjs +4 -4
- package/tabs/esm2022/tab.directive.mjs +115 -0
- package/tabs/{esm2020 → esm2022}/tabs.module.mjs +11 -11
- package/tabs/esm2022/tabset.component.mjs +216 -0
- package/tabs/{esm2020 → esm2022}/tabset.config.mjs +4 -4
- package/tabs/{fesm2015 → fesm2022}/ngx-bootstrap-tabs.mjs +63 -63
- package/tabs/fesm2022/ngx-bootstrap-tabs.mjs.map +1 -0
- package/tabs/ng-transclude.directive.d.ts +1 -1
- package/tabs/package.json +7 -13
- package/tabs/tab.directive.d.ts +1 -1
- package/tabs/tabset.component.d.ts +1 -1
- package/timepicker/esm2022/reducer/timepicker.actions.mjs +53 -0
- package/timepicker/{esm2020 → esm2022}/reducer/timepicker.store.mjs +4 -4
- package/timepicker/{esm2020 → esm2022}/timepicker.component.mjs +4 -4
- package/timepicker/{esm2020 → esm2022}/timepicker.config.mjs +4 -4
- package/timepicker/{esm2020 → esm2022}/timepicker.module.mjs +5 -5
- package/timepicker/{fesm2020 → fesm2022}/ngx-bootstrap-timepicker.mjs +22 -22
- package/timepicker/fesm2022/ngx-bootstrap-timepicker.mjs.map +1 -0
- package/timepicker/package.json +10 -16
- package/timepicker/reducer/timepicker.reducer.d.ts +1 -3
- package/timepicker/timepicker.component.d.ts +1 -1
- package/timepicker/timepicker.models.d.ts +1 -1
- package/tooltip/{esm2020 → esm2022}/tooltip-container.component.mjs +9 -9
- package/tooltip/{esm2020 → esm2022}/tooltip.config.mjs +4 -4
- package/tooltip/esm2022/tooltip.directive.mjs +342 -0
- package/tooltip/{esm2020 → esm2022}/tooltip.module.mjs +5 -5
- package/tooltip/{fesm2020 → fesm2022}/ngx-bootstrap-tooltip.mjs +61 -61
- package/tooltip/fesm2022/ngx-bootstrap-tooltip.mjs.map +1 -0
- package/tooltip/package.json +10 -16
- package/tooltip/tooltip.directive.d.ts +1 -1
- package/typeahead/esm2022/typeahead-container.component.mjs +311 -0
- package/typeahead/{esm2020 → esm2022}/typeahead.config.mjs +4 -4
- package/typeahead/{esm2020 → esm2022}/typeahead.directive.mjs +4 -4
- package/typeahead/{esm2020 → esm2022}/typeahead.module.mjs +5 -5
- package/typeahead/{fesm2020 → fesm2022}/ngx-bootstrap-typeahead.mjs +20 -20
- package/typeahead/fesm2022/ngx-bootstrap-typeahead.mjs.map +1 -0
- package/typeahead/package.json +12 -18
- package/typeahead/typeahead.directive.d.ts +3 -3
- package/utils/{esm2020 → esm2022}/triggers.mjs +5 -3
- package/utils/{fesm2020 → fesm2022}/ngx-bootstrap-utils.mjs +4 -2
- package/utils/fesm2022/ngx-bootstrap-utils.mjs.map +1 -0
- package/utils/package.json +6 -12
- package/utils/theme-provider.d.ts +1 -1
- package/utils/triggers.d.ts +1 -1
- package/accordion/esm2020/accordion-group.component.mjs +0 -84
- package/accordion/fesm2015/ngx-bootstrap-accordion.mjs +0 -182
- package/accordion/fesm2015/ngx-bootstrap-accordion.mjs.map +0 -1
- package/accordion/fesm2020/ngx-bootstrap-accordion.mjs.map +0 -1
- package/alert/esm2020/alert.component.mjs +0 -77
- package/alert/fesm2015/ngx-bootstrap-alert.mjs.map +0 -1
- package/alert/fesm2020/ngx-bootstrap-alert.mjs +0 -119
- package/alert/fesm2020/ngx-bootstrap-alert.mjs.map +0 -1
- package/buttons/esm2020/button-radio.directive.mjs +0 -188
- package/buttons/fesm2015/ngx-bootstrap-buttons.mjs +0 -448
- package/buttons/fesm2015/ngx-bootstrap-buttons.mjs.map +0 -1
- package/buttons/fesm2020/ngx-bootstrap-buttons.mjs.map +0 -1
- package/carousel/esm2020/carousel.component.mjs +0 -713
- package/carousel/fesm2015/ngx-bootstrap-carousel.mjs +0 -851
- package/carousel/fesm2015/ngx-bootstrap-carousel.mjs.map +0 -1
- package/carousel/fesm2020/ngx-bootstrap-carousel.mjs.map +0 -1
- package/chronos/fesm2015/ngx-bootstrap-chronos.mjs +0 -7384
- package/chronos/fesm2015/ngx-bootstrap-chronos.mjs.map +0 -1
- package/chronos/fesm2020/ngx-bootstrap-chronos.mjs.map +0 -1
- package/collapse/esm2020/collapse.directive.mjs +0 -168
- package/collapse/fesm2015/ngx-bootstrap-collapse.mjs +0 -200
- package/collapse/fesm2015/ngx-bootstrap-collapse.mjs.map +0 -1
- package/collapse/fesm2020/ngx-bootstrap-collapse.mjs.map +0 -1
- package/component-loader/fesm2015/ngx-bootstrap-component-loader.mjs +0 -345
- package/component-loader/fesm2015/ngx-bootstrap-component-loader.mjs.map +0 -1
- package/component-loader/fesm2020/ngx-bootstrap-component-loader.mjs.map +0 -1
- package/datepicker/esm2020/bs-datepicker.component.mjs +0 -302
- package/datepicker/esm2020/bs-datepicker.config.mjs +0 -97
- package/datepicker/esm2020/bs-daterangepicker-inline.component.mjs +0 -163
- package/datepicker/esm2020/bs-daterangepicker.component.mjs +0 -295
- package/datepicker/esm2020/reducer/bs-datepicker.actions.mjs +0 -143
- package/datepicker/esm2020/themes/bs/bs-datepicker-container.component.mjs +0 -192
- package/datepicker/esm2020/themes/bs/bs-daterangepicker-container.component.mjs +0 -261
- package/datepicker/fesm2015/ngx-bootstrap-datepicker.mjs +0 -3965
- package/datepicker/fesm2015/ngx-bootstrap-datepicker.mjs.map +0 -1
- package/datepicker/fesm2020/ngx-bootstrap-datepicker.mjs.map +0 -1
- package/dropdown/esm2020/bs-dropdown-container.component.mjs +0 -79
- package/dropdown/esm2020/bs-dropdown.directive.mjs +0 -340
- package/dropdown/fesm2015/ngx-bootstrap-dropdown.mjs +0 -603
- package/dropdown/fesm2015/ngx-bootstrap-dropdown.mjs.map +0 -1
- package/dropdown/fesm2020/ngx-bootstrap-dropdown.mjs.map +0 -1
- package/fesm2015/ngx-bootstrap.mjs.map +0 -1
- package/fesm2020/ngx-bootstrap.mjs +0 -6
- package/fesm2020/ngx-bootstrap.mjs.map +0 -1
- package/focus-trap/esm2020/focus-trap.mjs +0 -399
- package/focus-trap/fesm2015/ngx-bootstrap-focus-trap.mjs +0 -800
- package/focus-trap/fesm2015/ngx-bootstrap-focus-trap.mjs.map +0 -1
- package/focus-trap/fesm2020/ngx-bootstrap-focus-trap.mjs.map +0 -1
- package/locale/fesm2015/ngx-bootstrap-locale.mjs.map +0 -1
- package/locale/fesm2020/ngx-bootstrap-locale.mjs +0 -6
- package/locale/fesm2020/ngx-bootstrap-locale.mjs.map +0 -1
- package/mini-ngrx/fesm2015/ngx-bootstrap-mini-ngrx.mjs +0 -64
- package/mini-ngrx/fesm2015/ngx-bootstrap-mini-ngrx.mjs.map +0 -1
- package/mini-ngrx/fesm2020/ngx-bootstrap-mini-ngrx.mjs.map +0 -1
- package/modal/esm2020/bs-modal.service.mjs +0 -219
- package/modal/esm2020/modal-backdrop.component.mjs +0 -50
- package/modal/esm2020/modal-container.component.mjs +0 -145
- package/modal/esm2020/modal.directive.mjs +0 -360
- package/modal/fesm2015/ngx-bootstrap-modal.mjs +0 -874
- package/modal/fesm2015/ngx-bootstrap-modal.mjs.map +0 -1
- package/modal/fesm2020/ngx-bootstrap-modal.mjs.map +0 -1
- package/pagination/fesm2015/ngx-bootstrap-pagination.mjs +0 -565
- package/pagination/fesm2015/ngx-bootstrap-pagination.mjs.map +0 -1
- package/pagination/fesm2020/ngx-bootstrap-pagination.mjs.map +0 -1
- package/popover/esm2020/popover-container.component.mjs +0 -46
- package/popover/esm2020/popover.directive.mjs +0 -241
- package/popover/fesm2015/ngx-bootstrap-popover.mjs +0 -339
- package/popover/fesm2015/ngx-bootstrap-popover.mjs.map +0 -1
- package/popover/fesm2020/ngx-bootstrap-popover.mjs.map +0 -1
- package/positioning/fesm2015/ngx-bootstrap-positioning.mjs +0 -1018
- package/positioning/fesm2015/ngx-bootstrap-positioning.mjs.map +0 -1
- package/positioning/fesm2020/ngx-bootstrap-positioning.mjs.map +0 -1
- package/progressbar/esm2020/progressbar.component.mjs +0 -53
- package/progressbar/fesm2015/ngx-bootstrap-progressbar.mjs +0 -163
- package/progressbar/fesm2015/ngx-bootstrap-progressbar.mjs.map +0 -1
- package/progressbar/fesm2020/ngx-bootstrap-progressbar.mjs.map +0 -1
- package/rating/fesm2015/ngx-bootstrap-rating.mjs.map +0 -1
- package/rating/fesm2020/ngx-bootstrap-rating.mjs +0 -163
- package/rating/fesm2020/ngx-bootstrap-rating.mjs.map +0 -1
- package/sortable/esm2020/sortable.component.mjs +0 -266
- package/sortable/fesm2015/ngx-bootstrap-sortable.mjs +0 -324
- package/sortable/fesm2015/ngx-bootstrap-sortable.mjs.map +0 -1
- package/sortable/fesm2020/ngx-bootstrap-sortable.mjs.map +0 -1
- package/tabs/esm2020/ng-transclude.directive.mjs +0 -28
- package/tabs/esm2020/tab.directive.mjs +0 -115
- package/tabs/esm2020/tabset.component.mjs +0 -216
- package/tabs/fesm2015/ngx-bootstrap-tabs.mjs.map +0 -1
- package/tabs/fesm2020/ngx-bootstrap-tabs.mjs +0 -427
- package/tabs/fesm2020/ngx-bootstrap-tabs.mjs.map +0 -1
- package/timepicker/esm2020/reducer/timepicker.actions.mjs +0 -53
- package/timepicker/fesm2015/ngx-bootstrap-timepicker.mjs +0 -830
- package/timepicker/fesm2015/ngx-bootstrap-timepicker.mjs.map +0 -1
- package/timepicker/fesm2020/ngx-bootstrap-timepicker.mjs.map +0 -1
- package/tooltip/esm2020/tooltip.directive.mjs +0 -342
- package/tooltip/fesm2015/ngx-bootstrap-tooltip.mjs +0 -431
- package/tooltip/fesm2015/ngx-bootstrap-tooltip.mjs.map +0 -1
- package/tooltip/fesm2020/ngx-bootstrap-tooltip.mjs.map +0 -1
- package/typeahead/esm2020/typeahead-container.component.mjs +0 -311
- package/typeahead/fesm2015/ngx-bootstrap-typeahead.mjs +0 -1890
- package/typeahead/fesm2015/ngx-bootstrap-typeahead.mjs.map +0 -1
- package/typeahead/fesm2020/ngx-bootstrap-typeahead.mjs.map +0 -1
- package/utils/fesm2015/ngx-bootstrap-utils.mjs +0 -521
- package/utils/fesm2015/ngx-bootstrap-utils.mjs.map +0 -1
- package/utils/fesm2020/ngx-bootstrap-utils.mjs.map +0 -1
- /package/accordion/{esm2020 → esm2022}/index.mjs +0 -0
- /package/accordion/{esm2020 → esm2022}/ngx-bootstrap-accordion.mjs +0 -0
- /package/accordion/{esm2020 → esm2022}/public_api.mjs +0 -0
- /package/alert/{esm2020 → esm2022}/index.mjs +0 -0
- /package/alert/{esm2020 → esm2022}/ngx-bootstrap-alert.mjs +0 -0
- /package/alert/{esm2020 → esm2022}/public_api.mjs +0 -0
- /package/buttons/{esm2020 → esm2022}/index.mjs +0 -0
- /package/buttons/{esm2020 → esm2022}/ngx-bootstrap-buttons.mjs +0 -0
- /package/buttons/{esm2020 → esm2022}/public_api.mjs +0 -0
- /package/carousel/{esm2020 → esm2022}/index.mjs +0 -0
- /package/carousel/{esm2020 → esm2022}/models/index.mjs +0 -0
- /package/carousel/{esm2020 → esm2022}/ngx-bootstrap-carousel.mjs +0 -0
- /package/carousel/{esm2020 → esm2022}/public_api.mjs +0 -0
- /package/carousel/{esm2020 → esm2022}/utils.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/create/check-overflow.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/create/clone.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/create/date-from-array.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/create/from-anything.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/create/from-array.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/create/from-object.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/create/from-string-and-array.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/create/from-string-and-format.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/create/from-string.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/create/local.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/create/parsing-flags.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/create/parsing.types.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/create/valid.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/duration/bubble.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/duration/constructor.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/duration/create.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/duration/humanize.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/duration/valid.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/format/format.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/format.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/ar.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/bg.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/ca.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/cs.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/da.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/de.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/en-gb.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/es-do.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/es-pr.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/es-us.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/es.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/et.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/fi.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/fr.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/gl.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/he.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/hi.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/hr.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/hu.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/id.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/it.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/ja.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/ka.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/kk.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/ko.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/lt.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/lv.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/mn.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/nb.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/nl-be.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/nl.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/pl.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/pt-br.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/ro.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/ru.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/sk.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/sl.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/sq.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/sv.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/th-be.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/th.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/tr.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/uk.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/vi.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/zh-cn.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/index.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/locale/calendar.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/locale/locale.class.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/locale/locale.defaults.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/locale/locales.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/moment/add-subtract.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/moment/calendar.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/moment/diff.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/moment/min-max.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/ngx-bootstrap-chronos.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/parse/regex.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/parse/token.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/public_api.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/testing/chain.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/types.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/units/aliases.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/units/constants.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/units/day-of-month.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/units/day-of-week.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/units/day-of-year.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/units/hour.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/units/index.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/units/millisecond.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/units/minute.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/units/month.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/units/offset.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/units/priorities.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/units/quarter.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/units/second.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/units/timestamp.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/units/timezone.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/units/week-calendar-utils.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/units/week-year.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/units/week.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/units/year.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/utils/abs-ceil.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/utils/abs-round.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/utils/compare-arrays.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/utils/date-compare.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/utils/date-getters.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/utils/date-setters.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/utils/defaults.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/utils/start-end-of.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/utils/type-checks.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/utils/zero-fill.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/utils.mjs +0 -0
- /package/collapse/{esm2020 → esm2022}/collapse-animations.mjs +0 -0
- /package/collapse/{esm2020 → esm2022}/index.mjs +0 -0
- /package/collapse/{esm2020 → esm2022}/ngx-bootstrap-collapse.mjs +0 -0
- /package/collapse/{esm2020 → esm2022}/public_api.mjs +0 -0
- /package/component-loader/{esm2020 → esm2022}/bs-component-ref.class.mjs +0 -0
- /package/component-loader/{esm2020 → esm2022}/component-loader.class.mjs +0 -0
- /package/component-loader/{esm2020 → esm2022}/content-ref.class.mjs +0 -0
- /package/component-loader/{esm2020 → esm2022}/index.mjs +0 -0
- /package/component-loader/{esm2020 → esm2022}/listen-options.model.mjs +0 -0
- /package/component-loader/{esm2020 → esm2022}/ngx-bootstrap-component-loader.mjs +0 -0
- /package/component-loader/{esm2020 → esm2022}/public_api.mjs +0 -0
- /package/datepicker/{esm2020 → esm2022}/base/bs-datepicker-container.mjs +0 -0
- /package/datepicker/{esm2020 → esm2022}/datepicker-animations.mjs +0 -0
- /package/datepicker/{esm2020 → esm2022}/engine/calc-days-calendar.mjs +0 -0
- /package/datepicker/{esm2020 → esm2022}/engine/flag-days-calendar.mjs +0 -0
- /package/datepicker/{esm2020 → esm2022}/engine/flag-months-calendar.mjs +0 -0
- /package/datepicker/{esm2020 → esm2022}/engine/flag-years-calendar.mjs +0 -0
- /package/datepicker/{esm2020 → esm2022}/engine/format-days-calendar.mjs +0 -0
- /package/datepicker/{esm2020 → esm2022}/engine/format-months-calendar.mjs +0 -0
- /package/datepicker/{esm2020 → esm2022}/engine/format-years-calendar.mjs +0 -0
- /package/datepicker/{esm2020 → esm2022}/engine/view-mode.mjs +0 -0
- /package/datepicker/{esm2020 → esm2022}/index.mjs +0 -0
- /package/datepicker/{esm2020 → esm2022}/models/index.mjs +0 -0
- /package/datepicker/{esm2020 → esm2022}/ngx-bootstrap-datepicker.mjs +0 -0
- /package/datepicker/{esm2020 → esm2022}/public_api.mjs +0 -0
- /package/datepicker/{esm2020 → esm2022}/reducer/_defaults.mjs +0 -0
- /package/datepicker/{esm2020 → esm2022}/reducer/bs-datepicker.reducer.mjs +0 -0
- /package/datepicker/{esm2020 → esm2022}/reducer/bs-datepicker.state.mjs +0 -0
- /package/datepicker/{esm2020 → esm2022}/utils/bs-calendar-utils.mjs +0 -0
- /package/datepicker/{esm2020 → esm2022}/utils/copy-time-utils.mjs +0 -0
- /package/datepicker/{esm2020 → esm2022}/utils/matrix-utils.mjs +0 -0
- /package/dropdown/{esm2020 → esm2022}/dropdown-animations.mjs +0 -0
- /package/dropdown/{esm2020 → esm2022}/index.mjs +0 -0
- /package/dropdown/{esm2020 → esm2022}/ngx-bootstrap-dropdown.mjs +0 -0
- /package/dropdown/{esm2020 → esm2022}/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/index.mjs +0 -0
- /package/{esm2020 → esm2022}/ngx-bootstrap.mjs +0 -0
- /package/{fesm2015 → fesm2022}/ngx-bootstrap.mjs +0 -0
- /package/focus-trap/{esm2020 → esm2022}/boolean-property.mjs +0 -0
- /package/focus-trap/{esm2020 → esm2022}/index.mjs +0 -0
- /package/focus-trap/{esm2020 → esm2022}/ngx-bootstrap-focus-trap.mjs +0 -0
- /package/focus-trap/{esm2020 → esm2022}/public_api.mjs +0 -0
- /package/locale/{esm2020 → esm2022}/index.mjs +0 -0
- /package/locale/{esm2020 → esm2022}/ngx-bootstrap-locale.mjs +0 -0
- /package/locale/{esm2020 → esm2022}/public_api.mjs +0 -0
- /package/locale/{fesm2015 → fesm2022}/ngx-bootstrap-locale.mjs +0 -0
- /package/mini-ngrx/{esm2020 → esm2022}/index.mjs +0 -0
- /package/mini-ngrx/{esm2020 → esm2022}/ngx-bootstrap-mini-ngrx.mjs +0 -0
- /package/mini-ngrx/{esm2020 → esm2022}/public_api.mjs +0 -0
- /package/mini-ngrx/{esm2020 → esm2022}/state.class.mjs +0 -0
- /package/mini-ngrx/{esm2020 → esm2022}/store.class.mjs +0 -0
- /package/mini-ngrx/{fesm2020 → fesm2022}/ngx-bootstrap-mini-ngrx.mjs +0 -0
- /package/modal/{esm2020 → esm2022}/index.mjs +0 -0
- /package/modal/{esm2020 → esm2022}/modal-backdrop.options.mjs +0 -0
- /package/modal/{esm2020 → esm2022}/models/index.mjs +0 -0
- /package/modal/{esm2020 → esm2022}/ngx-bootstrap-modal.mjs +0 -0
- /package/modal/{esm2020 → esm2022}/public_api.mjs +0 -0
- /package/pagination/{esm2020 → esm2022}/index.mjs +0 -0
- /package/pagination/{esm2020 → esm2022}/models/index.mjs +0 -0
- /package/pagination/{esm2020 → esm2022}/ngx-bootstrap-pagination.mjs +0 -0
- /package/pagination/{esm2020 → esm2022}/public_api.mjs +0 -0
- /package/popover/{esm2020 → esm2022}/index.mjs +0 -0
- /package/popover/{esm2020 → esm2022}/ngx-bootstrap-popover.mjs +0 -0
- /package/popover/{esm2020 → esm2022}/public_api.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/index.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/models/index.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/modifiers/arrow.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/modifiers/flip.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/modifiers/index.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/modifiers/initData.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/modifiers/preventOverflow.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/modifiers/shift.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/ng-positioning.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/ngx-bootstrap-positioning.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/public_api.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/utils/checkMargin.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/utils/computeAutoPlacement.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/utils/findCommonOffsetParent.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/utils/getBordersSize.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/utils/getBoundaries.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/utils/getBoundingClientRect.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/utils/getClientRect.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/utils/getFixedPositionOffsetParent.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/utils/getOffsetParent.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/utils/getOffsetRectRelativeToArbitraryNode.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/utils/getOffsets.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/utils/getOppositePlacement.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/utils/getOppositeVariation.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/utils/getOuterSizes.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/utils/getParentNode.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/utils/getReferenceOffsets.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/utils/getRoot.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/utils/getScroll.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/utils/getScrollParent.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/utils/getStyleComputedProperty.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/utils/getTargetOffsets.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/utils/getViewportOffsetRectRelativeToArtbitraryNode.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/utils/getWindowSizes.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/utils/includeScroll.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/utils/index.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/utils/isFixed.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/utils/isModifierEnabled.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/utils/isNumeric.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/utils/isOffsetContainer.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/utils/setStyles.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/utils/updateContainerClass.mjs +0 -0
- /package/progressbar/{esm2020 → esm2022}/index.mjs +0 -0
- /package/progressbar/{esm2020 → esm2022}/ngx-bootstrap-progressbar.mjs +0 -0
- /package/progressbar/{esm2020 → esm2022}/progressbar-type.interface.mjs +0 -0
- /package/progressbar/{esm2020 → esm2022}/public_api.mjs +0 -0
- /package/rating/{esm2020 → esm2022}/index.mjs +0 -0
- /package/rating/{esm2020 → esm2022}/models/index.mjs +0 -0
- /package/rating/{esm2020 → esm2022}/ngx-bootstrap-rating.mjs +0 -0
- /package/rating/{esm2020 → esm2022}/public_api.mjs +0 -0
- /package/sortable/{esm2020 → esm2022}/draggable-item.mjs +0 -0
- /package/sortable/{esm2020 → esm2022}/index.mjs +0 -0
- /package/sortable/{esm2020 → esm2022}/ngx-bootstrap-sortable.mjs +0 -0
- /package/sortable/{esm2020 → esm2022}/public_api.mjs +0 -0
- /package/tabs/{esm2020 → esm2022}/index.mjs +0 -0
- /package/tabs/{esm2020 → esm2022}/ngx-bootstrap-tabs.mjs +0 -0
- /package/tabs/{esm2020 → esm2022}/public_api.mjs +0 -0
- /package/timepicker/{esm2020 → esm2022}/index.mjs +0 -0
- /package/timepicker/{esm2020 → esm2022}/models/index.mjs +0 -0
- /package/timepicker/{esm2020 → esm2022}/ngx-bootstrap-timepicker.mjs +0 -0
- /package/timepicker/{esm2020 → esm2022}/public_api.mjs +0 -0
- /package/timepicker/{esm2020 → esm2022}/reducer/timepicker.reducer.mjs +0 -0
- /package/timepicker/{esm2020 → esm2022}/timepicker-controls.util.mjs +0 -0
- /package/timepicker/{esm2020 → esm2022}/timepicker.models.mjs +0 -0
- /package/timepicker/{esm2020 → esm2022}/timepicker.utils.mjs +0 -0
- /package/tooltip/{esm2020 → esm2022}/index.mjs +0 -0
- /package/tooltip/{esm2020 → esm2022}/ngx-bootstrap-tooltip.mjs +0 -0
- /package/tooltip/{esm2020 → esm2022}/public_api.mjs +0 -0
- /package/typeahead/{esm2020 → esm2022}/index.mjs +0 -0
- /package/typeahead/{esm2020 → esm2022}/latin-map.mjs +0 -0
- /package/typeahead/{esm2020 → esm2022}/models/index.mjs +0 -0
- /package/typeahead/{esm2020 → esm2022}/ngx-bootstrap-typeahead.mjs +0 -0
- /package/typeahead/{esm2020 → esm2022}/public_api.mjs +0 -0
- /package/typeahead/{esm2020 → esm2022}/typeahead-animations.mjs +0 -0
- /package/typeahead/{esm2020 → esm2022}/typeahead-match.class.mjs +0 -0
- /package/typeahead/{esm2020 → esm2022}/typeahead-options.class.mjs +0 -0
- /package/typeahead/{esm2020 → esm2022}/typeahead-order.class.mjs +0 -0
- /package/typeahead/{esm2020 → esm2022}/typeahead-utils.mjs +0 -0
- /package/utils/{esm2020 → esm2022}/decorators.mjs +0 -0
- /package/utils/{esm2020 → esm2022}/facade/browser.mjs +0 -0
- /package/utils/{esm2020 → esm2022}/index.mjs +0 -0
- /package/utils/{esm2020 → esm2022}/linked-list.class.mjs +0 -0
- /package/utils/{esm2020 → esm2022}/ngx-bootstrap-utils.mjs +0 -0
- /package/utils/{esm2020 → esm2022}/public_api.mjs +0 -0
- /package/utils/{esm2020 → esm2022}/theme-provider.mjs +0 -0
- /package/utils/{esm2020 → esm2022}/trigger.class.mjs +0 -0
- /package/utils/{esm2020 → esm2022}/utils.class.mjs +0 -0
- /package/utils/{esm2020 → esm2022}/warn-once.mjs +0 -0
@@ -1,874 +0,0 @@
|
|
1
|
-
import * as i0 from '@angular/core';
|
2
|
-
import { Injectable, InjectionToken, Component, HostListener, EventEmitter, Directive, Optional, Inject, Input, Output, NgModule } from '@angular/core';
|
3
|
-
import * as i2 from 'ngx-bootstrap/focus-trap';
|
4
|
-
import { FocusTrapModule } from 'ngx-bootstrap/focus-trap';
|
5
|
-
import { Utils, document as document$1, window as window$1 } from 'ngx-bootstrap/utils';
|
6
|
-
import * as i1 from 'ngx-bootstrap/component-loader';
|
7
|
-
import { ComponentLoaderFactory } from 'ngx-bootstrap/component-loader';
|
8
|
-
import { PositioningService } from 'ngx-bootstrap/positioning';
|
9
|
-
|
10
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
11
|
-
class BsModalRef {
|
12
|
-
constructor() {
|
13
|
-
/**
|
14
|
-
* Hides the modal
|
15
|
-
*/
|
16
|
-
this.hide = () => void 0;
|
17
|
-
/**
|
18
|
-
* Sets new class to modal window
|
19
|
-
*/
|
20
|
-
this.setClass = () => void 0;
|
21
|
-
}
|
22
|
-
}
|
23
|
-
BsModalRef.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: BsModalRef, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
24
|
-
BsModalRef.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: BsModalRef, providedIn: 'platform' });
|
25
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: BsModalRef, decorators: [{
|
26
|
-
type: Injectable,
|
27
|
-
args: [{ providedIn: 'platform' }]
|
28
|
-
}] });
|
29
|
-
|
30
|
-
class ModalBackdropOptions {
|
31
|
-
constructor(options) {
|
32
|
-
this.animate = true;
|
33
|
-
Object.assign(this, options);
|
34
|
-
}
|
35
|
-
}
|
36
|
-
|
37
|
-
class ModalOptions {
|
38
|
-
}
|
39
|
-
ModalOptions.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ModalOptions, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
40
|
-
ModalOptions.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ModalOptions, providedIn: 'platform' });
|
41
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ModalOptions, decorators: [{
|
42
|
-
type: Injectable,
|
43
|
-
args: [{ providedIn: 'platform' }]
|
44
|
-
}] });
|
45
|
-
const modalConfigDefaults = {
|
46
|
-
backdrop: true,
|
47
|
-
keyboard: true,
|
48
|
-
focus: true,
|
49
|
-
show: false,
|
50
|
-
ignoreBackdropClick: false,
|
51
|
-
class: '',
|
52
|
-
animated: true,
|
53
|
-
initialState: {},
|
54
|
-
closeInterceptor: void 0
|
55
|
-
};
|
56
|
-
const MODAL_CONFIG_DEFAULT_OVERRIDE = new InjectionToken('override-default-config');
|
57
|
-
const CLASS_NAME = {
|
58
|
-
SCROLLBAR_MEASURER: 'modal-scrollbar-measure',
|
59
|
-
BACKDROP: 'modal-backdrop',
|
60
|
-
OPEN: 'modal-open',
|
61
|
-
FADE: 'fade',
|
62
|
-
IN: 'in',
|
63
|
-
SHOW: 'show'
|
64
|
-
};
|
65
|
-
const SELECTOR = {
|
66
|
-
DIALOG: '.modal-dialog',
|
67
|
-
DATA_TOGGLE: '[data-toggle="modal"]',
|
68
|
-
DATA_DISMISS: '[data-dismiss="modal"]',
|
69
|
-
FIXED_CONTENT: '.navbar-fixed-top, .navbar-fixed-bottom, .is-fixed'
|
70
|
-
};
|
71
|
-
const TRANSITION_DURATIONS = {
|
72
|
-
MODAL: 300,
|
73
|
-
BACKDROP: 150
|
74
|
-
};
|
75
|
-
const DISMISS_REASONS = {
|
76
|
-
BACKRDOP: 'backdrop-click',
|
77
|
-
ESC: 'esc',
|
78
|
-
BACK: 'browser-back-navigation-clicked'
|
79
|
-
};
|
80
|
-
|
81
|
-
class ModalContainerComponent {
|
82
|
-
constructor(options, _element, _renderer) {
|
83
|
-
this._element = _element;
|
84
|
-
this._renderer = _renderer;
|
85
|
-
this.isShown = false;
|
86
|
-
this.isAnimated = false;
|
87
|
-
this.isModalHiding = false;
|
88
|
-
this.clickStartedInContent = false;
|
89
|
-
this.config = Object.assign({}, options);
|
90
|
-
}
|
91
|
-
ngOnInit() {
|
92
|
-
if (this.isAnimated) {
|
93
|
-
this._renderer.addClass(this._element.nativeElement, CLASS_NAME.FADE);
|
94
|
-
}
|
95
|
-
this._renderer.setStyle(this._element.nativeElement, 'display', 'block');
|
96
|
-
setTimeout(() => {
|
97
|
-
this.isShown = true;
|
98
|
-
this._renderer.addClass(this._element.nativeElement, CLASS_NAME.SHOW);
|
99
|
-
}, this.isAnimated ? TRANSITION_DURATIONS.BACKDROP : 0);
|
100
|
-
if (document && document.body) {
|
101
|
-
if (this.bsModalService && this.bsModalService.getModalsCount() === 1) {
|
102
|
-
this.bsModalService.checkScrollbar();
|
103
|
-
this.bsModalService.setScrollbar();
|
104
|
-
}
|
105
|
-
this._renderer.addClass(document.body, CLASS_NAME.OPEN);
|
106
|
-
this._renderer.setStyle(document.body, 'overflow-y', 'hidden');
|
107
|
-
}
|
108
|
-
if (this._element.nativeElement) {
|
109
|
-
this._element.nativeElement.focus();
|
110
|
-
}
|
111
|
-
}
|
112
|
-
onClickStarted(event) {
|
113
|
-
this.clickStartedInContent = event.target !== this._element.nativeElement;
|
114
|
-
}
|
115
|
-
onClickStop(event) {
|
116
|
-
var _a;
|
117
|
-
const clickedInBackdrop = event.target === this._element.nativeElement && !this.clickStartedInContent;
|
118
|
-
if (this.config.ignoreBackdropClick ||
|
119
|
-
this.config.backdrop === 'static' ||
|
120
|
-
!clickedInBackdrop) {
|
121
|
-
this.clickStartedInContent = false;
|
122
|
-
return;
|
123
|
-
}
|
124
|
-
(_a = this.bsModalService) === null || _a === void 0 ? void 0 : _a.setDismissReason(DISMISS_REASONS.BACKRDOP);
|
125
|
-
this.hide();
|
126
|
-
}
|
127
|
-
onPopState() {
|
128
|
-
var _a;
|
129
|
-
(_a = this.bsModalService) === null || _a === void 0 ? void 0 : _a.setDismissReason(DISMISS_REASONS.BACK);
|
130
|
-
this.hide();
|
131
|
-
}
|
132
|
-
onEsc(event) {
|
133
|
-
var _a, _b;
|
134
|
-
if (!this.isShown) {
|
135
|
-
return;
|
136
|
-
}
|
137
|
-
if (event.keyCode === 27 || event.key === 'Escape') {
|
138
|
-
event.preventDefault();
|
139
|
-
}
|
140
|
-
if (this.config.keyboard &&
|
141
|
-
this.level === ((_a = this.bsModalService) === null || _a === void 0 ? void 0 : _a.getModalsCount())) {
|
142
|
-
(_b = this.bsModalService) === null || _b === void 0 ? void 0 : _b.setDismissReason(DISMISS_REASONS.ESC);
|
143
|
-
this.hide();
|
144
|
-
}
|
145
|
-
}
|
146
|
-
ngOnDestroy() {
|
147
|
-
if (this.isShown) {
|
148
|
-
this._hide();
|
149
|
-
}
|
150
|
-
}
|
151
|
-
hide() {
|
152
|
-
if (this.isModalHiding) {
|
153
|
-
return;
|
154
|
-
}
|
155
|
-
if (this.config.closeInterceptor) {
|
156
|
-
this.config.closeInterceptor().then(() => this._hide(), () => undefined);
|
157
|
-
return;
|
158
|
-
}
|
159
|
-
this._hide();
|
160
|
-
}
|
161
|
-
_hide() {
|
162
|
-
this.isModalHiding = true;
|
163
|
-
this._renderer.removeClass(this._element.nativeElement, CLASS_NAME.SHOW);
|
164
|
-
setTimeout(() => {
|
165
|
-
var _a, _b;
|
166
|
-
this.isShown = false;
|
167
|
-
if (document &&
|
168
|
-
document.body &&
|
169
|
-
((_a = this.bsModalService) === null || _a === void 0 ? void 0 : _a.getModalsCount()) === 1) {
|
170
|
-
this._renderer.removeClass(document.body, CLASS_NAME.OPEN);
|
171
|
-
this._renderer.setStyle(document.body, 'overflow-y', '');
|
172
|
-
}
|
173
|
-
(_b = this.bsModalService) === null || _b === void 0 ? void 0 : _b.hide(this.config.id);
|
174
|
-
this.isModalHiding = false;
|
175
|
-
}, this.isAnimated ? TRANSITION_DURATIONS.MODAL : 0);
|
176
|
-
}
|
177
|
-
}
|
178
|
-
ModalContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ModalContainerComponent, deps: [{ token: ModalOptions }, { token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
179
|
-
ModalContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.3", type: ModalContainerComponent, 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" }, ngImport: i0, template: `
|
180
|
-
<div [class]="'modal-dialog' + (config.class ? ' ' + config.class : '')"
|
181
|
-
role="document"
|
182
|
-
focusTrap>
|
183
|
-
<div class="modal-content">
|
184
|
-
<ng-content></ng-content>
|
185
|
-
</div>
|
186
|
-
</div>
|
187
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: i2.FocusTrapDirective, selector: "[focusTrap]", inputs: ["cdkTrapFocus", "cdkTrapFocusAutoCapture"], exportAs: ["focusTrap"] }] });
|
188
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ModalContainerComponent, decorators: [{
|
189
|
-
type: Component,
|
190
|
-
args: [{
|
191
|
-
selector: 'modal-container',
|
192
|
-
template: `
|
193
|
-
<div [class]="'modal-dialog' + (config.class ? ' ' + config.class : '')"
|
194
|
-
role="document"
|
195
|
-
focusTrap>
|
196
|
-
<div class="modal-content">
|
197
|
-
<ng-content></ng-content>
|
198
|
-
</div>
|
199
|
-
</div>
|
200
|
-
`,
|
201
|
-
// eslint-disable-next-line @angular-eslint/no-host-metadata-property
|
202
|
-
host: {
|
203
|
-
class: 'modal',
|
204
|
-
role: 'dialog',
|
205
|
-
tabindex: '-1',
|
206
|
-
'[attr.aria-modal]': 'true',
|
207
|
-
'[attr.aria-labelledby]': 'config.ariaLabelledBy',
|
208
|
-
'[attr.aria-describedby]': 'config.ariaDescribedby'
|
209
|
-
}
|
210
|
-
}]
|
211
|
-
}], ctorParameters: function () { return [{ type: ModalOptions }, { type: i0.ElementRef }, { type: i0.Renderer2 }]; }, propDecorators: { onClickStarted: [{
|
212
|
-
type: HostListener,
|
213
|
-
args: ['mousedown', ['$event']]
|
214
|
-
}], onClickStop: [{
|
215
|
-
type: HostListener,
|
216
|
-
args: ['click', ['$event']]
|
217
|
-
}], onPopState: [{
|
218
|
-
type: HostListener,
|
219
|
-
args: ['window:popstate']
|
220
|
-
}], onEsc: [{
|
221
|
-
type: HostListener,
|
222
|
-
args: ['window:keydown.esc', ['$event']]
|
223
|
-
}] } });
|
224
|
-
|
225
|
-
/** This component will be added as background layout for modals if enabled */
|
226
|
-
class ModalBackdropComponent {
|
227
|
-
constructor(element, renderer) {
|
228
|
-
this._isAnimated = false;
|
229
|
-
this._isShown = false;
|
230
|
-
this.element = element;
|
231
|
-
this.renderer = renderer;
|
232
|
-
}
|
233
|
-
get isAnimated() {
|
234
|
-
return this._isAnimated;
|
235
|
-
}
|
236
|
-
set isAnimated(value) {
|
237
|
-
this._isAnimated = value;
|
238
|
-
}
|
239
|
-
get isShown() {
|
240
|
-
return this._isShown;
|
241
|
-
}
|
242
|
-
set isShown(value) {
|
243
|
-
this._isShown = value;
|
244
|
-
if (value) {
|
245
|
-
this.renderer.addClass(this.element.nativeElement, `${CLASS_NAME.SHOW}`);
|
246
|
-
}
|
247
|
-
else {
|
248
|
-
this.renderer.removeClass(this.element.nativeElement, `${CLASS_NAME.SHOW}`);
|
249
|
-
}
|
250
|
-
}
|
251
|
-
ngOnInit() {
|
252
|
-
if (this.isAnimated) {
|
253
|
-
this.renderer.addClass(this.element.nativeElement, `${CLASS_NAME.FADE}`);
|
254
|
-
Utils.reflow(this.element.nativeElement);
|
255
|
-
}
|
256
|
-
this.isShown = true;
|
257
|
-
}
|
258
|
-
}
|
259
|
-
ModalBackdropComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ModalBackdropComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
260
|
-
ModalBackdropComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.3", type: ModalBackdropComponent, selector: "bs-modal-backdrop", host: { classAttribute: "modal-backdrop" }, ngImport: i0, template: ' ', isInline: true });
|
261
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ModalBackdropComponent, decorators: [{
|
262
|
-
type: Component,
|
263
|
-
args: [{
|
264
|
-
selector: 'bs-modal-backdrop',
|
265
|
-
template: ' ',
|
266
|
-
// eslint-disable-next-line @angular-eslint/no-host-metadata-property
|
267
|
-
host: { class: CLASS_NAME.BACKDROP }
|
268
|
-
}]
|
269
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }]; } });
|
270
|
-
|
271
|
-
// todo: should we support enforce focus in?
|
272
|
-
const TRANSITION_DURATION = 300;
|
273
|
-
const BACKDROP_TRANSITION_DURATION = 150;
|
274
|
-
/** Mark any code with directive to show it's content in modal */
|
275
|
-
class ModalDirective {
|
276
|
-
constructor(_element, _viewContainerRef, _renderer, clf, modalDefaultOption) {
|
277
|
-
this._element = _element;
|
278
|
-
this._renderer = _renderer;
|
279
|
-
/** This event fires immediately when the `show` instance method is called. */
|
280
|
-
this.onShow = new EventEmitter();
|
281
|
-
/** This event is fired when the modal has been made visible to the user
|
282
|
-
* (will wait for CSS transitions to complete)
|
283
|
-
*/
|
284
|
-
this.onShown = new EventEmitter();
|
285
|
-
/** This event is fired immediately when
|
286
|
-
* the hide instance method has been called.
|
287
|
-
*/
|
288
|
-
this.onHide = new EventEmitter();
|
289
|
-
/** This event is fired when the modal has finished being
|
290
|
-
* hidden from the user (will wait for CSS transitions to complete).
|
291
|
-
*/
|
292
|
-
this.onHidden = new EventEmitter();
|
293
|
-
this._isShown = false;
|
294
|
-
this.isBodyOverflowing = false;
|
295
|
-
this.originalBodyPadding = 0;
|
296
|
-
this.scrollbarWidth = 0;
|
297
|
-
this.timerHideModal = 0;
|
298
|
-
this.timerRmBackDrop = 0;
|
299
|
-
this.isNested = false;
|
300
|
-
this.clickStartedInContent = false;
|
301
|
-
this._backdrop = clf.createLoader(_element, _viewContainerRef, _renderer);
|
302
|
-
this._config = modalDefaultOption || modalConfigDefaults;
|
303
|
-
}
|
304
|
-
/** allows to set modal configuration via element property */
|
305
|
-
set config(conf) {
|
306
|
-
this._config = this.getConfig(conf);
|
307
|
-
}
|
308
|
-
get config() {
|
309
|
-
return this._config;
|
310
|
-
}
|
311
|
-
get isShown() {
|
312
|
-
return this._isShown;
|
313
|
-
}
|
314
|
-
onClickStarted(event) {
|
315
|
-
this.clickStartedInContent = event.target !== this._element.nativeElement;
|
316
|
-
}
|
317
|
-
onClickStop(event) {
|
318
|
-
const clickedInBackdrop = event.target === this._element.nativeElement && !this.clickStartedInContent;
|
319
|
-
if (this.config.ignoreBackdropClick ||
|
320
|
-
this.config.backdrop === 'static' ||
|
321
|
-
!clickedInBackdrop) {
|
322
|
-
this.clickStartedInContent = false;
|
323
|
-
return;
|
324
|
-
}
|
325
|
-
this.dismissReason = DISMISS_REASONS.BACKRDOP;
|
326
|
-
this.hide(event);
|
327
|
-
}
|
328
|
-
// todo: consider preventing default and stopping propagation
|
329
|
-
onEsc(event) {
|
330
|
-
if (!this._isShown) {
|
331
|
-
return;
|
332
|
-
}
|
333
|
-
if (event.keyCode === 27 || event.key === 'Escape') {
|
334
|
-
event.preventDefault();
|
335
|
-
}
|
336
|
-
if (this.config.keyboard) {
|
337
|
-
this.dismissReason = DISMISS_REASONS.ESC;
|
338
|
-
this.hide();
|
339
|
-
}
|
340
|
-
}
|
341
|
-
ngOnDestroy() {
|
342
|
-
if (this._isShown) {
|
343
|
-
this._isShown = false;
|
344
|
-
this.hideModal();
|
345
|
-
this._backdrop.dispose();
|
346
|
-
}
|
347
|
-
}
|
348
|
-
ngOnInit() {
|
349
|
-
this._config = this._config || this.getConfig();
|
350
|
-
setTimeout(() => {
|
351
|
-
if (this._config.show) {
|
352
|
-
this.show();
|
353
|
-
}
|
354
|
-
}, 0);
|
355
|
-
}
|
356
|
-
/* Public methods */
|
357
|
-
/** Allows to manually toggle modal visibility */
|
358
|
-
toggle() {
|
359
|
-
return this._isShown ? this.hide() : this.show();
|
360
|
-
}
|
361
|
-
/** Allows to manually open modal */
|
362
|
-
show() {
|
363
|
-
this.dismissReason = void 0;
|
364
|
-
this.onShow.emit(this);
|
365
|
-
if (this._isShown) {
|
366
|
-
return;
|
367
|
-
}
|
368
|
-
clearTimeout(this.timerHideModal);
|
369
|
-
clearTimeout(this.timerRmBackDrop);
|
370
|
-
this._isShown = true;
|
371
|
-
this.checkScrollbar();
|
372
|
-
this.setScrollbar();
|
373
|
-
if (document$1 && document$1.body) {
|
374
|
-
if (document$1.body.classList.contains(CLASS_NAME.OPEN)) {
|
375
|
-
this.isNested = true;
|
376
|
-
}
|
377
|
-
else {
|
378
|
-
this._renderer.addClass(document$1.body, CLASS_NAME.OPEN);
|
379
|
-
this._renderer.setStyle(document$1.body, 'overflow-y', 'hidden');
|
380
|
-
}
|
381
|
-
}
|
382
|
-
this.showBackdrop(() => {
|
383
|
-
this.showElement();
|
384
|
-
});
|
385
|
-
}
|
386
|
-
/** Check if we can close the modal */
|
387
|
-
hide(event) {
|
388
|
-
if (!this._isShown) {
|
389
|
-
return;
|
390
|
-
}
|
391
|
-
if (event) {
|
392
|
-
event.preventDefault();
|
393
|
-
}
|
394
|
-
if (this.config.closeInterceptor) {
|
395
|
-
this.config.closeInterceptor().then(() => this._hide(), () => undefined);
|
396
|
-
return;
|
397
|
-
}
|
398
|
-
this._hide();
|
399
|
-
}
|
400
|
-
/** Private methods @internal */
|
401
|
-
/**
|
402
|
-
* Manually close modal
|
403
|
-
* @internal
|
404
|
-
*/
|
405
|
-
_hide() {
|
406
|
-
this.onHide.emit(this);
|
407
|
-
window$1.clearTimeout(this.timerHideModal);
|
408
|
-
window$1.clearTimeout(this.timerRmBackDrop);
|
409
|
-
this._isShown = false;
|
410
|
-
this._renderer.removeClass(this._element.nativeElement, CLASS_NAME.SHOW);
|
411
|
-
if (this._config.animated) {
|
412
|
-
this.timerHideModal = window$1.setTimeout(() => this.hideModal(), TRANSITION_DURATION);
|
413
|
-
}
|
414
|
-
else {
|
415
|
-
this.hideModal();
|
416
|
-
}
|
417
|
-
}
|
418
|
-
getConfig(config) {
|
419
|
-
return Object.assign({}, this._config, config);
|
420
|
-
}
|
421
|
-
/**
|
422
|
-
* Show dialog
|
423
|
-
* @internal
|
424
|
-
*/
|
425
|
-
showElement() {
|
426
|
-
// todo: replace this with component loader usage
|
427
|
-
if (!this._element.nativeElement.parentNode ||
|
428
|
-
this._element.nativeElement.parentNode.nodeType !== Node.ELEMENT_NODE) {
|
429
|
-
// don't move modals dom position
|
430
|
-
if (document$1 && document$1.body) {
|
431
|
-
document$1.body.appendChild(this._element.nativeElement);
|
432
|
-
}
|
433
|
-
}
|
434
|
-
this._renderer.setAttribute(this._element.nativeElement, 'aria-hidden', 'false');
|
435
|
-
this._renderer.setAttribute(this._element.nativeElement, 'aria-modal', 'true');
|
436
|
-
this._renderer.setStyle(this._element.nativeElement, 'display', 'block');
|
437
|
-
this._renderer.setProperty(this._element.nativeElement, 'scrollTop', 0);
|
438
|
-
if (this._config.animated) {
|
439
|
-
Utils.reflow(this._element.nativeElement);
|
440
|
-
}
|
441
|
-
this._renderer.addClass(this._element.nativeElement, CLASS_NAME.SHOW);
|
442
|
-
const transitionComplete = () => {
|
443
|
-
if (this._config.focus) {
|
444
|
-
this._element.nativeElement.focus();
|
445
|
-
}
|
446
|
-
this.onShown.emit(this);
|
447
|
-
};
|
448
|
-
if (this._config.animated) {
|
449
|
-
setTimeout(transitionComplete, TRANSITION_DURATION);
|
450
|
-
}
|
451
|
-
else {
|
452
|
-
transitionComplete();
|
453
|
-
}
|
454
|
-
}
|
455
|
-
/** @internal */
|
456
|
-
hideModal() {
|
457
|
-
this._renderer.setAttribute(this._element.nativeElement, 'aria-hidden', 'true');
|
458
|
-
this._renderer.setStyle(this._element.nativeElement, 'display', 'none');
|
459
|
-
this.showBackdrop(() => {
|
460
|
-
if (!this.isNested) {
|
461
|
-
if (document$1 && document$1.body) {
|
462
|
-
this._renderer.removeClass(document$1.body, CLASS_NAME.OPEN);
|
463
|
-
this._renderer.setStyle(document$1.body, 'overflow-y', '');
|
464
|
-
}
|
465
|
-
this.resetScrollbar();
|
466
|
-
}
|
467
|
-
this.resetAdjustments();
|
468
|
-
this.focusOtherModal();
|
469
|
-
this.onHidden.emit(this);
|
470
|
-
});
|
471
|
-
}
|
472
|
-
// todo: original show was calling a callback when done, but we can use
|
473
|
-
// promise
|
474
|
-
/** @internal */
|
475
|
-
showBackdrop(callback) {
|
476
|
-
if (this._isShown &&
|
477
|
-
this.config.backdrop &&
|
478
|
-
(!this.backdrop || !this.backdrop.instance.isShown)) {
|
479
|
-
this.removeBackdrop();
|
480
|
-
this._backdrop
|
481
|
-
.attach(ModalBackdropComponent)
|
482
|
-
.to('body')
|
483
|
-
.show({ isAnimated: this._config.animated });
|
484
|
-
this.backdrop = this._backdrop._componentRef;
|
485
|
-
if (!callback) {
|
486
|
-
return;
|
487
|
-
}
|
488
|
-
if (!this._config.animated) {
|
489
|
-
callback();
|
490
|
-
return;
|
491
|
-
}
|
492
|
-
setTimeout(callback, BACKDROP_TRANSITION_DURATION);
|
493
|
-
}
|
494
|
-
else if (!this._isShown && this.backdrop) {
|
495
|
-
this.backdrop.instance.isShown = false;
|
496
|
-
const callbackRemove = () => {
|
497
|
-
this.removeBackdrop();
|
498
|
-
if (callback) {
|
499
|
-
callback();
|
500
|
-
}
|
501
|
-
};
|
502
|
-
if (this.backdrop.instance.isAnimated) {
|
503
|
-
this.timerRmBackDrop = window$1.setTimeout(callbackRemove, BACKDROP_TRANSITION_DURATION);
|
504
|
-
}
|
505
|
-
else {
|
506
|
-
callbackRemove();
|
507
|
-
}
|
508
|
-
}
|
509
|
-
else if (callback) {
|
510
|
-
callback();
|
511
|
-
}
|
512
|
-
}
|
513
|
-
/** @internal */
|
514
|
-
removeBackdrop() {
|
515
|
-
this._backdrop.hide();
|
516
|
-
}
|
517
|
-
/** Events tricks */
|
518
|
-
// no need for it
|
519
|
-
// protected setEscapeEvent():void {
|
520
|
-
// if (this._isShown && this._config.keyboard) {
|
521
|
-
// $(this._element).on(Event.KEYDOWN_DISMISS, (event) => {
|
522
|
-
// if (event.which === 27) {
|
523
|
-
// this.hide()
|
524
|
-
// }
|
525
|
-
// })
|
526
|
-
//
|
527
|
-
// } else if (!this._isShown) {
|
528
|
-
// $(this._element).off(Event.KEYDOWN_DISMISS)
|
529
|
-
// }
|
530
|
-
// }
|
531
|
-
// protected setResizeEvent():void {
|
532
|
-
// console.log(this.renderer.listenGlobal('', Event.RESIZE));
|
533
|
-
// if (this._isShown) {
|
534
|
-
// $(window).on(Event.RESIZE, $.proxy(this._handleUpdate, this))
|
535
|
-
// } else {
|
536
|
-
// $(window).off(Event.RESIZE)
|
537
|
-
// }
|
538
|
-
// }
|
539
|
-
focusOtherModal() {
|
540
|
-
if (this._element.nativeElement.parentElement == null) {
|
541
|
-
return;
|
542
|
-
}
|
543
|
-
const otherOpenedModals = this._element.nativeElement.parentElement.querySelectorAll('.in[bsModal]');
|
544
|
-
if (!otherOpenedModals.length) {
|
545
|
-
return;
|
546
|
-
}
|
547
|
-
otherOpenedModals[otherOpenedModals.length - 1].focus();
|
548
|
-
}
|
549
|
-
/** @internal */
|
550
|
-
resetAdjustments() {
|
551
|
-
this._renderer.setStyle(this._element.nativeElement, 'paddingLeft', '');
|
552
|
-
this._renderer.setStyle(this._element.nativeElement, 'paddingRight', '');
|
553
|
-
}
|
554
|
-
/** Scroll bar tricks */
|
555
|
-
/** @internal */
|
556
|
-
checkScrollbar() {
|
557
|
-
this.isBodyOverflowing = document$1.body.clientWidth < window$1.innerWidth;
|
558
|
-
this.scrollbarWidth = this.getScrollbarWidth();
|
559
|
-
}
|
560
|
-
setScrollbar() {
|
561
|
-
if (!document$1) {
|
562
|
-
return;
|
563
|
-
}
|
564
|
-
this.originalBodyPadding = parseInt(window$1
|
565
|
-
.getComputedStyle(document$1.body)
|
566
|
-
.getPropertyValue('padding-right') || 0, 10);
|
567
|
-
if (this.isBodyOverflowing) {
|
568
|
-
document$1.body.style.paddingRight = `${this.originalBodyPadding +
|
569
|
-
this.scrollbarWidth}px`;
|
570
|
-
}
|
571
|
-
}
|
572
|
-
resetScrollbar() {
|
573
|
-
document$1.body.style.paddingRight = `${this.originalBodyPadding}px`;
|
574
|
-
}
|
575
|
-
// thx d.walsh
|
576
|
-
getScrollbarWidth() {
|
577
|
-
const scrollDiv = this._renderer.createElement('div');
|
578
|
-
this._renderer.addClass(scrollDiv, CLASS_NAME.SCROLLBAR_MEASURER);
|
579
|
-
this._renderer.appendChild(document$1.body, scrollDiv);
|
580
|
-
const scrollbarWidth = scrollDiv.offsetWidth - scrollDiv.clientWidth;
|
581
|
-
this._renderer.removeChild(document$1.body, scrollDiv);
|
582
|
-
return scrollbarWidth;
|
583
|
-
}
|
584
|
-
}
|
585
|
-
ModalDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", 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 });
|
586
|
-
ModalDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.3", type: ModalDirective, 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 });
|
587
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ModalDirective, decorators: [{
|
588
|
-
type: Directive,
|
589
|
-
args: [{
|
590
|
-
selector: '[bsModal]',
|
591
|
-
exportAs: 'bs-modal'
|
592
|
-
}]
|
593
|
-
}], ctorParameters: function () {
|
594
|
-
return [{ type: i0.ElementRef }, { type: i0.ViewContainerRef }, { type: i0.Renderer2 }, { type: i1.ComponentLoaderFactory }, { type: ModalOptions, decorators: [{
|
595
|
-
type: Optional
|
596
|
-
}, {
|
597
|
-
type: Inject,
|
598
|
-
args: [MODAL_CONFIG_DEFAULT_OVERRIDE]
|
599
|
-
}] }];
|
600
|
-
}, propDecorators: { config: [{
|
601
|
-
type: Input
|
602
|
-
}], closeInterceptor: [{
|
603
|
-
type: Input
|
604
|
-
}], onShow: [{
|
605
|
-
type: Output
|
606
|
-
}], onShown: [{
|
607
|
-
type: Output
|
608
|
-
}], onHide: [{
|
609
|
-
type: Output
|
610
|
-
}], onHidden: [{
|
611
|
-
type: Output
|
612
|
-
}], onClickStarted: [{
|
613
|
-
type: HostListener,
|
614
|
-
args: ['mousedown', ['$event']]
|
615
|
-
}], onClickStop: [{
|
616
|
-
type: HostListener,
|
617
|
-
args: ['mouseup', ['$event']]
|
618
|
-
}], onEsc: [{
|
619
|
-
type: HostListener,
|
620
|
-
args: ['keydown.esc', ['$event']]
|
621
|
-
}] } });
|
622
|
-
|
623
|
-
let currentId = 1;
|
624
|
-
class BsModalService {
|
625
|
-
constructor(rendererFactory, clf, modalDefaultOption) {
|
626
|
-
this.clf = clf;
|
627
|
-
this.modalDefaultOption = modalDefaultOption;
|
628
|
-
this.onShow = new EventEmitter();
|
629
|
-
this.onShown = new EventEmitter();
|
630
|
-
this.onHide = new EventEmitter();
|
631
|
-
this.onHidden = new EventEmitter();
|
632
|
-
this.isBodyOverflowing = false;
|
633
|
-
this.originalBodyPadding = 0;
|
634
|
-
this.scrollbarWidth = 0;
|
635
|
-
this.modalsCount = 0;
|
636
|
-
this.loaders = [];
|
637
|
-
this._backdropLoader = this.clf.createLoader();
|
638
|
-
this._renderer = rendererFactory.createRenderer(null, null);
|
639
|
-
this.config = modalDefaultOption ?
|
640
|
-
(Object.assign({}, modalConfigDefaults, modalDefaultOption)) :
|
641
|
-
modalConfigDefaults;
|
642
|
-
}
|
643
|
-
/** Shows a modal */
|
644
|
-
show(
|
645
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
646
|
-
content, config) {
|
647
|
-
this.modalsCount++;
|
648
|
-
this._createLoaders();
|
649
|
-
// must be different per every show() call
|
650
|
-
const id = (config === null || config === void 0 ? void 0 : config.id) || currentId++;
|
651
|
-
this.config = this.modalDefaultOption ?
|
652
|
-
Object.assign({}, modalConfigDefaults, this.modalDefaultOption, config) :
|
653
|
-
Object.assign({}, modalConfigDefaults, config);
|
654
|
-
this.config.id = id;
|
655
|
-
this._showBackdrop();
|
656
|
-
this.lastDismissReason = void 0;
|
657
|
-
return this._showModal(content);
|
658
|
-
}
|
659
|
-
hide(id) {
|
660
|
-
if (this.modalsCount === 1 || id == null) {
|
661
|
-
this._hideBackdrop();
|
662
|
-
this.resetScrollbar();
|
663
|
-
}
|
664
|
-
this.modalsCount = this.modalsCount >= 1 && id != null ? this.modalsCount - 1 : 0;
|
665
|
-
setTimeout(() => {
|
666
|
-
this._hideModal(id);
|
667
|
-
this.removeLoaders(id);
|
668
|
-
}, this.config.animated ? TRANSITION_DURATIONS.BACKDROP : 0);
|
669
|
-
}
|
670
|
-
_showBackdrop() {
|
671
|
-
const isBackdropEnabled = this.config.backdrop === true || this.config.backdrop === 'static';
|
672
|
-
const isBackdropInDOM = !this.backdropRef || !this.backdropRef.instance.isShown;
|
673
|
-
if (this.modalsCount === 1) {
|
674
|
-
this.removeBackdrop();
|
675
|
-
if (isBackdropEnabled && isBackdropInDOM) {
|
676
|
-
this._backdropLoader
|
677
|
-
.attach(ModalBackdropComponent)
|
678
|
-
.to('body')
|
679
|
-
.show({ isAnimated: this.config.animated });
|
680
|
-
this.backdropRef = this._backdropLoader._componentRef;
|
681
|
-
}
|
682
|
-
}
|
683
|
-
}
|
684
|
-
_hideBackdrop() {
|
685
|
-
if (!this.backdropRef) {
|
686
|
-
return;
|
687
|
-
}
|
688
|
-
this.backdropRef.instance.isShown = false;
|
689
|
-
const duration = this.config.animated ? TRANSITION_DURATIONS.BACKDROP : 0;
|
690
|
-
setTimeout(() => this.removeBackdrop(), duration);
|
691
|
-
}
|
692
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
693
|
-
_showModal(content) {
|
694
|
-
var _a;
|
695
|
-
const modalLoader = this.loaders[this.loaders.length - 1];
|
696
|
-
if (this.config && this.config.providers) {
|
697
|
-
for (const provider of this.config.providers) {
|
698
|
-
modalLoader.provide(provider);
|
699
|
-
}
|
700
|
-
}
|
701
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
702
|
-
const bsModalRef = new BsModalRef();
|
703
|
-
const modalContainerRef = modalLoader
|
704
|
-
.provide({ provide: ModalOptions, useValue: this.config })
|
705
|
-
.provide({ provide: BsModalRef, useValue: bsModalRef })
|
706
|
-
.attach(ModalContainerComponent)
|
707
|
-
.to('body');
|
708
|
-
bsModalRef.hide = () => this.hide(bsModalRef.id);
|
709
|
-
bsModalRef.setClass = (newClass) => {
|
710
|
-
if (modalContainerRef.instance) {
|
711
|
-
modalContainerRef.instance.config.class = newClass;
|
712
|
-
}
|
713
|
-
};
|
714
|
-
bsModalRef.onHidden = new EventEmitter();
|
715
|
-
bsModalRef.onHide = new EventEmitter();
|
716
|
-
this.copyEvent(modalLoader.onBeforeHide, bsModalRef.onHide);
|
717
|
-
this.copyEvent(modalLoader.onHidden, bsModalRef.onHidden);
|
718
|
-
// call 'show' method after assign setClass in bsModalRef.
|
719
|
-
// it makes modal component's bsModalRef available to call setClass method
|
720
|
-
modalContainerRef.show({
|
721
|
-
content,
|
722
|
-
isAnimated: this.config.animated,
|
723
|
-
initialState: this.config.initialState,
|
724
|
-
bsModalService: this,
|
725
|
-
id: this.config.id
|
726
|
-
});
|
727
|
-
if (modalContainerRef.instance) {
|
728
|
-
modalContainerRef.instance.level = this.getModalsCount();
|
729
|
-
bsModalRef.content = modalLoader.getInnerComponent();
|
730
|
-
bsModalRef.id = (_a = modalContainerRef.instance.config) === null || _a === void 0 ? void 0 : _a.id;
|
731
|
-
}
|
732
|
-
return bsModalRef;
|
733
|
-
}
|
734
|
-
_hideModal(id) {
|
735
|
-
if (id != null) {
|
736
|
-
const indexToRemove = this.loaders.findIndex(loader => { var _a; return ((_a = loader.instance) === null || _a === void 0 ? void 0 : _a.config.id) === id; });
|
737
|
-
const modalLoader = this.loaders[indexToRemove];
|
738
|
-
if (modalLoader) {
|
739
|
-
modalLoader.hide(id);
|
740
|
-
}
|
741
|
-
}
|
742
|
-
else {
|
743
|
-
this.loaders.forEach((loader) => {
|
744
|
-
if (loader.instance) {
|
745
|
-
loader.hide(loader.instance.config.id);
|
746
|
-
}
|
747
|
-
});
|
748
|
-
}
|
749
|
-
}
|
750
|
-
getModalsCount() {
|
751
|
-
return this.modalsCount;
|
752
|
-
}
|
753
|
-
setDismissReason(reason) {
|
754
|
-
this.lastDismissReason = reason;
|
755
|
-
}
|
756
|
-
removeBackdrop() {
|
757
|
-
this._renderer.removeClass(document.body, CLASS_NAME.OPEN);
|
758
|
-
this._renderer.setStyle(document.body, 'overflow-y', '');
|
759
|
-
this._backdropLoader.hide();
|
760
|
-
this.backdropRef = void 0;
|
761
|
-
}
|
762
|
-
/** Checks if the body is overflowing and sets scrollbar width */
|
763
|
-
/** @internal */
|
764
|
-
checkScrollbar() {
|
765
|
-
this.isBodyOverflowing = document.body.clientWidth < window.innerWidth;
|
766
|
-
this.scrollbarWidth = this.getScrollbarWidth();
|
767
|
-
}
|
768
|
-
setScrollbar() {
|
769
|
-
if (!document) {
|
770
|
-
return;
|
771
|
-
}
|
772
|
-
this.originalBodyPadding = parseInt(window
|
773
|
-
.getComputedStyle(document.body)
|
774
|
-
.getPropertyValue('padding-right') || '0', 10);
|
775
|
-
if (this.isBodyOverflowing) {
|
776
|
-
document.body.style.paddingRight = `${this.originalBodyPadding +
|
777
|
-
this.scrollbarWidth}px`;
|
778
|
-
}
|
779
|
-
}
|
780
|
-
resetScrollbar() {
|
781
|
-
document.body.style.paddingRight = `${this.originalBodyPadding}px`;
|
782
|
-
}
|
783
|
-
// thx d.walsh
|
784
|
-
getScrollbarWidth() {
|
785
|
-
const scrollDiv = this._renderer.createElement('div');
|
786
|
-
this._renderer.addClass(scrollDiv, CLASS_NAME.SCROLLBAR_MEASURER);
|
787
|
-
this._renderer.appendChild(document.body, scrollDiv);
|
788
|
-
const scrollbarWidth = scrollDiv.offsetWidth - scrollDiv.clientWidth;
|
789
|
-
this._renderer.removeChild(document.body, scrollDiv);
|
790
|
-
return scrollbarWidth;
|
791
|
-
}
|
792
|
-
_createLoaders() {
|
793
|
-
const loader = this.clf.createLoader();
|
794
|
-
this.copyEvent(loader.onBeforeShow, this.onShow);
|
795
|
-
this.copyEvent(loader.onShown, this.onShown);
|
796
|
-
this.copyEvent(loader.onBeforeHide, this.onHide);
|
797
|
-
this.copyEvent(loader.onHidden, this.onHidden);
|
798
|
-
this.loaders.push(loader);
|
799
|
-
}
|
800
|
-
removeLoaders(id) {
|
801
|
-
if (id != null) {
|
802
|
-
const indexToRemove = this.loaders.findIndex(loader => { var _a; return ((_a = loader.instance) === null || _a === void 0 ? void 0 : _a.config.id) === id; });
|
803
|
-
if (indexToRemove >= 0) {
|
804
|
-
this.loaders.splice(indexToRemove, 1);
|
805
|
-
this.loaders.forEach((loader, i) => {
|
806
|
-
if (loader.instance) {
|
807
|
-
loader.instance.level = i + 1;
|
808
|
-
}
|
809
|
-
});
|
810
|
-
}
|
811
|
-
}
|
812
|
-
else {
|
813
|
-
this.loaders.splice(0, this.loaders.length);
|
814
|
-
}
|
815
|
-
}
|
816
|
-
copyEvent(from, to) {
|
817
|
-
from.subscribe((data) => {
|
818
|
-
to.emit(this.lastDismissReason || data);
|
819
|
-
});
|
820
|
-
}
|
821
|
-
}
|
822
|
-
BsModalService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: BsModalService, deps: [{ token: i0.RendererFactory2 }, { token: i1.ComponentLoaderFactory }, { token: MODAL_CONFIG_DEFAULT_OVERRIDE, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
823
|
-
BsModalService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: BsModalService, providedIn: 'platform' });
|
824
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: BsModalService, decorators: [{
|
825
|
-
type: Injectable,
|
826
|
-
args: [{ providedIn: 'platform' }]
|
827
|
-
}], ctorParameters: function () {
|
828
|
-
return [{ type: i0.RendererFactory2 }, { type: i1.ComponentLoaderFactory }, { type: ModalOptions, decorators: [{
|
829
|
-
type: Optional
|
830
|
-
}, {
|
831
|
-
type: Inject,
|
832
|
-
args: [MODAL_CONFIG_DEFAULT_OVERRIDE]
|
833
|
-
}] }];
|
834
|
-
} });
|
835
|
-
|
836
|
-
const focusTrapModule = FocusTrapModule.forRoot();
|
837
|
-
class ModalModule {
|
838
|
-
static forRoot() {
|
839
|
-
return {
|
840
|
-
ngModule: ModalModule,
|
841
|
-
providers: [BsModalService, ComponentLoaderFactory, PositioningService]
|
842
|
-
};
|
843
|
-
}
|
844
|
-
static forChild() {
|
845
|
-
return {
|
846
|
-
ngModule: ModalModule,
|
847
|
-
providers: [BsModalService, ComponentLoaderFactory, PositioningService]
|
848
|
-
};
|
849
|
-
}
|
850
|
-
}
|
851
|
-
ModalModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ModalModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
852
|
-
ModalModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.3", ngImport: i0, type: ModalModule, declarations: [ModalBackdropComponent,
|
853
|
-
ModalDirective,
|
854
|
-
ModalContainerComponent], imports: [FocusTrapModule], exports: [ModalBackdropComponent, ModalDirective] });
|
855
|
-
ModalModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ModalModule, imports: [FocusTrapModule] });
|
856
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ModalModule, decorators: [{
|
857
|
-
type: NgModule,
|
858
|
-
args: [{
|
859
|
-
imports: [FocusTrapModule],
|
860
|
-
declarations: [
|
861
|
-
ModalBackdropComponent,
|
862
|
-
ModalDirective,
|
863
|
-
ModalContainerComponent
|
864
|
-
],
|
865
|
-
exports: [ModalBackdropComponent, ModalDirective]
|
866
|
-
}]
|
867
|
-
}] });
|
868
|
-
|
869
|
-
/**
|
870
|
-
* Generated bundle index. Do not edit.
|
871
|
-
*/
|
872
|
-
|
873
|
-
export { BsModalRef, BsModalService, MODAL_CONFIG_DEFAULT_OVERRIDE, ModalBackdropComponent, ModalBackdropOptions, ModalContainerComponent, ModalDirective, ModalModule, ModalOptions };
|
874
|
-
//# sourceMappingURL=ngx-bootstrap-modal.mjs.map
|