@taiga-ui/kit 2.45.0 → 2.46.0

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 (332) hide show
  1. package/abstract/input-slider.d.ts +1 -1
  2. package/abstract/slider/slider.d.ts +1 -1
  3. package/bundles/taiga-ui-kit-abstract.umd.js +2 -2
  4. package/bundles/taiga-ui-kit-abstract.umd.js.map +1 -1
  5. package/bundles/taiga-ui-kit-abstract.umd.min.js.map +1 -1
  6. package/bundles/taiga-ui-kit-components-action.umd.js +1 -1
  7. package/bundles/taiga-ui-kit-components-action.umd.js.map +1 -1
  8. package/bundles/taiga-ui-kit-components-action.umd.min.js.map +1 -1
  9. package/bundles/taiga-ui-kit-components-arrow.umd.js +1 -1
  10. package/bundles/taiga-ui-kit-components-arrow.umd.js.map +1 -1
  11. package/bundles/taiga-ui-kit-components-arrow.umd.min.js.map +1 -1
  12. package/bundles/taiga-ui-kit-components-avatar.umd.js +1 -1
  13. package/bundles/taiga-ui-kit-components-avatar.umd.min.js +1 -1
  14. package/bundles/taiga-ui-kit-components-avatar.umd.min.js.map +1 -1
  15. package/bundles/taiga-ui-kit-components-calendar-month.umd.js +8 -5
  16. package/bundles/taiga-ui-kit-components-calendar-month.umd.js.map +1 -1
  17. package/bundles/taiga-ui-kit-components-calendar-month.umd.min.js +2 -2
  18. package/bundles/taiga-ui-kit-components-calendar-month.umd.min.js.map +1 -1
  19. package/bundles/taiga-ui-kit-components-calendar-range.umd.js +1 -1
  20. package/bundles/taiga-ui-kit-components-calendar-range.umd.js.map +1 -1
  21. package/bundles/taiga-ui-kit-components-calendar-range.umd.min.js.map +1 -1
  22. package/bundles/taiga-ui-kit-components-carousel.umd.js +1 -1
  23. package/bundles/taiga-ui-kit-components-carousel.umd.js.map +1 -1
  24. package/bundles/taiga-ui-kit-components-carousel.umd.min.js.map +1 -1
  25. package/bundles/taiga-ui-kit-components-checkbox.umd.js +1 -1
  26. package/bundles/taiga-ui-kit-components-checkbox.umd.min.js +1 -1
  27. package/bundles/taiga-ui-kit-components-combo-box.umd.js +1 -1
  28. package/bundles/taiga-ui-kit-components-combo-box.umd.js.map +1 -1
  29. package/bundles/taiga-ui-kit-components-combo-box.umd.min.js.map +1 -1
  30. package/bundles/taiga-ui-kit-components-input-count.umd.js +2 -2
  31. package/bundles/taiga-ui-kit-components-input-count.umd.js.map +1 -1
  32. package/bundles/taiga-ui-kit-components-input-count.umd.min.js.map +1 -1
  33. package/bundles/taiga-ui-kit-components-input-date-range.umd.js +1 -1
  34. package/bundles/taiga-ui-kit-components-input-date-range.umd.js.map +1 -1
  35. package/bundles/taiga-ui-kit-components-input-date-range.umd.min.js.map +1 -1
  36. package/bundles/taiga-ui-kit-components-input-date-time.umd.js +1 -1
  37. package/bundles/taiga-ui-kit-components-input-date-time.umd.js.map +1 -1
  38. package/bundles/taiga-ui-kit-components-input-date-time.umd.min.js.map +1 -1
  39. package/bundles/taiga-ui-kit-components-input-date.umd.js +1 -1
  40. package/bundles/taiga-ui-kit-components-input-date.umd.js.map +1 -1
  41. package/bundles/taiga-ui-kit-components-input-date.umd.min.js.map +1 -1
  42. package/bundles/taiga-ui-kit-components-input-file.umd.js +1 -1
  43. package/bundles/taiga-ui-kit-components-input-file.umd.js.map +1 -1
  44. package/bundles/taiga-ui-kit-components-input-file.umd.min.js.map +1 -1
  45. package/bundles/taiga-ui-kit-components-input-month.umd.js +5 -1
  46. package/bundles/taiga-ui-kit-components-input-month.umd.js.map +1 -1
  47. package/bundles/taiga-ui-kit-components-input-month.umd.min.js +1 -1
  48. package/bundles/taiga-ui-kit-components-input-month.umd.min.js.map +1 -1
  49. package/bundles/taiga-ui-kit-components-input-password.umd.js +1 -1
  50. package/bundles/taiga-ui-kit-components-input-password.umd.js.map +1 -1
  51. package/bundles/taiga-ui-kit-components-input-password.umd.min.js.map +1 -1
  52. package/bundles/taiga-ui-kit-components-input-range.umd.js +2 -2
  53. package/bundles/taiga-ui-kit-components-input-range.umd.js.map +1 -1
  54. package/bundles/taiga-ui-kit-components-input-range.umd.min.js +1 -1
  55. package/bundles/taiga-ui-kit-components-input-range.umd.min.js.map +1 -1
  56. package/bundles/taiga-ui-kit-components-input-tag.umd.js +2 -2
  57. package/bundles/taiga-ui-kit-components-input-tag.umd.js.map +1 -1
  58. package/bundles/taiga-ui-kit-components-input-tag.umd.min.js +1 -1
  59. package/bundles/taiga-ui-kit-components-input-tag.umd.min.js.map +1 -1
  60. package/bundles/taiga-ui-kit-components-input-time.umd.js +1 -1
  61. package/bundles/taiga-ui-kit-components-input-time.umd.js.map +1 -1
  62. package/bundles/taiga-ui-kit-components-input-time.umd.min.js.map +1 -1
  63. package/bundles/taiga-ui-kit-components-multi-select.umd.js +1 -1
  64. package/bundles/taiga-ui-kit-components-multi-select.umd.js.map +1 -1
  65. package/bundles/taiga-ui-kit-components-multi-select.umd.min.js.map +1 -1
  66. package/bundles/taiga-ui-kit-components-progress.umd.js +4 -4
  67. package/bundles/taiga-ui-kit-components-progress.umd.js.map +1 -1
  68. package/bundles/taiga-ui-kit-components-progress.umd.min.js.map +1 -1
  69. package/bundles/taiga-ui-kit-components-radio.umd.js +1 -1
  70. package/bundles/taiga-ui-kit-components-radio.umd.min.js +1 -1
  71. package/bundles/taiga-ui-kit-components-select-option.umd.js +13 -3
  72. package/bundles/taiga-ui-kit-components-select-option.umd.js.map +1 -1
  73. package/bundles/taiga-ui-kit-components-select-option.umd.min.js +1 -1
  74. package/bundles/taiga-ui-kit-components-select-option.umd.min.js.map +1 -1
  75. package/bundles/taiga-ui-kit-components-select.umd.js +1 -1
  76. package/bundles/taiga-ui-kit-components-select.umd.js.map +1 -1
  77. package/bundles/taiga-ui-kit-components-select.umd.min.js.map +1 -1
  78. package/bundles/taiga-ui-kit-components-slider.umd.js +1 -1
  79. package/bundles/taiga-ui-kit-components-slider.umd.js.map +1 -1
  80. package/bundles/taiga-ui-kit-components-slider.umd.min.js.map +1 -1
  81. package/bundles/taiga-ui-kit-components-tabs.umd.js +2 -2
  82. package/bundles/taiga-ui-kit-components-tabs.umd.js.map +1 -1
  83. package/bundles/taiga-ui-kit-components-tabs.umd.min.js.map +1 -1
  84. package/bundles/taiga-ui-kit-components-tag.umd.js +4 -4
  85. package/bundles/taiga-ui-kit-components-tag.umd.js.map +1 -1
  86. package/bundles/taiga-ui-kit-components-tag.umd.min.js +1 -1
  87. package/bundles/taiga-ui-kit-components-tag.umd.min.js.map +1 -1
  88. package/bundles/taiga-ui-kit-components-text-area.umd.js +1 -1
  89. package/bundles/taiga-ui-kit-components-text-area.umd.min.js +1 -1
  90. package/bundles/taiga-ui-kit-components-toggle.umd.js +1 -1
  91. package/bundles/taiga-ui-kit-components-toggle.umd.min.js +1 -1
  92. package/bundles/taiga-ui-kit-constants.umd.js +0 -2
  93. package/bundles/taiga-ui-kit-constants.umd.js.map +1 -1
  94. package/bundles/taiga-ui-kit-constants.umd.min.js.map +1 -1
  95. package/bundles/taiga-ui-kit-providers.umd.js +1 -1
  96. package/bundles/taiga-ui-kit-providers.umd.js.map +1 -1
  97. package/bundles/taiga-ui-kit-providers.umd.min.js.map +1 -1
  98. package/bundles/taiga-ui-kit-tokens.umd.js +1 -1
  99. package/bundles/taiga-ui-kit-tokens.umd.js.map +1 -1
  100. package/bundles/taiga-ui-kit-tokens.umd.min.js.map +1 -1
  101. package/bundles/taiga-ui-kit-utils-miscellaneous.umd.js +1 -1
  102. package/bundles/taiga-ui-kit-utils-miscellaneous.umd.js.map +1 -1
  103. package/bundles/taiga-ui-kit-utils-miscellaneous.umd.min.js.map +1 -1
  104. package/components/avatar/taiga-ui-kit-components-avatar.metadata.json +1 -1
  105. package/components/calendar-month/calendar-month.component.d.ts +1 -0
  106. package/components/calendar-month/taiga-ui-kit-components-calendar-month.metadata.json +1 -1
  107. package/components/calendar-range/calendar-range.component.d.ts +1 -1
  108. package/components/checkbox/taiga-ui-kit-components-checkbox.metadata.json +1 -1
  109. package/components/input-month/input-month.component.d.ts +2 -1
  110. package/components/input-month/taiga-ui-kit-components-input-month.metadata.json +1 -1
  111. package/components/input-phone-international/interfaces/country.d.ts +0 -1
  112. package/components/input-range/taiga-ui-kit-components-input-range.metadata.json +1 -1
  113. package/components/input-tag/taiga-ui-kit-components-input-tag.metadata.json +1 -1
  114. package/components/radio/taiga-ui-kit-components-radio.metadata.json +1 -1
  115. package/components/select-option/taiga-ui-kit-components-select-option.metadata.json +1 -1
  116. package/components/slider/slider-old.component.d.ts +1 -1
  117. package/components/tag/taiga-ui-kit-components-tag.metadata.json +1 -1
  118. package/components/text-area/taiga-ui-kit-components-text-area.metadata.json +1 -1
  119. package/components/toggle/taiga-ui-kit-components-toggle.metadata.json +1 -1
  120. package/constants/masks.d.ts +0 -2
  121. package/constants/taiga-ui-kit-constants.metadata.json +1 -1
  122. package/esm2015/abstract/input-slider.js +2 -2
  123. package/esm2015/abstract/slider/slider.js +2 -2
  124. package/esm2015/components/action/action.component.js +2 -2
  125. package/esm2015/components/arrow/arrow-options.js +2 -2
  126. package/esm2015/components/avatar/avatar.component.js +1 -1
  127. package/esm2015/components/calendar-month/calendar-month.component.js +9 -6
  128. package/esm2015/components/calendar-range/calendar-range.component.js +2 -2
  129. package/esm2015/components/carousel/carousel-buttons.directive.js +2 -2
  130. package/esm2015/components/checkbox/checkbox.component.js +1 -1
  131. package/esm2015/components/combo-box/combo-box.providers.js +2 -2
  132. package/esm2015/components/input-count/input-count-options.js +2 -2
  133. package/esm2015/components/input-count/input-count.component.js +2 -2
  134. package/esm2015/components/input-date/input-date.providers.js +2 -2
  135. package/esm2015/components/input-date-range/input-date-range.providers.js +2 -2
  136. package/esm2015/components/input-date-time/input-date-time.providers.js +2 -2
  137. package/esm2015/components/input-file/input-file.component.js +2 -2
  138. package/esm2015/components/input-month/input-month.component.js +7 -3
  139. package/esm2015/components/input-password/input-password-options.js +2 -2
  140. package/esm2015/components/input-phone-international/interfaces/country.js +1 -1
  141. package/esm2015/components/input-range/input-range.component.js +3 -3
  142. package/esm2015/components/input-tag/input-tag.component.js +3 -3
  143. package/esm2015/components/input-time/input-time-options.js +2 -2
  144. package/esm2015/components/multi-select/hide-selected.pipe.js +1 -1
  145. package/esm2015/components/multi-select/multi-select-group/multi-select-group.directive.js +2 -2
  146. package/esm2015/components/progress/utils/abstract-color-segments.js +2 -2
  147. package/esm2015/components/progress/utils/calculate-color-segments.js +2 -2
  148. package/esm2015/components/progress/utils/progress-color-segments-async.pipe.js +2 -2
  149. package/esm2015/components/progress/utils/progress-color-segments.pipe.js +2 -2
  150. package/esm2015/components/radio/radio.component.js +1 -1
  151. package/esm2015/components/select/select.providers.js +2 -2
  152. package/esm2015/components/select-option/select-option.component.js +13 -4
  153. package/esm2015/components/slider/slider-old.component.js +2 -2
  154. package/esm2015/components/tabs/tabs/tabs.component.js +2 -2
  155. package/esm2015/components/tabs/tabs-with-more/tabs-with-more.providers.js +2 -2
  156. package/esm2015/components/tag/tag.component.js +5 -5
  157. package/esm2015/components/text-area/text-area.component.js +1 -1
  158. package/esm2015/components/toggle/toggle.component.js +1 -1
  159. package/esm2015/constants/masks.js +1 -3
  160. package/esm2015/interfaces/bread-crumbs-item.js +1 -1
  161. package/esm2015/interfaces/with-date-mask-pipe-config.js +1 -1
  162. package/esm2015/providers/value-accessor.provider.js +2 -2
  163. package/esm2015/tokens/tag-status.js +2 -2
  164. package/esm2015/utils/miscellaneous/replay-control-value-changes-factory.js +2 -2
  165. package/esm5/abstract/input-slider.js +2 -2
  166. package/esm5/abstract/slider/slider.js +2 -2
  167. package/esm5/components/action/action.component.js +2 -2
  168. package/esm5/components/arrow/arrow-options.js +2 -2
  169. package/esm5/components/avatar/avatar.component.js +1 -1
  170. package/esm5/components/calendar-month/calendar-month.component.js +9 -6
  171. package/esm5/components/calendar-range/calendar-range.component.js +2 -2
  172. package/esm5/components/carousel/carousel-buttons.directive.js +2 -2
  173. package/esm5/components/checkbox/checkbox.component.js +1 -1
  174. package/esm5/components/combo-box/combo-box.providers.js +2 -2
  175. package/esm5/components/input-count/input-count-options.js +2 -2
  176. package/esm5/components/input-count/input-count.component.js +2 -2
  177. package/esm5/components/input-date/input-date.providers.js +2 -2
  178. package/esm5/components/input-date-range/input-date-range.providers.js +2 -2
  179. package/esm5/components/input-date-time/input-date-time.providers.js +2 -2
  180. package/esm5/components/input-file/input-file.component.js +2 -2
  181. package/esm5/components/input-month/input-month.component.js +7 -3
  182. package/esm5/components/input-password/input-password-options.js +2 -2
  183. package/esm5/components/input-phone-international/interfaces/country.js +1 -1
  184. package/esm5/components/input-range/input-range.component.js +3 -3
  185. package/esm5/components/input-tag/input-tag.component.js +3 -3
  186. package/esm5/components/input-time/input-time-options.js +2 -2
  187. package/esm5/components/multi-select/hide-selected.pipe.js +1 -1
  188. package/esm5/components/multi-select/multi-select-group/multi-select-group.directive.js +2 -2
  189. package/esm5/components/progress/utils/abstract-color-segments.js +2 -2
  190. package/esm5/components/progress/utils/calculate-color-segments.js +2 -2
  191. package/esm5/components/progress/utils/progress-color-segments-async.pipe.js +2 -2
  192. package/esm5/components/progress/utils/progress-color-segments.pipe.js +2 -2
  193. package/esm5/components/radio/radio.component.js +1 -1
  194. package/esm5/components/select/select.providers.js +2 -2
  195. package/esm5/components/select-option/select-option.component.js +14 -4
  196. package/esm5/components/slider/slider-old.component.js +2 -2
  197. package/esm5/components/tabs/tabs/tabs.component.js +2 -2
  198. package/esm5/components/tabs/tabs-with-more/tabs-with-more.providers.js +2 -2
  199. package/esm5/components/tag/tag.component.js +5 -5
  200. package/esm5/components/text-area/text-area.component.js +1 -1
  201. package/esm5/components/toggle/toggle.component.js +1 -1
  202. package/esm5/constants/masks.js +1 -3
  203. package/esm5/interfaces/bread-crumbs-item.js +1 -1
  204. package/esm5/interfaces/with-date-mask-pipe-config.js +1 -1
  205. package/esm5/providers/value-accessor.provider.js +2 -2
  206. package/esm5/tokens/tag-status.js +2 -2
  207. package/esm5/utils/miscellaneous/replay-control-value-changes-factory.js +2 -2
  208. package/fesm2015/taiga-ui-kit-abstract.js +2 -2
  209. package/fesm2015/taiga-ui-kit-abstract.js.map +1 -1
  210. package/fesm2015/taiga-ui-kit-components-action.js +1 -1
  211. package/fesm2015/taiga-ui-kit-components-action.js.map +1 -1
  212. package/fesm2015/taiga-ui-kit-components-arrow.js +1 -1
  213. package/fesm2015/taiga-ui-kit-components-arrow.js.map +1 -1
  214. package/fesm2015/taiga-ui-kit-components-avatar.js +1 -1
  215. package/fesm2015/taiga-ui-kit-components-calendar-month.js +8 -5
  216. package/fesm2015/taiga-ui-kit-components-calendar-month.js.map +1 -1
  217. package/fesm2015/taiga-ui-kit-components-calendar-range.js +1 -1
  218. package/fesm2015/taiga-ui-kit-components-calendar-range.js.map +1 -1
  219. package/fesm2015/taiga-ui-kit-components-carousel.js +1 -1
  220. package/fesm2015/taiga-ui-kit-components-carousel.js.map +1 -1
  221. package/fesm2015/taiga-ui-kit-components-checkbox.js +1 -1
  222. package/fesm2015/taiga-ui-kit-components-combo-box.js +1 -1
  223. package/fesm2015/taiga-ui-kit-components-combo-box.js.map +1 -1
  224. package/fesm2015/taiga-ui-kit-components-input-count.js +2 -2
  225. package/fesm2015/taiga-ui-kit-components-input-count.js.map +1 -1
  226. package/fesm2015/taiga-ui-kit-components-input-date-range.js +1 -1
  227. package/fesm2015/taiga-ui-kit-components-input-date-range.js.map +1 -1
  228. package/fesm2015/taiga-ui-kit-components-input-date-time.js +1 -1
  229. package/fesm2015/taiga-ui-kit-components-input-date-time.js.map +1 -1
  230. package/fesm2015/taiga-ui-kit-components-input-date.js +1 -1
  231. package/fesm2015/taiga-ui-kit-components-input-date.js.map +1 -1
  232. package/fesm2015/taiga-ui-kit-components-input-file.js +1 -1
  233. package/fesm2015/taiga-ui-kit-components-input-file.js.map +1 -1
  234. package/fesm2015/taiga-ui-kit-components-input-month.js +6 -2
  235. package/fesm2015/taiga-ui-kit-components-input-month.js.map +1 -1
  236. package/fesm2015/taiga-ui-kit-components-input-password.js +1 -1
  237. package/fesm2015/taiga-ui-kit-components-input-password.js.map +1 -1
  238. package/fesm2015/taiga-ui-kit-components-input-range.js +2 -2
  239. package/fesm2015/taiga-ui-kit-components-input-range.js.map +1 -1
  240. package/fesm2015/taiga-ui-kit-components-input-tag.js +2 -2
  241. package/fesm2015/taiga-ui-kit-components-input-tag.js.map +1 -1
  242. package/fesm2015/taiga-ui-kit-components-input-time.js +1 -1
  243. package/fesm2015/taiga-ui-kit-components-input-time.js.map +1 -1
  244. package/fesm2015/taiga-ui-kit-components-multi-select.js +1 -1
  245. package/fesm2015/taiga-ui-kit-components-multi-select.js.map +1 -1
  246. package/fesm2015/taiga-ui-kit-components-progress.js +4 -4
  247. package/fesm2015/taiga-ui-kit-components-progress.js.map +1 -1
  248. package/fesm2015/taiga-ui-kit-components-radio.js +1 -1
  249. package/fesm2015/taiga-ui-kit-components-select-option.js +12 -3
  250. package/fesm2015/taiga-ui-kit-components-select-option.js.map +1 -1
  251. package/fesm2015/taiga-ui-kit-components-select.js +1 -1
  252. package/fesm2015/taiga-ui-kit-components-select.js.map +1 -1
  253. package/fesm2015/taiga-ui-kit-components-slider.js +1 -1
  254. package/fesm2015/taiga-ui-kit-components-slider.js.map +1 -1
  255. package/fesm2015/taiga-ui-kit-components-tabs.js +2 -2
  256. package/fesm2015/taiga-ui-kit-components-tabs.js.map +1 -1
  257. package/fesm2015/taiga-ui-kit-components-tag.js +4 -4
  258. package/fesm2015/taiga-ui-kit-components-tag.js.map +1 -1
  259. package/fesm2015/taiga-ui-kit-components-text-area.js +1 -1
  260. package/fesm2015/taiga-ui-kit-components-toggle.js +1 -1
  261. package/fesm2015/taiga-ui-kit-constants.js +0 -2
  262. package/fesm2015/taiga-ui-kit-constants.js.map +1 -1
  263. package/fesm2015/taiga-ui-kit-providers.js +1 -1
  264. package/fesm2015/taiga-ui-kit-providers.js.map +1 -1
  265. package/fesm2015/taiga-ui-kit-tokens.js +1 -1
  266. package/fesm2015/taiga-ui-kit-tokens.js.map +1 -1
  267. package/fesm2015/taiga-ui-kit-utils-miscellaneous.js +1 -1
  268. package/fesm2015/taiga-ui-kit-utils-miscellaneous.js.map +1 -1
  269. package/fesm5/taiga-ui-kit-abstract.js +2 -2
  270. package/fesm5/taiga-ui-kit-abstract.js.map +1 -1
  271. package/fesm5/taiga-ui-kit-components-action.js +1 -1
  272. package/fesm5/taiga-ui-kit-components-action.js.map +1 -1
  273. package/fesm5/taiga-ui-kit-components-arrow.js +1 -1
  274. package/fesm5/taiga-ui-kit-components-arrow.js.map +1 -1
  275. package/fesm5/taiga-ui-kit-components-avatar.js +1 -1
  276. package/fesm5/taiga-ui-kit-components-calendar-month.js +8 -5
  277. package/fesm5/taiga-ui-kit-components-calendar-month.js.map +1 -1
  278. package/fesm5/taiga-ui-kit-components-calendar-range.js +1 -1
  279. package/fesm5/taiga-ui-kit-components-calendar-range.js.map +1 -1
  280. package/fesm5/taiga-ui-kit-components-carousel.js +1 -1
  281. package/fesm5/taiga-ui-kit-components-carousel.js.map +1 -1
  282. package/fesm5/taiga-ui-kit-components-checkbox.js +1 -1
  283. package/fesm5/taiga-ui-kit-components-combo-box.js +1 -1
  284. package/fesm5/taiga-ui-kit-components-combo-box.js.map +1 -1
  285. package/fesm5/taiga-ui-kit-components-input-count.js +2 -2
  286. package/fesm5/taiga-ui-kit-components-input-count.js.map +1 -1
  287. package/fesm5/taiga-ui-kit-components-input-date-range.js +1 -1
  288. package/fesm5/taiga-ui-kit-components-input-date-range.js.map +1 -1
  289. package/fesm5/taiga-ui-kit-components-input-date-time.js +1 -1
  290. package/fesm5/taiga-ui-kit-components-input-date-time.js.map +1 -1
  291. package/fesm5/taiga-ui-kit-components-input-date.js +1 -1
  292. package/fesm5/taiga-ui-kit-components-input-date.js.map +1 -1
  293. package/fesm5/taiga-ui-kit-components-input-file.js +1 -1
  294. package/fesm5/taiga-ui-kit-components-input-file.js.map +1 -1
  295. package/fesm5/taiga-ui-kit-components-input-month.js +6 -2
  296. package/fesm5/taiga-ui-kit-components-input-month.js.map +1 -1
  297. package/fesm5/taiga-ui-kit-components-input-password.js +1 -1
  298. package/fesm5/taiga-ui-kit-components-input-password.js.map +1 -1
  299. package/fesm5/taiga-ui-kit-components-input-range.js +2 -2
  300. package/fesm5/taiga-ui-kit-components-input-range.js.map +1 -1
  301. package/fesm5/taiga-ui-kit-components-input-tag.js +2 -2
  302. package/fesm5/taiga-ui-kit-components-input-tag.js.map +1 -1
  303. package/fesm5/taiga-ui-kit-components-input-time.js +1 -1
  304. package/fesm5/taiga-ui-kit-components-input-time.js.map +1 -1
  305. package/fesm5/taiga-ui-kit-components-multi-select.js +1 -1
  306. package/fesm5/taiga-ui-kit-components-multi-select.js.map +1 -1
  307. package/fesm5/taiga-ui-kit-components-progress.js +4 -4
  308. package/fesm5/taiga-ui-kit-components-progress.js.map +1 -1
  309. package/fesm5/taiga-ui-kit-components-radio.js +1 -1
  310. package/fesm5/taiga-ui-kit-components-select-option.js +13 -3
  311. package/fesm5/taiga-ui-kit-components-select-option.js.map +1 -1
  312. package/fesm5/taiga-ui-kit-components-select.js +1 -1
  313. package/fesm5/taiga-ui-kit-components-select.js.map +1 -1
  314. package/fesm5/taiga-ui-kit-components-slider.js +1 -1
  315. package/fesm5/taiga-ui-kit-components-slider.js.map +1 -1
  316. package/fesm5/taiga-ui-kit-components-tabs.js +2 -2
  317. package/fesm5/taiga-ui-kit-components-tabs.js.map +1 -1
  318. package/fesm5/taiga-ui-kit-components-tag.js +4 -4
  319. package/fesm5/taiga-ui-kit-components-tag.js.map +1 -1
  320. package/fesm5/taiga-ui-kit-components-text-area.js +1 -1
  321. package/fesm5/taiga-ui-kit-components-toggle.js +1 -1
  322. package/fesm5/taiga-ui-kit-constants.js +0 -2
  323. package/fesm5/taiga-ui-kit-constants.js.map +1 -1
  324. package/fesm5/taiga-ui-kit-providers.js +1 -1
  325. package/fesm5/taiga-ui-kit-providers.js.map +1 -1
  326. package/fesm5/taiga-ui-kit-tokens.js +1 -1
  327. package/fesm5/taiga-ui-kit-tokens.js.map +1 -1
  328. package/fesm5/taiga-ui-kit-utils-miscellaneous.js +1 -1
  329. package/fesm5/taiga-ui-kit-utils-miscellaneous.js.map +1 -1
  330. package/interfaces/with-date-mask-pipe-config.d.ts +1 -1
  331. package/package.json +4 -4
  332. package/utils/miscellaneous/replay-control-value-changes-factory.d.ts +1 -1
@@ -45,7 +45,7 @@ var LEFT_ALIGNED_DROPDOWN_CONTROLLER_PROVIDER = [
45
45
  },
46
46
  ];
47
47
 
48
- // TODO: remove in ivy compilation
48
+ // TODO: 3.0 remove in ivy compilation
49
49
  var IDENTITY = identity;
50
50
  var TUI_VALUE_ACCESSOR_PROVIDER = {
51
51
  provide: TUI_VALUE_ACCESSOR,
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-kit-providers.js","sources":["ng://@taiga-ui/kit/providers/month-formatter.provider.ts","ng://@taiga-ui/kit/providers/specific-dropdown-controllers.ts","ng://@taiga-ui/kit/providers/value-accessor.provider.ts","ng://@taiga-ui/kit/providers/taiga-ui-kit-providers.ts"],"sourcesContent":["import {FactoryProvider} from '@angular/core';\nimport {TuiHandler, TuiMonth} from '@taiga-ui/cdk';\nimport {TuiMonthPipe} from '@taiga-ui/core';\nimport {TUI_MONTH_FORMATTER} from '@taiga-ui/kit/tokens';\nimport {Observable, of} from 'rxjs';\nimport {map} from 'rxjs/operators';\n\nexport const TUI_MONTH_FORMATTER_PROVIDER: FactoryProvider = {\n provide: TUI_MONTH_FORMATTER,\n deps: [TuiMonthPipe],\n useFactory: monthFormatterFactory,\n};\n\nexport function monthFormatterFactory(\n pipe: TuiMonthPipe,\n): TuiHandler<TuiMonth | null, Observable<string>> {\n return month =>\n month\n ? pipe\n .transform(month)\n .pipe(map(formatted => `${formatted} ${month.formattedYear}`))\n : of('');\n}\n","import {Optional, Provider} from '@angular/core';\nimport {TUI_DROPDOWN_CONTROLLER, TuiDropdownControllerDirective} from '@taiga-ui/core';\n\nexport function fixedDropdownControllerFactory(\n directive: TuiDropdownControllerDirective | null,\n): TuiDropdownControllerDirective {\n directive = directive || new TuiDropdownControllerDirective();\n directive.limitWidth = 'fixed';\n\n return directive;\n}\n\nexport const FIXED_DROPDOWN_CONTROLLER_PROVIDER: Provider = [\n {\n provide: TUI_DROPDOWN_CONTROLLER,\n deps: [[new Optional(), TuiDropdownControllerDirective]],\n useFactory: fixedDropdownControllerFactory,\n },\n];\n\nexport function leftAlignedDropdownControllerFactory(\n directive: TuiDropdownControllerDirective | null,\n): TuiDropdownControllerDirective {\n directive = directive || new TuiDropdownControllerDirective();\n directive.align = 'left';\n\n return directive;\n}\n\nexport const LEFT_ALIGNED_DROPDOWN_CONTROLLER_PROVIDER: Provider = [\n {\n provide: TUI_DROPDOWN_CONTROLLER,\n deps: [[new Optional(), TuiDropdownControllerDirective]],\n useFactory: leftAlignedDropdownControllerFactory,\n },\n];\n","import {FactoryProvider, Optional, Self} from '@angular/core';\nimport {NG_VALUE_ACCESSOR} from '@angular/forms';\nimport {TUI_VALUE_ACCESSOR} from '@taiga-ui/core';\nimport {identity} from 'rxjs';\n\n// TODO: remove in ivy compilation\nexport const IDENTITY = identity;\n\nexport const TUI_VALUE_ACCESSOR_PROVIDER: FactoryProvider = {\n provide: TUI_VALUE_ACCESSOR,\n deps: [[new Optional(), new Self(), NG_VALUE_ACCESSOR]],\n useFactory: IDENTITY,\n};\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;IAOa,4BAA4B,GAAoB;IACzD,OAAO,EAAE,mBAAmB;IAC5B,IAAI,EAAE,CAAC,YAAY,CAAC;IACpB,UAAU,EAAE,qBAAqB;EACnC;SAEc,qBAAqB,CACjC,IAAkB;IAElB,OAAO,UAAA,KAAK;QACR,OAAA,KAAK;cACC,IAAI;iBACC,SAAS,CAAC,KAAK,CAAC;iBAChB,IAAI,CAAC,GAAG,CAAC,UAAA,SAAS,IAAI,OAAG,SAAS,SAAI,KAAK,CAAC,aAAe,GAAA,CAAC,CAAC;cAClE,EAAE,CAAC,EAAE,CAAC;KAAA,CAAC;AACrB;;SCnBgB,8BAA8B,CAC1C,SAAgD;IAEhD,SAAS,GAAG,SAAS,IAAI,IAAI,8BAA8B,EAAE,CAAC;IAC9D,SAAS,CAAC,UAAU,GAAG,OAAO,CAAC;IAE/B,OAAO,SAAS,CAAC;AACrB,CAAC;IAEY,kCAAkC,GAAa;IACxD;QACI,OAAO,EAAE,uBAAuB;QAChC,IAAI,EAAE,CAAC,CAAC,IAAI,QAAQ,EAAE,EAAE,8BAA8B,CAAC,CAAC;QACxD,UAAU,EAAE,8BAA8B;KAC7C;EACH;SAEc,oCAAoC,CAChD,SAAgD;IAEhD,SAAS,GAAG,SAAS,IAAI,IAAI,8BAA8B,EAAE,CAAC;IAC9D,SAAS,CAAC,KAAK,GAAG,MAAM,CAAC;IAEzB,OAAO,SAAS,CAAC;AACrB,CAAC;IAEY,yCAAyC,GAAa;IAC/D;QACI,OAAO,EAAE,uBAAuB;QAChC,IAAI,EAAE,CAAC,CAAC,IAAI,QAAQ,EAAE,EAAE,8BAA8B,CAAC,CAAC;QACxD,UAAU,EAAE,oCAAoC;KACnD;;;AC7BL;IACa,QAAQ,GAAG,SAAS;IAEpB,2BAA2B,GAAoB;IACxD,OAAO,EAAE,kBAAkB;IAC3B,IAAI,EAAE,CAAC,CAAC,IAAI,QAAQ,EAAE,EAAE,IAAI,IAAI,EAAE,EAAE,iBAAiB,CAAC,CAAC;IACvD,UAAU,EAAE,QAAQ;;;ACXxB;;;;;;"}
1
+ {"version":3,"file":"taiga-ui-kit-providers.js","sources":["ng://@taiga-ui/kit/providers/month-formatter.provider.ts","ng://@taiga-ui/kit/providers/specific-dropdown-controllers.ts","ng://@taiga-ui/kit/providers/value-accessor.provider.ts","ng://@taiga-ui/kit/providers/taiga-ui-kit-providers.ts"],"sourcesContent":["import {FactoryProvider} from '@angular/core';\nimport {TuiHandler, TuiMonth} from '@taiga-ui/cdk';\nimport {TuiMonthPipe} from '@taiga-ui/core';\nimport {TUI_MONTH_FORMATTER} from '@taiga-ui/kit/tokens';\nimport {Observable, of} from 'rxjs';\nimport {map} from 'rxjs/operators';\n\nexport const TUI_MONTH_FORMATTER_PROVIDER: FactoryProvider = {\n provide: TUI_MONTH_FORMATTER,\n deps: [TuiMonthPipe],\n useFactory: monthFormatterFactory,\n};\n\nexport function monthFormatterFactory(\n pipe: TuiMonthPipe,\n): TuiHandler<TuiMonth | null, Observable<string>> {\n return month =>\n month\n ? pipe\n .transform(month)\n .pipe(map(formatted => `${formatted} ${month.formattedYear}`))\n : of('');\n}\n","import {Optional, Provider} from '@angular/core';\nimport {TUI_DROPDOWN_CONTROLLER, TuiDropdownControllerDirective} from '@taiga-ui/core';\n\nexport function fixedDropdownControllerFactory(\n directive: TuiDropdownControllerDirective | null,\n): TuiDropdownControllerDirective {\n directive = directive || new TuiDropdownControllerDirective();\n directive.limitWidth = 'fixed';\n\n return directive;\n}\n\nexport const FIXED_DROPDOWN_CONTROLLER_PROVIDER: Provider = [\n {\n provide: TUI_DROPDOWN_CONTROLLER,\n deps: [[new Optional(), TuiDropdownControllerDirective]],\n useFactory: fixedDropdownControllerFactory,\n },\n];\n\nexport function leftAlignedDropdownControllerFactory(\n directive: TuiDropdownControllerDirective | null,\n): TuiDropdownControllerDirective {\n directive = directive || new TuiDropdownControllerDirective();\n directive.align = 'left';\n\n return directive;\n}\n\nexport const LEFT_ALIGNED_DROPDOWN_CONTROLLER_PROVIDER: Provider = [\n {\n provide: TUI_DROPDOWN_CONTROLLER,\n deps: [[new Optional(), TuiDropdownControllerDirective]],\n useFactory: leftAlignedDropdownControllerFactory,\n },\n];\n","import {FactoryProvider, Optional, Self} from '@angular/core';\nimport {NG_VALUE_ACCESSOR} from '@angular/forms';\nimport {TUI_VALUE_ACCESSOR} from '@taiga-ui/core';\nimport {identity} from 'rxjs';\n\n// TODO: 3.0 remove in ivy compilation\nexport const IDENTITY = identity;\n\nexport const TUI_VALUE_ACCESSOR_PROVIDER: FactoryProvider = {\n provide: TUI_VALUE_ACCESSOR,\n deps: [[new Optional(), new Self(), NG_VALUE_ACCESSOR]],\n useFactory: IDENTITY,\n};\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;IAOa,4BAA4B,GAAoB;IACzD,OAAO,EAAE,mBAAmB;IAC5B,IAAI,EAAE,CAAC,YAAY,CAAC;IACpB,UAAU,EAAE,qBAAqB;EACnC;SAEc,qBAAqB,CACjC,IAAkB;IAElB,OAAO,UAAA,KAAK;QACR,OAAA,KAAK;cACC,IAAI;iBACC,SAAS,CAAC,KAAK,CAAC;iBAChB,IAAI,CAAC,GAAG,CAAC,UAAA,SAAS,IAAI,OAAG,SAAS,SAAI,KAAK,CAAC,aAAe,GAAA,CAAC,CAAC;cAClE,EAAE,CAAC,EAAE,CAAC;KAAA,CAAC;AACrB;;SCnBgB,8BAA8B,CAC1C,SAAgD;IAEhD,SAAS,GAAG,SAAS,IAAI,IAAI,8BAA8B,EAAE,CAAC;IAC9D,SAAS,CAAC,UAAU,GAAG,OAAO,CAAC;IAE/B,OAAO,SAAS,CAAC;AACrB,CAAC;IAEY,kCAAkC,GAAa;IACxD;QACI,OAAO,EAAE,uBAAuB;QAChC,IAAI,EAAE,CAAC,CAAC,IAAI,QAAQ,EAAE,EAAE,8BAA8B,CAAC,CAAC;QACxD,UAAU,EAAE,8BAA8B;KAC7C;EACH;SAEc,oCAAoC,CAChD,SAAgD;IAEhD,SAAS,GAAG,SAAS,IAAI,IAAI,8BAA8B,EAAE,CAAC;IAC9D,SAAS,CAAC,KAAK,GAAG,MAAM,CAAC;IAEzB,OAAO,SAAS,CAAC;AACrB,CAAC;IAEY,yCAAyC,GAAa;IAC/D;QACI,OAAO,EAAE,uBAAuB;QAChC,IAAI,EAAE,CAAC,CAAC,IAAI,QAAQ,EAAE,EAAE,8BAA8B,CAAC,CAAC;QACxD,UAAU,EAAE,oCAAoC;KACnD;;;AC7BL;IACa,QAAQ,GAAG,SAAS;IAEpB,2BAA2B,GAAoB;IACxD,OAAO,EAAE,kBAAkB;IAC3B,IAAI,EAAE,CAAC,CAAC,IAAI,QAAQ,EAAE,EAAE,IAAI,IAAI,EAAE,EAAE,iBAAiB,CAAC,CAAC;IACvD,UAAU,EAAE,QAAQ;;;ACXxB;;;;;;"}
@@ -93,7 +93,7 @@ var TUI_TAB_MARGIN = new InjectionToken('Margin between tabs', {
93
93
  factory: function () { return 24; },
94
94
  });
95
95
 
96
- // TODO use TUI_TAG_OPTIONS instead of it in v3.0
96
+ // TODO: 3.0 use TUI_TAG_OPTIONS instead of it
97
97
  var TUI_TAG_STATUS = new InjectionToken('Status for tags inside InputTag component', {
98
98
  factory: function () { return "primary" /* Primary */; },
99
99
  });
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-kit-tokens.js","sources":["ng://@taiga-ui/kit/tokens/calendar-data-stream.ts","ng://@taiga-ui/kit/tokens/date-inputs-value-transformers.ts","ng://@taiga-ui/kit/tokens/i18n.ts","ng://@taiga-ui/kit/tokens/items-handlers.ts","ng://@taiga-ui/kit/tokens/mobile-aware.ts","ng://@taiga-ui/kit/tokens/mobile-calendar.ts","ng://@taiga-ui/kit/tokens/month-formatter.ts","ng://@taiga-ui/kit/tokens/tab-margin.ts","ng://@taiga-ui/kit/tokens/tag-status.ts","ng://@taiga-ui/kit/tokens/validation-errors.ts","ng://@taiga-ui/kit/tokens/taiga-ui-kit-tokens.ts"],"sourcesContent":["import {InjectionToken} from '@angular/core';\nimport {TuiDay, TuiDayRange} from '@taiga-ui/cdk';\nimport {Observable} from 'rxjs';\n\nexport const TUI_CALENDAR_DATA_STREAM = new InjectionToken<\n Observable<TuiDay | TuiDayRange | null>\n>('Stream that emits calendar data change');\n","import {InjectionToken} from '@angular/core';\nimport {TuiControlValueTransformer, TuiDay, TuiDayRange, TuiTime} from '@taiga-ui/cdk';\n\nexport const TUI_DATE_VALUE_TRANSFORMER = new InjectionToken<\n TuiControlValueTransformer<TuiDay | null>\n>('Control value transformer of TuiDay to custom value format for InputDate* components');\n\nexport const TUI_DATE_RANGE_VALUE_TRANSFORMER = new InjectionToken<\n TuiControlValueTransformer<TuiDayRange | null>\n>('Control value transformer for InputDateRange component');\n\nexport const TUI_DATE_TIME_VALUE_TRANSFORMER = new InjectionToken<\n TuiControlValueTransformer<[TuiDay | null, TuiTime | null]>\n>('Control value transformer for InputDateTime component');\n","import {InjectionToken} from '@angular/core';\nimport {TuiDateMode} from '@taiga-ui/cdk';\nimport {extractI18n, TuiCountryIsoCode} from '@taiga-ui/i18n';\nimport {Observable} from 'rxjs';\n\nexport const TUI_CANCEL_WORD = new InjectionToken(`i18n 'cancel' word`, {\n factory: extractI18n('cancel'),\n});\n\nexport const TUI_DONE_WORD = new InjectionToken(`i18n 'done' word`, {\n factory: extractI18n('done'),\n});\n\nexport const TUI_MORE_WORD = new InjectionToken(`i18n 'more' word`, {\n factory: extractI18n('more'),\n});\n\nexport const TUI_HIDE_TEXT = new InjectionToken(`i18n 'hide' word`, {\n factory: extractI18n('hide'),\n});\n\nexport const TUI_SHOW_ALL_TEXT = new InjectionToken(`i18n 'show all' word`, {\n factory: extractI18n('showAll'),\n});\n\nexport const TUI_OTHER_DATE_TEXT = new InjectionToken(`i18n 'Other date' text`, {\n factory: extractI18n('otherDate'),\n});\n\nexport const TUI_CHOOSE_DAY_OR_RANGE_TEXTS = new InjectionToken(\n `choose day or range i18n texts`,\n {\n factory: extractI18n('mobileCalendarTexts'),\n },\n);\n\nexport const TUI_FROM_TO_TEXTS = new InjectionToken(`from and to i18n texts`, {\n factory: extractI18n('range'),\n});\n\nexport const TUI_PLUS_MINUS_TEXTS = new InjectionToken(`plus and minus i18n texts`, {\n factory: extractI18n('countTexts'),\n});\n\nexport const TUI_TIME_TEXTS = new InjectionToken(`time i18n texts`, {\n factory: extractI18n('time'),\n});\n\nexport const TUI_DATE_TEXTS = new InjectionToken<Observable<Record<TuiDateMode, string>>>(\n 'date format i18n texts',\n {\n factory: extractI18n('dateTexts'),\n },\n);\n\nexport const TUI_DIGITAL_INFORMATION_UNITS = new InjectionToken(\n `short bytes, kilobytes and megabytes i18n texts`,\n {\n factory: extractI18n('digitalInformationUnits'),\n },\n);\n\nexport const TUI_COPY_TEXTS = new InjectionToken('copy i18n texts', {\n factory: extractI18n('copyTexts'),\n});\n\nexport const TUI_PASSWORD_TEXTS = new InjectionToken('password i18n texts', {\n factory: extractI18n('passwordTexts'),\n});\n\nexport const TUI_CALENDAR_MONTHS = new InjectionToken('short calendar months i18n', {\n factory: extractI18n('shortCalendarMonths'),\n});\n\nexport const TUI_FILE_TEXTS = new InjectionToken('file i18n texts', {\n factory: extractI18n('fileTexts'),\n});\n\nexport const TUI_PAGINATION_TEXTS = new InjectionToken('pagination i18n texts', {\n factory: extractI18n('pagination'),\n});\n\nexport const TUI_INPUT_FILE_TEXTS = new InjectionToken('tui-input-file i18n texts', {\n factory: extractI18n('inputFileTexts'),\n});\n\nexport const TUI_COUNTRIES: InjectionToken<\n Observable<Record<TuiCountryIsoCode, string>>\n> = new InjectionToken('Localized countries names', {\n factory: extractI18n('countries'),\n});\n","import {InjectionToken, ValueProvider} from '@angular/core';\nimport {\n ALWAYS_FALSE_HANDLER,\n TUI_DEFAULT_IDENTITY_MATCHER,\n TUI_DEFAULT_STRINGIFY,\n TuiBooleanHandler,\n TuiIdentityMatcher,\n TuiStringHandler,\n} from '@taiga-ui/cdk';\n\nexport interface TuiItemsHandlers<T> {\n readonly stringify: TuiStringHandler<T>;\n readonly identityMatcher: TuiIdentityMatcher<T>;\n readonly disabledItemHandler: TuiBooleanHandler<T>;\n}\n\nexport const TUI_DEFAULT_ITEMS_HANDLERS: TuiItemsHandlers<unknown> = {\n stringify: TUI_DEFAULT_STRINGIFY,\n identityMatcher: TUI_DEFAULT_IDENTITY_MATCHER,\n disabledItemHandler: ALWAYS_FALSE_HANDLER,\n};\n\nexport const TUI_ITEMS_HANDLERS = new InjectionToken<TuiItemsHandlers<unknown>>(\n 'Default items handlers for components',\n {\n factory: () => TUI_DEFAULT_ITEMS_HANDLERS,\n },\n);\n\nexport const tuiItemsHandlersProvider: <T>(\n options: Partial<TuiItemsHandlers<T>>,\n) => ValueProvider = <T>(options: Partial<TuiItemsHandlers<T>>) => ({\n provide: TUI_ITEMS_HANDLERS,\n useValue: {...TUI_DEFAULT_ITEMS_HANDLERS, ...options},\n});\n","import {InjectionToken} from '@angular/core';\n\n/** @deprecated use {@link TuiMobileTabsDirective} from @taiga-ui/addon-mobile */\nexport const TUI_MOBILE_AWARE = new InjectionToken<boolean>(\n 'A flag enabling mobile-specific behavior for supporting components',\n {\n factory: () => false,\n },\n);\n","import {InjectionToken, Type} from '@angular/core';\n\nexport const TUI_MOBILE_CALENDAR = new InjectionToken<Type<any>>(\n 'A component for mobile data picker',\n);\n","import {InjectionToken} from '@angular/core';\nimport {TuiHandler, TuiMonth} from '@taiga-ui/cdk';\nimport {Observable} from 'rxjs';\n\nexport const TUI_MONTH_FORMATTER = new InjectionToken<\n TuiHandler<TuiMonth | null, Observable<string>>\n>('A function to get localized formatted month');\n","import {InjectionToken} from '@angular/core';\n\nexport const TUI_TAB_MARGIN = new InjectionToken<number>('Margin between tabs', {\n factory: () => 24,\n});\n","import {InjectionToken} from '@angular/core';\nimport {TuiStatus} from '@taiga-ui/kit/enums';\n\n// TODO use TUI_TAG_OPTIONS instead of it in v3.0\nexport const TUI_TAG_STATUS = new InjectionToken<TuiStatus>(\n 'Status for tags inside InputTag component',\n {\n factory: () => TuiStatus.Primary,\n },\n);\n","import {InjectionToken} from '@angular/core';\nimport {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\nimport {Observable} from 'rxjs';\n\nexport const TUI_VALIDATION_ERRORS = new InjectionToken<\n Record<string, PolymorpheusContent | Observable<PolymorpheusContent>>\n>('Validation errors', {\n factory: () => ({}),\n});\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;IAIa,wBAAwB,GAAG,IAAI,cAAc,CAExD,wCAAwC;;ICH7B,0BA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,kBAAkB;IAC3B,QAAQ,wBAAM,0BAA0B,GAAK,OAAO,CAAC;CACxD;;AChCD;IACa,gBAAgB,GAAG,IAAI,cAAc,CAC9C,oEAAoE,EACpE;IACI,OAAO,EAAE,cAAM,OAAA,KAAK,GAAA;CACvB;;ICLQ,mBAAmB,GAAG,IAAI,cAAc,CACjD,oCAAoC;;ICC3B,mBAAmB,GAAG,IAAI,cAAc,CAEnD,6CAA6C;;ICJlC,cAAc,GAAG,IAAI,cAAc,CAAS,qBAAqB,EAAE;IAC5E,OAAO,EAAE,cAAM,OAAA,EAAE,GAAA;CACpB;;ACDD;IACa,cAAc,GAAG,IAAI,cAAc,CAC5C,2CAA2C,EAC3C;IACI,OAAO,EAAE,cAAM,iCAAiB;CACnC;;ICJQ,qBAAqB,GAAG,IAAI,cAAc,CAErD,mBAAmB,EAAE;IACnB,OAAO,EAAE,cAAM,QAAC,EAAE,IAAC;CACtB;;ACRD;;;;;;"}
1
+ {"version":3,"file":"taiga-ui-kit-tokens.js","sources":["ng://@taiga-ui/kit/tokens/calendar-data-stream.ts","ng://@taiga-ui/kit/tokens/date-inputs-value-transformers.ts","ng://@taiga-ui/kit/tokens/i18n.ts","ng://@taiga-ui/kit/tokens/items-handlers.ts","ng://@taiga-ui/kit/tokens/mobile-aware.ts","ng://@taiga-ui/kit/tokens/mobile-calendar.ts","ng://@taiga-ui/kit/tokens/month-formatter.ts","ng://@taiga-ui/kit/tokens/tab-margin.ts","ng://@taiga-ui/kit/tokens/tag-status.ts","ng://@taiga-ui/kit/tokens/validation-errors.ts","ng://@taiga-ui/kit/tokens/taiga-ui-kit-tokens.ts"],"sourcesContent":["import {InjectionToken} from '@angular/core';\nimport {TuiDay, TuiDayRange} from '@taiga-ui/cdk';\nimport {Observable} from 'rxjs';\n\nexport const TUI_CALENDAR_DATA_STREAM = new InjectionToken<\n Observable<TuiDay | TuiDayRange | null>\n>('Stream that emits calendar data change');\n","import {InjectionToken} from '@angular/core';\nimport {TuiControlValueTransformer, TuiDay, TuiDayRange, TuiTime} from '@taiga-ui/cdk';\n\nexport const TUI_DATE_VALUE_TRANSFORMER = new InjectionToken<\n TuiControlValueTransformer<TuiDay | null>\n>('Control value transformer of TuiDay to custom value format for InputDate* components');\n\nexport const TUI_DATE_RANGE_VALUE_TRANSFORMER = new InjectionToken<\n TuiControlValueTransformer<TuiDayRange | null>\n>('Control value transformer for InputDateRange component');\n\nexport const TUI_DATE_TIME_VALUE_TRANSFORMER = new InjectionToken<\n TuiControlValueTransformer<[TuiDay | null, TuiTime | null]>\n>('Control value transformer for InputDateTime component');\n","import {InjectionToken} from '@angular/core';\nimport {TuiDateMode} from '@taiga-ui/cdk';\nimport {extractI18n, TuiCountryIsoCode} from '@taiga-ui/i18n';\nimport {Observable} from 'rxjs';\n\nexport const TUI_CANCEL_WORD = new InjectionToken(`i18n 'cancel' word`, {\n factory: extractI18n('cancel'),\n});\n\nexport const TUI_DONE_WORD = new InjectionToken(`i18n 'done' word`, {\n factory: extractI18n('done'),\n});\n\nexport const TUI_MORE_WORD = new InjectionToken(`i18n 'more' word`, {\n factory: extractI18n('more'),\n});\n\nexport const TUI_HIDE_TEXT = new InjectionToken(`i18n 'hide' word`, {\n factory: extractI18n('hide'),\n});\n\nexport const TUI_SHOW_ALL_TEXT = new InjectionToken(`i18n 'show all' word`, {\n factory: extractI18n('showAll'),\n});\n\nexport const TUI_OTHER_DATE_TEXT = new InjectionToken(`i18n 'Other date' text`, {\n factory: extractI18n('otherDate'),\n});\n\nexport const TUI_CHOOSE_DAY_OR_RANGE_TEXTS = new InjectionToken(\n `choose day or range i18n texts`,\n {\n factory: extractI18n('mobileCalendarTexts'),\n },\n);\n\nexport const TUI_FROM_TO_TEXTS = new InjectionToken(`from and to i18n texts`, {\n factory: extractI18n('range'),\n});\n\nexport const TUI_PLUS_MINUS_TEXTS = new InjectionToken(`plus and minus i18n texts`, {\n factory: extractI18n('countTexts'),\n});\n\nexport const TUI_TIME_TEXTS = new InjectionToken(`time i18n texts`, {\n factory: extractI18n('time'),\n});\n\nexport const TUI_DATE_TEXTS = new InjectionToken<Observable<Record<TuiDateMode, string>>>(\n 'date format i18n texts',\n {\n factory: extractI18n('dateTexts'),\n },\n);\n\nexport const TUI_DIGITAL_INFORMATION_UNITS = new InjectionToken(\n `short bytes, kilobytes and megabytes i18n texts`,\n {\n factory: extractI18n('digitalInformationUnits'),\n },\n);\n\nexport const TUI_COPY_TEXTS = new InjectionToken('copy i18n texts', {\n factory: extractI18n('copyTexts'),\n});\n\nexport const TUI_PASSWORD_TEXTS = new InjectionToken('password i18n texts', {\n factory: extractI18n('passwordTexts'),\n});\n\nexport const TUI_CALENDAR_MONTHS = new InjectionToken('short calendar months i18n', {\n factory: extractI18n('shortCalendarMonths'),\n});\n\nexport const TUI_FILE_TEXTS = new InjectionToken('file i18n texts', {\n factory: extractI18n('fileTexts'),\n});\n\nexport const TUI_PAGINATION_TEXTS = new InjectionToken('pagination i18n texts', {\n factory: extractI18n('pagination'),\n});\n\nexport const TUI_INPUT_FILE_TEXTS = new InjectionToken('tui-input-file i18n texts', {\n factory: extractI18n('inputFileTexts'),\n});\n\nexport const TUI_COUNTRIES: InjectionToken<\n Observable<Record<TuiCountryIsoCode, string>>\n> = new InjectionToken('Localized countries names', {\n factory: extractI18n('countries'),\n});\n","import {InjectionToken, ValueProvider} from '@angular/core';\nimport {\n ALWAYS_FALSE_HANDLER,\n TUI_DEFAULT_IDENTITY_MATCHER,\n TUI_DEFAULT_STRINGIFY,\n TuiBooleanHandler,\n TuiIdentityMatcher,\n TuiStringHandler,\n} from '@taiga-ui/cdk';\n\nexport interface TuiItemsHandlers<T> {\n readonly stringify: TuiStringHandler<T>;\n readonly identityMatcher: TuiIdentityMatcher<T>;\n readonly disabledItemHandler: TuiBooleanHandler<T>;\n}\n\nexport const TUI_DEFAULT_ITEMS_HANDLERS: TuiItemsHandlers<unknown> = {\n stringify: TUI_DEFAULT_STRINGIFY,\n identityMatcher: TUI_DEFAULT_IDENTITY_MATCHER,\n disabledItemHandler: ALWAYS_FALSE_HANDLER,\n};\n\nexport const TUI_ITEMS_HANDLERS = new InjectionToken<TuiItemsHandlers<unknown>>(\n 'Default items handlers for components',\n {\n factory: () => TUI_DEFAULT_ITEMS_HANDLERS,\n },\n);\n\nexport const tuiItemsHandlersProvider: <T>(\n options: Partial<TuiItemsHandlers<T>>,\n) => ValueProvider = <T>(options: Partial<TuiItemsHandlers<T>>) => ({\n provide: TUI_ITEMS_HANDLERS,\n useValue: {...TUI_DEFAULT_ITEMS_HANDLERS, ...options},\n});\n","import {InjectionToken} from '@angular/core';\n\n/** @deprecated use {@link TuiMobileTabsDirective} from @taiga-ui/addon-mobile */\nexport const TUI_MOBILE_AWARE = new InjectionToken<boolean>(\n 'A flag enabling mobile-specific behavior for supporting components',\n {\n factory: () => false,\n },\n);\n","import {InjectionToken, Type} from '@angular/core';\n\nexport const TUI_MOBILE_CALENDAR = new InjectionToken<Type<any>>(\n 'A component for mobile data picker',\n);\n","import {InjectionToken} from '@angular/core';\nimport {TuiHandler, TuiMonth} from '@taiga-ui/cdk';\nimport {Observable} from 'rxjs';\n\nexport const TUI_MONTH_FORMATTER = new InjectionToken<\n TuiHandler<TuiMonth | null, Observable<string>>\n>('A function to get localized formatted month');\n","import {InjectionToken} from '@angular/core';\n\nexport const TUI_TAB_MARGIN = new InjectionToken<number>('Margin between tabs', {\n factory: () => 24,\n});\n","import {InjectionToken} from '@angular/core';\nimport {TuiStatus} from '@taiga-ui/kit/enums';\n\n// TODO: 3.0 use TUI_TAG_OPTIONS instead of it\nexport const TUI_TAG_STATUS = new InjectionToken<TuiStatus>(\n 'Status for tags inside InputTag component',\n {\n factory: () => TuiStatus.Primary,\n },\n);\n","import {InjectionToken} from '@angular/core';\nimport {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\nimport {Observable} from 'rxjs';\n\nexport const TUI_VALIDATION_ERRORS = new InjectionToken<\n Record<string, PolymorpheusContent | Observable<PolymorpheusContent>>\n>('Validation errors',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Ac,CAChD,uCAAuC,EACvC;IACI,OAAO,EAAE,cAAM,OAAA,0BAA0B,GAAA;CAC5C,EACH;IAEW,wBAAwB,GAEhB,UAAI,OAAqC,IAAK,QAAC;IAChE,OAAO,EAAE,kBAAkB;IAC3B,QAAQ,wBAAM,0BAA0B,GAAK,OAAO,CAAC;CACxD;;AChCD;IACa,gBAAgB,GAAG,IAAI,cAAc,CAC9C,oEAAoE,EACpE;IACI,OAAO,EAAE,cAAM,OAAA,KAAK,GAAA;CACvB;;ICLQ,mBAAmB,GAAG,IAAI,cAAc,CACjD,oCAAoC;;ICC3B,mBAAmB,GAAG,IAAI,cAAc,CAEnD,6CAA6C;;ICJlC,cAAc,GAAG,IAAI,cAAc,CAAS,qBAAqB,EAAE;IAC5E,OAAO,EAAE,cAAM,OAAA,EAAE,GAAA;CACpB;;ACDD;IACa,cAAc,GAAG,IAAI,cAAc,CAC5C,2CAA2C,EAC3C;IACI,OAAO,EAAE,cAAM,iCAAiB;CACnC;;ICJQ,qBAAqB,GAAG,IAAI,cAAc,CAErD,mBAAmB,EAAE;IACnB,OAAO,EAAE,cAAM,QAAC,EAAE,IAAC;CACtB;;ACRD;;;;;;"}
@@ -58,7 +58,7 @@ function isFlat(items) {
58
58
 
59
59
  /**
60
60
  * @internal
61
- * TODO: rename function in 3.0. The name should be shorter and start with lowercase letter.
61
+ * TODO: 3.0 name should be shorter and start with lowercase letter.
62
62
  */
63
63
  function TuiReplayControlValueChangesFactory(control, valueTransformer) {
64
64
  return control
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-kit-utils-miscellaneous.js","sources":["ng://@taiga-ui/kit/utils/miscellaneous/create-default-day-range-periods.ts","ng://@taiga-ui/kit/utils/miscellaneous/create-time-periods.ts","ng://@taiga-ui/kit/utils/miscellaneous/get-precision.ts","ng://@taiga-ui/kit/utils/miscellaneous/is-flat.ts","ng://@taiga-ui/kit/utils/miscellaneous/replay-control-value-changes-factory.ts","ng://@taiga-ui/kit/utils/miscellaneous/taiga-ui-kit-utils-miscellaneous.ts"],"sourcesContent":["import {TUI_FIRST_DAY, TuiDay, TuiDayRange} from '@taiga-ui/cdk';\nimport {TuiDayRangePeriod} from '@taiga-ui/kit/classes';\n\nexport function tuiCreateDefaultDayRangePeriods(\n periodTitles: [string, string, string, string, string, string] = [\n 'For all the time',\n 'Today',\n 'Yesterday',\n 'Current week',\n 'Current month',\n 'Previous month',\n ],\n): readonly TuiDayRangePeriod[] {\n const today = TuiDay.currentLocal();\n const yesterday = today.append({day: -1});\n const startOfWeek = today.append({day: -today.dayOfWeek()});\n const endOfWeek = startOfWeek.append({day: 6});\n const startOfMonth = today.append({day: 1 - today.day});\n const endOfMonth = startOfMonth.append({month: 1, day: -1});\n const startOfLastMonth = startOfMonth.append({month: -1});\n\n return [\n new TuiDayRangePeriod(new TuiDayRange(TUI_FIRST_DAY, today), periodTitles[0]),\n new TuiDayRangePeriod(new TuiDayRange(today, today), periodTitles[1]),\n new TuiDayRangePeriod(new TuiDayRange(yesterday, yesterday), periodTitles[2]),\n new TuiDayRangePeriod(new TuiDayRange(startOfWeek, endOfWeek), periodTitles[3]),\n new TuiDayRangePeriod(new TuiDayRange(startOfMonth, endOfMonth), periodTitles[4]),\n new TuiDayRangePeriod(\n new TuiDayRange(startOfLastMonth, startOfMonth.append({day: -1})),\n periodTitles[5],\n ),\n ];\n}\n","import {HOURS_IN_DAY, TuiTime} from '@taiga-ui/cdk';\n\nexport function tuiCreateTimePeriods(\n minHour: number = 0,\n maxHour: number = HOURS_IN_DAY,\n minutes: readonly number[] = [0, 30],\n): readonly TuiTime[] {\n const timeArray: TuiTime[] = [];\n\n for (let i = minHour; i < maxHour; i++) {\n for (let j = 0; j < minutes.length; j++) {\n const time = new TuiTime(i, minutes[j]);\n\n timeArray.push(time);\n }\n }\n\n return timeArray;\n}\n","/**\n * @return fractional length\n */\nexport function getPrecision(num: number): number {\n const [, fractionPart = ''] = String(num).split('.');\n\n return fractionPart.length;\n}\n","export function isFlat<T>(\n items: readonly T[] | ReadonlyArray<readonly T[]>,\n): items is readonly T[] {\n return !Array.isArray(items[0]);\n}\n","import {NgControl} from '@angular/forms';\nimport {\n TuiControlValueTransformer,\n TuiDay,\n TuiDayRange,\n tuiReplayedValueChangesFrom,\n TuiTime,\n} from '@taiga-ui/cdk';\nimport {Observable, of} from 'rxjs';\nimport {map} from 'rxjs/operators';\n\n/**\n * @internal\n * TODO: rename function in 3.0. The name should be shorter and start with lowercase letter.\n */\nexport function TuiReplayControlValueChangesFactory<\n T extends TuiDayRange | TuiDay | [TuiDay | null, TuiTime | null],\n>(\n control: NgControl | null,\n valueTransformer?: TuiControlValueTransformer<T> | null,\n): Observable<T | null> | null {\n return control\n ? tuiReplayedValueChangesFrom(control).pipe(\n map(value =>\n valueTransformer\n ? valueTransformer.fromControlValue(value)\n : (value as T),\n ),\n )\n : of(null);\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;SAGgB,+BAA+B,CAC3C,YAOC;IAPD,6BAAA,EAAA;QACI,kBAAkB;QAClB,OAAO;QACP,WAAW;QACX,cAAc;QACd,eAAe;QACf,gBAAgB;KACnB;IAED,IAAM,KAAK,GAAG,MAAM,CAAC,YAAY,EAAE,CAAC;IACpC,IAAM,SAAS,GAAG,KAAK,CAAC,MAAM,CAAC,EAAC,GAAG,EAAE,CAAC,CAAC,EAAC,CAAC,CAAC;IAC1C,IAAM,WAAW,GAAG,KAAK,CAAC,MAAM,CAAC,EAAC,GAAG,EAAE,CAAC,KAAK,CAAC,SAAS,EAAE,EAAC,CAAC,CAAC;IAC5D,IAAM,SAAS,GAAG,WAAW,CAAC,MAAM,CAAC,EAAC,GAAG,EAAE,CAAC,EAAC,CAAC,CAAC;IAC/C,IAAM,YAAY,GAAG,KAAK,CAAC,MAAM,CAAC,EAAC,GAAG,EAAE,CAAC,GAAG,KAAK,CAAC,GAAG,EAAC,CAAC,CAAC;IACxD,IAAM,UAAU,GAAG,YAAY,C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AAC,EAAE,CAAC,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;YACrC,IAAM,IAAI,GAAG,IAAI,OAAO,CAAC,CAAC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC;YAExC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;SACxB;KACJ;IAED,OAAO,SAAS,CAAC;AACrB;;AClBA;;;SAGgB,YAAY,CAAC,GAAW;IAC9B,IAAA,sCAA8C,EAA3C,UAAiB,EAAjB,sCAA2C,CAAC;IAErD,OAAO,YAAY,CAAC,MAAM,CAAC;AAC/B;;SCPgB,MAAM,CAClB,KAAiD;IAEjD,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;AACpC;;ACOA;;;;SAIgB,mCAAmC,CAG/C,OAAyB,EACzB,gBAAuD;IAEvD,OAAO,OAAO;UACR,2BAA2B,CAAC,OAAO,CAAC,CAAC,IAAI,CACrC,GAAG,CAAC,UAAA,KAAK;YACL,OAAA,gBAAgB;kBACV,gBAAgB,CAAC,gBAAgB,CAAC,KAAK,CAAC;kBACvC,KAAW;SAAA,CACrB,CACJ;UACD,EAAE,CAAC,IAAI,CAAC,CAAC;AACnB;;AC9BA;;;;;;"}
1
+ {"version":3,"file":"taiga-ui-kit-utils-miscellaneous.js","sources":["ng://@taiga-ui/kit/utils/miscellaneous/create-default-day-range-periods.ts","ng://@taiga-ui/kit/utils/miscellaneous/create-time-periods.ts","ng://@taiga-ui/kit/utils/miscellaneous/get-precision.ts","ng://@taiga-ui/kit/utils/miscellaneous/is-flat.ts","ng://@taiga-ui/kit/utils/miscellaneous/replay-control-value-changes-factory.ts","ng://@taiga-ui/kit/utils/miscellaneous/taiga-ui-kit-utils-miscellaneous.ts"],"sourcesContent":["import {TUI_FIRST_DAY, TuiDay, TuiDayRange} from '@taiga-ui/cdk';\nimport {TuiDayRangePeriod} from '@taiga-ui/kit/classes';\n\nexport function tuiCreateDefaultDayRangePeriods(\n periodTitles: [string, string, string, string, string, string] = [\n 'For all the time',\n 'Today',\n 'Yesterday',\n 'Current week',\n 'Current month',\n 'Previous month',\n ],\n): readonly TuiDayRangePeriod[] {\n const today = TuiDay.currentLocal();\n const yesterday = today.append({day: -1});\n const startOfWeek = today.append({day: -today.dayOfWeek()});\n const endOfWeek = startOfWeek.append({day: 6});\n const startOfMonth = today.append({day: 1 - today.day});\n const endOfMonth = startOfMonth.append({month: 1, day: -1});\n const startOfLastMonth = startOfMonth.append({month: -1});\n\n return [\n new TuiDayRangePeriod(new TuiDayRange(TUI_FIRST_DAY, today), periodTitles[0]),\n new TuiDayRangePeriod(new TuiDayRange(today, today), periodTitles[1]),\n new TuiDayRangePeriod(new TuiDayRange(yesterday, yesterday), periodTitles[2]),\n new TuiDayRangePeriod(new TuiDayRange(startOfWeek, endOfWeek), periodTitles[3]),\n new TuiDayRangePeriod(new TuiDayRange(startOfMonth, endOfMonth), periodTitles[4]),\n new TuiDayRangePeriod(\n new TuiDayRange(startOfLastMonth, startOfMonth.append({day: -1})),\n periodTitles[5],\n ),\n ];\n}\n","import {HOURS_IN_DAY, TuiTime} from '@taiga-ui/cdk';\n\nexport function tuiCreateTimePeriods(\n minHour: number = 0,\n maxHour: number = HOURS_IN_DAY,\n minutes: readonly number[] = [0, 30],\n): readonly TuiTime[] {\n const timeArray: TuiTime[] = [];\n\n for (let i = minHour; i < maxHour; i++) {\n for (let j = 0; j < minutes.length; j++) {\n const time = new TuiTime(i, minutes[j]);\n\n timeArray.push(time);\n }\n }\n\n return timeArray;\n}\n","/**\n * @return fractional length\n */\nexport function getPrecision(num: number): number {\n const [, fractionPart = ''] = String(num).split('.');\n\n return fractionPart.length;\n}\n","export function isFlat<T>(\n items: readonly T[] | ReadonlyArray<readonly T[]>,\n): items is readonly T[] {\n return !Array.isArray(items[0]);\n}\n","import {NgControl} from '@angular/forms';\nimport {\n TuiControlValueTransformer,\n TuiDay,\n TuiDayRange,\n tuiReplayedValueChangesFrom,\n TuiTime,\n} from '@taiga-ui/cdk';\nimport {Observable, of} from 'rxjs';\nimport {map} from 'rxjs/operators';\n\n/**\n * @internal\n * TODO: 3.0 name should be shorter and start with lowercase letter.\n */\nexport function TuiReplayControlValueChangesFactory<\n T extends TuiDayRange | TuiDay | [TuiDay | null, TuiTime | null],\n>(\n control: NgControl | null,\n valueTransformer?: TuiControlValueTransformer<T> | null,\n): Observable<T | null> | null {\n return control\n ? tuiReplayedValueChangesFrom(control).pipe(\n map(value =>\n valueTransformer\n ? valueTransformer.fromControlValue(value)\n : (value as T),\n ),\n )\n : of(null);\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;SAGgB,+BAA+B,CAC3C,YAOC;IAPD,6BAAA,EAAA;QACI,kBAAkB;QAClB,OAAO;QACP,WAAW;QACX,cAAc;QACd,eAAe;QACf,gBAAgB;KACnB;IAED,IAAM,KAAK,GAAG,MAAM,CAAC,YAAY,EAAE,CAAC;IACpC,IAAM,SAAS,GAAG,KAAK,CAAC,MAAM,CAAC,EAAC,GAAG,EAAE,CAAC,CAAC,EAAC,CAAC,CAAC;IAC1C,IAAM,WAAW,GAAG,KAAK,CAAC,MAAM,CAAC,EAAC,GAAG,EAAE,CAAC,KAAK,CAAC,SAAS,EAAE,EAAC,CAAC,CAAC;IAC5D,IAAM,SAAS,GAAG,WAAW,CAAC,MAAM,CAAC,EAAC,GAAG,EAAE,CAAC,EAAC,CAAC,CAAC;IAC/C,IAAM,YAAY,GAAG,KAAK,CAAC,MAAM,CAAC,EAAC,GAAG,EAAE,CAAC,GAAG,KAAK,CAAC,GAAG,EAAC,CAAC,CAAC;IACxD,IAAM,UAAU,GAAG,YAAY,CAAC,MAAM,CAAC,EAAC,KAAK,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,CAAC,EAAC,CAAC,CAAC;IAC5D,IAAM,gBAAgB,GAAG,YAAY,CAAC,MAAM,CAAC,EAAC,KAAK,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C;YAExC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;SACxB;KACJ;IAED,OAAO,SAAS,CAAC;AACrB;;AClBA;;;SAGgB,YAAY,CAAC,GAAW;IAC9B,IAAA,sCAA8C,EAA3C,UAAiB,EAAjB,sCAA2C,CAAC;IAErD,OAAO,YAAY,CAAC,MAAM,CAAC;AAC/B;;SCPgB,MAAM,CAClB,KAAiD;IAEjD,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;AACpC;;ACOA;;;;SAIgB,mCAAmC,CAG/C,OAAyB,EACzB,gBAAuD;IAEvD,OAAO,OAAO;UACR,2BAA2B,CAAC,OAAO,CAAC,CAAC,IAAI,CACrC,GAAG,CAAC,UAAA,KAAK;YACL,OAAA,gBAAgB;kBACV,gBAAgB,CAAC,gBAAgB,CAAC,KAAK,CAAC;kBACvC,KAAW;SAAA,CACrB,CACJ;UACD,EAAE,CAAC,IAAI,CAAC,CAAC;AACnB;;AC9BA;;;;;;"}
@@ -1,6 +1,6 @@
1
1
  import { TuiWithOptionalMinMaxWithValue } from '@taiga-ui/core';
2
2
  /**
3
- * @deprecated TODO: get rid of this in v3.0
3
+ * @deprecated TODO: 3.0 get rid of this
4
4
  * @internal
5
5
  */
6
6
  export interface WithDateMaskPipeConfig<T, G> extends TuiWithOptionalMinMaxWithValue<T, G> {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taiga-ui/kit",
3
- "version": "2.45.0",
3
+ "version": "2.46.0",
4
4
  "description": "Taiga UI Angular main components kit",
5
5
  "keywords": [
6
6
  "angular",
@@ -24,9 +24,9 @@
24
24
  "@angular/router": ">=9.0.0",
25
25
  "@ng-web-apis/common": ">=1.12.1 < 2",
26
26
  "@ng-web-apis/mutation-observer": ">=1.1.0",
27
- "@taiga-ui/cdk": ">=2.45.0",
28
- "@taiga-ui/core": ">=2.45.0",
29
- "@taiga-ui/i18n": ">=2.45.0",
27
+ "@taiga-ui/cdk": ">=2.46.0",
28
+ "@taiga-ui/core": ">=2.46.0",
29
+ "@taiga-ui/i18n": ">=2.46.0",
30
30
  "@tinkoff/ng-polymorpheus": ">=3.1.12 < 4",
31
31
  "rxjs": ">=6.0.0"
32
32
  },
@@ -3,6 +3,6 @@ import { TuiControlValueTransformer, TuiDay, TuiDayRange, TuiTime } from '@taiga
3
3
  import { Observable } from 'rxjs';
4
4
  /**
5
5
  * @internal
6
- * TODO: rename function in 3.0. The name should be shorter and start with lowercase letter.
6
+ * TODO: 3.0 name should be shorter and start with lowercase letter.
7
7
  */
8
8
  export declare function TuiReplayControlValueChangesFactory<T extends TuiDayRange | TuiDay | [TuiDay | null, TuiTime | null]>(control: NgControl | null, valueTransformer?: TuiControlValueTransformer<T> | null): Observable<T | null> | null;