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
@@ -36,6 +36,13 @@ function isString(str) {
36
36
  function isDate(value) {
37
37
  return value instanceof Date || Object.prototype.toString.call(value) === '[object Date]';
38
38
  }
39
+ /**
40
+ * @param {?} value
41
+ * @return {?}
42
+ */
43
+ function isBoolean(value) {
44
+ return value === true || value === false;
45
+ }
39
46
  /**
40
47
  * @param {?} date
41
48
  * @return {?}
@@ -437,6 +444,13 @@ function getMonth(date, isUTC = false) {
437
444
  function getFullYear(date, isUTC = false) {
438
445
  return isUTC ? date.getUTCFullYear() : date.getFullYear();
439
446
  }
447
+ /**
448
+ * @param {?} date
449
+ * @return {?}
450
+ */
451
+ function getUnixTime(date) {
452
+ return Math.floor(date.valueOf() / 1000);
453
+ }
440
454
  /**
441
455
  * @param {?} date
442
456
  * @return {?}
@@ -451,6 +465,21 @@ function unix(date) {
451
465
  function getFirstDayOfMonth(date) {
452
466
  return createDate(date.getFullYear(), date.getMonth(), 1, date.getHours(), date.getMinutes(), date.getSeconds());
453
467
  }
468
+ /**
469
+ * @param {?} date
470
+ * @return {?}
471
+ */
472
+ function daysInMonth(date) {
473
+ return _daysInMonth(date.getFullYear(), date.getMonth());
474
+ }
475
+ /**
476
+ * @param {?} year
477
+ * @param {?} month
478
+ * @return {?}
479
+ */
480
+ function _daysInMonth(year, month) {
481
+ return new Date(Date.UTC(year, month + 1, 0)).getUTCDate();
482
+ }
454
483
  /**
455
484
  * @param {?} date
456
485
  * @param {?} firstDayOfWeek
@@ -537,6 +566,9 @@ const matchUnsigned = /\d+/;
537
566
  // 0 - inf
538
567
  /** @type {?} */
539
568
  const matchSigned = /[+-]?\d+/;
569
+ // -inf - inf
570
+ /** @type {?} */
571
+ const matchOffset = /Z|[+-]\d\d:?\d\d/gi;
540
572
  // +00:00 -00:00 +0000 -0000 or Z
541
573
  /** @type {?} */
542
574
  const matchShortOffset = /Z|[+-]\d\d(?::?\d\d)?/gi;
@@ -678,6 +710,21 @@ function addTimeToArrayFromToken(token, input, config) {
678
710
  return config;
679
711
  }
680
712
 
713
+ /**
714
+ * @fileoverview added by tsickle
715
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
716
+ */
717
+ /** @type {?} */
718
+ const priorities = {};
719
+ /**
720
+ * @param {?} unit
721
+ * @param {?} priority
722
+ * @return {?}
723
+ */
724
+ function addUnitPriority(unit, priority) {
725
+ priorities[unit] = priority;
726
+ }
727
+
681
728
  /**
682
729
  * @fileoverview added by tsickle
683
730
  * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
@@ -698,6 +745,8 @@ function initDayOfMonth() {
698
745
  }));
699
746
  // ALIASES
700
747
  addUnitAlias('date', 'D');
748
+ // PRIOROITY
749
+ addUnitPriority('date', 9);
701
750
  // PARSING
702
751
  addRegexToken('D', match1to2);
703
752
  addRegexToken('DD', match1to2, match2);
@@ -770,6 +819,9 @@ function getParsingFlags(config) {
770
819
  * @return {?}
771
820
  */
772
821
  function getYear(date, opts) {
822
+ if (opts.locale.getFullYear) {
823
+ return opts.locale.getFullYear(date, opts.isUTC).toString();
824
+ }
773
825
  return getFullYear(date, opts.isUTC).toString();
774
826
  }
775
827
  /**
@@ -799,6 +851,8 @@ function initYear() {
799
851
  addFormatToken(null, ['YYYYYY', 6, true], null, getYear);
800
852
  // ALIASES
801
853
  addUnitAlias('year', 'y');
854
+ // PRIORITIES
855
+ addUnitPriority('year', 1);
802
856
  // PARSING
803
857
  addRegexToken('Y', matchSigned);
804
858
  addRegexToken('YY', match1to2, match2);
@@ -869,7 +923,7 @@ function isLeapYear(year) {
869
923
  * @param {?} month
870
924
  * @return {?}
871
925
  */
872
- function daysInMonth(year, month) {
926
+ function daysInMonth$1(year, month) {
873
927
  if (isNaN(year) || isNaN(month)) {
874
928
  return NaN;
875
929
  }
@@ -912,6 +966,8 @@ function initMonth() {
912
966
  }));
913
967
  // ALIASES
914
968
  addUnitAlias('month', 'M');
969
+ // PRIORITY
970
+ addUnitPriority('month', 8);
915
971
  // PARSING
916
972
  addRegexToken('M', match1to2);
917
973
  addRegexToken('MM', match1to2, match2);
@@ -990,7 +1046,7 @@ function shiftDate(date, unit) {
990
1046
  /** @type {?} */
991
1047
  let day = date.getDate() + (_unit.day || 0);
992
1048
  if (_unit.month && !_unit.day) {
993
- day = Math.min(day, daysInMonth(year, month));
1049
+ day = Math.min(day, daysInMonth$1(year, month));
994
1050
  }
995
1051
  return createDate(year, month, day, date.getHours() + (_unit.hour || 0), date.getMinutes() + (_unit.minute || 0), date.getSeconds() + (_unit.seconds || 0));
996
1052
  }
@@ -1011,6 +1067,27 @@ function setFullDate(date, unit) {
1011
1067
  function getNum(def, num) {
1012
1068
  return isNumber(num) ? num : def;
1013
1069
  }
1070
+ /**
1071
+ * @param {?} date
1072
+ * @param {?} value
1073
+ * @param {?=} isUTC
1074
+ * @return {?}
1075
+ */
1076
+ function setFullYear(date, value, isUTC) {
1077
+ /** @type {?} */
1078
+ const _month = getMonth(date, isUTC);
1079
+ /** @type {?} */
1080
+ const _date = getDate(date, isUTC);
1081
+ /** @type {?} */
1082
+ const _year = getFullYear(date, isUTC);
1083
+ if (isLeapYear(_year) && _month === 1 && _date === 29) {
1084
+ /** @type {?} */
1085
+ const _daysInMonth = daysInMonth$1(value, _month);
1086
+ isUTC ? date.setUTCFullYear(value, _month, _daysInMonth) : date.setFullYear(value, _month, _daysInMonth);
1087
+ }
1088
+ isUTC ? date.setUTCFullYear(value) : date.setFullYear(value);
1089
+ return date;
1090
+ }
1014
1091
  /**
1015
1092
  * @param {?} date
1016
1093
  * @param {?} value
@@ -1019,10 +1096,20 @@ function getNum(def, num) {
1019
1096
  */
1020
1097
  function setMonth(date, value, isUTC) {
1021
1098
  /** @type {?} */
1022
- const dayOfMonth = Math.min(getDate(date), daysInMonth(getFullYear(date), value));
1099
+ const dayOfMonth = Math.min(getDate(date), daysInMonth$1(getFullYear(date), value));
1023
1100
  isUTC ? date.setUTCMonth(value, dayOfMonth) : date.setMonth(value, dayOfMonth);
1024
1101
  return date;
1025
1102
  }
1103
+ /**
1104
+ * @param {?} date
1105
+ * @param {?} value
1106
+ * @param {?=} isUTC
1107
+ * @return {?}
1108
+ */
1109
+ function setDay(date, value, isUTC) {
1110
+ isUTC ? date.setUTCDate(value) : date.setDate(value);
1111
+ return date;
1112
+ }
1026
1113
  /**
1027
1114
  * @param {?} date
1028
1115
  * @param {?} value
@@ -1189,6 +1276,8 @@ function initDayOfYear() {
1189
1276
  }));
1190
1277
  // ALIASES
1191
1278
  addUnitAlias('dayOfYear', 'DDD');
1279
+ // PRIORITY
1280
+ addUnitPriority('dayOfYear', 4);
1192
1281
  addRegexToken('DDD', match1to3);
1193
1282
  addRegexToken('DDDD', match3);
1194
1283
  addParseToken(['DDD', 'DDDD'], (/**
@@ -1218,6 +1307,16 @@ function getDayOfYear(date, isUTC) {
1218
1307
  const oneDay = 1000 * 60 * 60 * 24;
1219
1308
  return Math.round(someDate / oneDay) + 1;
1220
1309
  }
1310
+ /**
1311
+ * @param {?} date
1312
+ * @param {?} input
1313
+ * @return {?}
1314
+ */
1315
+ function setDayOfYear(date, input) {
1316
+ /** @type {?} */
1317
+ const dayOfYear = getDayOfYear(date);
1318
+ return add(date, (input - dayOfYear), 'day');
1319
+ }
1221
1320
 
1222
1321
  /**
1223
1322
  * @fileoverview added by tsickle
@@ -1326,6 +1425,18 @@ function weeksInYear(year, dow, doy) {
1326
1425
  * @fileoverview added by tsickle
1327
1426
  * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1328
1427
  */
1428
+ /**
1429
+ * @record
1430
+ */
1431
+ function LocaleOptionsFormat() { }
1432
+ if (false) {
1433
+ /** @type {?} */
1434
+ LocaleOptionsFormat.prototype.format;
1435
+ /** @type {?} */
1436
+ LocaleOptionsFormat.prototype.standalone;
1437
+ /** @type {?|undefined} */
1438
+ LocaleOptionsFormat.prototype.isFormat;
1439
+ }
1329
1440
  /** @type {?} */
1330
1441
  const MONTHS_IN_FORMAT = /D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/;
1331
1442
  /** @type {?} */
@@ -1355,6 +1466,94 @@ const defaultDayOfMonthOrdinalParse = /\d{1,2}/;
1355
1466
  const defaultMonthsShortRegex = matchWord;
1356
1467
  /** @type {?} */
1357
1468
  const defaultMonthsRegex = matchWord;
1469
+ /**
1470
+ * @record
1471
+ */
1472
+ function LocaleData() { }
1473
+ if (false) {
1474
+ /** @type {?|undefined} */
1475
+ LocaleData.prototype.abbr;
1476
+ /** @type {?|undefined} */
1477
+ LocaleData.prototype.parentLocale;
1478
+ /** @type {?|undefined} */
1479
+ LocaleData.prototype.months;
1480
+ /** @type {?|undefined} */
1481
+ LocaleData.prototype.monthsShort;
1482
+ /** @type {?|undefined} */
1483
+ LocaleData.prototype.monthsParseExact;
1484
+ /** @type {?|undefined} */
1485
+ LocaleData.prototype.weekdays;
1486
+ /** @type {?|undefined} */
1487
+ LocaleData.prototype.weekdaysShort;
1488
+ /** @type {?|undefined} */
1489
+ LocaleData.prototype.weekdaysMin;
1490
+ /** @type {?|undefined} */
1491
+ LocaleData.prototype.weekdaysParseExact;
1492
+ /** @type {?|undefined} */
1493
+ LocaleData.prototype.longDateFormat;
1494
+ /** @type {?|undefined} */
1495
+ LocaleData.prototype.calendar;
1496
+ /** @type {?|undefined} */
1497
+ LocaleData.prototype.relativeTime;
1498
+ /** @type {?|undefined} */
1499
+ LocaleData.prototype.dayOfMonthOrdinalParse;
1500
+ /** @type {?|undefined} */
1501
+ LocaleData.prototype.ordinal;
1502
+ /** @type {?|undefined} */
1503
+ LocaleData.prototype.week;
1504
+ /** @type {?|undefined} */
1505
+ LocaleData.prototype.invalidDate;
1506
+ /** @type {?|undefined} */
1507
+ LocaleData.prototype.monthsRegex;
1508
+ /** @type {?|undefined} */
1509
+ LocaleData.prototype.monthsParse;
1510
+ /** @type {?|undefined} */
1511
+ LocaleData.prototype.monthsShortRegex;
1512
+ /** @type {?|undefined} */
1513
+ LocaleData.prototype.monthsStrictRegex;
1514
+ /** @type {?|undefined} */
1515
+ LocaleData.prototype.monthsShortStrictRegex;
1516
+ /** @type {?|undefined} */
1517
+ LocaleData.prototype.longMonthsParse;
1518
+ /** @type {?|undefined} */
1519
+ LocaleData.prototype.shortMonthsParse;
1520
+ /** @type {?|undefined} */
1521
+ LocaleData.prototype.meridiemParse;
1522
+ /**
1523
+ * @param {?} hour
1524
+ * @param {?} meridiem
1525
+ * @return {?}
1526
+ */
1527
+ LocaleData.prototype.meridiemHour = function (hour, meridiem) { };
1528
+ /**
1529
+ * @param {?} str
1530
+ * @return {?}
1531
+ */
1532
+ LocaleData.prototype.preparse = function (str) { };
1533
+ /**
1534
+ * @param {?} str
1535
+ * @return {?}
1536
+ */
1537
+ LocaleData.prototype.postformat = function (str) { };
1538
+ /**
1539
+ * @param {?} hour
1540
+ * @param {?=} minute
1541
+ * @param {?=} isLower
1542
+ * @return {?}
1543
+ */
1544
+ LocaleData.prototype.meridiem = function (hour, minute, isLower) { };
1545
+ /**
1546
+ * @param {?} input
1547
+ * @return {?}
1548
+ */
1549
+ LocaleData.prototype.isPM = function (input) { };
1550
+ /**
1551
+ * @param {?} date
1552
+ * @param {?} isUTC
1553
+ * @return {?}
1554
+ */
1555
+ LocaleData.prototype.getFullYear = function (date, isUTC) { };
1556
+ }
1358
1557
  class Locale {
1359
1558
  /**
1360
1559
  * @param {?} config
@@ -1443,6 +1642,14 @@ class Locale {
1443
1642
  preparse(str) {
1444
1643
  return str;
1445
1644
  }
1645
+ /**
1646
+ * @param {?} date
1647
+ * @param {?=} isUTC
1648
+ * @return {?}
1649
+ */
1650
+ getFullYear(date, isUTC = false) {
1651
+ return getFullYear(date, isUTC);
1652
+ }
1446
1653
  /**
1447
1654
  * @param {?} str
1448
1655
  * @return {?}
@@ -2065,6 +2272,166 @@ class Locale {
2065
2272
  this._weekdaysMinStrictRegex = new RegExp(`^(${minPieces.join('|')})`, 'i');
2066
2273
  }
2067
2274
  }
2275
+ if (false) {
2276
+ /** @type {?} */
2277
+ Locale.prototype.parentLocale;
2278
+ /** @type {?} */
2279
+ Locale.prototype._abbr;
2280
+ /** @type {?} */
2281
+ Locale.prototype._config;
2282
+ /** @type {?} */
2283
+ Locale.prototype.meridiemHour;
2284
+ /** @type {?} */
2285
+ Locale.prototype._invalidDate;
2286
+ /** @type {?} */
2287
+ Locale.prototype._week;
2288
+ /** @type {?} */
2289
+ Locale.prototype._dayOfMonthOrdinalParse;
2290
+ /** @type {?} */
2291
+ Locale.prototype._ordinalParse;
2292
+ /** @type {?} */
2293
+ Locale.prototype._meridiemParse;
2294
+ /**
2295
+ * @type {?}
2296
+ * @private
2297
+ */
2298
+ Locale.prototype._calendar;
2299
+ /**
2300
+ * @type {?}
2301
+ * @private
2302
+ */
2303
+ Locale.prototype._relativeTime;
2304
+ /**
2305
+ * @type {?}
2306
+ * @private
2307
+ */
2308
+ Locale.prototype._months;
2309
+ /**
2310
+ * @type {?}
2311
+ * @private
2312
+ */
2313
+ Locale.prototype._monthsShort;
2314
+ /**
2315
+ * @type {?}
2316
+ * @private
2317
+ */
2318
+ Locale.prototype._monthsRegex;
2319
+ /**
2320
+ * @type {?}
2321
+ * @private
2322
+ */
2323
+ Locale.prototype._monthsShortRegex;
2324
+ /**
2325
+ * @type {?}
2326
+ * @private
2327
+ */
2328
+ Locale.prototype._monthsStrictRegex;
2329
+ /**
2330
+ * @type {?}
2331
+ * @private
2332
+ */
2333
+ Locale.prototype._monthsShortStrictRegex;
2334
+ /**
2335
+ * @type {?}
2336
+ * @private
2337
+ */
2338
+ Locale.prototype._monthsParse;
2339
+ /**
2340
+ * @type {?}
2341
+ * @private
2342
+ */
2343
+ Locale.prototype._longMonthsParse;
2344
+ /**
2345
+ * @type {?}
2346
+ * @private
2347
+ */
2348
+ Locale.prototype._shortMonthsParse;
2349
+ /**
2350
+ * @type {?}
2351
+ * @private
2352
+ */
2353
+ Locale.prototype._monthsParseExact;
2354
+ /**
2355
+ * @type {?}
2356
+ * @private
2357
+ */
2358
+ Locale.prototype._weekdaysParseExact;
2359
+ /**
2360
+ * @type {?}
2361
+ * @private
2362
+ */
2363
+ Locale.prototype._weekdaysRegex;
2364
+ /**
2365
+ * @type {?}
2366
+ * @private
2367
+ */
2368
+ Locale.prototype._weekdaysShortRegex;
2369
+ /**
2370
+ * @type {?}
2371
+ * @private
2372
+ */
2373
+ Locale.prototype._weekdaysMinRegex;
2374
+ /**
2375
+ * @type {?}
2376
+ * @private
2377
+ */
2378
+ Locale.prototype._weekdaysStrictRegex;
2379
+ /**
2380
+ * @type {?}
2381
+ * @private
2382
+ */
2383
+ Locale.prototype._weekdaysShortStrictRegex;
2384
+ /**
2385
+ * @type {?}
2386
+ * @private
2387
+ */
2388
+ Locale.prototype._weekdaysMinStrictRegex;
2389
+ /**
2390
+ * @type {?}
2391
+ * @private
2392
+ */
2393
+ Locale.prototype._weekdays;
2394
+ /**
2395
+ * @type {?}
2396
+ * @private
2397
+ */
2398
+ Locale.prototype._weekdaysShort;
2399
+ /**
2400
+ * @type {?}
2401
+ * @private
2402
+ */
2403
+ Locale.prototype._weekdaysMin;
2404
+ /**
2405
+ * @type {?}
2406
+ * @private
2407
+ */
2408
+ Locale.prototype._weekdaysParse;
2409
+ /**
2410
+ * @type {?}
2411
+ * @private
2412
+ */
2413
+ Locale.prototype._minWeekdaysParse;
2414
+ /**
2415
+ * @type {?}
2416
+ * @private
2417
+ */
2418
+ Locale.prototype._shortWeekdaysParse;
2419
+ /**
2420
+ * @type {?}
2421
+ * @private
2422
+ */
2423
+ Locale.prototype._fullWeekdaysParse;
2424
+ /**
2425
+ * @type {?}
2426
+ * @private
2427
+ */
2428
+ Locale.prototype._longDateFormat;
2429
+ /**
2430
+ * @type {?}
2431
+ * @private
2432
+ */
2433
+ Locale.prototype._ordinal;
2434
+ }
2068
2435
  /**
2069
2436
  * @param {?} a
2070
2437
  * @param {?} b
@@ -2194,6 +2561,9 @@ function initWeek() {
2194
2561
  // ALIASES
2195
2562
  addUnitAlias('week', 'w');
2196
2563
  addUnitAlias('isoWeek', 'W');
2564
+ // PRIORITIES
2565
+ addUnitPriority('week', 5);
2566
+ addUnitPriority('isoWeek', 5);
2197
2567
  // PARSING
2198
2568
  addRegexToken('w', match1to2);
2199
2569
  addRegexToken('ww', match1to2, match2);
@@ -2215,6 +2585,17 @@ function initWeek() {
2215
2585
  // return input == null ? week : this.add((input - week) * 7, 'd');
2216
2586
  // }
2217
2587
  }
2588
+ /**
2589
+ * @param {?} date
2590
+ * @param {?} input
2591
+ * @param {?=} locale
2592
+ * @return {?}
2593
+ */
2594
+ function setWeek(date, input, locale = getLocale()) {
2595
+ /** @type {?} */
2596
+ const week = getWeek(date, locale);
2597
+ return add(date, (input - week) * 7, 'day');
2598
+ }
2218
2599
  /**
2219
2600
  * @param {?} date
2220
2601
  * @param {?=} locale
@@ -2224,6 +2605,20 @@ function initWeek() {
2224
2605
  function getWeek(date, locale = getLocale(), isUTC) {
2225
2606
  return locale.week(date, isUTC);
2226
2607
  }
2608
+ // export function getSetISOWeek (input) {
2609
+ // var week = weekOfYear(this, 1, 4).week;
2610
+ // return input == null ? week : this.add((input - week) * 7, 'd');
2611
+ // }
2612
+ /**
2613
+ * @param {?} date
2614
+ * @param {?} input
2615
+ * @return {?}
2616
+ */
2617
+ function setISOWeek(date, input) {
2618
+ /** @type {?} */
2619
+ const week = getISOWeek(date);
2620
+ return add(date, (input - week) * 7, 'day');
2621
+ }
2227
2622
  /**
2228
2623
  * @param {?} date
2229
2624
  * @param {?=} isUTC
@@ -2266,6 +2661,9 @@ function initWeekYear() {
2266
2661
  // ALIASES
2267
2662
  addUnitAlias('weekYear', 'gg');
2268
2663
  addUnitAlias('isoWeekYear', 'GG');
2664
+ // PRIORITY
2665
+ addUnitPriority('weekYear', 1);
2666
+ addUnitPriority('isoWeekYear', 1);
2269
2667
  // PARSING
2270
2668
  addRegexToken('G', matchSigned);
2271
2669
  addRegexToken('g', matchSigned);
@@ -2321,6 +2719,21 @@ function _getWeekYearFormatCb(date, opts) {
2321
2719
  function _getISOWeekYearFormatCb(date) {
2322
2720
  return getISOWeekYear(date).toString();
2323
2721
  }
2722
+ // MOMENTS
2723
+ /**
2724
+ * @param {?} date
2725
+ * @param {?} input
2726
+ * @param {?=} locale
2727
+ * @param {?=} isUTC
2728
+ * @return {?}
2729
+ */
2730
+ function getSetWeekYear(date, input, locale = getLocale(), isUTC) {
2731
+ return getSetWeekYearHelper(date, input,
2732
+ // this.week(),
2733
+ getWeek(date, locale, isUTC),
2734
+ // this.weekday(),
2735
+ getLocaleDayOfWeek(date, locale, isUTC), locale.firstDayOfWeek(), locale.firstDayOfYear(), isUTC);
2736
+ }
2324
2737
  /**
2325
2738
  * @param {?} date
2326
2739
  * @param {?=} locale
@@ -2330,6 +2743,15 @@ function _getISOWeekYearFormatCb(date) {
2330
2743
  function getWeekYear(date, locale = getLocale(), isUTC) {
2331
2744
  return weekOfYear(date, locale.firstDayOfWeek(), locale.firstDayOfYear(), isUTC).year;
2332
2745
  }
2746
+ /**
2747
+ * @param {?} date
2748
+ * @param {?} input
2749
+ * @param {?=} isUTC
2750
+ * @return {?}
2751
+ */
2752
+ function getSetISOWeekYear(date, input, isUTC) {
2753
+ return getSetWeekYearHelper(date, input, getISOWeek(date, isUTC), getISODayOfWeek(date, isUTC), 1, 4);
2754
+ }
2333
2755
  /**
2334
2756
  * @param {?} date
2335
2757
  * @param {?=} isUTC
@@ -2338,6 +2760,62 @@ function getWeekYear(date, locale = getLocale(), isUTC) {
2338
2760
  function getISOWeekYear(date, isUTC) {
2339
2761
  return weekOfYear(date, 1, 4, isUTC).year;
2340
2762
  }
2763
+ /**
2764
+ * @param {?} date
2765
+ * @param {?=} isUTC
2766
+ * @return {?}
2767
+ */
2768
+ function getISOWeeksInYear(date, isUTC) {
2769
+ return weeksInYear(getFullYear(date, isUTC), 1, 4);
2770
+ }
2771
+ /**
2772
+ * @param {?} date
2773
+ * @param {?=} isUTC
2774
+ * @param {?=} locale
2775
+ * @return {?}
2776
+ */
2777
+ function getWeeksInYear(date, isUTC, locale = getLocale()) {
2778
+ return weeksInYear(getFullYear(date, isUTC), locale.firstDayOfWeek(), locale.firstDayOfYear());
2779
+ }
2780
+ /**
2781
+ * @param {?} date
2782
+ * @param {?} input
2783
+ * @param {?} week
2784
+ * @param {?} weekday
2785
+ * @param {?} dow
2786
+ * @param {?} doy
2787
+ * @param {?=} isUTC
2788
+ * @return {?}
2789
+ */
2790
+ function getSetWeekYearHelper(date, input, week, weekday, dow, doy, isUTC) {
2791
+ if (!input) {
2792
+ return getWeekYear(date, void 0, isUTC);
2793
+ }
2794
+ /** @type {?} */
2795
+ const weeksTarget = weeksInYear(input, dow, doy);
2796
+ /** @type {?} */
2797
+ const _week = week > weeksTarget ? weeksTarget : week;
2798
+ return setWeekAll(date, input, _week, weekday, dow, doy);
2799
+ }
2800
+ /**
2801
+ * @param {?} date
2802
+ * @param {?} weekYear
2803
+ * @param {?} week
2804
+ * @param {?} weekday
2805
+ * @param {?} dow
2806
+ * @param {?} doy
2807
+ * @return {?}
2808
+ */
2809
+ function setWeekAll(date, weekYear, week, weekday, dow, doy) {
2810
+ /** @type {?} */
2811
+ const dayOfYearData = dayOfYearFromWeeks(weekYear, week, weekday, dow, doy);
2812
+ /** @type {?} */
2813
+ const _date = createUTCDate(dayOfYearData.year, 0, dayOfYearData.dayOfYear);
2814
+ setFullYear(date, getFullYear(_date, true), true);
2815
+ setMonth(date, getMonth(_date, true), true);
2816
+ setDate(date, getDate(_date, true), true);
2817
+ return date;
2818
+ }
2341
2819
 
2342
2820
  /**
2343
2821
  * @fileoverview added by tsickle
@@ -2366,6 +2844,21 @@ function initTimezone() {
2366
2844
  return opts.isUTC ? 'Coordinated Universal Time' : '';
2367
2845
  }));
2368
2846
  }
2847
+ // MOMENTS
2848
+ /**
2849
+ * @param {?} isUTC
2850
+ * @return {?}
2851
+ */
2852
+ function getZoneAbbr(isUTC) {
2853
+ return isUTC ? 'UTC' : '';
2854
+ }
2855
+ /**
2856
+ * @param {?} isUTC
2857
+ * @return {?}
2858
+ */
2859
+ function getZoneName(isUTC) {
2860
+ return isUTC ? 'Coordinated Universal Time' : '';
2861
+ }
2369
2862
 
2370
2863
  /**
2371
2864
  * @fileoverview added by tsickle
@@ -2437,6 +2930,8 @@ function initSecond() {
2437
2930
  }));
2438
2931
  // ALIASES
2439
2932
  addUnitAlias('second', 's');
2933
+ // PRIORITY
2934
+ addUnitPriority('second', 15);
2440
2935
  // PARSING
2441
2936
  addRegexToken('s', match1to2);
2442
2937
  addRegexToken('ss', match1to2, match2);
@@ -2463,6 +2958,8 @@ function initQuarter() {
2463
2958
  }));
2464
2959
  // ALIASES
2465
2960
  addUnitAlias('quarter', 'Q');
2961
+ // PRIORITY
2962
+ addUnitPriority('quarter', 7);
2466
2963
  // PARSING
2467
2964
  addRegexToken('Q', match1);
2468
2965
  addParseToken('Q', (/**
@@ -2485,6 +2982,15 @@ function initQuarter() {
2485
2982
  function getQuarter(date, isUTC = false) {
2486
2983
  return Math.ceil((getMonth(date, isUTC) + 1) / 3);
2487
2984
  }
2985
+ /**
2986
+ * @param {?} date
2987
+ * @param {?} quarter
2988
+ * @param {?=} isUTC
2989
+ * @return {?}
2990
+ */
2991
+ function setQuarter(date, quarter, isUTC) {
2992
+ return setMonth(date, (quarter - 1) * 3 + getMonth(date, isUTC) % 3, isUTC);
2993
+ }
2488
2994
 
2489
2995
  /**
2490
2996
  * @fileoverview added by tsickle
@@ -2621,6 +3127,126 @@ function getUTCOffset(date, config = {}) {
2621
3127
  const _offset = config._offset || 0;
2622
3128
  return config._isUTC ? _offset : getDateOffset(date);
2623
3129
  }
3130
+ /**
3131
+ * @param {?} date
3132
+ * @param {?} input
3133
+ * @param {?=} keepLocalTime
3134
+ * @param {?=} keepMinutes
3135
+ * @param {?=} config
3136
+ * @return {?}
3137
+ */
3138
+ function setUTCOffset(date, input, keepLocalTime, keepMinutes, config = {}) {
3139
+ /** @type {?} */
3140
+ const offset = config._offset || 0;
3141
+ /** @type {?} */
3142
+ let localAdjust;
3143
+ /** @type {?} */
3144
+ let _input = input;
3145
+ /** @type {?} */
3146
+ let _date = date;
3147
+ if (isString(_input)) {
3148
+ _input = offsetFromString(matchShortOffset, _input);
3149
+ if (_input === null) {
3150
+ return _date;
3151
+ }
3152
+ }
3153
+ else if (isNumber(_input) && Math.abs(_input) < 16 && !keepMinutes) {
3154
+ _input = _input * 60;
3155
+ }
3156
+ if (!config._isUTC && keepLocalTime) {
3157
+ localAdjust = getDateOffset(_date);
3158
+ }
3159
+ config._offset = _input;
3160
+ config._isUTC = true;
3161
+ if (localAdjust != null) {
3162
+ _date = add(_date, localAdjust, 'minutes');
3163
+ }
3164
+ if (offset !== _input) {
3165
+ if (!keepLocalTime || config._changeInProgress) {
3166
+ _date = add(_date, _input - offset, 'minutes', config._isUTC);
3167
+ // addSubtract(this, createDuration(_input - offset, 'm'), 1, false);
3168
+ }
3169
+ else if (!config._changeInProgress) {
3170
+ config._changeInProgress = true;
3171
+ // todo: add timezone handling
3172
+ // hooks.updateOffset(this, true);
3173
+ config._changeInProgress = null;
3174
+ }
3175
+ }
3176
+ return _date;
3177
+ }
3178
+ /*
3179
+ export function getSetZone(input, keepLocalTime) {
3180
+ if (input != null) {
3181
+ if (typeof input !== 'string') {
3182
+ input = -input;
3183
+ }
3184
+
3185
+ this.utcOffset(input, keepLocalTime);
3186
+
3187
+ return this;
3188
+ } else {
3189
+ return -this.utcOffset();
3190
+ }
3191
+ }
3192
+ */
3193
+ /**
3194
+ * @param {?} date
3195
+ * @param {?=} keepLocalTime
3196
+ * @return {?}
3197
+ */
3198
+ function setOffsetToUTC(date, keepLocalTime) {
3199
+ return setUTCOffset(date, 0, keepLocalTime);
3200
+ }
3201
+ /**
3202
+ * @param {?} date
3203
+ * @return {?}
3204
+ */
3205
+ function isDaylightSavingTime(date) {
3206
+ return (getUTCOffset(date) > getUTCOffset(setMonth(cloneDate(date), 0))
3207
+ || getUTCOffset(date) > getUTCOffset(setMonth(cloneDate(date), 5)));
3208
+ }
3209
+ /*export function setOffsetToLocal(date: Date, isUTC?: boolean, keepLocalTime?: boolean) {
3210
+ if (this._isUTC) {
3211
+ this.utcOffset(0, keepLocalTime);
3212
+ this._isUTC = false;
3213
+
3214
+ if (keepLocalTime) {
3215
+ this.subtract(getDateOffset(this), 'm');
3216
+ }
3217
+ }
3218
+ return this;
3219
+ }*/
3220
+ /**
3221
+ * @param {?} date
3222
+ * @param {?} input
3223
+ * @param {?=} config
3224
+ * @return {?}
3225
+ */
3226
+ function setOffsetToParsedOffset(date, input, config = {}) {
3227
+ if (config._tzm != null) {
3228
+ return setUTCOffset(date, config._tzm, false, true, config);
3229
+ }
3230
+ if (isString(input)) {
3231
+ /** @type {?} */
3232
+ const tZone = offsetFromString(matchOffset, input);
3233
+ if (tZone != null) {
3234
+ return setUTCOffset(date, tZone, false, false, config);
3235
+ }
3236
+ return setUTCOffset(date, 0, true, false, config);
3237
+ }
3238
+ return date;
3239
+ }
3240
+ /**
3241
+ * @param {?} date
3242
+ * @param {?=} input
3243
+ * @return {?}
3244
+ */
3245
+ function hasAlignedHourOffset(date, input) {
3246
+ /** @type {?} */
3247
+ const _input = input ? getUTCOffset(input, { _isUTC: false }) : 0;
3248
+ return (getUTCOffset(date) - _input) % 60 === 0;
3249
+ }
2624
3250
 
2625
3251
  /**
2626
3252
  * @fileoverview added by tsickle
@@ -2642,6 +3268,8 @@ function initMinute() {
2642
3268
  }));
2643
3269
  // ALIASES
2644
3270
  addUnitAlias('minute', 'm');
3271
+ // PRIORITY
3272
+ addUnitPriority('minute', 14);
2645
3273
  // PARSING
2646
3274
  addRegexToken('m', match1to2);
2647
3275
  addRegexToken('mm', match1to2, match2);
@@ -2730,6 +3358,8 @@ function initMillisecond() {
2730
3358
  }));
2731
3359
  // ALIASES
2732
3360
  addUnitAlias('millisecond', 'ms');
3361
+ // PRIORITY
3362
+ addUnitPriority('millisecond', 16);
2733
3363
  // PARSING
2734
3364
  addRegexToken('S', match1to3, match1);
2735
3365
  addRegexToken('SS', match1to3, match2);
@@ -2879,6 +3509,8 @@ function initHour() {
2879
3509
  meridiem('A', false);
2880
3510
  // ALIASES
2881
3511
  addUnitAlias('hour', 'h');
3512
+ // PRIORITY
3513
+ addUnitPriority('hour', 13);
2882
3514
  // PARSING
2883
3515
  /**
2884
3516
  * @param {?} isStrict
@@ -3489,6 +4121,40 @@ function relativeTime(posNegDuration, withoutSuffix, locale) {
3489
4121
  // a[4] = locale;
3490
4122
  return substituteTimeAgo.apply(null, b);
3491
4123
  }
4124
+ // This function allows you to set the rounding function for relative time strings
4125
+ /**
4126
+ * @param {?} roundingFunction
4127
+ * @return {?}
4128
+ */
4129
+ function getSetRelativeTimeRounding(roundingFunction) {
4130
+ if (roundingFunction === undefined) {
4131
+ return round;
4132
+ }
4133
+ if (typeof (roundingFunction) === 'function') {
4134
+ round = roundingFunction;
4135
+ return true;
4136
+ }
4137
+ return false;
4138
+ }
4139
+ // This function allows you to set a threshold for relative time strings
4140
+ /**
4141
+ * @param {?} threshold
4142
+ * @param {?} limit
4143
+ * @return {?}
4144
+ */
4145
+ function getSetRelativeTimeThreshold(threshold, limit) {
4146
+ if (thresholds[threshold] === undefined) {
4147
+ return false;
4148
+ }
4149
+ if (limit === undefined) {
4150
+ return thresholds[threshold];
4151
+ }
4152
+ thresholds[threshold] = limit;
4153
+ if (threshold === 's') {
4154
+ thresholds.ss = limit - 1;
4155
+ }
4156
+ return true;
4157
+ }
3492
4158
 
3493
4159
  /**
3494
4160
  * @fileoverview added by tsickle
@@ -3660,6 +4326,20 @@ class Duration {
3660
4326
  toInt(this._months / 12) * 31536e6);
3661
4327
  }
3662
4328
  }
4329
+ if (false) {
4330
+ /** @type {?} */
4331
+ Duration.prototype._milliseconds;
4332
+ /** @type {?} */
4333
+ Duration.prototype._days;
4334
+ /** @type {?} */
4335
+ Duration.prototype._months;
4336
+ /** @type {?} */
4337
+ Duration.prototype._data;
4338
+ /** @type {?} */
4339
+ Duration.prototype._locale;
4340
+ /** @type {?} */
4341
+ Duration.prototype._isValid;
4342
+ }
3663
4343
  /**
3664
4344
  * @param {?} obj
3665
4345
  * @return {?}
@@ -4296,7 +4976,7 @@ function checkOverflow(config) {
4296
4976
  // todo: fix this sh*t
4297
4977
  overflow =
4298
4978
  a[MONTH] < 0 || a[MONTH] > 11 ? MONTH :
4299
- a[DATE] < 1 || a[DATE] > daysInMonth(a[YEAR], a[MONTH]) ? DATE :
4979
+ a[DATE] < 1 || a[DATE] > daysInMonth$1(a[YEAR], a[MONTH]) ? DATE :
4300
4980
  a[HOUR] < 0 || a[HOUR] > 24 || (a[HOUR] === 24 && (a[MINUTE] !== 0 || a[SECOND] !== 0 || a[MILLISECOND] !== 0)) ? HOUR :
4301
4981
  a[MINUTE] < 0 || a[MINUTE] > 59 ? MINUTE :
4302
4982
  a[SECOND] < 0 || a[SECOND] > 59 ? SECOND :
@@ -4737,6 +5417,25 @@ function isDisabledDay(date, daysDisabled) {
4737
5417
  */
4738
5418
  (day) => day === date.getDay()));
4739
5419
  }
5420
+ /**
5421
+ * @param {?} date
5422
+ * @param {?} from
5423
+ * @param {?} to
5424
+ * @param {?} units
5425
+ * @param {?=} inclusivity
5426
+ * @return {?}
5427
+ */
5428
+ function isBetween(date, from, to, units, inclusivity = '()') {
5429
+ /** @type {?} */
5430
+ const leftBound = inclusivity[0] === '('
5431
+ ? isAfter(date, from, units)
5432
+ : !isBefore(date, from, units);
5433
+ /** @type {?} */
5434
+ const rightBound = inclusivity[1] === ')'
5435
+ ? isBefore(date, to, units)
5436
+ : !isAfter(date, to, units);
5437
+ return leftBound && rightBound;
5438
+ }
4740
5439
  /**
4741
5440
  * @param {?} date1
4742
5441
  * @param {?} date2
@@ -4755,6 +5454,32 @@ function isSame(date1, date2, units = 'milliseconds') {
4755
5454
  return (startOf(date1, units).valueOf() <= inputMs &&
4756
5455
  inputMs <= endOf(date1, units).valueOf());
4757
5456
  }
5457
+ /**
5458
+ * @param {?} date1
5459
+ * @param {?} date2
5460
+ * @return {?}
5461
+ */
5462
+ function isSameDay$1(date1, date2) {
5463
+ return (date1.getDay() == date2.getDay());
5464
+ }
5465
+ /**
5466
+ * @param {?} date1
5467
+ * @param {?} date2
5468
+ * @param {?=} units
5469
+ * @return {?}
5470
+ */
5471
+ function isSameOrAfter(date1, date2, units) {
5472
+ return isSame(date1, date2, units) || isAfter(date1, date2, units);
5473
+ }
5474
+ /**
5475
+ * @param {?} date1
5476
+ * @param {?} date2
5477
+ * @param {?=} units
5478
+ * @return {?}
5479
+ */
5480
+ function isSameOrBefore(date1, date2, units) {
5481
+ return isSame(date1, date2, units) || isBefore(date1, date2, units);
5482
+ }
4758
5483
 
4759
5484
  /**
4760
5485
  * @fileoverview added by tsickle
@@ -5025,6 +5750,10 @@ function initDayOfWeek() {
5025
5750
  addUnitAlias('day', 'd');
5026
5751
  addUnitAlias('weekday', 'e');
5027
5752
  addUnitAlias('isoWeekday', 'E');
5753
+ // PRIORITY
5754
+ addUnitPriority('day', 11);
5755
+ addUnitPriority('weekday', 11);
5756
+ addUnitPriority('isoWeekday', 11);
5028
5757
  // PARSING
5029
5758
  addRegexToken('d', match1to2);
5030
5759
  addRegexToken('e', match1to2);
@@ -5117,6 +5846,19 @@ function parseIsoWeekday(input, locale = getLocale()) {
5117
5846
  }
5118
5847
  return isNumber(input) && isNaN(input) ? null : input;
5119
5848
  }
5849
+ // MOMENTS
5850
+ /**
5851
+ * @param {?} date
5852
+ * @param {?} input
5853
+ * @param {?} opts
5854
+ * @return {?}
5855
+ */
5856
+ function getSetDayOfWeek(date, input, opts) {
5857
+ if (!input) {
5858
+ return getDayOfWeek(date, opts.isUTC);
5859
+ }
5860
+ return setDayOfWeek(date, input, opts.locale, opts.isUTC);
5861
+ }
5120
5862
  /**
5121
5863
  * @param {?} date
5122
5864
  * @param {?} input
@@ -5189,6 +5931,11 @@ function setISODayOfWeek(date, input, opts = {}) {
5189
5931
  return setDayOfWeek(date, getDayOfWeek(date) % 7 ? weekday : weekday - 7);
5190
5932
  }
5191
5933
 
5934
+ /**
5935
+ * @fileoverview added by tsickle
5936
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
5937
+ */
5938
+
5192
5939
  /**
5193
5940
  * @fileoverview added by tsickle
5194
5941
  * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
@@ -5233,6 +5980,7 @@ const pluralForm = (/**
5233
5980
  function (num) {
5234
5981
  return num === 0 ? 0 : num === 1 ? 1 : num === 2 ? 2 : num % 100 >= 3 && num % 100 <= 10 ? 3 : num % 100 >= 11 ? 4 : 5;
5235
5982
  });
5983
+ const ɵ0$1 = pluralForm;
5236
5984
  /** @type {?} */
5237
5985
  const plurals = {
5238
5986
  s: ['أقل من ثانية', 'ثانية واحدة', ['ثانيتان', 'ثانيتين'], '%d ثوان', '%d ثانية', '%d ثانية'],
@@ -5264,6 +6012,7 @@ function (u) {
5264
6012
  return ((/** @type {?} */ (str))).replace(/%d/i, num.toString());
5265
6013
  });
5266
6014
  });
6015
+ const ɵ1 = pluralize;
5267
6016
  /** @type {?} */
5268
6017
  const months = [
5269
6018
  'يناير',
@@ -5390,7 +6139,7 @@ const arLocale = {
5390
6139
  //! author : Matt Grande : https://github.com/mattgrande
5391
6140
  //! author : Isaac Cambron : https://github.com/icambron
5392
6141
  //! author : Venelin Manchev : https://github.com/vmanchev
5393
- const ɵ0$1 = /**
6142
+ const ɵ0$2 = /**
5394
6143
  * @param {?} d
5395
6144
  * @return {?}
5396
6145
  */
@@ -5428,7 +6177,7 @@ const bgLocale = {
5428
6177
  nextDay: '[Утре в] LT',
5429
6178
  nextWeek: 'dddd [в] LT',
5430
6179
  lastDay: '[Вчера в] LT',
5431
- lastWeek: (ɵ0$1),
6180
+ lastWeek: (ɵ0$2),
5432
6181
  sameElse: 'L'
5433
6182
  },
5434
6183
  relativeTime: {
@@ -5708,7 +6457,7 @@ function translate(num, withoutSuffix, key, isFuture) {
5708
6457
  // break;
5709
6458
  }
5710
6459
  }
5711
- const ɵ0$2 = /**
6460
+ const ɵ0$3 = /**
5712
6461
  * @param {?} months
5713
6462
  * @param {?} monthsShort
5714
6463
  * @return {?}
@@ -5723,7 +6472,7 @@ function (months, monthsShort) {
5723
6472
  _monthsParse[i] = new RegExp('^' + months[i] + '$|^' + monthsShort[i] + '$', 'i');
5724
6473
  }
5725
6474
  return _monthsParse;
5726
- }, ɵ1 = /**
6475
+ }, ɵ1$1 = /**
5727
6476
  * @param {?} monthsShort
5728
6477
  * @return {?}
5729
6478
  */
@@ -5755,8 +6504,8 @@ const csLocale = {
5755
6504
  abbr: 'cs',
5756
6505
  months: months$1,
5757
6506
  monthsShort: monthsShort$1,
5758
- monthsParse: ((ɵ0$2)(months$1, monthsShort$1)),
5759
- shortMonthsParse: ((ɵ1)(monthsShort$1)),
6507
+ monthsParse: ((ɵ0$3)(months$1, monthsShort$1)),
6508
+ shortMonthsParse: ((ɵ1$1)(monthsShort$1)),
5760
6509
  longMonthsParse: ((ɵ2)(months$1)),
5761
6510
  weekdays: 'neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota'.split('_'),
5762
6511
  weekdaysShort: 'ne_po_út_st_čt_pá_so'.split('_'),
@@ -6439,6 +7188,7 @@ function (num, withoutSuffix, key, isFuture) {
6439
7188
  }
6440
7189
  return isFuture ? format[key][0] : format[key][1];
6441
7190
  });
7191
+ const ɵ0$4 = processRelativeTime$1;
6442
7192
  /** @type {?} */
6443
7193
  const etLocale = {
6444
7194
  abbr: 'et',
@@ -7584,6 +8334,203 @@ const jaLocale = {
7584
8334
  }
7585
8335
  };
7586
8336
 
8337
+ /**
8338
+ * @fileoverview added by tsickle
8339
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
8340
+ */
8341
+ // tslint:disable:comment-format binary-expression-operand-order max-line-length
8342
+ // tslint:disable:no-bitwise prefer-template cyclomatic-complexity
8343
+ // tslint:disable:no-shadowed-variable switch-default prefer-const
8344
+ // tslint:disable:one-variable-per-declaration newline-before-return
8345
+ //! moment.js locale configuration
8346
+ //! locale : Georgian [ka]
8347
+ //! author : Irakli Janiashvili : https://github.com/irakli-janiashvili
8348
+ //! author : Levan Tskipuri : https://github.com/tskipa
8349
+ /** @type {?} */
8350
+ const kaLocale = {
8351
+ abbr: 'ka',
8352
+ months: {
8353
+ format: 'იანვარს_თებერვალს_მარტს_აპრილის_მაისს_ივნისს_ივლისს_აგვისტს_სექტემბერს_ოქტომბერს_ნოემბერს_დეკემბერს'.split('_'),
8354
+ standalone: 'იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი'.split('_')
8355
+ },
8356
+ monthsShort: 'იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ'.split('_'),
8357
+ weekdays: {
8358
+ standalone: 'კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი'.split('_'),
8359
+ format: 'კვირას_ორშაბათს_სამშაბათს_ოთხშაბათს_ხუთშაბათს_პარასკევს_შაბათს'.split('_'),
8360
+ isFormat: /(წინა|შემდეგ)/
8361
+ },
8362
+ weekdaysShort: 'კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ'.split('_'),
8363
+ weekdaysMin: 'კვ_ორ_სა_ოთ_ხუ_პა_შა'.split('_'),
8364
+ longDateFormat: {
8365
+ LT: 'h:mm A',
8366
+ LTS: 'h:mm:ss A',
8367
+ L: 'DD/MM/YYYY',
8368
+ LL: 'D MMMM YYYY',
8369
+ LLL: 'D MMMM YYYY h:mm A',
8370
+ LLLL: 'dddd, D MMMM YYYY h:mm A'
8371
+ },
8372
+ calendar: {
8373
+ sameDay: '[დღეს] LT[-ზე]',
8374
+ nextDay: '[ხვალ] LT[-ზე]',
8375
+ lastDay: '[გუშინ] LT[-ზე]',
8376
+ nextWeek: '[შემდეგ] dddd LT[-ზე]',
8377
+ lastWeek: '[წინა] dddd LT-ზე',
8378
+ sameElse: 'L'
8379
+ },
8380
+ relativeTime: {
8381
+ /**
8382
+ * @param {?} s
8383
+ * @return {?}
8384
+ */
8385
+ future(s) {
8386
+ /** @type {?} */
8387
+ var st = s.toString();
8388
+ return (/(წამი|წუთი|საათი|წელი)/).test(st) ?
8389
+ st.replace(/ი$/, 'ში') :
8390
+ st + 'ში';
8391
+ },
8392
+ /**
8393
+ * @param {?} s
8394
+ * @return {?}
8395
+ */
8396
+ past(s) {
8397
+ /** @type {?} */
8398
+ var st = s.toString();
8399
+ if ((/(წამი|წუთი|საათი|დღე|თვე)/).test(st)) {
8400
+ return st.replace(/(ი|ე)$/, 'ის წინ');
8401
+ }
8402
+ if ((/წელი/).test(st)) {
8403
+ return st.replace(/წელი$/, 'წლის წინ');
8404
+ }
8405
+ },
8406
+ s: 'რამდენიმე წამი',
8407
+ ss: '%d წამი',
8408
+ m: 'წუთი',
8409
+ mm: '%d წუთი',
8410
+ h: 'საათი',
8411
+ hh: '%d საათი',
8412
+ d: 'დღე',
8413
+ dd: '%d დღე',
8414
+ M: 'თვე',
8415
+ MM: '%d თვე',
8416
+ y: 'წელი',
8417
+ yy: '%d წელი'
8418
+ },
8419
+ dayOfMonthOrdinalParse: /0|1-ლი|მე-\d{1,2}|\d{1,2}-ე/,
8420
+ /**
8421
+ * @param {?} _num
8422
+ * @param {?} _period
8423
+ * @return {?}
8424
+ */
8425
+ ordinal(_num, _period) {
8426
+ /** @type {?} */
8427
+ const num = Number(_num);
8428
+ if (num === 0) {
8429
+ return num.toString();
8430
+ }
8431
+ if (num === 1) {
8432
+ return num + '-ლი';
8433
+ }
8434
+ if ((num < 20) || (num <= 100 && (num % 20 === 0)) || (num % 100 === 0)) {
8435
+ return 'მე-' + num;
8436
+ }
8437
+ return num + '-ე';
8438
+ },
8439
+ week: {
8440
+ dow: 1,
8441
+ doy: 4
8442
+ }
8443
+ };
8444
+
8445
+ /**
8446
+ * @fileoverview added by tsickle
8447
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
8448
+ */
8449
+ // ! moment.js locale configuration
8450
+ // ! locale : Kazakh [kk]
8451
+ // ! authors : Nurlan Rakhimzhanov : https://github.com/nurlan
8452
+ /** @type {?} */
8453
+ const suffixes = {
8454
+ 0: '-ші',
8455
+ 1: '-ші',
8456
+ 2: '-ші',
8457
+ 3: '-ші',
8458
+ 4: '-ші',
8459
+ 5: '-ші',
8460
+ 6: '-шы',
8461
+ 7: '-ші',
8462
+ 8: '-ші',
8463
+ 9: '-шы',
8464
+ 10: '-шы',
8465
+ 20: '-шы',
8466
+ 30: '-шы',
8467
+ 40: '-шы',
8468
+ 50: '-ші',
8469
+ 60: '-шы',
8470
+ 70: '-ші',
8471
+ 80: '-ші',
8472
+ 90: '-шы',
8473
+ 100: '-ші'
8474
+ };
8475
+ /** @type {?} */
8476
+ const kkLocale = {
8477
+ abbr: 'kk',
8478
+ months: 'қаңтар_ақпан_наурыз_сәуір_мамыр_маусым_шілде_тамыз_қыркүйек_қазан_қараша_желтоқсан'.split('_'),
8479
+ monthsShort: 'қаң_ақп_нау_сәу_мам_мау_шіл_там_қыр_қаз_қар_жел'.split('_'),
8480
+ weekdays: 'жексенбі_дүйсенбі_сейсенбі_сәрсенбі_бейсенбі_жұма_сенбі'.split('_'),
8481
+ weekdaysShort: 'жек_дүй_сей_сәр_бей_жұм_сен'.split('_'),
8482
+ weekdaysMin: 'жк_дй_сй_ср_бй_жм_сн'.split('_'),
8483
+ longDateFormat: {
8484
+ LT: 'HH:mm',
8485
+ LTS: 'HH:mm:ss',
8486
+ L: 'DD.MM.YYYY',
8487
+ LL: 'D MMMM YYYY',
8488
+ LLL: 'D MMMM YYYY HH:mm',
8489
+ LLLL: 'dddd, D MMMM YYYY HH:mm'
8490
+ },
8491
+ calendar: {
8492
+ sameDay: '[Бүгін сағат] LT',
8493
+ nextDay: '[Ертең сағат] LT',
8494
+ nextWeek: 'dddd [сағат] LT',
8495
+ lastDay: '[Кеше сағат] LT',
8496
+ lastWeek: '[Өткен аптаның] dddd [сағат] LT',
8497
+ sameElse: 'L'
8498
+ },
8499
+ relativeTime: {
8500
+ future: '%s ішінде',
8501
+ past: '%s бұрын',
8502
+ s: 'бірнеше секунд',
8503
+ ss: '%d секунд',
8504
+ m: 'бір минут',
8505
+ mm: '%d минут',
8506
+ h: 'бір сағат',
8507
+ hh: '%d сағат',
8508
+ d: 'бір күн',
8509
+ dd: '%d күн',
8510
+ M: 'бір ай',
8511
+ MM: '%d ай',
8512
+ y: 'бір жыл',
8513
+ yy: '%d жыл'
8514
+ },
8515
+ dayOfMonthOrdinalParse: /\d{1,2}-(ші|шы)/,
8516
+ /**
8517
+ * @param {?} _num
8518
+ * @return {?}
8519
+ */
8520
+ ordinal(_num) {
8521
+ /** @type {?} */
8522
+ const a = _num % 10;
8523
+ /** @type {?} */
8524
+ const b = _num >= 100 ? 100 : null;
8525
+ return _num + (suffixes[_num] || suffixes[a] || suffixes[b]);
8526
+ },
8527
+ week: {
8528
+ dow: 1,
8529
+ // Monday is the first day of the week.
8530
+ doy: 7 // The week that contains Jan 7th is the first week of the year.
8531
+ }
8532
+ };
8533
+
7587
8534
  /**
7588
8535
  * @fileoverview added by tsickle
7589
8536
  * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
@@ -9177,6 +10124,68 @@ const slLocale = {
9177
10124
  }
9178
10125
  };
9179
10126
 
10127
+ /**
10128
+ * @fileoverview added by tsickle
10129
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
10130
+ */
10131
+ // tslint:disable:comment-format binary-expression-operand-order max-line-length
10132
+ // tslint:disable:no-bitwise prefer-template cyclomatic-complexity
10133
+ // tslint:disable:no-shadowed-variable switch-default prefer-const
10134
+ // tslint:disable:one-variable-per-declaration newline-before-return
10135
+ //! moment.js locale configuration
10136
+ //! locale : Albanian [sq]
10137
+ //! author : Agon Cecelia : https://github.com/agoncecelia
10138
+ /** @type {?} */
10139
+ const sqLocale = {
10140
+ abbr: 'sq',
10141
+ months: 'Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor'.split('_'),
10142
+ monthsShort: 'Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj'.split('_'),
10143
+ weekdays: 'E Dielë_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë'.split('_'),
10144
+ weekdaysShort: 'Die_Hën_Mar_Mër_Enj_Pre_Sht'.split('_'),
10145
+ weekdaysMin: 'Di_He_Ma_Me_En_Pr_Sh'.split('_'),
10146
+ longDateFormat: {
10147
+ LT: 'HH:mm',
10148
+ LTS: 'HH:mm:ss',
10149
+ L: 'DD/MM/YYYY',
10150
+ LL: 'D MMMM YYYY',
10151
+ LLL: 'D MMMM YYYY HH:mm',
10152
+ LLLL: 'dddd, D MMMM YYYY HH:mm'
10153
+ },
10154
+ calendar: {
10155
+ sameDay: '[Sot në] LT',
10156
+ nextDay: '[Nesër në] LT',
10157
+ nextWeek: 'dddd [në] LT',
10158
+ lastDay: '[Dje në] LT',
10159
+ lastWeek: 'dddd [e kaluar në] LT',
10160
+ sameElse: 'L'
10161
+ },
10162
+ relativeTime: {
10163
+ future: 'në %s',
10164
+ past: 'para %sve',
10165
+ s: 'disa sekonda',
10166
+ ss: '%d sekonda',
10167
+ m: 'një minut',
10168
+ mm: '%d minuta',
10169
+ h: 'një orë',
10170
+ hh: '%d orë',
10171
+ d: 'një ditë',
10172
+ dd: '%d ditë',
10173
+ M: 'një muaj',
10174
+ MM: '%d muaj',
10175
+ y: 'një vit',
10176
+ yy: '%d vite'
10177
+ },
10178
+ dayOfMonthOrdinalParse: /\d{1,2}\./,
10179
+ // need clarification
10180
+ ordinal: '%d.',
10181
+ // need clarification
10182
+ week: {
10183
+ dow: 1,
10184
+ // Monday is the first day of the week.
10185
+ doy: 4 // The week that contains Jan 4th is the first week of the year.
10186
+ }
10187
+ };
10188
+
9180
10189
  /**
9181
10190
  * @fileoverview added by tsickle
9182
10191
  * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
@@ -9332,6 +10341,91 @@ const thLocale = {
9332
10341
  }
9333
10342
  };
9334
10343
 
10344
+ /**
10345
+ * @fileoverview added by tsickle
10346
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
10347
+ */
10348
+ // tslint:disable:comment-format binary-expression-operand-order max-line-length
10349
+ // tslint:disable:no-bitwise prefer-template cyclomatic-complexity
10350
+ // tslint:disable:no-shadowed-variable switch-default prefer-const
10351
+ // tslint:disable:one-variable-per-declaration newline-before-return
10352
+ // moment.js locale configuration
10353
+ // locale : Thai-Buddhist Era [th-be]
10354
+ // author : Watcharapol Sanitwong : https://github.com/tumit
10355
+ /** @type {?} */
10356
+ const thBeLocale = {
10357
+ abbr: 'th-be',
10358
+ months: 'มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม'.split('_'),
10359
+ monthsShort: 'ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.'.split('_'),
10360
+ monthsParseExact: true,
10361
+ weekdays: 'อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์'.split('_'),
10362
+ weekdaysShort: 'อา._จ._อ._พ._พฤ._ศ._ส.'.split('_'),
10363
+ weekdaysMin: 'อา._จ._อ._พ._พฤ._ศ._ส.'.split('_'),
10364
+ weekdaysParseExact: true,
10365
+ longDateFormat: {
10366
+ LT: 'H:mm',
10367
+ LTS: 'H:mm:ss',
10368
+ L: 'DD/MM/YYYY',
10369
+ LL: 'D MMMM YYYY',
10370
+ LLL: 'D MMMM YYYY เวลา H:mm',
10371
+ LLLL: 'วันddddที่ D MMMM YYYY เวลา H:mm'
10372
+ },
10373
+ meridiemParse: /ก่อนเที่ยง|หลังเที่ยง/,
10374
+ /**
10375
+ * @param {?} input
10376
+ * @return {?}
10377
+ */
10378
+ isPM(input) {
10379
+ return input === 'หลังเที่ยง';
10380
+ },
10381
+ /**
10382
+ * @param {?} hour
10383
+ * @param {?} minute
10384
+ * @param {?} isLower
10385
+ * @return {?}
10386
+ */
10387
+ meridiem(hour, minute, isLower) {
10388
+ if (hour < 12) {
10389
+ return 'ก่อนเที่ยง';
10390
+ }
10391
+ else {
10392
+ return 'หลังเที่ยง';
10393
+ }
10394
+ },
10395
+ calendar: {
10396
+ sameDay: '[วันนี้ เวลา] LT',
10397
+ nextDay: '[พรุ่งนี้ เวลา] LT',
10398
+ nextWeek: 'dddd[หน้า เวลา] LT',
10399
+ lastDay: '[เมื่อวานนี้ เวลา] LT',
10400
+ lastWeek: '[วัน]dddd[ที่แล้ว เวลา] LT',
10401
+ sameElse: 'L'
10402
+ },
10403
+ relativeTime: {
10404
+ future: 'อีก %s',
10405
+ past: '%sที่แล้ว',
10406
+ s: 'ไม่กี่วินาที',
10407
+ ss: '%d วินาที',
10408
+ m: '1 นาที',
10409
+ mm: '%d นาที',
10410
+ h: '1 ชั่วโมง',
10411
+ hh: '%d ชั่วโมง',
10412
+ d: '1 วัน',
10413
+ dd: '%d วัน',
10414
+ M: '1 เดือน',
10415
+ MM: '%d เดือน',
10416
+ y: '1 ปี',
10417
+ yy: '%d ปี'
10418
+ },
10419
+ /**
10420
+ * @param {?} date
10421
+ * @param {?=} isUTC
10422
+ * @return {?}
10423
+ */
10424
+ getFullYear(date, isUTC = false) {
10425
+ return 543 + (isUTC ? date.getUTCFullYear() : date.getFullYear());
10426
+ }
10427
+ };
10428
+
9335
10429
  /**
9336
10430
  * @fileoverview added by tsickle
9337
10431
  * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
@@ -9345,7 +10439,7 @@ const thLocale = {
9345
10439
  //! authors : Erhan Gundogan : https://github.com/erhangundogan,
9346
10440
  //! Burak Yiğit Kaya: https://github.com/BYK
9347
10441
  /** @type {?} */
9348
- let suffixes = {
10442
+ let suffixes$1 = {
9349
10443
  1: '\'inci',
9350
10444
  5: '\'inci',
9351
10445
  8: '\'inci',
@@ -9422,7 +10516,7 @@ const trLocale = {
9422
10516
  let b = num % 100 - a;
9423
10517
  /** @type {?} */
9424
10518
  let c = num >= 100 ? 100 : null;
9425
- return num + (suffixes[a] || suffixes[b] || suffixes[c]);
10519
+ return num + (suffixes$1[a] || suffixes$1[b] || suffixes$1[c]);
9426
10520
  },
9427
10521
  week: {
9428
10522
  dow: 1,
@@ -9859,5 +10953,15 @@ const zhCnLocale = {
9859
10953
  }
9860
10954
  };
9861
10955
 
9862
- export { add, arLocale, bgLocale, caLocale, csLocale, daLocale, deLocale, defineLocale, enGbLocale, endOf, esDoLocale, esLocale, esUsLocale, etLocale, fiLocale, formatDate, frLocale, getDay, getFirstDayOfMonth, getFullYear, getLocale, getMonth, getSetGlobalLocale, glLocale, heLocale, hiLocale, hrLocale, huLocale, idLocale, isAfter, isArray, isBefore, isDate, isDateValid, isDisabledDay, isFirstDayOfWeek, isSame, isSameDay, isSameMonth, isSameYear, itLocale, jaLocale, koLocale, listLocales, ltLocale, lvLocale, mnLocale, nbLocale, nlBeLocale, nlLocale, parseDate, plLocale, ptBrLocale, roLocale, ruLocale, setFullDate, shiftDate, skLocale, slLocale, startOf, subtract, svLocale, thLocale, trLocale, ukLocale, updateLocale, utcAsLocal, viLocale, zhCnLocale, createDate as ɵa };
10956
+ /**
10957
+ * @fileoverview added by tsickle
10958
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
10959
+ */
10960
+
10961
+ /**
10962
+ * @fileoverview added by tsickle
10963
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
10964
+ */
10965
+
10966
+ export { add, arLocale, bgLocale, caLocale, csLocale, daLocale, deLocale, defineLocale, enGbLocale, endOf, esDoLocale, esLocale, esUsLocale, etLocale, fiLocale, formatDate, frLocale, getDay, getFirstDayOfMonth, getFullYear, getLocale, getMonth, getSetGlobalLocale, glLocale, heLocale, hiLocale, hrLocale, huLocale, idLocale, isAfter, isArray, isBefore, isDate, isDateValid, isDisabledDay, isFirstDayOfWeek, isSame, isSameDay, isSameMonth, isSameYear, itLocale, jaLocale, kaLocale, kkLocale, koLocale, listLocales, ltLocale, lvLocale, mnLocale, nbLocale, nlBeLocale, nlLocale, parseDate, plLocale, ptBrLocale, roLocale, ruLocale, setFullDate, shiftDate, skLocale, slLocale, sqLocale, startOf, subtract, svLocale, thBeLocale, thLocale, trLocale, ukLocale, updateLocale, utcAsLocal, viLocale, zhCnLocale, createDate as ɵa };
9863
10967
  //# sourceMappingURL=ngx-bootstrap-chronos.js.map