@taiga-ui/kit 2.31.0 → 2.35.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 (931) hide show
  1. package/abstract/taiga-ui-kit-abstract.metadata.json +1 -1
  2. package/bundles/taiga-ui-kit-abstract.umd.js +2 -2
  3. package/bundles/taiga-ui-kit-abstract.umd.js.map +1 -1
  4. package/bundles/taiga-ui-kit-abstract.umd.min.js +1 -1
  5. package/bundles/taiga-ui-kit-abstract.umd.min.js.map +1 -1
  6. package/bundles/taiga-ui-kit-components-accordion.umd.js +3 -3
  7. package/bundles/taiga-ui-kit-components-accordion.umd.js.map +1 -1
  8. package/bundles/taiga-ui-kit-components-accordion.umd.min.js +1 -1
  9. package/bundles/taiga-ui-kit-components-accordion.umd.min.js.map +1 -1
  10. package/bundles/taiga-ui-kit-components-arrow.umd.js +44 -8
  11. package/bundles/taiga-ui-kit-components-arrow.umd.js.map +1 -1
  12. package/bundles/taiga-ui-kit-components-arrow.umd.min.js +2 -2
  13. package/bundles/taiga-ui-kit-components-arrow.umd.min.js.map +1 -1
  14. package/bundles/taiga-ui-kit-components-avatar.umd.js +2 -2
  15. package/bundles/taiga-ui-kit-components-avatar.umd.js.map +1 -1
  16. package/bundles/taiga-ui-kit-components-avatar.umd.min.js +2 -2
  17. package/bundles/taiga-ui-kit-components-avatar.umd.min.js.map +1 -1
  18. package/bundles/taiga-ui-kit-components-badge.umd.js +2 -2
  19. package/bundles/taiga-ui-kit-components-badge.umd.js.map +1 -1
  20. package/bundles/taiga-ui-kit-components-badge.umd.min.js +1 -1
  21. package/bundles/taiga-ui-kit-components-badge.umd.min.js.map +1 -1
  22. package/bundles/taiga-ui-kit-components-badged-content.umd.js +2 -2
  23. package/bundles/taiga-ui-kit-components-badged-content.umd.js.map +1 -1
  24. package/bundles/taiga-ui-kit-components-badged-content.umd.min.js +2 -2
  25. package/bundles/taiga-ui-kit-components-badged-content.umd.min.js.map +1 -1
  26. package/bundles/taiga-ui-kit-components-breadcrumbs.umd.js +2 -2
  27. package/bundles/taiga-ui-kit-components-breadcrumbs.umd.js.map +1 -1
  28. package/bundles/taiga-ui-kit-components-breadcrumbs.umd.min.js +1 -1
  29. package/bundles/taiga-ui-kit-components-breadcrumbs.umd.min.js.map +1 -1
  30. package/bundles/taiga-ui-kit-components-calendar-month.umd.js +2 -2
  31. package/bundles/taiga-ui-kit-components-calendar-month.umd.js.map +1 -1
  32. package/bundles/taiga-ui-kit-components-calendar-month.umd.min.js +2 -2
  33. package/bundles/taiga-ui-kit-components-calendar-month.umd.min.js.map +1 -1
  34. package/bundles/taiga-ui-kit-components-carousel.umd.js +1 -1
  35. package/bundles/taiga-ui-kit-components-carousel.umd.js.map +1 -1
  36. package/bundles/taiga-ui-kit-components-carousel.umd.min.js +1 -1
  37. package/bundles/taiga-ui-kit-components-carousel.umd.min.js.map +1 -1
  38. package/bundles/taiga-ui-kit-components-checkbox-block.umd.js +2 -2
  39. package/bundles/taiga-ui-kit-components-checkbox-block.umd.js.map +1 -1
  40. package/bundles/taiga-ui-kit-components-checkbox-block.umd.min.js +2 -2
  41. package/bundles/taiga-ui-kit-components-checkbox-block.umd.min.js.map +1 -1
  42. package/bundles/taiga-ui-kit-components-checkbox-labeled.umd.js +2 -2
  43. package/bundles/taiga-ui-kit-components-checkbox-labeled.umd.js.map +1 -1
  44. package/bundles/taiga-ui-kit-components-checkbox-labeled.umd.min.js +1 -1
  45. package/bundles/taiga-ui-kit-components-checkbox-labeled.umd.min.js.map +1 -1
  46. package/bundles/taiga-ui-kit-components-checkbox.umd.js +2 -2
  47. package/bundles/taiga-ui-kit-components-checkbox.umd.js.map +1 -1
  48. package/bundles/taiga-ui-kit-components-checkbox.umd.min.js +1 -1
  49. package/bundles/taiga-ui-kit-components-checkbox.umd.min.js.map +1 -1
  50. package/bundles/taiga-ui-kit-components-combo-box.umd.js +128 -48
  51. package/bundles/taiga-ui-kit-components-combo-box.umd.js.map +1 -1
  52. package/bundles/taiga-ui-kit-components-combo-box.umd.min.js +2 -2
  53. package/bundles/taiga-ui-kit-components-combo-box.umd.min.js.map +1 -1
  54. package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.js +17 -11
  55. package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.js.map +1 -1
  56. package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.min.js +2 -2
  57. package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.min.js.map +1 -1
  58. package/bundles/taiga-ui-kit-components-field-error.umd.js +10 -15
  59. package/bundles/taiga-ui-kit-components-field-error.umd.js.map +1 -1
  60. package/bundles/taiga-ui-kit-components-field-error.umd.min.js +1 -1
  61. package/bundles/taiga-ui-kit-components-field-error.umd.min.js.map +1 -1
  62. package/bundles/taiga-ui-kit-components-filter.umd.js +2 -2
  63. package/bundles/taiga-ui-kit-components-filter.umd.js.map +1 -1
  64. package/bundles/taiga-ui-kit-components-filter.umd.min.js +1 -1
  65. package/bundles/taiga-ui-kit-components-filter.umd.min.js.map +1 -1
  66. package/bundles/taiga-ui-kit-components-input-copy.umd.js +47 -17
  67. package/bundles/taiga-ui-kit-components-input-copy.umd.js.map +1 -1
  68. package/bundles/taiga-ui-kit-components-input-copy.umd.min.js +2 -2
  69. package/bundles/taiga-ui-kit-components-input-copy.umd.min.js.map +1 -1
  70. package/bundles/taiga-ui-kit-components-input-count.umd.js +43 -5
  71. package/bundles/taiga-ui-kit-components-input-count.umd.js.map +1 -1
  72. package/bundles/taiga-ui-kit-components-input-count.umd.min.js +1 -1
  73. package/bundles/taiga-ui-kit-components-input-count.umd.min.js.map +1 -1
  74. package/bundles/taiga-ui-kit-components-input-date-range.umd.js +69 -25
  75. package/bundles/taiga-ui-kit-components-input-date-range.umd.js.map +1 -1
  76. package/bundles/taiga-ui-kit-components-input-date-range.umd.min.js +2 -2
  77. package/bundles/taiga-ui-kit-components-input-date-range.umd.min.js.map +1 -1
  78. package/bundles/taiga-ui-kit-components-input-date-time.umd.js +70 -26
  79. package/bundles/taiga-ui-kit-components-input-date-time.umd.js.map +1 -1
  80. package/bundles/taiga-ui-kit-components-input-date-time.umd.min.js +2 -2
  81. package/bundles/taiga-ui-kit-components-input-date-time.umd.min.js.map +1 -1
  82. package/bundles/taiga-ui-kit-components-input-date.umd.js +65 -25
  83. package/bundles/taiga-ui-kit-components-input-date.umd.js.map +1 -1
  84. package/bundles/taiga-ui-kit-components-input-date.umd.min.js +2 -2
  85. package/bundles/taiga-ui-kit-components-input-date.umd.min.js.map +1 -1
  86. package/bundles/taiga-ui-kit-components-input-inline.umd.js +2 -15
  87. package/bundles/taiga-ui-kit-components-input-inline.umd.js.map +1 -1
  88. package/bundles/taiga-ui-kit-components-input-inline.umd.min.js +1 -1
  89. package/bundles/taiga-ui-kit-components-input-inline.umd.min.js.map +1 -1
  90. package/bundles/taiga-ui-kit-components-input-month-range.umd.js +106 -34
  91. package/bundles/taiga-ui-kit-components-input-month-range.umd.js.map +1 -1
  92. package/bundles/taiga-ui-kit-components-input-month-range.umd.min.js +2 -2
  93. package/bundles/taiga-ui-kit-components-input-month-range.umd.min.js.map +1 -1
  94. package/bundles/taiga-ui-kit-components-input-month.umd.js +94 -24
  95. package/bundles/taiga-ui-kit-components-input-month.umd.js.map +1 -1
  96. package/bundles/taiga-ui-kit-components-input-month.umd.min.js +2 -2
  97. package/bundles/taiga-ui-kit-components-input-month.umd.min.js.map +1 -1
  98. package/bundles/taiga-ui-kit-components-input-number.umd.js +50 -4
  99. package/bundles/taiga-ui-kit-components-input-number.umd.js.map +1 -1
  100. package/bundles/taiga-ui-kit-components-input-number.umd.min.js +2 -2
  101. package/bundles/taiga-ui-kit-components-input-number.umd.min.js.map +1 -1
  102. package/bundles/taiga-ui-kit-components-input-password.umd.js +49 -3
  103. package/bundles/taiga-ui-kit-components-input-password.umd.js.map +1 -1
  104. package/bundles/taiga-ui-kit-components-input-password.umd.min.js +1 -1
  105. package/bundles/taiga-ui-kit-components-input-password.umd.min.js.map +1 -1
  106. package/bundles/taiga-ui-kit-components-input-phone-international.umd.js +14 -5
  107. package/bundles/taiga-ui-kit-components-input-phone-international.umd.js.map +1 -1
  108. package/bundles/taiga-ui-kit-components-input-phone-international.umd.min.js +1 -1
  109. package/bundles/taiga-ui-kit-components-input-phone-international.umd.min.js.map +1 -1
  110. package/bundles/taiga-ui-kit-components-input-phone.umd.js +64 -22
  111. package/bundles/taiga-ui-kit-components-input-phone.umd.js.map +1 -1
  112. package/bundles/taiga-ui-kit-components-input-phone.umd.min.js +2 -2
  113. package/bundles/taiga-ui-kit-components-input-phone.umd.min.js.map +1 -1
  114. package/bundles/taiga-ui-kit-components-input-range.umd.js +8 -5
  115. package/bundles/taiga-ui-kit-components-input-range.umd.js.map +1 -1
  116. package/bundles/taiga-ui-kit-components-input-range.umd.min.js +2 -2
  117. package/bundles/taiga-ui-kit-components-input-range.umd.min.js.map +1 -1
  118. package/bundles/taiga-ui-kit-components-input-slider.umd.js +8 -5
  119. package/bundles/taiga-ui-kit-components-input-slider.umd.js.map +1 -1
  120. package/bundles/taiga-ui-kit-components-input-slider.umd.min.js +2 -2
  121. package/bundles/taiga-ui-kit-components-input-slider.umd.min.js.map +1 -1
  122. package/bundles/taiga-ui-kit-components-input-tag.umd.js +53 -17
  123. package/bundles/taiga-ui-kit-components-input-tag.umd.js.map +1 -1
  124. package/bundles/taiga-ui-kit-components-input-tag.umd.min.js +2 -2
  125. package/bundles/taiga-ui-kit-components-input-tag.umd.min.js.map +1 -1
  126. package/bundles/taiga-ui-kit-components-input-time.umd.js +19 -7
  127. package/bundles/taiga-ui-kit-components-input-time.umd.js.map +1 -1
  128. package/bundles/taiga-ui-kit-components-input-time.umd.min.js +2 -2
  129. package/bundles/taiga-ui-kit-components-input-time.umd.min.js.map +1 -1
  130. package/bundles/taiga-ui-kit-components-input.umd.js +32 -3
  131. package/bundles/taiga-ui-kit-components-input.umd.js.map +1 -1
  132. package/bundles/taiga-ui-kit-components-input.umd.min.js +1 -1
  133. package/bundles/taiga-ui-kit-components-input.umd.min.js.map +1 -1
  134. package/bundles/taiga-ui-kit-components-line-clamp.umd.js +24 -14
  135. package/bundles/taiga-ui-kit-components-line-clamp.umd.js.map +1 -1
  136. package/bundles/taiga-ui-kit-components-line-clamp.umd.min.js +1 -1
  137. package/bundles/taiga-ui-kit-components-line-clamp.umd.min.js.map +1 -1
  138. package/bundles/taiga-ui-kit-components-marker-icon.umd.js +2 -2
  139. package/bundles/taiga-ui-kit-components-marker-icon.umd.js.map +1 -1
  140. package/bundles/taiga-ui-kit-components-marker-icon.umd.min.js +1 -1
  141. package/bundles/taiga-ui-kit-components-marker-icon.umd.min.js.map +1 -1
  142. package/bundles/taiga-ui-kit-components-multi-select.umd.js +67 -19
  143. package/bundles/taiga-ui-kit-components-multi-select.umd.js.map +1 -1
  144. package/bundles/taiga-ui-kit-components-multi-select.umd.min.js +2 -2
  145. package/bundles/taiga-ui-kit-components-multi-select.umd.min.js.map +1 -1
  146. package/bundles/taiga-ui-kit-components-progress.umd.js +140 -73
  147. package/bundles/taiga-ui-kit-components-progress.umd.js.map +1 -1
  148. package/bundles/taiga-ui-kit-components-progress.umd.min.js +2 -2
  149. package/bundles/taiga-ui-kit-components-progress.umd.min.js.map +1 -1
  150. package/bundles/taiga-ui-kit-components-radio-block.umd.js +2 -2
  151. package/bundles/taiga-ui-kit-components-radio-block.umd.js.map +1 -1
  152. package/bundles/taiga-ui-kit-components-radio-block.umd.min.js +1 -1
  153. package/bundles/taiga-ui-kit-components-radio-block.umd.min.js.map +1 -1
  154. package/bundles/taiga-ui-kit-components-radio-labeled.umd.js +2 -2
  155. package/bundles/taiga-ui-kit-components-radio-labeled.umd.js.map +1 -1
  156. package/bundles/taiga-ui-kit-components-radio-labeled.umd.min.js +1 -1
  157. package/bundles/taiga-ui-kit-components-radio-labeled.umd.min.js.map +1 -1
  158. package/bundles/taiga-ui-kit-components-radio-list.umd.js +2 -2
  159. package/bundles/taiga-ui-kit-components-radio-list.umd.js.map +1 -1
  160. package/bundles/taiga-ui-kit-components-radio-list.umd.min.js +1 -1
  161. package/bundles/taiga-ui-kit-components-radio-list.umd.min.js.map +1 -1
  162. package/bundles/taiga-ui-kit-components-radio.umd.js +7 -2
  163. package/bundles/taiga-ui-kit-components-radio.umd.js.map +1 -1
  164. package/bundles/taiga-ui-kit-components-radio.umd.min.js +1 -1
  165. package/bundles/taiga-ui-kit-components-radio.umd.min.js.map +1 -1
  166. package/bundles/taiga-ui-kit-components-range.umd.js +1 -1
  167. package/bundles/taiga-ui-kit-components-range.umd.min.js +1 -1
  168. package/bundles/taiga-ui-kit-components-range.umd.min.js.map +1 -1
  169. package/bundles/taiga-ui-kit-components-rating.umd.js +5 -0
  170. package/bundles/taiga-ui-kit-components-rating.umd.js.map +1 -1
  171. package/bundles/taiga-ui-kit-components-rating.umd.min.js +1 -1
  172. package/bundles/taiga-ui-kit-components-rating.umd.min.js.map +1 -1
  173. package/bundles/taiga-ui-kit-components-select.umd.js +107 -36
  174. package/bundles/taiga-ui-kit-components-select.umd.js.map +1 -1
  175. package/bundles/taiga-ui-kit-components-select.umd.min.js +2 -2
  176. package/bundles/taiga-ui-kit-components-select.umd.min.js.map +1 -1
  177. package/bundles/taiga-ui-kit-components-slider.umd.js +155 -27
  178. package/bundles/taiga-ui-kit-components-slider.umd.js.map +1 -1
  179. package/bundles/taiga-ui-kit-components-slider.umd.min.js +2 -2
  180. package/bundles/taiga-ui-kit-components-slider.umd.min.js.map +1 -1
  181. package/bundles/taiga-ui-kit-components-stepper.umd.js +1 -1
  182. package/bundles/taiga-ui-kit-components-stepper.umd.js.map +1 -1
  183. package/bundles/taiga-ui-kit-components-stepper.umd.min.js +1 -1
  184. package/bundles/taiga-ui-kit-components-stepper.umd.min.js.map +1 -1
  185. package/bundles/taiga-ui-kit-components-tabs.umd.js +1 -1
  186. package/bundles/taiga-ui-kit-components-tabs.umd.js.map +1 -1
  187. package/bundles/taiga-ui-kit-components-tabs.umd.min.js +1 -1
  188. package/bundles/taiga-ui-kit-components-tabs.umd.min.js.map +1 -1
  189. package/bundles/taiga-ui-kit-components-tag.umd.js +11 -5
  190. package/bundles/taiga-ui-kit-components-tag.umd.js.map +1 -1
  191. package/bundles/taiga-ui-kit-components-tag.umd.min.js +1 -1
  192. package/bundles/taiga-ui-kit-components-tag.umd.min.js.map +1 -1
  193. package/bundles/taiga-ui-kit-components-text-area.umd.js +6 -4
  194. package/bundles/taiga-ui-kit-components-text-area.umd.js.map +1 -1
  195. package/bundles/taiga-ui-kit-components-text-area.umd.min.js +1 -1
  196. package/bundles/taiga-ui-kit-components-text-area.umd.min.js.map +1 -1
  197. package/bundles/taiga-ui-kit-components-toggle.umd.js +7 -2
  198. package/bundles/taiga-ui-kit-components-toggle.umd.js.map +1 -1
  199. package/bundles/taiga-ui-kit-components-toggle.umd.min.js +1 -1
  200. package/bundles/taiga-ui-kit-components-toggle.umd.min.js.map +1 -1
  201. package/bundles/taiga-ui-kit-constants.umd.js +8 -0
  202. package/bundles/taiga-ui-kit-constants.umd.js.map +1 -1
  203. package/bundles/taiga-ui-kit-constants.umd.min.js +1 -1
  204. package/bundles/taiga-ui-kit-constants.umd.min.js.map +1 -1
  205. package/bundles/taiga-ui-kit-directives-lazy-loading.umd.js +1 -1
  206. package/bundles/taiga-ui-kit-directives-lazy-loading.umd.min.js +1 -1
  207. package/bundles/taiga-ui-kit-pipes-field-error.umd.js +421 -0
  208. package/bundles/taiga-ui-kit-pipes-field-error.umd.js.map +1 -0
  209. package/bundles/taiga-ui-kit-pipes-field-error.umd.min.js +16 -0
  210. package/bundles/taiga-ui-kit-pipes-field-error.umd.min.js.map +1 -0
  211. package/bundles/taiga-ui-kit-pipes.umd.js +12 -4
  212. package/bundles/taiga-ui-kit-pipes.umd.js.map +1 -1
  213. package/bundles/taiga-ui-kit-pipes.umd.min.js +1 -1
  214. package/bundles/taiga-ui-kit-providers.umd.js +31 -13
  215. package/bundles/taiga-ui-kit-providers.umd.js.map +1 -1
  216. package/bundles/taiga-ui-kit-providers.umd.min.js +1 -1
  217. package/bundles/taiga-ui-kit-providers.umd.min.js.map +1 -1
  218. package/bundles/taiga-ui-kit-tokens.umd.js +242 -4
  219. package/bundles/taiga-ui-kit-tokens.umd.js.map +1 -1
  220. package/bundles/taiga-ui-kit-tokens.umd.min.js +15 -1
  221. package/bundles/taiga-ui-kit-tokens.umd.min.js.map +1 -1
  222. package/bundles/taiga-ui-kit-utils-mask.umd.js +17 -8
  223. package/bundles/taiga-ui-kit-utils-mask.umd.js.map +1 -1
  224. package/bundles/taiga-ui-kit-utils-mask.umd.min.js +1 -1
  225. package/bundles/taiga-ui-kit-utils-mask.umd.min.js.map +1 -1
  226. package/bundles/taiga-ui-kit-utils-miscellaneous.umd.js +1 -1
  227. package/bundles/taiga-ui-kit-utils-miscellaneous.umd.js.map +1 -1
  228. package/bundles/taiga-ui-kit-utils-miscellaneous.umd.min.js +1 -1
  229. package/bundles/taiga-ui-kit-utils-miscellaneous.umd.min.js.map +1 -1
  230. package/components/accordion/taiga-ui-kit-components-accordion.metadata.json +1 -1
  231. package/components/arrow/arrow-options.d.ts +18 -0
  232. package/components/arrow/arrow.component.d.ts +5 -3
  233. package/components/arrow/index.d.ts +1 -0
  234. package/components/arrow/taiga-ui-kit-components-arrow.metadata.json +1 -1
  235. package/components/avatar/taiga-ui-kit-components-avatar.metadata.json +1 -1
  236. package/components/badge/taiga-ui-kit-components-badge.metadata.json +1 -1
  237. package/components/badged-content/taiga-ui-kit-components-badged-content.metadata.json +1 -1
  238. package/components/breadcrumbs/taiga-ui-kit-components-breadcrumbs.metadata.json +1 -1
  239. package/components/calendar-month/taiga-ui-kit-components-calendar-month.metadata.json +1 -1
  240. package/components/carousel/carousel-buttons.directive.d.ts +2 -2
  241. package/components/carousel/taiga-ui-kit-components-carousel.metadata.json +1 -1
  242. package/components/checkbox/checkbox.component.d.ts +2 -2
  243. package/components/checkbox/taiga-ui-kit-components-checkbox.metadata.json +1 -1
  244. package/components/checkbox-block/taiga-ui-kit-components-checkbox-block.metadata.json +1 -1
  245. package/components/checkbox-labeled/taiga-ui-kit-components-checkbox-labeled.metadata.json +1 -1
  246. package/components/combo-box/combo-box-strict.directive.d.ts +7 -0
  247. package/components/combo-box/combo-box.component.d.ts +11 -7
  248. package/components/combo-box/combo-box.directive.d.ts +6 -0
  249. package/components/combo-box/combo-box.providers.d.ts +2 -0
  250. package/components/combo-box/index.d.ts +3 -0
  251. package/components/combo-box/taiga-ui-kit-components-combo-box.metadata.json +1 -1
  252. package/components/data-list-wrapper/data-list-wrapper.component.d.ts +5 -3
  253. package/components/data-list-wrapper/taiga-ui-kit-components-data-list-wrapper.metadata.json +1 -1
  254. package/components/field-error/field-error.component.d.ts +1 -2
  255. package/components/field-error/field-error.module.d.ts +3 -0
  256. package/components/field-error/taiga-ui-kit-components-field-error.metadata.json +1 -1
  257. package/components/filter/taiga-ui-kit-components-filter.metadata.json +1 -1
  258. package/components/input/index.d.ts +1 -0
  259. package/components/input/input.directive.d.ts +5 -0
  260. package/components/input/taiga-ui-kit-components-input.metadata.json +1 -1
  261. package/components/input-copy/index.d.ts +2 -0
  262. package/components/input-copy/input-copy.directive.d.ts +5 -0
  263. package/components/input-copy/input-copy.providers.d.ts +2 -0
  264. package/components/input-copy/taiga-ui-kit-components-input-copy.metadata.json +1 -1
  265. package/components/input-count/index.d.ts +1 -0
  266. package/components/input-count/input-count-options.d.ts +10 -4
  267. package/components/input-count/input-count.component.d.ts +3 -3
  268. package/components/input-count/input-count.directive.d.ts +6 -0
  269. package/components/input-count/taiga-ui-kit-components-input-count.metadata.json +1 -1
  270. package/components/input-date/index.d.ts +2 -0
  271. package/components/input-date/input-date.component.d.ts +0 -1
  272. package/components/input-date/input-date.directive.d.ts +7 -0
  273. package/components/input-date/input-date.providers.d.ts +4 -0
  274. package/components/input-date/taiga-ui-kit-components-input-date.metadata.json +1 -1
  275. package/components/input-date-range/index.d.ts +2 -0
  276. package/components/input-date-range/input-date-range.component.d.ts +0 -1
  277. package/components/input-date-range/input-date-range.directive.d.ts +7 -0
  278. package/components/input-date-range/input-date-range.providers.d.ts +4 -0
  279. package/components/input-date-range/taiga-ui-kit-components-input-date-range.metadata.json +1 -1
  280. package/components/input-date-time/index.d.ts +2 -0
  281. package/components/input-date-time/input-date-time.component.d.ts +0 -1
  282. package/components/input-date-time/input-date-time.directive.d.ts +7 -0
  283. package/components/input-date-time/input-date-time.providers.d.ts +4 -0
  284. package/components/input-date-time/taiga-ui-kit-components-input-date-time.metadata.json +1 -1
  285. package/components/input-inline/input-inline.component.d.ts +0 -1
  286. package/components/input-inline/taiga-ui-kit-components-input-inline.metadata.json +1 -1
  287. package/components/input-month/index.d.ts +2 -0
  288. package/components/input-month/input-month.component.d.ts +4 -2
  289. package/components/input-month/input-month.directive.d.ts +14 -0
  290. package/components/input-month/input-month.providers.d.ts +2 -0
  291. package/components/input-month/taiga-ui-kit-components-input-month.metadata.json +1 -1
  292. package/components/input-month-range/index.d.ts +2 -0
  293. package/components/input-month-range/input-month-range.component.d.ts +4 -5
  294. package/components/input-month-range/input-month-range.directive.d.ts +14 -0
  295. package/components/input-month-range/input-month-range.providers.d.ts +2 -0
  296. package/components/input-month-range/taiga-ui-kit-components-input-month-range.metadata.json +1 -1
  297. package/components/input-number/index.d.ts +1 -0
  298. package/components/input-number/input-number.component.d.ts +1 -1
  299. package/components/input-number/input-number.directive.d.ts +10 -0
  300. package/components/input-number/taiga-ui-kit-components-input-number.metadata.json +1 -1
  301. package/components/input-password/index.d.ts +1 -0
  302. package/components/input-password/input-password-options.d.ts +10 -4
  303. package/components/input-password/input-password.component.d.ts +3 -3
  304. package/components/input-password/input-password.directive.d.ts +8 -0
  305. package/components/input-password/taiga-ui-kit-components-input-password.metadata.json +1 -1
  306. package/components/input-phone/index.d.ts +1 -0
  307. package/components/input-phone/input-phone.component.d.ts +1 -1
  308. package/components/input-phone/input-phone.directive.d.ts +10 -0
  309. package/components/input-phone/taiga-ui-kit-components-input-phone.metadata.json +1 -1
  310. package/components/input-phone-international/input-phone-international.component.d.ts +2 -1
  311. package/components/input-phone-international/taiga-ui-kit-components-input-phone-international.metadata.json +1 -1
  312. package/components/input-range/input-range.component.d.ts +2 -1
  313. package/components/input-range/taiga-ui-kit-components-input-range.metadata.json +1 -1
  314. package/components/input-slider/input-slider.component.d.ts +2 -1
  315. package/components/input-slider/taiga-ui-kit-components-input-slider.metadata.json +1 -1
  316. package/components/input-tag/index.d.ts +1 -0
  317. package/components/input-tag/input-tag-options.d.ts +7 -0
  318. package/components/input-tag/input-tag.component.d.ts +9 -4
  319. package/components/input-tag/taiga-ui-kit-components-input-tag.metadata.json +1 -1
  320. package/components/input-time/input-time-options.d.ts +13 -4
  321. package/components/input-time/input-time.component.d.ts +9 -9
  322. package/components/input-time/taiga-ui-kit-components-input-time.metadata.json +1 -1
  323. package/components/line-clamp/line-clamp.component.d.ts +7 -3
  324. package/components/line-clamp/taiga-ui-kit-components-line-clamp.metadata.json +1 -1
  325. package/components/marker-icon/taiga-ui-kit-components-marker-icon.metadata.json +1 -1
  326. package/components/multi-select/hide-selected.pipe.d.ts +1 -1
  327. package/components/multi-select/index.d.ts +1 -0
  328. package/components/multi-select/multi-select-options.d.ts +10 -0
  329. package/components/multi-select/multi-select.component.d.ts +17 -8
  330. package/components/multi-select/taiga-ui-kit-components-multi-select.metadata.json +1 -1
  331. package/components/progress/index.d.ts +4 -3
  332. package/components/progress/progress-bar/progress-color-segments.directive.d.ts +11 -0
  333. package/components/progress/taiga-ui-kit-components-progress.metadata.json +1 -1
  334. package/components/progress/{pipes → utils}/abstract-color-segments.d.ts +0 -0
  335. package/components/progress/utils/calculate-color-segments.d.ts +5 -0
  336. package/components/progress/{pipes → utils}/progress-color-segments-async.pipe.d.ts +5 -0
  337. package/components/progress/utils/progress-color-segments.pipe.d.ts +9 -0
  338. package/components/radio/radio-options.d.ts +10 -4
  339. package/components/radio/radio.component.d.ts +2 -2
  340. package/components/radio/taiga-ui-kit-components-radio.metadata.json +1 -1
  341. package/components/radio-block/taiga-ui-kit-components-radio-block.metadata.json +1 -1
  342. package/components/radio-labeled/taiga-ui-kit-components-radio-labeled.metadata.json +1 -1
  343. package/components/radio-list/taiga-ui-kit-components-radio-list.metadata.json +1 -1
  344. package/components/range/taiga-ui-kit-components-range.metadata.json +1 -1
  345. package/components/rating/rating-options.d.ts +2 -1
  346. package/components/rating/taiga-ui-kit-components-rating.metadata.json +1 -1
  347. package/components/select/index.d.ts +3 -0
  348. package/components/select/select-options.d.ts +9 -0
  349. package/components/select/select.component.d.ts +11 -5
  350. package/components/select/select.directive.d.ts +7 -0
  351. package/components/select/select.providers.d.ts +2 -0
  352. package/components/select/taiga-ui-kit-components-select.metadata.json +1 -1
  353. package/components/slider/index.d.ts +1 -0
  354. package/components/slider/slider-old.component.d.ts +19 -0
  355. package/components/slider/slider.component.d.ts +15 -13
  356. package/components/slider/taiga-ui-kit-components-slider.metadata.json +1 -1
  357. package/components/stepper/taiga-ui-kit-components-stepper.metadata.json +1 -1
  358. package/components/tabs/taiga-ui-kit-components-tabs.metadata.json +1 -1
  359. package/components/tag/tag.component.d.ts +1 -0
  360. package/components/tag/taiga-ui-kit-components-tag.metadata.json +1 -1
  361. package/components/text-area/taiga-ui-kit-components-text-area.metadata.json +1 -1
  362. package/components/toggle/taiga-ui-kit-components-toggle.metadata.json +1 -1
  363. package/components/toggle/toggle-options.d.ts +10 -4
  364. package/components/toggle/toggle.component.d.ts +3 -3
  365. package/constants/index.d.ts +1 -0
  366. package/constants/max-time-values.d.ts +2 -0
  367. package/constants/taiga-ui-kit-constants.metadata.json +1 -1
  368. package/directives/lazy-loading/index.d.ts +1 -0
  369. package/directives/lazy-loading/taiga-ui-kit-directives-lazy-loading.d.ts +0 -1
  370. package/directives/lazy-loading/taiga-ui-kit-directives-lazy-loading.metadata.json +1 -1
  371. package/esm2015/abstract/input-slider.js +2 -2
  372. package/esm2015/abstract/slider/slider.js +2 -2
  373. package/esm2015/components/accordion/accordion-item/accordion-item.component.js +3 -3
  374. package/esm2015/components/accordion/accordion.component.js +3 -3
  375. package/esm2015/components/arrow/arrow-options.js +28 -0
  376. package/esm2015/components/arrow/arrow.component.js +12 -8
  377. package/esm2015/components/arrow/arrow.module.js +3 -2
  378. package/esm2015/components/arrow/index.js +2 -1
  379. package/esm2015/components/avatar/avatar.component.js +3 -3
  380. package/esm2015/components/badge/badge.component.js +3 -3
  381. package/esm2015/components/badged-content/badged-content.component.js +3 -3
  382. package/esm2015/components/breadcrumbs/breadcrumbs.component.js +3 -3
  383. package/esm2015/components/calendar-month/calendar-month.component.js +3 -3
  384. package/esm2015/components/carousel/carousel-buttons.directive.js +1 -1
  385. package/esm2015/components/carousel/carousel.component.js +1 -1
  386. package/esm2015/components/checkbox/checkbox.component.js +3 -3
  387. package/esm2015/components/checkbox-block/checkbox-block.component.js +3 -3
  388. package/esm2015/components/checkbox-labeled/checkbox-labeled.component.js +3 -3
  389. package/esm2015/components/combo-box/combo-box-strict.directive.js +31 -0
  390. package/esm2015/components/combo-box/combo-box.component.js +40 -51
  391. package/esm2015/components/combo-box/combo-box.directive.js +25 -0
  392. package/esm2015/components/combo-box/combo-box.module.js +15 -4
  393. package/esm2015/components/combo-box/combo-box.providers.js +28 -0
  394. package/esm2015/components/combo-box/index.js +4 -1
  395. package/esm2015/components/data-list-wrapper/data-list-wrapper.component.js +17 -11
  396. package/esm2015/components/field-error/field-error.component.js +8 -12
  397. package/esm2015/components/field-error/field-error.module.js +6 -2
  398. package/esm2015/components/filter/filter.component.js +3 -3
  399. package/esm2015/components/input/index.js +2 -1
  400. package/esm2015/components/input/input.component.js +2 -2
  401. package/esm2015/components/input/input.directive.js +22 -0
  402. package/esm2015/components/input/input.module.js +5 -4
  403. package/esm2015/components/input/input.providers.js +6 -2
  404. package/esm2015/components/input-copy/index.js +3 -1
  405. package/esm2015/components/input-copy/input-copy.component.js +8 -15
  406. package/esm2015/components/input-copy/input-copy.directive.js +22 -0
  407. package/esm2015/components/input-copy/input-copy.module.js +5 -4
  408. package/esm2015/components/input-copy/input-copy.providers.js +16 -0
  409. package/esm2015/components/input-count/index.js +2 -1
  410. package/esm2015/components/input-count/input-count-options.js +5 -1
  411. package/esm2015/components/input-count/input-count.component.js +8 -4
  412. package/esm2015/components/input-count/input-count.directive.js +26 -0
  413. package/esm2015/components/input-count/input-count.module.js +5 -4
  414. package/esm2015/components/input-date/index.js +3 -1
  415. package/esm2015/components/input-date/input-date.component.js +9 -27
  416. package/esm2015/components/input-date/input-date.directive.js +28 -0
  417. package/esm2015/components/input-date/input-date.module.js +5 -4
  418. package/esm2015/components/input-date/input-date.providers.js +29 -0
  419. package/esm2015/components/input-date-range/index.js +3 -1
  420. package/esm2015/components/input-date-range/input-date-range.component.js +9 -27
  421. package/esm2015/components/input-date-range/input-date-range.directive.js +28 -0
  422. package/esm2015/components/input-date-range/input-date-range.module.js +9 -4
  423. package/esm2015/components/input-date-range/input-date-range.providers.js +29 -0
  424. package/esm2015/components/input-date-time/index.js +3 -1
  425. package/esm2015/components/input-date-time/input-date-time.component.js +10 -28
  426. package/esm2015/components/input-date-time/input-date-time.directive.js +28 -0
  427. package/esm2015/components/input-date-time/input-date-time.module.js +9 -4
  428. package/esm2015/components/input-date-time/input-date-time.providers.js +29 -0
  429. package/esm2015/components/input-inline/input-inline.component.js +4 -13
  430. package/esm2015/components/input-month/index.js +3 -1
  431. package/esm2015/components/input-month/input-month.component.js +19 -21
  432. package/esm2015/components/input-month/input-month.directive.js +55 -0
  433. package/esm2015/components/input-month/input-month.module.js +7 -6
  434. package/esm2015/components/input-month/input-month.providers.js +19 -0
  435. package/esm2015/components/input-month-range/index.js +3 -1
  436. package/esm2015/components/input-month-range/input-month-range.component.js +21 -33
  437. package/esm2015/components/input-month-range/input-month-range.directive.js +60 -0
  438. package/esm2015/components/input-month-range/input-month-range.module.js +11 -5
  439. package/esm2015/components/input-month-range/input-month-range.providers.js +19 -0
  440. package/esm2015/components/input-number/index.js +2 -1
  441. package/esm2015/components/input-number/input-number.component.js +8 -4
  442. package/esm2015/components/input-number/input-number.directive.js +35 -0
  443. package/esm2015/components/input-number/input-number.module.js +5 -4
  444. package/esm2015/components/input-password/index.js +2 -1
  445. package/esm2015/components/input-password/input-password-options.js +5 -1
  446. package/esm2015/components/input-password/input-password.component.js +7 -3
  447. package/esm2015/components/input-password/input-password.directive.js +30 -0
  448. package/esm2015/components/input-password/input-password.module.js +9 -4
  449. package/esm2015/components/input-phone/index.js +2 -1
  450. package/esm2015/components/input-phone/input-phone.component.js +13 -24
  451. package/esm2015/components/input-phone/input-phone.directive.js +35 -0
  452. package/esm2015/components/input-phone/input-phone.module.js +5 -4
  453. package/esm2015/components/input-phone/input-phone.providers.js +17 -3
  454. package/esm2015/components/input-phone-international/input-phone-international.component.js +11 -6
  455. package/esm2015/components/input-range/input-range.component.js +10 -7
  456. package/esm2015/components/input-slider/input-slider.component.js +10 -7
  457. package/esm2015/components/input-tag/index.js +2 -1
  458. package/esm2015/components/input-tag/input-tag-options.js +9 -0
  459. package/esm2015/components/input-tag/input-tag.component.js +40 -17
  460. package/esm2015/components/input-time/input-time-options.js +8 -1
  461. package/esm2015/components/input-time/input-time.component.js +10 -5
  462. package/esm2015/components/line-clamp/line-clamp.component.js +25 -15
  463. package/esm2015/components/marker-icon/marker-icon.component.js +3 -3
  464. package/esm2015/components/multi-select/hide-selected.pipe.js +4 -3
  465. package/esm2015/components/multi-select/index.js +2 -1
  466. package/esm2015/components/multi-select/multi-select-options.js +13 -0
  467. package/esm2015/components/multi-select/multi-select.component.js +42 -15
  468. package/esm2015/components/multi-select/multi-select.module.js +3 -1
  469. package/esm2015/components/progress/index.js +5 -4
  470. package/esm2015/components/progress/progress-bar/progress-color-segments.directive.js +48 -0
  471. package/esm2015/components/progress/progress.module.js +6 -3
  472. package/esm2015/components/progress/utils/abstract-color-segments.js +32 -0
  473. package/esm2015/components/progress/utils/calculate-color-segments.js +10 -0
  474. package/esm2015/components/progress/utils/progress-color-segments-async.pipe.js +21 -0
  475. package/esm2015/components/progress/utils/progress-color-segments.pipe.js +19 -0
  476. package/esm2015/components/radio/radio-options.js +5 -1
  477. package/esm2015/components/radio/radio.component.js +3 -3
  478. package/esm2015/components/radio-block/radio-block.component.js +3 -3
  479. package/esm2015/components/radio-labeled/radio-labeled.component.js +3 -3
  480. package/esm2015/components/radio-list/radio-list.component.js +3 -3
  481. package/esm2015/components/range/range.component.js +1 -1
  482. package/esm2015/components/rating/rating-options.js +5 -1
  483. package/esm2015/components/select/index.js +4 -1
  484. package/esm2015/components/select/select-options.js +12 -0
  485. package/esm2015/components/select/select.component.js +36 -39
  486. package/esm2015/components/select/select.directive.js +28 -0
  487. package/esm2015/components/select/select.module.js +5 -4
  488. package/esm2015/components/select/select.providers.js +28 -0
  489. package/esm2015/components/slider/index.js +2 -1
  490. package/esm2015/components/slider/slider-old.component.js +71 -0
  491. package/esm2015/components/slider/slider.component.js +78 -44
  492. package/esm2015/components/slider/slider.module.js +4 -3
  493. package/esm2015/components/stepper/step/step.component.js +3 -3
  494. package/esm2015/components/tabs/tab/tab.providers.js +3 -3
  495. package/esm2015/components/tag/tag.component.js +12 -6
  496. package/esm2015/components/text-area/text-area.component.js +7 -4
  497. package/esm2015/components/text-area/text-area.module.js +2 -3
  498. package/esm2015/components/toggle/toggle-options.js +5 -1
  499. package/esm2015/components/toggle/toggle.component.js +3 -3
  500. package/esm2015/constants/index.js +2 -1
  501. package/esm2015/constants/max-time-values.js +7 -0
  502. package/esm2015/directives/lazy-loading/index.js +2 -1
  503. package/esm2015/directives/lazy-loading/taiga-ui-kit-directives-lazy-loading.js +1 -2
  504. package/esm2015/pipes/field-error/field-error-content-pipe.js +35 -0
  505. package/esm2015/pipes/field-error/field-error-pipe.js +120 -0
  506. package/esm2015/pipes/field-error/field-error.module.js +14 -0
  507. package/esm2015/pipes/field-error/index.js +4 -0
  508. package/esm2015/pipes/field-error/taiga-ui-kit-pipes-field-error.js +5 -0
  509. package/esm2015/pipes/index.js +2 -1
  510. package/esm2015/providers/index.js +2 -1
  511. package/esm2015/providers/month-formatter.provider.js +17 -0
  512. package/esm2015/providers/value-accessor.provider.js +4 -3
  513. package/esm2015/tokens/index.js +3 -1
  514. package/esm2015/tokens/items-handlers.js +15 -0
  515. package/esm2015/tokens/month-formatter.js +3 -0
  516. package/esm2015/types/index.js +1 -1
  517. package/esm2015/types/time-format-parts.js +1 -0
  518. package/esm2015/utils/mask/create-auto-corrected-time-pipe.js +7 -6
  519. package/esm2015/utils/mask/create-time-mask.js +16 -8
  520. package/esm2015/utils/miscellaneous/get-precision.js +2 -2
  521. package/esm5/abstract/input-slider.js +2 -2
  522. package/esm5/abstract/slider/slider.js +2 -2
  523. package/esm5/components/accordion/accordion-item/accordion-item.component.js +3 -3
  524. package/esm5/components/accordion/accordion.component.js +3 -3
  525. package/esm5/components/arrow/arrow-options.js +29 -0
  526. package/esm5/components/arrow/arrow.component.js +12 -8
  527. package/esm5/components/arrow/arrow.module.js +3 -2
  528. package/esm5/components/arrow/index.js +2 -1
  529. package/esm5/components/avatar/avatar.component.js +3 -3
  530. package/esm5/components/badge/badge.component.js +3 -3
  531. package/esm5/components/badged-content/badged-content.component.js +3 -3
  532. package/esm5/components/breadcrumbs/breadcrumbs.component.js +3 -3
  533. package/esm5/components/calendar-month/calendar-month.component.js +3 -3
  534. package/esm5/components/carousel/carousel-buttons.directive.js +1 -1
  535. package/esm5/components/carousel/carousel.component.js +1 -1
  536. package/esm5/components/checkbox/checkbox.component.js +3 -3
  537. package/esm5/components/checkbox-block/checkbox-block.component.js +3 -3
  538. package/esm5/components/checkbox-labeled/checkbox-labeled.component.js +3 -3
  539. package/esm5/components/combo-box/combo-box-strict.directive.js +32 -0
  540. package/esm5/components/combo-box/combo-box.component.js +39 -51
  541. package/esm5/components/combo-box/combo-box.directive.js +35 -0
  542. package/esm5/components/combo-box/combo-box.module.js +15 -4
  543. package/esm5/components/combo-box/combo-box.providers.js +28 -0
  544. package/esm5/components/combo-box/index.js +4 -1
  545. package/esm5/components/data-list-wrapper/data-list-wrapper.component.js +18 -11
  546. package/esm5/components/field-error/field-error.component.js +8 -16
  547. package/esm5/components/field-error/field-error.module.js +6 -2
  548. package/esm5/components/filter/filter.component.js +3 -3
  549. package/esm5/components/input/index.js +2 -1
  550. package/esm5/components/input/input.component.js +2 -2
  551. package/esm5/components/input/input.directive.js +28 -0
  552. package/esm5/components/input/input.module.js +5 -4
  553. package/esm5/components/input/input.providers.js +6 -2
  554. package/esm5/components/input-copy/index.js +3 -1
  555. package/esm5/components/input-copy/input-copy.component.js +7 -15
  556. package/esm5/components/input-copy/input-copy.directive.js +28 -0
  557. package/esm5/components/input-copy/input-copy.module.js +5 -4
  558. package/esm5/components/input-copy/input-copy.providers.js +16 -0
  559. package/esm5/components/input-count/index.js +2 -1
  560. package/esm5/components/input-count/input-count-options.js +6 -1
  561. package/esm5/components/input-count/input-count.component.js +8 -4
  562. package/esm5/components/input-count/input-count.directive.js +32 -0
  563. package/esm5/components/input-count/input-count.module.js +5 -4
  564. package/esm5/components/input-date/index.js +3 -1
  565. package/esm5/components/input-date/input-date.component.js +8 -27
  566. package/esm5/components/input-date/input-date.directive.js +38 -0
  567. package/esm5/components/input-date/input-date.module.js +5 -4
  568. package/esm5/components/input-date/input-date.providers.js +29 -0
  569. package/esm5/components/input-date-range/index.js +3 -1
  570. package/esm5/components/input-date-range/input-date-range.component.js +8 -27
  571. package/esm5/components/input-date-range/input-date-range.directive.js +38 -0
  572. package/esm5/components/input-date-range/input-date-range.module.js +9 -4
  573. package/esm5/components/input-date-range/input-date-range.providers.js +29 -0
  574. package/esm5/components/input-date-time/index.js +3 -1
  575. package/esm5/components/input-date-time/input-date-time.component.js +9 -28
  576. package/esm5/components/input-date-time/input-date-time.directive.js +38 -0
  577. package/esm5/components/input-date-time/input-date-time.module.js +9 -4
  578. package/esm5/components/input-date-time/input-date-time.providers.js +29 -0
  579. package/esm5/components/input-inline/input-inline.component.js +4 -17
  580. package/esm5/components/input-month/index.js +3 -1
  581. package/esm5/components/input-month/input-month.component.js +18 -21
  582. package/esm5/components/input-month/input-month.directive.js +67 -0
  583. package/esm5/components/input-month/input-month.module.js +7 -6
  584. package/esm5/components/input-month/input-month.providers.js +19 -0
  585. package/esm5/components/input-month-range/index.js +3 -1
  586. package/esm5/components/input-month-range/input-month-range.component.js +20 -34
  587. package/esm5/components/input-month-range/input-month-range.directive.js +74 -0
  588. package/esm5/components/input-month-range/input-month-range.module.js +11 -5
  589. package/esm5/components/input-month-range/input-month-range.providers.js +19 -0
  590. package/esm5/components/input-number/index.js +2 -1
  591. package/esm5/components/input-number/input-number.component.js +8 -4
  592. package/esm5/components/input-number/input-number.directive.js +45 -0
  593. package/esm5/components/input-number/input-number.module.js +5 -4
  594. package/esm5/components/input-password/index.js +2 -1
  595. package/esm5/components/input-password/input-password-options.js +6 -1
  596. package/esm5/components/input-password/input-password.component.js +7 -3
  597. package/esm5/components/input-password/input-password.directive.js +36 -0
  598. package/esm5/components/input-password/input-password.module.js +9 -4
  599. package/esm5/components/input-phone/index.js +2 -1
  600. package/esm5/components/input-phone/input-phone.component.js +12 -24
  601. package/esm5/components/input-phone/input-phone.directive.js +45 -0
  602. package/esm5/components/input-phone/input-phone.module.js +5 -4
  603. package/esm5/components/input-phone/input-phone.providers.js +17 -3
  604. package/esm5/components/input-phone-international/input-phone-international.component.js +15 -6
  605. package/esm5/components/input-range/input-range.component.js +10 -7
  606. package/esm5/components/input-slider/input-slider.component.js +10 -7
  607. package/esm5/components/input-tag/index.js +2 -1
  608. package/esm5/components/input-tag/input-tag-options.js +9 -0
  609. package/esm5/components/input-tag/input-tag.component.js +45 -18
  610. package/esm5/components/input-time/input-time-options.js +9 -1
  611. package/esm5/components/input-time/input-time.component.js +10 -5
  612. package/esm5/components/line-clamp/line-clamp.component.js +26 -16
  613. package/esm5/components/marker-icon/marker-icon.component.js +3 -3
  614. package/esm5/components/multi-select/hide-selected.pipe.js +4 -4
  615. package/esm5/components/multi-select/index.js +2 -1
  616. package/esm5/components/multi-select/multi-select-options.js +14 -0
  617. package/esm5/components/multi-select/multi-select.component.js +50 -15
  618. package/esm5/components/multi-select/multi-select.module.js +3 -1
  619. package/esm5/components/progress/index.js +5 -4
  620. package/esm5/components/progress/progress-bar/progress-color-segments.directive.js +56 -0
  621. package/esm5/components/progress/progress.module.js +6 -3
  622. package/esm5/components/progress/utils/abstract-color-segments.js +33 -0
  623. package/esm5/components/progress/utils/calculate-color-segments.js +12 -0
  624. package/esm5/components/progress/utils/progress-color-segments-async.pipe.js +27 -0
  625. package/esm5/components/progress/utils/progress-color-segments.pipe.js +24 -0
  626. package/esm5/components/radio/radio-options.js +6 -1
  627. package/esm5/components/radio/radio.component.js +3 -3
  628. package/esm5/components/radio-block/radio-block.component.js +3 -3
  629. package/esm5/components/radio-labeled/radio-labeled.component.js +3 -3
  630. package/esm5/components/radio-list/radio-list.component.js +3 -3
  631. package/esm5/components/range/range.component.js +1 -1
  632. package/esm5/components/rating/rating-options.js +6 -1
  633. package/esm5/components/select/index.js +4 -1
  634. package/esm5/components/select/select-options.js +13 -0
  635. package/esm5/components/select/select.component.js +35 -39
  636. package/esm5/components/select/select.directive.js +42 -0
  637. package/esm5/components/select/select.module.js +5 -4
  638. package/esm5/components/select/select.providers.js +28 -0
  639. package/esm5/components/slider/index.js +2 -1
  640. package/esm5/components/slider/slider-old.component.js +90 -0
  641. package/esm5/components/slider/slider.component.js +95 -51
  642. package/esm5/components/slider/slider.module.js +4 -3
  643. package/esm5/components/stepper/step/step.component.js +3 -3
  644. package/esm5/components/tabs/tab/tab.providers.js +3 -3
  645. package/esm5/components/tag/tag.component.js +12 -6
  646. package/esm5/components/text-area/text-area.component.js +7 -4
  647. package/esm5/components/text-area/text-area.module.js +2 -3
  648. package/esm5/components/toggle/toggle-options.js +6 -1
  649. package/esm5/components/toggle/toggle.component.js +3 -3
  650. package/esm5/constants/index.js +2 -1
  651. package/esm5/constants/max-time-values.js +7 -0
  652. package/esm5/directives/lazy-loading/index.js +2 -1
  653. package/esm5/directives/lazy-loading/taiga-ui-kit-directives-lazy-loading.js +1 -2
  654. package/esm5/pipes/field-error/field-error-content-pipe.js +36 -0
  655. package/esm5/pipes/field-error/field-error-pipe.js +153 -0
  656. package/esm5/pipes/field-error/field-error.module.js +17 -0
  657. package/esm5/pipes/field-error/index.js +4 -0
  658. package/esm5/pipes/field-error/taiga-ui-kit-pipes-field-error.js +5 -0
  659. package/esm5/pipes/index.js +2 -1
  660. package/esm5/providers/index.js +2 -1
  661. package/esm5/providers/month-formatter.provider.js +19 -0
  662. package/esm5/providers/value-accessor.provider.js +4 -3
  663. package/esm5/tokens/index.js +3 -1
  664. package/esm5/tokens/items-handlers.js +16 -0
  665. package/esm5/tokens/month-formatter.js +3 -0
  666. package/esm5/types/index.js +1 -1
  667. package/esm5/types/time-format-parts.js +1 -0
  668. package/esm5/utils/mask/create-auto-corrected-time-pipe.js +8 -5
  669. package/esm5/utils/mask/create-time-mask.js +15 -7
  670. package/esm5/utils/miscellaneous/get-precision.js +2 -2
  671. package/fesm2015/taiga-ui-kit-abstract.js +2 -2
  672. package/fesm2015/taiga-ui-kit-abstract.js.map +1 -1
  673. package/fesm2015/taiga-ui-kit-components-accordion.js +4 -4
  674. package/fesm2015/taiga-ui-kit-components-accordion.js.map +1 -1
  675. package/fesm2015/taiga-ui-kit-components-arrow.js +40 -11
  676. package/fesm2015/taiga-ui-kit-components-arrow.js.map +1 -1
  677. package/fesm2015/taiga-ui-kit-components-avatar.js +2 -2
  678. package/fesm2015/taiga-ui-kit-components-avatar.js.map +1 -1
  679. package/fesm2015/taiga-ui-kit-components-badge.js +2 -2
  680. package/fesm2015/taiga-ui-kit-components-badge.js.map +1 -1
  681. package/fesm2015/taiga-ui-kit-components-badged-content.js +2 -2
  682. package/fesm2015/taiga-ui-kit-components-badged-content.js.map +1 -1
  683. package/fesm2015/taiga-ui-kit-components-breadcrumbs.js +2 -2
  684. package/fesm2015/taiga-ui-kit-components-breadcrumbs.js.map +1 -1
  685. package/fesm2015/taiga-ui-kit-components-calendar-month.js +2 -2
  686. package/fesm2015/taiga-ui-kit-components-calendar-month.js.map +1 -1
  687. package/fesm2015/taiga-ui-kit-components-carousel.js +1 -1
  688. package/fesm2015/taiga-ui-kit-components-carousel.js.map +1 -1
  689. package/fesm2015/taiga-ui-kit-components-checkbox-block.js +2 -2
  690. package/fesm2015/taiga-ui-kit-components-checkbox-block.js.map +1 -1
  691. package/fesm2015/taiga-ui-kit-components-checkbox-labeled.js +2 -2
  692. package/fesm2015/taiga-ui-kit-components-checkbox-labeled.js.map +1 -1
  693. package/fesm2015/taiga-ui-kit-components-checkbox.js +2 -2
  694. package/fesm2015/taiga-ui-kit-components-checkbox.js.map +1 -1
  695. package/fesm2015/taiga-ui-kit-components-combo-box.js +117 -49
  696. package/fesm2015/taiga-ui-kit-components-combo-box.js.map +1 -1
  697. package/fesm2015/taiga-ui-kit-components-data-list-wrapper.js +16 -10
  698. package/fesm2015/taiga-ui-kit-components-data-list-wrapper.js.map +1 -1
  699. package/fesm2015/taiga-ui-kit-components-field-error.js +12 -13
  700. package/fesm2015/taiga-ui-kit-components-field-error.js.map +1 -1
  701. package/fesm2015/taiga-ui-kit-components-filter.js +2 -2
  702. package/fesm2015/taiga-ui-kit-components-filter.js.map +1 -1
  703. package/fesm2015/taiga-ui-kit-components-input-copy.js +41 -18
  704. package/fesm2015/taiga-ui-kit-components-input-copy.js.map +1 -1
  705. package/fesm2015/taiga-ui-kit-components-input-count.js +38 -8
  706. package/fesm2015/taiga-ui-kit-components-input-count.js.map +1 -1
  707. package/fesm2015/taiga-ui-kit-components-input-date-range.js +61 -28
  708. package/fesm2015/taiga-ui-kit-components-input-date-range.js.map +1 -1
  709. package/fesm2015/taiga-ui-kit-components-input-date-time.js +62 -29
  710. package/fesm2015/taiga-ui-kit-components-input-date-time.js.map +1 -1
  711. package/fesm2015/taiga-ui-kit-components-input-date.js +57 -28
  712. package/fesm2015/taiga-ui-kit-components-input-date.js.map +1 -1
  713. package/fesm2015/taiga-ui-kit-components-input-inline.js +3 -12
  714. package/fesm2015/taiga-ui-kit-components-input-inline.js.map +1 -1
  715. package/fesm2015/taiga-ui-kit-components-input-month-range.js +95 -35
  716. package/fesm2015/taiga-ui-kit-components-input-month-range.js.map +1 -1
  717. package/fesm2015/taiga-ui-kit-components-input-month.js +85 -25
  718. package/fesm2015/taiga-ui-kit-components-input-month.js.map +1 -1
  719. package/fesm2015/taiga-ui-kit-components-input-number.js +43 -8
  720. package/fesm2015/taiga-ui-kit-components-input-number.js.map +1 -1
  721. package/fesm2015/taiga-ui-kit-components-input-password.js +44 -6
  722. package/fesm2015/taiga-ui-kit-components-input-password.js.map +1 -1
  723. package/fesm2015/taiga-ui-kit-components-input-phone-international.js +10 -5
  724. package/fesm2015/taiga-ui-kit-components-input-phone-international.js.map +1 -1
  725. package/fesm2015/taiga-ui-kit-components-input-phone.js +58 -26
  726. package/fesm2015/taiga-ui-kit-components-input-phone.js.map +1 -1
  727. package/fesm2015/taiga-ui-kit-components-input-range.js +9 -6
  728. package/fesm2015/taiga-ui-kit-components-input-range.js.map +1 -1
  729. package/fesm2015/taiga-ui-kit-components-input-slider.js +9 -6
  730. package/fesm2015/taiga-ui-kit-components-input-slider.js.map +1 -1
  731. package/fesm2015/taiga-ui-kit-components-input-tag.js +48 -18
  732. package/fesm2015/taiga-ui-kit-components-input-tag.js.map +1 -1
  733. package/fesm2015/taiga-ui-kit-components-input-time.js +16 -4
  734. package/fesm2015/taiga-ui-kit-components-input-time.js.map +1 -1
  735. package/fesm2015/taiga-ui-kit-components-input.js +28 -6
  736. package/fesm2015/taiga-ui-kit-components-input.js.map +1 -1
  737. package/fesm2015/taiga-ui-kit-components-line-clamp.js +24 -14
  738. package/fesm2015/taiga-ui-kit-components-line-clamp.js.map +1 -1
  739. package/fesm2015/taiga-ui-kit-components-marker-icon.js +2 -2
  740. package/fesm2015/taiga-ui-kit-components-marker-icon.js.map +1 -1
  741. package/fesm2015/taiga-ui-kit-components-multi-select.js +58 -18
  742. package/fesm2015/taiga-ui-kit-components-multi-select.js.map +1 -1
  743. package/fesm2015/taiga-ui-kit-components-progress.js +113 -55
  744. package/fesm2015/taiga-ui-kit-components-progress.js.map +1 -1
  745. package/fesm2015/taiga-ui-kit-components-radio-block.js +2 -2
  746. package/fesm2015/taiga-ui-kit-components-radio-block.js.map +1 -1
  747. package/fesm2015/taiga-ui-kit-components-radio-labeled.js +2 -2
  748. package/fesm2015/taiga-ui-kit-components-radio-labeled.js.map +1 -1
  749. package/fesm2015/taiga-ui-kit-components-radio-list.js +2 -2
  750. package/fesm2015/taiga-ui-kit-components-radio-list.js.map +1 -1
  751. package/fesm2015/taiga-ui-kit-components-radio.js +7 -3
  752. package/fesm2015/taiga-ui-kit-components-radio.js.map +1 -1
  753. package/fesm2015/taiga-ui-kit-components-range.js +1 -1
  754. package/fesm2015/taiga-ui-kit-components-rating.js +5 -1
  755. package/fesm2015/taiga-ui-kit-components-rating.js.map +1 -1
  756. package/fesm2015/taiga-ui-kit-components-select.js +91 -37
  757. package/fesm2015/taiga-ui-kit-components-select.js.map +1 -1
  758. package/fesm2015/taiga-ui-kit-components-slider.js +114 -14
  759. package/fesm2015/taiga-ui-kit-components-slider.js.map +1 -1
  760. package/fesm2015/taiga-ui-kit-components-stepper.js +2 -2
  761. package/fesm2015/taiga-ui-kit-components-stepper.js.map +1 -1
  762. package/fesm2015/taiga-ui-kit-components-tabs.js +2 -2
  763. package/fesm2015/taiga-ui-kit-components-tabs.js.map +1 -1
  764. package/fesm2015/taiga-ui-kit-components-tag.js +11 -5
  765. package/fesm2015/taiga-ui-kit-components-tag.js.map +1 -1
  766. package/fesm2015/taiga-ui-kit-components-text-area.js +7 -5
  767. package/fesm2015/taiga-ui-kit-components-text-area.js.map +1 -1
  768. package/fesm2015/taiga-ui-kit-components-toggle.js +7 -3
  769. package/fesm2015/taiga-ui-kit-components-toggle.js.map +1 -1
  770. package/fesm2015/taiga-ui-kit-constants.js +8 -1
  771. package/fesm2015/taiga-ui-kit-constants.js.map +1 -1
  772. package/fesm2015/taiga-ui-kit-directives-lazy-loading.js +1 -1
  773. package/fesm2015/taiga-ui-kit-directives-lazy-loading.js.map +1 -1
  774. package/fesm2015/taiga-ui-kit-pipes-field-error.js +166 -0
  775. package/fesm2015/taiga-ui-kit-pipes-field-error.js.map +1 -0
  776. package/fesm2015/taiga-ui-kit-pipes.js +1 -0
  777. package/fesm2015/taiga-ui-kit-pipes.js.map +1 -1
  778. package/fesm2015/taiga-ui-kit-providers.js +19 -4
  779. package/fesm2015/taiga-ui-kit-providers.js.map +1 -1
  780. package/fesm2015/taiga-ui-kit-tokens.js +17 -1
  781. package/fesm2015/taiga-ui-kit-tokens.js.map +1 -1
  782. package/fesm2015/taiga-ui-kit-utils-mask.js +20 -12
  783. package/fesm2015/taiga-ui-kit-utils-mask.js.map +1 -1
  784. package/fesm2015/taiga-ui-kit-utils-miscellaneous.js +1 -1
  785. package/fesm2015/taiga-ui-kit-utils-miscellaneous.js.map +1 -1
  786. package/fesm5/taiga-ui-kit-abstract.js +2 -2
  787. package/fesm5/taiga-ui-kit-abstract.js.map +1 -1
  788. package/fesm5/taiga-ui-kit-components-accordion.js +4 -4
  789. package/fesm5/taiga-ui-kit-components-accordion.js.map +1 -1
  790. package/fesm5/taiga-ui-kit-components-arrow.js +41 -12
  791. package/fesm5/taiga-ui-kit-components-arrow.js.map +1 -1
  792. package/fesm5/taiga-ui-kit-components-avatar.js +2 -2
  793. package/fesm5/taiga-ui-kit-components-avatar.js.map +1 -1
  794. package/fesm5/taiga-ui-kit-components-badge.js +2 -2
  795. package/fesm5/taiga-ui-kit-components-badge.js.map +1 -1
  796. package/fesm5/taiga-ui-kit-components-badged-content.js +2 -2
  797. package/fesm5/taiga-ui-kit-components-badged-content.js.map +1 -1
  798. package/fesm5/taiga-ui-kit-components-breadcrumbs.js +2 -2
  799. package/fesm5/taiga-ui-kit-components-breadcrumbs.js.map +1 -1
  800. package/fesm5/taiga-ui-kit-components-calendar-month.js +2 -2
  801. package/fesm5/taiga-ui-kit-components-calendar-month.js.map +1 -1
  802. package/fesm5/taiga-ui-kit-components-carousel.js +1 -1
  803. package/fesm5/taiga-ui-kit-components-carousel.js.map +1 -1
  804. package/fesm5/taiga-ui-kit-components-checkbox-block.js +2 -2
  805. package/fesm5/taiga-ui-kit-components-checkbox-block.js.map +1 -1
  806. package/fesm5/taiga-ui-kit-components-checkbox-labeled.js +2 -2
  807. package/fesm5/taiga-ui-kit-components-checkbox-labeled.js.map +1 -1
  808. package/fesm5/taiga-ui-kit-components-checkbox.js +2 -2
  809. package/fesm5/taiga-ui-kit-components-checkbox.js.map +1 -1
  810. package/fesm5/taiga-ui-kit-components-combo-box.js +127 -49
  811. package/fesm5/taiga-ui-kit-components-combo-box.js.map +1 -1
  812. package/fesm5/taiga-ui-kit-components-data-list-wrapper.js +17 -10
  813. package/fesm5/taiga-ui-kit-components-data-list-wrapper.js.map +1 -1
  814. package/fesm5/taiga-ui-kit-components-field-error.js +12 -17
  815. package/fesm5/taiga-ui-kit-components-field-error.js.map +1 -1
  816. package/fesm5/taiga-ui-kit-components-filter.js +2 -2
  817. package/fesm5/taiga-ui-kit-components-filter.js.map +1 -1
  818. package/fesm5/taiga-ui-kit-components-input-copy.js +46 -18
  819. package/fesm5/taiga-ui-kit-components-input-copy.js.map +1 -1
  820. package/fesm5/taiga-ui-kit-components-input-count.js +45 -9
  821. package/fesm5/taiga-ui-kit-components-input-count.js.map +1 -1
  822. package/fesm5/taiga-ui-kit-components-input-date-range.js +70 -28
  823. package/fesm5/taiga-ui-kit-components-input-date-range.js.map +1 -1
  824. package/fesm5/taiga-ui-kit-components-input-date-time.js +71 -29
  825. package/fesm5/taiga-ui-kit-components-input-date-time.js.map +1 -1
  826. package/fesm5/taiga-ui-kit-components-input-date.js +66 -28
  827. package/fesm5/taiga-ui-kit-components-input-date.js.map +1 -1
  828. package/fesm5/taiga-ui-kit-components-input-inline.js +3 -16
  829. package/fesm5/taiga-ui-kit-components-input-inline.js.map +1 -1
  830. package/fesm5/taiga-ui-kit-components-input-month-range.js +109 -37
  831. package/fesm5/taiga-ui-kit-components-input-month-range.js.map +1 -1
  832. package/fesm5/taiga-ui-kit-components-input-month.js +96 -25
  833. package/fesm5/taiga-ui-kit-components-input-month.js.map +1 -1
  834. package/fesm5/taiga-ui-kit-components-input-number.js +53 -8
  835. package/fesm5/taiga-ui-kit-components-input-number.js.map +1 -1
  836. package/fesm5/taiga-ui-kit-components-input-password.js +51 -7
  837. package/fesm5/taiga-ui-kit-components-input-password.js.map +1 -1
  838. package/fesm5/taiga-ui-kit-components-input-phone-international.js +14 -5
  839. package/fesm5/taiga-ui-kit-components-input-phone-international.js.map +1 -1
  840. package/fesm5/taiga-ui-kit-components-input-phone.js +67 -26
  841. package/fesm5/taiga-ui-kit-components-input-phone.js.map +1 -1
  842. package/fesm5/taiga-ui-kit-components-input-range.js +9 -6
  843. package/fesm5/taiga-ui-kit-components-input-range.js.map +1 -1
  844. package/fesm5/taiga-ui-kit-components-input-slider.js +9 -6
  845. package/fesm5/taiga-ui-kit-components-input-slider.js.map +1 -1
  846. package/fesm5/taiga-ui-kit-components-input-tag.js +53 -19
  847. package/fesm5/taiga-ui-kit-components-input-tag.js.map +1 -1
  848. package/fesm5/taiga-ui-kit-components-input-time.js +17 -5
  849. package/fesm5/taiga-ui-kit-components-input-time.js.map +1 -1
  850. package/fesm5/taiga-ui-kit-components-input.js +35 -7
  851. package/fesm5/taiga-ui-kit-components-input.js.map +1 -1
  852. package/fesm5/taiga-ui-kit-components-line-clamp.js +25 -15
  853. package/fesm5/taiga-ui-kit-components-line-clamp.js.map +1 -1
  854. package/fesm5/taiga-ui-kit-components-marker-icon.js +2 -2
  855. package/fesm5/taiga-ui-kit-components-marker-icon.js.map +1 -1
  856. package/fesm5/taiga-ui-kit-components-multi-select.js +67 -20
  857. package/fesm5/taiga-ui-kit-components-multi-select.js.map +1 -1
  858. package/fesm5/taiga-ui-kit-components-progress.js +135 -69
  859. package/fesm5/taiga-ui-kit-components-progress.js.map +1 -1
  860. package/fesm5/taiga-ui-kit-components-radio-block.js +2 -2
  861. package/fesm5/taiga-ui-kit-components-radio-block.js.map +1 -1
  862. package/fesm5/taiga-ui-kit-components-radio-labeled.js +2 -2
  863. package/fesm5/taiga-ui-kit-components-radio-labeled.js.map +1 -1
  864. package/fesm5/taiga-ui-kit-components-radio-list.js +2 -2
  865. package/fesm5/taiga-ui-kit-components-radio-list.js.map +1 -1
  866. package/fesm5/taiga-ui-kit-components-radio.js +8 -4
  867. package/fesm5/taiga-ui-kit-components-radio.js.map +1 -1
  868. package/fesm5/taiga-ui-kit-components-range.js +1 -1
  869. package/fesm5/taiga-ui-kit-components-rating.js +6 -2
  870. package/fesm5/taiga-ui-kit-components-rating.js.map +1 -1
  871. package/fesm5/taiga-ui-kit-components-select.js +105 -38
  872. package/fesm5/taiga-ui-kit-components-select.js.map +1 -1
  873. package/fesm5/taiga-ui-kit-components-slider.js +155 -26
  874. package/fesm5/taiga-ui-kit-components-slider.js.map +1 -1
  875. package/fesm5/taiga-ui-kit-components-stepper.js +2 -2
  876. package/fesm5/taiga-ui-kit-components-stepper.js.map +1 -1
  877. package/fesm5/taiga-ui-kit-components-tabs.js +2 -2
  878. package/fesm5/taiga-ui-kit-components-tabs.js.map +1 -1
  879. package/fesm5/taiga-ui-kit-components-tag.js +11 -5
  880. package/fesm5/taiga-ui-kit-components-tag.js.map +1 -1
  881. package/fesm5/taiga-ui-kit-components-text-area.js +7 -5
  882. package/fesm5/taiga-ui-kit-components-text-area.js.map +1 -1
  883. package/fesm5/taiga-ui-kit-components-toggle.js +8 -4
  884. package/fesm5/taiga-ui-kit-components-toggle.js.map +1 -1
  885. package/fesm5/taiga-ui-kit-constants.js +8 -1
  886. package/fesm5/taiga-ui-kit-constants.js.map +1 -1
  887. package/fesm5/taiga-ui-kit-directives-lazy-loading.js +1 -1
  888. package/fesm5/taiga-ui-kit-directives-lazy-loading.js.map +1 -1
  889. package/fesm5/taiga-ui-kit-pipes-field-error.js +203 -0
  890. package/fesm5/taiga-ui-kit-pipes-field-error.js.map +1 -0
  891. package/fesm5/taiga-ui-kit-pipes.js +1 -0
  892. package/fesm5/taiga-ui-kit-pipes.js.map +1 -1
  893. package/fesm5/taiga-ui-kit-providers.js +21 -4
  894. package/fesm5/taiga-ui-kit-providers.js.map +1 -1
  895. package/fesm5/taiga-ui-kit-tokens.js +18 -1
  896. package/fesm5/taiga-ui-kit-tokens.js.map +1 -1
  897. package/fesm5/taiga-ui-kit-utils-mask.js +19 -10
  898. package/fesm5/taiga-ui-kit-utils-mask.js.map +1 -1
  899. package/fesm5/taiga-ui-kit-utils-miscellaneous.js +1 -1
  900. package/fesm5/taiga-ui-kit-utils-miscellaneous.js.map +1 -1
  901. package/package.json +12 -12
  902. package/pipes/field-error/field-error-content-pipe.d.ts +11 -0
  903. package/pipes/field-error/field-error-pipe.d.ts +29 -0
  904. package/pipes/field-error/field-error.module.d.ts +2 -0
  905. package/pipes/field-error/index.d.ts +3 -0
  906. package/pipes/field-error/package.json +13 -0
  907. package/pipes/field-error/taiga-ui-kit-pipes-field-error.d.ts +4 -0
  908. package/pipes/field-error/taiga-ui-kit-pipes-field-error.metadata.json +1 -0
  909. package/pipes/index.d.ts +1 -0
  910. package/pipes/taiga-ui-kit-pipes.metadata.json +1 -1
  911. package/providers/index.d.ts +1 -0
  912. package/providers/month-formatter.provider.d.ts +6 -0
  913. package/providers/taiga-ui-kit-providers.metadata.json +1 -1
  914. package/providers/value-accessor.provider.d.ts +1 -1
  915. package/tokens/index.d.ts +2 -0
  916. package/tokens/items-handlers.d.ts +10 -0
  917. package/tokens/month-formatter.d.ts +4 -0
  918. package/tokens/taiga-ui-kit-tokens.metadata.json +1 -1
  919. package/types/index.d.ts +1 -0
  920. package/types/taiga-ui-kit-types.metadata.json +1 -1
  921. package/types/time-format-parts.d.ts +1 -0
  922. package/utils/mask/create-auto-corrected-time-pipe.d.ts +2 -1
  923. package/utils/mask/create-time-mask.d.ts +2 -1
  924. package/utils/mask/taiga-ui-kit-utils-mask.metadata.json +1 -1
  925. package/components/progress/pipes/progress-color-segments.pipe.d.ts +0 -9
  926. package/esm2015/components/progress/pipes/abstract-color-segments.js +0 -32
  927. package/esm2015/components/progress/pipes/progress-color-segments-async.pipe.js +0 -15
  928. package/esm2015/components/progress/pipes/progress-color-segments.pipe.js +0 -18
  929. package/esm5/components/progress/pipes/abstract-color-segments.js +0 -35
  930. package/esm5/components/progress/pipes/progress-color-segments-async.pipe.js +0 -21
  931. package/esm5/components/progress/pipes/progress-color-segments.pipe.js +0 -23
@@ -0,0 +1,29 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import { FormArrayName, FormGroupDirective, FormGroupName, NgControl } from '@angular/forms';
3
+ import { TuiValidationError } from '@taiga-ui/cdk';
4
+ import { PolymorpheusContent } from '@tinkoff/ng-polymorpheus';
5
+ import { Observable } from 'rxjs';
6
+ export declare class TuiFieldErrorPipe implements PipeTransform {
7
+ private readonly ngControl;
8
+ private readonly formArrayName;
9
+ private readonly formGroupName;
10
+ private readonly formGroup;
11
+ private readonly validationErrors;
12
+ private order;
13
+ constructor(ngControl: NgControl | null, formArrayName: FormArrayName | null, formGroupName: FormGroupName | null, formGroup: FormGroupDirective | null, validationErrors: Record<string, PolymorpheusContent | Observable<PolymorpheusContent>>);
14
+ transform(order: ReadonlyArray<string>): Observable<TuiValidationError | null>;
15
+ get change$(): Observable<unknown>;
16
+ get computedError(): Observable<TuiValidationError | null>;
17
+ registerOnChange(): void;
18
+ registerOnTouched(): void;
19
+ setDisabledState(): void;
20
+ writeValue(): void;
21
+ private get error();
22
+ private get invalid();
23
+ private get touched();
24
+ private get control();
25
+ private get errorId();
26
+ private get controlErrors();
27
+ private getErrorId;
28
+ private getError;
29
+ }
@@ -0,0 +1,2 @@
1
+ export declare class TuiFieldErrorPipeModule {
2
+ }
@@ -0,0 +1,3 @@
1
+ export * from './field-error.module';
2
+ export * from './field-error-content-pipe';
3
+ export * from './field-error-pipe';
@@ -0,0 +1,13 @@
1
+ {
2
+ "main": "../../bundles/taiga-ui-kit-pipes-field-error.umd.js",
3
+ "module": "../../fesm5/taiga-ui-kit-pipes-field-error.js",
4
+ "es2015": "../../fesm2015/taiga-ui-kit-pipes-field-error.js",
5
+ "esm5": "../../esm5/pipes/field-error/taiga-ui-kit-pipes-field-error.js",
6
+ "esm2015": "../../esm2015/pipes/field-error/taiga-ui-kit-pipes-field-error.js",
7
+ "fesm5": "../../fesm5/taiga-ui-kit-pipes-field-error.js",
8
+ "fesm2015": "../../fesm2015/taiga-ui-kit-pipes-field-error.js",
9
+ "typings": "taiga-ui-kit-pipes-field-error.d.ts",
10
+ "metadata": "taiga-ui-kit-pipes-field-error.metadata.json",
11
+ "sideEffects": false,
12
+ "name": "@taiga-ui/kit/pipes/field-error"
13
+ }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ export * from './index';
@@ -0,0 +1 @@
1
+ {"__symbolic":"module","version":4,"metadata":{"TuiFieldErrorPipeModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":5,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"TuiFieldErrorPipe"},{"__symbolic":"reference","name":"TuiFieldErrorContentPipe"}],"exports":[{"__symbolic":"reference","name":"TuiFieldErrorPipe"},{"__symbolic":"reference","name":"TuiFieldErrorContentPipe"}]}]}],"members":{}},"TuiFieldErrorContentPipe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe","line":7,"character":1},"arguments":[{"name":"tuiFieldErrorContent","pure":false}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":20,"character":17},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"Injector","line":20,"character":24}]}]],"parameters":[{"__symbolic":"reference","module":"@angular/core","name":"Injector","line":20,"character":61}]}],"transform":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}]}},"TuiFieldErrorPipe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe","line":17,"character":1},"arguments":[{"name":"tuiFieldError","pure":false}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":25,"character":9}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Self","line":26,"character":9}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":27,"character":9},"arguments":[{"__symbolic":"reference","module":"@angular/forms","name":"NgControl","line":27,"character":16}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":29,"character":9}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Self","line":30,"character":9}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":31,"character":9},"arguments":[{"__symbolic":"reference","module":"@angular/forms","name":"FormArrayName","line":31,"character":16}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":33,"character":9}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Self","line":34,"character":9}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":35,"character":9},"arguments":[{"__symbolic":"reference","module":"@angular/forms","name":"FormGroupName","line":35,"character":16}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":37,"character":9}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Self","line":38,"character":9}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":39,"character":9},"arguments":[{"__symbolic":"reference","module":"@angular/forms","name":"FormGroupDirective","line":39,"character":16}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":41,"character":9},"arguments":[{"__symbolic":"reference","module":"@taiga-ui/kit/tokens","name":"TUI_VALIDATION_ERRORS","line":41,"character":16}]}]],"parameters":[{"__symbolic":"reference","module":"@angular/forms","name":"NgControl","line":28,"character":36},{"__symbolic":"reference","module":"@angular/forms","name":"FormArrayName","line":32,"character":40},{"__symbolic":"reference","module":"@angular/forms","name":"FormGroupName","line":36,"character":40},{"__symbolic":"reference","module":"@angular/forms","name":"FormGroupDirective","line":40,"character":36},{"__symbolic":"error","message":"Could not resolve type","line":42,"character":43,"context":{"typeName":"Record"},"module":"./field-error-pipe"}]}],"transform":[{"__symbolic":"method"}],"change$":[{"__symbolic":"property","decorators":[{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"tuiPure","line":58,"character":5}]}],"registerOnChange":[{"__symbolic":"method"}],"registerOnTouched":[{"__symbolic":"method"}],"setDisabledState":[{"__symbolic":"method"}],"writeValue":[{"__symbolic":"method"}],"getErrorId":[{"__symbolic":"method","decorators":[{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"tuiPure","line":117,"character":5}]}],"getError":[{"__symbolic":"method","decorators":[{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"tuiPure","line":128,"character":5}]}]}}},"origins":{"TuiFieldErrorPipeModule":"./field-error.module","TuiFieldErrorContentPipe":"./field-error-content-pipe","TuiFieldErrorPipe":"./field-error-pipe"},"importAs":"@taiga-ui/kit/pipes/field-error"}
package/pipes/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ export * from '@taiga-ui/kit/pipes/field-error';
1
2
  export * from '@taiga-ui/kit/pipes/filter-by-input';
2
3
  export * from '@taiga-ui/kit/pipes/stringify';
3
4
  export * from '@taiga-ui/kit/pipes/stringify-content';
@@ -1 +1 @@
1
- {"__symbolic":"module","version":4,"exports":[{"from":"@taiga-ui/kit/pipes/filter-by-input"},{"from":"@taiga-ui/kit/pipes/stringify"},{"from":"@taiga-ui/kit/pipes/stringify-content"}],"metadata":{},"origins":{},"importAs":"@taiga-ui/kit/pipes"}
1
+ {"__symbolic":"module","version":4,"exports":[{"from":"@taiga-ui/kit/pipes/field-error"},{"from":"@taiga-ui/kit/pipes/filter-by-input"},{"from":"@taiga-ui/kit/pipes/stringify"},{"from":"@taiga-ui/kit/pipes/stringify-content"}],"metadata":{},"origins":{},"importAs":"@taiga-ui/kit/pipes"}
@@ -1,2 +1,3 @@
1
+ export * from './month-formatter.provider';
1
2
  export * from './specific-dropdown-controllers';
2
3
  export * from './value-accessor.provider';
@@ -0,0 +1,6 @@
1
+ import { FactoryProvider } from '@angular/core';
2
+ import { TuiHandler, TuiMonth } from '@taiga-ui/cdk';
3
+ import { TuiMonthPipe } from '@taiga-ui/core';
4
+ import { Observable } from 'rxjs';
5
+ export declare const TUI_MONTH_FORMATTER_PROVIDER: FactoryProvider;
6
+ export declare function monthFormatterFactory(pipe: TuiMonthPipe): TuiHandler<TuiMonth | null, Observable<string>>;
@@ -1 +1 @@
1
- {"__symbolic":"module","version":4,"metadata":{"fixedDropdownControllerFactory":{"__symbolic":"function"},"FIXED_DROPDOWN_CONTROLLER_PROVIDER":[{"provide":{"__symbolic":"reference","module":"@taiga-ui/core","name":"TUI_DROPDOWN_CONTROLLER","line":14,"character":17},"deps":[[{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":15,"character":20}},{"__symbolic":"reference","module":"@taiga-ui/core","name":"TuiDropdownControllerDirective","line":15,"character":32}]],"useFactory":{"__symbolic":"reference","name":"fixedDropdownControllerFactory"}}],"leftAlignedDropdownControllerFactory":{"__symbolic":"function"},"LEFT_ALIGNED_DROPDOWN_CONTROLLER_PROVIDER":[{"provide":{"__symbolic":"reference","module":"@taiga-ui/core","name":"TUI_DROPDOWN_CONTROLLER","line":31,"character":17},"deps":[[{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":32,"character":20}},{"__symbolic":"reference","module":"@taiga-ui/core","name":"TuiDropdownControllerDirective","line":32,"character":32}]],"useFactory":{"__symbolic":"reference","name":"leftAlignedDropdownControllerFactory"}}],"TUI_VALUE_ACCESSOR_PROVIDER":{"provide":{"__symbolic":"reference","module":"@taiga-ui/core/tokens","name":"TUI_VALUE_ACCESSOR","line":8,"character":13},"deps":[[{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":9,"character":16}},{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"Self","line":9,"character":32}},{"__symbolic":"reference","module":"@angular/forms","name":"NG_VALUE_ACCESSOR","line":9,"character":40}]],"useFactory":{"__symbolic":"reference","name":"identity","module":"@taiga-ui/cdk"}}},"origins":{"fixedDropdownControllerFactory":"./specific-dropdown-controllers","FIXED_DROPDOWN_CONTROLLER_PROVIDER":"./specific-dropdown-controllers","leftAlignedDropdownControllerFactory":"./specific-dropdown-controllers","LEFT_ALIGNED_DROPDOWN_CONTROLLER_PROVIDER":"./specific-dropdown-controllers","IDENTITY":"@taiga-ui/cdk","TUI_VALUE_ACCESSOR_PROVIDER":"./value-accessor.provider"},"importAs":"@taiga-ui/kit/providers"}
1
+ {"__symbolic":"module","version":4,"metadata":{"TUI_MONTH_FORMATTER_PROVIDER":{"provide":{"__symbolic":"reference","module":"@taiga-ui/kit/tokens","name":"TUI_MONTH_FORMATTER","line":8,"character":13},"deps":[{"__symbolic":"reference","module":"@taiga-ui/core","name":"TuiMonthPipe","line":9,"character":11}],"useFactory":{"__symbolic":"reference","name":"monthFormatterFactory"}},"monthFormatterFactory":{"__symbolic":"function","parameters":["pipe"],"value":{"__symbolic":"error","message":"Lambda not supported","line":16,"character":11,"module":"./month-formatter.provider"}},"fixedDropdownControllerFactory":{"__symbolic":"function"},"FIXED_DROPDOWN_CONTROLLER_PROVIDER":[{"provide":{"__symbolic":"reference","module":"@taiga-ui/core","name":"TUI_DROPDOWN_CONTROLLER","line":14,"character":17},"deps":[[{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":15,"character":20}},{"__symbolic":"reference","module":"@taiga-ui/core","name":"TuiDropdownControllerDirective","line":15,"character":32}]],"useFactory":{"__symbolic":"reference","name":"fixedDropdownControllerFactory"}}],"leftAlignedDropdownControllerFactory":{"__symbolic":"function"},"LEFT_ALIGNED_DROPDOWN_CONTROLLER_PROVIDER":[{"provide":{"__symbolic":"reference","module":"@taiga-ui/core","name":"TUI_DROPDOWN_CONTROLLER","line":31,"character":17},"deps":[[{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":32,"character":20}},{"__symbolic":"reference","module":"@taiga-ui/core","name":"TuiDropdownControllerDirective","line":32,"character":32}]],"useFactory":{"__symbolic":"reference","name":"leftAlignedDropdownControllerFactory"}}],"TUI_VALUE_ACCESSOR_PROVIDER":{"provide":{"__symbolic":"reference","module":"@taiga-ui/core","name":"TUI_VALUE_ACCESSOR","line":9,"character":13},"deps":[[{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":10,"character":16}},{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"Self","line":10,"character":32}},{"__symbolic":"reference","module":"@angular/forms","name":"NG_VALUE_ACCESSOR","line":10,"character":40}]],"useFactory":{"__symbolic":"reference","name":"identity","module":"rxjs"}}},"origins":{"TUI_MONTH_FORMATTER_PROVIDER":"./month-formatter.provider","monthFormatterFactory":"./month-formatter.provider","fixedDropdownControllerFactory":"./specific-dropdown-controllers","FIXED_DROPDOWN_CONTROLLER_PROVIDER":"./specific-dropdown-controllers","leftAlignedDropdownControllerFactory":"./specific-dropdown-controllers","LEFT_ALIGNED_DROPDOWN_CONTROLLER_PROVIDER":"./specific-dropdown-controllers","IDENTITY":"rxjs","TUI_VALUE_ACCESSOR_PROVIDER":"./value-accessor.provider"},"importAs":"@taiga-ui/kit/providers"}
@@ -1,4 +1,4 @@
1
1
  import { FactoryProvider } from '@angular/core';
2
- import { identity } from '@taiga-ui/cdk';
2
+ import { identity } from 'rxjs';
3
3
  export declare const IDENTITY: typeof identity;
4
4
  export declare const TUI_VALUE_ACCESSOR_PROVIDER: FactoryProvider;
package/tokens/index.d.ts CHANGED
@@ -1,7 +1,9 @@
1
1
  export * from './calendar-data-stream';
2
2
  export * from './date-inputs-value-transformers';
3
3
  export * from './i18n';
4
+ export * from './items-handlers';
4
5
  export * from './mobile-aware';
5
6
  export * from './mobile-calendar';
7
+ export * from './month-formatter';
6
8
  export * from './tag-status';
7
9
  export * from './validation-errors';
@@ -0,0 +1,10 @@
1
+ import { InjectionToken, ValueProvider } from '@angular/core';
2
+ import { TuiBooleanHandler, TuiIdentityMatcher, TuiStringHandler } from '@taiga-ui/cdk';
3
+ export interface TuiItemsHandlers<T> {
4
+ readonly stringify: TuiStringHandler<T>;
5
+ readonly identityMatcher: TuiIdentityMatcher<T>;
6
+ readonly disabledItemHandler: TuiBooleanHandler<T>;
7
+ }
8
+ export declare const TUI_DEFAULT_ITEMS_HANDLERS: TuiItemsHandlers<unknown>;
9
+ export declare const TUI_ITEMS_HANDLERS: InjectionToken<TuiItemsHandlers<unknown>>;
10
+ export declare const tuiItemsHandlersProvider: <T>(options: Partial<TuiItemsHandlers<T>>) => ValueProvider;
@@ -0,0 +1,4 @@
1
+ import { InjectionToken } from '@angular/core';
2
+ import { TuiHandler, TuiMonth } from '@taiga-ui/cdk';
3
+ import { Observable } from 'rxjs';
4
+ export declare const TUI_MONTH_FORMATTER: InjectionToken<TuiHandler<TuiMonth | null, Observable<string>>>;
@@ -1 +1 @@
1
- {"__symbolic":"module","version":4,"metadata":{"TUI_CALENDAR_DATA_STREAM":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":4,"character":44},"arguments":["Stream that emits calendar data change"]},"TUI_DATE_VALUE_TRANSFORMER":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":3,"character":46},"arguments":["Control value transformer of TuiDay to custom value format for InputDate* components"]},"TUI_DATE_RANGE_VALUE_TRANSFORMER":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":7,"character":52},"arguments":["Control value transformer for InputDateRange component"]},"TUI_DATE_TIME_VALUE_TRANSFORMER":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":11,"character":51},"arguments":["Control value transformer for InputDateTime component"]},"TUI_CANCEL_WORD":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":5,"character":35},"arguments":["i18n 'cancel' word",{"factory":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/i18n","name":"extractI18n","line":6,"character":13},"arguments":["cancel"]}}]},"TUI_DONE_WORD":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":9,"character":33},"arguments":["i18n 'done' word",{"factory":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/i18n","name":"extractI18n","line":10,"character":13},"arguments":["done"]}}]},"TUI_MORE_WORD":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":13,"character":33},"arguments":["i18n 'more' word",{"factory":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/i18n","name":"extractI18n","line":14,"character":13},"arguments":["more"]}}]},"TUI_OTHER_DATE_TEXT":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":17,"character":39},"arguments":["i18n 'Other date' text",{"factory":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/i18n","name":"extractI18n","line":18,"character":13},"arguments":["otherDate"]}}]},"TUI_CHOOSE_DAY_OR_RANGE_TEXTS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":21,"character":49},"arguments":["choose day or range i18n texts",{"factory":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/i18n","name":"extractI18n","line":24,"character":17},"arguments":["mobileCalendarTexts"]}}]},"TUI_FROM_TO_TEXTS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":28,"character":37},"arguments":["from and to i18n texts",{"factory":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/i18n","name":"extractI18n","line":29,"character":13},"arguments":["range"]}}]},"TUI_PLUS_MINUS_TEXTS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":32,"character":40},"arguments":["plus and minus i18n texts",{"factory":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/i18n","name":"extractI18n","line":33,"character":13},"arguments":["countTexts"]}}]},"TUI_TIME_TEXTS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":36,"character":34},"arguments":["time i18n texts",{"factory":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/i18n","name":"extractI18n","line":37,"character":13},"arguments":["time"]}}]},"TUI_DATE_TEXTS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":40,"character":34},"arguments":["date format i18n texts",{"factory":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/i18n","name":"extractI18n","line":43,"character":17},"arguments":["dateTexts"]}}]},"TUI_DIGITAL_INFORMATION_UNITS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":47,"character":49},"arguments":["short bytes, kilobytes and megabytes i18n texts",{"factory":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/i18n","name":"extractI18n","line":50,"character":17},"arguments":["digitalInformationUnits"]}}]},"TUI_COPY_TEXTS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":54,"character":34},"arguments":["copy i18n texts",{"factory":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/i18n","name":"extractI18n","line":55,"character":13},"arguments":["copyTexts"]}}]},"TUI_PASSWORD_TEXTS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":58,"character":38},"arguments":["password i18n texts",{"factory":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/i18n","name":"extractI18n","line":59,"character":13},"arguments":["passwordTexts"]}}]},"TUI_CALENDAR_MONTHS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":62,"character":39},"arguments":["short calendar months i18n",{"factory":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/i18n","name":"extractI18n","line":63,"character":13},"arguments":["shortCalendarMonths"]}}]},"TUI_FILE_TEXTS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":66,"character":34},"arguments":["file i18n texts",{"factory":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/i18n","name":"extractI18n","line":67,"character":13},"arguments":["fileTexts"]}}]},"TUI_PAGINATION_TEXTS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":70,"character":40},"arguments":["pagination i18n texts",{"factory":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/i18n","name":"extractI18n","line":71,"character":13},"arguments":["paginationTexts"]}}]},"TUI_INPUT_FILE_TEXTS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":74,"character":40},"arguments":["tui-input-file i18n texts",{"factory":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/i18n","name":"extractI18n","line":75,"character":13},"arguments":["inputFileTexts"]}}]},"TUI_COUNTRIES":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":80,"character":8},"arguments":["Localized countries names",{"factory":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/i18n","name":"extractI18n","line":81,"character":13},"arguments":["countries"]}}]},"TUI_MOBILE_AWARE":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":2,"character":36},"arguments":["A flag enabling mobile-specific behavior for supporting components",{"__symbolic":"error","message":"Lambda not supported","line":5,"character":17,"module":"./mobile-aware"}]},"TUI_MOBILE_CALENDAR":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":2,"character":39},"arguments":["A component for mobile data picker"]},"TUI_TAG_STATUS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":3,"character":34},"arguments":["Status for tags inside InputTag component",{"__symbolic":"error","message":"Lambda not supported","line":6,"character":17,"module":"./tag-status"}]},"TUI_VALIDATION_ERRORS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":4,"character":41},"arguments":["Validation errors",{"__symbolic":"error","message":"Lambda not supported","line":7,"character":13,"module":"./validation-errors"}]}},"origins":{"TUI_CALENDAR_DATA_STREAM":"./calendar-data-stream","TUI_DATE_VALUE_TRANSFORMER":"./date-inputs-value-transformers","TUI_DATE_RANGE_VALUE_TRANSFORMER":"./date-inputs-value-transformers","TUI_DATE_TIME_VALUE_TRANSFORMER":"./date-inputs-value-transformers","TUI_CANCEL_WORD":"./i18n","TUI_DONE_WORD":"./i18n","TUI_MORE_WORD":"./i18n","TUI_OTHER_DATE_TEXT":"./i18n","TUI_CHOOSE_DAY_OR_RANGE_TEXTS":"./i18n","TUI_FROM_TO_TEXTS":"./i18n","TUI_PLUS_MINUS_TEXTS":"./i18n","TUI_TIME_TEXTS":"./i18n","TUI_DATE_TEXTS":"./i18n","TUI_DIGITAL_INFORMATION_UNITS":"./i18n","TUI_COPY_TEXTS":"./i18n","TUI_PASSWORD_TEXTS":"./i18n","TUI_CALENDAR_MONTHS":"./i18n","TUI_FILE_TEXTS":"./i18n","TUI_PAGINATION_TEXTS":"./i18n","TUI_INPUT_FILE_TEXTS":"./i18n","TUI_COUNTRIES":"./i18n","TUI_MOBILE_AWARE":"./mobile-aware","TUI_MOBILE_CALENDAR":"./mobile-calendar","TUI_TAG_STATUS":"./tag-status","TUI_VALIDATION_ERRORS":"./validation-errors"},"importAs":"@taiga-ui/kit/tokens"}
1
+ {"__symbolic":"module","version":4,"metadata":{"TUI_CALENDAR_DATA_STREAM":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":4,"character":44},"arguments":["Stream that emits calendar data change"]},"TUI_DATE_VALUE_TRANSFORMER":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":3,"character":46},"arguments":["Control value transformer of TuiDay to custom value format for InputDate* components"]},"TUI_DATE_RANGE_VALUE_TRANSFORMER":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":7,"character":52},"arguments":["Control value transformer for InputDateRange component"]},"TUI_DATE_TIME_VALUE_TRANSFORMER":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":11,"character":51},"arguments":["Control value transformer for InputDateTime component"]},"TUI_CANCEL_WORD":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":5,"character":35},"arguments":["i18n 'cancel' word",{"factory":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/i18n","name":"extractI18n","line":6,"character":13},"arguments":["cancel"]}}]},"TUI_DONE_WORD":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":9,"character":33},"arguments":["i18n 'done' word",{"factory":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/i18n","name":"extractI18n","line":10,"character":13},"arguments":["done"]}}]},"TUI_MORE_WORD":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":13,"character":33},"arguments":["i18n 'more' word",{"factory":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/i18n","name":"extractI18n","line":14,"character":13},"arguments":["more"]}}]},"TUI_OTHER_DATE_TEXT":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":17,"character":39},"arguments":["i18n 'Other date' text",{"factory":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/i18n","name":"extractI18n","line":18,"character":13},"arguments":["otherDate"]}}]},"TUI_CHOOSE_DAY_OR_RANGE_TEXTS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":21,"character":49},"arguments":["choose day or range i18n texts",{"factory":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/i18n","name":"extractI18n","line":24,"character":17},"arguments":["mobileCalendarTexts"]}}]},"TUI_FROM_TO_TEXTS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":28,"character":37},"arguments":["from and to i18n texts",{"factory":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/i18n","name":"extractI18n","line":29,"character":13},"arguments":["range"]}}]},"TUI_PLUS_MINUS_TEXTS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":32,"character":40},"arguments":["plus and minus i18n texts",{"factory":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/i18n","name":"extractI18n","line":33,"character":13},"arguments":["countTexts"]}}]},"TUI_TIME_TEXTS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":36,"character":34},"arguments":["time i18n texts",{"factory":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/i18n","name":"extractI18n","line":37,"character":13},"arguments":["time"]}}]},"TUI_DATE_TEXTS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":40,"character":34},"arguments":["date format i18n texts",{"factory":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/i18n","name":"extractI18n","line":43,"character":17},"arguments":["dateTexts"]}}]},"TUI_DIGITAL_INFORMATION_UNITS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":47,"character":49},"arguments":["short bytes, kilobytes and megabytes i18n texts",{"factory":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/i18n","name":"extractI18n","line":50,"character":17},"arguments":["digitalInformationUnits"]}}]},"TUI_COPY_TEXTS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":54,"character":34},"arguments":["copy i18n texts",{"factory":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/i18n","name":"extractI18n","line":55,"character":13},"arguments":["copyTexts"]}}]},"TUI_PASSWORD_TEXTS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":58,"character":38},"arguments":["password i18n texts",{"factory":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/i18n","name":"extractI18n","line":59,"character":13},"arguments":["passwordTexts"]}}]},"TUI_CALENDAR_MONTHS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":62,"character":39},"arguments":["short calendar months i18n",{"factory":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/i18n","name":"extractI18n","line":63,"character":13},"arguments":["shortCalendarMonths"]}}]},"TUI_FILE_TEXTS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":66,"character":34},"arguments":["file i18n texts",{"factory":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/i18n","name":"extractI18n","line":67,"character":13},"arguments":["fileTexts"]}}]},"TUI_PAGINATION_TEXTS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":70,"character":40},"arguments":["pagination i18n texts",{"factory":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/i18n","name":"extractI18n","line":71,"character":13},"arguments":["paginationTexts"]}}]},"TUI_INPUT_FILE_TEXTS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":74,"character":40},"arguments":["tui-input-file i18n texts",{"factory":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/i18n","name":"extractI18n","line":75,"character":13},"arguments":["inputFileTexts"]}}]},"TUI_COUNTRIES":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":80,"character":8},"arguments":["Localized countries names",{"factory":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/i18n","name":"extractI18n","line":81,"character":13},"arguments":["countries"]}}]},"TuiItemsHandlers":{"__symbolic":"interface"},"TUI_DEFAULT_ITEMS_HANDLERS":{"stringify":{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"TUI_DEFAULT_STRINGIFY","line":17,"character":15},"identityMatcher":{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"TUI_DEFAULT_IDENTITY_MATCHER","line":18,"character":21},"disabledItemHandler":{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"ALWAYS_FALSE_HANDLER","line":19,"character":25}},"TUI_ITEMS_HANDLERS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":22,"character":38},"arguments":["Default items handlers for components",{"__symbolic":"error","message":"Lambda not supported","line":25,"character":17,"module":"./items-handlers"}]},"tuiItemsHandlersProvider":{"__symbolic":"error","message":"Lambda not supported","line":31,"character":21,"module":"./items-handlers"},"TUI_MOBILE_AWARE":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":2,"character":36},"arguments":["A flag enabling mobile-specific behavior for supporting components",{"__symbolic":"error","message":"Lambda not supported","line":5,"character":17,"module":"./mobile-aware"}]},"TUI_MOBILE_CALENDAR":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":2,"character":39},"arguments":["A component for mobile data picker"]},"TUI_MONTH_FORMATTER":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":4,"character":39},"arguments":["A function to get localized formatted month"]},"TUI_TAG_STATUS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":3,"character":34},"arguments":["Status for tags inside InputTag component",{"__symbolic":"error","message":"Lambda not supported","line":6,"character":17,"module":"./tag-status"}]},"TUI_VALIDATION_ERRORS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":4,"character":41},"arguments":["Validation errors",{"__symbolic":"error","message":"Lambda not supported","line":7,"character":13,"module":"./validation-errors"}]}},"origins":{"TUI_CALENDAR_DATA_STREAM":"./calendar-data-stream","TUI_DATE_VALUE_TRANSFORMER":"./date-inputs-value-transformers","TUI_DATE_RANGE_VALUE_TRANSFORMER":"./date-inputs-value-transformers","TUI_DATE_TIME_VALUE_TRANSFORMER":"./date-inputs-value-transformers","TUI_CANCEL_WORD":"./i18n","TUI_DONE_WORD":"./i18n","TUI_MORE_WORD":"./i18n","TUI_OTHER_DATE_TEXT":"./i18n","TUI_CHOOSE_DAY_OR_RANGE_TEXTS":"./i18n","TUI_FROM_TO_TEXTS":"./i18n","TUI_PLUS_MINUS_TEXTS":"./i18n","TUI_TIME_TEXTS":"./i18n","TUI_DATE_TEXTS":"./i18n","TUI_DIGITAL_INFORMATION_UNITS":"./i18n","TUI_COPY_TEXTS":"./i18n","TUI_PASSWORD_TEXTS":"./i18n","TUI_CALENDAR_MONTHS":"./i18n","TUI_FILE_TEXTS":"./i18n","TUI_PAGINATION_TEXTS":"./i18n","TUI_INPUT_FILE_TEXTS":"./i18n","TUI_COUNTRIES":"./i18n","TuiItemsHandlers":"./items-handlers","TUI_DEFAULT_ITEMS_HANDLERS":"./items-handlers","TUI_ITEMS_HANDLERS":"./items-handlers","tuiItemsHandlersProvider":"./items-handlers","TUI_MOBILE_AWARE":"./mobile-aware","TUI_MOBILE_CALENDAR":"./mobile-calendar","TUI_MONTH_FORMATTER":"./month-formatter","TUI_TAG_STATUS":"./tag-status","TUI_VALIDATION_ERRORS":"./validation-errors"},"importAs":"@taiga-ui/kit/tokens"}
package/types/index.d.ts CHANGED
@@ -2,3 +2,4 @@ export * from './handler-with-context';
2
2
  export * from './key-steps';
3
3
  export * from './marker-icon-mode';
4
4
  export * from './status';
5
+ export * from './time-format-parts';
@@ -1 +1 @@
1
- {"__symbolic":"module","version":4,"metadata":{"TuiHandlerWithContext":{"__symbolic":"interface"},"TuiBooleanHandlerWithContext":{"__symbolic":"interface"},"TuiKeySteps":{"__symbolic":"interface"},"TuiMarkerIconModeT":{"__symbolic":"interface"},"TuiStatusT":{"__symbolic":"interface"}},"origins":{"TuiHandlerWithContext":"./handler-with-context","TuiBooleanHandlerWithContext":"./handler-with-context","TuiKeySteps":"./key-steps","TuiMarkerIconModeT":"./marker-icon-mode","TuiStatusT":"./status"},"importAs":"@taiga-ui/kit/types"}
1
+ {"__symbolic":"module","version":4,"metadata":{"TuiHandlerWithContext":{"__symbolic":"interface"},"TuiBooleanHandlerWithContext":{"__symbolic":"interface"},"TuiKeySteps":{"__symbolic":"interface"},"TuiMarkerIconModeT":{"__symbolic":"interface"},"TuiStatusT":{"__symbolic":"interface"},"TuiTimeFormatParts":{"__symbolic":"interface"}},"origins":{"TuiHandlerWithContext":"./handler-with-context","TuiBooleanHandlerWithContext":"./handler-with-context","TuiKeySteps":"./key-steps","TuiMarkerIconModeT":"./marker-icon-mode","TuiStatusT":"./status","TuiTimeFormatParts":"./time-format-parts"},"importAs":"@taiga-ui/kit/types"}
@@ -0,0 +1 @@
1
+ export declare type TuiTimeFormatParts = 'HH' | 'MM' | 'SS' | 'MS';
@@ -1,7 +1,8 @@
1
1
  import { TuiTimeMode } from '@taiga-ui/cdk';
2
2
  import { TuiTextMaskPipeHandler } from '@taiga-ui/core';
3
+ import { TuiTimeFormatParts } from '@taiga-ui/kit/types';
3
4
  /**
4
5
  * Adjusts the entered time by omitting only suitable values for hours and minutes
5
6
  * @returns time as a string
6
7
  */
7
- export declare function tuiCreateAutoCorrectedTimePipe(timeMode?: TuiTimeMode): TuiTextMaskPipeHandler;
8
+ export declare function tuiCreateAutoCorrectedTimePipe(timeMode?: TuiTimeMode, maxValues?: Partial<Record<TuiTimeFormatParts, number>>): TuiTextMaskPipeHandler;
@@ -1,3 +1,4 @@
1
1
  import { TuiTimeMode } from '@taiga-ui/cdk';
2
2
  import { TuiTextMaskList } from '@taiga-ui/core';
3
- export declare function tuiCreateTimeMask(mode: TuiTimeMode): TuiTextMaskList;
3
+ import { TuiTimeFormatParts } from '@taiga-ui/kit/types';
4
+ export declare function tuiCreateTimeMask(mode: TuiTimeMode, maxValues?: Partial<Record<TuiTimeFormatParts, number>>): TuiTextMaskList;
@@ -1 +1 @@
1
- {"__symbolic":"module","version":4,"metadata":{"TuiAutoCorrectedDatePipeConfigs":{"__symbolic":"interface"},"normalizeDateValue":{"__symbolic":"function","parameters":["dateValue","value","min","max","dateFormat","dateSeparator"],"value":{"__symbolic":"if","condition":{"__symbolic":"binop","operator":"&&","left":{"__symbolic":"reference","name":"value"},"right":{"__symbolic":"binop","operator":"===","left":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"value"},"member":"toString"},"arguments":[{"__symbolic":"reference","name":"dateFormat"},{"__symbolic":"reference","name":"dateSeparator"}]},"right":{"__symbolic":"reference","name":"dateValue"}}},"thenExpression":{"__symbolic":"reference","name":"dateValue"},"elseExpression":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"TuiDay","line":15,"character":10},"member":"normalizeParse"},"arguments":[{"__symbolic":"reference","name":"dateValue"},{"__symbolic":"reference","name":"dateFormat"}]},"member":"dayLimit"},"arguments":[{"__symbolic":"reference","name":"min"},{"__symbolic":"reference","name":"max"}]},"member":"toString"},"arguments":[{"__symbolic":"reference","name":"dateFormat"},{"__symbolic":"reference","name":"dateSeparator"}]}}},"tuiCreateAutoCorrectedDatePipe":{"__symbolic":"function","parameters":["config"],"value":{"__symbolic":"error","message":"Lambda not supported","line":23,"character":11,"module":"./create-auto-corrected-date-pipe"}},"tuiCreateAutoCorrectedDateRangePipe":{"__symbolic":"function","parameters":["config"],"value":{"__symbolic":"error","message":"Lambda not supported","line":67,"character":11,"module":"./create-auto-corrected-date-range-pipe"}},"tuiCreateAutoCorrectedDateTimePipe":{"__symbolic":"function"},"tuiCreateAutoCorrectedTimePipe":{"__symbolic":"function"},"tuiCreateDateMask":{"__symbolic":"function"},"tuiCreateDateRangeMask":{"__symbolic":"function"},"tuiCreateTimeMask":{"__symbolic":"function","parameters":["mode"],"value":[{"__symbolic":"spread","expression":{"__symbolic":"reference","module":"@taiga-ui/kit/constants","name":"TUI_TIME_MASK","line":6,"character":11}},{"__symbolic":"spread","expression":{"__symbolic":"if","condition":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"mode"},"member":"includes"},"arguments":["HH:MM:SS"]},"thenExpression":[":",{"__symbolic":"reference","module":"@taiga-ui/core","name":"TUI_DIGIT_REGEXP","line":7,"character":46},{"__symbolic":"reference","module":"@taiga-ui/core","name":"TUI_DIGIT_REGEXP","line":7,"character":64}],"elseExpression":[]}},{"__symbolic":"spread","expression":{"__symbolic":"if","condition":{"__symbolic":"binop","operator":"===","left":{"__symbolic":"reference","name":"mode"},"right":"HH:MM:SS.MSS"},"thenExpression":[".",{"__symbolic":"reference","module":"@taiga-ui/core","name":"TUI_DIGIT_REGEXP","line":9,"character":20},{"__symbolic":"reference","module":"@taiga-ui/core","name":"TUI_DIGIT_REGEXP","line":9,"character":38},{"__symbolic":"reference","module":"@taiga-ui/core","name":"TUI_DIGIT_REGEXP","line":9,"character":56}],"elseExpression":[]}}]}},"origins":{"TuiAutoCorrectedDatePipeConfigs":"./create-auto-corrected-date-pipe","normalizeDateValue":"./create-auto-corrected-date-pipe","tuiCreateAutoCorrectedDatePipe":"./create-auto-corrected-date-pipe","tuiCreateAutoCorrectedDateRangePipe":"./create-auto-corrected-date-range-pipe","tuiCreateAutoCorrectedDateTimePipe":"./create-auto-corrected-date-time-pipe","tuiCreateAutoCorrectedTimePipe":"./create-auto-corrected-time-pipe","tuiCreateDateMask":"./create-date-mask","tuiCreateDateRangeMask":"./create-date-range-mask","tuiCreateTimeMask":"./create-time-mask"},"importAs":"@taiga-ui/kit/utils/mask"}
1
+ {"__symbolic":"module","version":4,"metadata":{"TuiAutoCorrectedDatePipeConfigs":{"__symbolic":"interface"},"normalizeDateValue":{"__symbolic":"function","parameters":["dateValue","value","min","max","dateFormat","dateSeparator"],"value":{"__symbolic":"if","condition":{"__symbolic":"binop","operator":"&&","left":{"__symbolic":"reference","name":"value"},"right":{"__symbolic":"binop","operator":"===","left":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"value"},"member":"toString"},"arguments":[{"__symbolic":"reference","name":"dateFormat"},{"__symbolic":"reference","name":"dateSeparator"}]},"right":{"__symbolic":"reference","name":"dateValue"}}},"thenExpression":{"__symbolic":"reference","name":"dateValue"},"elseExpression":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"TuiDay","line":15,"character":10},"member":"normalizeParse"},"arguments":[{"__symbolic":"reference","name":"dateValue"},{"__symbolic":"reference","name":"dateFormat"}]},"member":"dayLimit"},"arguments":[{"__symbolic":"reference","name":"min"},{"__symbolic":"reference","name":"max"}]},"member":"toString"},"arguments":[{"__symbolic":"reference","name":"dateFormat"},{"__symbolic":"reference","name":"dateSeparator"}]}}},"tuiCreateAutoCorrectedDatePipe":{"__symbolic":"function","parameters":["config"],"value":{"__symbolic":"error","message":"Lambda not supported","line":23,"character":11,"module":"./create-auto-corrected-date-pipe"}},"tuiCreateAutoCorrectedDateRangePipe":{"__symbolic":"function","parameters":["config"],"value":{"__symbolic":"error","message":"Lambda not supported","line":67,"character":11,"module":"./create-auto-corrected-date-range-pipe"}},"tuiCreateAutoCorrectedDateTimePipe":{"__symbolic":"function"},"tuiCreateAutoCorrectedTimePipe":{"__symbolic":"function"},"tuiCreateDateMask":{"__symbolic":"function"},"tuiCreateDateRangeMask":{"__symbolic":"function"},"tuiCreateTimeMask":{"__symbolic":"function"}},"origins":{"TuiAutoCorrectedDatePipeConfigs":"./create-auto-corrected-date-pipe","normalizeDateValue":"./create-auto-corrected-date-pipe","tuiCreateAutoCorrectedDatePipe":"./create-auto-corrected-date-pipe","tuiCreateAutoCorrectedDateRangePipe":"./create-auto-corrected-date-range-pipe","tuiCreateAutoCorrectedDateTimePipe":"./create-auto-corrected-date-time-pipe","tuiCreateAutoCorrectedTimePipe":"./create-auto-corrected-time-pipe","tuiCreateDateMask":"./create-date-mask","tuiCreateDateRangeMask":"./create-date-range-mask","tuiCreateTimeMask":"./create-time-mask"},"importAs":"@taiga-ui/kit/utils/mask"}
@@ -1,9 +0,0 @@
1
- import { AbstractTuiColorSegments } from './abstract-color-segments';
2
- /**
3
- * @deprecated use tuiProgressColorSegmentsAsync instead
4
- * {@link TuiProgressColorSegmentsAsyncPipe}
5
- * example: `<progress [color]="colors | tuiProgressColorSegmentsAsync | async">`
6
- */
7
- export declare class TuiProgressColorSegmentsPipe extends AbstractTuiColorSegments<string> {
8
- transform(colors: string[]): string;
9
- }
@@ -1,32 +0,0 @@
1
- import { __decorate, __param } from "tslib";
2
- import { ElementRef, Inject, Injectable, PipeTransform } from '@angular/core';
3
- import { USER_AGENT } from '@ng-web-apis/common';
4
- import { CHROMIUM_EDGE_START_VERSION, isEdgeOlderThan, isIE } from '@taiga-ui/cdk';
5
- let AbstractTuiColorSegments = class AbstractTuiColorSegments {
6
- constructor(userAgent, elementRef) {
7
- this.userAgent = userAgent;
8
- this.elementRef = elementRef;
9
- this.isOldBrowsers = isEdgeOlderThan(CHROMIUM_EDGE_START_VERSION, this.userAgent) ||
10
- isIE(this.userAgent);
11
- }
12
- calculate(colors) {
13
- if (this.isOldBrowsers) {
14
- return colors[0];
15
- }
16
- const elementWidth = this.elementRef.nativeElement.offsetWidth;
17
- const segmentWidth = Math.ceil(elementWidth / colors.length);
18
- const colorsString = colors.reduce((acc, color, i) => `${acc}, ${color} ${i * segmentWidth}px ${(i + 1) * segmentWidth}px`, '');
19
- return `linear-gradient(to right ${colorsString})`;
20
- }
21
- };
22
- AbstractTuiColorSegments.ctorParameters = () => [
23
- { type: String, decorators: [{ type: Inject, args: [USER_AGENT,] }] },
24
- { type: ElementRef, decorators: [{ type: Inject, args: [ElementRef,] }] }
25
- ];
26
- AbstractTuiColorSegments = __decorate([
27
- Injectable(),
28
- __param(0, Inject(USER_AGENT)),
29
- __param(1, Inject(ElementRef))
30
- ], AbstractTuiColorSegments);
31
- export { AbstractTuiColorSegments };
32
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWJzdHJhY3QtY29sb3Itc2VnbWVudHMuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AdGFpZ2EtdWkva2l0L2NvbXBvbmVudHMvcHJvZ3Jlc3MvIiwic291cmNlcyI6WyJwaXBlcy9hYnN0cmFjdC1jb2xvci1zZWdtZW50cy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUFDLFVBQVUsRUFBRSxNQUFNLEVBQUUsVUFBVSxFQUFFLGFBQWEsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUM1RSxPQUFPLEVBQUMsVUFBVSxFQUFDLE1BQU0scUJBQXFCLENBQUM7QUFDL0MsT0FBTyxFQUFDLDJCQUEyQixFQUFFLGVBQWUsRUFBRSxJQUFJLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFHakYsSUFBc0Isd0JBQXdCLEdBQ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UoY29sb3JzOiBzdHJpbmdbXSk6IHN0cmluZyB7XG4gICAgICAgIGlmICh0aGlzLmlzT2xkQnJvd3NlcnMpIHtcbiAgICAgICAgICAgIHJldHVybiBjb2xvcnNbMF07XG4gICAgICAgIH1cblxuICAgICAgICBjb25zdCBlbGVtZW50V2lkdGggPSB0aGlzLmVsZW1lbnRSZWYubmF0aXZlRWxlbWVudC5vZmZzZXRXaWR0aDtcbiAgICAgICAgY29uc3Qgc2VnbWVudFdpZHRoID0gTWF0aC5jZWlsKGVsZW1lbnRXaWR0aCAvIGNvbG9ycy5sZW5ndGgpO1xuICAgICAgICBjb25zdCBjb2xvcnNTdHJpbmcgPSBjb2xvcnMucmVkdWNlKFxuICAgICAgICAgICAgKGFjYywgY29sb3IsIGkpID0+XG4gICAgICAgICAgICAgICAgYCR7YWNjfSwgJHtjb2xvcn0gJHtpICogc2VnbWVudFdpZHRofXB4ICR7KGkgKyAxKSAqIHNlZ21lbnRXaWR0aH1weGAsXG4gICAgICAgICAgICAnJyxcbiAgICAgICAgKTtcblxuICAgICAgICByZXR1cm4gYGxpbmVhci1ncmFkaWVudCh0byByaWdodCAke2NvbG9yc1N0cmluZ30pYDtcbiAgICB9XG59XG4iXX0=
@@ -1,15 +0,0 @@
1
- import { __decorate } from "tslib";
2
- import { Pipe } from '@angular/core';
3
- import { timer } from 'rxjs';
4
- import { map } from 'rxjs/operators';
5
- import { AbstractTuiColorSegments } from './abstract-color-segments';
6
- let TuiProgressColorSegmentsAsyncPipe = class TuiProgressColorSegmentsAsyncPipe extends AbstractTuiColorSegments {
7
- transform(colors) {
8
- return timer(0).pipe(map(() => this.calculate(colors)));
9
- }
10
- };
11
- TuiProgressColorSegmentsAsyncPipe = __decorate([
12
- Pipe({ name: 'tuiProgressColorSegmentsAsync' })
13
- ], TuiProgressColorSegmentsAsyncPipe);
14
- export { TuiProgressColorSegmentsAsyncPipe };
15
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxl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XG5pbXBvcnQge0Fic3RyYWN0VHVpQ29sb3JTZWdtZW50c30gZnJvbSAnLi9hYnN0cmFjdC1jb2xvci1zZWdtZW50cyc7XG5cbkBQaXBlKHtuYW1lOiAndHVpUHJvZ3Jlc3NDb2xvclNlZ21lbnRzQXN5bmMnfSlcbmV4cG9ydCBjbGFzcyBUdWlQcm9ncmVzc0NvbG9yU2VnbWVudHNBc3luY1BpcGUgZXh0ZW5kcyBBYnN0cmFjdFR1aUNvbG9yU2VnbWVudHM8XG4gICAgT2JzZXJ2YWJsZTxzdHJpbmc+XG4+IHtcbiAgICB0cmFuc2Zvcm0oY29sb3JzOiBzdHJpbmdbXSk6IE9ic2VydmFibGU8c3RyaW5nPiB7XG4gICAgICAgIHJldHVybiB0aW1lcigwKS5waXBlKG1hcCgoKSA9PiB0aGlzLmNhbGN1bGF0ZShjb2xvcnMpKSk7XG4gICAgfVxufVxuIl19
@@ -1,18 +0,0 @@
1
- import { __decorate } from "tslib";
2
- import { Pipe } from '@angular/core';
3
- import { AbstractTuiColorSegments } from './abstract-color-segments';
4
- /**
5
- * @deprecated use tuiProgressColorSegmentsAsync instead
6
- * {@link TuiProgressColorSegmentsAsyncPipe}
7
- * example: `<progress [color]="colors | tuiProgressColorSegmentsAsync | async">`
8
- */
9
- let TuiProgressColorSegmentsPipe = class TuiProgressColorSegmentsPipe extends AbstractTuiColorSegments {
10
- transform(colors) {
11
- return this.calculate(colors);
12
- }
13
- };
14
- TuiProgressColorSegmentsPipe = __decorate([
15
- Pipe({ name: 'tuiProgressColorSegments' })
16
- ], TuiProgressColorSegmentsPipe);
17
- export { TuiProgressColorSegmentsPipe };
18
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvZ3Jlc3MtY29sb3Itc2VnbWVudHMucGlwZS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0B0YWlnYS11aS9raXQvY29tcG9uZW50cy9wcm9ncmVzcy8iLCJzb3VyY2VzIjpbIn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VudHNQaXBlIGV4dGVuZHMgQWJzdHJhY3RUdWlDb2xvclNlZ21lbnRzPHN0cmluZz4ge1xuICAgIHRyYW5zZm9ybShjb2xvcnM6IHN0cmluZ1tdKTogc3RyaW5nIHtcbiAgICAgICAgcmV0dXJuIHRoaXMuY2FsY3VsYXRlKGNvbG9ycyk7XG4gICAgfVxufVxuIl19
@@ -1,35 +0,0 @@
1
- import { __decorate, __param } from "tslib";
2
- import { ElementRef, Inject, Injectable, PipeTransform } from '@angular/core';
3
- import { USER_AGENT } from '@ng-web-apis/common';
4
- import { CHROMIUM_EDGE_START_VERSION, isEdgeOlderThan, isIE } from '@taiga-ui/cdk';
5
- var AbstractTuiColorSegments = /** @class */ (function () {
6
- function AbstractTuiColorSegments(userAgent, elementRef) {
7
- this.userAgent = userAgent;
8
- this.elementRef = elementRef;
9
- this.isOldBrowsers = isEdgeOlderThan(CHROMIUM_EDGE_START_VERSION, this.userAgent) ||
10
- isIE(this.userAgent);
11
- }
12
- AbstractTuiColorSegments.prototype.calculate = function (colors) {
13
- if (this.isOldBrowsers) {
14
- return colors[0];
15
- }
16
- var elementWidth = this.elementRef.nativeElement.offsetWidth;
17
- var segmentWidth = Math.ceil(elementWidth / colors.length);
18
- var colorsString = colors.reduce(function (acc, color, i) {
19
- return acc + ", " + color + " " + i * segmentWidth + "px " + (i + 1) * segmentWidth + "px";
20
- }, '');
21
- return "linear-gradient(to right " + colorsString + ")";
22
- };
23
- AbstractTuiColorSegments.ctorParameters = function () { return [
24
- { type: String, decorators: [{ type: Inject, args: [USER_AGENT,] }] },
25
- { type: ElementRef, decorators: [{ type: Inject, args: [ElementRef,] }] }
26
- ]; };
27
- AbstractTuiColorSegments = __decorate([
28
- Injectable(),
29
- __param(0, Inject(USER_AGENT)),
30
- __param(1, Inject(ElementRef))
31
- ], AbstractTuiColorSegments);
32
- return AbstractTuiColorSegments;
33
- }());
34
- export { AbstractTuiColorSegments };
35
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJz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R1cm4gYGxpbmVhci1ncmFkaWVudCh0byByaWdodCAke2NvbG9yc1N0cmluZ30pYDtcbiAgICB9XG59XG4iXX0=
@@ -1,21 +0,0 @@
1
- import { __decorate, __extends } from "tslib";
2
- import { Pipe } from '@angular/core';
3
- import { timer } from 'rxjs';
4
- import { map } from 'rxjs/operators';
5
- import { AbstractTuiColorSegments } from './abstract-color-segments';
6
- var TuiProgressColorSegmentsAsyncPipe = /** @class */ (function (_super) {
7
- __extends(TuiProgressColorSegmentsAsyncPipe, _super);
8
- function TuiProgressColorSegmentsAsyncPipe() {
9
- return _super !== null && _super.apply(this, arguments) || this;
10
- }
11
- TuiProgressColorSegmentsAsyncPipe.prototype.transform = function (colors) {
12
- var _this = this;
13
- return timer(0).pipe(map(function () { return _this.calculate(colors); }));
14
- };
15
- TuiProgressColorSegmentsAsyncPipe = __decorate([
16
- Pipe({ name: 'tuiProgressColorSegmentsAsync' })
17
- ], TuiProgressColorSegmentsAsyncPipe);
18
- return TuiProgressColorSegmentsAsyncPipe;
19
- }(AbstractTuiColorSegments));
20
- export { TuiProgressColorSegmentsAsyncPipe };
21
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvZ3Jlc3MtY29sb3Itc2VnbWVudHMtYXN5bmMucGlwZS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0B0YWlnYS11aS9raXQvY29tcG9uZW50cy9wcm9ncmVzcy8iLCJzb3VyY2VzIjpbInBpcGVzL3Byb2dyZXNzLWNvbG9yLXNlZ21lbnRzLWFzeW5jLnBpcGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFBQyxJQUFJLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFDbkMsT0FBTyxFQUFhLEtBQUssRUFBQyxNQUFNLE1BQU0sQ0FBQztBQUN2QyxPQUFPLEVBQUMsR0FBRyxFQUFDLE1BQU0sZ0JBQWdCLENBQUM7QUFFbkMsT0F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XJuIHRpbWVyKDApLnBpcGUobWFwKCgpID0+IHRoaXMuY2FsY3VsYXRlKGNvbG9ycykpKTtcbiAgICB9XG59XG4iXX0=
@@ -1,23 +0,0 @@
1
- import { __decorate, __extends } from "tslib";
2
- import { Pipe } from '@angular/core';
3
- import { AbstractTuiColorSegments } from './abstract-color-segments';
4
- /**
5
- * @deprecated use tuiProgressColorSegmentsAsync instead
6
- * {@link TuiProgressColorSegmentsAsyncPipe}
7
- * example: `<progress [color]="colors | tuiProgressColorSegmentsAsync | async">`
8
- */
9
- var TuiProgressColorSegmentsPipe = /** @class */ (function (_super) {
10
- __extends(TuiProgressColorSegmentsPipe, _super);
11
- function TuiProgressColorSegmentsPipe() {
12
- return _super !== null && _super.apply(this, arguments) || this;
13
- }
14
- TuiProgressColorSegmentsPipe.prototype.transform = function (colors) {
15
- return this.calculate(colors);
16
- };
17
- TuiProgressColorSegmentsPipe = __decorate([
18
- Pipe({ name: 'tuiProgressColorSegments' })
19
- ], TuiProgressColorSegmentsPipe);
20
- return TuiProgressColorSegmentsPipe;
21
- }(AbstractTuiColorSegments));
22
- export { TuiProgressColorSegmentsPipe };
23
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvZ3Jlc3MtY29sb3Itc2VnbWVudHMucGlwZS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0B0YWlnYS11aS9raXQvY29tcG9uZW50cy9wcm9ncmVzcy8iLCJzb3VyY2VzIjpbInBpcGVzL3Byb2dyZXNzLWNvbG9yLXNlZ21lbnRzLnBpcGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFBQyxJQUFJLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFFbkMsT0FBTyxFQUFDLHdCQUF3QixFQUFDLE1BQU0sMkJBQTJCLENBQUM7QUFFbkU7Ozs7R0FJRztBQUVIO0lBQWtELGdEQUFnQztJQUFsRjs7SUFJQSxDQUFDO0lB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