ngx-bootstrap 5.4.0 → 5.6.2
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/CHANGELOG.md +138 -99
- package/accordion/bundles/ngx-bootstrap-accordion.umd.js +71 -2
- package/accordion/bundles/ngx-bootstrap-accordion.umd.js.map +1 -1
- package/accordion/bundles/ngx-bootstrap-accordion.umd.min.js +1 -1
- package/accordion/bundles/ngx-bootstrap-accordion.umd.min.js.map +1 -1
- package/accordion/fesm2015/ngx-bootstrap-accordion.js +79 -0
- package/accordion/fesm2015/ngx-bootstrap-accordion.js.map +1 -1
- package/accordion/fesm5/ngx-bootstrap-accordion.js +80 -1
- package/accordion/fesm5/ngx-bootstrap-accordion.js.map +1 -1
- package/accordion/package.json +2 -2
- package/alert/bundles/ngx-bootstrap-alert.umd.js +224 -2
- package/alert/bundles/ngx-bootstrap-alert.umd.js.map +1 -1
- package/alert/bundles/ngx-bootstrap-alert.umd.min.js +15 -1
- package/alert/bundles/ngx-bootstrap-alert.umd.min.js.map +1 -1
- package/alert/fesm2015/ngx-bootstrap-alert.js +71 -0
- package/alert/fesm2015/ngx-bootstrap-alert.js.map +1 -1
- package/alert/fesm5/ngx-bootstrap-alert.js +72 -1
- package/alert/fesm5/ngx-bootstrap-alert.js.map +1 -1
- package/alert/package.json +2 -2
- package/buttons/bundles/ngx-bootstrap-buttons.umd.js +208 -85
- package/buttons/bundles/ngx-bootstrap-buttons.umd.js.map +1 -1
- package/buttons/bundles/ngx-bootstrap-buttons.umd.min.js +1 -1
- package/buttons/bundles/ngx-bootstrap-buttons.umd.min.js.map +1 -1
- package/buttons/button-radio-group.directive.d.ts +4 -1
- package/buttons/esm2015/button-radio-group.directive.js +26 -2
- package/buttons/esm5/button-radio-group.directive.js +30 -2
- package/buttons/fesm2015/ngx-bootstrap-buttons.js +194 -65
- package/buttons/fesm2015/ngx-bootstrap-buttons.js.map +1 -1
- package/buttons/fesm5/ngx-bootstrap-buttons.js +216 -83
- package/buttons/fesm5/ngx-bootstrap-buttons.js.map +1 -1
- package/buttons/ngx-bootstrap-buttons.metadata.json +1 -1
- package/buttons/package.json +2 -2
- package/carousel/bundles/ngx-bootstrap-carousel.umd.js +295 -4
- package/carousel/bundles/ngx-bootstrap-carousel.umd.js.map +1 -1
- package/carousel/bundles/ngx-bootstrap-carousel.umd.min.js +15 -1
- package/carousel/bundles/ngx-bootstrap-carousel.umd.min.js.map +1 -1
- package/carousel/carousel.component.d.ts +2 -0
- package/carousel/esm2015/carousel.component.js +15 -2
- package/carousel/esm2015/slide.component.js +21 -2
- package/carousel/esm5/carousel.component.js +15 -2
- package/carousel/esm5/slide.component.js +6 -2
- package/carousel/fesm2015/ngx-bootstrap-carousel.js +169 -2
- package/carousel/fesm2015/ngx-bootstrap-carousel.js.map +1 -1
- package/carousel/fesm5/ngx-bootstrap-carousel.js +156 -4
- package/carousel/fesm5/ngx-bootstrap-carousel.js.map +1 -1
- package/carousel/ngx-bootstrap-carousel.metadata.json +1 -1
- package/carousel/package.json +2 -2
- package/carousel/slide.component.d.ts +1 -0
- package/chronos/bundles/ngx-bootstrap-chronos.umd.js +11172 -10061
- package/chronos/bundles/ngx-bootstrap-chronos.umd.js.map +1 -1
- package/chronos/bundles/ngx-bootstrap-chronos.umd.min.js +1 -1
- package/chronos/bundles/ngx-bootstrap-chronos.umd.min.js.map +1 -1
- package/chronos/esm2015/format/format.js +1 -1
- package/chronos/esm2015/i18n/ka.js +108 -0
- package/chronos/esm2015/i18n/kk.js +89 -0
- package/chronos/esm2015/i18n/sq.js +62 -0
- package/chronos/esm2015/i18n/th-be.js +85 -0
- package/chronos/esm2015/index.js +2 -2
- package/chronos/esm2015/locale/locale.class.js +16 -2
- package/chronos/esm2015/ngx-bootstrap-chronos.js +2 -2
- package/chronos/esm2015/public_api.js +5 -1
- package/chronos/esm2015/units/year.js +4 -1
- package/chronos/esm5/format/format.js +1 -1
- package/chronos/esm5/i18n/ka.js +108 -0
- package/chronos/esm5/i18n/kk.js +89 -0
- package/chronos/esm5/i18n/sq.js +62 -0
- package/chronos/esm5/i18n/th-be.js +86 -0
- package/chronos/esm5/index.js +2 -2
- package/chronos/esm5/locale/locale.class.js +22 -2
- package/chronos/esm5/ngx-bootstrap-chronos.js +2 -2
- package/chronos/esm5/public_api.js +5 -1
- package/chronos/esm5/units/year.js +4 -1
- package/chronos/fesm2015/ngx-bootstrap-chronos.js +1117 -13
- package/chronos/fesm2015/ngx-bootstrap-chronos.js.map +1 -1
- package/chronos/fesm5/ngx-bootstrap-chronos.js +1130 -13
- package/chronos/fesm5/ngx-bootstrap-chronos.js.map +1 -1
- package/chronos/i18n/ka.d.ts +2 -0
- package/chronos/i18n/kk.d.ts +2 -0
- package/chronos/i18n/sq.d.ts +2 -0
- package/chronos/i18n/th-be.d.ts +2 -0
- package/chronos/locale/locale.class.d.ts +2 -0
- package/chronos/ngx-bootstrap-chronos.metadata.json +1 -1
- package/chronos/package.json +2 -2
- package/chronos/public_api.d.ts +4 -0
- package/collapse/bundles/ngx-bootstrap-collapse.umd.js +100 -2
- package/collapse/bundles/ngx-bootstrap-collapse.umd.js.map +1 -1
- package/collapse/bundles/ngx-bootstrap-collapse.umd.min.js +1 -1
- package/collapse/bundles/ngx-bootstrap-collapse.umd.min.js.map +1 -1
- package/collapse/collapse.directive.d.ts +1 -0
- package/collapse/esm2015/collapse.directive.js +14 -1
- package/collapse/esm5/collapse.directive.js +14 -1
- package/collapse/fesm2015/ngx-bootstrap-collapse.js +108 -0
- package/collapse/fesm2015/ngx-bootstrap-collapse.js.map +1 -1
- package/collapse/fesm5/ngx-bootstrap-collapse.js +109 -1
- package/collapse/fesm5/ngx-bootstrap-collapse.js.map +1 -1
- package/collapse/ngx-bootstrap-collapse.metadata.json +1 -1
- package/collapse/package.json +2 -2
- package/component-loader/bundles/ngx-bootstrap-component-loader.umd.js +169 -2
- package/component-loader/bundles/ngx-bootstrap-component-loader.umd.js.map +1 -1
- package/component-loader/bundles/ngx-bootstrap-component-loader.umd.min.js +1 -1
- package/component-loader/bundles/ngx-bootstrap-component-loader.umd.min.js.map +1 -1
- package/component-loader/fesm2015/ngx-bootstrap-component-loader.js +177 -0
- package/component-loader/fesm2015/ngx-bootstrap-component-loader.js.map +1 -1
- package/component-loader/fesm5/ngx-bootstrap-component-loader.js +178 -1
- package/component-loader/fesm5/ngx-bootstrap-component-loader.js.map +1 -1
- package/component-loader/package.json +2 -2
- package/datepicker/base/bs-datepicker-container.d.ts +4 -1
- package/datepicker/bs-datepicker-inline.component.d.ts +4 -0
- package/datepicker/bs-datepicker-input.directive.d.ts +1 -0
- package/datepicker/bs-datepicker.component.d.ts +12 -3
- package/datepicker/bs-datepicker.config.d.ts +26 -0
- package/datepicker/bs-datepicker.css +19 -1
- package/datepicker/bs-datepicker.css.map +3 -3
- package/datepicker/bs-datepicker.scss +0 -1
- package/datepicker/bs-daterangepicker-inline.component.d.ts +8 -0
- package/datepicker/bs-daterangepicker-input.directive.d.ts +1 -0
- package/datepicker/bs-daterangepicker.component.d.ts +16 -3
- package/datepicker/bundles/ngx-bootstrap-datepicker.umd.js +2116 -106
- package/datepicker/bundles/ngx-bootstrap-datepicker.umd.js.map +1 -1
- package/datepicker/bundles/ngx-bootstrap-datepicker.umd.min.js +15 -1
- package/datepicker/bundles/ngx-bootstrap-datepicker.umd.min.js.map +1 -1
- package/datepicker/engine/flag-days-calendar.d.ts +1 -0
- package/datepicker/esm2015/base/bs-datepicker-container.js +18 -3
- package/datepicker/esm2015/bs-datepicker-inline.component.js +25 -9
- package/datepicker/esm2015/bs-datepicker-input.directive.js +19 -1
- package/datepicker/esm2015/bs-datepicker.component.js +55 -8
- package/datepicker/esm2015/bs-datepicker.config.js +36 -2
- package/datepicker/esm2015/bs-datepicker.module.js +23 -16
- package/datepicker/esm2015/bs-daterangepicker-inline.component.js +37 -7
- package/datepicker/esm2015/bs-daterangepicker-input.directive.js +34 -3
- package/datepicker/esm2015/bs-daterangepicker.component.js +66 -9
- package/datepicker/esm2015/engine/flag-days-calendar.js +6 -3
- package/datepicker/esm2015/reducer/bs-datepicker.actions.js +14 -1
- package/datepicker/esm2015/reducer/bs-datepicker.effects.js +15 -11
- package/datepicker/esm2015/reducer/bs-datepicker.reducer.js +25 -6
- package/datepicker/esm2015/reducer/bs-datepicker.state.js +5 -1
- package/datepicker/esm2015/themes/bs/bs-custom-dates-view.component.js +46 -8
- package/datepicker/esm2015/themes/bs/bs-datepicker-container.component.js +5 -2
- package/datepicker/esm2015/themes/bs/bs-datepicker-inline-container.component.js +2 -2
- package/datepicker/esm2015/themes/bs/bs-datepicker-navigation-view.component.js +8 -7
- package/datepicker/esm2015/themes/bs/bs-daterangepicker-container.component.js +21 -3
- package/datepicker/esm2015/themes/bs/bs-daterangepicker-inline-container.component.js +2 -2
- package/datepicker/esm2015/themes/bs/bs-days-calendar-view.component.js +22 -8
- package/datepicker/esm2015/utils/bs-calendar-utils.js +18 -3
- package/datepicker/esm5/base/bs-datepicker-container.js +26 -3
- package/datepicker/esm5/bs-datepicker-inline.component.js +25 -9
- package/datepicker/esm5/bs-datepicker-input.directive.js +23 -1
- package/datepicker/esm5/bs-datepicker.component.js +59 -8
- package/datepicker/esm5/bs-datepicker.config.js +36 -2
- package/datepicker/esm5/bs-datepicker.module.js +26 -19
- package/datepicker/esm5/bs-daterangepicker-inline.component.js +37 -7
- package/datepicker/esm5/bs-daterangepicker-input.directive.js +38 -3
- package/datepicker/esm5/bs-daterangepicker.component.js +70 -9
- package/datepicker/esm5/engine/flag-days-calendar.js +6 -3
- package/datepicker/esm5/reducer/bs-datepicker.actions.js +18 -1
- package/datepicker/esm5/reducer/bs-datepicker.effects.js +21 -17
- package/datepicker/esm5/reducer/bs-datepicker.reducer.js +25 -6
- package/datepicker/esm5/reducer/bs-datepicker.state.js +5 -1
- package/datepicker/esm5/themes/bs/bs-custom-dates-view.component.js +39 -7
- package/datepicker/esm5/themes/bs/bs-datepicker-container.component.js +5 -2
- package/datepicker/esm5/themes/bs/bs-datepicker-inline-container.component.js +2 -2
- package/datepicker/esm5/themes/bs/bs-datepicker-navigation-view.component.js +2 -2
- package/datepicker/esm5/themes/bs/bs-daterangepicker-container.component.js +25 -3
- package/datepicker/esm5/themes/bs/bs-daterangepicker-inline-container.component.js +2 -2
- package/datepicker/esm5/themes/bs/bs-days-calendar-view.component.js +22 -8
- package/datepicker/esm5/utils/bs-calendar-utils.js +18 -3
- package/datepicker/fesm2015/ngx-bootstrap-datepicker.js +1958 -91
- package/datepicker/fesm2015/ngx-bootstrap-datepicker.js.map +1 -1
- package/datepicker/fesm5/ngx-bootstrap-datepicker.js +1989 -93
- package/datepicker/fesm5/ngx-bootstrap-datepicker.js.map +1 -1
- package/datepicker/ngx-bootstrap-datepicker.metadata.json +1 -1
- package/datepicker/package.json +2 -2
- package/datepicker/reducer/bs-datepicker.actions.d.ts +2 -0
- package/datepicker/reducer/bs-datepicker.effects.d.ts +3 -2
- package/datepicker/reducer/bs-datepicker.state.d.ts +2 -0
- package/datepicker/themes/bs/bs-custom-dates-view.component.d.ts +6 -1
- package/datepicker/themes/bs/bs-daterangepicker-container.component.d.ts +3 -0
- package/datepicker/utils/bs-calendar-utils.d.ts +1 -0
- package/datepicker/utils/scss/mixins.css.map +1 -1
- package/datepicker/utils/scss/mixins.scss +9 -0
- package/dropdown/bundles/ngx-bootstrap-dropdown.umd.js +395 -5
- package/dropdown/bundles/ngx-bootstrap-dropdown.umd.js.map +1 -1
- package/dropdown/bundles/ngx-bootstrap-dropdown.umd.min.js +15 -1
- package/dropdown/bundles/ngx-bootstrap-dropdown.umd.min.js.map +1 -1
- package/dropdown/esm2015/bs-dropdown-container.component.js +2 -2
- package/dropdown/esm2015/bs-dropdown.directive.js +8 -3
- package/dropdown/esm5/bs-dropdown-container.component.js +2 -2
- package/dropdown/esm5/bs-dropdown.directive.js +9 -3
- package/dropdown/fesm2015/ngx-bootstrap-dropdown.js +241 -3
- package/dropdown/fesm2015/ngx-bootstrap-dropdown.js.map +1 -1
- package/dropdown/fesm5/ngx-bootstrap-dropdown.js +242 -3
- package/dropdown/fesm5/ngx-bootstrap-dropdown.js.map +1 -1
- package/dropdown/ngx-bootstrap-dropdown.metadata.json +1 -1
- package/dropdown/package.json +2 -2
- package/locale/bundles/ngx-bootstrap-locale.umd.js +36 -2
- package/locale/bundles/ngx-bootstrap-locale.umd.js.map +1 -1
- package/locale/bundles/ngx-bootstrap-locale.umd.min.js +1 -1
- package/locale/esm2015/ngx-bootstrap-locale.js +2 -2
- package/locale/esm2015/public_api.js +5 -1
- package/locale/esm5/ngx-bootstrap-locale.js +2 -2
- package/locale/esm5/public_api.js +5 -1
- package/locale/fesm2015/ngx-bootstrap-locale.js +11 -1
- package/locale/fesm2015/ngx-bootstrap-locale.js.map +1 -1
- package/locale/fesm5/ngx-bootstrap-locale.js +11 -1
- package/locale/fesm5/ngx-bootstrap-locale.js.map +1 -1
- package/locale/ngx-bootstrap-locale.metadata.json +1 -1
- package/locale/package.json +2 -2
- package/locale/public_api.d.ts +4 -0
- package/mini-ngrx/bundles/ngx-bootstrap-mini-ngrx.umd.js +187 -2
- package/mini-ngrx/bundles/ngx-bootstrap-mini-ngrx.umd.js.map +1 -1
- package/mini-ngrx/bundles/ngx-bootstrap-mini-ngrx.umd.min.js +15 -1
- package/mini-ngrx/bundles/ngx-bootstrap-mini-ngrx.umd.min.js.map +1 -1
- package/mini-ngrx/fesm2015/ngx-bootstrap-mini-ngrx.js +32 -0
- package/mini-ngrx/fesm2015/ngx-bootstrap-mini-ngrx.js.map +1 -1
- package/mini-ngrx/fesm5/ngx-bootstrap-mini-ngrx.js +32 -0
- package/mini-ngrx/fesm5/ngx-bootstrap-mini-ngrx.js.map +1 -1
- package/mini-ngrx/package.json +2 -2
- package/modal/bs-modal.service.d.ts +1 -2
- package/modal/bundles/ngx-bootstrap-modal.umd.js +558 -16
- package/modal/bundles/ngx-bootstrap-modal.umd.js.map +1 -1
- package/modal/bundles/ngx-bootstrap-modal.umd.min.js +15 -1
- package/modal/bundles/ngx-bootstrap-modal.umd.min.js.map +1 -1
- package/modal/esm2015/bs-modal.service.js +13 -4
- package/modal/esm2015/modal-container.component.js +24 -5
- package/modal/esm2015/modal-options.class.js +16 -1
- package/modal/esm2015/modal.directive.js +21 -4
- package/modal/esm2015/modal.module.js +10 -1
- package/modal/esm5/bs-modal.service.js +28 -8
- package/modal/esm5/modal-container.component.js +28 -5
- package/modal/esm5/modal-options.class.js +16 -1
- package/modal/esm5/modal.directive.js +25 -4
- package/modal/esm5/modal.module.js +13 -1
- package/modal/fesm2015/ngx-bootstrap-modal.js +354 -10
- package/modal/fesm2015/ngx-bootstrap-modal.js.map +1 -1
- package/modal/fesm5/ngx-bootstrap-modal.js +381 -15
- package/modal/fesm5/ngx-bootstrap-modal.js.map +1 -1
- package/modal/modal-container.component.d.ts +3 -1
- package/modal/modal-options.class.d.ts +13 -0
- package/modal/modal.directive.d.ts +3 -1
- package/modal/modal.module.d.ts +1 -0
- package/modal/ngx-bootstrap-modal.metadata.json +1 -1
- package/modal/package.json +2 -2
- package/package.json +2 -2
- package/pagination/bundles/ngx-bootstrap-pagination.umd.js +276 -4
- package/pagination/bundles/ngx-bootstrap-pagination.umd.js.map +1 -1
- package/pagination/bundles/ngx-bootstrap-pagination.umd.min.js +1 -1
- package/pagination/bundles/ngx-bootstrap-pagination.umd.min.js.map +1 -1
- package/pagination/esm2015/models/index.js +49 -4
- package/pagination/esm2015/pager.component.js +2 -2
- package/pagination/esm2015/pagination.component.js +33 -3
- package/pagination/esm2015/public_api.js +1 -1
- package/pagination/esm5/models/index.js +49 -4
- package/pagination/esm5/pager.component.js +2 -2
- package/pagination/esm5/pagination.component.js +33 -3
- package/pagination/esm5/public_api.js +1 -1
- package/pagination/fesm2015/ngx-bootstrap-pagination.js +284 -2
- package/pagination/fesm2015/ngx-bootstrap-pagination.js.map +1 -1
- package/pagination/fesm5/ngx-bootstrap-pagination.js +285 -3
- package/pagination/fesm5/ngx-bootstrap-pagination.js.map +1 -1
- package/pagination/models/index.d.ts +28 -0
- package/pagination/ngx-bootstrap-pagination.metadata.json +1 -1
- package/pagination/package.json +2 -2
- package/pagination/pagination.component.d.ts +12 -2
- package/pagination/public_api.d.ts +1 -0
- package/popover/bundles/ngx-bootstrap-popover.umd.js +215 -20
- package/popover/bundles/ngx-bootstrap-popover.umd.js.map +1 -1
- package/popover/bundles/ngx-bootstrap-popover.umd.min.js +1 -1
- package/popover/bundles/ngx-bootstrap-popover.umd.min.js.map +1 -1
- package/popover/esm2015/popover.config.js +10 -1
- package/popover/esm2015/popover.directive.js +97 -16
- package/popover/esm5/popover.config.js +10 -1
- package/popover/esm5/popover.directive.js +98 -16
- package/popover/fesm2015/ngx-bootstrap-popover.js +221 -16
- package/popover/fesm2015/ngx-bootstrap-popover.js.map +1 -1
- package/popover/fesm5/ngx-bootstrap-popover.js +222 -16
- package/popover/fesm5/ngx-bootstrap-popover.js.map +1 -1
- package/popover/ngx-bootstrap-popover.metadata.json +1 -1
- package/popover/package.json +2 -2
- package/popover/popover.config.d.ts +2 -0
- package/popover/popover.directive.d.ts +9 -1
- package/positioning/bundles/ngx-bootstrap-positioning.umd.js +286 -13
- package/positioning/bundles/ngx-bootstrap-positioning.umd.js.map +1 -1
- package/positioning/bundles/ngx-bootstrap-positioning.umd.min.js +15 -1
- package/positioning/bundles/ngx-bootstrap-positioning.umd.min.js.map +1 -1
- package/positioning/esm2015/modifiers/arrow.js +19 -5
- package/positioning/esm2015/modifiers/initData.js +12 -2
- package/positioning/esm2015/modifiers/shift.js +6 -4
- package/positioning/esm5/modifiers/arrow.js +19 -5
- package/positioning/esm5/modifiers/initData.js +12 -2
- package/positioning/esm5/modifiers/shift.js +8 -6
- package/positioning/fesm2015/ngx-bootstrap-positioning.js +128 -8
- package/positioning/fesm2015/ngx-bootstrap-positioning.js.map +1 -1
- package/positioning/fesm5/ngx-bootstrap-positioning.js +132 -10
- package/positioning/fesm5/ngx-bootstrap-positioning.js.map +1 -1
- package/positioning/package.json +2 -2
- package/progressbar/bundles/ngx-bootstrap-progressbar.umd.js +77 -2
- package/progressbar/bundles/ngx-bootstrap-progressbar.umd.js.map +1 -1
- package/progressbar/bundles/ngx-bootstrap-progressbar.umd.min.js +1 -1
- package/progressbar/bundles/ngx-bootstrap-progressbar.umd.min.js.map +1 -1
- package/progressbar/fesm2015/ngx-bootstrap-progressbar.js +85 -0
- package/progressbar/fesm2015/ngx-bootstrap-progressbar.js.map +1 -1
- package/progressbar/fesm5/ngx-bootstrap-progressbar.js +85 -0
- package/progressbar/fesm5/ngx-bootstrap-progressbar.js.map +1 -1
- package/progressbar/package.json +2 -2
- package/rating/bundles/ngx-bootstrap-rating.umd.js +92 -7
- package/rating/bundles/ngx-bootstrap-rating.umd.js.map +1 -1
- package/rating/bundles/ngx-bootstrap-rating.umd.min.js +1 -1
- package/rating/bundles/ngx-bootstrap-rating.umd.min.js.map +1 -1
- package/rating/esm2015/ngx-bootstrap-rating.js +2 -2
- package/rating/esm2015/public_api.js +2 -1
- package/rating/esm2015/rating.component.js +14 -5
- package/rating/esm2015/rating.config.js +27 -0
- package/rating/esm2015/rating.module.js +3 -2
- package/rating/esm5/ngx-bootstrap-rating.js +2 -2
- package/rating/esm5/public_api.js +2 -1
- package/rating/esm5/rating.component.js +13 -5
- package/rating/esm5/rating.config.js +29 -0
- package/rating/esm5/rating.module.js +3 -2
- package/rating/fesm2015/ngx-bootstrap-rating.js +101 -7
- package/rating/fesm2015/ngx-bootstrap-rating.js.map +1 -1
- package/rating/fesm5/ngx-bootstrap-rating.js +101 -7
- package/rating/fesm5/ngx-bootstrap-rating.js.map +1 -1
- package/rating/ngx-bootstrap-rating.metadata.json +1 -1
- package/rating/package.json +2 -2
- package/rating/public_api.d.ts +1 -0
- package/rating/rating.component.d.ts +4 -1
- package/rating/rating.config.d.ts +5 -0
- package/sortable/bundles/ngx-bootstrap-sortable.umd.js +254 -2
- package/sortable/bundles/ngx-bootstrap-sortable.umd.js.map +1 -1
- package/sortable/bundles/ngx-bootstrap-sortable.umd.min.js +15 -1
- package/sortable/bundles/ngx-bootstrap-sortable.umd.min.js.map +1 -1
- package/sortable/fesm2015/ngx-bootstrap-sortable.js +113 -0
- package/sortable/fesm2015/ngx-bootstrap-sortable.js.map +1 -1
- package/sortable/fesm5/ngx-bootstrap-sortable.js +114 -1
- package/sortable/fesm5/ngx-bootstrap-sortable.js.map +1 -1
- package/sortable/package.json +2 -2
- package/tabs/bundles/ngx-bootstrap-tabs.umd.js +153 -4
- package/tabs/bundles/ngx-bootstrap-tabs.umd.js.map +1 -1
- package/tabs/bundles/ngx-bootstrap-tabs.umd.min.js +1 -1
- package/tabs/bundles/ngx-bootstrap-tabs.umd.min.js.map +1 -1
- package/tabs/esm2015/tab.directive.js +13 -2
- package/tabs/esm2015/tabset.component.js +7 -2
- package/tabs/esm2015/tabset.config.js +10 -1
- package/tabs/esm5/tab.directive.js +17 -2
- package/tabs/esm5/tabset.component.js +7 -2
- package/tabs/esm5/tabset.config.js +10 -1
- package/tabs/fesm2015/ngx-bootstrap-tabs.js +157 -2
- package/tabs/fesm2015/ngx-bootstrap-tabs.js.map +1 -1
- package/tabs/fesm5/ngx-bootstrap-tabs.js +162 -3
- package/tabs/fesm5/ngx-bootstrap-tabs.js.map +1 -1
- package/tabs/ngx-bootstrap-tabs.metadata.json +1 -1
- package/tabs/package.json +2 -2
- package/tabs/tab.directive.d.ts +2 -0
- package/tabs/tabset.component.d.ts +2 -0
- package/tabs/tabset.config.d.ts +2 -0
- package/timepicker/bundles/ngx-bootstrap-timepicker.umd.js +464 -8
- package/timepicker/bundles/ngx-bootstrap-timepicker.umd.js.map +1 -1
- package/timepicker/bundles/ngx-bootstrap-timepicker.umd.min.js +15 -1
- package/timepicker/bundles/ngx-bootstrap-timepicker.umd.min.js.map +1 -1
- package/timepicker/esm2015/timepicker.component.js +8 -2
- package/timepicker/esm2015/timepicker.config.js +28 -1
- package/timepicker/esm2015/timepicker.utils.js +9 -6
- package/timepicker/esm5/timepicker.component.js +8 -2
- package/timepicker/esm5/timepicker.config.js +28 -1
- package/timepicker/esm5/timepicker.utils.js +9 -6
- package/timepicker/fesm2015/ngx-bootstrap-timepicker.js +311 -6
- package/timepicker/fesm2015/ngx-bootstrap-timepicker.js.map +1 -1
- package/timepicker/fesm5/ngx-bootstrap-timepicker.js +315 -7
- package/timepicker/fesm5/ngx-bootstrap-timepicker.js.map +1 -1
- package/timepicker/ngx-bootstrap-timepicker.metadata.json +1 -1
- package/timepicker/package.json +2 -2
- package/timepicker/timepicker.component.d.ts +3 -0
- package/timepicker/timepicker.config.d.ts +6 -0
- package/tooltip/bundles/ngx-bootstrap-tooltip.umd.js +355 -8
- package/tooltip/bundles/ngx-bootstrap-tooltip.umd.js.map +1 -1
- package/tooltip/bundles/ngx-bootstrap-tooltip.umd.min.js +15 -1
- package/tooltip/bundles/ngx-bootstrap-tooltip.umd.min.js.map +1 -1
- package/tooltip/esm2015/tooltip.directive.js +47 -10
- package/tooltip/esm5/tooltip.directive.js +50 -10
- package/tooltip/fesm2015/ngx-bootstrap-tooltip.js +200 -7
- package/tooltip/fesm2015/ngx-bootstrap-tooltip.js.map +1 -1
- package/tooltip/fesm5/ngx-bootstrap-tooltip.js +203 -7
- package/tooltip/fesm5/ngx-bootstrap-tooltip.js.map +1 -1
- package/tooltip/ngx-bootstrap-tooltip.metadata.json +1 -1
- package/tooltip/package.json +2 -2
- package/tooltip/tooltip.directive.d.ts +3 -1
- package/typeahead/bundles/ngx-bootstrap-typeahead.umd.js +719 -43
- package/typeahead/bundles/ngx-bootstrap-typeahead.umd.js.map +1 -1
- package/typeahead/bundles/ngx-bootstrap-typeahead.umd.min.js +15 -1
- package/typeahead/bundles/ngx-bootstrap-typeahead.umd.min.js.map +1 -1
- package/typeahead/esm2015/models/index.js +87 -0
- package/typeahead/esm2015/ngx-bootstrap-typeahead.js +2 -2
- package/typeahead/esm2015/public_api.js +2 -1
- package/typeahead/esm2015/typeahead-container.component.js +52 -11
- package/typeahead/esm2015/typeahead-order.class.js +19 -0
- package/typeahead/esm2015/typeahead.config.js +10 -1
- package/typeahead/esm2015/typeahead.directive.js +133 -30
- package/typeahead/esm5/models/index.js +87 -0
- package/typeahead/esm5/ngx-bootstrap-typeahead.js +2 -2
- package/typeahead/esm5/public_api.js +2 -1
- package/typeahead/esm5/typeahead-container.component.js +59 -11
- package/typeahead/esm5/typeahead-order.class.js +23 -0
- package/typeahead/esm5/typeahead.config.js +10 -1
- package/typeahead/esm5/typeahead.directive.js +140 -36
- package/typeahead/fesm2015/ngx-bootstrap-typeahead.js +550 -37
- package/typeahead/fesm2015/ngx-bootstrap-typeahead.js.map +1 -1
- package/typeahead/fesm5/ngx-bootstrap-typeahead.js +567 -43
- package/typeahead/fesm5/ngx-bootstrap-typeahead.js.map +1 -1
- package/typeahead/models/index.d.ts +41 -0
- package/typeahead/ngx-bootstrap-typeahead.metadata.json +1 -1
- package/typeahead/package.json +2 -2
- package/typeahead/public_api.d.ts +2 -0
- package/typeahead/typeahead-container.component.d.ts +10 -5
- package/typeahead/typeahead-order.class.d.ts +6 -0
- package/typeahead/typeahead.config.d.ts +2 -0
- package/typeahead/typeahead.directive.d.ts +28 -10
- package/utils/bundles/ngx-bootstrap-utils.umd.js +54 -2
- package/utils/bundles/ngx-bootstrap-utils.umd.js.map +1 -1
- package/utils/bundles/ngx-bootstrap-utils.umd.min.js +2 -2
- package/utils/bundles/ngx-bootstrap-utils.umd.min.js.map +1 -1
- package/utils/fesm2015/ngx-bootstrap-utils.js +62 -0
- package/utils/fesm2015/ngx-bootstrap-utils.js.map +1 -1
- package/utils/fesm5/ngx-bootstrap-utils.js +62 -0
- package/utils/fesm5/ngx-bootstrap-utils.js.map +1 -1
- package/utils/package.json +2 -2
- package/bundles/ngx-bootstrap.umd.js +0 -1037
- package/bundles/ngx-bootstrap.umd.js.map +0 -1
- package/bundles/ngx-bootstrap.umd.min.js +0 -2
- package/bundles/ngx-bootstrap.umd.min.js.map +0 -1
- package/esm2015/ngx-bootstrap.js +0 -9
- package/esm2015/public_api.js +0 -30
- package/esm5/ngx-bootstrap.js +0 -9
- package/esm5/public_api.js +0 -30
- package/fesm2015/ngx-bootstrap.js +0 -24
- package/fesm2015/ngx-bootstrap.js.map +0 -1
- package/fesm5/ngx-bootstrap.js +0 -24
- package/fesm5/ngx-bootstrap.js.map +0 -1
- package/ngx-bootstrap.d.ts +0 -4
- package/ngx-bootstrap.metadata.json +0 -1
- package/public_api.d.ts +0 -25
@@ -1,7 +1,8 @@
|
|
1
|
-
import { Injectable, Component, ElementRef, Renderer2, HostListener, Directive, ViewContainerRef, Input, Output,
|
1
|
+
import { Injectable, Component, ElementRef, Renderer2, HostListener, EventEmitter, Directive, ViewContainerRef, Input, Output, RendererFactory2, NgModule } from '@angular/core';
|
2
2
|
import { isBs3, Utils, document as document$1, window as window$1 } from 'ngx-bootstrap/utils';
|
3
3
|
import { ComponentLoaderFactory } from 'ngx-bootstrap/component-loader';
|
4
4
|
import { PositioningService } from 'ngx-bootstrap/positioning';
|
5
|
+
import { __values } from 'tslib';
|
5
6
|
|
6
7
|
/**
|
7
8
|
* @fileoverview added by tsickle
|
@@ -23,6 +24,23 @@ var BsModalRef = /** @class */ (function () {
|
|
23
24
|
];
|
24
25
|
return BsModalRef;
|
25
26
|
}());
|
27
|
+
if (false) {
|
28
|
+
/**
|
29
|
+
* Reference to a component inside the modal. Null if modal's been created with TemplateRef
|
30
|
+
* @type {?}
|
31
|
+
*/
|
32
|
+
BsModalRef.prototype.content;
|
33
|
+
/**
|
34
|
+
* Hides the modal
|
35
|
+
* @type {?}
|
36
|
+
*/
|
37
|
+
BsModalRef.prototype.hide;
|
38
|
+
/**
|
39
|
+
* Sets new class to modal window
|
40
|
+
* @type {?}
|
41
|
+
*/
|
42
|
+
BsModalRef.prototype.setClass;
|
43
|
+
}
|
26
44
|
|
27
45
|
/**
|
28
46
|
* @fileoverview added by tsickle
|
@@ -35,6 +53,10 @@ var ModalBackdropOptions = /** @class */ (function () {
|
|
35
53
|
}
|
36
54
|
return ModalBackdropOptions;
|
37
55
|
}());
|
56
|
+
if (false) {
|
57
|
+
/** @type {?} */
|
58
|
+
ModalBackdropOptions.prototype.animate;
|
59
|
+
}
|
38
60
|
|
39
61
|
/**
|
40
62
|
* @fileoverview added by tsickle
|
@@ -48,6 +70,61 @@ var ModalOptions = /** @class */ (function () {
|
|
48
70
|
];
|
49
71
|
return ModalOptions;
|
50
72
|
}());
|
73
|
+
if (false) {
|
74
|
+
/**
|
75
|
+
* Includes a modal-backdrop element. Alternatively,
|
76
|
+
* specify static for a backdrop which doesn't close the modal on click.
|
77
|
+
* @type {?}
|
78
|
+
*/
|
79
|
+
ModalOptions.prototype.backdrop;
|
80
|
+
/**
|
81
|
+
* Closes the modal when escape key is pressed.
|
82
|
+
* @type {?}
|
83
|
+
*/
|
84
|
+
ModalOptions.prototype.keyboard;
|
85
|
+
/** @type {?} */
|
86
|
+
ModalOptions.prototype.focus;
|
87
|
+
/**
|
88
|
+
* Shows the modal when initialized.
|
89
|
+
* @type {?}
|
90
|
+
*/
|
91
|
+
ModalOptions.prototype.show;
|
92
|
+
/**
|
93
|
+
* Ignore the backdrop click
|
94
|
+
* @type {?}
|
95
|
+
*/
|
96
|
+
ModalOptions.prototype.ignoreBackdropClick;
|
97
|
+
/**
|
98
|
+
* Css class for opened modal
|
99
|
+
* @type {?}
|
100
|
+
*/
|
101
|
+
ModalOptions.prototype.class;
|
102
|
+
/**
|
103
|
+
* Toggle animation
|
104
|
+
* @type {?}
|
105
|
+
*/
|
106
|
+
ModalOptions.prototype.animated;
|
107
|
+
/**
|
108
|
+
* Modal data
|
109
|
+
* @type {?}
|
110
|
+
*/
|
111
|
+
ModalOptions.prototype.initialState;
|
112
|
+
/**
|
113
|
+
* Modal providers
|
114
|
+
* @type {?}
|
115
|
+
*/
|
116
|
+
ModalOptions.prototype.providers;
|
117
|
+
/**
|
118
|
+
* aria-labelledby attribute value to set on the modal window
|
119
|
+
* @type {?}
|
120
|
+
*/
|
121
|
+
ModalOptions.prototype.ariaLabelledBy;
|
122
|
+
/**
|
123
|
+
* aria-describedby attribute value to set on the modal window
|
124
|
+
* @type {?}
|
125
|
+
*/
|
126
|
+
ModalOptions.prototype.ariaDescribedby;
|
127
|
+
}
|
51
128
|
/** @type {?} */
|
52
129
|
var modalConfigDefaults = {
|
53
130
|
backdrop: true,
|
@@ -70,6 +147,13 @@ var CLASS_NAME = {
|
|
70
147
|
SHOW: 'show' // bs4
|
71
148
|
};
|
72
149
|
/** @type {?} */
|
150
|
+
var SELECTOR = {
|
151
|
+
DIALOG: '.modal-dialog',
|
152
|
+
DATA_TOGGLE: '[data-toggle="modal"]',
|
153
|
+
DATA_DISMISS: '[data-dismiss="modal"]',
|
154
|
+
FIXED_CONTENT: '.navbar-fixed-top, .navbar-fixed-bottom, .is-fixed'
|
155
|
+
};
|
156
|
+
/** @type {?} */
|
73
157
|
var TRANSITION_DURATIONS = {
|
74
158
|
MODAL: 300,
|
75
159
|
BACKDROP: 150
|
@@ -90,6 +174,7 @@ var ModalContainerComponent = /** @class */ (function () {
|
|
90
174
|
this._renderer = _renderer;
|
91
175
|
this.isShown = false;
|
92
176
|
this.isModalHiding = false;
|
177
|
+
this.clickStartedInContent = false;
|
93
178
|
this.config = Object.assign({}, options);
|
94
179
|
}
|
95
180
|
/**
|
@@ -126,14 +211,28 @@ var ModalContainerComponent = /** @class */ (function () {
|
|
126
211
|
* @param {?} event
|
127
212
|
* @return {?}
|
128
213
|
*/
|
129
|
-
ModalContainerComponent.prototype.
|
214
|
+
ModalContainerComponent.prototype.onClickStarted = /**
|
215
|
+
* @param {?} event
|
216
|
+
* @return {?}
|
217
|
+
*/
|
218
|
+
function (event) {
|
219
|
+
this.clickStartedInContent = event.target !== this._element.nativeElement;
|
220
|
+
};
|
221
|
+
/**
|
222
|
+
* @param {?} event
|
223
|
+
* @return {?}
|
224
|
+
*/
|
225
|
+
ModalContainerComponent.prototype.onClickStop = /**
|
130
226
|
* @param {?} event
|
131
227
|
* @return {?}
|
132
228
|
*/
|
133
229
|
function (event) {
|
230
|
+
/** @type {?} */
|
231
|
+
var clickedInBackdrop = event.target === this._element.nativeElement && !this.clickStartedInContent;
|
134
232
|
if (this.config.ignoreBackdropClick ||
|
135
233
|
this.config.backdrop === 'static' ||
|
136
|
-
|
234
|
+
!clickedInBackdrop) {
|
235
|
+
this.clickStartedInContent = false;
|
137
236
|
return;
|
138
237
|
}
|
139
238
|
this.bsModalService.setDismissReason(DISMISS_REASONS.BACKRDOP);
|
@@ -207,7 +306,9 @@ var ModalContainerComponent = /** @class */ (function () {
|
|
207
306
|
class: 'modal',
|
208
307
|
role: 'dialog',
|
209
308
|
tabindex: '-1',
|
210
|
-
'[attr.aria-modal]': 'true'
|
309
|
+
'[attr.aria-modal]': 'true',
|
310
|
+
'[attr.aria-labelledby]': 'config.ariaLabelledBy',
|
311
|
+
'[attr.aria-describedby]': 'config.ariaDescribedby'
|
211
312
|
}
|
212
313
|
}] }
|
213
314
|
];
|
@@ -218,11 +319,44 @@ var ModalContainerComponent = /** @class */ (function () {
|
|
218
319
|
{ type: Renderer2 }
|
219
320
|
]; };
|
220
321
|
ModalContainerComponent.propDecorators = {
|
221
|
-
|
322
|
+
onClickStarted: [{ type: HostListener, args: ['mousedown', ['$event'],] }],
|
323
|
+
onClickStop: [{ type: HostListener, args: ['mouseup', ['$event'],] }],
|
222
324
|
onEsc: [{ type: HostListener, args: ['window:keydown.esc', ['$event'],] }]
|
223
325
|
};
|
224
326
|
return ModalContainerComponent;
|
225
327
|
}());
|
328
|
+
if (false) {
|
329
|
+
/** @type {?} */
|
330
|
+
ModalContainerComponent.prototype.config;
|
331
|
+
/** @type {?} */
|
332
|
+
ModalContainerComponent.prototype.isShown;
|
333
|
+
/** @type {?} */
|
334
|
+
ModalContainerComponent.prototype.level;
|
335
|
+
/** @type {?} */
|
336
|
+
ModalContainerComponent.prototype.isAnimated;
|
337
|
+
/** @type {?} */
|
338
|
+
ModalContainerComponent.prototype.bsModalService;
|
339
|
+
/**
|
340
|
+
* @type {?}
|
341
|
+
* @private
|
342
|
+
*/
|
343
|
+
ModalContainerComponent.prototype.isModalHiding;
|
344
|
+
/**
|
345
|
+
* @type {?}
|
346
|
+
* @private
|
347
|
+
*/
|
348
|
+
ModalContainerComponent.prototype.clickStartedInContent;
|
349
|
+
/**
|
350
|
+
* @type {?}
|
351
|
+
* @protected
|
352
|
+
*/
|
353
|
+
ModalContainerComponent.prototype._element;
|
354
|
+
/**
|
355
|
+
* @type {?}
|
356
|
+
* @private
|
357
|
+
*/
|
358
|
+
ModalContainerComponent.prototype._renderer;
|
359
|
+
}
|
226
360
|
|
227
361
|
/**
|
228
362
|
* @fileoverview added by tsickle
|
@@ -313,6 +447,22 @@ var ModalBackdropComponent = /** @class */ (function () {
|
|
313
447
|
]; };
|
314
448
|
return ModalBackdropComponent;
|
315
449
|
}());
|
450
|
+
if (false) {
|
451
|
+
/** @type {?} */
|
452
|
+
ModalBackdropComponent.prototype.element;
|
453
|
+
/** @type {?} */
|
454
|
+
ModalBackdropComponent.prototype.renderer;
|
455
|
+
/**
|
456
|
+
* @type {?}
|
457
|
+
* @protected
|
458
|
+
*/
|
459
|
+
ModalBackdropComponent.prototype._isAnimated;
|
460
|
+
/**
|
461
|
+
* @type {?}
|
462
|
+
* @protected
|
463
|
+
*/
|
464
|
+
ModalBackdropComponent.prototype._isShown;
|
465
|
+
}
|
316
466
|
|
317
467
|
/**
|
318
468
|
* @fileoverview added by tsickle
|
@@ -355,6 +505,7 @@ var ModalDirective = /** @class */ (function () {
|
|
355
505
|
this.timerHideModal = 0;
|
356
506
|
this.timerRmBackDrop = 0;
|
357
507
|
this.isNested = false;
|
508
|
+
this.clickStartedInContent = false;
|
358
509
|
this._backdrop = clf.createLoader(_element, _viewContainerRef, _renderer);
|
359
510
|
}
|
360
511
|
Object.defineProperty(ModalDirective.prototype, "config", {
|
@@ -390,14 +541,28 @@ var ModalDirective = /** @class */ (function () {
|
|
390
541
|
* @param {?} event
|
391
542
|
* @return {?}
|
392
543
|
*/
|
393
|
-
ModalDirective.prototype.
|
544
|
+
ModalDirective.prototype.onClickStarted = /**
|
394
545
|
* @param {?} event
|
395
546
|
* @return {?}
|
396
547
|
*/
|
397
548
|
function (event) {
|
549
|
+
this.clickStartedInContent = event.target !== this._element.nativeElement;
|
550
|
+
};
|
551
|
+
/**
|
552
|
+
* @param {?} event
|
553
|
+
* @return {?}
|
554
|
+
*/
|
555
|
+
ModalDirective.prototype.onClickStop = /**
|
556
|
+
* @param {?} event
|
557
|
+
* @return {?}
|
558
|
+
*/
|
559
|
+
function (event) {
|
560
|
+
/** @type {?} */
|
561
|
+
var clickedInBackdrop = event.target === this._element.nativeElement && !this.clickStartedInContent;
|
398
562
|
if (this.config.ignoreBackdropClick ||
|
399
563
|
this.config.backdrop === 'static' ||
|
400
|
-
|
564
|
+
!clickedInBackdrop) {
|
565
|
+
this.clickStartedInContent = false;
|
401
566
|
return;
|
402
567
|
}
|
403
568
|
this.dismissReason = DISMISS_REASONS.BACKRDOP;
|
@@ -918,11 +1083,109 @@ var ModalDirective = /** @class */ (function () {
|
|
918
1083
|
onShown: [{ type: Output }],
|
919
1084
|
onHide: [{ type: Output }],
|
920
1085
|
onHidden: [{ type: Output }],
|
921
|
-
|
1086
|
+
onClickStarted: [{ type: HostListener, args: ['mousedown', ['$event'],] }],
|
1087
|
+
onClickStop: [{ type: HostListener, args: ['mouseup', ['$event'],] }],
|
922
1088
|
onEsc: [{ type: HostListener, args: ['keydown.esc', ['$event'],] }]
|
923
1089
|
};
|
924
1090
|
return ModalDirective;
|
925
1091
|
}());
|
1092
|
+
if (false) {
|
1093
|
+
/**
|
1094
|
+
* This event fires immediately when the `show` instance method is called.
|
1095
|
+
* @type {?}
|
1096
|
+
*/
|
1097
|
+
ModalDirective.prototype.onShow;
|
1098
|
+
/**
|
1099
|
+
* This event is fired when the modal has been made visible to the user
|
1100
|
+
* (will wait for CSS transitions to complete)
|
1101
|
+
* @type {?}
|
1102
|
+
*/
|
1103
|
+
ModalDirective.prototype.onShown;
|
1104
|
+
/**
|
1105
|
+
* This event is fired immediately when
|
1106
|
+
* the hide instance method has been called.
|
1107
|
+
* @type {?}
|
1108
|
+
*/
|
1109
|
+
ModalDirective.prototype.onHide;
|
1110
|
+
/**
|
1111
|
+
* This event is fired when the modal has finished being
|
1112
|
+
* hidden from the user (will wait for CSS transitions to complete).
|
1113
|
+
* @type {?}
|
1114
|
+
*/
|
1115
|
+
ModalDirective.prototype.onHidden;
|
1116
|
+
/**
|
1117
|
+
* This field contains last dismiss reason.
|
1118
|
+
* Possible values: `backdrop-click`, `esc` and `null`
|
1119
|
+
* (if modal was closed by direct call of `.hide()`).
|
1120
|
+
* @type {?}
|
1121
|
+
*/
|
1122
|
+
ModalDirective.prototype.dismissReason;
|
1123
|
+
/**
|
1124
|
+
* @type {?}
|
1125
|
+
* @protected
|
1126
|
+
*/
|
1127
|
+
ModalDirective.prototype._config;
|
1128
|
+
/**
|
1129
|
+
* @type {?}
|
1130
|
+
* @protected
|
1131
|
+
*/
|
1132
|
+
ModalDirective.prototype._isShown;
|
1133
|
+
/**
|
1134
|
+
* @type {?}
|
1135
|
+
* @protected
|
1136
|
+
*/
|
1137
|
+
ModalDirective.prototype.isBodyOverflowing;
|
1138
|
+
/**
|
1139
|
+
* @type {?}
|
1140
|
+
* @protected
|
1141
|
+
*/
|
1142
|
+
ModalDirective.prototype.originalBodyPadding;
|
1143
|
+
/**
|
1144
|
+
* @type {?}
|
1145
|
+
* @protected
|
1146
|
+
*/
|
1147
|
+
ModalDirective.prototype.scrollbarWidth;
|
1148
|
+
/**
|
1149
|
+
* @type {?}
|
1150
|
+
* @protected
|
1151
|
+
*/
|
1152
|
+
ModalDirective.prototype.timerHideModal;
|
1153
|
+
/**
|
1154
|
+
* @type {?}
|
1155
|
+
* @protected
|
1156
|
+
*/
|
1157
|
+
ModalDirective.prototype.timerRmBackDrop;
|
1158
|
+
/**
|
1159
|
+
* @type {?}
|
1160
|
+
* @protected
|
1161
|
+
*/
|
1162
|
+
ModalDirective.prototype.backdrop;
|
1163
|
+
/**
|
1164
|
+
* @type {?}
|
1165
|
+
* @private
|
1166
|
+
*/
|
1167
|
+
ModalDirective.prototype._backdrop;
|
1168
|
+
/**
|
1169
|
+
* @type {?}
|
1170
|
+
* @private
|
1171
|
+
*/
|
1172
|
+
ModalDirective.prototype.isNested;
|
1173
|
+
/**
|
1174
|
+
* @type {?}
|
1175
|
+
* @private
|
1176
|
+
*/
|
1177
|
+
ModalDirective.prototype.clickStartedInContent;
|
1178
|
+
/**
|
1179
|
+
* @type {?}
|
1180
|
+
* @private
|
1181
|
+
*/
|
1182
|
+
ModalDirective.prototype._element;
|
1183
|
+
/**
|
1184
|
+
* @type {?}
|
1185
|
+
* @private
|
1186
|
+
*/
|
1187
|
+
ModalDirective.prototype._renderer;
|
1188
|
+
}
|
926
1189
|
|
927
1190
|
/**
|
928
1191
|
* @fileoverview added by tsickle
|
@@ -1051,8 +1314,25 @@ var BsModalService = /** @class */ (function () {
|
|
1051
1314
|
* @return {?}
|
1052
1315
|
*/
|
1053
1316
|
function (content) {
|
1317
|
+
var e_1, _a;
|
1318
|
+
var _this = this;
|
1054
1319
|
/** @type {?} */
|
1055
1320
|
var modalLoader = this.loaders[this.loaders.length - 1];
|
1321
|
+
if (this.config && this.config.providers) {
|
1322
|
+
try {
|
1323
|
+
for (var _b = __values(this.config.providers), _c = _b.next(); !_c.done; _c = _b.next()) {
|
1324
|
+
var provider = _c.value;
|
1325
|
+
modalLoader.provide(provider);
|
1326
|
+
}
|
1327
|
+
}
|
1328
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
1329
|
+
finally {
|
1330
|
+
try {
|
1331
|
+
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
1332
|
+
}
|
1333
|
+
finally { if (e_1) throw e_1.error; }
|
1334
|
+
}
|
1335
|
+
}
|
1056
1336
|
/** @type {?} */
|
1057
1337
|
var bsModalRef = new BsModalRef();
|
1058
1338
|
/** @type {?} */
|
@@ -1067,7 +1347,12 @@ var BsModalService = /** @class */ (function () {
|
|
1067
1347
|
* @return {?}
|
1068
1348
|
*/
|
1069
1349
|
function () {
|
1070
|
-
|
1350
|
+
/** @type {?} */
|
1351
|
+
var duration = _this.config.animated ? TRANSITION_DURATIONS.MODAL : 0;
|
1352
|
+
setTimeout((/**
|
1353
|
+
* @return {?}
|
1354
|
+
*/
|
1355
|
+
function () { return modalContainerRef.instance.hide(); }), duration);
|
1071
1356
|
});
|
1072
1357
|
bsModalRef.content = modalLoader.getInnerComponent() || null;
|
1073
1358
|
bsModalRef.setClass = (/**
|
@@ -1124,17 +1409,14 @@ var BsModalService = /** @class */ (function () {
|
|
1124
1409
|
this._backdropLoader.hide();
|
1125
1410
|
this.backdropRef = null;
|
1126
1411
|
};
|
1127
|
-
/**
|
1128
|
-
/** Scroll bar tricks */
|
1412
|
+
/** Checks if the body is overflowing and sets scrollbar width */
|
1129
1413
|
/** @internal */
|
1130
|
-
/**
|
1131
|
-
/** Scroll bar tricks */
|
1414
|
+
/** Checks if the body is overflowing and sets scrollbar width */
|
1132
1415
|
/**
|
1133
1416
|
* \@internal
|
1134
1417
|
* @return {?}
|
1135
1418
|
*/
|
1136
|
-
BsModalService.prototype.checkScrollbar = /**
|
1137
|
-
/** Scroll bar tricks */
|
1419
|
+
BsModalService.prototype.checkScrollbar = /** Checks if the body is overflowing and sets scrollbar width */
|
1138
1420
|
/**
|
1139
1421
|
* \@internal
|
1140
1422
|
* @return {?}
|
@@ -1267,6 +1549,68 @@ var BsModalService = /** @class */ (function () {
|
|
1267
1549
|
]; };
|
1268
1550
|
return BsModalService;
|
1269
1551
|
}());
|
1552
|
+
if (false) {
|
1553
|
+
/** @type {?} */
|
1554
|
+
BsModalService.prototype.config;
|
1555
|
+
/** @type {?} */
|
1556
|
+
BsModalService.prototype.onShow;
|
1557
|
+
/** @type {?} */
|
1558
|
+
BsModalService.prototype.onShown;
|
1559
|
+
/** @type {?} */
|
1560
|
+
BsModalService.prototype.onHide;
|
1561
|
+
/** @type {?} */
|
1562
|
+
BsModalService.prototype.onHidden;
|
1563
|
+
/**
|
1564
|
+
* @type {?}
|
1565
|
+
* @protected
|
1566
|
+
*/
|
1567
|
+
BsModalService.prototype.isBodyOverflowing;
|
1568
|
+
/**
|
1569
|
+
* @type {?}
|
1570
|
+
* @protected
|
1571
|
+
*/
|
1572
|
+
BsModalService.prototype.originalBodyPadding;
|
1573
|
+
/**
|
1574
|
+
* @type {?}
|
1575
|
+
* @protected
|
1576
|
+
*/
|
1577
|
+
BsModalService.prototype.scrollbarWidth;
|
1578
|
+
/**
|
1579
|
+
* @type {?}
|
1580
|
+
* @protected
|
1581
|
+
*/
|
1582
|
+
BsModalService.prototype.backdropRef;
|
1583
|
+
/**
|
1584
|
+
* @type {?}
|
1585
|
+
* @private
|
1586
|
+
*/
|
1587
|
+
BsModalService.prototype._backdropLoader;
|
1588
|
+
/**
|
1589
|
+
* @type {?}
|
1590
|
+
* @private
|
1591
|
+
*/
|
1592
|
+
BsModalService.prototype.modalsCount;
|
1593
|
+
/**
|
1594
|
+
* @type {?}
|
1595
|
+
* @private
|
1596
|
+
*/
|
1597
|
+
BsModalService.prototype.lastDismissReason;
|
1598
|
+
/**
|
1599
|
+
* @type {?}
|
1600
|
+
* @private
|
1601
|
+
*/
|
1602
|
+
BsModalService.prototype.loaders;
|
1603
|
+
/**
|
1604
|
+
* @type {?}
|
1605
|
+
* @private
|
1606
|
+
*/
|
1607
|
+
BsModalService.prototype._renderer;
|
1608
|
+
/**
|
1609
|
+
* @type {?}
|
1610
|
+
* @private
|
1611
|
+
*/
|
1612
|
+
BsModalService.prototype.clf;
|
1613
|
+
}
|
1270
1614
|
|
1271
1615
|
/**
|
1272
1616
|
* @fileoverview added by tsickle
|
@@ -1287,6 +1631,18 @@ var ModalModule = /** @class */ (function () {
|
|
1287
1631
|
providers: [BsModalService, ComponentLoaderFactory, PositioningService]
|
1288
1632
|
};
|
1289
1633
|
};
|
1634
|
+
/**
|
1635
|
+
* @return {?}
|
1636
|
+
*/
|
1637
|
+
ModalModule.forChild = /**
|
1638
|
+
* @return {?}
|
1639
|
+
*/
|
1640
|
+
function () {
|
1641
|
+
return {
|
1642
|
+
ngModule: ModalModule,
|
1643
|
+
providers: [BsModalService, ComponentLoaderFactory, PositioningService]
|
1644
|
+
};
|
1645
|
+
};
|
1290
1646
|
ModalModule.decorators = [
|
1291
1647
|
{ type: NgModule, args: [{
|
1292
1648
|
declarations: [
|
@@ -1301,5 +1657,15 @@ var ModalModule = /** @class */ (function () {
|
|
1301
1657
|
return ModalModule;
|
1302
1658
|
}());
|
1303
1659
|
|
1660
|
+
/**
|
1661
|
+
* @fileoverview added by tsickle
|
1662
|
+
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
1663
|
+
*/
|
1664
|
+
|
1665
|
+
/**
|
1666
|
+
* @fileoverview added by tsickle
|
1667
|
+
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
1668
|
+
*/
|
1669
|
+
|
1304
1670
|
export { BsModalRef, BsModalService, ModalBackdropComponent, ModalBackdropOptions, ModalContainerComponent, ModalDirective, ModalModule, ModalOptions, CLASS_NAME as ɵa };
|
1305
1671
|
//# sourceMappingURL=ngx-bootstrap-modal.js.map
|