ngx-bootstrap 5.3.2 → 5.6.1

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 (439) hide show
  1. package/CHANGELOG.md +148 -99
  2. package/README.md +14 -10
  3. package/accordion/bundles/ngx-bootstrap-accordion.umd.js +71 -2
  4. package/accordion/bundles/ngx-bootstrap-accordion.umd.js.map +1 -1
  5. package/accordion/bundles/ngx-bootstrap-accordion.umd.min.js +1 -1
  6. package/accordion/bundles/ngx-bootstrap-accordion.umd.min.js.map +1 -1
  7. package/accordion/fesm2015/ngx-bootstrap-accordion.js +79 -0
  8. package/accordion/fesm2015/ngx-bootstrap-accordion.js.map +1 -1
  9. package/accordion/fesm5/ngx-bootstrap-accordion.js +80 -1
  10. package/accordion/fesm5/ngx-bootstrap-accordion.js.map +1 -1
  11. package/accordion/package.json +2 -2
  12. package/alert/bundles/ngx-bootstrap-alert.umd.js +224 -2
  13. package/alert/bundles/ngx-bootstrap-alert.umd.js.map +1 -1
  14. package/alert/bundles/ngx-bootstrap-alert.umd.min.js +15 -1
  15. package/alert/bundles/ngx-bootstrap-alert.umd.min.js.map +1 -1
  16. package/alert/fesm2015/ngx-bootstrap-alert.js +71 -0
  17. package/alert/fesm2015/ngx-bootstrap-alert.js.map +1 -1
  18. package/alert/fesm5/ngx-bootstrap-alert.js +72 -1
  19. package/alert/fesm5/ngx-bootstrap-alert.js.map +1 -1
  20. package/alert/package.json +2 -2
  21. package/buttons/bundles/ngx-bootstrap-buttons.umd.js +208 -85
  22. package/buttons/bundles/ngx-bootstrap-buttons.umd.js.map +1 -1
  23. package/buttons/bundles/ngx-bootstrap-buttons.umd.min.js +1 -1
  24. package/buttons/bundles/ngx-bootstrap-buttons.umd.min.js.map +1 -1
  25. package/buttons/button-radio-group.directive.d.ts +4 -1
  26. package/buttons/esm2015/button-radio-group.directive.js +26 -2
  27. package/buttons/esm5/button-radio-group.directive.js +30 -2
  28. package/buttons/fesm2015/ngx-bootstrap-buttons.js +194 -65
  29. package/buttons/fesm2015/ngx-bootstrap-buttons.js.map +1 -1
  30. package/buttons/fesm5/ngx-bootstrap-buttons.js +216 -83
  31. package/buttons/fesm5/ngx-bootstrap-buttons.js.map +1 -1
  32. package/buttons/ngx-bootstrap-buttons.metadata.json +1 -1
  33. package/buttons/package.json +2 -2
  34. package/carousel/bundles/ngx-bootstrap-carousel.umd.js +295 -4
  35. package/carousel/bundles/ngx-bootstrap-carousel.umd.js.map +1 -1
  36. package/carousel/bundles/ngx-bootstrap-carousel.umd.min.js +15 -1
  37. package/carousel/bundles/ngx-bootstrap-carousel.umd.min.js.map +1 -1
  38. package/carousel/carousel.component.d.ts +2 -0
  39. package/carousel/esm2015/carousel.component.js +15 -2
  40. package/carousel/esm2015/slide.component.js +21 -2
  41. package/carousel/esm5/carousel.component.js +15 -2
  42. package/carousel/esm5/slide.component.js +6 -2
  43. package/carousel/fesm2015/ngx-bootstrap-carousel.js +169 -2
  44. package/carousel/fesm2015/ngx-bootstrap-carousel.js.map +1 -1
  45. package/carousel/fesm5/ngx-bootstrap-carousel.js +156 -4
  46. package/carousel/fesm5/ngx-bootstrap-carousel.js.map +1 -1
  47. package/carousel/ngx-bootstrap-carousel.metadata.json +1 -1
  48. package/carousel/package.json +2 -2
  49. package/carousel/slide.component.d.ts +1 -0
  50. package/chronos/bundles/ngx-bootstrap-chronos.umd.js +11172 -10061
  51. package/chronos/bundles/ngx-bootstrap-chronos.umd.js.map +1 -1
  52. package/chronos/bundles/ngx-bootstrap-chronos.umd.min.js +1 -1
  53. package/chronos/bundles/ngx-bootstrap-chronos.umd.min.js.map +1 -1
  54. package/chronos/esm2015/format/format.js +1 -1
  55. package/chronos/esm2015/i18n/ka.js +108 -0
  56. package/chronos/esm2015/i18n/kk.js +89 -0
  57. package/chronos/esm2015/i18n/sq.js +62 -0
  58. package/chronos/esm2015/i18n/th-be.js +85 -0
  59. package/chronos/esm2015/index.js +2 -2
  60. package/chronos/esm2015/locale/locale.class.js +16 -2
  61. package/chronos/esm2015/ngx-bootstrap-chronos.js +2 -2
  62. package/chronos/esm2015/public_api.js +5 -1
  63. package/chronos/esm2015/units/year.js +4 -1
  64. package/chronos/esm5/format/format.js +1 -1
  65. package/chronos/esm5/i18n/ka.js +108 -0
  66. package/chronos/esm5/i18n/kk.js +89 -0
  67. package/chronos/esm5/i18n/sq.js +62 -0
  68. package/chronos/esm5/i18n/th-be.js +86 -0
  69. package/chronos/esm5/index.js +2 -2
  70. package/chronos/esm5/locale/locale.class.js +22 -2
  71. package/chronos/esm5/ngx-bootstrap-chronos.js +2 -2
  72. package/chronos/esm5/public_api.js +5 -1
  73. package/chronos/esm5/units/year.js +4 -1
  74. package/chronos/fesm2015/ngx-bootstrap-chronos.js +1117 -13
  75. package/chronos/fesm2015/ngx-bootstrap-chronos.js.map +1 -1
  76. package/chronos/fesm5/ngx-bootstrap-chronos.js +1130 -13
  77. package/chronos/fesm5/ngx-bootstrap-chronos.js.map +1 -1
  78. package/chronos/i18n/ka.d.ts +2 -0
  79. package/chronos/i18n/kk.d.ts +2 -0
  80. package/chronos/i18n/sq.d.ts +2 -0
  81. package/chronos/i18n/th-be.d.ts +2 -0
  82. package/chronos/locale/locale.class.d.ts +2 -0
  83. package/chronos/ngx-bootstrap-chronos.metadata.json +1 -1
  84. package/chronos/package.json +2 -2
  85. package/chronos/public_api.d.ts +4 -0
  86. package/collapse/bundles/ngx-bootstrap-collapse.umd.js +100 -2
  87. package/collapse/bundles/ngx-bootstrap-collapse.umd.js.map +1 -1
  88. package/collapse/bundles/ngx-bootstrap-collapse.umd.min.js +1 -1
  89. package/collapse/bundles/ngx-bootstrap-collapse.umd.min.js.map +1 -1
  90. package/collapse/collapse.directive.d.ts +1 -0
  91. package/collapse/esm2015/collapse.directive.js +14 -1
  92. package/collapse/esm5/collapse.directive.js +14 -1
  93. package/collapse/fesm2015/ngx-bootstrap-collapse.js +108 -0
  94. package/collapse/fesm2015/ngx-bootstrap-collapse.js.map +1 -1
  95. package/collapse/fesm5/ngx-bootstrap-collapse.js +109 -1
  96. package/collapse/fesm5/ngx-bootstrap-collapse.js.map +1 -1
  97. package/collapse/ngx-bootstrap-collapse.metadata.json +1 -1
  98. package/collapse/package.json +2 -2
  99. package/component-loader/bundles/ngx-bootstrap-component-loader.umd.js +169 -2
  100. package/component-loader/bundles/ngx-bootstrap-component-loader.umd.js.map +1 -1
  101. package/component-loader/bundles/ngx-bootstrap-component-loader.umd.min.js +1 -1
  102. package/component-loader/bundles/ngx-bootstrap-component-loader.umd.min.js.map +1 -1
  103. package/component-loader/fesm2015/ngx-bootstrap-component-loader.js +177 -0
  104. package/component-loader/fesm2015/ngx-bootstrap-component-loader.js.map +1 -1
  105. package/component-loader/fesm5/ngx-bootstrap-component-loader.js +178 -1
  106. package/component-loader/fesm5/ngx-bootstrap-component-loader.js.map +1 -1
  107. package/component-loader/package.json +2 -2
  108. package/datepicker/base/bs-datepicker-container.d.ts +2 -1
  109. package/datepicker/bs-datepicker-inline.component.d.ts +4 -0
  110. package/datepicker/bs-datepicker-input.directive.d.ts +1 -0
  111. package/datepicker/bs-datepicker.component.d.ts +12 -3
  112. package/datepicker/bs-datepicker.config.d.ts +31 -1
  113. package/datepicker/bs-datepicker.css +19 -1
  114. package/datepicker/bs-datepicker.css.map +3 -3
  115. package/datepicker/bs-datepicker.scss +0 -1
  116. package/datepicker/bs-daterangepicker-inline.component.d.ts +8 -0
  117. package/datepicker/bs-daterangepicker-input.directive.d.ts +1 -0
  118. package/datepicker/bs-daterangepicker.component.d.ts +16 -3
  119. package/datepicker/bundles/ngx-bootstrap-datepicker.umd.js +2100 -99
  120. package/datepicker/bundles/ngx-bootstrap-datepicker.umd.js.map +1 -1
  121. package/datepicker/bundles/ngx-bootstrap-datepicker.umd.min.js +15 -1
  122. package/datepicker/bundles/ngx-bootstrap-datepicker.umd.min.js.map +1 -1
  123. package/datepicker/engine/flag-days-calendar.d.ts +1 -0
  124. package/datepicker/esm2015/base/bs-datepicker-container.js +10 -3
  125. package/datepicker/esm2015/bs-datepicker-inline.component.js +25 -9
  126. package/datepicker/esm2015/bs-datepicker-input.directive.js +19 -1
  127. package/datepicker/esm2015/bs-datepicker.component.js +55 -8
  128. package/datepicker/esm2015/bs-datepicker.config.js +42 -3
  129. package/datepicker/esm2015/bs-datepicker.module.js +23 -16
  130. package/datepicker/esm2015/bs-daterangepicker-inline.component.js +37 -7
  131. package/datepicker/esm2015/bs-daterangepicker-input.directive.js +34 -3
  132. package/datepicker/esm2015/bs-daterangepicker.component.js +66 -9
  133. package/datepicker/esm2015/engine/flag-days-calendar.js +6 -3
  134. package/datepicker/esm2015/reducer/bs-datepicker.actions.js +14 -1
  135. package/datepicker/esm2015/reducer/bs-datepicker.effects.js +15 -11
  136. package/datepicker/esm2015/reducer/bs-datepicker.reducer.js +28 -6
  137. package/datepicker/esm2015/reducer/bs-datepicker.state.js +7 -1
  138. package/datepicker/esm2015/themes/bs/bs-custom-dates-view.component.js +46 -8
  139. package/datepicker/esm2015/themes/bs/bs-datepicker-container.component.js +5 -2
  140. package/datepicker/esm2015/themes/bs/bs-datepicker-inline-container.component.js +2 -2
  141. package/datepicker/esm2015/themes/bs/bs-datepicker-navigation-view.component.js +8 -7
  142. package/datepicker/esm2015/themes/bs/bs-daterangepicker-container.component.js +21 -3
  143. package/datepicker/esm2015/themes/bs/bs-daterangepicker-inline-container.component.js +2 -2
  144. package/datepicker/esm2015/themes/bs/bs-days-calendar-view.component.js +22 -8
  145. package/datepicker/esm2015/utils/bs-calendar-utils.js +18 -3
  146. package/datepicker/esm5/base/bs-datepicker-container.js +14 -3
  147. package/datepicker/esm5/bs-datepicker-inline.component.js +25 -9
  148. package/datepicker/esm5/bs-datepicker-input.directive.js +23 -1
  149. package/datepicker/esm5/bs-datepicker.component.js +59 -8
  150. package/datepicker/esm5/bs-datepicker.config.js +42 -3
  151. package/datepicker/esm5/bs-datepicker.module.js +26 -19
  152. package/datepicker/esm5/bs-daterangepicker-inline.component.js +37 -7
  153. package/datepicker/esm5/bs-daterangepicker-input.directive.js +38 -3
  154. package/datepicker/esm5/bs-daterangepicker.component.js +70 -9
  155. package/datepicker/esm5/engine/flag-days-calendar.js +6 -3
  156. package/datepicker/esm5/reducer/bs-datepicker.actions.js +18 -1
  157. package/datepicker/esm5/reducer/bs-datepicker.effects.js +21 -17
  158. package/datepicker/esm5/reducer/bs-datepicker.reducer.js +28 -6
  159. package/datepicker/esm5/reducer/bs-datepicker.state.js +7 -1
  160. package/datepicker/esm5/themes/bs/bs-custom-dates-view.component.js +39 -7
  161. package/datepicker/esm5/themes/bs/bs-datepicker-container.component.js +5 -2
  162. package/datepicker/esm5/themes/bs/bs-datepicker-inline-container.component.js +2 -2
  163. package/datepicker/esm5/themes/bs/bs-datepicker-navigation-view.component.js +2 -2
  164. package/datepicker/esm5/themes/bs/bs-daterangepicker-container.component.js +25 -3
  165. package/datepicker/esm5/themes/bs/bs-daterangepicker-inline-container.component.js +2 -2
  166. package/datepicker/esm5/themes/bs/bs-days-calendar-view.component.js +22 -8
  167. package/datepicker/esm5/utils/bs-calendar-utils.js +18 -3
  168. package/datepicker/fesm2015/ngx-bootstrap-datepicker.js +1953 -91
  169. package/datepicker/fesm2015/ngx-bootstrap-datepicker.js.map +1 -1
  170. package/datepicker/fesm5/ngx-bootstrap-datepicker.js +1985 -98
  171. package/datepicker/fesm5/ngx-bootstrap-datepicker.js.map +1 -1
  172. package/datepicker/ngx-bootstrap-datepicker.metadata.json +1 -1
  173. package/datepicker/package.json +2 -2
  174. package/datepicker/reducer/bs-datepicker.actions.d.ts +2 -0
  175. package/datepicker/reducer/bs-datepicker.effects.d.ts +3 -2
  176. package/datepicker/reducer/bs-datepicker.state.d.ts +3 -0
  177. package/datepicker/themes/bs/bs-custom-dates-view.component.d.ts +6 -1
  178. package/datepicker/themes/bs/bs-daterangepicker-container.component.d.ts +3 -0
  179. package/datepicker/utils/bs-calendar-utils.d.ts +1 -0
  180. package/datepicker/utils/scss/mixins.css.map +1 -1
  181. package/datepicker/utils/scss/mixins.scss +9 -0
  182. package/dropdown/bundles/ngx-bootstrap-dropdown.umd.js +387 -3
  183. package/dropdown/bundles/ngx-bootstrap-dropdown.umd.js.map +1 -1
  184. package/dropdown/bundles/ngx-bootstrap-dropdown.umd.min.js +15 -1
  185. package/dropdown/bundles/ngx-bootstrap-dropdown.umd.min.js.map +1 -1
  186. package/dropdown/esm2015/bs-dropdown-container.component.js +2 -2
  187. package/dropdown/esm5/bs-dropdown-container.component.js +2 -2
  188. package/dropdown/fesm2015/ngx-bootstrap-dropdown.js +234 -1
  189. package/dropdown/fesm2015/ngx-bootstrap-dropdown.js.map +1 -1
  190. package/dropdown/fesm5/ngx-bootstrap-dropdown.js +234 -1
  191. package/dropdown/fesm5/ngx-bootstrap-dropdown.js.map +1 -1
  192. package/dropdown/ngx-bootstrap-dropdown.metadata.json +1 -1
  193. package/dropdown/package.json +2 -2
  194. package/locale/bundles/ngx-bootstrap-locale.umd.js +36 -2
  195. package/locale/bundles/ngx-bootstrap-locale.umd.js.map +1 -1
  196. package/locale/bundles/ngx-bootstrap-locale.umd.min.js +1 -1
  197. package/locale/esm2015/ngx-bootstrap-locale.js +2 -2
  198. package/locale/esm2015/public_api.js +5 -1
  199. package/locale/esm5/ngx-bootstrap-locale.js +2 -2
  200. package/locale/esm5/public_api.js +5 -1
  201. package/locale/fesm2015/ngx-bootstrap-locale.js +11 -1
  202. package/locale/fesm2015/ngx-bootstrap-locale.js.map +1 -1
  203. package/locale/fesm5/ngx-bootstrap-locale.js +11 -1
  204. package/locale/fesm5/ngx-bootstrap-locale.js.map +1 -1
  205. package/locale/ngx-bootstrap-locale.metadata.json +1 -1
  206. package/locale/package.json +2 -2
  207. package/locale/public_api.d.ts +4 -0
  208. package/mini-ngrx/bundles/ngx-bootstrap-mini-ngrx.umd.js +187 -2
  209. package/mini-ngrx/bundles/ngx-bootstrap-mini-ngrx.umd.js.map +1 -1
  210. package/mini-ngrx/bundles/ngx-bootstrap-mini-ngrx.umd.min.js +15 -1
  211. package/mini-ngrx/bundles/ngx-bootstrap-mini-ngrx.umd.min.js.map +1 -1
  212. package/mini-ngrx/fesm2015/ngx-bootstrap-mini-ngrx.js +32 -0
  213. package/mini-ngrx/fesm2015/ngx-bootstrap-mini-ngrx.js.map +1 -1
  214. package/mini-ngrx/fesm5/ngx-bootstrap-mini-ngrx.js +32 -0
  215. package/mini-ngrx/fesm5/ngx-bootstrap-mini-ngrx.js.map +1 -1
  216. package/mini-ngrx/package.json +2 -2
  217. package/modal/bs-modal.service.d.ts +1 -2
  218. package/modal/bundles/ngx-bootstrap-modal.umd.js +558 -16
  219. package/modal/bundles/ngx-bootstrap-modal.umd.js.map +1 -1
  220. package/modal/bundles/ngx-bootstrap-modal.umd.min.js +15 -1
  221. package/modal/bundles/ngx-bootstrap-modal.umd.min.js.map +1 -1
  222. package/modal/esm2015/bs-modal.service.js +13 -4
  223. package/modal/esm2015/modal-container.component.js +24 -5
  224. package/modal/esm2015/modal-options.class.js +16 -1
  225. package/modal/esm2015/modal.directive.js +21 -4
  226. package/modal/esm2015/modal.module.js +10 -1
  227. package/modal/esm5/bs-modal.service.js +28 -8
  228. package/modal/esm5/modal-container.component.js +28 -5
  229. package/modal/esm5/modal-options.class.js +16 -1
  230. package/modal/esm5/modal.directive.js +25 -4
  231. package/modal/esm5/modal.module.js +13 -1
  232. package/modal/fesm2015/ngx-bootstrap-modal.js +354 -10
  233. package/modal/fesm2015/ngx-bootstrap-modal.js.map +1 -1
  234. package/modal/fesm5/ngx-bootstrap-modal.js +381 -15
  235. package/modal/fesm5/ngx-bootstrap-modal.js.map +1 -1
  236. package/modal/modal-container.component.d.ts +3 -1
  237. package/modal/modal-options.class.d.ts +13 -0
  238. package/modal/modal.directive.d.ts +3 -1
  239. package/modal/modal.module.d.ts +1 -0
  240. package/modal/ngx-bootstrap-modal.metadata.json +1 -1
  241. package/modal/package.json +2 -2
  242. package/package.json +2 -2
  243. package/pagination/bundles/ngx-bootstrap-pagination.umd.js +276 -4
  244. package/pagination/bundles/ngx-bootstrap-pagination.umd.js.map +1 -1
  245. package/pagination/bundles/ngx-bootstrap-pagination.umd.min.js +1 -1
  246. package/pagination/bundles/ngx-bootstrap-pagination.umd.min.js.map +1 -1
  247. package/pagination/esm2015/models/index.js +49 -4
  248. package/pagination/esm2015/pager.component.js +2 -2
  249. package/pagination/esm2015/pagination.component.js +33 -3
  250. package/pagination/esm2015/public_api.js +1 -1
  251. package/pagination/esm5/models/index.js +49 -4
  252. package/pagination/esm5/pager.component.js +2 -2
  253. package/pagination/esm5/pagination.component.js +33 -3
  254. package/pagination/esm5/public_api.js +1 -1
  255. package/pagination/fesm2015/ngx-bootstrap-pagination.js +284 -2
  256. package/pagination/fesm2015/ngx-bootstrap-pagination.js.map +1 -1
  257. package/pagination/fesm5/ngx-bootstrap-pagination.js +285 -3
  258. package/pagination/fesm5/ngx-bootstrap-pagination.js.map +1 -1
  259. package/pagination/models/index.d.ts +28 -0
  260. package/pagination/ngx-bootstrap-pagination.metadata.json +1 -1
  261. package/pagination/package.json +2 -2
  262. package/pagination/pagination.component.d.ts +12 -2
  263. package/pagination/public_api.d.ts +1 -0
  264. package/popover/bundles/ngx-bootstrap-popover.umd.js +215 -20
  265. package/popover/bundles/ngx-bootstrap-popover.umd.js.map +1 -1
  266. package/popover/bundles/ngx-bootstrap-popover.umd.min.js +1 -1
  267. package/popover/bundles/ngx-bootstrap-popover.umd.min.js.map +1 -1
  268. package/popover/esm2015/popover.config.js +10 -1
  269. package/popover/esm2015/popover.directive.js +97 -16
  270. package/popover/esm5/popover.config.js +10 -1
  271. package/popover/esm5/popover.directive.js +98 -16
  272. package/popover/fesm2015/ngx-bootstrap-popover.js +221 -16
  273. package/popover/fesm2015/ngx-bootstrap-popover.js.map +1 -1
  274. package/popover/fesm5/ngx-bootstrap-popover.js +222 -16
  275. package/popover/fesm5/ngx-bootstrap-popover.js.map +1 -1
  276. package/popover/ngx-bootstrap-popover.metadata.json +1 -1
  277. package/popover/package.json +2 -2
  278. package/popover/popover.config.d.ts +2 -0
  279. package/popover/popover.directive.d.ts +9 -1
  280. package/positioning/bundles/ngx-bootstrap-positioning.umd.js +286 -13
  281. package/positioning/bundles/ngx-bootstrap-positioning.umd.js.map +1 -1
  282. package/positioning/bundles/ngx-bootstrap-positioning.umd.min.js +15 -1
  283. package/positioning/bundles/ngx-bootstrap-positioning.umd.min.js.map +1 -1
  284. package/positioning/esm2015/modifiers/arrow.js +19 -5
  285. package/positioning/esm2015/modifiers/initData.js +12 -2
  286. package/positioning/esm2015/modifiers/shift.js +6 -4
  287. package/positioning/esm5/modifiers/arrow.js +19 -5
  288. package/positioning/esm5/modifiers/initData.js +12 -2
  289. package/positioning/esm5/modifiers/shift.js +8 -6
  290. package/positioning/fesm2015/ngx-bootstrap-positioning.js +128 -8
  291. package/positioning/fesm2015/ngx-bootstrap-positioning.js.map +1 -1
  292. package/positioning/fesm5/ngx-bootstrap-positioning.js +132 -10
  293. package/positioning/fesm5/ngx-bootstrap-positioning.js.map +1 -1
  294. package/positioning/package.json +2 -2
  295. package/progressbar/bundles/ngx-bootstrap-progressbar.umd.js +77 -2
  296. package/progressbar/bundles/ngx-bootstrap-progressbar.umd.js.map +1 -1
  297. package/progressbar/bundles/ngx-bootstrap-progressbar.umd.min.js +1 -1
  298. package/progressbar/bundles/ngx-bootstrap-progressbar.umd.min.js.map +1 -1
  299. package/progressbar/fesm2015/ngx-bootstrap-progressbar.js +85 -0
  300. package/progressbar/fesm2015/ngx-bootstrap-progressbar.js.map +1 -1
  301. package/progressbar/fesm5/ngx-bootstrap-progressbar.js +85 -0
  302. package/progressbar/fesm5/ngx-bootstrap-progressbar.js.map +1 -1
  303. package/progressbar/package.json +2 -2
  304. package/rating/bundles/ngx-bootstrap-rating.umd.js +92 -7
  305. package/rating/bundles/ngx-bootstrap-rating.umd.js.map +1 -1
  306. package/rating/bundles/ngx-bootstrap-rating.umd.min.js +1 -1
  307. package/rating/bundles/ngx-bootstrap-rating.umd.min.js.map +1 -1
  308. package/rating/esm2015/ngx-bootstrap-rating.js +2 -2
  309. package/rating/esm2015/public_api.js +2 -1
  310. package/rating/esm2015/rating.component.js +14 -5
  311. package/rating/esm2015/rating.config.js +27 -0
  312. package/rating/esm2015/rating.module.js +3 -2
  313. package/rating/esm5/ngx-bootstrap-rating.js +2 -2
  314. package/rating/esm5/public_api.js +2 -1
  315. package/rating/esm5/rating.component.js +13 -5
  316. package/rating/esm5/rating.config.js +29 -0
  317. package/rating/esm5/rating.module.js +3 -2
  318. package/rating/fesm2015/ngx-bootstrap-rating.js +101 -7
  319. package/rating/fesm2015/ngx-bootstrap-rating.js.map +1 -1
  320. package/rating/fesm5/ngx-bootstrap-rating.js +101 -7
  321. package/rating/fesm5/ngx-bootstrap-rating.js.map +1 -1
  322. package/rating/ngx-bootstrap-rating.metadata.json +1 -1
  323. package/rating/package.json +2 -2
  324. package/rating/public_api.d.ts +1 -0
  325. package/rating/rating.component.d.ts +4 -1
  326. package/rating/rating.config.d.ts +5 -0
  327. package/sortable/bundles/ngx-bootstrap-sortable.umd.js +254 -2
  328. package/sortable/bundles/ngx-bootstrap-sortable.umd.js.map +1 -1
  329. package/sortable/bundles/ngx-bootstrap-sortable.umd.min.js +15 -1
  330. package/sortable/bundles/ngx-bootstrap-sortable.umd.min.js.map +1 -1
  331. package/sortable/fesm2015/ngx-bootstrap-sortable.js +113 -0
  332. package/sortable/fesm2015/ngx-bootstrap-sortable.js.map +1 -1
  333. package/sortable/fesm5/ngx-bootstrap-sortable.js +114 -1
  334. package/sortable/fesm5/ngx-bootstrap-sortable.js.map +1 -1
  335. package/sortable/package.json +2 -2
  336. package/tabs/bundles/ngx-bootstrap-tabs.umd.js +153 -4
  337. package/tabs/bundles/ngx-bootstrap-tabs.umd.js.map +1 -1
  338. package/tabs/bundles/ngx-bootstrap-tabs.umd.min.js +1 -1
  339. package/tabs/bundles/ngx-bootstrap-tabs.umd.min.js.map +1 -1
  340. package/tabs/esm2015/tab.directive.js +13 -2
  341. package/tabs/esm2015/tabset.component.js +7 -2
  342. package/tabs/esm2015/tabset.config.js +10 -1
  343. package/tabs/esm5/tab.directive.js +17 -2
  344. package/tabs/esm5/tabset.component.js +7 -2
  345. package/tabs/esm5/tabset.config.js +10 -1
  346. package/tabs/fesm2015/ngx-bootstrap-tabs.js +157 -2
  347. package/tabs/fesm2015/ngx-bootstrap-tabs.js.map +1 -1
  348. package/tabs/fesm5/ngx-bootstrap-tabs.js +162 -3
  349. package/tabs/fesm5/ngx-bootstrap-tabs.js.map +1 -1
  350. package/tabs/ngx-bootstrap-tabs.metadata.json +1 -1
  351. package/tabs/package.json +2 -2
  352. package/tabs/tab.directive.d.ts +2 -0
  353. package/tabs/tabset.component.d.ts +2 -0
  354. package/tabs/tabset.config.d.ts +2 -0
  355. package/timepicker/bundles/ngx-bootstrap-timepicker.umd.js +464 -8
  356. package/timepicker/bundles/ngx-bootstrap-timepicker.umd.js.map +1 -1
  357. package/timepicker/bundles/ngx-bootstrap-timepicker.umd.min.js +15 -1
  358. package/timepicker/bundles/ngx-bootstrap-timepicker.umd.min.js.map +1 -1
  359. package/timepicker/esm2015/timepicker.component.js +8 -2
  360. package/timepicker/esm2015/timepicker.config.js +28 -1
  361. package/timepicker/esm2015/timepicker.utils.js +9 -6
  362. package/timepicker/esm5/timepicker.component.js +8 -2
  363. package/timepicker/esm5/timepicker.config.js +28 -1
  364. package/timepicker/esm5/timepicker.utils.js +9 -6
  365. package/timepicker/fesm2015/ngx-bootstrap-timepicker.js +311 -6
  366. package/timepicker/fesm2015/ngx-bootstrap-timepicker.js.map +1 -1
  367. package/timepicker/fesm5/ngx-bootstrap-timepicker.js +315 -7
  368. package/timepicker/fesm5/ngx-bootstrap-timepicker.js.map +1 -1
  369. package/timepicker/ngx-bootstrap-timepicker.metadata.json +1 -1
  370. package/timepicker/package.json +2 -2
  371. package/timepicker/timepicker.component.d.ts +3 -0
  372. package/timepicker/timepicker.config.d.ts +6 -0
  373. package/tooltip/bundles/ngx-bootstrap-tooltip.umd.js +356 -8
  374. package/tooltip/bundles/ngx-bootstrap-tooltip.umd.js.map +1 -1
  375. package/tooltip/bundles/ngx-bootstrap-tooltip.umd.min.js +15 -1
  376. package/tooltip/bundles/ngx-bootstrap-tooltip.umd.min.js.map +1 -1
  377. package/tooltip/esm2015/tooltip.directive.js +48 -10
  378. package/tooltip/esm5/tooltip.directive.js +51 -10
  379. package/tooltip/fesm2015/ngx-bootstrap-tooltip.js +201 -7
  380. package/tooltip/fesm2015/ngx-bootstrap-tooltip.js.map +1 -1
  381. package/tooltip/fesm5/ngx-bootstrap-tooltip.js +204 -7
  382. package/tooltip/fesm5/ngx-bootstrap-tooltip.js.map +1 -1
  383. package/tooltip/ngx-bootstrap-tooltip.metadata.json +1 -1
  384. package/tooltip/package.json +2 -2
  385. package/tooltip/tooltip.directive.d.ts +3 -1
  386. package/typeahead/bundles/ngx-bootstrap-typeahead.umd.js +748 -69
  387. package/typeahead/bundles/ngx-bootstrap-typeahead.umd.js.map +1 -1
  388. package/typeahead/bundles/ngx-bootstrap-typeahead.umd.min.js +15 -1
  389. package/typeahead/bundles/ngx-bootstrap-typeahead.umd.min.js.map +1 -1
  390. package/typeahead/esm2015/models/index.js +87 -0
  391. package/typeahead/esm2015/ngx-bootstrap-typeahead.js +2 -2
  392. package/typeahead/esm2015/public_api.js +2 -1
  393. package/typeahead/esm2015/typeahead-container.component.js +82 -37
  394. package/typeahead/esm2015/typeahead-order.class.js +19 -0
  395. package/typeahead/esm2015/typeahead.config.js +10 -1
  396. package/typeahead/esm2015/typeahead.directive.js +133 -30
  397. package/typeahead/esm5/models/index.js +87 -0
  398. package/typeahead/esm5/ngx-bootstrap-typeahead.js +2 -2
  399. package/typeahead/esm5/public_api.js +2 -1
  400. package/typeahead/esm5/typeahead-container.component.js +92 -37
  401. package/typeahead/esm5/typeahead-order.class.js +23 -0
  402. package/typeahead/esm5/typeahead.config.js +10 -1
  403. package/typeahead/esm5/typeahead.directive.js +140 -36
  404. package/typeahead/fesm2015/ngx-bootstrap-typeahead.js +574 -61
  405. package/typeahead/fesm2015/ngx-bootstrap-typeahead.js.map +1 -1
  406. package/typeahead/fesm5/ngx-bootstrap-typeahead.js +594 -67
  407. package/typeahead/fesm5/ngx-bootstrap-typeahead.js.map +1 -1
  408. package/typeahead/models/index.d.ts +41 -0
  409. package/typeahead/ngx-bootstrap-typeahead.metadata.json +1 -1
  410. package/typeahead/package.json +2 -2
  411. package/typeahead/public_api.d.ts +2 -0
  412. package/typeahead/typeahead-container.component.d.ts +15 -7
  413. package/typeahead/typeahead-order.class.d.ts +6 -0
  414. package/typeahead/typeahead.config.d.ts +2 -0
  415. package/typeahead/typeahead.directive.d.ts +28 -10
  416. package/utils/bundles/ngx-bootstrap-utils.umd.js +54 -2
  417. package/utils/bundles/ngx-bootstrap-utils.umd.js.map +1 -1
  418. package/utils/bundles/ngx-bootstrap-utils.umd.min.js +2 -2
  419. package/utils/bundles/ngx-bootstrap-utils.umd.min.js.map +1 -1
  420. package/utils/fesm2015/ngx-bootstrap-utils.js +62 -0
  421. package/utils/fesm2015/ngx-bootstrap-utils.js.map +1 -1
  422. package/utils/fesm5/ngx-bootstrap-utils.js +62 -0
  423. package/utils/fesm5/ngx-bootstrap-utils.js.map +1 -1
  424. package/utils/package.json +2 -2
  425. package/bundles/ngx-bootstrap.umd.js +0 -1037
  426. package/bundles/ngx-bootstrap.umd.js.map +0 -1
  427. package/bundles/ngx-bootstrap.umd.min.js +0 -2
  428. package/bundles/ngx-bootstrap.umd.min.js.map +0 -1
  429. package/esm2015/ngx-bootstrap.js +0 -9
  430. package/esm2015/public_api.js +0 -30
  431. package/esm5/ngx-bootstrap.js +0 -9
  432. package/esm5/public_api.js +0 -30
  433. package/fesm2015/ngx-bootstrap.js +0 -24
  434. package/fesm2015/ngx-bootstrap.js.map +0 -1
  435. package/fesm5/ngx-bootstrap.js +0 -24
  436. package/fesm5/ngx-bootstrap.js.map +0 -1
  437. package/ngx-bootstrap.d.ts +0 -4
  438. package/ngx-bootstrap.metadata.json +0 -1
  439. 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 {?}
@@ -452,6 +459,13 @@ function getFullYear(date, isUTC) {
452
459
  if (isUTC === void 0) { isUTC = false; }
453
460
  return isUTC ? date.getUTCFullYear() : date.getFullYear();
454
461
  }
462
+ /**
463
+ * @param {?} date
464
+ * @return {?}
465
+ */
466
+ function getUnixTime(date) {
467
+ return Math.floor(date.valueOf() / 1000);
468
+ }
455
469
  /**
456
470
  * @param {?} date
457
471
  * @return {?}
@@ -466,6 +480,21 @@ function unix(date) {
466
480
  function getFirstDayOfMonth(date) {
467
481
  return createDate(date.getFullYear(), date.getMonth(), 1, date.getHours(), date.getMinutes(), date.getSeconds());
468
482
  }
483
+ /**
484
+ * @param {?} date
485
+ * @return {?}
486
+ */
487
+ function daysInMonth(date) {
488
+ return _daysInMonth(date.getFullYear(), date.getMonth());
489
+ }
490
+ /**
491
+ * @param {?} year
492
+ * @param {?} month
493
+ * @return {?}
494
+ */
495
+ function _daysInMonth(year, month) {
496
+ return new Date(Date.UTC(year, month + 1, 0)).getUTCDate();
497
+ }
469
498
  /**
470
499
  * @param {?} date
471
500
  * @param {?} firstDayOfWeek
@@ -552,6 +581,9 @@ var matchUnsigned = /\d+/;
552
581
  // 0 - inf
553
582
  /** @type {?} */
554
583
  var matchSigned = /[+-]?\d+/;
584
+ // -inf - inf
585
+ /** @type {?} */
586
+ var matchOffset = /Z|[+-]\d\d:?\d\d/gi;
555
587
  // +00:00 -00:00 +0000 -0000 or Z
556
588
  /** @type {?} */
557
589
  var matchShortOffset = /Z|[+-]\d\d(?::?\d\d)?/gi;
@@ -693,6 +725,21 @@ function addTimeToArrayFromToken(token, input, config) {
693
725
  return config;
694
726
  }
695
727
 
728
+ /**
729
+ * @fileoverview added by tsickle
730
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
731
+ */
732
+ /** @type {?} */
733
+ var priorities = {};
734
+ /**
735
+ * @param {?} unit
736
+ * @param {?} priority
737
+ * @return {?}
738
+ */
739
+ function addUnitPriority(unit, priority) {
740
+ priorities[unit] = priority;
741
+ }
742
+
696
743
  /**
697
744
  * @fileoverview added by tsickle
698
745
  * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
@@ -713,6 +760,8 @@ function initDayOfMonth() {
713
760
  }));
714
761
  // ALIASES
715
762
  addUnitAlias('date', 'D');
763
+ // PRIOROITY
764
+ addUnitPriority('date', 9);
716
765
  // PARSING
717
766
  addRegexToken('D', match1to2);
718
767
  addRegexToken('DD', match1to2, match2);
@@ -785,6 +834,9 @@ function getParsingFlags(config) {
785
834
  * @return {?}
786
835
  */
787
836
  function getYear(date, opts) {
837
+ if (opts.locale.getFullYear) {
838
+ return opts.locale.getFullYear(date, opts.isUTC).toString();
839
+ }
788
840
  return getFullYear(date, opts.isUTC).toString();
789
841
  }
790
842
  /**
@@ -814,6 +866,8 @@ function initYear() {
814
866
  addFormatToken(null, ['YYYYYY', 6, true], null, getYear);
815
867
  // ALIASES
816
868
  addUnitAlias('year', 'y');
869
+ // PRIORITIES
870
+ addUnitPriority('year', 1);
817
871
  // PARSING
818
872
  addRegexToken('Y', matchSigned);
819
873
  addRegexToken('YY', match1to2, match2);
@@ -884,7 +938,7 @@ function isLeapYear(year) {
884
938
  * @param {?} month
885
939
  * @return {?}
886
940
  */
887
- function daysInMonth(year, month) {
941
+ function daysInMonth$1(year, month) {
888
942
  if (isNaN(year) || isNaN(month)) {
889
943
  return NaN;
890
944
  }
@@ -927,6 +981,8 @@ function initMonth() {
927
981
  }));
928
982
  // ALIASES
929
983
  addUnitAlias('month', 'M');
984
+ // PRIORITY
985
+ addUnitPriority('month', 8);
930
986
  // PARSING
931
987
  addRegexToken('M', match1to2);
932
988
  addRegexToken('MM', match1to2, match2);
@@ -1005,7 +1061,7 @@ function shiftDate(date, unit) {
1005
1061
  /** @type {?} */
1006
1062
  var day = date.getDate() + (_unit.day || 0);
1007
1063
  if (_unit.month && !_unit.day) {
1008
- day = Math.min(day, daysInMonth(year, month));
1064
+ day = Math.min(day, daysInMonth$1(year, month));
1009
1065
  }
1010
1066
  return createDate(year, month, day, date.getHours() + (_unit.hour || 0), date.getMinutes() + (_unit.minute || 0), date.getSeconds() + (_unit.seconds || 0));
1011
1067
  }
@@ -1026,6 +1082,27 @@ function setFullDate(date, unit) {
1026
1082
  function getNum(def, num) {
1027
1083
  return isNumber(num) ? num : def;
1028
1084
  }
1085
+ /**
1086
+ * @param {?} date
1087
+ * @param {?} value
1088
+ * @param {?=} isUTC
1089
+ * @return {?}
1090
+ */
1091
+ function setFullYear(date, value, isUTC) {
1092
+ /** @type {?} */
1093
+ var _month = getMonth(date, isUTC);
1094
+ /** @type {?} */
1095
+ var _date = getDate(date, isUTC);
1096
+ /** @type {?} */
1097
+ var _year = getFullYear(date, isUTC);
1098
+ if (isLeapYear(_year) && _month === 1 && _date === 29) {
1099
+ /** @type {?} */
1100
+ var _daysInMonth = daysInMonth$1(value, _month);
1101
+ isUTC ? date.setUTCFullYear(value, _month, _daysInMonth) : date.setFullYear(value, _month, _daysInMonth);
1102
+ }
1103
+ isUTC ? date.setUTCFullYear(value) : date.setFullYear(value);
1104
+ return date;
1105
+ }
1029
1106
  /**
1030
1107
  * @param {?} date
1031
1108
  * @param {?} value
@@ -1034,10 +1111,20 @@ function getNum(def, num) {
1034
1111
  */
1035
1112
  function setMonth(date, value, isUTC) {
1036
1113
  /** @type {?} */
1037
- var dayOfMonth = Math.min(getDate(date), daysInMonth(getFullYear(date), value));
1114
+ var dayOfMonth = Math.min(getDate(date), daysInMonth$1(getFullYear(date), value));
1038
1115
  isUTC ? date.setUTCMonth(value, dayOfMonth) : date.setMonth(value, dayOfMonth);
1039
1116
  return date;
1040
1117
  }
1118
+ /**
1119
+ * @param {?} date
1120
+ * @param {?} value
1121
+ * @param {?=} isUTC
1122
+ * @return {?}
1123
+ */
1124
+ function setDay(date, value, isUTC) {
1125
+ isUTC ? date.setUTCDate(value) : date.setDate(value);
1126
+ return date;
1127
+ }
1041
1128
  /**
1042
1129
  * @param {?} date
1043
1130
  * @param {?} value
@@ -1204,6 +1291,8 @@ function initDayOfYear() {
1204
1291
  }));
1205
1292
  // ALIASES
1206
1293
  addUnitAlias('dayOfYear', 'DDD');
1294
+ // PRIORITY
1295
+ addUnitPriority('dayOfYear', 4);
1207
1296
  addRegexToken('DDD', match1to3);
1208
1297
  addRegexToken('DDDD', match3);
1209
1298
  addParseToken(['DDD', 'DDDD'], (/**
@@ -1233,6 +1322,16 @@ function getDayOfYear(date, isUTC) {
1233
1322
  var oneDay = 1000 * 60 * 60 * 24;
1234
1323
  return Math.round(someDate / oneDay) + 1;
1235
1324
  }
1325
+ /**
1326
+ * @param {?} date
1327
+ * @param {?} input
1328
+ * @return {?}
1329
+ */
1330
+ function setDayOfYear(date, input) {
1331
+ /** @type {?} */
1332
+ var dayOfYear = getDayOfYear(date);
1333
+ return add(date, (input - dayOfYear), 'day');
1334
+ }
1236
1335
 
1237
1336
  /**
1238
1337
  * @fileoverview added by tsickle
@@ -1341,6 +1440,18 @@ function weeksInYear(year, dow, doy) {
1341
1440
  * @fileoverview added by tsickle
1342
1441
  * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1343
1442
  */
1443
+ /**
1444
+ * @record
1445
+ */
1446
+ function LocaleOptionsFormat() { }
1447
+ if (false) {
1448
+ /** @type {?} */
1449
+ LocaleOptionsFormat.prototype.format;
1450
+ /** @type {?} */
1451
+ LocaleOptionsFormat.prototype.standalone;
1452
+ /** @type {?|undefined} */
1453
+ LocaleOptionsFormat.prototype.isFormat;
1454
+ }
1344
1455
  /** @type {?} */
1345
1456
  var MONTHS_IN_FORMAT = /D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/;
1346
1457
  /** @type {?} */
@@ -1370,6 +1481,94 @@ var defaultDayOfMonthOrdinalParse = /\d{1,2}/;
1370
1481
  var defaultMonthsShortRegex = matchWord;
1371
1482
  /** @type {?} */
1372
1483
  var defaultMonthsRegex = matchWord;
1484
+ /**
1485
+ * @record
1486
+ */
1487
+ function LocaleData() { }
1488
+ if (false) {
1489
+ /** @type {?|undefined} */
1490
+ LocaleData.prototype.abbr;
1491
+ /** @type {?|undefined} */
1492
+ LocaleData.prototype.parentLocale;
1493
+ /** @type {?|undefined} */
1494
+ LocaleData.prototype.months;
1495
+ /** @type {?|undefined} */
1496
+ LocaleData.prototype.monthsShort;
1497
+ /** @type {?|undefined} */
1498
+ LocaleData.prototype.monthsParseExact;
1499
+ /** @type {?|undefined} */
1500
+ LocaleData.prototype.weekdays;
1501
+ /** @type {?|undefined} */
1502
+ LocaleData.prototype.weekdaysShort;
1503
+ /** @type {?|undefined} */
1504
+ LocaleData.prototype.weekdaysMin;
1505
+ /** @type {?|undefined} */
1506
+ LocaleData.prototype.weekdaysParseExact;
1507
+ /** @type {?|undefined} */
1508
+ LocaleData.prototype.longDateFormat;
1509
+ /** @type {?|undefined} */
1510
+ LocaleData.prototype.calendar;
1511
+ /** @type {?|undefined} */
1512
+ LocaleData.prototype.relativeTime;
1513
+ /** @type {?|undefined} */
1514
+ LocaleData.prototype.dayOfMonthOrdinalParse;
1515
+ /** @type {?|undefined} */
1516
+ LocaleData.prototype.ordinal;
1517
+ /** @type {?|undefined} */
1518
+ LocaleData.prototype.week;
1519
+ /** @type {?|undefined} */
1520
+ LocaleData.prototype.invalidDate;
1521
+ /** @type {?|undefined} */
1522
+ LocaleData.prototype.monthsRegex;
1523
+ /** @type {?|undefined} */
1524
+ LocaleData.prototype.monthsParse;
1525
+ /** @type {?|undefined} */
1526
+ LocaleData.prototype.monthsShortRegex;
1527
+ /** @type {?|undefined} */
1528
+ LocaleData.prototype.monthsStrictRegex;
1529
+ /** @type {?|undefined} */
1530
+ LocaleData.prototype.monthsShortStrictRegex;
1531
+ /** @type {?|undefined} */
1532
+ LocaleData.prototype.longMonthsParse;
1533
+ /** @type {?|undefined} */
1534
+ LocaleData.prototype.shortMonthsParse;
1535
+ /** @type {?|undefined} */
1536
+ LocaleData.prototype.meridiemParse;
1537
+ /**
1538
+ * @param {?} hour
1539
+ * @param {?} meridiem
1540
+ * @return {?}
1541
+ */
1542
+ LocaleData.prototype.meridiemHour = function (hour, meridiem) { };
1543
+ /**
1544
+ * @param {?} str
1545
+ * @return {?}
1546
+ */
1547
+ LocaleData.prototype.preparse = function (str) { };
1548
+ /**
1549
+ * @param {?} str
1550
+ * @return {?}
1551
+ */
1552
+ LocaleData.prototype.postformat = function (str) { };
1553
+ /**
1554
+ * @param {?} hour
1555
+ * @param {?=} minute
1556
+ * @param {?=} isLower
1557
+ * @return {?}
1558
+ */
1559
+ LocaleData.prototype.meridiem = function (hour, minute, isLower) { };
1560
+ /**
1561
+ * @param {?} input
1562
+ * @return {?}
1563
+ */
1564
+ LocaleData.prototype.isPM = function (input) { };
1565
+ /**
1566
+ * @param {?} date
1567
+ * @param {?} isUTC
1568
+ * @return {?}
1569
+ */
1570
+ LocaleData.prototype.getFullYear = function (date, isUTC) { };
1571
+ }
1373
1572
  var Locale = /** @class */ (function () {
1374
1573
  function Locale(config) {
1375
1574
  if (!!config) {
@@ -1482,6 +1681,20 @@ var Locale = /** @class */ (function () {
1482
1681
  function (str) {
1483
1682
  return str;
1484
1683
  };
1684
+ /**
1685
+ * @param {?} date
1686
+ * @param {?=} isUTC
1687
+ * @return {?}
1688
+ */
1689
+ Locale.prototype.getFullYear = /**
1690
+ * @param {?} date
1691
+ * @param {?=} isUTC
1692
+ * @return {?}
1693
+ */
1694
+ function (date, isUTC) {
1695
+ if (isUTC === void 0) { isUTC = false; }
1696
+ return getFullYear(date, isUTC);
1697
+ };
1485
1698
  /**
1486
1699
  * @param {?} str
1487
1700
  * @return {?}
@@ -2245,6 +2458,166 @@ var Locale = /** @class */ (function () {
2245
2458
  };
2246
2459
  return Locale;
2247
2460
  }());
2461
+ if (false) {
2462
+ /** @type {?} */
2463
+ Locale.prototype.parentLocale;
2464
+ /** @type {?} */
2465
+ Locale.prototype._abbr;
2466
+ /** @type {?} */
2467
+ Locale.prototype._config;
2468
+ /** @type {?} */
2469
+ Locale.prototype.meridiemHour;
2470
+ /** @type {?} */
2471
+ Locale.prototype._invalidDate;
2472
+ /** @type {?} */
2473
+ Locale.prototype._week;
2474
+ /** @type {?} */
2475
+ Locale.prototype._dayOfMonthOrdinalParse;
2476
+ /** @type {?} */
2477
+ Locale.prototype._ordinalParse;
2478
+ /** @type {?} */
2479
+ Locale.prototype._meridiemParse;
2480
+ /**
2481
+ * @type {?}
2482
+ * @private
2483
+ */
2484
+ Locale.prototype._calendar;
2485
+ /**
2486
+ * @type {?}
2487
+ * @private
2488
+ */
2489
+ Locale.prototype._relativeTime;
2490
+ /**
2491
+ * @type {?}
2492
+ * @private
2493
+ */
2494
+ Locale.prototype._months;
2495
+ /**
2496
+ * @type {?}
2497
+ * @private
2498
+ */
2499
+ Locale.prototype._monthsShort;
2500
+ /**
2501
+ * @type {?}
2502
+ * @private
2503
+ */
2504
+ Locale.prototype._monthsRegex;
2505
+ /**
2506
+ * @type {?}
2507
+ * @private
2508
+ */
2509
+ Locale.prototype._monthsShortRegex;
2510
+ /**
2511
+ * @type {?}
2512
+ * @private
2513
+ */
2514
+ Locale.prototype._monthsStrictRegex;
2515
+ /**
2516
+ * @type {?}
2517
+ * @private
2518
+ */
2519
+ Locale.prototype._monthsShortStrictRegex;
2520
+ /**
2521
+ * @type {?}
2522
+ * @private
2523
+ */
2524
+ Locale.prototype._monthsParse;
2525
+ /**
2526
+ * @type {?}
2527
+ * @private
2528
+ */
2529
+ Locale.prototype._longMonthsParse;
2530
+ /**
2531
+ * @type {?}
2532
+ * @private
2533
+ */
2534
+ Locale.prototype._shortMonthsParse;
2535
+ /**
2536
+ * @type {?}
2537
+ * @private
2538
+ */
2539
+ Locale.prototype._monthsParseExact;
2540
+ /**
2541
+ * @type {?}
2542
+ * @private
2543
+ */
2544
+ Locale.prototype._weekdaysParseExact;
2545
+ /**
2546
+ * @type {?}
2547
+ * @private
2548
+ */
2549
+ Locale.prototype._weekdaysRegex;
2550
+ /**
2551
+ * @type {?}
2552
+ * @private
2553
+ */
2554
+ Locale.prototype._weekdaysShortRegex;
2555
+ /**
2556
+ * @type {?}
2557
+ * @private
2558
+ */
2559
+ Locale.prototype._weekdaysMinRegex;
2560
+ /**
2561
+ * @type {?}
2562
+ * @private
2563
+ */
2564
+ Locale.prototype._weekdaysStrictRegex;
2565
+ /**
2566
+ * @type {?}
2567
+ * @private
2568
+ */
2569
+ Locale.prototype._weekdaysShortStrictRegex;
2570
+ /**
2571
+ * @type {?}
2572
+ * @private
2573
+ */
2574
+ Locale.prototype._weekdaysMinStrictRegex;
2575
+ /**
2576
+ * @type {?}
2577
+ * @private
2578
+ */
2579
+ Locale.prototype._weekdays;
2580
+ /**
2581
+ * @type {?}
2582
+ * @private
2583
+ */
2584
+ Locale.prototype._weekdaysShort;
2585
+ /**
2586
+ * @type {?}
2587
+ * @private
2588
+ */
2589
+ Locale.prototype._weekdaysMin;
2590
+ /**
2591
+ * @type {?}
2592
+ * @private
2593
+ */
2594
+ Locale.prototype._weekdaysParse;
2595
+ /**
2596
+ * @type {?}
2597
+ * @private
2598
+ */
2599
+ Locale.prototype._minWeekdaysParse;
2600
+ /**
2601
+ * @type {?}
2602
+ * @private
2603
+ */
2604
+ Locale.prototype._shortWeekdaysParse;
2605
+ /**
2606
+ * @type {?}
2607
+ * @private
2608
+ */
2609
+ Locale.prototype._fullWeekdaysParse;
2610
+ /**
2611
+ * @type {?}
2612
+ * @private
2613
+ */
2614
+ Locale.prototype._longDateFormat;
2615
+ /**
2616
+ * @type {?}
2617
+ * @private
2618
+ */
2619
+ Locale.prototype._ordinal;
2620
+ }
2248
2621
  /**
2249
2622
  * @param {?} a
2250
2623
  * @param {?} b
@@ -2374,6 +2747,9 @@ function initWeek() {
2374
2747
  // ALIASES
2375
2748
  addUnitAlias('week', 'w');
2376
2749
  addUnitAlias('isoWeek', 'W');
2750
+ // PRIORITIES
2751
+ addUnitPriority('week', 5);
2752
+ addUnitPriority('isoWeek', 5);
2377
2753
  // PARSING
2378
2754
  addRegexToken('w', match1to2);
2379
2755
  addRegexToken('ww', match1to2, match2);
@@ -2395,6 +2771,18 @@ function initWeek() {
2395
2771
  // return input == null ? week : this.add((input - week) * 7, 'd');
2396
2772
  // }
2397
2773
  }
2774
+ /**
2775
+ * @param {?} date
2776
+ * @param {?} input
2777
+ * @param {?=} locale
2778
+ * @return {?}
2779
+ */
2780
+ function setWeek(date, input, locale) {
2781
+ if (locale === void 0) { locale = getLocale(); }
2782
+ /** @type {?} */
2783
+ var week = getWeek(date, locale);
2784
+ return add(date, (input - week) * 7, 'day');
2785
+ }
2398
2786
  /**
2399
2787
  * @param {?} date
2400
2788
  * @param {?=} locale
@@ -2405,6 +2793,20 @@ function getWeek(date, locale, isUTC) {
2405
2793
  if (locale === void 0) { locale = getLocale(); }
2406
2794
  return locale.week(date, isUTC);
2407
2795
  }
2796
+ // export function getSetISOWeek (input) {
2797
+ // var week = weekOfYear(this, 1, 4).week;
2798
+ // return input == null ? week : this.add((input - week) * 7, 'd');
2799
+ // }
2800
+ /**
2801
+ * @param {?} date
2802
+ * @param {?} input
2803
+ * @return {?}
2804
+ */
2805
+ function setISOWeek(date, input) {
2806
+ /** @type {?} */
2807
+ var week = getISOWeek(date);
2808
+ return add(date, (input - week) * 7, 'day');
2809
+ }
2408
2810
  /**
2409
2811
  * @param {?} date
2410
2812
  * @param {?=} isUTC
@@ -2447,6 +2849,9 @@ function initWeekYear() {
2447
2849
  // ALIASES
2448
2850
  addUnitAlias('weekYear', 'gg');
2449
2851
  addUnitAlias('isoWeekYear', 'GG');
2852
+ // PRIORITY
2853
+ addUnitPriority('weekYear', 1);
2854
+ addUnitPriority('isoWeekYear', 1);
2450
2855
  // PARSING
2451
2856
  addRegexToken('G', matchSigned);
2452
2857
  addRegexToken('g', matchSigned);
@@ -2502,6 +2907,22 @@ function _getWeekYearFormatCb(date, opts) {
2502
2907
  function _getISOWeekYearFormatCb(date) {
2503
2908
  return getISOWeekYear(date).toString();
2504
2909
  }
2910
+ // MOMENTS
2911
+ /**
2912
+ * @param {?} date
2913
+ * @param {?} input
2914
+ * @param {?=} locale
2915
+ * @param {?=} isUTC
2916
+ * @return {?}
2917
+ */
2918
+ function getSetWeekYear(date, input, locale, isUTC) {
2919
+ if (locale === void 0) { locale = getLocale(); }
2920
+ return getSetWeekYearHelper(date, input,
2921
+ // this.week(),
2922
+ getWeek(date, locale, isUTC),
2923
+ // this.weekday(),
2924
+ getLocaleDayOfWeek(date, locale, isUTC), locale.firstDayOfWeek(), locale.firstDayOfYear(), isUTC);
2925
+ }
2505
2926
  /**
2506
2927
  * @param {?} date
2507
2928
  * @param {?=} locale
@@ -2512,6 +2933,15 @@ function getWeekYear(date, locale, isUTC) {
2512
2933
  if (locale === void 0) { locale = getLocale(); }
2513
2934
  return weekOfYear(date, locale.firstDayOfWeek(), locale.firstDayOfYear(), isUTC).year;
2514
2935
  }
2936
+ /**
2937
+ * @param {?} date
2938
+ * @param {?} input
2939
+ * @param {?=} isUTC
2940
+ * @return {?}
2941
+ */
2942
+ function getSetISOWeekYear(date, input, isUTC) {
2943
+ return getSetWeekYearHelper(date, input, getISOWeek(date, isUTC), getISODayOfWeek(date, isUTC), 1, 4);
2944
+ }
2515
2945
  /**
2516
2946
  * @param {?} date
2517
2947
  * @param {?=} isUTC
@@ -2520,6 +2950,63 @@ function getWeekYear(date, locale, isUTC) {
2520
2950
  function getISOWeekYear(date, isUTC) {
2521
2951
  return weekOfYear(date, 1, 4, isUTC).year;
2522
2952
  }
2953
+ /**
2954
+ * @param {?} date
2955
+ * @param {?=} isUTC
2956
+ * @return {?}
2957
+ */
2958
+ function getISOWeeksInYear(date, isUTC) {
2959
+ return weeksInYear(getFullYear(date, isUTC), 1, 4);
2960
+ }
2961
+ /**
2962
+ * @param {?} date
2963
+ * @param {?=} isUTC
2964
+ * @param {?=} locale
2965
+ * @return {?}
2966
+ */
2967
+ function getWeeksInYear(date, isUTC, locale) {
2968
+ if (locale === void 0) { locale = getLocale(); }
2969
+ return weeksInYear(getFullYear(date, isUTC), locale.firstDayOfWeek(), locale.firstDayOfYear());
2970
+ }
2971
+ /**
2972
+ * @param {?} date
2973
+ * @param {?} input
2974
+ * @param {?} week
2975
+ * @param {?} weekday
2976
+ * @param {?} dow
2977
+ * @param {?} doy
2978
+ * @param {?=} isUTC
2979
+ * @return {?}
2980
+ */
2981
+ function getSetWeekYearHelper(date, input, week, weekday, dow, doy, isUTC) {
2982
+ if (!input) {
2983
+ return getWeekYear(date, void 0, isUTC);
2984
+ }
2985
+ /** @type {?} */
2986
+ var weeksTarget = weeksInYear(input, dow, doy);
2987
+ /** @type {?} */
2988
+ var _week = week > weeksTarget ? weeksTarget : week;
2989
+ return setWeekAll(date, input, _week, weekday, dow, doy);
2990
+ }
2991
+ /**
2992
+ * @param {?} date
2993
+ * @param {?} weekYear
2994
+ * @param {?} week
2995
+ * @param {?} weekday
2996
+ * @param {?} dow
2997
+ * @param {?} doy
2998
+ * @return {?}
2999
+ */
3000
+ function setWeekAll(date, weekYear, week, weekday, dow, doy) {
3001
+ /** @type {?} */
3002
+ var dayOfYearData = dayOfYearFromWeeks(weekYear, week, weekday, dow, doy);
3003
+ /** @type {?} */
3004
+ var _date = createUTCDate(dayOfYearData.year, 0, dayOfYearData.dayOfYear);
3005
+ setFullYear(date, getFullYear(_date, true), true);
3006
+ setMonth(date, getMonth(_date, true), true);
3007
+ setDate(date, getDate(_date, true), true);
3008
+ return date;
3009
+ }
2523
3010
 
2524
3011
  /**
2525
3012
  * @fileoverview added by tsickle
@@ -2548,6 +3035,21 @@ function initTimezone() {
2548
3035
  return opts.isUTC ? 'Coordinated Universal Time' : '';
2549
3036
  }));
2550
3037
  }
3038
+ // MOMENTS
3039
+ /**
3040
+ * @param {?} isUTC
3041
+ * @return {?}
3042
+ */
3043
+ function getZoneAbbr(isUTC) {
3044
+ return isUTC ? 'UTC' : '';
3045
+ }
3046
+ /**
3047
+ * @param {?} isUTC
3048
+ * @return {?}
3049
+ */
3050
+ function getZoneName(isUTC) {
3051
+ return isUTC ? 'Coordinated Universal Time' : '';
3052
+ }
2551
3053
 
2552
3054
  /**
2553
3055
  * @fileoverview added by tsickle
@@ -2619,6 +3121,8 @@ function initSecond() {
2619
3121
  }));
2620
3122
  // ALIASES
2621
3123
  addUnitAlias('second', 's');
3124
+ // PRIORITY
3125
+ addUnitPriority('second', 15);
2622
3126
  // PARSING
2623
3127
  addRegexToken('s', match1to2);
2624
3128
  addRegexToken('ss', match1to2, match2);
@@ -2645,6 +3149,8 @@ function initQuarter() {
2645
3149
  }));
2646
3150
  // ALIASES
2647
3151
  addUnitAlias('quarter', 'Q');
3152
+ // PRIORITY
3153
+ addUnitPriority('quarter', 7);
2648
3154
  // PARSING
2649
3155
  addRegexToken('Q', match1);
2650
3156
  addParseToken('Q', (/**
@@ -2668,6 +3174,15 @@ function getQuarter(date, isUTC) {
2668
3174
  if (isUTC === void 0) { isUTC = false; }
2669
3175
  return Math.ceil((getMonth(date, isUTC) + 1) / 3);
2670
3176
  }
3177
+ /**
3178
+ * @param {?} date
3179
+ * @param {?} quarter
3180
+ * @param {?=} isUTC
3181
+ * @return {?}
3182
+ */
3183
+ function setQuarter(date, quarter, isUTC) {
3184
+ return setMonth(date, (quarter - 1) * 3 + getMonth(date, isUTC) % 3, isUTC);
3185
+ }
2671
3186
 
2672
3187
  /**
2673
3188
  * @fileoverview added by tsickle
@@ -2806,6 +3321,128 @@ function getUTCOffset(date, config) {
2806
3321
  var _offset = config._offset || 0;
2807
3322
  return config._isUTC ? _offset : getDateOffset(date);
2808
3323
  }
3324
+ /**
3325
+ * @param {?} date
3326
+ * @param {?} input
3327
+ * @param {?=} keepLocalTime
3328
+ * @param {?=} keepMinutes
3329
+ * @param {?=} config
3330
+ * @return {?}
3331
+ */
3332
+ function setUTCOffset(date, input, keepLocalTime, keepMinutes, config) {
3333
+ if (config === void 0) { config = {}; }
3334
+ /** @type {?} */
3335
+ var offset = config._offset || 0;
3336
+ /** @type {?} */
3337
+ var localAdjust;
3338
+ /** @type {?} */
3339
+ var _input = input;
3340
+ /** @type {?} */
3341
+ var _date = date;
3342
+ if (isString(_input)) {
3343
+ _input = offsetFromString(matchShortOffset, _input);
3344
+ if (_input === null) {
3345
+ return _date;
3346
+ }
3347
+ }
3348
+ else if (isNumber(_input) && Math.abs(_input) < 16 && !keepMinutes) {
3349
+ _input = _input * 60;
3350
+ }
3351
+ if (!config._isUTC && keepLocalTime) {
3352
+ localAdjust = getDateOffset(_date);
3353
+ }
3354
+ config._offset = _input;
3355
+ config._isUTC = true;
3356
+ if (localAdjust != null) {
3357
+ _date = add(_date, localAdjust, 'minutes');
3358
+ }
3359
+ if (offset !== _input) {
3360
+ if (!keepLocalTime || config._changeInProgress) {
3361
+ _date = add(_date, _input - offset, 'minutes', config._isUTC);
3362
+ // addSubtract(this, createDuration(_input - offset, 'm'), 1, false);
3363
+ }
3364
+ else if (!config._changeInProgress) {
3365
+ config._changeInProgress = true;
3366
+ // todo: add timezone handling
3367
+ // hooks.updateOffset(this, true);
3368
+ config._changeInProgress = null;
3369
+ }
3370
+ }
3371
+ return _date;
3372
+ }
3373
+ /*
3374
+ export function getSetZone(input, keepLocalTime) {
3375
+ if (input != null) {
3376
+ if (typeof input !== 'string') {
3377
+ input = -input;
3378
+ }
3379
+
3380
+ this.utcOffset(input, keepLocalTime);
3381
+
3382
+ return this;
3383
+ } else {
3384
+ return -this.utcOffset();
3385
+ }
3386
+ }
3387
+ */
3388
+ /**
3389
+ * @param {?} date
3390
+ * @param {?=} keepLocalTime
3391
+ * @return {?}
3392
+ */
3393
+ function setOffsetToUTC(date, keepLocalTime) {
3394
+ return setUTCOffset(date, 0, keepLocalTime);
3395
+ }
3396
+ /**
3397
+ * @param {?} date
3398
+ * @return {?}
3399
+ */
3400
+ function isDaylightSavingTime(date) {
3401
+ return (getUTCOffset(date) > getUTCOffset(setMonth(cloneDate(date), 0))
3402
+ || getUTCOffset(date) > getUTCOffset(setMonth(cloneDate(date), 5)));
3403
+ }
3404
+ /*export function setOffsetToLocal(date: Date, isUTC?: boolean, keepLocalTime?: boolean) {
3405
+ if (this._isUTC) {
3406
+ this.utcOffset(0, keepLocalTime);
3407
+ this._isUTC = false;
3408
+
3409
+ if (keepLocalTime) {
3410
+ this.subtract(getDateOffset(this), 'm');
3411
+ }
3412
+ }
3413
+ return this;
3414
+ }*/
3415
+ /**
3416
+ * @param {?} date
3417
+ * @param {?} input
3418
+ * @param {?=} config
3419
+ * @return {?}
3420
+ */
3421
+ function setOffsetToParsedOffset(date, input, config) {
3422
+ if (config === void 0) { config = {}; }
3423
+ if (config._tzm != null) {
3424
+ return setUTCOffset(date, config._tzm, false, true, config);
3425
+ }
3426
+ if (isString(input)) {
3427
+ /** @type {?} */
3428
+ var tZone = offsetFromString(matchOffset, input);
3429
+ if (tZone != null) {
3430
+ return setUTCOffset(date, tZone, false, false, config);
3431
+ }
3432
+ return setUTCOffset(date, 0, true, false, config);
3433
+ }
3434
+ return date;
3435
+ }
3436
+ /**
3437
+ * @param {?} date
3438
+ * @param {?=} input
3439
+ * @return {?}
3440
+ */
3441
+ function hasAlignedHourOffset(date, input) {
3442
+ /** @type {?} */
3443
+ var _input = input ? getUTCOffset(input, { _isUTC: false }) : 0;
3444
+ return (getUTCOffset(date) - _input) % 60 === 0;
3445
+ }
2809
3446
 
2810
3447
  /**
2811
3448
  * @fileoverview added by tsickle
@@ -2827,6 +3464,8 @@ function initMinute() {
2827
3464
  }));
2828
3465
  // ALIASES
2829
3466
  addUnitAlias('minute', 'm');
3467
+ // PRIORITY
3468
+ addUnitPriority('minute', 14);
2830
3469
  // PARSING
2831
3470
  addRegexToken('m', match1to2);
2832
3471
  addRegexToken('mm', match1to2, match2);
@@ -2915,6 +3554,8 @@ function initMillisecond() {
2915
3554
  }));
2916
3555
  // ALIASES
2917
3556
  addUnitAlias('millisecond', 'ms');
3557
+ // PRIORITY
3558
+ addUnitPriority('millisecond', 16);
2918
3559
  // PARSING
2919
3560
  addRegexToken('S', match1to3, match1);
2920
3561
  addRegexToken('SS', match1to3, match2);
@@ -3064,6 +3705,8 @@ function initHour() {
3064
3705
  meridiem('A', false);
3065
3706
  // ALIASES
3066
3707
  addUnitAlias('hour', 'h');
3708
+ // PRIORITY
3709
+ addUnitPriority('hour', 13);
3067
3710
  // PARSING
3068
3711
  /**
3069
3712
  * @param {?} isStrict
@@ -3674,6 +4317,40 @@ function relativeTime(posNegDuration, withoutSuffix, locale) {
3674
4317
  // a[4] = locale;
3675
4318
  return substituteTimeAgo.apply(null, b);
3676
4319
  }
4320
+ // This function allows you to set the rounding function for relative time strings
4321
+ /**
4322
+ * @param {?} roundingFunction
4323
+ * @return {?}
4324
+ */
4325
+ function getSetRelativeTimeRounding(roundingFunction) {
4326
+ if (roundingFunction === undefined) {
4327
+ return round;
4328
+ }
4329
+ if (typeof (roundingFunction) === 'function') {
4330
+ round = roundingFunction;
4331
+ return true;
4332
+ }
4333
+ return false;
4334
+ }
4335
+ // This function allows you to set a threshold for relative time strings
4336
+ /**
4337
+ * @param {?} threshold
4338
+ * @param {?} limit
4339
+ * @return {?}
4340
+ */
4341
+ function getSetRelativeTimeThreshold(threshold, limit) {
4342
+ if (thresholds[threshold] === undefined) {
4343
+ return false;
4344
+ }
4345
+ if (limit === undefined) {
4346
+ return thresholds[threshold];
4347
+ }
4348
+ thresholds[threshold] = limit;
4349
+ if (threshold === 's') {
4350
+ thresholds.ss = limit - 1;
4351
+ }
4352
+ return true;
4353
+ }
3677
4354
 
3678
4355
  /**
3679
4356
  * @fileoverview added by tsickle
@@ -3867,6 +4544,20 @@ var Duration = /** @class */ (function () {
3867
4544
  };
3868
4545
  return Duration;
3869
4546
  }());
4547
+ if (false) {
4548
+ /** @type {?} */
4549
+ Duration.prototype._milliseconds;
4550
+ /** @type {?} */
4551
+ Duration.prototype._days;
4552
+ /** @type {?} */
4553
+ Duration.prototype._months;
4554
+ /** @type {?} */
4555
+ Duration.prototype._data;
4556
+ /** @type {?} */
4557
+ Duration.prototype._locale;
4558
+ /** @type {?} */
4559
+ Duration.prototype._isValid;
4560
+ }
3870
4561
  /**
3871
4562
  * @param {?} obj
3872
4563
  * @return {?}
@@ -4505,7 +5196,7 @@ function checkOverflow(config) {
4505
5196
  // todo: fix this sh*t
4506
5197
  overflow =
4507
5198
  a[MONTH] < 0 || a[MONTH] > 11 ? MONTH :
4508
- a[DATE] < 1 || a[DATE] > daysInMonth(a[YEAR], a[MONTH]) ? DATE :
5199
+ a[DATE] < 1 || a[DATE] > daysInMonth$1(a[YEAR], a[MONTH]) ? DATE :
4509
5200
  a[HOUR] < 0 || a[HOUR] > 24 || (a[HOUR] === 24 && (a[MINUTE] !== 0 || a[SECOND] !== 0 || a[MILLISECOND] !== 0)) ? HOUR :
4510
5201
  a[MINUTE] < 0 || a[MINUTE] > 59 ? MINUTE :
4511
5202
  a[SECOND] < 0 || a[SECOND] > 59 ? SECOND :
@@ -4948,6 +5639,26 @@ function isDisabledDay(date, daysDisabled) {
4948
5639
  */
4949
5640
  function (day) { return day === date.getDay(); }));
4950
5641
  }
5642
+ /**
5643
+ * @param {?} date
5644
+ * @param {?} from
5645
+ * @param {?} to
5646
+ * @param {?} units
5647
+ * @param {?=} inclusivity
5648
+ * @return {?}
5649
+ */
5650
+ function isBetween(date, from, to, units, inclusivity) {
5651
+ if (inclusivity === void 0) { inclusivity = '()'; }
5652
+ /** @type {?} */
5653
+ var leftBound = inclusivity[0] === '('
5654
+ ? isAfter(date, from, units)
5655
+ : !isBefore(date, from, units);
5656
+ /** @type {?} */
5657
+ var rightBound = inclusivity[1] === ')'
5658
+ ? isBefore(date, to, units)
5659
+ : !isAfter(date, to, units);
5660
+ return leftBound && rightBound;
5661
+ }
4951
5662
  /**
4952
5663
  * @param {?} date1
4953
5664
  * @param {?} date2
@@ -4967,6 +5678,32 @@ function isSame(date1, date2, units) {
4967
5678
  return (startOf(date1, units).valueOf() <= inputMs &&
4968
5679
  inputMs <= endOf(date1, units).valueOf());
4969
5680
  }
5681
+ /**
5682
+ * @param {?} date1
5683
+ * @param {?} date2
5684
+ * @return {?}
5685
+ */
5686
+ function isSameDay$1(date1, date2) {
5687
+ return (date1.getDay() == date2.getDay());
5688
+ }
5689
+ /**
5690
+ * @param {?} date1
5691
+ * @param {?} date2
5692
+ * @param {?=} units
5693
+ * @return {?}
5694
+ */
5695
+ function isSameOrAfter(date1, date2, units) {
5696
+ return isSame(date1, date2, units) || isAfter(date1, date2, units);
5697
+ }
5698
+ /**
5699
+ * @param {?} date1
5700
+ * @param {?} date2
5701
+ * @param {?=} units
5702
+ * @return {?}
5703
+ */
5704
+ function isSameOrBefore(date1, date2, units) {
5705
+ return isSame(date1, date2, units) || isBefore(date1, date2, units);
5706
+ }
4970
5707
 
4971
5708
  /**
4972
5709
  * @fileoverview added by tsickle
@@ -5239,6 +5976,10 @@ function initDayOfWeek() {
5239
5976
  addUnitAlias('day', 'd');
5240
5977
  addUnitAlias('weekday', 'e');
5241
5978
  addUnitAlias('isoWeekday', 'E');
5979
+ // PRIORITY
5980
+ addUnitPriority('day', 11);
5981
+ addUnitPriority('weekday', 11);
5982
+ addUnitPriority('isoWeekday', 11);
5242
5983
  // PARSING
5243
5984
  addRegexToken('d', match1to2);
5244
5985
  addRegexToken('e', match1to2);
@@ -5332,6 +6073,19 @@ function parseIsoWeekday(input, locale) {
5332
6073
  }
5333
6074
  return isNumber(input) && isNaN(input) ? null : input;
5334
6075
  }
6076
+ // MOMENTS
6077
+ /**
6078
+ * @param {?} date
6079
+ * @param {?} input
6080
+ * @param {?} opts
6081
+ * @return {?}
6082
+ */
6083
+ function getSetDayOfWeek(date, input, opts) {
6084
+ if (!input) {
6085
+ return getDayOfWeek(date, opts.isUTC);
6086
+ }
6087
+ return setDayOfWeek(date, input, opts.locale, opts.isUTC);
6088
+ }
5335
6089
  /**
5336
6090
  * @param {?} date
5337
6091
  * @param {?} input
@@ -5408,6 +6162,11 @@ function setISODayOfWeek(date, input, opts) {
5408
6162
  return setDayOfWeek(date, getDayOfWeek(date) % 7 ? weekday : weekday - 7);
5409
6163
  }
5410
6164
 
6165
+ /**
6166
+ * @fileoverview added by tsickle
6167
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
6168
+ */
6169
+
5411
6170
  /**
5412
6171
  * @fileoverview added by tsickle
5413
6172
  * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
@@ -5452,6 +6211,7 @@ var pluralForm = (/**
5452
6211
  function (num) {
5453
6212
  return num === 0 ? 0 : num === 1 ? 1 : num === 2 ? 2 : num % 100 >= 3 && num % 100 <= 10 ? 3 : num % 100 >= 11 ? 4 : 5;
5454
6213
  });
6214
+ var ɵ0$1 = pluralForm;
5455
6215
  /** @type {?} */
5456
6216
  var plurals = {
5457
6217
  s: ['أقل من ثانية', 'ثانية واحدة', ['ثانيتان', 'ثانيتين'], '%d ثوان', '%d ثانية', '%d ثانية'],
@@ -5483,6 +6243,7 @@ function (u) {
5483
6243
  return ((/** @type {?} */ (str))).replace(/%d/i, num.toString());
5484
6244
  });
5485
6245
  });
6246
+ var ɵ1 = pluralize;
5486
6247
  /** @type {?} */
5487
6248
  var months = [
5488
6249
  'يناير',
@@ -5609,7 +6370,7 @@ var arLocale = {
5609
6370
  //! author : Matt Grande : https://github.com/mattgrande
5610
6371
  //! author : Isaac Cambron : https://github.com/icambron
5611
6372
  //! author : Venelin Manchev : https://github.com/vmanchev
5612
- var ɵ0$1 = /**
6373
+ var ɵ0$2 = /**
5613
6374
  * @param {?} d
5614
6375
  * @return {?}
5615
6376
  */
@@ -5647,7 +6408,7 @@ var bgLocale = {
5647
6408
  nextDay: '[Утре в] LT',
5648
6409
  nextWeek: 'dddd [в] LT',
5649
6410
  lastDay: '[Вчера в] LT',
5650
- lastWeek: (ɵ0$1),
6411
+ lastWeek: (ɵ0$2),
5651
6412
  sameElse: 'L'
5652
6413
  },
5653
6414
  relativeTime: {
@@ -5927,7 +6688,7 @@ function translate(num, withoutSuffix, key, isFuture) {
5927
6688
  // break;
5928
6689
  }
5929
6690
  }
5930
- var ɵ0$2 = /**
6691
+ var ɵ0$3 = /**
5931
6692
  * @param {?} months
5932
6693
  * @param {?} monthsShort
5933
6694
  * @return {?}
@@ -5942,7 +6703,7 @@ function (months, monthsShort) {
5942
6703
  _monthsParse[i] = new RegExp('^' + months[i] + '$|^' + monthsShort[i] + '$', 'i');
5943
6704
  }
5944
6705
  return _monthsParse;
5945
- }, ɵ1 = /**
6706
+ }, ɵ1$1 = /**
5946
6707
  * @param {?} monthsShort
5947
6708
  * @return {?}
5948
6709
  */
@@ -5974,8 +6735,8 @@ var csLocale = {
5974
6735
  abbr: 'cs',
5975
6736
  months: months$1,
5976
6737
  monthsShort: monthsShort$1,
5977
- monthsParse: ((ɵ0$2)(months$1, monthsShort$1)),
5978
- shortMonthsParse: ((ɵ1)(monthsShort$1)),
6738
+ monthsParse: ((ɵ0$3)(months$1, monthsShort$1)),
6739
+ shortMonthsParse: ((ɵ1$1)(monthsShort$1)),
5979
6740
  longMonthsParse: ((ɵ2)(months$1)),
5980
6741
  weekdays: 'neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota'.split('_'),
5981
6742
  weekdaysShort: 'ne_po_út_st_čt_pá_so'.split('_'),
@@ -6658,6 +7419,7 @@ function (num, withoutSuffix, key, isFuture) {
6658
7419
  }
6659
7420
  return isFuture ? format[key][0] : format[key][1];
6660
7421
  });
7422
+ var ɵ0$4 = processRelativeTime$1;
6661
7423
  /** @type {?} */
6662
7424
  var etLocale = {
6663
7425
  abbr: 'et',
@@ -7803,6 +8565,203 @@ var jaLocale = {
7803
8565
  }
7804
8566
  };
7805
8567
 
8568
+ /**
8569
+ * @fileoverview added by tsickle
8570
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
8571
+ */
8572
+ // tslint:disable:comment-format binary-expression-operand-order max-line-length
8573
+ // tslint:disable:no-bitwise prefer-template cyclomatic-complexity
8574
+ // tslint:disable:no-shadowed-variable switch-default prefer-const
8575
+ // tslint:disable:one-variable-per-declaration newline-before-return
8576
+ //! moment.js locale configuration
8577
+ //! locale : Georgian [ka]
8578
+ //! author : Irakli Janiashvili : https://github.com/irakli-janiashvili
8579
+ //! author : Levan Tskipuri : https://github.com/tskipa
8580
+ /** @type {?} */
8581
+ var kaLocale = {
8582
+ abbr: 'ka',
8583
+ months: {
8584
+ format: 'იანვარს_თებერვალს_მარტს_აპრილის_მაისს_ივნისს_ივლისს_აგვისტს_სექტემბერს_ოქტომბერს_ნოემბერს_დეკემბერს'.split('_'),
8585
+ standalone: 'იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი'.split('_')
8586
+ },
8587
+ monthsShort: 'იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ'.split('_'),
8588
+ weekdays: {
8589
+ standalone: 'კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი'.split('_'),
8590
+ format: 'კვირას_ორშაბათს_სამშაბათს_ოთხშაბათს_ხუთშაბათს_პარასკევს_შაბათს'.split('_'),
8591
+ isFormat: /(წინა|შემდეგ)/
8592
+ },
8593
+ weekdaysShort: 'კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ'.split('_'),
8594
+ weekdaysMin: 'კვ_ორ_სა_ოთ_ხუ_პა_შა'.split('_'),
8595
+ longDateFormat: {
8596
+ LT: 'h:mm A',
8597
+ LTS: 'h:mm:ss A',
8598
+ L: 'DD/MM/YYYY',
8599
+ LL: 'D MMMM YYYY',
8600
+ LLL: 'D MMMM YYYY h:mm A',
8601
+ LLLL: 'dddd, D MMMM YYYY h:mm A'
8602
+ },
8603
+ calendar: {
8604
+ sameDay: '[დღეს] LT[-ზე]',
8605
+ nextDay: '[ხვალ] LT[-ზე]',
8606
+ lastDay: '[გუშინ] LT[-ზე]',
8607
+ nextWeek: '[შემდეგ] dddd LT[-ზე]',
8608
+ lastWeek: '[წინა] dddd LT-ზე',
8609
+ sameElse: 'L'
8610
+ },
8611
+ relativeTime: {
8612
+ future: /**
8613
+ * @param {?} s
8614
+ * @return {?}
8615
+ */
8616
+ function (s) {
8617
+ /** @type {?} */
8618
+ var st = s.toString();
8619
+ return (/(წამი|წუთი|საათი|წელი)/).test(st) ?
8620
+ st.replace(/ი$/, 'ში') :
8621
+ st + 'ში';
8622
+ },
8623
+ past: /**
8624
+ * @param {?} s
8625
+ * @return {?}
8626
+ */
8627
+ function (s) {
8628
+ /** @type {?} */
8629
+ var st = s.toString();
8630
+ if ((/(წამი|წუთი|საათი|დღე|თვე)/).test(st)) {
8631
+ return st.replace(/(ი|ე)$/, 'ის წინ');
8632
+ }
8633
+ if ((/წელი/).test(st)) {
8634
+ return st.replace(/წელი$/, 'წლის წინ');
8635
+ }
8636
+ },
8637
+ s: 'რამდენიმე წამი',
8638
+ ss: '%d წამი',
8639
+ m: 'წუთი',
8640
+ mm: '%d წუთი',
8641
+ h: 'საათი',
8642
+ hh: '%d საათი',
8643
+ d: 'დღე',
8644
+ dd: '%d დღე',
8645
+ M: 'თვე',
8646
+ MM: '%d თვე',
8647
+ y: 'წელი',
8648
+ yy: '%d წელი'
8649
+ },
8650
+ dayOfMonthOrdinalParse: /0|1-ლი|მე-\d{1,2}|\d{1,2}-ე/,
8651
+ ordinal: /**
8652
+ * @param {?} _num
8653
+ * @param {?} _period
8654
+ * @return {?}
8655
+ */
8656
+ function (_num, _period) {
8657
+ /** @type {?} */
8658
+ var num = Number(_num);
8659
+ if (num === 0) {
8660
+ return num.toString();
8661
+ }
8662
+ if (num === 1) {
8663
+ return num + '-ლი';
8664
+ }
8665
+ if ((num < 20) || (num <= 100 && (num % 20 === 0)) || (num % 100 === 0)) {
8666
+ return 'მე-' + num;
8667
+ }
8668
+ return num + '-ე';
8669
+ },
8670
+ week: {
8671
+ dow: 1,
8672
+ doy: 4
8673
+ }
8674
+ };
8675
+
8676
+ /**
8677
+ * @fileoverview added by tsickle
8678
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
8679
+ */
8680
+ // ! moment.js locale configuration
8681
+ // ! locale : Kazakh [kk]
8682
+ // ! authors : Nurlan Rakhimzhanov : https://github.com/nurlan
8683
+ /** @type {?} */
8684
+ var suffixes = {
8685
+ 0: '-ші',
8686
+ 1: '-ші',
8687
+ 2: '-ші',
8688
+ 3: '-ші',
8689
+ 4: '-ші',
8690
+ 5: '-ші',
8691
+ 6: '-шы',
8692
+ 7: '-ші',
8693
+ 8: '-ші',
8694
+ 9: '-шы',
8695
+ 10: '-шы',
8696
+ 20: '-шы',
8697
+ 30: '-шы',
8698
+ 40: '-шы',
8699
+ 50: '-ші',
8700
+ 60: '-шы',
8701
+ 70: '-ші',
8702
+ 80: '-ші',
8703
+ 90: '-шы',
8704
+ 100: '-ші'
8705
+ };
8706
+ /** @type {?} */
8707
+ var kkLocale = {
8708
+ abbr: 'kk',
8709
+ months: 'қаңтар_ақпан_наурыз_сәуір_мамыр_маусым_шілде_тамыз_қыркүйек_қазан_қараша_желтоқсан'.split('_'),
8710
+ monthsShort: 'қаң_ақп_нау_сәу_мам_мау_шіл_там_қыр_қаз_қар_жел'.split('_'),
8711
+ weekdays: 'жексенбі_дүйсенбі_сейсенбі_сәрсенбі_бейсенбі_жұма_сенбі'.split('_'),
8712
+ weekdaysShort: 'жек_дүй_сей_сәр_бей_жұм_сен'.split('_'),
8713
+ weekdaysMin: 'жк_дй_сй_ср_бй_жм_сн'.split('_'),
8714
+ longDateFormat: {
8715
+ LT: 'HH:mm',
8716
+ LTS: 'HH:mm:ss',
8717
+ L: 'DD.MM.YYYY',
8718
+ LL: 'D MMMM YYYY',
8719
+ LLL: 'D MMMM YYYY HH:mm',
8720
+ LLLL: 'dddd, D MMMM YYYY HH:mm'
8721
+ },
8722
+ calendar: {
8723
+ sameDay: '[Бүгін сағат] LT',
8724
+ nextDay: '[Ертең сағат] LT',
8725
+ nextWeek: 'dddd [сағат] LT',
8726
+ lastDay: '[Кеше сағат] LT',
8727
+ lastWeek: '[Өткен аптаның] dddd [сағат] LT',
8728
+ sameElse: 'L'
8729
+ },
8730
+ relativeTime: {
8731
+ future: '%s ішінде',
8732
+ past: '%s бұрын',
8733
+ s: 'бірнеше секунд',
8734
+ ss: '%d секунд',
8735
+ m: 'бір минут',
8736
+ mm: '%d минут',
8737
+ h: 'бір сағат',
8738
+ hh: '%d сағат',
8739
+ d: 'бір күн',
8740
+ dd: '%d күн',
8741
+ M: 'бір ай',
8742
+ MM: '%d ай',
8743
+ y: 'бір жыл',
8744
+ yy: '%d жыл'
8745
+ },
8746
+ dayOfMonthOrdinalParse: /\d{1,2}-(ші|шы)/,
8747
+ ordinal: /**
8748
+ * @param {?} _num
8749
+ * @return {?}
8750
+ */
8751
+ function (_num) {
8752
+ /** @type {?} */
8753
+ var a = _num % 10;
8754
+ /** @type {?} */
8755
+ var b = _num >= 100 ? 100 : null;
8756
+ return _num + (suffixes[_num] || suffixes[a] || suffixes[b]);
8757
+ },
8758
+ week: {
8759
+ dow: 1,
8760
+ // Monday is the first day of the week.
8761
+ doy: 7 // The week that contains Jan 7th is the first week of the year.
8762
+ }
8763
+ };
8764
+
7806
8765
  /**
7807
8766
  * @fileoverview added by tsickle
7808
8767
  * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
@@ -9396,6 +10355,68 @@ var slLocale = {
9396
10355
  }
9397
10356
  };
9398
10357
 
10358
+ /**
10359
+ * @fileoverview added by tsickle
10360
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
10361
+ */
10362
+ // tslint:disable:comment-format binary-expression-operand-order max-line-length
10363
+ // tslint:disable:no-bitwise prefer-template cyclomatic-complexity
10364
+ // tslint:disable:no-shadowed-variable switch-default prefer-const
10365
+ // tslint:disable:one-variable-per-declaration newline-before-return
10366
+ //! moment.js locale configuration
10367
+ //! locale : Albanian [sq]
10368
+ //! author : Agon Cecelia : https://github.com/agoncecelia
10369
+ /** @type {?} */
10370
+ var sqLocale = {
10371
+ abbr: 'sq',
10372
+ months: 'Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor'.split('_'),
10373
+ monthsShort: 'Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj'.split('_'),
10374
+ weekdays: 'E Dielë_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë'.split('_'),
10375
+ weekdaysShort: 'Die_Hën_Mar_Mër_Enj_Pre_Sht'.split('_'),
10376
+ weekdaysMin: 'Di_He_Ma_Me_En_Pr_Sh'.split('_'),
10377
+ longDateFormat: {
10378
+ LT: 'HH:mm',
10379
+ LTS: 'HH:mm:ss',
10380
+ L: 'DD/MM/YYYY',
10381
+ LL: 'D MMMM YYYY',
10382
+ LLL: 'D MMMM YYYY HH:mm',
10383
+ LLLL: 'dddd, D MMMM YYYY HH:mm'
10384
+ },
10385
+ calendar: {
10386
+ sameDay: '[Sot në] LT',
10387
+ nextDay: '[Nesër në] LT',
10388
+ nextWeek: 'dddd [në] LT',
10389
+ lastDay: '[Dje në] LT',
10390
+ lastWeek: 'dddd [e kaluar në] LT',
10391
+ sameElse: 'L'
10392
+ },
10393
+ relativeTime: {
10394
+ future: 'në %s',
10395
+ past: 'para %sve',
10396
+ s: 'disa sekonda',
10397
+ ss: '%d sekonda',
10398
+ m: 'një minut',
10399
+ mm: '%d minuta',
10400
+ h: 'një orë',
10401
+ hh: '%d orë',
10402
+ d: 'një ditë',
10403
+ dd: '%d ditë',
10404
+ M: 'një muaj',
10405
+ MM: '%d muaj',
10406
+ y: 'një vit',
10407
+ yy: '%d vite'
10408
+ },
10409
+ dayOfMonthOrdinalParse: /\d{1,2}\./,
10410
+ // need clarification
10411
+ ordinal: '%d.',
10412
+ // need clarification
10413
+ week: {
10414
+ dow: 1,
10415
+ // Monday is the first day of the week.
10416
+ doy: 4 // The week that contains Jan 4th is the first week of the year.
10417
+ }
10418
+ };
10419
+
9399
10420
  /**
9400
10421
  * @fileoverview added by tsickle
9401
10422
  * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
@@ -9551,6 +10572,92 @@ var thLocale = {
9551
10572
  }
9552
10573
  };
9553
10574
 
10575
+ /**
10576
+ * @fileoverview added by tsickle
10577
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
10578
+ */
10579
+ // tslint:disable:comment-format binary-expression-operand-order max-line-length
10580
+ // tslint:disable:no-bitwise prefer-template cyclomatic-complexity
10581
+ // tslint:disable:no-shadowed-variable switch-default prefer-const
10582
+ // tslint:disable:one-variable-per-declaration newline-before-return
10583
+ // moment.js locale configuration
10584
+ // locale : Thai-Buddhist Era [th-be]
10585
+ // author : Watcharapol Sanitwong : https://github.com/tumit
10586
+ /** @type {?} */
10587
+ var thBeLocale = {
10588
+ abbr: 'th-be',
10589
+ months: 'มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม'.split('_'),
10590
+ monthsShort: 'ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.'.split('_'),
10591
+ monthsParseExact: true,
10592
+ weekdays: 'อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์'.split('_'),
10593
+ weekdaysShort: 'อา._จ._อ._พ._พฤ._ศ._ส.'.split('_'),
10594
+ weekdaysMin: 'อา._จ._อ._พ._พฤ._ศ._ส.'.split('_'),
10595
+ weekdaysParseExact: true,
10596
+ longDateFormat: {
10597
+ LT: 'H:mm',
10598
+ LTS: 'H:mm:ss',
10599
+ L: 'DD/MM/YYYY',
10600
+ LL: 'D MMMM YYYY',
10601
+ LLL: 'D MMMM YYYY เวลา H:mm',
10602
+ LLLL: 'วันddddที่ D MMMM YYYY เวลา H:mm'
10603
+ },
10604
+ meridiemParse: /ก่อนเที่ยง|หลังเที่ยง/,
10605
+ isPM: /**
10606
+ * @param {?} input
10607
+ * @return {?}
10608
+ */
10609
+ function (input) {
10610
+ return input === 'หลังเที่ยง';
10611
+ },
10612
+ meridiem: /**
10613
+ * @param {?} hour
10614
+ * @param {?} minute
10615
+ * @param {?} isLower
10616
+ * @return {?}
10617
+ */
10618
+ function (hour, minute, isLower) {
10619
+ if (hour < 12) {
10620
+ return 'ก่อนเที่ยง';
10621
+ }
10622
+ else {
10623
+ return 'หลังเที่ยง';
10624
+ }
10625
+ },
10626
+ calendar: {
10627
+ sameDay: '[วันนี้ เวลา] LT',
10628
+ nextDay: '[พรุ่งนี้ เวลา] LT',
10629
+ nextWeek: 'dddd[หน้า เวลา] LT',
10630
+ lastDay: '[เมื่อวานนี้ เวลา] LT',
10631
+ lastWeek: '[วัน]dddd[ที่แล้ว เวลา] LT',
10632
+ sameElse: 'L'
10633
+ },
10634
+ relativeTime: {
10635
+ future: 'อีก %s',
10636
+ past: '%sที่แล้ว',
10637
+ s: 'ไม่กี่วินาที',
10638
+ ss: '%d วินาที',
10639
+ m: '1 นาที',
10640
+ mm: '%d นาที',
10641
+ h: '1 ชั่วโมง',
10642
+ hh: '%d ชั่วโมง',
10643
+ d: '1 วัน',
10644
+ dd: '%d วัน',
10645
+ M: '1 เดือน',
10646
+ MM: '%d เดือน',
10647
+ y: '1 ปี',
10648
+ yy: '%d ปี'
10649
+ },
10650
+ getFullYear: /**
10651
+ * @param {?} date
10652
+ * @param {?=} isUTC
10653
+ * @return {?}
10654
+ */
10655
+ function (date, isUTC) {
10656
+ if (isUTC === void 0) { isUTC = false; }
10657
+ return 543 + (isUTC ? date.getUTCFullYear() : date.getFullYear());
10658
+ }
10659
+ };
10660
+
9554
10661
  /**
9555
10662
  * @fileoverview added by tsickle
9556
10663
  * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
@@ -9564,7 +10671,7 @@ var thLocale = {
9564
10671
  //! authors : Erhan Gundogan : https://github.com/erhangundogan,
9565
10672
  //! Burak Yiğit Kaya: https://github.com/BYK
9566
10673
  /** @type {?} */
9567
- var suffixes = {
10674
+ var suffixes$1 = {
9568
10675
  1: '\'inci',
9569
10676
  5: '\'inci',
9570
10677
  8: '\'inci',
@@ -9641,7 +10748,7 @@ var trLocale = {
9641
10748
  var b = num % 100 - a;
9642
10749
  /** @type {?} */
9643
10750
  var c = num >= 100 ? 100 : null;
9644
- return num + (suffixes[a] || suffixes[b] || suffixes[c]);
10751
+ return num + (suffixes$1[a] || suffixes$1[b] || suffixes$1[c]);
9645
10752
  },
9646
10753
  week: {
9647
10754
  dow: 1,
@@ -10078,5 +11185,15 @@ var zhCnLocale = {
10078
11185
  }
10079
11186
  };
10080
11187
 
10081
- 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 };
11188
+ /**
11189
+ * @fileoverview added by tsickle
11190
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
11191
+ */
11192
+
11193
+ /**
11194
+ * @fileoverview added by tsickle
11195
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
11196
+ */
11197
+
11198
+ 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 };
10082
11199
  //# sourceMappingURL=ngx-bootstrap-chronos.js.map