@taiga-ui/kit 2.33.0 → 2.36.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 (685) 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 +2 -2
  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 +14 -1
  11. package/bundles/taiga-ui-kit-components-arrow.umd.js.map +1 -1
  12. package/bundles/taiga-ui-kit-components-arrow.umd.min.js +1 -1
  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.map +1 -1
  35. package/bundles/taiga-ui-kit-components-carousel.umd.min.js.map +1 -1
  36. package/bundles/taiga-ui-kit-components-checkbox-block.umd.js +2 -2
  37. package/bundles/taiga-ui-kit-components-checkbox-block.umd.js.map +1 -1
  38. package/bundles/taiga-ui-kit-components-checkbox-block.umd.min.js +2 -2
  39. package/bundles/taiga-ui-kit-components-checkbox-block.umd.min.js.map +1 -1
  40. package/bundles/taiga-ui-kit-components-checkbox-labeled.umd.js +2 -2
  41. package/bundles/taiga-ui-kit-components-checkbox-labeled.umd.js.map +1 -1
  42. package/bundles/taiga-ui-kit-components-checkbox-labeled.umd.min.js +1 -1
  43. package/bundles/taiga-ui-kit-components-checkbox-labeled.umd.min.js.map +1 -1
  44. package/bundles/taiga-ui-kit-components-checkbox.umd.js +2 -2
  45. package/bundles/taiga-ui-kit-components-checkbox.umd.js.map +1 -1
  46. package/bundles/taiga-ui-kit-components-checkbox.umd.min.js +1 -1
  47. package/bundles/taiga-ui-kit-components-checkbox.umd.min.js.map +1 -1
  48. package/bundles/taiga-ui-kit-components-combo-box.umd.js +64 -22
  49. package/bundles/taiga-ui-kit-components-combo-box.umd.js.map +1 -1
  50. package/bundles/taiga-ui-kit-components-combo-box.umd.min.js +2 -2
  51. package/bundles/taiga-ui-kit-components-combo-box.umd.min.js.map +1 -1
  52. package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.js +17 -11
  53. package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.js.map +1 -1
  54. package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.min.js +2 -2
  55. package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.min.js.map +1 -1
  56. package/bundles/taiga-ui-kit-components-field-error.umd.js +10 -15
  57. package/bundles/taiga-ui-kit-components-field-error.umd.js.map +1 -1
  58. package/bundles/taiga-ui-kit-components-field-error.umd.min.js +1 -1
  59. package/bundles/taiga-ui-kit-components-field-error.umd.min.js.map +1 -1
  60. package/bundles/taiga-ui-kit-components-filter.umd.js +2 -2
  61. package/bundles/taiga-ui-kit-components-filter.umd.js.map +1 -1
  62. package/bundles/taiga-ui-kit-components-filter.umd.min.js +1 -1
  63. package/bundles/taiga-ui-kit-components-filter.umd.min.js.map +1 -1
  64. package/bundles/taiga-ui-kit-components-input-count.umd.js +7 -2
  65. package/bundles/taiga-ui-kit-components-input-count.umd.js.map +1 -1
  66. package/bundles/taiga-ui-kit-components-input-count.umd.min.js +1 -1
  67. package/bundles/taiga-ui-kit-components-input-count.umd.min.js.map +1 -1
  68. package/bundles/taiga-ui-kit-components-input-month-range.umd.js +64 -41
  69. package/bundles/taiga-ui-kit-components-input-month-range.umd.js.map +1 -1
  70. package/bundles/taiga-ui-kit-components-input-month-range.umd.min.js +2 -2
  71. package/bundles/taiga-ui-kit-components-input-month-range.umd.min.js.map +1 -1
  72. package/bundles/taiga-ui-kit-components-input-month.umd.js +57 -32
  73. package/bundles/taiga-ui-kit-components-input-month.umd.js.map +1 -1
  74. package/bundles/taiga-ui-kit-components-input-month.umd.min.js +2 -2
  75. package/bundles/taiga-ui-kit-components-input-month.umd.min.js.map +1 -1
  76. package/bundles/taiga-ui-kit-components-input-number.umd.js +8 -2
  77. package/bundles/taiga-ui-kit-components-input-number.umd.js.map +1 -1
  78. package/bundles/taiga-ui-kit-components-input-number.umd.min.js +1 -1
  79. package/bundles/taiga-ui-kit-components-input-number.umd.min.js.map +1 -1
  80. package/bundles/taiga-ui-kit-components-input-password.umd.js +5 -0
  81. package/bundles/taiga-ui-kit-components-input-password.umd.js.map +1 -1
  82. package/bundles/taiga-ui-kit-components-input-password.umd.min.js +1 -1
  83. package/bundles/taiga-ui-kit-components-input-password.umd.min.js.map +1 -1
  84. package/bundles/taiga-ui-kit-components-input-phone.umd.js +8 -2
  85. package/bundles/taiga-ui-kit-components-input-phone.umd.js.map +1 -1
  86. package/bundles/taiga-ui-kit-components-input-phone.umd.min.js +2 -2
  87. package/bundles/taiga-ui-kit-components-input-phone.umd.min.js.map +1 -1
  88. package/bundles/taiga-ui-kit-components-input-range.umd.js +2 -2
  89. package/bundles/taiga-ui-kit-components-input-range.umd.js.map +1 -1
  90. package/bundles/taiga-ui-kit-components-input-range.umd.min.js +1 -1
  91. package/bundles/taiga-ui-kit-components-input-range.umd.min.js.map +1 -1
  92. package/bundles/taiga-ui-kit-components-input-slider.umd.js +2 -2
  93. package/bundles/taiga-ui-kit-components-input-slider.umd.js.map +1 -1
  94. package/bundles/taiga-ui-kit-components-input-slider.umd.min.js +2 -2
  95. package/bundles/taiga-ui-kit-components-input-slider.umd.min.js.map +1 -1
  96. package/bundles/taiga-ui-kit-components-input-tag.umd.js +53 -17
  97. package/bundles/taiga-ui-kit-components-input-tag.umd.js.map +1 -1
  98. package/bundles/taiga-ui-kit-components-input-tag.umd.min.js +2 -2
  99. package/bundles/taiga-ui-kit-components-input-tag.umd.min.js.map +1 -1
  100. package/bundles/taiga-ui-kit-components-input-time.umd.js +5 -0
  101. package/bundles/taiga-ui-kit-components-input-time.umd.js.map +1 -1
  102. package/bundles/taiga-ui-kit-components-input-time.umd.min.js +1 -1
  103. package/bundles/taiga-ui-kit-components-input-time.umd.min.js.map +1 -1
  104. package/bundles/taiga-ui-kit-components-line-clamp.umd.js +25 -14
  105. package/bundles/taiga-ui-kit-components-line-clamp.umd.js.map +1 -1
  106. package/bundles/taiga-ui-kit-components-line-clamp.umd.min.js +1 -1
  107. package/bundles/taiga-ui-kit-components-line-clamp.umd.min.js.map +1 -1
  108. package/bundles/taiga-ui-kit-components-marker-icon.umd.js +2 -2
  109. package/bundles/taiga-ui-kit-components-marker-icon.umd.js.map +1 -1
  110. package/bundles/taiga-ui-kit-components-marker-icon.umd.min.js +1 -1
  111. package/bundles/taiga-ui-kit-components-marker-icon.umd.min.js.map +1 -1
  112. package/bundles/taiga-ui-kit-components-multi-select.umd.js +51 -16
  113. package/bundles/taiga-ui-kit-components-multi-select.umd.js.map +1 -1
  114. package/bundles/taiga-ui-kit-components-multi-select.umd.min.js +2 -2
  115. package/bundles/taiga-ui-kit-components-multi-select.umd.min.js.map +1 -1
  116. package/bundles/taiga-ui-kit-components-progress.umd.js +140 -73
  117. package/bundles/taiga-ui-kit-components-progress.umd.js.map +1 -1
  118. package/bundles/taiga-ui-kit-components-progress.umd.min.js +2 -2
  119. package/bundles/taiga-ui-kit-components-progress.umd.min.js.map +1 -1
  120. package/bundles/taiga-ui-kit-components-radio-block.umd.js +2 -2
  121. package/bundles/taiga-ui-kit-components-radio-block.umd.js.map +1 -1
  122. package/bundles/taiga-ui-kit-components-radio-block.umd.min.js +1 -1
  123. package/bundles/taiga-ui-kit-components-radio-block.umd.min.js.map +1 -1
  124. package/bundles/taiga-ui-kit-components-radio-labeled.umd.js +2 -2
  125. package/bundles/taiga-ui-kit-components-radio-labeled.umd.js.map +1 -1
  126. package/bundles/taiga-ui-kit-components-radio-labeled.umd.min.js +1 -1
  127. package/bundles/taiga-ui-kit-components-radio-labeled.umd.min.js.map +1 -1
  128. package/bundles/taiga-ui-kit-components-radio-list.umd.js +2 -2
  129. package/bundles/taiga-ui-kit-components-radio-list.umd.js.map +1 -1
  130. package/bundles/taiga-ui-kit-components-radio-list.umd.min.js +1 -1
  131. package/bundles/taiga-ui-kit-components-radio-list.umd.min.js.map +1 -1
  132. package/bundles/taiga-ui-kit-components-radio.umd.js +7 -2
  133. package/bundles/taiga-ui-kit-components-radio.umd.js.map +1 -1
  134. package/bundles/taiga-ui-kit-components-radio.umd.min.js +1 -1
  135. package/bundles/taiga-ui-kit-components-radio.umd.min.js.map +1 -1
  136. package/bundles/taiga-ui-kit-components-range.umd.js +1 -1
  137. package/bundles/taiga-ui-kit-components-range.umd.min.js +1 -1
  138. package/bundles/taiga-ui-kit-components-range.umd.min.js.map +1 -1
  139. package/bundles/taiga-ui-kit-components-rating.umd.js +5 -0
  140. package/bundles/taiga-ui-kit-components-rating.umd.js.map +1 -1
  141. package/bundles/taiga-ui-kit-components-rating.umd.min.js +1 -1
  142. package/bundles/taiga-ui-kit-components-rating.umd.min.js.map +1 -1
  143. package/bundles/taiga-ui-kit-components-select.umd.js +35 -10
  144. package/bundles/taiga-ui-kit-components-select.umd.js.map +1 -1
  145. package/bundles/taiga-ui-kit-components-select.umd.min.js +2 -2
  146. package/bundles/taiga-ui-kit-components-select.umd.min.js.map +1 -1
  147. package/bundles/taiga-ui-kit-components-slider.umd.js +272 -27
  148. package/bundles/taiga-ui-kit-components-slider.umd.js.map +1 -1
  149. package/bundles/taiga-ui-kit-components-slider.umd.min.js +2 -2
  150. package/bundles/taiga-ui-kit-components-slider.umd.min.js.map +1 -1
  151. package/bundles/taiga-ui-kit-components-tag.umd.js +9 -3
  152. package/bundles/taiga-ui-kit-components-tag.umd.js.map +1 -1
  153. package/bundles/taiga-ui-kit-components-tag.umd.min.js +1 -1
  154. package/bundles/taiga-ui-kit-components-tag.umd.min.js.map +1 -1
  155. package/bundles/taiga-ui-kit-components-text-area.umd.js +50 -13
  156. package/bundles/taiga-ui-kit-components-text-area.umd.js.map +1 -1
  157. package/bundles/taiga-ui-kit-components-text-area.umd.min.js +1 -1
  158. package/bundles/taiga-ui-kit-components-text-area.umd.min.js.map +1 -1
  159. package/bundles/taiga-ui-kit-components-toggle.umd.js +7 -2
  160. package/bundles/taiga-ui-kit-components-toggle.umd.js.map +1 -1
  161. package/bundles/taiga-ui-kit-components-toggle.umd.min.js +1 -1
  162. package/bundles/taiga-ui-kit-components-toggle.umd.min.js.map +1 -1
  163. package/bundles/taiga-ui-kit-directives-dropdown-selection.umd.js +22 -5
  164. package/bundles/taiga-ui-kit-directives-dropdown-selection.umd.js.map +1 -1
  165. package/bundles/taiga-ui-kit-directives-dropdown-selection.umd.min.js +1 -1
  166. package/bundles/taiga-ui-kit-directives-dropdown-selection.umd.min.js.map +1 -1
  167. package/bundles/taiga-ui-kit-directives-lazy-loading.umd.js +1 -1
  168. package/bundles/taiga-ui-kit-directives-lazy-loading.umd.min.js +1 -1
  169. package/bundles/taiga-ui-kit-pipes-field-error.umd.js +421 -0
  170. package/bundles/taiga-ui-kit-pipes-field-error.umd.js.map +1 -0
  171. package/bundles/taiga-ui-kit-pipes-field-error.umd.min.js +16 -0
  172. package/bundles/taiga-ui-kit-pipes-field-error.umd.min.js.map +1 -0
  173. package/bundles/taiga-ui-kit-pipes.umd.js +12 -4
  174. package/bundles/taiga-ui-kit-pipes.umd.js.map +1 -1
  175. package/bundles/taiga-ui-kit-pipes.umd.min.js +1 -1
  176. package/bundles/taiga-ui-kit-providers.umd.js +29 -12
  177. package/bundles/taiga-ui-kit-providers.umd.js.map +1 -1
  178. package/bundles/taiga-ui-kit-providers.umd.min.js +1 -1
  179. package/bundles/taiga-ui-kit-providers.umd.min.js.map +1 -1
  180. package/bundles/taiga-ui-kit-tokens.umd.js +242 -4
  181. package/bundles/taiga-ui-kit-tokens.umd.js.map +1 -1
  182. package/bundles/taiga-ui-kit-tokens.umd.min.js +15 -1
  183. package/bundles/taiga-ui-kit-tokens.umd.min.js.map +1 -1
  184. package/components/accordion/taiga-ui-kit-components-accordion.metadata.json +1 -1
  185. package/components/arrow/arrow-options.d.ts +7 -5
  186. package/components/arrow/taiga-ui-kit-components-arrow.metadata.json +1 -1
  187. package/components/avatar/taiga-ui-kit-components-avatar.metadata.json +1 -1
  188. package/components/badge/taiga-ui-kit-components-badge.metadata.json +1 -1
  189. package/components/badged-content/taiga-ui-kit-components-badged-content.metadata.json +1 -1
  190. package/components/breadcrumbs/taiga-ui-kit-components-breadcrumbs.metadata.json +1 -1
  191. package/components/calendar-month/taiga-ui-kit-components-calendar-month.metadata.json +1 -1
  192. package/components/carousel/carousel-buttons.directive.d.ts +2 -2
  193. package/components/checkbox/checkbox.component.d.ts +2 -2
  194. package/components/checkbox/taiga-ui-kit-components-checkbox.metadata.json +1 -1
  195. package/components/checkbox-block/taiga-ui-kit-components-checkbox-block.metadata.json +1 -1
  196. package/components/checkbox-labeled/taiga-ui-kit-components-checkbox-labeled.metadata.json +1 -1
  197. package/components/combo-box/combo-box-strict.directive.d.ts +7 -0
  198. package/components/combo-box/combo-box.component.d.ts +8 -5
  199. package/components/combo-box/index.d.ts +1 -0
  200. package/components/combo-box/taiga-ui-kit-components-combo-box.metadata.json +1 -1
  201. package/components/data-list-wrapper/data-list-wrapper.component.d.ts +5 -3
  202. package/components/data-list-wrapper/taiga-ui-kit-components-data-list-wrapper.metadata.json +1 -1
  203. package/components/field-error/field-error.component.d.ts +1 -2
  204. package/components/field-error/field-error.module.d.ts +3 -0
  205. package/components/field-error/taiga-ui-kit-components-field-error.metadata.json +1 -1
  206. package/components/filter/taiga-ui-kit-components-filter.metadata.json +1 -1
  207. package/components/input-count/input-count-options.d.ts +10 -4
  208. package/components/input-count/input-count.component.d.ts +3 -3
  209. package/components/input-count/taiga-ui-kit-components-input-count.metadata.json +1 -1
  210. package/components/input-month/index.d.ts +1 -0
  211. package/components/input-month/input-month.component.d.ts +6 -4
  212. package/components/input-month/input-month.directive.d.ts +8 -1
  213. package/components/input-month/input-month.providers.d.ts +2 -0
  214. package/components/input-month/taiga-ui-kit-components-input-month.metadata.json +1 -1
  215. package/components/input-month-range/index.d.ts +1 -0
  216. package/components/input-month-range/input-month-range.component.d.ts +6 -7
  217. package/components/input-month-range/input-month-range.directive.d.ts +8 -1
  218. package/components/input-month-range/input-month-range.providers.d.ts +2 -0
  219. package/components/input-month-range/taiga-ui-kit-components-input-month-range.metadata.json +1 -1
  220. package/components/input-number/input-number.directive.d.ts +4 -1
  221. package/components/input-number/taiga-ui-kit-components-input-number.metadata.json +1 -1
  222. package/components/input-password/input-password-options.d.ts +10 -4
  223. package/components/input-password/input-password.component.d.ts +3 -3
  224. package/components/input-password/taiga-ui-kit-components-input-password.metadata.json +1 -1
  225. package/components/input-phone/input-phone.directive.d.ts +4 -1
  226. package/components/input-phone/taiga-ui-kit-components-input-phone.metadata.json +1 -1
  227. package/components/input-range/taiga-ui-kit-components-input-range.metadata.json +1 -1
  228. package/components/input-slider/taiga-ui-kit-components-input-slider.metadata.json +1 -1
  229. package/components/input-tag/index.d.ts +1 -0
  230. package/components/input-tag/input-tag-options.d.ts +7 -0
  231. package/components/input-tag/input-tag.component.d.ts +9 -4
  232. package/components/input-tag/taiga-ui-kit-components-input-tag.metadata.json +1 -1
  233. package/components/input-time/input-time-options.d.ts +10 -4
  234. package/components/input-time/input-time.component.d.ts +6 -6
  235. package/components/input-time/taiga-ui-kit-components-input-time.metadata.json +1 -1
  236. package/components/line-clamp/line-clamp.component.d.ts +7 -3
  237. package/components/line-clamp/taiga-ui-kit-components-line-clamp.metadata.json +1 -1
  238. package/components/marker-icon/taiga-ui-kit-components-marker-icon.metadata.json +1 -1
  239. package/components/multi-select/hide-selected.pipe.d.ts +1 -1
  240. package/components/multi-select/index.d.ts +1 -0
  241. package/components/multi-select/multi-select-options.d.ts +10 -0
  242. package/components/multi-select/multi-select.component.d.ts +14 -8
  243. package/components/multi-select/taiga-ui-kit-components-multi-select.metadata.json +1 -1
  244. package/components/progress/index.d.ts +4 -3
  245. package/components/progress/progress-bar/progress-color-segments.directive.d.ts +11 -0
  246. package/components/progress/taiga-ui-kit-components-progress.metadata.json +1 -1
  247. package/components/progress/{pipes → utils}/abstract-color-segments.d.ts +0 -0
  248. package/components/progress/utils/calculate-color-segments.d.ts +5 -0
  249. package/components/progress/{pipes → utils}/progress-color-segments-async.pipe.d.ts +5 -0
  250. package/components/progress/utils/progress-color-segments.pipe.d.ts +9 -0
  251. package/components/radio/radio-options.d.ts +10 -4
  252. package/components/radio/radio.component.d.ts +2 -2
  253. package/components/radio/taiga-ui-kit-components-radio.metadata.json +1 -1
  254. package/components/radio-block/taiga-ui-kit-components-radio-block.metadata.json +1 -1
  255. package/components/radio-labeled/taiga-ui-kit-components-radio-labeled.metadata.json +1 -1
  256. package/components/radio-list/taiga-ui-kit-components-radio-list.metadata.json +1 -1
  257. package/components/range/taiga-ui-kit-components-range.metadata.json +1 -1
  258. package/components/rating/rating-options.d.ts +2 -1
  259. package/components/rating/taiga-ui-kit-components-rating.metadata.json +1 -1
  260. package/components/select/index.d.ts +1 -0
  261. package/components/select/select-options.d.ts +9 -0
  262. package/components/select/select.component.d.ts +9 -4
  263. package/components/select/taiga-ui-kit-components-select.metadata.json +1 -1
  264. package/components/slider/index.d.ts +3 -0
  265. package/components/slider/slider-key-steps.directive.d.ts +17 -0
  266. package/components/slider/slider-old.component.d.ts +19 -0
  267. package/components/slider/slider-options.d.ts +9 -0
  268. package/components/slider/slider.component.d.ts +18 -13
  269. package/components/slider/taiga-ui-kit-components-slider.metadata.json +1 -1
  270. package/components/tag/tag.component.d.ts +1 -0
  271. package/components/tag/taiga-ui-kit-components-tag.metadata.json +1 -1
  272. package/components/text-area/index.d.ts +1 -0
  273. package/components/text-area/taiga-ui-kit-components-text-area.metadata.json +1 -1
  274. package/components/text-area/text-area.component.d.ts +2 -1
  275. package/components/text-area/text-area.directive.d.ts +5 -0
  276. package/components/toggle/taiga-ui-kit-components-toggle.metadata.json +1 -1
  277. package/components/toggle/toggle-options.d.ts +10 -4
  278. package/components/toggle/toggle.component.d.ts +3 -3
  279. package/directives/dropdown-selection/dropdown-selection.directive.d.ts +2 -2
  280. package/directives/dropdown-selection/taiga-ui-kit-directives-dropdown-selection.metadata.json +1 -1
  281. package/directives/lazy-loading/index.d.ts +1 -0
  282. package/directives/lazy-loading/taiga-ui-kit-directives-lazy-loading.d.ts +0 -1
  283. package/directives/lazy-loading/taiga-ui-kit-directives-lazy-loading.metadata.json +1 -1
  284. package/esm2015/abstract/input-slider.js +2 -2
  285. package/esm2015/abstract/slider/slider.js +2 -2
  286. package/esm2015/components/accordion/accordion-item/accordion-item.component.js +3 -3
  287. package/esm2015/components/arrow/arrow-options.js +13 -2
  288. package/esm2015/components/avatar/avatar.component.js +3 -3
  289. package/esm2015/components/badge/badge.component.js +3 -3
  290. package/esm2015/components/badged-content/badged-content.component.js +3 -3
  291. package/esm2015/components/breadcrumbs/breadcrumbs.component.js +3 -3
  292. package/esm2015/components/calendar-month/calendar-month.component.js +3 -3
  293. package/esm2015/components/carousel/carousel-buttons.directive.js +1 -1
  294. package/esm2015/components/checkbox/checkbox.component.js +3 -3
  295. package/esm2015/components/checkbox-block/checkbox-block.component.js +3 -3
  296. package/esm2015/components/checkbox-labeled/checkbox-labeled.component.js +3 -3
  297. package/esm2015/components/combo-box/combo-box-strict.directive.js +31 -0
  298. package/esm2015/components/combo-box/combo-box.component.js +24 -18
  299. package/esm2015/components/combo-box/combo-box.module.js +13 -3
  300. package/esm2015/components/combo-box/index.js +2 -1
  301. package/esm2015/components/data-list-wrapper/data-list-wrapper.component.js +17 -11
  302. package/esm2015/components/field-error/field-error.component.js +8 -12
  303. package/esm2015/components/field-error/field-error.module.js +6 -2
  304. package/esm2015/components/filter/filter.component.js +3 -3
  305. package/esm2015/components/input-count/input-count-options.js +5 -1
  306. package/esm2015/components/input-count/input-count.component.js +3 -3
  307. package/esm2015/components/input-month/index.js +2 -1
  308. package/esm2015/components/input-month/input-month.component.js +19 -25
  309. package/esm2015/components/input-month/input-month.directive.js +32 -7
  310. package/esm2015/components/input-month/input-month.module.js +4 -4
  311. package/esm2015/components/input-month/input-month.providers.js +19 -0
  312. package/esm2015/components/input-month-range/index.js +2 -1
  313. package/esm2015/components/input-month-range/input-month-range.component.js +21 -37
  314. package/esm2015/components/input-month-range/input-month-range.directive.js +37 -7
  315. package/esm2015/components/input-month-range/input-month-range.module.js +3 -2
  316. package/esm2015/components/input-month-range/input-month-range.providers.js +19 -0
  317. package/esm2015/components/input-number/input-number.directive.js +9 -3
  318. package/esm2015/components/input-password/input-password-options.js +5 -1
  319. package/esm2015/components/input-password/input-password.component.js +2 -2
  320. package/esm2015/components/input-phone/input-phone.directive.js +9 -3
  321. package/esm2015/components/input-range/input-range.component.js +3 -3
  322. package/esm2015/components/input-slider/input-slider.component.js +3 -3
  323. package/esm2015/components/input-tag/index.js +2 -1
  324. package/esm2015/components/input-tag/input-tag-options.js +9 -0
  325. package/esm2015/components/input-tag/input-tag.component.js +40 -17
  326. package/esm2015/components/input-time/input-time-options.js +5 -1
  327. package/esm2015/components/input-time/input-time.component.js +1 -1
  328. package/esm2015/components/line-clamp/line-clamp.component.js +25 -15
  329. package/esm2015/components/line-clamp/line-clamp.directive.js +2 -1
  330. package/esm2015/components/marker-icon/marker-icon.component.js +3 -3
  331. package/esm2015/components/multi-select/hide-selected.pipe.js +4 -3
  332. package/esm2015/components/multi-select/index.js +2 -1
  333. package/esm2015/components/multi-select/multi-select-options.js +13 -0
  334. package/esm2015/components/multi-select/multi-select.component.js +30 -12
  335. package/esm2015/components/progress/index.js +5 -4
  336. package/esm2015/components/progress/progress-bar/progress-color-segments.directive.js +48 -0
  337. package/esm2015/components/progress/progress.module.js +6 -3
  338. package/esm2015/components/progress/utils/abstract-color-segments.js +32 -0
  339. package/esm2015/components/progress/utils/calculate-color-segments.js +10 -0
  340. package/esm2015/components/progress/utils/progress-color-segments-async.pipe.js +21 -0
  341. package/esm2015/components/progress/utils/progress-color-segments.pipe.js +19 -0
  342. package/esm2015/components/radio/radio-options.js +5 -1
  343. package/esm2015/components/radio/radio.component.js +3 -3
  344. package/esm2015/components/radio-block/radio-block.component.js +3 -3
  345. package/esm2015/components/radio-labeled/radio-labeled.component.js +3 -3
  346. package/esm2015/components/radio-list/radio-list.component.js +3 -3
  347. package/esm2015/components/range/range.component.js +1 -1
  348. package/esm2015/components/rating/rating-options.js +5 -1
  349. package/esm2015/components/select/index.js +2 -1
  350. package/esm2015/components/select/select-options.js +12 -0
  351. package/esm2015/components/select/select.component.js +21 -8
  352. package/esm2015/components/slider/index.js +4 -1
  353. package/esm2015/components/slider/slider-key-steps.directive.js +81 -0
  354. package/esm2015/components/slider/slider-old.component.js +71 -0
  355. package/esm2015/components/slider/slider-options.js +11 -0
  356. package/esm2015/components/slider/slider.component.js +86 -44
  357. package/esm2015/components/slider/slider.module.js +5 -3
  358. package/esm2015/components/tag/tag.component.js +10 -4
  359. package/esm2015/components/text-area/index.js +2 -1
  360. package/esm2015/components/text-area/text-area.component.js +21 -13
  361. package/esm2015/components/text-area/text-area.directive.js +22 -0
  362. package/esm2015/components/text-area/text-area.module.js +7 -6
  363. package/esm2015/components/text-area/text-area.providers.js +6 -2
  364. package/esm2015/components/toggle/toggle-options.js +5 -1
  365. package/esm2015/components/toggle/toggle.component.js +3 -3
  366. package/esm2015/directives/dropdown-selection/dropdown-selection.directive.js +23 -6
  367. package/esm2015/directives/lazy-loading/index.js +2 -1
  368. package/esm2015/directives/lazy-loading/taiga-ui-kit-directives-lazy-loading.js +1 -2
  369. package/esm2015/pipes/field-error/field-error-content-pipe.js +35 -0
  370. package/esm2015/pipes/field-error/field-error-pipe.js +120 -0
  371. package/esm2015/pipes/field-error/field-error.module.js +14 -0
  372. package/esm2015/pipes/field-error/index.js +4 -0
  373. package/esm2015/pipes/field-error/taiga-ui-kit-pipes-field-error.js +5 -0
  374. package/esm2015/pipes/index.js +2 -1
  375. package/esm2015/providers/index.js +2 -1
  376. package/esm2015/providers/month-formatter.provider.js +17 -0
  377. package/esm2015/providers/value-accessor.provider.js +2 -2
  378. package/esm2015/tokens/index.js +3 -1
  379. package/esm2015/tokens/items-handlers.js +15 -0
  380. package/esm2015/tokens/month-formatter.js +3 -0
  381. package/esm5/abstract/input-slider.js +2 -2
  382. package/esm5/abstract/slider/slider.js +2 -2
  383. package/esm5/components/accordion/accordion-item/accordion-item.component.js +3 -3
  384. package/esm5/components/arrow/arrow-options.js +14 -2
  385. package/esm5/components/avatar/avatar.component.js +3 -3
  386. package/esm5/components/badge/badge.component.js +3 -3
  387. package/esm5/components/badged-content/badged-content.component.js +3 -3
  388. package/esm5/components/breadcrumbs/breadcrumbs.component.js +3 -3
  389. package/esm5/components/calendar-month/calendar-month.component.js +3 -3
  390. package/esm5/components/carousel/carousel-buttons.directive.js +1 -1
  391. package/esm5/components/checkbox/checkbox.component.js +3 -3
  392. package/esm5/components/checkbox-block/checkbox-block.component.js +3 -3
  393. package/esm5/components/checkbox-labeled/checkbox-labeled.component.js +3 -3
  394. package/esm5/components/combo-box/combo-box-strict.directive.js +32 -0
  395. package/esm5/components/combo-box/combo-box.component.js +24 -18
  396. package/esm5/components/combo-box/combo-box.module.js +13 -3
  397. package/esm5/components/combo-box/index.js +2 -1
  398. package/esm5/components/data-list-wrapper/data-list-wrapper.component.js +18 -11
  399. package/esm5/components/field-error/field-error.component.js +8 -16
  400. package/esm5/components/field-error/field-error.module.js +6 -2
  401. package/esm5/components/filter/filter.component.js +3 -3
  402. package/esm5/components/input-count/input-count-options.js +6 -1
  403. package/esm5/components/input-count/input-count.component.js +3 -3
  404. package/esm5/components/input-month/index.js +2 -1
  405. package/esm5/components/input-month/input-month.component.js +18 -25
  406. package/esm5/components/input-month/input-month.directive.js +32 -9
  407. package/esm5/components/input-month/input-month.module.js +4 -4
  408. package/esm5/components/input-month/input-month.providers.js +19 -0
  409. package/esm5/components/input-month-range/index.js +2 -1
  410. package/esm5/components/input-month-range/input-month-range.component.js +20 -38
  411. package/esm5/components/input-month-range/input-month-range.directive.js +38 -8
  412. package/esm5/components/input-month-range/input-month-range.module.js +3 -2
  413. package/esm5/components/input-month-range/input-month-range.providers.js +19 -0
  414. package/esm5/components/input-number/input-number.directive.js +9 -3
  415. package/esm5/components/input-password/input-password-options.js +6 -1
  416. package/esm5/components/input-password/input-password.component.js +2 -2
  417. package/esm5/components/input-phone/input-phone.directive.js +9 -3
  418. package/esm5/components/input-range/input-range.component.js +3 -3
  419. package/esm5/components/input-slider/input-slider.component.js +3 -3
  420. package/esm5/components/input-tag/index.js +2 -1
  421. package/esm5/components/input-tag/input-tag-options.js +9 -0
  422. package/esm5/components/input-tag/input-tag.component.js +45 -18
  423. package/esm5/components/input-time/input-time-options.js +6 -1
  424. package/esm5/components/input-time/input-time.component.js +1 -1
  425. package/esm5/components/line-clamp/line-clamp.component.js +26 -16
  426. package/esm5/components/line-clamp/line-clamp.directive.js +2 -1
  427. package/esm5/components/marker-icon/marker-icon.component.js +3 -3
  428. package/esm5/components/multi-select/hide-selected.pipe.js +4 -4
  429. package/esm5/components/multi-select/index.js +2 -1
  430. package/esm5/components/multi-select/multi-select-options.js +14 -0
  431. package/esm5/components/multi-select/multi-select.component.js +34 -12
  432. package/esm5/components/progress/index.js +5 -4
  433. package/esm5/components/progress/progress-bar/progress-color-segments.directive.js +56 -0
  434. package/esm5/components/progress/progress.module.js +6 -3
  435. package/esm5/components/progress/utils/abstract-color-segments.js +33 -0
  436. package/esm5/components/progress/utils/calculate-color-segments.js +12 -0
  437. package/esm5/components/progress/utils/progress-color-segments-async.pipe.js +27 -0
  438. package/esm5/components/progress/utils/progress-color-segments.pipe.js +24 -0
  439. package/esm5/components/radio/radio-options.js +6 -1
  440. package/esm5/components/radio/radio.component.js +3 -3
  441. package/esm5/components/radio-block/radio-block.component.js +3 -3
  442. package/esm5/components/radio-labeled/radio-labeled.component.js +3 -3
  443. package/esm5/components/radio-list/radio-list.component.js +3 -3
  444. package/esm5/components/range/range.component.js +1 -1
  445. package/esm5/components/rating/rating-options.js +6 -1
  446. package/esm5/components/select/index.js +2 -1
  447. package/esm5/components/select/select-options.js +13 -0
  448. package/esm5/components/select/select.component.js +21 -8
  449. package/esm5/components/slider/index.js +4 -1
  450. package/esm5/components/slider/slider-key-steps.directive.js +102 -0
  451. package/esm5/components/slider/slider-old.component.js +90 -0
  452. package/esm5/components/slider/slider-options.js +12 -0
  453. package/esm5/components/slider/slider.component.js +103 -51
  454. package/esm5/components/slider/slider.module.js +5 -3
  455. package/esm5/components/tag/tag.component.js +10 -4
  456. package/esm5/components/text-area/index.js +2 -1
  457. package/esm5/components/text-area/text-area.component.js +21 -13
  458. package/esm5/components/text-area/text-area.directive.js +28 -0
  459. package/esm5/components/text-area/text-area.module.js +7 -6
  460. package/esm5/components/text-area/text-area.providers.js +6 -2
  461. package/esm5/components/toggle/toggle-options.js +6 -1
  462. package/esm5/components/toggle/toggle.component.js +3 -3
  463. package/esm5/directives/dropdown-selection/dropdown-selection.directive.js +23 -6
  464. package/esm5/directives/lazy-loading/index.js +2 -1
  465. package/esm5/directives/lazy-loading/taiga-ui-kit-directives-lazy-loading.js +1 -2
  466. package/esm5/pipes/field-error/field-error-content-pipe.js +36 -0
  467. package/esm5/pipes/field-error/field-error-pipe.js +153 -0
  468. package/esm5/pipes/field-error/field-error.module.js +17 -0
  469. package/esm5/pipes/field-error/index.js +4 -0
  470. package/esm5/pipes/field-error/taiga-ui-kit-pipes-field-error.js +5 -0
  471. package/esm5/pipes/index.js +2 -1
  472. package/esm5/providers/index.js +2 -1
  473. package/esm5/providers/month-formatter.provider.js +19 -0
  474. package/esm5/providers/value-accessor.provider.js +2 -2
  475. package/esm5/tokens/index.js +3 -1
  476. package/esm5/tokens/items-handlers.js +16 -0
  477. package/esm5/tokens/month-formatter.js +3 -0
  478. package/fesm2015/taiga-ui-kit-abstract.js +2 -2
  479. package/fesm2015/taiga-ui-kit-abstract.js.map +1 -1
  480. package/fesm2015/taiga-ui-kit-components-accordion.js +2 -2
  481. package/fesm2015/taiga-ui-kit-components-accordion.js.map +1 -1
  482. package/fesm2015/taiga-ui-kit-components-arrow.js +13 -2
  483. package/fesm2015/taiga-ui-kit-components-arrow.js.map +1 -1
  484. package/fesm2015/taiga-ui-kit-components-avatar.js +2 -2
  485. package/fesm2015/taiga-ui-kit-components-avatar.js.map +1 -1
  486. package/fesm2015/taiga-ui-kit-components-badge.js +2 -2
  487. package/fesm2015/taiga-ui-kit-components-badge.js.map +1 -1
  488. package/fesm2015/taiga-ui-kit-components-badged-content.js +2 -2
  489. package/fesm2015/taiga-ui-kit-components-badged-content.js.map +1 -1
  490. package/fesm2015/taiga-ui-kit-components-breadcrumbs.js +2 -2
  491. package/fesm2015/taiga-ui-kit-components-breadcrumbs.js.map +1 -1
  492. package/fesm2015/taiga-ui-kit-components-calendar-month.js +2 -2
  493. package/fesm2015/taiga-ui-kit-components-calendar-month.js.map +1 -1
  494. package/fesm2015/taiga-ui-kit-components-carousel.js.map +1 -1
  495. package/fesm2015/taiga-ui-kit-components-checkbox-block.js +2 -2
  496. package/fesm2015/taiga-ui-kit-components-checkbox-block.js.map +1 -1
  497. package/fesm2015/taiga-ui-kit-components-checkbox-labeled.js +2 -2
  498. package/fesm2015/taiga-ui-kit-components-checkbox-labeled.js.map +1 -1
  499. package/fesm2015/taiga-ui-kit-components-checkbox.js +2 -2
  500. package/fesm2015/taiga-ui-kit-components-checkbox.js.map +1 -1
  501. package/fesm2015/taiga-ui-kit-components-combo-box.js +62 -21
  502. package/fesm2015/taiga-ui-kit-components-combo-box.js.map +1 -1
  503. package/fesm2015/taiga-ui-kit-components-data-list-wrapper.js +16 -10
  504. package/fesm2015/taiga-ui-kit-components-data-list-wrapper.js.map +1 -1
  505. package/fesm2015/taiga-ui-kit-components-field-error.js +12 -13
  506. package/fesm2015/taiga-ui-kit-components-field-error.js.map +1 -1
  507. package/fesm2015/taiga-ui-kit-components-filter.js +2 -2
  508. package/fesm2015/taiga-ui-kit-components-filter.js.map +1 -1
  509. package/fesm2015/taiga-ui-kit-components-input-count.js +7 -3
  510. package/fesm2015/taiga-ui-kit-components-input-count.js.map +1 -1
  511. package/fesm2015/taiga-ui-kit-components-input-month-range.js +67 -41
  512. package/fesm2015/taiga-ui-kit-components-input-month-range.js.map +1 -1
  513. package/fesm2015/taiga-ui-kit-components-input-month.js +61 -31
  514. package/fesm2015/taiga-ui-kit-components-input-month.js.map +1 -1
  515. package/fesm2015/taiga-ui-kit-components-input-number.js +8 -2
  516. package/fesm2015/taiga-ui-kit-components-input-number.js.map +1 -1
  517. package/fesm2015/taiga-ui-kit-components-input-password.js +5 -1
  518. package/fesm2015/taiga-ui-kit-components-input-password.js.map +1 -1
  519. package/fesm2015/taiga-ui-kit-components-input-phone.js +8 -2
  520. package/fesm2015/taiga-ui-kit-components-input-phone.js.map +1 -1
  521. package/fesm2015/taiga-ui-kit-components-input-range.js +2 -2
  522. package/fesm2015/taiga-ui-kit-components-input-range.js.map +1 -1
  523. package/fesm2015/taiga-ui-kit-components-input-slider.js +2 -2
  524. package/fesm2015/taiga-ui-kit-components-input-slider.js.map +1 -1
  525. package/fesm2015/taiga-ui-kit-components-input-tag.js +48 -18
  526. package/fesm2015/taiga-ui-kit-components-input-tag.js.map +1 -1
  527. package/fesm2015/taiga-ui-kit-components-input-time.js +5 -1
  528. package/fesm2015/taiga-ui-kit-components-input-time.js.map +1 -1
  529. package/fesm2015/taiga-ui-kit-components-line-clamp.js +25 -14
  530. package/fesm2015/taiga-ui-kit-components-line-clamp.js.map +1 -1
  531. package/fesm2015/taiga-ui-kit-components-marker-icon.js +2 -2
  532. package/fesm2015/taiga-ui-kit-components-marker-icon.js.map +1 -1
  533. package/fesm2015/taiga-ui-kit-components-multi-select.js +45 -15
  534. package/fesm2015/taiga-ui-kit-components-multi-select.js.map +1 -1
  535. package/fesm2015/taiga-ui-kit-components-progress.js +113 -55
  536. package/fesm2015/taiga-ui-kit-components-progress.js.map +1 -1
  537. package/fesm2015/taiga-ui-kit-components-radio-block.js +2 -2
  538. package/fesm2015/taiga-ui-kit-components-radio-block.js.map +1 -1
  539. package/fesm2015/taiga-ui-kit-components-radio-labeled.js +2 -2
  540. package/fesm2015/taiga-ui-kit-components-radio-labeled.js.map +1 -1
  541. package/fesm2015/taiga-ui-kit-components-radio-list.js +2 -2
  542. package/fesm2015/taiga-ui-kit-components-radio-list.js.map +1 -1
  543. package/fesm2015/taiga-ui-kit-components-radio.js +7 -3
  544. package/fesm2015/taiga-ui-kit-components-radio.js.map +1 -1
  545. package/fesm2015/taiga-ui-kit-components-range.js +1 -1
  546. package/fesm2015/taiga-ui-kit-components-rating.js +5 -1
  547. package/fesm2015/taiga-ui-kit-components-rating.js.map +1 -1
  548. package/fesm2015/taiga-ui-kit-components-select.js +32 -9
  549. package/fesm2015/taiga-ui-kit-components-select.js.map +1 -1
  550. package/fesm2015/taiga-ui-kit-components-slider.js +206 -14
  551. package/fesm2015/taiga-ui-kit-components-slider.js.map +1 -1
  552. package/fesm2015/taiga-ui-kit-components-tag.js +9 -3
  553. package/fesm2015/taiga-ui-kit-components-tag.js.map +1 -1
  554. package/fesm2015/taiga-ui-kit-components-text-area.js +47 -17
  555. package/fesm2015/taiga-ui-kit-components-text-area.js.map +1 -1
  556. package/fesm2015/taiga-ui-kit-components-toggle.js +7 -3
  557. package/fesm2015/taiga-ui-kit-components-toggle.js.map +1 -1
  558. package/fesm2015/taiga-ui-kit-directives-dropdown-selection.js +22 -5
  559. package/fesm2015/taiga-ui-kit-directives-dropdown-selection.js.map +1 -1
  560. package/fesm2015/taiga-ui-kit-directives-lazy-loading.js +1 -1
  561. package/fesm2015/taiga-ui-kit-directives-lazy-loading.js.map +1 -1
  562. package/fesm2015/taiga-ui-kit-pipes-field-error.js +166 -0
  563. package/fesm2015/taiga-ui-kit-pipes-field-error.js.map +1 -0
  564. package/fesm2015/taiga-ui-kit-pipes.js +1 -0
  565. package/fesm2015/taiga-ui-kit-pipes.js.map +1 -1
  566. package/fesm2015/taiga-ui-kit-providers.js +18 -4
  567. package/fesm2015/taiga-ui-kit-providers.js.map +1 -1
  568. package/fesm2015/taiga-ui-kit-tokens.js +17 -1
  569. package/fesm2015/taiga-ui-kit-tokens.js.map +1 -1
  570. package/fesm5/taiga-ui-kit-abstract.js +2 -2
  571. package/fesm5/taiga-ui-kit-abstract.js.map +1 -1
  572. package/fesm5/taiga-ui-kit-components-accordion.js +2 -2
  573. package/fesm5/taiga-ui-kit-components-accordion.js.map +1 -1
  574. package/fesm5/taiga-ui-kit-components-arrow.js +14 -3
  575. package/fesm5/taiga-ui-kit-components-arrow.js.map +1 -1
  576. package/fesm5/taiga-ui-kit-components-avatar.js +2 -2
  577. package/fesm5/taiga-ui-kit-components-avatar.js.map +1 -1
  578. package/fesm5/taiga-ui-kit-components-badge.js +2 -2
  579. package/fesm5/taiga-ui-kit-components-badge.js.map +1 -1
  580. package/fesm5/taiga-ui-kit-components-badged-content.js +2 -2
  581. package/fesm5/taiga-ui-kit-components-badged-content.js.map +1 -1
  582. package/fesm5/taiga-ui-kit-components-breadcrumbs.js +2 -2
  583. package/fesm5/taiga-ui-kit-components-breadcrumbs.js.map +1 -1
  584. package/fesm5/taiga-ui-kit-components-calendar-month.js +2 -2
  585. package/fesm5/taiga-ui-kit-components-calendar-month.js.map +1 -1
  586. package/fesm5/taiga-ui-kit-components-carousel.js.map +1 -1
  587. package/fesm5/taiga-ui-kit-components-checkbox-block.js +2 -2
  588. package/fesm5/taiga-ui-kit-components-checkbox-block.js.map +1 -1
  589. package/fesm5/taiga-ui-kit-components-checkbox-labeled.js +2 -2
  590. package/fesm5/taiga-ui-kit-components-checkbox-labeled.js.map +1 -1
  591. package/fesm5/taiga-ui-kit-components-checkbox.js +2 -2
  592. package/fesm5/taiga-ui-kit-components-checkbox.js.map +1 -1
  593. package/fesm5/taiga-ui-kit-components-combo-box.js +63 -21
  594. package/fesm5/taiga-ui-kit-components-combo-box.js.map +1 -1
  595. package/fesm5/taiga-ui-kit-components-data-list-wrapper.js +17 -10
  596. package/fesm5/taiga-ui-kit-components-data-list-wrapper.js.map +1 -1
  597. package/fesm5/taiga-ui-kit-components-field-error.js +12 -17
  598. package/fesm5/taiga-ui-kit-components-field-error.js.map +1 -1
  599. package/fesm5/taiga-ui-kit-components-filter.js +2 -2
  600. package/fesm5/taiga-ui-kit-components-filter.js.map +1 -1
  601. package/fesm5/taiga-ui-kit-components-input-count.js +8 -4
  602. package/fesm5/taiga-ui-kit-components-input-count.js.map +1 -1
  603. package/fesm5/taiga-ui-kit-components-input-month-range.js +68 -44
  604. package/fesm5/taiga-ui-kit-components-input-month-range.js.map +1 -1
  605. package/fesm5/taiga-ui-kit-components-input-month.js +60 -33
  606. package/fesm5/taiga-ui-kit-components-input-month.js.map +1 -1
  607. package/fesm5/taiga-ui-kit-components-input-number.js +8 -2
  608. package/fesm5/taiga-ui-kit-components-input-number.js.map +1 -1
  609. package/fesm5/taiga-ui-kit-components-input-password.js +6 -2
  610. package/fesm5/taiga-ui-kit-components-input-password.js.map +1 -1
  611. package/fesm5/taiga-ui-kit-components-input-phone.js +8 -2
  612. package/fesm5/taiga-ui-kit-components-input-phone.js.map +1 -1
  613. package/fesm5/taiga-ui-kit-components-input-range.js +2 -2
  614. package/fesm5/taiga-ui-kit-components-input-range.js.map +1 -1
  615. package/fesm5/taiga-ui-kit-components-input-slider.js +2 -2
  616. package/fesm5/taiga-ui-kit-components-input-slider.js.map +1 -1
  617. package/fesm5/taiga-ui-kit-components-input-tag.js +53 -19
  618. package/fesm5/taiga-ui-kit-components-input-tag.js.map +1 -1
  619. package/fesm5/taiga-ui-kit-components-input-time.js +6 -2
  620. package/fesm5/taiga-ui-kit-components-input-time.js.map +1 -1
  621. package/fesm5/taiga-ui-kit-components-line-clamp.js +26 -15
  622. package/fesm5/taiga-ui-kit-components-line-clamp.js.map +1 -1
  623. package/fesm5/taiga-ui-kit-components-marker-icon.js +2 -2
  624. package/fesm5/taiga-ui-kit-components-marker-icon.js.map +1 -1
  625. package/fesm5/taiga-ui-kit-components-multi-select.js +50 -17
  626. package/fesm5/taiga-ui-kit-components-multi-select.js.map +1 -1
  627. package/fesm5/taiga-ui-kit-components-progress.js +135 -69
  628. package/fesm5/taiga-ui-kit-components-progress.js.map +1 -1
  629. package/fesm5/taiga-ui-kit-components-radio-block.js +2 -2
  630. package/fesm5/taiga-ui-kit-components-radio-block.js.map +1 -1
  631. package/fesm5/taiga-ui-kit-components-radio-labeled.js +2 -2
  632. package/fesm5/taiga-ui-kit-components-radio-labeled.js.map +1 -1
  633. package/fesm5/taiga-ui-kit-components-radio-list.js +2 -2
  634. package/fesm5/taiga-ui-kit-components-radio-list.js.map +1 -1
  635. package/fesm5/taiga-ui-kit-components-radio.js +8 -4
  636. package/fesm5/taiga-ui-kit-components-radio.js.map +1 -1
  637. package/fesm5/taiga-ui-kit-components-range.js +1 -1
  638. package/fesm5/taiga-ui-kit-components-rating.js +6 -2
  639. package/fesm5/taiga-ui-kit-components-rating.js.map +1 -1
  640. package/fesm5/taiga-ui-kit-components-select.js +33 -10
  641. package/fesm5/taiga-ui-kit-components-select.js.map +1 -1
  642. package/fesm5/taiga-ui-kit-components-slider.js +268 -26
  643. package/fesm5/taiga-ui-kit-components-slider.js.map +1 -1
  644. package/fesm5/taiga-ui-kit-components-tag.js +9 -3
  645. package/fesm5/taiga-ui-kit-components-tag.js.map +1 -1
  646. package/fesm5/taiga-ui-kit-components-text-area.js +53 -17
  647. package/fesm5/taiga-ui-kit-components-text-area.js.map +1 -1
  648. package/fesm5/taiga-ui-kit-components-toggle.js +8 -4
  649. package/fesm5/taiga-ui-kit-components-toggle.js.map +1 -1
  650. package/fesm5/taiga-ui-kit-directives-dropdown-selection.js +22 -5
  651. package/fesm5/taiga-ui-kit-directives-dropdown-selection.js.map +1 -1
  652. package/fesm5/taiga-ui-kit-directives-lazy-loading.js +1 -1
  653. package/fesm5/taiga-ui-kit-directives-lazy-loading.js.map +1 -1
  654. package/fesm5/taiga-ui-kit-pipes-field-error.js +203 -0
  655. package/fesm5/taiga-ui-kit-pipes-field-error.js.map +1 -0
  656. package/fesm5/taiga-ui-kit-pipes.js +1 -0
  657. package/fesm5/taiga-ui-kit-pipes.js.map +1 -1
  658. package/fesm5/taiga-ui-kit-providers.js +20 -4
  659. package/fesm5/taiga-ui-kit-providers.js.map +1 -1
  660. package/fesm5/taiga-ui-kit-tokens.js +18 -1
  661. package/fesm5/taiga-ui-kit-tokens.js.map +1 -1
  662. package/package.json +4 -4
  663. package/pipes/field-error/field-error-content-pipe.d.ts +11 -0
  664. package/pipes/field-error/field-error-pipe.d.ts +29 -0
  665. package/pipes/field-error/field-error.module.d.ts +2 -0
  666. package/pipes/field-error/index.d.ts +3 -0
  667. package/pipes/field-error/package.json +13 -0
  668. package/pipes/field-error/taiga-ui-kit-pipes-field-error.d.ts +4 -0
  669. package/pipes/field-error/taiga-ui-kit-pipes-field-error.metadata.json +1 -0
  670. package/pipes/index.d.ts +1 -0
  671. package/pipes/taiga-ui-kit-pipes.metadata.json +1 -1
  672. package/providers/index.d.ts +1 -0
  673. package/providers/month-formatter.provider.d.ts +6 -0
  674. package/providers/taiga-ui-kit-providers.metadata.json +1 -1
  675. package/tokens/index.d.ts +2 -0
  676. package/tokens/items-handlers.d.ts +10 -0
  677. package/tokens/month-formatter.d.ts +4 -0
  678. package/tokens/taiga-ui-kit-tokens.metadata.json +1 -1
  679. package/components/progress/pipes/progress-color-segments.pipe.d.ts +0 -9
  680. package/esm2015/components/progress/pipes/abstract-color-segments.js +0 -32
  681. package/esm2015/components/progress/pipes/progress-color-segments-async.pipe.js +0 -15
  682. package/esm2015/components/progress/pipes/progress-color-segments.pipe.js +0 -18
  683. package/esm5/components/progress/pipes/abstract-color-segments.js +0 -35
  684. package/esm5/components/progress/pipes/progress-color-segments-async.pipe.js +0 -21
  685. package/esm5/components/progress/pipes/progress-color-segments.pipe.js +0 -23
@@ -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"}
@@ -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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ICAgICAnJyxcbiAgICAgICAgKTtcblxuICAgICAgICByZXR1cm4gYGxpbmVhci1ncmFkaWVudCh0byByaWdodCAke2NvbG9yc1N0cmluZ30pYDtcbiAgICB9XG59XG4iXX0=
@@ -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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvZ3Jlc3MtY29sb3Itc2VnbWVudHMtYXN5bmMucGlwZS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0B0YWlnYS11aS9raXQvY29tcG9uZW50cy9wcm9ncmVzcy8iLCJzb3VyY2VzIjpbInBpcGVzL3Byb2dyZXNzLWNvbG9yLXNlZ21lbnRzLWFzeW5jLnBpcGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFBQyxJQUFJLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFDbkMsT0FBTyxFQUFhLEtBQUssRUFBQyxNQUFNLE1BQU0sQ0FBQztBQUN2QyxPQUFPLEVBQUMsR0FBRyxFQUFDLE1BQU0sZ0JBQWdCLENBQUM7QUFFbkMsT0FBTyxFQUFDLHdCQUF3QixFQUFDLE1BQU0sMkJBQTJCLENBQUM7QUFHbkUsSUFBYSxpQ0FBaUMsR0FBOUMsTUFBYSxpQ0FBa0MsU0FBUSx3QkFFdEQ7S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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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvZ3Jlc3MtY29sb3Itc2VnbWVudHMucGlwZS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0B0YWlnYS11aS9raXQvY29tcG9uZW50cy9wcm9ncmVzcy8iLCJzb3VyY2VzIjpbInBpcGVzL3Byb2dyZXNzLWNvbG9yLXNlZ21lbnRzLnBpcGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFBQyxJQUFJLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFFbkMsT0FBTyxFQUFDLHdCQUF3QixFQUFDLE1BQU0sMkJBQTJCLENBQUM7QUFFbkU7Ozs7R0FJRztBQUVILElBQWEsNEJBQTRCLEdBQXpDLE1BQWEsNEJBQTZCLFNBQVEsd0JBQWdDO0lBQzlFLFNBQVMsQ0FBQyxNQUFnQjtRQUN0QixPQUFPLElBQUksQ0FBQyxTQUFTLENBQUMsTUFBTSxDQUFDLENBQUM7SUFDbEMsQ0FBQztDQUNKLENBQUE7QUFKWSw0QkFBNEI7SUFEeEMsSUFBSSxDQUFDLEVBQUMsSUFBSSxFQUFFLDBCQUEwQixFQUFDLENBQUM7R0FDNUIsNEJBQTRCLENBSXhDO1NBSlksNEJBQTRCIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHtQaXBlfSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuaW1wb3J0IHtBYnN0cmFjdFR1aUNvbG9yU2VnbWVudHN9IGZyb20gJy4vYWJzdHJhY3QtY29sb3Itc2VnbWVudHMnO1xuXG4vKipcbiAqIEBkZXByZWNhdGVkIHVzZSB0dWlQcm9ncmVzc0NvbG9yU2VnbWVudHNBc3luYyBpbnN0ZWFkXG4gKiB7QGxpbmsgVHVpUHJvZ3Jlc3NDb2xvclNlZ21lbnRzQXN5bmNQaXBlfVxuICogZXhhbXBsZTogYDxwcm9ncmVzcyBbY29sb3JdPVwiY29sb3JzIHwgdHVpUHJvZ3Jlc3NDb2xvclNlZ21lbnRzQXN5bmMgfCBhc3luY1wiPmBcbiAqL1xuQFBpcGUoe25hbWU6ICd0dWlQcm9ncmVzc0NvbG9yU2VnbWVudHMnfSlcbmV4cG9ydCBjbGFzcyBUdWlQcm9ncmVzc0NvbG9yU2VnbWVudHNQaXBlIGV4dGVuZHMgQWJzdHJhY3RUdWlDb2xvclNlZ21lbnRzPHN0cmluZz4ge1xuICAgIHRyYW5zZm9ybShjb2xvcnM6IHN0cmluZ1tdKTogc3RyaW5nIHtcbiAgICAgICAgcmV0dXJuIHRoaXMuY2FsY3VsYXRlKGNvbG9ycyk7XG4gICAgfVxufVxuIl19
@@ -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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWJzdHJhY3QtY29sb3Itc2VnbWVudHMuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AdGFpZ2EtdWkva2l0L2NvbXBvbmVudHMvcHJvZ3Jlc3MvIiwic291cmNlcyI6WyJwaXBlcy9hYnN0cmFjdC1jb2xvci1zZWdtZW50cy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUFDLFVBQVUsRUFBRSxNQUFNLEVBQUUsVUFBVSxFQUFFLGFBQWEsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUM1RSxPQUFPLEVBQUMsVUFBVSxFQUFDLE1BQU0scUJBQXFCLENBQUM7QUFDL0MsT0FBTyxFQUFDLDJCQUEyQixFQUFFLGVBQWUsRUFBRSxJQUFJLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFHakY7SUFLSSxrQ0FDeUMsU0FBaUIsRUFDakIsVUFBbUM7UUFEbkMsY0FBUyxHQUFULFNBQ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gIGlmICh0aGlzLmlzT2xkQnJvd3NlcnMpIHtcbiAgICAgICAgICAgIHJldHVybiBjb2xvcnNbMF07XG4gICAgICAgIH1cblxuICAgICAgICBjb25zdCBlbGVtZW50V2lkdGggPSB0aGlzLmVsZW1lbnRSZWYubmF0aXZlRWxlbWVudC5vZmZzZXRXaWR0aDtcbiAgICAgICAgY29uc3Qgc2VnbWVudFdpZHRoID0gTWF0aC5jZWlsKGVsZW1lbnRXaWR0aCAvIGNvbG9ycy5sZW5ndGgpO1xuICAgICAgICBjb25zdCBjb2xvcnNTdHJpbmcgPSBjb2xvcnMucmVkdWNlKFxuICAgICAgICAgICAgKGFjYywgY29sb3IsIGkpID0+XG4gICAgICAgICAgICAgICAgYCR7YWNjfSwgJHtjb2xvcn0gJHtpICogc2VnbWVudFdpZHRofXB4ICR7KGkgKyAxKSAqIHNlZ21lbnRXaWR0aH1weGAsXG4gICAgICAgICAgICAnJyxcbiAgICAgICAgKTtcblxuICAgICAgICByZXR1cm4gYGxpbmVhci1ncmFkaWVudCh0byByaWdodCAke2NvbG9yc1N0cmluZ30pYDtcbiAgICB9XG59XG4iXX0=
@@ -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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvZ3Jlc3MtY29sb3Itc2VnbWVudHMtYXN5bmMucGlwZS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0B0YWlnYS11aS9raXQvY29tcG9uZW50cy9wcm9ncmVzcy8iLCJzb3VyY2VzIjpbInBpcGVzL3Byb2dyZXNzLWNvbG9yLXNlZ21lbnRzLWFzeW5jLnBpcGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFBQyxJQUFJLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFDbkMsT0FBTyxFQUFhLEtBQUssRUFBQyxNQUFNLE1BQU0sQ0FBQztBQUN2QyxPQUFPLEVBQUMsR0FBRyxFQUFDLE1BQU0sZ0JBQWdCLENBQUM7QUFFbkMsT0FBTyxFQUFDLHdCQUF3QixFQUFDLE1BQU0sMkJBQTJCLENBQUM7QUFHbkU7SUFBdUQscURBRXREO0lBRkQ7O0lBTUEsQ0FBQztJQUhHLHFEQUFTLEdBQVQsVUFBVSxNQUFnQjtRQUExQixpQkFFQztRQURHLE9BQU8sS0FBSyxDQUFDLENBQUMsQ0FBQyxDQUFDLElBQUksQ0FBQyxHQUFHLENBQUMsY0FBTSxPQUFBLEtBQUksQ0FBQyxTQUFTLENBQUMsTUFBTSxDQUFDLEVBQXRCLENBQXNCLENBQUMsQ0FBQyxDQUFDO0lBQzVELENBQUM7SUFMUSxpQ0FBaUM7UUFEN0MsSUFBSSxDQUFDLEVBQUMsSUFBSSxFQUFFLCtCQUErQixFQUFDLENBQUM7T0FDakMsaUNBQWlDLENBTTdDO0lBQUQsd0NBQUM7Q0FBQSxBQU5ELENBQXVELHdCQUF3QixHQU05RTtTQU5ZLGlDQUFpQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7UGlwZX0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQge09ic2VydmFibGUsIHRpbWVyfSBmcm9tICdyeGpzJztcbmltcG9ydCB7bWFwfSBmcm9tICdyeGpzL29wZXJhdG9ycyc7XG5cbmltcG9ydCB7QWJzdHJhY3RUdWlDb2xvclNlZ21lbnRzfSBmcm9tICcuL2Fic3RyYWN0LWNvbG9yLXNlZ21lbnRzJztcblxuQFBpcGUoe25hbWU6ICd0dWlQcm9ncmVzc0NvbG9yU2VnbWVudHNBc3luYyd9KVxuZXhwb3J0IGNsYXNzIFR1aVByb2dyZXNzQ29sb3JTZWdtZW50c0FzeW5jUGlwZSBleHRlbmRzIEFic3RyYWN0VHVpQ29sb3JTZWdtZW50czxcbiAgICBPYnNlcnZhYmxlPHN0cmluZz5cbj4ge1xuICAgIHRyYW5zZm9ybShjb2xvcnM6IHN0cmluZ1tdKTogT2JzZXJ2YWJsZTxzdHJpbmc+IHtcbiAgICAgICAgcmV0dXJuIHRpbWVyKDApLnBpcGUobWFwKCgpID0+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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvZ3Jlc3MtY29sb3Itc2VnbWVudHMucGlwZS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0B0YWlnYS11aS9raXQvY29tcG9uZW50cy9wcm9ncmVzcy8iLCJzb3VyY2VzIjpbInBpcGVzL3Byb2dyZXNzLWNvbG9yLXNlZ21lbnRzLnBpcGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFBQyxJQUFJLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFFbkMsT0FBTyxFQUFDLHdCQUF3QixFQUFDLE1BQU0sMkJBQTJCLENBQUM7QUFFbkU7Ozs7R0FJRztBQUVIO0lBQWtELGdEQUFnQztJQUFsRjs7SUFJQSxDQUFDO0lBSEcsZ0RBQVMsR0FBVCxVQUFVLE1BQWdCO1FBQ3RCLE9BQU8sSUFBSSxDQUFDLFNBQVMsQ0FBQyxNQUFNLENBQUMsQ0FBQztJQUNsQyxDQUFDO0lBSFEsNEJBQTRCO1FBRHhDLElBQUksQ0FBQyxFQUFDLElBQUksRUFBRSwwQkFBMEIsRUFBQyxDQUFDO09BQzVCLDRCQUE0QixDQUl4QztJQUFELG1DQUFDO0NBQUEsQUFKRCxDQUFrRCx3QkFBd0IsR0FJekU7U0FKWSw0QkFBNEIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQge1BpcGV9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuXG5pbXBvcnQge0Fic3RyYWN0VHVpQ29sb3JTZWdtZW50c30gZnJvbSAnLi9hYnN0cmFjdC1jb2xvci1zZWdtZW50cyc7XG5cbi8qKlxuICogQGRlcHJlY2F0ZWQgdXNlIHR1aVByb2dyZXNzQ29sb3JTZWdtZW50c0FzeW5jIGluc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