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.
Files changed (440) hide show
  1. package/CHANGELOG.md +138 -99
  2. package/accordion/bundles/ngx-bootstrap-accordion.umd.js +71 -2
  3. package/accordion/bundles/ngx-bootstrap-accordion.umd.js.map +1 -1
  4. package/accordion/bundles/ngx-bootstrap-accordion.umd.min.js +1 -1
  5. package/accordion/bundles/ngx-bootstrap-accordion.umd.min.js.map +1 -1
  6. package/accordion/fesm2015/ngx-bootstrap-accordion.js +79 -0
  7. package/accordion/fesm2015/ngx-bootstrap-accordion.js.map +1 -1
  8. package/accordion/fesm5/ngx-bootstrap-accordion.js +80 -1
  9. package/accordion/fesm5/ngx-bootstrap-accordion.js.map +1 -1
  10. package/accordion/package.json +2 -2
  11. package/alert/bundles/ngx-bootstrap-alert.umd.js +224 -2
  12. package/alert/bundles/ngx-bootstrap-alert.umd.js.map +1 -1
  13. package/alert/bundles/ngx-bootstrap-alert.umd.min.js +15 -1
  14. package/alert/bundles/ngx-bootstrap-alert.umd.min.js.map +1 -1
  15. package/alert/fesm2015/ngx-bootstrap-alert.js +71 -0
  16. package/alert/fesm2015/ngx-bootstrap-alert.js.map +1 -1
  17. package/alert/fesm5/ngx-bootstrap-alert.js +72 -1
  18. package/alert/fesm5/ngx-bootstrap-alert.js.map +1 -1
  19. package/alert/package.json +2 -2
  20. package/buttons/bundles/ngx-bootstrap-buttons.umd.js +208 -85
  21. package/buttons/bundles/ngx-bootstrap-buttons.umd.js.map +1 -1
  22. package/buttons/bundles/ngx-bootstrap-buttons.umd.min.js +1 -1
  23. package/buttons/bundles/ngx-bootstrap-buttons.umd.min.js.map +1 -1
  24. package/buttons/button-radio-group.directive.d.ts +4 -1
  25. package/buttons/esm2015/button-radio-group.directive.js +26 -2
  26. package/buttons/esm5/button-radio-group.directive.js +30 -2
  27. package/buttons/fesm2015/ngx-bootstrap-buttons.js +194 -65
  28. package/buttons/fesm2015/ngx-bootstrap-buttons.js.map +1 -1
  29. package/buttons/fesm5/ngx-bootstrap-buttons.js +216 -83
  30. package/buttons/fesm5/ngx-bootstrap-buttons.js.map +1 -1
  31. package/buttons/ngx-bootstrap-buttons.metadata.json +1 -1
  32. package/buttons/package.json +2 -2
  33. package/carousel/bundles/ngx-bootstrap-carousel.umd.js +295 -4
  34. package/carousel/bundles/ngx-bootstrap-carousel.umd.js.map +1 -1
  35. package/carousel/bundles/ngx-bootstrap-carousel.umd.min.js +15 -1
  36. package/carousel/bundles/ngx-bootstrap-carousel.umd.min.js.map +1 -1
  37. package/carousel/carousel.component.d.ts +2 -0
  38. package/carousel/esm2015/carousel.component.js +15 -2
  39. package/carousel/esm2015/slide.component.js +21 -2
  40. package/carousel/esm5/carousel.component.js +15 -2
  41. package/carousel/esm5/slide.component.js +6 -2
  42. package/carousel/fesm2015/ngx-bootstrap-carousel.js +169 -2
  43. package/carousel/fesm2015/ngx-bootstrap-carousel.js.map +1 -1
  44. package/carousel/fesm5/ngx-bootstrap-carousel.js +156 -4
  45. package/carousel/fesm5/ngx-bootstrap-carousel.js.map +1 -1
  46. package/carousel/ngx-bootstrap-carousel.metadata.json +1 -1
  47. package/carousel/package.json +2 -2
  48. package/carousel/slide.component.d.ts +1 -0
  49. package/chronos/bundles/ngx-bootstrap-chronos.umd.js +11172 -10061
  50. package/chronos/bundles/ngx-bootstrap-chronos.umd.js.map +1 -1
  51. package/chronos/bundles/ngx-bootstrap-chronos.umd.min.js +1 -1
  52. package/chronos/bundles/ngx-bootstrap-chronos.umd.min.js.map +1 -1
  53. package/chronos/esm2015/format/format.js +1 -1
  54. package/chronos/esm2015/i18n/ka.js +108 -0
  55. package/chronos/esm2015/i18n/kk.js +89 -0
  56. package/chronos/esm2015/i18n/sq.js +62 -0
  57. package/chronos/esm2015/i18n/th-be.js +85 -0
  58. package/chronos/esm2015/index.js +2 -2
  59. package/chronos/esm2015/locale/locale.class.js +16 -2
  60. package/chronos/esm2015/ngx-bootstrap-chronos.js +2 -2
  61. package/chronos/esm2015/public_api.js +5 -1
  62. package/chronos/esm2015/units/year.js +4 -1
  63. package/chronos/esm5/format/format.js +1 -1
  64. package/chronos/esm5/i18n/ka.js +108 -0
  65. package/chronos/esm5/i18n/kk.js +89 -0
  66. package/chronos/esm5/i18n/sq.js +62 -0
  67. package/chronos/esm5/i18n/th-be.js +86 -0
  68. package/chronos/esm5/index.js +2 -2
  69. package/chronos/esm5/locale/locale.class.js +22 -2
  70. package/chronos/esm5/ngx-bootstrap-chronos.js +2 -2
  71. package/chronos/esm5/public_api.js +5 -1
  72. package/chronos/esm5/units/year.js +4 -1
  73. package/chronos/fesm2015/ngx-bootstrap-chronos.js +1117 -13
  74. package/chronos/fesm2015/ngx-bootstrap-chronos.js.map +1 -1
  75. package/chronos/fesm5/ngx-bootstrap-chronos.js +1130 -13
  76. package/chronos/fesm5/ngx-bootstrap-chronos.js.map +1 -1
  77. package/chronos/i18n/ka.d.ts +2 -0
  78. package/chronos/i18n/kk.d.ts +2 -0
  79. package/chronos/i18n/sq.d.ts +2 -0
  80. package/chronos/i18n/th-be.d.ts +2 -0
  81. package/chronos/locale/locale.class.d.ts +2 -0
  82. package/chronos/ngx-bootstrap-chronos.metadata.json +1 -1
  83. package/chronos/package.json +2 -2
  84. package/chronos/public_api.d.ts +4 -0
  85. package/collapse/bundles/ngx-bootstrap-collapse.umd.js +100 -2
  86. package/collapse/bundles/ngx-bootstrap-collapse.umd.js.map +1 -1
  87. package/collapse/bundles/ngx-bootstrap-collapse.umd.min.js +1 -1
  88. package/collapse/bundles/ngx-bootstrap-collapse.umd.min.js.map +1 -1
  89. package/collapse/collapse.directive.d.ts +1 -0
  90. package/collapse/esm2015/collapse.directive.js +14 -1
  91. package/collapse/esm5/collapse.directive.js +14 -1
  92. package/collapse/fesm2015/ngx-bootstrap-collapse.js +108 -0
  93. package/collapse/fesm2015/ngx-bootstrap-collapse.js.map +1 -1
  94. package/collapse/fesm5/ngx-bootstrap-collapse.js +109 -1
  95. package/collapse/fesm5/ngx-bootstrap-collapse.js.map +1 -1
  96. package/collapse/ngx-bootstrap-collapse.metadata.json +1 -1
  97. package/collapse/package.json +2 -2
  98. package/component-loader/bundles/ngx-bootstrap-component-loader.umd.js +169 -2
  99. package/component-loader/bundles/ngx-bootstrap-component-loader.umd.js.map +1 -1
  100. package/component-loader/bundles/ngx-bootstrap-component-loader.umd.min.js +1 -1
  101. package/component-loader/bundles/ngx-bootstrap-component-loader.umd.min.js.map +1 -1
  102. package/component-loader/fesm2015/ngx-bootstrap-component-loader.js +177 -0
  103. package/component-loader/fesm2015/ngx-bootstrap-component-loader.js.map +1 -1
  104. package/component-loader/fesm5/ngx-bootstrap-component-loader.js +178 -1
  105. package/component-loader/fesm5/ngx-bootstrap-component-loader.js.map +1 -1
  106. package/component-loader/package.json +2 -2
  107. package/datepicker/base/bs-datepicker-container.d.ts +4 -1
  108. package/datepicker/bs-datepicker-inline.component.d.ts +4 -0
  109. package/datepicker/bs-datepicker-input.directive.d.ts +1 -0
  110. package/datepicker/bs-datepicker.component.d.ts +12 -3
  111. package/datepicker/bs-datepicker.config.d.ts +26 -0
  112. package/datepicker/bs-datepicker.css +19 -1
  113. package/datepicker/bs-datepicker.css.map +3 -3
  114. package/datepicker/bs-datepicker.scss +0 -1
  115. package/datepicker/bs-daterangepicker-inline.component.d.ts +8 -0
  116. package/datepicker/bs-daterangepicker-input.directive.d.ts +1 -0
  117. package/datepicker/bs-daterangepicker.component.d.ts +16 -3
  118. package/datepicker/bundles/ngx-bootstrap-datepicker.umd.js +2116 -106
  119. package/datepicker/bundles/ngx-bootstrap-datepicker.umd.js.map +1 -1
  120. package/datepicker/bundles/ngx-bootstrap-datepicker.umd.min.js +15 -1
  121. package/datepicker/bundles/ngx-bootstrap-datepicker.umd.min.js.map +1 -1
  122. package/datepicker/engine/flag-days-calendar.d.ts +1 -0
  123. package/datepicker/esm2015/base/bs-datepicker-container.js +18 -3
  124. package/datepicker/esm2015/bs-datepicker-inline.component.js +25 -9
  125. package/datepicker/esm2015/bs-datepicker-input.directive.js +19 -1
  126. package/datepicker/esm2015/bs-datepicker.component.js +55 -8
  127. package/datepicker/esm2015/bs-datepicker.config.js +36 -2
  128. package/datepicker/esm2015/bs-datepicker.module.js +23 -16
  129. package/datepicker/esm2015/bs-daterangepicker-inline.component.js +37 -7
  130. package/datepicker/esm2015/bs-daterangepicker-input.directive.js +34 -3
  131. package/datepicker/esm2015/bs-daterangepicker.component.js +66 -9
  132. package/datepicker/esm2015/engine/flag-days-calendar.js +6 -3
  133. package/datepicker/esm2015/reducer/bs-datepicker.actions.js +14 -1
  134. package/datepicker/esm2015/reducer/bs-datepicker.effects.js +15 -11
  135. package/datepicker/esm2015/reducer/bs-datepicker.reducer.js +25 -6
  136. package/datepicker/esm2015/reducer/bs-datepicker.state.js +5 -1
  137. package/datepicker/esm2015/themes/bs/bs-custom-dates-view.component.js +46 -8
  138. package/datepicker/esm2015/themes/bs/bs-datepicker-container.component.js +5 -2
  139. package/datepicker/esm2015/themes/bs/bs-datepicker-inline-container.component.js +2 -2
  140. package/datepicker/esm2015/themes/bs/bs-datepicker-navigation-view.component.js +8 -7
  141. package/datepicker/esm2015/themes/bs/bs-daterangepicker-container.component.js +21 -3
  142. package/datepicker/esm2015/themes/bs/bs-daterangepicker-inline-container.component.js +2 -2
  143. package/datepicker/esm2015/themes/bs/bs-days-calendar-view.component.js +22 -8
  144. package/datepicker/esm2015/utils/bs-calendar-utils.js +18 -3
  145. package/datepicker/esm5/base/bs-datepicker-container.js +26 -3
  146. package/datepicker/esm5/bs-datepicker-inline.component.js +25 -9
  147. package/datepicker/esm5/bs-datepicker-input.directive.js +23 -1
  148. package/datepicker/esm5/bs-datepicker.component.js +59 -8
  149. package/datepicker/esm5/bs-datepicker.config.js +36 -2
  150. package/datepicker/esm5/bs-datepicker.module.js +26 -19
  151. package/datepicker/esm5/bs-daterangepicker-inline.component.js +37 -7
  152. package/datepicker/esm5/bs-daterangepicker-input.directive.js +38 -3
  153. package/datepicker/esm5/bs-daterangepicker.component.js +70 -9
  154. package/datepicker/esm5/engine/flag-days-calendar.js +6 -3
  155. package/datepicker/esm5/reducer/bs-datepicker.actions.js +18 -1
  156. package/datepicker/esm5/reducer/bs-datepicker.effects.js +21 -17
  157. package/datepicker/esm5/reducer/bs-datepicker.reducer.js +25 -6
  158. package/datepicker/esm5/reducer/bs-datepicker.state.js +5 -1
  159. package/datepicker/esm5/themes/bs/bs-custom-dates-view.component.js +39 -7
  160. package/datepicker/esm5/themes/bs/bs-datepicker-container.component.js +5 -2
  161. package/datepicker/esm5/themes/bs/bs-datepicker-inline-container.component.js +2 -2
  162. package/datepicker/esm5/themes/bs/bs-datepicker-navigation-view.component.js +2 -2
  163. package/datepicker/esm5/themes/bs/bs-daterangepicker-container.component.js +25 -3
  164. package/datepicker/esm5/themes/bs/bs-daterangepicker-inline-container.component.js +2 -2
  165. package/datepicker/esm5/themes/bs/bs-days-calendar-view.component.js +22 -8
  166. package/datepicker/esm5/utils/bs-calendar-utils.js +18 -3
  167. package/datepicker/fesm2015/ngx-bootstrap-datepicker.js +1958 -91
  168. package/datepicker/fesm2015/ngx-bootstrap-datepicker.js.map +1 -1
  169. package/datepicker/fesm5/ngx-bootstrap-datepicker.js +1989 -93
  170. package/datepicker/fesm5/ngx-bootstrap-datepicker.js.map +1 -1
  171. package/datepicker/ngx-bootstrap-datepicker.metadata.json +1 -1
  172. package/datepicker/package.json +2 -2
  173. package/datepicker/reducer/bs-datepicker.actions.d.ts +2 -0
  174. package/datepicker/reducer/bs-datepicker.effects.d.ts +3 -2
  175. package/datepicker/reducer/bs-datepicker.state.d.ts +2 -0
  176. package/datepicker/themes/bs/bs-custom-dates-view.component.d.ts +6 -1
  177. package/datepicker/themes/bs/bs-daterangepicker-container.component.d.ts +3 -0
  178. package/datepicker/utils/bs-calendar-utils.d.ts +1 -0
  179. package/datepicker/utils/scss/mixins.css.map +1 -1
  180. package/datepicker/utils/scss/mixins.scss +9 -0
  181. package/dropdown/bundles/ngx-bootstrap-dropdown.umd.js +395 -5
  182. package/dropdown/bundles/ngx-bootstrap-dropdown.umd.js.map +1 -1
  183. package/dropdown/bundles/ngx-bootstrap-dropdown.umd.min.js +15 -1
  184. package/dropdown/bundles/ngx-bootstrap-dropdown.umd.min.js.map +1 -1
  185. package/dropdown/esm2015/bs-dropdown-container.component.js +2 -2
  186. package/dropdown/esm2015/bs-dropdown.directive.js +8 -3
  187. package/dropdown/esm5/bs-dropdown-container.component.js +2 -2
  188. package/dropdown/esm5/bs-dropdown.directive.js +9 -3
  189. package/dropdown/fesm2015/ngx-bootstrap-dropdown.js +241 -3
  190. package/dropdown/fesm2015/ngx-bootstrap-dropdown.js.map +1 -1
  191. package/dropdown/fesm5/ngx-bootstrap-dropdown.js +242 -3
  192. package/dropdown/fesm5/ngx-bootstrap-dropdown.js.map +1 -1
  193. package/dropdown/ngx-bootstrap-dropdown.metadata.json +1 -1
  194. package/dropdown/package.json +2 -2
  195. package/locale/bundles/ngx-bootstrap-locale.umd.js +36 -2
  196. package/locale/bundles/ngx-bootstrap-locale.umd.js.map +1 -1
  197. package/locale/bundles/ngx-bootstrap-locale.umd.min.js +1 -1
  198. package/locale/esm2015/ngx-bootstrap-locale.js +2 -2
  199. package/locale/esm2015/public_api.js +5 -1
  200. package/locale/esm5/ngx-bootstrap-locale.js +2 -2
  201. package/locale/esm5/public_api.js +5 -1
  202. package/locale/fesm2015/ngx-bootstrap-locale.js +11 -1
  203. package/locale/fesm2015/ngx-bootstrap-locale.js.map +1 -1
  204. package/locale/fesm5/ngx-bootstrap-locale.js +11 -1
  205. package/locale/fesm5/ngx-bootstrap-locale.js.map +1 -1
  206. package/locale/ngx-bootstrap-locale.metadata.json +1 -1
  207. package/locale/package.json +2 -2
  208. package/locale/public_api.d.ts +4 -0
  209. package/mini-ngrx/bundles/ngx-bootstrap-mini-ngrx.umd.js +187 -2
  210. package/mini-ngrx/bundles/ngx-bootstrap-mini-ngrx.umd.js.map +1 -1
  211. package/mini-ngrx/bundles/ngx-bootstrap-mini-ngrx.umd.min.js +15 -1
  212. package/mini-ngrx/bundles/ngx-bootstrap-mini-ngrx.umd.min.js.map +1 -1
  213. package/mini-ngrx/fesm2015/ngx-bootstrap-mini-ngrx.js +32 -0
  214. package/mini-ngrx/fesm2015/ngx-bootstrap-mini-ngrx.js.map +1 -1
  215. package/mini-ngrx/fesm5/ngx-bootstrap-mini-ngrx.js +32 -0
  216. package/mini-ngrx/fesm5/ngx-bootstrap-mini-ngrx.js.map +1 -1
  217. package/mini-ngrx/package.json +2 -2
  218. package/modal/bs-modal.service.d.ts +1 -2
  219. package/modal/bundles/ngx-bootstrap-modal.umd.js +558 -16
  220. package/modal/bundles/ngx-bootstrap-modal.umd.js.map +1 -1
  221. package/modal/bundles/ngx-bootstrap-modal.umd.min.js +15 -1
  222. package/modal/bundles/ngx-bootstrap-modal.umd.min.js.map +1 -1
  223. package/modal/esm2015/bs-modal.service.js +13 -4
  224. package/modal/esm2015/modal-container.component.js +24 -5
  225. package/modal/esm2015/modal-options.class.js +16 -1
  226. package/modal/esm2015/modal.directive.js +21 -4
  227. package/modal/esm2015/modal.module.js +10 -1
  228. package/modal/esm5/bs-modal.service.js +28 -8
  229. package/modal/esm5/modal-container.component.js +28 -5
  230. package/modal/esm5/modal-options.class.js +16 -1
  231. package/modal/esm5/modal.directive.js +25 -4
  232. package/modal/esm5/modal.module.js +13 -1
  233. package/modal/fesm2015/ngx-bootstrap-modal.js +354 -10
  234. package/modal/fesm2015/ngx-bootstrap-modal.js.map +1 -1
  235. package/modal/fesm5/ngx-bootstrap-modal.js +381 -15
  236. package/modal/fesm5/ngx-bootstrap-modal.js.map +1 -1
  237. package/modal/modal-container.component.d.ts +3 -1
  238. package/modal/modal-options.class.d.ts +13 -0
  239. package/modal/modal.directive.d.ts +3 -1
  240. package/modal/modal.module.d.ts +1 -0
  241. package/modal/ngx-bootstrap-modal.metadata.json +1 -1
  242. package/modal/package.json +2 -2
  243. package/package.json +2 -2
  244. package/pagination/bundles/ngx-bootstrap-pagination.umd.js +276 -4
  245. package/pagination/bundles/ngx-bootstrap-pagination.umd.js.map +1 -1
  246. package/pagination/bundles/ngx-bootstrap-pagination.umd.min.js +1 -1
  247. package/pagination/bundles/ngx-bootstrap-pagination.umd.min.js.map +1 -1
  248. package/pagination/esm2015/models/index.js +49 -4
  249. package/pagination/esm2015/pager.component.js +2 -2
  250. package/pagination/esm2015/pagination.component.js +33 -3
  251. package/pagination/esm2015/public_api.js +1 -1
  252. package/pagination/esm5/models/index.js +49 -4
  253. package/pagination/esm5/pager.component.js +2 -2
  254. package/pagination/esm5/pagination.component.js +33 -3
  255. package/pagination/esm5/public_api.js +1 -1
  256. package/pagination/fesm2015/ngx-bootstrap-pagination.js +284 -2
  257. package/pagination/fesm2015/ngx-bootstrap-pagination.js.map +1 -1
  258. package/pagination/fesm5/ngx-bootstrap-pagination.js +285 -3
  259. package/pagination/fesm5/ngx-bootstrap-pagination.js.map +1 -1
  260. package/pagination/models/index.d.ts +28 -0
  261. package/pagination/ngx-bootstrap-pagination.metadata.json +1 -1
  262. package/pagination/package.json +2 -2
  263. package/pagination/pagination.component.d.ts +12 -2
  264. package/pagination/public_api.d.ts +1 -0
  265. package/popover/bundles/ngx-bootstrap-popover.umd.js +215 -20
  266. package/popover/bundles/ngx-bootstrap-popover.umd.js.map +1 -1
  267. package/popover/bundles/ngx-bootstrap-popover.umd.min.js +1 -1
  268. package/popover/bundles/ngx-bootstrap-popover.umd.min.js.map +1 -1
  269. package/popover/esm2015/popover.config.js +10 -1
  270. package/popover/esm2015/popover.directive.js +97 -16
  271. package/popover/esm5/popover.config.js +10 -1
  272. package/popover/esm5/popover.directive.js +98 -16
  273. package/popover/fesm2015/ngx-bootstrap-popover.js +221 -16
  274. package/popover/fesm2015/ngx-bootstrap-popover.js.map +1 -1
  275. package/popover/fesm5/ngx-bootstrap-popover.js +222 -16
  276. package/popover/fesm5/ngx-bootstrap-popover.js.map +1 -1
  277. package/popover/ngx-bootstrap-popover.metadata.json +1 -1
  278. package/popover/package.json +2 -2
  279. package/popover/popover.config.d.ts +2 -0
  280. package/popover/popover.directive.d.ts +9 -1
  281. package/positioning/bundles/ngx-bootstrap-positioning.umd.js +286 -13
  282. package/positioning/bundles/ngx-bootstrap-positioning.umd.js.map +1 -1
  283. package/positioning/bundles/ngx-bootstrap-positioning.umd.min.js +15 -1
  284. package/positioning/bundles/ngx-bootstrap-positioning.umd.min.js.map +1 -1
  285. package/positioning/esm2015/modifiers/arrow.js +19 -5
  286. package/positioning/esm2015/modifiers/initData.js +12 -2
  287. package/positioning/esm2015/modifiers/shift.js +6 -4
  288. package/positioning/esm5/modifiers/arrow.js +19 -5
  289. package/positioning/esm5/modifiers/initData.js +12 -2
  290. package/positioning/esm5/modifiers/shift.js +8 -6
  291. package/positioning/fesm2015/ngx-bootstrap-positioning.js +128 -8
  292. package/positioning/fesm2015/ngx-bootstrap-positioning.js.map +1 -1
  293. package/positioning/fesm5/ngx-bootstrap-positioning.js +132 -10
  294. package/positioning/fesm5/ngx-bootstrap-positioning.js.map +1 -1
  295. package/positioning/package.json +2 -2
  296. package/progressbar/bundles/ngx-bootstrap-progressbar.umd.js +77 -2
  297. package/progressbar/bundles/ngx-bootstrap-progressbar.umd.js.map +1 -1
  298. package/progressbar/bundles/ngx-bootstrap-progressbar.umd.min.js +1 -1
  299. package/progressbar/bundles/ngx-bootstrap-progressbar.umd.min.js.map +1 -1
  300. package/progressbar/fesm2015/ngx-bootstrap-progressbar.js +85 -0
  301. package/progressbar/fesm2015/ngx-bootstrap-progressbar.js.map +1 -1
  302. package/progressbar/fesm5/ngx-bootstrap-progressbar.js +85 -0
  303. package/progressbar/fesm5/ngx-bootstrap-progressbar.js.map +1 -1
  304. package/progressbar/package.json +2 -2
  305. package/rating/bundles/ngx-bootstrap-rating.umd.js +92 -7
  306. package/rating/bundles/ngx-bootstrap-rating.umd.js.map +1 -1
  307. package/rating/bundles/ngx-bootstrap-rating.umd.min.js +1 -1
  308. package/rating/bundles/ngx-bootstrap-rating.umd.min.js.map +1 -1
  309. package/rating/esm2015/ngx-bootstrap-rating.js +2 -2
  310. package/rating/esm2015/public_api.js +2 -1
  311. package/rating/esm2015/rating.component.js +14 -5
  312. package/rating/esm2015/rating.config.js +27 -0
  313. package/rating/esm2015/rating.module.js +3 -2
  314. package/rating/esm5/ngx-bootstrap-rating.js +2 -2
  315. package/rating/esm5/public_api.js +2 -1
  316. package/rating/esm5/rating.component.js +13 -5
  317. package/rating/esm5/rating.config.js +29 -0
  318. package/rating/esm5/rating.module.js +3 -2
  319. package/rating/fesm2015/ngx-bootstrap-rating.js +101 -7
  320. package/rating/fesm2015/ngx-bootstrap-rating.js.map +1 -1
  321. package/rating/fesm5/ngx-bootstrap-rating.js +101 -7
  322. package/rating/fesm5/ngx-bootstrap-rating.js.map +1 -1
  323. package/rating/ngx-bootstrap-rating.metadata.json +1 -1
  324. package/rating/package.json +2 -2
  325. package/rating/public_api.d.ts +1 -0
  326. package/rating/rating.component.d.ts +4 -1
  327. package/rating/rating.config.d.ts +5 -0
  328. package/sortable/bundles/ngx-bootstrap-sortable.umd.js +254 -2
  329. package/sortable/bundles/ngx-bootstrap-sortable.umd.js.map +1 -1
  330. package/sortable/bundles/ngx-bootstrap-sortable.umd.min.js +15 -1
  331. package/sortable/bundles/ngx-bootstrap-sortable.umd.min.js.map +1 -1
  332. package/sortable/fesm2015/ngx-bootstrap-sortable.js +113 -0
  333. package/sortable/fesm2015/ngx-bootstrap-sortable.js.map +1 -1
  334. package/sortable/fesm5/ngx-bootstrap-sortable.js +114 -1
  335. package/sortable/fesm5/ngx-bootstrap-sortable.js.map +1 -1
  336. package/sortable/package.json +2 -2
  337. package/tabs/bundles/ngx-bootstrap-tabs.umd.js +153 -4
  338. package/tabs/bundles/ngx-bootstrap-tabs.umd.js.map +1 -1
  339. package/tabs/bundles/ngx-bootstrap-tabs.umd.min.js +1 -1
  340. package/tabs/bundles/ngx-bootstrap-tabs.umd.min.js.map +1 -1
  341. package/tabs/esm2015/tab.directive.js +13 -2
  342. package/tabs/esm2015/tabset.component.js +7 -2
  343. package/tabs/esm2015/tabset.config.js +10 -1
  344. package/tabs/esm5/tab.directive.js +17 -2
  345. package/tabs/esm5/tabset.component.js +7 -2
  346. package/tabs/esm5/tabset.config.js +10 -1
  347. package/tabs/fesm2015/ngx-bootstrap-tabs.js +157 -2
  348. package/tabs/fesm2015/ngx-bootstrap-tabs.js.map +1 -1
  349. package/tabs/fesm5/ngx-bootstrap-tabs.js +162 -3
  350. package/tabs/fesm5/ngx-bootstrap-tabs.js.map +1 -1
  351. package/tabs/ngx-bootstrap-tabs.metadata.json +1 -1
  352. package/tabs/package.json +2 -2
  353. package/tabs/tab.directive.d.ts +2 -0
  354. package/tabs/tabset.component.d.ts +2 -0
  355. package/tabs/tabset.config.d.ts +2 -0
  356. package/timepicker/bundles/ngx-bootstrap-timepicker.umd.js +464 -8
  357. package/timepicker/bundles/ngx-bootstrap-timepicker.umd.js.map +1 -1
  358. package/timepicker/bundles/ngx-bootstrap-timepicker.umd.min.js +15 -1
  359. package/timepicker/bundles/ngx-bootstrap-timepicker.umd.min.js.map +1 -1
  360. package/timepicker/esm2015/timepicker.component.js +8 -2
  361. package/timepicker/esm2015/timepicker.config.js +28 -1
  362. package/timepicker/esm2015/timepicker.utils.js +9 -6
  363. package/timepicker/esm5/timepicker.component.js +8 -2
  364. package/timepicker/esm5/timepicker.config.js +28 -1
  365. package/timepicker/esm5/timepicker.utils.js +9 -6
  366. package/timepicker/fesm2015/ngx-bootstrap-timepicker.js +311 -6
  367. package/timepicker/fesm2015/ngx-bootstrap-timepicker.js.map +1 -1
  368. package/timepicker/fesm5/ngx-bootstrap-timepicker.js +315 -7
  369. package/timepicker/fesm5/ngx-bootstrap-timepicker.js.map +1 -1
  370. package/timepicker/ngx-bootstrap-timepicker.metadata.json +1 -1
  371. package/timepicker/package.json +2 -2
  372. package/timepicker/timepicker.component.d.ts +3 -0
  373. package/timepicker/timepicker.config.d.ts +6 -0
  374. package/tooltip/bundles/ngx-bootstrap-tooltip.umd.js +355 -8
  375. package/tooltip/bundles/ngx-bootstrap-tooltip.umd.js.map +1 -1
  376. package/tooltip/bundles/ngx-bootstrap-tooltip.umd.min.js +15 -1
  377. package/tooltip/bundles/ngx-bootstrap-tooltip.umd.min.js.map +1 -1
  378. package/tooltip/esm2015/tooltip.directive.js +47 -10
  379. package/tooltip/esm5/tooltip.directive.js +50 -10
  380. package/tooltip/fesm2015/ngx-bootstrap-tooltip.js +200 -7
  381. package/tooltip/fesm2015/ngx-bootstrap-tooltip.js.map +1 -1
  382. package/tooltip/fesm5/ngx-bootstrap-tooltip.js +203 -7
  383. package/tooltip/fesm5/ngx-bootstrap-tooltip.js.map +1 -1
  384. package/tooltip/ngx-bootstrap-tooltip.metadata.json +1 -1
  385. package/tooltip/package.json +2 -2
  386. package/tooltip/tooltip.directive.d.ts +3 -1
  387. package/typeahead/bundles/ngx-bootstrap-typeahead.umd.js +719 -43
  388. package/typeahead/bundles/ngx-bootstrap-typeahead.umd.js.map +1 -1
  389. package/typeahead/bundles/ngx-bootstrap-typeahead.umd.min.js +15 -1
  390. package/typeahead/bundles/ngx-bootstrap-typeahead.umd.min.js.map +1 -1
  391. package/typeahead/esm2015/models/index.js +87 -0
  392. package/typeahead/esm2015/ngx-bootstrap-typeahead.js +2 -2
  393. package/typeahead/esm2015/public_api.js +2 -1
  394. package/typeahead/esm2015/typeahead-container.component.js +52 -11
  395. package/typeahead/esm2015/typeahead-order.class.js +19 -0
  396. package/typeahead/esm2015/typeahead.config.js +10 -1
  397. package/typeahead/esm2015/typeahead.directive.js +133 -30
  398. package/typeahead/esm5/models/index.js +87 -0
  399. package/typeahead/esm5/ngx-bootstrap-typeahead.js +2 -2
  400. package/typeahead/esm5/public_api.js +2 -1
  401. package/typeahead/esm5/typeahead-container.component.js +59 -11
  402. package/typeahead/esm5/typeahead-order.class.js +23 -0
  403. package/typeahead/esm5/typeahead.config.js +10 -1
  404. package/typeahead/esm5/typeahead.directive.js +140 -36
  405. package/typeahead/fesm2015/ngx-bootstrap-typeahead.js +550 -37
  406. package/typeahead/fesm2015/ngx-bootstrap-typeahead.js.map +1 -1
  407. package/typeahead/fesm5/ngx-bootstrap-typeahead.js +567 -43
  408. package/typeahead/fesm5/ngx-bootstrap-typeahead.js.map +1 -1
  409. package/typeahead/models/index.d.ts +41 -0
  410. package/typeahead/ngx-bootstrap-typeahead.metadata.json +1 -1
  411. package/typeahead/package.json +2 -2
  412. package/typeahead/public_api.d.ts +2 -0
  413. package/typeahead/typeahead-container.component.d.ts +10 -5
  414. package/typeahead/typeahead-order.class.d.ts +6 -0
  415. package/typeahead/typeahead.config.d.ts +2 -0
  416. package/typeahead/typeahead.directive.d.ts +28 -10
  417. package/utils/bundles/ngx-bootstrap-utils.umd.js +54 -2
  418. package/utils/bundles/ngx-bootstrap-utils.umd.js.map +1 -1
  419. package/utils/bundles/ngx-bootstrap-utils.umd.min.js +2 -2
  420. package/utils/bundles/ngx-bootstrap-utils.umd.min.js.map +1 -1
  421. package/utils/fesm2015/ngx-bootstrap-utils.js +62 -0
  422. package/utils/fesm2015/ngx-bootstrap-utils.js.map +1 -1
  423. package/utils/fesm5/ngx-bootstrap-utils.js +62 -0
  424. package/utils/fesm5/ngx-bootstrap-utils.js.map +1 -1
  425. package/utils/package.json +2 -2
  426. package/bundles/ngx-bootstrap.umd.js +0 -1037
  427. package/bundles/ngx-bootstrap.umd.js.map +0 -1
  428. package/bundles/ngx-bootstrap.umd.min.js +0 -2
  429. package/bundles/ngx-bootstrap.umd.min.js.map +0 -1
  430. package/esm2015/ngx-bootstrap.js +0 -9
  431. package/esm2015/public_api.js +0 -30
  432. package/esm5/ngx-bootstrap.js +0 -9
  433. package/esm5/public_api.js +0 -30
  434. package/fesm2015/ngx-bootstrap.js +0 -24
  435. package/fesm2015/ngx-bootstrap.js.map +0 -1
  436. package/fesm5/ngx-bootstrap.js +0 -24
  437. package/fesm5/ngx-bootstrap.js.map +0 -1
  438. package/ngx-bootstrap.d.ts +0 -4
  439. package/ngx-bootstrap.metadata.json +0 -1
  440. package/public_api.d.ts +0 -25
@@ -1,7 +1,8 @@
1
- import { Injectable, Component, ElementRef, Renderer2, HostListener, Directive, ViewContainerRef, Input, Output, EventEmitter, RendererFactory2, NgModule } from '@angular/core';
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.onClick = /**
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
- event.target !== this._element.nativeElement) {
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
- onClick: [{ type: HostListener, args: ['click', ['$event'],] }],
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.onClick = /**
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
- event.target !== this._element.nativeElement) {
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
- onClick: [{ type: HostListener, args: ['click', ['$event'],] }],
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
- modalContainerRef.instance.hide();
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
- /** AFTER PR MERGE MODAL.COMPONENT WILL BE USING THIS CODE */
1128
- /** Scroll bar tricks */
1412
+ /** Checks if the body is overflowing and sets scrollbar width */
1129
1413
  /** @internal */
1130
- /** AFTER PR MERGE MODAL.COMPONENT WILL BE USING THIS CODE */
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 = /** AFTER PR MERGE MODAL.COMPONENT WILL BE USING THIS CODE */
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