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
@@ -2,7 +2,194 @@
|
|
2
2
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('ngx-bootstrap/utils'), require('ngx-bootstrap/component-loader'), require('ngx-bootstrap/positioning')) :
|
3
3
|
typeof define === 'function' && define.amd ? define('ngx-bootstrap/modal', ['exports', '@angular/core', 'ngx-bootstrap/utils', 'ngx-bootstrap/component-loader', 'ngx-bootstrap/positioning'], factory) :
|
4
4
|
(global = global || self, factory((global['ngx-bootstrap'] = global['ngx-bootstrap'] || {}, global['ngx-bootstrap'].modal = {}), global.ng.core, global.utils, global.componentLoader, global.positioning));
|
5
|
-
}(this, function (exports, core, utils, componentLoader, positioning) { 'use strict';
|
5
|
+
}(this, (function (exports, core, utils, componentLoader, positioning) { 'use strict';
|
6
|
+
|
7
|
+
/*! *****************************************************************************
|
8
|
+
Copyright (c) Microsoft Corporation. All rights reserved.
|
9
|
+
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
10
|
+
this file except in compliance with the License. You may obtain a copy of the
|
11
|
+
License at http://www.apache.org/licenses/LICENSE-2.0
|
12
|
+
|
13
|
+
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
14
|
+
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
15
|
+
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
16
|
+
MERCHANTABLITY OR NON-INFRINGEMENT.
|
17
|
+
|
18
|
+
See the Apache Version 2.0 License for specific language governing permissions
|
19
|
+
and limitations under the License.
|
20
|
+
***************************************************************************** */
|
21
|
+
/* global Reflect, Promise */
|
22
|
+
|
23
|
+
var extendStatics = function(d, b) {
|
24
|
+
extendStatics = Object.setPrototypeOf ||
|
25
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
26
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
27
|
+
return extendStatics(d, b);
|
28
|
+
};
|
29
|
+
|
30
|
+
function __extends(d, b) {
|
31
|
+
extendStatics(d, b);
|
32
|
+
function __() { this.constructor = d; }
|
33
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
34
|
+
}
|
35
|
+
|
36
|
+
var __assign = function() {
|
37
|
+
__assign = Object.assign || function __assign(t) {
|
38
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
39
|
+
s = arguments[i];
|
40
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
41
|
+
}
|
42
|
+
return t;
|
43
|
+
};
|
44
|
+
return __assign.apply(this, arguments);
|
45
|
+
};
|
46
|
+
|
47
|
+
function __rest(s, e) {
|
48
|
+
var t = {};
|
49
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
50
|
+
t[p] = s[p];
|
51
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
52
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) if (e.indexOf(p[i]) < 0)
|
53
|
+
t[p[i]] = s[p[i]];
|
54
|
+
return t;
|
55
|
+
}
|
56
|
+
|
57
|
+
function __decorate(decorators, target, key, desc) {
|
58
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
59
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
60
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
61
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
62
|
+
}
|
63
|
+
|
64
|
+
function __param(paramIndex, decorator) {
|
65
|
+
return function (target, key) { decorator(target, key, paramIndex); }
|
66
|
+
}
|
67
|
+
|
68
|
+
function __metadata(metadataKey, metadataValue) {
|
69
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue);
|
70
|
+
}
|
71
|
+
|
72
|
+
function __awaiter(thisArg, _arguments, P, generator) {
|
73
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
74
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
75
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
76
|
+
function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }
|
77
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
78
|
+
});
|
79
|
+
}
|
80
|
+
|
81
|
+
function __generator(thisArg, body) {
|
82
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
83
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
84
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
85
|
+
function step(op) {
|
86
|
+
if (f) throw new TypeError("Generator is already executing.");
|
87
|
+
while (_) try {
|
88
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
89
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
90
|
+
switch (op[0]) {
|
91
|
+
case 0: case 1: t = op; break;
|
92
|
+
case 4: _.label++; return { value: op[1], done: false };
|
93
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
94
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
95
|
+
default:
|
96
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
97
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
98
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
99
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
100
|
+
if (t[2]) _.ops.pop();
|
101
|
+
_.trys.pop(); continue;
|
102
|
+
}
|
103
|
+
op = body.call(thisArg, _);
|
104
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
105
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
106
|
+
}
|
107
|
+
}
|
108
|
+
|
109
|
+
function __exportStar(m, exports) {
|
110
|
+
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
111
|
+
}
|
112
|
+
|
113
|
+
function __values(o) {
|
114
|
+
var m = typeof Symbol === "function" && o[Symbol.iterator], i = 0;
|
115
|
+
if (m) return m.call(o);
|
116
|
+
return {
|
117
|
+
next: function () {
|
118
|
+
if (o && i >= o.length) o = void 0;
|
119
|
+
return { value: o && o[i++], done: !o };
|
120
|
+
}
|
121
|
+
};
|
122
|
+
}
|
123
|
+
|
124
|
+
function __read(o, n) {
|
125
|
+
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
126
|
+
if (!m) return o;
|
127
|
+
var i = m.call(o), r, ar = [], e;
|
128
|
+
try {
|
129
|
+
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
|
130
|
+
}
|
131
|
+
catch (error) { e = { error: error }; }
|
132
|
+
finally {
|
133
|
+
try {
|
134
|
+
if (r && !r.done && (m = i["return"])) m.call(i);
|
135
|
+
}
|
136
|
+
finally { if (e) throw e.error; }
|
137
|
+
}
|
138
|
+
return ar;
|
139
|
+
}
|
140
|
+
|
141
|
+
function __spread() {
|
142
|
+
for (var ar = [], i = 0; i < arguments.length; i++)
|
143
|
+
ar = ar.concat(__read(arguments[i]));
|
144
|
+
return ar;
|
145
|
+
}
|
146
|
+
|
147
|
+
function __await(v) {
|
148
|
+
return this instanceof __await ? (this.v = v, this) : new __await(v);
|
149
|
+
}
|
150
|
+
|
151
|
+
function __asyncGenerator(thisArg, _arguments, generator) {
|
152
|
+
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
|
153
|
+
var g = generator.apply(thisArg, _arguments || []), i, q = [];
|
154
|
+
return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
|
155
|
+
function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
|
156
|
+
function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }
|
157
|
+
function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
|
158
|
+
function fulfill(value) { resume("next", value); }
|
159
|
+
function reject(value) { resume("throw", value); }
|
160
|
+
function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }
|
161
|
+
}
|
162
|
+
|
163
|
+
function __asyncDelegator(o) {
|
164
|
+
var i, p;
|
165
|
+
return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
|
166
|
+
function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }
|
167
|
+
}
|
168
|
+
|
169
|
+
function __asyncValues(o) {
|
170
|
+
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
|
171
|
+
var m = o[Symbol.asyncIterator], i;
|
172
|
+
return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
|
173
|
+
function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
|
174
|
+
function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }
|
175
|
+
}
|
176
|
+
|
177
|
+
function __makeTemplateObject(cooked, raw) {
|
178
|
+
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
179
|
+
return cooked;
|
180
|
+
};
|
181
|
+
|
182
|
+
function __importStar(mod) {
|
183
|
+
if (mod && mod.__esModule) return mod;
|
184
|
+
var result = {};
|
185
|
+
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
|
186
|
+
result.default = mod;
|
187
|
+
return result;
|
188
|
+
}
|
189
|
+
|
190
|
+
function __importDefault(mod) {
|
191
|
+
return (mod && mod.__esModule) ? mod : { default: mod };
|
192
|
+
}
|
6
193
|
|
7
194
|
/**
|
8
195
|
* @fileoverview added by tsickle
|
@@ -24,6 +211,23 @@
|
|
24
211
|
];
|
25
212
|
return BsModalRef;
|
26
213
|
}());
|
214
|
+
if (false) {
|
215
|
+
/**
|
216
|
+
* Reference to a component inside the modal. Null if modal's been created with TemplateRef
|
217
|
+
* @type {?}
|
218
|
+
*/
|
219
|
+
BsModalRef.prototype.content;
|
220
|
+
/**
|
221
|
+
* Hides the modal
|
222
|
+
* @type {?}
|
223
|
+
*/
|
224
|
+
BsModalRef.prototype.hide;
|
225
|
+
/**
|
226
|
+
* Sets new class to modal window
|
227
|
+
* @type {?}
|
228
|
+
*/
|
229
|
+
BsModalRef.prototype.setClass;
|
230
|
+
}
|
27
231
|
|
28
232
|
/**
|
29
233
|
* @fileoverview added by tsickle
|
@@ -36,6 +240,10 @@
|
|
36
240
|
}
|
37
241
|
return ModalBackdropOptions;
|
38
242
|
}());
|
243
|
+
if (false) {
|
244
|
+
/** @type {?} */
|
245
|
+
ModalBackdropOptions.prototype.animate;
|
246
|
+
}
|
39
247
|
|
40
248
|
/**
|
41
249
|
* @fileoverview added by tsickle
|
@@ -49,6 +257,61 @@
|
|
49
257
|
];
|
50
258
|
return ModalOptions;
|
51
259
|
}());
|
260
|
+
if (false) {
|
261
|
+
/**
|
262
|
+
* Includes a modal-backdrop element. Alternatively,
|
263
|
+
* specify static for a backdrop which doesn't close the modal on click.
|
264
|
+
* @type {?}
|
265
|
+
*/
|
266
|
+
ModalOptions.prototype.backdrop;
|
267
|
+
/**
|
268
|
+
* Closes the modal when escape key is pressed.
|
269
|
+
* @type {?}
|
270
|
+
*/
|
271
|
+
ModalOptions.prototype.keyboard;
|
272
|
+
/** @type {?} */
|
273
|
+
ModalOptions.prototype.focus;
|
274
|
+
/**
|
275
|
+
* Shows the modal when initialized.
|
276
|
+
* @type {?}
|
277
|
+
*/
|
278
|
+
ModalOptions.prototype.show;
|
279
|
+
/**
|
280
|
+
* Ignore the backdrop click
|
281
|
+
* @type {?}
|
282
|
+
*/
|
283
|
+
ModalOptions.prototype.ignoreBackdropClick;
|
284
|
+
/**
|
285
|
+
* Css class for opened modal
|
286
|
+
* @type {?}
|
287
|
+
*/
|
288
|
+
ModalOptions.prototype.class;
|
289
|
+
/**
|
290
|
+
* Toggle animation
|
291
|
+
* @type {?}
|
292
|
+
*/
|
293
|
+
ModalOptions.prototype.animated;
|
294
|
+
/**
|
295
|
+
* Modal data
|
296
|
+
* @type {?}
|
297
|
+
*/
|
298
|
+
ModalOptions.prototype.initialState;
|
299
|
+
/**
|
300
|
+
* Modal providers
|
301
|
+
* @type {?}
|
302
|
+
*/
|
303
|
+
ModalOptions.prototype.providers;
|
304
|
+
/**
|
305
|
+
* aria-labelledby attribute value to set on the modal window
|
306
|
+
* @type {?}
|
307
|
+
*/
|
308
|
+
ModalOptions.prototype.ariaLabelledBy;
|
309
|
+
/**
|
310
|
+
* aria-describedby attribute value to set on the modal window
|
311
|
+
* @type {?}
|
312
|
+
*/
|
313
|
+
ModalOptions.prototype.ariaDescribedby;
|
314
|
+
}
|
52
315
|
/** @type {?} */
|
53
316
|
var modalConfigDefaults = {
|
54
317
|
backdrop: true,
|
@@ -71,6 +334,13 @@
|
|
71
334
|
SHOW: 'show' // bs4
|
72
335
|
};
|
73
336
|
/** @type {?} */
|
337
|
+
var SELECTOR = {
|
338
|
+
DIALOG: '.modal-dialog',
|
339
|
+
DATA_TOGGLE: '[data-toggle="modal"]',
|
340
|
+
DATA_DISMISS: '[data-dismiss="modal"]',
|
341
|
+
FIXED_CONTENT: '.navbar-fixed-top, .navbar-fixed-bottom, .is-fixed'
|
342
|
+
};
|
343
|
+
/** @type {?} */
|
74
344
|
var TRANSITION_DURATIONS = {
|
75
345
|
MODAL: 300,
|
76
346
|
BACKDROP: 150
|
@@ -91,6 +361,7 @@
|
|
91
361
|
this._renderer = _renderer;
|
92
362
|
this.isShown = false;
|
93
363
|
this.isModalHiding = false;
|
364
|
+
this.clickStartedInContent = false;
|
94
365
|
this.config = Object.assign({}, options);
|
95
366
|
}
|
96
367
|
/**
|
@@ -127,14 +398,28 @@
|
|
127
398
|
* @param {?} event
|
128
399
|
* @return {?}
|
129
400
|
*/
|
130
|
-
ModalContainerComponent.prototype.
|
401
|
+
ModalContainerComponent.prototype.onClickStarted = /**
|
131
402
|
* @param {?} event
|
132
403
|
* @return {?}
|
133
404
|
*/
|
134
405
|
function (event) {
|
406
|
+
this.clickStartedInContent = event.target !== this._element.nativeElement;
|
407
|
+
};
|
408
|
+
/**
|
409
|
+
* @param {?} event
|
410
|
+
* @return {?}
|
411
|
+
*/
|
412
|
+
ModalContainerComponent.prototype.onClickStop = /**
|
413
|
+
* @param {?} event
|
414
|
+
* @return {?}
|
415
|
+
*/
|
416
|
+
function (event) {
|
417
|
+
/** @type {?} */
|
418
|
+
var clickedInBackdrop = event.target === this._element.nativeElement && !this.clickStartedInContent;
|
135
419
|
if (this.config.ignoreBackdropClick ||
|
136
420
|
this.config.backdrop === 'static' ||
|
137
|
-
|
421
|
+
!clickedInBackdrop) {
|
422
|
+
this.clickStartedInContent = false;
|
138
423
|
return;
|
139
424
|
}
|
140
425
|
this.bsModalService.setDismissReason(DISMISS_REASONS.BACKRDOP);
|
@@ -208,7 +493,9 @@
|
|
208
493
|
class: 'modal',
|
209
494
|
role: 'dialog',
|
210
495
|
tabindex: '-1',
|
211
|
-
'[attr.aria-modal]': 'true'
|
496
|
+
'[attr.aria-modal]': 'true',
|
497
|
+
'[attr.aria-labelledby]': 'config.ariaLabelledBy',
|
498
|
+
'[attr.aria-describedby]': 'config.ariaDescribedby'
|
212
499
|
}
|
213
500
|
}] }
|
214
501
|
];
|
@@ -219,11 +506,44 @@
|
|
219
506
|
{ type: core.Renderer2 }
|
220
507
|
]; };
|
221
508
|
ModalContainerComponent.propDecorators = {
|
222
|
-
|
509
|
+
onClickStarted: [{ type: core.HostListener, args: ['mousedown', ['$event'],] }],
|
510
|
+
onClickStop: [{ type: core.HostListener, args: ['mouseup', ['$event'],] }],
|
223
511
|
onEsc: [{ type: core.HostListener, args: ['window:keydown.esc', ['$event'],] }]
|
224
512
|
};
|
225
513
|
return ModalContainerComponent;
|
226
514
|
}());
|
515
|
+
if (false) {
|
516
|
+
/** @type {?} */
|
517
|
+
ModalContainerComponent.prototype.config;
|
518
|
+
/** @type {?} */
|
519
|
+
ModalContainerComponent.prototype.isShown;
|
520
|
+
/** @type {?} */
|
521
|
+
ModalContainerComponent.prototype.level;
|
522
|
+
/** @type {?} */
|
523
|
+
ModalContainerComponent.prototype.isAnimated;
|
524
|
+
/** @type {?} */
|
525
|
+
ModalContainerComponent.prototype.bsModalService;
|
526
|
+
/**
|
527
|
+
* @type {?}
|
528
|
+
* @private
|
529
|
+
*/
|
530
|
+
ModalContainerComponent.prototype.isModalHiding;
|
531
|
+
/**
|
532
|
+
* @type {?}
|
533
|
+
* @private
|
534
|
+
*/
|
535
|
+
ModalContainerComponent.prototype.clickStartedInContent;
|
536
|
+
/**
|
537
|
+
* @type {?}
|
538
|
+
* @protected
|
539
|
+
*/
|
540
|
+
ModalContainerComponent.prototype._element;
|
541
|
+
/**
|
542
|
+
* @type {?}
|
543
|
+
* @private
|
544
|
+
*/
|
545
|
+
ModalContainerComponent.prototype._renderer;
|
546
|
+
}
|
227
547
|
|
228
548
|
/**
|
229
549
|
* @fileoverview added by tsickle
|
@@ -314,6 +634,22 @@
|
|
314
634
|
]; };
|
315
635
|
return ModalBackdropComponent;
|
316
636
|
}());
|
637
|
+
if (false) {
|
638
|
+
/** @type {?} */
|
639
|
+
ModalBackdropComponent.prototype.element;
|
640
|
+
/** @type {?} */
|
641
|
+
ModalBackdropComponent.prototype.renderer;
|
642
|
+
/**
|
643
|
+
* @type {?}
|
644
|
+
* @protected
|
645
|
+
*/
|
646
|
+
ModalBackdropComponent.prototype._isAnimated;
|
647
|
+
/**
|
648
|
+
* @type {?}
|
649
|
+
* @protected
|
650
|
+
*/
|
651
|
+
ModalBackdropComponent.prototype._isShown;
|
652
|
+
}
|
317
653
|
|
318
654
|
/**
|
319
655
|
* @fileoverview added by tsickle
|
@@ -356,6 +692,7 @@
|
|
356
692
|
this.timerHideModal = 0;
|
357
693
|
this.timerRmBackDrop = 0;
|
358
694
|
this.isNested = false;
|
695
|
+
this.clickStartedInContent = false;
|
359
696
|
this._backdrop = clf.createLoader(_element, _viewContainerRef, _renderer);
|
360
697
|
}
|
361
698
|
Object.defineProperty(ModalDirective.prototype, "config", {
|
@@ -391,14 +728,28 @@
|
|
391
728
|
* @param {?} event
|
392
729
|
* @return {?}
|
393
730
|
*/
|
394
|
-
ModalDirective.prototype.
|
731
|
+
ModalDirective.prototype.onClickStarted = /**
|
732
|
+
* @param {?} event
|
733
|
+
* @return {?}
|
734
|
+
*/
|
735
|
+
function (event) {
|
736
|
+
this.clickStartedInContent = event.target !== this._element.nativeElement;
|
737
|
+
};
|
738
|
+
/**
|
739
|
+
* @param {?} event
|
740
|
+
* @return {?}
|
741
|
+
*/
|
742
|
+
ModalDirective.prototype.onClickStop = /**
|
395
743
|
* @param {?} event
|
396
744
|
* @return {?}
|
397
745
|
*/
|
398
746
|
function (event) {
|
747
|
+
/** @type {?} */
|
748
|
+
var clickedInBackdrop = event.target === this._element.nativeElement && !this.clickStartedInContent;
|
399
749
|
if (this.config.ignoreBackdropClick ||
|
400
750
|
this.config.backdrop === 'static' ||
|
401
|
-
|
751
|
+
!clickedInBackdrop) {
|
752
|
+
this.clickStartedInContent = false;
|
402
753
|
return;
|
403
754
|
}
|
404
755
|
this.dismissReason = DISMISS_REASONS.BACKRDOP;
|
@@ -919,11 +1270,109 @@
|
|
919
1270
|
onShown: [{ type: core.Output }],
|
920
1271
|
onHide: [{ type: core.Output }],
|
921
1272
|
onHidden: [{ type: core.Output }],
|
922
|
-
|
1273
|
+
onClickStarted: [{ type: core.HostListener, args: ['mousedown', ['$event'],] }],
|
1274
|
+
onClickStop: [{ type: core.HostListener, args: ['mouseup', ['$event'],] }],
|
923
1275
|
onEsc: [{ type: core.HostListener, args: ['keydown.esc', ['$event'],] }]
|
924
1276
|
};
|
925
1277
|
return ModalDirective;
|
926
1278
|
}());
|
1279
|
+
if (false) {
|
1280
|
+
/**
|
1281
|
+
* This event fires immediately when the `show` instance method is called.
|
1282
|
+
* @type {?}
|
1283
|
+
*/
|
1284
|
+
ModalDirective.prototype.onShow;
|
1285
|
+
/**
|
1286
|
+
* This event is fired when the modal has been made visible to the user
|
1287
|
+
* (will wait for CSS transitions to complete)
|
1288
|
+
* @type {?}
|
1289
|
+
*/
|
1290
|
+
ModalDirective.prototype.onShown;
|
1291
|
+
/**
|
1292
|
+
* This event is fired immediately when
|
1293
|
+
* the hide instance method has been called.
|
1294
|
+
* @type {?}
|
1295
|
+
*/
|
1296
|
+
ModalDirective.prototype.onHide;
|
1297
|
+
/**
|
1298
|
+
* This event is fired when the modal has finished being
|
1299
|
+
* hidden from the user (will wait for CSS transitions to complete).
|
1300
|
+
* @type {?}
|
1301
|
+
*/
|
1302
|
+
ModalDirective.prototype.onHidden;
|
1303
|
+
/**
|
1304
|
+
* This field contains last dismiss reason.
|
1305
|
+
* Possible values: `backdrop-click`, `esc` and `null`
|
1306
|
+
* (if modal was closed by direct call of `.hide()`).
|
1307
|
+
* @type {?}
|
1308
|
+
*/
|
1309
|
+
ModalDirective.prototype.dismissReason;
|
1310
|
+
/**
|
1311
|
+
* @type {?}
|
1312
|
+
* @protected
|
1313
|
+
*/
|
1314
|
+
ModalDirective.prototype._config;
|
1315
|
+
/**
|
1316
|
+
* @type {?}
|
1317
|
+
* @protected
|
1318
|
+
*/
|
1319
|
+
ModalDirective.prototype._isShown;
|
1320
|
+
/**
|
1321
|
+
* @type {?}
|
1322
|
+
* @protected
|
1323
|
+
*/
|
1324
|
+
ModalDirective.prototype.isBodyOverflowing;
|
1325
|
+
/**
|
1326
|
+
* @type {?}
|
1327
|
+
* @protected
|
1328
|
+
*/
|
1329
|
+
ModalDirective.prototype.originalBodyPadding;
|
1330
|
+
/**
|
1331
|
+
* @type {?}
|
1332
|
+
* @protected
|
1333
|
+
*/
|
1334
|
+
ModalDirective.prototype.scrollbarWidth;
|
1335
|
+
/**
|
1336
|
+
* @type {?}
|
1337
|
+
* @protected
|
1338
|
+
*/
|
1339
|
+
ModalDirective.prototype.timerHideModal;
|
1340
|
+
/**
|
1341
|
+
* @type {?}
|
1342
|
+
* @protected
|
1343
|
+
*/
|
1344
|
+
ModalDirective.prototype.timerRmBackDrop;
|
1345
|
+
/**
|
1346
|
+
* @type {?}
|
1347
|
+
* @protected
|
1348
|
+
*/
|
1349
|
+
ModalDirective.prototype.backdrop;
|
1350
|
+
/**
|
1351
|
+
* @type {?}
|
1352
|
+
* @private
|
1353
|
+
*/
|
1354
|
+
ModalDirective.prototype._backdrop;
|
1355
|
+
/**
|
1356
|
+
* @type {?}
|
1357
|
+
* @private
|
1358
|
+
*/
|
1359
|
+
ModalDirective.prototype.isNested;
|
1360
|
+
/**
|
1361
|
+
* @type {?}
|
1362
|
+
* @private
|
1363
|
+
*/
|
1364
|
+
ModalDirective.prototype.clickStartedInContent;
|
1365
|
+
/**
|
1366
|
+
* @type {?}
|
1367
|
+
* @private
|
1368
|
+
*/
|
1369
|
+
ModalDirective.prototype._element;
|
1370
|
+
/**
|
1371
|
+
* @type {?}
|
1372
|
+
* @private
|
1373
|
+
*/
|
1374
|
+
ModalDirective.prototype._renderer;
|
1375
|
+
}
|
927
1376
|
|
928
1377
|
/**
|
929
1378
|
* @fileoverview added by tsickle
|
@@ -1052,8 +1501,25 @@
|
|
1052
1501
|
* @return {?}
|
1053
1502
|
*/
|
1054
1503
|
function (content) {
|
1504
|
+
var e_1, _a;
|
1505
|
+
var _this = this;
|
1055
1506
|
/** @type {?} */
|
1056
1507
|
var modalLoader = this.loaders[this.loaders.length - 1];
|
1508
|
+
if (this.config && this.config.providers) {
|
1509
|
+
try {
|
1510
|
+
for (var _b = __values(this.config.providers), _c = _b.next(); !_c.done; _c = _b.next()) {
|
1511
|
+
var provider = _c.value;
|
1512
|
+
modalLoader.provide(provider);
|
1513
|
+
}
|
1514
|
+
}
|
1515
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
1516
|
+
finally {
|
1517
|
+
try {
|
1518
|
+
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
1519
|
+
}
|
1520
|
+
finally { if (e_1) throw e_1.error; }
|
1521
|
+
}
|
1522
|
+
}
|
1057
1523
|
/** @type {?} */
|
1058
1524
|
var bsModalRef = new BsModalRef();
|
1059
1525
|
/** @type {?} */
|
@@ -1068,7 +1534,12 @@
|
|
1068
1534
|
* @return {?}
|
1069
1535
|
*/
|
1070
1536
|
function () {
|
1071
|
-
|
1537
|
+
/** @type {?} */
|
1538
|
+
var duration = _this.config.animated ? TRANSITION_DURATIONS.MODAL : 0;
|
1539
|
+
setTimeout((/**
|
1540
|
+
* @return {?}
|
1541
|
+
*/
|
1542
|
+
function () { return modalContainerRef.instance.hide(); }), duration);
|
1072
1543
|
});
|
1073
1544
|
bsModalRef.content = modalLoader.getInnerComponent() || null;
|
1074
1545
|
bsModalRef.setClass = (/**
|
@@ -1125,17 +1596,14 @@
|
|
1125
1596
|
this._backdropLoader.hide();
|
1126
1597
|
this.backdropRef = null;
|
1127
1598
|
};
|
1128
|
-
/**
|
1129
|
-
/** Scroll bar tricks */
|
1599
|
+
/** Checks if the body is overflowing and sets scrollbar width */
|
1130
1600
|
/** @internal */
|
1131
|
-
/**
|
1132
|
-
/** Scroll bar tricks */
|
1601
|
+
/** Checks if the body is overflowing and sets scrollbar width */
|
1133
1602
|
/**
|
1134
1603
|
* \@internal
|
1135
1604
|
* @return {?}
|
1136
1605
|
*/
|
1137
|
-
BsModalService.prototype.checkScrollbar = /**
|
1138
|
-
/** Scroll bar tricks */
|
1606
|
+
BsModalService.prototype.checkScrollbar = /** Checks if the body is overflowing and sets scrollbar width */
|
1139
1607
|
/**
|
1140
1608
|
* \@internal
|
1141
1609
|
* @return {?}
|
@@ -1268,6 +1736,68 @@
|
|
1268
1736
|
]; };
|
1269
1737
|
return BsModalService;
|
1270
1738
|
}());
|
1739
|
+
if (false) {
|
1740
|
+
/** @type {?} */
|
1741
|
+
BsModalService.prototype.config;
|
1742
|
+
/** @type {?} */
|
1743
|
+
BsModalService.prototype.onShow;
|
1744
|
+
/** @type {?} */
|
1745
|
+
BsModalService.prototype.onShown;
|
1746
|
+
/** @type {?} */
|
1747
|
+
BsModalService.prototype.onHide;
|
1748
|
+
/** @type {?} */
|
1749
|
+
BsModalService.prototype.onHidden;
|
1750
|
+
/**
|
1751
|
+
* @type {?}
|
1752
|
+
* @protected
|
1753
|
+
*/
|
1754
|
+
BsModalService.prototype.isBodyOverflowing;
|
1755
|
+
/**
|
1756
|
+
* @type {?}
|
1757
|
+
* @protected
|
1758
|
+
*/
|
1759
|
+
BsModalService.prototype.originalBodyPadding;
|
1760
|
+
/**
|
1761
|
+
* @type {?}
|
1762
|
+
* @protected
|
1763
|
+
*/
|
1764
|
+
BsModalService.prototype.scrollbarWidth;
|
1765
|
+
/**
|
1766
|
+
* @type {?}
|
1767
|
+
* @protected
|
1768
|
+
*/
|
1769
|
+
BsModalService.prototype.backdropRef;
|
1770
|
+
/**
|
1771
|
+
* @type {?}
|
1772
|
+
* @private
|
1773
|
+
*/
|
1774
|
+
BsModalService.prototype._backdropLoader;
|
1775
|
+
/**
|
1776
|
+
* @type {?}
|
1777
|
+
* @private
|
1778
|
+
*/
|
1779
|
+
BsModalService.prototype.modalsCount;
|
1780
|
+
/**
|
1781
|
+
* @type {?}
|
1782
|
+
* @private
|
1783
|
+
*/
|
1784
|
+
BsModalService.prototype.lastDismissReason;
|
1785
|
+
/**
|
1786
|
+
* @type {?}
|
1787
|
+
* @private
|
1788
|
+
*/
|
1789
|
+
BsModalService.prototype.loaders;
|
1790
|
+
/**
|
1791
|
+
* @type {?}
|
1792
|
+
* @private
|
1793
|
+
*/
|
1794
|
+
BsModalService.prototype._renderer;
|
1795
|
+
/**
|
1796
|
+
* @type {?}
|
1797
|
+
* @private
|
1798
|
+
*/
|
1799
|
+
BsModalService.prototype.clf;
|
1800
|
+
}
|
1271
1801
|
|
1272
1802
|
/**
|
1273
1803
|
* @fileoverview added by tsickle
|
@@ -1288,6 +1818,18 @@
|
|
1288
1818
|
providers: [BsModalService, componentLoader.ComponentLoaderFactory, positioning.PositioningService]
|
1289
1819
|
};
|
1290
1820
|
};
|
1821
|
+
/**
|
1822
|
+
* @return {?}
|
1823
|
+
*/
|
1824
|
+
ModalModule.forChild = /**
|
1825
|
+
* @return {?}
|
1826
|
+
*/
|
1827
|
+
function () {
|
1828
|
+
return {
|
1829
|
+
ngModule: ModalModule,
|
1830
|
+
providers: [BsModalService, componentLoader.ComponentLoaderFactory, positioning.PositioningService]
|
1831
|
+
};
|
1832
|
+
};
|
1291
1833
|
ModalModule.decorators = [
|
1292
1834
|
{ type: core.NgModule, args: [{
|
1293
1835
|
declarations: [
|
@@ -1314,5 +1856,5 @@
|
|
1314
1856
|
|
1315
1857
|
Object.defineProperty(exports, '__esModule', { value: true });
|
1316
1858
|
|
1317
|
-
}));
|
1859
|
+
})));
|
1318
1860
|
//# sourceMappingURL=ngx-bootstrap-modal.umd.js.map
|